Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
yakubin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
55 ms
·
721.
▲
by
yakubin
4y ago
If anyone else wants to know what a "perfect shuffle" is, apparently it's this: < https://en.wikipedia.org/wiki/Faro_shuffle >
722.
▲
by
yakubin
4y ago
Don't atomic operations trigger cache synchronisation in CPUs? Doesn't that affect performance negatively? That would mean even a non-contended mutex would affect performance negatively. I suspect it depends a lot on the specific
723.
▲
by
yakubin
4y ago
Yes. The reason why currently you need to wrap Mutexes in Arcs is not thread-safety per se. Without std::thread::scope the Rust compiler doesn't know if the spawned threads won't outlive the Mutex (which is borrowed by the closu
724.
▲
by
yakubin
4y ago
Your comment was dead for some reason. I vouched for it, because I think it's interesting to discuss. Although obviously no compiler of a Turing-complete language is going to eliminate all logic errors, the user of a language like Rust
725.
▲
by
yakubin
4y ago
Once std::thread::scope [1] is stabilised, in a lot of cases you're not going to need to wrap your Mutexes in Arcs anymore: #![feature(scoped_threads)] use std::thread; use std::sync::Mutex; fn main() { let a = Mutex:
726.
▲
by
yakubin
4y ago
> Do people agree that corporations should respect the customs and values of the local people when operating their business there? They may do that, but then playing a champion of the opposing values when it's convenient (pride m
727.
▲
by
yakubin
4y ago
Yeah, this is the reason why I stopped attending pride parades. When you're there, it looks like a big PR platform for a bunch of banks, Google, Apple and whatever. Those same companies don't advocate for the right of this communi
728.
▲
by
yakubin
4y ago
I'm using at least two products made by solo entrepeneurs: MailMate and Pinboard. Both are awesome. If anything, it's been my impression that the bigger the corp, the worse software they make (in an asymptotic progression, so I&#x
729.
▲
by
yakubin
4y ago
It hasn't. OP's title is taken from the <title> tag of the page (i.e. the thing displayed in the browser title bar). For some reason, newspapers have a habit of displaying one title on the page, and another in the browser
730.
▲
by
yakubin
4y ago
I use NetNewsWire to subscribe to blogs, YT channels, subreddits, newspapers, podcasts... basically anything I follow that has an RSS channel (if it doesn't, I'm almost surely not going to follow it). I really like the Ars Technic
731.
▲
by
yakubin
4y ago
How economically accessible is interstate travel in US for average citizens?
732.
▲
by
yakubin
4y ago
There also exist guidelines that you should eat something every 3 hours at least. Conclusion: you mustn't swim. :)
733.
▲
by
yakubin
4y ago
My personal worst experience with captchas is Vultr: every time I go to their page from my Linux desktop, I need to solve a recaptcha. And if I don't do it within ~3 seconds, the page reloads and I need to start over again. I bet there
734.
▲
by
yakubin
4y ago
> machine-code binaries aren’t a programming language Machine-code binaries aren't (they are programs), but ISA of a CPU is. I'd plug in a requirement of Turing-completeness for the source and destination language, and at tha
735.
▲
by
yakubin
4y ago
> "Don't swim for 30 minutes after eating or you will cramp" That's a new one for me, but I'm from Europe. I spent my childhood on rivers and lakes, rapidly alternating between food and swimming (and other thin
736.
▲
by
yakubin
4y ago
> The medium of YouTube is not conducive to lengthy expositions I've actually found a couple channels on YT specialising in lengthy reviews/essays, which I find very good. Off the top of my head: 1. Whitelight[1] - game revie
737.
▲
by
yakubin
4y ago
> There's a great number of people watching the antilope being eaten, and rooting for the lion. Ignoring the metaphor and taking it literally: watching nature documentaries, I don't think I've ever rooted for the antelop
738.
▲
by
yakubin
4y ago
I've read this app gives the ability to filter based on religion, but I don't know any details. What are the possible values of this filter? Can I filter out all religions?
739.
▲
by
yakubin
4y ago
I've just started reading about APL, so maybe I'm wrong, but I think there is one caveat: you need to know which operators are monadic, and which are dyadic, because if op is monadic, then it may be: A (op (B (op (C (op D)))))
740.
▲
by
yakubin
4y ago
In cases when I have a working visual debugger, I agree, it's fun. Without one, it's not fun.
741.
▲
by
yakubin
4y ago
Agreed.
742.
▲
by
yakubin
4y ago
If it doesn't happen in prod, you are even more **. Cue password leaks, privilege escalation etc.
743.
▲
by
yakubin
4y ago
The myth of segmentation faults being hard needs to die. A fault is like an exception in Java (or a panic in Rust for that matter), only generated by hardware. It's the best case scenario for your buggy code. It's when you don
744.
▲
by
yakubin
4y ago
Particularly since the article spends such a big chunk of its text talking about bounds-checks and criticising Blow for being against them, when in fact in his language Jai, as far as I know, bounds-checks are enabled by default, although y
745.
▲
by
yakubin
4y ago
Stack Exchange works pretty well. There is some moderation on SE, but not much IMO.
746.
▲
by
yakubin
4y ago
What issues do you have with Preview? Answering this question might make it easier to help you find an alternative.
747.
▲
by
yakubin
4y ago
> I assume the most form of verification is checking the github account/reputation. Did you mean to write "the most [used] form"? If so, it's unreliable. If you change your Git settings to use Torvals' email ad
748.
▲
by
yakubin
4y ago
PSA: in order to see any numbers on the diagram, you need to hover a bar with the mouse pointer. Genius design.
749.
▲
by
yakubin
4y ago
They also slow down compilation.
750.
▲
by
yakubin
4y ago
To me it seems he doesn't like spending time with toddlers. It's a big jump from here to conclude that he doesn't want to be a parent. Toddlerhood is just a temporary state.
More ›