Better HN
topnewbestaskshowjobs
Log inSign up

otabdeveloper4

3,226 karma · joined Jun 14, 2019 (7y ago) · 4,043 submissions

Submissions

comment 7y ago · link · parent

a) Every programming language is a "very productive language" that "works great". Nobody ever thought to themselves "let's make a programming language that's hard to use and wastes time". (And even if they did, they would have never convinced other people to use it.)

b) No. Large distributed systems is not something you stumble onto, it's a result of many years of organic growth.

comment 7y ago · link · parent

Let me unpack my way comment:

a) Erlang (as opposed to something else) is only useful for large distributed systems.

b) If your organization is at the scale where you need a large distributed system, then the problems in your project aren't related to code or to coding speed.

comment 7y ago · link · parent

> ...in very little time and effort.

You have a very naive view of large-scale distributed systems. For companies that truly need them, "time" and "effort" are never a consideration. Furthermore, the challenges facing these companies in battling project delays and cost overruns are the 100% organizational and political, not technical.

comment 7y ago · link · parent

> So then the various cryptocurrencies fit the bill because a lot of people are willing to treat them as IOU notes among themselves.

Yes, but the 'crypto' part is unnecessary. You can just store these IOU's in some Postgres database, and the effect would be the same.

comment 7y ago · link · parent

Like the abortion industry?

Whoops, sorry, crimethink!

comment 7y ago · link · parent

> This is a bad necessary condition for considering something a currency.

On the contrary!

'Money' is just IOU notes. What gives these IOU notes value is that governments use them for paying welfare and civil servant salaries, and in turn take them back when collecting taxes.

> So, hypothetically, if someone founded a microstate which allowed paying taxes in Bitcoin, then it would become a currency?

Yes. But with a caveat: the wealth of a government's welfare/civil servant class and the threat of its tax collectors is what gives currency value. The blockchain here is entirely superfluous, this hypothetical currency would be just as valuable regardless of whether a cryptocurrency scheme is used.

comment 7y ago · link · parent

You're right, we should legalize murder and rape.

It's not like people are going to be less horny if we make raping illegal!

comment 7y ago · link · parent

> Increasing the price of Tobacco didn't do much to stop smoking

This is factually false.

comment 7y ago · link · parent

Two points.

First, software "engineering" is not an engineering discipline. You might as well call novel writing "literary engineering", but calling it that won't make it true.

Second, the 10x software developer is very much real. People try to ascribe their performance to this or that technology or methodology, but in reality what makes a 10x engineer is a special psychological predilection, not their tools.

comment 7y ago · link · parent

That microbenchmark is old and quite imperfect; I'm pretty sure it's not actually measuring what it claims to measure.

The point still stands. Creating threads (at least in a normal OS like a modern Linux) is really fast.

E.g., when processing a huge logfile it's faster to create one short-lived thread per each line than it is to use a thread pool with the producer-consumer routine and conditional variables.

comment 7y ago · link · parent

> OS threads means context switching which means relinquishing the cpu from user space to kernel space for a time.

No. The OS will switch contexts regardless of how many threads you have. Even with zero threads the OS will be context switching between processes anyways. That's just how pre-emptive multitasking works.

What you're trying to say is that threads might get starved due to imperfect scheduling; but even that is wrong - you're never going to write a better scheduler than the one in the Linux kernel. I mean that seriously.

If you want a deterministic scheduling routine without unpredictable delays, then just use one of the realtime schedulers provided to you by the kernel. That's what they're there for.

comment 7y ago · link · parent

> due all machinery necessary to setup and start OS thread

The machinery to start an OS thread is on the order of magnitude of nanoseconds. Starting an OS thread far cheaper than printing a line to stdout, for example.

OS threads are only a problem in interpreted languages, because all of them have a global interpreter lock of some sort.

For compiled native languages OS threads are more efficient than green threads.

comment 7y ago · link · parent

> There's also software that was created to solve a specific problem that got misappropriated to do something else

Docker is a classic case. Docker must be the craziest, most over-engineered solution for packaging developer artifacts in the Universe.

comment 7y ago · link · parent

> systemd sucks balls

No it doesn't. Shell scripts in your init system sucks balls. Systemd is great.

comment 7y ago · link · parent

Skype wasn't a chat program.

Skype was a P2P phone calling program over TCP/IP.

I.e., a neat trick that might have killed traditional telecoms.

Then Microsoft bought Skype and killed it instead.

comment 7y ago · link · parent

It quite handily demonstrates the truth of my theory, no?

comment 7y ago · link · parent

> A ... programmer needs to understand ... underlying operating system and its internals

Oh the humanity!

I weep for mankind and for the industry if this is where we have fallen.

Quick question: are you a Javascript programmer?

comment 7y ago · link · parent

That's simply not true.

I'm not aware of any place where C++ is taught. (And in fact C++ programmers are very hard to find.)

C is very common and anybody with even a bit of format education has been exposed to C.

Then you get people who know a bit of C and throw in a couple 'class' and a couple 'cout', and call it 'C++' for some reason.

Which is wrong, obviously.

comment 7y ago · link · parent

> The hacker's language

No, that would be C. (In both senses of the word 'hacker'.)

comment 7y ago · link · parent

I'm not smart enough to go into the technical details, so I'll use an example instead.

Machine learning is very effective in categorizing things - for example, given an image estimate whether it pictures a cancer cell or not.

On the other hand, machine learning sucks where you need to predict things instead of categorizing - for example, given a set of factors, figure out your risk of getting cancer within 5 years.

Any such machine learning predictive system will be useless due to under- or overfitting.

(Again, I'm not an expert, just a guy who has many years of experience trying to build such predictive systems.)

comment 7y ago · link · parent

> I fail to remember a single negative response regarding Rust

That's because the primary (and so far only) use for Rust is as an excuse to avoid learning C++.

Nobody actually writes real software in it.

As you doubtless already know, the programming language everybody likes is a programming language nobody uses.

comment 7y ago · link · parent

Medical opiates are legal and taken on doctor's orders, so typically 'properly'.

Somehow it didn't turn out so well. (Google 'opiate epidemic'.)

comment 7y ago · link · parent

But that's the point: current evolution theories have no predictive value and are based on circular logic.

We assume species have a common ancestor because they have similar DNA, and similar DNA is supposed to be proof of a common ancestry.

comment 7y ago · link · parent

> The one advance that might finally challenge the 'no silver bullet' rule is machine learning.

Machine learning can't even predict a simple binary proportion ratio. No, it's not a silver bullet.

comment 7y ago · link · parent

You're making a whole lot of unfounded and unproven assumptions here!

For example: what if the current genetic diversity on Earth is the result of genetic engineering by ancient aliums?

That's a facile example, but there are serious deeper issues here. The mechanisms of gene transfer are too complex for us to explain presently, including things like viruses, horizontal transfer, etc.

You're assuming a simplistic darwinist model that we already know isn't true.

comment 7y ago · link · parent

> The default assumption in science is that any phenomenon is explainable and predictable

Two points:

a) Not everything is explainable and predictable, and thus under the domain of science.

b) There's a huge (maybe infinite?) class of things that are explainable and predictable and yet aren't algorithms.

An 'algorithm' is a very specific mathematical concept with a very specific definition. It is quite possible that the brain is explainable and predictable and yet isn't an algorithm.

> ...but it's still just crunching data.

Only if you expand 'data' to mean every possible physical phenomenon under the sun, which is disingenuous. (Are hormones 'data'? Is electromagnetic radiation? Etc., etc.)

comment 7y ago · link · parent

> Do you think it will take centuries to figure out how it works to understand its algorithm?

There's no reason whatsoever to believe that the brain is an algorithm at all.

This is just you searching for something where it is easiest to look.

Note: not everything is an algorithm.

comment 7y ago · link · parent

'Closeness' (whatever you mean by that) doesn't really imply ancestry without some hefty presuppositions.

comment 7y ago · link · parent

> Isn't there some fundamental mathematical structure here which makes these problems unsolvable?

No. Meetings are easy to fix, there's just three simple steps:

a) There must be a point-by-point agenda before the meeting.

b) During the meeting there's somebody to take notes and keep the meeting on topic of the agenda.

c) After a meeting there must be a post-meeting report.

Unfortunately doing it right is a bureaucratic bummer that most people don't like.

1
131132133134135