2,124 karma · joined Dec 18, 2011 (14y ago) · 444 submissions
comment 5y ago · link · parent
I think the most useful thing for me is I can call it from lldb and immediately dump buffers to my terminal while debugging.
comment 7y ago · link · parent
Every answer on Stackoverflow about Swift has several answers, one for each api version. Any time you grab some Swift code from the web or an older project, it's not going to work.
Avoiding the churn isn't an option since new Xcode versions drop support for old Swift versions. And only the two latest Xcodes will run on latest macOS. They even drop the support for the conversion tools. So if I go back to an old Swift project now, it won't compile in my Xcode, nor will my Xcode help convert the code to modern. My only option is to run an order version of Xcode in a VM to convert the code.
If I'm writing a library I want other people to use or share between projects, I'll still do it in Objective-C. Apps I do in Swift but I find it annoying.
I still have 15 year old non-ARC Objective C libraries. Why spend the time updating them when the are debugged and work fine?
Every time I have to do a Swift version update I introduce bugs.
comment 7y ago · link · parent
I maintain a cross platform desktop app for Windows, macOS and Linux.
Windows is the best, 32 bit versions going back 15 years still work no issues. macOS is next, 32 bit don't no longer work, but 64 bit versions still work going back 5+ years. Ubuntu is by far the worst, some library I depend on changes it's API pretty much every year, and the old version is removed, breaking my app.
The solution appears to be Flatpak which bundle up the app with all it's required libraries. However I'm not sure how to make this work for plugins. Would each plugin need to be in it's own Flatpak? It's insane.
comment 7y ago · link · parent
That was considered pretty good at the time. I wonder how much better off I'd be if I'd been injured today instead.
comment 7y ago · link · parent
Web frontend -> Javascript
Unix / Linux -> C
Wordpress plugins -> PHP
Windows apps -> .Net
iOS -> Objective C / Swift
Android -> Java
In my entire career (25 years), I've never had a project that directed me towards learning Lisp. This pretty much leaves Lisp to the type of developer that seeks out new languages and is willing to spend the extra effort integrating, and that's a pretty small number of developers.
If Lisp was in the browser instead of Javascript, it would be popular no matter the complaints about the language.
comment 7y ago · link · parent
I think climate change could bring another big war, because then wealth will become food and water, and that can be taken by force.
comment 7y ago · link · parent
There is very little downside to putting a bigger motor than needed in an EV, other than a bit of extra weight to move around. As long as you don't use that power, (fast acceleration), you won't pay for it.
That said, 221 lb-ft of torque isn't very much. They don't say at what rpm that is. Most EVs are electronically torque limited at low rpm. Assuming the peak torque is around 2000 rpm, that's only 84 hp.
(My biggest pet peeve is torque without rpm -- it's meaningless!)
comment 7y ago · link · parent
On macOS, the registry equivalent is all the plist files stored in ~/Library/Preferences and ~/Library/Application Support. These just get left behind when the .app is deleted.
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
> As a special exception, the copyright holder of FreeRTOS gives you permission to link FreeRTOS with independent modules that communicate with FreeRTOS solely through the FreeRTOS API interface, regardless of the license terms of these independent modules, and to copy and distribute the resulting combined work under terms of your choice
It was GPL with an exception that allowed you link your app code to the OS, with your app becoming GPL.
The performance metrics part was weird though.
https://www.openhub.net/licenses/GPL-2-0-with-freertos-excep...
comment 7y ago · link · parent
Up to $247.94 / day.
comment 7y ago · link · parent
comment 7y ago · link · parent
All my consulting work is JUCE based, so having a library of my work is helpful. But what I do is a very niche field. I don't know if this would apply in general.