Better HN
topnewbestaskshowjobs
Log inSign up

vpkaihla

66 karma · joined Oct 6, 2015 (11y ago) · 44 submissions

Submissions

comment 10y ago · link · parent

Should we come up with a language that's easy to teach for both computers and humans? A sort of generic human/machine DSL?

comment 10y ago · link · parent

Would spacemacs work on Android?

comment 10y ago · link · parent

> companies with 'absolutely no AGPL' policy cannot try the open source version of these DBs which puts these products behind others.

Many companies have dumb policies. They are the ones that need to change.

comment 10y ago · link · parent

>Flatly, re-writing a several decade's old, matured codebase in today's flavor-of-the-week language is not a good idea. It's a waste of time and effort.

That's the sort of thinking we'd benefit from having less. Legacy is a terrible burden.

comment 10y ago · link · parent

49% of US billion-dollar startups were founded by native americans?

comment 10y ago · link · parent

So python will be better in version 3 and people will move to better languages? Sounds like a win-win to me.

comment 10y ago · link · parent

No, it's not nonsense. The things you listed in there are incremental fixes, not fundamental.

http://php.net/manual/en/language.types.type-juggling.php

How would you fix this without breaking most PHP code out there?

How would you fix ==, > and < behaviour without breaking most PHP code out there?

How would you fix Unicode without breaking most PHP code out there?

If PHP fixed things like this, it would be a decent programming language, but it would also break a lot of things. Kinda of like what python3 did, only that it didn't have to break quite so much, since python2 was already pretty decent.

comment 10y ago · link · parent

You don't understand. To fix problems like python3 did, you have to break older code.

Php7 did nothing like that, that's why the "porting" process was so light. But it also means it didn't fix any of the big things.

comment 10y ago · link · parent

The reason for that is that python2=>3 fixed several fundamental problems. 5.6 => 7 is just a incremental upgrade, whatever the version numbering tells you. Most of the PHP problems are still there.

comment 10y ago · link · parent

> It's far more than web-based IRC

How exactly?

comment 10y ago · link · parent

Perhaps it's slightly subjective, since I would place FreeBSD ports in between rpm and deb in terms of difficulty.

comment 10y ago · link · parent

> But why improve performance by switching to a language that's well suited to the task at hand when you can do it by switching to a language that's hip?

Because your question is loaded?

comment 10y ago · link · parent

php 7 is just as fast, or a teeny bit slower, than 5. Isn't that a rather interesting result, given how the php community has claimed huge performance increases in 7?

comment 10y ago · link · parent

What's a monthly cap?

comment 10y ago · link · parent

Does Scala fix the null problem?

comment 10y ago · link · parent

If we could reliably track politicians' money flows, their opinions, their comments and their actual actions in a system that's easily queriable, it might just be easy enough for the common people to be more aware of their rulers.

comment 10y ago · link · parent

Perhaps the question should be rather:

Why is

    Post::belonging_to(usre).load(&connection)
an improvement over

    SELECT * FROM posts WHERE usre_id = 1;
?

... to which the answer is probably more obvious.

comment 10y ago · link · parent

How they got Varnish to run so slowly is indeed an interesting result :P

comment 10y ago · link · parent

The sad Jolla tale made me seriously ponder about making a full change to Apple. I'm currently testing how an iPad Pro might work for a 95% laptop replacement.

comment 10y ago · link · parent

In what, a decade?

Seriously though, this is "Handling 1B connections in a week with Varnish".

comment 10y ago · link · parent

  - In the modern world, people are afraid of XML
      - 95% of people still don't understand XML namespaces
I guess that's one way of saying that something is too complicated :)

comment 10y ago · link · parent

Like all things in life, higher abstraction level of Haskell is not free. The price is more complex language (which many people don't have the capacity to properly learn) and less predictable runtime behaviour.

comment 10y ago · link · parent

If you think any young language can be as complicated as C++, you're trying to be cute or do not actually know how complicated C++ actually is.

comment 10y ago · link · parent

>Rust is a young language and I would be pleasantly surprised to see code written today still compile in five years.

Without changes to the code? Has there even been a language where that has been true?

comment 10y ago · link · parent

> As if with "modern" languages you would be safer. Poor new delusional kids.

That's a rather amazing quip. How would I, in my mid-thirties, accidentally write a buffer overflow in Haskell or Rust?

comment 10y ago · link · parent

The old site was broken, though: all the links lead to non-existent pages.

comment 10y ago · link · parent

> Node is javascript. You may want to run the same code on client and server, and it's simpler than compiling Rust to JS.

What would be the reason to do that?

12