skysight-inc/HackerNews huggingface dataset:
Low-level code often omits high-level intended behavior (description, pseduocode, documentation, test cases, etc.) and semantic meaning like variable names. In such styled codebases, the absence of these makes it harder to refactor, reuse and/or modify than say concisely & precisely documented codebases in higher-level languages (Python, Ruby, Go) or quality asm.
Some of Real Genius was adapted from real pranks perpetrated at Caltech and elsewhere.
> I've got to ask. If a builder of websites was looking for something that wasn't horrible and built by smart people, which one would that be?

I hope he doesn't reply NodeJS/Express/Ghost cos the corporate site and blog of Strongloop (main nodejs core contributors and express mantainers) is built with wordpress... And with django and rails core devs we could have another surprise... Who knows...

xD
U.S. Capitalism: A Tarnished Model? By Richard Whitley [pdf]
I lived in SF on-off from '98-'01, and I'm out there semi-regularly.

If you're hoping to raise funds for a company, there's a clear advantage to being in SFBA.

If you're hoping to avoid taking investor money, there's a disadvantage to being there, because of how the place impacts your cost structure.

There's such an intense competition to get new ideas, technologies, and that kind of thing in front of as many eyeballs as possible that you're almost definitely not missing out intellectually from living somewhere else.

I think it's also worth remembering that there's really, in a day-to-day living sort of sense, two "Silicon Valleys" --- the Oakland/Berkeley/SF† Silicon Valley and the South Bay Silicon Valley. Most people aren't willing to drive 2-3 hours regularly just to be casually social on a weeknight. So: even if you lived in SFBA, you'd still have to pick which SFBA to live in, and "miss out" on a lot of the other part.

† I may be being overly generous and there's really 3 SFBAs, or maybe East Bay is like an adjunct to both SF and South Bay, I don't know.
Sounds very interesting. Is there anything like this for CouchDB? I like couch because it's easily deployed on mobile as well.
Download wp-cli. (http://wp-cli.org/)

wp seach-replace 'old domain' 'new domain'

Done
> It's true however that while Wordpress gets a lot of heat from PHP devs, there is no effort from the PHP community to build something like Wordpress with a better codebase, and a better db schema.

That's not true. Several ex-WordPress developers started the Habari Project to build a modern and clean PHP CMS: http://habariproject.org/en/
Google turns up nothing by that name. It does turn up a book by that author called "The Way of Men". Is that what you meant?
Ah, so it's all just thinks and memoisation? Seems so simple now.
On the contrary, unary numbers are a well-defined concept (http://en.wikipedia.org/wiki/Unary_numeral_system).

Unary numbers are perfectly commensurate with binary, decimal, octal, etc., numbers. In binary, you write

B2 B1 B0

to mean the number:

B2 * 2^2 + B1 * 2^1 + B0 * 2^0.

The same thing applies to unary numbers, just note that 1^n = 1 for every n, so writing:

B2 B1 B0

means:

B2 * 1^2 + B1 * 1^1 + B0 * 1^0 = B2 + B1 + B0,

or, in other words, add the tally marks to get the number.
Never said it's most basic, but it's basic across the globe. Only in America a car per person is the most common case. I do live in Orange County where there are more cars than people, but I work from home and I don't need to maintain a car that stays in the garage 99% of the time.

How do I expect it to work? I do have an NFC tag in the car where the person driving places the phone. Automatic can ship with a sticker tag like that.

Request a Massdrop here: https://www.massdrop.com/buy/automatic-smart-driving-assista...

P.S. You're right - I got a $20-off loyalty discount. Thank you, Automatic! It's definitely worth the upgrade at least for having the built-in GPS!
Nutanix Podcast – Sunil Potti Talking What to Expect at .NEXT User Confernece
Implying API limitation and annoyance means professional... Yuck.

Professionals can also use a Haskell web framework. Increasingly so for their day jobs, at least in my case.
Billion, not Trillion!

1 Trillion is 150 singles for every human alive
On a related note, I think radio commercials with sirens and honking horns should not be allowed. I have been confused by these a number of times and it is a real nuisance.
Usually an acquisition spells trouble for the product's users, but this is a different kind of situation. I think WooCommerce and Sensei will only get better as a result. The only folk who have to worry is the people building competing products.
I agree, "qualifying" a lead or potential client is a crucial part of closing a deal. At the very least, you always want to know why they're on the market for a new developer. Did their last one quit? If so, look him/her up and talk to them.
<tangent>Burritos (as generally served in US) are basically cheap concentrated umami. Not my favorite form factor for it or what I would gravitate to at a Mexican place, but I can see the attraction.</tangent>
Higher minimum wages do not drain the economy [1]. Those wages are fed back into buying more goods, driving the economy from the roots.

Also note that Australia locked in their minimum wages in the 80s, and are among the highest in the world for both median and average networth. [2]

I would prefer better higher education, or at least affordable higher education, but addressing the minimum wage vs cost of living is not something to be swept under a rug.

[1] http://www.dol.gov/minwage/mythbuster.htm
[2] money.cnn.com/2014/06/11/news/economy/middle-class-wealth/
I'm writing an Arduino library at the moment as a small part of my thesis which I'll release.
I think the main issue with Meteor is that it has the possibility to change the status quo and be an important player in the market. That 'pisses' a lot of people (like once rails did) because it might turn some of their personal investment into obsolete. I am not 'invested' (my background is not CS) but if I was, I would certainly be pissed also.

People here are even pissed that they got more money and other frameworks didn't. Nobody invest (their money at least) without a good risk/reward ratio.
If I'm working-out regularly (cardio or strength training), I need the full 8 hours. If I'm just coding all day/night (to meet a deadline for example) and ignoring my health, I can average 4 hours without much of an issue.
Endless hours messing around with this software [1] as a child, likely what got me interested in programming.

[1] http://www.microworlds.com/solutions/mwex.html
> Two comments. First, it's interesting to me that they're saying that category theory really isn't adequate. Given how Haskell is based on category theory, is there somewhere more to go in programming languages?

Haskell isn't really "based on" category theory. There are just a lot of type-classes that implement category-theoretic machinery for quantifying over types and what you can do with the resulting data in a neat way.

>Second, about proof-by-Coq: If there's ever a bug in Coq, they're going to have to re-run all the proofs that have been done this way, and see which (if any) of them are actually invalid. (It still may be better than proof by convincing humans, though...)

It's been done before, when, IIRC, a VM bug appeared in Coq that allowed certain ill-formed programs to prove False.
Stack Overflow releases a quarterly archive[0] of all their data which is only a few gigabytes.

If I had access to a couple Computer Science books, all the documentation for my languages and the entirety of Stack Overflow at my fingertips? I think I could do just fine.

If I wanted to take it a step further, I could download common libraries that I thought would be useful. I've been learning Rust lately, and I bet I could write a script to download every git repo of all 2000 libraries in Cargo and it still wouldn't be that big.

I'm one of those people who do their best work when put under serious constraints. I think 520 days devoted to programming and study with no access to the outside internet would be a neat opportunity.

[0] - https://archive.org/details/stackexchange
Infographic illustrating the current state of digital marketing technology
There's a difference between cheap generic knock-off and a clone designed to rip-off the buyer by lying about specifications. Generic brands acknowledge what they are and the customer generally knows and can at least expect it to do or be what it says on the tin. What I find most distasteful is that manufacturers there, seemingly especially in electronics and chemical products, don't even bother with that or any semblance or that - "If I get one over on you and don't get caught, good on me / I got caught, you mad bro? what are you going to do, lol." attitude. It's the difference between doing the best you can to provide something like a more expensive product and actively seeking to defraud your customer and not caring. the fact that it's seemingly so pervasive doesn't help matters or reputations of legitimate players.
I have the exact same situation (1st Gen Link). I take the public transport to office and my wife drives the car during the day. So, the app only registers data when I'm driving (evenings/weekends). All the data during the day is not registered :(.

Perhaps the 2nd Gen Link solves this, now that it has a built-in GPS?

Also, of late, it's been really troubling me connecting to my iPhone 6. I have a support ticket open with Automatic, where they basically suggested deleting and re-installing the Automatic iOS App. Going to try that today to see if it works.

I'm considering getting the 2nd Gen Link, but would love to know if these issues have been resolved. Also, a discount would be nice :D!
Code.org and the College Board – what's the catch and is it a cash cow?
Use technology to help you focus
Also for some more context, you can watch a talk here

Scott Brinker - The Golden Age of Marketing Software

https://www.youtube.com/watch?v=FMTb0WoR5vw
This needs to be turned into a WebApp. A place where you can edit, update, retrieve, and share these vital records.
It's not completely new then.
The web apps I'm talking about are best-of-breed; not just some random crap on a web site somewhere. They're still slower than what I was using on Windows 95.

I also disagree that app development was harder back then. Back then we had IDEs that included online help and APIs that were actually _designed_. It wasn't a perfect world but it was at least coherent.
Turbo/Borland Pascal used a NUL-optional string format of length (byte IIRC) followed by data. [0]

Java IIRC also uses a length-oriented format for string constants in .class files. [1] It's been a while since I wrote a .java to MIPS asm compiler in C++ from scratch (don't ask).

This is because real-world strings may contain 0 to N NULs and escaping them is too much of a PITA for serialized formats, so it's easier and common to do things like TYPE LENGTH DATA de/serialization. For modern, efficient binary de/ser, check out binc and msgpack [2,3].

0: http://math.uww.edu/~harrisb/courses/cs171/strings.html

1: https://docs.oracle.com/javase/specs/jvms/se7/html/jvms-4.ht...

2: http://msgpack.org/

3: https://github.com/ugorji/binc/blob/master/SPEC.md
> Give the reader at least one character he or she can root for.

Interesting. That's why I stopped watching sons of anarchy. I realized I hated pretty much every major character.

By the way, did you accidentally a word at the end of #1?
Manufacturing enters innovation age: factories of the future
How about let voters make their choices through an election, but then the winner is chosen through lottery with a weighting towards how the voters voted? So if 40% voted for A and 60% voted for B, A would still win the lottery election 40% of the time.

This could help marginal candidates, since voters wouldn't feel like they're throwing away their votes... any vote COULD win the election.
Off the top of my head, a news item about water conservation. One guy, perh some official, stated, paraphrasing here, that it was ridiculous given the drought, that we had not started curtailing the offering of free water at restaurants earlier, making the audience believe that this step was a cornerstone of conserving water. It's not credible, but the host agreed and didn't question the reasoning.

Ok sure, I grant you it's an "awareness" device, but a mechanism for conserving water it's not.

Also, they trot out the trope about almonds using vast amounts of water... Yes, they do, but do does everything else. Did they get into the vast amounts of water or takes to produce a liter of wine? No, of course not.
How do you know? Software is intimately involved in all parts of chip design - what are hardware description languages like Verilog or VHDL, and the chips written in them, but code? If they didn't steal code what did they steal?
I thought it was implied in the context, but the "more advanced" obviously meant "more advanced in terms of JSON support". Sorry if there was clarification needed.

What SQL Server 2016 will have next year seems to be more limited than what PostgreSQL 9.2 (by 2012) had. PostgreSQL at least had a native datatype ("json") to store text that syntactically validated JSON, while in SQL Server, 4 years later, you may have non-valid JSON data on a column expected to have JSON (unless you setup the validation as a constraint, which is prone to error and cannot be used in functions which expect or return JSON data anyway). Plus PostgreSQL had by 9.2 many functions to query JSON types in a very easy manner, while I don't see the same functionality coming to SQL Server 2016.

Regarding indexing, by 9.2's time you could use functional indexes to index arbitrary JSON paths (one index per path). In SQL Server you'd only be able to use computed (persisted) columns to index JSON paths, which seems to be a less elegant and less performing solution (more storage required) to the same problem.

So all in all, I honestly think that in terms of JSON support SQL Server 2016 will be less advanced than 2012's PostgreSQL 9.2, and definitely way less advanced than current's 9.4 or even more this year's 9.5. But that's, of course, only my opinion :)
Voltaire would be proud [0], the dude cracked their non-CSPRNG fair and square.

0: http://www.damninteresting.com/the-enlightenment-guide-to-wi...
The number one reason is because it is FOSS, easy to install, easy to use and easy to extend. The thriving themes and plugins ecosystem is the result of the platform becoming popular because of the aforementioned. If it wasn't FOSS WordPress wouldn't be where it is today.
Show HN: A browser add-on to add red flag keywords (like “anthrax”) to every URL
Mine and the few friends I tried are nowhere close.
I tend to think of it like this:

Senior Developer: Comfortable leading a project, can understand architectural problems at the birds-eye-view but can also zoom-in and get granular. Proves their worth by heightening others' output, not just their own.

Developer (not senior, not junior): Provides lots of value to the team, in (likely) a narrow area of growing expertise. Can be assigned loosely-defined tasks and can "run" with them, and figure out problems independently. Asks for help when stuck, lends help to others. Proves their worth by sheer effort.

Junior Developer: Needs guidance for most tasks. Needs tasks defined in detail if they're going to be left on their own to complete them. Asks a lot of questions. Proves their worth by being a sponge, learning very quickly, and being willing to do anything.
We don't need a housing moratorium in San Francisco
I proposed an idea for cheaply cooling tall office buildings to a mechanical engineer and structural engineer that they thought was interesting but we were all a little drunk at the time so we didn't even get to calcs on a napkin stage...

It's a very old and widely used concept that just needs scaling up - using the Stack Effect [0] by turning the core of a building into a giant chimney that extends/protrudes past the populated floors to maximize temperature difference. The elevators would run along the exterior of the building to free up the space in the core, with the added bonus that you're not limited by the space in the core and can have an array of elevators to move lots of people.

You could even pair it with water reservoirs to create a sort of low-tech evaporative air-conditioning. Bonus points for using the extrusions/paneling on the building exterior for catching rain water and storing it in the reservoirs.

I think the main issue is that it would need some proper fire safety modelling to make sure you don't create a giant blow-torch if someone in the lower suites burns some toast or leaves a dodgy floor heater running overnight.

Disclaimer: I am in no way qualified to say whether this would work

[0] http://en.wikipedia.org/wiki/Stack_effect
if you replace biker gangs with semi-competitive / collaborate start ups, it's a pretty interesting parable.

Companies are happy to have similar companies co-exist as long as they're not "bottom rocker"-ing the exact niche / product in the market, and then it's all out war
Thanks for sharing. My grandfather got a bronze star but no one knows for what as he would never talk about the war, or much of anything. He sat by the window, smoke cigarettes and fed the squirrels.
If by modern you mean "post 1500s" I suppose you're probably right. But eg: "Heart of Darkness" came out in 1899.

[ed: Perhaps more apropos I came across this:

http://www.theguardian.com/world/1933/mar/28/germany.secondw...

"Big fire at Reichstag"
Manchester Guardian, February 1933

"The wildest rumours were circulating in Berlin last night, adds Reuter. One was to the effect that secret orders had been issued to the Nazi Storm Troopers to create a Bartholomew night on Saturday, when all political opponents of renown were to be "disposed of."

Although the police asserted the Communists are responsible, some people think that the fire might have bee started by irresponsible Nazis with the object of provoking trouble."

http://www.theguardian.com/theguardian/1933/mar/21/fromthear...

"Communists to be interned in Dachau"
The Guardian, Tuesday 21 March 1933

The President of the Munich police has informed the press that the first concentration camp holding 5,000 political prisoners is to be organised within the next few days near the town of Dachau in Bavaria.

Here, he said, Communists, "Marxists" and Reichsbanner leaders who endangered the security of the State would be kept in custody. It was impossible to find room for them in the State prisons, nor was it possible to release them. Experience had shown, he said, that the moment they were released, they started their agitation again.

It's hard to shake the similarity to some other terrorists who "cannot be released" -- held without any proper trial]
@thejo so if we buy the 2nd Gen Link, will it keep exposing more data, simply via firmware upgrades, or will there be a 3rd Gen Link, at some point? I guess my question is, will these features be purely firmware-based, or will they actually require upgrades to the Link hardware as well?
An interesting comparison point: a single core on a late-2014 MacBook Pro can achieve runtimes for the same graph that are within a factor of 4 for WCC (461 seconds for FlashGraph versus 1700 seconds for the laptop).

http://www.frankmcsherry.org/graph/scalability/cost/2015/02/... (previously on HN: https://news.ycombinator.com/item?id=9001618)

There are also results for PageRank on that graph, which make the difference more pronounced. FlashGraph runs PageRank in 2041 seconds (I'm assuming for 30 iterations, per Section 4 of the paper), whereas the laptop takes 46000 seconds for 20 iterations.
Let's learn React.js and server side rendering!
Japan is the poster child for the madness of Keynesians.

There was deflation in Japan, caused by deflation of the asset bubbles.

There was no deflationary spiral as defined by the scaremongers.

Japanese banks should have failed, and debt holders should have been wiped out for making bad lending decisions.

Such things are painful but they are forgotten over time.

Instead continual debt increases and government boondoggles have made the economy dead for 20 years.

A resurrected corpse after some hardship is better than a zombie economy.
OpenCV on PI2 is achievable. You ain't gonna get there with Arduino Amtel microprocessors.

PI2 is a full environment and wee little quad-core + GPU power house and not too bad for programming especially with wiringPI, but Arduino is simpler and much more practical to learn stuff on. You can get kids in primary school doing Arduino which is not really going to happen easily with PI.

Both are pretty cheap, but Arduino is cheaper.
Show HN: Jailing – super-easy chroot jail builder/runner for Linux
How does Tor bypass DNS
Hello, I am new to Tor and how it works, but have a general understanding of how it works.

It uses a TLD of .onion, which as far as I know, is not a real TLD with regard to ICANN and the other IP/domain authorities.

This got me thinking how much power our root server holders have. If they ever wanted to literally take out the internet, destroy our economy, and ruin anything that uses a name based lookup system — all they have to do is drop all the zones in the .com. or add in an .com. A IN 127.0.0.0.

But, Tor boots up and can* resolve the .onion TLD. On my OS, Mac OS X, no entries are added to /etc/hosts, I can try to do lookups on .onion url's and they will fail.

How does Tor do the resolution of the .onion url scheme? Does every tor node have it's own little DNS resolver in it, and when you use the Tor browser, it will connect up to a node and get instructions from there? Does that mean that all nodes are essentially updating a large /etc/hosts file like we did ages ago when there was no DNS?

Thanks for any help understanding this. It kind if blows me away how fragile and simple the internet is as far as dismantling it. Things like BGP being human controlled, state controlled, etc, I am surprised that more countries are not a bit up in arms that we ( The USA ) sort of own the internet. We allocated a TLD to other countries, we I assume can take that away. I am often baffled other countries, ( China perhaps ) don't just start their own root servers, run their own BGP, and fully be in control of every domain, from .com all the way to .i-made-up-a-tld.
Thanks for posting this, I wasn't aware of th SO/SE archives. I really like having backups/archives of important/valuable data, this is super cool!
Parents of Chinese Americans would have had to have been well-off almost by definition to afford sending their children to the U.S. It is true a lot of that wealth would have been spent or deflated due to living standard differences by the time they arrived, however the education they've previously attained as well as the mindset of trying to achieve a better future stays with them. The Chinese who bum around unemployed rorting government benefits and/or family generosity would not have come to the U.S. looking for a better future.
If the definition of "loser" is being isolated, paranoid, and looking for a loophole in the system, then nearly every philosopher qualifies.

The word loser is a shitty judgmental word, almost always used perjoratively, and never descriptively.
It has nothing to do with 'Asia' or 'Europe'. It has to do with saying a 7" android based video player is a competitor to the iPad.