Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
_bxg1
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
77 ms
·
661.
▲
by
_bxg1
6y ago
It would effectively become a stack-only language (heap allocations' sizes would always have to be known at compile time, just like on the stack). I could see that serving an interesting special subset of use-cases, but I was under the
662.
▲
by
_bxg1
6y ago
I'm saying you could know "it will use at least X memory", but you could never know "it will use at most X memory" unless you seriously cripple the language's capabilities
663.
▲
by
_bxg1
6y ago
Why would a detail like that be fictional? Anyway, it lines up with the statistics: https://www.bbc.com/news/uk-44053904 > In England and Wales in 2016-17, there were 31 fatal shootings - or one for every 1.9 millio
664.
▲
by
_bxg1
6y ago
Yeah. I guess Rust's secret sauce is just handling the long tail of much harder cases
665.
▲
by
_bxg1
6y ago
There's a difference between SWAT or border patrol and regular cops on the street. They still have SWAT teams in the UK, they just acknowledge that the times you need to go in guns-blazing are the exception to the rule.
666.
▲
by
_bxg1
6y ago
That's a fair point- such a change might have stricter gun control as a prerequisite (which for the record I think we also need). I was struck recently, when I saw The Gentlemen (a film about marijuana empires in the UK). Even the crim
667.
▲
by
_bxg1
6y ago
Exactly. I think the assumption that every encounter needs to have a gun present encourages needless escalation.
668.
▲
by
_bxg1
6y ago
I didn't know that some reference-counting languages optimize away some cases of runtime counting by attempting to track ownership, though it makes sense. But I think when people say "reference counting" they mean the naiive
669.
▲
by
_bxg1
6y ago
Reference counting happens at runtime, this happens at compile time.
670.
▲
by
_bxg1
6y ago
As long as it still allows for arbitrary-length vectors - which I can't imagine it not - this would be impossible due to the halting problem. Or I guess, maybe you could derive a lower bound on memory usage, but you could not get an up
671.
▲
by
_bxg1
6y ago
Beat cops don't need guns. The UK has proven that they can do their jobs without them. Taking them away would not only remove the possibility of inappropriate discharge, I'd bet it would reign in the subconscious power-tripping th
672.
▲
by
_bxg1
6y ago
This one: https://marketplace.visualstudio.com/items?itemName=ms-pyrig... I only found out about it by asking here on HN
673.
▲
Hydraulic ram
(en.wikipedia.org)
3 points
by
_bxg1
6y ago
|
0 comments
674.
▲
by
_bxg1
6y ago
The experience varies widely by language. TypeScript support is top-notch. Clojure support used to be bad and then got good. Rust support has been bad for a long time but the nascent rust-analyzer project makes it fantastic. Python support
675.
▲
by
_bxg1
6y ago
I've never needed more than 2-3 VSCode packages for a given workflow. They're usually easy to find and at the top of the list when I search for a language. Settings live in a settings.json file in your home directory and/or w
676.
▲
by
_bxg1
6y ago
> You are basically making a commitment to being or becoming a power user. I certainly would not have put up with it if I didn't think it was going to save me a lot of time as a software developer (and it does, everyday). I doubt an
677.
▲
by
_bxg1
6y ago
It's also funny because many working people would say the exact opposite (though I would agree that the Democratic platform, nominally, includes the policies that are in their actual interest). America's parties have done an aston
678.
▲
by
_bxg1
6y ago
The problem is it's much harder to moderate power structures, because that requires changing them from the inside, which they themselves are incentivized to prevent.
679.
▲
by
_bxg1
6y ago
It's so alien in these times to see a functioning government that's working to better its society.
680.
▲
Clearview AI to stop selling facial recognition app to private companies
(theverge.com)
4 points
by
_bxg1
6y ago
|
0 comments
681.
▲
Trump admin’s botched pandemic response detailed in whistleblower complaint
(arstechnica.com)
6 points
by
_bxg1
6y ago
|
0 comments
682.
▲
by
_bxg1
6y ago
Not interested in exposing my literal thoughts to our privacy-deprived digital world, thank you.
683.
▲
by
_bxg1
6y ago
I never thought about that side of it; you do need health insurance. Anybody have an answer?
684.
▲
by
_bxg1
6y ago
I recently started working within a Python codebase, and one of the things I really like about it (not sure whether this is standard Python practice) is that most directories have a "common.py" file in them. So if you just want to
685.
▲
by
_bxg1
6y ago
I actually think it's vitally important to have "dumping ground" locations for things that aren't fully figured-out yet. If I'm working on a new thing and I have something that's relevant in multiple files but
686.
▲
by
_bxg1
6y ago
I'm more pointing out that when they talk about that sort of thing, they're often being hypocritical after using "small government" and "free market" arguments five minutes before to denounce everything from so
687.
▲
by
_bxg1
6y ago
Many people on the store floor are primarily salespeople. They may not know the corporate strategy, but they know who comes in and what it takes to sell something to them.
688.
▲
by
_bxg1
6y ago
This is what the Brave browser is attempting to do, with mixed success
689.
▲
by
_bxg1
6y ago
I also don't think many tech companies would be mistaken for "something like Mom". There's a fundamental thing about creature-comforts like food and coffee that would make this situation more emotional.
690.
▲
by
_bxg1
6y ago
> So what situations are causing this? China for one. I think this is a key point. I was really just talking about America, where many people have rebounded from that sort of thing after embracing it 20-30 years ago. For China, tradition
More ›