Readit News logoReadit News
redsaber commented on Committing to Rust for Kernel Code   lwn.net/SubscriberLink/95... · Posted by u/wofo
conradludgate · 2 years ago
Having a memory safe language in the kernel is very serious. More and more C programmers I speak to say they realise with Rust they will likely never work with C again full time.

Yes Rust helps bring in the next generation of Linux devs. It needs to to survive. But it's not because young people like Rust, it's because C developers like rust too.

Yes, Rust has unsafe and unsafe rust is trickier to get right, but you use it opt in and it's only a small amount if the code. Zig is still having unsoundness bugs in relatively simple code

redsaber · 2 years ago
I don't have much experience and I see C as something I would never be able to touch as they seem quite high level for me with the manipulation of memory and stuff.

And from what I see, Rust can sort of make it easier by making you think about the lifetime of the memory while coding and that's why I really wanted to learn Rust

redsaber commented on Rocket – Simple, Fast, Type-Safe Web Framework for Rust   rocket.rs/... · Posted by u/night-rider
huijzer · 2 years ago
I'm using Rocket for a small production application for my PhD project. One supervisor recently took over the project and asked me where he could connect a log stream to detect crashes. I said: "I don't know. I never have crashes". At the same time, maximum memory consumption is about 15 MB (3% of 512 MB) and CPU load 0.1% on a Starter instance on Render.

So credits to the Rocket maintainers for making Rocket such a reliable piece of software!

redsaber · 2 years ago
do you think it would be hard to transition to Rust and use Rocket?

I mostly just python and kotlin as my languages

redsaber commented on Sam Altman, Greg Brockman and others to join Microsoft   twitter.com/satyanadella/... · Posted by u/JimDabell
redsaber · 2 years ago
I guess Satya Nadella really like this guy
redsaber commented on NewPipe – Lightweight YouTube experience for Android   newpipe.net/... · Posted by u/vyrotek
bisby · 2 years ago
Right. My issue is that I disagree with what they consider "sponsored sections" sometimes. "Only skip sponsor segments longer than 30 seconds" isn't an option. Long ads that make up most of the video: bad. A brief passing comment about "And thanks to our sponsor for supporting this video" dont need a cut.
redsaber · 2 years ago
hello, if you got some issue. It would be best to go their discord to contest it for the benefit of everyone who is going to use it in the future.

I've done it a few times too, and if ever the recent submission wasn't good they can lock the video from further submissions

redsaber commented on Firefox 118   mozilla.org/en-US/firefox... · Posted by u/N19PEDL2
redsaber · 2 years ago
hopefully, Japanese/Korean/Chinese support soon
redsaber commented on The Fall of Stack Overflow   observablehq.com/@ayhanfu... · Posted by u/ayhanfuat
coffeebeqn · 2 years ago
Anecdotally it seems like Google is favoring spam sites that have crawled answers from SO
redsaber · 2 years ago
I had to use ublock origin to start blocking those sites

https://github.com/quenhus/uBlock-Origin-dev-filter

redsaber commented on The Fall of Stack Overflow   observablehq.com/@ayhanfu... · Posted by u/ayhanfuat
sevenf0ur · 2 years ago
SO has been around so long a lot of the answers are no longer relevant. I don't place much trust that an answer from 2010 will solve my problem. You often see [2023 UPDATE], but that answer is usually buried or hidden within other answers.

I firmly believe that ChatGTP is the SO killer. You get your answer instantly, it's usually good enough, and you don't have to worry about a mod closing your question as low quality or duplicate.

redsaber · 2 years ago
> SO has been around so long a lot of the answers are no longer relevant. I don't place much trust that an answer from 2010 will solve my problem.

I did have problem like this before too and I just made my search better by appending the `after:<insert year here>` to my google search to ensure the latest info

redsaber commented on The Fall of Stack Overflow   observablehq.com/@ayhanfu... · Posted by u/ayhanfuat
collaborative · 2 years ago
I wonder how you feel aisearch.vip compares to your Bing experience. Send me a message via Side Menu-> Contact and I will give you a grand for free
redsaber · 2 years ago
small nitpick but I thought it was just an icon but it turns out to be the button for switching light/dark mode. It would be great if you could replace it.
redsaber commented on Twitter has officially changed its logo to ‘X’   techcrunch.com/2023/07/24... · Posted by u/pallas_athena
redsaber · 2 years ago
I thought for a second that I click bad link earlier when the X showed up and the twitter logo turn into X.
redsaber commented on France passes bill to allow police remotely activate phone camera, microphone   gazettengr.com/france-pas... · Posted by u/u2077
koonsolo · 2 years ago
Correct me if I'm wrong, but cell phone companies only know which tower you are currently connected to. So it's pretty inaccurate. The only thing that is "house accurate" is the GPS on your phone. That means they need access to your phone to get that info.

Remark that GPS doesn't need to be turned on. Google mapped all Wifi's and so can locate you without GPS.

redsaber · 2 years ago
iirc, Your phone sends signal to all nearby towers and then pick the closest one to connect with, which means the signal towers can also triangulate your location based from your distance to the nearby towers

u/redsaber

KarmaCake day31June 8, 2023View Original