skysight-inc/HackerNews huggingface dataset:
It's great to see resources like this popping up. When I was in school we used the Tanenbaum book, even if it was heavily skewed to his belief that microkernels were better (Torvalds and Tanenbaum fought in an epic flame war).

At the University of Arizona, we implemented in our class projects various stages of an operating system kernel, such as a process/thread scheduler, user/kernel mode functions, message passing (IPC/mailboxes), locking/semaphores/mutexes, signals, paged memory, and a file system in this upper division course. It wasn't as hard as a class like Automata, but it was tedious.

However, now that I am doing so much low level work, I can appreciate what we learned in class. In fact, it gives you a strong understanding how critical sections and locking work (and how this all ties in with the operating system). It makes you appreciate simple user mode delegate syscalls like fopen, fork, and malloc and realize that a bunch of things are happening in kernel mode. It makes you avoid naive design choices like while(true) loops and look for blocking/event-based equivalents.

So you might groan about taking an operating systems class. Don't! You might never ever work on operating systems, but you will be able to appreciate how to make the operating system work for you. Some self taught programmers I have met don't know the difference between blocking and non-blocking. If anything, operating systems will drill these concepts into your head to help you leverage operating systems for your benefit.
On HN I believe that would technically be referred to as an anti-pattern.
I noticed this recently. I started my job 3 years ago, building a database system from scratch for my organization. Learning Django, and building something new sparked my interest in coding again.

3 years on, it is now mainly maintenance programming, actually fixing stupid excel upload errors (I have argued for hours that we should not be using such an inappropriate method for uploading data, but important people insist).

Anyway, the point is, I don't usually bring problems to my sleep with me (I have outside interests). But recently I was asked to add a new feature. It turned out to be a complex problem - along the lines of the P versus NP problem. Now this got me thinking. In my sleep. I did have strange code like dreams (not had that since studying at university). I wouldn't say I sleep badly, more with a sense of excitement (excitement may not be the exact word, but something similar).
Well, there is "working on a farm", which is not paid well.

And then there's growing things and selling them, which is usually very profitable, and lands you all kinds of government subsidies, depending on where you are and what you're growing.
Hi, this is Ken. Sorry we didn't get back to you -- we've been getting a lot of interest and it's been difficult getting back to everyone promptly. I can't tell who you are from your HN handle, but I'd be happy to get in touch today if you shoot me another email.
Other than "substring", how often do you really run into this problem? I have never had a problem with PHP and UTF-8.

Oh, good luck trying to match all unicode punctuation with Python/Javascript. With php it is as simple as preg_match('/\pP/u'

I deal with a lot of UTF-8 issues, and while php is super ugly, there are pretty good solutions in cases where it requires ugly hacks in other languages.
Start here: http://en.wikipedia.org/wiki/Great_Pacific_garbage_patch

and here: http://en.wikipedia.org/wiki/North_Atlantic_garbage_patch

and here: http://en.wikipedia.org/wiki/Indian_Ocean_garbage_patch
Glad I'm not the only person who thinks upstart is back-assward. I've never understood how its model of "start a service iff all its dependencies are running" makes any sense: it (a) starts random other services I don't care about, just because their dependencies are met, and (b) forces me to manually track down and start all of a service's dependencies in order to start it.

Though I'd be glad if someone could explain to me how it does make sense.
Back in my undergrad I TA'd Comp Sci for a few years. That sort of stuff was rarer in upper level courses, but in the intro classes which were often largely filled with non-cs majors, it was rampant. The policies of the course were extremely lenient as well, and very explicitly spelled out in the syllabus.

For example, there was an assignment every single week, and 3 times during the semester, they were allowed to turn in an assignment up to a week late. This is by far the most lenient late policy I've ever seen in a course. And still, every semester, I had to deal with several kids angrily yelling at me because they found out they got a 0 on an assignment because for the 4th time they decided to turn in something late.
Red Hat Rolls Out New Technical Conference for Developers - DevNation
Some angry locals missed the target
Any spy might appear as a private citizen.
OOP in PHP is pretty much the same as most other languages. And the implementation of namespaces is literally the only choice when combined with all the other existing PHP features.

If you're looking for mis-features, you need better examples than these.
Ask HN: Should PR agency be an option to get your growth hacking viral?
We have been trying different growth hacking techniques but out of 5 attempts only 1 was covered by tech blogs and media in 2012 , later when we tried to mail the tech blog writers we didn't receive any reply. How to hack in this situation ? Of course one option is to spend on PR Agency . Is there any other alternative?
The Reverse Resume
How does that change the fact that 0F is more than "uncomfortably cold" for most people?

I'm not disputing the 0F to 100F (or -18C to 40C) range in terms of being "regularly seen".

EDIT: I suppose the core of the misunderstanding is that I was addressing the "human centric" advantage and relation to brine, where you were just arguing (quite reasonably) the convenient representation of the range?
In case someone doesn't pick up on it, gov1.info is a parody site.
Http://www.publi-wiki.org/Article/huis-en-tuin/hoe-lavendel-snoeien
Interesting. I came to the same conclusion myself a few years ago when converting a Windows app to Unicode. I store all strings as UTF-8, which enabled me to continue using strncpy, char[] etc. I convert to wchar_t only when I need to pass the string to Win32. I can even change from narrow to widechar dynamically. I use a global switch which tells me whether I am running in Unicode or not, and call the 'A' or 'W' version of the Win32 function, after converting to wchar_t if necessary.
If you want to check this out for yourself try this python/scapy script http://pen-testing.sans.org/blog/2011/10/13/special-request-...
Put it to you this way, your not being pulled over because they don't like you

Maybe not, but by the same token it's not OK for them to add to a ticket because their ego is challenged, and to do so raises all kinds of unfavorable stereotypes about law enforcement.
> I'm a cloud developer

> You mean you work on internet applications?

> No, it means I don't come into the office.
I believe that they have used raids on Silk Road buyer bitcoins going into this wallet as prima facie evidence that his wallet was credited for purchases verified to be sales on Silk Road.

He’s going to struggle to show why people around the world have paid $100M in bitcoins to him, some of which tie to Silk Road directly, and that the bitcoins are his and shouldn’t be seized or forfeited, but that the drug connection is false.

That fails the straight faced reasonable person test. It’s interesting how when it comes to some things like this, people conflate the “beyond a reasonable doubt” standard to be “beyond any doubt”.
how about nothing to access? give these cretins an inch, and next week you'll wake up in a police state. Crazy? No, just tired of seeing this stuff waved away.
Most (if not all) US States use prison labor to make their license plates.

http://www.nj.com/news/index.ssf/2012/02/nj_inmates_work_to_...

http://www.cqql.net/adrian.htm

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

http://www.youtube.com/watch?v=oklKAMEOT7I
Sure, the other sovereigns are welcome to retaliate, mope, etc. But there is a huge difference between "should not" and "can not." It's also fundamental that "should" is determined by democratic process, while "can" may be subject to legal constraints that override democracy.
I have had some luck finding part time work over the HN monthly freelance thread and through developer email lists (NYC.rb specifically). In the case of the email list it was as easy as sending an email to the list describing myself and my past experience and saying I was looking for part time work. A handful of people reached out to me.
Google Drive Android API
How startups can compete with big company perks
The new jawbone UP24 is similar in that you need to push a button but if you forget to manually do it, it asks you later if you want to count those immobile hours as sleep. Works pretty well by measuring deep sleep, light sleep and awake time along with counting steps etc.
While on the subject of fixing iPhone's I have an iPhone 4 with a dodgy home button (works 50% of the time) that I would like to get fixed but I can't find anywhere in West London that will do it for less than £70 with most charging almost £100. I would do it myself but it isn't as simple as replacing the back and I would rather pay a little bit more to get somebody who knows what they are doing to replace the button. Anyone know of anywhere?
This could be a useful chrome/firefox plugin. If you run this in your browser console, all that video will stop:

$('video').each(function() { this.pause(); })
Really, not even when building, say, a RICO case against the mob?

I agree the NSA need to be reigned in, a lot, but there are grounds for listening in sometimes. Courts need evidence to convict.

EDIT: I agree that some kind of permission from a judge is needed for oversight.
Show HN: Xinq - Easily manage database queries inside Visual Studio
There are companies that do a wide variety of nonsensical things and survive because of other qualities. How many of us long for sane managers that understand estimates, fighting the employee's corner - even if just so that they're a sustainable resources - and the basics of meaningful targets?

One aspect of competition is selection pressure, but the other is diversity. You're assured of reaching an asymptote with your threat environment in order to survive for any significant length of time, but it's perfectly possible for a majority of the market to do very stupid things if they all think much alike.

Heck, if the market were that adaptive, insane companies would be getting squished left and right.
>None of this kept me from experiencing immediate, full-on, feverish anxiety.
>And then—for the first time in nearly an hour—I could work. I found that I was so accustomed to his voice, how he holds his body, his aura, that ignoring him in person is as easy as ignoring a TV. Easier, in fact. He stops being the president and starts being That Guy Who You See In Tweets, That Guy Who Gives Speeches, That Guy.

Interesting how your mind can put the president into the same bucket as leaving the news on in the background.
From Nest's history of capitulation to the patent industry, I predict several roadblocks on the path to $50 versions at WalMart.

http://en.wikipedia.org/wiki/Nest_Labs#Litigation
At the time it was supposed to be the best eCommerce solution out there. Tried it and it was painfully slow to both develop for, to administer, and for the customer to use.
Why Marissa Mayer Hired (and Then Fired) COO Henrique De Castro
Obviously they can technically, just like the Army could in theory shoot private citizens.

The NSA has claimed throughout that this is not what they're trying to do. Even their "untargeted" programs (when they can get authority to intercept data without a selector, such as overseas) are not to be used willy-nilly, and even their untargeted programs still seems to involve selectiveness from what I can tell.

E.g. the "200 million SMS messages per day" story from the other day represents ~3.3% of SMS traffic, despite not having selectors attached to that data interception.

Now I don't know that literally every program they have is never being used against private citizens. I would agree strongly with you that they should not be.

But the Internet is packet-switched, not virtual circuits, which means you can't simply install one tap for one IP address. The data needs to be seen before the event, not after it. Sometimes it's not possible to do the right filtering at the selection point itself (I would imagine this is the case with SMS), so you have to do the big data equivalent of map/reduce, and grab everything, collate it, and then filter it to see what comes up.

The problem is that it's a hard problem, with long-standing recriminations when they get it wrong (such as with the 2009 underwear bomber in the USA, who NSA had got shit on for missing completely; it was only luck that his mission hadn't succeeded).
" At least NSA analysts are trained from Day 0 about the Constitution, USSID 18, FISA, etc." And we all know how well that worked out. What's your point? The NSA is currently not doing it's job.
Under your own link "Software developers, systems software" has THE best combination of the salary, projected number of jobs, and projected growth rate.

Software developers are indeed in demand.
Get a warrant. You can get evidence using one.
This might be a bit cogsci, but one thing that has really helped me over the years is to switch my mental language away from statements like "I never finish anything", to statements like "I have had trouble finishing things in the past."

The first is a static judgment I am applying to myself, and it's a definitional straitjacket. The second is simply an observation, and it leaves room and opportunity for positive change.

When we tell ourselves we "are" certain things or "always/never do" certain things, we are defining ourselves in a way that makes it harder to change, due to the reinforcement.

At this point, I pretty much automatically recognize negative "judgments" and do the translation... I think it helps a lot.
The switcher view is a) purely read-only, b) scaled down in size from the normal view. I think it makes sense for info to be presented differently in this case. When you make an icon smaller, you don't just take the existing design and scale it down. You also remove detail you can't afford to try to make the design clearer overall.
I do not think that you'll find geeks who do without gaping holes in their knowledge.
Some thoughts about making things for the web - The Oatmeal
What are the C++14 parts here? I haven't been paying much attention to the C++14 standards shaking out.

dfrey already asked about why begin/end are functions now.

I see auto being used inside the lambda. Was that not allowed in C++11? I got sucked into the "use auto everywhere" mantra, so I just imagined it was possible, but could easily see if it were not. That is probably the biggest decrease in size to the original code posted.

I see return type inference. That is one thing I have heard about being new in C++14. To be honest, I would rather see the explicit return type there. Inference is always nice, though.
The ability to do the same with a RC car has existed for a couple decades.
Hacker News is a pretty good place to find passionate developers. How many hours of development per month do you require? When do you expect to collaborate regarding the projects ~ business hours?

I found in my consultation gigs it's largely beneficial to have someone whom you can meet face to face with occasionally.

If you're interested in having a chat; send me an e-mail to the address listed on my profile.
This is HN. I don't think that's what he was talking about...
> Anyone remember what the claims were for Turbo Pascal?

According to Embarcadero Turbo Pascal memorial page, Turbo Pascal 5.5 was compiling 34,000 lines/minute!

http://edn.embarcadero.com/article/20803

Having been introduced to Turbo Pascal line of compilers, spoiled my expectations in regard to C and C++ when I got to learn them afterwards. :)
Felt to me like they didn't understand how to sell people who aren't "X experts" - I'm not a digital media expert, I'm not a wordpress expert, I'm not an iOS frontend expert, I'm a generalist. I do software development, which apparently isn't that salable these days ;)
PajamaDuty: PagerDuty Alerts Right In Your PJs
Hack to build PagerDuty alerts into your PJs.
I am an IDE (Aptana / Eclipse) user.

VIM / Emacs sound like they have so many cool features. Can someone not build a decent interface that doesn't rely on remembering cryptic commands for all of the features?

To people who know both. Would it be worth me learning either Vim / Emacs in this day and age? Eclipse has a lot of features and plugins. And way more intuitive interface (I use git through it, without having really learned all the syntax and options, it does most of what I want).

Vim / Emacs seems like a lot of learning (that I could spend on possibly more useful things). Opinions?
You don't fool anybody, the subject didn't come up untill you brought it. The thread is about a site that shows examples of Go code and explains them, there's no discussion about the advantages or disadvantages of their design decisions, just matter of fact statements.

Of course, you can do whatever you want, but that doesn't mean that the rest of us won't probably look at your comments thinking "Here come the generics whiners again" and look in the other direction. You are alienating your audience with your indiscriminate repetition.

And, if the disclaimer helps you, I'd like generics in Go, they are useful sometimes. I just don't see the point in such zealotry over something which is merely convenient.
According to the wikipedia page on WAAS[0], regular GPS is accurate (95% of measurements) < 2.5m horizontal and with WAAS is is .9m horizontal.

There is also an FAA graph of GPS measurement accuracy[1] which I'm guessing is the source of various "accurate to 2.2m" claims I have seen.

[0]http://en.wikipedia.org/wiki/Wide_Area_Augmentation_System#C...

[1]http://www.gps.gov/systems/gps/performance/accuracy/histogra...
For thise trying to make sense of the top-loading/front-loading discussion: when people say "top loading", they often mean "vertical axis" (http://en.wikipedia.org/wiki/Washing_machine#Top_versus_fron...)

That page also nicely arguments why horizontal axis machines need less soap and water.

IMO, the top loader with horizontal axis is the superior design: water and energy efficient, clothes can't get stuck between tube and front, and the axis can be suspended from two sides. Disadvantage is that one must build a way to open the basket. That introduces some extra weight, and care must be taken for that not to introduce an asymmetry in the weight distribution.
It doesn’t, but I’m being slightly approximate. Keep in mind that perception of (and physical effects of) temperature is hugely nonlinear. 0F is more dangerous than 100F, but when you go outside of that range, heat becomes far more deadly very quickly. I shovel my driveway in -20F, but I would never consider doing that sort of outdoor labor at 120F. Many people live in regions where -40F occurs from time to time, but if its 140F, you will die (actually, I think the highest recorded surface temperature is 13xF).

To your edit: yes, I think that’s the real thing. I certainly don’t think the brine thing is reasonable, just that 0-100F is a nice range.
When you're ordered by a judge to disclose the contents of your computer or media by lawful order, or the police have reasonable suspicion that you have some sort of hidden container, than yes, it's pretty useless. In those cases your refusal to comply can be used against you.

It's a very useful mechanism to protect information important to you in other situations. Perhaps you don't want your spouse, kids, boss or employees to have access to some data. Or you need to hide sensitive data in plain sight for preservation purposes.
So, if convicted, should he be able to keep the estimated $100MM of bit coin, the proceeds of a criminal enterprise (regardless of your thoughts on legalization, it remains that trafficking or facilitating/conspiracy to abett trafficking -is- a criminal offense)?

Or is your argument based solely on the lack of conviction - which is more worthy of discussion?
Thanks, great recommendation. Since then I see articles about blacktie.co everywhere.
NoSQL Database Solutions – Types and Examples
How is that going to solve the problem? The procrastination comes from a fear of failure. Your suggestion is to go take a mindless, shitty job, thereby suggesting this is what's going to happen to him if he fails? First, that's probably not the likely outcome of failure, and second, it's not going to help the fear of failure.

Call it a "vacation", or a "break", or whatever you want. But you have to step away sometimes in order to clarify your thinking. Startups are a marathon, not a sprint. Despite all the lean startup craziness, nothing truly gets built in a day, a week or a month. If he has literally made no progress in a month, then something needs to change. Personally, I think the most effective thing is a change of environment. His office has become a toxic place to go during the day and procrastinate. He needs to get away from it and do something else for a bit, and then come back to it with fresh eyes.

Here are some further suggestions for what he can do to regain some balance.
http://zenhabits.net/the-10-essential-rules-for-slowing-down...
Maybe it's just me, but here are my first impressions:

- they will break the very DEFINITION of json : Javascript Object Notation

- they pour XML stuff into json... but did they wonder why json replaced xml in many developers' toolbox? because it's designed to be simple, lightweight, read easily, be directly usable from javascript. No namespace nightmare, no verbose markup, concise notation... That's why json took over XML for many web services.

- json-ld will be mostly unusable in javascript (I can't use myObject.property anymore ... I know I can still use myObject["ical:summary"] which is Ugly)

IMHO people should use XML if they need such a complex notation.

But I'm biased, I never liked XML.
Cybersecurity Startups Aim to Anticipate Attacks
For the first time, hackers have used a refrigerator to attack businesses
In a wilderness we would be turned into someone's food very quickly, but luckily nowadays in our world you don't really have to work that hard to survive. If you can't do all the things that you dream of right now, maybe you are simply over-ambitious. Try to move your focus from the things that you didn't do and focus instead on something else, more realistic that can be done. Do one thing, but do it right. And then work your way up from there...
The difference is now most job-seekers have a college degree, so just the mere fact of having a degree is no longer a differentiator.
Prove it mr. president! How do we know the calls won't be stored? The stuff the NSA is doing is already illegal but I doubt anyone other than whistle blowers will go to prison.
Design matters.

I remember when the iPod was still crazy expensive and people were abandoning their much cheaper Rios in droves.

Btw, I've purchased a few cheap home devices. For example, a few smart light switches. I've ended up switching back because they made my life more complicated and difficult, the opposite of the intended effect.
High level RescueTime integration would be nice, even with a health focus. Knowing how many hours I spend in front of a computer is a big thing.
Ask HN: How to decide on adopting NoSQL over RDBMS?
11 kids on my mom's block died in a fire when she was growing up. The fire was arson.

There was another guy recently who burned down his business to collect the insurance money. He endangered all his neighbors and the firefighers who responded, as well as committed insurance fraud. He wasted taxpayer money to investigate and prosecute his crime. Give him an extra 30 months.