skysight-inc/HackerNews huggingface dataset:
Many large corporations I have worked for offer similar services for years

My current job offers me yearly therapist/psychiatrist dollars that can be utilized as part of benefits packages as well as online phone chat with therapist and counselors.
they have been offering this for at least 8 years (maybe even earlier, but they just didnt advertise it)

It is done through 3rd party services through our company health insurance and benefits package.

actually going to see a psychiatrist is completely confidential, as i goto any psychiatrist i find and i simply get re-reimbursed the dollars.
my company is not involved at all and doesnt know about it (unless there is a re-imbursement issue which i have to engage HR to figure out, but they still do not know the details of who i went to see and why, i just give them a receipt to chase down with the insurance company)

and the online/chat/phone counselling is completely anonymous besides mentioning the company codes during signup (not distinct to me, same code used by 20,000+ employees and i can signup using any alias that my company does not know).

these services are also extended to my immediate family aswell.

edit:
i would not trust a company employed psychiatrist ever as some have outlined their experiences, that person is on the company dollar and you are not in a real confidentiality scenario. essentially they are just advisors/counsellors in HR on the company dollar with company interests in stake, not your personal health, typically without any confidentiality agreement.

utilize services through your health insurance and never directly with your employer.

edit2:
just wanted to add that just in general, if health insurance/benefits packages are important to you and weighs in on taking the job, ensure that the health insurance is through a 3rd party company not in which your employer would directly re-reimburse you at their discretion. there should be a distinct line between.

Edit3:
Confidentiality issues aside, I especially would not want to discuss potential therapeutic/psychiatric/mental state issues with someone you might interact with at work outside of your session ( bump into them while getting coffee in the cafeteria at the office, see them interacting with other employees casually cause they are colleagues and not a patient).

Need a separation personally
That may be true in some cases but you'd be very surprised at the amount of discretion and leeway available in case they actually want someone and a recruiter contacting you is a sign that the hook is baited and that you should negotiate to your best abilities.

Revealing your current salary is dumb because (1) it blows your negotiation position to kingdom come and (2) it tells them something they can use against other candidates as well that are better at negotiations than you.

If you want to believe that all salaries are equal within narrowly defined bands ask yourself this: who benefits from such an arrangement and what can I do about it?
Widetraffic Ad Network
Show HN: Tell Me More – Look up terms in Wikipedia without leaving the page
> Cream rises to the top

This comes close to associating some moral character to success, which is something I find dangerous.

I think it is more helpful to say that these people had extensive networks among their leadership group and had experience and skills in management of people and situations, persuasion, and goal-directed achievement. Perhaps also darker skills which can lead to business success, such as intimidation, extortion, fraud, etc - I don't know to what degree any or all of those skills were present.
It's also odd that Australians need a 'visa' to visit the US for the same reasons. Yet we still need ESTAs (which are essentially the same as the electronic visas Americans require).
Show HN: Custom Font Icons – Crowd-Commissioned Icons That Match Font Awesome
So what happens when you find yourself running on a CPU that wasn't in your initial affinity mask?

Also, the "sleep for 1 ms" approach used in `init()` looks wrong -- if `sched_setaffinity()` doesn't guarantee that the calling task has been migrated to one of the target CPUs on return (which I suspect it does), I don't think sleeping for a millisecond is going to change anything.
Personally, I'm very excited about electric vehicles. There are five in my family, so we have a big vehicle. So, to move something the size of a Suburban is a necessity. The Tesla Model X looks like a possibility.
Good point. This is now totally true. It was not the case last year when I had to make this decision. The resources available is rich today.
I'm tempted to assume that the lossless part is coming from the reporting side (probably influenced by the TV show too), rather than the project itself.
I've read the manual and I'm currently reviewing the book - the book is a lot more in-depth than the user manual and starts further in (chapter 1 drops you right in with environment variables, there's no introduction to make, what it does, GNU Make vs other build systems etc.).
Show HN: A web app to show the current speed limit
No, I'm not referring to tools that crawl the site. I'm referring to the fact that simply replacing a bunch of working code to placate one segment of users will surely create issues elsewhere. Crawlers are a (small) subset of that. Pleasing everybody on a fixed budget is impossible.
Comments Mean Failure
Can you review our platform?
With the advent of public transport, it looks like more people are moving to the city. This may also take into account people not needing to own cars, because of the ease of use of Lyft and Uber.
Maybe it's using only the egg white and not the yolk?
Have you seen the ingredients list? Hellman's doesn't resemble the real stuff (they even have the gall to call it 'REAL'):

"Soybean oil, water, whole eggs and egg yolks, vinegar, salt, sugar, lemon juice, natural flavors"

Compare to a recipe (http://www.theguardian.com/lifeandstyle/wordofmouth/2010/jul...)

2 egg yolks
Generous pinch of salt
250ml groundnut or sunflower oil
25ml extra virgin olive, walnut or rapeseed oil
1 tbsp mustard of your choice (or 1tsp mustard powder)
1 clove garlic, crushed (optional)
1 tbsp white wine vinegar or lemon juice

The mustard, olive oil, presumably more egg yolk and mustard must contribute to the colour.
Likely one area that leads many to underestimate their caloric intake. It is present on a great many sandwiches served by fast and sit down restaurants. I always remember the day one of our supposedly healthy eaters declared he had purchased a market fresh club sandwich and he had them make it healthy by not putting the bacon on it. A little trip to the company's own website showed that the mayonnaise contribute more than half again the calories of the bacon.

The article did highlight just how wide spread its usage is, I am amazed of what people use it for. Pizza?

I will stick with the derivative I grew up on, Miracle Whip. For some reason straight mayo doesn't work for me.
Could you sketch out how you think it's relevant?
The normal version of this is "employee assistance program", but that's mainly designed for people with drug/alcohol/etc. problems. Often provided by the health insurance companies, or other benefits. It probably is paid for with <$1/employee/month by the employer.
'Inequality Is a Choice'
Developer challenges Russell Brand to put his money where his mouth is
Either way, giving you things to think about and work on allows you to demonstrate your strengths. And whether you "approach problems by trying to build a solution out of pieces from other areas," or by "breaking the overall thing into pieces and figuring out what the pieces look like", either way, you will have techniques for doing what you're doing, and such techniques are visible when you work on a problem.
Holy Trinity of Whistleblowers
ScrollJacking is InterfaceJacking
One of the advantages is the ability to run a different database during local development / testing from your production systems (say H2 locally vs. DB2 running in production). Personally, I view this to be an anti-pattern, but some people have to work with systems like this.
A completely different suggestion: Neither - learn C# and use Xamarin. Lower learning curve than both Swift and Objective-C, you can port your apps to other platforms more easily, and your new skill will be applicable across paradigms beyond iOS development.
Ask them point blank. What's the culture like here? If I fail, admit it and fix it is there repercussions? How do you guys help newbee people come up to speed? What would my first week be like? Are there any company outings? Is it looked upon bad if I don't go cause I am busy? Are there any normal weekly events that happen? Is it frowned upon to write code outside of work for myself or open source? etc.

Visually: What's the environment look like? Do you see anybody laughing and having a good time, or is everyone's head down into their desk and not looking up? Are the machines old? Are the work environments nice (even if dated) etc. Look at how many layers of management there are.

BTW -- any awkward pauses on the questions or doubts on the visual and you already have an answer.
Hi all, the developer here. If you have any questions or comments or would like to help in any way, I'm all ears.
Actually, parent is somewhat incorrect here in my own experience. Possibly because he's based in Asia or in the UK. The trend in Europe, from where I stand, is to expect trilingual employees for a growing number of professions (native language, English, and something else) and bilingual employees (native language and indeed English) for a great many others.
The main problem is that someone isn't a client until you're taking their money.

People ask me to take their money to help them solve their website problems, which are actually their business problems, which are actually their life problems. They do this when they find out I'm a coder, that automatically confers upon me a magical ability to fix their lives. This typically happens in the context of a bar conversation. I tell them, "no, I generally don't moonlight unless there's at least $5K involved, but, hey, as long as we're here, tell me what's going on and I'll see if I can help you."

So we unwind their problems a little bit. Inevitably there's a lot of emotion stored up and I'll encourage them to release it with some 'tough love', letting them know that without either a good bit of capital or a lot more willingness to figure hard things out on their own on their part, they're not going to achieve their goals, and they need to acquire one or the other if they want to find success.

Tears start flowing, catharsis happens, no, I still won't take your money. Accounting headache, you see. Tell you what, if you can do X, Y, and Z, to get this monkey off your back and learn something truly useful, then give me a call in a month and you can buy me a few beers and we'll talk next steps.

I call this 'community outreach'. Happens roughly twice a month, ever since I started taking my laptop to the bar. Someone in a bad situation can always count on my Houston air traffic controller delivery of the hard truths of trying to make money on the Internet. Thought about building a business around it, maybe if I find the right partner...
So, git hooked up to inotify?
According to Wikipedia [1] ("which never lies"):

> He was the original author of Turbo Pascal and the chief architect of Delphi. He currently works for Microsoft as the lead architect of C#[1] and core developer on TypeScript.

[1]: https://en.wikipedia.org/wiki/Anders_Hejlsberg
What you fail to analyze is why MS got that way. They got there because they dropped the ball on IE post XP.

When MS stretched violently with IE 6 back then, they changed the web landscape forever, they were light years ahead of competition. The practically invented AJAX. If MS can do with Edge what they did with IE 6, the future is very bright.

Since IE 6, most changes in web technology has been incremental. The powerful changes like WebGL are not enough mainstream. MS was, and still is, in power of forwarding things fast. So when you look at it like that, this is all good news.
The yolk (and its lecithin) is supposed to be a key component though. And I don't think the white has any.
"There's plenty of lower grade sources available."

Energy intensity always goes up with lower grade sources. Its not just raw "jackhammer power" or whatever the material is pumped or drilled out with, but all the related costs of transport and especially labor. For example if you need to pay your employees enough to survive during an era of $400/barrel oil, then that resource may simply be un extractable. Too many economic projections are based on absolutely everything staying the way it is other than... (insert commodity) increasing price to 5 times current price. Well good luck not affecting everything else including especially process input materials.

That ties in with the level of socioeconomic stability a resource needs. Perhaps that exotic shale refinery is theoretically economically exploitable at a mere $250/barrel oil, but there's a slight problem in that the society/culture/economy needs to be stable enough to build it and it won't be stable enough at $250, perhaps it needs to average well under $100/barrel to create the infrastructure and trained skilled workers required to build and operate the facility... So if the price is low enough for society to be stable enough to build and operate the plant, it won't work economically, and if the price is high enough to build and operate the plant financially, society and the greater economy will be in complete ruins so it can't be built or operated. In your example the only way to afford refining phosphate out of raw seawater or whatever would involve raising the price until everyone is dead of starvation, at which point there's little purpose in a perfectly operating plant other than as some sort of interstellar robotic art exhibit, or more realistically its hard to build a plant when a famine inspired nuclear war is happening overhead at the same time and the place you needed to order drill bits from on the other side of the planet just got nuked.

This is aside from the aesthetic issues. So if there were 95% unemployment, then we'd have enough starving workers to, I donno, create a "chunnel" all the way under/across the atlantic ocean or something. With the obvious disadvantage that no matter how cool that mega project would be in theory all by itself, it requires 95% unemployement, of course, which isn't all that appealing when considered in toto. So the aesthetic issue is you might have to strip mine a national park or two when obtaining that low grade ore, perhaps.

(Edited to add: And this is what collapse actually looks like. Real collapse, not hollywood.)
Heh.. "French style", "Produced in Belgium". I'll give it a go though. Thanks!
Big S Business Indiegogo Campaign Helps Entrepreneurs Start a Business
DriverPack Solution 15 ISO Highly Compressed Download
Generic beer really was a thing in the US.

http://www.ratebeer.com/beer/general-generic-beer/7987/

I don't know if generic "Drink" was real or a projection of generic beer.

Dunno if it was intentional or not, but this was Mike Nesmith using the "cheepnis" concept Zappa developed in a different way. Zappa meant cheezy rubber-spider horror movie artifacts; I'd say Nesmith was identifying the permanent recession as a driver for punk culture.

It also has overtones of "victory gin" from 1984.
I would never go to a company therapist. Go out and pay for one yourself. There is a clear conflict of interest for the therapist and while they may seem to be nice it's not worth the risk.
It's amazing to see all of this described in such detail. Very nice presentation!

Also, I'm going to mildly hijack this thread with a question since I know people familiar with this kind of problem will be looking at the comments ;)

The TSP is essentially trying to find the correct permutation of an ordered list of cities (up to a cycle) that minimizes the total distance traveled.

I have a somewhat similar problem. Given a set of vectors (in R^3), I am trying to find a way to generate a permutationally invariant representation of these vectors that is also rotationally invariant. The rotational invariance is easily solved by constructing the Gram matrix of the set of vectors (each element M_ij in the matrix is the inner product between vector x_i and vector x_j). Of course, the Gram matrix is overcomplete now (redundant), so I take the Cholesky decomposition to get a unique representation that has 3 less degrees of freedom (all the rotational degrees) than the original set.

For permutational invariance though, I'm having a heck of a time. I've been extensively searching the academic literature on this topic, and maybe I'm just not using the right search terms, but I can't find anything. Recently I've been reading about symmetric groups and trying to figure out if there's some kind of linear basis that I can construct its elements out of, but I'm not having much luck. Anyone have any ideas?

If that problem is too hard, consider this simpler problem: Given a metric between two sets of vectors (of the same order), I want to find the permutation of the second set that minimizes this metric. So basically, min(|| A - P A' P' ||), where ||X|| denotes the metric, and P is a permutation matrix. I feel like there is some kind of relation between this question and the TSP, but I can't quite figure out what.
Well yeah, there are numerous different approaches one can take. You could also build hybrid apps if you're familiar with HTML&CSS, you could use RubyMotion if you're a Ruby dev, etc. :)
So much of what makes Ruby Ruby is based on dynamic types. Is this going to be optional? I've been moving away from Ruby a bit over the years specifically because I want static typing, but I can't imagine that the majority of Ruby devs feel this way.

Also isn't Crystal basically a compiled, statically typed version of Ruby?
Python on Android
A serious problem with this approach is scaling.

When your code is in Ruby/JS/whatever on separate servers, and your traffic increases, you can easily scale up by adding more stateless servers.

Going from 1 to 2 DB servers is much harder, and can easily mean a major rewrite, during which your site may not really work.
> It is a way to funnel money from everybody (or, everybody who is poor enough to make their money by earning wages under 100k) to people who bill for end of life and chronic care.

You can say those words (modulo one hundred thousand) about many single-payer healthcare systems. It is not right to do this, to interpret medical systems under a cynicism maximization principle. It doesn't tell the Truth. After all, these services also provide concentrated conduits for medical care to flow to the citizens.

> So. When I think of that, and when I think of those TV ads that promise they can sell scooters to sickly oldsters who can little afford them except for a Medicare subsidy

I think those scooters greatly improve some people's quality of life. If you want to hear stories about companies trying to take advantage of medicare/medicaid, I could tell you quite a few myself -- I have a close relative that worked on the government side of things there.
Yes, I forgot about petrol prices, which have increased substantially.

I'm not so sure about infrastructure improvements, at least here in Germany. I have been cycling for more than 20 years, and the infrastructure has not changed that much. Some places have improved a bit (especially in the last 5 years), but some are worse too. I feel that the experience is largely the same here. It may be different in places like Paris or London, though.
After effects and cinema 4d neon sign tutorial
Even within the confines of water, grain, yeast and hops there's a ton of variation possible in the resulting beer.
isnt the yolk the emulsifier?
My first instinct is to hate on this idea because it removes choice. But sometimes, even when given a choice, people don't help themselves. The ethical integrity of the therapist would have to be very strong though.
Refugees & IDPs (Internally Displaced Persons) are some of the most resourceful & inventive people around - mostly by necessity. They've nothing else to loose; & can make the best from a (often bleak) situation - espcially if given the tiniest of hope & opportunities. Long time ago I worked with/for some refugee groups, & have seen the remarkable resiliency & spirit first-hand.
Improving RocksDB with lock free data structures
Was Winnie-The-Pooh a Good Muslim?
Regardless of brand, this is the way to go. Get a cheap machine with decent display and CPU, then put in your own SSD and 8-16gb of RAM in it. This will last you and you won't have broken the bank to get there.

Samsung, Toshiba, Thinkpads all can be found refurbished with a reasonable warranty and are of decent quality. I personally, go with Toshiba and Samsung over others just because my luck has been awesome with them. Apple is my primary development machine now, but even a low end version isn't a budget machine.

By the time you buy a refurb and swap the SSD and Ram you are looking at ~$500 is my bet. Say $300 for the machine, $120 for the SSD and $80-100 for Ram + paying taxes and any shipping etc.
Maybe companies could start offering that as a perk. Perhaps something like the Japanese Capsule Hotels? A place to sleep in the office.

https://en.wikipedia.org/wiki/Capsule_hotel
Just a professional foul to break up the play.
What choice does it remove?
The opportunities in tech right now are not interest rate driven ... They are tech driven. If the finance/political world were "fixed" you would see vastly more resources in tech as people were shifted out of unproductive sectors of the economy (eg. Housing, finance, govt corruption).
JBoss releases CR1 of beta WildFly server
Using +x to convert things to numbers and x|0 to convert things to 32-bit integers are useful and common operations.
Alternative Fueling Station Locator
Dude this is pretty heavy for Hacker News. I hope nobody can recover this guy's identity
I used to struggle to sleep but eventually after experimenting a lot I got into a routine of consistent sleep. Here's a few things that I think helped me:

* Try to exercise every day. The days now when I struggle to get to sleep are days when I've skipped exercise. Also exercise early in the day. Exercise in the evening keeps me awake.

* Try to keep a routine of going to bed every day at roughly the same time and getting up at the same time every morning.

* Take magnesium (~750g) just before I go to bed.

* Avoid caffeine after 2pm. Coffee in the afternoon affects my sleep quality.
T
I've spoken to a bunch of people at different companies. Their companies provide confidential talking therapies through an occupational health service.

A lot of people I spoke to said they would be unlikely to use that service because they wanted a clear seperation between health care and employment. That unease didn't totally go even when the talking therapy was an external service bought in by the employing company. People did say they'd be more at ease talking to a fully independent therapist.

It's a shame because in England the therapists would not be allowed to share anything with the employers, but there's no easy way to provide that reassurance.

> I’ll be the first to admit that this is a fairly uncommon step for a company to take.

It's more common among big providers.
That has been my experience. I've gotten better interviews from headhunters who don't insist on meeting me first.

A lot of the ones who insisted on meeting me are shady body shops, where they're just looking to build a large candidate pool in case something comes up later. They also tend to be fishing for leads, asking who my hiring manager was at former jobs so they can hit them up to sell other candidates.

For the headhunters who insisted on meeting me, they either never sent me on an interview or sent me on a lot of low-quality interviews.

It's just like a pre-interview screening test anti-correlates with good interviews/jobs, to the extent that I usually just pass now.