HNHacker News
TopNewBestAskShowJobs

rb2k_

3,138 karma · joined July 20, 2010

Computer person
submissionscomments
rb2k_··on Open-Source Home Automation
I've switched a lot of my existing light automation over to esphome [0]. I flashed it on various cheap LED Wifi bulbs that have been 'liberated' via tuya convert [1]

After going through zigbee and zwave, I feel like I finally arrived at a solution that allows me plenty of reasonably priced selection and extreme customization (e.g. just using the warm/cold white LEDs on a RGB+white bulb).

Great experience so far and completely automated integration within homeassistant.

I hope that the esphome-configs project [2] will grow over the next little while and provide more and more copy+paste configurations for various hardware.

[0] https://esphome.io/

[1] https://github.com/ct-Open-Source/tuya-convert

[2] https://esphome-configs.io/

rb2k_··on 16-inch MacBook Pro
Fair point. I guess there were only 2 months left in 2019 :D
rb2k_··on 16-inch MacBook Pro
"Today, Apple also announced that the all-new Mac Pro"

"Mac Pro starts at $5,999 and Pro Display XDR starts at $4,999. Both will be available to order in December through apple.com."

They keep announcing it, yet you still can't buy it. I wonder why.

rb2k_··on Winnti: Hackers attacking the heart of German industry
They tend to be the first to e.g. introduce OTA updates, map updates over wifi/lte, ...

They are also one of the very few manufacturers that maintain their cars and even do somewhat major UI upgrades for years after the original release.

I'd say as much as they mess up, they are on the forefront when it comes to car manufacturers

rb2k_··on Winnti: Hackers attacking the heart of German industry
Having worked at a German company (in Germany) that creates tooling for that kind of software development.

They had a huge smalltalk program that created embedded C code (AUTOSAR/MISRA if I remember correctly). Tests only ran manually and the coverage wasn't particularly high. I don't recall any automations that would have stopped you from saving new code that breaks tests to the smalltalk image.

Even though it 'worked', I wouldn't say this whole system excelled at what it did. Lots of manual QA.

So technically it worked, but it certainly was in poor shape from an automation perspective. It was my job as the mostly unsupervised intern to fix that. Granted, that was 10 years ago, but talking to some of my friends around Stuttgart, things move at a glacial pace :)

rb2k_··on German state of Hesse bans cloud services from schools due to privacy risks
The title makes it sound like this is a Germany wide thing. It's 'only' the state of Hesse which is around 6 million people. The responsibility for the education system in Germany lies primarily with the states.
rb2k_··on Ask HN: What is your money-making side project outside programming?
Read https://jlcollinsnh.com/stock-series/
rb2k_··on The brain may need sleep to repair DNA 'potholes'
The referenced 2017 paper is also super interesting: https://www.nature.com/articles/nrn.2017.55

Especially the section about the impact on "Reward and incentive processing" had some fun insights.

rb2k_··on How I negotiated a software-engineering job offer in Silicon Valley
That's not how the regressive tax system works. Your effeective tax rate is around 38%

A nice 2 bed 2 bath is 4k, not 6k

I don't even know how you would spend 3k a month in living expenses.

All of those numbers are seem pretty off.

rb2k_··on How I negotiated a software-engineering job offer in Silicon Valley
Tell them that you signed an NDA and can't send them internal paperwork of a competitor.

Talking about salary is one thing, but giving them the documents themselves is different.

rb2k_··on OpenZFS vs. Btrfs and other file systems (2017)
I don't think copy-on-write is related

(I don't know though)

rb2k_··on OpenZFS vs. Btrfs and other file systems (2017)
The "how" consists mostly of reasonably up-to-date kernels that track main line as much as possible.

As far as why, https://code.fb.com/open-source/linux/ has a nice quote:

"Btrfs has played a role in increasing efficiency and resource utilization in Facebook’s data centers in a number of different applications. Recently, Btrfs helped eliminate priority inversions caused by the journaling behavior of the previous filesystem, when used for I/O control with cgroup2 (described below). Btrfs is the only filesystem implementation that currently works with resource isolation, and it’s now deployed on millions of servers, driving significant efficiency gains."

rb2k_··on Traveling Ruby: self-contained, portable Ruby binaries
Does anyone have experiences with enclose.io?

http://enclose.io/

https://github.com/pmq20/ruby-packer

I only used it once to test something and it worked nicely.

These days I do a lot more python and xar/pex files are a really convenient way to distribute tooling, I always wished the Ruby ecosystem would have more of this kind of tooling.

rb2k_··on Real world SSD wearout
In production tests I've seen the synthetic "wear out level" go down to 1% and the machine still writing Petabytes of data without any issues. That being said, I would only do that on machines that are mostly disposable :)
rb2k_··on Secure Boot and the 2018 MacBook Pro
It’s barely workable once you hit a few thousand machines. That being said, most people don’t end up in that situation. Any large company doing IOS CI with 100+ developers however will encounter issues with the demise of network booting/imaging.
rb2k_··on Show HN: Google Drive as a file system
Any comparisons to rclone's gdrive integration? Seems that rclone probably has the biggest userbase of the "google drive fuse mount" tools.
rb2k_··on FreeBSD has lower latency, and Linux has faster application speeds
The amount of filesystem/networking issues I've seen fixed and all the performance improvements I got from just updating a kernel probably make up for the time that it caused issues.

I guess it needs a critical mass + certain infrastructure maturity that running on whatever the latest kernel is makes sense.

As for the 'certified on stock RHEL kernel' software... I try to keep away from those, but I'm picky and pretty lucky when it comes to job selection :)

rb2k_··on FreeBSD has lower latency, and Linux has faster application speeds
No sources or benchmarks?

Also:

> But unless you’re using Fedora, your servers aren’t gonna taste it soon. Just by bad timing, the new Ubuntu LTS (18.04) due out next week will still use 4.15, which it will support for 5 years. Since CentOS and Debian are even further behind on kernels, you won’t see a lot of “fast Linux” in production until April 2020 when Ubuntu 20.04 LTS comes out.

If you are at a point where the differences would matter to you, you can (and will) probably just install a newer kernel and have the improvements available today. Just because upstream doesn't have it doesn't mean you couldn't compile it yourself or use backports.

rb2k_··on Dragonfly: Alibaba P2P file distribution system
From: https://github.com/alibaba/Dragonfly/blob/master/src/README....

- supernode(Java)

- dfdaemon(GoLang)

- getter(Python)

Interesting distribution of languages in what seems to be a somewhat self-contained project.

Oddly, https://github.com/alibaba/Dragonfly/tree/master/src only contains the getter and the supernode at the moment

rb2k_··on If you’re a software engineer, where should you live to maximize your income?
Yeah, the 100k number was supposed to be rent and other things (food, child care, ...)
rb2k_··on If you’re a software engineer, where should you live to maximize your income?
> if living with a family simply costs so much more there.

Being from Germany myself, the additional salary in the Bay Area usually compensates for the higher cost of living unless you're fresh out of University.

At least that's what I've seen for Engineers that remain mostly technical in Germany. I don't exactly know what CTO salaries are like in Germany, but I'd assume it's usually less than 200k Euros. Most experienced Engineers in the Bay Area make easily more than that in total compensation (salary, bonus, RSUs).

Even if you have to pay another 100k a year for rent/... , chances are you'd still come out ahead. Plus the weather is great.

That being said, society is a lot different in Germany, so it's not just about money and job opportunities :)

rb2k_··on Facebook Q1 2018 Earnings Slides [pdf]
from the article: "That's total compensation, which includes salary, bonus, and stock grants."
rb2k_··on It’s weirdly hard to steal Mark Zuckerberg’s trash
Somewhat hilariously, half of Germany is blurred on Street View. People can just request it in some countries.
rb2k_··on Apple SIM
Eh, it's not THAT bad. Back when I had T-mobile I had > 100 mbit/s LTE and worldwide (albeit slow outside of Canada or Mexico) data roaming for $50

I also still have 250 mbit/s internet with Comcast for $50 (slow upload though)

Keep in mind that the salary in silicon valley tends to be a lot higher, so those $50 are equivalent to $25 of what I had back in Germany.

That being said: It's true that the competition really doesn't seem to work all that great. It's not completely horrible though. I'm happier than with what I had in Germany.

rb2k_··on Rent out GPUs to AI researchers and make ~2x more than mining cryptocurrencies
I wonder when people will start just renting a 99 Euro server with a GTX 1080 from https://www.hetzner.de/dedicated-rootserver/ex51-ssd-gpu and sell it for $367.2 / month on Vectordash
rb2k_··on Why German companies fail at digital innovation
I'm German and I work in Silicon Valley and we get plenty of visitors from the German legislature. One of them always tends to ask me about what it would "to get people like me to come back to Germany". I usually just tell them my approximate salary and ask them if I could earn even half of that as an Engineer in Germany. Usually I don't get an answer.

Other things I often hear:

- "They probably monitor how often you go to the arcade!" (usually followed about how they were in the opposition in the former East)

- "So who usually tells you what to do?" (they don't get self organizing teams or lack of hierarchies)

- "So how many hours a week do you usually work?" (they vastly over-estimate that)

- "This is all nice, but they just want to stay at work longer!" (after I told them my usual hours)

They are all reasonably nice people, but it's somewhat demotivating to see who actually runs Germany and how little they understand about other parts of the world. Maybe the visits help.

rb2k_··on The Parrot Virtual File System
I wonder how feasible this would be to trick Plex into transparently 'mounting' a remote server's media files. (e.g. a VPS that can burst CPU to re-encode data once/twice a day and another one with barely any CPU but large storage)

I guess things like sshfs or rclone already do similar things, but it would be really neat to see the performance characteristics of Parrot vs other solutions.

rb2k_··on Norway switches off FM radio, but a station is defying government order
> Digital can be maddening because it alternates between crystal-clear and OFF, which ultimately I think is worse. Some streaming services will also decide to auto-next-song after the slightest glitch which is annoying too.

I wonder if there are audio codecs that work similarly to wavelet based video codecs (DWT instead of DCT) where you could have stepwise degradation.

rb2k_··on HP keylogger
No
rb2k_··on Two top Equifax execs to retire after security breach
Some of the best engineers that I worked with have been Linguists, Music/Composition majors or Physicists.
← PreviousPage 2 of 27Next →