skysight-inc/HackerNews huggingface dataset:
This is like going backwards.
+1 on the Analytics and testing side, but what is truely important is that you build a good mental model of the product from a high-level, technical point of view. You don't need to know the nitty-gritty details of implementation, but you do need to know how the varios components of the product work together.
I might have got the wrong end of the stick here, but I think he did. He wanted to test the super charger network, and then found after leaving the car in the cold overnight that although it had originally said he had the range to make it to the next supercharger, it now said that he didn't. Because of that he compromised and tried to top up with juice from a normal charger. That was the charger he didn't fill up completely from, where he did an unplanned and unexpected charge for approximately an hour (or approximately three quarters of an hour if you believe Tesla). Either way, he hadn't wanted to charge there in the first place, was keen to be moving again and believes that Tesla staff gave him the OK, telling him that the missing miles would come back once the car was going again.
Incidentally I just read the child rearing chapter of Jared Diamond's latest book about traditional societies. Turns out they all tend to co-sleep, but usually they sleep on the ground or on hard mattresses. As JD points out, it is easier to notice that you have rolled onto your child with a hard mattress.
Yes, it's actually exactly the same in the US, despite the strange propaganda claims in these daily anti-online-education articles that suggest US college is like kindergarten, with the professor holding every student's hand at each step of their mutual journey of self-discovery and personal fulfillment.

In real life, undergraduate classes at well reputed universities may have 100, 200, or even 800 students for some freshman courses. You may go the entire semester and never once see the well known professor appear in class. Often the entire class is taught by a TA who speaks English with an incomprehensible accent due to his recent arrival in the US as a grad student being his first exposure to the language.

The notion that american professors closely and personally interact with and tutor each student, with special focus on those from underprivileged backgrounds so that every student has the same chance at success, an idea being pushed in these articles, is complete nonsense and simply does not happen in large US institutions.
Yup, my wife & I co-sleep with our 5-month old (same reasons as you mentioned) and also our 3 year old (who could have her own bed if she wanted, but she likes being in the big nest), and generally we all sleep well.

We researched risks beforehand, and found (no links because this is from memory...) that it would be a bad idea if we used alcohol/sleeping pills/etc., or were obese -- we don't/aren't, and in the 3+ years we've been co-sleeping we've never even bumped a child in the night and upset it.

I know people (and hear about people) who accidentally punch their spouses, sleepwalk, etc. during the night -- if you have a history of that kind of thing, I wouldn't recommend it. If you don't, this is a nice setup. My personal experience is that I'm hyperaware of the baby in the bed even while mostly-asleep (like when changing position during the night), and in the morning have very foggy memories of turning over very carefully.

We generally head to bed gradually starting around 10pm (but I often read the older girl more stories downstairs while my wife gets the baby to sleep first), and the kids wake up anywhere from 8:30 to 10:30 the next morning -- usually later rather than earlier, so I get some work done in a quiet house before they get up.

Side-note: we got a co-sleeping bed (a crib that attaches to the side of the bed, basically) but it quickly became a toychest; the babies didn't want to be set aside. Now we sleep sideways in the bed (headboard/footboard means no one rolls out the "sides") and the grown-ups put their feet in the co-sleeping attachment.

edit: forgot to mention that obesity is a risk factor for co-sleeping.
5) There are no bare trees that catch fire when you hit them in flight.

6) You cannot jump by clicking the mouse.
Yay, we had that and it was great, highly recommended.
Apple and world hacked by Facebook plunderers
While reading this article I was constantly thinking that 'constraints' were a re-framing of goal-setting. It is well known and used in all modern companies, that setting a goal and breaking that goal down into manageable tasks is the optimal way to ensure productivity.
I don't think HN's comment voting/sorting algorithm is up for AMA style discussions. So often a single top-level reply dominates the discussion.

Actually, the sorting part is probably fine. It's hard to judge, anyway.

But for an AMA, it's not as much the sorting, but also the interface: Check any random AMA thread on Reddit and try to imagine what it would look like without all the "load more comments" links. Also try to imagine how differently the discussion would flow with all threads and replies completely unfolded.

It's a complex and interdependent balance, that, I think, the way it is handled on HN isn't particularly suited for AMA style discussion. The most interesting questions need to float to the top. But without comment folding, the two or three most interesting questions will gather a vibrant discussion and replies, causing many people to not even get past them, and the other questions won't get sorted properly because so much less people vote on them.

But, why not get the best of both worlds? Get an interesting person to do an AMA on Reddit, then invite HN to come along for the discussion? For those worried about the quality of discussion, my experience is that the more "grown up" a topic is, the more "grown up" replies you will get (and childish ones voted down), so if you get someone that's big in start-up land, you'd get a good discussion just fine, unlike what you'd get with a pop-star/TV-personality.
Hahah! Maybe the Yeti is trying to clean up the slopes though, eh? ;)
Some of those are so infuriating. Luckily by now there are also some experts who speak out against the "let her cry" theory. Turns out that feeling safe and cared for actually gives kids more confidence and in the long run than being left alone for long stretches of time.

We also had a close shave with the milk thing, but there are also now experts who help with and promote breast feeding. But the "standard docs" are rather quick with "just add artificial food". Even though they should now that it's better for the immune system to be breast fed (there actually is research on that).
"Abu Dhabi" AMD Opterons Tested
I have done this before using Java 7 async nio. The performance would drop like a brick when data received actually needed some sort of processing. How does this implementation hold up when you need to perform a O(n) operation on received data? Experiment with different sizes of n to see how the performance holds up.
I love it. This game brings back so many memories for me! As it's written in JavaScript, I intend to take it, add some realtime players via Node.js and get this up and running. So much fun for a side project and with a great starting point!
What's the patent for? I'd tend to think that it's not just "hand held plastic extruder"...
Complex designs and protocols suck, why do we put up with them?
Yeah, until they shutdown the server shortly after the next Sim City is released, making your old game unless. EA has a habit of doing things like that.
Good job...

You can also open 1 million connections using one linux box
a) increase local port range 1024 to 65535
b) setup 17 ip address.
c) open from each ip address 58824 connections
Kinda side-topic, but: why do most "hacker advice" tend to recommend Python over Ruby or Perl (ok, Perl is "just old") as a beginner's scripting language? I love Python and I like using it in production better than Ruby, but Ruby is much more of a "hacker's language" and pushes you to more "lispyness" in spirit and practice! (I admit I'am a bit of a Python ecosystem fanboy, with all the cool and easy to use machine learning tools and libs, but this state of affairs is a bit unintuitive - and I'm looking at this types of questions from a language designer's perspective too as I'm working on a language that has 99.9% chances of not tacking over the world, but that 0.1% is enough to "make me high" and keeps me banging my hammers on until I get to something that I can show to the world).
Just read the part about breast feeding in Jared Diamond's latest book on traditional societies. Interestingly apparently most traditional societies use on demand feeding, the baby is always within reach of the breast and can drink whenever it wants. The average seems to be that the mom still wakes twice a night, but the baby drinks 14 times, most of the time without even waking the mother.

I suppose it would be difficult with modern beds because I suppose most mothers have some sort of pads on their breast to avoid lactating into the mattress.
How can you do that? For me, this just doesn't work...

bind '"\C-z":"fg\n"'
bind -x '"\C-z":"fg"'
echo 'Control-z: "fg\n"' >> ~/.inputrc

If I replace "z" with "a", it works.

C-z works otherwise, e.g. C-v C-z prints ^Z in shell, and C-z suspends programs (e.g. vim). Is it a bash thing or a terminal thing (I'm using iTerm2)?
'XTSU' just doesn't have the same ring to it.
Ask HN: What are the performance gains using native C++ instead of C#?
Especially in video games
Nobody knows. The application is not public yet. All they are saying is "patent pending" with no specifics.
It looks like a bit more than just a glue gun because of the way the plastic seems to cool almost instantly. I suppose they need to control the temperature very precisely.

That being said, in their video the actual "3D" drawing (i.e. in the air) seems extremely imprecise and for their eiffel tower demo they just make 2D sides that they glue together, so in this case it's probably fair to call it "just a glue gun", or rather a "stand-alone 3D printing head/glue gun".
Damn, I'm itching for pressure-sensitive arrow keys.
It's in the long list of awesome features :D it actually wouldn't be too hard. I suspect the hardest part would be making the après-ski experience realistic ;)
Hmn, arithmetic reality check. Georgia State, $11k per year in-state. Hmn, my alma mater is still charging about half that, for any Canadian student.

Full time minimum-wage work for the summer? $7.25/h (GA min wage) * 40h/w * 17 weeks = $5k income (basically untaxed). So you're in debt for $24k over your 4-year degree.

That's a lot more than I would have guessed. Guess the student had better figure out something valuable to do (more valuable than minimum wage).
3D Printing Pen, Glue Gun, whatever... my question is, what is it useful for?

Although I'm not sure its worth dismissing the product if the answer is for art students, this in itself would be an interesting market for a hardware product.
> If Musk could really back up all of his accusations, why would he be "satisfied" with this "joke" of a response?

Frankly, he's probably still not satisfied. But he realizes there's no point in trying to slay the New York Times. That's not his dragon to kill.

He's got other things to do, and the NYTimes writing terrible articles is not his interest or priority. Write a witty blog post and declare victory is the right choice here.
Social Security numbers are too widely used to really be regarded as secrets (how many government, bank, employer and call centre staff have access to yours) or to be used as authentication. They are a pretty good identifier of who is being referred to though.
Oh don't worry, that's exactly what Google wants you to think

"Look, another pool in the office"

I'm not saying it's bad.

"the people working on moonshots are not thinking about the business model, they are thinking about the problem to be solved"

And this is why Google is good at what it does. I would do the same. Each employee should focus on their own strengths.
I think you should be playing Civilization V.
Soutenez itFits, un dock pour tous les smartphones
Having started my professional career as a Tester (SDET) at Microsoft, this topic resonates with me. In my experience testers need to be more aggressive and assertive with the code their developers have written. Obviously this implies you've already established a good relationship with your coworkers, but you shouldn't be afraid to tell developers that their untestable code needs to be given a second look. It's not pleasant telling someone "their baby looks ugly," but that is one of the responsibilities of white box testers.

Dependency Injection greatly improves the landscape. Don't instantiate concrete classes when you can have a DI framework construct those objects for you. This will allow you as the tester to supply the mocked objects rather than taking the wrapper approach. It is better if as a team you've introduced this design decision up front, but you can introduce it later for problematic classes that need extra attention. In Java, I love using Guice for this sort of thing, in .NET I've used Ninject in the past.

One thing that .NET has in its favor that Java doesn't is partial classes with an internal access modifier. You can then put your test code in these partial classes and grant them access to your assembly. This allows you to separate your private test code hooks from your shipping code, and it prevents someone from deriving from your class and using those test interfaces incorrectly.

This line is the problem: public WebClient client = new WebClient(); client shouldn't be public and it shouldn't be using a concrete class. Introduce an interface, use DI, and use internal partial classes as needed. If your developer won't do this, find a new developer. Anyone can write code, but writing good testable code with a clean separation of intents is something some developers never learn, usually because no one has told them, "You're doing it wrong."
Sorry guys, I'll get to it when I can :) if you fancy helping out and beating me to it you're more than welcome to do a pull request!
The chief problem with OAuth2 is that you can do almost anything and call it "OAuth2" -- the spec is ridiculously flexible, and allows all kinds of options that are explicitly stated within the spec as not advised.

I'm fairly sure most of the flexibility is there to help migrating enterprise and legacy apps to OAuth2. It's not a great approach, though -- enough security disasters and the problems of migrating will simply go away, because the poor rep of the mechanism will mean no migrations are happening.

I'm using OAuth2 for an API, but a small subset of it that doesn't seem to permit the abuse Egor covers -- though I'm going over it with a fine-toothed comb now. XSS vulnerabilities are more subtle than most other hacks, and so the dangers aren't as obvious in a simple review.
it's not an advertisement. I'm not associated with them. the title is all caps because i copy pasted from their title. sorry...
One interesting point that's glossed over here is the mind's propensity to see things that aren't there.

Because we see flame in the nearest manhole and a similar color repeated down the street our lazy brains tell us it's a whole series of flames.

But when you learn they're not, and you go back to the photo, it's obvious as heck that they're not further explosions.
So what you are saying is that Google is a talented and large advertising company.
Three-Quarters of All Bitcoins Are Hoarded
A bunch of annoyed Model S owners recreated the trip recently in a convoy of 6-8, they all made it just fine without towing, etc. It doesn't seem bad for road trips in between the correct segments, of which there are more every month.
If nothing else, the media will now think twice before giving an unfavorable review to Tesla cars.

On the other hand, the paid-for crtique and general crusade against electrical vehicles will now probably shift to less notable outlets, but on a larger scale. Think - dozens blog posts detailing bad ownership experiences, and not with company loaners that log every bleep, but with actually bought cars. It'd be interesting to see how Tesle is going to handle this... because frankly I don't think they can.
Has anyone used http://textcaptcha.com/ or a similar service? I really like the idea - a self hosted solution would be great.
You clearly don't understand Google.

They earn over 95% of their revenue from SELLING advertising. The other parts of their business e.g. search, mail, maps consume advertising like other web businesses. You are trying to equate the selling from the consumption which is illogical.
It's not a question about web frameworks. It's a question about languages.

I you like Python and it's Zen, use Django. Otherwise, use RoR.
How do you "man up" against sleep deprivation? I think in general you shouldn't man up against your own body.

I'm actually fascinated by this: popular mythology seems to push the "man up" principle for getting things done. But the real challenges I see are longterm sustainability, managing your resources properly to get through long tasks/projects.

Maybe it is because movies lend themselves more to the "man up once and achieve a break through" type of stories than to the "act sensibly and continue for a looong time".

Think learning piano: you can not man up and force yourself to learn piano in a 48h sleepless session (I assume :-)). You have to practice continuously for years. Sticking to it is the really hard part. Maning up for short bursts of time is actually easy.
True to some extent. Though in many countries the government has to give planning/zoning permission at least. And notice how in all versions of Sim City most buildings do appear and 'grow' by themselves.

So it is not as bad as you make it sound.

Also in many European countries at least, schools and other educational institutions are commissioned and payed for by the government. The same for fire-departments.

Sports-stadiums, and churches are an edge case, but in most cases at least part of the funding is provided by government, and in most, if not all cases (all stadiums, maybe less so for smaller churches in industrial zones) special planning permission is required (for health and safety, noise, transport considerations, etc).

So yes, there is more paternalism in Sim City than in the real world, but it is not as far off as you suggest (not for Europe at least) (revolutions, or at least riots, would be a nice addition to the game)
Any ideas on the cost difference of having this made in China vs. US?
Why, there are people whose sleep cycles makes 1am a perfectly sane time for being awake?
That's hardly a spin.

Musk: "Victory! The NYT admits Broder got his facts wrong!"

Devil's advocate "Defeat! The NYT still stays Broder was honest!"

No contradiction here, just plausible deniability. Broder made honest mistakes that lead him to get his facts wrong (well). Tesla motors is happy to come out clean, and its cherry picking is just making clear they won't press the issue.
A cringe-inducing classic... oO;
>So it's not really appropriate to call Google an advertising company. They are a market maker for the world's information.

Sure. If you completely ignore the breakdowns in Google's revenue.

It's akin to saying Apple is a music label because you decide to emphasis the small parts of their business ahead of the parts that are actually responsible for the bulk of their revenue.
Great work! But I missed the "sentiment analysis" flavour that used to be so popular some years ago with the NLP bunch... In this sense, I did something similar:

http://dtminredis.housing.salle.url.edu:8080/EmoLib/

and

http://nlptools.atrilla.net/web/omsa.php

Drop me a line if I can be of any help!
The Burger King and Jeep Hacker Is Probably This DJ From New England
You're completely right, but many of us realized "don't be evil" was nonsense long ago. That ones who need to hear your message would defend Google as not being evil no matter what they did (as you're already seeing in response to your post).
First, yeah, I can't mention any modern environment without lots of good points -- and bad points. Most everyone agrees, except...

Second, this trolling attitude seems built in with the Python purity philosophy. It reminds me more of islamists and other religious fanatics than of anything else.
but root of insecureness is OAuth2 spec, why would someone implement response_type as a parameter? Aha, spec says so! Why would anyone set redirect_uri dynamic, not static? Spec allows! Scope as a parameter, not a setting? Hi, spec!
Isn't there already enough hero worshiping on HN as it is?
sure, i tried, but connections comes slow...
i wanted they to come like a tornado.
I think the good news that there is a smaller infinity of you reading stuff.
When a game plays itself too well without user input, some people feel that takes away the fun [1].

[1] http://www.youtube.com/watch?v=KWbLOFGSEDo
Certainly static. My hostname is .static..com.au.
I call BS. I'm supposed to believe that Google took months to do something that would take Fedex 2 days. I think Google is smarter than this.
The Sad Truth About Website Apps
What would be the point of that? The bottleneck here is not the amount of ports. TCP can handle concurrency over one single input port just fine.

The issue here is concurrency on the service software. If you have to launch a million instances to listen on a million different ports, you are doing it wrong.
This seems more plausible. I'd guess they are strongly against emulating Windows API system calls in projects like reactos or wine.
"Having had a great deal of personal experience with the FBI [..] suggesting conspiracy at certain levels is just laughable"

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

Read that. Unless you can pinpoint how everything changed radically since then, I say heh.
They likely want APIs to be copywritable.
Business data analysis.

Any serious product will have a bunch of metrics and analytics - on usage, on customers, on finances; but if the non-tech people can do their own reports and analysis from the core data, then it saves a lot of time in coding, and allows the business guys much faster reaction time as they can get the answer they want right now instead of waiting a day for a custom report to be "requirementsdiscussedunderstood", built, checked and deployed.

And I've seen finance gals/guys do such analysis in excel that it would take weeks to do them as well in the data analytics code.
> The problem is that very few people would be willing to pay the price, so no one bothers making them.

Do you have any idea why this is?
The Innovation Efficiency Index
I'm not sure urban planning has the same impact in 'old' towns; Northenden has been around for a thousand years and other than being engulfed by Wythenshaw hasn't really undergone dramatic redevelopment.
It's ";" in reverse, i.e repeat the latest f,F,t or T backwards.
If necessity is the mother of innovation, then maximizing necessity should be our goal right? This line of thought would however turn silly quite fast, with "lets have wars!", and "lets have random barriers everywhere".

If there weren't patents on formats, people would still make new formats. Crappy energy inefficient and data expensive algorithms get replaced when basic research (unaffected by patents mind you) show that better ways exist.

Here is a thought: figure out a new algorithm that lower the bandwidth use of Google by 25%. They would surely pay you with heaps of money no matter if there is a patent involved or not.
No technical staff were consulted at all:

Tim confirmed that he'd not involved any technical staff
in the decisions he'd made about the Python product brand,
and told me he regretted that as it would probably have
helped him understand the likely reaction to his trademark
challenge.