HNHacker News
TopNewBestAskShowJobs

rethab

703 karma · joined October 26, 2013

submissionscomments
rethab··on Messenger API Updates for Europe
Great news!

Less so for Switzerland? Because this does not seem to apply to Switzerland, which has signed the EEA agreement, but did not join.

rethab··on The State of the Awk
If you are like me two years ago and think that AWK is obscure, you might want to follow my twitter account where I try to teach AWK: https://twitter.com/mawkic

These days I use AWK on a regular basis for small everyday - tasks.

rethab··on Show HN: Learn Awk Tweet by Tweet
I run this account. I plan to tweet every day, slowly building up knowledge about AWK tweet by tweet.
rethab··on Eric Schmidt has applied to become a citizen of Cyprus
Listened to a podcast about this subject recently (in German though: [0]).

What eg. a German (very!) rich person would do is get a second passport in Cyprus and then open a Swiss bank account. To the Swiss bank, they'd say that they only have that one passport from Cyprus. Therefore, the Swiss bank does not report to the German state that the German individual has a bank account. This is how that person avoids German tax.

0. https://www.kuechenstud.io/medienradio/podcast/di090-geldwae...

rethab··on [dead]
Sounds like click-bait to me. They intend to replace a specific package with another one for NTP.

And as far as SCP is concerned, it's just that they plan to switch the default internal protocol from SCP to SFTP with the former still available.

rethab··on Scala 3.0.0-M1
My experience as a freelancer is that the two camps are:

- enthusiasts who will stay with scala

- others who think they should have used kotlin/java from the beginning.

The latter camp is bigger and growing.

rethab··on Scala 3.0.0-M1
Scala 3 is a huge change. As someone who used Scala for years, but always wondered whether they can retain their users with competition from Kotlin, I'm extremely curious what this will mean for Scala in the long run.

I'm skeptical, because the cost to migrate is big. But I'm hopeful, because Scala is a language I like to write code in.

Edit: why am I skeptical? I know scala 3 is largely meant to be backwards compatible. But scala has always been a language of many styles ("java without semicolon" vs "haskell compiled with scalac"). All this new syntax in scala three adds a whole new dimension to this issue.

rethab··on Awk: `Begin { ` Part 1
I don't agree that you can learn AWK in its entirety in two hours, but I do (strongly) agree that you can teach yourself the basics in two hours and those two hours are extremely well spent considering that AWK is useful for so many things.

Surely handling the intricacies of CSV can be a pain, but let's face it: Most tasks are simple and its results are easily verified for correctness. Obviously, I don't write my production webserver with AWK -- I write simple script to parse data (locally), find semantic issues in CSV files, analyze log data, etc..

AWK is great! If you want a slightly bigger cheatsheet, here's mine: https://github.com/rethab/awk-scripts/blob/master/talk.txt

rethab··on Is Rust web yet?
As someone who has written quite a few lines in rust (rocket, specifically, while working on https://digester.app) I will agree that rust "is web", and yes, you can replace your Django.

But the development is experience and ecosystem is nowhere near (again, only speaking for rocket and I know a lot of work is being done to improve things) what you are used to from Django. For example, rocket's configuration system is quite limited (currently being reworked), poor cors support, limited test support, etc..

Again, not saying you can't do it, but it's not the same.

rethab··on A coded message from the Democratic People's Republic of Korea
What is this? Can somebody please explain?
rethab··on I'm Open Sourcing the Have I Been Pwned Code Base
For the lazy ones searching for a github link: It is not open source yet:

> HIBP isn't in a state to simply flick the visibility of it in GitHub, but it needs to get to that point. Instead, I need to choose the right parts of the project to open up in the right way at the right time.

and then further down:

> I don't have a timeline for each step along the way yet as HIBP remains something I do in my spare time and I've always got a bunch of other stuff on my plate, but the process has already begun and I'll be sharing more on that as soon as I can.

rethab··on Ask HN: I have $450K cash, what should I do to maximize my return?
Are you looking for financial return only? If not https://www.givewell.org/ searches for charities that improve lives most per dollar.
rethab··on Show HN: Mawkdown – (Toy) Markdown Parser in Awk
Thanks for the hint. I started with the intention of staying within the limits of "traditional" AWK and only resorted to using match (which is only available on GAWK, for those who don't know) to parse links and images.

As you'll read on, you'll certainly find more areas for improvements, because this is pretty much based on an idea I had in the shower and then typed it out in a hour :)

rethab··on Show HN: Awk-JVM – A toy JVM in Awk
I actually simply didn't know it was possible based on some googling. But thanks for hint. Someone also opened an issue on github giving me a hint on how to replace hexdump[0]. I'll definitely give this a try :)

0. https://github.com/rethab/awk-jvm/issues/1

rethab··on Show HN: Awk-JVM – A toy JVM in Awk
Author here.

As I wrote in the README, this uses GAWK instead of plain AWK. Conveniences of GAWK over AWK in a nutshell: - functions - several additional functions (eg. bit shifting)

But even GAWK lacks some things that are very common in other languages: - no variable scope: imagine a calling another function in a for loop and the other function again running a for loop. if both loops use 'i' as the counter, good luck. the workaround for this is to declare the local variables as parameters that are not passed (and separate them with four spaces) - cannot return array from a function. the workaround is to use pass-by-reference (not sure if the precise definition is applicable here) - arrays cannot be assigned to another variable. workaround is to loop over array and assign it value by value.

If anybody knows better workarounds, please let me know :)

rethab··on I can code that FizzBuzz function with only two tests
Or with AWK: echo 15 | awk '$1%3==0{s=s"Fizz"} $1%5==0{s=s"Buzz"} END{print s}'
rethab··on Show HN: Digester – Tweets, RSS Feeds etc. sent as daily or weekly email digests
I used rocket (https://rocket.rs) mostly because at the time (Nov '19) it seemed to be the one with by far the best documentation. I think that these days, I would probably go with actix (https://github.com/actix/actix-web), because rocket does not appear to me as being actively maintained and not having async support (yet? there is a branch..) means I need workarounds to integrate with libraries that are async only.

But still, rocket is pretty great. Implementing an endpoint is as simple as a few lines and great integration with serde as well as diesel means you can integrate pretty quickly.

rethab··on Show HN: Digester – Tweets, RSS Feeds etc. sent as daily or weekly email digests
Author here.

The fundamental goal of digester is really to consume news/updates in a more calm way. We all want to stay up to date, but constantly refreshing Twitter or being interrupted by push notifications is not how we should be spending our day.

I'm very interested in feedback -- please just comment here or you can reach me at info at (the digester domain).

If you want me to import all the accounts you follow on twitter, please let me know at the above e-mail address and I'll do that (not yet possible via the app).

If you think digester would be helpful if it had feature X, please let me know what X is.

For the curios techies: I built this all on my own using Rust in the backend and Vue in the frontend. Happy to answer questions about these picks as well :)

rethab··on What's Next for Scala
I'm particularly interested in how this plays out with dotty. My understanding was that lightbend was at some going to take over that compiler from EPFL, but taking over a compiler (the second, besides the current/old one) at the same time they are laying people off?
rethab··on Covid-19 Community Mobility Reports
Perhaps the Chinese government has the monopoly on surveillance there
rethab··on RSS feeds for your Github releases, tags and activity
I already have an RSS-reexport in my backlog. Please get in touch via info@digester.app if you want to be notified when it's ready.
rethab··on RSS feeds for your Github releases, tags and activity
Shameless plug: I developed https://digester.app, which creates weekly or daily digests about your favorite github projects (or RSS/Atom feeds).
rethab··on Ask HN: Who wants to be hired? (March 2020)
Location: Amsterdam

Remote: Yes

Willing to relocate: No

Technologies: Scala, Play, Akka, Akka-Http, MongoDB, Postgres, Rust, Rocket, Diesel, VueJs

Resume: https://www.linkedin.com/in/rethab

Github: https://github.com/rethab

Email: skillerz@protonmail.com

Note: Freelance / Contract only

rethab··on RMS: GitHub has done terrible harm to our community
RMS is Richard Stallman: https://en.wikipedia.org/wiki/Richard_Stallman
rethab··on Boeing whistleblower raises doubts over 787 oxygen system
kayak.com allows you to search by plane type. not sure to what extent they can guarantee that you'll actually be flying that type of machine though.
rethab··on Boeing whistleblower raises doubts over 787 oxygen system
Would you fly with a 787 now?
rethab··on Open Libra: An open platform for financial inclusion
oh come on, the repository linked to from "contribute to our codebase" has one contributor and four commits!! ;-)
rethab··on 1.1.1.1
So they're saying "Privacy First: Guaranteed". How is it guaranteed though? Is there anything we can do to verify that claim or do we just have to believe them?

As far as I understand they're an American company, so if some government agency wants to have information, they will make them give the information by any means necessary.

rethab··on MLab is being acquired by MongoDB
Can't agree more on the positive comments about mlab. We migrated to them from compose ~2years ago (after horrible support experiences) and have been happy since. At the time, we looked at atlas and their support offerings for affordable plans was just bad. Also, mlab offered a lot of help in the migration while atlas only sent us some sales guys.

Let's see where this takes us.

rethab··on Bulletin, from Google
"we wanted to give something back to the community and have therefore decided to open source it" ;-)
← PreviousPage 2 of 3Next →