HNHacker News
TopNewBestAskShowJobs

papaf

2,097 karma · joined April 9, 2009

submissionscomments
papaf··on Syncthing: Syncing All the Things
Syncthing has a good approach to telemetry. It optionally collects stats and makes them publicly available.

https://data.syncthing.net

papaf··on OpenSearch 1.0
Whats the difference between Opensearch and the Open Distro for Elastic Search[1] provided by AWS?

https://opendistro.github.io/for-elasticsearch/

papaf··on Why do we use R rather than Excel?
The R tooling is clumsy

I really like the R tooling. What do you find clumsy about it?

It feels like the reason it’s popular is mostly just people not wanting to update skills

I have the opposite view. I find its the people who complain about R because its a bit different are the ones who are inflexible about learning new skills.

papaf··on Disable comments make static analysis tools worse
I was very skeptical after reading this article last night but I checked some hobby code I am writing to see if I really needed the 7 golangci disable comments.

It turns out I didn't really need them and that I had not understood the lints correctly.

I recommend anyone else who is also skeptical to try to remove some of the disable comments -- you might be surprised.

papaf··on Ask HN: What's your favorite mind mapping tool?
I really like markmap: https://markmap.js.org/

I have the habit of writing notes in Markdown anyway and, with minor modifications, markmap will visualize it.

There is also a plugin for VSCode: https://marketplace.visualstudio.com/items?itemName=gera2ld....

papaf··on Maddy: Composable all-in-one mail server
Thats a good point about IP addresses.

I think the advantage with Hetzner cloud is that you rent the IP address separately. If you get an IP with a bad reputation you can stop renting it and get a new one.

Edit: I have not actually tried changing the IP, its just an idea. Also, I hope the spammers don't start doing this and spoil it for everyone else.

papaf··on Maddy: Composable all-in-one mail server
what VPS hosts are reliable for email?

I've not had problems with Hetzner and Scaleway. Before that I used to host email on random vendors I saw on Low End Box[1] and never had problems.

[1] https://lowendbox.com/

papaf··on Saving books by keeping them expensive (2011)
Er no: https://goo.gl/maps/Ajtkg3DWnnCRnNK18

There are a few strange comments about Germany in this thread.

Is there some internet movement whose pastime it is to make Germany look backward? What do you get out of it?

papaf··on Ripgrep 13.0
I find repgrep defaults sensible when searching for text but fd misses files that I expect it to find -- this has happened a few times now and I have gone back to find.

For instance: 'fd .apk' to search for android builds.

papaf··on Althttpd: Simple webserver in a single C file
And git+[choice of issue tracker]+[choice of forum]+[choice of wiki]+[choice of project website]+etc. is the real competition against Fossil

I think that this is only true for some projects. For some people, the ease of self hosted setup (one executable) and the fact that you can change the documentation, edit code and close bugs offline is a big win that no centralized service can compete with.

papaf··on Zig 0.8.0 Release Notes
I agree with your comment about libraries. Destructors biggest advantage is in well used libraries.

Any interesting code involves custom classes written by less experienced developers that are only used once or twice in an application -- it is there that that the complexity of destructors hurt.

papaf··on Zig 0.8.0 Release Notes
I don't have to think about them, and I can't get them wrong.

... until you have to write a class yourself. Then you have to think of the complexities introduced by destructors such as copy semantics, move semantics and the destructors themselves.

You also have to deal with architectural questions such as should my file have a close method (C++) or do I always leave this to the destructor (Rust).

If I was to give an opinionated summary, a little complexity at the call site has been moved to a lot of complexity in the class implementation. Since there is, on average, one class implementation to many object uses, destructors might be considered a win. But I don't feel so strongly about it that I wouldn't consider a language for not having destructors.

papaf··on Amazon offers 'wellness chamber' for stressed staff
What am I missing that makes Amazon's case so special?

The Amazon version has the nickname 'despair closet' [1].

[1] https://thehill.com/changing-america/well-being/mental-healt...

papaf··on The Last Days of Tokyo’s Nakagin Capsule Tower
Not taking away from how amazing those things are but we have billions of computers that connect most people in the world together which in my opinion just insanely amazing.

The 70s looks at your example of progress, thinks of it as a big ARPANET and is not impressed.

papaf··on Rust Is a Wave of the Future
Packed SIMD [1] can be a pain because it pops up as a transitive dependency [2].

[1] https://github.com/rust-lang/packed_simd/blob/master/rust-to...

[2] https://crates.io/crates/packed_simd_2/reverse_dependencies

papaf··on Ask HN: What are some tools / libraries you built yourself?
Did you also write bsdiff [1] or is that someone with a similar name?

[1] http://www.daemonology.net/bsdiff/

papaf··on Ask HN: Where is a nice place to host which is not AWS / GCP types
Also, some people don't realize that medium size providers like Scaleway and Hetzner support Packer/Terraform e.g:

https://registry.terraform.io/providers/scaleway/scaleway/la...

papaf··on Atlas, a hopefully better engineering IDE
Although it just uses scaling, Forth also has a nice solution to unit conversion:

https://www.forth.com/starting-forth/12-forth-code-example/

papaf··on Atlas, a hopefully better engineering IDE
I guess the overlap between physicists/engineers and type system/PLT people isn’t large enough.

C++ has supported units, as a library, since the early 90s. The Barton Nackman book had the initial implementation [1] and it was picked up years later by Scott Meyers [2].

[1] https://www.thriftbooks.com/w/scientific-and-engineering-c-a...

[2] https://stackoverflow.com/questions/28698558/c-dimensional-a...

papaf··on gRPC benchmark results
Not every solution to a problem needs to use as little memory as possible.

But that's not the point. People aren't suggesting micro managing memory. Java has a well deserved reputation of being a memory hog and its using 20x what is needed in this benchmark.

papaf··on Ask HN: HN alternative which isn't permeated by corporate kool aid drinkers?
For me, the biggest problem at the moment on the internet are bubbles where people are not being exposed to different viewpoints.

I would stick with HN and live with the downvotes. It also helps to make any criticism polite.

papaf··on Rust Language Cheat Sheet
I sill don’t understand is how to write idiomatic code which deals with multiple different error types.

I am not sure if it is idiomatic but I have been following the guidelines int this article for general error handling:

https://nick.groenen.me/posts/rust-error-handling/

And this article for having context:

https://kazlauskas.me/entries/errors.html

papaf··on Ask HN: What will happen to the Go ecosystem if one day GitHub closes
Are we expected to mirror github on our infrastructure to become resilient in case of a major outage?

You can vendor the dependencies you use [1].

[1] https://golang.org/ref/mod#go-mod-vendor

Its also worth noting that, since crates.io uses github for both authentication and hosting the index, the Rust ecosystem would also be effected if github goes down.

papaf··on IBM employee forced to stop kernel work under personal email address
You are an IBM employee 100% of the time

I hope their pay reflects that and is 3x the average.

papaf··on OpenSSH 8.6 Released
Thanks for your hard work on this bug -- I got bitten by it and I would really like to see the fix released.
papaf··on How much faster is Redis at storing a blob of JSON compared to Postgres? (2019)
That's a great way of shutting down discussion without having to address any of the points AND has the advantage that it looks like you know all the subtleties.

The only downside of this technique is that people become less likely to collaborate or help you -- but who needs help when you have great techniques like this to fall back on?

papaf··on Ask HN: Do I need to containerize my Go service?
Personally I don't use Docker containers for Go applications, but there is nothing wrong with putting everything in Docker for consistency. Most projects I know use Docker, even when its not needed, just for the consistency.

One minimal Docker option with Go is to use a "distroless" Docker image: https://github.com/GoogleContainerTools/distroless/blob/main...

papaf··on Humans Will Never Colonize Mars
So we will be there in 30 years or so?
papaf··on Humans Will Never Colonize Mars
Historically, many things were "never" - until we do otherwise.

The opposite is also true. Many things we thought would be possible are either economically or technologically out of our grasp:

- Nitrogen fixation in wheat.

- A computer simulation of the catalyst that fixes Nitrogen in plants.

- Fusion power stations.

- Room temperature super-conductors

Maybe its possible to point to research that is almost there in most of these areas -- just like the 1950s.

papaf··on My Go executable files are still getting larger
At the moment the longest part of my deploy is copying the new executable to the server.

Do you use rsync [1]? I ask because most of my collegues don't and they take minutes to deploy what I usually do in seconds.

[1] https://man7.org/linux/man-pages/man1/rsync.1.html

← PreviousPage 2 of 24Next →