

I did this on an embedded project a few years back.
Put a header for the rPi to mount on, and the motherboard powered the rPi (as well as everything controlled by the rPi).
Worked a treat.


I did this on an embedded project a few years back.
Put a header for the rPi to mount on, and the motherboard powered the rPi (as well as everything controlled by the rPi).
Worked a treat.
sudois a command that “does” something as “super user”
Fun fact, it originally stood for “superuser do”, however it now stands for “substitute user do” as it can “do” as any user - it’s just that the default user argument is root (IE super user)


Pretty sure all ram manufacturers are Korean? I guess China puts chips on PCBs, maybe? But South Korea has the knowledge .
And it had met domestic demand. RAM prices have been acceptable for many many years.
It’s the AI sector that is inflating demand (maybe by circular investment and contracts).
So, I don’t see anyone investing 10 years into the future to make ddr6 ram where their business plan relies on current trends.


It must take so much R&D to achieve anything remotely comparable to what Samsung, Micron (/Crucial… RIP) and SK Hynix can produce.
Fingers crossed they can either undercut the 3(now 2) big producers, which is doubtful. But hopefully they can help reduce the maximum price that decent memory can inflate to. Because at some point a medium sized customer is gonna get fed up of the Samsung/micron/skHynix bullshit, and custom order the ram they need, and such a smaller producer will provide a much better service for a similar price


Only for multi CPU mobos (and that would be pinning a thread to a CPU/core with NUMA enabled where a task accessed local ram instead of all system ram). Even then, I think all ram would run at the lowest frequency.
I’ve never mixed CPUs and RAM speeds. I’ve only ever worked on systems with matching CPUs and ram modules.
I think the hardware cost and software complexity to achieve this is beyond the cost of “more ram” or “faster storage (for faster swap)”


deleted by creator


Oh, and on the “fail often” thing…
Get a basic/old/free pc/laptop and install Proxmox on it.
Loads of tutorials out there, but the basic installer will get you to a “I’m learning” stage.
Create a VM, install Debian, play around.
Then: create a new VM, install Debian, create a snapshot, play around until it does what you want, restore the snapshot, do the steps that got you from vanilla to what you want. Create snapshots along the way as checkpoints. Snapshot, tinker, restore snapshot, advance.
Proxmox is amazing for learning VMs and server things


Raspberry pis are an easy intro to actually using computers (instead of using something like windows).
Raspbian is great (based on Debian) and there is a HUGE community for it.
So yeh, it’s a great started for $25, as long as you have a PSU and SD Card. And an hdmi cable + monitor + keyboard at your disposal (and a mouse if you are installing a desktop environment (IE something like windows, whereas headless is a full screen CLI).
And don’t get your hopes up for a windows replacement.
But… Why not run a Virtual Machine? If you have a windows machine, run VirtualBox, create a VM and install Debian on it?
That’s free. You can tinker and play.
And the only thing you are missing from an actual raspberry pi is that it isn’t a standalone device (IE your desktop has to be on for it to be running), and it doesn’t have GPIO (ie hardware pins. And if this is your goal, there are other ways).
If you really really want a computer that is on all the time running Linux (Debian, a derivative (like raspbian) or some other distro) - aka a server - then there are plenty of other options where the only drawback is lack of GPIO (which, in my experience, is rarely a drawback).
And that is literally any computer you can get your hands on. Because the raspberry pi trades A LOT for its form factor, the ethernet speed is limited, the bus speed is limited (impacting USB and ethernet (and ram?)), the SD card is slower and will fail faster than any HDD/SSD. The benefit is the GPIO, the very low power draw, and the form factor - rarely actually a benefit.
I’d say, play around with some virtual box VMs. See what you want, other than Fear Of Missing Out (things like PiHole? They run on Debian, or even in a docker container). Then see if you actually want a home server, and what you want to run on it.
It’s likely you won’t want a raspberry pi, but a $150 mini pc that can actually do what you want.
I clean my windshield if someone is too close behind.
The wind always carries some spray over the top and hits their car and they have to wipe their windshield.
It might seem petty, but seems to trigger something subconscious that makes them back off a bit.
It always seems to work


Heck yeh! Great work.
I think most critique has been covered.
I consider too-many-indentations to be a code smell.
Not actually an issue, but maybe there is…
There is nothing wrong with your code, and no reason to change it (beyond error catching as you have discovered). It runs, is easy to follow, and doesn’t over-complicate.
I like descriptive function names and early returns (ie, throw or return on all the conditions that means this function shouldn’t continue, then process the parameters to return a result).
This could massively clean up what’s going on.
There could be a “getUserCommand()” that returns the desired number, or 0 if it’s invalid.
If the returned value is 0, then break.
If the returned value is 6, then print values; then break.
Otherwise we know the value should be 1-5.
You could use an Enum to define the choices.
This way, the print lines and the conditional tests can both reference the enum. It also removes “magic numbers” (IE values that appear in code with no explanation).
In something simple like this, it doesn’t really matter. But it improves IDE awareness (helping language servers suggest code/errors/fixes). And Makes the code SOO much more descriptive (Ie “choice == 3” becomes “choice == Choices.Product”).


Haha, same.
Had a dual tuner pcie card.
Had a great library of recorded movies, had it all set up to rip DVDs, photos were backed up to it and a slideshow album was set as the screensaver.
I just missed the netflix integration, and there was never any decent replacement for that unfortunately.
It was glorious.


Windows media center was really really good for live TV.


To me:
Window seat has lack of shoulder room - bad.
Middle seat had 2 arm rests that I have to shrimp to rest my arms on - bad.
Aisle seat has 1 (bad) arm rest, but has shoulder and leg room - good.
I don’t care about window seats AT ALL


This is my favourite movie


How much innovation has there been in the ballpoint pen in the last decade?
I was gonna say “salt bae some any wherever there are squiggles”.
Your way seems more… Methodical
Ailerons are for imparting roll.
Flaps and slats are not for steering


Conjugate the verb ‘to go’…


The planned obsolescence is most likely a deliberate trade off rather than actual planned obsolescence.
If fast charging did do significant damage to battery life and this was known at the time of implementation, the decision would have been “users want fast charging phones” Vs “users want devices that last a long time”.
In this instance, the convenience of fast charging absolutely would have won.
“Users want a clear and easy to use device” Vs “users want a robust device”. Which is why we all have glass screens, and the glass technology had to catch up to further expectations.
“Users want easy wireless connectivity” Vs “users want fast and reliable network speeds”. WiFi wins, and has to catch up to further expectations.
Mine is named “Searching…”
It’s caught a few friends out