alr
@alr@programming.dev
- Comment on Think of the children 1 year ago:
Is
kill -11
even allowed? - Comment on Think of the children 1 year ago:
On the other hand, the OOM killer is worst of all: “kill process or sacrifice child.”
- Comment on [HELP] Converting JSON to Sqlite in C 1 year ago:
For the benefit of anyone reading this later, the function to check end-of-file should be
feof
, notfoef
. - Comment on What would it take for you to move away from Github? 1 year ago:
I know this will come as a shock to a lot of people, but a lot of software doesn’t do CI/CD. Especially CD. Basically only webapps can do CD, although Dropbox is close with weekly releases. A lot of enterprise and industry software still does quarterly or even semiannual releases. Hospitals, banks, and government agencies in particular have stringent vetting procedures that mean they can spend months verifying and approving a new major version before upgrading, so there’s no point throwing one at them every couple weeks.
- Comment on Introducing the new Godot Development Fund 1 year ago:
Just what we’ve been waiting for!
- Comment on Refusing TypeScript is a signal that you don't care about code quality 1 year ago:
Nonsense. The compiler can handle type-checking far more quickly and acurately than any code reviewer. When I review code, I want to look at code structure, algorithms, data structures, interface design, contracts, logic, and style.
I don’t want to go through your code line by line cross-referencing every function call to make sure you put the arguments in the right order and checking every member access for typos. That’s a waste of my time, and by extension, the company’s money.
- Comment on Are we ready for javascript without a build step on the front end in 2023? 1 year ago:
That’s a great point. In any sort of enterprise system, you should be unit-testing your front end when you commit, and you should be UI-testing your front end before you deploy. If you’re in a CI/CD pipeline, that normally happens right after the build step. If you need to have the pipeline running anyways, you might as well build.
- Comment on Ya gotta keep up with the times! 1 year ago:
NEMA has called them “plugs” and “receptacles” for decades.
- Comment on Ya gotta keep up with the times! 1 year ago:
You forgot “don’t say ‘thank you for pointing out that we were sending social security numbers to everyone who visits our website that anybody could stumble across,’ but rather ‘you will be prosecuted to the fullest extent of the law, hacker!’” Courtesy of the Missouri Department of Education.
- Comment on Where do you guys find remote work? 1 year ago:
I got news for you. If you’re not a citizen of the country you’re located in and you don’t have a work visa for that country, you’re probably working illegally, whether or not your employer realizes. (Some exceptions for EU citizens, Canada, etc.)
- Comment on Android 14 blocks all modification of system certificates, even as root 1 year ago:
I’m not sure I want my banking apps to store anything on my phone in the first place. But maybe that’s just me. I don’t even use banking apps.
- Comment on What programming languages aren't too criticized here? 1 year ago:
If you use JavaScript, you’ve probably seen a monad, since Promise is a monad. Unit is
Promise.resolve()
, bind isPromise.then()
. As required,Promise.resolve(x).then(y) === y(x)
(unit forms a left identity of bind),y.then(Promise.resolve) === y
(unit forms a right identity of bind), andx.then(y.then(z)) === x.then(y).then(z)
(bind is essentially associative). - Comment on Which conditions would make reject or quit your job? 1 year ago:
Me too. I got a MacBook for testing Safari, but sometimes I take it to meetings because it’s easier than extricating my usual machine from its dock (which unplugs the Ethernet cable so all my SSH sessions die along with anything running in them). But as somebody who likes having things in full screen (it bothers me if I can see the desktop peeking through), I get very annoyed needing to scroll through every app I’ve got open until I stumble across the one I want every time I have to switch context.
- Comment on Which conditions would make reject or quit your job? 1 year ago:
Unless you’re on a contract. If you’re in the US and you’re not sure if you’re on a contract, you’re not on a contract. At-will goes both ways.