Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
duped
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
571.
▲
by
duped
1y ago
What's the threat model where a malicious message sender has write access to shared memory
572.
▲
by
duped
1y ago
I'm not a geologist but...does evaporation remove water from the water table? Where I live, my understanding is the answer is "no" because the vast majority of rain water is deposited in our groundwater. Things like agricultu
573.
▲
by
duped
1y ago
The condescension isn't appropriate here. I'm talking about using `Vec` as a convenient temporary storage without additional bookkeeping on top if the capacity() is meaningful. Like you said, Rust doesn't guarantee that becau
574.
▲
by
duped
1y ago
That seems suspect to me. If I call reserve_exact I do actually mean reserve_exact and I want .capacity() to return with the argument I passed to reserve_exact(). This is commonly done when using Vec as a fixed capacity buffer and you don&#
575.
▲
by
duped
1y ago
> Visa and MasterCard very vocally banned Pornhub Not exactly. Visa was named as a counterparty in a class action against Mindgeek for monetizing child porn on their website. They lost, and there have been subsequent class actions.
576.
▲
by
duped
1y ago
This is a good thing, actually.
577.
▲
by
duped
1y ago
I mean the bigger problem with the IPO was that they opened at a 20b valuation and by the end of the day a bunch of investors got richer than anyone who built anything because the investment bankers left 30+ billion in valuation on the tabl
578.
▲
by
duped
1y ago
Does that matter? The UI is great. Hordes of people agree.
579.
▲
by
duped
1y ago
That's extremely uncharitable. I think slack and discord have pretty great UIs, and that's all "web tech." Figma just IPO'd at a $58 billion valuation - is that not proof their UI is good? If it wasn't good, no
580.
▲
by
duped
1y ago
> But so many things (national weather service operations, HUD housing assistance, grants for local PBS stations, SNAP benefits) have a largely local or regional benefit. You should look up which states/regions/counties provide
581.
▲
by
duped
1y ago
> NPR didn't do that, ever. Right now I'm drinking out of my NPR mug that I pay $12/month for. I've been a daily listener since college, it's my default radio station in the car, and when I road trip I like searc
582.
▲
by
duped
1y ago
I mean in this specific case, just depositing it in a bank normally would have also prevented the problem. Storing $40k in cash anywhere is a bad idea. It's not an illegal idea though, the government had no right to take it. But also w
583.
▲
by
duped
1y ago
fwiw, many PLs find themselves needing to have C FFI if they want to support MacOS. It's not just a convenience thing.
584.
▲
by
duped
1y ago
Didn't mean to say imply it wasn't. I'd say Logic is also priced like an entry level tool, yet fully featured.
585.
▲
by
duped
1y ago
Sure, but keep in mind that's not how people who have never picked up an instrument think. It takes a level of expertise to get there. The point is that cheap is fine for beginners, while the more expensive stuff is worth it for seriou
586.
▲
by
duped
1y ago
It's more like when kids start taking music lessons. Most parents aren't going to spend more than $100-200 on an instrument, in case the kid decides they want to quit. But the entrypoint for virtually any instrument that you could
587.
▲
by
duped
1y ago
If you're in raw mode, whether ^C is SIGINT is open for interpretation
588.
▲
by
duped
1y ago
The graceful shutdown stuff is good, but always piping the output of child processes is not necessarily the right thing to do. Some processes need stdin (what if it's a shell?) and some processes will be checking if stdout is a tty. Wh
589.
▲
by
duped
1y ago
Yes, this is easy to test too: #include <stdio.h> #include <unistd.h> #include <sys/types.h> int main() { pid_t pid = fork(); if (pid == 0) { sleep(1); printf(
590.
▲
by
duped
1y ago
Are there any languages that provide for or care about lifecycle management across address space boundaries? After fork() you're usually fucked and need explicit controls.
591.
▲
by
duped
1y ago
I mean it's not smoke and mirrors, when I'm picking between jobs I'm strongly considering the people I'm spending 35-40% of my waking hours interacting with. If I cared solely about maximizing personal returns I wouldn&#
592.
▲
by
duped
1y ago
That's reasonable, but signalling this to a startup during hiring is going to be a negative. There are three kinds of capital they get to play with, cash, equity, and culture. Cash is the least pliable of the three to them, equity the
593.
▲
by
duped
1y ago
Toolchains have little to do with IDEs
594.
▲
by
duped
1y ago
gcc/as/ld are batch processors from the GNU toolchain that offer few (if any) features beyond basic C/C++ (and a handful of other languages) as support, and they're non-standard toolchains on 2 out of 3 major operating s
595.
▲
by
duped
1y ago
> Today it's adult content, which is an easy target. Not even that easy of a target, because the crazy people in America want to call anything that acknowledges the existence of LGBTQ people or how they exist within greater society
596.
▲
by
duped
1y ago
Meanwhile I ask it to write what I think are trivial functions and it gets them subtly wrong, but obvious in testing. I would be more suspicious if I were you.
597.
▲
by
duped
1y ago
The federal government won't let Intel fail.
598.
▲
by
duped
1y ago
> "Hey, this is a really really stupid idea." Isn't going to stop a middle manager from trying to come in under budget. Neither is "you can go to jail" when it comes to export controls training
599.
▲
by
duped
1y ago
Fibonacci is a bad example because it relies on the linearity of `prev + current` to be O(1) memory complexity. A lot of divide-and-conquer schemes exploit symmetry and linearity of their internals but if the operation is nonlinear then it
600.
▲
by
duped
1y ago
So the way that this works has nothing to do with user experience. A long while ago, USPS automated the mail sorting at their distribution centers by taking photos of the mail. Anything that could be sorted automatically was, anything that
More ›