skysight-inc/HackerNews huggingface dataset:
>When you load JavaScript from a third party you should do it asynchronously.

When you load JavaScript from a third party, you shouldn't put it directly in your code! There exists a whole eco-system of providers that allow you to manage this now, called "Tag Management Systems"

I develop one of these (that is free to signup and use until you get to 1M PVs per month - opentag.qubitproducts.com).

OpenTag and most TMS-es have many advantages of putting specifc vendor code on your website.

* Only one line on each page - don't need to worry about bloating your home page. By doing this you get a nice separation of concerns between actual functional code and 3rd party code.

* Code can come from a tested library of vendor approved script templates - we have ovr 100 and are constantly growing.

* By using "universal variables" which telling the scripts specific values in a well-defined manner, you can easily configure scripts up. For example on a purchase confirmation page, you may have several scripts that fire off to remarketing, affilliate and analytics providers. By setting these variables up once, you can easily plug-in new variables when your marketing team requests it.

* You can tell scripts to only fire on certain scenarios - only on certain pages, or only when a visit came from a certain referrer or not when they come to a landing page with a specific utm parameter.

* Asyncs your document.write code at the click of a checkbox (or automatically if it is from the library)
I suspect that it would be no less reliant upon academic integrity as any other mechanism.
It's not subtle, but it might be Safari-only.
He also contributes to the JSRC[0], a blog about crime in Japan. It seems to me like this photographer had very limited exposure to the activities of the yakuza. They are most definitely violent. Adelstein's family was at risk as well because of his reporting on the yakuza, so anything about "honor" is definitely not true. People need to stop romanticizing criminals.

0: http://www.japansubculture.com/
example: in some specific situations random javascript error(and lack of exception handling) can disable your interface forever,

random HTTP connection problem may occur, while loading CSS/JS files,

etc.
Spectrum sharing – a boost for wireless throughout Europe
When I get truly stuck on a software problem I leave the keyboard, go to a coffee shop, and draw-diagram-doodle a solution.
I'd call something with more than 100k LOC a large app. It can get messy even before then though. The main concerns I have with Javascript are:

1) Most frameworks try to make JS into a typical OOP language which tends to hurt performance and can make debugging a PITA.

2) In "one page apps" it can become difficult to map nodes to JS objects so things get cleaned up properly. You often see memory build ups even in jQuery because of html node wrappers and events that get cached but don't get cleaned up.

3) Static analysis. It's possible to get some level of static analysis if you use JSDoc but it's still very poor compared to something like C#. For example, you need to add tons of JSDoc code to make autocomplete somewhat usable. After using something like Resharper, you can really see how lack of good static analysis hurts.

4) Difficult to refactor large apps. Since the static analysis is poor, it's difficult to use tools to create dependency graphs, finding usages, etc... I really wish Js would just let you specify a type of an object like ActionScript 3 does. You can still use var if you want but 99% of the time an object has an expected type.

5) Lack of visibility keywords. This makes it hard to organize code into modules and prevent programmers from getting access to things they aren't supposed to. I'm sure there are entire debates on this point alone.

6) Performance. The browsers try to do tons of optimizations during runtime to speed up javascript. If you want to get the most out of JS, you really need to know about them (e.g. always initialize your class vars in the same order).
Nokia Lumia 920 to have Wireless charging tech
And the book! I didn't even have time when reading the OP to click through to the photogs website...he sold out the first limited edition more than a year ago and seems like he has had some already well deserved success.
I Built a Central Place for Tech and Gaming RSS Feeds
I discovered a long time ago that the benefits of Lisp are more than outweighed by the frothing zealotry of a lot of the members of the Lisp community that just can't see that almost every single language design decision is about tradeoffs and not about right or wrong.

Lisp seems to attract people that are a little mentally imbalanced.
Probability that pcwalton turns up in a Go thread and conversation turns to Rust? 1
You can get the majority of this functionality with Closure Compiler though, without needing to abstract the entire language away.
Call Man with Van in Walthamstow for Relocation
24/7 Removal Company is a well established firm and has branches throughout the whole country. Walthamstow is only one of them that provides the same quality services.
As with many things it's diminishing returns, but I can easily say it far exceeded any other I'd had (and I used to live there). Whether it's worth the money is up to you. It was for me, though I won't be coming back for the same omakase again. I'd go back for a few individual ones that stood out. The omakase course is IMO the right way to get the full experience your first time.

It also wasn't as rushed as I've read, though it wasn't a full house when I went. The course lasted at least a half hour, then we were seated at a table with watermelon and tea and however much time we wanted to wind down.
And you know the price Apple asked is unreasonable. How exactly?

I cannot find logic that $30 is reasonable, but I cannot find logic that shows $30 is unreasonable, either.

Here is some food for thought: iSuppli claims the iPhone 4S contains $188 of materials (http://www.isuppli.com/Teardowns/News/Pages/iPhone-4S-Carrie...). That "$188 BOM" 16GB phone sells for $649 on the Apple Store.

Part of the price difference will be the cost of shipping and handling, customer service, warranties, etc, but I think it is reasonable to claim that at least $200 will remain after factoring in those. People do buy these phones, so there must be some $200 of value in an iPhone that is not attributable to its hardware. People will have different views on where that value is, but IMO, it is not unreasonable to assume half of it is in the iPhone UI.

Based on that logic, $30 seems not unreasonable.
I'm using "solopreneur" to mean someone running a company of one.

qiip.me looks nice. How did you get Guy Kawasaki on board? What's your plan in terms of making money with it?
I really should clean up the source code and release most of it. The toolchain for most of them is kind of ridiculous: giant flat text files feeding through Unix pipelines and Perl scripts into PostScript files and Ghostscript. A lot of them would be better if they were interactive in the browser but I need to do the work to make it happen.
That's true, but I don't really like the closure compiler's syntax.
previous discussion:

http://news.ycombinator.com/item?id=3685424
Maybe just for hackability? http://info.yawp.com/blog/2010/09/open-hardware-thoughts/
That's my problem with these types of reviews. They use iOS and Apple's devices as a point of reference. Apple may have indeed earned that, but at some point they will just say they like "Apple's way" better than Android's way, because they've used it for so long this way, rather than simply making an objective observation of which way is better, or praising the advantages of using it the Android way.

For example many still say that iOS is "more intuitive", and that may still be true overall, or perhaps they just say that because Apple has nothing but icons on the homescreen, but there are also a lot of stuff that Android can do them faster and more in a more intuitive way than iOS, like activating Bluetooth, getting the weather, notifications, and so on.
Official Mozilla JavaScript Blog Created
He was a tech reviewer for Computer Shopper in the UK, and a Linux programmer. He has an admirable breadth of knowledge, which peeks out in his non-technical writing.
Show HN: I built a better way to watch music videos
неплохо, хотя думал что больше)
+1 for ultisnips, definitely the superior option when it comes to templating.
Works for me in Chrome on OS X.
Smartphone apps track users even when shut down
I agree.

But, I must say: no matter how repetitive these articles, I pick up something new in the HN comments every single time.
Why inventory-led e-commerce companies in India will not be profitable EVER?
Sorry you are of course right.
New Ransom malware infecting computers | The Hacker News
It's big enough for me to make decent money and growing all the time. If you use Shopify's billing system they take 20%.

I've written the popular PHP client adapter for the Shopify API (http://wiki.shopify.com/Making_A_Shopify_App#.E2.80.9CI.E2.8...). If you need any help with getting started with Shopify, feel free to get in touch with me.
Yeah.

It's one of those places where I would love to get permissions to take out some of those discussions and create a book.

Especially in philosophy & physics there where some really mindbending discussions.
Firefox Home for iOS on GitHub
What does this have to do with hacker culture? Another repost from reddit. Great piece though.
Fabrice Bellard is one of my programming hero's.

1) FFMPEG
2) TinyCC
3) jslinux
Try Sharexy — a lot more than just a social sharing and bookmarking tool
Social sharing is one of the best inventions in recent years.
What could be better than sharing buttons that will enable your website visitors to share links with their friends or the whole world and in turn attract more traffic? Nothing more than sharing buttons that can help you make money!
Create, Freely, Move Forward
Only what you see in their official guidelines:

Apps that duplicate apps already in the App Store may be rejected, particularly if there are many of them, such as fart, burp, flashlight, and Kama Sutra apps.
I would love to make live versions of these, but the rate of data coming in is slow enough that they don't work very well in real time—even New York only has one geotagged tweet every 4 seconds, so using it would mostly be sitting and waiting for something to happen. A retrospective of the past day would probably be practical and might be useful, though.
Yea, that's David Carr's voice (the NYTimes writer). He's kind of a skeptical luddite, but I have immense respect for him. He's one of the central figure in the NYTimes documentary "Page One: Inside the New York Times."
Ever tried Yepty.com ad network? - we bet you'd be impressed
Ad Network with pretty cats :)
My point was that the parent had no idea whether Apple's purported price was negotiable or not.

Whether $30 is a reasonable price for use of the UI elements that Apple claimed ownership of is a completely different question.
"are worthy of tax payer money": As far as I know, most of these ayurvedic/homeopathy institutes (both for education as well as treatment) do not receive public funding.
I love Lanyrd. You have gone and built something that is better than what came before you. I conceived a startup in in 2006 called Confabb.com that strove to be what Lanyrd has become. Great work!
I think he works for some big corporate. Which one I don't know. I remember reading about it in some HN thread.
is it anecdotal even if it is one of your best friends? I am not so sure. ok, here is some more information.
A study comparing ayurveda with allopathic treatment for Rheumatoid Arthritis.
http://journals.lww.com/jclinrheum/Abstract/2011/06000/Doubl...
"Conclusions: In this first-ever, double-blind, randomized, placebo-controlled pilot study comparing Ayurveda, MTX, and their combination, all 3 treatments were approximately equivalent in efficacy, within the limits of a pilot study. Adverse events were numerically fewer in the Ayurveda-only group"
Ayurveda is recognized by nih as alternative and complimentary medicine.
http://nccam.nih.gov/health/ayurveda/introduction.htm

I think at some level, you need to believe not all doctors wear white coats. modern medicine is a few hundered years old , but people have been getting sick and have been treated since the dawn of time. When a country sets up regulatory agencies ( http://www.ccimindia.org ) , qualifies practitioners and monitors the practice ( albeit poorly) , to dismiss the structure based on wikipedia articles is incorrect to say the least.
if only conclusive evidence , agreed upon by everyone is acceptable we should have stopped taking aspirin a long time ago:) http://chronicle.uchicago.edu/950817/aspirin.shtml
Ha! The exact same thing happened to me.

If you are in DC I highly recommend the tasting menu at Sushi Taro. Very similar experience to the film - 10 courses of amazing food (although it includes some non sushi items as well).
Delivering business goals, not software features
Would be interesting to get your take on "freedom" since you've qualified it with "perceived". Time and location independence is one of the biggest reasons I went solo.
I really hope that this isn't a true "shift", but disregarding that, if you look just a few years back you had a PDA and a phone, now that's done by one "smart"phone (that, plus GPS and camera).

I'd say that most tablets certainly would be capable of doing that when it comes to raw power (hey, they're faster than SGI Indys), but the ergonomics are quite odd, which is a problem that Moore's law doesn't solve automatically. And when you're carrying your Android tablet in addition to an iPad…

But hey, there's been online IDEs, a lot of "distraction free" writing environments etc. for tablets, so the line to draw between tablet and laptop usage is obviously a very individual choice. And, well, as an emergency Unix shell connector even I can see the point, and I'm definitely in the "tablets are for consuming" camp.
Learning from Diaspora
This is perfect since I'm just starting with vim.
In my spare time during my first year of university, I coded a Mac app to calculate arithmetic and weighted average for italian universities: http://itunes.apple.com/it/app/mylibretto/id470129723?mt=12

I gained almost 50 $/month during last two years and it costs me some hours a year for customer support.
Some notes if you want to visit: They seem to require you make a reservation from a Japanese number. They will direct you to their (lesser or at least much different) Roppongi branch if you're not a fluent/native speaker, so get a friend in Japan to do it for you. You can only reserve for the following month, so do it on the first day of the previous month. This means that you'll probably have to plan your trip around the reservation you're able to get.
A quote from the article: "Never use jargon words like reconceptualize, demassification, attitudinally, judgmentally. They are hallmarks of a pretentious ass."

When I worked as a NASA engineer on the Space Shuttle, I met a manager who was fond of the word "definitized" (where "defined" would have done as well) and he would use it whenever possible. In spite of my persistence, I never managed to wean him from this usage. It eventually came out that he believed smart people, important people, used smart, important words, by which he meant words longer and more obscure than their meaning required.

This was, of course, years before I heard a U.S. President insist that he was "misunderestimated." It was then that I realized the problem was getting worse.

This advice may seem out-of-date, but a classic style book named "The Elements of Style", popularly known as "Strunk & White", offers many useful writing rules. The rule I find most memorable and useful is "make every word count." What applies to a sentence, applies with equal justice to the sentence's words.

I see concision in writing as a sign of respect for your reader -- you don't plan to waste his time with obese verbiage.

http://en.wikipedia.org/wiki/The_Elements_of_Style
The fabjectory idea still seems pretty interesting, imo... Was it too time consuming/expensive to keep it up?
I've not dug into how its implemented, but logging into airdroid via the qr code is a pleasure, and on the surface similar to what's being described here.
Why shouldn't he make money out of this?

Good developer != ready to work for peanuts.
Oh, I see so there's no strict list. Thanks!
I had to weed out all the crap that I had accumulated in ~/.vim/ over the years :)
Ok I have a great idea to do with it. A game of liar's dice with randomly selected opponents. I wonder if there is a way to integrate it with chatroulette.

Probably be a few weeks before I can get anything done with it though. Busy getting a makerspace running.
So in essence your keychain is in your phone but your trick allows you to use it to log in on other devices?
There is no platform on the planet that could get away with exerting absolute control over what can be published on that platform except Apple. People can and do rationalize it but to subject yourself to an eco-system where your entire experience is subject to Apple's totalitarian control is creepy.
What's the revenue model? Can you get affiliate commission from the conferences if people purchase tickets?
I use and appreciate your site. I've been meaning to pick up some of those books next time I get cash to buy books.
It's very accurate - If you do a poll, you will find that 90%+ don't see the money they are paying is for a "full year of App.net service" but money to encourage Dalton to try and do something interesting. If it was just for a full year of service, almost nobody would have put their money into App.net, I assure you.

It's an experiment akin to what was done with Diaspora, just this time with someone who has both the experience and the track record to demonstrate he can pull it off.
FWIW, I stumbled upon this link because it was in the sidebar of another story I was reading. I submtted it to r/photography but saw that someone had posted it a few days before to a smaller sub reddit...

What does it have to do with hacker culture? It's about two businesses - organized crime and documentary photography - in which successful people have similar qualities and strategies of those in hacking and in any entrepreneurial business
To play devil's advocate, smart phone based solutions exclude a huge portion of Internet-connected users. This includes users on computers without smartphones and users on smartphones without computers.

As a result, this design inherently segments out the login to only the upper tier of affluent users. Depending on your application, this is either a huge win or a huge barrier. All about your context. If this fits your target user based awesome. Eventually, though, a normal email-password solution may be needed if you grow your market out to the more general public.

Still, a promising idea. Just go in with your eyes open to the tradeoffs.
EPIC Airport Body Scanner Case: TSA Defies Court, Seeks More Delay
If you've got a single webserver then we're speaking a different language. That's not an insult or anything, it's just that I'm talking about techniques we use to support millions of pageviews a day.

There is no one way to build a system of course. I'd love to hear more about your lessons-learned, but this really isn't a good forum for that. Though even at your scale you should consider redis as a drop-in replacement for memcache. It benchmarks faster in many cases, and has support for data structures (lists, sorted sets, etc) that make your life easier.

And see my comment below clarifying what you said about cookies.

> For sessions, session id in cookie and memcache/redis as session store works for all scale.

Kind of a bold statement? GL with that.
PaaS Performance: AppFog vs CloudFoundry
Actually I build enterprise software and am a enterprise architect at a large company :) Please don't tar us all with the same brush.

It's not all like that. You've been stung by a shitty purchasing and architecture team, probably put together from people who've ascended the ranks to the point they no longer understand the technology and want to suck up to management and wheel around the country in a company rollerskate with a ThinkPad and a caffiene problem. These are called ivory tower architects or as we call them: asshat-itects.

Enterprise should mean certain guarantees about scalability and reliability and ability to adapt to the organisation.

If it doesn't, you've bought a lemon, not a piece of enterprise software.

Note: there are more lemons than not so you have to be careful.
A Fair, Free Market Or The Copyright Monopoly?
Groklaw is dead on. Apple's grotesque abuse of our legal system as a weapon to destroy their competition is wicked (the bad kind).
Study Stacks MySQL, MapReduce and Hive
A quote: "For those who have never heard about it, AppCampus is an initiative by Microsoft, Nokia and Aalto University that grants 20,000 to 70,000 Euros per Windows Phone application. You apply to the program and, if you get approved and deliver the bits according to specification, you get the grant and you still own everything (all of your shares, IP, etc."

It's easy to measure the true potential of a mobile OS -- pay attention to its creators' desperate offers of money to develop apps for it.
Very very small $ for the time I put in. Like a few hours of work at my std rate.
Knuth: http://www-cs-faculty.stanford.edu/~uno/
Nope. I wish Id thought of what he did there. Mine is just a job board for ruby devs now.
PLATO is better described as the birthplace of the online movement. http://platohistory.org

This morning I asked Howard whether he actually mentioned PLATO in the NPR interview and he said he mentioned PLATO and BBS's, and that NPR edited that out. Thanks NPR, it wouldn't do to tell the true story. We must prolong the myth.

(FYI I have been on The WELL since 1986. And started using PLATO in 1979, and its golden years were already past in 1979!)
I did read the article. I 'm just tired of going through fanbois vs the world flamewar once again
Thanks, I'll add a delay to prevent that.
Another good reference, although less advertising oriented, The King's English, by H.W. Fowler, insists on solid principles:

Prefer the familiar word to the far-fetched.
Prefer the concrete word to the abstract.
Prefer the single word to the circumlocution.
Prefer the short word to the long.
Prefer the Saxon word to the Romance.

Freely available here: http://www.bartleby.com/116/
Ask HN: Unusual keyboard remaps, anyone?
I was looking at some old terminal and workstation pictures, which reminded me of the fact that what we're considering a "standard" keyboard layout hasn't been around for all that long. I'm not talking about QWERTY or DVORAK, but modifier keys (hyper, meta, alt, win etc.) or other auxiliary keys (backspace, delete, scroll lock, undo…).

Switching your Caps-Lock to Control is probably the most common change people do even nowadays. Some also change it to ESC (for vi users) or backspace - which, incidentally, at least one terminal had in place of the enter key.

If I remember correctly, way back when Erik Naggum said that he switched his numerical keys to the symbols (i.e. their shifted state) and used the function keys for the numbers (obviously on a keyboard where they're immediately above the numbers and not shifted sideways). He also moved his right-hand position one key to the right, and used the "new" column in the middle for braces, brackets etc.

So I was wondering what unusual tricks you've taught your keyboards, currently or in the past. I would guess hacker news to have a diverse enough crowd for some interesting tidbits.
Google already did this (in part), it was called 'Sesame' and allowed you to log in to your Google account (on a desktop browser) by scanning a on-screen QR code with your phone.

However it was apparently just an experiment, and unfortunately has been shut down.

For a bit more info: http://www.webpronews.com/open-sesame-googles-newest-securit...

Or just search for 'Google Sesame'.
Building Software at Google Scale [video]