skysight-inc/HackerNews huggingface dataset:
I'm always really surprised when I read posts like these and they don't mention Web Components/Shadow DOM.

The ability to encapsulate markup, style, and behavior into a single unit with a clean API is an enormous improvement. Of all the new HTML5 features, I think Web Components have the highest potential to relieve a huge pain point for developers.

Image an online repository with all kinds of widgets -- range sliders, date-pickers, sortable lists, etc. But instead of a collections of inconsistent jQuery plugins with CSS dependencies, you get a single, self-contained module that can be interacted with as if it were a native DOM node.
Can the URL be rewritten to link directly to the video? I don't think the blog in the middle adds anything.
The other thing not being mentioned is that sometimes logging into GNOME will source .profile or .bash_profile (I forget which). This can be used to make sure that environment variables are set at the top-level (to be inherited by all sub-processes of the GNOME environment). Mostly this is useful for things like $PATH (which programs like gmrun make use of).
Because it works just fine, that would be my guess.
That's just the point. Using tables for layout is what's causing the 1999 vibe.
Here's the key:

I wanted to create an extension for the site;

I don't actually understand what this means.

I'm coming to the conclusion that the people who actually know and understand modern web programming can't actually explain things to someone who is an experienced programmer, but not a web programmer. I've searched diligently, and I've wasted a huge amount of time, but I've never managed to find anything that explains WTF goes on in modern web programming and/or development.

I've pretty much given up. It seems a completely closed shop.
The dominant factor is not the graphics hardware but the graphics driver. If it has security, stability or conformance issues, it gets blacklisted.

http://www.khronos.org/webgl/wiki/BlacklistsAndWhitelists
To be honest, I think if you're a programmer/developer looking at the Raspberry Pi as a gateway to basic electronics, you'd barking up the wrong tree and would be better off with one of the Arduino boards. With the Arduino you have plenty of resources, and the convenience of only needing the Arduino IDE and a USB cable to upload your program to the micro-controller. The Arduino platform can do a lot in terms of reading sensors and controlling circuits, and if that's all you want to do then a Raspberry Pi is far more than you actually need, and much more expensive than an Arduino too.
<i>If you truly think that most people have "fairly equal" access to opportunities, you understand extremely little of the world.</i>

I'm not talking about the world. I'm talking about the US. Our poor don't hold a candle to the rest of the world - if you are poor in the US you are better off than most globally.

Unemployment numbers are just one part of it. We have over 46 million Americans on food stamps. We have programs that give benefits for housing, health care, mobile phones and all sorts of other "entitlements" ... unemployment is just one piece of the ever growing entitlement pie.

If you consider my opinion that we should not support those that are sitting on their ass as "moralizing" then I suppose I am guilty of that. That you think that the lazy, good-for-nothing, sits-around-doing-nothing American is mythical is laughable.

And, yes, I know people who have been on welfare, who have received government assistance. I know people who take unemployment. And in my experience I have seen these people make bad decision after bad decision. Is some of it out of their control? Sure. But many times they share in the responsibility for their financial situation. I've seen people that are struggling to make rent, but always have beer or liquor around. Those are the kind of stupid financial decisions that keep people where they are. I don't think it's incumbent on those of us that are working, paying taxes, and trying to be responsible citizens to have to keep funding those that aren't working, pay no/few taxes, and continue making irresponsible life choices.
Saying something is impossible, even in the far future, is just stupid. If you think about it, humans are only familiar with an infinitely small sliver of what's out there in the universe. We're taking the little knowledge we have, and saying AI intelligence explosion is impossible. That's like a baby saying he's stood up before, and walking is just impossible.

Just seems silly.
Are you kidding? Kodak invented digital photography. And you know what? They knew better than anyone else that digital photography absolutely sucked relative to film.

If you want to know why dominant players get displaced by new technology, I highly recommend reading The Innovator's Dilemma.
Pg has gone on record (one of his essays - I'm mobile or I'd find it for you) as preferring table based layout for his own projects because it's easier to understand and hack. The HTML layout in arc is thus table based, and hn is written in arc. So there you have it.
Blender is trying its best to work with you; crashes are seen as rare bugs that Blender needs to work around.

Arbitrary web pages can run arbitrary GL commands and if they can cause your GPU drivers to crash (e.g. lock your whole system) than any link you click has the potential of ruining your day.

Unfortunately, nobody's yet figured out how to let a browser only run the pages that don't make it crash.
I guess it's because they work.
> 1. Faster Javascript Engines

> AS3 in Flash Player 9 (2006) has about the same speed Javascript has now. There are about as many benchmarks showing AS3 beeing faster, then there are the ones showing Javascript beeing faster. Speed seems to be about the same

Links to back that up?
The real answer is probably "PG doesn't give a shit".

Right or wrong, there are many things about HN that are neglected. Layout is notoriously one of them. Expiring links is another.

PG either doesn't have time, doesn't care enough to change it or HN is written in a way where changing it would be a big project.

Probably all three. Crossing my fingers that this post doesn't raise the ire of moderators.
I eat my corn in rows and usually start about 7 kernels in from the left and almost never eat more more than 65 kernels per row.
Bullshit, and you know it.

A business that can acquire customers with an LTV of $1,000 for a cost of $500 (read: a good, sustainable business) isn't going to just sit on $1,000,000 of profit. They're going to buy 2,000 customers.

And then next year they're going to buy even more. And then even more.
It's not because it's old.

It's because it's semantically incorrect.

It's because positioning is done in the html. It is generally considered a good thing to separate areas of concern. Content in one place, style in another.
a) Agree
b) It's fast? More markup = faster? Definitely not the case
c) You mention HTML5 & CSS3 which some browsers don't have full support for but considering none of those features would be required for HN I don't understand this point at all. How far back to you need to go to find a browser that doesn't support "background-color"?
d) Why is this a pro?
e) What context would it not be considered overkill? Completely arbitrary decision.
has anyone bought/read/use the paraprog guide for raspberry py at pragprog.com/book/msraspi/raspberry-pi? I would like to get started and this book seems to be the only viable starting guide
Perjury is a felony. It is also grounds for disbarment.

Where's the/a/any prosecutor?

Where's the ABA?

Fail.

P.S. Now, Google, I and a lot of other people will see you as taking sides.

As others have snarkily commented, elsewhere, how soon will you be deranking YouTube?

Fail. Time for us to move on.
I posted a long-ish piece on this yesterday: http://news.ycombinator.com/item?id=4369373
Ask HN: Programming productivity vs. performance - opinions/links needed
What is your call on programming productivity vs. performance? I am writing a thesis on that topic which should in the end suggest startups - to either a) go for high performance languages, or b) go for languages they are most productive with.

I need input from real hackers - looking forward to reading your opinions/checking out links you like.
A Year Later, How Is Nokia’s Windows Phone?
I think it's a Vim rite of passage to write these posts. Just reading this one now makes me want to write my own, even though I know everyone has seen them a million times and has little interest in my Vim special flower.
Seattle Seahawks vs Tennessee Titans live stream watch here NFL Preseason
Seattle Seahawks vs Tennessee Titans live stream watch here NFL
Preseason 2012 and get nfl full season
Tennessee at Seattle
Match scheduled:
Date : SAT, AUG 11 2012 Time: 10:00 PM (ET)
NFL Preseason 2012 venu: CenturyLink Field
Seattle Seahawks vs Tennessee Titans live stream watch here NFL
Preseason,Seattle Seahawks vs Tennessee Titans live stream watch here
NFL Preseason,Seattle Seahawks vs Tennessee Titans live stream watch
here NFL Preseason,Seattle Seahawks vs Tennessee Titans live stream
watch here NFL Preseason.
App.net just passed $400k
Random walks? O_o

So, sociologist then? http://xkcd.com/435/
You have never used a web extension/addon? Are you browsing the web using Lynx? Stallman, is that you?
It's completely dependent on the requirements of the product you are building. If code performance is a requirement (or a known problem), than you should use a tool (ie, a language) that solves it.

For most web / mobile startups, this is usually not the case, and they opt for the language which they are most familiar with, easiest to hire for and allows them to iterate and pivot the fastest.
SoundCloud Next design critique
Probably for the same reason the site has terrible graphic design, usability, and discoverability.

(The gray in the text of the submission above is so light to be practically unreadable, can't undo accidental upvote/downvote, can't collapse threads, hidden URL's like /best that don't have links to them, etc., etc., etc.)

Because it feels like it was hacked together in a weekend and never touched again.

Thank God the content is better than anywhere else, which makes up for it all! :)
I honestly think the post is a bit ridiculous and whiny.

While the iOS review process may be draconian and inconsistent, it's clear that the "apps" in question contain basically no functionality other than video playback - certainly they are not note taking apps, even after the fixes - so how defensible is the position of the author?

Now - it's clear that the only video content that Apple can accept is content coming through traditional channels. Why? I am not sure, but probably there are some contractual reasons (e.g. the studios give content only if Apple keeps small fish at bay?). It's certainly not different for songs. I have an album on iTunes and it got there through a major. Three other independent albums were never accepted.

Also, while Apple may tolerate, or pretend not to see video hiding in the app store in order to be friendly to developers whilst stretching, bending but not breaking any contractual obligation they probably have, this doesn't mean that they won't stomp such content if and when it's found. They certainly have no obligation whatsoever towards the author to keep his apps in.

I find the blog post naive at best and malicious at worst.
I used to believe in <div>, but nowadays I just believe in whatever works. I haven't noticed any rendering problems on HN, so I'm not sure what the problem is.
Well, I'm not him but: probably starting from a zone file and narrowing it down to only whitelisted and "legit" domains would be a good start.

Maybe during the registration process more metadata should be demanded of people and anonymity prohibited or reduced. That way for example if you wanted a list of all the .com blogs it is just a grep away and tied into mostly real people for example. Corporate websites tied to their business entity with an EIN or something and verified. 'etc.

The thing is.. that ship has sailed a long time ago so we are stuck with google.
>because it's easier to understand and hack

Wow, I never knew people actually thought it was easier. If using a table based layout you have to type many many more characters and keep a mental log of what's in where.
I had an article sit on the frontpage over the weekend about two weeks ago. Total traffic was around 18k, peaking at 140 uniques/second.

This was a WordPress blog, so I had it configured to use W3 Total Cache, AWS Cloudfront as my CDN, nginx as my webserver, APC for php opcode caching.

My current box is a pretty beefy dedicated, but I used to run the exact same config on a 512mb Linode instance. It handled front-pageing just fine (similar traffic stats).

Basically, cache everything you can, look up performance tuning guides for your webserver, disable keep alive.
Paper on the genetics of magic in the Harry Potter universe
I agree on the content, it has a lot of interesting things directly related to my profession. :)
As someone who's downloaded SCOtutor apps I can see his frustration. The SCOtutor apps are really well put together and great tutorials.

Rather than moan about Apple lets look at what he can do.

The author has a collection of extremely high quality content. He's already taken the effort to turn this into chapters. With a bit more effort he should be able to turn this into a pretty good site. If you look at his actual site[1] you'll see he already has this. But lets put some patio11 thinking onto this.

He has a lot of chaptered content that would be really useful to new users. So for each class of content he could create a new site, have a couple of chapters available and the rest behind a paywall, charging per chapter or for the whole thing. He can monetize the content with adverts (for the open areas) and Youtube's partner program. Personally if I were him I'd upload my open videos to Vimeo which provides better quality (IMHO, I could be wrong) and to YouTube and monetize the Youtube content (along with links to his specific websites for further tutorials).

He can further monetize by using affiliate links from organisations such as Amazon for accessories for the things he's talking about. For example, a video on how to turn smart cover support on and off could be augmented with an affiliate link in the page to smart covers sold on Amazon. It doesn't have to be spammy or overdone.

New versions of iOS and OS X come out on a fairly regular basis. He knows the release dates in advance. As the new release date gets closer he can open up more of the older chapters as he sees fit and then release the new course when the new version comes out.

Finally the author might want to look at bundle deal sites. There's tons of them for Mac and the most popular ones tend to get around. If he can get his tutors bundled with something that people would buy on it's own then he's more likely to see more sales.

[1] - www.screencastsonline.com
If you were a programmer, it seems like the RPi would be a better choice than the arduino -- you can code in the language of your choice instead of processing or C, and you can still control interface pins to the outside world.

Also, you'd probably do more with the Pi as a programmer beyond turning pins on/off -- for example, you could hook up a camera and run opencv, then write a small app to control a water gun that shoots squirrels off your bird feeding post.

When you start doing more with arduino, you typically want network connectivity, and most of the wifi/ethernet shields for the arduino are the cost of the entire RPi computer. I think the RPi does fill a good niche in the hardware world.
Sure, but from a customer service standpoint the article would be too abstract, and from a worker standpoint it's apples and oranges to compare Olympic volunteers with Zipcar employees, who are getting paid. Is the point that it's good to have half of your workforce be unpaid? Is it perhaps that not paying people is the key to good customer service? I really can't tell. I've been thinking about this for a day now and the only concrete positive I can pull out of it is to "have a good product," with the implication that, well, if you have a business that can't thrive with a 50% unpaid workforce, your product must be bad. I may have too much imagination.
Use the browser search function, middle click links and have it respect your settings, use the browser's spellchecker on a textbox, increasing the text size with reflowing, using screen readers, etc.

(Oh, and anything that Flash technically supports but doesn't do by default unlike HTML/CSS/JS is essentially the same as not having it, since we all know 90% of developers won't care).

Oh, and more recently, use new versions on Linux outside of Chrome: http://news.ycombinator.com/item?id=3780368
Part of the argument for designing with web standards (i.e. using semantically appropriate tags) is that it makes things more maintainable. But this only applies if you're coding in (X)HTML. For this site, pg codes almost exclusively in Arc so he only has to worry about keeping that code maintainable. In general, you should only worry about the source language, not the object code it spits out.

The other part of the argument relates to accessibility and to my knowledge the latest accessibility tech can handle "messy markup" just fine.
Didn't expect that! What's Dalton going to do if it doesn't pass? Are they still pushing the idea, or are they going to move on?
I wouldn't say it's impossible to read on my 4S, but it is certainly not "optimal", due to the table-based layout (with large margins). The page is zoomed out quite far when first loaded. Text is rendered pretty small, even when you double-tap to zoom in on the content "column". It's readable for me, but I still have pretty reasonable eye-sight. I can imagine it would be a lot harder if your eyes were even just slightly less capable than mine.

As for the original question "why?" - my guess is because a) it works, and b) it's quick. Sometimes you need to be pragmatic about these things.
Just get a teensy[1] board, and hook it up to the Rasperry Pi.

I'd like to know what kind of stuff you can do with the GPIO pins directly on the Pi, via /sys/class/gpio. Are they just digital (0,1) or they can read voltage levels too? (electronics newbie here)

[1] www.pjrc.com/teensy/
I'm not the parent, but I do web development - here's how I understand it:

> hard for end users to customise

I think, he means that a css-based ("modern") solution would allow end-users to just swap the css (a feature most web-browsers have as a built-in) to change the site's appearance - whereas you cannot change the way a <table> looks, for example. That is, you can't easily make <table> columns appear below each other, for example.

> works terribly in any other context than a desktop browser

The parent probably means modern non-desktop web browsers, i.e. ones with javascript and media-query support. Using media queries would allow automatically changing the site's appearance to something more usable for small-screen devices (for example) - by using bigger buttons/links/up-vote-triangles or something like that.

The problems you mentioned are orthogonal to that - mostly caused by devs that only target js-enabled modern browsers. That's bad, of course, but it's not part of "modern web development" per se - it's just bad web development.

> plays terribly with all other web tooling

If you use "modern" web-dev methods (that is, styling only per css), other (web-)services that display your site in different contexts (think google reader or desktop mail readers or something like that) can swap or remove the css and get the content (including semantics like "headline", "list" and so on) without the styling ("these are table columns", "this is centered"). In theory, at least.

I don't understand the rest of the points either, to be honest. <center> and <table> are very compact, compared to equivalent HTML/CSS solutions - that's part of the reason why people keep using them.
Arduino's are usually $30, though you can get the clones for $20. The ethernet shield alone is $45. The cheapest Arduino-a-like with built-in ethernet, as far as I've found, is the Nanode v5, at $40 in unassembled kit form.

http://wickeddevice.com/index.php?main_page=product_info&...

Many of your other points are valid. For tons of projects a Pi would be overly complicated overkill, but I can think of many times when I'd want more video in/out capabilities, plus the ability to blink some lights, drive some motors, and accept non-usb sensory input.
There's No Return. A javascript reactive programming engine.
App.net at $400k
Is it OK to replace optimized code with readable code?
That's a good point, re: internships and spec work.
Correct, I have never used a web extension or addon. I use Konqueror 3.0.3 on KDE 3.0.3, I use Konqueror 2.0, I use Firefox 2.0.11, I use Firefox something or other than comes with Ubuntu 12, and another Firefox that comes with Ubuntu 11, I use the browser that comes on the Blackberry bold, I use my own web browser/fetch system on a machine that I built by hand, I use Chrome on Ubuntu 12, I use Chrome something on Windows XP, and I use Lynx.

I have a complicated life that means I use embedded systems, systems I've built, systems I've rescued, and a more modern desktop development system.

So, I don't spend a lot of time messing about with browser extensions or addons or other extras. It's not what I do.

Yes, I move in different circles from you, and while I'd like to learn about modern web programming, and feel I'm probably capable, I've yet to find a decent introduction, tutorial, and reference.

If you can offer any advice I'd be interested.
Maybe you could have the best of both worlds with something like the alamode:

http://baldwisdom.com/category/raspberry-pi/alamode/
http://www.icombinator.net/#_home is a reasonably decent example, its very obvious from reading the source that it is easier to read and understand (I am not even sure I can remember what vspace="" does). Instead of duplicating inline styles for every element you use minimal markup and use CSS to style the page. There are a few advantages to this: CSS caches, dynamically generated html with inline styles do not, its easier to edit, click inspect on the page and change some of the css, the whole page changes, you dont need a change + reload cycle.

Lots of people apply custom stylesheets because the default one has a lot of flaws, or sometimes they just want to. See http://userstyles.org/

The fact that this website works terribly on mobile is unarguable.

Web tooling means the browsers inspectors tools, the css overrides plugins, there are millions of plugins / enhancement tools and most of them can only work given a reasonable set of html and css to work with.
I don't know about his apps, but I'm happy that Apple is finally putting and end to this mess. The app stores are littered with "tutorial" apps, most hoping to fool users into buying it thinking it's the actual app.
How YouTube Will Escape Google's New Pirate Penalty
An Evaluation of Go and Clojure [pdf]
If you want to be network accessible, the Raspberry Pi costs about the same as an Arduino with an ethernet added.

As far as programming, simple is easy on Arduino. The limits are further away with a Raspberry Pi. Say you want to log some data for later analysis. Trivial on a Pi. Anything more than a few kilobytes and you are wiring an SD card to your Arduino.

I'm currently using Arduinos for well defined, simple functions, but for more complicated functions. I will use Raspberry Pis where the BeagleBone CPU is overkill, but Arduino will always win for low power use.
The broken bindings for ^W and ^U have driven me crazy enough to create a website dedicated to try to document how to fix broken software to properly handle them:

http://unix-kb.cat-v.org/

Note that this are not vi(m) keybidnings, they are classic Unix keybindings that should work on any Unix application. (They even work in Plan 9!)
Mississippi county accused of running ‘school-to-prison pipeline’