skysight-inc/HackerNews huggingface dataset:
>Oh, what, you thought == was for comparison? Wrong.

Actually true. And truer to the dynamic spirit of Javascript than ===. Sometimes things don't have to be absolutely equal to be equal, "1" and 1 will do just fine. You can sanitise at another level.

>Oh, you didn't wrap your all your code in an anonymous, self-calling function? You lose.

You loose nothing. You merely expose some names to the global namespace. Which might just be just one name, anyway, sans the anonymous self-calling function. (e.g

window.ns = {}, ns.doSomething = function() ...

>Oh, what you thought it was okay to leave off semicolons and var statements because they aren't required? Sorry.

Sorry for nothing much. A lot of people leave them off with no problem at all. The few edge cases are not unlike any other language's edge cases.

>Hmm, you didn't know how to manage dependencies between scripts? Should have studied harder.

Or not. If you got the result you want.

>You tried to iterate over an array? Ridiculous.

You probably mean the "for i in" idiom. Which is perfectly fine over an array. The only problem arises if someone has extended the Array prototype, which you shouldn't do anyway. And even that can be bypassed with one extra hasOwnProperty check. Not to mention it's solved in ES6.

>Your brain exploded when trying to write a series of asynchronous functions in continuation style? A pity, really.

Well, that's just because Node async style is amateur hour BS, like trying to do closures in C or logic programming in PHP. Doable, but not supported by the language. Use Go or Dart or Haskell or C# or Scala or Tornado etc for your async needs.
Correct. Not the bug of the floating point hardware. Floating point hardware which implements IEEE does what it is supposed to do. It's a "PEBKAC."

Moreover, if OP understood the subject a little better, he'd know that 123 is stored exactly. Specifically, 123 is in binary 1111011. When stored in IEEE format you'll see in the mantissa bits the exact match: 111011 (the first bit is implicit). You can check it here:

http://www.h-schmidt.net/FloatConverter/IEEE754.html

OP was bitten by assuming that decimal parts have exact representation, whereas from .1 to .9 only .5 has.
Once he divides the exact 123 with the exact 10 he has to have 12.3 stored in the register, 12.3 has an infinite number of bits in the given representation and they have to be cut somewhere to fit any finite storage:

10001(0011)...

If you check with the same converter, IEEE is careful enough to even know that after last 00 bits that fit in the 64-bits two 11 follow, so what's stored is 01 instead 00 for the last digits.

The only solution for people who don't understand all the pitfalls of the standardized binary representation would be using base-10 floating point which is also standardized but sadly the last time I've checked existed only in some IBM hardware:

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

(see IEEE 754-2008)

The software support is equivalently rare.
The Internet Bubble Had Great Ideas
That's not anticompetitive though, it's purely competitive. Amazon has better underlying economics (because it has deployed capital to build infrastructure) and therefore is able to offer the same service at a lower price.
Indiegogo.com: Illustrated Anthology of design
"Illustrated Anthology of design" - e-Guide to design and architecture.

http://www.indiegogo.com/Anthology-of-design

The guide was created with attention of a wide range of industry experts, theorists, historicists and designers.

Supported devices
Android Phone, Android Tablet, Apple iPad, Apple iPhone, Kindle Fire.
I think this is just another step towards tablets replacing personal portable computers(notebooks, netbooks). More storage on the tablet means less dependency on other devices.
Wow, that product page is just massive. It tires me so much just looking at it that I'd rather just browse along. I'd like to see what designers looking to build up their portfolio could do with the Amazon AWS products.
Thats really slick-love the HTML5 offline cache
our code editor is the super-duper CodeMirror. Just Ctrl-A and Shift-Tab
And this post is so much better than the submitted article.

Just one small example: I think writing is a vital skill for almost everyone because good writing is simply good communicating and good communicating matters enormously in any job.
I am going to attempt to answer you :

Here are the list of points from the FAQ :

The focus is on supplying you with helpful methods to manipulate and query your data, not on HTML widgets (angular) or reinventing the JavaScript object model (Ember).

Backbone does not force you to use a single template engine (Ember). Views can bind to HTML constructed in your favorite way.

It's smaller. There's fewer kilobytes for your browser or phone to download, and less conceptual surface area. You can read and understand the source in an afternoon (Ember and Angular).

It doesn't depend on stuffing application logic into your HTML (angular / knockout). There's no embedded JavaScript, template logic, or binding hookup code in data- or ng- attributes, and no need to invent your own HTML tags (angular).

Synchronous events are used as the fundamental building block, not a difficult-to-reason-about run loop (Ember), or by constantly polling and traversing your data structures to hunt for changes (Angular). And if you want a specific event to be aynchronous and aggregated, no problem.

Backbone scales well, from embedded widgets to massive apps.

Backbone is a library, not a framework, and plays well with others. You can embed Backbone widgets in Dojo apps without trouble, or use Backbone models as the data backing for D3 visualizations (to pick two entirely random examples).

"Two way data-binding" is avoided. While it certainly makes for a nifty demo (Angular & Knockout), and works for the most basic CRUD, it doesn't tend to be terribly useful in your real-world app. Sometimes you want to update on every keypress, sometimes on blur, sometimes when the panel is closed, and sometimes when the "save" button is clicked. In almost all cases, simply serializing the form to JSON is faster and easier. All that aside, if your heart is set, go for it.

There's no built-in performance penalty for choosing to structure your code with Backbone. And if you do want to optimize further, thin models and templates with flexible granularity make it easy squeeze every last drop of potential performance out of, say, IE8.

I have marked the individual points he pointed out with the relevant MVC framework out there.. I might have missed out on some but it looks like ( atleast to me! ), jashkenas feels the greatest threat to Backbone currently is Angular.. And I think he is right about it.. Backbone is currently ruling the throne of Front End MVC frameworks, but it looks like its rule is ending soonish...
So now elitism is occurring for C++ and Java, both used for totally different reasons, in largely different domains. What's with that?
The worst one for me with JavaScript lately is trying to build some form of object orientation into my code. There's no canonical way to even implement a constructor, for christ's sake. I haven't even dared to touch trying to use it for polymorphism. Or composition, for that matter. I'm staying the hell away from it for anything simpler than UI code.

If JavaScript was a nicer language I would be spending more time in Node.JS, but it's not, so I'm sticking with Rails.
> it has the 128GB option

The 112GB option, 16 is tied up in the operating system on the RT. Presumably even more would be consumed on the Surface Pro.

ED: Fixed math.
128GBs is still not enough. That should be the base storage for a Retina iPad. How can they even sell a 16GB one with a straight face?
“It's like TextMate, but cross-platform and not abandonware.”

This is no longer true since Textmate 2 has been open sourced. Textmate 2 is now very active, it is common to see a release every few days. See the changelog [1], or the activity of Allan Odgaard on GitHub [2].

[1] https://github.com/textmate/textmate/blob/master/Application...

[2] https://github.com/sorbits?tab=activity
Apple Core Rot: Introduction
For 40 Years, This Russian Family Was Cut Off From All Human Contact
I disagree.

One of the reasons it works so well is that it has a lot of code written in C++. With a very specific feature-set of C++, as all single programmer C++ codebases are.

An opensource project would focus in the slower Python part as most open source developers hate C++ and swear by scripting languages. Or would go on countless religious wars about what specific subset of C++ should the project use. They would even waste a lot of time editing out perfectly valid preprocessor macros simply because 'macros are evil'.

So far it has been proven to be better managed by its owner than it could have been by the community.

Let the OSS people improve on Notepad++. You can even setup a Kickstarter for them, and it would be good enough for that project.
> Well, that's just because Node async style is amateur hour BS, like trying to do closures in C or logic programming in PHP. Doable, but not supported by the language. Use Go or Dart or Haskell or C# or Scala or Tornado etc for your async needs.

If async programming in JavaScript "isn't supported by the language": what good is it, then?
Microsoft uses a 16-byte Decimal structure (with a 12 byte mantissa, 1 byte exponent, 1 bit sign) and recommends it for accounting. The arithmetic is treated as if it is base-10 fixed point
And yet, nodejs is a perfectly reasonable choice for web development for many.
Apple obviously knows how to squeeze every ounce of profit margin they can out of the consumer. But why does it cost the same amount to double the 16 GB model as it does to double the 64 GB model?
Really disappointed with the lack of APL[1] support. (You've probably never heard of it.) No character set support, no syntax highlighting.

[1]: http://en.wikipedia.org/wiki/APL_(programming_language)
112GB
It is interesting to see Apple release a bump up in specs outside of a staged presentation. Does this mean their product release cycle will become leaner and quicker to update instead of being on the January -> June -> October release cycle?
Blind hiker customized GPS for Appalachian Trail trek
I'm not on a Mac.
Because they've found that 16GB is adequate for many peoples' usage? Heck, I don't feel too constrained with 8GB on my Nexus 7 for the way I use it.
It is completely worthless. And, one might argue, borderline libelous.
Depends if you made a copy of the CDs first.
I remember with crystal clarity only a few moments in my life - almost all were outdoors - waking up in a hammock just as dawn cracked, floating in Windermere as dusk set in, amazing memories.

My children's births I also remember but the amazement and awe is overlaid with stress and worry - so yes, get outside if you want your heart to relax.
actually there's a Remix button that lets you just try the same data with different settings
>^ this reply can be summarized as "turning on the fan to spread shit on everyone else".

Yes, but only if by "spreading shit on everyone else" you mean:

1) a comparison between the speed of development/releases of ST (which was the very topic of this comment thread) and that of TextMate.

2) a generic statement that ST2 was as stable as any other competing browser.

So, really NO, not at all. Oversensitive much? As if "the other editors" (of which I only mention _one_) are gonna feel hurt?

>This is a discussion about sublime, not other editors.

No discussion about anything can be made without relating to other things, especially of it's own category.

If someone tells you "is this editor worth it" the only possible answer will take into account the other editors and what they offer.
The current immigration setup ensures that high skilled immigrants come into the country only as employees which understandably depresses salaries.Immigration reform on the other hand ensures that some of them have the autonomy to found companies which increases demand for more engineers and raises their salaries.
Get on a bicycle and just ride somewhere (but nowhere in particular). Forces my mind out of deadline mode, since I can't know when I'll be back or when I'll get to where I'm going. Also, by removing myself from familiar surroundings, helps me forget things (like work) associated with them.
> That's important, he said, because the address on that component, the MAC address, is logged along with an Internet Protocol (IP) address when a computer goes online. Everything that connects to the net needs an IP address so data can reach the right destination.

umm... no it wouldn't. assuming its set up like a normal household only their router would have their computers mac address...
Zencoder __had__ to realize Amazon getting into this space was a possibility/inevitability though, right?
I'm surprised they didn't even bother waiting for the new model to provide it, and just added it to the current one.
The ability to write, especially a long but coherent technical document, is dependent the ability to analyse and structure a vast number of ideas and concepts according to importance and how they fit together.

This is strategic planning, and it's an extremely important skill to develop. As well as other benefits in communication, writing is a good way to practice with a static target.

Also, as the article says, often you need to write a lot down just to get it out there before you can have a good feel for how it connects together. The same is true for developing new strategy - if you don't have to write pages and wish for bigger sheets of paper†, you're doing it wrong.

† Metaphor alert; you don't actually have to.
To be fair, I've found many, many projects use underscore for their go-to 'utility' library and it's pretty decent and readable. What other libraries have you seen as dependencies that cause clashes?
Maintaining double digit digit growth year on year will be tricky.
What are you putting on a tablet that fills up 128GB of space?
Show HN: Scrapyrwiki - Use ScraperWiki and Scrapy together
Because plenty of people just use the iPad for e-mail and surfing the web so they don't need more than 16GB.

I have a 16GB iPad 1 still going strong - I barely use any apps outside of the ones preloaded [exceptions being Twitter, Facebook + Kindle].

When I travel, I load on a few movies / tv eps and I watch those. When I travel again, I just swap them out. I do the same at home. 16GB is ample if you're happy to swap content on & off your device.
Email Ripe for Innovation and Disrupton
Regardless of how many "good" or "legal" deals they do, they have a long history of moral and ethical bankruptcy, so people tend to think the "worst" of them.
hackernews-effect, sorry, take your ticket for the queue :D
Opentable Eats Up Foodspotting For $10M
Non paywall link https://www.google.com/url?sa=t&rct=j&q=&esrc=s&...
Eventually long-time users need to be selective for what they sync. Between music, videos and games I've always had to choose what I don't want, even on my laptop these days thanks to HD movies and retina apps.
I think they described their clients as muppets, not puppets: http://www.nytimes.com/2012/03/14/opinion/why-i-am-leaving-g...
Ever wanted to dismantle Google? Here is your chance, literally.
HTML5 at work.
Greeks Bearing Gifts
16GB iPad user here. With most content streaming, I have never found the need for more storage.

16GB is enough for my books and enough movies (compressed appropriately) to keep me entertained on a transcontinental flight.

I have a large music collection, but that typically lives on my phone, not my ipad.
You're forcing class based inheritance onto a language that specialises in prototypical inheritance... however, try http://tobyho.com/2010/11/22/javascript-constructors-and/
What are you talking about!? There are loads of 128GB tablets available on the market.

Edit: for more info check out Samsungs 128GB eMMC memory chip
Android/iOS Java open source developer toolkit out of beta
What the parent was saying regarding the == vs === is that unlike other languages it's very easy to get burned if you don't know the difference and when to properly use it. I'm hardly proficient at JS and not knowing that would've screwed me over.
I haven't experienced the latter, but I bet it works :)
Screencast: Introducing Friend and using a login form
Because plenty of people just use the iPad for e-mail and surfing the web so they don't need more than 16GB.

I have a 16GB iPad still going strong - I barely use any apps outside of the ones preloaded [exceptions being Twitter, Facebook + Kindle].

When I travel, I load on a few movies / tv eps and I watch those. When I travel again, I just swap them out. I do the same at home. 16GB is ample if you're happy to swap content on & off your device.
I personally believe that in a couple years, most programmers on the web stack will use traditional languages (PHP, Ruby, Java, etc) to serve up REST services. And, that is it. The client will handle the rest via JavaScript and client-side bindings (Backbone, etc).
>Do you necessarily need "the best" of any given Apple device?

Almost nobody does, but the people who buy them as status symbols are unlikely to know and/or care.
Mashable adds value to their rewording of Google's blog post in the following ways:

- link company and product names to search engine spam pages

- giant image at the top to monetize 'below the fold'

- tagged with more search engine spam pages

Please don't be ungrateful.
RIP Apple. Your products are no longer interesting...Sad to see such a great company fall to pieces.

Apple's only strength was the desirability factor. And this desirability factor arose from the fact that they had really few product lines that were easy to remember - There was only ONE good iPhone and ONE iPad at any given point in time, so, people would easily remember those.

Right now, what's the newest/best iPad out there?
Is it the iPad 3? The iPad Mini?? The iPad 4?? (I was aware of the 4th version only a few days back).

And what's the newest/best iPhone? The iPhone 4S? The iPhone 5?? The iPhone 5S??

When Steve was alive, the most recent product line from Apple would automatically mean that it was the best. However, that isn't the case anymore. Now, they just increment technical aspects (screen resolution, storage size..etc) of their products to fake desirability.

This was the only difference between Apple's strategy and other companies like Sony/Samsung/HTC's strategy. Heck, even HTC is getting better, they are having fewer phones that make it easier to remember (The two latest and best phones from HTC are the Butterfly J and the One X+)

If Apple is going to follow its competitors, destroying its only edge over the others (ie, desirability), I fail to see how they can sustain this way. In other words, they are digging their own grave.

Just FYI - If you are wondering if I'm a fanboy, no I'm not. I lost all respect for them the day they sued Samsung.
Those are great tips!

I could see myself building a habit of wandering around unknown parts of the city.
Realtime Political Fact-Checking Becomes A Reality With WaPo’s ‘Truth Teller’
The code is quite nice indeed, and oh so small for a vim emulator - I've contributed a significant chunk to XVim which is positively massive in comparison, so I have some frame of reference.

The problem is that if you want all the fixes you pretty much have to compile a version with all the pull requests yourself as they don't get merged into mainline in a timely fashion. I would personally be much more keen to fix these things if I knew that my efforts along with everyone else's were expediently dealt with.

I do have vintage_start_in_command_mode set, but that apparently only works on startup (I read somewhere on the forums that it's a per-file setting, whatever that means).

Vintage is pretty good, but I don't agree that it is top shelf - ViEmu and jVi are both better Vim emulators IMO, and Vrapper and XVim are better in at least some regards.
Well, there are ways around #1. It seems they could split a video up into enough chunks to make the bandwidth minimal for each party involved (it may not be worth it for /them/, however).
Code on Different Types of Codebases
All we need is PostgreSQL support! I'd easily pay $20, $30, heck more than that for the features and polish of Sequel Pro for Postgres.
What is the Primary Reason For Startup Failure?
Actually, I thinks that's even worse.
Why Startups Need to be Great Storytellers
Can you give me a concrete example?
in mainland Europe, of all places?

Not just that, in Sweden of all places, beacon of pacifism, social justice and social-democratic workers' paradise.

Mainland Europe, in general, is kinda shitty on this sort of thing anyway (French and Italian police have horrendous human-rights records, in Italy a trial can last 15 years or more...), but Sweden lost a lot of credibility on these matters very quickly in the last few years. The trend is worrying to say the least.
The data is number of people migrating from country X to country Y - so click on a country on the map of the world (Mercator Projection) and see lines appear linking UK with all the countries where people have emigrated.
Yahoo doesn't have what it takes to become a content company.
Mayer and the management have not really defined what that even means to them. They are aggregators, they borrow data, they do not create it.

Unless Yahoo plans on becoming a actual Journalistic organization, like the New York Times,Bloomberg, ABCNews or USA Today they cannot claim to be a content company.

Yahoo needs to pick, Technology or Content. Apple, Google, Microsoft and even Facebook have already decided. They distribute a lot of content but they are firmly in the technology business and there isn't much confusion about that.
I think only 83 gb of it is usable space after the os is installed with the other applications.
OSM doesn't have a satellite view. The first thing I noticed by looking at Google's satellite images was just how mountainous North Korea actually is. The country appears to be mostly mountains to me.
Hi acqq, I did type 123 into that float converter and the numbers I got back are what I posted. I'm not sure how we're getting different FP reps for the same number. I simply typed 123 into the decimal representation box. If I'm missing something please let me know.
As fmstephe[0] pointed out earlier, Goldman makes their money by orchestrating the sale of these bonds. The performance of the derivative has no impact on their profit from this deal.

[0]: http://news.ycombinator.com/item?id=5133766
I agree in some sense.

But in another sense, people are still using vim/emacs 20+ years later. Not everyone, which is why I think a modern reboot of them is in order, but I don't think you can say the same for much commercial software from 30 years ago.
> you should make JS your primary language

Could you tell at least one compelling objective reason to do so? Especially for non-web-frontend developers out there?
My father in law as a 16 GB iPad 2, bought shortly after it was released. Last time I checked he had 8-9 GB of free storage left on it despite having everything he could possibly want in the way of apps and pictures on it.
I'm starting to get slightly concerned with how many reporters will happily label something as a scam with little or no evidence to suggest it was.

If you read through this you see: Goldman published that they thought Apple would do well; Goldman sells a derivative linked to Apples stock price and collects a sales fee; people bought into that derivative; Apple released their earnings; the value of the derivative went down; Goldman published a revised estimate on Apple.

Where's the scam? It looks to me like people bought something that went down in value, and suddenly it's the sellers fault!

Is this just the good old put Goldman in the title and people will read it?
This is the case of anti-piracy champions nailing a pro-piracy person, who they claim to have broken their laws, by breaking his rights and their own laws.

I remember the famous saying of Winston Churchill:

Good things can only be achieved by good ways.