semi

joined 3 years ago
[–] semi@lemmy.ml 3 points 1 week ago* (last edited 1 week ago) (1 children)

This will work in general. One point of improvement: right now, if the request fails, the panic will cause your whole program to crash. You could change your function to return a Result<Html, SomeErrorType> instead, and handle errors more gracefully in the place where your function is called (e.g. ignoring pages that returned an error and continuing with the rest).

Look into anyhow for an easy to use error handling crate, allowing you to return an anyhow::Result<Html>

[–] semi@lemmy.ml 2 points 1 week ago (1 children)

Computational protein engineer here. Pretty good explanation. I wanted to add that just because we know that a protein's behavior changes depending on pH, it is still interesting to see what atom-level changes to the 3D structure are caused by the pH shift (e.g. so that we can better predict those changes on other proteins).

[–] semi@lemmy.ml 40 points 2 months ago

12.5/8=1.5625, so the Euro price went up by 56.25%

[–] semi@lemmy.ml 3 points 4 months ago* (last edited 4 months ago)

I have been using it for the last 3 months to expose services from my home internet (plex, wireguard, etc.) through a VPS and I'm pretty happy with it. It's relatively simple to set up, I haven't had any outages so far, and it's nice that it supports UDP port forwarding as well as TCP (for wireguard).

[–] semi@lemmy.ml 3 points 4 months ago (1 children)

You could go even further and use hard links. That way, you can have two paths pointing to the same data on the partition, with the space getting cleaned up only after all references to it are removed.

[–] semi@lemmy.ml 6 points 6 months ago (1 children)

Mir ist schon klar, dass das Wahlwerbung für die Piraten ist.

Ich wäre halt eher davon überzeugt geworden, die Piraten zu wählen, wenn sie mir das Gefühl geben, dass sie die Themen differenziert durchleuchten und mir keine Meinung vorgeben. Wenn dann trotzdem noch eine große Übereinstimmung rausgekommen wäre, hätte mich das mehr beeindruckt.

So finde ich es eher problematisch, durch Anspielung an den Wahl-o-mat dessen guten und unabhängigen Ruf dafür auszuleihen, um eine ähnlich aussehende Werbeaktion zu machen.

[–] semi@lemmy.ml 15 points 6 months ago (4 children)

An sich ganz coole Initiative, aber ich hätte mir gewünscht, dass die Fragen weniger suggestiv und eher neutraler formuliert wären bzw auch Gegenargumente bei der Abstimmung erwähnt werden. So wie es jetzt funktioniert, ist es dann nicht überraschend, wenn man bei Themen, wo man sich selber nicht so auskennt, dann ähnlich wie die Piraten abstimmt.

[–] semi@lemmy.ml 13 points 6 months ago* (last edited 6 months ago) (4 children)

As another German, I can confirm that the "first e in mesmer" way is how Germans would pronounce it. See for example 11seconds into this German video also officially from SUSE's YouTube channel - a SUSE employee and German native speaker who is moderating a series of talks is using that pronunciation.

It's just a tiny mistake that most Germans are used to hearing Americans make all the time (see also Porsche which is also not pronounced porsh, nor por-shay, but porsh-eh) and will politely ignore, but since this aims to be an educational video, should be pointed out to be slightly incorrect

 

Gerade angeschaut, fand ich überraschend gelungene Kommunikation inklusive viel Selbstironie. Das Team scheint wirklich Begeisterung für das Projekt zu haben.

[–] semi@lemmy.ml 2 points 9 months ago

Hey URL, go and fetch your friend JSON!

Makes perfect sense.

[–] semi@lemmy.ml 8 points 10 months ago (1 children)

I'm surprised that the post does not mention switching to Firefox or any other privacy tool other than their privacy badger, e.g. no mention of uBlock Origin.

[–] semi@lemmy.ml 20 points 10 months ago* (last edited 10 months ago) (1 children)

I'm pretty happy with Digital Ocean if I need a temporary VPS because I can pay by the minute and the UI is great. Anything that I want to stay alive for more than a month or two, I do on a single 6-core VPS rented long-term from Netcup, a low-cost German provider, deploying with Docker and Traefik.

[–] semi@lemmy.ml 14 points 11 months ago* (last edited 11 months ago)

Right! The last I remember hearing the "closed source is more secure" argument was about fifteen years or so ago, so it's surprising that it is being pulled up from the dead.

 

There have definitely been places in my code where I had to pass around and, in doing that, clone lists of things. This could be useful for these longer-lived pieces of data.

 

While this was written in response to the takeover of Twitter, it shines a light on some of the patterns of why social media platforms in general die and get replaced, which is very relevant to what's happening with Reddit.

view more: next ›