skysight-inc/HackerNews huggingface dataset:
> Bad Javascript idiom you won't find in many other languages.

It's not an idiom, and identity tests exist in other languages. You may know them as "==" (Java), "is" (Python), "eq?" (Scheme) or "object.ReferenceEquals" (C#).

Now the syntax is ugly and this does not excuse the fucked up non-overridable equality, but aside from that `===` works pretty well in Javascript.

As opposed to PHP, which famously did manage to even fail implementing identity correctly[0].

It also has nothing to do with the comment you replied to, which uses `== !` (to operators, an equality to a negated operand)

[0] http://developers.slashdot.org/comments.pl?sid=204433&ci...
FWIW, all of the convergents from the continued fraction expansion of a number have "quality" greater than 2. Conversely, the Thue–Siegel–Roth theorem says that any algebraic number and any epsilon > 0, the algebraic number has only finitely many approximations with quality more than 2 + epsilon; so the "quality" values of successive best approximations are a series which converges to 2 from above.

This was how the first known transcendental numbers -- the Liouville numbers -- were constructed: They have approximations with unbounded quality, thus they cannot be algebraic. In practice, however, this isn't a very useful method: "Almost all" transcendental numbers also obey the Thue–Siegel–Roth theorem.
Kiip Launches A Digital Wallet App To Manage Your Rewards
A Robot With A New Way To Move Around
Interview With The Founder Of PadiAct, a Great Tool To Get More Email Leads
Yahoo’s Marissa Mayer and the work-life dilemmas of the rich and famous
Entrepreneurs Must Be Adept at Rapid Realignment
I would really like to see comments I have upvoted

I have used two strategies to go back to comments I have liked to read (whether or not I happened to upvote them when I read them). I either

a) use my brower's bookmarking capability to bookmark the exact link to the comment

or

b) I copy the exact link of the comment into a text file that I save for building FAQs.

I also make extensive use of HN Search and site-restricted Google search to find old comments on recurring topics here that are worth looking up again. Sometimes I find new good comments that way that I didn't see back when they were fresh. I try in general to upvote a lot, so the "saved stories" on my user profile here on HN includes hundreds upon hundreds of threads, way too many to be practical for going back to particular good comments.
Isn't that what bookmarks are for? Why do we need HN to recreate basic browser functionality?
Hand-coding isn't going to go the way of the dodo, because in practice, web pages are vastly more complex than Photoshop or Word documents.

They need to respond dynamically to window resizing, have rules about which directions text boxes expand in when they overflow with text, how the page operates when a whole section is missing, etc.

Any tool that appropriately allows for all this complexity to be specified, has already become as complex as CSS itself, thus defeating the purpose.

And in my personal front-end experience, 95% of my time is spent on these harder details. Throwing together the basic HTML/CSS skeleton of a page is trivial, and so fast I don't really need a tool to speed it up, especially when that tool is always bound to get something wrong.
>On the contrary, to the extent that the self appears there at all, it is to be effaced.

Within the context of Theravada. Mahayana embraces the "small" self. All Buddhist acts of compassion are anchored in self-interest. Just how you caring for your family is simultaneously compassionate and self-serving.

Just how we try to create real "value" through meritocracy Buddhism preaches giving and skillful means. The overlap is significant.
Pi has the continued fraction expansion:

3; 7, 15, 1, 292, 1, ...

That 355/113 is one of the best possible rational approximations to PI, and it occurs right after the 292. In general, a best rational approximation cut off at a very large term in the CF expansion will provide more accuracy than you would think.
Where's the actual interview? All I see here is some third-person statements about Vernor's beliefs, and two quoted paragraphs without the question that prompted them.
A good design (like a good scientific theory), like the Chinese wheelbarrow, not only makes the job it's designed for easier but also opens the way for new uses not possible before: I was struck by the wheelbarrow train concept that this design enables.

I also find it interesting to think about the interplay of effects on innovation, e.g:

"It is thought that the primary obstacle to large-scale development of the wheel in the Western hemisphere was the absence of domesticated large animals which could be used to pull wheeled carriages." (http://en.wikipedia.org/wiki/Wheel#History)

Note that the wheelbarrow is primarily for human use, but it's not possible without the wheel which, (it is conjectured) is invented to carry loads with the help of domesticated beasts of burden. So, the American peoples could not go through level I (invent the wheel) due to the shortage of domesticated large animals, to arrive at level II (invent the wheelbarrow) which would have freed them from relying on such animals.
No, day 7 is still 10%. Day 8, it bumps up to 20%.
> Some animals can also see polarised light (...)

Humans also possess this ability, althought it's limited and weak.

http://en.wikipedia.org/wiki/Haidingers_brush
Hmm I think trying to convert such a task into a service will always introduce some language to describe your field and it's constraints and then you might as well write it yourself.

Also with such a critical part of your system, getting information from your user, if the service is slow or down you will run into troubles.

What specific programming languages and/or frameworks do you require a solution for? Please let me know if I missed the point completely. Thanks for your answer!
Yea, I didn't think you were but the wording was slightly unclear. Great article though.
That is a picture of a standard USB 3.0 A to B cable.
Ex. http://www.amazon.com/Micro-Connectors-Superspeed-Cable-Feet...
Iranian nuclear facilities hit by AC/DC virus
It's like IT spending for companies that have nothing to do with technology (think about a paper supplier): You have to do it because everyone else is doing it, and if you're the only one NOT doing it, bad things will happen to you.

But once everyone is doing it, everyone is no better off (earningwise) than where they were before.

You have to keep running to stay in the same place.
Show HN: roundabout.io - Jobs for devs by devs (London)
Roundabout.io is a job list for startups/companies in London.

It isn't fancy, and it doesn't want to disrupt anything. It's a simple job list, with jobs from real startups/companies in London.
It's invitation only, and it's moderated (only to avoid recruiters).

Feedback/comments/critics please!

http://roundabout.io
Met Gregarious at StartupFest in Montreal. Great guy, and awesome startup. Happy to see they got some seed funding.

Now if only Gregarious could figure out which bus stop to get off at. :-P
ThredUP Adds Netflix Execs As It Prepares To Scale
Millions of C# devs now iOS devs?
Go also works very well at STARTeurope, powering our event-platform http://startuplive.in/
Developing a high level webframework from scratch just for one website was a bit of a crazy undertaking: https://github.com/ungerik/go-start
(sorry, the documentation needs a big update and a tutorial. Most time was spent on running stuff and shipping features...).
Okay, I'll bite - why does this matter?
The article on which Mr. Richardson is commenting also confuses copyright and trademark law.
ok... that makes sense.
You do realize that .NET has had concurrent garbage collection for a decade? It was workstation-only until recently (now?).

But background GC is different than concurrent GC (in the .NET world) in that background GC can collect ephemeral generations in the middle of a gen 2 background collection (this was a restriction of concurrent GC in the past). Background GC is in the current version of .NET, but it sounds like they've extended background GC to the server now.

While there are some great JVM GCs, I wouldn't walk away with the impression that the .NET folks are behind by any means.
Many animals, e.g. tropical fish, have a four-dimensional color perception, compared to our three-dimensional one; thus making them easily distinguish colors that appear identical to us.
The device end seems really chunky for today's electronics. I can't see that being used to power anything more portable than a laptop (and it's still big for ultraportables) if there is no mini version.
Care to share what range are the salaries are in?
Is there any reason you couldn't have both?

Use MagSafe at home/work because it's a superior solution, but hopefully Apple hooks up one/all of their USB ports as well to power, so you can recharge with a generic USB cable in a pinch.
+1 added here:

https://github.com/whit537/www.gittip.com/issues/65

The basic Gittip roadmap is to get the full circle working once with the most common case (credit card in, ACH out), and then iterate from there.
Obat Kelenjar Getah Bening Tradisional
Pengobatan Kelenjar Getah Bening Dengan Obat Kelenjar Getah Bening Tradisional Ace Maxs.<p>Obat Kelenjar Getah Bening Tradisional Ace Maxs satu-satunya solusi penyembuhan kelenjar getah bening secara tradisional. Ace Maxs terbuat dari bahan alami yaitu dari kulit manggis dan daun sirsak dengan kandungan masing-masing antioksidan yang kuat. Antioksidan xanthone yang terkandung dalam kulit manggis merupakan antioksidan paling baik yang tidak ditemui pada buah lain. Sifat antikarsinogen, antiploriferasi dan antioksidannya bekerja dengan sangat kuat menyembuhkan kelenjar getah bening. Antikarsinogen sebagai anti kanker akan menyerang sel yang berpotensi kanker, antiploriferasi akan melumpuhkan perkembangan sel berpotensi kanker, dan antoksidan sebagai agen pembersih tubuh akan menetralkan darah dari segala jenis zat yang merugikan tubuh. Itulah mengapa Cara Mengobati kanker Kelenjar getah Bening ace maxs disebut-sebut sebagai minuman kesehatan ahli kanker.<p>Dengan adanya khasiat kulit manggis ace maxs sudah pasti mampu menyembuhkan kelenjar getah bening. Apalagi ace maxs disempurnakan dengan khasiat daun sirsak alami yang mengandung zat acetogeninns. Sejenis zat dengan cara kerja melumpuhkan bakteri dan sel jahat dengan cara yang yang selektif. Antioksidan jenis ini bekerja 10.000 kali lebih baik dari pada kemoterapi. Juga 10.000 kali lebih baik dalam melumpuhkan bakteri, virus dan sel jahat seperti kanker. Obat kelenjar getah bening alami ace maxs memang diracik untuk memenuhi kriteria sempurna untuk pengobatan kelenjar getah bening mau pun kanker kelenjar getah bening.
Untuk pemesanan obat tradisional ace maxs, anda dapat memesannya melalui sms dengan menggunakan format :<p>MAX : Jumlah Pesanan : Nama : Alamat Pengiriman: No. Hp / Telepon
kirim ke 085.221.330.085<p>Contoh Pemesanan:
MAX : 2 botol : Susi : Jl. Pataruman No 41 Rt/Rw 07/07 kec. Tawang Kel. Empangsari, Tasikmalaya Jawa Barat: 085.221.330.085
As the wireless networks are easier to use, technology that was built for data transfer is now used for power. I would call that cable USC (Universal Serial Charger). It looks like a standardization of a power adapter, but I don't think we can call it USB, as the "serial" part will not be really used. Profiles 4 and 5 would need special power sources, so you cannot just plug your laptop in a simple desktop (or another laptop) and get 100W of power, so you'll get a brick adapter with an USB plug instead of a custom plug - like most cellphones. But I would not expect the brick to use the initial USB function (data transfer).

This also means that the cheap Chinese USB power bricks will be even more dangerous.
Troy Hunt's Billabong Breach Post-Mortem and Positive Externalities
It's always possible, but I'm not sure would do it. They like their magsafe, they like the form factor, and they're going down the route of sliming it down. If they could pull it off I imagine they would be but thats probably a while off yet.
What you show in the video looks pretty good. A few things that caught my eye:

The signup form is unconventional. that in itself is ok. but the cleartext password text field is a really bad practice. Also the whole thing just looks very hand-stricken, you know what I mean? I'm not that much of a designer myself, maybe others have a different taste.

I really hope you succeed, overall I think it's a very good idea. I like the abundance of CSS options and the format pasting you show in the video very much. The video makes me want to use it right away.
My Story About the Long(est) Way to Build a Job Board
The Future Belongs to Cloud-Networked Companies
PSA for programmers: 2 tips to save your eyes
Just follow the instructions for checking out and building NaCl: http://www.chromium.org/nativeclient/sdk/howto_buildtestsdk

Everything is in public svn and/or git repositories. The thing that's confusing you is probably how modules are split out as dependencies. They're not checked directly into the tree, and instead are listed by repository URL and pinned revision in DEPS files. On checkout and sync gclient pulls the correct revision from the appropriate repository: http://dev.chromium.org/developers/how-tos/depottools#TOC-DE...
The solution, I think, is some sort of "unthreaded" view (with link to the contextual "threaded" view). Because, even if you do see the score, it is unlikely anyone will notice a +1000 answer to a -2 top level post when there are 20 of the latter.

The numbers themselves don't (and shouldn't) matter - only the rank.
http://en.wikipedia.org/wiki/Continued_fraction#Best_rationa... will teach you how to find the best approximations in no time.

If you understand that, read http://blog.wolfram.com/2011/06/30/all-rational-approximatio... :-)
My blood boils every time I see an odd change in a perfectly fine way of doing things.

Compare this:

linear-gradient(top,#fff,#000)

to this

linear-gradient(to bottom,#fff,#000)

Why?
This is irrelevant, but it blows my mind that "[1] == [1]" returns False in JS.
Bigger Breasts
Breast size is a sensitive issue for many women and can have a profound effect upon your confidence, sense of attractiveness and overall happiness."
I am not saying that we should ensure that white males dominate anything.

I just believe that there should be NO discrimination whether positive or negative.

People should get a position based on their merit. If it ends up that a profession is all male or all female, so be it.

I would never spout a ridiculous angle such as 'child minders are predominantly female so lets make it easier for a male to get the job'.
Triactol Testimonials
Read triactol testimonials and see how hundreds of womens in world yet enlarge and firm their breast with triactol
Does it? Seems like Go just has somewhat weak structural typing and a poor (by 2012 standards) type system. No parametric polymorphism? Whaaaaaaa
Pattrn now available on Android tablets
Wireframing, Prototyping, Mockuping – What’s the Difference? #1 Online Course
The maintenance is keeping compatibility with current versions of the operating system.

I'm starting to become a fan of base module free/low cost + pay per extra feature.
There's already a hacking platform for that. https://hakshop.myshopify.com/products/usb-rubber-ducky Seems like it would be pretty easy to adapt to a USB power supply.
Rousseau's "Discourse on the Arts and Sciences"
Obligatory: Just because it's not written down doesn't mean you have a contract. Oral, implied contracts are still legally contracts.

If it's written down and signed, it's much easier to know what everyone has agreed to, so that is much better.
I feel bad for game theorists. Any time an article talks about their field, the first paragraph has to be a frantic explanation of what the field is and why it's interesting, in terms a five-year-old could understand, and then the article always ends up just being about the prisoner's dilemma.

It would be as if every article about physics started out "How stuff moves is a really neat thing to study..." and then invariably ended up talking about the parabolic trajectories of projectiles.
Is the USB 3.0 still held by Intel?
I like the idea, it would be useful to discover new coffee shops and subscribe to shops to receive updates, specials, etc. You should definitely build in a loyalty system that will allow vendors to rewards the regular customers.

What do you think marketing your app/network as an exclusive Sydney coffee club?

I'm curious what business model you have and how you have taken in to account the transaction fees and that they will be quite high relative to the low price of a cup of coffee?

I am from South Africa and I'm also a coffee addict! Keep it up man!
Apple wins EU-wide ban on Galaxy Tab 7.7; Tab 10.1N not covered
Remember that your laptop is unlikely to actually draw 170W at any time unless there is a fault (that it its supply's rated maximum, not what it is expected to draw all the time). Most of the time it'll draw a few 10s of W, maybe stepping up as high as 100W+ when at full tilt (CPU & GPU hammering away, cooling fans on full blast, display at full brightness, all disks spinning & heads flapping, active drives or USB-powered cup warmers in every available port, ...). If you have (or have access to) one of those plug-in power meters give it a try without the battery connected: you might be surprised how little power is being drawn most of the time.

A laptop's power system is essentially a UPS: if there is no (or not enough) power coming in from the main source, flip to the battery. This won't be any different for this use: as soon as it wants to draw more than is available it'll see the under-current and switch over. The smoothing capacitors will ensure it can stay alive during the switch-over just as they do when you unplug the charger normally. If it is a little brighter then at times it might be be able to draw as much as it can from the external power and draw the excess from the battery, but I suspect no laptop is currently designed that way (they generally either get more than they need or nothing at all from the external source, so trying to be clever in response to getting half what you need would be over-engineering).
Really nice list! How many can you attend?
Just don't use Go on 32bit systems, the 32bit garbage collector leaks. On 64bit systems everything is rock solid.
There's a 35-minute video below the text.
Product Management for a Platform
They ought to improve upon it, or give updates at least.
> It took us 25 years to begin to see that the king is naked!

That king is an impostor. http://c2.com/cgi/wiki?AlanKayQuotes

> UPDATE: I have a feeling that in 25 years we'll be dissing the current fad du jour - functional programming.

Only if unwashed masses start doing a half-baked version of FP without really understanding it. This is what happened to OO. It's similar to what happens to musical genres.
I'm getting this error:

ReferenceError: Can't find variable: woopraTracker

When I basically do anything after

s = new SummerReading()
Ask HN: Anyone making a living from creating open source software?
I wonder what is the sucess factor of making money while working on programming frameworks, JavaScript libraries or any other kind of scripts that you release for free.

Recently I created a jQuery plugin that got me 1000 followers on GitHub and also brought me some donations, but still not enough to compete with a "day job".

I know that large OS projects run through sponsored foundations, but that's another story. My jQuery plugin won't scale that big.
I don't have the book but I agree about the video. Well worth watching.
Analyst: iPhone 5, iPad Mini Coming In September
No one said it better than RMS:

“Steve Jobs, the pioneer of the computer as a jail made cool, designed to sever fools from their freedom, has died.

As Chicago Mayor Harold Washington said of the corrupt former Mayor Daley, “I’m not glad he’s dead, but I’m glad he’s gone.” Nobody deserves to have to die – not Jobs, not Mr. Bill, not even people guilty of bigger evils than theirs. But we all deserve the end of Jobs’ malign influence on people’s computing.

Unfortunately, that influence continues despite his absence. We can only hope his successors, as they attempt to carry on his legacy, will be less effective.”
If that ever changes and HN is overrun (insert dramatic and sad Hans Zimmer score) what about starting a new HN just for programmers? I wouldn't be able to get in at the moment, but someday I'd hope to be able to.[1]

[1] I'm assuming you'd have some kind of rotating or individualized Project Euler style problems that you have to solve to get in, and that they would be pretty tough. It occurs to me that you could also have temporary student accounts for people who are just getting into the software world as well though.
350k is the net after Apple's 30% cut.
I had a quick go too:

num den difference to pi
1	1	2.1415926535898
3	1	0.14159265358979
22	7	0.0012644892673497
333	106	8.3219627529107e-05
355	113	2.6676418940497e-07
103993	33102	5.7789062424263e-10
104348	33215	3.3162805834763e-10
208341	66317	1.2235634727631e-10
312689	99532	2.914335439641e-11
833719	265381	8.7152507433075e-12
1146408	364913	1.6107115641262e-12
4272943	1360120	4.0412118096356e-13
5419351	1725033	2.2204460492503e-14
80143857	25510582	4.4408920985006e-16

Lua script to generate (dirty):

local max = 100000000
local c = {}
local min , j = math.huge
for i=1,max do
local a = math.pi-math.abs(math.cos(i))
if a < min then
min = a
j = i
table.insert ( c , j )
end
end

local min , j = math.huge
for k=1,#c do
for i=1,max do
local a = math.abs(math.pi-c[k]/i)
if a < min then
min = a
j = i
print(c[k],j,min)
end
end
end
ugh...

i'd like to see firefox slow down with the features and focus on stability.

firefox seems to be in the same boat as microsoft office, eclipse, gnome, and almost all GUI software. each new version adds meaningless features while bugs proliferate unchecked. (Given that this problem affects GUI apps of all kinds, perhaps it can't be solved?)

the latest thing that drives me up the wall about Firefox is that it's continually alerting me that my "plug ins are out of date" but as of the last few months the "plug in update" procedures are all broken -- I'm scared to update Java because the last time I did that I broke all my Java apps, and it seems like updates to Adobe products on windows don't work at all today.
Noodlecrumbs Is A Crowd-Funding Platform For Thinkers, Not Doers
This is known as the "Blockbuster Video" model for treating customers for being late. How did that model work out for them?

Dude, these are your CUSTOMERS. Yes, don't be a doormat and YES it sucks waiting 3 months for a check when you expect it in two weeks. But sending 10% a week interest notices for being as little as 1 day late is going to backfire on you. No matter how great you are.

And what will potential customers think of blog posts like these...
Hey guys!

I don't really get the difference between these two:
https://www.edx.org/courses/MITx/6.00x/2012_Fall/about
https://www.edx.org/courses/HarvardX/CS50x/2012/about

Any ideas?
Congratulations to her for learning the basics, but I find it annoying that this article seems to consider "knowing how to code" as a binary variable, either you know it or you don't. What she really did is learn to add a basic website feature in Python, which is cool but not comparable to a lot of other real "coding" going on out there.
Pentesting Attack - new issue of PenTest for free
Cordoba a Marvelous Argentinean City | OnDeck
This is called Diophantine approximation.

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

p.s. Take a look at the "Liouville's result" part.
Your Unspecial Antitrust Snowflake
oh? How so? Surely you have no right to use software/work if you haven't paid for it?
Correct me if I'm wrong, but your previous karma and/or average counts more nowadays e.g. a comment on the bestcomment list might not be the top comment on the story page.
People who eat animals they illegally killed are not poachers?