skysight-inc/HackerNews huggingface dataset:
jQuery as commonly used leads, in my personal experience, to hard-to-maintain programs. Just like Ruby on Rails, or Perl.

There is also anecdotal evidence that jQuery qua jQuery has some fundamental limits. I worked on a largish jQuery application, written by ninja badasses, and it creaked a lot more than it should have for its size.

Comparable systems built on YUI seemed to have more structure. I actually went through the exercise of converting a prototype from jQuery to YUI3, and spent a lot of time working out their respective "philosophies". (see http://jsrosettastone.com)

There are newer frameworks (eg JavelinJS) that aim to be to jQuery what jQuery was to other frameworks.
Me too, either the server is getting crushed right now or the page won't render.
It's a "chicken or the egg" question. Are boys attracted to guns, action figures, etc because of advertising, or do advertisers seek to sell boys guns, action figures etc because that's what they want?

I think the answer is far more boring than most pedants would like. It's both.

Biologically, men are born with hormones that give them aggressive traits, while women are born with hormones that give them nurturing traits. These are adaptive influences: male protector, female child-rearer; a partnership that works. Advertisers target their message to exploit these instincts.

None of the above implies that we cannot rise above our instinctual urges and make something different of our lives. It also does not imply that any of this is black & white. Some men are born passive and some women are born aggressive. Some women have no desire to have children. Some men prefer to stay at home and raise their children.

Humans are a complex and diverse bunch, but as with most systems, there is a distribution wherein lies a "typical" state of being. When there's money to be made, you don't make it by ignoring the facts, so advertisers target the "typical" boy and girl, and make a boat load of money doing it.
See the follow up http://www.achilleseffect.com/2011/04/how-toy-ad-vocabulary-...
Ive dealt with classes and have seen both types as well.

One hypothesis is it's the energy between students and professor: Ones with higher energy in the class make change faster. In order to keep up, you have to think and do faster.

Then I've been in classrooms where the professor did not want to be there. He knew it, the students knew it, and the interactions cemented it. The 'energy' was completely in the shitter. At best, it was rote memorisation and drudge work. Big surprise: most of the class slacked off and cheated, and did the 12 hour cram before tests.

There is the 3rd category: in which the professor cares, but the student had to take this class for one reason or another. The general idea here is the student only minimally cares. I've seen this, where the student says to others "I dont care as long as I get a C." I'm guessing these are the most infuriating to professors.
I love the attention to detail such as their label foreground/background colors when selected (it seems that some have white foreground, some have "letterpress" effect, depending on the contrast).
Thanks for the tip! I hadn't thought of trying that. This will save some time. It looks like I'll have to resort to using the mouse.
Quick point of etiquette - not only would I not downvote based on disagreement, it's actually IMPOSSIBLE to do so when the comment in question is in reply to one's own comment. It's a HN feature to avoid the downvote becoming a kneejerk response to back-and-forth discussions.

You use one reviewer's statement that that person prefers an ebook. There's no further explanation as to why (s)he prefers that format, and no data behind it - just a single comment.

I expect that the primary issue is, in fact, what you say - fairness over cost of production. That does not logically lead to your assertion that the two are "same thing delivered in different ways."
If you're not failing, you're not trying hard enough to push yourself to the boundary-of-ability where you learn.

There is actual basis for this in learning theory.
As mentioned in the post GiraffeNecktie linked above:

Regarding gender differences being in-born, poster cpt.sanity wrote: “It has been repeatedly shown and is accepted as fact in modern psychology from Rogers onwards, that while sex is a biological fact, gender roles are sociologically determined, largely by peer pressure in early years and mediated by advertising and media images.”
Google Overhauling YouTube With Social ‘Channels’ for TV Viewing
The grading system in Germany is quite complicated. We have one were 1 = "very good" (this is the classic system of Schulnoten which is used quite often) and one were 0 = "the worst". For more details have a look at Wikipedia:

http://en.wikipedia.org/wiki/Grade_(education)#Germany
The article confuses "exponentially" and "quadratically":

scales roughly quadratically with the issue-width. That is, the dispatch logic of a 5-issue processor is twice as big as a 4-issue design, with 6-issue being 4 times as big, 7-issue 8 times and so on

Searching online, it seems that quadratically is correct; the explanation of "quadratically" is the mistake.
> Not really due to copyright laws more down to licensing rights

Without the copyright laws, there would be no need to obtain licensing rights.

> I know the popular fad is to blame the music industry, but there's so much legal red tape over contracts it's actually very hard for them to innovate.

The whole copyright-based legal infrastructure needs to be torn down and new ways to pay artists need to arise which don't rely on freedom- and innovation- resricting laws.
Your author is kindly requested to release your code, if he would, so that others may adopt you. You serve the community well, even if some bicker and complain.
I think the most important, and often violated principle is to keep model and presentation code separated. If your widget has any kind of even slightly complex logic, don't rely on the dom to be your model, or you'll get into a mess quickly. The dom (and thus jquery) is presentation (controller/view). Create separate objects for your model and have your controller code (even handlers) update this and your view be updated from it.
Although I agree that the issue of money supply is not described well here, it's not a very long article, nor is it really aiming to explain all that.
I think it's fun to see the average lifespan of bills. Who'd'a thunk that most small ones are in use for less than 5 years??
I've been thinking about that on and off for years, and I think the most important factor is the teacher's apparent level of respect for the students. In the classes where the students actually worked, the common thread I noticed was that the teachers of those classes visibly expected the students to work hard and do their best. And vice versa: the teachers who were the most obsessive about controlling their classes were also the ones who got the least cooperation in this from the students. (I think the causation goes both ways here.)

So if I were teaching, say, a math class, and I wanted to use Sal Khan's videos for the lecture content, here's what I would want to do:

1. Have less class time. They're watching videos outside of class, so it all balances out, and makes the videos seem like a more legitimate part of the class.

2. Let the students know that, if they just cram before tests and don't watch the videos, they'll probably flunk. Contrariwise, if they keep up with the work, they should do just fine, and if they're having trouble, I'm happy to help.

3. Keep grading standards high enough that the preceding statement is true.

4. Have the first test be difficult but not weighted heavily, as an official kick in the pants to stir laggards from their lethargy.

I think this would go a long way toward creating the right mind-set in students, if it's matched with the corresponding respect from the teacher.
The big question I wanted answered and this article failed to address is the actual cost of destroying and reprinting bills. Is it trivial and something we shouldn't worry about? Does it cost tens of millions of dollars, and would there be a benefit to finding longer lasting currency solutions? I believe Switzerland uses plastic based currency which lasts much much longer.
Is it as simple as the student liking or being interested in the subject?

I like math, I worked hard, paid attention and learned as much as I could.

I wasn't nearly as interested in what was taught in my English classes, so I did everything at the last minute, and did just enough to get the grade I wanted.

I think past 10th grade or so, the value of forcing a wide liberal arts education on people declines significantly.
I guess the answer to this question really is, it depends. it depends on ur business and how important the domain name is to you, really.
By owning the learning graph. If I know what you're learning, I know who you are in a very important way. Given that, super targeted advertising is just the tip of the iceberg.
GWT solves it for me while javascript has these problems.
Reviving the Game of Liubo 六博 on HTML5 with the Google Channel API
Generally speaking, a Subaru has greater utility than a Ferrari, but no one complains that the Ferrari ought to be less expensive on that basis.

That said, I think it's an incorrect assertion that an e-book (with DRM) has greater utility than a physical book.
Ask HN: Snap v Nitrogen v Lift v Compojure
I feel like this is the new "Rails v Django" discussion, but I'm really new to functional programming languages. My only experience is a bit of PLT Scheme/Racket and OCaml in college, but I want to get back into it via web development. Everyone seems to lean towards Haskell, Erlang, Clojure and Scala over here so I'm curious to hear your experiences with their most popular web frameworks. Are they as analogous as a Rails v Django comparison? The only thing I can comment on is Lift appears convincing with their users list, but Scala seems like it would be a poor way to learn functional programming because it's not purely functional.
Indeed. Also, rewriting base library functionality is bad ;):

http://www.haskell.org/ghc/docs/7.0.2/html/libraries/base-4....
Which would acquiesce the moral issues, but not the legal ones. Sorta like papal pardons <g>.

Don't know of a better idea though if the content isn't reasonably available in your area.
Making a copy for private use is legal in the Netherlands, regardless of the source. That includes downloading movies and tv-shows. Distributing (uploading) however is illegal.

I expect there are other european countries with similar laws.
While I think Peter Saveliev's immediate conclusions regarding Khan are incorrect, I do wonder: will Khan be bringing on more instructors to record videos outside his fields of expertise?

The Academy has already started a revolution in education. Wouldn't it benefit from more/better instructors, better production values, etc?

Also, I'd love to see Khan Academy-sponsored videos on the humanities. Of course, I'm not sure how liberal arts content could fit into the automated testing of the new exercise dashboard.
If high school were better.

Perhaps we still need college?
Sorry, I couldn't get past the word "tuturing". It is, after all, a critique on Khan's educational abilities. So embarrassing!
Previously on HN: http://news.ycombinator.com/item?id=2362033
Your argument is mostly that ASP.NET classic and ASP.NET MVC are similar because they come from the same technology stack. The same argument suggests that WinForms and WPF are similar to ASP.NET MVC too. Everyone was surprised by your initial comment because hardly anyone expected anything different from this. Of course ASP.NET MVC uses the CLR, C#, IIS, etc. That's entirely to be expected. It's also a technical detail and doesn't get at the heart of what ASP.NET MVC is really trying to be and the type of development model it is putting forward. Which I would argue is far more important and pertinent than the fact that ASP.NET MVC still uses web.config files.

ASP.NET MVC was written to be flexible, testable (this was paramount), and focus on separation of concerns. Even well written classic ASP.NET applications are very difficult to test. To accomplish this MVC was forced to use a lot of interfaces and yes dependency injection. But that's an artifact of the language and again not a surprising fact at all.

Ruby is capable of things that C# can only dream of. And when C# 6 or 7 finally make it possible, it will come with awful syntax and more stuff thrown into the kitchen sink language. So yes, Rails can win big things here because of Ruby. ASP.NET MVC can't win big things here because of C#. Although it's not as bad as you make it out to be. But again, no one is surprised by this.

Don't forget a major focus of Rails 3 was to decouple things and make them more modular -- Make it easier for developers to choose a data access layer other than ActiveRecord if they wanted to. I'd strongly argue Microsoft looked at Rails 1 and 2 and wisely made the choice to not strongly couple a data access layer into MVC.
People at my job call all JavaScript jQuery, it is so annoying. Even more annoying is that their code (jQuery or not) plain sucks
I'm glad this article exists.

How can a person honestly argue that another person should have spent their time elsewhere or researched in a different manner? Feynman wrote a lot about how he was forced into researching in certain methods and researching certain things, and he realized he hated it and was ineffective as a result. It wasn't until he allowed his playful, curious, and lighthearted self to come out that he really started enjoying his work and getting somewhere. Supposedly his breakthroughs in QED all began from a simple curiosity into the wobbling nature of a plate that a student one day threw into the air.

People are stimulated in different ways.
Most banks have $2 bills available that appear in quite good condition considering their age, too.
Explanation of Generalized Algebraic Data Types in Haskell
It's complementary to some parts of conventional classes. It directly competes with the part of conventional classes that consists of monologue-style lectures paced too fast or too slow for most of the students.
PHP/Lithium

Previously PHP/CakePHP, but really feeling the 5.3+ focus in Lithium.
How about a no currency solution? I use credit cards for most transactions over $10. There should be a way to pay for small items with no transaction fee. Real cash will last much longer and payment lines will move quicker.
I'll pass on your message, but I am very simple. Mostly the work was semi-automated by my author, including the construction of the actual replies. I doubt there is much to be gained, but I'll ask.

Don't hold your breath - he's currently very busy. But I do promise to ask.
I upvoted your comment because you are contributing to the discussion, and because I hope to understand you. You're right that I have no kids (I do have a girlfriend, though). I've also explicitly assumed throughout that the guy who was fingered really was the guilty party.

Under this assumption, though, I don't see what's so bad. First off, the guy did do something that he shouldn't; secondly, the actual punishment is almost certainly zero. Not only are we, indeed, not talking about jail time, we're not talking "meticulously SEO johndoeisathief.com to the top of Google" either; we're not talking "start a Twitter shitstorm until his boss fires him"; we're not even talking "publicly call him out" - the data in the post probably probably does identify exactly one person, but it's hard to actually make that link. I do admit that blacking out some more data would be prudent, but - what exactly would you be so upset about?
I don't run pentadactyl but it looks like it supports vim-style macros. I assume it would be something like qAjx to create the macro and 25@A to use it if j and x pass through to the page properly.
My buzzword at work this week is going to be F-commerce.
Famous Unsolved Ciphers
Let's start by removing the CEGEP system here in Quebec...
About time someone came out and said this, good job.
All of society is not in grade 7.
When people recommend writing web applications in Python, they don't point to the language itself as being better for web development. They point to Django or web2py. Same for Ruby, with Rails. So it's odd that people talk about PHP itself in these same conversations. You can write web apps without a framework in PHP, but I don't think anyone building non-trivial applications is still doing that.

"Tons of problems and weaknesses" is largely untrue at this point. Many of the problems that were traditionally pointed to were corrected in 5 and 5.3. There is no interest in breaking backwards compatibility, so the built-in function parameter order inconsistencies are still valid. Most frameworks work around this issue with an OOP wrapper for array and string operations.

It is difficult to find good dev-power for PHP that's cheap. I've tried. You can find many people who have a basic level of PHP knowledge and refer to web apps as "scripts". Finding people who have an understanding of OOP and modern development techniques is much harder and more expensive.

Here's why I program web apps in PHP: it works and I know it well. If I need a library for something web related, I can assume it will be available as open-source. I don't have concerns that I can make a PHP application scale if I need to. When features don't make sense to implement in PHP, I'll snap them off and implement them in the most appropriate language in the background. Most of the heavy-lifting for web applications typically happens in the background.
Why should there be no fee? Square has already removed the fixed portion of their fee so it is just 2.75% (not ~$0.30 + ~3%). This helps with small transactions. Eventually their competition will have to do the same.
To be fair, that is because it is a carefully tuned combination of 3 sort routines (quicksort, heapsort, insertion sort), and also optimisations to avoid unnecessary checks for pointers reaching the end of arrays where they can be avoided.

I would be impressed if a sort which used the same 3 combined techniques could be faster.

(Of course, there might be better sorts, such as TimSort, but that's a change of algorithm, not language).
Maybe the MVC design pattern doesn't work so well with jQuery in the view, acting as a controller and also for display logic.

Surely there is a design pattern that does not try to shoehorn AJAX via jQuery into what was once an MVC pattern?

MVC for webapps was around long before AJAX, yet the design pattern remained the same, after the widespread introduction of AJAX in webapps. Until very recently, there has been little traction in an 'evolved' design pattern, incorporating what the js is doing.
The 10 swiss francs I have in my pocket don't seem very plastic, although on the other hand, the colors are... intense. I'd heard about the plastic banknotes in Australia, myself.
The fact that your comment was upvoted is a testament to the uselessness of the voting system on this site. That sucks -- I thought the people here were a little smarter and higher class than Reddit or Digg.

Look, PJ is not the paragon of virtue that you think she is. I know that is an uncomfortable thing for you to hear, and it must break your heart to know that she's just as dirty and underhanded as the people she attacks, but downvoting won't make the truth go away.
HN readers aren't your average slice of America. A large chunk uses cash for everything, and can't get even checking accounts, let alone a credit card.
I agree with your assertion to not use your framework. Believe it or not, having an open and active user base of your framework will help you and all members. Doesn't seem like you are attempting to start things off on a very good note.
All this time, you never asked who was pulling PJ's strings? Every time someone questions her motives, methods, or anything else about her, the communist witch hunt to discover who is funding her criticism begins, but nobody ever asks how someone who posts stories over a 20 hour period is making her living.
Interesting how the banks are allowed to sell "securities" to the Federal Reserve.
Skulpt is Python implemented in JavaScript: http://www.skulpt.org/

Once this is done, I'd like to make a website that allows a user to request an arbitrary number of nested interpreters.
Futuristic Car Designs
Technology always goes forward. There are radical new technologies that surprise as all the time. And we’ve got a long time in the future to go.
Also, it is difficult to imagine what transportation in future would like with the way designers are coming up with innovative vehicle designs. Here is a little peek into the future.
That's a different argument than you started with. You lost the plot somewhere, which is that I think attacking his employment over this goes beyond a line. There is only one reason to proudly put in your attack:

Someone that works at X should know better!

What reason do you think that is? Now they need to take a hard look at their decision to hire this guy; what is he up to in his private time? Suddenly, his private actions have become publicly tied to our company.

There's a reason I don't have my employer in my profile -- I have personally seen someone take a comment the wrong way, and spend days calling the employer to report what a piece of shit the employee is, and how much he was into drugs, and so on. Merely naming the guy's employer here casts them in a bad light.

Think back to Noirin Shirley accusing the guy from Twitter of sexual assault via her blog. When the media inevitably ran with it, it wasn't "an Apache member accuses another Apache member," it was "a Google employee accuses a Twitter employee," because that's a much juicier story. Now Google and Twitter have been sideswiped in something that isn't even their business, and I wouldn't have been surprised if Twitter had cut him loose over it. I don't think they did, so that is a lucky thing for him.

In this economy, I'm just as stretched as everyone else. Anybody who goes after my paycheck is playing with fire; that's all I'm saying.
The U.S. Treasury has tried a variety of solutions over the years, Kennedy half dollars, Eisenhower dollar coins, two dollar bills (twice), Susan B. Anthony dollar coins, and Sacajawea dollar coins, that I remember. None have been accepted by the American public. All were to reduce the burden of printing more dollar bills.
What's DFT? Discrete Fourier transforms?
Strange that we say our public education system is in need of desperate help, yet our colleges and universities are the best in the world.

[EDIT]
To clarify, the sound bites I hear from politicians and university administrators are that our colleges and universities are the best in the world.

Personally, I do not agree. I could have written that better.
Workers' complaints surround Ikea's U.S. factory
PyPy was shown for 2 years. PyPy performance with programs hyper-optimised for PyPy would have been shown if someone had contributed them.

Is libc.write a great example of programs written in "Python"?
> There should be a way to pay for small items with no transaction fee.

Hm... I'm thinking of something universally accepted, something that doesn't need relatively expensive handling equipment, something anyone can get and anyone can exchange for goods and services...
Another critic of Khan Academy:

http://andrewducker.livejournal.com/2332277.html
This might be beautiful code but come on, not a single comment?
Internet probe can track you down to within 690 metres
I deleted my comment; it was unnecessary. DFT = don't feed trolls.
Is a photo still worth a thousand words?
Depends on your GC and compiler.
Unless it's just an exercise or done for fun.