snaggen

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

For a more user friendly tiling desktop environment, you should have a look at COSMIC. It is still im alpha, but I use it as a daily driver...

 

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 5 days ago (2 children)

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

[–] snaggen@programming.dev 31 points 5 days 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 1 week 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 1 week 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 11 points 2 months ago* (last edited 2 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.

[–] snaggen@programming.dev 16 points 2 months ago

Not the creator, just posting

[–] snaggen@programming.dev 5 points 2 months ago

I think this would be a nice improvement to reduce boiler plate.

[–] snaggen@programming.dev 9 points 2 months ago

On an unrelated note, don't forget to sanitize your input.

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

This is why Bobby Tables mom needs her Github account suspended.....

 

fjärrinlägg från: https://lemmy.world/post/22673996

This mod is written in an unconventional way: it is written in Rust. The Rust code is here. It uses JNI and JVMTI to interact with Java objects. The only Java code in this mod is for loading the compiled native binary into memory.

[–] snaggen@programming.dev 7 points 2 months ago

It remove the central server, which is often the single point of failure. So even if it doesn't add more security than signal, it adds resilience. And this is not Tor in the way that its not a proxy, its a framework to build secure peer to peer applications.

[–] snaggen@programming.dev 11 points 3 months ago* (last edited 3 months ago) (1 children)

That requires a complete picture and all possible use cases from the start. Initially when a language is new and hardly used there are much to benefit from flexibility and trying new concepts. Then as the language matures, a more formal process is needed to ensure stability. There is a reason these discussions comes now, since rust is in a very stable phase.

view more: next ›