skysight-inc/HackerNews huggingface dataset:
Garbage trucks have to visit every edge (street segment)
once, not every vertex (intersection) once, correct? Can you use Eulerian Paths?

http://en.m.wikipedia.org/wiki/Eulerian_path

Or is the process to make a non-Eulerian graph Eulerian NP?
Awesome. This guy should definitely work for RapGenius.com.
No different to "Facebook.com/BigBrand"

if that's where most of your audience spends their time online fighting it might be foolish
Should I design my exams to have time-pressure or not?
Snopes on the Santa/Coca-Cola myth: http://www.snopes.com/holidays/christmas/santa/cocacola.asp
No it's not. URLs enable users to link to content. People blog, email, post to Facebook, do all kinds of linking. And no, it's not always using the FB/Twitter buttons. They do know that a url is an address and what an address is for.

If you tell me the url is still accessible, you are contradicting yourself.
I had one for Ruby on Rails, Ruby and PostgreSQL for a year around 2008-2009 or something. Omar was is his name.
Helped tremendously and I owe him.

Should probably catch up again.

If you're interested, there are some mentorship programs on rails-bridge
I believe you're looking for The Anatomy of Type: http://www.amazon.com/The-Anatomy-Type-Graphic-Typefaces/dp/...
These days if you have them in your address book you can just start typing their name and then pick from a list.
Yeah. Bad use of 'patent' maybe. Just interesting that the same arguments are provably going around and around.
I know, my english is not very accurate (I'm french). Feel free to do some pull-requests to correct my grammar errors, it'll help me a lot ! Both for this website and my english. Thank you !

Note that you shouldn't be confident using it too, it's still a very early project and, at the beginning, it was only meant to be used by me ... But I intend to make it much better !
I said out loud before clicking the link that DMX would likely be dead last.
It doesn't. The benchmark clearly shows that V8 is faster than JXCore, because lower scores are worse.
Github should really just enable the developers to specify the language of their repo by themselves. Bitbucket get this right in the first place. Auto detection for language sounds cool, while doesn't work for most of the web project.
In theory this setup would be perfect. In practice it is a nightmare because the software makes managing media split across multiple file systems that may or may not be available at any given time very hard. It is particularly bad within the Apple ecosystem. iPhoto really wants your entirely library in one folder on one disk. The iCloud photo stream options do well at syncing but cannot handle the model of store all my photos in the cloud and cache the recently taken/commonly used ones locally.

There are cloud services that solve this but they have their own set of issues. Many are expensive compared to basic direct/network attached storage, others require photos to be public, others come with dubious guarantees that they will still exist next year.

I get a call from my sister with a 128GB MacBook Air every month or two asking to remind her how to move her baby photos/videos to her external drive. Every time we do it I am surprised how complicated and error prone the process is (we've managed to accidentally permanently delete photos). If anyone has a good recommendation for an alternative to iPhoto (and not cloud based) that understands the concept of archiving photos to a network/usb disk that is not always present I would love to hear them.
I believe these pairings are based on the frequency they appear together on the web — not on any kind of aesthetic or functional judgment. I would take them with an enormous grain of salt.
you could -- that isn't "partitioning" in the way I discuss it in the linked article

when it is split across machines it is generally referred to as sharding: http://en.wikipedia.org/wiki/Shard_(database_architecture)
Javascript is really hard to measure I believe, the numbers are always skewed because of 3 things:

1. A lot of repositories include 3rd party libraries.

2. A lot of software includes a web interface, even if the backend language is something else, but the LOC for Javascript can be equal or even higher because of 1.

3. JSON is counted as Javascript sometimes
Zombies once destroyed Japan's economy, now they're infecting China's
> Fourth case - situations in which you have a scalar quantity, and do not care about positive or negative.

This is actually where you have to be really careful, because there can be corner cases surrounding zero. E.g.:

for (i=len-1; i>=0; i--) { ... }

Yes, either ints or unsigned numbers can overflow, but underflowing a natural number is much more common.

Don't take my word for it, ask Bjarne Stroustrup or Chandler Carruth: http://stackoverflow.com/questions/18795453/why-prefer-signe...
Some people postulate the meaning of life resides in God.
So I wonder then, what the meaning of God's life would be?

Simply adding recursive complexity doesn't solve the question, but now you have two problems.

For the record, I think the real problem is the question. It supposes that "meaning" can be something outside of what we experience and I don't believe it can be.
Life is overcoming entropy.
Sorry, Rexxar. Now that I read back over the comment I have written, I can understand why you may think it is spam. Actually, I am the creator of NoTex, and I was just trying to give everyone my contact information. I thought since the discussion is about my product, some folks might want to talk directly about it with me.
> Japanese numbers don't lend themselves as easily as Chinese to these double meanings. Japanese words are quite long compared to Chinese ('wo', is Chinese for 'I', the Japanese equivelant is 'watashi')

I think this is false. Japanese is quite rich for this. It's not worth debating whether Chinese lends itself more to this than Japanese, but as a Chinese speaker (cantonese and mandarin) who speaks Japanese, I find that Japanese is more versatile than Chinese.

Here's why:

1. all the digits have multiple pronunciations.

2. despite your point that many japanese words are monosyllabic, japanese are notorious for shortening their words and maintaining the meaning and also there are the chinese pronunciations ("on reading" vs "kun reading") so there are often monosyllabic ways to pronounce it.

3. additionally, for a given word, there are often tons of different (seemingly sensible) ways to pronounce it. This is confusing to everyone, including japanese nationals. they basically are just really good at figuring out meanings. I often have no idea what the correct pronunciation of written text is, but I know exactly what it means. This is true for japanese nationals as well. here's a great video of a game where japanese people try to guess how to pronounce kanji: https://www.youtube.com/watch?v=sY63F5wIPzc

Ultimately, the language's ability to be able to be used in the described way depends on the ability to map the pronunciations of digits to other meaningful words. Having a smaller set of sounds leads to more overlap.

Japanese and Chinese both have the property of having single syllable digit names tons of single syllable words in the language to map to. (even though arguably in Japanese "ichi" [1] or "nana" [7] are 2 syllables, "i"" or "na" would be acceptable -- also, in Japanese "shi" and "yon" are both acceptable single syllable ways to say the number 4)

Basically either is ripe for double entendre (not sexual, though possibly that too... for example, in cantonese, you can pretty much say any number to mean penis, though usually with the wrong tone)

(edit: I just wrote a longer detailed explanation of this with examples of neumonics for square roots one comment level above this.)
Calling programming a dead end job is kind of outrageous. I normally associate the phrase "dead end job" with stuff like pizza delivery, or some of those severely monotonous office jobs like data entry or working in a call center. Most people would perceive programming to be an excellent job. A good wage, enjoyable/challenging work, and loving what you do: there are many who would love to be stuck in that kind of dead end.

edit - Somehow, I goofed and lost the rest of my post. Anyhow, I noticed that in a separate blog post, the author said something like "Programming isn't just a job for me, but a way of life." I questioned whether that is something you can say of a job that is truly dead-end.
This definitely dampens the usefulness.

It's like the author knew it was a bad idea too (he put noexcept(false) on the destructor; without which in C++11 the program terminates immediately when an exception is thrown from destructor).

If there's some way to avoid terminating when there's a double exception in the destructor, that would be good to hear!

One simple way I can think of is to reuse the same variable instead.

ThrowOnError throw_on_error;
std::cout << libfoo_create_widgets(1, &c1, throw_on_error) << libfoo_create_widgets(2, &c2, throw_on_error);
Why not just hash popular files and don't count ones that match?
In summary, finding the meaning OF life (to quote Dan Barker - thanks @hawkharris) is to find the meaning IN life, for you personally.

A the end of the day, we look for the meaning of/in life to ultimately be happy, or at least content. For that, we need a "purpose", and the philosopher Daniel Dennentt has some good advice here:

“Find something more important than you are, and dedicate your life to it.”

So, how do you find your purpose - something that is "more important than you are"? For many people, the answer is based in religious belief. Others may find value in a letter penned by 20 year old Hunter S. Thompson:

http://www.brainpickings.org/index.php/2013/11/04/hunter-s-t...

Key quote:

"In every man, heredity and environment have combined to produce a creature of certain abilities and desires—including a deeply ingrained need to function in such a way that his life will be MEANINGFUL. A man has to BE something; he has to matter.

As I see it then, the formula runs something like this: a man must choose a path which will let his ABILITIES function at maximum efficiency toward the gratification of his DESIRES."

I would add that the DESIRES need to be aligned with, and perhaps subservient to, that thing which is "more important than you are", otherwise ==> hedonism.
> "There is no meaning of life -- and that's a great thing: it means that there's meaning in life."

I find statements like this meaningless regardless of how many deities exist.
If you're looking for a mentor and C, SQL, fullstack webdev, Python, and/or Django interest you, drop me an email (see profile) :)
Source code protection? I guess this is some form of security by obscurity when distributing to clients? If it's for in-house code, why would you limit it to the set of data covered by this framework rather than proper encryption for your whole project?
You must be using big words in case someone does the analysis on HN comments.

Definitions:
Vernacular: ??
Lexical analysis (in this case): ratio of unique words to non unique words
Lexical density: What persent of the words is unique?
Very Important Strangers
Tap dancing
Tap dancing
Podcasting in peril? Trial showdown in September
Computer system automatically solves word problems
You might not be giving people enough credit, people without CS degrees have been using URLs in emails and forum posts to link to information for years.
I don't think that what I wrote was off-topic, because poking fun of Southern White society was a major theme throughout the entire article, not just the part I quoted directly.

And my subsequent posts clarified my viewpoint, and weren't written in inflammatory language. It's not my fault that some people immediately associate the use of the term "White" with a crazy Stormfront posting neo-Nazi. How else am I supposed to refer to the subject matter? Using White in a negative context seems to be fine.

If a lot of people think that using terms like "White culture" makes you a neo-Nazi, then that precisely confirms that the viewpoint I was parodying in my first post is alive and well.
Hiring your best friend as a co-founder
Assuming it's not a Windows shop, if you've never learned much about unix, work your way through this: http://www.compsci.hunter.cuny.edu/~sweiss/course_materials/.... Or study xv6 for four months. Or work through the coursera compilers class. Basically, picking a foundational area of CS and spending four months on it will pay off for the rest of your career.

My career has been a constant process of letting go of being afraid of how the "low-level" and "wizardly" stuff works, and finding out it's not as scary as I feared.
Whoosh!!!
If at first you don't succeed, then skydiving isn't for you.
So it seems.

But life itself is simply sunlight falling to earth if you think about it biochemically.

In other words as far as we know, life is a channel for and manifestation of entropy.
Well, that is about the best compliment I've every heard. thank you!
Incredibly, a list about rapper vocabulary is missing anyone associated with nerdcore.

I'm interested to see where the likes of MC Frontalot, Wordburglar, YTCracker, etc. rank on that scale...
I remember the grid, even attended the first summer school about it.

As for being bloated, kind of. When I was there, a huge issue was every group having their own threading libraries and the multiple failed attempts to merge them into a single one.
Which I find very frustrating as it sounds much more similar to liu (6) when pronounced in my crappy Chinese than yi does.
What about the third option: be sole owner of a (hopefully profitable) private company?
I find certain higher level concepts become much easier to grok when you've drilled/memorized the layer below. When I tutored calculus I found that most people rely struggled with the algebra, for example factoring and binomial expansion.

I think there is actually value in memorization. Even in the age of google.
Your nanobattery reference cites a capacity of 580 WH/liter energy storage density.

This compares with 10,690 WH/l for liquid hydrocarbons (scaling a barrel of oil equivalent to liters and converting to watt hours).

That's roughly 5% the energy storage density of liquid fuels.
Performance is measurable not in years.
> Shakespeare’s vocabulary: across his entire corpus, he uses 28,829 words, suggesting he knew over 100,000 words

Why does that suggest he knew over 100k words? Maybe it means he knew 28,829 and used all of them? Would he really know over 70,000 words he never used in his works? What would those 70,000 words be? Probably very obscure ones. How can you know that many obscure ones?
Shouldn't that be adjusted to the size of the text corpus?
Trying to talk about these things in Western circles is kind of curious. I could make these points with my Native-born Asian friends from college just fine. Actually, I can see some of them saying these things outright. There's a weird line drawn where you can say "A Chinese copy of Github," with all the implications it entails, but you can't go further than that. In my mind, the title is inflammatory; I was borderline being apologist, and suggesting there are ways in which the West is no better, which means that no one is happy.
Once you have a mixed graph (One-way streets and two-way streets), the problem is known as the Mixed Chinese Postman Problem and is NP.
XBMC 13 Gotham released
The main difference between shell scripts and Ansible playbooks is that shell scripts are imperative, while playbooks are declarative and idempotent.

A shell script will be something like

install this package
create this file
change this line in a configuration file

While a playbook is like

make sure this package is installed
make sure this file exists
make sure this line is like this in this config file

What happens if you want change something in your configuration script? In most cases you can't just replay a shell script, because it will try to do a lot of things that are already done and it is very hard to write idempotent commands.

Ansible on the other hand only performs the tasks in the playbook that need to be performed: if the condition is already satisfied, there's nothing to do.

This is especially convenient if your script fails at some point: you can fix the directive and replay the playbook, and it will restart from where it left off. With shell scripts you have to do it manually (comment out the first part?), which is error-prone and time-consuming.
Standard JS community brain-damage. Come for the hype, stay for the sunk cost of learning all those awful quirks and flaws.
all 9s..in multiplication take second muliplicand subtract one and that is the first digit of the answer..now take that first multiplicand and subtract that first digit of the answer and that is the second digit of the answer

memorizing without knowledge is for chumps!
The article doesn't mention it but energy is stored in a "molten salt storage tank".
I believe the official policy is to assume everyone is planning to remain illegally and it's up to you to prove otherwise (e.g. by showing ties to your home country)
Supreme ignorance about the corruption of campaign finance
This might be the best-made infographic I've ever seen.
Not the curly brace itself but I find it a good marker for a block of code. Something should mark the start and end of a loop or conditional. Bash has esac, fi, and done, for example.
> I see little point in trying to ascertain the "meaning" of life. From what I see, life itself gives birth to the concept of meaning not the other way around.

Did you actually listen to the talk? He comes to the same conclusion.
Duplication in Tests Is Sometimes Good
Just a note, those artists don't necessarily use all their vocabulary. Eminem for example clearly holds back on his vocabulary. Rap is as much an art as anything can be so there are all sorts of factors. Be careful what you might want to draw here other than curiousity.
Vocabulary has for a while been considered in terms of 'receptive' and 'productive' capacity, with the assumption being that ones 'receptive' vocabulary can be larger, since it is easier to hear/read/understand a word than it is to use it correctly in reading/writing (this is not necessarily the popular opinion anymore [http://www.readingconnect.net/web/FILES/english-language-and...] but may provide the context for the claim about Shakespeare). The notion is that you are able to understand more words than you commonly use in your speech/writing, which is on some level intuitive, although of course it is an empirical question.
>In other words, C gives you a combined hammer and gun, while Nimrod gives you a separate gun and hammer.

That made my day
This property also makes wifi network passwords easy to guess - generally stores just set it to be the store's phone number.
It's important to be careful with our definitions. Hedonism in everyday language refers to minimizing pain and maximizing pleasure, with those two words defined imprecisely. The fact that people may derive utility from experiencing pain, both directly (enjoying pain signals themselves) or indirectly (choosing to suffer pain for some "greater good," like a sacrifice for a family member), is usually ignored in the everyday definition of hedonism. Of course, if we define hedonism to mean "people should do what they decide is the best thing for them to do," then it's a fairly obvious thing to support, mainly because it's impossible for a human to do otherwise because of the definitions of "should" and "best."
I don't think any of those reasons explain why the Intrade markets were unpopular. The problem wasn't a lack of markets, deposit interest or fees. I don't think there were any restrictions on customers until after the CFTC charges were filed. I have a hard time believing that counterparty risk was meaningful.

In fact Intrade realized that the only markets people were interested in were sports markets and have focused exclusively on that area since the relaunch.
Ask HN: a bookmarking app focused on the content
Hi,

I've been thinking for some time about this idea, an app (a bit like getpocket.com) that given a link extract the valuable informations out of it but not limited to articles. You give it a Flickr photo url and shows only the photo, a vimeo video only the video player,...

You could organize those links in list and share them with everyone else like many other bookmarking apps do but more focused on the real content.

What do you think?
Which type of content/websites would you like it to support?
I actually hope it does get killed, or officially sanctioned, but what I don't want are three versions of Idea Sunday, two versions of Fail Faster Friday, et cetera, polluting HN.
I guess submission titles do matter. Thanks for the link.
Except back then, you had your app running on the machine all by itself. And there was no need for security -- if putting in a magic input string caused some weird behavior, well, "don't do that". Whereas today that would be considered a security bug (even if your app isn't directly used by non-trusted sources, it could be in a deep toolchain used by some other app).

Not to mention, that when you shipped for an Atari 800, or Vic 20, you only had to test against that -- not an Atari 800 with a Nvidia Graphics chip, vs. a Matrix chip, etc.
I read the transcript.

I don't think you understand what I am saying. We don't come to the same conclusions. I'm saying the concept of "meaning".... not the "meaning of life" is something derived from the property of life itself. Therefore using this concept to ask a question in a larger context probably isn't valid.
I can't read a single word on that slide. Someone have the text?
The author addresses the "Why is $RAPPER not on the list?" on the larger reddit threads:

http://www.reddit.com/r/hiphopheads/comments/24neym/rappers_...

http://www.reddit.com/r/dataisbeautiful/comments/24nw9p/rapp...

My gut feeling is that the nerdcore guys would be decidedly middle-of-the-road, but I'd love to see the result!
Yeah, I didn't have one, I guess. I was hoping to get notifications from this thread, but no. :-(
To add onto this, my boss is very well renowned in his field. Is it generally ill-advised to have a boss that is also a mentor?
You could offset the "tap the first picture" effect by e.g. randomizing the order the pictures are shown, weighting the votes of serial "top clickers" less, etc.
Right now, Nimrod uses thread-local heaps (similar to what Erlang does). Threads can communicate via channels, and you can access global variables or the shared heap unsafely if that is needed for performance.

My understanding (from talking to Nimrod's author) is that the concurrency model is still being finalized, but that safe shared memory is going to be part of it.
This is the great problem of liberals in the US. World-wide of course it's a far greater problem. Liberals espouse democracy, but the majority of the US wants religion, conservativeness and the like.

World-wide the situation is far, far worse. In case you haven't yet noticed, most of the world still isn't Christian, and every other faith wants some variation of killing gays ... some faiths want them killed on sight even. The number of people wanting that is not really known, but reasonably, it's somewhere between 4 and 5 billion.

Liberalism is self-interest of middle class and upper-middle class people. But as you say, those social classes are disappearing, and not just because they don't seem to be having any kids.

The sad truth is, unless something fundamentally changes, the end of liberalism won't need to wait until the next generation, because those classes are being eliminated. You could say that it's economic policy, but that's not really true. I'd say technology and improved large-scale efficiency is mostly responsible. And that's inside America and Europe, in the rest of the world nothing remotely resembling liberalism stands a snowball's chance in hell of getting 10% of the votes.
We also shouldn't be sending our credentials to any site where we authenticate. Passwords are just plain wrong.