HNHacker News
TopNewBestAskShowJobs

bierjunge

441 karma · joined January 16, 2019

submissionscomments
bierjunge··on Modern C for C++ Peeps (2019)
Nice intro, but it's very vague and not nearly a complete overview.

There is a good book written by Jens Gustedt [0] which is a great guide for C with all the new stuff. The book itself is CC licensed and code examples are MIT licensed. Jens is one of the good guys.

[0] https://modernc.gforge.inria.fr/

bierjunge··on Freenode ops take control of 700 channels
More like LEEnode now. The network is dead and will never recover, even if Andrew steps down.
bierjunge··on One week of Libera Chat
IRC and mailing lists are still the most important communication channels for a lot of projects (see: kernel.org and similar projects). It haven't changed for 30+ years and I hope it won't change in the future.
bierjunge··on C++ Software Security Sins: Basic Issues
std::array<char, 26> foo{}; foo.data(); // <- returns a pointer to foo's data inheriting it's type. so we get *char here

std::string would work in a similar way, except it would be `const`

bierjunge··on Boeing 747s still get critical updates via floppy disks
A lot of organizations bought everything they could get a few years ago (especially airlines and U.S. military were buying like crazy and paying incredible prices). Now they have basically tons of floppy's stuffed in some warehouses around the world and it should last for a decade or even longer. This should be enough time to get a different medium chosen and certified.
bierjunge··on Word usage guidance and alternative terms
It's a reference to the kill and killall commands from *NIX, so it would be allowed if formatted as code.
bierjunge··on Luca App: CCC calls for a moratorium
Exactly. I dropped out of university, so I can't be hired by any German agency/office, because a degree is a hard requirement. But I can work for them as a consultant asking for more than two-three times the money...

The salary is a joke, I've made their base salary, which requires at least bachelors degree, as part time working student in private sector.

There is only one reason to work for the government in Germany and it's called "Verbeamtung" (a legal state where you are not employed, but appointed for government service, it's almost impossible to get fired and you pay little to no taxes, etc.), but the whole office politics and long decision making channels are awful (source: me working for a company owned by the local government years ago).

bierjunge··on Learn C in Y Minutes
Linux is C99, most microcontrollers use C99 or even C89. It would be nice to get the new features, but it's not always possible.
bierjunge··on Netscape ISP Homepage
The last breach was not handled really well by Ubiquiti.

https://krebsonsecurity.com/2021/04/ubiquiti-all-but-confirm...

bierjunge··on Ask HN: Best low-/no-code solution for simple web-based database frontends
If you switch to PostgreSQL, then PostgREST would be a nice solution. It turns your DB into a webserver with REST API for data interaction. Add a simple frontend like you mentioned and it's done.
bierjunge··on Permission.site
Depends on your Chromebook, I have a Acer R13 and it's installed and running (just checked it). Android app's don't have a designated "runs on Chromebook" Flag as far I know, so you can't really block it.

But Chromebooks are sometimes a little bit special. I'm working on a app right now which is designed for tablets and wanted to check if I could run it on my Chromebook, because of the bigger screen (13" compared to Samsung S5/S6 with ~10") and I couldn't install it from the alpha channel. The thing was, it has a camera, a front camera, but the Manifest.xml required the default camera permission which was missing and this prevented me from even finding the app in the PlayStore.

And Slack as app is basically only the website. All the "native" apps seem to just render it (Linux, MacOs and Windows are Electron apps, the Android version feels like a WebView)

bierjunge··on Should journals pay peer reviewes?
You are right, they will never do something considered good for the public or research, just because they want to retain their dominance and maximize profits. For example, my old university needs to pay in order to access papers, which they sent in and paid to publish. It's completely crazy.

Fortunately there is https://arxiv.org/ and similar sites. And most researchers are happy to provide you their papers free of cost if you ask.

bierjunge··on Being on Call
I'm working for a small(er) (30ish people) software company and 9am is the general start of the work day, but it's not regulated or enforced. Some people start at 8am, but I for myself start mostly around 10am, except there are some meetings before.

There are only two rules:

- get the job done

- be in the important meetings/calls

bierjunge··on Companies must stop requiring people to link their phone numbers
It's available in the U.S only. If it were available here in Germany, I would love to use it, but until that I have to use some burners which is getting harder every day since you are required by law to link your ID to a phone number to activate it (even prepaid).
bierjunge··on Ask HN: What are the best websites that the Anglosphere doesn't know about?
A while ago ARTE started a side channel and asked users how to name it, which we all know is a bad idea in the internet. The result was "Irgendwas mit ARTE und Kultur" ("something with ARTE and culture") and they really took the name: https://www.youtube.com/c/IrgendwasmitARTEundKultur Kudos to ARTE.

BTW. it's a cooperation between french and german public televisions, is there something similar elsewhere in the world?

bierjunge··on Latches in C++20
I don't know who said the following, but it sums up CS pretty good:

"There are two hard things in computer science: cache invalidation, naming things, and off-by-one errors."

bierjunge··on The database servers powering Let's Encrypt
server1000 and we can retire early
bierjunge··on Have we already been visited by aliens?
S03E04 for everybody who want's to watch it.

Star Trek and especially TNG is one of the best SciFi series made. The technological point of view is very interesting, but the philosophical issues are even more intriguing and up to date.

bierjunge··on Show HN: A low-code alternative for Stripe/Twilio Integrations
> Almost certainly not PCI Compliant.

Yep, same feeling here.

And there are even more red flags. - no information about what company/which individual is responsible for the service (I always want to know who I'm doing business with) - no contact information (no, Twitter is not a business channel) - no information about anything even related to liability and/or applicable laws - no ToS - no privacy policy (so no customers from the EU + possible lawsuits in the EU for the person who runs it) - no cookie policy, but still a cookie. Even better, it's valid for 10 years... (and here we go again with possible lawsuits in the EU)

Maybe there is some information about this after the registration, but it is: a) too late b) not how a serious company should communicate with potential customers/partners.

I'll pass.

bierjunge··on A Proposal for Adding Generics to Go
There is a big difference here. The draft is about adding generics to the Go stdlib, not about if it's possible. Is it even possible? Yeah, there are some implementation (e.g. https://github.com/cheekybits/genny). So Go is not "far behind" C, which also does not have generics (or did I miss something in C11/C17?).
bierjunge··on Ask HN: Why do they make cars go so fast if it’s illegal?
Especially Autobahn in Germany is interesting. Generally there is no speed limit, but something called "Richtgeschwindigkeit" (the advised speed you should go, which is 130km/h). But there ARE speed limits on most parts of the Autobahn (construction sites are generally limited to 60 or 80km/h, dangerous sections, etc. so it's often limited to 100-140 km/h). Sections without speed limit are a lot of fun and created a whole industry around them. There are car rentals with sports cars you can get for a few hundred/thousand Euro a day, depending on the car (and they have almost everything, from Porsche and Mercedes AMG to Ferraris and Lamborghinis).
bierjunge··on CentOS Project shifts focus to CentOS Stream
$30k is a significant amount, especially in academic environment, I don't deny it. But it's not much for > 100 servers. In my previous job, I had licenses which were about 15k€ for one server (thanks Oracle...) and the Windows Server licenses were also pretty expensive. $300-500 per server/year is not much more than a Photoshop license for one designer. And if we talk big business (1000's of servers and even more), you will get very special pricing anyway.
bierjunge··on Ask HN: Is anyone using ArchLinux for server production environments?
I really like Arch, but I wouldn't use it in production. Yes, the packages are up to date and there are not many problems with them. But did you try to rollback to previous version of a package? I had the problem on my personal laptop last year. There was no possibility to get a different version than the newest, which was broken (upstream's fault in this case). Luckily I had the previous version in my pacman cache and was able to install it. The package maintainers did a good job and the issue was resolved in something like 24-48 hours (from patching upstream to pacman). So nothing tragic for personal use. In a productive environment? A very big no. One to two full days are simply not acceptable in any kind and/or size of business. Yes, you would (and should) test the update before rolling it out to production and be able to mitigate the problem, but you can't be sure, because you can't pin the version you want to install. Ok, you could build your own repo and package everything you need yourself. But it takes time and costs a lot of money.

Also automated deployment of Arch is a little bit of a headache.

bierjunge··on Infinite Bad Guy
It's not a bug, it's a feature. Take the time while it's buffering/whatever and enjoy the world.
bierjunge··on Maddy: Composable all-in-one mail server in Go
That's weird. I'm running a mail server at Hetzner for years now and never got a mail rejected. Maybe you just got bad luck with the IP, which could be flagged at Spamhaus, etc.
bierjunge··on European Languages Datasets
Every language has something like that. In Germany it's called "Behördendeutsch" (administration german). Even as a native speaker with good language skills, you have to read all forms and letters at least twice to make sense of it.
bierjunge··on iFixit tools in Apple's lab
I thought it was a Apple II, but I can be wrong ¯\_(ツ)_/¯
bierjunge··on iFixit tools in Apple's lab
No coffee mugs, no post-it's, not a single piece of paper with some notes, no personal stuff -> can't be a engineering office.

But the old Apple II on the shelf in the back got me to smile.

bierjunge··on Ask HN: Which new programming language are you planning to pick up in 2019?
Dart

The language is pretty performant, nice to write and read, OOP, portable, strong typed, etc. Can be used for scripting, backends, etc.

With Flutter, you can get Android and iOS apps with the same codebase and near native performance. Downside is, not every functionality is supported, but it's getting better every week.

AngularDart gets you webfrontends without touching JS. Ok, it compiles Dart2JS because browsers are not supporting Dart (yet), but I don't have to write JS/TypeScript myself.

This will get even greater in a few years when Google releases Fuchsia aka Android-replacement.

Ok, there are downsides: - no WASM support - VM based for use outside of a mobile device/browser - lack of some libs/frameworks - not widely supported (like on the big 3 in the cloud or default install on top10 distros)

bierjunge··on Ask HN: How is Ubuntu as a daily driver?
I think the Amazon thing is gone, but I haven't used Ubuntu on a desktop for a while. It's ok on servers, despite the packages are not always current in this distro, but hey, who needs OpenSSL or OpenSSH versions which are not more than a year old.

It's sufficient for a rookie webdeveloper, but everything else is a pain in the ass. Oh, you need libsasl to compile this project from sources, it would be a shame if we rename it to sasllib (yeah, this shit is still happening!).

Long story short, get Debian. Or install Fedora if you are comfortable with.

In my case, I learned to work with Linux with Debian on my main PC and Slackware on my "project box". A lot of trouble, but now I can say I know what I'm doing (or why something got wrong). After that I tried a lot of different distros and I found my match, I'm happy. So try something crazy, like Gentoo/Arch/NixOs/random-distro-listed-on-distrowatch.

BTW. Rolling releases are awesome

← PreviousPage 4 of 4