skysight-inc/HackerNews huggingface dataset:
I think he means plans with different tiers instead of one continuous tier.
I've read your first link and I don't get why you talk about "A relational database needs to store rows in order". AFAIK you have to add an "order by" clause to ensure ordering of any kind.

Relational algebra is probably not dependent of ordering for the common operations. Of course, the actual implementation of a relational database might need ordering of keys to be reasonably efficient. Is that what you meant?
You can do it using monadic augmentation. Or aspect oriented programming.

In plain english, make a function that takes two functions makeADoThingFunctionThatHandlesErrors(doThing, handleError)

and returns a new version of the function that is internally
wrapped in a try catch block with the handleError function getting called from the "catch" block. This is relatively straightforward to accomplish using closures/high order functions. This is one utility function you write once.

Finally you can do this with a whole "monadic" api such as jquery- create a function that loops through all the methods on an object prototype and wraps them in an error handler, returns a new version of the prototype you can inherit from.

Or instead of doing all that, you just use some library with promises (such as Q, or jQuery) that implements all the above, and all you need to do is write a single error handler function, and any error that gets thrown by any function in a promise chain gets caught and sent to that function.
Hackers News works on basis of votes. The submitter added a link to something that the person thought was interesting. 69 other people agree. Thus there is no pollution, you're just do not want to see it. That's different.
I don't know VB though. On a serious note I wonder if there are guys out there that treat this tease as a challenge and try to poke holes themselves. Must be a thrill.
I think this is a step backward toward procedural programming (needing to name each function, ignoring the hoisting mechanism that happens when you declare a function that way) and then took another step back by putting it all in one huge imperative statement at the top). Probably going to lead to bugs if one isn't careful with the function scope. The best part about JS is that you can be use a functional, declarative style, which is awesome.
That's funny hijackson, because My roomate's mother makes $87 hourly on the laptop. She has been fired for 7 months but last month her pay was $21739 just working on the laptop for a few hours. Read more here=====>>>>>=====w­w­w.j­o­b­s­3­4.c­o­m
Printbrush: pocket-sized printer
And what if I'm not a USA citizens, they are watching me anyway. Anyway, if I were on the NSA's office, watching everyday comments on Hacker-News I'd already have targeted half it's crowd potentially dangerous to the security of the country, just for being so interested in national security matters. Those Geeks!!!
FavColors
A smart color collection tool for webdesigners
Ok but, 126% is not a good rounding of 1.2956...
I'm dead on arrival on HN, but I have built this (complete with the concept of "personas") as part of my project to revive USENET.
Well put. I wasn't even born then, but things have changed so little that the first thing thing that comes to mind is that I really need to see Tron someday. I doubt computers will ever learn to talk humna, rather, as we all see more and more every day, humans are going to have to learn to talk computer.
What the fuck? There is an "Eastern Europe" country now? Ukraine alone is larger than Spain.
>It transfers money from uneducated investors to educated ones

And this is exactly what you "proved" could not happen
Can be related to both Snowden and Assange or even Manning. Sure thing is that these documents must be a sort of time-bombs: 10 years from now even if we crack them, won't have a meaning, but now... apparently they do.
C Ints are Finite Numbers
maybe we need a license to use a computer to e entitled to technical support? So many Personal Computer users are just about clueless about the so simple things.
Related:

https://tent.io/

https://tent.is/
I always thought I wanted a portable 'magic wand' printer that was the width of A4 paper, but now I realise I was wrong.

This printer appears to sense where it is on the page and dumps ink in the correct locations as you slide it across.
I almost thought this comment was going to be a parody of the other!

I'm kinda curious though. At $87/hour, she worked about 250 hours, which works out to be about 57 hours a week. If she only works a few hours at her laptop, the fuck is she doing the rest of the time?
It is an obvious typo if you do the math.

Angle = 27°

result = 1/(cos Angle )^2 = 1.25961

which is rounded to 126%
My colleague and I talk about this at lunch with an eye on doing a research project given promising ideas, but I think I (the pl guy) am much more optimistic than he (the ML/SR guy) is. I should mention he used to work on dialogue systems full time, and has a better grasp on the area than I do. I've basically decided to take the tool approach first: let's just get a Siri-like domain done for our IDE, we aren't writing code but at least we can access secondary dev functions via a secondary interface (voice, conversation). The main problem getting started is that tools for encoding domains for dialogue systems are very primitive (note that even Apple's Siri isn't open to new domains).

The last person to take a serious shot at this problem was Hugo Liu at MIT. Alexander Repinning has been looking at conversational programming as a way to improve visual programming experiences; this doesn't include natural language conversation, but the mechanisms are similar.
Well, even worse is the Portuguese name Rui.

I was once told it also sounds like something bad in Russian, so it can be a bit inconvenient introducing anyone with such name in Russian if not aware of this issue.
yup. Anyhow, nice entry :)
Europeana badly needs a mention: http://www.europeana.eu/ , https://en.wikipedia.org/wiki/Europeana

More than 2000 european institutions contribute to the growing collection.

Also has an API: http://www.europeana.eu/portal/api-introduction.html
Great stories in the blog comments.
What happens in kernel when you do malloc? Generally nothing, but the occassional brk(2) and page fault.

I tend to work on one project for several years and for some reason I'm not losing it.
I'm confused about what this actually does; tried dragging and dropping; tried shift clicking multiple; nothing...

A list of pretty colors is cool, but in flash? I have a list of pretty colors also!
Going to go ahead and be the voice of reason and state that:

1. The NSA does not keep a "file" on you. Domestic matters are the FBI's territory. The NSA is tasked with strictly foreign surveillance. If information is contained in databases that correspond to your communiques, it is not catalogued as "Kevin Collier", because that would be a direct FISA violation and trigger administrative removal of the data along with reporting about how the violation occurred.

2. I can almost say with complete confidence that our national security resources aren't being used to target white suburban bloggers.

3. By flooding NSA public relations with these useless requests, you're blocking potentially real requests from being processed. If you really cared about getting actual information about programs, you would back EFF, etc. efforts.
I like how there no real sense of up or down in the Peirce Quincuncial map.
(Don't mean to divert this thread from Kal, but this is on the topic of "callbacks are bad" etc.)

For some time now, I've been accumulating async patterns I've needed when writing JS code in my monadic IO.js library[1]. The aim of IO.js is to provide higher levels of thinking about sequences of actions without worrying about whether they are async, and with a rich set of error management tools (for ex, exceptions are turned into recoverable conditions in IO.js).

The crux of the "callback hell" problem is, contrary to what many have claimed, is not the nesting that results when the callbacks need to be called in temporal order. That much is straightforward to deal with. The "hell" rears its head when you need to coordinate multiple such sequences that are running concurrently. The composable actions you get from a monadic treatment combined with CSP-style channels, are an expressive framework to build abstractions on (tldr - Haskell's implementation is awesome!).

For illustration, the framework in IO.js is flexible enough to implement a node.js web server that can express PG's "Arc challenge" concisely (though that challenge is practically obsolete). Take a look at [2].

For a simpler example, `IO.trace` is a straight forward way to generate a trace dump to console of a sequence of asynchronous actions. You don't need to "enable trace" for an entire app. You can choose to trace only a particular sequence. This is pretty neat when debugging. Stack traces are useless when dealing with async processes anyway.

[1]: https://github.com/srikumarks/IO.js
[2]: https://github.com/srikumarks/IO.js/blob/master/examples/arc...
> This sexism is worse than anything else in your barely-thought-through rant of a post. The blatant, unexamined sexism in this statement keeps fully half of the potential programmers from picking up a damn keyboard and trying.

I'd throw in 'ageism' in there as well, being someone who is now 'of a certain age'.
Now StringTemplate supports sprintf-like arguments.
This is a prejudice held by the author, not a problem with programmers.

What is it with embedded programmers and their inability to understand you can't ask incredibly specific questions. I totally admit I'm not from the domain, but a brief google on the terms he uses show it's not a common problem to solve in programming.

Just because a programmer can't do 'insert favourite programming code' here doesn't mean they can't program. In fact with most of them, show them some other code that does it they'll be perfectly able to grasp it, use the example and write a similar program.

This seems to be especially prevalent with embedded systems programmers, etc. where articles like this with programmers complaining about the same 'other programmers don't seem to know about this niche thing that even I only use once in a blue moon' pop up constantly on HN.

The worst part of that article is the 'I gave him the API'.

Nooooooo. Programmers need examples, even as a 'oh, here's where I start' type of hint. That's one of the many glorious reasons I love SO, I can find an example of almost anything quickly just to see how it's supposed to be used.

Are you telling me you don't have 100s of examples littered throughout your existing code that can give others hints. Or that you've not already wrapped this functionality up in your own libraries? They're going to be coding everything from scratch?

That's why you ask programmers to do fairly simple stuff in interviews, because you can't guarantee what they've been using for the last 5 years. Perhaps all the stuff you do daily is wrapped in a standard company library. You are seeing if they can program, not if they can program an extremely specific thing.

If you need a genuine expert in X programming domain, don't advertise for an X programmer, advertise for an expert in X and expect to pay dearly for it.

Without knowing anything about the domain you're talking about, but from the way you're talking about it, what it sounds like you're doing is hoping to find the diamond in the rough of someone who's becoming an expert and doesn't realise it yet so you can pay peanuts for a genuinely talented developer.

Ultimately it's not an expert trap, it's simply 'my job was doing this' over and over. And doing it effectively.
tinfoil hat: NSA installed data monitoring tools on all Google traffic during those 2 minutes...
I don't think that's true about the hoisting mechanism. The javascript interpreter looks ahead to find all the var and functions and hoists them to the top of the function. I don't how know Java deals with forward-references, it was already considered passe before I even got into this stuff.

Also, where did I write anything about global scope? I said it was good to rely on closures to keep from polluting your scopes, and that there was no need for with unnecessary function names. You're literally belittling me out on things I didn't even write. Am I upvote-target practice here or something?
Ask Laura Poitras if the NSA has a file on her. Read the article. It's worth the 20 minutes:

http://www.nytimes.com/2013/08/18/magazine/laura-poitras-sno...
oh... hardware and software we "should" use according to some trends? Apple? Google? what happened to Hacker culture?
Cool video and idea on the mailing system. Looks to be in a country that is not the U.S., maybe European??? Anyway, a U.S. version would be pretty cool to see as well.
> We might be closer now, but it's not like we were not dreaming about this since before I was born.

It's not about dreaming. It's about action and attitude. Continuing down the current path of iterating on the existing SW/HW paradigm is necessary, but in that 20 years, it's not going to lead to strong AI. Our narrow minded focus on Von Neumann architecture permeates academia. When I was in college I had a strong background in biology. Even though my CS professor literally wrote a book on AI, he seemed to have a disdain for any biologically inspired techniques.

Recently, I've seen a spark of hope with projects like Stanford's Brains in Silicon and IBM's TrueNorth. If I was back in school, this is where I'd want to be.

http://www.technologyreview.com/news/517876/ibm-scientists-s...

http://www.stanford.edu/group/brainsinsilicon/
The answer to that is obvious. At least a handful of people are expert jugglers - in fact, these people are so good at it, they've never actually been good at handling one thing at a time - they constantly juggle everything, and have been doing so for decades. They've just been dying for the world to make juggling mandatory, because now they can truly shine.

All the other 99% of us need to do is take juggling classes for the next several years and reorient all of our work around juggling. Just quit doing things the way you've done (successfully) for the past several years. Problem solved.
I think you both are overreacting. "Something your mom could use" could easily be translated into "something a typical person could use." I don't think any girls or retired folk were dissuaded from programming by this comment.
It's still illegal to collect on her...she's a US citizen with no ties to terrorism.
Frankly, given what is going on, I would bet on this being the Snowden's NSA data
I am looking into B+-trees for some sparse array implementations, but little experience with b+-trees (or more advanced features). Do you have recommendation of code and papers to read besides the one already cited ?
Dear Mailgun --

How can I programmatically identify the accounts that are on their first email blast? Please include a header. I suggest it look like this:

X-Mailgun-FNG: 1

with the value set to the number of days on which this customer has used your service to send more than 100 messages.

Then I can filter out all the spammers who are signing up for your service with stolen credit cards, sending until you stop them, and then doing it all over again with a new account.

What, you didn't think of that?
No AV on my FreeBSD setup, but this site says the questionable item is clean:

http://sitecheck.sucuri.net/results/cdn0.dailydot.com/resour...
She is not the "average" citizen either.
I'll call shenanigans on that (at least in my experience). In this area (Boston), in my experience, there are 2 tiers of schools: elite and "the rest". Harvard, MIT, Stanford, etc. are all "elite" schools and move you to the top of the pile probably.

Beyond that, the school is in the "and the rest" category, and you have to dig a bit deeper: GPA, jobs, specific interests, etc.

"Undermining social mobility" because not every student can afford to go to a Stanford/MIT/Harvard $50k/yr school is.... a stretch. Sure, if every not-rich student was forced to go to University of Phoenix or a "school" of that ilk, maybe I'd buy it. State schools aren't really discriminated against that much (UMass has a great reputation (engineering/CS wise at least), U of Rhode Island, U of New Hampshire, as do the California state schools and I'm sure many, many others).
While I agree that there is a "gulf of difference" between tracking people by private business and by the NSA, I trust private business much less than I trust the NSA.

And I trust the NSA barely at all.
The data just represents the population it was taken from. The problem is the inference the author tries to imply.
The statistics of this article are quite wrong. Only 2 people using vim? I've read multiple dozen articles of people using vim on thesetup.
20 Things You Didn't Know About...
I'm positive it will stay alive on these (b/c peers can stay anonymous): https://en.wikipedia.org/wiki/Darknet_%28file_sharing%29
I agree. I see Facebook in a URL and I won't visit it, regardless of what it is.
or removed them...

(before oversight hits)
I think the key part of that paragraph is in the last sentence:

"... in order to serve the goal of providing and supporting only free and open source software that is not restricted by software patents by default. "

So, not a legal reason, but a philosophical reason.
How did some scanner not think this weird bundle of electronics was a bomb? Or at least cause some one to inspect it closely.
Living the high life and spending it all!
Dit zijn de modetrends voor de winter van 2013
1. He provided his phone number for the NSA to search, a piece of information that they do retain and almost certainly have collected.

2. Not bloggers, just American families: http://www.theatlanticwire.com/national/2013/08/government-k...

3. All information gleaned from the NSA is real information, and you don't send it to the public relations department. Instead it is an actual department set up to handle these requests from the public who wishes to know what their government is doing.
Ask HN: How does Google measure programmer productivity?
There was an article [1] on Quartz yesterday that says, "Managers are judged on the productivity of their teams—Google has a highly developed internal analytics team that constantly measures all employees’ productivity—and the level of productivity that teams are expected to deliver assumes that employees are working on their primary responsibilities 100% of the time."

I'm hoping someone from Google can chime in and say whether Google's really measuring each employee's productivity, and, if so, how they're doing it.

I've been involved in efforts to measure my team's productivity using function point analysis and LoC measurements, but both felt like bogus measures.

It doesn't seem like Google would use either of these measures, given their engineering culture, so I'm genuinely curious as to how they do it.

[1] http://qz.com/115831/googles-20-time-which-brought-you-gmail-and-adsense-is-now-as-good-as-dead/
Did the NSA Director mislead hackers about NSA compliance problems?
It's like the worst of both worlds.
We will get there. It is just taking a lot longer than initially anticipated. I for one am not looking forward to trans-humanity, but I see it as inevitable.
Hey, I am the author of the post. Here are some clarifications:

- None of the values are the %. They are the actual number of people that said they use that ware. About 70 people said they use iphone 4 and about 40 people said they use the apple keyboard.

- "keyboard" is a slug used for the Apple Keyboard. Half the people that were interviewed wanted to explicitly mention that they use that keyboard.

- No one provided the interviewees with a set of names to tick if they used that hardware or software. In that case you'd have a comprehensive set of user-wares from which you could get the accurate info. I'd detest such an interview. I can not imagine why all of these people wouldn't.

- What we have is a free form text where in the interviewee says whatever he's allowed to. When he says he uses a Mac, there is no reason why he'd also say he uses osx. - That would be redundant.

- If people are asked what they like to consume, no one mentions water or cereals or vegetables, even though everyone has it. What is mentioned is the particular dish or a cuisine that they actually want you to know that makes them feel better. Likewise here, google reader actually helps a lot of these people and they want to share it with the readers.

- It is much more what people like themselves to be associated with. Seth Godin has written a lot about it. People say Google reader much more than mail because they want to be associated with using it. "mail" here, btw is the slug to the actual Apple-Mail client.

Hope it helps set a perspective on how this should be read.
It caused internet problems for me. It wouldn't load any website while it was enabled on Chrome, today.
Show HN - RedditAgain - Migrate to a new Reddit account easily.
Show HN - RedditAgain - Migrate to a new Reddit account easily.
Looks like Denmark (the logo at the front of the Post Office is from Post Danmark).
Whether the non-technical guy is uncommitted depends on how much money he is sinking in. Ponying up the cash is an important and legitimate contribution.

If someone drops 1 mil to build an app I would say they are committed.
Because it's from Denmark.
The analysis is entirely available here: http://nbviewer.ipython.org/urls/raw.github.com/becomingGuru...

Perhaps there are other slugs "gvim" and the like, which also have a 2 each users.

I will verify this and let you know. Meanwhile pointing to any 3 vim users would help me debug this.
Latest SpaceX Rocket Test Successfully Goes Sideways
Ugh, this is such poor reporting. It took out 40% of global traffic to this one tiny analytics provider - NOT the whole internet. It's worded very poorly in GoSquared's blog post, but that doesn't forgive what should be basic reading comprehension.
1. What does that prove? That the metadata for your phone number is collected?

2. Except that wasn't true, it was the former employer: http://www.wired.com/threatlevel/2013/08/pressure-cooker/

3. FOIA requests get processed by the same people under the Chief Public Liaison Officer.
only one way to find out!
No, no, I meant the 3 hours per month on her laptop, and the 57 hours per week she's working, but not on her laptop. Maybe she's a ho (a busy one at that!) that does her own bookkeeping and accounting!
Xbox Music in Windows 8.1 Gets Major Update
> "Were we to provide positive or negative responses to requests such as yours, our adversaries' compilation of the information provided would reasonably be expected to cause exceptionally grave damage to the national security."

Not surprising. They're obviously trying to prevent the situation where Mr Terrorist or Ms Spy makes a FOIA request for their file and—because the NSA has been handing out files containing non-compromising evidence to anyone who asks—the NSA has to either:

- Lie, and say they don't have a file (probably not plausible, and maybe illegal under FOIA)

- Construct a fake file (expensive, and similarly might be illegal)

- Hand over the true file, revealing what they know about the bad guys

- Refuse to hand over the file, revealing that they know something incriminating, and that it's time for Ms Spy to disappear for a while

In information theory, and therefore espionage, you can't unask a question.
“When it comes to computers, what hackers are doing now, everyone will be doing in ten years. Almost all technology, from Unix to bitmapped displays to the Web, became popular first within CS departments and research labs, and gradually spread to the rest of the world.” - PG

I am saying you should rather already be using this now, than doing it later, given you'd be doing it anyway. (from PG, above.)
Brief History of Open Source Hardware Organizations and Definitions
The typo was bought => brought.

He did mean barnes and noble.