Earlier quoted context omitted.
So true. I recently helped a friend build a little bit of a backyard carpentry project and I was struck by the fact that I got the same creative satisfaction from building little pieces of software. With one big difference: that 2-day carpentry project cost around $1000 in materials. People wanting to create these kinds of things have to pay a big price. Whereas with code (and lots of free-tier cloud services etc) I…
The other big difference is that you generally can’t make mistakes in woodworking. Made a mistake in your code? No problem, you fix the bug. But not in woodworking. Cut a piece too short? You’re hooped. Drilled a hole in the wrong place? You’re hooped. Misalignment during glue-up? Hooped. Woodworking scratches many of the same itches as programming for me, with one key difference: it’s unforgiving of mistakes, so req…
A Minimum Viable Computer, or Linux for $15
341–350 of 408 posts
Re: A Minimum Viable Computer, or Linux for $15
#342Earlier quoted context omitted.
MP3 already made such a PC sweat though. I doubt it could play 256 kbit AAC, and forget about HE-AAC or FLAC.
FLAC would be easier, maybe. But at minimum it should be played on a MMX Pentium.
Re: A Minimum Viable Computer, or Linux for $15
#343Earlier quoted context omitted.
The other big difference is that you generally can’t make mistakes in woodworking. Made a mistake in your code? No problem, you fix the bug. But not in woodworking. Cut a piece too short? You’re hooped. Drilled a hole in the wrong place? You’re hooped. Misalignment during glue-up? Hooped. Woodworking scratches many of the same itches as programming for me, with one key difference: it’s unforgiving of mistakes, so req…
I have never heard "Hooped!" before, but this is cultural appropriation I can get behind.
> (Western Canada, slang) beset with unfortunate circumstances that seem difficult or impossible to overcome; screwed.
https://en.wiktionary.org/wiki/hooped
I’d love to know its origin. I picked it up from family.
Re: A Minimum Viable Computer, or Linux for $15
#344This reminds me (in a good way) of the GPD Win computers. Obviously smartphones are cool, I have one, I like it, but it annoys me that in some senses they're still not as good as a Windows 98 laptop from 24 years ago. Their version of MS Office isn't as intuitive, there's not the same level of programming language/compiler support, on iOS you're restricted to the App Store, etc. The GPD Win was the first time I saw a…
A rooted Android smartphone with Nix is a full Linux computer. I have Node.js, VSCode, C/C++, etc - all while keeping access to all phone capabilities. I haven't tried yet but there shouldn't be any problem with running X server and a full DE (I access the VSCode through Android browser now).
I'm not sure. You still have the "Android ecosystem" interfering with common computer access that I'm using on normal Linux:
- There is no standard V4L2/camera access, only their camera library. I wanted to take photos into tmpfs (to be encrypted asymetrically with GPG and saved to the storage/sent over the network), but the thing still saved them "under the mountpoint" where tmpfs was mounted. There is no v4l2loopback - for example I needed to scan a QR code from a webpage (web.whatsapp.com) and instead of using v4l2loopback like on normal Linux, I had to literally get a physical camera to point at the screen (so something impossible to do remotely).
- There is no Alsa/PulseAudio. I have run alsamixer and the hardware froze when manipulating certain controls (on both Samsum Galaxy Ch@at with stock ROM and Nexus 4 with LineageOS). You cannot trivially add audio output to your scripts with "foo | aplay". Call recording is a mess (normally you would just hook the "monitor" output in pulseaudio). It's much more difficult to implement simple stuff like "when I'm home and it's dark, enter silent mode" - normally I'd just do iwlist scan to check if I'm on the home wifi network, capture a v4l2 frame to check if it's black, and mute the ringing app in pulseaudio.
- The lockscreen is not PAM. You cannot easily add a module (it's like 3 lines of shell using pam_exec on normal Linux) that will poweroff the device after N failed password attempts/entering a special password. If you want to unlock the screen remotely, you literally need to fake the input (https://stackoverflow.com/questions/23529460/is-there-a-way-...). All the we-are-reinventing-PAM is littered with WTFs https://android.stackexchange.com/questions/28689/install-ca...
- The storage encryption is something custom, not a standard LUKS/cryptsetup. It was not possible to set different password for a lockscreen vs. the storage encryption, except by a special command-line API. There were several versions of such APIs, if you have used the wrong one, it silently set the wrong key and it was impossible to unlock. Recovery was not possible even when I had the master AES key, as it's not standard LUKS, so you cannot recover with cryptsetup --master-key-file or header backup.
- The way the storage is implemented, full system backup, or configuration backup and versioning is terrible. I simply user "rsync /" on my normal Linux systems.
- You need to run an X-server as an app, so there is no xmodmap to easily change the keyboard layout etc. There was no video player that could do reasonable speed scaling without pitch shifting, and running it from a chrooted system on the X-server app is terrible performance-wise. (I have now learned that there is a native MPV port. Hopefully it's better than the VLC port, and hopefully things like socket control work...)
- There is no VNC server (like x11vnc) except for some paid apps. You can use scrcpy, which always streams the entire screen (VNC transfers only changed rectangles).
And the list goes on and on (note that some of these are a few years old, I'm not using Android since then as I have evaluated this to be unusable. Maybe the situation has changed.)
Re: A Minimum Viable Computer, or Linux for $15
#345> It costs $10,000 USD to build one of these > The ten thousandth one costs $15 As a software engineer, I'm used to being able to build essentially whatever I want, with the only cost being my time. I'm often unpleasantly reminded that software is an outlier in that regard and as soon as physical items are concerned, especially hardware, it turns out that manufacturing even a simple thing is prohibitively expensive i…
I've seen people build one-of-a-kind custom electronics for themselves. There are PCB manufacturers that specialize on small orders with no setup costs (I think you can get as little as 3 copies?) and you can 3D print or laser cut the case if you need one. Though the thing that does stick out to me as a software engineer is that you need parts and thus can't iterate on your ideas nearly as quickly. You can't just pul…
That's the same in software engineering. You are losing your own time. If you are just breaking your prototypes and not the machines to build them, your time lost is probably multiple times more valuable than the material.
I guess, once you have billed a certain number of hours to clients, the relation between time and money just ingrains itself so deep inside your mind, that you might as well start telling the time in USD.
Re: A Minimum Viable Computer, or Linux for $15
#346> It costs $10,000 USD to build one of these > The ten thousandth one costs $15 As a software engineer, I'm used to being able to build essentially whatever I want, with the only cost being my time. I'm often unpleasantly reminded that software is an outlier in that regard and as soon as physical items are concerned, especially hardware, it turns out that manufacturing even a simple thing is prohibitively expensive i…
I've seen people build one-of-a-kind custom electronics for themselves. There are PCB manufacturers that specialize on small orders with no setup costs (I think you can get as little as 3 copies?) and you can 3D print or laser cut the case if you need one. Though the thing that does stick out to me as a software engineer is that you need parts and thus can't iterate on your ideas nearly as quickly. You can't just pul…
Re: A Minimum Viable Computer, or Linux for $15
#347Earlier quoted context omitted.
I played MP3 files in realtime on my old Pentium 75 with 16MB of RAM with plenty of CPU and memory to spare. This thing is way more powerful than you need for simple music playback. Getting audio out however may be a challenge, maybe USB speakers?
MP3 already made such a PC sweat though. I doubt it could play 256 kbit AAC, and forget about HE-AAC or FLAC.
Re: A Minimum Viable Computer, or Linux for $15
#348Earlier quoted context omitted.
I wish netbooks were still around with modern hardware. In college, I replaced a powerful laptop with a desktop in my dorm+netbook, and just did remote desktop on the on-campus internet (luckily all the classrooms were still wired for ethernet).
There are options out there. GPD is still making new devices - you can get something from them with an i7 and 16GB of RAM that will fit into a large pocket.
Re: A Minimum Viable Computer, or Linux for $15
#349Earlier quoted context omitted.
I've seen people build one-of-a-kind custom electronics for themselves. There are PCB manufacturers that specialize on small orders with no setup costs (I think you can get as little as 3 copies?) and you can 3D print or laser cut the case if you need one. Though the thing that does stick out to me as a software engineer is that you need parts and thus can't iterate on your ideas nearly as quickly. You can't just pul…
> And the cost of any mistake is in actual real money That's the same in software engineering. You are losing your own time. If you are just breaking your prototypes and not the machines to build them, your time lost is probably multiple times more valuable than the material. I guess, once you have billed a certain number of hours to clients, the relation between time and money just ingrains itself so deep inside you…
Re: A Minimum Viable Computer, or Linux for $15
#350> It costs $10,000 USD to build one of these > The ten thousandth one costs $15 As a software engineer, I'm used to being able to build essentially whatever I want, with the only cost being my time. I'm often unpleasantly reminded that software is an outlier in that regard and as soon as physical items are concerned, especially hardware, it turns out that manufacturing even a simple thing is prohibitively expensive i…
Then if you want to actually make a business out of it, another $500K for Lawyers, overhead, advertising, manufacturing contracts, headaches and so on.
But, the computer is very cute, and nice work. I was halfway expecting YARPIP (Yet another Raspberry PI project)
Very cool it was all done from scratch. Done that myself for a tablet prototype and it is a shit ton of work.