[-] GTG3000@programming.dev 20 points 4 months ago

Anything an API returns should just look like 1720533944.963659 .

There's no reason to store dates as anything other than UTC. User-side, sure, timezones are useful. Server doesn't have to know.

[-] GTG3000@programming.dev 17 points 5 months ago

If it's not made of tea, it's not tea. It's an infusion.

It's extra annoying to me because in my first language there's separate words for "tea-tea" and "some boiled herbs-tea" that are commonly used, but thanks to lazy translation people are beginning to call everything "tea".

[-] GTG3000@programming.dev 14 points 5 months ago

No, no, I know what hyperfocus is, it's the reason I no longer touch creative writing with a ten foot pole after getting bombarded with "but you wrote this one in an hour and it is awesome! just write another one!" :D

I meant that I am wondering if normal people just get the same productivity but without it being flipped on or off randomly, provided they don't get distracted by something. You know, kinda like learning that it's not just a tv thing that people can say "okay, let's do this" and actually sit down and do "this" and not have to beat their brain into submission first.

[-] GTG3000@programming.dev 18 points 5 months ago

I mean, I clearly remember firefox being terrible back when Chrome was just beginning to take off.

It was a lumbering monolith that ate all your ram and loaded pages at a glacial pace. Chrome was a multi-process revolution from that.

Then, firefox got it's shit together and chrome got overloaded with corpo bullshit.

[-] GTG3000@programming.dev 22 points 6 months ago

Ah, Midnight Commander, how have I missed you.

[-] GTG3000@programming.dev 14 points 6 months ago

That rings true for me. Only stopped pirating once steam was an option, myself.

[-] GTG3000@programming.dev 18 points 10 months ago* (last edited 10 months ago)

Resolution, generally.

A laser printer operates by using UV light to make fine pigment powder stick to a drum by static electricity. True to it's name, it used to be done via a laser that scanned the drum by reflecting off a rotating mirror - but nowadays it's just as often a line of tiny UV LEDs. The pigment is than baked onto the paper by a small electric oven.

The pulses of the laser and the pitch of those LEDs is generally way finer than what your run of the mill 3D printer is able to achieve reliably. And definitely finer than any nozzle you could put onto a 3D printer.

Theoretically you could DIY the spinning mirror approach, but it would be difficult to source the optical parts, and calibrating it would be a gigantic pain in the ass. Not to mention that it would likely be significantly more expensive than an off-the-shelf laser printer.
Also, guess what happens if you don't have toner cartridge and print drum as one sealed unit. The printing medium is so fine it gets everywhere, ask anyone who ever tried reloading one of those cartridges.

Square Singer explained the difference with InkJet above.

Modern paper printers are deceptively advanced machines. They'd be pretty impressive if not for the greed of the manufacturers. High-precision parts made just right so that you could print out whatever annoying document your employer wants you to actually sign and bring in physically.

A 3D printer is comparatively slow and generally prints in one colour. As I said, you can make a plotter easily by swapping out the print head for a pen, but then you have a single-colour printer that's significantly slower than modern laser printers, that can be upgraded to have multiple colours with a toolchanger but won't produce anything near the resolution of an inkjet (or even a laser printer, tbh).

For reference, this is how a plotter at work looks like. Similar to bed slingers, ain't it.

I feel like theoretically it maybe could be possible to turn an SLA printer into a paper printer, with resin solidifying on a page? But then how would you keep the rest of the page from being smudged?

[-] GTG3000@programming.dev 17 points 10 months ago

Well, cartridges, rollers, and fusers are the important bits that can't easily be manufactured by hand. And that's a big part of the price of the printer.

You can't really make them cheaper than mass-manufacture, and laser printers are already almost bulletproof from my experience.

[-] GTG3000@programming.dev 16 points 11 months ago

Well you know how it is. Everyone who knows what's going on left, everyone else just watches TV and believes them because why wouldn't they.

[-] GTG3000@programming.dev 14 points 11 months ago

That's fair. Personally, I just have a grudge against math notation in general. Makes my programmer brain hurt when there's no consistency and a lot of implicit rules.

Then again, I also like Lisp so I'm not exactly without sin.

[-] GTG3000@programming.dev 16 points 1 year ago

Reason is "Game state is hard".

If you want to save, you gotta be able to take the current state of everything and serialize it, then read what you've serialized and put it back. If you only do checkpoints, you can make assumptions about game state and serialize less.

Generally, it is much easier to develop AI and such when you never have to pull it's state out and then restore it, because if that is done improperly you get bugs like the bandits in STALKER forgetting they were chasing you after a quicksave-quickload because their state machine is reset.

With checkpoints, you can usually say "right, enemies before here? Dead or dealt with. Enemies after here? they're in their default state. Player is at this position in space. Just write down the stats and ignore the rest."

And autosaves just make it one less menu to fiddle with.

[-] GTG3000@programming.dev 19 points 1 year ago

Man. I recall watching the Computerphile video on monads and the first thing the presenter did was choose Haskell for example language.

Worst video of all of them, just some haskell masturbation. "Oooo, we can do infinite liiiists". Bitch that's called a generator.

view more: ‹ prev next ›

GTG3000

joined 1 year ago