HNHacker News
TopNewBestAskShowJobs

fooblat

1,212 karma · joined August 22, 2018

submissionscomments
fooblat··on Show HN: Giving my mother-in-law an easy internet radio with real icon buttons
I love internet radio projects.

Did you consider making a DIY internet radio from a raspberry pi? That's actually what I was expecting to see based on the title.

I used a rpi to make an internet radio for our living room our of a 1950s wooden console radio I picked up at a thrift store for 20 euros. Works great and keeps the illusion that the room is free of computers.

fooblat··on Higher quality audio makes people sound smarter
It is amazing to me that we still have such a distance between people on this.

Some people have basically created a tv studio at home with a nice set, good lighting, nice background, quality camera, and mic. Having a video call with these people is a nice and smooth.

And somehow we still have people that think sitting in a noisy, messy room with the sun at their back and using their laptop's built-in mic/speakers is fine. Calls with these people are torture!

fooblat··on What was the point of [ “x$var” = “xval” ]?
> I'm only saying you should avoid using modern things needlessly.

I agree with that idea.

However, I don't think it applies in this case. The point of using modern bash syntax is that it fixed the brittleness and pitfalls of posix sh. This is significant. This is what I need in production. This is why our style guides insist on modern bash syntax for bash scripting.

I'd say the rest of your suggestions apply to shell scripts no matter what syntax is used.

fooblat··on What was the point of [ “x$var” = “xval” ]?
Am I understanding correctly that your point is that we shouldn't write modern bash scripts because some number of untrained people will have problems by accidentally misusing the scripts (wrong interpreter, blind copy/paste, etc). Is that a correct summary?

To me this sounds like saying we shouldn't have powerful tools like chainsaws because every year some people without safety training use them wrong and hurt themselves.

fooblat··on What was the point of [ “x$var” = “xval” ]?
> it's the worst of both worlds since it's neither portable nor that much better than POSIX

Writing modern bash using the updated syntax, it is easy to make robust scripts and the syntax around things like quoting is simple and consistent.

It seems odd to me to suggest that one should either stick to the old brittle /bin/sh syntax or not use bash at all. It has it's place in the world and it should be done the modern way.

You'll find 10s of thousands of lines of bash in the kubernetes repo and all the files I checked are written using modern bash syntax. There must be a reason they choose bash for these parts.

Of course, in any case everyone should use the tools they like and find most suited to the task at hand.

fooblat··on What was the point of [ “x$var” = “xval” ]?
I've been seeing this argument for decades and yet I've never run into any issues like you describe.

When I write a bash script it is for my use or in my production system. In either case I call bash explicitly (/usr/bin/env bash) so the script will work correctly or not at all.

Rarely do I have a project where there is a requirement to write a "run anywhere" script but if it were I would stick to posix.

fooblat··on What was the point of [ “x$var” = “xval” ]?
Alternatively you can use the newer (and highly recommended) bash syntax that is also quote safe:

     $ a=1; b=1; c='!'; d='!'
     $ [[ $a = $b && $c = $d ]] && echo true
     true
For anyone writing bash scripts today I would avoid the old test/[ functions entirely.
fooblat··on MiSTer, an open-source FPGA gaming project
I love my MiSTer build!

The usb controllers made for the recent mini systems (NES, SNES, Genesis, etc) make great accessories for the mister. Add a couple of usb arcade sticks and you can really play almost any classic retro games as it was meant to be played.

And then there are all the classic computer cores even including the PDP-1!

fooblat··on Scalable, Resilient Brainfuck
> Most of the code there was copied from StackOverflow, proving that it’s correct and we can skip writing tests and save us some time.

So perfect!

fooblat··on IPython as a System Shell
While I haven't personally used it, another commenter mentioned Xonsh[0] and that is what it appears to be: A very smooth integration of python into a shell that still feels like a unix shell.

0. https://xon.sh/

fooblat··on A growing number of people are eschewing soap (2019)
I have a friend who lives like this. He also insists he doesn't smell. In reality he often has a noticeable odor. Whether you'd find this odor offensive or not seems to be at least partly cultural.
fooblat··on Iconic L.A. bookshop is housed in an abandoned bank
So many happy memories of that place!

Like the time I went there in the early 90s as a teenager to get a book about this new html thing. It was so new they had just one book on the subject!

fooblat··on The Art of Warez Documents the Lost ANSI Art Scene (2019)
I was a teenager in the late 80s and BBSing was a huge part of my life for over a decade. At one point I had met most of my friends through local BBSes.

I have intense nostalgia for those times, running telix[0] (and later qmodem[1]) long into the night searching for warez and filez, emailing and chatting with friends, and of course the glorious ansi art!

0. https://en.wikipedia.org/wiki/Telix

1. https://en.wikipedia.org/wiki/Qmodem

fooblat··on Fraidycat: Follow from afar
Really cool and brings me a wave of nostalgia for Mugshot[0].

15 years ago Red Hat launched a similar service and it was great. Unfortunately it didn't catch on.

0. https://arstechnica.com/uncategorized/2006/05/6955-2/

fooblat··on Spotify Optimized the Largest Dataflow Job Ever for Wrapped 2020
I joined spotify in 2011 and the core offer was simply access to all music across your devices. However, that's not really relevant.

2020 was the year I really started to question why I was taking such care with my data in some ways but not others. The Wrapped 2020 was a bright reminder to me that if I want to take my privacy seriously I need to look at everything in my life that collects data. Simple as that.

I don't think spotify is wrong or evil to collect the data. I actually think it is a great product. I have just decided that I want to leave as little data around about my daily activities as possible.

As it happens I don't use the Discovery features very much and it turns out there are still some enjoyable FM stations where I live. When I want background music I turn on the radio. When I want something more specific I play an album or playlist from my collection.

fooblat··on Spotify Optimized the Largest Dataflow Job Ever for Wrapped 2020
When this report came out it was the straw that broke the camel's back for me in terms of my data privacy. Most people seem to have found Wrapped 2020 entertaining but I found it creepy.

I miss being able to do something simple like listen to music or watch a movie without all my actions being recorded and saved. So I'm back to buying physical media and DRM free downloads.

I'm convinced that it is now important to hold on to older appliances that work without internet access or data collection this plus right to repair gives me hope for the future.

fooblat··on A visual guide to SSH tunnels
Since this tip is popular I'll share another related tip.

When using nested ssh session, you can send escape commands to any of them by the number of tildes. For example, if you ssh into Server A and then from Server A to Server B:

    ~~.   # drop session from Server A to Server B
    ~.    # drop original session into Server A
fooblat··on A visual guide to SSH tunnels
Great write up!

One thing to add is that you can even open tunnels during an interactive session without disconnection.

To do this, type the escape command sequence ~C (will not show) and it will drop you to the control prompt. You can then add tunnels.

     ssh>
     ssh> -L 8000:localhost:9000 
     Forwarding port.
fooblat··on Product Manager vs. Product Marketing Manager vs. Product Owner
This is my experience as well. You must always ask for a detailed description for these roles.

I've even seen companies that have a role called "Product Manager Owner" with a vague enough description that it could be either or both.

fooblat··on Product Manager vs. Product Marketing Manager vs. Product Owner
For me the difference is stark.

At my last three companies it worked like this:

Product Manager is responsible for the product strategy and feature roadmap. They spend most of their focus on internal and external customers. They report up through Product leadership.

Product Owner is part of the engineering squad. They spend most of their focus on the engineers building the product. The PO works on refinement, prioritizes the backlog, runs the sprint planning and retros, and is the one who can decide if a sprint should be broken. They also keep stakeholders up to date on the progress of the squad. They report up through Technical leadership.

In my experience it is a rare person who can do both of these at the same time.

fooblat··on Show HN: Bunklist – Collect and discover useful websites through lists
Indeed, my first reaction was that this would be a list of sites to avoid.
fooblat··on How do I safely store my files?
> A printed photo in an album can easily last 20+ years without deterioration.

This first sentence is a big one. For a while now we have been making a yearly printed album of our favorite family photos. The first one was a gift for our parents but we liked it so much we continued the project.

When close friends and relatives visit, it is much more likely that we'll pull an album off the shelf and enjoy the memories together than we would digitally go through a year's worth of pictures.

It's a fun family project and you end up with a nice curated keepsake that will last a long time.

I also store a copy of each album sealed in a mylar bag which should keep them nicely for any curious decedents long from now.

fooblat··on Taboola to go public at $2.6B valuation
Taboola, Zergnet, Outbrain, and the like are half the reason I run a pihole. These companies and their ilk promote the worst of the worst of clickbait.
fooblat··on NixOS Linux
I've been using linux based operating systems for 20+ years and I decided to give NixOS a try recently. I had read the install was "difficult" but I found it very straightforward.

The configuration system very easy to understand and work with. I think this is actually the perfect distro for a "one off" home server because configuration management is built in so it is easy to rebuild my server from the backup of a single file.

fooblat··on Life Dashboard: Heads-up display for everyday life
Neat project but, contrary to the title, it is not in fact a heads up display.
fooblat··on How bad is your Spotify?
By my reading of their privacy policy, it seems they will keep data they collect as part of a story or project.

Personally, I never use anything that asks me to sign in with something else. My data is my business and IMO there are plenty of ways to get a laugh without compromising privacy.

fooblat··on Surgery, the Ultimate Placebo
Dr. Ted J. Kaptchuk is has been at this a long time. His agenda is pushing so-called alternative medicine. When you dig in just a little and do some research on him you will find a lot of reasons to question his assertions.

In his studies, it is true that he tells people he is giving them a placebo. He also tells them that it can still help them. This is not really an "open label" placebo as people still have the expectation that it is some kind of treatment and will help.

I also find it interesting that the placebo effect only helps with subjective conditions, such as pain and nausea. No placebo will set a broken bone or seal a laceration.

fooblat··on Surgery, the Ultimate Placebo
I find those studies problematic. In the ones I read from your links, the doctor says something along the lines of "this pill is a placebo. It means it has no active ingredients. However, the 'placebo effect' is known to be powerful and if you take these pills as instructed they can still help you..."

As I understand it, a big part of the placebo effect is setting the expectation that the treatment will help. And it is only known to help in subjective conditions, such as pain.

I expect we might see different results if the doctor said something more like "This pill has no active ingredients and does nothing. We are giving it to you to see if you will imagine that it worked anyway."

Kissing a child's scraped knee is not a treatment but, it along with a reassuring "there, all better!" works wonders for the child anyway. They are comforted and relived.

fooblat··on Rocky Linux: A CentOS replacement by the CentOS founder
They don't have a dvd iso for Springdale 8 but there is a boot.iso download and a package repo[1]

1. https://springdale.math.ias.edu/data/puias/8/

fooblat··on Managing an underperformer who thinks they’re doing great
> Assess whether they’ll accept help

This is the big one for me.

Previously I had such an under performer on my team. When presented with concrete examples of where he was falling short of expectations he simply would not accept that he wasn't doing a great job.

I and another very experienced and well regarded manager tried to break through to him and help him but all three times it ended with him getting angry and making crazy excuses.

It seemed he simply could not admit that he needed to improve in some key areas and in the end I had to replace him.

← PreviousPage 3 of 7Next →