skysight-inc/HackerNews huggingface dataset:
Keep in mind that after 2-3 weeks of habitual coffee drinking, your body acclimates to the effects of caffeine and you no longer receive a performance benefit. At that point all drinking coffee does for you is ward off the effects of withdrawal and return you to baseline performance levels - until the effects wear off and withdrawal kicks in again, at which point your performance is below average.

Caffeine is best used strategically, which means not every day. Save it for days where you're feeling particularly low energy, or need a boost to tackle a problem you're not particularly excited about doing.

That said, the half-life of caffeine is around 6 hours, which means if you have a coffee at 3pm, at 3am you still have a quarter-cup's worth of caffeine in your system, preventing you from entering deep sleep. So even then I'd keep caffeine as a first-thing-in-the-morning type of deal.

Naps I'm a big fan of. I take one every day after lunch. The trick is to simply lay down and close your eyes for 20 minutes. Don't worry if you fall asleep or not - just give your eyes a rest. For the first few days/weeks, you might not fall asleep. But eventually your body grows accustomed to the ritual and it becomes easier to actually fall asleep at hat time.
Glad to see a new build! It's been a while. I actually bought a Sublime license in March 2013 and kind of got the feeling that the momentum for Sublime had gone away a few months later.

I've been using Atom for a couple of months now and really like it, except it is very slow for things like searching an entire folder for a word or having 50 active cursors.

What are some other editors similar to Sublime/Atom with good plugins and active community?
OK. You're probably right. But AP CS was not difficult for anyone. If you did the work, you got an A+. And then the exam was worthless as an indicator of how good you are. Even my friend who tried to copy and paste off Yahoo Answers got a 5 (the highest you can get). You can look at the course description[0]—it's easier than Programming 101 (of course not even close to the MIT version). It's all in java and you don't have to know what a pointer is.

> The languages are getting easier and more powerful.

Definitely agree with you on that one. I am learning swift right now and it has come really far from objective-C.

> I think the world will soon just have 2 groups of people - people who program or make things, and people who don't.

Now that is an interesting perspective.

> If I am to choose an easily, portable skill to harness, programming is better than box-packing or coffee-pouring.

That's a really unfair comparison. Those are jobs you get for minimum wage. You can't major in box-packing in college, but you can major in software engineering.

As I said before, maybe you're right. My fear is that really, my skills are not unique or specialized. They are just “Oh, I know some C, and some Objective-C, and some Python, and some JavaScript, and some Java, and some shell scripting, and barely any C++”. I feel like nothing stands out from that. With the exception of Objective-C (I'm including the native frameworks here), those are all languages that every programmer should know (C) or would be able to pick up fairly quickly (Java).

[0]: http://apcentral.collegeboard.com/apc/public/repository/ap-c...
It seems to be a recent affectation, vide this from 1925: [0], although note that it isn't enforced on the sports pages: [1] or on Malcolm Gladwell: [2]

[0]http://www.newyorker.com/magazine/1925/09/19/st-elite

[1]http://www.newyorker.com/news/sporting-scene/kevin-wares-gri...

[2]http://www.newyorker.com/news/sporting-scene/complexity-and-...
Spend money on experiences rather than things
TLDR; The author of malloc and std::vector never talked to each other. We fixed that!

... also most types are memmovables
Direct link instead of Google creep: http://git.savannah.gnu.org/cgit/guix/maintenance.git/plain/...
Unfortunately, blockchain.info and similar implementations are vulnerable to the Lavabit attack; you never know if the JS code your browser just downloaded won't send an unencrypted copy of the private key to their servers.
Perhaps the large expanse of tarmac or the concentration of jet exhaust is responsible for this?
Never having been through a VC funded acquisition, this was an enlightening summation from someone who has done it a couple of times.
I needed a document notarized. The US Embassy wanted to charge me $50.
Particle physics to aid nuclear cleanup
CLOUD SERVER PROVIDERS
My conclusion was spotty data, I've seen similar holes in the radar map for rain not only in one place. One could ask the people who make the data why it looks that way.
I love finding new ways of thinking and solving problems. Thanks for referencing this.
MSN Messenger to end after 15 years
A far more likely explanation is that it is an artifact on the radar image.

The rain intensity map is a synthetic image that is usually calculated from inputs from several Doppler radars. Probably one of the radars is located at the airport and is picking up some local clutter.
Scrapping it may not be an option. If you have built hundreds of thousands of lines on top of a framework, the cost of a rewrite will dwarf the cost of maintaining the framework yourself. The trick is to choose a framework which you can maintain yourself (sources to every aspect of it which you understand well enough to maintain).
Or they remove the data there because all the other radar activity around the airport makes it unreliable?
If you're on a Mac, TextMate is still going strong and that's what I use. If you are on Windows I would like to know the answer too.
Our latest anomaly and the the numbers game
Looks like a limitation of the radar system. The view that he's showing is a composite view (there's no weather radar that could cover all of Sweden from one single installation). I suspect that there are two stations in Stockholm (one at Arlanda and one south of the city) and that the one south of the city is out of service. The "missing" area is due to the weather radar at Arlanda not being built to view directly overhead. Normally this is hidden by overlaying the same readings from two covering stations.
Seriously consider patio11's advice about daily/weekly/monthly rates.

Issues like this are inevitable when you're charging by the hour. Overestimation, underestimation, false expectations, misunderstandings, ... All these things--even if you're very diplomatic and manage to resolve each of them as they occur--hurt the relationship.

I've been charging weekly and monthly rates for over a year, and I never--not even once--needed to resolve any misunderstandings about hours and time tracking.
You can get around a lot of these issues by reserving the size needed up front, or using a custom allocator with std::vector. Not as easy, but still doable.

The reallocation issue isn't fixable this way however...
Thanks for the link mate
GeoGuessr now offers a selection of maps
Already withdrawn after a public outcry: https://twitter.com/alsassociation/status/505422542555738112
The ice bucket challenge - if proven effective - should be reused again for other charities etc. If they're trademarking this for commercial purposes they're wankers.
> How can prospecting and extraction be both simultaneously unprofitable and also creating incredibly wealthy heiresses?

Not agreeing with OP, but playing the lottery can be both unprofitable, and create a few rich people.
Too long; didn't read
It's ridiculous how this statement gets so popular online.

This "Look Up" video has 46M views https://www.youtube.com/watch?v=Z7dLU6fk9QY.
Whatever post on this subject gets viral https://twitter.com/ducu/status/464018491738431488

"The modern technology (read 'facebook') keeps us from interacting face to face, so it makes us lonely and depressed. It was so much better back in my day when we were playing ball, we were bumping into each other on the streets, and we were definitely much happier." - Such a load of crap.

These lonely people liking and sharing such nonsense are obviously online, and they are probably keeping in touch only with their school mates, or work colleagues at most. Imagine how lonely they must have felt if they could only interact offline, with just a small fraction of their current facebook friends, based solely on geography. Because that was the main criteria for human connection before the internet.

When instead we should get in touch with the people sharing our interests, regardless of where they are located on the map. That is one thing we can only do online, and this kind of human connections would give a sense of meaning in our lives.
The short course, 'From the Big Bang to Dark Energy'[0], is an excellent introduction.

[0] https://www.coursera.org/course/bigbang
On the whole I don't think systemd is that much more complicated to understand than a collection of bash scripts. It's a domain-specific declarative language for dependency-based execution. At least, once you understand it, it has less gotchas than bash scripting.

It's the rest of the utilities that they're trying to couple to it that are bullshit. Starting with the journal - asking for the last few lines of the journal can take half a minute for some reason. Fortunately you can ignore those parts and just use the smart init system, i.e. you can ignore the cron replacement and run plain cron, you can ignore the nptd replacement and run plain ntpd, etc.
I'm a year in and I get 2 weeks. I feel like (and hope) this is on the lower end of the spectrum.
Your comment is terribly misinformed about the reality of drug research. I'd urge you to at least read that opening paragraph I linked to up-thread from the 'Bad Pharma' book.

If you have an interest in this area I would imagine you'd want to read the book to fully understand how broken the current system is.

It's not all doom-and-gloom though; a movement to try to get back to a scientific approach in drug research is continuing with http://www.alltrials.net/.
The ice bucket challenge is in essence a pyramid scheme / chain letter. I think it's a one=time deal (thank goodness!)
True! Already raised $100 Mill as it grows over the public.
Thanks. I'll give it a try, as I do use OSX at work :-)

Outside of work, I'm on Ubuntu though. Any suggestions that work on Linux would be appreciated too.
Howard on Curry-Howard
> Because cheaters never win.

ha not sure in what planet you live in
Show HN: Restore tmux environment after a system restart
The scientific A-Team saving the world
>I think it's going to start becoming reasonable to package up applications in VMs and distributing the VMs "appliances" to run instead of installing software directly in the OS.

Full VMs for regular desktop apps? I don't think so. We already have sandboxes.

And in any case, this wont happen in the life span of this professor being relevant (say, 5 years), so, it can't be an issue that necessitates 64 bit.
Yes.. us mortals want results. I personally don't care what script,API,recipe is used as long as the end result is the desired effect.
I would love to hear about that, if you don't mind following up. Seems like Prepar3d is my killer app for Occulus ..
> the US is more likely to chest-beat and cry "No citizen left behind!".

Is this based on facts, or a historic record?

As a non US citizen, I am genuinely curious.
I'd still rather have 6ghz 4-core but I guess that isn't going to happen (anytime soon for a reasonable price).
Reminds me of this talk:

https://www.destroyallsoftware.com/talks/the-birth-and-death...
Yep, this is my biggest issue with C++: you now have lambdas functions and an insane template spec, but you just can not "realloc" a new[] array. Guys, seriously ?
Show HN: A minimalist game about collecting squares
Then the teleporting chief would have to shoot the original

As an aside, there was a great Star Trek novel where there was a long range transporter invented that accidentally cloned people.

(I think it was "Spock Must Die")
People work later in the (cooler) evening.

Given the right architecture (high ceiling, verandah, stone walls) a shift in work day like this can offset high temperatures without using huge amounts of electricity for air conditioning.

PS: Judging by the Chinese overseas students I meet I think 16 hour work days may become a memory in a generation or two.
Good. I think the challenge is a pathetic thing to do. Sure, give yourself a cold or something (or worse), or if you "pussy out" you have to pay money?

What a sham, honestly. That's peer-pressure, and bullying in my books.
I had seen the talk at ELS in 2013 (really? that was last year?) and was pretty intrigued back then. Might be some time before it replaces my beloved Slackware but I must say Guix is darn sexy already!

Also, finally, Lisp as a GNU systems programming language is becoming reality. :)
I could be off base here, but perhaps Hockney is the exception that proves the rule. I've been led to understand that his position is currently pretty unpopular in contemporary art discourse, and that he is viewed as a bit of a reactionary.

I however find him and his work really inteesting in the context of this discussion though. Particularly for his detective work and reverse engineering of the use of optics by the old masters.

http://www.amazon.com/exec/obidos/ASIN/0670030260/davidhockn...
The capping issue sounds outside your original negotiations. Surely you could agree to this if you factored it into the rate you charge.

Everybody has to make a living, if they want you to absorb the risk, then you can charge a higher fee. That common business practice.
The one thing that YUI does better than any other library is isolation. You can have multiple versions of YUI in the same page, each sandboxed against each other. That means that if you deliver JavaScript for other developers to include in their pages, YUI is an awesome framework or even the only real option. Thanks to YUI Loader it's even self-repairing. jQuery's noConflict is a far cry from that.

Can any if the other libraries mentioned here (especially the newer ones like React and EmberJS) provide the same thing?

When I read threads like this and I see pages like polygon.com that pull in tens if not hundreds of external JavaScript resources, I always think that the YUI sandbox model is still 5 years ahead of the status quo in other libraries.

Again, does anyone know here of alternatives for sandboxing?
I would suspect that reporting figures to the WHO, which I'll add is not providing a whole lot of help, is a rather low priority to these countries.

Plus the way this epidemic is playing out in the 3 major countries makes the figures altogether iffy (Nigeria is an obvious exception, with one index case caught quickly).
They wrote their own. A completely new implementation.
Bits and Kibbles
It worked, so doesn't matter.
It expands exponentially, but misses one fundamental trait of a pyramid scheme: in a pyramid scheme a person promises the next person a reward if he/she recruits other people, which is obviously not sustainable. The ice bucket challenge doesn't.

https://en.wikipedia.org/wiki/Pyramid_scheme
Kitematic – The easiest way to start using Docker on your Mac
If you need to realloc a fixed size array, souldn't you use a std::vector instead?
Take take my startup's quick validation/marketing survey and win some Bitcoins
Hi Hacker News! My friends and I are doing some information gathering and research related to a startup we are working on together. We are currently looking for respondents to the survey found at http://www.masonrycms.com/marketing/survey.html. As an incentive to help us out we will be collecting the contact info provided by anyone that fills out the survey to be placed in a lottery to win $50 in bitcoins or a $50 gift certificate for a company of the winner's choice.

Thanks in advance for any feedback you give us, we're three developers bootstrapping this business on our own and learning as we go. I'd be happy to receive feedback on the survey in general if any of you would be willing to respond in the comments of this post.

Cheers!
Correct, I was just going to chime in about this. Musl is very impressive with its compact size, correctness, Drepper-less-ness =P, and speed of implementing new standards.

http://thread.gmane.org/gmane.linux.lib.musl.general/5952
Sure, give yourself a cold or something (or worse)

Unless the bucket you're pouring over yourself contains nasal secretions of people who already have a cold virus, you are not going to give yourself a cold by doing this.

(going out in cold weather, contact with cold water, etc. have no bearing on the likelihood of becoming infected with rhinovirus or coronavirus, which are the primary viruses which cause the common cold -- there may be increased risk of transmission from going out in dry weather, actually)
If you think you can negotiate to get some of those hours they don't want to pay you, then do. If you think that trying to get them to pay that will cause them to refuse to pay, then don't.

Basically get what you can out of them and get a better client as fast as possible. If you can't fire them immediately then obviously get another client first.
I would first read the agreement they want you to sign though. If it's not bad and you can live with it, it's sometimes worse it to compromise. Some of the bigger clients cannot be flexible on contracts.

Of course, one important thing is too decide how money you're willing to risk. If you're not willing to risk more than two week's worth of work, then bill them weekly so that you can act quickly in case they decide to stiff you.
It was successful because it was unique thing and only very high profile persons did it in the first place like Bill Gates, Mark Zuckerberg, lot of well known celebrities, etc.. I think almost nobody would care a second wave of this, because "We saw this already."
One of the creators of Kitematic here. Our github repo is here: https://github.com/kitematic/kitematic
I used Sublime for a few months. I decided to switch to gvim and I don't plan to go back. I was able to configure it in a way it's very comfortable to me and I don't miss any feature from Sublime or any of the plugins I used, like jshint integration. This is also hopefully the last editor switch I'll ever need to make.
I can argue otherwise. I didn't have that effect, and still don't despite being on suboxone. Depends on the person.
Glad we have a search feature...

- https://news.ycombinator.com/item?id=8241434

- https://news.ycombinator.com/item?id=8227111

- https://news.ycombinator.com/item?id=8226102

- https://news.ycombinator.com/item?id=8226133

- https://news.ycombinator.com/item?id=8241337
Show HN: Prospecter – A prospective search implementation in Java
That's quite a negative light you cast over it, where I live it's all fun and games. I've been nominated, not done the challenge and not donated yet, without pressure to do so. I imagine if there's real bullying and peer pressure where you live, something's gone seriously wrong somewhere in the chain.

I guess it's not quite pathetic if you have been affected by ALS. The show of support could very make their day or in the very least spur donations to a cause they support.

It seems like these things are going to continue anyway, given the success of the no-make-up-selfie trend and this trend.
Why 1Password is the best password manager out there
Ask HN: How to start earning $500/month in passive income in next 12-18 months?
I am a Ruby on Rails developer from Bangalore, India. Currently working for a startup in Bangalore as a full time employee.

Few months ago there were lots of posts on HN related to passive income. This gave me thought about having passive income which will give enough freedom to work on my own ideas/project fulltime.

In India one can easily live on $500/month, so keeping that in mind I have setup a timeline of 12-18 months(which I think should be enough) to generate that much amount.

Right now I don't have any savings which I can invest to earn and I've free time available around weekends.I am working on few ideas of my own, but those will not necessarily generate income.

So what would you do suggest me to do?
The IBC promises a "moral reward" in some way. While arguably the monetary reward is a core concept of a pyramid scheme, the concept remains the same:

1. Get asked to perform an action
2. Ask x more people to perform the action in exchange for a moral reward (you're helping the cause!)
3. Those people in turn start at 1.
>How do they remedy that? By funding anti-drug groups.

Could you specify which groups you mean? Because the article addresses what you mention in exactly the opposite way:

Pharmaceutical-funded anti-drug groups like the Partnership for Drug-Free Kids and CADCA use their budget to obsess over weed while paying lip-service to the much bigger drug problem in America of over-prescribed opioids.

Your comment strikes me as a distraction. "some execs almost went to prison"? Your NYTimes article mentions more than once the judge felt frustration he could not award prison time. God forbid they serve probation:

Defense lawyers for the three executives involved ... all urged Judge Jones not to put their clients on probation.
I'm an ex heroin addict who was considered a functional addict. I kept it hidden for 6 years. It's not like alcohol at all, in terms of impairment, in my experience. Hell, I'm working an amazing job doing innovative things while on suboxone, as I have been for the past two years.
> so your objection is moot to me

"...because Apple already fucked it up elsewhere so double fuckup doesn't give extra points."

> you can't really blame this on anybody else but the captive portal developers.

I don't think I did, thats just how I found out about this particular appleism. Also: This behaviour enabled us to track down that device and its owner physically too. So think about the sensibility of this "feature" in this light.
Every other device would have enjoyed relative anonymity amongst the other devices in the building.
PHPStorm 8 Public Preview
I don't remember... it was perl?
Kaspersky backpedals on 'done nothing wrong, nothing to fear' blather
Funnily, pot completely destroys me. Different genetics I suppose.
It's worth pointing out that the drug industry has already brought both THC (https://en.wikipedia.org/wiki/Tetrahydrocannabinol#Marinol and https://en.wikipedia.org/wiki/Nabilone) and CBD (https://en.wikipedia.org/wiki/Cannabidiol) and both (https://en.wikipedia.org/wiki/Nabiximols) to market as official, legal drugs.

(UPDATED and corrected to four drugs, including the new to me one with both.)

Another update: here's a nice table of all the drugs: https://en.wikipedia.org/wiki/Medical_cannabis#Pharmacologic...
This is awesome dude, thanks for open sourcing it.
I remember reading an article (quote needed) about how the blood supply to the membrane in your nose gets reduced and thus makes it more likely that you will catch a cold from someone.

So essentially. Going out in cold weather is fine.

Going out in cold weather and then ending up at a bar with people who have colds already. Not such a good idea.
I suppose I shouldn't start new projects, either?
>how does anyone get anything done in that country!

By not confusing actually doing work with being kept busy for 16 hours to please the "company" / "boss".

Plus, it's not like this happens everytime and for everyone. People in Greece work longer hours than most of Europeans.

http://www.washingtonpost.com/news/morning-mix/wp/2014/05/16...
Yes, I've been researching the word and those carts.

In my local area, some younger men took over a shop, made a long table from chipboard and lumber, got a banner printer and some PCs and started up a design/banner business. Just set it all up in a couple of days and started working with local clients. They seem busy.

http://india.blogs.nytimes.com/2012/10/11/is-jugaad-going-gl...
The moral reward, in this case, should hopefully come from the donation itself more than challenging someone else to do it. There's also the social reward of being a part of what everybody else is a part of.