skysight-inc/HackerNews huggingface dataset:
I dated a cute girl from Andover, MA for a while. Andover is a little upscale town just north of Boston, kind of a well-off suburb.

She hated that I wore a tiny bit of gold jewelry (gold cross from my grandmother) because "that's what non-white people wear", so away that went. She hated that I wore T-shirts because... probably similar reasons. I took her to a beach on the Cape, and she wore... black. Covering her whole body. Formal black clothing. I mean basically, if you transplanted a Puritan circa 1750 into the modern age, you'd get this woman. She had never lived anywhere else. And then after breaking up with her, I looked around and it was all I could see... races not even interacting at all, both white and black people having REALLY limited "socially acceptable" clothing choices, etc.

I don't want to bash Boston too hard. I lived there for like 8 years. It has the best sports bars around, but this unfortunately only adds to its "provincial" reputation. Boston Harbor is really nice. The fact that Boston barely has any beaches (at least compared to, say, Long Island) was just weird for me (growing up on LI, I took the miles of beaches for granted, I guess).

I have a lot to say about Boston, both positive and negative. But yeah, socially? Can you even get more socially conservative while still being politically liberal?
What? I can't tell if you're trolling, but I'll answer anyway...

The Android emulator allows you to run applications that were compiled for ARM because it translates the ARM instructions to x86. This is really CPU intensive and can eat a lot of memory as well.

Technologies like Intel HAXM[0] speed this up, which is how the x86 Android images manage to be so much faster than the regular ARM images.

[0]: http://software.intel.com/en-us/articles/intel-hardware-acce...
A toilet that doesn't flush correctly isn't a reason to complain if you're a plumber; it's your raison d'etre. And, although many don't want to recognize it, a good number of software developers are modern day plumbers.

For many developers, imperfect code, which is often more likely to be result of circumstances beyond the control of the person who wrote it than downright incompetence, is the gift that keeps on giving. If business and functional requirements were always well-defined and never evolved, clients/business stakeholders completely sane, deadlines realistic, resources plentiful and "scope creep" a rare phenomenon, a lot of software developers would be unemployed, and employed ones would be more frequently undervalued.
I'm surprised they don't develop a really cool looking mini trailer battery pack to double (or more) your range. It could have some extra room for storage. It'd be great for longer distance camping trips and such outings. The other option would be a clean fuel cell technology (hydrogen?).
PayPal Refreshes Mobile App to Woo Shoppers and Fight Off Rivals
Absolutely useful, thanks.
Warning. If you have a high traffic server, Longview will eat up all your CPU. It has a function that iterates through all open file handles to find out which ones are network sockets in an O(n^2) loop. This loop never completed on my system. I had to kill the process and eventually disabled Longview.
TSA expanding rapid screening to 100 airports | azfamily.com Phoenix
Americans turn in passports as new tax law hits
Simple-API (Node.js API Scaffolding Library) v0.1 Released
I would love any feedback or comments - good or bad.
Torvalds is BDFL. If you wrote it, it's widely acknowledged to be good, and people want to add code to it, you're entitled to tell people their contributions are unwanted.

If no one other than the 6 people you're working with have ever read the code and nobody wants to add code to it, you need to really spend some time reading the code before you make a judgement call. At that point, it's better to make the code not shit than simply call it shit.

In software, if you can articulate why it's bad, you can fix it. If you can't articulate why it's bad, keep it to yourself.
That's harsh... It's a showcase. It shows support to the arduino. I believe you can stick with your rPi if you want.
Well, in my view, it's similar to how we manage a publicly elected government planning laws; we set up an adversarial system with different actors with different incentives all having a voice in the process. So federal government entities have a (admittedly, too loud IMO) voice, but so do local community school districts and the parents that go to their meetings and argue with them. This system acts to sort of filter whatever indoctrination is happening through the lens of all the people that were involved in the process. For better or worse, there is no such filter with home-schooling, it can be purely what the parents think best.
Car2Go has solar panels on the roofs of a good number of the gasoline powered Smartcars in their fleet. This helps to keep the cars' battery from wearing down while powering the onboard cellular data and GPS. The panel however is promoted as only 100W which is enough for this purpose but wouldn't go far in terms of locomotive power, and it seems that newer models have forgone PV in favor of moonroofs and regular (presumably more durable) rooftops.
There are differences in average intelligence between groups, but not in the way I think you're claiming. First of all, the IQ delta between Jews in the US and other white people has collapsed since 1960, and the overrepresentation of Jews in highschool and college level academic competitions has also collapsed. This isn't due to Jews becoming less intelligent on average but rather the average white child becoming more intelligent thanks to the Flynn effect[1]. And you're grouping all white people together, but back in the day all the poor subsistence farmers immigrating from Ireland and Italy and Eastern Europe had IQs in the 80s too. Of course, their children born and raised in US cities had roughly the same IQs as other white people. And during the cold war the IQs of the people in West Germany pulled more than 10 points ahead of the people in East Germany, but with reunification IQs have converged again.

All of which is to say, we have strong evidence of differences in IQ between groups, but we have pretty much no evidence of genetic IQ differences between groups. We know that environmental factors[2] play a huge role in population level IQ and are quite sufficient to explain the differences we can observe. Could one group have a genetic advantage? Sure, but I don't feel I have any reason to believe it's white people who are naturally smarter than black people as opposed to vice versa.

[1]https://en.wikipedia.org/wiki/Flynn_effect
[2]Well, there's vitamin D deficiency but that's so easily fixed by nutrition that I'm calling it an environmental factor despite the role genetics plays.
The first step to solving a problem is admitting that there is one. I remember debugging some AJAX code once which was racing with itself. It took a lot of mental effort to work out what the existing code was meant to be doing and what it was actually doing, both of which were wrong. At it's core was a simple jQuery AJAX call with a success callback (no error callback, of course), but interleaved through it was a mess of global variables ("finished_yet", "time_last_checked", etc.), busy-loops, manual timeouts, state-rollback functions, etc. What I would call shit code.

Once I finally understood what it was doing enough to refactor it I managed to delete most of the file and replace it with a "latest_id" counter which incremented on each call, with the success handler skipping if its ID wasn't the latest. Simple.

I approached the developer responsible for the original, to show him what I'd done and explain how Javascript's scope let each call have its own ID. His response was that I'm using obscure language hacks which nobody is going to understand when they have to maintain it, that I should stop trying to force everything into a few lines and that he doesn't need to learn about Javascript's scope because he can already program so learning anything else is a waste of time that could be spent coding.

I got told a similar thing during a code review as well, since I'd used map on an array. Needless to say, I didn't stay there long.

Now that is a cultural problem, which can only be solved by pointing out shit code (although in a more polite way). Some people are so stuck in their ways that they don't care about improvement because they see their stuff as 'good enough'. In those cases, they need to be shown that no, it's not good enough, because XYZ.

I wasn't trying to gain points on anyone; I was just frustrated at the utter lack of care about the codebase we all had to work on. Whenever I spotted anything particularly WTF I'd send out a "Code of the day" email. My favourite is still this one:

<td>
blah blah blah
</td style="....." id="foo" class="bar baz">
> Java

I call bull. Java has plenty of issues, but plenty of plus points too, particularly for large-scale development on teams that experience employee turnover.

- Reasonably fast, considering the ease of development.

- Genuinely fantastic tooling.

- Generally discourages 'fancy' programming techniques. Obviously doesn't stop shit code getting produced, but at least tends to be relatively easy for maintenance programmers who weren't heavily involved in original development to understand.

I have to use Java for some of my work, and with the correct tooling it's really not that bad. Sometimes it's fantastic - when you're maintaining someone else's code, the ability to trivially (and exhaustively) find out what code calls this code, safely refactor and so on is invaluable. Of languages in its general class, C# is significantly superior, but tied to MS if you want a full-speed VM.

I'm not saying that you're likely to produce the most beautiful code of your life in Java, but compared to many other languages (+ toolchains) I find working on other people's code is rather easy.
Can't this be made simpler. Something like a cli call
npm vulnerable
This could take the package.json and list which of my packages need to be upgraded or downgraded to be secure as per the known issues database.
The Perfect Pithy And Productive Investor Pitch
Almost 20 years ago I saw a great password-picking article that still holds today. http://world.std.com/~reinhold/diceware.html

Take a list of 6^5 words. Roll 5 dice. Take that word from the list. Do this 4 more times. You now have a five-word passphrase like "moire fraud 80 row bernet".

Even if someone knew the exact method and list you did to get that passphrase, there are 28430288029929701376 combinations, giving you over 64 bits of entropy.

Someone has probably tried to rainbow table all those results for MD5. If a core can do 1 billion hashes per second, it would take 900 core-years to build a complete list of all those combinations, which is probably feasible for a small group to put together, but messing with the list just a little bit or adding a 6th word would likely put you past that even for a crappy MD5 hashing.
Gene Therapy Emerges From Disgrace to Be the Next Big Thing, Again
I would hope so, since I am largely self-taught. :-)
Although it has taken me 10 years or so; and I have had the privilege of working with some fantastically knowledgeable mentors over that time period...
One thing wrong with this answer:

Paypal has shitty customer service.

All of this might be true, but the shitty customer service means that they are instantly wrong.
Also https://news.ycombinator.com/over?points=256
Redefining DOM Object's Behaviour
60% shit removal! A review removes 60-80% shit, to remove more than 80% use compounded shit removal. Compound requirements, design and code reviews to get 99%+ shit removal. finding 60% shit is not hard, every time you spot a little shit spend 3mins thinking about how to create better next ti
It seems this is what you get when someone who wants to learn more about a handful of technologies grabs what is readily available and well documented. They aren't creating hardware products. They took a few hardware items, pieced them together, and put it online for others to peruse. This looks like the path of least resistance to creating a cool hack.
That's quite non-idiomatic Clojure...

1) Unnecessary type hint

2) No use of destructuring or field lookup by keyword

3) Alteration of record objects with positional constructors instead of update-in

4) Explicit loop with previous item instead of reduce over (partition 2 1 items)

5) Way too many parameters

6) Apply hash-map instead of into

7) (+ ... 1) instead of inc

8) Weird gen-nextvalue auxiliary function instead of a lazy sequence

I could keep going...
Speed Up Git Pull
The Mediated Life Is Not Worth Living
That does sort of make sense, though. Publishing the list of blocked URLs would be like publishing a list of the addresses of people under Witness Protection: useless to anyone except those who want to go to them. And not just those who want to look at one site in particular--you can know whether a particular site is on the list by just testing it, after all. Instead, the only use of having the entire list would be to look at sites just because they're on the list; in est, to get suggestions for new sites related to your interests.
Another noteworthy hacker news digest: http://www.daemonology.net/hn-daily/
How did you find that? I've been using HN for a while, and lurking even longer, but never stumbled across that.
So fraud is perfectly OK, in your view, as long as the person defrauded meets a certain minimum standard of deserving stupidity?
> On the day the mice were born, scientists injected them with a small molecule known as a sonic hedgehog pathway agonist.

Obviously I had to investigate a gene called Sonic Hedgehog and how it could come to have such a name. From the wiki[0]

>The hh loss of function mutant phenotype causes the embryos to be covered with denticles (small pointy projections), resembling a hedgehog.

I'm glad to see a lack of temerity in a medical article, especially when the results seem so very promising. Nonetheless this is a really great result.
Changing strategies randomly or in response to opponent play is probably not what's being referred to here. What would be banned would be the machine noticing that John Doe hasn't won in a while and his play has slowed down, so lets throw a few hands to keep him interested.

In other words, machines are allowed to shark $player, but not allowed to target John Doe specifically.
It doesn't look like this one was able to sort those two out either. It gave me strongly neutral signals for both sentences, but that may be because 'shit' isn't currently tagged.
Well, one way has incredibly durable skeletons who can kill you in two hits, and another way has the same enemies that you fought in the tutorial... It's not that obtuse.
Geeking out is a bit of a strange phrase to use with the logo. One can geek out on the details of the design, but the big problem (for me) with the logo aren't the details, it's the emotion.

While I'm sure I'll get used to the new design, it leaves me emotionally empty. I very much preferred the old one.

This might be contrary to what a lot of people here are saying -- I'm not sure adding a professional designer to the group would have made a difference.

You need to add the right designer. Not all designers are equipped to work in those situations, i.e., one who can deal with the huge personalities and egos of those on the redesign committee. And the worst egos in the room aren't always the CEO, they can often be the creative director types.
You know, the second you login to this account from your new unspecified state, pg will know what state it is.

I'm reasonably certain he's not sharing his data with Acxiom, but I'm also reasonably certain you were planning on visiting other websites once you get there.
I have an extremely positive personal view of home-schooling, and hope that it will be possible for me to home-school my own children. But I think in a big society it is reasonable to be strongly in favor of things at a personal level and skeptical of those things at a societal level. For instance, I really like being able to afford gasoline and drive anywhere I want anytime I want, but I'm unsure that society should continue letting me do those things.

edit: For the record, I don't at all think home-schooling should be outlawed or even at all discouraged (quite the opposite!), but I do think it should regulated, which is a scary ball of wax, to be sure.
This oddly sounds like a death knell for Windows. I am not seeing anything here that is not in the LAMP / OSS stack as standard (graphite, nagios / Munin)

If we rephrase the blog post as "we could not find any good tools in the Windows devops space so we wrote them" and add it to the departure of the only CEO willing to dance on stage chanting developers developers developers and Windows is not an ecosystem but a hub with a few brave outlying satellites.

I am impressed by the stacke change folks and their story and skills but it feels like amazing stories of software skill written for one company and never released in the open - it just leaves no legacy
please don't link to news.com.au, you are giving them ad revenue and attention they don't deserve :(
One benefit of being a indian language speaker (or other language not in hackers dictionary) is we can easily choose reasonably secure passwords that are remember-able by simply using native language phrases (combined with numbers and mixed caps)
I'm sure he knows that, but, y'know, evidently it's fun to insult people on the internet.
Rayman Legends owners discover Vita version is missing 28 levels
Oops. I didn't realize this was added by the Hacker News Enhancement Suite Chrome Extension I've been using. Sorry for that accusation.

https://chrome.google.com/webstore/detail/hacker-news-enhanc...
An interesting consulting niche would be to help companies open source software they want to release.

Basically:

- clean up code,

- make sure the infrastructure is sufficient,

- help with marketing and adoption,

- write documentation
Additionally suppose what was at issue was a slogan printed on every wedding photograph which was clearly discriminatory because it was also political. Something like, "One man. One woman. One holy marriage."

If a photographer does this, you must choose between political speech and non-discrimination because the political speech interferes with a right of a vulnerable group to enjoy their purchased goods. Otherwise where do you draw the line?

Or what do you do if a cake decorator insists on a similar slogan on the wedding cake and opposite-sex decorations? Surely this is both political speech and functional discrimination, right?

The EFF avoids this by having a narrower focus.
If it is such a problem for PayPal then they should get out of the business.
Oyster launches Netflix for books
Until they get in power that is...
I always say that pirating games and films was simply better in every way than paying for them. Better quality, support, more convenient formats, minus the DRM. My conscience has been hardened by all the times i have been screwed over by crippling DRM when using something I have paid for. Pirated versions, of course have this removed for you.

Sadly, It seems the same is beginning to apply to books as well. Publishers should take heed of this unless they want to follow the fate of music and movie industries.
> Shit isn't bad

I would suggest that this indicates that your figurative use of "shit" is not the common figurative use of the term in the phrase "shit code", which is impairing communication.
In San Francisco, It's Rich Club, Poor Club
Here's a more functional version of complete_items, if you're interested.

def complete_items(...) = bin.items.flatMap((item, v) =>
expectedSymbol(item).map(nonterminal =>
grammar.nextValue(document, item.origin, bin.binindex, completed_binindex, nonterminal, item.ruleindex, item.dot, v, value)
.map(nextvalue => (item.inc -> nextvalue)
)
)
At least a RSS stream will be needed ?!
Nash Equilibrium assumes that each player knows equilibrium strategies of the other players. It does not apply to No Limit Hold Em.

You can solve equilibrium for simplified poker games like just Heads Up with only shove or call an all-in options though.
They're on Reddit too, same general technique and username.

I'm leaning toward the 'amazingly diligent and consistent' theory myself. After all I have like no submissions and tons of comments, so who am I to judge? ;)
The 5 Phases of Growth Hacking
That is not my experience. There is a ton of good to extremely good code out there. I'm rather dismayed by the amount of "well, what can you do" hands-thrown-up attitude here.

I've always found clean code to be faster to develop. I find that developers that produce lower quality code tend to spend their days debugging, fighting their code, reading and trying to figure out what they wrote 5 months ago, and so on. They are just not very productive. There are the outliers - people that have instant recall of all their code and elaborate mental models of really poorly structured code - but by and large I find that people that generate low quality code are quite slow performers.

I've worked in very good code bases, and very bad ones. In the good ones you can easily figure out what is going on, quickly make changes, confident that you aren't breaking 5 things because things are decoupled. You can produce new code quickly because you aren't fiddling with code nested 6 if statements deep, which is just about impossible to model correctly in your head. You aren't in endless compile/run/debug (or REPL/run/debug) cycles because your first try is usually just about right, because you can understand the surrounding code. I recently requested a simple feature, and was told it would take a week. I was dubious. Then I looked at the code, and decided that they were being conservative, if anything... for something I thought would reasonably take a few hours.

This is just an impassioned plea, not to Jach, but to the profession, to cast a critical eye on code. You can produce high quality code quickly. Not "nuclear reactor" quality, but pretty close. Bad code always costs you. Always. Don't write that way, don't allow it in your code base, or in your teammates.
Not necessarily... it's only progress if you wouldn't do the same thing again.

It's one thing to be able to recognize shitty code in hindsight or in another developer's work. It's quite another to be able to catch yourself before you write shitty code and do better.
OOP: This is done with Functions not Classes.
Inheritance: Theres at least 3 different ways of doing this, 2 of them suck again use Functions instead of Classes.
Scope: Variables outside a function are global and theres no block scoping.
First Class Functions: This is not something most people are used to and can become confusing
Calbacks: Callback Hell, you can shoot yourself in the foot and mess up your code if you don't put extra thought keeping things organized and thinking through async/sync
Closures: Theres function scoping but not block scoping, this can be confusing if you're used to block scoping
Compile Time Errors: Theres very few compile time errors. If you are using a Function that requires the "new" keyword and you forget it your code will still run and all sorts of wacky things will happen.

Yes other languages have these features but they are harder in Javascript, thats why Javascript is a harder language.

Look into Meteor.js - try doing that in PHP. That's how so. And you can write Sync code if you want to.
> It's not clear that commodity money or coinage existed before paper notes.

Coins were around for millenia before paper money. The earliest paper money I know of is the bark money written of by Marco Polo [1]. Europeans got their idea for paper money from the Chinese.

[1] http://www.fee.org/the_freeman/detail/marco-polo-on-money