Say there are 100 doors with 98 regular goats, 1 special goat and 1 car. You pick on door, then the host opens 98 doors with 98 goats behind them. These 98 goats happen to be all regular goats. Would you switch the door to maximize the probability of getting the special goat?
The list of talks of NEDB Day 2024 is out! https://t.co/9uDirdFmMc
I saw "Why Machine Learning for Automatically Optimizing Databases Doesn't Work" and was thinking Andy Pavlo would have something to say about it, then I realized that he's the one giving the talk! #NEDBDAY2024
Not only the book Infinite Powers is fascinating (and I can’t put it down), I can feel @stevenstrogatz’s passion and love of the subject from the pages. The book is a wonderful gift. I am grateful.
`async && closure && requires_explicit_memory_management && !borrow_checker` is really challenging. Borrow checker is really good to have especially when writing async code with closure! #rust
It appears that the rust compiler tries really hard to infer how _and_ what to capture when it comes to closures. Do you think the following program compiles? #rust
It does indeed compile in the playground https://t.co/gxMLUxrvkC. But it doesn't on Compiler Explorer (https://t.co/HLeJRnlgKx), or on my local machine. All tested on version 1.76.
Why a standalone redirect e.g. `2>/dev/null` gets interpreted as a `cat` command in zsh? The consequence is that then the shell will wait for the cat command which is waiting on stdin ... bash simply does nothing in this case.
It looks like every value expression in rust behaves like xvalue in C++ – it has (or can have) an identity (so it can be borrowed) and can be moved from.
`getcontext/setcontext` are not system calls but why there are getcontext(2)/setcontext(2) entries https://t.co/3zEaCHitED? `man getcontext.2` also exists although it shows the content for getcontext(3).
If the function is declared extern, then this definition of the function is used only for inlining. In no case is the function compiled as a standalone function, not even if you take its address explicitly. https://t.co/2XRPVDqMu7