News for hackers. Stuff that matters.
Re:Ask HN: Does anyone use a Raspberry Pi as your main compu... by yboris on Thursday April 28, 2022 @01:00PM (#31195003)
Not as my main computer, but as my digital piano sidekick, a USB output from the piano goes to my Raspberry Pi which runs Pianoteq (makes the piano sound like a $100k piano). Optionally, the Pi lights up some addressable LEDs coinciding with keys.

https://github.com/youfou/pianoteq-pi & https://github.com/whyboris/Digital-Piano-LED

Re:Ask HN: Does anyone use a Raspberry Pi as your main compu... by digisign on Thursday April 28, 2022 @02:28PM (#31196309)
Beware, that setup.py script is not a setuptools script but builds the other scripts and config on the fly. Install is "wget | sudo python." Then it overclocks the Pi. :-/

I once tried installing timidity and usb keyboard on a RPi but there was too much latency to be useful. Interested in the subject, but seems this could be done in a safer manner.

Re:Ask HN: Does anyone use a Raspberry Pi as your main compu... by sitkack on Thursday April 28, 2022 @03:53PM (#31197395)
It is made by hobbyists to turn a rpi into a dedicated device, I can understand the brute force methods they employ. It looks like it needs the OCd speed to run the software. A different name that didn't collide with current Python ecosystem scripts wouldn't raise as many concerns.

*edit, inverted meaning of last sentance

Re:Ask HN: Does anyone use a Raspberry Pi as your main compu... by sitkack on Thursday April 28, 2022 @09:12PM (#31200216)
Instead of setup.py, it could be called, local_hardware_install.py or somesuch.
Re:Ask HN: Does anyone use a Raspberry Pi as your main compu... by suifbwish on Thursday April 28, 2022 @03:12PM (#31196900)
Never trust anyone who gives you a command that both downloads and executes any script. That person is either malicious, incompetent or they know the risks and just don’t give a shit
Re:Ask HN: Does anyone use a Raspberry Pi as your main compu... by GekkePrutser on Thursday April 28, 2022 @05:14PM (#31198307)
Homebrew for Mac is super popular among developers:

https://brew.sh/

And yeah they should know better. On the other hand, modern programming languages also pull libraries from all over the place without any serious vetting. This is becoming more and more of a problem as several people have demonstrated here:

https://news.ycombinator.com/item?id=30679098

I bet sooner or later this will result in a major wannacry/log4j style international incident and then we'll start doing something about it.

Re:Ask HN: Does anyone use a Raspberry Pi as your main compu... by dmerrick on Thursday April 28, 2022 @04:16PM (#31197670)
How is this different from any other installer that asks for admin access? At least the wget method gives you an opportunity to look at the install script, which most software installers dont provide
Re:Ask HN: Does anyone use a Raspberry Pi as your main compu... by adamomada on Thursday April 28, 2022 @04:33PM (#31197861)
It’s just a short-cut, you can easily examine the script and run it later. Most of the time I’ve seen a fair warning to always do the same.
Re:Ask HN: Does anyone use a Raspberry Pi as your main compu... by rosndo on Thursday April 28, 2022 @05:20PM (#31198374)
This is a weird take.

For example: From a security POV it’s not meaningfully different from being given a download link for a binary.

Re:Ask HN: Does anyone use a Raspberry Pi as your main compu... by sarang23592 on Thursday April 28, 2022 @01:50PM (#31195744)
This seems interesting. Would you mind sharing some of the pics of your setup
Re:Ask HN: Does anyone use a Raspberry Pi as your main compu... by yboris on Thursday April 28, 2022 @06:22PM (#31198952)
I'll try to update the repository with photos & video-link in the future; have been busy with other house projects.