mrkite

joined 2 years ago
[–] mrkite@programming.dev 2 points 2 years ago (1 children)

How big are you expecting these files to be? Instead of a temporary file just read the whole thing into RAM. If someone has a 2 gig script they should expect it to take a while.

[–] mrkite@programming.dev 3 points 2 years ago (1 children)

We definitely need more computers that are red.

[–] mrkite@programming.dev 4 points 2 years ago (1 children)

Clever. I've always said the most portable architecture ever is the NES. You can get emulators to run NES software on pretty much everything with a CPU in it.

[–] mrkite@programming.dev 29 points 2 years ago (3 children)

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.

[–] mrkite@programming.dev 3 points 2 years ago (1 children)

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

[–] mrkite@programming.dev 3 points 2 years ago (1 children)

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

[–] mrkite@programming.dev 6 points 2 years ago

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.

[–] mrkite@programming.dev 3 points 2 years ago (2 children)

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

[–] mrkite@programming.dev 15 points 2 years ago (5 children)

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

[–] mrkite@programming.dev 29 points 2 years ago (2 children)

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, *)

[–] mrkite@programming.dev 7 points 2 years ago* (last edited 2 years ago)

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.

[–] mrkite@programming.dev 4 points 2 years ago

Now if only the people behind Angular held the same belief.

view more: ‹ prev next ›