just found out these are three different people
just found out these are three different people
Women love me. Fish fear me. Mermaids find me to be a bit of a "bad boy" archetype
the new macos is the first time i've ever had a settings app crash on me
I'm trying to scrape literally everything off my phone to use it for LLM context. The LLM kept saying "global warming is a hoax" and I realized it's bc the built-in android keyboard has a file that repeats that literally thousands of times (+ some slurs and sexual scenarios lol
Can't believe that the company that makes the game you see in every mobile game ad also gives $6,000/month to the rust game engine Bevy. Might have to download it to see what they're about
big things happening on lesswrong
One of the craziest interviews I've seen is this one, where Bill Gates predicts Netflix/Letterboxd in 1994
I really like gpt-oss-120B. something I haven't seen discussed is that its a very non-yappy model, very consice.
You see I'm struggling with women, and you tell me to take off my fedora. Tell me, when you're at the gym and see someone struggling with a bench press, do you also tell them to take off the weight?
this is going to sound like the most obnoxious ai-hype-bro thing ever, but cursor background agents is actually pretty good for working on things from the beach, especially if you have a CI/CD pipeline that allows you to preview changes
chatgpt saying there's a playground insult of "meow" standing for "must eat only weeds"
I think it just made this up
ngl i don't really understand reborrows in rust. why is it doing all this?
like, i didn't realize how much I needed this. social media is truly one of my biggest ops. Being able to force myself to unplug for half an hour is great. It costs $40/year, but that means it literally only has to save me one hour per year for it to be worth it to me.
I used to always bounce off those productivity distraction-blocker apps. it's because they all default to "block everything all the time". I recently switched to "freedom", which only turns on when you tell it to (and stays on for a set amount of time), and it's 10x better
iβd be a lot more interested in politics if yud was president, hanson was vp, scott was education, aella was census, zvi was fda, gwern was intelligence director, nicholas decker was fed chair, scott sumner was treasury, hanania was in charge of immigration, and roon was press secretary
additionally, he seems to have retracted some of his past views, although i donβt think he was specific as to which one: βRecently, itβs been revealed that over a decade ago I held many beliefs that, as my current writing makes clear, I now find repulsiveβ
i think when you describe him as a white supremacist it paints a certain picture in peopleβs minds, which is not necessarily a super picture in hananiaβs case. if you look at his twitter, about every 3rd tweet is arguing that we need more immigration in the US including from places like mexico
If you're interested in learning more about what not to do, I have a similar thread about C++! Check it out here: x.com/ChadNauseam/...
Last is Victoronz. I actually have no idea who this is lol. But they're a bevy contributor which is awesome, and I appreciate their contributions to the quiz!
Next is waffle, who also works on rust, is also accepting sponsorships, and has a very entertaining blog too!. Check it out!
Another author is the prolific Mara Bos, who you may know from the classic book "Rust Atomics and Locks" or her many other activities in the rust community!
There are many more questions on the quiz - please go check it out! But who are the authors? I found out about the quiz through Boxy - who is also working on making Rust's "const generics" more flexible! (She is also accepting sponsorships on github... just saying)
But things are different in the second code sample. When returning a place expression from a block (normal or unsafe), it is "coerced to a value", which necessitates loading it, which does cause UB. So the second example really is unsound.
Here, there's no variable on the left hand side of the `=`. There's only an `_`. This is the wildcard pattern, and unlike other patterns, the wildcard pattern does not load anything. So in the first code sample, the place expression is never loaded!
A place expression an expression that represents a memory location. When put a place expression on the right hand side of `=`, usually that memory location is loaded so it can be assigned to the variable on the left hand side. But there is an exception!
Answer: Claude is wrong. It is not unsound to deference a null pointer! It is only unsound to "load" a null pointer. And that first code sample doesn't load anything! The prefix * operator in rust is special syntax that creates a "place expression"
(credit to WaffleLapkin, BoxyUwU, m-ou-se, and Victoronz.)
At first glance, you'd think both are unsound. "Obviously" it's unsound to deference a null pointer. Even Claude 4 Opus with extended thinking agrees. Is that your final answer? Make up your mind now - spoilers below
I recently found the "unfair rust quiz" with some really tough questions. (URL in first pic.)
The code in one of these code samples is sound, and the other is not. Do you know which? (This is your chance to prove you're smarter than Claude and deserve to keep your job.)
which actually makes it very nice. there is some unnecessary complexity to rust, e.g. the async keyword, ?sized, and Pin. but in general, rust is a very straightforward language, which makes it great for beginners.
rust doesn't have very many features. no named arguments, no default arguments, no ternary operator, no null, no exceptions, no function overloading, no inheritance, no constructors, no variadic functions, no implicit type conversions. it only has the features you really need