Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
iudqnolq
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
42 ms
·
781.
▲
by
iudqnolq
4y ago
I personally came from JS to Java and got annoyed I had to do all this work specifying types but they gave me essentially no benefit. Then I tried Rust and realized why types were good. (and then Kotlin)
782.
▲
by
iudqnolq
4y ago
I started with hooks, so I read them as a DSL. So missing the is incomprehensible to me. onClick = { () => toggle[1]() } just looks wrong
783.
▲
by
iudqnolq
4y ago
Only if you think a) the Chinese goverment is right and b) TikTok is notably worse than American social media. I, for example, disagree with both. I think the Chinese government is wrong about a lot of things, including the right way to rai
784.
▲
by
iudqnolq
4y ago
You interpreted it right. There are dependencies on other repositories in the rust-lang GitHub organization. The optional dependencies for the backtrace feature include libraries outside the rust-lang GitHub org. https://news.yco
785.
▲
by
iudqnolq
4y ago
You're learning how to build them, not just how to use them. The selling point of react hooks is that they're much easier to compose than class methods. The idea is you can easily build your own custom ones that are thin wrappers
786.
▲
by
iudqnolq
4y ago
The undercover cop is asking people for controlled prescription drugs. The cop claims they have a medical need and a prescription. The cop says the only reason they can't get the meds legally is one of the standard system errors that d
787.
▲
by
iudqnolq
4y ago
I just peaked at the crates.io dependencies in the standard library. There's three dependencies to high-quality libraries in the rust-lang GitHub organization: a macro to make conditional compilation easier (cfg_if), a port of Google&#
788.
▲
by
iudqnolq
4y ago
In one sense it's impressive Rust has mediocre refactoring support despite orders of magnitude less investment in tooling. But that isn't worth all that much. It's no worse than any other typed language I've tried. Rust
789.
▲
by
iudqnolq
4y ago
But Rust puts a unique amount of information into the types. This can get annoying sometimes, but it means typechecking better predicts correctness. For example, a c header type might have an out parameter and an error code returned. The in
790.
▲
by
iudqnolq
4y ago
Which, by the way, is absolute bullcrap. A classic example is an undercover telling people at a methadone clinic that they've been cut off because of a paperwork snafus and begging people to share their legally prescribed methadone so
791.
▲
by
iudqnolq
4y ago
You've got to keep info either way. I'm more worried about forgetting let data = get(); let uniqueData = Array.from(new Set(data)); // ... (snipped many lines) process(data); // should have be
792.
▲
by
iudqnolq
4y ago
> For example, in February 2019, after receiving information “regarding HAMAS transactions” on Binance, Lim explained to a colleague that terrorists usually send “small sums” as “large sums constitute money laundering.” Lim’s colleague r
793.
▲
by
iudqnolq
4y ago
Does the avg person hage at least $250,060 in the bank? Obviously a system-wide crash would hurt, but a handful of weak regional banks failing wouldn't hurt the average person.
794.
▲
by
iudqnolq
4y ago
Fun fact: If the cop told you "don't worry, you're not breaking the law, let me help you" it still wouldn't be entrapment or unusual if they subsequently went after you.
795.
▲
by
iudqnolq
4y ago
You also need to worry about the review the host will leave you. I won an Airbnb dispute but the host left a toxic review that means no host will every accept me again. Plus they got my negative review of them removed on the grounds that on
796.
▲
by
iudqnolq
4y ago
For one, you could temporarily lose your child/parents. Whenever something bad happens to a child and there was an investigation in progress the investigators are criticized. So they've set things up in many states to bias strongl
797.
▲
by
iudqnolq
4y ago
Yes, the court also found that their collaboration with libraries to legally scan the books mattered.
798.
▲
by
iudqnolq
4y ago
The recently published book Rust Atomics and Locks by Mara Bos has an interesting section on why Rust uses the futex syscall directly. > ... However, there are a few issues with that, as this pthread type was designed for C, not for Rust
799.
▲
by
iudqnolq
4y ago
It's a four factor test (but the second factor rarely counts). the purpose and character of your use the nature of the copyrighted work the amount and substantiality of the portion taken, and the effect of the use
800.
▲
by
iudqnolq
4y ago
...and then the court threw out the settlement as unfair, and then the court ruled in Google's favor. But the court noted that Google was right on the edge of fair use. Google notably prevented the previews from being usable as a repla
801.
▲
by
iudqnolq
4y ago
I'm sad the IA put good work like the wayback machine at risk. I hate Uber/AirBnB, but they at least correctly predicted they'd get away with it.
802.
▲
by
iudqnolq
4y ago
No it wouldn't. Wikipedia has a crap definition that inexplicably focuses on cartels where multiple companies coordinate the refusal, which this definitely isn't. The FTC has a better definition for US law [1]. Companies routinely
803.
▲
by
iudqnolq
4y ago
A better way of quantifying this would be to look at the impact of real life source code leaks. I'm not aware of any significant monetization of the windows source leak, for example.
804.
▲
by
iudqnolq
4y ago
40% of student debtors never managed to graduate
805.
▲
by
iudqnolq
4y ago
Because this is for digital transactions for digital product. They want you to be able to click a button and then watch a video.
806.
▲
by
iudqnolq
4y ago
> Problem is Coinbase wants to be regulated, but the regulators are not accepting any regulated venue nor even willing to open discussions. Quite a strange attitude. Coinbase wants regulations that permit them to do things. Regulators
807.
▲
by
iudqnolq
4y ago
Relatedly, I'm fasinated by how much human judgement goes into those numbers. A meteorologist with local expertise looks at a few different models, decides which are more likely to be accurate, and then fills out a grid.
808.
▲
by
iudqnolq
4y ago
Forgiving student debt is a standard use of public funds to benefit a wide swath of society. That's clearly different from bailing out a bank.
809.
▲
by
iudqnolq
4y ago
Agreed, but I'd expect a real independent to be less partisan than a party supporter. They would do things like split the ticket, for example.
810.
▲
by
iudqnolq
4y ago
The problem is that Independents aren't actually independent. They strongly identify as neither Democrat or Republican, but they consistently support one or the other. 80% of Independents identify as leaning Democrat or Republican. Ind
More ›