mrkite

@mrkite@programming.dev
0 Post – 55 Comments
Joined 1 years ago

coder

It's kinda amazing how someone can work so hard to sabotage their own public image.

12 more...

I remember the 90s when both mac and windows crashed on a daily basis. When was the last time you saw a legitimate BSOD that didn't involve hardware failure? When was the last time you had to reset the PRAM on your mac just to get it to boot?

4 more...

Maybe read the article and not look like an idiot. All they did was move the certificates into a signed package that is updated through Google Play. They can revoke certs even faster now because it doesn't require a system update.

2 more...

Rust is the only language I know of that is actively being used at the kernel level all the way through to the web app level. Compare that with Swift which is not only mostly tied to a single ecosystem, but even the "cross platform" stuff like libdispatch is littered with code like:

if #available(macOS 10.12, iOS 10.0, tvOS 10.0, watchOS 3.0, *)

1 more...

Known to cause heisenbugs. They're bugs that disappear when you try to measure them with a debugger or a printf.

A decade ago I reverse engineered the Macventure game engine, allowing you to play Shadowgate and Deja Vu etc on modern oses. The current copyright holder then paid me to iron out the rough edges and create the official ports currently on steam.

One of the people reverse engineering the M1 GPU for Asahi Linux is a catgirl vtuber: https://www.youtube.com/asahilina

Your result is correct, is just not displaying the leading zeros.

3 more...

Nah these days with wsl, I prefer windows over Mac. At least you get packages that have been updated in the past decade.

4 more...

I spent 20 years working for my local newspaper. It was a ton of fun and I constantly got to do new things. I did everything from making a palm pilot game to accompany our coverage of the Sydney Olympics, to an Apache module for a custom cms to iPhone and Android apps.

Now I can't say that working for a news company is a good idea in 2023, but the point is there's probably a company local to you that needs a wide variety of programming and isn't a "tech giant".

I would fix that bug but the complete rewrite that management has had me working on for the past two years will make it obsolete anyway.

I'm off two minds. On the one side, there is far too much reliance on black box libraries to do trivial things.

On the other, this complaint is decades old. Back in the late 80s there was a software developer for the apple iigs called FTA, which stood for Free Tools Association. They claimed that the tools in the os were too slow and you should code to the raw hardware.

Isn't that what Gists are for? https://gist.github.com/

The problem is that if you send a message just blindly, you can be tricked into sending spam to millions of addresses. I do one thing that prevents that, but does violate the standard, I verify there's only 1 '@' in the address.. this technically prevents people with '@'s in their name, but they probably find it impossible to do anything with that address anyway.

So it won't work for 0.0001% of all github projects.

1 more...

I spent about 10 of those in roles where my primary function was to write code. The other 10 have involved managing programmers, coaching them, consulting with organizations about how to manage them, running a codebase assessment practice and these days, well, actually content marketing.

Therein lies the biggest lie in development. There is no career path. I've been programming professionally for 25 years, and in all 25 of those years my primary function was to write code, because I turned down any promotion that would put me in management and away from doing what I love.

Another benefit from working from home: I will happily spend my own money on a good chair, keyboard, etc. I spent 20 years working in an office and there's no way I would've ever brought in my own chair during that time... I would've had to become the chair police to prevent it from getting "reappropriated"

Doesn't support OpenAPI.. sigh.

1 more...

I don't use Ruby anymore, but I still use irb everyday as a command line calculator.

I have hooks that reformat on write, so I use :w constantly. So :wq is easier.

My problem with C/C++ is the people behind the spec have sacrificed our sanity in the name of "compiler optimization". Signed overflow behaves the same on every cpu on the planet, why is it undefined behaviour? Even more insane, they specify intN_t must be implemented via 2s complement.. but signed overflow is still undefined because compilers want to pretend they run on pixie dust instead of real hardware.

Yeah back before github existed, we used sourceforge to host opensource, and you had to use CVS. Then later Subversion.

Focus more on stability in terms of apis. We can't be rewriting our apps constantly because they keep updating frameworks every year.

1 more...

I prefer a desktop. Don't have to worry about swelling batteries from being plugged in all day... plus they're cheaper so I get new computers far more often than my coworkers who get laptops.

Feels like you want JWT.

https://jwt.io/introduction

State machines always make me think of the Disk II controller on the Apple II. It uses a state machine to implement reading and writing sectors to disk.

https://www.bigmessowires.com/2021/11/12/the-amazing-disk-ii-controller-card/

He shouldn't be. Elon doesn't give massive payouts. If he really wanted that domain, he'd trademark it and sue the owner for it.

C. I've been programming for over 30 years and it's the only language to survive. Imagine if I was asked this question 30 years ago and picked perl or Pascal, I'd be screwed today.

Same. Our whole team switched to gitlab. The whole point of git is that it's distributed. We could host it ourselves over ssh if gitlab became a problem.

Interesting. A year ago I was looking for something exactly like this for distributing data between multiple servers. Everything required a ton of overhead or was too big to use. I ended up just using json. I did discover that Brotli can compress 3 gigs of json down into just 70 megs nearly instantly.

And yet it's still easy to write spaghetti code in Java. Just abuse inheritance. Where is this function implemented? No one knows but the compiler!

2 more...

Typing in basic listings from magazines was pretty much the only way to get software.

I know John Carmack got his kids an Apple II and taught them BASIC.

Here's something weird. I haven't written a ruby program in 15 years, but I still use irb as my calculator.

I'm not great with gdb but I think using the x cmd shows them.

True.. although using brew to upgrade bash is far from straightforward. Plus you can't run gdb on a m1 mac.

1 more...

♪I went to school and I got OpenD♪

That's when you break out valgrind because you certainly are using uninitialized memory.

Mom, put down the phone, I'm using the modem!