skysight-inc/HackerNews huggingface dataset:
Microsoft really does make the most outstanding developer tools. I admit that I occasionally miss that deeply integrated, seamless feeling.

You guys deserve some recognition. I'm not too frequent a user lately, but I'm continually impressed.
The first Javascript kata fails with an unknown error, even if the code is correct.

You probably want to fix this bit too: http://imgur.com/KqYuCHn

Also, if your browser window is too narrow it suddenly thinks you're on a mobile device and ceases to work.
Google Glass, it looks like.
Some more specifics:

Stack walking works by rewriting the native stack. Basically we just let the native stack walker do its job, then strip out all python##.dll frames except for PyEval_EvalFrameEx. For that one we read the "f" argument and then parse the PyFrameObject to which it points, and replace the frame with our own using data from that frame object.

We parse the data structures ourselves, but use symbols to do so, which is why it'll work on any CPython build with symbols. This is why you can inspect objects even when process is stopped somewhere in native code, and it's impossible to eval using the interpreter.

We still use sys.settrace for breakpoints and Python stepping. Python-to-native stepping works by setting native breakpoints on code paths inside Python interpreter that can potentially invoke some user code (e.g. type_call invokes tp_init, which may point to a user function). When those breakpoints are hit, we eval the function pointer and see if it's outside of python##.dll, and if so, then set another breakpoint there. When it's hit, your step is complete.

So no, there are no special hooks added to the interpreter. We do end up relying quite a bit on internal implementation details, since we need to do things such as set breakpoints inside static functions, and read their arguments. However, because we use symbols for that, this works on any CPython build, including debug ones, and even customized ones so long as you don't rename anything that we rely on. E.g. adding a new field to PyObject is kosher, but renaming ob_type to something else would break us.
I once used to lead 20 telemarketers. I would create all sorts of board games on a whiteboard, using magnets and a marker. 1 Sale would equal 1 move.

Adding bonus fields, and a finish line, Those who made it to that where allowed to go home for the day.

Believe me, it did wonders to sales
I'm honestly surprised that we don't have the Russian dashcam phenomenon in the US. If I were a black male, I would most certainly have a GoPro or something similar in my car running at all times.

As a bicyclist, I'm just about ready to purchase a GoPro for when drivers are reckless and endanger me.

I cannot wait for the day when you can purchase a small recording device like a GoPro and have it stream continuously over wifi or cell phone signals. When that happens, citizens will be able to record the aggressions of police officers (especially during riots) without any fear that the device and it's contents will mysteriously "go missing".
I was presuming that the justification for any of the actions would be national defense and at least have a tenuous connection to national defense as would be the case in any realistic scenario. It is not hard to come up with one even for your outlandish example.
Go support would be really awesome.
I just signed up. One suggestion. Improve the "Phonebook" feature. Entering one contact per line? No excel/csv import? And no way to bulk add contacts after a group has been created? Not fun when I need to add 2000 contacts.
No, not at all. Have you used either device? Totally different use cases, design goals and purposes. Not comparable.
> The more serious issue is that I can't search encrypted email, whether I sent it or received it.

The tools to do this simply don't currently exist, but GnuNet has developed an approach to convergent encryption of keywords which points to how one might implement this in an email system.

The first step to do this would be to run the email through an extractor. It might do things like extract keywords from the email text (perhaps all non-common words and their frequency), attachment file names, MIME types &c. This extractor would then encrypt or hash these keywords and add an entry into the index for each keyword/email ID pair.

As a simple example, let's take your first paragraph. It might reduce down to the following words/weights:

((convince 1) (couple 1) (decided 1) (effort 2) (encryption.html 1) (fairly 1) (http://www.ocf.berkeley.edu/ 1) (http://www.ocf.berkeley.edu/~rwl/ 1) (http://www.ocf.berkeley.edu/~rwl/encryption.html 1) (linked 1) (make 1) (others 1) (pgp 2) (problems 1) (quickly 1) (recently 1) (regularly 1) (run 1) (signature 1) (solve 1) (too 1) (use 3))

You might then hash each element with your keyword hashing key, to get the following:

(("bea916398ce5fafc4497d378fc4555d9" 1) ("c81dc4aa3b1ae95487f288b297f51a6b" 1) ("8b801b4290ce10372b400330c737858b" 1) ("80b3e9090ee572563e67ebdecdb9b936" 2) ("cdd4c4efda80451e4dd1ff340dd2ed17" 1) ("9d4bcdc88159f8d830384f1696c32c19" 1) ("cb7baeb2e45e5e9d69fcf37c4df25669" 1) ("707f687e23bbbce127970361fd6bda10" 1) ("e6656976f2c6944f7aefd16b5786d6cd" 1) ("df9c284344194e1887e56478ec655dda" 1) ("ec8e0c526c105fc8ebb1ebdf293cf717" 1) ("f2d031d514795444be32f18690f6961f" 1) ("270273a76f0d974c2a06f96d40e2430a" 2) ("46bd41b18d2de638bbd3c126cb4ed716" 1) ("d96c629e01788ed763529620f308bd0c" 1) ("2d5fe4b610334160f178a1977b7d1db1" 1) ("211d0c274e8fb59bbcfe6e74241c317a" 1) ("ae5360545c4e008ed683df468136a8b0" 1) ("d6a5babaa2da167ef4548e7c34b49f40" 1) ("adcf3cd322f7ce16ad015f4725ddbda8" 1) ("e7e89d9c445263f9835c483aabf4f453" 1) ("84f0d11faa98a86f9624df86bd71901d" 3))

And then you'd store your document ID (in this case, the paragraph ID) and the weight in the index under each keyword.

To search for "use PGP", you'd extract the keywords "use" and "pgp", then hash them with your hash key to produce "84f0d11faa98a86f9624df86bd71901d" and "270273a76f0d974c2a06f96d40e2430a", look those up in your index, see that paragraph ID and the weights 3 and 1, retrieve the paragraph, decrypt it with your decryption key and you're in business.

Interestingly, this same architecture works securely if the index lives on another system, so long as the keyword hashing is executed on your system and your hash key is itself secure. Thus, there's no good reason that Google couldn't offer keyword-based searching on messages that only you can decrypt—no reason except that they do not wish to.
Admit it dude. You worked at NotW.
Right, but for those issues where the parties do form a spectrum, playing the spoiler is a smaller but more credible threat from a third party, since voting for the other guy would be worse.

On issues like this one, where party positions seem to depend only on whether it's their guy doing it, I'm not sure what the appropriate strategy is.
I think they are probably more interested in avoiding the ~15-30% (rumored) cut that Steam takes for digital sales of their games. And I know in EA's case, they want to sell DLC through their game, not through Steam's client specifically to avoid that charge (that's the reason some EA games were removed from Steam when Valve changed their policy on the matter).
DNI Clapper admits "my response was clearly erroneous"
Check out Facebook? Facebook is part of the problem. They are doing a lot of the government's dirty work.
Russia spy couple jailed in Germany
Very interesting. We already track "errors" (responses that don't have connections) and we could make a real time error corrector. Let's say you have a yes/no question and someone says "nah." If you didn't want them to recieve a text saying "the options were yes and no," we could maybe make it so you could click on the node you wanted it to go to... But, I'm not sure if there's much demand for this type of feature in general. I think most users won't want to have real time people sitting in the trext app. I'd be interested in talking about it more though!
Ask HN: Is the non-profit sector pointless to target?
I have a small business/start up focusing on the non-profit sector. Basically, we are offering a complete service that covers everything needed for a website. The only responsibility of the customer is picking out a pre-made template and entering in page content, uploading images etc. etc. The enticing factor is that it's a quick, cheap, great quality, all in one set up.

We take care of actually getting the site set up and configured, the domain registration (if needed), hosting, backups, security, email addresses etc. etc. Our templates are all responsive, well designed and come with donation modules, image galleries, video tutorials, blogging abilities etc. etc. Our pricing is also very competitive with other businesses offering similar services.

I have experience working in the non-profit sector and know a lot of people who continue to work for and with non-profits so I understand, at the basic level, the need of a decent web presence most non-profits have. Unfortunately, it seems like any hint of a cost immediately negates the need for any sort of web presence in the minds of those who make the decisions. For example, I was recently talking to the director of a pretty large American based non-profit who has a childrens center in Kenya. When I explained everything I could provide them with (they don't have any sort of website) he sounded very excited. As soon as I mentioned there would be monthly fee I never heard back from him. After a follow up email I stopped trying.

So HN, am I just wasting my time? Am I delusional for thinking $25 a month for everything we are providing is a fair cost for non-profits? Should I just call it quits and start focusing on small businesses or b2b products? I want to use my skills to help non-profits but if they don't want help I'm kind of at a loss of what I can do...
Yea.. Can't get this to work..

Q: Given 2 strings, a and b, return a string of the form short+long+short, with the shorter string on the outside and the longer string on the inside. The strings will not be the same length, but they may be empty (length0).

My Answer:

function solution(a, b){
if(typeof(undefined) == typeof(a))
a = "";
if(typeof(undefined) == typeof(b))
b = "";

if(a.length > b.length)
return b + a + b;
else
return a + b + a;
}

Result:
"Unknown Error"

Of course my solution doesn't account for a.length == b.length, but the question is somewhat nonsensical in that it states '...strings will not be the same length, but they may be empty...' (2 empty strings would be the same length)...
Stupidly buggy. The correct answer tells me "Unknown Error".
Software Pricing Economics for 2013
Germany rejects Snowden's request for asylum
Disregard the nay-sayers. They're just the typical whiner. You have been told it's greenlight to post again, don't sweat it.
Johannes Trithemius(1)

Abbotus of Spondheim Abbey
De Laude Scriptorum -`In Praise of Scribes' 1492

Praises why scratching ink on vellum by quill/point, is, among many other things, the better input device over this new Gutenberg press invention(~1436), improving both the entirety of the scrivener, as well as all of civilization.

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

(1) mnemonic I use, Tri: them-i-us
Hmm yes that's a good idea too.
The more I got into it though, the more I realised that really it's nothing about 3D printing as such - most people don't care any more about 3D printers than they care about injection moulding.

Right now it's much more about getting something either customized or unique in some way, and printed on a professional SLS (or similar) printer. It's also more about useful materials such as metals and ceramic - that's where Shapeways have got it right I think.
Instead of saying on the page 'pre-orders are coming tomorrow' you should have an email collection form there. You're likely getting a large amount of traffic and could be losing out on a lot of potential pre-orders because people will forget to go back to your page tomorrow. Just toss in an email collection form saying you'll notify people when pre-ordering opens. Otherwise, neat product.
Well, if these benchmarks are misguided and useless, it is useful to recognize it as such so you don't go out and trade all your EC2 instances for Linodes.

"At least we're doing something!" is a silly defense.
This is scary stuff!

I am flabbergasted to know that Palantir along with Sean Parker and Peter Theil are involved. I wonder how much I can trust Facebook now. If Palantir is getting investments/revenues from government, I wonder if Facebook too is getting some.
I think the iTunes comparison is that it has DRM and you can only print one of each item. I think it's a little early for this kind of service though. The ones who like to tinker with 3D printers will be lukewarm to the DRM stuff, while the ones who just want to buy things will get superior prints through Shapeways.
Here is a good list of DRM free Ubisoft games: http://www.gog.com/catalogue?search=Ubisoft

This doesn't matter though in regards to personal information. Any service where you buy the game will have your information for the sake of enabling purchase. Steam is no better here, and even GOG. If either of them is hacked - your personal info will be leaked.
The New Xbox Boss Is... Steve Ballmer?
Kaiten- a new navigation model for web applications
The other reason to buy it as a pre-order was because it was cheaper. $125 for color via Kickstarter vs $150 for black from Best Buy.
The whole fiasco with their SDK supposedly shipping, promised to be shipping, pretty promised to be shipping, and finally shipping about 9mo late in a "warranty voided if used" alpha version annoyed me to no end.

The leaders of the project lack the most prosaic communication skills. Hopefully their recent investor infusion will get them to hire someone who does.
Does Twitter's advertising bring results for your business?
City announces .NYC TLD
>If IE had been open, people could have competed by modifying and extending IE.

But who would have been ready to put in $100M in ~1995 on a browser besides Microsoft? Remember there was no money to make in the market. Whats interesting is MS actually made an offer to Netscape to bundle their browser with the OS before they started work on IE. Netscape was barely surviving by selling server software. Not to mention that they too broke standards much like IE - adding several non-standard CSS elements, tags, proprietary DOM, etc. Ofcource some of these Netscape specific tags later got introduced into the official spec, but they weren't at the time.

If you look at webkit which recently got forked - without Apple and Google, Webkit would immediately die. No amount of volunteers or the fact that it was open source would be able to keep it alive while being a realistic competitor to other browsers. New operating systems, new Web standards, new JS engine improvements would all pose immense challenges that require an organized commercial effort to tackle.
I leverage SmartOS, Ansible, along with a service oriented architecture based upon Finagle with ZooKeeper.

More information on service arch approach: http://www.youtube.com/watch?v=30v5WVFvlno
I'm really surprised at the performance of C#... honest no-flame question: how is possible it that Python is beating C#? I've been out of the .NET world for several years, almost a decade, but I always assumed they would be at Java level performance.

edit add: This is really fantastic work
Yeah, just like Office for Mac, they'd never do that.

/sarcasm
What's the go to solution for doing the same on a Linux or OpenBSD box? I've been thinking of making the switch to some sort of *nix from OS X and I'd like to start on day 1 with 100% security practices. Moving to a new machine seems like the perfect way to start implementing everything in my life securely from the ground up.
I built an extension to use PBKDF2 and some other cleverness to generate predictable passwords for websites because I was tired of needing "random" passwords for every site and some kind of password keeper that stored them. I'd rather generate the password when I need it, and to do so from a password I have memorized, but which isn't written down or used anywhere else.
Actually, that idea is genius. Isn't, erm, 'adult' material what's credited with getting VHS off the ground?
Egyptians Love Us for Our Freedom
>Yet every adult working at a job was at one point a teenager. The first time they have to punch a clock and say "yes sir" to someone giving them an attitude shouldn't be when they are starting their first job at 24.

You seem quite invested in authoritarianism and suffering.

>But the personal attacks have started

Methinks thou doth protest too much.
What you have to know to hook and engage eLearners
>> its gnarly in template heavy c++, but so are all the tools. intellisense can't reliably provide navigation among all of the possible instantiations in your project.

Have you tried it in VS 2010+? You might be surprised. I've seen it correctly handle polymorphic Boost lambdas, and that's a rather impressive feat of TMP. Also, I've just tried the scenario that you've described (if I understand it correctly - "Find all references" on a class template), and it does list all the explicit instantiations in the project.
But you won't get shiny new features every six weeks, which I feel is what most of these comments are aiming at.
Their ridiculous contracts rule them out for business use from the start. Start at "3.3 Use of Our services in a way that conforms to Our Ethical code" in the general service agreement if you're curious.
The changing fixed background trend is on the rise.
That link has a response saying:

I asked this question at the German Google Developer Day 2010 and a Google Engineer / PM who works on Buzz said it's "tens of millions active monthly users".

Nothing on that page has anything stating "single digit millions monthly".
"our goal will be to refer people quickly to a site where they can actually purchase flights, and that we have no plans to sell flights ourselves."

By the look of it, this indeed follows the guideline they set. Google has always had a strong dislike of aggregators, and this certainly could easily be a big hit to sites like that.

That said, while it is a slick interface, I know quite a few people who are going to be quite unhappy about this being released.
Is the site broken for anyone else? Clicking more-info in the map bubbles takes me to a nonexistent page. http://www.restorethefourth.net/protests/ works, though.
I'm really surprised that no one in these comments and the thread on the actual story[1] (instead of this...whatever the equivalent of blogspam is but for slashdot) hasn't mentioned the horrible averaging methodology of this benchmark suite.

The individual tests aren't even a problem (though I would maybe pick some more and/or different ones, especially their somewhat odd benchmark choices in performance and graphics), but the averaging makes no sense at all.

Averaging time-based benchmarks is problematic enough (it feels more right, but it still isn't a good idea), but how on earth do you convert a "number of times we had to refresh a page" result into a number that you can then average with a "standards compliance" count and a measure of memory efficiency?? Even if you normalize (which it doesn't seem like they did from the output numbers, but maybe they did), the numbers still aren't comparable because you've given no account for the relative magnitude of their effect.

e.g. if you have a test of "does the browser have a konami code easter egg?", it doesn't matter if the geometric mean is less sensitive to outliers, because it still doesn't make any sense to take an average of that with "the playback framerate of an HD Trololo video" and then pretend that the average provides any insight. And it's even worse if you then compare that average to other crazy averages!

At best you can look at relative ranking, which they actually mention but then proceed to give exact numbers for their relative ranking. There's no information about "betterness" in there, though, except if you then divide up the numbers again to say "these points came from the win in test A, and these points from test B"...at which point you just have the original tests again. Better to count win/no-wins and use that as your final result. Then at least it's obvious that if some tests are much more non-trivial than others that you'll have to give arbitrary weights for the final result, as opposed to having the arbitrary weights being implicit in the tests themselves.

Sorry for the rant :) This is a good recognition of Mozilla's hard work, though notably they've been winning many of these tests for a while now (especially the memory ones), but it would be nice if tomshardware could drop the basically meaningless overall scores (or we could just collectively ignore them).

[1] https://news.ycombinator.com/item?id=5970429
Not really, the blog is my side gig. I talk about lots of stuff, but since I'm in the MS dev space I lean in that direction. I work in Azure and ASP.NET as a PM, I'm not in marketing.
They probably have some faults, but the general conclusions smell right to me: I don't think they're in the "really screwed up and wildly misleading" category, but in the "ok, interesting, could use some work though" category.
This seems like a really promising idea, and the execution is excellent. My only concern (as a scientist) would be whether people would continue to use it. Researchers aren't known for being organised at all, and the system of 'if what you're using is about to run out leave a sticky note on the lab manager's bench with the product #' seems to work.

In terms of freezer boxes, my lab used to have a web based system once upon a time ago but people would forget to update it after they took out the samples so we switched to a binder tied to the freezer, that worked a lot better with pages of grids.

I personally like this but I feel as though it might be one of those products that is attractive while its still new but people will become lazy and stop using it.

It's easy to forget to update something on the computer when you're busy doing long experiments.

Do you collect usage stats? It would be interesting to see how usage varies from a single research group over time and whether or not this decline happens.

Afterthought Edit: I can see how large groups ( > 25 grad students / post-docs) might be forced into using a computer based solution for scheduling and ordering as it's not feasible to use that much paper but is there really an advantage for small groups (3-8 members) which comprise the majority of research groups?

To me this is like using Sharepoint to manage documents for a group consisting of two people, a dropbox or email would be just as effective.
Free Tesla, say 100,000 signers of White House petition
We use Quartzy at the moment but its just so clunky, especially ordering and facility scheduling. I [used to] work in a facility that almost exclusively provides user services (for 200-300 researchers and students) and scheduling of all our equipment is rather important. I've spoken with you guys in the past about this, and while you say there are plans to do things like weekly interactive calendars (instead of that silly printable one), programmatic addition or even an API (I've wound up scraping and using some of your private calls to build our own calendar app for quatzy)...it has yet to happen. I can only hope that you'll invest a good portion of this on the UX / software integration side. Also, your ordering catalog search sucks, a lot. It doesn't find 90+% of the Hampton products we try to order.
That's interesting, and it still may mean that the article applies in that case to. Just for those who want the tl;dr version, the article states that barns are read because red paint is the cheapest (decent) paint. And the reason red paint is cheapest, is because it has pigments made from iron, which is about the most common heavy element (heavier than neon) element on earth. And this is all due to fusion in stars, and how it stops at iron.

So, the question is, are bricks red due to iron also?