HNHacker News
TopNewBestAskShowJobs

pstadler

2,836 karma · joined April 8, 2011

  https://pstadler.dev
  https://github.com/pstadler
  https://twitter.com/pstadler
  https://infosec.exchange/@ps
[ my public key: https://keybase.io/ps; my proof: https://keybase.io/ps/sigs/5fJvRJSJfeFNB0mGiAzfHVBuEv0TYYxMGMd4TWc-DZo ]
submissionscomments
pstadler··on Cheezam – Shazam for Cheese
Switzerland disagrees.
pstadler··on (mac)ostalgia – how Spotify, Slack, Chrome, Figma could look on Mac OS 9
Overlooked it too. The mouse wiggling during app loading is subtle.
pstadler··on The Hot Wheels Design Studio: How a Real Car Gets Turned into a 1:64 Toy
This is the article linked here.
pstadler··on Coding with Character
Same here. It‘s a very narrow font and everything wider than Iosevka feels like a downgrade to me.

https://typeof.net/Iosevka/

pstadler··on Dark Patterns Hall of Shame
Cookie consent banners are the worst. I could swear that every single one I‘ve ever encountered has „Accept all“ as primary call to action. On top of that some employ opt-out forms made in hell, where one has to manually click through half a dozen of checkboxes while „Accept all“ is still the primary action at the bottom of said form. I‘m not only incredibly annoyed by constantly being greeted with obtrusive overlays and huge banners, I‘ve also given up on opting out a long time ago[1]. Arguably this part of GDPR failed miserably.

[1] Manually opting out that is, I‘m blocking trackers on DNS level and via browser plugins.

pstadler··on A terminal stock watcher and stock position tracker
This seems very nice and I'll definitely give it a shot. If you're looking for something simple, try ticker.sh[1].

[1] https://github.com/pstadler/ticker.sh

pstadler··on Show HN: I built a 4kb alternative to React, Vue, etc for building web UIs.
This IS weird, because of the jQuery part.
pstadler··on Show HN: BeautifulCode, generate beautiful images of your source code
You’re hired.
pstadler··on Upgrade Raspberry Pi 4 with a NVMe boot drive
Check out the upcoming Turing Pi 2. Seems very promising in every regard.

https://turingpi.com/

pstadler··on Docker fails to launch on Apple Silicon
No idea why you got downvoted, because you're right.
pstadler··on Bye-Bye, Apple
I‘m confused. Why was this posted here and what’s the news? Are they some sort of celebrity?
pstadler··on NextDNS is my new favourite DNS service
Let's flex then...

  PING 1.1.1.1 (1.1.1.1) 56(84) bytes of data.
  64 bytes from 1.1.1.1: icmp_req=1 ttl=58 time=0.661 ms
  64 bytes from 1.1.1.1: icmp_req=2 ttl=58 time=0.638 ms
  64 bytes from 1.1.1.1: icmp_req=3 ttl=58 time=0.615 ms
  64 bytes from 1.1.1.1: icmp_req=4 ttl=58 time=0.654 ms
Fiber connection by Init7, Switzerland
pstadler··on Is It a Pandemic Yet?
A couple of excellent sources for COVID19:

https://bnonews.com/index.php/2020/02/the-latest-coronavirus... (most up-to-date counter and news aggregator which includes a source for each reported number)

https://www.reddit.com/r/COVID19/ (strictly moderated, lots of links to scientific reports and papers, no hoaxes and fake news)

https://docs.google.com/spreadsheets/d/1Z7VQ5xlf3BaTx_LBBbls... (spreadsheets with interesting charts)

pstadler··on PHP 7.4
Sorry, this wasn't meant for you as a power user, but for the uninitiated who might gets the impression that things are great.
pstadler··on PHP 7.4
It still is cumbersome:

  array_filter(arr, fn)
  array_reduce(arr, fn)
  array_map(fn, arr1[, arr2, ...])
  array_walk(&arr, fn)
Not mentioning additional parameters such as `$flag`, `$userdata` or `$clownshow`.
pstadler··on Everything I know about Kubernetes I learned from a cluster of Raspberry Pis
Great article! Never stop tinkering.

Here‘s how I got to know Kubernetes:

By end of 2016, the Kubernetes hype was just about to pick up real steam. As somebody who always liked the idea of running something like an own cluster in the cloud, I attended KubeCon Europe in early 2017. The event was sold out, and took place in a venue almost too small for the number of attendees. It was great. During the event I was just about to finish the Hobby Kube[1] project. Back then weren’t any guides that addressed all the problems encountered when running Kubernetes on a budget, using low cost VPS on random cloud providers. So I dived into the subject in the second half of 2016 and started writing a guide, including automated provisioning using Terraform. I discovered WireGuard in the process of looking for a solution to efficiently securing network traffic between hosts. This still makes me feel like I was an early adopter to something that’s becoming hugely popular.

If somebody would like to add a Terraform module for deploying to Raspberry Pi, please ping me or open a PR here[2].

[1] https://github.com/hobby-kube/guide [2] https://github.com/hobby-kube/provisioning

pstadler··on Show HN: Cascadia Code, a Font for Windows Terminal and VSCode
Oh boy, same here. Glad I found some soulmates! Input Mono Compressed comes close though.
pstadler··on The Cult of Kubernetes
I‘m running at three node Kubernetes cluster for less than $10 a month using this guide: https://github.com/hobby-kube/guide

Disclaimer: I‘m the author.

pstadler··on Think Twice Before Downgrading to a Free GitHub Account
Hosting private repositories on GitHub pages is another feature only available with the Pro plan. Figured this one out a few days after canceling my subscription.
pstadler··on Cheap Kubernetes Cluster on AWS with Kubeadm
I'm running a three node cluster on Hetzner Cloud for less than $10 a month. Comprehensive guide and automated provisioning available here: https://github.com/hobby-kube/guide
pstadler··on No more XS4ALL is unthinkable
> [...]all German ISPs by law so that's not super special.

Wow, I didn't know that. Unfortunately, this doesn't seem to be the case in Switzerland where almost all ISPs force you to use their crap.

pstadler··on No more XS4ALL is unthinkable
I've been a customer of Init7 for several years. They're amazing. Some more boxes to tick:

  - Use your own hardware, no crappy ISP router required
  - They host a Netflix cache server, in contrast to ISPs actively limiting bandwidth
  - They launched https://mirror.init7.net/ after Switch announced they would stop running https://mirror.switch.ch/
pstadler··on Fish shell 3.0
I‘m not switching to fish because of its lack of POSIX compliancy. This is a valid complaint.
pstadler··on The Rise of Microsoft Visual Studio Code
Same here w/o fancy tooling around Git, but a couple of aliases.

I will refuse to use any Git tools or UIs, but the standard CLI, until the end of my career.

Besides that, my IDE/Editor is neither a build tool manager nor should it run my app from within an integrated console having specific settings. The projects people are going to inherit from me will always be editor-agnostic, the environment they run in will never depend on a certain setup that can‘t be documented clearly and they will always run within an isolated context, i.e. the project root.

pstadler··on Hetzner DIY Private Networking with Tinc
Are you sure DO's private network traffic is actually encrypted or even isolated? Back some time ago, any host within the same private network could be reached. I wasn't surprised to see connection attempts from random hosts on eth1.
pstadler··on Hetzner DIY Private Networking with Tinc
Found it to be incredibly stable, plus the links are self-healing due to its design.
pstadler··on Hetzner DIY Private Networking with Tinc
Use WireGuard[1] instead. It's way faster than Tinc and other userland VPN implementations. I've been using it for the same purpose as the author of the article and it has been rock solid - not a single issue during almost two years. Setup and configuration is a breeze[2].

[1] https://www.wireguard.com/ [2] https://github.com/hobby-kube/guide#wireguard-setup

Edit: Benchmarks on Hetzner Cloud (1vCPU, 2GB)

  $ iperf3 -c kube1
  Connecting to host kube1, port 5201
  [  4] local 10.0.1.2 port 57622 connected to 10.0.1.1 port 5201
  [ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
  [  4]   0.00-1.00   sec  77.2 MBytes   647 Mbits/sec   79   1.37 MBytes
  [  4]   1.00-2.00   sec  78.8 MBytes   661 Mbits/sec    0   1.51 MBytes
  [  4]   2.00-3.00   sec  81.2 MBytes   681 Mbits/sec    0   1.62 MBytes
  [  4]   3.00-4.00   sec  85.0 MBytes   713 Mbits/sec  134   1.20 MBytes
  [  4]   4.00-5.00   sec  80.0 MBytes   671 Mbits/sec    0   1.28 MBytes
  [  4]   5.00-6.00   sec  77.5 MBytes   651 Mbits/sec    0   1.33 MBytes
  [  4]   6.00-7.00   sec  88.8 MBytes   745 Mbits/sec    0   1.37 MBytes
  [  4]   7.00-8.00   sec  73.8 MBytes   619 Mbits/sec    0   1.39 MBytes
  [  4]   8.00-9.00   sec  78.8 MBytes   661 Mbits/sec    0   1.41 MBytes
  [  4]   9.00-10.00  sec  80.0 MBytes   671 Mbits/sec    0   1.42 MBytes
pstadler··on Kubernetes for personal projects? No thanks
> About complexity, what you're saying is true, but I think "once your cluster is running" is making a lot of assumptions about what is actually running in the cluster in terms of infra and what workloads you can run there.

Already answered in a way:

> Can this be automated? Sure, but I'd rather automate my cluster provisioning.

If I need more computational power or a specific 3rd-party service that I don't have available at this point, I simply tear down my current cluster and deploy it elsewhere.

pstadler··on Kubernetes for personal projects? No thanks
I treat my cluster as immutable. My setup is open source: https://github.com/hobby-kube/guide
pstadler··on Kubernetes for personal projects? No thanks
> Do you want to do all of this because you think is fun? Or because you want to learn the technology? or just because? Please, be my guest! [...]

Kubernetes is likely here to stay. If you're interested in running a cluster to undestand what the hype is all about and to learn something new, you should do it. Also, ignore everybody telling you that this platform wasn't meant for that.

Complexity is a weak argument. Once your cluster is running you just write a couple of manifests to deploy a project, versus: ssh into machine; useradd; mkdir; git clone; add virtual host to nginx; remember how certbot works; apt install whatever; systemctl enable whatever; pm2 start whatever.yml; auto-start project on reboot; configure logrotate; etc. Can this be automated? Sure, but I'd rather automate my cluster provisioning.

← PreviousPage 2 of 6Next →