Better HN
topnewbestaskshowjobs
Log inSign up

LessDmesg

45 karma · joined Oct 12, 2019 (7y ago) · 233 submissions

Submissions

comment 6y ago · link · parent

I was using it as an example. The fact that they pay poachers to supposedly heal their livers or joints or whatnot doesn't change anything: Chinese traditional medicine is still cruel, pointless and frankly based on primitive animistic beliefs from the stone age. How it can co-exist with modern-day industry in China is beyond me, but it's an important factor in the decline of lots of animals. And you don't see any greenies protest Chinese medicine, they care only about carbon dioxide nowadays.

comment 6y ago · link · parent

But this particular case was because these people believed in primitive witch-doctor stuff. If Americans believed the same, there would be many more deaths there.

comment 6y ago · link · parent

Screw C, really. Let this crappy old language die off quietly. Learn Zig (the best replacement for C) or at least Rust.

comment 6y ago · link · parent

After using Ubuntu then Debian, and briefly trying Arch, it is so much easier to manage packages on Gentoo than the alternatives. USE flags, package.mask and the slots system are indispensable. And you get freedom from systemd.

comment 6y ago · link · parent

It doesn't work. As in, can't render some perfectly renderable sites correctly. It seems Microsoft is chronically bad at making browsers, even when using a good ready-made engine.

comment 6y ago · link · parent

The thing about Swedish debt is that it's largely local than national:

https://www.scb.se/en/finding-statistics/statistics-by-subje...

comment 6y ago · link · parent

And when the (broke) Swedish government raises taxes sky-high, they will all flock to cash, gold, bitcoin and other off-the-radar payment methods.

comment 6y ago · link · parent

The difference is small, and the fact remains: structural typing is utter crap, and so is Go.

comment 6y ago · link · parent

Option types don't have to be boxed and are specifically optimized in Rust and, if I remember correctly, in Haskell. The Nothing is represented much like a null pointer, i.e. with a special value that can't be dereferenced.

comment 6y ago · link · parent

None of this matters. It's CO2 we should be worried about!!! That mostly harmless gas beneficial for plants is where the real pollution is, not those sulfur and nitrous oxides and other words too long for the average climate religion acolyte to remember! Carbon budget is a thing!!!

comment 6y ago · link · parent

What people (including here) tend to whitewash with nuclear is the waste. The radioactive waste that takes centuries or millenia to neutralize. Yes, it's kept in concrete bunkers underground and stuff, but no one can guarantee structural integrity of those silos over centuries. An earthquake might hit. A strain of concrete-digesting bacteria might eat through the walls. A war might break out, or simply terrorists. Ultimately, nuclear power contains an inherent and impossible to calculate, but quite real, environmental risk. And it's directed not at us, but at future generations who might have to deal with the cancer and toxicity caused by today's nuclear power. So no, I'm sorry, but nuclear fission is not clean.

comment 6y ago · link · parent

My point was the opposite: if data is to be copied about anyway, why not use GC which makes this copying safe (i.e. it handles reference updates) and extracts additional profits (compactization) while it's at it? As opposed to manual languages where objects are expected to be pinned (and memory-fragmenting) but often aren't, leading to headaches or runtime errors.

comment 6y ago · link · parent

Oh please. I've used Windows since 2000, and have seen lots of commercial C++ software (games, editors, Windows itself) give me that characteristic sound and dialog box. I stopped using Plasma desktop and KDE because of the crashes. "Error. Memory could not be written", segmentation fault, DLL error - I naively thought these were an inevitable consequence of using a computer, until I realized that the problem was that all this software was written in C++.

comment 6y ago · link · parent

And this is another point in favor of compacting GCs: non-GC languages are moving things around almost as much (i.e. growable arrays are ubiquitous, plus hashmaps may be based on them too etc). Without a GC the simple task of moving references becomes dangerous and requires the pain demonstrated to us by Rust (or leads to pervasively crashy software culture demonstrated to us by C++). With GC, this type of thing is not something the developer needs to care about.

comment 6y ago · link · parent

C++? How about no.

comment 6y ago · link · parent

Free trade is maximally effective. Maximal effectiveness usually entails moral compromises. In real life we usually take a more balanced approach towards people: you forgive your girlfriend for having a little too much in the bum, and she forgives you for not being Tyson Fury. But when it comes to big money, greed and faraway countries/abstract masses of citizens, being uncompromising and exploitative comes easier.

Any sort of regulation of slave labor/human rights/ecology in China will inevitably reduce overall efficiency and make everything more expensive. That's the only way to make things fairer, but only until some other country makes a more efficient bid and offers up its citizens as low-wage slaves.

comment 6y ago · link · parent

They have even less regard for the environment. China's soil is polluted and eroded with callous farming practices, their animal life has been nearly exterminated thanks to their primitive beliefs in traditional medicine, their air and water are polluted with heavy metals (and whistleblowers are persecuted). This absolute disregard for the environment is one of the reasons China has become the world's industrial powerhouse in the first place: they literally chose to be a toxic wasteland to win the world's investment money.

comment 6y ago · link · parent

In the long run, economical and industrial progress is still better for the environment. The key is new technologies. There is no pollution that cannot be cleaned up, the question is only in the cost, and that depends directly on the tech.

Ultimately, any piece of trash or a dangerous chemical can be separated into atoms (e.g. with a plasma burner) that can be separated into pure chemical elements that then can be used to create products or chemically neutralized. The problem is only in the cost of energy, and that's, again, a question of tech. With fusion reactors, we'll have a way to solve world's pollution problems easily. So yes, developed countries ARE moving towards a clean environment. The solution is to move faster, not try to slow down the progress in economy, industry and technology with greenie measures that achieve only temporary pollution slow-down while postponing the real future solutions.

comment 6y ago · link · parent

Those Vikings are sure damn smart...

comment 6y ago · link · parent

Sorry, I meant the JVM ecosystem, of course.

comment 6y ago · link · parent

I know I'm making an LSP implementation for my personal language. A total must-have.

comment 6y ago · link · parent

Here's an idea I have: never close-source any programming language, make 'em free and open from day zero. Languages are not products, but infrastructure, like roads. They benefit and grow from the number of users, not from paywalls. Closed languages tend to fade into obscurity. That's why everyone knows Haskell and nobody knows Miranda, everyone knows Java and nobody Eiffel. I laughed when I read that the author of Shen/Qi changed the license from a commercial to a slightly more permissive one, when no one cares about his little language. Such conceit kills languages. Microsoft has realized this only recently with .NET, when the JVM was already miles ahead. Which is sad because the CLR is so much smarter than JVM.

comment 6y ago · link · parent

Swift is not similar to Haskell and Miranda. It's an imperative refcounted manually managed language with strict evaluation, while Haskell and Miranda are GCed languages with lazy evaluation and immutability. It's hard to find languages more different, really.

comment 6y ago · link · parent

The difference is that varroa mites are much larger relative to a bee, and are on the bodies of both adults and larvae. And the beehive has lots of bees whose jobs are cleaning the hive and greeting the bees returning from flight. And the mites aren't known for excreting some magic pheromones like other, less harmful beehive parasites do. So there really is no excuse for bees to fall prey to these mites.

I've read that some ants actively fight and remove parasitic flies trying to land on and infest them, so insects are definitely capable of this kind of self-protection. It's just specifically bees that do not have the genes, and cannot learn this behavior. Which proves their intelligence is severely limited.

comment 6y ago · link · parent

Why do header files even exist and why do sane languages work without them? Oh, I forgot, you cannot question The Holy Warts of Stroustrup. It's just C++. Leave all hopes of developer productivity at the door.

comment 6y ago · link · parent

Some really prompt bugfixing on C++ committee's part. "We have a broken compilation process that leads to humongous build times and namespace pollution! Oh, OK, let's wait another 20 years to fix it".

I guess C++ coders deserve the std::'s their language gives them.

comment 6y ago · link · parent

Bees are dead stupid, though. They have varroa mites sucking their juices and don't even do anything about it. That's like if half your family had cat-sized vampires stuck to their sides and you all went about your business as usual.

"Hey Mom, how are you doing? You look pale. Must be that fat vampire that's been sucking your blood this past week. I have one too now, though - looks kinda cool! Oh well, gotta go, see ya!"

And whole bee hives actually get destroyed by those mites. Arrgh. So don't talk about the intelligence of those buggers. They're brain-dead where it matters.

comment 6y ago · link · parent

Self-destructing greenie idiocy in action. The UK should get out of the Paris Agreement and watch the EU go back to windmill and horse carriage.

comment 6y ago · link · parent

Agreed. Baseball is a weird slumberfest, I wonder why millions of people consider it even a remotely interesting sport. I'd rather watch a darts championship, it's got more energy.
12345
8