News for hackers. Stuff that matters.
Re:“This project will only take 2 hours” by jiggawatts on Wednesday November 10, 2021 @04:48AM (#29172906)
I vaguely remember a rant some famous Linux developer went on about how setting up printing in Linux requires a dozen parameters, half of which are arcane nonsense that the printer manufacturer themselves probably doesn't know how to set up correctly.

Meanwhile, on an Apple or Windows computer it can be literally just plug and print.

The difference is that hiding those arcane input parameters takes work, and a lot of it. There was a quote that it takes 10x as much effort to remove an input parameter than simply leaving it in there and letting the user fill it out.

A lot of people don't get this, and think the simpler-looking software is simple, when under the hood it is probably doing model auto-detection, driver downloads, protocol negotiation, and even firmware updates on the fly!

I face this all the time at work. "Can't you just make a single button to run this task so I don't have to figure out how to use this complicated script?"

"I can, but not with this budget..."

Re:“This project will only take 2 hours” by JoeAltmaier on Wednesday November 10, 2021 @09:21AM (#29174883)
Ha! Printers!!

I worked on an OS called CTOS back in the day. It was difficult to set up printing, because there was no feedback. It worked or it didn't, and there were queues to configure and services to install and network connections...

Somebody in a trade rag wrote "Its easy to print on an Apple, difficult on an IBM PC and impossible on CTOS". That smarted.

So a guy named Tom Ball (later the Java Swing guy) wrote a Prolog script that somehow could just tell you if printing was working or not, and what to do about it. Never figured out how he did that. BUt our trouble tickets went from something like 60% printer-related, to noise. Just like that.

I remember after all these years, and try to make software foolproof. For the customer service folk, because they matter.

Re:“This project will only take 2 hours” by grumple on Wednesday November 10, 2021 @07:11AM (#29173799)
Early on as a dev, I made the mistake of doing exactly what I was asked. Basically I learned that user control was better than automation in some cases. I had to write a script to select batches of files from a larger number for translation/annotation with certain proportions of various characteristics. There was some amount of self balancing involved, and I wrote a cli program that did this well. I took a process that previously took days (often communication lag) dozens of times per year and brought it down to milliseconds.

The problem was that the humans involved didn't really want what they asked for. They wanted control. They wanted to select a batch with certain characteristics, then another batch with others. They wanted to pass a list of files that must be included, a list that must not. They wanted audit functionality, they wanted multi-step selection, to mark files for auditing, translation, and different annotations types, to select a batch from one annotations type for another.

At the end of the day, this ever evolving script worked out very well and took away the need for a programmer doing complex sql and filesystem queries. There was still a human involved, but that was because the human wanted to be involved. The process taught me about users wanting something other than what they ask for, scope creep, and also showed me the value that could be generated via a fairly simple script created in collaboration with the user.

Re:“This project will only take 2 hours” by matheusmoreira on Wednesday November 10, 2021 @07:39AM (#29173982)
Printers are plug and play on Windows? That's not my experience. I have constant problems at work. Settings resetting, stupid printer driver GUIs nagging about ink, prints coming out wrong and making me go into the detailed settings to fix it. Rare are the days where I can just print the stuff I need with no fuss. I'm fortunate enough to be able to solve problems on my own. Coworkers are forced to call support and waste hours and hours of their time because of these printers. The scanning situation is even worse.
Re:“This project will only take 2 hours” by kingcharles on Wednesday November 10, 2021 @10:48AM (#29175963)
I've been working with printers for 35 years and they still find ways to destroy my soul.

This week I discovered my Canon printer has some way to detect "plain [white] paper" and absolutely refuses to print on the high quality "cream" coloured paper instead. No matter what tricks I tried in swapping the paper, as soon as I put the better paper in the tray it would freak out.

Re:“This project will only take 2 hours” by Doxin on Friday November 12, 2021 @05:58AM (#29198056)
Some printers use an infrared sensor to detect paper width. Those tend to freak out on weird paper colors, though I've never had the issue with cream before. Only darkish colors like purple and the like.
Re:“This project will only take 2 hours” by BenjiWiebe on Wednesday November 10, 2021 @09:59AM (#29175266)
I do a little tech support for my neighbors after hours. Printer issues (on Windows) are an extremely common complaint. All kinds of random things can and do fail.
Re:“This project will only take 2 hours” by derefr on Wednesday November 10, 2021 @11:37AM (#29176694)
Printers are plug-and-play on Windows, macOS, and especially iOS (AirPrint) if 1. you're always printing PDFs at 100% scale, single-sided, black-and-white, and 2. you're printing against a printer where that particular configuration is its wheelhouse (i.e. a laser printer.)
Re:“This project will only take 2 hours” by selbstgebrannt on Wednesday November 10, 2021 @05:17AM (#29173089)
I believe you’re referring to ESR’s essay http://www.catb.org/~esr/writings/cups-horror.html
Re:“This project will only take 2 hours” by jiggawatts on Wednesday November 10, 2021 @07:30AM (#29173921)
That's the one!
Re:“This project will only take 2 hours” by Akronymus on Wednesday November 10, 2021 @05:16AM (#29173079)
Yeah it takes a LOT of work to hide it [1]

Also: For some stuff I want to be able to use the "arcane" parameters for some really obscure task where it is just the right flag or something.

[1] https://www.youtube.com/watch?v=HllUoT_WE7Y

Re:“This project will only take 2 hours” by kenbolton on Wednesday November 10, 2021 @02:04PM (#29178960)
> I face this all the time at work. "Can't you just make a single button to run this task so I don't have to figure out how to use this complicated script?"

"Just" is a four-letter word and its use is forbidden. Replace it with "in addition" and change how everyone thinks about the request.

Re:“This project will only take 2 hours” by user3939382 on Wednesday November 10, 2021 @09:39AM (#29175081)
> The difference is that hiding those arcane input parameters takes work,

I'm reminded of the first time I tried to get wifi going from a CLI-only NetBSD install. wpa_supplicant something something.. I eventually got it working but it was sort of a nightmare compared to how you connect wifi in an OS UI.

Re:“This project will only take 2 hours” by tcmart14 on Wednesday November 10, 2021 @06:25AM (#29173500)
I have not experience this fool-proof plug and play on windows or mac os. I just last year replaced a printer because it wasn't working with my wife's Macbook Pro, it worked one day and just dropped of the face of the earth the next (was able to print over USB from my linux laptop still). The printers were I work constantly have issues working with the windows PCs.

Moral of the story, printers are a necessary evil and what is wrong with the world.

EDIT: For future readers if you don't see the responses. The home printer was a Brother.

Also, this is not a statement that Linux is better. Think of it as the experience of using printers in general is pretty shitty regardless what your computer is running.

Re:“This project will only take 2 hours” by marcosdumay on Wednesday November 10, 2021 @08:22AM (#29174331)
Printers used to rum much better on Windows back in the day when the manufacturers developed drivers with the intention to make them run well. I've never seen any one doing the just "plug, install driver, run", except for shared printers maintained by a contractor. But they used to run better than Linux.

Nowadays the main advantage of Linux is that it won't install the manufacturer's driver. Anyway, the arcane settings aren't required anymore.

Re:“This project will only take 2 hours” by newaccount74 on Wednesday November 10, 2021 @07:04AM (#29173743)
Was it a HP printer?

HP last year managed to accidentally revoke their macOS code signing certificate. I'm not sure how much software was affected, but as far as I know all HP software for Mac, including printer drivers, was broken (CRLs are updated automatically even if you have automatic software update disabled)

Re:“This project will only take 2 hours” by tcmart14 on Wednesday November 10, 2021 @07:13AM (#29173813)
Nah, it was a Brother printer, I replace it with a cheap HP printer. The Wireless on that one stopped working, I've just given up and my wife uses the cable to print. Well luckily the HP is still playing nice over a USB cable.
Re:“This project will only take 2 hours” by Complexicate on Wednesday November 10, 2021 @10:37AM (#29175793)
If you still have the Brother printer, try disabling IPv6 on the Brother printer.

I remember this issue from a while back. Some update happened, and then wireless printing stopped working on some iOS devices. It happened to a colleague's macbook, and disabling IPv6 on the Brother printer fixed it for us. I can't remember where I found the initial advice, but here's someone else mentioning it: https://discussions.apple.com/thread/250584298

Re:“This project will only take 2 hours” by mauvehaus on Wednesday November 10, 2021 @10:49AM (#29175992)
Any sufficiently large discussion of software complexity will spawn a large sub-thread about printers.

Any sufficiently large discussion of printers will beget a number of ad-hoc support sub-threads.

Re:“This project will only take 2 hours” by brailsafe on Wednesday November 10, 2021 @06:40AM (#29173591)
Printers were the bane of my existence when I was responsible for maintaining a small business's computer stuff. They all ran shitty Windows PCs with varying versions. One day one of the accountant's computers started crashing on boot, and after a hell of a long time, I found that some Epson printer driver had set a registry key that didn't revert upon uninstallation, and that crippled the machine.

I wonder if in your case, your old printer relied on either 32-bit kernel extensions (I don't know if that's a thing), or if it relied on one of the deprecated Kernel Programming Interfaces such as IOUSBFamily. I also wonder if a printer driver falls into a category of deprecated extensions that are silently reported by the OS, because most do pop up an alert of some kind.

https://developer.apple.com/support/kernel-extensions/

Re:“This project will only take 2 hours” by mtwittman on Wednesday November 10, 2021 @12:35PM (#29177494)
The single most problem-reducing maneuver I've tried with home network printers is getting the printer off plain DHCP and make it consistent (set a static IP manually [outside your DHCP range] or by DHCP reservation).

After sorting this out in the router, then add the printer to the various desktops/laptops/tablets/phones.

Maybe I'm imagining the improvement, but I don't think so (and it can't hurt).

Re:“This project will only take 2 hours” by chiefalchemist on Wednesday November 10, 2021 @06:26AM (#29173506)
> The difference is that hiding those arcane input parameters takes work, and a lot of it.

One of the things I say often, too often, is, "Making it look easy is very very hard."

Re:“This project will only take 2 hours” by jdefelice on Wednesday November 10, 2021 @06:21AM (#29173476)
When you make one part simpler, you move that complexity to another part.
Re:“This project will only take 2 hours” by erikstarck on Wednesday November 10, 2021 @05:27AM (#29173146)
“All user input is error.” - Elon Musk
[dead]
Re:“This project will only take 2 hours” by CharlesW on Wednesday November 10, 2021 @12:19PM (#29177300)
For those who also weren't sure, I learned that this is an actual quote from Mr. Musk to a U.S. Senator and Senate Finance Chairman.

https://twitter.com/elonmusk/status/1457497438474981384

I infer the point to be that Mr. Musk trolls so frequently and thoughtlessly that it's impossible to tell whether he believes the things he's saying, which is why quotes from him are mostly worthless as guiding principles.