skysight-inc/HackerNews huggingface dataset:
1. Medication.

Medication isn't a cure-all, but makes everything else so much easier. If you skip this one, the next set of things will probably just turn into new topics with which to beat yourself up.

(PS: Go to a real psychiatrist, if you can. Doctors don't give nearly so good prescriptions).

2. Structure.

Have set times in which you eat, sleep, see people. Do these things even if you don't feel like it. If your body isn't constantly starving or sleep-deprived, you will have an easier time.

Your psychiatrist will probably tell you this.

(Optional:)
3. Don't drink, try to get lots of fiber.

Alcohol reduces your liver function, reducing its capacity to process stress hormones. Lacking fiber reduces throughput in your guts, slowing the expulsion of stress hormones. This step is optional - it makes a difference for me.

(Optional:)
4. Try and identify things that bother you.

Living with broken windows is a good way to stay depressed. Try and identify things that are bugging you, and try to honestly, proactively, and productively deal with them.
My 2 cents from the trenches back in 2004 and the LAMP stacks boomed; replication. It’s really really super simple. And the binlog format is open! The commercial and open source options at the time, were painful to scale. Go ask an amazon engineer about their old 3 oracle mirrors and cdn-like Berkeley db distribution over a beer or two.
Is digital entertainment more dangerous than killer robots?
Love this comment; reminds me of what I thought when I first encountered pattern matching.

a. Yup, that's what it's called in OCaml, Scala, F#, etc. Might be a little confusing at first, but it's all about finding a "match" for your value, which is different from a guard in an "if" or a "switch".

In an "if", you need to provide a boolean (or a value coercible to a boolean). In a "switch" you don't provide the boolean, but under the hood the switch is just iterating through and comparing your value to all cases: it computes the boolean for you by testing if two values are equal.

Finding a "match" is different, because you're not comparing values, you're also comparing structure. So for example you can do things like

match (v) {
case { x, y: 3 } => ...
case { y: 3, contents: { name: 'Foo', error }} => ...
case { x, y } => ...
}

And it wont just compare "v" against all cases, do a deep comparison, check the existance of certain keys and bind variables as necessary so you can use them on `...`.

b. More so than "returning a value" I like to think of it as "resolves to a value". Thinking of it as "returning" can be confusing since it might make it sound too much like a function.

Switch/if are statements. They control flow, and ask the computer to do something. Another statement is assignment; `var a = 0;` "does" something, but it doesn't represent a value.

Expressions like `3 + 2 + x`, `f(x)/2`, and `match({x:3}) {...}` represent a value that hasn't been computed, and then resolve to one.

c. This is why I prefer to think of it as an expression: cause expressions resolve to values. Function calls are expressions too!

d. If you're in a function, all expressions support recursion since you can mix them up. A

e. Awesome.

f. I think that's on purpose, because in a way each case acts a bit like a funciton. You can define "arguments" in it that get bound to values, and they resolve to another value.
Given that the trusted party is required for this to work, is there any point at all in having it depend on the Etherium blockchain, other than perhaps a weak form of anonymity network?
Like he said in his defense, if he had labeled it "Eric's Restore Disc" instead of putting the Dell and Windows logo on it, he probably would have skirted any real repercussions.

I felt kind of bad about him going to prison until I read this, but that is some classic reasoning. When somebody is capable of justifying their criminality by just imagining away the main thing that makes it criminal, you need prison to tell them, yes, really, you can't do that.

"If it had just been a mule deer instead of an endangered species...."

"If I had just made the trades with my money instead of my clients' money...."

We use prison for a lot of purposes that it sucks at, but teaching people that they can't just yadda-yadda a crime away seems like a good use for it.
I think you could do a lot worse then selling it to people who fail to grasp how money works.
Oh, many things. Bad acting, bad dialogue, bad directing, bad editing, undeveloped characters, inconsistent characterization, tonally inconsistent, logically nonsensical. It wanted to be film noir, or some sort of bizarre satire about immigration, but did neither well. The sci-fi aspect of the film was also shoe-horned in at the last minute.[1]

The visual effects were good though.

[1] Per the post-premier interview by Rian Johnson, this was apparently the first script Duncan Jones wrote. It went undeveloped for 15 years because no studio would touch it. After Netflix agreed to produce the film, Duncan updated the film to a sci-fi setting because Netflix wanted a followup to Moon and was also shopping around for sci films. Originally, Mute would have been set in the 1980s or roughly modern day.
I'm glad to see someone else shares this view. I've been saying for years that both a single payer health system and an actual free market system would be preferable to the heavily-yet-poorly-regulated mess of a "market" we have now.

If we don't go the single payer route, it seems one of the #1 things we could do is to help move "insurance" back to being actual insurance (i.e., we'll keep you from being bankrupted by your medical bills) rather than a system that highly subsidizes your regular medical care but then may not actually be there for you when the bills really pile up... If consumers had to actually shop for procedures (as opposed to knowing the out-of-pocket is $250 and who knows what happens beyond that), I think you'd start to see people screaming for transparency, and medical providers would have to get their acts together.

Only one of many problems, I know.
A Guide to Writing an Update – Compassionate Crowdfunding Blog
Home selection criteria
Living in SoCal, many of us would see that as a normal commute.
It frankly ought to be a crime. Maybe someone can prosecute the responsible Debian maintained under an "exceeds authority" theory of the Computer Fraud and Abuse Act?
I don't differentiate long-form shows (like House of Cards or Game of Thrones) from movies because I think they hold the same place in culture. They pull in A-list actors, directors and writers. I don't think they are different markets because of that. For example, most movie studios would not release a fantasy movie (I'm including Star Wars in that) the same weekend the final episode of Game of Thrones airs. People only have so much time and head-space for the things they watch.
http://livereload.com/ is an excellent tool (though paid) along these lines.
I hesitate to say that's all they did. There's a context & concept of structuring concurrency that they are building.
Cool. What's your handle?
Rumor: Google Play Music to Be Needed into YouTube Music Remix
Ask HN: What happened to IndieHackers?
Some time ago there were interviews with founders and interesting articles about many niche (and not niche) SaaS businesses, but now the web-page is hard to navigate.

E.g. https://www.indiehackers.com/product/moonlight. Where is the actual article?

(Nothing against moonlight, just an example.)

Or have a look at the interviews page: https://www.indiehackers.com/products

Is it impossible to scroll down without making an account now? :(
The relatively clear mandate for collecting all published materials given to the danish royal libary by the danish constitution is kind of rare in it's scope and status.

https://www.bl.uk/collection-guides/uk-web-archive describe the much more limited aproach taken by the british library much later in time, but might extend to a similar scope.
Private health insurance for covered procedures is generally forbidden in Canada, to avoid creating exactly this sort of two-tiered system. Works great.
Unless we are dealing with a list just strictly for frontend development(webpack/sass/etc), I'm kinda confused about the list. What about servers and daemons that perform "hot-reload" for you? And fsevents / inotify are the way to go, otherwise you will deal with 1~10+ seconds reloads, which can be miserable at times.
That magnetic induction charging embedded in lanes in roads is really interesting and I didn't know about it. Thank you!

To be fair, 350 is low. Don't semis vary around 150 gallons of fuel capacity? There will also be a balance to update roads vs choosing rail in a multimodal logistic chain. Maybe the smaller EV range would be appropriate there for last mile. Anyway, I know it's complicated but I sure hope we solve this urgently.
To censor the internet, 10 countries use Netsweeper filtering technology
Why shouldn't they?

Or, to be more direct about it, why do you have a condescending attitude towards PHP and PHP developers?
And also the fact that the people who used a similar strategy to trade and only ever lost money are posting about it.
European here. After moving I was commuting for about 105 minutes with public transport, about 70 minutes by car. Was using public transport most of the time though, but I couldn't do this more than a few months. There is so much time and money that goes into commuting, it is insane... Going to the doctor/bank/shopping/etc. was always problematic because then I would have to stay in the company late into the night. When you come home you are just tired and want to rest. Pay wasn't even in the near of being good enough to justify that.

Right now I am working from home which (after some months of experience) I enjoy much more. Also got a substantial pay raise when changing jobs and at the same time save money on the commute.

Still glad I was at my old job since it got me into another field of software engineering and I learned a lot. Don't think I would've got my current job without it.
Somewear: limitless communication built for adventure
Designing the right stock option plan
And secure chat applications can be easily installed. The whole kerfuffle here is about defaults.
If Easton was the only place from which to commute to NYC. And only if you drive yourself, and there's no traffic.

I'm talking about people who commute from Bethlehem - 180 miles away. Or from Oxford, CT - over three hours each way.[0]

Back in the 80's, NJ Transit had some bus routes that took a minimum of two hours (194, 195). I don't know if they're still running, though.

[0] https://www.nytimes.com/2017/07/21/realestate/extreme-commut...
Paying for more preventative care, instead of the care required in the ER after the health issue became too serious, should help bring costs down.
Non-issue for the companies in question. Not a huge issue for the NYSE itself, but not a complete non-issue either. If it's an isolated issue that never recurs, who cares, but if they start having more issues of this sort, it could add up to reputational damage. So not a big issue, certainly, but potentially not completely a non-issue either (for the NYSE).
Few programmers are doing that.. you can rent 3 bedroom homes for under $4k within 20 minute driving distance of any job.

The super commuters tend to be lower paid workers.
‘E-waste’ activist gets 15 months in prison for selling Windows restore disks
I guess Zuck downvoted me for misquoting him.

He still owes me $100 from 2004, can I get that back in 2004 FB Stock $100 equivlant?
It's hard to argue about not using const, but can you remember any time where const actually prevented a bug !?
I've found if the teams have mostly senior engineers there is very little need for meetings. In my current situation we just have one meetings per week to discuss status and priorities. Everything else is slack chats and adhoc meetings among individuals as needed. Mostly everyone is in sync on what is the right thing to do or if not, hash it out in a quick discussion.
I posted this on another thread, but this is the crucial point:

>The original Microsoft (COA) attached to the PC does not allow you to reload Microsoft Windows software when no original recovery media is present.

https://blogs.msdn.microsoft.com/mssmallbiz/2011/10/05/looki...

So the $25 doesn't come with a license. It gives you the physical media to comply with the license that came with the computer.
Take home is closer to $10k. I'm assuming he's including 401k as part of his savings as well
if you delta hedge (ie taking opposing positions in the underlying and the derivative, ie selling a call and buying the stock and then constantly readjusting your position), you can protect yourself against small / normal changes in price of the underlying, but if there are big jumps in the underlying, and acceleration of delta (ie gamma) you can lose a lot.
A SWE in London makes like the equivalent of like USD$65K or something. I think that wages are just much lower across the board for skilled labor once you leave the major cities in the USA.

(I'm curious how this shakes out on the low end, and if it's just that in the USA, skilled labor captures more of the total labor compensation than in the UK, 'cause I didn't think our per-capita gdp was that far off. In silicon valley, unskilled labor pays around USD$15/hr. the rest of the country it's closer to USD$8/hr. There are a lot of people who try to live on that. What would the equivalent be in London?)
If you don't mind me asking...how? I imagine you would have to be coming from far north to South Austin in order to reach that level of commute.
Make a Brushless Motor from a Fidget Spinner [video]
Anecdata: I signed the contract yesterday for a small Somerville single-family, near the Cambridge line, for just over $700k. I'm expecting to put $200k+ into it. If a developer got their hands on it, they would expand the square footage to the maximum possible extent, put in the trendiest appliances and finishes, and flip it for > $1m. That seems to be the economically rational thing for them to do in this market.

But I lock in a 20-25 minute bike ride (or 50-minute walk + public transit ride in winter) to work in the Seaport. I saw I-93 at rush hour once, and I shudder at the memory.

At least part of my reasoning was, "What if Amazon does choose Boston? Do I move my family into a second or third floor condo with no yard at all?"
It's a classic prisoner's dilemma. If everywhere built housing, traffic would get better everywhere, but no one individually has an incentive to build it because on its own it makes traffic in the immediate vicinity worse.
When did I say webassembly was more acceptable than flash?
Yes and no. The two comments leading up to my first comment was one suggesting that you could achieve a similar effect by simply closing a damn, followed by one implying that did not take power out of the grid. My first comment then stated:

> You are taking power off the grid: The power otherwise produced by the hydro plant.
>
> Of course with a lower reservoir, you can go into negative territory instead of "just" taking the plant down to 0.

In other words, my point from the beginning was that there is - absent transmissions limitations - no conceptual difference in the outcome of stopping a damn and pumping into a reservoir, as I've gone into at great length in the subsequent comments.
That may be true for some applications, but in general the FPS meter isn't the only thing that cares about wall time.
I personally find the "grit" of looking at my spreadsheet helps keep me more aware of my spending (and consequently spend less). Python is an interesting take as well.
The government. I don't trust the market to create a humane, compassionate system.

I don't even trust the market to create an efficient system.

I trust the market to be adjusted by the wealthy to further enrich themselves.

I also trust the government to be the one organized group of people that can restrain that market, to give the rest of us a chance.
Not literally "next door." Closer than a 90-minute commute. It's strange that you would read it that way. (What if the restaurant weren't on a residential street, or the two houses next door to it were already rented?)
I think that's what mobx is all about. I create a simple Javascript class called WhateverStore and make it observable. Then all the UI components are observer of an instantiated WhateverStore and that's about it.
>yes, but by train, where you can actually accomplish a lot of things you cannot accomplish while driving.

Most of the road warriors drive. Only a lucky minority live near where the trains run.
If you're single I can see the advantages (beyond the obvious financial savings) of sharing an apartment. Doesn't really work as a couple/family.

I was saving much less per month because as a couple we rented our own single bedroom apartment and my SO doesn't work. However, we still managed to save enough in 5 years (while still not having sold most of the vested equity) to buy a house in the Bay Area. So I agree that the pay is worth the hassle, so far at least.

I'm curious how much you spend for food monthly (including restaurants)? Somewhat surprisingly this is the highest cost for us, after rent/mortgage, and we do cook a lot at home (go out maybe twice a month).
A fool would judge their algorithm based on ANY single year's performance--up down or sideways. Moving averages over 5 or 10 years are what matter.

Check out Berkshire Hathaway's performance. There are plenty of years they have UNDER performed. But they are doing OK.

http://www.berkshirehathaway.com/letters/2017ltr.pdf
Almost. It evaluates JS expressions (not statements). It's a minor distinction but trips a lot of people up.
Spending three hours of every day stuck in a car. Ugh. I don't care if I have to take a huge pay-cut; I'm never opting in to that kind of lifestyle.
> The permission (via zoning and permitting) is part of the cost.

But if the gatekeepers aren't willing to grant permission, then that cost is ∞
In re: the heart and introspection, I'd like to describe a phenomenon I've encountered during structured meditation / self-hypnosis. Please be advised that this may be dangerous. If you experiment with this please be careful.

Normally, your nervous system adjusts subjective perception to attenuate the sensations of your heart beating (also breathing.) With training and practice it is possible to become consciously aware of the physical fact of the hydrodynamic pulsations that are, have been, and will be a constant feature of your human life. The simplest foot-in-the-door thing to do is to feel your pulse (i.e. put your fingers of one hand on the right spot on the wrist of your other hand) as you enter a hypnotic trance.

The specific phenomenon I want to mention is that, as my consciousness became more and more fully aware of the pulse throughout my body I got closer and closer to "touching my heart with my mind" (I don't know how else to describe it.) The heart and circulatory system experienced from within is an incredible potent living energy flow. It was so deep and intense that I never fully merged with it, instead getting "jerked awake" like when you're dreaming and you start to fall and suddenly wake up instead.

If you experiment please be careful, and whatever you do don't force it: who can say if you might not give yourself some sort of cardiac arrest by wiring up the information flows in your nervous system the wrong way?

I think it's worth pointing out in this connection that Gurdjieff described hypnosis as being caused by a change in the usual pressure of blood flow.
Much of it is about what is trendy, what is the cultural mecca of the moment. Unfortunately the overcrowded west coast continues to dominate the trendseekers mindset, which is why you have ridiculous housing prices all over, a severe homeless crisis, terrible traffic, and rampant overcrowding.

Make the midwest, south, and NE "cool" and trendy, and all the trendseekers who endlessly trucked out to the west coast will suddenly discover how "amazing" and "cool" - and ridiculously affordable - Columbus Ohio, Shreveport LA, Rochester NY, or Madison WI are. The price of a downpayment in any west coast state will buy the entire home - cash - in those locations, and in many cases you'll have money left over.
Also, you can pick up on the body language of people. When I want to discuss something with one of my colleagues, I can glance over at their desk and see if they're focused on something or just staring out of the window, waiting for something to compile. That way I don't have to rip him out of his focus like I would usually have to do with Slack etc.
It's been my experience that the first season of a Netflix show is usually worth watching, but each season the quality of the show declines.

However, I would agree with you that their drive for quantity has resulted in a very low-quality slate of new shoes over the past two television seasons.
Ironic you claim to stand up for dissent in China but so quickly insinuate 'propaganda' when it comes dissent here. Doesn't seem democratic.

Speaking of misbehavior Iraq, Libya and Syria have been destroyed, hundreds of thousands killed and the countries set back decades if not centuries on completely made up premises. This is not just misbehavior, these are crimes against humanity that are happening right now. Yet some seem more concerned about Tienanmen square.
Boeing and Airbus, the new ‘super duopoly’
Sure, I guess my issue was more with the headline. It sure sounds dramatic to say trading is suspended.
To forestall responses decrying "Manhattanization," remember that every borough of New York City (except Staten Island) has a higher population density than San Francisco. San Francisco could add a couple hundred thousand people if just got as dense as Queens. At Brooklyn's density, the population would double.