snaggen

joined 2 years ago
[–] snaggen@programming.dev 3 points 3 weeks ago (1 children)

Well, for specific licenses there are use cases for MPL, which is weak copy left. LGPL is trying to state that statical linking is not allowed, while MPL does. Also, EUPL have simmilar advantages over AGPL, plus that it have very clear defined legal juristiction. So, when it comes to specific licenses there are many reasons to use whatever licence you use. Just make sure you use a license that reflects your expectations.

[–] snaggen@programming.dev 2 points 3 weeks ago (1 children)

These are good in a more hands on way, but it is hard there to understand the conceptual difference between MIT and EUPL. So, I deliberately didn't go in to the details, since there are a lot of tools for that. I aimed for a higher level, since I find people often have missed that.

 

It seems people have a hard time understanding the implications of licenses, so I have written a something to help with that.

[–] snaggen@programming.dev 2 points 1 month ago

For that you need to ask the author, and the discussion page in github is a good place to ask.

[–] snaggen@programming.dev 57 points 1 month ago (39 children)

Well, I get you are trying to state that MAGA people are pedofiles, and I am not here to stop you from that. But you also assume they catch actual pedofiles. However, there are cases where they have contacted people with an intellectual disability, and then you cannot be really sure the person really is sexually in to children, since with enough pushing you can get such persons to agree to a meeting anyway... just because you pushed. Regardless of how awful the crime is, we cannot accept vigilantes.

[–] snaggen@programming.dev 2 points 1 month ago

atuin is really great for command history completion

[–] snaggen@programming.dev 9 points 2 months ago (1 children)

At least he is to stand trial, in other countries they are just elected again and given a second attempt at the coup.

[–] snaggen@programming.dev 19 points 2 months ago (1 children)

Hey, there is a long tradition of banning evil math... even Pythagoras did it... But, I guess he at least had good reasons, irrational numbers are super creepy and deserved to be banned.

 

So let me be very clear: if you as a maintainer feel that you control who or what can use your code, YOU ARE WRONG.

[–] snaggen@programming.dev 7 points 3 months ago (2 children)

Yes, but then you wouldn't find the comment section there to read all the insightful comments.... /s

[–] snaggen@programming.dev 32 points 3 months ago (2 children)
 

The phoronix title is a bit click bait, but the LKML thread that is linked in the article is worth reading.

[–] snaggen@programming.dev 6 points 3 months ago (1 children)

And yes, date time handling is one of the most confusing areas on computer science. https://xkcd.com/2867/

[–] snaggen@programming.dev 6 points 3 months ago

I personally think Jiff is based on a very solid design, as it is inspired by Temporal, which is a TC39 proposal to improve datetime handling in JavaScript. I have done some date time handling with chrono, but I find jiff much easier to work with. So, I can recommend you take a serious look, and see if it makes your life easier for your use case. Now, it is only version 0.2, so the API might change before 1.0, but it seems to respect semver, so there shouldn't be any surprise breakage at least.

 

It seems like @burntsushi@programming.dev have added some optimizations to the Jiff date time library... so now it should generally be faster than 'chrono' and 'time'. Jiff is quite impressive, the 0.2.1 version number really doen't reflect its quality.

 

Jiff is a datetime library for Rust that encourages you to jump into the pit of success. The focus of this library is providing high level datetime primitives that are difficult to misuse and have reasonable performance.

And as a user of Jiff, I must say that it is very nice to use. Well thought out API, making date time handling less of a pain. So, nice work @burntsushi@programming.dev

[–] snaggen@programming.dev 10 points 5 months ago* (last edited 5 months ago) (2 children)

When I was in my 20:ies, I had my alarm clock at the other side of the room and still managed to oversleep. I ended up having it under my bed close to the wall, so I had to crawl in under my bed (quite narrow space) pressing my body to the cold floor to turn off the alarm... and I never managed to turn that off in my sleep. But I would have preferred a wake up call... so, even though I have never used the service when staying at a hotel, I can see why some people use it.

view more: next ›