Better HN
topnewbestaskshowjobs
Log inSign up

otabdeveloper1

331 karma · joined Feb 16, 2015 (11y ago) · 258 submissions

Submissions

comment 8y ago · link · parent

> Money is about imbuing items - some of which may be intangible - with power and manna

People will imbue all sorts of things with power and manna. (Video game highscores, or clothes, or the food you eat, etc. , etc.) Money is not special here.

> It's bean counting with imaginary magic beans, controlled by a priestly caste of imaginary magic bean rationers.

No. Fiat money (like the USD) are just IOU scrips from the government. No more magical or priestly than the IOU's you might give to your neighbor.

Fiat money IOU's are special only because you need them to pay taxes.

comment 8y ago · link · parent

> asynchronicity and parallelism (threads) are two entirely different concepts

They are. However, in the browser resources (such as scripts) will be loaded using multiple threads. Javascript will be executed on one thread at a time, but this execution will switch to another context at the appropriate breakpoints.

Javascript in the browser is a multithreaded cooperatively multitasking system.

comment 8y ago · link · parent

> I'm not sure how often you want to recover from such a state though.

Pretty much always in real systems software.

Imagine a multithreaded server that handles HTTP requests. A catastrophic invariant failure when handling one requests shouldn't bring down the whole server.

Or imagine an application that calls into a money transaction routine. (This routine can itself call other routines, and so on for 12 stack frames deep.) A catastrophic failure in sending money shouldn't bring down the whole app, it should show a clean "money transfer failed, please try again" message.

comment 8y ago · link · parent

Javascript isn't single threaded. Callbacks happen asynchronously, and coupled with a synchronous DOM this means race condition central.

comment 8y ago · link · parent

> I think most national currencies are based on religious-like beliefs and mass delusions to some extent.

Lol, no. Four points:

a) Money isn't value, money is a standard measuring yardstick for value.

b) Since it's just a standard way to measure stuff, pretty much anything can be money.

c) Modern fiat money like USD are IOU's from the government. They became a standard form of money because the government requires taxes to be nominated in these IOU's and because the government pays welfare and wages in them.

d) Inflation is no big deal. It just means that your standard measuring yardstick becomes shorter over time. A logistical pain in the ass, but ultimately nothing that can't be dealt with.

comment 8y ago · link · parent

> so that we don't have to worry about hard-to-trace race conditions, etc

Seems to me that something like 50% of clientside Javascript coding is "worrying about hard-to-trace race conditions", so maybe that's a feature, not a bug.

comment 8y ago · link · parent

State of the art is pthreads and mutexes. The C++ and Rust wrappers for them are roughly equivalent.

Rust has some nice features for handling ownership semantics, but they are not significantly better than those in C++.

Meanwhile, Rust still lacks a normal exception handling story. Exception handling is absolutely necessary in 2018 for building real software systems.

(And even though Rust claims that errors are nicely dichotomized into "recoverable" and "not recoverable" camps, this is simply not true in the real world. There are obvious counterexamples that don't fit into this dichotomy.)

comment 8y ago · link · parent

A shallow learning curve and cute compiler messages are the least of your problems when doing C++-caliber software.

The 'small, easy language for ignorant developers' niche certainly exists, but it's already taken by Go.

Rust currently provides no benefit over (modern) C++ for the problems where using Rust or C++ makes sense. (Though perhaps Rust will make it easier for layman developers to learn Rust and then transition to C++.)

comment 8y ago · link · parent

> On the server side, it seems like docker format has already won.

No.

comment 8y ago · link · parent

Another benefit is that getting to Venus is a lot cheaper than getting to Mars.

comment 8y ago · link · parent

Good luck trying to be 'left alone' when you're literally at the mercy of an Earth government for the importation of the very air you breathe.

comment 8y ago · link · parent

No shit, Sherlock. Welcome to the 21st century.

comment 8y ago · link · parent

> The speaker would simply have to point to a concrete algorithm that can be performed by a person with pencil and paper but not by a Turing machine (or vice versa).

No, this is a circular definition. We define an "algorithm" as something that can be performed by a Turing machine. So the Church-Turing thesis is a trivial tautology. (Though of course a useless one.)

comment 8y ago · link · parent

Last I checked (which was a year or more ago), 64-bit GC for LuaJIT is an experimental and buggy feature. Do people actually use it in production? Since which version of LuaJIT?

comment 8y ago · link · parent

Where's the "don't allocate 8 gigabytes and crash the system" feature?

(Yeah Slack, I'm looking at you.)

comment 8y ago · link · parent

Does this still only support 2 Gb of RAM?

(https://stackoverflow.com/questions/35155444/why-is-luajits-...)

comment 8y ago · link · parent

Smart contracts aren't for enforcing law, they're for making notary and escrow work cheaper and more automatic. The current costs for this are ridiculous.

That said, nobody actually cares for doing anything useful with blockchain in 2018. The verbiage is just a smokescreen for good old pump-and-dump speculation.

comment 8y ago · link · parent

What if somebody hacks into your bank and steals your escrow account?

Presumably, in both cases the solution is the same -- law enforcement and a lawsuit.

The goal isn't some perfectly perfect decentralized system, the goal is something that doesn't have the monstrous overhead of something like, e.g., real estate deals today.

comment 8y ago · link · parent

> Safari

> modern

comment 8y ago · link · parent

Google employs 70000 people, when in fact they could do what they do with just 700. (If they bothered to actually hire the top 1% of developers.)

Operating with 1% of peak efficiency seems insane, until you understand that Google doesn't hire people to make products, they hire people to increase their market cap.

This is a delusional system that is opposite of 'market efficiency'.

Eventually the system will collapse in a horrific crash and we'll start over with something that doesn't violate common sense or laws of physics. For now all you can do is grin and take it.

comment 8y ago · link · parent

You're nuts if you think anything on the Internet today will survive 300 years.

comment 8y ago · link · parent

No, it's a Chromium browser skin that uses Qt.

comment 8y ago · link · parent

> I think we're lucky that ancient mariners didn't listen to the people who told them "there's literally nothing, nothing, in the Great Water".

You're making a false and dishonest equivalency. Those mariners didn't know what was in the Great Water.

We absolutely do know to a huge degree of precision exactly what is on the Moon. (A whole bunch of nothing.)

We know more about the Moon than we know about the Mariana Trench. We've explored the Moon to death already.

comment 8y ago · link · parent

> What is the primary reason to create a new programming language?

The reason is that creating a new programming language is easier than learning C++.

For this same reason none of these languages will ever amount to anything useful. If you have the patience and foresight to bring a new programming language to fruition, then you have the patience and foresight to learn C++. You grow up and start programming in a real language.

comment 8y ago · link · parent

There's literally (yes, literally literally) nothing there on the Moon, and going there costs more than going to the Mariana Trench.

No, it will not become more routine.

comment 8y ago · link · parent

No, of course not.

Virtue signaling via books is dead, however, and that's a good thing.

comment 8y ago · link · parent

Totally.

If all the good people come together a kill all the bad people (maybe put them in special places and call them 'camps', need to think a bit more about this), then the world will be a paradise without crime. (Like murder, for example.)

comment 8y ago · link · parent

Your post implies that kids under 4 years old can't lie.

This is, of course, patently untrue. (Mine told lies at 12 months.)

comment 8y ago · link · parent

> Surrogacy at scale, artificial wombs, even gamete design and editing are all possible within this generation's lifetime.

No, they aren't. Moreover, surrogacy is just as unethical as slavery, expect it to be banned worldwide soon.

1
456
9