News for hackers. Stuff that matters.

geekingfrog

Why do people need to know about this magical thing? Isn't that enough if you solve a problem? Interested people will look for solution and find your magical thing, no need to add to the general cancerous spam of "hey, I'm sure you're going to find that thing awesome, even if you don't need it"
Re:Modern garbage collection on Tuesday December 20, 2016 @03:17PM (#13223534)
It's addressed in the article. Basically, you can mimick that with a generational GC as long as the youg generation space is large enough to hold all objects from a request.
Re:The Rust Platform on Thursday July 28, 2016 @01:06AM (#12178414)
String: Linked list of Char. Nice for teaching, horrible in every other aspects. Text and lazy Text: modern strings, with unicode handling and so on. ByteString and lazy ByteString: these are actually arrays of bytes. Used to represent binary data. Because haskell is lazy by default, and sometimes you want strictness (mostly for performances), there are two variants of Text and ByteString, and going from one flavor to the other requires manual conversion.
Re:Distributed Systems in Haskell on Monday June 13, 2016 @04:28AM (#11892367)
Great post. How much knowledge and experience of haskell did you have before starting this project?
Re:Moving Forward on Basic Income on Wednesday June 01, 2016 @12:49AM (#11812107)
Except that the wealthy don't pay that much taxes in the first place.
Re:How to Write Unmaintainable Code (1999) on Friday September 18, 2015 @05:12AM (#10238181)
Does readable MUMPS even exist?
Re:The Future of Developing Firefox Add-ons on Friday August 21, 2015 @11:08AM (#10097979)
xpinstall.signatures.required should be the setting you're looking for.
Re:Soylent 2.0 on Monday August 03, 2015 @09:26AM (#9995574)
There are plenty of alternatives in the EU: https://queal.eu/ http://mymana.eu/ https://www.joylent.eu/ https://jakeshake.eu/

and many more I'm sure

Re:Are Your Devices Hardwired for Betrayal? on Monday March 02, 2015 @09:23PM (#9135763)
what? off topic
Re:China Just Blocked Thousands of Websites on Tuesday November 18, 2014 @04:40AM (#8623135)
After living in China for a few years, I understood something: the only thing chinese government cares about is its longevity. The whole system is designed to keep the party in the control seat. Economic growth was a way, now that's is slowing down, the party is finding other ways, but it would be a mistake to think chinese economy is more important than power for the party.
Re:Show HN: Poll – Voting done simply in real time on Monday October 06, 2014 @04:32AM (#8414827)
Looks nice, but the pie chart is really not a good choice. It's not clear at all which choice is the winner when some are close (among other things). Add an option to change to a bar chart or something else, or change the default please.
Re:So you wanna try Deep Learning? on Sunday August 10, 2014 @07:22PM (#8161150)
Be careful about spending resources on collecting useless data though.
Re:Adventures in Cognitive Biases on Saturday July 12, 2014 @11:36PM (#8026561)
This effect comes from the effect of regression to the mean. Some people will vastly overestimate, while some people will vatsly underestimate, thus cancelling out.

It holds as long as the people used are very diverse (not under the same cognitive bias) http://www.socialresearchmethods.net/kb/regrmean.php

Re:Best of Vim Tips on Wednesday June 25, 2014 @09:20PM (#7947666)
One very useful advice when it comes to 'what to memorize' is trying to always watch yourself using vim. If you happen to do something repetitive, ask yourself: is there a better way to do it? How to automate it? And then, commit this new tip to memory. This way, you actually only memorize what is directly useful. This tip has served me very well.
Re:Class Hierarchies? Don't Do That on Sunday March 30, 2014 @08:31PM (#7498717)
It's a very good book. It explains a lot of 'why' and inner working of good practices.

It's also fairly comprehensive, ranging from - some evilness (type inference with ==, eval and its performance toll) - functions and higher order functions - objects and prototypes. Some good explanations of the all prototype and constructor thing - array, dictionnary and some things to know about their prototypes - api design and concurrency

It's 200 pages full of content, I recommend it.

Re:Ask HN: What is the newest hobby you have picked up? on Wednesday March 19, 2014 @05:12AM (#7427436)
I'm spending most of my time on ice, learning figure skating