Overall the experiment was positive. The reason I stopped was because I ran into issues getting certain libraries to work correctly on the RPI 4 and it was getting more annoying to solve that than doing my actual work. I did a similar experiment with an RPI3 and while it is definitely slower than the RPI4 the issue was not the speed so much as the RAM. Having Emacs, a pdf manual open, the OS in the background, and the software I was working on running started getting me dangerously close to the 1Gb limit, and I had certain compilations outright fail because of that. I think 2gb definitely gives you the minimum amount of head room to make an RPI4 a viable option. The other bottleneck is the SD card. I think a 4gb RPI4 with a slight overclock, and SSD is would probably the sweet spot for this type of exercise.
Ask HN: Does anyone use a Raspberry Pi as your main computer?
81–90 of 194 posts
Re: Ask HN: Does anyone use a Raspberry Pi as your main computer?
#82Earlier quoted context omitted.
Media elements, JavaScript, RAM limitations, difficult video rendering, and crashing limit its productivity. Looking for ways to apply a new CCD to pi astrophotography recently, I made two mistakes: I didn't block ads and I opened more than two tabs. The pi ended up in swap hell for over a minute before I restarted. This is an rpi4 4GB, OC'd with heatsinks and active cooling, on a good IOPS SD. Browsing the web is th…
Swapping on the SD card is a nightmare. I found out that disabling the swap actually leads to a better experience, even if it means that firefox gets killed from time to time. [This comment was written on a rpi4, btw.]
Re: Ask HN: Does anyone use a Raspberry Pi as your main computer?
#83I have to use a Raspberry Pi 3B+ since I gave my main machine to my girlfriend whose in dire need of a new system. Here's a quite recent (yet outdated) screenshot of my DE in use: https://i.imgur.com/zn2gHtu.png It's fine. Almost. I'm using neovim as my editor, gnome terminal as my terminal emulator (with bash/tmux) and epiphany for surfing the web - mostly one tab at a time since it can't handle more than that easil…
This is making me nostalgic for the "Alphasmart" [1] word processor I had in 8th grade. Such a simple yet powerful device. My favorite part of how "simple" it was: when you wanted to transfer the text to your computer, you hit transfer and it "typed" the characters one at a time until everything was typed. It was fast enough and no programs to install.
[1]: https://www.etsy.com/listing/1068705694/alphasmart-3000-word...
Re: Ask HN: Does anyone use a Raspberry Pi as your main computer?
#84Earlier quoted context omitted.
I’d imagine JavaScript heavy sites are pretty miserable on the Pi even the latest models.
As a javascript dev myself which write javascript heavy websites, I think all of my sites would perform just fine on a raspberry pi, at least on the newer models. What I am most afraid of is the editing experience mostly.
Have you actually tested that?
Re: Ask HN: Does anyone use a Raspberry Pi as your main computer?
#85The Pi4 with 8 GB is very usable as a main computer. I'm a Fedora person normally but for the Pi Raspbian is always my choice because it is so well optimized for low memory devices. Ubuntu MATE is fine too but not quite as optimized.
Always the biggest challenge is web browsing. Keep your tabs under control and web browsing on the Pi4 with 8 GB is fine. Firefox or Chrome doesn't matter too much. FF seems to be a little better on memory when memory is low (seems like maybe it swaps tab memory out to disk?) but I still use Auto Tab Discard to sleep tabs that aren't used.
Re: Ask HN: Does anyone use a Raspberry Pi as your main computer?
#86Re: Ask HN: Does anyone use a Raspberry Pi as your main computer?
#87I loaded up Manjaro ARM on a Crucial NVMe, attached using a UASP-capable USB3 case. I used Sway and the new, FOSS GPU drivers, and enabled hardware acceleration in chromium and vscode.
To my surprise, the browsing experience was absolutely OK, I couldn't notice any lag on most websites, including hw-accelerated YouTube, with the only exception being gitlab.
All other apps (mainly Telegram Desktop, zutty) worked absolutely fine, no difference at all from my daily driver.
Rust compilation also felt normal, it actually felt weird not hearing any fans with 100% CPU usage :)
The only minor disappointment was vscode: for some reason, even when using the same acceleration flags used in chromium, switching files took ~500 ms, which was the main dealbreaker for me (and for some reason the acceleration flags slowed down everything even more, or simply had no effect, quite the opposite of chromium).
I briefly considered learning vim, since it has LSP integration I could keep using all the language servers I used in vscode, but in the end switched back to my laptop after lasting two days (and I probably would've switched back anyway, since I usually work outside with my laptop in spring).
Re: Ask HN: Does anyone use a Raspberry Pi as your main computer?
#88It runs what I need on the go (browsing, youtube and video/photo editing, not to mention SSH and VPN software in case I need to hop back into my work's network), it fits nicely in my carry-on luggage with my tshirts and socks.
I also have a chromebook that I use for basically the same things - it's not great but it's also enough for me when I travel.
Re: Ask HN: Does anyone use a Raspberry Pi as your main computer?
#89Might work for the vi/ emacs only crowd though.
They’re very cool for non-daily driver though