News for hackers. Stuff that matters.

vpkaihla

Re:We don’t know how to build conversational software yet on Wednesday April 13, 2016 @01:30AM (#11485969)
Should we come up with a language that's easy to teach for both computers and humans? A sort of generic human/machine DSL?
Re:Running Emacs on Android on Saturday April 09, 2016 @03:03AM (#11460294)
Would spacemacs work on Android?
> 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.

Re:Cross-platform Rust rewrite of the GNU coreutils on Tuesday March 22, 2016 @05:22PM (#11340052)
>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.

49% of US billion-dollar startups were founded by native americans?
Re:How Badoo Saved $1M Switching to PHP7 on Tuesday March 15, 2016 @06:54AM (#11288721)
So python will be better in version 3 and people will move to better languages? Sounds like a win-win to me.
Re:How Badoo Saved $1M Switching to PHP7 on Tuesday March 15, 2016 @06:47AM (#11288693)
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.

Re:How Badoo Saved $1M Switching to PHP7 on Tuesday March 15, 2016 @03:27AM (#11288048)
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.

Re:How Badoo Saved $1M Switching to PHP7 on Tuesday March 15, 2016 @02:37AM (#11287886)
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.
> It's far more than web-based IRC

How exactly?

Re:AppImage: Linux apps that run anywhere on Sunday February 28, 2016 @05:56AM (#11190618)
Perhaps it's slightly subjective, since I would place FreeBSD ports in between rpm and deb in terms of difficulty.
Re:Go from PHP engineer's perspective on Friday February 26, 2016 @06:48AM (#11180936)
> 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?

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?
Re:What 5G Will Mean for You on Monday February 22, 2016 @09:48AM (#11151073)
What's a monthly cap?
Re:Scala 2.12 roadmap on Saturday February 13, 2016 @03:24AM (#11093222)
Does Scala fix the null problem?
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.
Re:Diesel: A Safe, Extensible ORM and Query Builder for Rust on Saturday February 06, 2016 @07:42AM (#11047543)
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.

Re:Handling 1B requests with Symfony 2 on Wednesday February 03, 2016 @07:16AM (#11026041)
How they got Varnish to run so slowly is indeed an interesting result :P
Re:Tablet shipments decline 10.1% in 2015 on Wednesday February 03, 2016 @05:07AM (#11025684)
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.
Re:Handling 1B requests with Symfony 2 on Wednesday February 03, 2016 @05:03AM (#11025671)
In what, a decade?

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

Re:Ask HN: What should replace XMPP? on Thursday January 28, 2016 @01:49AM (#10986756)

  - 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 :)
Re:Announcing Rust 1.6 on Friday January 22, 2016 @06:16AM (#10952076)
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.
Re:Announcing Rust 1.6 on Friday January 22, 2016 @02:14AM (#10951261)
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.
Re:Two Weeks of Rust on Tuesday January 12, 2016 @01:10PM (#10889127)
>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?

Re:Unix Delenda Est (2015) on Sunday January 10, 2016 @08:06AM (#10875180)
> 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?

Re:Spacemacs 0.105.0 released on Tuesday January 05, 2016 @01:58AM (#10841741)
The old site was broken, though: all the links lead to non-existent pages.
Re:Neon: Node plus Rust on Thursday December 24, 2015 @07:43AM (#10787981)
> 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?

Re:Phan by Etsy – A Static Analyzer for PHP 7+ on Tuesday December 08, 2015 @12:17PM (#10697771)
No, the set of problems where PHP is the correct tool is rather small: 1) existing PHP codebase and 2) small webpages in need of little dynamism.
Re:Python 3.5 type hinting in PyCharm 5 on Wednesday November 25, 2015 @01:24AM (#10625678)
Compared to C#, it doesn't require you to run Windows in production.
Re:EU proposal to clamp down on Bitcoin curb terrorism funding on Thursday November 19, 2015 @09:02AM (#10594762)
Perhaps we should be looking at GNU Taler (https://taler.net/) instead. They're supposed to provide personal liberty and many of the other benefits of crypto currencies, but without criminal security.

Older »