skysight-inc/HackerNews huggingface dataset:
As someone who has spent many years working with different cores and in the design of them, static, hand-optimization is never going away.

Dynamic optimization by the core involves deeper pipelines and/or speculative execution and/or many more gates, all of which takes up more area and power. You end up spending more energy than you save, and pretty much everything is power consumption (or cooling, which is essentially the same thing) limited these days.

Super-optimization is intractable for large sequences. It's like trying to solve a chess game by brute force. Likewise for other compile-time optimizations - they're polynomial or worse. You at least need a human to design the structures with knowledge of how they're represented low level and how they'll end up being pumped. It needs someone to come up with better compiler algorithms before we can say for sure that hand-optimization will go away. Increase in CPU speed alone doesn't make it inevitable.
SEO Contract | Sample SEO Contract Template
Rolling Up My Sleeves
`attr_accessible` should only be used to protect the attributes that are NEVER modified by users

But web app developer may not be able to know in advance what new columns might be added on the database, possibly by some other team. If I understand this right, in the absence of attr_accessible, any new columns are completely writable by the HTTP request.

So having a default-deny whitelist approach is the only sane strategy.

Trying to use `attr_accessible` to protect everything leads to enough frustration to make one eventually give up on security.

Or give up on Rails. Usually the basic security of the database is not negotiable.
Rejection often becomes a catalyst
If I got one thing out of this article, it is your comment and link to Parse. That looks pretty nice! The landing page for datomic is horrible and I didn't make it past the small, dense text.
Why entrepreneurs with blind faith win more often
Yeah sorry that one liner is pretty ugly

You had said that it was 10 - 20 lines of code. The reason I posted my original comment is that many jquery abusers don't know about alternatives.

Why not just use a extremely well tested library that automatically gives you full browser support?

You have to justify why you use something additive, not why not to use it.

All for the equivalent price of one very small script file.

Not quite sure why the load time of the script file gets so much attention. It is hardly to real expense of jquery. Many, many, many jquery-crutch sites are horrendously inefficient because they think that the magic of chaining and the robust selector language comes for free. It does not -- it comes at an often significant expense.
so what's your idea exactly?
Not sure if you've removed the DNS entries, but:

$ host blog.anujkumar.com. ns1.webfaction.com
Using domain server:
Name: ns1.webfaction.com
Address: 50.56.93.59#53
Aliases:

Host blog.anujkumar.com. not found: 3(NXDOMAIN)

I don't even see a tumblr IP address being handed back for your hostname. I checked each of four authoritative servers, but, I don't see that any of them have published the IP.

I'm not sure if you're forcing the IP address through /etc/hosts or an equivalent, but, from where it stands right now, the rest of the world cannot see the site, but, that is due to DNS, not due to tumblr.
What does this have to do with clojure? This system could have been build in any language, clojure only uses some of the same ideas (working with values). I cant help you with your question, sorry.
Yes, there is still a server.
True, but I'm sure that using violence to gain the trust of the voters was substantially easier and less costly than using it to overthrow the German government would have been.
Summary of the Github/Rails Security Kerfuffle
How to get a free UrbanTG app?
Weekend project: A place to post crappy code. HatePaste
I think you're right that this is a problem, and I would support changing the default, although I can understand why they don't.

You make a good point that showing a hugely popular app with mistake X suggests that mistake X should be prevented at the framework level.
O’Reilly Strata 2012: The Year of the Data Scientist
Even compiled intrinsic SIMD beats most hand-coded kernels these days

Intrinsics basically are hand-coded assembly: you're specifying every single instruction manually, just in an obfuscated syntax, and without a proper assembler preprocessor.

At that point, it's way easier to just write it straight by hand.

Also, there are still plenty of things compilers are terrible at with intrinsics. This includes things like:

1) Register allocation. Compilers, even "good" ones, will throw things on the stack willy-nilly. The biggest problem here is that the compiler hides register utilization from the programmer, preventing him or her from seeing how many registers are used. If you're aware of register usage, you can tweak the algorithm to avoid the problem.

2) Compilers are truly terrible at making up calling conventions for calls within assembly (e.g. to a subfunction). Humans can make whatever calling convention they like, which can give great performance improvements in functions like FFTs (see: libav split radix fft) that are inherently recursive. In the case of the aforementioned FFT, Loren was able to make a handwritten-asm Altivec version around ~40% faster than intrinsics, IIRC.

3) Compilers are not very good at organizing code; in many cases, it is useful to split up code and reuse blocks to save on code cache (see: x264 trellis asm). This avoids inlining it and creating a massive mess -- which, by the way, trashes the compiler's register allocator too. When using the compiler to do this, you run into the problem of 2); it can't allocate registers efficiently between code blocks, or come up with a decent calling convention, so it's inefficient.

4) There are some things that no compiler in existence is currently able to do, like computed jumps without tables to a templated set of functions (see: x264 cacheline SAD asm).
I was using (abusing?) localStorage for a game I'm working on. I was using it to store entries for every word in the English dictionary, which is around 85,000 entries. I needed two entries per word actually, because I needed it indexed two ways. It worked; I tested it on Chrome Linux, Mac Safari, a first generation ipad, and on Android. However, it was slow to load, and started erroring out sometimes in Chrome Linux, saying quota exceeded or something along those lines. Basically I ended up deciding that localStorage wasn't right for me for large amounts of data, and redid it another way.

These look like awesome and useful abstractions for a lot of things, I may use it for saving and loading games, for example. But I recommend caution if you're thinking about using localStorage to store a lot of entries.
Also, that time gave rise to the Technocracy Movement, which proposed an allegedly new way to run society other than by dictatorship or democracy.
http://samsaffron.com/archive/2012/02/17/stop-paying-your-jq...

Apparently Stack Overflow sees similar numbers.
Android becomes the most popular Mobile Web Browser
So, now I know I am in the right path. This is so true, most futuristic ideas look dumb in the beginning anyway.
Nokia PureView technology confirmed for Lumia Windows Phone family
Raspberry Pi gets a case you can download and 3D print
There are a lot of them, trust me.

I lead a team of developers building web apps day in and day out. I have a number of fairly cutting edge web samples in the wild. A "trust me" on an anonymous board is completely meaningless to me.

As grandparent says, dealing with these quirks is a waste of time and effort.

There are far less quirks than many imagine them to be. Further by providing some trivial syntactical sugar, jquery encourages a development style that is orthogonal with the DOM, incurring a significant performance penalty (horrid abuses like Twitter).

I'm not saying not to use jquery, and we do in several of our projects. But we justify why we use it, and never perversely demand a justification why not.
Funny. I guess you may find this useful -

http://www.google.co.in/search?q=pictures+of+people+scanning...
A Patient with Asthma Seeks Medical Advice in 1828, 1928, and 2012

Seems like his asthma didn't prevent him for living for almost two centuries!
I really enjoyed all the warmth that comes through in this video.

Sometimes computer work can feel cold and cynical to me.

This video helps remind me how it can and should be.
How I built Flirpy without any programming knowledge
Yeah, that is exactly the pattern. I don't use twitter, and neither do most of my friends, but occasionally I'll get linked to it.

I just chalked up the painfully slow load times to "well, it's twitter..."

(And sorry, twitter, it sounds like this has changed, but my experience with twitter involved a TON of fail whales, which is partially why I never got hooked on it, I'm sure)
It's not frowned upon, but it would require tighter coupling between the controller and the view...?
I'm going to dive into it more as I go, but I'm not trying to hide anything either. I just don't feel like it's that important until I can speak with more potential customers.

The niche I find attractive right now is consignment stores. I like the ethics of reuse, the market size and niche-ness, and feel like I can have a real impact in relation to the other software vendors in the space. On a grander scheme, the challenge of helping retail compete in a digital world is fascinating to me.
> 3 years old

I'm pretty sure they'd have announced it if Python 3 ever got faster than Python 2. But this is not mentioned in the 3.1, 3.2, or 3.3 notes on performance:

http://docs.python.org/dev/whatsnew/3.1.html#optimizations
http://docs.python.org/dev/whatsnew/3.2.html#optimizations
http://docs.python.org/dev/whatsnew/3.3.html#optimizations

> see the math

That one is easy. The Python 3 conversion is a serious project for core devs at Django and Numpy. Check out their mailing lists about what this takes/took.

http://blog.jarrodmillman.com/2009/01/when-will-numpy-and-sc...

While the above procedure of using the 2to3 tool works
relatively for pure Python code, there is no automatic
conversion tool for extension code. NumPy is mostly
written in C and makes extensive use of the Python C-API.
So converting NumPy will require much more than running
the 2to3 tool.

https://docs.djangoproject.com/en/dev/faq/install/#can-i-use...

... it will be a while before most Python software catches
up and is able to run on Python 3.0. For larger Python-
based software like Django, the transition is expected to
take at least a year or two (since it involves dropping
support for older Python releases and so must be done
gradually).

A "year or two" of the core Django team's time is easily several million bucks. Multiply by the Python codebases of every company on this list [1], and everyone on github, and every egg out there, and we are talking billions for the conversion.

[1] http://wiki.python.org/moin/OrganizationsUsingPython
And so we have come to realize that soon, very soon, we will have to pioneer another form of government. We humans have had kings and queens, dictatorships, anarchy, communism, socialism, republics, democracies, and now it's time to move on to the next one.

A few years ago when I was a young teenager who believed in the good of the world and the wisdom of people I would have thought the next government would naturally be more democratic than the last, taking more power away from individuals (who's human flaw is greed and control) and giving it to the masses (who's human flaw is stupidity and not knowing what to do with power in the first place). But after a few years of studying history, voting, reading, I've changed my mind. Democracy will never work because it can only work if EVERYONE is educated enough and by default humans are notoriously stupid and unaware of their own stupidity. We are also delusional greedy and evil by nature so dictatorships also do not work out for us.

I can't help but feel that the problem is us. Our human way of thinking is just too primitive. We have to constantly look for ways to prevent "us" from fucking everything up. This is why I await the zombie apocalypse with a smile. At least the zombies can work together to reach a common goal and the world will be a much more peaceful place after their rise to power.
Yeah, me neither. Pretty strange.
Thanks Javert. I only wish I had better vid/audio. I think it's important to capture the history of those who our careers (and lives) are built on. Just hope I did dmr justice.
This is incredible! Kudos. I can't wait to try this out.
Rather poor performance on going to the front page, http://kottke.org/ The initial viewport comes up fast, but it takes over 10 seconds to finish loading and be able to scroll. Wonder what is causing that?

Maybe hanging while it is filling in the Facebook and Twitter buttons on each post?
It's a database, quite different from any that are currently out there (you should read the white paper). Although one of the initial pricing models is to sell it as a cloud based service, that's incidental to the technology and why it's cool.
This would have been great when I was taking the Stanford DB class a few months ago.

I like it, looks much nicer than any of the solutions I'm aware of currently.
I noticed that in FAQ, too. Since read is relatively easy to scale (simple master / slave setup), I wonder how to scale datomic on write side.
As far as I know, there isn't any free licensed license¹ for software that includes that clause, but in theory nothing prevents you from taking e.g. the MIT license and adding that clause yourself. IANAL, YMMV.

¹ As written works they are, licenses are themselves subject to copyright, so you can't just copy someone else's licenses and use it yourself.
"You know what's cool? A trillion dollars". Awesome.

I hope niche idea does not mean small targeted marketed. It appears building a dude business takes as much time/effort as building a large business.
Can anyone tell which page he loaded specifically? I just loaded the latest status update on my timeline in incognito mode and all it downloaded was ~578kb+ of data.
Not the _entire_ database is moved locally, only enough to efficiently handle the queries of interest. (i.e. queries run against a dynamic local cache of the database)
So they're asking us to build apps that perpetuate their branding and marketing efforts without giving us the opportunity to generate revenue.

Pass. Nerds.
Completely agree. Gotta have that state of mind to succeed.
Jefe - you may want to check out sportsdatallc.com. They're working on a simple self serve api for stats that would be very cheap (or even free) if you're not hitting it daily.

We're using them at StarStreet.com and have been really happy with them.

Let me know if you'd like an intro to them, we just split a booth with them at the sloan sports conference and their new stuff is really exciting.
File this under "annoying to developers and no-one else".

I never follow Twitter links because of exactly this (well and the fact that they trap you with forwards). It is a terribly negative experience. Even if I had all of those files cached the parsing and execution of all of that JavaScript is far from instantaneous.

Same deal with TechCrunch -- stopped visiting because it is such a script-laden monstrosity that it seriously diminishes the experience.
If, the 3pt14159 was referring to seasteading http://www.seasteading.org

Then the entire purpose is to try and live in the absence of government through voluntary cooperation and nonaggression. It's unfortunate that an experiment like this cannot take place on land - no government will ever voluntarily cede control of land & people that it does not own.

In general the theory is that current government functions can be better handled by the market. That is, police and justice can be better served when they are enforced through voluntary contracts. For instance, the war on drugs, abusive police, the TSA, and all sorts of other detrimental policies will be more difficult to maintain when the people are your customers.
really interesting. im excited to check this out. what are you using for the data visualizations?
Does anyone have an actual build of this? I just uninstalled XCode this morning and replaced it with Apple's new CLI dev tools, otherwise I'd try building it myself.
Wow this again Zed? Just can't let it go can you?
Democracy isn't desirable. Mob rule is a terrible system of government. Democracy != voting; Democracy != freedom.

Really? And who said democracy == mob rule?

Mob is a weasel term, to imply "people when take decisions as a group are inherently bad".

Well, people taking decisions as a whole has been quite nice when it happened and while it lasted (or was allowed to last). I'm thinking the Athenian Democracy, various communes, etc.

And it's not like any other system of government is better. Besides true democracy, everything else is tyranny, including representational democracy. Democracy means "the people should be governed exactly how the majority of them likes to". No bait and switch representation, no BS.
Looks interesting, but there are no binaries and the XCode project didn't compile right away.

(I guess, being a software developer, I should go and try to figure out what's breaking the building process. On the other hand, I've never used XCode and don't know enough about OS X library management to figure out broken deps)
What Twitter seem blissfully unaware of is that they've traded download speed for rendering speed on lower end devices.
You don’t need a Mayan calendar to predict this potential disaster
Very interesting. It occurs to me that clojure will be widely adopted without a killer app, but a few near killers (I thought incanter and a web app framework around ring and enlive would be the first).
Here's what's logically wrong with that line of argument:

Smart / dumb are relative scales, so there will always be smarter, and dumber, no matter what you do. If you filled a society with what we currently define as genius level intellects, there would be the equivalent to dumb people amongst them - the dumb people would have 145 IQ's and the smart people would have 180 IQ's --- you get the idea.

Majority rules will always allow one group to optionally eat the other, and violate the rights of the minority. Whether that minority is the dumber 49% or the smarter 49%, either scenario is equally morally reprehensible.

Peikoff would say: think in extrapolated principles. Look up the first serious conversations Peikoff had with Rand (she couldn't get him to think in principles). Whether you're dealing with smart people with 250 IQ's, and 'dumb' people with 160 IQ's, the smart people might decide they know what's best for the 'dumb' people (and proceed to violate their liberty). The principle remains whether you're dealing with 70 IQ's and 160 IQ's or much higher scales of intellect.
I'm pretty sure the whole thing is built on the JVM, but I agree with you that having a peer run inside a js browser app via clojurescript would be a logical next step. (and arguably really useful)
Site's back up.
http://jimmy-li.net/blog/?p=62
ThinkStats…in R
If 90% of the population randomly picks between two candidates and 10% makes an informed decision, the better candidate will win. If the most informed are also the most engaged via volunteering, donating, etc. their influence will be amplified.
I'm also unable to read in Opera. Though I don't have JS enabled by default.
d3.js embedded in a web view. That's a sister project I'm calling "Lies, Damned Lies", and will include a variety of canned charts to plug into.
Doing anything that involves licensing pro sports is pricy, thats why ESPN is the most expensive cable channel by a long shot. They do have to be vultures about their for reasons that are outside their control (for all we know, they're making an uncharacteristically huge margin too, but even if they weren't the restrictions would probably be about the same).

And I highly recommend you consult with a lawyer before scraping for data if you plan to do anything public with it.

In 2009 Fox Sports Net along with ESPN were the only two cable channels with subscriber fees of over $1. Full list: http://allthingsd.com/20100308/hate-paying-for-cable-heres-t...
to gain the trust of the voters

More like, to intimidate them.

But yeah... the Nazis definitely did leverage the democratic process until they had sufficient power to take the rest.
I was skeptical about the same argument. Both indexing and virus scanning are non-blocking processes that shouldn't impact page load time. And I'm not sure what he means when he says "for an end user on the web they could mean a few seconds of waiting during which the web site stalls"? Filesystem caching isn't something specific to developers' boxes...
However, I do think it's true that people aren't smart enough for democracy

What does that even mean?

The majority of the people are not to be trusted with judging how to run their country, so we have to put intermediaries and dilute the majority's will?
Sign in and see what happens.
DNS entries are same from start. They have never been changed. Even if the issue is related to DNS, that doesn't explain why I am unable to access my tumblr dashboard or tumblr home page?

When I try to open tumblr.com in my firefox, it returns a file of mime-type application/octet-stream to download.
Thanks! It's super alpha, but I hope to iterate quickly.
Hacker News Seattle Meetup #7: Tues, March 6th. RSVP soon
Yes there is!

Http://github.com/alexmng/sticky

Sticky is a key/value store abstraction for localstorage and indexedDB.
Thank you for this video. It means a lot to me.
‘Brogramming’ Phenomenon Being Taken Way Too Seriously
wow .. thanks. That's quite a summary on the mechanics of how it works.

Do you mean to say, it would be a bad idea to start with C coding?
Show HN: GPS + Calendar + Traffic = always on time
> I expect it's equally likely a way to reset the X-linked-inactivation within a single cell will be discovered, so while the coloring of the clone won't be a perfect copy, it will be a product of roughly the same random process as the template cat.

That's not the point of cloning, though. Scientists expect an exact replica - without that, what's the point? I can find you another tortoise shell cat that looks almost exactly the same in the real world, sans an expensive procedure. What you'd want is an exact copy of your beloved cat. I think what the article hinting at, but not saying, is that if something as simple as a hair pattern can't be copied then other more complicated systems, for example the brain, certainly have similar inconsistencies that arise during the cloning process.
We think about this stuff a lot, of course. There's no doubt that the "perfect document" is really hard to find, and some documents are way too complicated to be executed without a lawyer. Nevertheless, as some reader said, sometimes you just want to see how a contract looks like, what other people do. For example, few people will sign a termsheet without a lawyer, but they could benefit from seeing the different standards and use Docracy's comparison feature to spot the differences, and distinguish the boilerplates from the juicy clauses. In other words, learn, and understand better what they end up signing, and what their lawyer says. We use the blog and other initiatives (we're organizing a series of free legal workshops here in NY, taught by startup lawyers to entrepreneurs) to inform and educate users, so they can tell when it's time to DIY, and when it's time to go to an attorney.
Builds are available at https://github.com/Induction/Induction/downloads.
Show HN: I wrote a guidebook on everything I know about applying to Y Combinator
Agreed, but you have to start somewhere. I think one of the things that turns lots of people off from CS education, and programming in general, is how long it takes to get from just starting out to making something cool.