skysight-inc/HackerNews huggingface dataset:
I've worked in banking (algo pricing for an eFX trading desk), built a startup and worked for a VC.

From the financial perspective of a developer if you want to bank a couple of million dollars over 10-15 years then you should go work for a bank. If you want to bank ten million dollars you should start a startup, but it comes with a higher risk.

If you're a good developer, with reasonable people skills and a willingness to learn the business side, then becoming a millionaire in banking is pretty straightforward with a decent saving strategy. It's just a matter of time.

The risk level is pretty low, if you work for a hedge fund the risk is higher but you can earn more money faster and if the fund fails you can get a job at a bank pretty easily. The banking industry has a problem with hiring good devs just like everyone else does.

The financial reason for starting a startup is that you have the potential to make lots more money more quickly. But that also comes at a higher risk.
Me too ,I know how you feel。
Wireless streaming with unlimited possibilities
Compare the number of people lost in exploration of space vs exploration of the seas.

Of course every person lost is a tragedy, but in sheer numbers there's no comparison.

The media blows it completely out of proportion, and people freak out over it while many far worse tragedies (numerically speaking) happen every day without them noticing or caring.
Let me know! I use and tested it for Firefox, but I guess it should work the same in Chrome. Also if there aren't any copy/paste errors from my bookmarks toolbars to the code here. I use it myself at least a couple times per day (otherwise I'd probably have my bookmarks toolbar hidden per default).
Either you apply to a remote job - there are plenty here on the monthly "who's hiring" threads. Or you get your current company to allow it as part of negotiations. An annual review makes a good setting - ask for a big raise, then offer working from home as an alternative (it'll save me money on my commute, so I won't need the increase).
Even better, as long as you have the address space available somewhere, if the allocation is done via mmap (as some allocators do for larger allocations), the physical page can be mapped to a different address in userspace and then allocate the new pages to be adjacent in the user address space. In this way, you don't even need the room after the current allocation.
Hey, thanks! I get mad at this same issue at least twice a week.
Yours is a lisp-like, so much easier to parse; and it doesn't have the nice in-dom ast viewer nor nearly the same number of comments (I compared with http://eloquentjavascript.net/code/chapter/11_language.js).
This is another reason why a lot of links to certain pages have the referral or campaign information hardcoded into their URLs, which removes the need for a referral header. I guess if the Guardian really wants that information they can make a deal with app publishers or Reddit or whoever to add a header like that.

But on the other hand, given how it was the Guardian that published all of the original Snowden articles and information, they of all newspapers should applaud this rapid increase in increased privacy from their readers.

I can't actually read the dates on the charts, but I assume the increase started shortly after the Snowden revelations, when more sites were enabling https by default and people became more privacy-aware.

So the Guardian's a bit inconsistent here, On the one side they go "Big Brother is watching you!", on the other (in this article) they go "We're Big Brother and we can't see you anymore!"
I think a motoring review of an electric car that doesn't feel the need to mention range or recharging problems marks a significant shift in public perception of EVs.
On that note, why does YC let so many MBA founders in?
> Hangul is perfectly readable linearly letter by letter

Here's an example of printed linear Hangul:

http://imgur.com/yasWNfW
Download PanGu8
> The Guardian is funded by advertising and this limits their ad sales story ... inevitable downvotes from the privacy crowd.

The privacy crowd are right; and so are you. This is a huge internal conflict the web today - how do you make it pay, keep it free and not have it track users?
Yes, i would have thought the same. It is the shortest by a long stretch though :)
Cities are a great place to live if you find one with decent public transport. If you're already talking about a major life upheaval, have you considered coming to Europe? There are pretty cool software industries in London and Berlin at least.

YMMV, but I found living in the country pretty unpleasant, particularly as a relatively shy single person with less-mainstream hobbies; you have to drive everywhere, you have to plan a lot more in advance (just trivial things like doing your grocery shopping ahead of time), and there aren't the kind of entertainment options you get in a city.
Doesn't work at all for me.

ILLEGAL_USE_OF_DEMO_KEY
Also, it's a kind of new field for ergonomics and usability so all these changes (both hardware and software-wise) are something to be expected.
I find it funny that the obvious gay marriage slippery-slope is seldom discussed by its opponents: polygamy and group marriage, which have far more potential for societal impact than gay marriage ever could. I suspect this is at least partially due to the tendency of old-school religious affiliation among the small number of practicing polygamists, which the conservative "values voters" are uncomfortable associating with, even indirectly.

(Not claiming marriage equality would lead to plural marriage; just surprising how seldom it's brought up, relative to nonsense about marrying dogs.)
Thanks alot! great stack for developing Node&Angular!
Obligatory link to Hunter Walk's great post on exactly this point: http://hunterwalk.com/2011/12/24/its-fine-to-get-an-mba-but-...
Python is rapidly overtaking R as the language of data analysis.
The typical Porsche/BMW/Mercedes/Audi will easily get past it on the Autobahn. At 250 km/h the battery will be empty quite fast...
Show HN: Primecast – Watch Amazon Instant Video on your Chromecast
Menlook.com raises €23M to conquer Male fashion online
No, you can create a QR code that encodes a calendar event. See example: http://imgur.com/117Jn9D
This presumes that 'keep it free' is actually desirable. Free journalism means the person reading it is the product. Perhaps the less of that, the better.
The .WINE New GTLD Rumor – GTLD.club
Pick two.
I'm using AWS too. Last couple of months I stopped their services (might re-new it this month) . They didn't billed me. Did you find-out why there are charging you like consumption of ec2 or snapshot etc ? Something running (or ran) without your knowledge?

If you think everything is fine. Then may be tell your bank to disapprove any payment request from Amazon with your account?
Australians and New Zealanders should be free to live and work in UK
I've been burned far more often by O(n^2) algorithms being used inappropriately than by slightly too high memory usage. It usually comes up when you give a piece of software an order of magnitude more data than it's used to, and discover it becomes unusable.

Resource constrained firmware is a special case, because the package is tested as a unit, rather than individual software modules which may themselves be used in very different use cases. The default algorithm should still usually be exponential growth, with tuning back where necessary to meet memory usage goals.
I like the new Docs...It helps to learn more about mean.io. Great Job!!!
If you can get in medical school and can take the income hit during your coursework and residency, go for it. Programming is best kept as a hobby (imho) unless you are building your own company. Get into a non ageist profession. Have fun. Good luck.
I love the autobahn. I travel on it frequently while doing business in EU, and there's something special about travelling at 200-250km/h(120-150mph) without any problems. But I am afraid you will not find a lot of sympathy from other HN readers - the autobahn is such an exception in today's world, that for vast majority of people it's really not important how a car drives at 120mph+. That makes me sad personally, but rationally autobahn driving is not a major component of any discussion.
This is a problem that occurs in lots of places, not just memory allocation. To pull an example I'm a little bit familiar with, check out CVE-2012-3444 from Django a couple years ago.

The tl;dr there is that determining the dimensions of an uploaded image file was done by reading 1024 bytes at a time until enough information had been read to figure the dimensions. Which works on a lot of common stuff, but falls over hard on other files, since there are plenty of cases where you have to read the whole file to get the dimensions. At 1024 bytes per read operation, that can be a lot of operations, enough that it was a denial-of-service vector.

The solution was exactly what the linked blog post advocated: we switched from reading a fixed size in bytes on each operation to doubling the size each time. The exponential growth of successive reads means that the pathological case (having to read the whole file) becomes far less pathological.

IIRC Python's dictionary implementation does a similar trick, doubling in size every time it needs to grow. Turning lots of small read or write or realloc (or whatever) operations into fewer but larger-each-time operations is almost always correct, in my experience, and when not done from the start you'll almost always end up noticing sooner or later when you wonder why you have degraded performance.
Indeed. I think we need to be a bit more nuanced about what we ask for.

Simple referrer information is very valuable to the Guardian (and others who sell ads), and is in most circumstances not a significant privacy leak. Cross-site tracking via third-party cookies, however, has significant privacy implications.

I would like to see a user/advertiser understanding of "this far and no further". But unfortunately the debate is sufficiently polarised I can't see any change to the current situation, where the tech-savvy disable everything and the less experienced stick with their defaults, which effectively reduces it to an arms race between the big browser manufacturers and a handful of ad networks.
Not sure if you are just trolling, but I'm pretty convinced that ~100% of startups are developing 'breakthrough' products. For various reasons only ~1% turn out to be very successful at it.

From an after-the-fact standpoint it's easy to point at the losers and say all kinds of nasty things about them. But since you can't reliably pick the winners of tomorrow, nor can the losers reliably pick themselves (they are usually both at different times) any sentiment towards failed startups being a waste is really just a misconception.
Lets put it this way...

Joe Smith is a working fiction writer. He has a fan base that he knows how to reach. His books usually sell 25-35,000 copies
(A) Can he make a living? (B) Is he better off with an old fashioned publisher (C) If he goes "indie," what services does he need? Are good ones available at a doable price?
It has been the "not track users" that has suffered; the other two have been picked.

The gist of this article is that users have found ways to not be tracked: this was inevitable, the person running the browser has a lot of control over what the browser sends and where.

So, that pick isn't working all the time any more.
1:1s – The Update, the Vent, and the Disaster
Personally, I'd love to see this working without having to send data to the Koala servers. My job has some strict policies on what data can be send to third party servers and I'm not sure how this relates to project/client names/details. I imagine others are in the same boat.

I believe it would be relatively simple to calculate time locally and then display the totals in some custom Atom buffers.
Ask HN: Best simple free visual web scraper for amateurs
I am running Portia in Vagrant on a Windows machine. However, I find the tool to be beyond my level as I am not too familiar with its usage. What I need is a visual web scraper that can output to a word or txt doc the scraped contents and have a gui for configurating the settings etc.
If anyone wants to re-run this this is the version of the shell script I ended up with https://gist.github.com/natmchugh/ab3e30a45fd724888ad8
Assuming with asymptotic behaviour, provided the constant factor is acceptable, ought to be your default. This is because software tends to need to work with greater volumes of data over time, on machines with more memory, and more and faster CPUs. If your algorithms grow with greater than linear complexity as a function of input, your software will tend to get worse over time.
I've gone through all of my accounts, and none show charges for this amount, and none are "linked" to the credit card, so it's definitely an account I don't have access to. They won't give me information since I can't login / give credentials to the account in question.

So I understand why they can't access that account, but I can't explain why they refuse to stop charging a credit card that I have in my possession and am the owner of.
Do you do anything about plugins sharing your fonts list? I found it to be the least known / most creepy way to identify a big number of users. Unfortunately i don't know of any extensions that would block that information.
Feds zero in on cause of SpaceShipTwo crash
> So the Guardian's a bit inconsistent here, On the one side they go "Big Brother is watching you!", on the other (in this article) they go "We're Big Brother and we can't see you anymore!"

Like spam it's only bad when other people are doing it.
How does any BusinessInsider trash get on the front page of HN would be the more relevant question.
Heap allocators already are ridiculously smart. But there's just too many divergent use cases for allocators.

I wrote a simple string heap allocator (grab a 16MB block and hand out 256-byte chunks) and the resulting code was 85x* faster than jemalloc ( http://pastebin.com/dAqa4dbN ) [* I know the way I am benchmarking is shit and probably way off from real world usage, it's hard to do benchmarking ideally though.]

But of course, mine wasn't thread safe, couldn't handle larger blocks (fallthrough to malloc), sucked at fragmentation, and couldn't detect double-frees.

Similarly, I found a massive speed boost for strings by using my own hand-rolled memcpy [[ while(l--) * t++ = * s++; ]] ... undoubtedly because all the trickery in setting up SSE and handling lengths not evenly divisible by the register sizes was more expensive than just dumbly transferring the data, when most strings are very small in size. Though I am sure memcpy would destroy me if I wanted to copy 2GB of data in one go.

All of the extra logic to be smart will help you when it actually works, but will make your worst case substantially more painful.

Let's say you had to create 100 objects. Would you rather create all 100 objects in 10ns each, or 95 objects in 1ns each, and the remaining 5 objects in 1000ns each? What if you were writing a particularly weird app that ended up needing 1000ns for every alloc it did?

One immediate concern I'd have with a smart exponential allocator was when you were memory constrained and your application was a web server or SQL database.
You have to sign up and create an app to get the key. From what I could gather there is no limit or pricing on the site. Once you are in to the developer center they have you can see the docs and use the API. It's quite nice, even if it ages me at 31, a bit older than I am.
Dev here.

You can actually configure a .koala file in the root of your project to define what to send to Koala.

Nevertheless, I see your point. I'm thinking of going open source and releasing a community edition so you can set-up a hosted version. Would that be interesting for you?
It's not mentioned how that test program was compiled nor assembler code is given. Might be some kind of an optimization made by the compiler. At least on ARM, unaligned access really does affect performance negatively, even the company itself[1] states that: "[Unaligned] Accesses typically take a greater number of cycles to complete compared to a naturally aligned transfer."

1. http://infocenter.arm.com/help/topic/com.arm.doc.ddi0333h/Cd...
I second this. I've always struggled with maths at this (relatively simple) level.

However seeing the code and then the related equation is teaching me mathematics that I couldn't grok in school 20 years ago.

This is (for me) a much better way to explain it!

Thank you for sharing.
Either way, considering the 'value' of sama to them, the FT will probably not make an issue out of this.
Tnx, that'd be awesome. I want to make all courses available for free, building a database of short burst courses for the web, by the web. Would you be able to give such a class/tutorial?
Here are Yves Couder's 2011 slides with more details, graphs, photos, and references. [1]

I have a general question for those who are expert in physics, or who have a hobbyist interest: have you read Louis de Broglie's "Ondes et mouvement" (1926)? it's only 133 pages in the original French edition. Or his 1924 PhD thesis? [2]

[1] http://www.physics.utoronto.ca/~colloq/Talk2011_Couder/Coude...

[2] https://tel.archives-ouvertes.fr/tel-00006807/document
Some website quirks I noticed:

- When I go to pledge/api docs I see previously hidden navbar links 'events', 'reports'

- If I enter the 'events' section, it asks me to sign in and the browser history back action stops working.

I'm really impressed by the pledge you're making there, it's a very amicable touch.
Japanese can be typed as kana, but most people type rōmaji (Latin characters).
It needs a good photo of mostly just your face in order to get a good detection. Detected my face quite accurately, I'd try again with a headshot.
Thanks for the response!

Sweet, I didn't realise that. A self-hosted version would be cool. For my own projects I don't mind sending data, just for corporate work its more difficult. Having something I could run on my own machine and periodically get reports from without having to manually enter time constantly would be really handy.
Wow, that site loops heavily in Firefox and blocks 1-3 cores at 100% with the embedded vines...
How to backup a Magento store: tutorial + script
Ideally you just preallocate what you're going to need.

There are circumstances where you genuinely need a growable buffer, but often you can determine either the exact size or a reasonable maximum.
Compared to the worst neighborhoods in London? Because the Mission is one of the worst neighborhoods in SF.

Also, please note the /sf (per square foot) of his price quote. I also thought it was way too cheap even for the Mission in SF, until I noticed the /sf.
A kindle direct title can easily earn you $3 profit even if you keep the price very low, and more like $7 if you price it like a normal book. So if you're able to move that many copies, then certainly yes.

Self-publishing is more profitable per copy. With a publisher you'll make ~10% of cover sales (so $1-1.50 per copy) versus the above.

Publishers offer [small] advances and cover some of the costs like editing. If you can pay the $1250-3500 for a cover design and editor, and can do the marketing, then you don't need a publisher for anything else.

The resources you're going to want are:

* KDP (Kindle Direct Publishing for main distribution)
* CreateSpace (turn PDFs into physical print-on-demand and list them on Amazon)
* Scrivener or softcover.io (writing apps that easily export to ebook formats)
* Wordpress + Themeforest (or softcover) for a book page

And that's about it. Very doable without a publisher.
You can reserve more address space than physical memory just fine on NT. Committing beyond the amount of physical memory available will mean paging at some point, should you try and use all of it.
Also relevant: http://www.geekculture.com/joyoftech/joyimages/2066.jpg
It's the difference between the person you're phoning recording the phone call and the telco doing it.
The hammer-feather drop in the world’s biggest vacuum chamber [video]
Exactly. On Chrome, I use Referer Control [1], which I guess does the same.

[1] https://chrome.google.com/webstore/detail/referer-control/hn...

It's also very good to avoid those annoying image hostings that serve you a .html page with ads when they detect you click a .png file from another web page or those that just show you a image asking you not to hotlink content.
Francis Fer, friend and colleague of de Broglie, wrote a 2-volume treatise on thermodynamics in the early 70s, with an introduction by de Broglie, so if you are interested in a treatment of the subject that would be close to his views, you may want to look it up.
HTML5 Video Correctness Across Browsers
For me as a Web Analytic Consultant this sounds so wrong:

We track campaigns through campaign-parameters but apps are a blind spot of course, that's nothing new.
Relying on the referrer is stupid, most apps don't provide a referrer because they are Apps and not websites! Browsers provide a referrer if you are coming from another site. An App isn't a website, so there's no referrer.

Of course there's no referrer, it's a new browser window!
Campaign-Parameters here would also not be very helpful. If the Visitor copies the link not from a guardian.com visit, but after coming to the story through a campaign-URL, he would copy the URL with the campaign parameters and paste it into the app. This would be even more wrong, but happens daily!

We Web Analysts should get used to it: People are becoming aware of privacy more than in the past and we can't always measure everything and everyone. Get over it!
Let's say you start with a small array, then add N elements, one by one. When you run out of space in your underlying, you allocate a newer array, copy all the elements over, then free the old array.

If your new array is always a constant size bigger than the old one, then the total amount of work you do is O(n^2). If your new array is a constant factor bigger than the old one, the total amount of work you do is O(n).

This is ignoring memory allocator costs, which can change things a bit.
Rover dressed as a penguin aids conservation
Thanks for reporting the quirks. Too bad I missed them.

Regarding the pledge: it's actually something I've been seeing at more startups. I can't recall which one but I should put up a link to them.
Automatic identification of species with neural networks
It reminds me of how old German books written in Schwabacher used roman typeface for Latin and other foreign words. In this case, it was intentional, but I have always found it a bit irritating from the aesthetic standpoint. For example: http://en.wikipedia.org/wiki/Antiqua%E2%80%93Fraktur_dispute...
Nominated for the most classy comment of the month. That the product manager of The Guardian would take the time out from his (no doubt) busy day to help a user to block tracking is an amazing display of trust in that the user knows best what is good for them. Thank you.
The funny thing is that there are scores of people here who are actively trying to get the Guardian out of business, because they regard anything related to advertising as evil. Will we be more or less free without the Guardian and similar independent sources of information?
Oh come on.

It's not like we wouldn't have basically the same world without Google, Facebook, or virtually any other SV company.

People are just so full of themselves here.
If people are saying "well typed programs don't go wrong" to mean something other than the precise technical statement then you or I will have to correct them. However you will have to point me to some examples first. I couldn't find any.
No problem, thanks for checking Koala out. :)

I'll send you a ping once the self-hosted version is available. In the mean time feel free to send any feedback to martijn@getkoala.co. :)
Noscript will do that for you. To access the available fonts list you need to run a bit of js. So blocking javascript will take care of this.