HNHacker News
TopNewBestAskShowJobs

kanox

1,597 karma · joined April 30, 2018

submissionscomments
kanox··on The Laptev Sea hasn't frozen
> sit white-knuckled until I die in a food riot.

This is nonsense, food production on a per-capita basis is increasing and population is leveling off.

kanox··on The Laptev Sea hasn't frozen
> Rising temperatures will lead to huge portions of the planet that are currently densely populated that will no longer support humans.

This does not seem likely, the bar for a region being "unable to support humans" is very high. People already live in cities that need to support themselves with food from elsewhere, and worldwide calorie production per capita is increasing.

kanox··on Tesla Autopilot 'a distant second' to GM's Super Cruise in hands-free test
There are lots of claims that Tesla self-driving features are dangerous, is there any data to support this?

The fact that their detection of driver attention is worse is only one factor, the cars should be evaluated on overall accident rates relative to human drivers or other self-driving systems.

kanox··on The self-driving car is a red herring
> There's also what's known as the "geometry" problem - 1 self driving car takes up as much space as 1 human driven car.

Human-driver cars consume parking spaces at the destination, self-driving cars don't have this limitation. They park themselves away from high-traffic areas or they could ferry other people around.

kanox··on The self-driving car is a red herring
The boring company is a bet on improving tunneling machines for speed and cost. This might not be realized but there's no good argument that proves it to be impossible.

There are fields where physical limits were already reached, for example rocket engines specific impulse has barely improved since the 60s because of fundamental chemistry, but this is not the case for tunnels.

Provided enough funding it should be possible to dig faster, and cheaper per km.

kanox··on The self-driving car is a red herring
Because tunnels can go under buildings, roads and other tunnels with very little interference.
kanox··on The self-driving car is a red herring
> Agreed, but self-driving cars would enable self driving buses and they could be great.

Self-driving cars would enable self-driving taxis which would be superior to both private vehicles and public transport.

Imagine if there was no need to park and you could summon a vehicle of the appropriate size at will.

kanox··on The self-driving car is a red herring
Such experiments are already running and there are statistics available comparing the rate of accidents with human versus computer driving.
kanox··on The self-driving car is a red herring
> I put the self-driving car in the same category as the flying car and jet pack. This one just happens to have VC funding.

Flying cars and jet packs are limited by physics (specifically energy density) and progress in this area is almost non-existent. We barely got batteries to be vaguely competitive with internal combustion.

Self-driving cars are limited by software and hardware accelerators and this field is making real progress.

kanox··on The self-driving car is a red herring
I really wish people would stop claiming that the solution to cars is walking or public transport. I don't have a car either but claiming that people should "stop driving" is not a serious approach.

Cars are extremely useful and are not going anywhere. They have problems like carbon emissions and being extremely dangerous but those will have to be solved while preserving the fundamental utility of a cars: They are individual vehicles that can go nearly anywhere and carry considerable cargo.

kanox··on Why I'm Tcl-Ish
My experience with TCL is from scripting tools which picked it as an extension language many years ago. Tools like that have their own object-like systems and are likely not going to migrate, ever.

Maybe if TCL had a single standard OO library in the late 90s it would have been more successful? But I still think that languages with native OO constructs are much better that a shell-like string-oriented interpreter.

kanox··on Why I'm Tcl-Ish
If you want to resize the remote terminal it might be easier to determine the size locally with an ioctl and only execute "stty cols/rows" remotely.

It might also help to export the local TERM value remotely because it's not otherwise passed through a serial port.

kanox··on Why I'm Tcl-Ish
Unpopular opinon: I've used TCL and didn't like it and wouldn't recommend anyone use it.

The shell-like "everything is a string" is seductive at first but in practice you spend way too much time messing up your quoting. It's similar to how sometimes people suggest dropping yaml/json for a "simple ini file": it quickly breaks down and you end up with a custom ill-defined mechanism for nesting values.

TCL can handle more than just string variables: you have arrays, dicts and a bazillion libraries implementing object orientation. The result is that manipulating structured data is still more awkward than in any other modern language, except perhaps shell scripting.

Unless you're interfacing with a legacy or third-party system please don't use it. If you think you need expect please just use pexpect.

kanox··on We chose Java for our high-frequency trading application
> Also, in Java it is easy to end up with resource leaks whereas PHP always starts from a clean slate for each request. Way less headache for operations.

That assumes you're running a new separate PHP processes for each request and an application built this way is unlikely to scale terribly well.

kanox··on Rejuvenating Autoconf
> if your customers need to be able to build a shared library on Solaris, AIX, HP-UX, IRIX, and all the BSDs

Are there even any notable commercial projects that use autotools?

Autoconf solves problems that existed in the 90s unix market which are just not very interesting or relevant today. For a few decades now "portable" has meant linux, windows and mac.

A lot of effort is spent on generating shell scripts for the lowest common denominator and this is both useless (nobody cares about 90s unix, everybody can install bash) and insufficient (bourne shell is not native on windows).

Perhaps energy would be better spend on migrating everybody towards newer build systems or just plain makefiles. A lot of projects have migrated already, does anyone have statistics about what percentage of a distro like Debian needs autotools?

kanox··on We Were Builders Once, and Strong
This is not true, many of those companies have cheap mass-market products.
kanox··on ARM chips have an instruction with JavaScript in the name
My guess is that this is what JIT people asked for.
kanox··on ARM chips have an instruction with JavaScript in the name
Arm v8 is the "current" 64-bit version of the ISA and you almost certainly have it inside your phone. You might have a version older than v8.3.
kanox··on BleedingTooth: Linux Bluetooth Zero-Click Remote Code Execution
Is there even a good reason for bluetooth support to be implemented inside the kernel?
kanox··on The AMD Radeon Graphics Driver Makes Up Roughly 10.5% of the Linux Kernel
This sounds dubious, isn't it easier/more reliable to just block parts of the hardware using fuses?
kanox··on Tesla dissolves its PR department
> And the US granddaddy of them all (excluding vehicles only available to fleets) is the GM EV1, released back in 1996.

Yes, GM deserves much more credit for the EV revolution than Tesla.

kanox··on NestedText, a nice alternative to JSON, YAML, TOML
Depending on the parser you can also use them to call arbitrary code. This used to be the default behavior of `pyyaml.load`.
kanox··on To Save the Climate, Give Up the Demand for Constant Electricity
> Could France have fully de-carbonised it’s grid without international trade to less developed nations producing many things it consumes? Doubtful.

France uses nuclear power, what makes you think that this is somehow difficult to scale? Electrical energy is very fungible.

Shifting production to developing countries is mostly due to labor costs.

> Counter to this is the persistent myth that we can just increase capacity to meet demand.

This is not a myth, increasing capacity causes issues but those issues are solvable.

kanox··on NestedText, a nice alternative to JSON, YAML, TOML
The solution to such problems is a better standard for the handling of numbers, not dropping support for numbers altogether.
kanox··on Flatpak: A security nightmare – two years later
> Yocto goes to a large amount of effort to make for repeatable builds, something which docker is actually quite bad at

Is this something that yocto itself helps with or just something accomplished by a thousand people hacking at .bb scripts? Last I checked features like the sstate cache came with big caveats.

Dockerfile layer caching seems much more effective at shrinking build times.

kanox··on Flatpak: A security nightmare – two years later
Yocto and various derivatives can be used to "build software" in the same way that Dockerfiles can be used to "build software" but using yocto is a much worse experience.
kanox··on Flatpak: A security nightmare – two years later
And shell scripts solve the problem of starting and stopping daemon, but not particularly well.

The boundary between a binary tarball and the rest of the system is very poorly defined.

kanox··on NestedText, a nice alternative to JSON, YAML, TOML
It is still useful for humans to have a well-understood way to input typed data.

If you make everything a string then the interpretation of "no" as boolean true or false is left to each tool, and there are even tools which have different interpretations of "yes/no" for each field.

kanox··on To Save the Climate, Give Up the Demand for Constant Electricity
This is satire, right?
kanox··on NestedText, a nice alternative to JSON, YAML, TOML
We have it today for JSON, it's called JSON Schema and many IDEs support it.
← PreviousPage 3 of 16Next →