skysight-inc/HackerNews huggingface dataset:
I think technically you could achieve this by having multiple heaps, kind of like custom allocators in other languages.

If Java had a placement syntax like

new (HeapReference) SomeClass(); => allocate in custom Heap

Then you could just turn off GC for that heap, and then blow the whole thing away when it got full. Or, you could have a more fine grained API to allow GC on these custom heaps. Perhaps you could even allow copying objects back to the main heap. You'd have to ban cross heap references or have a smart API that lets users pin an object in the main heap while it is known to be referenced by an object in custom heap.

Most of the time in client applications, you only care about GC pauses on the main UI rendering thread, but GC pauses in other threads are less obvious because there's no jank, just that latency may go up for some operations.

You could have a kind of best of both worlds with languages that support non-GC allocation for your UI thread, but GC everywhere else.
Nichod News – Comment on Facebook Created Major Riots in India
The official CDC website says that they found it definitely did cause intussusception:

"The results of the investigations showed that RotaShield® vaccine caused intussusception in some healthy infants younger than 12 months of age who normally would be at low risk for this condition. The risk of intussusception increased 20 to 30 times over the expected risk for children of this age group within 2 weeks following the first dose of RotaShield® vaccine."

See http://www.cdc.gov/vaccines/vpd-vac/rotavirus/vac-rotashield.... Now, that's not much of an increase in absolute terms because intussusception is relatively rare, but so is infants dying due to rotavirus infection in the US - the estimates I'm seeing are 20-60 deaths a year without vaccination. Even a relatively rare adverse reaction is enough to outweigh the benefits of the vaccine in the US.

Now, you're right that the clinical trials "detected no statistically significant serious adverse effects". That's because they were so small that, even though the adverse reactions were common enough to outweigh the benefits, they couldn't actually detect them as being statistically significant. Hell, even if the vaccine was somehow hypothetically killing ten times as many babies as would've died from rotavirus, I don't think the trials used to approve the vaccine could have detected that. That's kind of worrying.
Nepal Spiritual Trekking
Third eye volunteer Nepal
We have separate events for women in chess tournaments as well. Could it possibly gasp be that womens brains are different to mens? Or is that utterly too horrifying to some to comprehend...
As I understand it, this is what TaskRabbit and several other services offer right now. If this is something that you do on a regular basis, you might have enough disposable income to hire a full time personal assistant. Or pool money with other well off friends and split an assistant's time.

Obviously the concept of concierge service isn't new. But getmagicnow.com is based on a brilliant insight: "people don't want to sign up for TaskRabbit or any other website, they just want to text a number". All the details of scaling the service and how it will work out can left for later. Right now they should be patting themselves on the back until their arms get tired.
I think that connecting devices directly to the Internet is great nonsense and great danger to our privacy and security.

Still it would make sense to have an possibility to connect them to local network.
Doesn't stop them trying.
Given their explosion in requests around this time, I'm not fazed by it. Try the same request a month from now...if it's the same turnaround time, then I'd be worried that the company can't handle the volume long-term. Which would be a shame, this seems really useful.
What's wrong with comparing a GC language with non-GC language?
This reminds me of the subuser project (http://subuser.org/) which is basically about using Docker to achieve sandboxing - the project is effectively aiming to build a linux package manager out of Docker.

Several commenters have pointed out the very real security issues with opening the X11 port. This is true, but you could use ssh forwarding or VNC (at a considerable performance penalty). I believe the other security issues (mainly related to PID 0 and which user processes are run at) will be solved shortly. Running applications in Docker is never going to be as secure as running an app in a full VM, but it can definitely be better than trusting random code on the internet (the recent Steam client issue springs to mind).
Hey your exercises are really good. I am half way through it and so far I am enjoying it a lot.
Tip is included.

I suspect just like the concierge at a hotel, the cut comes from the provider of the service (a dozen roses for 100 bucks - they can afford some affiliate fees from that)
Well put. I had a long chaotic reply discussing why maybe living as we did 100 years ago (or more) might be a good idea, but, this is not really the place for that. Maybe I'll write a book the subject!
Body language for business
Well, if you're going to downvote me, at least explain why you disagree; don't hide behind the mouse-click. I was merely asking why another of the freely available versions of echo was missing from this list; what's wrong with that?
Another interpretation would be the candidate wasted all their time over engineering when a quicker solution would have done just fine.

No wonder he never heard back.
Is It Possible to Track Smartphone Location by Monitoring Battery Usage?
The question starts with: "Consider a finite checkerboard of unknown size", which means you don't know the value of size-squared. Bitmap requires O(n) space, while the Carpenter's solution requires only O(1) space. And both require O(n) time. If an interviewee failed to see the difference, honestly I doubt I would want to pursue it further.
Err, maybe it's me, but this seems to be a unfocused rant with no redeeming traditional features like sarcasm.

Yeah we know there is a Great Hollowing Out. We know that some lucky talented people start to rationalise their success through "doing good works must be the reason for success"

And we know that Piketty is right about capital beating out labour.

But I was hoping for some insights - some idea of what to do about it.
What’s So Special About the $1M Mark?
Well, it's an interview. As both an interviewer and interviewee, you should be respectful that time is finite.
Well done, you missed the point as much as OP. You're still stuck on pizzas.

I wonder why you're replying to me; you're specifically bringing up points which my post explains are unimportant.
Ah that link explains it, thanks. Very interesting. What a mess!
I'm Skeptical of Lean Startup Methodology
Why would the tech firms be responsible for jobs lost to technology? They are the ones having to hire people to create all that neat technology.

The blame falls with the firms that use technology to cut out whole job titles from their operation.

It is upon them and primarily politicians to ensure that the gains from technology benefit all people in less time spent working and a guaranteed base level of living that is certainly well above what we have now in social security.
I've never heard people who advocate lean startup not qualify their endorsement with, "Now, I don't advocate EVERYTHING that lean startups preaches."
I too have suffered Rust's religiosity on the floating point issue.

In Python, given an array xs = [3.1, 1.2, 4.3, 2.2], I can write

xs.sort()

and get [1.2, 2.2, 3.1, 4.4]

In Haskell

sort xs

In Swift

sort(&xs)

In Rust you have to spew this monstrosity

xs.sort_by(|a, b| a.partial_cmp(b).unwrap_or(Less))

The Rust position appears to be that sorting an array of floats is unreasonable and so you must be "punished" by not being allowed to use the built-in .sort() function.
Very interesting service. I was actually surprised to see fees in a volunteering program, but they take care of pretty much anything.

http://www.volunteersummernepal.org/nepal-teaching-english-v... Is there any application deadline?
I was missing a docker container that hosts the Xserver and produces the X socket for the other GUI containers. This would be great for non-gui docker management platforms such as CoreOS.
What is the expected result if you have NaN in your list?
>If there was a standard by which browsers stored payment and delivery details, a little beefed up from what we have now, would that get us part way?

Isn't that basically the idea of PayPal or Amazon Payments and similar things?
You have not given nearly enough information to give any reliable tips.

Start with a few questions. How often are you targeting trades? Do you anticipate trading thousands of times per day, a few times per day, a few times per week, a few times per month or a few times per year? Know that there are sophisticated algorithmic trading systems in all of those spaces.

Once you know how often you will be trading, you can make more appropriate decisions about execution platforms. What kind of data feeds do you want to use? How will you get the data into your systems, how will you get the outputs out of your system. How will you translate those outputs into orders? Who will take your orders? As an aside, most brokerages will want to know if a computer is making all the trades and will either outright ban fully automated trading or will want a kill switch (see the TSA for your broker of choice).

This leads us to the actual hardest part about automatic trading, operational risk. What are you going to do to prevent your system from making out trades? What is your shut down procedure? How is it triggered? How will you monitor the system? Know that managing automation risk is the last mile of human intervention in the system, and that lots of people have lost a lot of money by not intervening soon enough, or intervening too soon.

You also need to have a target benchmark to compare to. What are you going to benchmark against? How often are you going to evaluate against that benchmark? How long will you allow your system to underperform the benchmark? There are long game algorithmic trading systems that have built into their capital allocation models >10 year underperformance against benchmarks for instance.

Finally, ask yourself, what inefficiency are you taking advantage of, that will allow you to profit from trading? What is it that you bring to the table that isn't already there? Once you honestly assess that, ask why wouldn't that same efficiency be more valuable in some other field that is less crowded because automatic stock trading is a very low percentage game right now.
Building a Better Digital Eye
It's all about the programs you use, really. Vim does support x selection buffers, and gvim should automatically take advantage of these (gvim --version should return +clipboard). In fedora (at least), the console vim with X support is called vimx (really wish it would replace the normal vim binary). With this I can just highlight and middle click to interact with the selection buffer. (I can even middle click in command mode without entering insert mode).

Now nearly all terminals have a clipboard handler (eg. for Gnome Terminal, ctrl+shift+v), but naturally this just blindly types the text. Does this mac person have the ability to do anything more than this? Maybe with X forwarding you could get a remove vim session with clipboard handlers to directly work with your clipboard.

The real problem is none of this is automatic, but the mac guy would need to go through most of these hoops as well, for the tools specified.
Fewer peeople are using SMS today. In US, WhatsApp is preferred text message app; In Japan and Taiwan, everyone uses Line while rest of Asia uses WeChat. Any plan to support those Apps?
Ask HN: Ever get the urge to write a book? and what came of it?
> Symbol.iterator just seems like purposeless showing off.

That's the point.
Dr Schmidt’s smart creatives work all the hours that God sends, and then some. They are, to use his term, “overworked in a good way”. The concept of work-life balance can, he thinks, “be insulting to smart, dedicated employees”, for whom work is an important part of life, not something to be separated. The best corporate cultures, he thinks, “invite and enable people to be overworked in a good way, with too many interesting things to do both at work and at home”.

A very good philosophy, that I also discussed here: http://danieltenner.com/2014/11/19/work-and-life-balance-and...

I had not read Eric Schmidt's book at that point, though.

The author continues, however:

But it also highlights the extent to which our world is bifurcating into parallel universes.

No it's not. It's evolving into a new universe. There's no reason why everyone, yes, everyone, can't be in that new universe where they work on what they're passionate about. And when we figure out how to fix our screwed up economic systems to enable that (one possible solution is the Basic Income idea), we will derive, as a species, productivity benefits that we can't even begin to comprehend right now.

At this point in time, the majority of humanity toils for subsistence. A sizeable minority work to pay for their lifestyle (aka the work-life balance level), and they are a bajillion times more productive than the subsistence workers. A tiny slice of us are now able to work with passion, on what we want to do. Like artists working on a song or a painting or a book, they do not draw a clear line between work and play. They're always working and always playing. With this they achieve a level of enjoyment of life and of productivity that the work-life balance crowd cannot touch.

Let's all work together to get everyone into this last category. It's easy to point to the fact that we're not there yet. Harder to make tangible progress towards this goal.
What are we doing? How we use smartphones today is basically insane
All this is well and good, and I agree with it, but it doesn't really have anything to do with this service.

> Services like this encourage not knowing where your food, water, clothing etc. is coming from

You don't know where those products are coming from. The ingredients in the food you're ordering have been gathered industrially, processed industrially, probably moved between four different countries, ended up at your city's warehouse, were ordered in bulk by a grocery store in your city, were once again ordered in bulk by your local restaurant, were prepared by a chef you'll never meet, packed by some cashier you probably haven't seen and only then does it reach the delivery boy.

And you're telling me adding one more layer on top of that is decadent because you don't know where your food is coming from? Please. The general point is excellent and worth talking about, but it simply doesn't apply here.
Sometimes "upgrades" breaks things for users, and they are reluctant to apply them. Users are trained to not apply upgrades. Ideally you'd need law that manufactors not do that.
Getting started with java
> Now that you have something like a "slave" market and can go on to the next step and calculate scenarios e.g. 5min ahead and can 99.9% predict where the market will be in 5min.

What most algorithmic trading models that are looking to prey on other algos do is either wait until their model says the market is already in some bad decision state or move the market in some way to make the bad decision state more likely.
Email Regex that works 99.99%
Wildly different goals, given that there should be some interesting reason to avoid GC nowadays.
My 2 cents - don't reinvent the wheel. Use quantopian.com - it has great community, where you can learn a lot. Their trading system called ZipLine[1] is open sourced, so I guess you can extend it to fit your specific needs.

[1] https://github.com/quantopian/zipline
There is no proof of that. Its a restatement of the efficient market hypothesis, which is a long studied and very contentious subject.
That's an entirely different problem I'd say, and the perfect use case for these libraries on a client! If you'd do it server side it would be like a local IDE sending the code to be lexed remotely...

My rantiness (I apologize for that) targets programming blogs/static pages.
Non-mobile link - http://www.amazon.com/Mathematician-Plays-The-Stock-Market/d...
Congratulations on your success. What benchmark were you comparing your systems to? How long will you let your system go underperforming your benchmark?
I'm not unsympathetic, but this article seems like a hodgepodge of gripes in search of a premise.

"These tech elites are like bankers, in the sense that they make a lot of money, and in no other sense. Also they're mostly men. And they control capital, if, uh, they own corporate shares. Plus, Moore's Law." Huh?
This. However, the alternative scenarios aren't the "Monty Hall Problem" - - the host will never open/blast a car door.

I usually find this problem annoying, not because it's all that difficult, in fact it's quite intuitive - when you're told the exact parameters defining the Monty Hall Problem and systematically work through them.

In my experience though, it's used more often as an exercise in diminution, a sick wet dream of probability teachers, where the learning party isn't aware of the problem, and usually either hasn't been explained, or doesn't quite grasp, the exact circumstances around whether the host's choice is random or decided.

There are lots of "it depends" moments that can be applied to incomplete descriptions of the problem, including (amazingly) whether the host offers a choice at all - this is the one that seems to trip up most people, as they might start to question the "motives" of the host (which are irrelevant in the actual statistical problem).
On most Linux systems these days bash is symlinked to sh.
While there's a lot of inflammatory, and frankly unfounded, accusations here, I do strongly agree with two major points:

1) Like Cameron, most SV tech workers are utterly convinced that they are doing "good", even if that means replacing jobs with machines.

I don't necessarily have a problem with replacing jobs with machines, but we have to come up with some means of sustenance and stimulation to replace jobs for those affected (btw, these are not intractable problems: basic income could address the sustenance issue, and for the stimulation part, I believe that open source model has a lot to offer). That's urgent. Otherwise, no one is doing any good, we're just knocking middle class earners into poverty.

2) The tech "elite" (not fond of the term) are living in a parallel universe.

This one is on display any time any economic article is posted on HN. It's clear that many (most?) commentators are convinced that the economic recovery is complete and everyone is happy. This is far from the truth. As well documented by respected economists, at least in the US, most of the economic gains since the great recession have gone to the top 1% of income earners [1]. The rest of this country's inhabitants are suffering still.

By the way, to be specific about what in this article is "unfounded", it's calling tech workers in SV "elite" or "rich". Given extraordinarily high cost of living in SV, the average wage among SV workers is frankly not enough to support a middle class family at the level the middle class enjoys in the small towns and cities in middle America (I recently researched this in detail). The only reason the average tech workers has significant disposable income is that they are young and single or married with no children. Young people working professional jobs anywhere have disposable income (it's the only time in my life I had significant disposable income).

1. http://www.nytimes.com/2015/01/28/upshot/gains-from-economic...

Edit: small request for posterity: can the downvoters please indicate which part of my post you disagree with, since I have strong criticism for both the writer and for tech culture? A simple reply of "techie" or "lefty" would suffice. Thanks!
Sometimes i feel as if these things should be treated similarly to theories in physics. Einstein extends Newton but do not replace his theory of gravity for instance.
Yep, including all that hydra-style-compatibility as part of the very base implementation of anything, is part of what makes GNU code the way it is.

I mean... in main() there's a labeled goto for "just_echo" - even that section alone has something like 6 or 7 indentation levels. If I was writing satire code of GNU style I'd probably wouldn't have gone so far. Hehehe.
I love it! Sounds like Heinlein's "General Services" -- no job too big, no job too small.

"Want somebody murdered? Then DON'T call General Services. But for anything else, call.... It Pays!"

http://en.wikipedia.org/wiki/%E2%80%94We_Also_Walk_Dogs
> But I was hoping for some insights - some idea of what to do about it

For that, you'd need to read Marx.
I don't mind soaring returns for owners of tech companies as long as the state run redistribution of wealth allows everybody to live a life in dignity.
The skills you need as an entrepreneur
That is because OEMs lump security fixes in with "value addition".

What is required is a multi track maintenance scheme, similar to LTS releases etc.
Woman Sings to Raise Money for Down Syndrome Research
I imagine I'm gonna setup Magic. Then before I'm packing up to go home, I'm gonna text "Get me a lamb korma, hot, and some naan from Little Delhi, cost + $12 for delivery is fine". Then they're gonna say "ok, btw total is $25". By the time I get home and change, ding-dong food's here.

Of course, it'll depend on their execution. They're gonna have to keep a reputation of not totally ripping me off, like Amazon. With Amazon, I don't ever, ever, price compare. If I was gonna buy a 256 GB SSD and Amazon said it was $300, I'd go "well shit, I guess they went up" and that's that. If they keep abusing me, I'll figure it out, so keep the abuse low, and if I get pissed off, comp me and make me feel special.

There's no reason Magic needs to be slow and involve lots of back and forth so long they don't give me a reason to distrust them.

Edit: But you're right. If it's always slow, always back-n-forth, always weird pricing I need to check, then it wouldn't be great. So I'm just gonna hope they do a good job.
In python at least, it's a bit funky:

>>> sorted(map(float, ['1', '2', 'nan', '4', '3']))
[1.0, 2.0, nan, 3.0, 4.0]
>>> sorted(map(float, ['1', '5', '2', 'nan', '4', '3']))
[1.0, 2.0, 3.0, 4.0, 5.0, nan]
I didn't force someone to use the gun/atomic bomb/Sarin/..., I just produced it. A simplistic defense often used in such circumstances.
What's the deal with USB headphones?
Check out the documentary Pink Ribbons, Inc. which aims to expose that exact phenomenon. Trailer: https://youtube.com/watch?v=3QPZfcYTUaA
> The blame falls with the firms that use technology to cut out whole job titles from their operation.

That's just passing the buck. It's on both parties, creator and user, to find a solution. Did you think no one would use the technology that allowed them to cut jobs?
I can see some limited benefits, like applying inventory tracking tech to refrigerators. But for the most part you need to be there to refill the device etc.
they are saying that "domickt experience and past involvement in the company assures that the product is secure and should be trusted". PLUS the site and PR material says because domickt as a co-founder had experience working "google", "apple" the product is bulletproof.
And since I left i have no idea how trusted the product and people involved can be.
I see almost no barrier to entry for this idea and as some commentors pointed out- this has been done before- although today does feel like the right time to succeed because these other services are maturing.

Why not turn this into an excess capacity market where you enable anyone to easily offer this service themselves...especially if they have local insights.

This seems like a good way for anyone to Make a few bucks in their free time.