• 0 Posts
  • 42 Comments
Joined 3 years ago
cake
Cake day: June 26th, 2023

help-circle

  • GTG3000@programming.devtolinuxmemes@lemmy.world•STOP SCROLLING BROTHER
    link
    fedilink
    English
    arrow-up
    18
    ·
    edit-2
    3 years 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?









  • It’s not about the DM button being moved, it’s about all the UX they broke in halves. They changed how swipe works, they changed how the DM list works, they changed how search works, none in a good way.

    For a lot of “power users”, changing how swiping acts goes in direct opposition to the muscle memory, so that’s annoying. Some functionality is just gone or is made much worse, like no longer seeing images in search and no longer having autocomplete for the filter terms there. You can no longer look at the DM list and then go back to active DM because swiping there was turned into a dumb back button replacement.

    And above all, this is just a canary in the coal mine moment - they do not care about their current app, they will do whatever they like and people are understandably uncomfortable with that.




  • In slav languages, you just go with how the neologism sounds. “Computer” ends in hard r, so it’s masculine, for example.

    Every once in a while there’s going to be shit like with “coffee” though. It sounds neutral-gendered and is officially neutral-gendered, but there’s been a big period when people believed it should be masculine because of the source language or some shit. Still a lot of people arguing about it.


  • Well, there’s a few things I personally think are a must for a config format:

    1. It must be human readable and editable, in some way. - in many cases, you may want to go and change something in the config while the application proper isn’t running. That rules out stuff like pickle or binary formats. Although I suppose sqlite and it’s ilk still fulfill it, in a roundabout way.
    2. It should be unambiguous, with one way to do something right. - this one’s a doozie. JSON fulfills it since it’s unambiguous about it’s types, but many interpreted language configs will have options. And then YAML will have “no” turn into “false”.
    3. It should probably have comments. - handily failed by standard JSON implementations. Although to be fair a lot of parsers I’ve used understand comments. Or you can make a comment stripper real easily.
    4. It should have obvious structure. - I’ve dealt with CSV configs before, I do not want to ever again.

  • Oh god, parsing complexity. I actually tried writing a YAML parser in my free time before and boy was that not worth the headache. So many little things that complicate parsing and are ignored by majority of users!

    I really like python, but I can agree that it’s no-delimiters style can be… Confusing at times. I definitely had to hunt down bugs that were introduced by wrong indentation. That and the way it handles global/local variables, mostly.

    I do appreciate not having to enclose every key in “”, and being able to copy values - but if we want that kind of logic making our configs, why not just switch to writing configurations in Lua? It certainly has less footguns than YAML and it has the niceties like “I can just write {key = "value"} instead of {"key": "value"}”.




  • Well, if you’re writing something the user will be looking at and clicking on, you will probably want to have some sort of state management that is global.

    Or if you’re writing something that seems really simple and it’s own thing at first but then SURPRISE it is part of the system and a bunch of other programmers have incorporated it into their stuff and the business analyst is inquiring if you could make it configurable and also add a bunch of functionality.

    I also had to work with a system where configurations for user space were done as libraries setting global constants. And then we changed it so everything had to be hastily redone so that suddenly every client didn’t have the same config.