skysight-inc/HackerNews huggingface dataset:
> Abstraction is more likely to increase speed, because someone smarter than you has written the bit that needs to be fast.

Am I the only one that hates this meme? The idea that "someone smarter than me therefore blah blah" seems ultimately to be counter-productive. Placing arbitrary limits on yourself does nothing except prevents you from attempting certain types of "hard" problems because "someone smarter than me will/couldn't figure it out so I shouldn't bother". Perhaps its just hubris on my part but I am completely confident in my ability to fully comprehend any problem or solution that someone has come up with. There are certainly people much smarter than myself, but I will never let that limit me. Whether or not there is actually a limit to what I am capable of understanding is irrelevant, I will never assume before-hand that something is beyond my comprehension or capability.
Just a by-the-way: this page loads some JavaScript from zedo.com that cause some truly annoying pop-ups, even though I have firefox set to block pop-ups, and denverpost.com is not among the "allow pop-ups" exceptions.
Yeah, everyone gets confused here because of Obj-C. We should change the name.
(Computer) Scientists of the world, crowdsource your lectures
I got different results on Windows XP (don't ask). Using both Firefox 19 and Chrome 25, Direct append came in the fastest with modestly slower performance (around 5-10%) from the other methods.
Someone at work is trying to get me fired what should I do?
As I said, you can buy real currency as a speculator and you aren't required to follow any regulations. Forcing speculators in digital currencies to meet the same requirements as financial institutions would be absurd.

I realize one could make a case that that is what they mean here but common sense dictates that was not the intent, and it is extremely unlikely speculators have anything to be concerned about.
There's several forks under MIT, don't fret.
"Sencha was able to make a version of the Facebook mobile app with their framework, and it was FASTER than the official, native app, and Sencha isn’t even particularly fast."

It was really laggy on Android, so no.
I'm going to express size in Knuths, where one Knuth is the size of one volume of Donald Knuth's "The Art of Computer Programming."

Knuth's work is THE seminal text for this sort of thing. It's very long -just over 4 Knuths thus far, and Volume 4 is actually only the first subvolume of something much larger- and it's very, very dense. If you want The Big Book of Algorithms, it certainly fits the bill, but does so in the almost cartoonish sense of the massive book that breaks whatever desk you put it on. It may also break the bank: this many books of this quality and length can get expensive.

Introduction to Algorithms, by Cormen, Leiserson, Rivest, and (in later editions) Stein, also has a very good reputation. It's about 1.5 Knuths long, and it's not as dense, so you're not going to find as much raw STUFF in here, but it covers the basics quite well, and also a fair amount of the not-so-basics.

O'Reilly's "Mastering Algorithms with _____" (there are versions for a number of languages) can also be good for quick reference. Length-wise, they're about a Knuth apiece, and there's only so much you can fit in a book that size. On the other hand, unlike the previous two that I've mentioned, these books present algorithms in a language people actually use. CLRS uses pseudocode, while Knuth himself often uses a kind of assembly language (I told you it was dense).

Speaking of O'Reilly, they also have "Algorithms in a Nutshell." This is the shortest one I can really talk about here -about 0.5 Knuths, maybe shorter- and that really limits what you can put in it, but it hits the most common cases.
Indeed, 53 significant bits (doubles) vs 24 significant bits (floats). In my case float performance was what I needed. There are always other options, depending on your (precision) needs and needs in general, such as binary coded decimals, fixed point arithmetic...
Why Are Healthcare Costs Exploding? See Proton Cancer Therapy
I think you mean "reply all".
Note that backbone is also compatible zith Zepto though.
I am quite sure it will not come close to Lucene/Solr in terms of performance or capabilities.
No, the DOM is slow. I've worked on mobile projects that didn't use a single 3rd party library, no jQuery no underscore, the most I've used is polyfills for stuff like Function.prototype.bind etc.

It doesn't matter. When you have a non-trivial thing to render in a list, not just a div with text content, and you start to scroll the browser stutters. Even if the list isn't particularly long (< 50 items).

CSS animations are also rather slow in mobile browsers although this is getting better with every release.

I actually find it a little bothersome that so much browser development these days is focused on JavaScript performance and JavaScript alternatives whether it is Dart or asm.js or whatever... when the DOM is the primary reason lag exists.
Thanks for the links. And, holy crap is PC hardware bizarre.
It springs from survival. Like most things.
He almost surely has gathered a team to help with the paper shuffling and related activities required to produce a large investigative report.
or the pros getting massively overcharged because culture accepts the notion of sinking tens of thousands of dollars on the equipment of ones profession.

The answer is both.
A lot goes into to how the founders handle the "advice". Lots of items in this thread relate to how the commentor would explain something to someone else, but I think that the key is how you consume what you're told.
I think it's about the same thing in Sweden (the student has the rights).

At the sime time, there are two different rights; copyright and "usage right" (not sure if that last thing is translated correctly), which means that you own the stuff you've created, but you can transfer the right of using it to someone else.
HN isn't a cult, it is a zoo :-)
Uncovering an advertising fraud scheme (NSFW) (2011)
How to build a Smart Lightbulb in a Weekend
Right. That's what I thought while clicking the link "Google quitting what? "
The reason native is better for mobile apps is not that the browser's rendering engine isn't fast. It's that the browser is yet another turtle on top of an already bloated stack.

He argues that the developers working on these browsers are optimizing them, and that we are not intelligent enough to trump their obviously superior coding skills. Well, I'm going to disagree outright on that point. Many of us are very talented.

Add Webkit on top of the Dalvik VM and android SDK, and fragmented device ecosystem, and we're talking major disparities between the way your HTML5 app is going to run on different android devices. I have seen HTML5 apps that work great on phone a and b, but not on c, because well, c has a different webkit version!

It's bad enough to have to write code for different browsers. It's really bad to have to write code for different browsers that will run on hundreds of different android devices.

Back to the point you made about optimization: don't you think the developers of the native SDKs are making optimizations, too? And the lower level means we're way closer to the metal, lower on the stack, and ergo: less complex.

I'd use HTML5 for a trivial app, like, a business's mobile website. But for anything serious, GO NATIVE!

Note, my answer is for mobile browsers, specifically android. Even iOS should be marginally better on this, but really I've only seen HTML5 kicking ass on desktop browsers. I've yet to be impressed by it in mobile.
Getting Crunched, Mashed Or Beaten Is Not A Launch Strategy
Bug in software of Mars Rover Curiosity
You could use Identifont and just keep picking features you want. Though no guarantee such a font would exist.
I don't know that it's "raw conviction". That's the sort of thing a tech-ignorant CEO needs. Sounds to me like Zuck simply isn't the sort of guy who is interested in being rich at the expense of not having something interesting to do. Like most programmers, he was probably having the time of his life playing around with a huge interesting programming project.
Yes, much like every other food on the planet, grains do contain certain compounds that can be harmful when isolated and consumed in large quantities. Did you know fruits and vegetables contain arsenic?

Despite what the Paleo crowd would have you believe, phytates do have health benefits (like fighting cancer and inflammation). And even if they didn't, soaking and cooking grains reduces their final content of phytic acid. Unless you have a very poorly balanced diet that consists almost entirely of grains, phytates are of no concern at all [1].

[1] http://www.drweil.com/drw/u/QAA400758/Are-Phytates-Bad-or-Go...
I think your knowledge might be a little outdated. Now that streaming (and less frequently, retail) rights are being sold before the shows even air, there's very little mid-season dropping due to licensing - the groups that sub airing shows know that they're licensed, and they don't care. DVD/BD rip groups care even less, and they seem to use file lockers a lot more regularly than the actual fansubbers.

As far as profitability, I don't think that most of them are raking in the millions, or even doing it as a full-time job. Most of the profit is on the file locker's side - otherwise they wouldn't be giving payouts in the first place. I suspect that the groups that really push the DDLs probably make enough to pay for hosting and some percentage of the DVDs/BDs they buy. Whether you view that as profit is up to you - but I think it's a little more than getting a beer for helping a friend move.
Abba - A/B testing framework from Stripe
Default Parameters in JavaScript
The 49ers’ plan to build the greatest stadium Wi-Fi network of all time
SxSW – Lost That Loving Feeling for Early Stage Entrepreneurs
Marissa Mayer Loves Paperwork, And It Is Driving Some People Nuts
Exactly, I was surprised how in the whole "ideas" mailing list discussion Guido had and in other forums that is dismissed as "meh" not even mentioned.

Discussions quickly turn theoretical and academic. "But you don't know when your green threads will switch, man, so I'll add yields in there for you". Yes, and then also make sure there is a complete universe of libraries.

Python is awesome not just because it is fun to write little hello world examples in (so is Logo), it is awesome because it is easy to GetShitDone(TM) quickly. The big part of GetShitDone(TM) quickly is reusing libraries not rewriting everything from scratch.

Using an exotic database for some reason -- great. Found a Python library to interact with it -- great. Oh but my framework is based on Deferreds and this one was written without Deferreds or this one returns Futures. Sorry, go write your own from scratch.

This has been the story of my life for 5+ years search or re-writing Twisted version of already existing libraries.

Now at least just adopt Twisted and go with it if they are going this route. But now, they are 'standardizing' on something new. I think had they done this in 2007, yeah rock on, that would have made sense. They didn't. What saved and kept Python on the back-end during the past 5 or so years was greenlet (eventlet and gevent). Guido is kicking all those people in nuts and saying, "no", we'll do Twisted now (with some changes).
The fact that this 'personal blog' is on blogs.msdn.com says a lot :)
The normalisation is purely to support older browsers though. Backbone doesn't really use that much of jQuery, have a search for 'Backbone.$' through the annotated source [1]. There are only 10 uses of it in the whole file, and not for anything too crazy. In modern browsers you could probably do away with jQuery and still avoid "if safari then...".

[1] http://backbonejs.org/docs/backbone.html
Only one thing to do - test
It does happen in most US universities, but it's not something you normally ask about.
Pope's Social Media Intern Speaks
Yeah, a full story would better help to evaluate the value they provided you.
Even so, it would make more sense to put all the addresses in a mass email in the BCC field. Regardless of if they are enterprise clients or not. Keeping contacts safe and secure should be a requirement.
According to Backbone, Zepto is jQuery as it has the same interface.
I'm not offended by this. At all. I'm happy your friend benefits from it.
You just use innerHTML with a big string, it's not the equivalent of the original fiddle and it's not a fair comparison.
You're missing less web-centric dev skills.

Some suggestions:
Haskell, C, Erlang, OCaml, C++.
"In the new design a row's primary key directly contributes to its physical key, meaning lookups and iterations on the primary key involve only one scan (rather than an index scan followed by random lookups in SQLite 3.x/most DBMS)."

Isn't this basically the same concept as a clustered index in MS SQL Server?
They do the same thing with regular electrical components. Resistors for example have tolerance bands so they make a ton of them and then if it fits in the 1% range it gets marked with the 1% color band and sold for more than the 5% tolerance resistors. It's easier to change the marketing strategy than the manufacturing process.
>This proviso wouldn't have helped Swartz (13 count indictment: 2 counts 'Wire Fraud' to obtain valuables; 5 counts 'Computer Fraud' to obtain unauthorized computer access and valuables; 5 counts 'Unlawfully Obtaining Information from a Protected Computer'; 1 count 'Recklessly Damaging a Protected Computer'). It wouldn't have helped Auernheimer (2 count indictment: 'Conspiracy to Access a Computer without Authorization', and 'Fraud in Connection with Personal Information').

Of course not. That's covered by the CFAA. The purpose of this bill is to get an information pipeline for cyber attacks on American companies or infrastructure. You cannot be charged with a "CISPA violation".
You may very well be thinking "The PC cannot and will not be replaced."

For some tasks that is true. But, the same can be said of mainframes. They still are there, and still make big money for the remaining makers. But they are not relevant.

PCs will continue to be used, but with sharply attenuated relevance. What do I mean by relevance? Ask yourself: "If I am pitching a new venture, and there is a chance Microsoft will get into that sector, are my chances diminished?"

10 years ago, nobody would invest if Microsoft made noises about getting into some sector. Today, investors might not even take that into consideration. "What if the next version of Windows has that built in?" isn't a relevant question.
I wanted to reply:

document.querySelectorAll("td").map(function (elm) { console.log(elm); })

But apparently a nodelist isn't array enough to get the map function. sigh....

you could use Array.prototype.map.call(). But this really underlines the value of jQuery: in jQuery you can predict what will happen, in the DOM you can't.
The question was about false negatives, not false positives.

The parent's point was that he wanted to know the false negative rate when they found 90% of fraud attempts. I was asking if that 90% number meant that by definition there was a 10% false negative rate.
Show HN: BKLNR.com -- for long form, Brooklyn focused journalism
That used to be true, but nowadays it depends on the browser and the difference is a rounding error.
So what would be an appropriate response to "What are your thoughts on jQuery?"?
Some actual reporting on this issue besides just the letter from the MIT President can be found at http://tech.mit.edu/V133/N13/swartz.html

Apparently JSTOR also supports redaction:
"
JSTOR’s response was similar to MIT’s. “We believe the information we provided to the United States Attorney’s Office in this case should be made open and available to the public. In a letter dated Feb. 25, we agreed to the lifting of the protective order so long as the articles downloaded from JSTOR were not released and the identities of our staff are protected,” said Heidi McGregor, a JSTOR spokeswoman, in an email to The Tech. “We do not agree that individuals’ names need to be included with these materials to serve the public interest.”
"

"
“Although the United States and representatives of Mr. Swartz agreed on many proposed modifications to the ­order, the United States and Mr. Swartz’s representatives did not reach agreement on the scope of the redactions,” Pirozzolo said.

“The United States expects to respond to the motion within the time provided by the district court rules,” he said. “It will also request that individuals potentially affected by the modification of the order be given an opportunity to be heard on the proposed modifications.”
"

Given that last part you can certainly expect the MIT documents to come out much much faster than Gov documents.
Dude, you aren't creating dom nodes.

Here is the equivalent:

http://jsfiddle.net/EmEhRKay/YNxEK/10/
The point the author is trying to make is perhaps a reasonable one, but what an inappropriate communication style. I don't know if the author realizes the tone is so off-putting, but I've found that supportive feedback and constructive criticism goes a lot further in professional environments than name calling and insults. Put another way, if someone on my team at work communicated like that I'd have a conversation with them about more effective approaches less likely to alienate or offend colleagues.

There appears to be an uptick of hyper-agressive technical posts over the past several years. I'm not sure where it started, but I'm hoping it burns itself out soon.

(If you're the author, I apologize for calling you out on this. Nothing personal at all, I just wanted to make the general point about tone.)
You're supposed to do all your graphics-related stuff in a single thread. Swing and JavaFX aren't thread-safe.
I also got these emails. Nice work, Github.
Here is a comparison, that looks more fair to me:

http://jsfiddle.net/d5geB/
No magic there.

It is Eventlet and Gevent have that magic. Here is how that looks:

def getresp():
s = socket()
s.connect((host,port))
s.sendall(s,b'xyzzy')
data = s.recv(s,100)

Compare that to any of the above. This is what is thrown away in favor of 'yield from' and @coroutine mess coupled with a completely parallel set of IO libraries.
How to get 50k people to your blog in one week
Yep, although I'm not sure if clustering is also a hand-triggered process in SQL Server (like it is in e.g. PostgreSQL). In any case SQLite 4.x will do it automatically.
>If all you are doing is making HTML elements, DO NOT USE JQUERY.

That's pure premature optimization. I don't understand how people can still be making blanket statements about performance costs like this. Using jQuery to create HTML elements is fine. It's convenient and succinct, and it keeps your code consistent. Otherwise, you'll have two ways of creating HTML elements: one for when you are just creating an element, and another for when you need to use jQuery on it afterward.

But if you do hit a point where creating HTML elements with jQuery is slow, you optimize that point and leave a comment explaining why you're doing it that way.

People get these ideas in their heads that somehow they're going to be able to code everything super fast from the very start, and it's nonsense. All you're going to do is make it harder to maintain your project.
How influential is this person who is trying to get you fired? What do they have to gain by getting you fired?
Photo Essay: Ratna Has a Choice
Small hack: standardize issue labels between your GitHub repos
Interesting. Honestly, the sheer volume of food you're talking about would be challenging for me to ingest. A _quart_ of chicken lo mein? A _pint_ of peanuts? I'd consider a handful (2-4 tablespoons) of peanuts to be a normal snack.

This is an interesting lesson in the effect of food choices, I suppose. Because, my experience is that as long as I avoid soda and beer, it's really easy to consume <1500kcal a day, also without feeling hungry.
> You dont have to use all these tricks when you use IOS or Android widgets.

I havent gotten too deep in native development on either platform, but don't they prioritize tasks automatically? JS doesn't, using requestAnimationFrame and web workers is doing exactly that. Wasn't the main knock against Android's UI lag because everything happens once allowing blocking and it was addressed with project Butter?
He was an engineering director for a couple of years working on the dev/test tool chain and Google+.

He's done a few books, including one he co-authored called How Google Tests Software, which is a fairly pragmatic discussion of large-scale testing practices at Google. (I'm not sure if this is still the case, but Nooglers used to read this book as a part of their orientation.)
Step 1: Learn to use the CSS profiler in Chrome.

Also, here are some articles I found in my links list:

CSS Stress Tester Bookmarklet (Copy into a bookmarklet. Then it will tell you the rules that are causing the most lag.)

javascript:(function(d){var s=d.createElement('script');s.src='http://andy.edinborough.org/Demos/css-stress/stressTest.js?_... es=d.getElementsByTagName('script')[0];es.parentNode.insertBefore(s,es);var doit=function(){if(window.stressTest){stressTest.bookmarklet();}else{setTimeout(doit,100);}};doit();})(document);

Old but still relevant I think: http://www.stevesouders.com/blog/2009/06/18/simplifying-css-...
Text makes CSS slow (don't render too much): https://news.ycombinator.com/item?id=2232212
In general, following good guidelines might help: https://github.com/csswizardry/CSS-Guidelines
L33t speak
One thing I dislike about the custom CSS fonts is that they usually look really rough. For example the Typographica header - in my taste, no matter how beautiful the font is, the rough rendering kills the visual appeal and a common, but smoothly rendered font looks way batter [1]

[1] http://i.imgur.com/U5UObQh.png
Which Data Biases Challenge Your Startup?
"Supportive feedback and constructive criticism" don't general page views though. :/
"Someone smarter than you" perhaps is a bit too bold of a statement, but generally, it is true that using available code should usually be preferred over writing one's own code. It allows you to focus on your main task and spend less time implementing helper functions that someone with more time (I guess that's a better expression than "someone smarter") has already optimized.
> That's a lot of different things to prepare 3-4 times a morning... but my guess is you meant all those things to be 3 or 4 breakfasts, rather than an example of a normal breakfast.

No, I really mean that I ate 3-4 times every morning. I was working from home at the time, though, so it made it much easier to prepare multiple breakfasts while stuff was compiling :-)
For Java 6 and 7 I would say don't do object pooling, this is probably true for 4 and 5 as well. Creating a new object in Java is very inexpensive and it keeps getting improved. The only argument you might be able to make against creating lots of objects is garbage collection, and for that I'd say profile when you have problems and change only then.
Ryan from Relevance here. It is true some of the ideas behind pedestal have been around for a couple years, but always as tweaks and hacks over top of existing frameworks. Every project has had its own unique and most importantly, local, implementation.

Pedestal is a culmination of those efforts into a new set of libraries. Some of the code from other projects inspired what there is today, but an even greater portion was created from scratch to make it more generally applicable. We haven't had the chance to use this incantation of the ideas in production yet, but we wholly intend to. We hope this experience, and that of the community, can help us bring this to beta or fully production ready.
They are the real internet pirates..