Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
apta
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
66 ms
·
691.
▲
by
apta
7y ago
> It's the absence of a cultural context for liberal democracy. Which isn't necessarily a bad thing.
692.
▲
by
apta
7y ago
You're not negating what I wrote, there definitely needs to be a follow up once the perpetrators are identified, not to mention other approaches like funding the police. I'm no fan of the Chinese government, but they do seem to ha
693.
▲
by
apta
7y ago
Studies like this always seem to be confined to Western societies (and particularly the US). Other societies seem to be doing just fine with harsh punishments like the death penalty. There are other factors at play here, but having harsh pu
694.
▲
by
apta
7y ago
There's correlation involved with other factors however. If I'm not mistaken, things like maintenance are relatively easier (and cheaper) on a 2 engine aircraft compared to a 4 engine aircraft. So we cannot consider failure rates
695.
▲
by
apta
7y ago
Just because it looks the same, does not mean that it's the same under the hood. Designs are constantly improved and re-worked for safety. Look up what happened when the IIHS introduced the small overlap test. Several manufacturers (in
696.
▲
by
apta
7y ago
Newer cars are provably much safer compared to older models. They have both active safety systems, such as pre-collision braking, lane tracking, etc. as well as passive systems such as airbags and superior crumple zones. Not to mention they
697.
▲
by
apta
7y ago
A head on crash is very different from an offset crash, which are supposedly much more common, and much more likely to cause injuries compared to a full head on crash where forces are (relatively) easier to be dissipated. When the IIHS star
698.
▲
by
apta
7y ago
The way I see it, they're a tool, part of a bigger picture that aids in security and safety. The issue it seems is that there isn't a proper follow up once the perpetrator gets identified and caught. There doesn't seem to be
699.
▲
by
apta
7y ago
That's a very western-centric view of things. I'm assuming trying to draw parallels from happened when the US tried alcohol prohibition, which failed partially due to government greed. These things can be effective in other cultur
700.
▲
by
apta
7y ago
What are they getting out of it other than making themselves look foolish?
701.
▲
by
apta
7y ago
Confusing equality of opportunity with equality of outcome I see, amateur mistake.
702.
▲
by
apta
7y ago
Except that liberal democracies are not the only way to run fair and stable societies. So it should not be an end goal, this is a very Western-centric view of things.
703.
▲
by
apta
7y ago
> until it modernizes What's that even supposed to mean?
704.
▲
by
apta
7y ago
Both the JVM and .NET have benchmarking suites. Java's JMH is arguably much more advanced and holistic than what is included with golang.
705.
▲
by
apta
7y ago
Do you strap them to the front or the rear of the fan? Doesn't having them on the front (i.e. where the air blows out) mean that the fan will get dirty since it's sucking the air in?
706.
▲
by
apta
7y ago
If tickets weren't cheap, people would just be flying less, and it would be relegated to things like business trips and what not. Low prices should never be the end goal at the expense of things like safety. However, capitalism says ot
707.
▲
by
apta
7y ago
No problem. As a side note, the Zig language does a much better job here, especially with defer. It works at the scope level (how it's supposed to be), and they have an `errdefer` construct used to call functions that return errors.
708.
▲
by
apta
7y ago
This is by no means a comprehensive list: * no generics * null pointers * no compile time checked enums or sum types * The golang time package is garbage * golang interfaces are garbage, can't tag types with an interface without implem
709.
▲
by
apta
7y ago
I will hopefully later today, not able to type much now.
710.
▲
by
apta
7y ago
I write a lot of code in golang, and if anything, my views before using the language were even further cemented by even more flaws I found while using it.
711.
▲
by
apta
7y ago
> It sounds like you're not replacing the Python ML code so why is this such a big deal? How would you write an article about moving to a hipster language then? :-)
712.
▲
by
apta
7y ago
This is a simplistic, incorrect view of biology.
713.
▲
by
apta
7y ago
It should.
714.
▲
by
apta
7y ago
> C# (structs or maybe properties) Those are not directly analogous to records. As a matter of fact, C# is getting records as well: https://blog.cdemi.io/whats-coming-in-c-8-0-records/
715.
▲
by
apta
7y ago
I think OP was implying not to write new code in C. If possible, we can also use replacement tools written in safer languages if they offer the functionality we need (e.g. `ripgrep` instead of `grep`, or web servers written in safe language
716.
▲
by
apta
7y ago
Progress is exactly what brought us safe languages. Proper engineering dictates eliminating, or reducing as much as possible dangerous/unsafe/etc. behavior. There's a reason C and C++ top the CVE lists with their buffer overf
717.
▲
by
apta
7y ago
This is why using safe languages is important. Even frequent users of C and C++ end up making mistakes that are difficult to track down.
718.
▲
by
apta
7y ago
Ah yes, interest strikes again. There's a reason that (practicing) Jews don't lend each other money with interest. Interest is also prohibited in Christianity and Islam. When will people learn? It seems that greed is so powerful t
719.
▲
by
apta
7y ago
Backdoors can still exist in public code bases.
720.
▲
by
apta
7y ago
And China has backdoors in their stuff. We shouldn't be using it.
More ›