skysight-inc/HackerNews huggingface dataset:
The way i've seen it done is something like this:

* Cache never automatically expires, but you do have some notion of staleness
* Whenever you request data, you get it from the cache (if it exists), and check for staleness, so you cached data needs to know when it was cached.
* Return the data as usual, but if the data was also stale, you fire off a worker to update the cached data.
* If you have lots of requests happening at the same time, you have a system for seeing if a worker already exists, to ensure that you only create one (for each piece of cached data).
* For the time it takes for the worker to complete, you have to be okay with serving stale data, in most cases this is okay.

There's an edge case missed here, which is what to do when the cache is empty (either because it's one of the first requests, or because the cached data has been evicted). That's up to you, depending on your use case. You can basically either return a default value, you can pre-warm your cache, or you can let the requests hang until the data is ready.
Hmm, I personally haven't seen action in discussion where this kinda stuff doesn't happen; maybe I just pick the comments I reply well.
Workload Characteristics and Candidates for Containerization
This is a great comment. I'll expand it with a few other points that are along similar lines to what you mention.

Most (if not all) platforms suffer from 2 extremes, open discussion involves conflict which is seen as bad but can end up with insightful discussion and robust conclusion. Secondly, forums suffer from prejudice of the moderators. There was a good example recently of this in a HN posting on moderators. I'll illustrate with a topical example for modern times.

Why do people use the term misogynist instead of sexist? It's to reinforce a belief that sexism is a male behaviour, which, in itself is sexist. If you read the recent article on moderation, sexism didn't rate a mention but misogyny did. In other words, certain types of thinking are forbidden and some forms of prejudice are encouraged.

When I read about this new spinoff, my first two thoughts were on avoidance of robust discussion and the prejudice and politics of the founders and moderators. Here's hoping they don't make the same politically correct but prejudiced mistakes that most sites make.
I'll tell you the advice my grandfather gave me growing up, he was my strongest male role model :-

Be confident not arrogant.

Stand your ground when you think you are right and admit immediately when you are wrong.

If you don't know say you don't know.

Don't allow anyone to treat you worse than you'd treat them and the inverse treat others how you'd like be to treated.

It's easier to stay in shape than to get back into shape (having not listened to this one, getting back in shape was a challenge).

Never go to bed angry, if something is bothering you get it out and dealt with.

No matter how good you are at something there is always someone better, find them and learn from them (he was a master shipwright then a master carpenter, he spent a lifetime working with wood and would still admit the old masters where better, I couldn't tell the difference but he could).

Never be afraid to ask for help and offer if it is asked for.

When you look back it's better to have tried and failed than not tried.

and my personal favourite "Noone ever asked for 'I wish I'd worked more' on their headstone".
I agree that there a huge opportunity for improvement in mental health treatment. However, I'll be blunt: you seem woefully underprepared for this undertaking. Your care for your girlfriend is admirable, but it was one single case. Without scientist co-founders with deep knowledge of this field, along with much more anecdotal evidence suggesting that your new approach will work, I don't think that your startup is remotely investable. Again, this isn't a personal attack; it's just my prediction of the response that you'll encounter if you go out and seek funding.
I had the same cringe-like response to the thighs. And if their weapons wrap at all (and that image indicates that they will, with a vengeance), they'll regret not armoring the backs of their legs.
http://mankindproject.org
The tragic tale of SunEdison stock: a visualization
For all the usual and related reasons that you list.

Also safety.

Also privacy through reduced tracking.

Also just plain curmudgeonly contrariness. Harumph!

But after doing so, I've seen an unanticipated benefit. It's a much quieter internet. I really dislike being bombarded with messages to "Buy! Anything! Just buy it!"

And you know, the internet and web were here long before advertising took hold. I acknowledge sites' right to publish whatever the hell they want, including advertising. But I don't have to listen or watch.

I could just ignore the ads, as I used to do with magazines, and I'd be fine with that, even fine with the subliminal awareness that ads inevitably bring.

But I absolutely reject the intrusiveness of what makes ads really valuable, tracking. And I will not take the risk of ad-delivered malware. And if it costs a site money or existence when I view their site but not their ads, well, good. They're fucking things up, being complicit with the dangerous nature of current ad practices.

If ads were static, served by the site and not an ad network, I'd be less resistant. And if there were something like an Underwriters certificate that a site wasn't passing on viewer data to static ad sellers, then this argument would be over for me.

Reform or die. The internet will still be here.

Good luck with your monetization.
Developing iOS 9 Apps with Swift(Stanford)
> How do you decide what to learn?

Work on my own idea.

Another option; work on freelance projects. Earning could be a good motivation to learn new stuff. At least it is for me.
I too was a beta user and I loved the product. It was able to categorize most of my documents accurately. For the first time in my life I was able to find many documents with ease. I also found lot of issues and submitted on their bitbucket project and was selected to their Hall of Fame. I hope they will fix the issues before their public launch. Looking forward for the public launch.
But be careful, his interpretation of P versus NP is rather light-hearted (but OK, given that it's not his speciality). He says:

For example, breaking almost any cryptographic code can be phrased as an NP problem. So if P=NP—and if, moreover, the algorithm that proved it was “practical” (meaning, not n1000 time or anything silly like that)—then all cryptographic codes that depend on the adversary having limited computing power would be broken.

But the parenthetical remark is not a negligible detail. The class P contains those O(n^1000) algorithms, and also much, much slower ones. Being in P does not mean at all "efficient". This is one of the reasons why many people (e.g. Knuth) say that P=NP is not crazy. The class P is so huge, that it must certainly contain extremely clever algorithms that reduce NP to P. Yet, there are may be no practical implications of this equality.
Having experience with the legal system, definitely not sarcasm.
Depends on the country.
Key question: Why would I choose this over setting up a chroot on an Android device?

My rationale is that Android devices are far cheaper, especially older phones second hand. Something like a Nexus 5 can run Kali Nethunter which gives me a full Kali environment if I want it, or I could run a Debian chroot using one of the many various options available.
Related: https://news.ycombinator.com/item?id=10874127

VRAM is also where many "online" development suites—the BASICs and Pascals of the time—expected you to write exception traces. Rather than trying to "break into" a debugger (i.e. cram a debugger into the same address space as your software), you'd simply have your trap-handler persist the stack-trace to VRAM, switch your tape drive over to the devtools disk, and reboot. The "monitor" would load, notice that there's a stack-trace in VRAM, parse it, read the pages it mentions from your program (now on the slave tape) and display them.
I know this is just a drive-by comment, but on the off chance you don't actually know the difference between unjust detention and "disappearing", I'll spell it out:

* Lopez was apprehended in daylight at his house by uniformed police acting on an arrest warrant. The disappeared are snatched by anonymous or covert paramilitaries.

* Lopez was taken to the NY Metropolitan Corrections Center. The disappeared are tortured and killed.

* Lopez' family was aware of his location throughout his ordeal. The families of the disappeared never know that, which is why they're called "disappeared".

* Lopez was released. The disappeared usually stay disappeared.
Free money lifts people out of poverty
When you say misogyny, do you mean sexism or are you saying that sexism toward men is ok?

If you mean sexism, are you using this term to imply that sexism is only directed at women?
> The soldiers you're fighting joined their army to protect their people.

Simply not true in the case of, say, an aggressor who initiates conflict by invading other countries.

Many a times there is definitely a right an wrong in war.

The side which is right has no choice but to respond with aggression. Fight, or else be laughably annihilated for the sake of a pacifist ideology.
A new implementation but not a new concept:

https://wiki.archlinux.org/index.php/swap_on_video_ram

http://ft23.pmenier.net/docext/mtd/TIP_Use_memory_on_video_c...

This may be the very first occurrence of the idea on Linux:

http://web.archive.org/web/20081227185259/http://hedera.linu...
You can at least try to minimize your sleep by using polyphasic sleep.
Most of those pieces of software can be configured as well (load balancing methods, DB parameters, etc).

I don't think we need less people, I think we need people to work differently. Also, an application needing of X amount of infrastructure persons will now need less than that, which frees resources to deploy more applications.

In a nutshell, I don't think we're going to lose jobs at all. I think the cloud is a fundamental pillar of the startup system, which is creating so many jobs that didn't exist before. Efficiency doesn't drive us to less jobs - it drives us to more jobs.
I've recently started this method:

- create a list of all the tools/products/whatever you use at work

- rate them from 1 to 5 (5 you are an expert on this topic)

- then pick the most important one for your job and try to increase your grade

The grade is totally subjective, but still it helps.

For the "next big thing" I take a look regularly to the thoughtworks radar [1]. That's a nice overview.

[1] https://www.thoughtworks.com/radar
What's there to say? Involuntary mental health commitment in the US is a disaster. The doctors operating state-run mental health prisons are overworked and underqualified. And, if you've had run-ins with the doctors operating private mental health hospitals, you know that's saying something!

Lopez was apparently armed and, from the picture painted in this article, pretty much unhinged. Something needed to be done. But the only "something" the criminal justice system has in its bag of things is, by pretty much all accounts everywhere, a total debacle.

Are things better in other countries? Who's doing this well? What does Norway do?
Sounds cool, how much time do you spend every week?
> I wouldn't respond to any of them.

This is a difference in era and culture, I think, rather than only one of spelling. Look at all of the "other names" listed on the Christopher Columbus page of Wikipedia. In Italy he was Cristoforo Colombo, in Spain he was Cristóbal Colón.
Also, I'm not convinced that he's actually a part of imzy. Has kwgardener mentioned him at all?
> Didn't look at your numbers closely but I agree that prices for cellular internet are very, very high in Europe.

Or not. You simply need to pick a carrier with good coverage and cheap prices.

Either you picked the wrong plan/carrier or your monthly fee includes a phone subsidy.
ChaosKey: a Hardware True Random Number Generator That Attaches via USB
Just to be clear: he was in prison for a portion of his detention, after being arrested for making the threat and being informed by his mother that he was armed. He was then moved to involuntary psychiatric commitment.

The article is unclear on the amount of time he spent in each kind of detention, but gives the strong impression --- by marking time in terms of psychiatric evaluations --- that most of it was spent in psychiatric inpatient detention.
The Psychopath Code
At both Heathrow and JFK you boarded British Airways's Concorde flights from Concorde Room, a premium lounge with a directly attached jet bridge to the plane. (These live on as BA's lounges for first class passengers; even at Heathrow Terminal 5 from which Concorde never had a chance to operate. But they're nothing special. Lufthansa operates a dedicated terminal for their first class passengers at Frankfurt.)

In other words, ground services were and are a key component of a premium travel offering, and can effectively shave a ton off the total travel time. Concorde flights predate the now-common practice of bundling chauffeured limousine rides with premium airfare, but you have to expect that the average Concorde passenger had adequate arrangements in place for their airport transfers.

I've only flown Concorde in the easterly direction, with none of the "chase the sun" appeal. But if you're accustomed to the drudgery of the regular JFK-LHR redeye, a breakfast in Concorde Room at 8 am, a very nice lunch at Mach 2.0, and wheels down in London before 5 pm is comparatively a very agreeable way to spend the first half of a work day.
Regarding the 'expand 32-byte k' part: I've seen other malware that obfuscates its strings that way, by writing them into a buffer using one instruction per character, so you can't retrieve them with a simple 'strings' command. The thing that bugs me is they've gone to that length to hide the string, but they didn't randomize the order of the instructions, and as a result you can trivially retrieve the string with your disassembler.
Here's all of them, along with information on the mentioned numbering scheme:

https://en.wikipedia.org/wiki/List_of_bus_routes_in_London#C...
By my reading of that thread, it comes across as more of a "hey we were going to start sketching out a thing" and less of "hey this is ready to go'.
I know, but I worry about giving children misleading information. Especially given the possibility that they might grow into a world where radical life extension may become available for the first time, I believe we shouldn't give them our thousands-year-old mantra of "dead is good" with all the fantasies and rationalisations that entails.

In my experience, children want to know very specific things about death, and I think we can answer them more truthfully and let them make up their own minds about the other things as they grow older. They usually want to know two things: why we die and what death will feel like for a person, which are totally reasonable questions.

The why can be answered by explaining that all things break, and when living beings break, they are no longer alive.

When my nephew recently asked what it's like being dead, I said to him for the people who died it's exactly like the time before they were born. That seemed to satisfy his concerns, and I hope this way of thinking will spare him the literal nightmares I had about death when I was 4, where people had told me I would spend eternity somewhere without a body.
"The total number of hurricanes (particularly after being adjusted for improvements in observation methods) and the number reaching the United States do not indicate a clear overall trend since 1878"

https://www3.epa.gov/climatechange/science/indicators/weathe...

"Trends in tropical cyclone activity in the Australian region (south of the equator; 90–160°E) show that the total number of cyclones appears to have decreased to the mid 1980s, and remained nearly stable since. The number of severe tropical cyclones (minimum central pressure less than 970 hPa) is dominated by variability with periods of lower and higher frequencies of occurrence."

http://www.bom.gov.au/cyclone/climatology/trends.shtml

"Similarly, the trend in intense tropical cyclones (minimum central pressure below 970 hPa) is not significantly different from zero."

https://www.ipcc.ch/ipccreports/tar/wg1/091.htm

Or did you mean current trends in something else?
You're right, it was an exaggeration, to highlight the fact that he was held and not tried for fourteen months, and charges were only dropped when an evaluator finally got access to evidence that should have been available from the beginning. How much longer would he have been disappeared in plain sight if the government were able to suppress evidence/information even longer?

(And yes, I know the difference.)
I think you're talking about unreal mode.

http://wiki.osdev.org/Unreal_Mode
It is said enough to be a cliche at this point, but heavy weight lifting. Having a fit, well-muscled physique will dramatically improve how other men view/treat you. It seems silly, but the evolutionary hard wiring of size/strength=powerful is still present in social interactions.

I'm your age, and this becomes even more valuable and pronounced at a time when many other guys are letting themselves go. By being fit, you demonstrate that you have discipline and the ability to stick to something physically difficult.

Not to mention the internal, mental benefits of challenging yourself physically. My time under the bar has become my meditation...a way to get out of my head. Put more poetically by Henry Rollins:

"The Iron never lies to you. You can walk outside and listen to all kinds of talk, get told that you’re a god or a total bastard. The Iron will always kick you the real deal. The Iron is the great reference point, the all-knowing perspective giver. Always there like a beacon in the pitch black. I have found the Iron to be my greatest friend. It never freaks out on me, never runs. Friends may come and go. But two hundred pounds is always two hundred pounds."

http://www.oldtimestrongman.com/strength-articles/iron-henry...
We, as humans, aren't well equipped to properly measure the impact of posting a lot of little things which, individually, don't give a lot of information away (if any). "Big Data" projects and tools such as these allows agents to learn more about us than we have ever consciously given away.

For example, if you post only about being sick, then about your craving for pickles, would you expect an agent to be able to identify that you're pregnant, and given your posting timeline, identify the due date with remarkable accuracy? Ad companies have been doing this with browsing behavior for awhile.

The only way to avoid this particular threat is to not participate at all, something you will have a ridiculously hard time convincing a teenager of.
> “Any attempt to arrest me will be treated as a hostile act,” he wrote to Mr. Reising. By then, agents had been informed by the Delaware State Police that Mr. Lopez’s mother, Joyce Lopez, had told them that her son had a shotgun and was in a “poor mental state.”
Solar Impulse 2 completes 62 hour gas-free Hawaii to SF flight
Uhhhhhh where do you think the government is getting that data?
Maybe. But I don't think that's what happened. What I think happened was, the guy was involuntarily committed through the criminal justice process, and so like everyone admitted to psychiatric inpatient care --- under any circumstances --- he was stuck until the facilities got sick of him or he lucked into a doctor that actually gave a fraction of a shit about him.

Unfortunately for him, private psychiatric inpatients are there on the dollar of their insurance companies, and so there's an implicit clock ticking on their stay. The same is not the case for the utterly unaccountable state-run involuntary mental health care system.
Cool, kind of a blend between gaming and real sports
I want this for everything. Music to listen to, books to read, guitar skills to learn next, etc
There are still plenty of places with no WiFi is available, i.e. marine and farming environments (the areas I work in). So I could see this being used as an IoT hub. But I'd rather just use a Rpi.
There is next to no funding in the US for public mental health. We no longer have aslyums, because those were awful infringements on people's rights, regardless of whether or not they're sane. But we never replaced those centralized mental institutions with the community psych care that was necessary to make up for the gap. So now many of those same people live on the streets and/or in and out of jail and hospitals because of a lack of long-term support.
I am traveling right now in India, and Uber is a huge boon: no more haggling, no hassles, no arguing: just call up Uber and go. I've been making it a point to ask the drivers what they think about Uber. The interesting part is, when Uber first came to town, they would offer a flat fee: Rupees 60,000/month, as long as the driver kept the app open 10 hours/day, and didn't refuse rides. So many drivers signed up, that many of them spent the entire day just hanging around, giving 2-3 rides/day. So Uber outspent the competition heavily, taking huge losses. But now, with the glut of drivers in Uber, their payment has gone down significantly: they pay based on the number of rides a driver makes. For example, for 17 rides, Uber pays about Rs 3000. The problem is: most rides are < Rs 100, so Uber is still offering rides at a loss.

So, the answer to the question "why Uber won" is: by spending lavishly.
How to quit your job the right way
It depends from 5 hours to 15 hours depending on the topic. On Saturday I learn a topic by reading documentation or watching videos tutorials by their creators(if I can find) or if I have a book then I read first few chapters. Sunday, I start with building something and then documenting the process in the blog by end of Sunday.
Techstars Chat Bots Hack and Beer and Pizza Powered by Hackevents
>>most of it was spent in psychiatric inpatient detention

Apparently, mostly because extremely important information needed to make a serious psychological evaluation wasn't made available to the medical people doing those evaluations.

See this image from the article: https://static01.nyt.com/images/2016/04/24/us/24salesman-psy... They finally got the information on his 3rd eval, which is what led to his release. All charges were dropped at that point.
Try and make a solar powered fixed wing aircraft fly at 43 mph while being 1 foot wide and reserving 25% of it's weight for cargo and keeping it in the air for 36 hours. You have 45 kW / (200 ^ 2) = 1.1 watts peak solar output to work with.

The issue with overly large wings is mechanical stress let's try and get around that.

<This is a dumb design> As a thought experiment, take 3 Solar impulse aircraft fly them next to each other with a simple non weight baring cable to share power between them. The outer two can clearly provide more power than they need and supply that extra power to the center one. Now the center one has extra power for 'free'. So, it can have a higher angle of attack and more weight.

As to scaling birds, a Quetzalcoatlus had a wing span of 9 to 12 meters. That's huge for a land animal. https://en.wikipedia.org/wiki/Quetzalcoatlus Birds are limited by biology not so much aerodynamic issues.
This is sadly common. There was a famous case where a woman in a car accident was committed to a psychiatric prison because they didn't believe that Obama followed her on Twitter. Psychs believe that anyone who claims to know famous people is insane, just like cops believe everyone they encounter in the beat who looks sketchy is a criminal. Psychiatry is petty in the same way as police: anyone who seems "better" than the official is taken down a notch using the official's power.
So something like this:

http://google-engtools.blogspot.ca/2011/12/bug-prediction-at...
This project was gnawing at me for a while. I'm really looking for feedback. Perhaps it's not even a good thing to do?