skysight-inc/HackerNews huggingface dataset:
30 minutes of Exercise + 10 minutes Meditation every morning did wonders for me. Finding the motivation to get started will be a constant struggle, but once you establish the habit for a few weeks it gets much easier. Start small if you have to, but do it every day -- building the habit is the key. If this doesn't work, or you can't muster the motivation to do it, then the meds are probably worth a try.
Which mobile app by global startup you would like to be flipd?
via http://prostheticknowledge.tumblr.com/post/118136157276/augm... (GIFs included)
So when can we try it for ourselves?
Li-ion batteries do not have a memory effect. LiFePO4 do, however.
That is not a good title. I don't like them being called 'Monsters', since this totally misses the point and prevents any useful further insights. Both Hitler and Stalin were HUMANS, like all (most) of us. They were once young kids, had dreams, hopes, feelings not too unsimilar to everyone else. What has become of them is not a 'Monster', it's a result of deeply buried interactions between the human condition and our environment. And even if not, and they both have been sent by some satanic deity, they still should be called humans - not monsters, because that only helps writing the whole historic event off as a distant fairytale where you might aswell add some dragons to sauce it up even further into fantasyland.
You could try different validation techniques, including starting validation on your rules on keydown event. Then hide when it matches your pattern. etc etc etc
Why Do We See the Colors We See?
Solely cookie based CSRF is the only way to do logged-out csrf. Once you are logged-in, you want to do session based to prevent a MITM-over-http from doing a CSRF on the https connection.

HSTS partially prevents the MITM-over-http, but not 100% the person doing the MITM potentially controls the clock (NTP is unauthenticated). Unless you do HSTS by whitelisting the domain in the browser.

Security is hard :(
There are a TON of different CSRF schemes and once you have billions of requests per day, storing and distributing each CSRF token for each user can be a large burden.

Most advanced CSRF schemes use some crypto primitives in a manner like client-side sessions work (Enc+Mac on the server, give token to user, Validate Integrity+Dec on the server when you get it back), or HMAC some user meta-data. This allows you to distribute the key and then any server with the key can validate the token without needing to know the token in advance.

I've written a blog post about a bunch of types of CSRF schemes and their pros and cons, but never published it. Is this interesting enough for me to publish?
1. Try the meds. View them as a crutch on your road to recovery, not a cure all. You have to retrain your mind to see the positives in life. The drugs may help, they might not, but at the end of the day you are the one that determines if you are happy.
2. Try mindfulness meditation. TL;DR is go to quiet spot, close your eyes, breath in and out, and focus on just breathing deeply. Longer link at the bottom. Lots of good books out there too.
3. Everyone dies eventually, so there is no need to rush there. Push yourself to enjoy life, even if it if hard.

Good luck
At the study level sure, you can support any argument, a meta analysis like: http://www.irp.wisc.edu/publications/dps/pdfs/dp114197.pdf
Generally shows little to no benefit and often points out flaws in individual studies.

Indeed, in our data, previous
authors’ specifications rarely explain a substantial portion of the selection into the relevant privateschool
sector, raising the possibility that the weak-instrument critique may hold for this literature. This
point is corroborated in work by Ludwig (1997), who also finds compelling evidence that prior authors’
instruments are weak.
Personal experience:

I'm on an early 2011 MacBook Pro (purchased in March, 2011), which I've used for about 8-10 hours per day, 5 days per week, since the date I purchased it. I have about 6.5 hours remaining at a 91% charge (screenshot for proof http://cl.ly/image/1a2d2y2V1J2O). I consider this to be pretty good for a notebook that has been used extensively for more than 4 years, which is why I felt like I should share my advice on keeping your battery healthy (I do exactly this, and have since day one, except when I'm mobile and actually use the battery - about 2 times per month - today is one of those days):

1. keep your notebook plugged in all day while you work
2. unplug your notebook when you power it off at night
3. on Friday, unplug partway through the day, allowing the battery to drain to about 30% by EOD
4. Monday morning, start back at step # 1

The bottom line is, run the charge down significantly 1 (or 2 max) times per week, and let it sit (over the weekend) without a full charge.
Depending of the type of work your employees do, it might be frustrating. If you need CPU power you'll not get the full speed when unplugged.

Also unplugging/replugging is annoying, get a brand/model that already has the charging cap option and just ask to enable it.
There are a few:
http://www.newegg.com/Large-Format-Displays/SubCategory/ID-6...
The details of the argument are a bit off base because the argument conflates returns on capital with wages. In order for Bill to earn $1200 from his equity over the weekend, the value of the company has to increase $240,000. By being on the equity side of the equation, Bill sees $1200 of value regardless of whether he works or not. .

Going even further, good equity outcomes are entirely discontinuous from hours worked. Bill's equity doesn't necessarily only increase on the weekend, it can increase throughout the time he is at work, while he is at home sleeping or off on vacation.

The article really doesn't capture the nature of free-lancing either. 16 hours of billable work a week means some number of hours identifying leads, closing prospects, and getting paid. Finding regular freelance work in regular weekend only chunks is a non-trivial exercise...unless fortune smiles upon you. And if fortune is smiling upon you, perhaps the equity is a better place to direct her grace. Clients who will give you six months to get one month of work done are rare. Those that won't cancel half-way through are even rarer.

None of which is to say that most employee equity deals I read about in Ask HN are particularly good. The one's that are are several percentage points in addition to a good salary. People are motivated to work by equity only when they are outsiders. Smart capital strives to earn money without working at all.
No big deal really - just shows that there is a market for everything in this world.
There has also been a big push to only count "recent" scientific literature as valid for reference in some scientific fields. I know that this helps keep any new papers "fresh", but I have always had a bitter aftertaste about the way that still-valid, but older, research is looked down upon.
While it's certainly possible, in an abstract sense, what is a "chunk"? Who gets to decide? How do we resolve disagreements?

There is a vast set of reasons for why something is cited. "This argument fails if reference X is wrong" is different from "I cite X because my professor/grant reviewer wrote the paper" vs. "I don't want to repeat something I described in a previous paper" vs. "I used the same training set described in X but for different purposes" vs ...

Or, suppose I write a paper which analyzes the evolution of how the term "gene" is used over the 1900s. It's unlikely that every detail that might be analyzed will be dissected into its individual components. And if it were, that's an awful lot of work, with little chance automation support (especially if some of the reasons, like promoting one's earlier work, are gauche to state explicitly).

These the concrete problems that make it really hard to convert the "possible to consider" into something practical.
Chuck Robbins, the New CEO of Cisco
The title is very misleading and an example of linkbait. It should be something like "Can Employers Request Traits That Older Folks Are Unlikely to Possess?"
How cool it would be if you could look at your favorite mobile app with developers' perspective and re-create a better version???

Go, checkout http://canvasflip.com/flipd
This is one of those interesting "mesofacts" that is related to how batteries used to work. It's similar to when well meaning people share anecdotes about car maintenance that were only true back when cars had carburetors. These are hard lessons learned that are not necessarily applicable today.

It's certainly true that the old nickel cadmium batteries were harmed by continuous charging. But nowadays with lithium ion batteries, lots of laptops, batteries, and chargers all have little microcontrollers on them that can be smart about charging and maximizing the lifetime of the battery. The short answer is that you should read the manual that came with your particular system and see what it advises.
I get that you're trying to be edgy, but none of those are full-on substitutes for the the results of evidence-backed medical trials. They are great in conjunction with standard pharmacological and therapeutic approaches, but might end up pushing someone already on the brink further into the abyss of depression. They might not have good familial relationships or friends to fall back on, or they might have issues with non-hallucinogenic drugs as it is.
WARNING:

Do not seek any advice from anonymous people on the web about depression, ever, you're seeing a therapist, that's a good start, If you're not satisfied with your current doctor, go see another one.
It'd be nice if 1.3 and 1.4 could be done with just 1 line of call, but you're missing the fact that pretty much any graphics and audio library will have some "context" singleton through which it is called due to the way these interact with the operating system. The APIs are deliberately designed this way to encapsulate the global state they use.

Sure you can make a global variable for the context and avoid passing it around - but the refactoring route is the preferred option in the imperative world anyway.

If you're writing in Haskell with any expectation of using IO for some exploratory programming like this, the obvious solution is to make your functions of type (:: MonadIO m => ... -> m ...), then any refactoring you need to do to add additional facets to your state can be specified elsewhere as part of a MonadIO transformer. Your calls to "play explosion.mp3" and "render explosion" just need a liftIO on them.
I don't have depression but I am manic depressive so I imagine there are similar things that help.

Exercise definitely! Even just running a little bit helps. It seems like you already have talked to a therapist. Have you considered finding people to talk to as well? I think what usually happens with depression is that you shut yourself away from everyone else, but you really need to open up to someone to improve. At least, that's been my experience.
I think this is really the key here. There is surely a natural, in-born talent for writing code, as there must be for every activity a human can engage in. But I think it's possible for people arrive at the set of circumstances that takes them from okay programmer to "talented" programmer. Time and focus I think are key, as you mentioned. People that don't dedicate enough time or focus to this craft will never achieve a high enough level of productivity to be called "talented", unless they have that natural, in-born, freak capability to code. But even these people are just okay programmers on days they can't get into the flow. Anyways, I think circumstance plays a much, much bigger part than most people realize.
I haven't actually done the math, but for a parabolic dish which is much larger than the waveguide diameter, shouldn't you get a very narrow beam? Isn't that how microwave uplinks like the Ubiquiti airFibre5 can give you wireless networks at gigabit speeds over hundreds of kilometers?
Out of curiosity, if you had received an application from a 40 something who has been "digital" since before the internet was deemed a human right, would you have felt comfortable hiring him?
I'm still amazed anyone wants code in their codebase written by someone on the second or third 100+ hour week. I remember two weeks of 80+ hours as a consultant and the code written at the end was not my best.
Here's what I took away::

It's pain in the ass to validate and sanitize your input.
That's not necessarily true, and I'd be incredibly worried if it were true. I think it's more an artifact of the design of this version of 'science' as an institution.

Freeman Dyson was a brilliant drop out mathematician who happened to meet Richard Feynman and demonstrated a proof for Feynman's work (which led him to winning a Nobel). He says,

"I think it's almost true without exception if you want to win a Nobel Prize, you should have a long attention span, get hold of some deep and important problem and stay with it for ten years. That wasn't my style."

Here's a list of Dyson's awards: Heineman Prize (1965), Lorentz Medal (1966), Hughes Medal (1968), Harvey Prize (1977), Wolf Prize (1981), Andrew Gemant Award (1988), Matteucci Medal (1989), Oersted Medal (1991), Fermi Award (1993), Templeton Prize (2000), Pomeranchuk Prize (2003), Poincaré Prize (2012).
Check Out Zuckerberg Touting ‘TheFacebook’ on CNBC in 2004
That's interesting! I would have predicted that "digital natives" would be the most likely to use ad blockers (thus not seeing the ads at all)...
Prejudiced much? Anybody who doesn't drive a SUV is an annoying environmentalist in your world?
I went through a somewhat similar phase in which I didn't particularly care if I lived or died (new city, shitty job which I wasn't doing well at, had no friends / gf, poor health, no immediate prospects etc). I think what helped get me out of it was focusing all of my available willpower and effort on one or two areas which were completely in my control and where success was readily attainable through consistent work. For me those were lifting and dieting, and those activities reminded me that I could be successful, reminded me that I had self worth, and boosted my morale. This created a positive feedback loop in which that success emboldened me to address other problematic parts of my life and create further success and happiness.
Most people don't appreciate the transition to digitized images & audio went thru early on: as the technology went mainstream, there was an extreme insufficiency of storage space & network bandwidth that had to be overcome as a chicken-and-egg problem. In a day where multi-mile wireless >10Mbps bandwidth & >32GB storage to your pocket is cheap, we forget how painful desktop wired dialup bandwidth & ~100MB storage was, and the crazy contortions we had to go thru to transfer & store digital images & audio. FFTs and subjective image extraction solved those problems, leaving artifacts which utterly baffle today's users who can, say, store a full year's worth of HD video for $50, or 200GB wireless cloud hosting for $4/mo.

Yeah, we could have done digital audio without FFTs. Woulda been infeasible though given the circumstances.
When I say much less than 100% I mean 100% of the amount that the bonus is stated to be. For example if my bonus was 8% of my salary then the most I've ever actually seen paid out was 2-4% based on the company not performing as well as the plan calls for.
Utah is doing fabulous according to this graph.
Facebook’s free Internet for the poor leaves out high-bandwidth sites
Goldman Sachs invested in Bitcoin because it expects a blockbuster IPO
A company seeking 'Digital Natives' would be the company where Dilbert's boss works.
Sleep, exercise, and a good diet are always a great start. I always to look to one of those three things when anything feels off in my own life.

Everyone here is suggesting you take your meds. One alternative that is increasingly popular, especially with depression, are psychedelics. I would suggest Amber Lyon's Reset.me [1] if you're interested in further reading.

Now for the downvotes...

[1] http://reset.me/
Ask HN: Why has security training for software engineers not evolved?
I feel the state of the art in terms of security training hasn't changed over the years and the current training material is not effective.

What are we doing wrong and how can we fix it?
Worry about the medication first. Don't try to overwhelm yourself with other solutions right now.
> Fractal Lab is my {NOT AZEIRAH'S} personal technical and creative canvas where I can explore ideas freely in my own time without obligations and support commitments, so for the moment it isn't available online or for local installation.
I have some project ideas I first want to fully explore using Fractal Lab, after that I'll probably release the code.

This is on his site

soo... someday maybe
Here's what my favorite blogger has to say about it: http://slatestarcodex.com/2014/06/16/things-that-sometimes-h...

He's a psychiatrist but I judge him based off of his blogging not on his medical skills. I wouldn't have seen this had he been a great doctor but a poor blogger.
Been suffering with depression for most of my life. Exercise does help (for me, it's walking or hiking). I took medication for a year and I hated it. I meditate a lot (I'm a Christian) and I spend a lot of time introspecting my issues. Much of my depression comes from having a crappy childhood so I often have to address them in creative ways.

There have been times work has made me depressed so I take some time off. I also have done a good job of not associating things with my identity, so work is work and if I lose my job, then it's my job I lost. I tend to segment things in my mind so that when I underperform at work, I feel bad but not to the point that I want to kill myself over it. Learning to value yourself can be difficult but it's not impossible.
Writing Deployable Code (part one)
You might find this episode of This American Life interesting

http://www.thisamericanlife.org/radio-archives/episode/504/h...

similar story of a refugee attributing his good fortune to chance

I'll avoid posting any spoilers
Seconded I have been working in online since before the internet became mainstream Viewdata Telecom Gold/Dialcom.
I don't think this is the case here. This is a freemium model, hoping the people CAN afford internet but do not know they NEED it will pay for the normal services with the operator.
Likewise, and also quite likely we are some of many thousands. Unfortunately I think in this case there are some people re-inventing the meaning of "digital" to signify young.

Enough grumpiness for one day, I'll go organize my Casio collection now.
As everyone else is saying, take the meds. But be sure to work thoroughly with your psychiatrist to monitor the effects of the medication, and stop anything that's going awry. Don't make the decision on your own to quit a med, either - make an appointment.

Don't self-medicate with alcohol, "drugs" (the non-prescription kind), promiscuity, video games, or other things that numb you. As the psych meds take hold, you'll be able to get up, but you'll be dragged back down as well.

Be very conscious of suicidal ideas as you heal. The real danger point for depression-driven suicide isn't when things are so black you can't even get out of bed. It gets dangerous when you start feeling energetic again. Then you have enough energy to hurt yourself. Have a support group or friends who understand, and check in all the time.

Consider getting a new job now. It might help you to have a fresh thing to care about, and getting fired from your existing job will only hurt you.
I have a Lenovo Yoga Pro 2, it's got an app that manages this for me. I turn on "conservation mode" and it keeps the charge at 55%-60%. The only negative here (and it would be there with doing it yourself) is that if I run out without the charger I'm essentially at 1/2 capacity.
Fred Wilson: Startups Are Staying Private Too Long and That's Bad for Society
I think that another alternative would be to increase the cost of vehicle registration as a percent of the vehicle cost. This way it is progressive and untied to fuel usage. Multi-car discounts could be given much like insurance (cars after the 1st do not add a full car's miles driven).
Equity is not a huge motivator but it's necessary in the current market because of the relative lack of cash and focus on future growth instead of present value of startups. An average engineer's long term value is easily 250k+ but most startups simply can't afford to pay that amount because a lot of that value the engineer is building won't be realized until a few years later. So a startup may instead offer $150k salary and 100k equity. No engineer in his right mind should take a $150k total comp job in Silicon Valley--to get full value (which is only fair to yourself), you can either work for a large corporation that will pay you $250k yearly income between RSU and salary or work for a startup that will pay you a smaller salary plus presumably the difference in equity.

I would much rather just take a 250k salary than a 150k plus equity if available, but I'll settle for 150k salary and 100k equity (per year) if I believe in the company and it has other appealing non-financial rewards for my service compared with megacorp.
The CSRF token is generated on login and then stored in the user's session. We accept the risk of not having a per-form token for pure developer/user convenience reasons.
What was Einstein's single idea that he worked on? The photoelectric effect, for which he won the Nobel prize, or special and general relativity? Or statistical mechanics like Bose-Einstein statistics? Because it seems to me like he worked on many ideas during his life.
It's not out of nowhere. The context is very clear in the video, and in the article it's just a few paragraphs earlier:

> When we see someone who does not look like one of those three men, we assume they are not a real programmer, he said. Almost all of the women he knows in the industry have a story about someone assuming they aren't a programmer. He talked to multiple women attending PyCon 2015 who were asked which guy they are there with—the only reason they would come is because their partner, the man, is the programmer. "If you're a dude, has anyone ever asked you that?"
If I understand it correctly, the CSRF protection bypass is just an interesting consequence of the real culprit, which is an injection vulnerability in the data serialization format of the GA __utmz cookie.
> Bringing to mind XTU Architects' vision for a sustainable city in the Sahara, City Sand Tower is also best taken with a pinch of salt and is unlikely to be built.

Very vague information about something that probably won't even be built. With a planned completion date of 2075.

If this were a new idea, likely to happen, or had in-depth technical details, we'd have a story.
I dropped exercise for the past year, worst mistake I've made. Everything changed, my productivity, my happiness, my stress increased, etc. Now I'm forcefully pushing it back upon myself and as a result I feel better, I'm getting things done at an amplified level at work and at home. Once you get in that rhythm of having it you don't realize how important it really is.
Please, I urge you to speak to a professional:

http://www.reddit.com/r/SuicideWatch/wiki/hotlines
Got a spare $10k lying around to invest in a cool startup?
Just make sure you're American, earn $200,000 per year or have a net worth of $1,000,000.

Thanks Kano!

----

Hello ghevshoo

As an early supporter, Kano has granted you advance access to its investment round on Quire.

You can now invest up to $10,000.

Visit Kano's Quire page [https://quire.com/c/kano] to learn more, and to reserve all or a portion of your allocation.

The rest of the Kano community will be able to invest on Thursday, May 7. If Kano's round is oversubscribed, we may return a percentage of your funds. If we are unable to accept your reservation, your funds will be returned in full.

Contact me with any questions - cassie@quire.com.

We look forward to your participation!

Cassie
Investor Relations