skysight-inc/HackerNews huggingface dataset:
Depression is really not something you can necessarily glean from being around people, especially in an office environment. I imagine the same is largely true for alcoholism as well.
Biggest upsides (+) along with flipsides (-) of working at home in my experience:

------------

+: Get to define your own hours for the most part

-: Convince your partner and friends these hours are real and you're not just making them up as an excuse to ignore them

------------

+: Can work in your pajamas

-: End up looking like a bum when someone swings by

------------

+: Get to spend more time with the kids

-: Young kids (mine are 1.5 and 3yrs) have absolutely no respect for what you're doing (my boys seem to have some sort of sixth sense to tell when I'm debugging & they'll have none of it)

------------

+: Team discussions and communication tend to have more thought and planning put into them

-: Some simple questions/coordination become games of phone tag and far-more drawn out then necessary

------------

+: No commute

-: Home doesn't feel as relaxing when you've been working in it all day

------------

For me, ideally there would be a happy balance. Maybe one and a half office days a week and the rest from home. I do mostly enjoy working from home.
toomuchtodo is a Tesla investor, so pay no attention to the naysaying as it's motivated by conflict of interest.
Ask HN: Do you think career and family is either-or?
do you think career and family is either-or, meaning you have to choose either one and sacrifice the other?

If you have a strong career ambition and have also raised a big family (more than 1 kid, and spouse doesn't work), do you feel that family is a career obstacle or a booster?

In the middle of your life, have you regretted about your choice and wondered what life would be like if you had chosen the other option?

Do you think, as an entrepreneur, a family is a necessary part of your life to hold you together when you fall? and to have a purpose to entrepreneurship in the first place?

I do not have a family yet. But I'm at the right age (if not already late) to form a family and I'm facing life choices.

I have talked with few close friends who are also young parents. Their ambitions seem to be exhausted by their kids and family. As an example, one of my friends told me, the only time he has on his own is after 10pm, as he needs to put his kids into bed first. And often before he has done it, he is too exhausted and fall asleep first.

This is a life I fear a lot. I have a strong ambition to be a good entrepreneur, but my partner would like a big family. Can our goals still meet?

I know many successful entrepreneurs have a harmonic (Zuckerberg, Gates) family too. But those entrepreneurs started early in their life during their 20s. They had accumulated lots of resources before forming a family. With those resources, they have less pressure.

What do you think?
This works for me in TIO:

public class App { public static void Main(string[] args) { System.Console.WriteLine("Hello World"); } }
From that description it sounds nightmarish.
Yep, I'm using pbkdf2-hmac-sha256 which is not just sha-256. The 2nd link you posted mentions pbkdf2.
Re: firearms

Whether guns are 'niche' are not is to some extent dictated by culture and existing legislation.. In DC, they were all but banned until recently, and I believe still are hard to come by.. big surprise, they are very 'niche' (unless, as you said, you were in a gang or illicit drug industry)

Places where this is not the case and where you will find as you call them 'gun nuts', they are very common, and it is to some extent more 'niche' to be a gun restriction advocate, who, from this perspective are 'gun control nuts'. Or at least the two are more balanced ends of a spectrum.

Many people in the latter category still view firearms as a necessary check on government power, and those who advocate gun control as wishing to remove this check, much along the same logic as you support in your argument against encryption control.

As for whether guns could or could not be an effective check on government power in the modern 'high tech' age - see just about any ground conflict against armed insurgents the US has tried to involve itself in in the past 50 or so years.. while it hasn't always gone the way of the 'enemies', it has rarely been smooth sailing..

It is no surprise that some of the biggest restrictions against firearms have come during periods of rebellion/lawlessness - prohibition and gangs (1938 act) and the turmoil of the late 60's (1968 act)..

I fail to see how your line of reasoning doesn't lead to a future where encryption should be banned because the state can crack it anyway..
Don't need omz for autocomplete, it's already there in zsh. I TBH don't really like omz. It feels bloated, and I don't really need anything else on top of the already-awesome zsh.
PasswordSafe - https://pwsafe.org

I use the open source version on Linux and Windows, and https://pwsafe.info on Mac and iOS, all syncing through Dropbox.
What an AI Researcher Fears about AI
Empathy Prompts
Refactor the law
They could also try a policy of not arresting developers who contribute fixes back to GPL projects too.
Misleading title. Should be "Chemicals in boxed mac and cheese". It's entirely possible (and way more delicious!) to make mac and cheese from scratch in a very little amount of time
That article is pure speculation. There is no evidence whatsoever presented to support that
Oh, I know exactly what you're talking about. I've seen Jinja code that assumes "Jinja has this feature, so I should use it."

I'm not sure that's the template language's fault and more than Python is responsible for Python code that goes metaclass happy for no reason.
Aesthetically, this is entirely beautiful. It's rare to come across something so well thought out.
Huh? He did more than a lifetime of work, and happened to do it early in life. It sounds like he worked on whatever was interesting to him. If those things weren't interesting to others, so be it.

I find it very odd that you would call this a bad example and relate it to the relatively prosaic idea of "shipping". Shipping is good when you need feedback, but that's not the kind work he was doing.
Linux laptops should be fine--no one can ever get Broadcom working on Linux anyway.
I have 2 kids, and working from home has only been positive for me - I think the key is having a dedicated office room with a door. When I'm working, I'm working. I'm upstairs in my office, my wife and kids are downstairs, so noise isn't a problem.

I don't have to commute, so I save money, get to have breakfast and lunch with my wife and kids (and help out), and after work I have time to cook us a healthy meal from scratch (I actually enjoy cooking too).

I have a fiber internet connection, so no issues on that front.

I honestly have far more distractions on the 1 day a week I go into the office (which is open plan and includes a co-worker who does little but chat all day...).
Malandrew is an Uber employee.
I loved the star wars demo. wish there was a way to save the animation as video
cat /etc/passwd

root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
operator:x:11:0:operator:/root:/sbin/nologin
games:x:12:100:games:/usr/games:/sbin/nologin
ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
nobody:x:99:99:Nobody:/:/sbin/nologin
systemd-timesync:x:999:998:systemd Time Synchronization:/:/sbin/nologin
systemd-network:x:192:192:systemd Network Management:/:/sbin/nologin
systemd-resolve:x:193:193:systemd Resolver:/:/sbin/nologin
dbus:x:81:81:System message bus:/:/sbin/nologin
polkitd:x:998:997:User for polkitd:/:/sbin/nologin
rpc:x:32:32:Rpcbind Daemon:/var/lib/rpcbind:/sbin/nologin
abrt:x:173:173::/etc/abrt:/sbin/nologin
sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
cockpit-ws:x:997:995:User for cockpit-ws:/:/sbin/nologin
rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin
nfsnobody:x:65534:65534:Anonymous NFS User:/var/lib/nfs:/sbin/nologin
tss:x:59:59:Account used by the trousers package to sandbox the tcsd daemon:/dev/null:/sbin/nologin
chrony:x:996:994::/var/lib/chrony:/sbin/nologin
tcpdump:x:72:72::/:/sbin/nologin
systemd-coredump:x:993:993:systemd Core Dumper:/:/sbin/nologin
apache:x:48:48:Apache:/usr/share/httpd:/sbin/nologin
epmd:x:992:991:Erlang Port Mapper Daemon:/dev/null:/sbin/nologin
runner:x:1000:1000::/home/runner:/bin/bash
tio:x:1001:1001::/home/tio:/bin/bash
Flight 1549, which famously landed on the Hudson River in 2009, had its engines disabled by ingesting a few geese:

https://en.wikipedia.org/wiki/US_Airways_Flight_1549
Here's what they didn't say...

DHS shares all data with other groups. If those groups don't erase them then, well... they at least can say they delete them.
Pug templates(https://pugjs.org/api/getting-started.html) are fairly nice.

The main dlang web framework, vibe.d, uses a 1:1 copy called "diet" templates (You can insert D code to be run on the server, with the arguments given to the HTTP request/response). This works very well IMO, mainly because D is a very good programming language, so you can mix very fast / expressive D code with your regular JS for client side work.
I think it's pretty simple to make the case for goto, or any construct, being harmful in a work environment. Code is ultimately social, and if your colleagues find it difficult to read or use, then by definition it is harmful.

For another example, I love functional programming, but my colleagues hate it. It is, by definition, harmful for me to use at work.
It's kind of common sense right? (Or maybe not). If your employer trusts you to work remotely, theres an obligation to be responsive, or at the very least be clear about times when you're going to be unavailable. To me, that's just basic professionalism. These people are paying significant money for your services, you can't treat that casually.
FAT Python: the next chapter in Python optimization
Sure, but doesn't that pretty much describe the entirety of our existence? People with money/sway have more power than those who have neither. I don't see that ever changing.
I have the option to work from home, but I almost exclusively work in the office now. Even though the open concept can sometimes be distracting, I am much more productive and happier at the office. On the occasion when I do work from home, I end up working longer hours, feel like I accomplished less, and am more tired.
Can someone explain to me why we haven't normalized html templating with a Pug-like syntax (formally Jade)?

My perceived benefits of Pug/Jade:

* Significantly fewer LOC

* Improved Readability

* A lot of existing tooling thanks to its popularity in the NodeJS community
Apples and oranges. (Or fruits and oranges?) JSX can only do XML; Jinja is for arbitrary text.
I usually go the high route and write something insightful or informative on HN. However, the only thing that comes to mind after reading this are phrases like "What a fucking nut", or "Did no one review his speech for him, because they were too busy pulling the stuck fruit loops from his nose?"

Australia, shame on you for letting this moron take up this position of power. Oh wait.... I live in the USA.... Shame on me too.
Colleges conflate college with professional school. The first time I visited my alma mater as a high school senior, I told them I wanted to be a programmer when I grew up, and they said "You'll want our computer science program, then." Nobody ever recommended me to a technical school instead, or told me that the CS program would teach me very basic programming, lots of academically interesting stuff about operating systems and electronics and math, and practically nothing that prepared me for a career.

They were perfectly happy to take my money and let me believe that I was learning professional skills.
The versioning system I use now
Every time I read an article like this, I'm reminded of Michael Pollan's writings on food. His advice, even though I read it years and years ago, has stood the test of time for me:

> Eat food. Not too much. Mostly plants.

http://www.nytimes.com/2007/01/28/magazine/28nutritionism.t....
In my case, I had a supervisor magic-up a title promotion for himself based on seniority. He started telling everyone he was "the lead supervisor" including his peers. His peer, my direct supervisor, told me to escalate work/issues to the "lead supervisor" before our manager. When I did check with HR/higher management, they were flummoxed.
How changing my name to “Spider Mann” ruined my life
“This cell phone doesn't have a battery and never needs to be charged.”
> "No Thanks, I Don't Want to Learn More"

Very surprised to see First Round resort to guilt/shame when readers opt-out of their full-screen email signup modal

Honestly, even if I wanted to sign up for this list, just seeing that button would change my mind. And I assume many people in their target audience would feel similarly.

Since this is on the site, I assume it "performs better" than alternative designs. But this is probably just looking at one metric: how many people sign up.

It overlooks the fact that a higher percentage of people who don't sign up now think less of First Round.
When I was a child, for various reasons, I was quite a chow hound. I've long wondered if whether or not things like phthalates and BPA had significant effects on my growing body; I had a lot of less-than-masculine features to my body, some of which is correctable and some not. It could very well be that being an overweight adolescent meant that excess body fat caused me to have too much estrogen, but perhaps there was more going on. Maybe I'd have more androgen receptors by now and I'd be able to work less for the same muscle mass. IDK

At the same time, I don't think I can really say that the amount of any of these chemicals in mac-n-cheese would make me avoid it outright. Really, you should only be occasionally eating junk food link mac-n-cheese, and the amount of anything you would have in a box every week or two is not going to make a lick of difference to your endocrine system. Perhaps it's particularly bad for the poor who eat lots of cheap junk like Kraft products, but there are also far cheaper and healthier ways to get your nutrition – rice, beans, real butter, and actual cheese alone are much more cost effective than buying boxes of mac-n-cheese; just visit a Mexican market and you'll see what I mean.
I'm also wondering about this.

I have seen some service where you can list very thing you need translations as a list. And hire others to translate them for you. And generate code to embed the translations into your app.

but I don't remember the name of the service.
I find complaints about wait times for minor issues to substantially underplay the incredible waste, suffering, and death which happens in the US system. Yes, the NHS and similar systems are not perfect. But to conclude with "This disabused me of any notion that publicly-provided healthcare is automatically superior" is, to me, trying to put the two on an equal footing which they very much do not deserve.

Maybe I've misunderstood the point they're making, but it sure seems to be saying, well, we could stop bankrupting and killing people for no good reason, but you may want to reconsider, because you might end up waiting several weeks for a non-urgent x-ray.

I realize that even non-urgent conditions can cause great suffering. But how does that suffering compare to dying from an easily treatable condition because you couldn't afford a doctor? If you can fix the latter at the expense of the former, is that not superior?

Especially since the workaround for long wait times seems to be to pay for quicker private care. If you have that option, then is it actually worse at all? You go from "pay to be seen quickly, or die" to "pay to be seen quickly, or wait." Seems like an improvement.
Thank you for your feedback. I work for IBM and would like to share the details with our product team so that we can improve. What were your issues with Jazz Team Concert and how do you think we can do better next time?
I use passpack to generate/store passwords, remember them in Firefox, and let Firefox Sync get them onto my different devices. Works pretty well!

My host of devices includes multiple laptops (Linux, OS X) and many different phones - both Android and iOS. Since Firefox runs everywhere, this works nicely. Firefox Sync has end-to-end encryption, but data stored at-rest on devices is guarded purely by physical access, which is fine for my use cases.
I'd like to hear more about:

- the broken mix of pythonisms
- the arbitrary-feeling restrictions
- the oddly missing pieces

Because I can't find any.
I live in Boise, and work at a software startup.

I personally do not think this will have much of an effect on the "startup scene" because the vast majority of the people working at companies that would possibly enforce non-competes such as Micron or HP do not come to work at "startups", because of performance on skills-tests or cultural fit.

I've met a lot of the leadership for various startups in the Treasure Valley, and suing someone over changing employers would be the antithesis of the values they hold, there is one exception I could think of - BlackBox VR (very early stage) somebody leaving them for a competitor could be pretty bad!

I have met startups brag about losing employees to Amazon and Google though.
Did Airbnb Kill the Mountain Town?
I have direct and very recent experience with the patent group at the firm mentioned in the article (WSGR) because my company is suing their client, but I think the following needs to be stated about all law firms.

True, law is an incredibly stressful profession. True, it selects for competitive people. True, the hours can be crushing. But few other professions reward individuals for lying so much.

Patent lawyers and most other lawyers lie day in, day out. Often their job cannot be done without lying. They lie to clients (overbilling), colleagues (opposing counsel), judges at every level, and as the article points out, their families. Often the lies are in print. It's essentially a prerequisite to rationalize these lies as "argumentation" or viewpoint, but often they're just lies. For most people who are not complete sociopaths, lying takes a toll. It's not at all surprising to see that it can add up in frightening ways.
You should check out the difference between Level 2 and Level 3 -- they're different.
I can't give an opinion on it, but my wife likes http://www.ursasoftware.com/WinStitch/WinStitch.html quite a bit.
That's fair.

What got me thinking about these ideas were cases where having a distributed frontend felt overengineered. If you have problems where GraphQL makes sense, this would be a step in the wrong direction.
Serge Aleynikov, you're awesome and everyone here loves you. Thanks for all your hard work and open source contributions.

https://github.com/saleyn
CubeHash160-16/32-160-h and CubeHash16-16/32-32-h, Daniel J. Bernstein – C99
I still don't understand the almost violent resistance to noncompetes. If they are "you can't work otherwise" then sure... it if it's literally that you can't go work for a direct competitor or take their clients to start your own I don't see the issue. That's more a matter of ethics than anything else and seems perfectly reasonable for a limited period of time (6 months to a year).
"One of the first things I learned is that there is little research on lawyers and drug abuse."

Or really any other profession. I work in politics, in DC, and drug abuse is rampant. Absolutely horrible. I've found people snorting pills in the bathroom, steps away from the offices of members of congress. Adderall, cocaine, Xanax, and a myriad of painkillers is the norm. Having to shake a colleague awake and pour coffee into him because he was so jazzed on adderall all of the previous day, that he had to drink himself into a drunken stupor just to fall asleep. Now it's 8am and he needed to be at a committee hearing in two hours. It's under reported and invisible.

I think highly stressful jobs bring out a "solutions" mentality. Drugs help. With sleep, with productivity, with being on the ball....until they don't....
How so?

Do you have any links for this? it sounds pretty bad, but I guess there are certain nuances to it?
Sheet of paper and pen.

Change it every 3 years or so.

Reset my passwords often, have to use my email often.
Why don't you think polling scales? I would argue the exact opposite that polling scales great. To a public api can you cache to your hearts delight. To a private api you can shard away.
This was on Eric Goldman's blog and I thought it nicely illustrated the notion of different contexts. Here is this guy who thinks "Wouldn't it be cool to have a name like Spider Mann?" and went ahead and changed his name.
Yeah I knew someone would pull the China card, being a communist country that doesn't even pretend to support western ideas of freedoms they're obviously an exception
That was a good TNG episode.
The worst part for me in that the DHS likely spent billions of dollars on this solution that is likely riddled with software and hardware bugs and will ultimately catch less then a dozen petty criminals in its lifespan. Meanwhile the raw data on innocent citizens will be harvested and at best analyzed and stored indefinitely by the NSA and similar agencies, at worst it will be sold to the highest bidder - and then shortly after to any bidder.
When I see JSX in a project I can't help but notice how similar it is to PHP pages that inline all the applications logic with the template making it unreadable. When it comes to react I think JSX is even worse than PHP when javascript objects are passed in and out of JSX directives. It is so hard to debug, and a nightmare to read.
Probably just the cost of making high-quality ports of Pug in every language.
Freedom (global)
I recently did a bunch of research into password managers, and went with Keepassxc as well. I'm using Syncthing to sync the password archive across Linux, Mac, Android, and Windows devices. The whole setup is working very well and is all open source.
I got Kotlin right, but only because I happened to see some Kotlin code (due to the somewhat recent HN thread about it, based on a post by Steve Yegge), else might have got it wrong, due to maybe thinking Kotlin syntax would likely be similar to Java.

On second thoughts, though, I guess there is no need for a JVM language's syntax to resemble Java's (much, anyway). E.g. Jython, JRuby, Groovy, etc.
Qualified middle managers are not easier to get than programmers, in my experience. And if they (and their reports) are qualified, they'll not micromanage, nor need to.
Misleading summary. Should be "Chemicals in fatty foods that come in contact with plastics, particularly cheese, and especially cheese powder." As the article (eventually) notes:

Since they bind with fats, they tend to build up in fatty foods, including not just cheese but baked goods, infant formula, meats, oils and fats, and fast food, studies show.

So these chemicals are present in concentrations four times higher than in block cheeses (probably due to all the extra processing), but they aren't absent in real cheese (or other products).
It seems to me like headless browsing (now in Node) will make it pretty easy to construct your page using the DOM directly on the server without scattered logic and DSLs.
Very ambitious too!

Right now, the emphasis is on a CTO, artificial intelligence, machine learning, cryptocurreny and internationalization.
Define "few" and I'll define "a lot". ;-)