HNHacker News
TopNewBestAskShowJobs

rubenbe

1,795 karma · joined June 8, 2017

submissionscomments
rubenbe··on Writing Your First Kernel Module (2019)
Because the code is (largely) the documentation, I recommend people to start reading kernel module sources from the bottom up.

The bottom is where the initialization happens. The further you move towards the top of the file the more specific the code becomes (register bashing and magic hardware specific values)

rubenbe··on OVH CEO Octave Klaba apologizes and provides updates about SBG2
I did get an email yesterday around 16h00 GMT. It was pretty generic, the only new thing it contained (for me at least) was the FAQ regarding this incident.

https://help.ovhcloud.com/en-gb/faq/strasbourg-incident/?xto...

rubenbe··on System76 Launch Configurable Keyboard with Open Source Code
Can you say which keyboard you're using? Because the idea of having hjkl available everywhere sounds appealing.
rubenbe··on Signal is having technical difficulties
Another donation.

Everyone around me starts switching suddenly and I want to keep them on Signal.

rubenbe··on GNU Units
You might also be interested in boost::units.

It implements units using a ton of templates and "compile-time metaprogramming". [0]

The nice thing is that it has no runtime overhead as all templates are "compiled away". The disadvantage is that when you make a mistake against units, it results in a "template compiler error explosion".

[0]https://www.boost.org/doc/libs/1_65_0/doc/html/boost_units.h...

rubenbe··on Open Source Smartwatch
Slapping on a more RAM on the PCB is not free energy-wise. The watch only has a 180mAh battery that needs to provide power for an entire week.
rubenbe··on Ask HN: What Linux Desktop Environment do you use on tablets?
I've done a similar (very interesting techically) trip through various distros. Instead of Ubuntu, I settled for Fedora. It provides newer packages than Ubuntu but also "just works" (at least for me). The disadvantage would be the far lower popularity compared to Ubuntu.
rubenbe··on Managing my personnal servers in 2020 with K3s
I'm running a Dell T140.

It's not the cheapest, but has idrac "remote control bios". So I never have to sit next to the box. It houses 4 disks + you can add SSDs via PC and it has ECC RAM. Plus I added a couple of years "Next business day on site" warranty, so I'm pretty safe against long downtimes.

rubenbe··on Falling five storeys from a New York rooftop changed my life
I've dislocated my shoulder once and it was reset without any pain killers.

While the method indeed is quite similar to medieval torture, it was certainly not the worst pain I experienced that day.

Although I might have been lucky that the doctor worked in a ski resort and was very skilled in "the art of resetting shoulders".

rubenbe··on Show HN: I made a Chrome extension to stop mindless browsing
I really like this property:

> Intention requests access only to the sites you select, not all sites.

Very few add-ons implement it (talking about Firefox) but it makes the add-on much more trustworthy.

rubenbe··on What is interesting about Factorio
Interesting that you have the same feeling.

I used to like RTS-style/city builder games and put endless hours in them (think simcity, rollercoaster tycoon, settlers, ... ).

I barely play games anymore, but now I focus more on short (sidescroller) action games. Where each level lasts only a few minutes. (super meat boy, zombie night terror, hotline miami, ...)

Maybe it's a case of instant gratification seeking. But it seems to work for me.

rubenbe··on WireGuard 1.0 for Linux 5.6
Thanks for the elaborate answer on my, in hindsight, not very clear question.

The use case I was referring too is where the VPN is between e.g. your corporate network and your pc when working from home. In this case the VPS doesn't need to see the unencrypted traffic.

A sibling comment made clear that the ansible recipe mentioned is to setup a VPN between e.g. a laptop in the VPS.

rubenbe··on WireGuard 1.0 for Linux 5.6
Does the VPS have unencrypted access to the VPN? It's something I would want to avoid. (A VPS is a prime candidate to be compromised)
rubenbe··on OpenJSCAD
The syntax looks like C but it's not, and causes bugs, e.g. in this loop:

  i =0;
  for (j = [1:5]){
      echo(i);
      i=i+1;
  }
keeps printing "1" instead of 0 to 4
rubenbe··on Docker for Windows won't run if Razer Synapse driver management tool is running
I agree:

Recently I found an interesting snippet of C code which was using an sprintf to write a string into a char array. Unfortunately, it contained an off-by-one error where the null terminator would be written outside the char.

I proposed to fix the answer, but for incomprehensible reasons the edit was rejected (!)

rubenbe··on Technical Debt Is Like a Tetris Game
I tend use the "Leaning Tower of Pisa" metaphor. If it leans too much, the tower will fall down. If it doesn't tilt at all, you won't sell tickets to tourists.

The art is to find the sweet spot.

rubenbe··on Always Review Your Dependencies, AGPL Edition
This is one of the items embedded Linux development using Yocto has particulary well covered. It checks every license for every package and you can ask it to verify the checksum of the license file. If the license changes after upgrading a package, you'll get a build error.
rubenbe··on Off-Grid Cyberdeck: Raspberry Pi Recovery Kit
This is why projects like yocto and buildroot exist.

They help you maintain a stable software stack over time. And generate a fully contained software image that can be flashed without needing the internet afterwards. (All downloads happen during compilation)

rubenbe··on Intel's CIP wants to collect the “categories of websites you visit”
Probably they want to group their buyers using that browsing information. E.g HN readers tend to have i7 CPUs etc.

While they state only "The categories of websites you visit, but not the URL itself" is transferred. I'm wondering how you do this? The most privacy friendly method would be to have an offline mapping with e.g. the 10000 most visited sites and their categories.

rubenbe··on Bringing Serverless to a Web Page Near You with Hugo and Kubernetes
I personally prefer the naam FAAS. It's a logical naming scheme where each xAAS moves the maintenance of an increasing part of the tech stack to your supplier. PAAS > SAAS > FAAS
rubenbe··on GNU Hyperbole 7.0.3
You're not the only person with that question and it is answered on the emacs wiki: https://www.emacswiki.org/emacs/Hyperbole
rubenbe··on Why We’re Switching to gRPC
I recently chose gRPC as a communication protocol between two devices (sort of IoT).

Until now it works perfectly as expected. The C++ code generator provides a clean abstraction plus it saved a lot of time (both in programming and debugging). The gRPC proto file syntax also nudge you in the right direction wrt protocol design.

When trying to "sell" gRPC it helps that there are generators for plenty of languages and it's backed by a major company.

rubenbe··on GitHub Is Down?
This is the perfect moment to stress that git is decentralized, so you can push/pull directly from you colleagues.

The fact that github is down is a only poor excuse for an extended coffee break. ;)

(Down from BE)

rubenbe··on Ask HN: What is the best laptop to run Linux in 2019?
XPS13. It works perfectly out of the box, you can even order it with Linux pre-installed. Do I need to explain further? The experience of running Linux on my XPS has been "boring as it should be" because everything just works. (I'm using Fedora 29)
rubenbe··on Newmail: Generating random email aliases on OpenSMPTD
It's sometimes a bit of a hassle, but I have to python script that generates and configures it for me. And in some cases I fallback to <bricks-and-mortar-shop>@domain.com Because that's much easier to spell out to a cashier.

After it's configured, my password manager stores the email too so that's not a problem

rubenbe··on Newmail: Generating random email aliases on OpenSMPTD
I have the same pattern but added a 6 character hexadecimal postfix based on a hash.

facebook-com-a2bdc0@domain.com

This makes it less trivial to guess the other domains. (although you could bruteforce the entire range)

rubenbe··on Gotify – a self-hosted push-notifications service
I gave it a quick try and "it just worked" with minimal configuration. Really easy to get started.

Unfortunately messages are only plaintext.

rubenbe··on Speedrunning Windows 95
Unfortunately the links that would describe how to do it are no longer available.
rubenbe··on Speedrunning Windows 95
I was recently amazed to find out that Windows 95 is still used in an industrial automation setting. The company uses the NetBEUI[0] protocol and Windows 95 is apparently the only version to support it.

[0] https://en.wikipedia.org/wiki/NetBIOS_Frames_protocol

rubenbe··on Ask HN: How do you keep your files organized on macOS?
I keep everything in the following folder structure. ~/projects/<year>/<mmdd>-<projectname>.

e.g. ~/project/2019/0307-hnpost/

It's simple and has been working very well over the years as you can quite easily find projects based on year and on name. Older projects can be removed / pruned you run out of diskspace. Keeping thing organised is just creating a single folder. I have a ZSH alias called mkproj which quickly creates a new project.

← PreviousPage 3 of 5Next →