snaggen

joined 2 years ago
[–] snaggen@programming.dev 20 points 2 years ago (4 children)

Can someone explain the benefit of letting AWS use your product, then throw resources at it to improve it to get and advantage over your product, basically providing a much better product to their users than you would be able to. But they do it without any need to contribute back. I don't see the benefit of this to the opensource community at all, but people here seems to be quite passionate about it so you must see this differently than I do. So, please explain your view on how such a situation is beneficial to the OpenSource community.

[–] snaggen@programming.dev 83 points 2 years ago

I suggest an alternative title to this post: AWS employee is mad since Redis change license to prevent them from leaching

[–] snaggen@programming.dev 140 points 2 years ago* (last edited 2 years ago) (15 children)

Didn't they switch to a license with stronger mechanisms to keep the source available? SSPL, is basically AGPL but have even stronger protection from large corperations to use the code in their data centers without contributing the changes back. This is basically a move to prevent AWS/Google/Microsoft/et al, from leaching on the contributors work without giving anything back.

Or am I reading this wrong?

EDIT: Note, that the Mastodon account is to an AWS employee.... so for him, this might be bad, since it no longer allows them to have their own internal fork without contributing back. Now, they will need to use a real for and maintain that them selves without leaching on the redis contributors.

[–] snaggen@programming.dev 41 points 2 years ago* (last edited 2 years ago) (4 children)

If you think this is bad, then you should make sure to use copyleft licenses.

EDIT: Just read the details, and it seems that this is just what they did. SSPL is like AGPL with a stronger SAAS is distribution claus. That might not be valid, according to the OpenSource definition, but unless you are planning to modify the code and provide it as SAAS I think this is no a problem.

[–] snaggen@programming.dev 26 points 2 years ago* (last edited 2 years ago)

So the story here is: A Russian asset tells a Russian narrative?

For reference: https://www.theguardian.com/us-news/2021/jan/29/trump-russia-asset-claims-former-kgb-spy-new-book

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

I have been a vim user for more than 20 years. I tried to quit for a couple of years, but now I have just accepted my faith.

[–] snaggen@programming.dev 39 points 2 years ago (9 children)

For Linux it is a huge difference. AMD and Intel have great open source drivers, while Nvidia have binary drivers with a lot of issues.

[–] snaggen@programming.dev 46 points 2 years ago (14 children)

I'm free to choose any laptop I want for work. This means, that for me, the GPU and other processors are free. It turns out that I still avoid Nvidia like the plague. I don't care if it is free, if the drivers are horrible.

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

Exactly. I appreciate the "What’s Gleam" section, but I would also like to see a "Why Gleam?" section.

[–] snaggen@programming.dev 8 points 2 years ago

7.13% walltime, that is quite good. Nice to see these kind of updates.

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

The hostility towards custom ROM in general, is what forced me to root. Initially I used LineageOs without root. However, that got me in to issues with various apps, due to not passing safety net. So now I use magisk to hide that I use a custom ROM. So, they basically forced me to root.

[–] snaggen@programming.dev 2 points 2 years ago

Yes, the new functions returns an LocalResult that is like an Option, so that didn't fail as spectacular 😃

124
submitted 2 years ago* (last edited 2 years ago) by snaggen@programming.dev to c/rust@programming.dev
 

TIL: Sweden had February 30 in 1712 https://en.wikipedia.org/wiki/1712_in_Sweden , so I decided to see how chrono handled that.

use chrono::TimeZone;
use chrono_tz::Europe::Stockholm;

fn main() {
    let feb30 =  Stockholm.ymd(1712,2,30);
    println!("Date: {:?}", feb30);
}
 target/debug/feb30
thread 'main' panicked at /home/snaggen/.cargo/registry/src/index.crates.io-6f17d22bba15001f/chrono-0.4.34/src/offset/mod.rs:252:40:
No such local time
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Result (as expected): Not well! 😄

I also tested Java with

ZonedDateTime feb30 = ZonedDateTime.of(1712,2,30, 0,0,0,0, ZoneId.of("Europe/Stockholm"));

with simmilar result

java.time.DateTimeException: Invalid date 'FEBRUARY 30'

So, lets take a minute of silence for all the programmers of history related software, may the spagetti monster have mercy on their souls.

 

Great to see FIPS support for Rustls, will probably help for government related projects and such.

 

Always interesting to hear experiences from larger projects. It addresses the myth about Rust slowing down development (TL;DR: it doesn't), and a bit about async and scientific rust.

 

I found this page, and thought it might be worth sharing. It helped me find AreWe* pages I didn't know existed, like https://areweideyet.com/ to get an indication about the state of IDEs for rust.

view more: ‹ prev next ›