Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gnode
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
91.
▲
by
gnode
7y ago
> even in scenario with a completely untrusted client receiving only final video output, there's no guarantee that the actions being input are human. I imagine it would be a fairly trivial application of computer vision to make an a
92.
▲
by
gnode
7y ago
I don't expect it would be that hard to make an aimbot look human by throwing in some random variation. It would probably then be difficult (even for a human auditor) to reliably differentiate genuinely good players from "too good
93.
▲
by
gnode
7y ago
Some popular Rust projects include actix-web (HTTP serving), diesel (database ORM), Firecracker (micro VMs for serverless). Web APIs and virtualisation / cloud computing are also areas where Go is popular. They're both statically
94.
▲
by
gnode
7y ago
I'm not sure that principle applies well to JavaScript. It was popular almost from the get-go, being the only language of the Web. A lot of bad practises were popular in the early days. JavaScript has changed a lot as a language over t
95.
▲
by
gnode
7y ago
Not the OP, but I think a good contrast is with Rust. Both languages purportedly emphasise memory safety and concurrency. Rust achieves this within the type system at compile-time; no nil pointers (conditional destructuring is used instead)
96.
▲
by
gnode
7y ago
Golang has shortcomings a plenty, although that doesn't necessarily make it a poor language to use. It's a fairly simple language, which makes it relatively easy to grasp and understand the majority of Go code. This is particularl
97.
▲
by
gnode
7y ago
I'd say Go's success is almost nothing to do with its design, and everything to do with social factors. Rob Pike was famous before its creation (within the relevant community). The language was designed within Google, and gained m
98.
▲
by
gnode
7y ago
Probably in that it's the language with first-class support on that platform. Adoption of the language is encouraged more by the target platform's support for it, than by its independent merits as a programming language. I'm
99.
▲
by
gnode
7y ago
But we're talking about air-breathing rockets, not merely engines. Crucially, a rocket supplies its own oxidiser, and an air-breathing rocket supplements this with intake air. An example of such would be Sabre: https://en.wi
100.
▲
by
gnode
7y ago
> China is not communist at least in economics any more. This depends on your interpretation. It could be argued that China's state capitalism -- where the state is the dominant capitalist, and owns most of the companies, property,
101.
▲
by
gnode
7y ago
Generally police must assess the risk to public safety (including the suspect's and their own safeties) and balance that with the need to apprehend the criminal. Capturing a non-violent criminal would not typically justify a high risk
102.
▲
by
gnode
7y ago
A suspect would likely be liable for damage caused by the police in the course of them resisting arrest. However, they are likely judgement-proof, not having the wealth or income to compensate the homeowner. They will likely "pay"
103.
▲
by
gnode
7y ago
Interestingly, although all the RTL for the SiFive Freedom platform is in the SiFive's GitHub repository, and they've produced chips and boards (with public schematics and BOM), the hard IP doesn't appear to be public. I wond
104.
▲
by
gnode
7y ago
I think this may be more than a register-level transfer abstraction. The slides make claims about die area and frequency, and show a layout. SiFive offer IP but also produce SoCs (presumably with TSMC, SMIC, and GlobalFoundries, who are lis
105.
▲
by
gnode
7y ago
> The whole point of weapons is to help murder civilians. The sanctioned use of weapons is against belligerents. The intentional killing or torture of civilians or prisoners is a human rights violation, or a war crime during warfare.
106.
▲
by
gnode
7y ago
I find it interesting that NSO, an Israeli surveillance technology company, was allowed to have such dealings with Saudi Arabia. Their statement that "the sole purpose of NSO is to provide technology to licensed government intelligence
107.
▲
by
gnode
7y ago
> Those children were more likely to become depressed by age 12 or 13, to be the victims of bullying, to be aggressive, to have lower interpersonal skills, to have unhealthy diets, and to be overweight, the researchers found in the April
108.
▲
by
gnode
7y ago
> A too large of an array would not fit in RAM and you should get a compile/link/out of memory error. Except we're talking about variable sized arrays, where the wanted size is not known until runtime (e.g. from user input
109.
▲
by
gnode
7y ago
They're trying to allocate an n·n element array. If int and size_t are 32b (typical 32-bit architectures), and n == INT_MAX, then n·n·sizeof(float) can't be represented by a size_t. (Used · for multiplication, because HN turns sta
110.
▲
by
gnode
7y ago
Another thing to note, is that loop unrolling can be harmful to performance, as it requires more instruction cache. Beyond branch prediction, modern compilers can also convert loops into vector / SIMD instructions, and other magic. The
111.
▲
by
gnode
7y ago
I realize that I made an assumption in my first answer, that the moon is not rotating. A rotation may cause you to move out of the orbital path of the bullet before it gets back to you. If you shot from the poles though, you would remain in
112.
▲
by
gnode
7y ago
> Most failures I've seen are either mechanical wear on a port, button or cable of some sort Eliminating ports seems to be some manufacturers' solution to this. There's no wear if it doesn't exist. > There is also
113.
▲
by
gnode
7y ago
Fragile cargo at least. For some otherwise fragile things, you could submerge them in an incompressible fluid of similar density to reduce the difference in force throughout them. Your brain's tissue is very soft, yet by being buoyant
114.
▲
by
gnode
7y ago
> If you shoot a gun on the moon, will it return to your location from the behind, no matter what angle you shoot it? In most cases no. Although the orbit of the bullet is cyclical (below escape velocity), unless you shoot perfectly leve
115.
▲
by
gnode
7y ago
The screen real estate isn't particularly precious on a desktop / laptop with a large, high-resolution screen (much less precious than mobile, for sure), but I also like to get rid of menu bars, tool bars, etc. just because they&#
116.
▲
by
gnode
7y ago
I'm not sure the repairability of many types of electronic devices will be able to meaningfully survive into the future. The general trend in computing is to bring all the components together into a single module, as this improves powe
117.
▲
by
gnode
7y ago
> I doubt that many people re-soldered defective chip on a ram module. What individuals can do to repair a device isn't particularly relevant to this discussion. The legislation seeks to force manufacturers to make repair manuals av
118.
▲
by
gnode
7y ago
It's quite a different model to petrol: the batteries themselves are very expensive, and the stored energy very inexpensive. Futhermore, the batteries degrade, losing capacity over time, making them vary in value, and non-fungible. Pra
119.
▲
by
gnode
7y ago
> didn't Elon try and shoot for a battery swap station similar to a gas station and Tesla deemed it unfeasible? It was developed and demonstrated. https://www.youtube.com/watch?v=H5V0vL3nnHY My understanding is that
120.
▲
by
gnode
7y ago
There are many swastika characters in Unicode, with different contexts, none of them being Nazi specifically. That's not to say that usage of any of them would inherently preclude them from being subject to section 86a.
More ›