skysight-inc/HackerNews huggingface dataset:
> You realize that Go implements the new template test right? Your linked ones do not (at least the ones I spot checked).

hello.go uses more lines defining variables and types than the entirely of many of the alternatives I posted. Obviously they will be a little longer if they implement the fortune handler, but I doubt that will really make much of a difference.

> Also, Go is statically typed = win

I'm not sure what that has to do with implementation size (which is the only thing I was addressing), but feel free to make a case.
Students don't pay departments, they pay the university itself. The university determines the department's budget. So departments will have budgets which allocate the number of professors, instructors and teaching assistants. From there, they determine the number of courses and sections they can offer. And, from there, they will determine how many students they can handle.
> I take issue with calling this JavaScript/HTML5. This is powered by asm.js.

It is faster with asm.js optimizations, but as other comments mention, it also runs well (depending on CPU/GPU) even without such optimizations, in browsers that have no special asm.js optimizations whatsoever.

All the demo needs to work is WebGL and JavaScript.

> The source is emphatically NOT JavaScript, it's a subset that's meant to be a target for compilation

It is not 'typical' JavaScript, but it literally is JavaScript since it's a subset.

> (like a bytecode in .NET and the JVM) and is treated entirely differently from JavaScript by the JIT.

Only in some cases (Firefox 22 and 23) is it treated in a special way, and as mentioned above, the demo works great in other cases as well, that treat it like normal JavaScript (Firefox 20 stable, for example).

Even when it is treated in a special way, it still uses the same parser and same backend and optimizations (IonMonkey) as the Firefox JS engine uses for all JS.

> We don't call everything that runs on .NET C# nor everything that runs on the JVM Java.

The main difference is that .NET and the JVM have bytecodes. C# is not .NET bytecode and Java is not JVM bytecode. But, JavaScript does not have a universal bytecode, there is just the language itself.

So asm.js is literally JavaScript, not some lower-level bytecode. It runs like normal JavaScript, the only difference is that some JS engines might optimize it a little better, since it's easy to optimize.

Note that asm.js-like code is nothing new. It's been generated for years now by compilers like Emscripten and Mandreel, and Firefox and Chrome (and likely others) have been optimizing for it, for example Google added a Mandreel benchmark to Octane. (The only thing new with asm.js is that there is a formal typesystem which makes it simple to make sure you emit proper code, and simple to verify you are receiving proper code; also, while developing the type system some bugs in how emscripten generates code were found and resolved.)
Ah, finally found it! http://brianarmstrong.org/blog/my-next-project/ Ctrl-F 'Erica' and read the whole thread of him/me! :) (He did launch the biz, but shut it down not long after that. Coinbase is doing much better! ;)
I have a very hard time taking any UI advice from a web-site which puts a static bar at the top of the page which you cannot remove. It is like being sent back in time to iFrames and makes using your page with a vertical device horrifying.

I actually used the Chrome developer bar to Display: none it away. I guess that is the way you expect your users to use your site? Remove annoying counter-intuitive UI elements by eliminating them...
I already did a while back. I couldn't find any evidence that it supported access to the application sandbox which uses a slightly different protocol.
I wouldn't write a large-scale game/engine in byte code. It is effectively a C++ demo.
Love the book and so happy it is available (I am sure I speak for many others).

If you need any help with the sample application please shoot me a message! Would be glad to pitch in some time.
Mastering Your Words
Facebook Studio Awards 2013 Winners
I was thinking the same. Could a mod elaborate on this please?
"This solution is no better than coal-generated electricity"

I'm not sure that's true at all. The only way a waste-to-energy plant can import waste from cross-borders is by having R1 status, R1 being a measure of energy recovery from the municipal waste that is burned [1].

On top of this, the plants (generally) recycle the plastic / metal that isn't burned, sell the fuel ash (to stabilize roads, etc), cogenerate steam from additional energy production, and either sell back to the municipalities the natural gas generated by the organic waste digestors or use it to generate additional electricity.

[1] http://www.cewep.eu/information/publicationsandstudies/state...
He's on Ubuntu. Anything is possible to make it crash.
Is there any particular reason you don't just have a multiline text box, and allow anything to be entered/pasted, and then just figure it out? Why should a human have to parse out bits of contact information and separately add each one to your form? (Your computers have billions of cpu cycles, bytes of memory and storage - surely they can do it.)

For example I should be able to paste in any block from this page http://www.oracle.com/us/corporate/press/publicrelationscont... and have it figure out names, email addresses, phone numbers etc.
If we're gonna follow the guidelines, then the Boston bombing was entirely off-topic and should have been removed immediately instead of getting thousands of points. The only Boston-related on-topic story was Bruce Schneier's view on it, which is also the reason why the other stories should not have been on HN.

> Off-Topic: Most stories about politics, or crime, or sports, unless they're evidence of some interesting new phenomenon. [...] If they'd cover it on TV news, it's probably off-topic.

Edit: Well that was a quick downvote. Guess the Boston bombing strikes a nerve. But is it so hard to be objective about it?
Well, you could daemonize a PHP process, which would listen to some port, and parse the requests. It's like implementing your web server in PHP.

The problem with it is, one request can bring the whole thing down.
you can change it behind their backs with a single ALTER

If you're still there in 2038. And remember to do it.
Selective Receive sounds great. Any idea how to handle messages that continue to pile up behind your actor when they're never handled? Do they get culled somehow after a period of time? If not, how do you handle the inherent memory leaking where every actor piles up messages that were never handled, and wastes processing time by replaying them every time you do handle a message? Works okay when you have lightweight processes that are completely independent, like in Erlang - on a monolithic process like the JVM, not so much.

Also, with the lightweight threads using CPS - how do you prevent the kernel from deciding to do some housekeeping tasks on your core? Using APIC or something in Linux to assign the JVM process exclusively to cores so you're guaranteed no interruptions? User-level hardware affinity is not exactly the JVM's strong point.
OS: Used mutexes, semaphores, implementation details, argue about pros/cons, liveness/safety properties. Implemented shell, virtual memory, interrupt handling, process tables, scheduling algorithms, and multi-processor kernel support on JOS. Inode management and journaling for a FUSE filesystem. Concurrent network proxy.

Distributed Computing: Paxos, Bayou, Byzantine Faults, 2 Phase Commit.

Network Security: Had to demonstrate SQL injection, XSS attacks, stack smashing various C programs (one exploit required taking advantage of a double free to gain control).

Programming for Performance: cache / matrix multiplication optimization, finding single source shortest path for the USA road network using a multithreaded implementation on a supercomputer 3 ways (Djikstra, Bellman-Ford, BF with chaos relaxation), and again using CUDA.

Algorithms: graph theory (cycle detection, min-max flow, bipartite detection, Kruskal's, Floyd-Warshall, A*), divide & conquer, recursion / dynamic programming, greedy algorithms.

Other courses: compilers, data structures, combinatorics, probability, linear algebra.

These are just some projects I've done over the years, and only a subset of what was taught. Oh, and I picked up boring stuff like git, unit testing, and 3NF along the way.

> Did anyone actually learn software development from their CS degree?

Yes, yes I did.
I'm on a pretty new (if a bit budget) desktop, and during the benchmark I had the FPS drop to 16 during the flythrough of the streets :\

Still, it's pretty amazing.
تورنت فيلم Movie 43 2013 720p & 1080p مترجم
Better argument: Isn't having free, high-quality lectures preferable, _for many people and in many contexts_, to the alternative, very expensive option? Even if it's not the exact level of quality, there's utility in not going broke.
The ecosystem around Clojure web development is in good shape. I have used Compojure and Hiccup (and Noir) for a large part of my web development in the last few years and it has been a happy experience.

I have had a little less joy experimenting with both Clojurescript and Ember.js (with Clojure back end services): I eventually get things working, but at a huge time cost over writing non-rich clients just using Hiccup.
Also, contrary to what you might think, even spending an hour per day in the gym weight lifting is not burning a lot of calories. It won't take you from 2300 calories expended per day to 3400, for instance.

One hour of weight training for a 200 lb man is only 450 calories burned, or a Medium Fries at McDonalds. You have to really be running or other high cardio sports to burn even 1000 calories per hour.

Working out has also been shown to cause people to eat more subconsciously, so those 450 calories burned end up being only 100-200 net calories burned once you've had the protein shake after the hard workout.
The only amazing stuff is the distribution mechanism really. Other stuff is just plain old OpenGL but in your browser this time. It is not like it has some crazy support for raytraced voxels or something.
"I love how he attributes much of his success to not having a college degree."

I love the part where he talks about Reed College and says something along the lines of "It was almost as expensive as Stanford" and he chuckled. The camera pans to the audience, and you can see the Professors behind him just stare with a straight face. Kind of seemed like he reminded all the students in the audience (and some adults I am sure) that they are now carrying around a mountain of debt.
Try to keep things in perspective - for a government site it is truly impressive. The usability should be the most important issue and in that category I Manchester did a bang up job. I'm impressed - and no framework it appears, the css is custom then?
That's informative...but I wish he didn't have a two-minute introduction that doesn't actually tell you anything...
Show HN: a library to download BLOB files in Cocoa
I would suggest there are two related factors here.

Before significant agriculture some amount of warfare was simply a part of life as usual. This scenario suggests martial competence is fairly ubiquitous, and thus dominating enemies without paying a high cost in blood is difficult (e.g. you might need great political skills to stitch together a powerful local coalition).

However once significant cities were established, being skilled at warfare was potentially very lucrative. This means a soldier specialist may be a very rewarding career.

Is it really the plough itself, or that the larger cities the plough helped create were a big incentive for professional soldiers to become the ruling class?
Introducing Live Chat analytics from Hipmob
X-51A Waverider Achieves Goal On Final Flight
Data Modeling in Performant Systems (2011)
Is that a common scenario? I am mostly moving single pieces of information rather than entire blocks of text like you're proposing.

If we take your specific example, how would a computer even with "billions of cpu cycles" figure out which piece of information is someone's name and which is their job title? Or which is an address Vs. job title?

Sorting data and understanding it is a "hard problem" and relatively speaking computing power plays a very small part of that. What plays a much larger part is just having MASSIVE databases of already sorted data to compare against (e.g. Siri).
What about using thermo depolymerization?

Basically, using heat and pressure, turn literally anything that is carbon-based into water, natural gas and oil.

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

http://robertrapier.files.wordpress.com/2007/04/tdp12.png

http://www.stvnbrgs.com/wp-content/uploads/2013/01/2013-01-2...
This is fake, please downvote
just trying to figure out how it works so I can copy it.
If substantial inflation is on the way, the interest rate earned by your savings will increase accordingly provided you're not investing in mattress funds.
OP here (Ayo at Hipmob). We've integrated with mixpanel and Google analytics for a while now. Our latest feature takes key insights from your sales or support chat, and sends them to you in a digest. We thought - instead of you going to dig to see what the data means, we'll just do it for you. Happy to answer any questions - or email me at ayo@hipmob.com
> Yeah, the post started slightly different than it ended, and that's an artifact of that change. My next paragraph listed many more, and I tried to do multiple from each language that I looked at which had simple implementation.s

> Particularly when the guts of the code in all 3 of those examples was Perl's standard database interface (the same DBI you'd use for CGI Perl or even standalone .pl scripts).

The benchmark page clearly tags which implementations use raw SQL access and which use an ORM. These all happen to be using raw SQL. To my knowledge, none of them have a pre-bundled ORM, and I'm not sure whether the ORM tested implementations are only supposed to indicate the pre-shipped ORM.

> But for me the performance of Go won out

I wasn't trying to imply they competed on that metric, I just wanted to give some examples of much simpler implementations. What one considers small is obviously relative.

> I've not tried Mojolicious, Dancer nor Kelp so I couldn't comment on how they compare for performance.

They all look to be bottom-half of the full set of results, performance wise. Mojolicious quite a bit slower (relatively, they are all slow compared to Go) than the others, most likely because it uses it's own internal, pure Perl JSON module. There's was to fall back to the optimized C-based JSON::XS module, but I'm not sure whether that would keep with the spirit of the benchmarks.
Xeround closes its doors
Anonymous speech has a lot of value, which can be obvious from the fact that so many efforts are taken to stifle it. If it were ineffectual, nobody would bother to inhibit it. So it is obviously effective in influencing people. If it is effective, it has value.
There's no downvote button...
They made a video about it.
Linode Manager Two-Step Authentication
We're already seeing the rise of backend as a service through products like Disqus, Video/youtube, and google analytics. If you're looking for problems to solve, find something you hate doing as a developer and find a way to jam it into an iframe/javascript snippet.
Not sure what language you use, but it almost definitely supports PCRE. For email addresses, I always use this regex:

http://www.regular-expressions.info/email.html

I've yet to run into a problem with it. If you want to extract an address from a larger string, then you need to slightly modify the regex to capture the email address from the string. This is going to depend somewhat on the language you're using, but probably involves wrapping everything between the first \b and the last \b in parentheses.

I guess if I were certain that the target text was a "<name>" user@domain.com style string, I probably wouldn't use a regex (unnecessary overhead) and just split on > and trim or something silly like that.
a) That solution is sometimes implanted. The problem is: its slow, very, very, slow. It is not nearly as fast as regular integer arithmetic. (Also, +, -, /, and * aren't called axioms.) Also, how do you handle things such as powers and exponentiation (especially non-integer arguments)?

b) Search up for "BigInt libraries". The problem is the same with the others, its slow. You still have to allocate memory and the operations aren't as fast. However, BigInt libraries are widely used when necessary.
What is "close to the metal interaction" when you're talking about set of frameworks that run in an embedded interpreter that runs in a browser that runs on a GUI that runs on an OS that runs on.. oh wait.
They are better than what most people can do with Photoshop/Gimp. People have tried to recreate them with actions but they haven't quite got there.
Establishing a New York State Local Government Data Center
I agree with you re: Gambit. Gambit is great for small fast standalone executable where you don't need 3rd party libraries. Gambit's weakness is the lack of a large set of libraries for web apps, etc. That said, Gambit is the Scheme I have used the most in the last 10 years.
It has some real advantages, though. The ability to change the content and to let other people upload things to one folder is really cool and not easily done through torrents.
I think they are afraid of showing real-world performance to soon...
What is the specific problem with the top bar? It goes away for small window sizes.
Alien-Looking Skeleton Poses Medical Mystery
Ask HN:why do titles get changed?
It seems that the title of HN posts get changed to the website title after a post gets reasonably popular. This often loses the point the poster wants to make (for instance today with the Manchester website).
Why is this? If it's automatic, shouldn't it be turned off?
no atlanta?
It's a legit point and a legit question. Instead of voting it down answer the question with some objective facts
We've experimented with this concept for our Chrome extension, but I think it's worth exploring more.

http://blog.close.io/post/46905541008/the-close-io-lead-clip...

https://chrome.google.com/webstore/detail/closeio/cmhcoonbgf...
You could simply add "index" to the page when accessed with /seo/url and noindex when accessed with the cryptic url. Additionally you can enforce that using .htaccess or nginx rules also. Your Framework and HTTP-Router class just has to support multiple URLs per page.

Basically your CMS or Framework must allow to have multiple routes like site.com/best/watch/casio and site.com/→@ðŋ]æ~@¢“«¢“¹²³»«@€^ linking to the same page.

I've used that in the past to switch languages dependant on url-path + browser-language. /en/my-article would show that english article to a german visitor, but everything else on the site like nav, terms etc. would be German. To access the Enlish site, the german visitor would have to click the appropriate flag. I could have easily added the feature to read that same article in German, by a click on a flag in the bread-crumb's mini drop-down. Example: blog»my-article[v] a click on [v] would open blog»mein-artikel etc.
Ask HN: What would you do with 6 months out?
I find that I have a lot of ideas and things I want to do but the fact is that its hard to find the time to do them. I often think if money wasn't an issue I'd love to have a 6 month break.

Does anyone one else think this? What would you do with 6 months out? Chances are you could create something awesome.
Checking it now. I work for a Backend Service platform called iKnode. So I already have a backend for my apps.
The Future of Responsive Web Design
Redefining SEO metrics
Yes, and before them PACB's vaporware excited me. Lets just be happy we can still get excited about something. :>
How to use MongoDB as a pure in-memory DB
You have the option to additionally post to Facebook and Twitter.
The title made me think there was some sort of face detection at work and I could see photos where I happen to be in the background by chance. I immediately had a moral debate in my head about this, before realizing it's just a tagging feature.
http://en.wikipedia.org/wiki/Stagflation
I've found myself to be an effective programmer because of the non-degree experiences that allowed me to see the larger strategic and tactical environment in which programming takes place.

However, the foundations that my CS degree gave me allow me to think much more openly about the possibilities of what can be done with computers. I don't need to depend on what a library can do, I can dream big and then find the code that does what I need or build it if I have to.

And strategic thinking is an orthogonal skill that will elevate anybody no matter what professional discipline they are in. As a professor of mine once said "if the only things you learn at university are covered in your classes, you've attended a very poor university indeed."
The problem my alma mater faces is an incredible surge in CS enrollment but a fear of a 2000-style pop in which all those students flea the program.

IOW, they've got more students trying to major in CS than they can possibly handle but are afraid of hiring more professors to handle the load. That's what they did in 2000 and they wound up having three professors with nothing to do. For a small school of <3000 students, that's a big problem.

Their solution is just to make the intro courses so difficult that >75% drop.

(Intro to CS in Scala will do that)
Cloud has never had meaning. I always thought that fog was the much more appropriate weather event for the vague concept that all the different people tried to push.
What's the point of having these massive javascript virtual machines & webgl systems in our browsers? How does having a separate implementation of a specification help us build a safer, more open web?

My theory is that Mozilla and Google are in a race to develop the most advanced html5 engines because they know that if a killer html game or app gets developed in their browser, everyone who wants to use the app will switch to them while the other implementations tries to catch up.

It will also prevent new browsers from trying to pop up, unless they simply fork and try to keep up with one of the two major engines. Google and Mozilla know they can outpace any competitors that are trying to innovate in the web space by having the "latest" html5 features integrated. In example, unless Microsoft pours a bunch of money into it, or Internet Explorer forks Mozilla or Google, they can pretty much count that competitor out.

Is this supporting an open web?

What's the problem with focusing on open source plugin virtual machines that can work in every browser regardless of that browser's version?
3 In 10 Americans Will Not Knowingly Buy Chinese-Owned Brands
Ask HN: How to build a Hacker-News-like website using Wordpress?
Hello HN,

I want to make a website similar to Hacker news format using wordpress (or any other CMS). I am still learning html, css, js and php, so really would like to take some advice on where to start and what available technology to use.

The main feature of the website is similar to HN: users can submit news on front-end. Others can comment and vote. There is also blog function which I think most CMS can do well.

Thanks!
Derek
Middlebrow dismissal at its finest. Which is a shame, the article actually has some nice little usability ideas if you could get over yourself.
no NYC?
Which would largely turn back into CO2 once the bacteria do their thing.
Slightly related fun fact: Oslo also uses recovered heat from sewage to heat homes.

http://www.enn.com/top_stories/article/4032
All hail Frank Pfenning!
How? Couldn't you even drop to another TTY and kill the process?
It is basically as if Flash Player became a browser.

Exactly, an open source standardized VM would be ideal, then you would have a choice of languages as well.