skysight-inc/HackerNews huggingface dataset:
The counter one (level 4) can be done with 11 chars. Solution below, found on Reddit[1].
Also, I could not manage fewer than 9 characters for level 3. (Edit: thanks @ensard)

Spoiler here:
x=>_=>x=-~x

And also in this link:
[1]: https://www.reddit.com/r/programming/comments/4wd32v/return_...
Test the security of your apps with Verify.ly
> that barely seems like enough to pay for the hardware to deal with 10+ million visitors in one evening.

Really?

The specs: The online census form was a pretty simple client side app. I'm going to say, I could whack something together in much less than 200k of JS.

For each household the site needs to:

1. Serve the client side app. The app had no images beside the ABS header. I'll be generous and say 200k of static assets including the client side JS.

2. Accept & validate the code households received on their postal forms

3. Save the final result (a single record) back to the databases. A single append operation. Being generous, 20k of JSON data per household.

When I filled in the census on Thursday night I noticed it made no effort to normalize addresses or anything else. Umless I'm missing something (or IBM turned off half the features after the DOS) the site was that simple.

1. 200k of static assets * 10 million households = 2TB of traffic. AWS would serve 2TB of traffic out of cloudfront for a whopping $200. If you don't trust 'the public cloud' your self-run data center could serve a tiny payload which downloaded the JS from cloudfront and verified its hash before running it. Or just serve all 2TB of traffic directly.

2. Accepting the unique code on the posted form is easy - just have a few servers which store the database of all posted codes in RAM and respond with 'yes' or 'no'. The codes for 10M households will fit in less than a gig of ram.

2. Saving the final result is pretty trivial. You need to accept 200 gigs of JSON data in an append-only journal. The peak write load would be around 4 million requests / hour, or cumulative ~1000 writes per second, or ~20MB/second of data. For an append-only store backed by an SSD this isn't much load at all. If the numbers weren't so low I'd suggest using a hand-written journal, but honestly most off the shelf databases could handle this write load without breaking a sweat. And you could easily shard it if you wanted to, and just aggregate back the data after its been collected. (You might want to actively geo-replicate the data immediately too, while its being collected just in case something happens).

In total, I'd feel comfortable running this entire site out of a few dedicated machines in just about any data center in the country. If you're feeling paranoid geo-replicate it, and actively stream received census submissions to a couple offsite backup locations. Total whiteboarding time: about 20 minutes. Might make a good interview question.

Of course IBM was also paid for consultancy time, and engineering time to design & implement the site itself, but even factoring in healthy margins I can't help but feel our government was ripped off by a factor of ~10-20x.
Very neat technology for a possibly carbon neutral fossil fuel economy.
Sorry to hear, I think your batch must have been one of the early ones. My understanding is that most DE laptops had an Intel card, particularly the models sold in Europe.
I appreciate the notion that "explicit is better than implicit", so as to minimize assumptions and miscommunications. But that said, if the service is providing details for a region using the center-and-radius approach, that sounds perfectly reasonable. It explicitly states what is being returned, and the fact that it isn't a single point. For responsible clients who are using the API correctly, this data-response is the easiest to parse and make sense of.

I would hate to see a world where services are responsible for generating and clients are responsible for parsing data in an overly convoluted and cumbersome format, just to minimize the risk of irresponsible clients misinterpreting it.
My 2 cents (as a former gymnast and now omnivorously active person) is that many people see exercise as a chore or something they have to do. If you want to have the benefits of exercise in your life, you have to find a way to enjoy it. If running isn't for you, try a dance class. Try biking, or hiking, or Starting Strength, or one of those at home videos by Jillian Michaels or yoga or boxing. Keep trying things until you find something you actually like. Try going with friends, or joining a run club.

As Harvard professor of Public Health Frank Hu said: "The single thing that comes close to a magic bullet, in terms of its strong and universal benefits, is exercise." In my view, there is such value in being physically fit that it is absolutely worth trying every possible thing until you get to something you genuinely like.
That's what got my hooked as well, except I started training for the Marine Corps, and now I just continue that same mentality and routine for strength goals. I literally can't exercise to lose/gain weight or physical appearance and maintain motivation 365 days a year to workout. Once you start focusing on strength and stop focusing on weight and appearance, the latter attributes come naturally.
For more information, you can also check out this case study we published on their work: http://frictionlessdata.io/case-studies/dataship/
I love my banana republic boxer briefs. They're the best of both worlds. After switching I've found that boxers comparatively limited my range of motion (especially when raising my legs). They're super smooth, and sexy!

[Edit]. I just read another comment below that is all of what I said and more. Do I delete this?
What are Red Hat's core principles?
Yeah.. you should go down to Kerala sometime. Or to central government employee quarters.
Technology has been reducing the need for human labor since the invention of the plow. And yet we aren't all unemployed hunter-gatherers. You could argue that 'this time it's different', but you have to at least acknowledge that luddites of every generation have made similar claims and been wrong every time. Literally tried and proven wrong for centuries.
That's what this thread was for :-) Looks like a good amount of day to day maintenance is still required.
I believe pcwalton agrees that the ability to write one's own networking code is important. The quoted line is simply questioning why you'd write such code in C (which, if you're a game developer, means that "platform support" is a perfectly valid answer).
> "why change what works?"

To make it better. And then to make it even better :)
Isn't that what a significant amount of engineering and design endeavor is about?
Eventually, Facebook will make the ad content markup indistinguishable from feed posts from friends. It's currently really easy to block most ads: usually, they are literally from different servers, or when they are in divs with IDs prefixed with "advertisement".

I suppose the end game is when ad block scrapes your friends list and determines whether a post was actually from a friend or not, assuming Facebook never goes beyond the pale and impersonates a friend, posting ads under their name.

At that point, the only advertising available is submarine sponsored stuff: paying popular people to post about your product.
I stopped learning because I am a Product Owner now. My job doesn't let me write code often, and I have some big projects that have sucked up my "side-project" time. At home, I've been focused on writing articles, and building an e-commerce site that is using Wordpress, so no coding there either.

Eventually I may get back to it.
As a PhD candidate in high energy nuclear theory, I've observed a lot of 'math wacking', i.e. reading theory papers which include pages and pages of detailed equations without a single experimental data point. Just take a look at arXiv/nucl-th if you want to see what I'm talking about. These same guys go to conferences, poo-poo less first-principle calculations which at least attempt to describe experiment, and espouse their untested pet theories as if it were gospel.

To be honest, I've been extremely disappointed by the scientific process in high-energy particle physics. People are so tethered to their theory convictions, that they accept derivations as physical realities and dismiss the importance of experimental validation. The old farts in the field are also completely averse to computational/numerical methods and dismiss the importance of production quality code development.

So while I embrace the sentiment that 'math is the essential language of physics', if you can't embed the mathematics into a simulation which describes reality, then what are you doing as a scientist?
I had a lot of fun when I was lifting (I followed Starting Strength for about four months), but when my lifting partner stopped, so did I.

I've been doing pushups/plank/jumping lunge squats/plank/pushups for a while now, which is nice, but I'm certainly not getting anything near the amount of exercise I'd like to.

So my reasons for not exercising now are two:

1. I don't want to take the time to lift. By the time I stopped lifting, I was taking at least 90 minutes in the gym; probably two hours including changing and showering.

2. I don't have a partner. This helps both for motivation (Steve is waiting for me; I should get going) and for safety/form checks (keep your knees out at the bottom of the squat).
Yes, but the summer is brutal.
My experience in the military was that phased inspections on fighter aircraft was done every N flight hours, not based on a fixed amount of time, I would assume helicopters are the same, but I was under the impression that helicopters required more maintenance, not less, due to the increased mechanical complexity, but I never got to work on those, so I really have no idea.
some thoughts:

remove and add worst case complexity is O(mn) ! that is terrible, linked list should be able to do inserts and removes in O(1).

the test of appending is faster. but is it? I would offer that it's likely java doing some more datatype and bounds checking in their implementations, which is inline with the marginal speedup and relatively linear growth complexity. furthermore there are resize effects that will happen periodically as big malloc+move events.

worse case complexity seems incorrect for worse case search and access. assuming bins, you'd have to traverse the bin as well, so access should be O(m+n) .

but what about a remove test, or an actual search test?
this looks somewhat like a b-tree.
I started exercising again mainly because it helps avoid or delay many of the conditions that come with age. At fifty, I can really hear that clock ticking. It also doesn't hurt that being in better shape allows me to keep up with my daughter (now twelve) as we hike, ski, and engage in other active pursuits. Or that I sleep better. Or that I look better, though frankly that would never have been enough all by itself. Wasn't planning to be a model anyway.

The key, for me, has been to tap into both my inner geek and my competitive nature. There was no way I could do this half way. As inanuthshellus put it, I had to make it part of my identity. I committed not just to running, but to being a runner. Starting out, I did a ton of research on techniques and equipment. I run more often than just about anyone I know. I obsess over form and metrics. I work hard to stay on leaderboards for various "segments" or "courses" that I run around town, each and every month (including winter). I'm loud about my running, to reaffirm my identify as a runner. At this point, quitting or slacking off would mean becoming less of something I have striven hard to become, so I keep going even on days when every other factor would point toward not bothering.

This might not be the healthiest attitude in the long term, as my performance will inevitably start to decline some day and that will be hard, but so far it has worked for me. Fortunately, at least in running, there's still plenty of opportunity to compete within one's age group instead of being thrown in with all those twenty-somethings, so even if I do decline I can still hope to decline less than my rivals and my ego can remain intact.
Indeed, black body radiation isn't very effective at dissipating heat!
I saw: "and further milquetoast simulacra" in paragraph three, and quit reading. Am I too severe?
As someone with pointy hair I had no idea this was a stereotype. Should I migrate to a more web scale haircut?
I had been going 3x a week for a couple months, but started working full time, and just stopped. I've also started eating poorly again. No real excuse aside from finding time outside of work.

Normally I work 8-5ish then come then have other things I need to get done after.
Cory Doctorow on the next iPhone's missing headphone jack
You could probably say that about playing roulette if you happened to win your first spin. Doesn't mean it's a good bet, though.
Why is everything in the root namespace? Have you used this library for any real-life project?

Try something like sort for a benchmark.
Would second the XPS13. If you don't want to shell out for a high-end Thinkpad, it is a great option. Mine was the first "developer edition" and it is still running great. There is plenty of support for it on distros aside from Ubuntu. I have run Fedora on mine for years now.

The desktop experience of Linux in general is still a bit off, but if you are like me and spend 99% of your time in the terminal or a web browser it certainly gets the job done. You can always supplement with a VM if you have to run "that program".
I've been looking into myself recently.

From successful bootstrappers in B2B, nearly 100% of the advice that I've gotten is to start without free and add it later as a lead-gen mechanism if it fits your business. Early on customer acquisition is a slog and generally relies on 1:1 conversations often with a pre-existing relationship (in-network). Hopefully feedback from these people help you get close enough to product market fit that outsiders will consider using the product. From there it's a marketing and lead nurturing game where freemium may make sense.

Advice for B2C would be quite different.
Is there a writeup somewhere of the progress towards this, or a prospective timeline?
I like this piece by Louis Menard in the New Yorker: "Honest, Decent, Wrong" [1], which is deeply critical of Orwell, including this essay:

> “Big Brother” and “doublethink” and “thought police” are frequently cited as contributions to the language. They are, but they belong to the same category as “liar” and “pervert” and “madman.” They are conversation-stoppers. When a court allows videotape from a hidden camera to be used in a trial, people shout “Big Brother.” When a politician refers to his proposal to permit logging on national land as “environmentally friendly,” he is charged with “doublethink.” When a critic finds sexism in a poem, she is accused of being a member of the “thought police.” The terms can be used to discredit virtually any position, which is one of the reasons that Orwell became everyone's favorite political thinker. People learned to make any deviation from their own platform seem the first step on the slippery slope to “1984.”

And:

> Orwell wrote many strong essays, but “Politics and the English Language,” published in 1946, is not one of them. Half of the essay is an attack on bad prose. Orwell is against abstractions, mixed metaphors, Latinate roots, polysyllabic words, clichés, and most of the other stylistic vices identified in Fowler's “Modern English Usage” (in its fourth printing in 1946). The other half is an attack on political dishonesty. Certain political terms, Orwell argues, are often used in a consciously dishonest way. ... Fowler would have found nothing to complain about, though, in the sentences Orwell objects to. They are as clear as can be. Somehow, Orwell has run together his distaste for flowery, stale prose with his distaste for fascism, Stalinism, and Roman Catholicism. He makes it seem that the problem with fascism (and the rest) is, at bottom, a problem of style. They're bad, we are encouraged to feel, because their language is bad, because they're ugly.

> This is not an isolated instance of this way of thinking in Orwell. From his earliest work, he was obsessed with body odor ... Smell has no relation to virtue, however. Ugliness has no relation to insincerity or evil, and short words with Anglo-Saxon roots have no relation to truth or goodness. Political speech, like etiquette, has its codes and its euphemisms, and Orwell is right to insist that it is important to be able to decipher them. He says that if what he calls political speech—by which he appears to mean political clichés—were translated into plain, everyday speech, confusion and insincerity would begin to evaporate. It is a worthy, if unrealistic, hope. But he does not stop there. All politics, he writes, “is a mass of lies, evasions, folly, hatred and schizophrenia.” And by the end of the essay he has damned the whole discourse: “Political language—and with variations this is true of all political parties, from Conservatives to Anarchists—is designed to make lies sound truthful and murder respectable.” All political parties? Orwell had sniffed out a tendency.

It's a great, thoughtful piece, I recommend reading the whole thing.

[1] http://www.newyorker.com/magazine/2003/01/27/honest-decent-w...
Quick Batman, to the rendering engine!
Pandoc's Markdown to Word conversion saved me when I was writing a book. Thanks and happy birthday!
I just recently made the switch into the Web Dev world (coming from C++/Python, desktop world). Since I knew of Django, I've started using it as the 'Backend/Server' part of my Web app dev stack. Basically using Django to render minimal React/HTML/JS/CSS to bootstrap my single page Web app.
Wondering, what advantage would I have would I get from using react-server instead of Django (aside from using JS across the board)?

Would appreciate feedback!
If your not trying to scale your business for investors you have a lot of play in unit economics though. There are lots of ways to obtain customer cheap but they usually don't scale and you don't get lots of them. targeted SEO versus PPC, bing and/or targeted ppc campaigns versus google, doorhangers versus direct mail, non-viral social media.
Conviction... We all "know" the right thing to do but we are not convicted within ourselves to do it. Once you find the conviction you will do it. I think that the conviction is hard because most of the threat and risk from not exercising is so far into the future or maybe won't be realized if you have particularly good genetics in a certain area. We are always optimistic about how healthy we are unless we are actually sick (even then...) .
I'm a big fan of Pandoc. However, if you have a lot of tables in your document, ASCIIDOCTOR is a better choice to produce PDFs.

ASCIIDOCTOR has clear and superior table formatting syntax and more importantly it can work with CSV files. This way you don't have to copy paste data into your reports.

http://asciidoctor.org/docs/user-manual/#tables
I wonder if it's plausible for AWS to release a customized variant on this targeted to their data centers and designed for ease of multi-zone deployment? Something like Azure (which optimized and facilitates MySQL).

I realize that redshift already loosely meets that definition, but it doesn't quite work as a globally distributed regionally clustered web service back end. This is ideal.
Plus, one poignant, memorable lesson can have a deep impact. There's no need to inundate them.
Cray still builds fairly impressive single-image Limux machines. Not as pretty as their forerunners, but impressive on their own.
Helm Alpha.3: The biggest release yet
I think if people are honest, these are the biggest reasons (particularly 1 and 2). I exercise daily, and #1 is still true. Though not so much the boring part as the unpleasant and awkward part. If you're bored during a workout, you're not exercising hard enough.

It's hard to overcome #2 because it takes about 2-3 months of regular, vigorous exercise to see results, if you're just out-of-shape. If you're very overweight, it'll take even longer to see much difference.

#3 really isn't much of a barrier, since you don't actually require any equipment to get in quite good shape. You certainly don't have to join a gym.

The way to overcome #1 and #2 is to develop a habit of exercising. You do lots of things in your life that are unpleasant in the short term but give you long term gains. You don't do them because of the gains, but simply because after awhile they become habit. Commuting to work, for instance. You don't consciously think about driving in to work so you can get paid in two weeks; you do it out of habit.

You can build an exercise habit slowly, by creating a set of rituals around it (e.g., putting on your workout clothes first thing in the morning, doing a short warmup, finishing with a short cooldown) and starting off slow to minimize #1. This will also minimize gains initially, but that doesn't matter much---you'll get enough gratification just by building up a string of successful completions. Keep your early sessions to 5-15 minutes. Once you've been able to do that daily for a couple of months, extend a couple of your workouts to 20 or 30 minutes. There are a ton of great, free workouts on YouTube (Yoga with Adrienne, Fitness Blender, Millionaire Hoy, and on and on) of various durations. Once you get to a point where you're working out at least 15 minutes every day, with a few 30-minute workouts a week, you will start to see results. By three months in, you should have a fairly strong habit going, and by six months it will seem like second nature.
Patterns of International Collaboration
I'm glad I'm not the only one. My son loves "ITS BABY BIG MOUTH!!!!"

You're totally right about the Johnny Finger song too. It's at least 30% of all youtube-kids content.
It depends on how it is implemented. Those articles are about invading the privacy of the user by detecting what software is on the machine. However, you don't need to detect that someone has an ad-blocker to circumvent it.

First, you can simply disguise your ads. You can disguise them for everyone. That doesn't require you to peek into what software is on the machine. You've simply made it difficult for an ad-blocker to detect the ads.

Second, you don't have to peek into the software on a machine to determine that content isn't loading. Let's say that someone is blocking my ad server via /etc/hosts. I shouldn't be able to write code that tries to read a user's /etc/hosts, but I can load content via AJAX, see that the content isn't loading, and then take action based on that (maybe loading from a secondary source, maybe not displaying the page if not all content can be loaded).

I'm not saying that Facebook is circumventing ad-blocking in this way, but you certainly can attempt ad-block circumvention without reading a user's local configuration. Facebook can install the ad-blockers like anyone else on their own machines and see how they can disguise the ads as content so that the ad-blockers don't detect them.
Having a baby and not having family in the area to help out.
This is the only way I've learned anything...repeating a few things until I can't forget them. I'm by no means a brilliant programmer, but you can do a surprising amount of things using a few simple concepts.
> Asking so bluntly for research you could look for yourself (that pharma companies would never actually publish) comes across as tactless in this situation, which is why you're being greyed.

First, pharmaceutical companies are required to publish study data as part of the approval process. Whether the requirements are sufficient is a tangent all its own.

Second, I can obviously look up research. I have. It indicates debilitating side effects for a host of non-psychiatric medications as well, which intopieces seems to be ignoring because of bad personal experiences.

Third, if you don't want to re-live bad experiences, don't use references to them to score points in a debate.