skysight-inc/HackerNews huggingface dataset:
The first time I understood why immutable objects are important was in this podcast with ClojureScript and Mori author David Nolan: http://podcasts.thoughtbot.com/giantrobots/93

What I thought was the key point was this:

Let's say you have a regular JS array. There is a reference to it in memory and it has a certain value. Now you change an element in that array. You've just mutated it. In JS, the reference in memory doesn't change, but now the value of what it's pointing to has. So in order to know if the value has changed, you need to do a comparison on every element on that array, which is expensive.

Now let's say you have a immutable array (such as from the Immutable FB library or Mori). If you change an element in that array, you get a new array and a new array reference in memory. In other words, if you check that the reference in memory is the same, you are guaranteed that the value is the same (in this case, the array). So checking for equality is fast and cheap because you are only checking the reference, not each value in the array.

One way this is important in React is that now if your component state (or entire app state) is represented by an immutable data structure, you can just check for reference equality in the shouldComponentUpdate() method when deciding to re-render that component. If the reference is equal, you are guaranteed that the data backing that component hasn't changed and you can return false, telling React not to re-render.

What's surprising is that people have made these data structures also very memory efficient. You can see David Nolan talking about how they work and memory comparisons here: https://www.youtube.com/watch?v=mS264h8KGwk
Oh wow, I just got a sample of your book for the Kindle last week! I got introduced to it by a friend with a baby, talking to another friend with a baby, both of whom are very scientifically minded.

I only read the first two "experiments" but it looks awesome! Waiting for a child of my own to try all these experiments on.

I'd love to hear about the history of the book - how did you decide to work on something like this?
Clickable link: https://swannodette.github.io/mori/
A friend wanted a glockenspiel app for their daughter, so I took his thrown together html demo and coded a unity3d app and made it free. http://www.simonwaite.com/apps/glockenspiel

After a little bit of feedback about "making the keys bigger" I threw together a paid for app http://www.simonwaite.com/apps/glockenspiel-plus which brought in £2.50 from the android store last month which I was deliriously happy about.

The free one has about 10-20 downloads a day on iOS and 80-130 a day on android.
Welcome to the unfortunate reality of most internet businesses. The default outcome of a lifestyle business is a lot closer to this than a patio11 style runaway success. The lifestyle entrepreneur myth is so pervasive on HN that the common mindset of non startup people is "Oh, I don't want to do the startup thing, I'll just build a steady slow growth business and make $10K a month". The reality is that a side project making $10K a month is even less likely than a multi million dollar acquisition of a venture funded startup. The median outcome is not that you'll get 0.01% of a niche market, it's that you'll get 0%
Life is possible in many extreme environments. I should probably be more clear and indicate that I meant higher forms of life (i.e mammals)
I buy my OReilly books direct and send them to my Kindle all the time. They even work in the Kindle cloud reader on my desktop.
What to do if you are a coder and you are getting tired of coding?
Hi all, I am a software engineer, I work in a big company, I have worked here for 2 years, using the same technologies all these time. I love the company because allows me to work with music and tech but...at the end my work is to be a coder with music data.
I go to hackathons...or I used to go, I loved them and I think I still love the environment but...I am getting tired of coding. I always find a excuse to do something else, I love to do small projects, prototypes but I am getting soooo tired of coding...it is not as excited as it is used to be...
I am only 25 years old...and I am pretty scared...what the hell am I supposed to do? Project Manager -> NO! I want to solve technical problems, be creative...dunno maybe I am just dreaming for the perfect job...any suggestion coders?
Honest question: does Square save money if credit card fraud decreases? It would make most sense that the parties who lose money when fraud occurs would offer these devices for free, or subsidize them, and I'm unsure of whether Square is one of these parties.
I'm intuitively guessing that there's more geographic variance in rent prices than in coworking or food. Everyone will have different ameliorating factors in different cities, like friends or in-laws, and I'd argue that splitting out the NomadCost creates more mental work for a visitor than is necessary for the purposes of comparing cities to one another.

tl;dr we all have friends and fam, so chill
~$50,000 USD per year in dividends from individual, public stocks, which isn't bad considering I do not seek out dividend payers specifically. Was earning another $25,000 or so renting out an apartment, but sold that recently to look for a larger property.
I don't want to think about the app install process. If I mess with an app, I'd like to register whether I liked it or not.
Except it also delegate authority to Congress and the Gov't to do a number of things, and does not specify how those things should be done, allowing Congress and the gov't a great deal of freedom in implementation. So no, the USPS isn't the only constitutional government agency.
Actually as of tomorrow in Australia, you won't be able to sign if you have a card that uses a chip.

http://www.smh.com.au/digital-life/digital-life-news/pins-to...
Depends on the card, which therefore depends on the risk profile that the issuing bank is willing to undertake.

There's a list of acceptable verification methods in the card, and a list of methods the device is can perform is contained in the terminal software. The intersection of these is what's usually performed.

(background - I wrote my first EMV processing kernel in 2001 and am currently working on a bluetooth-enabled card-reader and PIN entry device that looks like it will directly compete with the square device)
I agree. After 2 months there I became awfully bored as almost no one spoke English as well as anywhere in Thailand (normal English, not just "yes", "no").

Yes, it's a nice city for living but if you're not alone. Don't forget about the troubles about the visas and visa-runs.
It's not "Illegal number" it is "Illegal prime number".
Wait, does tesla put the same battery in all the vehicle and just limit it via software?
A business can be losing money but remain cash-flow positive. This is what allows them to continue investing in growth.

Consider a traditional bookseller, say Barnes and Noble, who has to invest in physical retail, holding product (books), and training staff BEFORE they can earn any money at all.

Amazon, on the other hand, takes customer money upfront as soon as they click buy. Then they can figure out their asset needs based on customer demands. Getting money upfront, Amazon can continue to invest it back into growth of the company. Presumably at some point they can "turn the switch" and lower their growth to earn more profits. But why not delay this until you're practically a monopoly? That's what will maximize shareholder value long-term. Perhaps more interesting of a question is how long shareholders are willing to wait. I suppose it doesn't matter as long as the stock price keeps rising.
"assemble it on-site"

This allows you to transport the Co-60 taking advantage of square-cube law scaling. In summary its a zillion times easier to keep a million Co-60 ball bearings cool and frozen than one big sphere because of surface area.

If you're really bored you can do the thermodynamics calculations for how small a pellet has to be to remain cool enough to touch safely (well, other than the radioactivity) in still room temp air, etc. Or if you're willing to clamp the pellet to a 10 C/W transistor heatsink (that heatsink is about the size of a postage stamp, is if you figure on a hot day your skin can tolerate about 10C temp rise without getting a burn, than that means your pellet has to dump less than a watt or so, of course there's no rule you couldn't use a much better larger heatsink, or a modest cooling fan, or drop it in a barrel of water, etc)

The biggest problem you run into with this kind of stuff is thermal shock from expansion. You might be well advised to find some low coeff of expansion cobalt alloy rather than using the straight up stuff. A straight up sphere, would likely shatter if big enough and the exterior is frozen and the inside is very hot.
I'm dubious. Urban centers suck down huge welfare dollars, but that's what you'd expect because they have huge populations.

If you read a list of all the federal welfare programs, the only one that sticks out as predominantly "urban" is Section 8. Section 8 is a big program, but it's a rounding error compared to Medicaid, SSDI, and the EITC, which all flow equally to rural areas. Even the food stamp program, which benefits rural households, eclipses HUD and Section 8.

As for education benefits: if you break Title 1 grants down per pupil, it's not the case that the urban states uniformly get more money than the rural ones. North Dakota, for instance, appears to get almost twice as much per pupil as California.
Even today the language is to "order" a card reader, but there's no charge. So don't read into the phrase "pre-order" here. They used the same language when they started.
Check the footer. There are affiliate links for places to stay, cowork, exercise, etc.
http://en.wikipedia.org/wiki/Illegal_number. Illegal prime number is just a minor specialization of the same concept.
It's worth noting that because you add this chip, it doesn't necessarily mean you remove the magnetic stripe.

My VISA (issued by a Danish bank), has both a chip and the magnetic stripe.
Hi, are you interested in selling it? Email me if keen (my email is in my profile).
Can someone explain why you'd utilise that board in order to develop Windows Drivers rather than just a generic x86-64 PC with a serial connection for kernel debugging?

For $300 you can easily buy a fully functional PC. Particularly if you don't care too much about the spec.
No. I tried once but didn't get any response. I submitted there and received some feedback though.
If the card supports it.
Simplified:
the card/chip has a list of "cardholder verification methods" ordered by preference
If the terminal/reader supports one of these methods, the card/chip will use it.

Some cards are pin only - notably most of Maestro, Visa Electron and V-PAY cards.

A lot, a majority?, of chipcards issued in the U.S. prefers signatures - I'm uncertain what the percentage is for which doesn't support pin at all.
This isn't really true. They cover their huge losses with loans from the government.

http://money.cnn.com/2012/03/05/news/economy/postal_service_...
Nope.

It allows the shift in liability to the merchant if they don't perform a chip transaction.

Fallback is at merchant discretion, if they want to take transactions under those circumstances then that's their risk.

Other than that, no EMV is not perfect, but it's a DAMN site better than the everything-in-the-clear magstripe. Did you read the linked article about fraud levels?
I am curious about how you chose the niche and which factors you think make it successful for you?
I've been experimenting with Adsense on blogger for years. I had some ideas that the company I work for could put on the web and wanted to work with Adsense so I just started with a blog about my local sports team.

Eventually I made another blog about local and regional politics and analyzed and repackaged some government data as a whole series of posts that proved slightly popular. Now I'm up to around $1000 per year.

I'm working slowly at making a few sites based on the data I've already done and some new data.
This is a great idea. I've been working from Sardegna (an island off the coast of Italy/Spain) and have barely been able to hold a skype connection to my office in NYC, even from most big cities.

I would have loved if someone went through and found great internet spots in each city (and even out in the country in some tourist-y spots) in advance so I could follow in their footsteps!!

Even at the least - letting me know that Vodafone is the best connectivity in the South, but sketchy in the northeast.
The HackerNews logo in the footer is also really pretty, did you also make that?
If you're keen on selling, could you email me more details?(my email is in my profile).
Yeah, this device would actually be useless in other parts of the world. e.g. in Australia you can no longer sign for credit card/eftpos transactions.

PayPal Here solution to this was to have a seperate Bluetooth card reader and pin pad http://techcrunch.com/2013/02/21/paypal-here-is-coming-to-th...
It looks like they're not able to power strictly off the audio jack anymore with this tech. The product brief indicates that it uses a MicroUSB charging connector. I wonder how many transactions a single charge can handle.
I do consulting around enterprise software and typically make about $1500/month. It's not quite passive income because it requires me to work in the evenings but its not bad.
I'd suggest looking into OpenPGP and see if one of its apps won't work for you (they implement ssh-agent protocol support, and have a couple other apps for doing on-demand crypto)
That does happen occasionally, but I find it's fairly rare, at least for me.
one more point

"Some claim that the populations of traditional Polesian animals (such as wolves, badger, wild boar, roe deer, white-tailed eagle, black stork, Western marsh harrier, short-eared owl, red deer, moose, great egret, whooper swan, least weasel, common kestrel and beaver) have multiplied enormously and begun expanding outside the zone. These claims, however, are not substantiated by any systematic census of any animal taxon."[41]
https://en.wikipedia.org/wiki/Chernobyl_Nuclear_Power_Plant_...
[41] Møller, A P; T A Mousseau; F de Lope; N Saino (2008). "Anecdotes and empirical research in Chernobyl". Biology Letters 4 (1): 65–66. doi:10.1098/rsbl.2007.0528. ISSN 1744-957X. PMC 2412943. Retrieved 2012-02-07.
> my email is in my profile

No it isn't :)
I know illegal number exist, the primes here are different beasts and that's the subject title. If we're going to discuss illegal numbers in general then that's (in my opinion a worthy subject) off-topic for this thread.

Any illegal content can be represented as a number, that's not all that special. Illegal primes took some work to create.
Thanks for sharing your numbers, they were an eye opener for me, and now I'll need to plan a better strategy...
>> Could a NFC enabled Smartphone act as a payment terminal?

I don't know if there's a technical reason why not, but the security requirements for these devices are fairly stringent and getting a piece of software, running on a relatively open system with other apps from unknown sources all over it, well the certification folks would probably take a hell of a lot of convincing.

Not saying it can;t be done, but I don't think I'd like to be on that project.
Geocodio (http://geocod.io) is adding 5-10 new users a day and monthly revenue has gone from <$100 to >$1,000 in just over six months. It's a self-serve product (geocoding US addresses via API or CSV upload), though there is a fair amount of support and continuing development.

I've posted this before, but I wrote up some thoughts about things I've learned about launching a side project here that you might find helpful: https://medium.com/@mjwhansen/things-ive-learned-launching-a...
GMail now allows you to send money
Excellent, I just started a cleaning business less than 3 months ago.
The cars are stolen. They've been brought in from more western parts of Europe.
The coolest thing about this is it actually works. You can go ahead and copy the number out of the wikipedia page put it into a python prompt convert it to binary write it to a file and decompress it. Pretty awesome!

>>> s = '''4 85650 78965 73978 29309 84189 46942 86137 70744 20873 51357 92401 96520 73668 69851 34010 47237 44696 87974 39926 11751 09737 77701 02744 75280 49058 83138 40375 49709 98790 96539 55227 01171 21570 25974 66699 32402 26834 59661 96060 34851 74249 77358 46851 88556 74570 25712 54749 99648 21941 84655 71008 41190 86259 71694 79707 99152 00486 67099 75923 59606 13207 25973 79799 36188 60631 69144 73588 30024 53369 72781 81391 47979 55513 39994 93948 82899 84691 78361 00182 59789 01031 60196 18350 34344 89568 70538 45208 53804 58424 15654 82488 93338 04747 58711 28339 59896 85223 25446 08408 97111 97712 76941 20795 86244 05471 61321 00500 64598 20176 96177 18094 78113 62200 27234 48272 24932 32595 47234 68800 29277 76497 90614 81298 40428 34572 01463 48968 54716 90823 54737 83566 19721 86224 96943 16227 16663 93905 54302 41564 73292 48552 48991 22573 94665 48627 14048 21171 38124 38821 77176 02984 12552 44647 44505 58346 28144 88335 63190 27253 19590 43928 38737 64073 91689 12579 24055 01562 08897 87163 37599 91078 87084 90815 90975 48019 28576 84519 88596 30532 38234 90558 09203 29996 03234 47114 07760 19847 16353 11617 13078 57608 48622 36370 28357 01049 61259 56818 46785 96533 31007 70179 91614 67447 25492 72833 48691 60006 47585 91746 27812 12690 07351 83092 41530 10630 28932 95665 84366 20008 00476 77896 79843 82090 79761 98594 93646 30938 05863 36721 46969 59750 27968 77120 57249 96666 98056 14533 82074 12031 59337 70309 94915 27469 18356 59376 21022 20068 12679 82734 45760 93802 03044 79122 77498 09179 55938 38712 10005 88766 68925 84487 00470 77255 24970 60444 65212 71304 04321 18261 01035 91186 47666 29638 58495 08744 84973 73476 86142 08805 29443'''
>>> s = s.replace(' ', '')
>>> import ctypes
>>> PyLong_AsByteArray = ctypes.pythonapi._PyLong_AsByteArray
>>> PyLong_AsByteArray.argtypes = [ctypes.py_object,
... ctypes.c_char_p,
... ctypes.c_size_t,
... ctypes.c_int,
... ctypes.c_int]
>>>
>>> def packl_ctypes(lnum):
... a = ctypes.create_string_buffer(lnum.bit_length()//8 + 1)
... PyLong_AsByteArray(lnum, a, len(a), 0, 1)
... return a.raw
>>> with open('/tmp/i', 'w') as f: f.write(packl_ctypes(i))
...

then in a bash prompt

$ cat /tmp/i | gzip -cd
Our Work Here is Done – Visions of a Robot Economy [pdf]
Yeah, http://www.amazon.ca/s/?ie=UTF8&keywords=php+6 I wonder if publishing against "vaporware" (not exactly, but anyway) is an expected risk in the industry. Would be interesting to hear what the people who are affected in that sense think of this.
Except the climate change wasn't posed as the problem. The lack of land was. And land reclamation is a great way to contest lack of land.
iPad port of a 5 year old game of mine (which previously already paid for itself about 9 times over in its PC and Mac versions) was released a few months ago.

Didn't expect much but amazingly it pulls in consistently $70-$110 a day (about $2,500 a month) for a few months now (not counting the initial release spike).

Game is free to download with 1 In-App-Purchase that unlocks the full game.

Thinking of doing an iPhone version soon which will be a bit more involved than a straight port due to the small screen size and different screen aspect ratio, but I'm currently convinced it will be worth it since the genre actually usually does better on iphone than ipad.

Just wanted to add this to counter all the doom & gloom posts about iOS games not doing well. If you have a great and unique product for a good target market with good retention and monetization, then you can still do very well without too much marketing.

(I actually run ads with about $4 daily budget. Not sure if it actually helps, but I think it does.)
Curious, how long did you spend developing it?
I regularly use it to pay for take-out lunches here in London, has always been pretty reliable.
I'll be impressed if they've somehow managed all the data flows over the audio jack, personally... some sort of built-in modem?
Nice business there! I'm curious, if I may ask, where do you get most of your traffic from?
I start out in Scrivener and end up in HTML. Scrivener is great for the actual writing process, although it takes a bit of learning to get used to.

I wrote up on my blog about creating the various versions http://rachelandrew.co.uk/archives/2014/01/07/html-epub-mobi...

I've also recently presented on how to build books in CSS and HTML and the slides and various useful resources are here: http://rachelandrew.co.uk/presentations/css-books
It might be easy, but until iOS 8 is released, non-Safari JS still takes a performance hit. [1] You may want to take a look at the Tesseract library and Objective-C wrapper. [2]

[1] http://9to5mac.com/2014/06/03/ios-8-webkit-changes-finally-a...
[2] https://github.com/ldiqual/tesseract-ios

edit: Looking closer at this lib, impressive. Might give it a go.
Show HN: Zupadoc – markdown to PDF/slide converter
That's fantastic income. Is any of that hour a day spent adding content?
Any particular micro-ORMs (or full blown ones) that you recommend for using with Node/Hapi and Postgres?
In Canada, some merchants are now accepting NFC payments without PIN for up to CAD200 (USD180). When they first arrived, limits were typically more like $25.
NOAA View Data Exploration Tool
Actually per the article:

>According to the Counterfeit Detection Act of 1992, a reproduced bill must be: a.) either less than 75% or more than 150% the size of a real bill, b.) one-sided, and c.) made with only one color (so as to discourage the reproduction of identifying factors).
Hand writing my name Chris was difficult for it to pick up. It kept thinking my "C" was an "L" and putting spaces in between letters. Also determined my "S" was an underscore. Still pretty cool. Thanks!
We're Fighting the Feds Over Your Email
Nice. Although I'd write the first four off on temperature alone...
Orbit: Norwegian Artificial Intelligence as a Service
I am a consultant for a digital marketing agency (Web dev. + Analytics + Search Marketing). I work 100% remote -- I don't do this nomad stuff, I just stay in my house. Once a year they fly everyone in for a one week 'summit' so we can all hang out in person.

Find a 'virtual company'. It's the future.
In Australia, I would say about at least 75% of all in-person payments I make are with PayPass/PayWave. That other 25% is cash and the odd place that hasnt updated their terminals yet. Some banks will even give you like a 5% cash back if you use contactless.

It's very reliable and is the defacto method of payment in places like pubs. Often I'll hand my card over and they'll ask 'Can I just PayWave that?'
I have a plethora of niche-based iOS apps for skydivers, beer enthusiasts, and people in direct sales. Bring in about 1-2k a month, but I actively maintain about half of the apps and am actively developing new apps.

Since January, I've netted roughly $13,000 after Apple's 30% cut. I also make income through Apple's affiliate links that are automatically applied to my apps on my website - http://mohawkapps.com
Hopefully the data on that stripe becomes a lot less useful though, as part of the data is saying "I have a chip!" and the merchant is under financial pressure not to accept stripe transactions after switchover due to the liability shift.
Strikingly Kickstart – 1 pager in 48 hours
Can't people just make a request to google maps? Why do they you use your service instead? In what sense is it better (if it is)?
Better to have more than vague threats on your side, like having the law and vague threats on your side.
I plan to launch another cleaning business, utilizing what I learned in my launch 3 months ago and write an e-book, and of course sell it for passive income. :)
> RoboCup's goal is to make this work with humanoid robots, but I'm not sure what the point is of doing that, besides that it would give the robots artificial ankles to grab after they fall over in dramatic fashion.

I would certainly watch that.