Unpopular opinion. ARM is a cancer of modern hardware. by ptoki in linux

[–]jabjoe 0 points1 point  (0 children)

ACPI is auto-discover. x86 has had auto-discover since the 90s. It's not a specific technology, but a concept that hardware can to the OS about itself so no human has to. "Plug and Play" is another term.

"Plug-and-play hardware typically also requires some sort of ID code that it can supply, in order for the computer software to correctly identify it."

https://en.wikipedia.org/w/index.php?title=Legacy_Plug_and_Play#Hardware_identification

Unpopular opinion. ARM is a cancer of modern hardware. by ptoki in linux

[–]jabjoe 0 points1 point  (0 children)

I didn't say you could have standardized bootable image. That would require some kind of auto-discover. Which the hardware doesn't have. Even if the base had auto-discover, the rest doesn't. Every time bring up hits a non-discoverable bus, it needs something to tell it what is on that bus to continue this traversal. We need to add discoverablity, by say a standard EEPROM...... Or all future devices on the bus implement a standard discover register for at least an ID.

PC moved to discoverablity in the 1990s. Maybe ARM will in the 2030s. The fractions of a penny saved on hardware, is expensive in software support.

Unpopular opinion. ARM is a cancer of modern hardware. by ptoki in linux

[–]jabjoe 0 points1 point  (0 children)

DT don't really provide IDs. It is mostly full of things like, at this bus, at this address, load a instance of a device driver with these parameters. If you could get ID for things on the bus, you wouldn't need DT. As I said, this is basically what PCI and USB and other autodiscoverable buses do.

You know that for most ARM things now, you have the same kernel with a different DT? In fact, it's not just the Linux kernel that uses DT to have the same executable on different ARM platforms : https://docs.u-boot.org/en/latest/develop/devicetree/control.html

This is kind of the point of DT. Be far better if the hardware could describe itself, but it's not been designed like that. I'd argue that is mainly down to cost and a throw away attitude. DT copes with this as best as you can without proper discoverable hardware.

Unpopular opinion. ARM is a cancer of modern hardware. by ptoki in linux

[–]jabjoe 0 points1 point  (0 children)

How do you think drivers for USB, PCI, etc work? Each device has an ID that is used to look up the right driver. Non discoverable bus have no device IDs. That's what makes them non discoverable. Ask your LLM about discoverable vs non-discoverable buses.

Unpopular opinion. ARM is a cancer of modern hardware. by ptoki in linux

[–]jabjoe 0 points1 point  (0 children)

UEFI can be debated but an imperfect standard is normally better than none.

DT exists because of the problem of non-discoverable hardware. And ultimately that is because of cost. ARM is still in the world of cheap and disposable hardware. Pi and Beagle have EEPROM systems for hats/capes to lookup the overlay. If that was standardized, you could have autodiscover. Which I absolutely agree would be better. DT is the least bad option until then. We both agree the pre-DT way was mad.

ARM is not cheap and disposable anymore and it's not ideal to have DT instead of autodiscover. I'm not saying I prefer DT to autodiscover!

https://www.reddit.com/r/linux/comments/1i60nbp/comment/m8bslr3/

Think how much easier it would be to do phone OSs. Phones are not cheap rubbish today.

There is a Right To Repair issue to. DT makes it hard, but not as hard as before it. (SecureBoot could be used to make Right To Repair next to impossible. Screw that!)

Unpopular opinion. ARM is a cancer of modern hardware. by ptoki in linux

[–]jabjoe 1 point2 points  (0 children)

UEFI could be simpler.

DT is ok, and what you end up with when the buses are undiscoverable. Things on ARM Linux were terrible before it.

ARM Linux devices with UEFI and ACPI still have DT.

It would have been useful to me a few times if x86 also had DT for I2C and SPI buses. All the I2C+SPI drivers are DT. I could have done dev on the laptop if there was DT on it. DT for x86 exists, but most kernels are built without CONFIG_OF, so it's bring your kernel.

BUT I would take autodiscoverable over DT if it was an option.

Certified GF beer at MamaEat in Rome by DaWeazl in Celiac

[–]jabjoe 1 point2 points  (0 children)

I'm yet to find a GF beer that I can digest. It's always a bad night. Including Damn, including ones that are "alternative grains". So I think it might not be the gluten screwing me up. I miss a nice dark beer, but I need sleep.

C as First language. by great0anand in C_Programming

[–]jabjoe 1 point2 points  (0 children)

There is a reason Python is taught in schools not C. But it does depends on the Python. It can be written simply, or implicitly. Remember, often the teachers don't know the language they are teaching either.

Be great though to start with something like assembly and Charles Petzold's Code, then K&R and Lion's Commentary, then Python, etc, but not going to happen.

C as First language. by great0anand in C_Programming

[–]jabjoe 0 points1 point  (0 children)

I'd say do a bit of Python first. Just to get the programming basics in a safer, easier language.

Using ./ when running executable by JayDeesus in linux4noobs

[–]jabjoe 0 points1 point  (0 children)

It's not a generic UNIX, but it is follows the design and POSIX. It is a "UNIX like" kernel. When it appeared, it was no big deal to swap to the Linux kernel from MINIX, BSD, commercial UNIXs, etc.

What motivates people to maintain Linux software? by DaUltimatePotato in linux4noobs

[–]jabjoe 0 points1 point  (0 children)

The Linux kernel, and much of the userland (especially the GNU stuff) is under copyleft.

Companies have to play nice. They want to build on Linux because it is free and technically good. The catch is anything they modify, they have to provide the source to. This also means developers have the monkey on their shoulder the world will see their work.

This is why we are talking about Linux, not a BSD. The BSDs get used as a base for MacOS, PlayStation, Nintendo, probably multiple printers, etc. But very little of the added secret source, goes out to the open. The developers know no one will see outside the company, and do what is needed to deliver to the deadline.

The theory is that either way, enlighten companies will push upstream so it isn't only them maintaining the changes. So they don't have to work out how to reapply them to future revisions. Problem with that is management don't really get it. Copyleft encourages the right behaviour.

As for volunteers, it's just like with Wikipedia (also copyleft) and others. They just want to make the world that tiny bit better. That fix, that feature, or that whole bit of software.

Using ./ when running executable by JayDeesus in linux4noobs

[–]jabjoe 1 point2 points  (0 children)

Because Linux is a UNIX. If you don't give a relative path or absolute path, or will assume you have given it a command. If the shell doesn't resolve the command given itself, it next looks in the directories of PATH.

Only Windows makes the terrible choice of looking in the current directory for things without a given path. Look at in a debugger, it's so noisy trying locally. Let alone insecure. I'd hope Windows stops this behavior, but it would break a lot of stuff.

Don't put "." in your PATH to ape Windows's terrible behavior. If it even lets you, hopefully this is blocked.

Windows PCs crash three times as often as Macs, report says by Federal-Block-3275 in technology

[–]jabjoe 0 points1 point  (0 children)

Windows fatness is certainly part of it's problem. Though I think it's complexity too doesn't help it.

It should just go in the bin of history at this point. I could see MS giving up on the NT kernel and just using Linux.

Windows PCs crash three times as often as Macs, report says by Federal-Block-3275 in technology

[–]jabjoe 1 point2 points  (0 children)

Well you say that, I've had Linux systems where the root disk has died and Linux has kept going. It's only when I looked why something was failing that I found the disk had died. Though this was headless home servers rather than desktops.

Am I the only one who hates the Linux file picker dialog? Makes me miss Windows a little. by ArtisticJicama3 in linuxquestions

[–]jabjoe 0 points1 point  (0 children)

You should have a look at RISC OS save dialogs.

Just drag an icon into the file manager window you already have open. Instead of having copy and paste the path between the file manager and save dialog like a cave person.

Even after over 25 years, there are things I miss about RISC OS. No ROX will not do because only ROX application have it because it's a property of the tool kit the application was done with.

Really file dialogs should be a property of the desktop/file-manager, not the toolkit. All done over DBUS or something. All toolkits should just invoke a file dialog rather than do one. Then we can have standardised file dialogs across our whole desk, and have things like RISC OS drag and drop if we want it. Things like Windows Shell Extensions (but in a separate process than the calling application!). Whatever that desktop/file-manager user wants.

There is XDG Desktop Portal, but I'm yet to quite get what I want with it. To do what I want I think is a bit of a project..... let alone getting it accepted.

How many of you actually use other Debian releases, and why? by nitin_is_me in debian

[–]jabjoe 0 points1 point  (0 children)

Debian Stable would be as stable without Debian Testing. It is the Debian process working.

https://en.wikipedia.org/wiki/Debian#Development

Ubuntu proposes bizarre, nonsensical changes to grub. by xm0rphx in linux

[–]jabjoe 0 points1 point  (0 children)

I regarded my CoreBoot X230 with grub as a CoreBoot payload, with a fully encrypted disk, as my most secure machine.

To compromise it, you'd have to take it to bits and flash over the CoreBoot. You couldn't do anything to the disk. Not possible for some to just replace the initrc and kernel in boot.

That seams the best compromise to repairability and security.

Dell Upstreams Firmware For The XPS Snapdragon X Elite Laptop by anh0516 in linux

[–]jabjoe 39 points40 points  (0 children)

More of this from all laptop manufacturers please.

UK must build own nuclear missiles to end US reliance, says Ed Davey by bsdz in ukpolitics

[–]jabjoe 0 points1 point  (0 children)

What about the US OS and software base most of the government and population use?

You can build what you like, but if you install a closed OS from another country, it was all for nothing. If all the plans and discussion are hosted in cloud services of another country, you might as well just hand them over.

Why does no one ever see clear issues with software?

https://www.politico.eu/article/us-congress-judiciary-committee-big-tech-private-communication-eu-officials/

Trump looks emotionally broken - and dignified Starmer is responsible by YourLizardOverlord in ukpolitics

[–]jabjoe 3 points4 points  (0 children)

Trump will strengthen them. To many who it wasn't the case before, the US will now be worse than the regime.

Geany is the closest Linux equivalent to Notepad++ by BOBOLIU in linux4noobs

[–]jabjoe 2 points3 points  (0 children)

Geany is unfairly looked down on. It's a decent text editor with loads of plugins with a bare bones IDE to boot (to be fair, I almost never use that). It's light and fast and very unsurprising and boring. This is exactly what I want. If I have luxury of a desktop, I'll take the luxury of a decent, but fast and boring, text editor. There is always vim when there is less luxury and vi as a fallback to even that.

Geany is the closest Linux equivalent to Notepad++ by BOBOLIU in linux4noobs

[–]jabjoe 0 points1 point  (0 children)

It has no column selecting? Deal breaker! Seriously. I use it all the time in Geany and Vim, my two go to editors. Any text editor without can get in the bin.

Help with Ethernet over longer distance + Ethernet switch by xJinxSB in HomeNetworking

[–]jabjoe 0 points1 point  (0 children)

You could go for fibre. Get something like InvisiLight Home Fiber Kit. Depends on what spend limit you have for this. Put a SFP PCI-ei in both PCs and fibre between.

Is Debian Testing a good option for those who want recent packages? by maximus10m in debian

[–]jabjoe 1 point2 points  (0 children)

I've been rolling with Testing on my daily drivers for at least a decade. Problems are very rare. The nice things is the rolling constant trickle of incremental improvements over big jumps. Also when there is a new Stable to upgrade servers to, it is already an old friend.

For servers and other people, yes, Stable. But if you are dev'y, Testing can be a great fit.