skysight-inc/HackerNews huggingface dataset:
I don't agree with "making code easy to test tends to over-abstract it". The dependencies are there no matter what, but they become more obvious when you try to test the code in isolation. I think the main benefit of TDD is the way it forces you to break the program apart in smaller, less dependent pieces. The end result is better structure and less dependencies between parts.
<scrcasm>

2000 Dhanus = 1 Gavyuti hmmm, they must have first calculated a Gavyuti and then just randomly equated it to 2000 dhanus. The fact that they named it after a cow's call (range approximately 12000 feet) is the proof. People named unit erlang after erlang, so <insert a bullshit correlation here>

</sarcasm>
>But other things have suffered IMHO; making code easy to test tends to over-abstract it, making it more parameterized and exposing more implementation details of high-level abstractions.

I think this highlights a deficiency in testing tools. It's quite hard to, for example, change the system time when running a test which often means that you have to abstract out that part from the method you're testing and pass it through as a parameter.

You shouldn't need to do that (in python you don't!).

Also, there is a lot of APIs out there with very real world effects and integrations that it is pretty cumbersome to build mock ups of. Most API providers also just don't.

Mocking what would happen, say, when a twitter oauth token expires, isn't as easy as it should be.

On the plus side, UI testing tools seem a lot better nowadays.

But yeah, there's a serious dearth in good testing tools and bad language design (cough Java) that ends up making code unreadable.
What's a social hack?
As edw519 tweeted:

(Great Process + Average People) < (Average Process + Great People)
Face++ shows more evidence of innovation from China
Which is likely why he specifically noted that he could/would not move the machines: he knows this and wants to preempt companies offering free power in a separate space.
^#theman
you also need check the errors , most of the languages in to 12 returned too many errors or failed during the request
This was the scale 4 years ago: http://www.openbsd.org/images/rack2009.jpg
New China (Beijing) Region Coming Soon
Check out Wistia
> Test-first TDD is even less popular

I never bought into TDD, although I do write unit tests for most of the code where it makes sense.

No one has been able to show me an usable way to do TDD when coding native UIs, mobile OS, embedded systems or when using third party libraries not built with testing in mind.

Plus TDD makes very hard to properly design algorithms and data structures, that should beforehand be done at the whiteboard.
Well I imagined the possibility of nuclear war around 0%, so I'm not too suprised.
مشاهدة مباراة الاهلى ومونتيرى
The first few times i visited this , i was looking for a way to access more content then quit half way round.
I tried scrolling down , it didn't work .
I had to click a link on the left corner of my screen which wasn't even that visible to me.
Affordance = 0.
Petty crime? Many on HN seem to be a-ok with crime for sone reason ... maybe not many victims here?

No bad guys? You've got to be horribly naive.
http://www.webtalkrevolution.com/video-podcasters-round-up-m...
A problem with this study ( which made a lot of noise in france as well), is that it doesn't show the result per child social / economical level. It's a typical case of hidden factor : i don't believe that rich neighbourhood high schools are worst in the us than an average finish one. The problem is how many you've got compared to the poor neighbourhood schools ( i don't think poor/rich is the only hidden factor but it's an example).

Some people here noticed that the top ranking countries have a much more homogeneous population. Which could explain why they're performing better "on average" ( school system is more easily adapted to a great number of people).
Regarding pair programming, I also see it as paying the salaries for 2x developers, yet gaining very little from it. Productivity may be even less than from a single programmer, at least in my experience.

To elaborate, I've tried pair programming myself and it was completely inefficient when we tried it. I'm not going to dismiss it entirely though, perhaps we approached it the wrong way. Personally I just need a bit of space before I can start focusing in-depth about certain problems.

This is also why I like to be well-prepared before attending team design decisions, because coming up with good ideas "right there and then" is difficult for me.
I present, for your satisfaction, my comment from two weeks ago: https://news.ycombinator.com/item?id=6829180

Along with this gem: https://news.ycombinator.com/item?id=6858258

In summary, I invested $11k @ $1106/coin, predicting it'd rise to $1,500.

Shazam! I've transmuted that $11k into... let's see ... $5,100.

I feel pretty ill. Thought you'd all enjoy the schadenfreude, and perhaps learn from my example: "How to ignore Sam Altman and lose more than half your money."

http://blog.samaltman.com/thoughts-on-bitcoin

EDIT: I'm holding onto my coins. But, now that China is strongly incentivized not to invest in Bitcoin, it's going to be a very slow climb back to $1106. And at the end of that long road (I'd say at least several months, but what the hell do I know, right?) I get to look forward to: "Yay. I've lost $0. I've also gained $0."

EDIT2: Oh, nope! It just fell from $520 to $500. So, at current market prices, my $11k is now $4,780. Of course, we've all seen bitcion dip and quickly rise again. It's just very... interesting... to me that within the timespan of writing a HN comment, I'm down another $320.

Yes. Interesting. That's the word. I'm interested. In learning from my mistakes.

FYI, that -$5,900 was enough to pay off my car loan in its entirety, or all of my (admittedly small, relatively speaking) credit card debt.

Oh well. I'm going to go build a product and sell it now.

EDIT3: The market rose from $500 to $540, so that means I've earned back $474! And since my last edit was an hour ago, that must mean I'm earning $474/hr writing HN comments in my pajamas! Why hold down a programming job when you can write HN comments fulltime for 4x the wage? Quit tomorrow, sell everything you own, and invest it all in bitcoin immediately!
Please don't be annoyed by my following comment as I appreciate your effort and like the benchmarks very much (as a hacker - as project leader I'd prefer the "enterprise frameworks" to perform much better :-) ): You should really avoid publishing incomplete benchmarks. They don't do justice to both, the left out and the included.
The question is, by "optimized", do they mean just the UI of the app? The article mentions that the apps must be build with xcode5. But it doesn't specify against which iOS version it must be build.

Do they force devs to not just make their apps looks like iOS7 but also force them to use iOS7.x as a minimum build target? That would really suck considering there still are devices out there that are ineligible to upgrade to iOS7.
Try searching Google for http://www.ft.com/intl/cms/s/0/6707013a-67af-11e3-8ada-00144...

If you click through from Google, you will probably see the article text.
It also works for me
The postmaster rules also suggest responding especially to reports of "chain mail" ;)
Absolutely interesting! Do you happen to know how page load time is affected by those services?
Have an upvote for your sorrows. It takes guts to admit that in public.
Have you actually read your own link?
Shouldn't the mapping to database be backend-dependent anyway? SQLite has more or less no feature, yet ORMs don't feel the need to restrict themselves to what sqlite can do.

(nota: oracle and mssql don't, afaik, have an enum type either)

(and in Postgres, enum is not a type, it's a type constructor. First you have to `CREATE TYPE yourtype AS ENUM ( values... )` then you can use `yourtype` in a table, you can't have a column of type `ENUM ( whatever )` because Postgres enums are disjoint and not structurally equivalent)
Sorry for your luck. If I were you, however, I'd hang onto the Bitcoin you have.

If it continues to gain adoption, those coins will rise in price again (don't let temporary drops get to you too much).

Good luck!
Looks the same in FF as in Chrome (missing parts).
Who knows, maybe the example to learn from is not getting scared when you go from $11k to $5.1k and waiting for a month until it's up to $20k. On the other hand, maybe it's that you should sell having only lost $5.9k rather than wait until that $5.1k drops to $5.10.
Fully agree. In the end what we get from those projects is waterfall with CI, which is still better than how things used to be on the old days.

Although, one has this feeling of playing Quixote all the time.
WiFi for everything Next generation of smart products
A Properites library for Python 3
Speaking of masses...

Is vkontakte [1] (russian social site) being somehow involved? I got confused by the illustrative images strongly resembling the vkontakte images.

Not to dive into Russian folk, but those look too culturally localized.

[1]: http://vk.com
Congratulations, I'm a big fan of Treehouse and I think that the world needs more companies and leaders with a culture similar with yours.

For example I'm tired of seeing the Marissas Mayer's of the world praising that they go back to work just two weeks after giving birth. What kind of mother is this?
> but at the same point, why do we need freebds and openbsd? In terms of resource, can't we get merge the two team together?

Are you a project manager?
Bitcoin is a threat to the Chinese government's control over the populace so it's not surprising to see this...
Gas taxes don't come close to covering the expense of the roads.

http://taxfoundation.org/article/gasoline-taxes-and-tolls-pa...
Successful Tech Startups Don't Write Code?
There was a lot of work to keep it over 500 for a bit.
Well, it's not irrelevant, but it's common practice. Of course bad practice. Seen it myself. Facebook and others might be able to choose the better approach but a lot of badly managed companies / projects choose the last resort solution to through out millions of dollars for hardware as they're incapable of fixing the problems properly. Those projects are politically screwed, so they often sell their solution to buy expensive hardware as success. Sounds ill, I know ...
Am I the only one whose link has "Authorized=false.html?"...?

Can't get to the article...
I anticipate your feelings being quite widespread. I only had $200 in them after cashing out, but I've still felt terrible when the price drops. It's rather odd. This is the first time I have ever participated in an actual exchange market with volatility and all. I built a trading bot, and was making a couple of dollars a day trading my 0.17 BTC. A few weeks ago I was feeling suicidal based on not buying some a couple of years ago when it was $10. My family has been having a rough time, and I kept thinking that I had missed my chance to pull us out of the hole we are in.

This is a crazy and interesting time to live in, and I'm glad I'm still here even if Bitcoin didn't make me rich.
An article behind paywall? I'm sorry but I'm disappointed
So do you think that crimes should have no legal punishments? Really?
Mac Pro Build-to-Order Upgrade Pricing Revealed
This move seems obvious. Bitcoin's popularity has far more negative consequences for Chinese government (or any other government) than benefit. Bitcoin might topple the dollar hegemony if popularized, which might be what China wants, but central banks lose their power to control the money flow in the system. Why would any government want that? Any money goes into Bitcoin is essentially money gone offline right now so it reduces tax revenue and adds noise to national statistics. Bitcoin or any other crypto-coin has real chance of adoption only when it's sponsored by government.
You just have to pick a target. I feel confident that Bitcoin is worth $10k, so if I bought at any price below that, I should feel good about where I am.

If you don't decide what you think something is worth, your subjective experience of investing in it will be a rollercoaster. If you do choose a price target, then you know where you stand at all times, and whether you should buy or sell.
I fail to understand why North Korea is seen as a serious threat. The country can't fire a missile much further than Japan, failed miserably when attempting to launch a microwave-oven satellite, and has no technical abilities that are not given to them by China. According to South Korean friends, North Korea is seen as a joke even by its closest neighbor who it has vowed to destroy.
Contrast this with Iran, who clearly has the brilliant minds necessary to weaponize nuclear technology, and pairs those minds with funding and equipment. Their neighbor, Israel, is clearly nervous (as they should be), and the country has demonstrated that it can fire long range missiles.

And yet, it seems that every time I turn on the news I hear some horror story about how NK has done another stupid crazy thing, all the while Iran is moving closer and closer to nuclear weapons.
Of course robots don't serve and cook the food. But at least one front-end person is out of a job.

Once upon a time banks experimented with new robot tellers that nobody used, because it was easier to just ask the nice cashier for your money. These robots were even free to use.

There was once a time when airport check-in had a couple of weird self-service terminals off to the side...that nobody used. Now with Delta you can't check in with a real person.

Rental car companies have got one of those weird check-in robots....

It doesn't matter what the customer wants in the end. If the customer will put up with it and the company can save money, then it will happen.
I do agree with you.
If we upgrade xcode or new os in older device, there is always an issue with performance.

You also need to upgrade RAM an other hardware
hm ... So you commit a lot of crimes?
I don't think there is any indication that fusion power plants would produce electricity that is much cheaper than current methods - fuel (uranium) costs are a relatively small part of the cost of operating a fission plant (16%-28%) and fusion plants look like they will be very complex engineering systems so the capex costs are still going to be pretty high (look at ITER and that won't even try to generate electricity).

http://en.wikipedia.org/wiki/Economics_of_nuclear_power_plan...

http://en.wikipedia.org/wiki/ITER

I guess you could expose your sewage directly to the neutron flux of a fusion reactor.... :-)
Well now, let's hope after all this we can find a stable price, so people can actually use this stuff as a mechanism for transferring money, though I suppose with this China crackdown it's losing some of that appeal even. I guess we're stuck with Western Union forever, nice pivot btw. Telegrams were pretty cool though.
Wouldn't the secrets file be added to gitignore?
Who are the best coders to follow on GitHub?
Ask HN: Why Don't People Wear Masks For Pollution in Delhi?
Yesterday Delhi's ambient concentrations of fine particulate matter (PM2.5) breached 800 micrograms/cubic meter according to real time data collected by the Delhi Pollution Control Committee.

As far as I am aware, no schools were closed, and I don't see anyone wearing masks. In Shanghai the public has been much more responsive and has voiced concerns regarding poor air quality.

For reference check out the wsj articles below (if you google search the titles you can bypass the login requirement in order to read the articles).

Shanghai
https://www.google.com/search?q=Shanghai+Hit+by+Heavy+Air+Pollution

Delhi
https://www.google.com/search?q=Delhi%27s+dangerous+air+pollution+problem

Steps to Reduce Your Exposure (US Embassy - Beijing)
http://beijing.usembassy-china.org.cn/20130201-pm25-steps.html
ft.com, source of all amazing paywalls.

Here's the same content from a non-paywall provider: http://www.scmp.com/business/banking-finance/article/1384688...
Well this would be my comment too. Many VC backed companies kill lifestyle businesses which could be profitable. this would give joy to the owners of the business and their users.

But these VC backed companies kill these small businesses AND they later when it's not profitable enough let down their uses my closing down the shop.

Let's build a community also expects input from a community which is left in the cold. Wouldn't this make it harder and harder to form communities in the long run?
How I Learned to Stop Worrying and Love Chromium Sync
Give it time. Don't sell just now. Had a similar situation and just choose to wait.

Made a nice profit a year later.
I'd stick with YouTube and customize it using their parameters. Youtube has a CDN and also detect browsers and servers html5 or flash.
> learning from my mistakes.

what was your rationale for investing in the first place? Was it following some person on the internet? Or was it because you believed in the bitcoin craze? Or was it because you believed that Chinese demand would drive up BTC? Or some other reason?

The way to learn from your mistakes is to sit back and understand why you bought BTC in the first place, and then try to understand what went wrong (treat this like a scientific experiment)
Sorry, but if you didn't realize this was a strong possibility, you didn't do enough research. I'm cautiously optimistic about Bitcoin, but this has happened before and will happen again.
Spartan programming [2009]
It might be hard for younger people to understand - but when films like The Terminator [1984] were made, this kind of thing had battered the news for decades, probably since the cuban missile crisis. The movies talked about a near future that many fully expected to happen. The endless hysteria and doom-mongering were enough to make many weary of the always-about-to-happen nuclear war, or devastating consequences of just having nuclear weapons around.

In fact game theory informs us quite correctly why it was never a really serious threat.

Anyone who grew up in that era will quite rightly be highly cynical about the advent of nuclear war.

I'll leave it to the curious reader to perhaps imagine what hobgoblins are used to scare the young and naive these days, now that global thermonuclear war is worn out, and only useful for spoof spy movies plot points.
The way most job descriptions are - listing 5 languages with at least 3 years experience, its not a surprise that people deem themselves unqualified.

(As a side note I get to hire someone after Christmas,and have no idea how to word the ad. It will be all round work, with a fair bit of Python / Django, but I feel that these are fairly niche and will limit my choices if I ask for these specifically.)
BTC will hit ~$400 before it stabilizes and resumes upward progression.
It's so cool to see you going the emotional roller coaster of your first big investment mistake.

And it's even for an amount you can afford to lose in the long run! You're a lucky man. That's much better than betting the house after losing your job in your mid-life crisis.

Just take the opportunity and pay very close attention to your emotions and what triggers them. Awareness of that is what will make you a better investor in the long run and, whether we invest time or money, we're all investors in the end.
I was hoping it shows that it really depends on your style (procedural or functional). Thanks to generators and arrow functions, ES6 lets you write code using either.

When you're writing in functional style, you'd use arrows, which work nicely both for small lambdas and for writing combinators that can be partially applied. When you're writing in a more procedural style, generators are your "do syntax" equivalent(-ish):

async(function* getCredentialsByToken(token) {
credentials = yield NewCredentials(token)
return User.findByName(credentials.userName)
});

ES6 is a lot more powerful than it looks :)
Pathetic attempt make people use another editor. There's a difference between making a suggestion to use another editor than just blabbering about how great X editor is better than Y editor.
"Some people here noticed that the top ranking countries have a much more homogeneous population."

That is just a matter of perception, and a wrong perception at that. The old world is actually far more diverse than the USA, where a single language, culture, political system and economy dominates in all corners, and is continually more homogenized by the mass media and highway system.

It is just that you don't see the diversity in foreign cultures, or don't rate the diversity you do see as relevant, while your brain exaggerates the diversity within the culture you are familiar with. It's the same mechanism that makes 'all Chinese look alike' to white westerners, and 'all westerners look alike' to people in China.
“Everything that’s not Firefox”-support is still a problem: http://caniuse.com/#feat=apng
This just means apps will have to be built with Xcode 5. Older iOS versions can still be supported.
Gear Grinder: Grind coffee while riding your bike
Bitcoin Value Sinks After Chinese Exchange Move
So... not only can some bacteria develop this immunity, they can transfer it to other bacteria? (kinda like a torrent isn't it?) That's so cool (albeit very dangerous for us).

Though if you look at it this way:
Bacteria have been researching on vaccines against anti-biotics in their built-in genetic labs. And when a group of them finally had a break through, they started distributing it pretty fast!

Looks like they're doing a better job of research and knowledge dissemination than us... Still think it's ok for journals to hinder sharing of knowledge by taxing it and thus increasing the cost of research??
Well, if it's 1280x720 for your whole field of view, so any reasonable size rectangle 4 feet away will be a fraction of that resolution - so, forget about readable text or such.
I have to agree with RyanZAG, log4j seems a strange inclusion in this list.
Depends on your wager. If you think bit-coin will never rise again sell now and walk away wounded.

But that wager makes no sense at all since people accidentally delete there wallets all the time and there's a limited supply of bit-coins.

If you factor in time bit-coin can only go up as long as people are still using it and i have confidence bit-coin will reach wide adoption.
The People's Bank of China, Bitcoin, and Chinese aunties
And I don't think even that really belongs in this list.
If you use yield in JS you don’t have to think about execition order too. Because execution sequence will always be the same, and JS lacks real threading, so you won’t notice it anyway.
You should watch The Apprentice (UK version at least). These people are willing to humiliate themselves on public TV to get that job. And usually they have quit within a year.

Actually X-factor is an even better example. Some people on it are clearly talentless. They have been deluded into thinking if they want it bad enough and try hard enough, they can become a star.
> no point in being ethical if no one notices.

No meaning to ethics if this is your philosophy.
I've started reading the book. The self-promotion and anectotal evidence of bad design made it impossible for me to finish it. Nonetheless I'm looking forward to the course.