Better HN
topnewbestaskshowjobs
Log inSign up

TimWolla

3,012 karma · joined Jun 20, 2013 (13y ago) · 406 submissions

[ my public key: https://keybase.io/timwolla; my proof: https://keybase.io/timwolla/sigs/MWclLW9WYzVuQbvkZA3v4bdSRwlEhNxpGmt9zzpiVLg ]
Submissions

comment 4y ago · link · parent

Neither a mutt, nor an offlineimap user, but I believe those two are often used in combination: http://www.offlineimap.org/

comment 4y ago · link · parent

> What are the benefits of SSE vs long polling?

The underlying mechanism effectively is the same: A long running HTTP response stream. However long-polling commonly is implemented by "silence" until an event comes in and then performing another request to wait for the next event, whereas SSE sends you multiple events per request.

comment 4y ago · link · parent

> RFC 8441, released on September 2018, tries to fix this limitation by adding support for “Bootstrapping WebSockets with HTTP/2”. It has been implemented in Firefox and Chrome. However, as far as I know, no major reverse-proxy implements it.

HAProxy supports RFC 8441 automatically. It's possible to disable it, because support in clients tends to be buggy-ish: https://cbonte.github.io/haproxy-dconv/2.4/configuration.htm...

Generally I can second recommendation of using SSE / long running response streams over WebSockets for the same reasons as the article.

comment 4y ago · link · parent

Laravel definitely is everything, but light-weight. It's the slowest of the large names in PHP.

see http://www.phpbenchmarks.com/en/comparator/framework or https://www.techempower.com/benchmarks/#section=data-r20&hw=...

comment 4y ago · link · parent

This is my experience with Laravel as well. Laravel looks great on the surface for a simple CRUD application, but once you need to do something non-trivial with it, you need to start fighting the framework. Also I dislike the large amount of magic happening within the framework. I want to understand what the code is doing, so that I can properly debug it in an emergency.

As a specific example I needed to override half of the classes of Laravel Passport within the DI container to fix issues upstream wouldn't acknowledge at the time / doesn't acknowledge. Some of them are fixed by now (e.g. they finally support non auto increment Client IDs OOTB), some of them are not when I last checked.

I wouldn't choose Laravel again.

66.

Hetzner Storage Share and Storage Box: Data storage and management made easy(hetzner.com ↗)

70 points · by TimWolla · 4y ago · 17 comments

comment 4y ago · link · parent

In Discord, yes. Unfortunately not in Slack, though.

comment 4y ago · link · parent

It's likely that Hetzner doesn't make a loss on that machine, so they won't need to adjust prices there.

comment 4y ago · link · parent

UDP itself is stateless, but QUIC itself is stateful. Without knowing the background I would assume the issue to be that the incoming UDP packets will be routed to the new process after the reload and that new process is not aware of the existing QUIC connections, because the state resides in the old process. Thus it is not able to decrypt the packets for example.

comment 4y ago · link · parent

This is already possible. You can configure whether you want inetd style socket activation (where systemd calls accept() and passes you the client socket)), or just systemd listening to the socket (where systemd passes you the listen socket and your binary calls accept()).

https://www.freedesktop.org/software/systemd/man/systemd.soc...

comment 4y ago · link · parent

That makes sense, because the attachment is going to be base64 encoded within the email and thus the size is inflated by 33%. This results in the size being roughly 47 MB in size.

comment 5y ago · link · parent

I am not taking raw money with friends either. But when it's assistance I can't offer virtually, i.e. when I need to drive to them in person, then I expect them to order pizza to eat together in return after the job's done. It brings the point across that my time's not free, but it's not as unpersonal as handing over a Euro bill. One can also have a nice chat while eating.

comment 5y ago · link · parent

One thing would be indicating that you are a maintainer in your comment, when it's not immediately obvious, so that readers are able to understand your comment in a proper context. Like I will do at the bottom of my comment:

Disclosure: Not a Caddy user. Turned off from it by the maintainers shamelessly plugging Caddy as the best thing since sliced bread whenever a competitor is mentioned somewhere. I'm also a community contributor to HAProxy which might or might not be considered a competitor.

comment 5y ago · link · parent

It does not for me. If the current command line is not completely empty it will not do anything (both with bash and fish). So if the terminal does not close after pressing Ctrl+D I will know that something is wrong and check more carefully.

comment 5y ago · link · parent

I can't say what they had in mind when typing `systemctl`. Even they couldn't. Because of the delay in the shutdown to cleanly stop the services, they had already forgotten that they just exited a SSH session and thus the connection between the machine being dead and typing `exit` was not obvious.

Maybe it was `systemctl status`. Maybe it was intended to be a `reload` (which would require elevated privileges).

comment 5y ago · link · parent

A peer of mine was exiting their SSH sessions with 'exit'. One time apparently they already typed 'systemctl', probably in an attempt to check the status of a service, changed their mind and then later wanted to close the session using 'exit', actually executing 'systemctl exit'. This translated into a shutdown of the machine in question.

After being able to piece together what happened with the machine's logs and the bash history I recommended to simply exit all programs/sessions with Ctrl+D. It works almost everywhere and would have prevented this exact issue.

77.

HAProxy 2.5(haproxy.com ↗)

4 points · by TimWolla · 5y ago · discuss

comment 5y ago · link · parent

I have configured SSH with `UpdateHostKeys yes` and got a message about the SSH key for github.com (ECDSA) and the respective IP address (RSA) mismatching.

I assume that GitHub did not serve traffic on the IP address in question for me in the last while, while it formerly did. So I only have the RSA key for the IP, but the new ECDSA (and the RSA) for the hostname - causing the mismatch.

I could fix this without removing any stored host keys from my known hosts by manually connecting to the IP address. This caused my SSH client to grab all the other host keys due to `UpdateHostKeys yes`. Afterwards connecting to github.com as usual worked like it should.

comment 5y ago · link · parent

> Just wanted a middle ground - oldschool style just less cluttered and less unnecessary info. Did I miss something? Did no one figure it out?

I'd say WoltLab Suite (https://www.woltlab.com/en/) matches that description. The forum part of the software is not free/OSS, though. There is also other modern, commercial, PHP-based forum software that would match your description (XenForo).

Disclosure: WoltLab is my employer.

comment 5y ago · link · parent

> The customer forum requires a login to access

It's not just a login. You need to actually be a customer. I consider that a good thing, because it allows me (and Hetzner) to speak more freely compared to a fully public forum. That's also why I just linked to the forum instead of quoting.

> and unfortunately is often in German.

That's true. The majority of the active user|customer base is German (I am myself) and thus communicating in German is the obvious choice. I've seen a few English-speaking folks participating by using a translator of choice to read the threads and then simply responding in English. I think it works well enough, as virtually every German understands English. Especially a German running servers.

comment 5y ago · link · parent

SSH by default according to Hetzner's customer forum [1].

[1] https://forum.hetzner.com/index.php?thread/28493/&postID=280...

comment 5y ago · link · parent

> If your email client doesn’t do that, perhaps you need a better email client.

Which email client does?

comment 5y ago · link · parent

> You can't authenticate over HTTPS anymore

You can, just no longer using username and password. Instead you must use an access token.

comment 5y ago · link · parent

One reason might be that those characters would include letters. A digits-only code is much easier to type, e.g. using a restricted keypad, such as a phone.

comment 5y ago · link · parent

> My first time doing a Debian upgrade and it’s not a great experience compared to CentOS

My understanding was that CentOS does not even support upgrades between major versions, is that not true?

FWIW: I successfully upgraded 3 machines of mine yesterday. 2 Hetzner Cloud VMs, 1 dedicated server at Hetzner. I've never had any major issues during Debian upgrades since I've been doing them ~10 years ago. One time I hit a kernel bug [1] with my configuration, but that would also have happened without the upgrade.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931574

comment 5y ago · link · parent

> You don't leak anything as the link doesn't seem to be accessible publicly (at least for me).

Yes, the forum requires registration and is open for customers only. That's why I said that I hope I don't leak anything (by saying that this topic was discussed in their (private) forum).

comment 5y ago · link · parent

> For security reasons, I’d much prefer to get them without one (I disable the interface and firewall it 100% anyway), but it’s not an option to get a virtual machine without the public IPv4 address.

I agree and hopefully without leaking anything: This is also an request within their customer forum [1].

[1] https://forum.hetzner.com/index.php?thread/28220/&postID=277...

comment 5y ago · link · parent

The pricing change is only about additional IP addresses for a single machine. Each machine will still come with one IPv4 included for "free":

> Our dedicated root servers will continue to include one free main IP; there will be no change here.

comment 5y ago · link · parent

You can assign a Unique Local Address [1] subnet to Docker. Unique Local Addresses are the IPv6 equivalent of 192.168/16, 10/8, ...

Docker's documentation explains how to assign an IPv6 subnet to Docker: https://docs.docker.com/config/daemon/ipv6/ and https://docs.docker.com/network/bridge/#use-ipv6

You then can lookup a container's IPv6 address using 'docker inspect' and then directly connect to it from your host.

[1] https://en.wikipedia.org/wiki/Unique_local_address

comment 5y ago · link · parent

Unbound has a 'serve-expired' option: https://nlnetlabs.nl/documentation/unbound/unbound.conf/#ser...
12345
14