skysight-inc/HackerNews huggingface dataset:
All of the web is broken by default, because it is filled with black-hats trying to collect your personally-identifiable information and steal your passwords.

If your web page doesn't work without javascript, you are no longer publishing to the entire world. You are publishing to the subset of everybody who will trust a complete stranger to execute unknown code locally on their own computer--otherwise known as the gullible and the naive.

While it is true that most website authors will not abuse that trust, they may not be entirely responsible for all elements served to visitors, as there may be a compromised ad server, or the website itself might have been subverted without the author's knowledge.

I will often at least temporarily allow scripts to run from the domain I am currently visiting, but if a page is serving scripts from 30 different domains, I may spend some time researching those domains, or simply forget about the page and go elsewhere.

I want my computer to serve my desires, not those of strangers. And I go to the web for information, not fancy layouts.

Also, I sometimes browse over a SSH shell with links, a text-mode browser, and javascript support in that has been suspended indefinitely. Some browsers are simply incapable of rendering images or executing script. You shouldn't ever be tying the core functionality of your website to a user interface, any more than you should make the business logic of software dependant on the GUI.
Thanks guys. As soon as I get my hosting back up, I'll get it fixed.
What if we did the same by Demoing the Slow Lane for a day.

As someone who remembers using 110bps connections, this is amusing.
Personally I think the US should be bringing in millions more people per year and making citizenship easy to obtain.
API Commons integration in APISpark
Have you considered that you may have chosen the wrong open source projects?

Also, Open Source has come a long way in the past decade. Maybe it is time to revisit that initial impression?
Inside Dropbox’s Quest to Bury the Hard Drive
Syndication is an old term that just means running the same article in multiple outlets. For example, George Will's column is syndicated across a ton of different newspapers. The National Board of Realtors syndicates content through hundreds of local publications by providing articles for free.

For SEO purposes it's a little different and not always easy to manage. This is a good article that I've found that talks about some of the practical issues that can pop up: http://smepals.com/small-business-seo/how-content-syndicatio...?

Yeah, title is a little negative, but it's still got some useful details on how to manage it intelligently.

Not everyone who will syndicate or scrape your stuff will be willing to follow the rules. A lot of people will not even understand what you're asking them to do, so you'll have to spell it out for them as didactically as possible.

If you can get them to follow the rules, it can be an effective way to 'borrow' the traffic and link equity for a certain page or post.

More on rel=canonical from Google: http://googlewebmastercentral.blogspot.com/2013/04/5-common-...

And a Moz discussion: http://moz.com/community/q/syndication-link-back-vs-rel-cano...
That's not exactly on topic. We're talking about the `id` and `name` attributes, not the actual text on the button.
Bang Bird – my flappy jam game
I like to prefix the element name with the entity name that will be written to. That way, if I have a form that will be writing to the attributes of multiple entities, I know exactly what each represents. If two entities share an attribute name, then the element names will be distinct. For instance, if I have a UI where the user can enter order details and add order lines, then the elements that represent order attributes are prefixed with "order-" and the others are prefixed with "orderLine-". It is tremendously helpful during maintenance.
It doesn't explain what they do.
Coming up with things other people should do is easy.
Sorry guys. I didn't expect this to be such a big story. It's been a LONG time since I hit big on Hacker News.
Denmarks been vandalised - on minecraft
I don't know why only westerners complain "man, it's too big!".

When carried in the left-front pocket of my pants, my Nexus 5 slightly encumbers my ability to bend my left leg. Were it any taller, the encumbrance would not be slight. I also find it difficult to use the keyboard one-handed and to reach the notification bar when gripping the phone so as to be able to use the keyboard. If it was any taller or wider, these difficulties would turn to impossibilities.

I understand the appeal of a larger screen, but convenient, comfortable pocket carry and one-handed use are more important to me than how much content it can display. I use a Real Computer when that's a priority.
It's good news that change is happening. The bad news is that it's only after 6 years of residence: http://lofgren.house.gov/news/documentsingle.aspx?DocumentID...
I don't think you get exactly what he meant by "js disabled by default".

I use No-Script and whitelist sites as required, it's just a click or two, but for any new site I go to JavaScript is disabled.
Contact Forms – Why you need to take care when making one.
I've heard similar problems from other people. I've been buying Ikea furniture almost my entire life and I've never experienced this problem. Naturally I've had Ikea products wear and tear, but not generally faster than products from other companies in comparable price ranges.
Those who come here on H-1B can transfer companies now. Giving them more power than they had in the past.
The sexiness of AmazonSupply disappears once you start searching for products. Industrial parametric part search is incredibly hard to get right, and McMaster-Carr is the clear leader in online. The article didn't even mention them. AmazonSupply/SmallParts is pretty cut-rate by comparison, both in selection and ease of search.
You have the sports blackout backwards. The content producer has demanded the blackout, not the gatekeeper, which would be happy to have the viewers.
Did something similar, just built a module for our CI tool that checks against sensitive information (secret, salts, hashs, hidden feature), pretty efficient as every dev (myself included) can get lazy and use keys directly in scripts, instead of our Config loader that safely retrieves all that.

Not bad in itself, sometimes all you need is a dirty script, but as other have said, they tend to stick around, a key part of our CI module is actually putting expire date on scripts, or check dates. I will receive an email telling me to check and a warning on the CI at build time. It's been great to keep our code clean while allowing us to still do things dirty when required.
Superb. You obviously get it.

I have to wonder if part of the reason there's so much bickering about this concept is that a lot of apps aren't a complex problem domain, but rather they just drown slowly in incidental complexity and feature creep.
The problem is that most places don't have choices. I have only one option (ATT) for ISP and when I move in a couple months, I will have 2 choices (Comcast and ATT).
Current Android devices with smaller screens almost universally have less powerful hardware. A slower CPU, slower GPU and smaller amount of RAM will consume less energy. They also tend to have lower pixel densities, which usually mean higher light transmission (with LCDs) and therefore less energy spent running the backlight. There's also less area to illuminate.
The importance of anonymous cryptocurrencies
Appears to be missing data from Alaska Airlines. A lot of flights in the NW are handled by Alaska, so there's a number of missing connections from my local airport.

[EDIT] Not quite correct, just missing all the Alaska airlines flights out of Bozeman. Perhaps missing the turboprop data?
I just use rss2email. Everything I want an RSS reader to do, good MUAs already do.
I wonder if it would make sense for Amazon to buy Grainger, Graybar, or Cardinal Health, now that Amazon has sales tax issues in every state (well, and wholesale b2b wouldn't be an issue, but if it were directly Amazon it would have caused the consumer business to pay taxes.)
AIUI the main reason for using C for multimedia processing is to have inline assembler to make the best use of SIMD; aside from that it's certainly possible to write a video transcoder in Haskell (I've seen it done, for ARM where there didn't used to be such powerful SIMD options available).
Point to even a single example or you earned every downvote you get.

I know a lot of people hate the "government," but it's no more rational than hating "corporations." Which government? Why? My impression of US government ISPs from college campuses is that most leave a wide open pipe for pretty much free use with few exceptions. Many forget that the Internet was entirely given away to private interests by the government. Most public ISPs are understaffed and may at worst limit something by accident while targeting illegal activity.
The interesting thing is I have "action" and "submit" name inputs in every single form I've ever coded.

And I also .submit() forms via JS.

And I never had this issue...
How Python Scripts Power Drones
NASA, CNES Warn SpaceX of Challenges in Flying Reusable Falcon 9 Rocket
Cryptocoins for Good
Predictive, not just correlated.
Can you give me an example? Thanks! I also owe you a beer payable in the bay area at any time.

I only have data for airlines with revenues > $20m, but I'm pretty sure Alaska falls into this group.
Bitcoin and China: No Fire Without the Dragon?
It's essentially the Tragedy of the Commons. People come and claim part of the common green, which pushes newcomers out to the more undesirable real estate. I'm not convinced there is a workable market solution, though I'm also not convinced that there's a satisfactory regulatory solution.
Disclosure: I'm a Feld fanboy. I think it's a brilliant idea. However, to actually coordinate it would take some doing. Blackouts are relatively easy technically. Slowdowns, not so much, given that most companies that give a crap work diligently to improve the user experience and speed things up.

The financial impact could potentially be huge (as I'm sure blackout was as well). But what's even tougher about this idea is getting companies like Google and Netflix in on the "simulation". They're most likely not going to be on the slow lane. Now let's say some we get a whole bunch of startups who would get penalized by the slow lane to do this for a day. Would it make as much of a difference to the masses? The initial effects will be subtle, but the long term impact on economic activity and startups in general could be devastating.

That being said... if this movement is to take hold we'll need some web server plugins and some JS magic to help it happen at a massive scale. Maybe some of my fellow geeks at the bigCo's can convince them to join in for a day too, for the sake of all of us.
Forget college.

Learn everything you can about sales and marketing. Find something to sell. Sell it. Lather, rinse, repeat.
>We need a period of zero immigration for five or ten years, after which other policies might be worth considering

There most probably wouldn't be a need for any stricter policy after 10 years, for skill based employment. By that time, many companies would either move or have big offices in other locations in order to attract global talent so the US wouldn't be as attractive to come in anymore. Also, there are a lot of companies that are started by immigrants, so some other country is suddenly going to be a hub just like Silicon Valley now.

Looks like your proposal affects students too. That means a lot of folks like the Google and Yahoo founders. Do you even realize how much R&D at universities and companies is driven by immigrants?

Don't think it will happen? What if I tell you it's already happening to a certain extent even with the current policies?

http://www.infoworld.com/t/business/microsoft-vancouver-resp...

http://en.wikipedia.org/wiki/Blueseed
> find that automatically filters out files that are not source code

Not just that but an extensible set of file type filters that are simple to invoke is what I had in mind. E.g., the tool would let you perform searches like

find++ --Python projects/archive/200?

or

find++ --video trailer

where in the latter case the hypothetical find++ would refer to my config to get a list of video file extensions and then print a list of all files in the current directory and its subdirectories with the word "trailer" in their name. For better effect it would ship with useful filters like "--video" by default.
I really like Sublime's workspaces system as a solution to this problem.

If you have a project open and need to switch to another one, Ctrl-Alt-P opens the project switcher. If you switch to another project, the previous project's workspace is saved. So when you come back to the last project, everything is JUST as you left it.

Alternatively, if you need to have it open in another window (for comparisons or whatnot), just open a new window before opening the project switcher! (Ctrl-Shift-N, Ctrl-Alt-P)
Show HN: Movie lines at your fingertips with soundbite search
I don't know that this is the solution (or even that there's a problem). I know my opinion isn't very popular on HN on this issue; but I continue to share it because I feel it's important that people understand the view from the other side of the fence. I expect to get downvoted because people disagree with me, but then magical internet points never really mattered much to me.

I think all this talk of the "slow lane" is a bit tinfoil-hat. Companies like Comcast have no interest in slowing down web site traffic; in fact they do a lot of QoS to make web browsing faster and more responsive. This type of traffic (DNS, HTTP requests, online gaming, etc.) tends to get put in a high-priority QoS class: the data transmitted is often small and it greatly improves the user's experience. ISPs have a huge incentive to make this type of traffic as responsive as possible; and given the low bandwidth requirements, this should definitely be possible. It makes their service "feel" faster to the customer and it's the right thing to do for the customer.

Video streaming services are another story. They don't need to be responsive because they pre-cache a lot of data; in fact the right thing to do from a technical perspective is QoS them into the basement. Video can handle this; it's high bandwidth and low latency. The thing is, streaming video accounts for about 80% of peak Internet traffic. A small percentage of users (~30%) are starting to overload the ISP's last-mile networks with video traffic.

The types of high-bandwidth scenarios that the ISPs will be pushing the "fast lane" on are going to be almost exclusively video streaming services. Video streamers have had to pay CDNs for years anyway if they wanted their videos to stream quickly. The idea is that because these services have such a disproportionate effect on bandwidth usage, they need to contribute economically to avoid a tragedy of the commons [1] situation. Your average website or app that's not pulling 1.5+ mbit/s over an extended period of time is likely going to be fast regardless because it's in the ISPs best interests to make it that way.

[1] http://en.wikipedia.org/wiki/Tragedy_of_the_commons
How much are you paying for that on Hostgator?
HP Helion: will invest $1 billion in OpenStack, CloudFoundry
I built my first webapp from what I learned in Udacity's CS101 and CS253, and Codecademy for front end. Supplemented by lots of Google, a quick python tutorial, and a Java course I took back in college.

http://sudokuisland.com

More webapps in the works...
With the boomer swell and the possibility of prolonged stagnation, I don't see why you'd want to prevent skilled and innovative people from entering your country.
To qualify for the "bottom 100" list, a film needs at least 1500 ratings: http://www.imdb.com/chart/bottom
+1 Find someone who has a real problem which can be solved with tech and who is ready to pay for the solution, build an easy to use solution which solves the problem, profit.
Video of the desktop version of the product: https://www.youtube.com/watch?v=MGL91VhpCgw
I wonder if it has to do with not having to copy data back and forth between kernel and userspace. My mildly uneducated thought is that you could do this with splice() or whatever, but mmap is an easy drop-in replacement.

edit: I've been reading your posts for a while and I like them, but I keep wondering, why do you have sillysaurus1-2-3?
> ...it's just an API failure

This. As far as the bandwidth issue goes, effective use of caching and compression can go a long way. Schemes varying the responses via the URL compromise schema validation based on media type (see JSON Schema, for example). Specific cases where fat or thin requests truly make a difference can be addressed with additional media types.
Just for fun, I decided to look up the price of Acetal rod on amazon supply.

Acetal Copolymer Round Rod, Opaque Black, 1/4" Diameter, 36" Length $7.86

Price at Enco : $2.29 for a standard 4' length.

Amazon: $2.62 per foot!

Enco: $0.57 per foot.

Grainger doesn't have it in black, but for white:
1/4"	6 Ft	- $2.94
$0.49 per foot (Note that white is generally cheaper then black.)

I have hopes for Amazon Supply eventually adjusting their prices to 'sane' levels. But right now, they got some wacky pricing.

Edit: Checked McMaster Carr pricing.

White:	$0.53 per foot

Black:	$0.56 per foot
Because git-diff produces a full patch [1] that can be applied to a file. It's a lot more than just showing lines added/lines removed. The two hashes are useful because it shows what two objects are being compared. It's the same as saying "Change #12 vs Change #13" (not really, but sorta).

[1]: http://linux.die.net/man/1/patch
> but IKEA has been global from its' early days

I don't think I've seen this flavor of apostrophe misuse before.
New Moqups release: Stencil Styles, Google Drive, Publishing
Please find the video of their Desktop product here: https://www.youtube.com/watch?v=MGL91VhpCgw
two can play this game. Netflix could serve B&W versions of movies to the clients of non-neutral providers. The official line could be something along "this movie have been optimized for the low bandwith connections by removing colors and stereo sound; contact your congressmen"
No reason you couldn't use a block chain. freebooks is designed for a handful of trusted users, so I thought git was a better choice.
I've had something like this bite me before. Back in ~2008 one of the browsers introduced support for a new attribute keyword for some HTML element (Maybe "autocomplete"? I wish I could remember.). Since there wasn't one of those defined before, we expando'd it and used the attribute to hook up our functions. When it started to mean something to the browser, it tried to interpret our attribute and freaked out. It took a while to figure out that it was a new feature, but from then on we prefixed $COMPANYNAME_ for all of our attributes.
Manos is bad in the I-can't-even-watch-this-for-fun-without-MST3K kind of way. And even then it's a slog.

I'm a die-hard MST3K fan and I've only seen Manos two or three times.

Even so, I Heart Huckabees tops my list of movies that I just can't watch. That one's actively grating rather than just incompetent.
This just declares a lambda with two parameters with default values. You can't do obj.x, you can't declare "objects" inside of obj, you can't return obj in the parent scope.

Why would you ever do:

[x=1, y="foo"]{
// use x, y
}();

When you can just do:

auto x = 1;
auto y = "foo";
// use x, y

?
Sparkle - Pro Visual Web Design
I use Jekyll and am having an issue with it when I use feedburner. It recommends using {{site.url}} in the markdown and templates.

http://jekyllrb.com/docs/posts/

So, for example, I have {{ site.url}}/radio-surfing

On my site it shows http://www.taigeair.com/radio-surfing/ but on feedburner it becomes http://feeds.feedburner.com/radio-surfing/ in the feed.

Example
http://feeds.feedburner.com/taigeair

Does anyone else have this issue? Any suggestions?
These are just a few examples I do pretty frequently:

Nested Search:

ag functionName | ag moreSpecificContextLikeArgs

Find variable changed yesterday:

git log -p --since yesterday | ag varName

Find controllers changed yesterday:

git log --oneline --showfile | ag controllers

What files did I work on last week:

git log --name-only --oneline --author me --since 1.weeks

How many JS commits did I do last month?

git log --since 1.months --author me --name-only | ag -i '\.js$' | wc -l

How many JS commits did I do on each file last month?

git log --since 1.months --author me --name-only | ag -i '\.js$' | awk '{arr[$1]++} END {for(i in arr) print arr[i]," - ",i}' | sort -r -n

Change a "classname" from MyClass to BetterName:

ag MyClass # verify it only finds what you think it will
ag MyClass | awk -F':' '{print $1}' | sort | uniq | while read line
do
sed -i' ' 's/MyClass/BetterName/g' $line
done
I follow this space and am currently doing some research into the renewal/transition of the IANA contract.

http://www.ntia.doc.gov/press-release/2014/ntia-announces-in...

For a good start read this and the linked PDF:

http://www.circleid.com/posts/20140426_the_illusion_of_inter...

TLDR; The DNS industry has an oversized representation in ICANN. ICANN makes a ton of money, and no one really seems to care.

You can read the actual contract ICANN has with the government(NTIA) here:

http://www.ntia.doc.gov/files/ntia/publications/sf_26_pg_1-2...

Mueller is someone who regularly criticizes ICANN. I don't always agree with him, but I think he's right on with this one.

http://www.internetgovernance.org/2014/04/16/icann-anything-...
Friendly reminder that Herbert Hoover was an engineer.
And most of them are not "IKEA" in themselves, they are franchises.
Most of our stuff is from Ikea. There's a 2 tables, 1 desk and 4 chairs in our apartment not from Ikea.

Nothing broke so far (3 years in). Our main sofa is a little bent in the middle, but not obviously so. I only noticed because before out vacuum cleaner's head could just fit underneath the sofa, and now only fits under at the far sides.

The quality is not great. Most of their furniture is pressed wood, and is easily damaged. But in their price segment, I think they do pretty well.
As an aficionado of bad movies, I agree that there is more to a bad movie than just low review scores. Entertaining bad movies need a certain something to them. The worst kind of movie is a dull and boring one.

The 'best' bad movies are hard to quantify. I certainly can't think of any 'good' bad movies that planned or aimed to be regarded as bad. As another commenter said, you need the creators to believe that they were making something worthwhile...
The sad thing is that this is the general state of the media these days, and has been for a long time. The old standard is a media of middle men, a media of folks who know the J-school way to translate just-in-time learning into carefully formatted and worded stories that would fit the form and flow of newspapers and be easily digested by their readers. But, to be frank, that's a lazy job, and a poor one too. And, as demonstrated here, is easily manipulated because the so-called journalists are typically salivating for "access" and not well versed in the subject matter they allegedly cover, so they can be baited with carefully crafted PR pieces.
Mirror / Google cached version: http://goo.gl/UAzttI
HP site here: http://www8.hp.com/us/en/cloud/helion-overview.html

But the ZDNet story seems to have the most information: OpenStack, CloudFoundry, Patent Indemnification, Professional Services.

Reminds me of IBM's billion dollar bet on Linux.
From my understanding the cameras are HD, maybe they don't have the bandwidth to push HD video streams down from the ISS.
http://flightsphere.com/flight-time/from/bozeman

http://www.alaskaair.com/ - search BZN to SEA, there's an average of 2 flights per day