skysight-inc/HackerNews huggingface dataset:
Reference counting is implemented by https://talloc.samba.org/talloc/doc/html/group__talloc__ref.... or https://talloc.samba.org/talloc/doc/html/group__talloc__ref.... (talloc calls this "adding a parent" - note it does do quite a bit more than just incrementing an integer.)

You're right that talloc has a memory overhead relative to smart pointers or a free_foo() function; talloc'ing up an int is very inefficient. Note that you can add a talloc-integrated "destructor" at zero marginal cost, so e.g. an array of a million pointers to individually-allocated int's could let talloc manage the vector and free the int's in the destructor. (That is, you can de-talloc part of a talloc'ed memory hierarchy.)

Additionally, malloc also has a runtime and memory cost; like talloc's, this cost is high enough to discourage arrays of pointers to individually allocated int's and low enough that it doesn't matter for arrays of int's. The one time I played around with talloc (for a network daemon), I didn't really run into any allocations where I'd hesitate to use talloc but not to use malloc. (I forgot the numbers; a quick Google suggests that talloc adds 96 bytes to malloc's 16 bytes of overhead.)

That said, just being disciplined about memory usage seems to work decently well, too. (For expert programmers with good tools, usually; it's a hard problem.)
Why does this have the title of 'best designed app'? I don't see anywhere that it has recieved this award, or is this just your personal opinion?
Judge Alsup's middle name is Haskell.
Procedural generation along similar lines has been used successfully for most of the vegetation in Pixar's "Brave", see http://www.cgw.com/Publications/CGW/2012/Volume-35-Issue-4-J... for some background.
Reminds me of infinity (from https://inovaestudios.com/), which I've been watching for the past few years.
It may well maximise expected value for a would-be founder, but that may not map to the founder's implicit utility function. Imagine you have two options:

Option A: 100% chance of receiving $1 billion

Option B: 50% chance of receiving $0; 50% chance of receiving $4 billion

The expected value of A is $1bn. The expected value of B is $2bn. However, most people I know would choose option A, although it has the lower expected value.
Check out "Elite: Dangerous" it has a scientifically accurate 1:1 scale, fully Seamless Milky Way galaxy using a mix of procedural generation with artist direction

http://elite-dangerous.wikia.com/wiki/Elite:_Dangerous_FAQ

http://elite-dangerous.wikia.com/wiki/Procedural_Generation
Except that actual biological evolution works via punctuated equilibrium, so it is possible to be living in interesting times.
As an alternative for anyone who wants to delve a little further into data mining, I'm currently taking the Stanford data mining class, STATS202. The book we're using has been really great (published this year) and covers a great deal more than this site seems to. It's called "An Introduction to Statistical Learning with Applications in R." It's free online through the Stanford libraries, but I'm not sure about accessing it for free elsewhere. The lectures are also probably recorded online somewhere, if anyone is really interested.
World Cup 014
Who will be the winner of the World Cup 2014? any guesses?
There's power in all those user reviews
Previous submission (with 252 points and 91 comments): http://news.ycombinator.com/item?id=5502878
Dylan: Eliminating copies in C-FFI
Wow, Lisp is pretty gross. There just doesn't look like a whole lot of order there, and it looks pretty annoying to write.
Dr Maurice Bucaille
most christians i know are not ok with evolution.
Japan accepted me with 10 years of working experience and no degree (studies 98% done, no intention to finish). The company that was hiring me applied for my engineer's working visa. I got immediately the three year working visa. I didn't have JLPT (Japanese-Language Proficiency Test) certificate either.

Apartment, moving (suitcase + backbag), traveling & the rest was handled by me. When pulling from the right strings and being very determined gets you far.
...or coders with two X chromosomes?

Allegedly 1.5% of open source software contributors are female. So you are more likely to win the lottery than finding yourself working with a black woman on an open source project.
Lack of time? Come on that's just a really lame excuse. It's hard but even with full school, full time work, part time startup, and two kids it's not that hard to find two three hours a week to do some os dev.
Every Nexus except the S and Galaxy had the best SOC available at the time (The one and 4 had them before any other android phone). The Galaxy was the first 720p smartphone. They are high end, just not at all costs.
Do these hacker news clones truly run on top of that LISP legacy stuff? Or are they rewritten?
Feedly (is Now) WAS Hijacking Shared Links And Cutting Out Original Publishers
I agree there are systemic issues of racism keeping blacks and latinos away from open source, but those issues have nothing to do with open-source per se. The free time issue is a big one. Access to computers at home in early childhood is probably even bigger. Consider Bill Gates getting computer access as a 13 year old in 1968, this was an incredible leg up, something which gradually broadened but when I was a kid in the 80s I was still relatively privileged to have access. These days the financial barriers are extremely low as you can get started programming on the cheapest netbook, and free wi-fi abounds.

These days I think getting into open source is great advice for minorities, and I think they will find it to be as close a meritocracy and "color-blind" environment as they will find in America today. That said, it is an inherently harsh environment to learn where there is a pretty low tolerance for beginners, and it could be quite discouraging for someone just getting their feet wet in programming. Also, if it's pitched heavily as a gateway to a lucrative career by parents and authorities a lot of people are going to be pushed into it who might not have the intrinsic interest to succeed in the pedantic world of telling a computer exactly what to do.

That said, one has to imagine that the number of blacks and latinos with a very strong potential to be good programmers is probably severely under-represented in industry as well as open source simply due to lack of early opportunity and privilege.
The Importance of Polymathic Pursuits
Talloc borrows the block hierarchy idea from halloc and extends it with destructors and some fluff. So if you need just the hierarchy, take a look at http://www.swapped.cc/halloc

EDIT - https://github.com/apankrat/halloc too
It may be worth asking why, but I don't think it's an actual problem, and especially not a problem that needs action to make the distribution of races/genders more fair. White men aren't preventing people from getting into open source software. Just the opposite actually - a few white men have made it extremely easy for people to get into OSS.
23andMe, Google-Backed Company, Halts Genetic Testing Services
Could someone please register the domain www.isdockerproductionready.com and put a big NO(later Yes) on this so I know when to catch up?

I love the idea and concept behind it so far but I sadly don't have time to check the status and read the relevant blog articles about every cool new OS project i'd like to follow... especially if they are so potentially business critical.

Am I wrong in my prioritization or do others have similar feelings in this regard?
Show HN: Here is a freeware IDE I developed and abandoned ten years ago
Singing 'helps those struggling to breathe'
Most browsers have a minimum font size option, I recommend you try it out.
And when I look back, I feel I should've made it OSS. The source was in a crashed hdd that I abandoned, and it was developed in VB and VC.
Very interesting

And a good example of why the 'exact' solution is often not used, because it's so slow
Any BSD does that.
It's a spectrum. Possible difference include copyright ownership of the work, applicability of the work directly to the business's goals, the reusability of the work as part of your portfolio...

...but if you're building something on a company's API to specifically get hired by them, it's effectively an unpaid internship, regardless of the license and the copyright.
hahahha nice! We actually made something that in sophomore year as a project. But that was on a much much much much smaller scale (5x5 matrix). We even fooled some people into believing the game had an AI player at the other end by giving the ball's input in that row :P so it mirrored the ball exactly! Was funny how the "Artificial Intelligence" was one wire connection!
The link is obviously facetious given that there is no single definition of what a scientist.

Though Maurice Bucaille is qualified in medicine not science, believes the bible is a load of trash anyway (paraphrasing here) and doesn't believe in a < 6000 year old earth.

"As for the Biblical genealogies which form the basis of the Jewish calendar and assert that today the world is 5738 years old, these are hardly admissible either. Our solar system may well be four and a quarter billion years old, and the appearance of human beings on earth, as we know him today, may be estimated in tens of thousands of years, if not more. It is absolutely essential, therefore, to note that the Qur’an does not contain any such indications as to the age of the world, and that these are specific to the Biblical text."

-- http://www.sultan.org/articles/QScience.html
The article is about "proxy.sh", a VPN provider who apparently doesn't log. The premise is, therefore, that one is safe when using the proxy.sh service.

Ironically, there is no link back to the article entitled "Proxy.sh VPN Provider Sniffed Server Traffic to Catch Hacker" which appeared just over two months ago on the same web site: http://torrentfreak.com/proxy-sh-vpn-provider-monitored-traf...
People! If you're interested in learning Neural Networks, please do yourself a favour, go learn them from a good textbook (e.g. http://www.cs.toronto.edu/~mackay/itprnn/book.html is free online), not these "online tutorials". I know, math-y books don't often make it sexy "for hackers", but it is really the only way to learn a math subject.
I was reading up on Monads because of the reactive course. [0] I translated the code in "Monads for functional programming" (the linked paper) to Python a few weeks back – [1]

Not sure if it will actually help anyone, but it did help me in realising that I had not understood some code, but had instead just glossed over it. The State Monad, for example. [2]

--

[0] https://www.coursera.org/course/reactive

[1] https://github.com/rm/wadler

[2] https://github.com/rm/wadler/blob/master/wadler-2.8.py
Sorry to spoil your fun, but HAMMER doesn't work on Linux, at least nowhere as well as ZFS.
An ambitious experiment in Data Science takes off: a biased view from Berkeley
Real music by real people 
High school guys form a rock band, write a song and make a HQ music video-all on their own!
Analysts Say EA's Stock Agony Continues Due to Battlefield 4 Glitches
It doesn't have to be explicit "use X% of your time to contribute to open source" to count as getting paid to do it.

When using OSS libraries on commercial products I've found the need to fix bugs or other problems and have sent pull requests with those changes afterwards. Granted not all clients approve this, but I wouldn't describe it as "few-to-no other companies" that allow it.
Hacker News + tags: http://hubski.com/tag?id=bitcoin
A floor, at $179? I bet companies will find a cellar or two below that price point, at lower quality. $179 is a lot of money to many people, even inside the USA.
I think production ready is relative. People have different risk appetites.
true, also i find the way mouse acceleration works in OSX quite annoying for games.
Google can’t search for vendor-specific CSS propertie
Hi,

Yes, I agree, and it is part of the reason why I am amused. It's so cute the way they have no idea what most of that means.

I mean, yesterday I learned that my father had bought a laptop with Windows 8 from a Japanese person, but had someone install Windows 7 afterwards because Win8 was in Japanese. He also bought a new keyboard because neither he or the person who installed the 'new' OS knew how to type "áéíóú" etc on the Japanese keyboard (yes, I configured the keyboard layout for him yesterday).

Now, be honest and tell me: is it not amusing to think this is the kind of people who are comparing operating systems? Is it not even more amusing to think that people who write blog posts about it should know better?
Hierarchical memory allocations are a great concept. But Samba's talloc is kind of bloated, with all the reference counting, destructors and stuff.

Here is a simple, 200-line version of just the hierarchical allocator: https://github.com/esneider/talloc
Sure, but many of us are lazy and don't have the motivation to work so much. The thing is, if you have two populations with roughly the same amount of lazy people, but one has on average more free time, it's more likely that it'll produce an higher volume of contributions to FOSS projects.
Show HN: a JSON validator for tricky corner cases
It is not every day that you can find a usability issue with the planet's most popular search engine! :-) And it's ironic that this issue is related to a basic need of web designers on the planet's number one website!
How do people live without package managers? It's complete chaos!
Check out gensim if you want to do topic modeling or similarity comparisons in Python.

http://radimrehurek.com/gensim/

It has good implementations of various algorithms, some of which support streaming or dirstribution, and it allows loading and dumping data in various formats.

I've used it for building content based recommender using tf-idf, lsi and similarity index. After the index is built, queries to it are really fast. It can handle quite large corpuses with little memory.
>One of the spaces you might think would be a gateway for developers of color to enter the industry is through open source software development. You don't have to know somebody or have a degree in software engineering or get hired to participate in an open-source project. You can jump right in and start writing some code.

This sounds like the author is resigned to the fact that colored people don't go to college. Is that the premise of this article? What about the tiny percentage of colored college students why have any interest in software development?

>But in Haibel's experience, the open-source world is even whiter and more male than the world of proprietary software. "It's very clear that the open source community is whiter than the software community as a whole," she says.

Wait, this seems to imply that the fact that there aren't many women or colored coders is because the white men in charge refuse to hire them on this basis. This is in stark contrast to reality where the fact that is not mentioned here is that there is little or no interest to code from these groups.

>There are larger societal factors that contribute to the whiteness of the tech world, more broadly. Blacks and Latinos are more likely to attend under-resourced schools, they're underrepresented in math and science fields at every level of higher education and increasingly so the higher they go, and are less likely than whites to

This is such garbage. Blacks and Latinos in the same schools and in the same socioeconomic status as their White, Asian and Indian counter parts become coders at the same rates. Why do journalists always try to make everything about race unfairness?

There is no story here. Blacks and Hispanics aren't coders very often because they don't have ambition to do that. Wither it be cultural or genetic is not exactly known but it is not because they are disadvantaged. what is all this crap about them contributing to open source?

Would we ever see an article about how Indians and Persians are overrepresented in gas station and liquor store ownership (a very lucrative career) and how white people should do x to catch up? White people don't aspire to do that, end of (non) story.
Linux always loses? People who do this don't even know Linux exists!
The fact that you can still squeeze in two-three hours a week to do some os dev is a really lame excuse for working that hard; there is more to life than work.

And there are those with more time obligations than what you've listed on top of struggling to make ends meet. Not everyone, granted -- and for some, lack of time will
indeed be a lame excuse -- but it sounds like you're generalizing to everyone.
> Suggesting that white males are more selfless is a bullshit answer.

I think parent was saying white male people shouldn't be shamed for participating in a "selfless" activity even if they're over-represented in that activity. I don't think parent was implying white-male people are over-represented in that activity because they're more selfless.
Why privacy? "The power of mind over mind"
>I agree there are systemic issues of racism keeping blacks and latinos away from open source, but those issues have nothing to do with open-source per se. The free time issue is a big one. Access to computers at home in early childhood is probably even bigger.

You have been watching too much MSNBC.
Young Blacks and Latinos watch 3-4 hours of television per day and play 2+ hours of video games. There goes your free time belief.

Access to computers and internet? Poor blacks compared to poor whites have the same resources to computers yet the poor whites become coders in the same percentages as the general population.

You are 0 for 2.
Luck of the year on the street
Very big luck on the street.
Cool Video! By the way, in the video, by "Hydrogen Dioxide", I am pretty sure they actually meant actually meant H2O - "Dihydrogen Monoxide" or simply "Water".
Well his arguments are based on past experience, not current day trends.
In search of the obvious answer
Lack of time? Come on that's just a really lame excuse. It's hard but even with full school, full time work, part time startup, and two kids it's not that hard to find two three hours a week to do some os dev.

When it comes to teaching yourself to code, two to three hours per week is lame, what you learnt in one week is likely to have been forgotten by the next.
I don't watch TV and I said a lot more than two things you narrowly dismissed with a few convenient and cherry-picked "facts" Mr. Holier-than-thou.

If you don't think poor people (not ones still living under their parents roofs) have less time than middle class people then you have never been poor.
Kafka would have been proud of the government's arguements in this trial.
Theory of consciousness: Can Science Explain the Soul? (2010)
(I'm just a guy interested in BM, not involved with development, yet)

forward secrecy is helped by 2 things: you cannot know who is the recipient of a message, so if you want to store the messages to be able to decrypt them in the future when you'll have obtained their private key, you'd have to store all the network messages

If you're worried by such an attacker, you can just create a new identity for each message, just like you can create a new bitcoin address for each transaction

Pond seems interesting, but quite different from bitmessage, especially I like bitmessage because of its user-friendliness (the UI needs lots of improvement, but you just download it, create an identity and off you go... I doubt about the feasibility of getting the whole world to use TOR, especially people in China/Iran or "my parents")
Well, people do tend to ruin and scar everything. I'd leave people out completely. Play the game as an animal!!!
Both DragonFlyBSD and FreeBSD have improved their scalability on SMP systems over the past year or so. FreeBSD's improvements started in 9.1 and continued in 10; DragonFlyBSD claims to have eliminated nearly all lock contention within the kernel as of it's recent 3.6 release, and initial results look very promising.
Too simple ;)

void * p;

p = talloc(1, NULL);
talloc_set_parent(p, p);
tfree(p);
I don't know how "spooky action" differs from this except in the way the process gets described.

Because, when you put the white stone in one jar and the black stone in the other, it's decided. One of them does contain a white stone. One of them does contain a black stone. The universe "knows" which is which. The decision has been made.

With the entangled particles, it's not decided. You separate them, and you do NOT have one particle in "up" state and one particle in "down" state. That decision has not yet been made. It's not the case that one of them is "up" and you just haven't checked yet; one of them is not "up". One of them is not "down". The decision has not been made. One will be "up" and the other "down" when the decision is made, but that random decision has not yet been made.

You then move them a long way apart, and look at one of them; the decision is now made for BOTH of them, even though they're very far apart.
Reader macros allow you to write parser functions for characters. So you could write a reader macro for { such that it collects all enclosed content until a } character. The it could transform that content and return the transformed result. The result is always Lisp data, not a string. How you transform the enclosed text is up to you.

Common Lisp itself tries to minimize its usage of characters. It is expected that users or libraries want to make use of characters like {, }, [, ], and many others.
I don't think he swatted them all away. He let some things slip by, although I've no doubt it was not spontaneous "let my guard down and got caught accidentally" on Paul's part.
love it! great work guys!
The Planning of Pearl Harbor
How to sell an app idea?
I am a hobby Android developer and have a pretty good app idea which does not exist yet.

My problem is, that i does not have the necessary development and marketing resource.

Therefore the question is, how can i sell this app idea?
try this http://smoothmouse.com/
You cant. But, the poster didn't do that at all, didn't even mention the video. The post is short, so its not hard to see that.

My skeptical question would be: how can you set a mission in a genuinely dynamically generated world? For example, you might not even know that a bit of land will exist where you want the mission to begin. But, maybe I'm missing something obvious.
In evolutionary biology and anthropology "Everything is the way it is because it got that way".)

Gold was cross-culturally "evolved" (due to ancient trade and customs) to be recognized as a precious metal suitable for garments, wealth storage and, consequently, payments for no other reasons but being good enough.
Apache has a nice system where all allocations come out of pools. http://apr.apache.org/docs/apr/2.0/group__apr__pools.html

You can then create a new pool to handle a single http request, then discard the whole pool with one free when the request has finished.
Why The USTR Is Working So Hard To Kill American Innovation And The Economy
I agree on this. If you need example, Spotify is running Docker in production: http://www.slideshare.net/rohanrsingh/docker-at-spotify
Yep, you can also do

void *p;
free(p);
free(p);

Don't get me wrong, I get where you are going. But C philosophy is that libraries shouldn't do expensive checking to detect programmers' errors.