skysight-inc/HackerNews huggingface dataset:
My main disappointment with most businesses that implement open office plans has been the lack of choice. Everyone (except management) is expected to work in the open environment regardless of personal preference or the negative way such a setup impacts them.

I personally struggle to be productive in an open office environment, but time has proven that there's very little that I as a non-managerial employee can do about it. I've tried:

- Using noise-cancelling headphones. They kind of work, but I don't want to listen to music all the time (hurts your hearing after too long of exposure) nor do I want to wear them all day (uncomfortable for 8+ hours).

- Moving to quieter locations around the office. Yes things are quieter, but my assigned desk is set up the way I like it - HD monitor, RSI-preventing keyboard + mouse, my Varidesk, etc. If I move to a different location, I lose all of the above and my productivity and happiness suffer.

- Asking for changes (i.e., 1/2 height cubicles). "We'll see," or, "We can't afford that" were the two responses our team got from management despite numerous requests from multiple employees.

In the end, I decided to lobby against open offices the only way I could - by voting with my feet. I quit my job, making sure to share my dissatisfaction with the work environment during my exit interview. I now enjoy a fully-remote development position where I can work from the comfort of my home office.

However, I know there are only so many such jobs and that they're not ideal for everyone, so I come back to my original point: The fact that the vast majority of businesses don't make at least some sort of effort to provide their employees with options for their work environment that will allow them to do their best work is sad. Doing so just seems like common sense, which I guess is really not all that common after all, especially when it comes to open offices.
* Slept through my year there. Managed a 4.0.

* After I was there, they literally accepted anyone with a high school diploma. They called this "fast track acceptance."

* In the orientation, I, as an anthro major was somehow grouped with about 40 engineers. The guy was discussing the math and English assessment tests. If you had x on your math SATs, you can skip the math test. If you had y in your English SATs, you can skip the English test. He asked how many people can skip the English test. Me and like 5 people raised our hands, which wasn't surprising in a room full of engineers. He asked how many can skip the math test. Maybe 10 more people raised their hands.

Somehow, I, the anthro major had a higher math SAT score than a bunch of people who wanted to build the bridges I drive over.
> We do see people-focused fields like psychology dominated by women. Perhaps law is somewhere in the middle.

Law is a broad area. I'd expect the combination of interests and skills that lead to one becoming, say, a corporate tax lawyer are quite different from those that lead to becoming, say, a public defender, or a patent attorney, or a real estate lawyer.

It would be interesting to see what the gender distribution is for these various areas of law.
> Are you saying it's necessary or desirable to lower the bar for people to fill quotas

What do you mean by "lower the bar"?
If you're a woman wanting to become pregnant you'll need to pay extra attention to some vitamins. Take a folic acid supplement until 12 weeks. Consider taking a vitamin D supplement. Avoid too much Vitamin A.

Many people should consider whether to take a Vitamin D supplement.

I tend to agree with other people - eat a variety of fruit and vegetables, small amounts of meat or fish or alternatives for protein.
> there are plenty of in-depth critiques

I'd be interested to read a few if you could provide some links. This assumes they exist of course, from the reading I've done on the topic I haven't seen any substantial rebuttal linked anywhere, but I've heard more than one person complain that the only rebuttal they've seen is "sexist!".

I have no particular horse in the race so if you do have content to back up your assertion I'd love to read it.
To paraphrase: "Illegal immigrants to the US are required to pay US taxes"

That's... Slightly insane?
Oh please. Take a look at the constant right-wing rhetoric around banning flag burning, shutting down "unpatriotic" speech, or regulating the free press. And remember that one of Trump's big promises was "opening up libel laws"[1].

Edit: Also who could forget the brouhaha around the Dixie Chicks after they said something bad about George W. Bush [2]. That incident foreshadowed the kind of tactics that are common on the left now.

[1] http://www.politico.com/blogs/on-media/2016/02/donald-trump-...

[2] https://en.wikipedia.org/wiki/Dixie_Chicks:_Shut_Up_and_Sing
Why would you do that if your goal is to retire early?

In 10-15 years in SV/NY you can earn $1MM after tax + growth and then move to a lower COL city/town and take it easy.
I tried to figure this out a few weeks ago and was similarly confused. A lot of people on the internet seem to promote extreme diets, (paleo, veganism, etc.) but these guys also seem to open themselves up to really weird health problems (ex. Gout, rapid tooth wear & decay for vegans).

Anyway, since I didn't want to spend all my time researching this or become a doctor, I just looked up the USDA guidelines and tried to eat more in line with that.

3 meals a day, minimal snacking, home-cooked food, ~2400 calories per day (for my body & weight loss goals), 3+ servings vegetables, 2-3 servings fruits, 2-4 servings dairy, some meats and eggs, etc.

The USDA site even gives you recommendations to eat certain amounts of specific types of vegetables weekly (greens, starchy vegetables, orange vegetables, etc.) which I assume is an attempt to abstract things out a bit so we can worry less about levels of specific micronutrients

There's also an app called MyFitnessPal that lets you log food intake by scanning barcodes with your phone's camera and tracks some nutrients (vitamin a, c, potassium, iron, a few more)
An engineer educates him/herself with foundational knowledge, supplemented off course, with programming. By "foundational knowledge" I mean the knowledge and experience in the application of software to solve real world problems. The insight you gain doing that, makes you an engineer, not a programmer. And this makes you valuable. More valuable than a kid of the street who knows the latest buzzword tech.

Moral of the story:
Be an Engineer, not a Programmer.
Be Valuable, not Replaceable.
> am sure Google, Amazon and Microsoft continue to do doing this as well, but it seems that Facebook is doing this most successfully or at least most prominently with its total destruction of Snap.

"Most successfully" is probably hard to measure. While Snap is perhaps the single largest example, both Google and Amazon may have had greater overall benefit of this approach...just in a longer tail way that's hard to quantify as a single big visible event.

How much revenue, for example, has Google extracted from the travel market?
His argument was the program was flawed by bad metrics and wouldn't accomplish its goals, not directed at an individual.
Cars that are produced in the 1000's or 10,000's tend to run in the $100,000's [1] even when the costs are amortized over the total production of an established manufacturer where startup costs like site acquisition and robots and hiring are already sunk costs.

To better explain, the difference between one and five billion is significant when its my money. But it is not a quantum difference in terms of ordinary automotive manufacturing. Tesla is fourteen years old, has raised billions of dollars and is not relevant at the global scale in terms of production or sales. [2] More importantly, Tesla's differentiation is not self driving technology, it is electric drive trains which have an automotive history going back to the 19th century. Tesla is able to draw on established power technologies and engineering expertise in the production of batteries and electric power systems. Just maybe it will be able to produce a few tens of thousands of $35,000 electric cars a year at some point. I think that the odds Tesla will be first with a full on self-driving vehicle with wide availability are pretty low...but given that it has been working on the idea for about a decade or so, much higher than Uber's ever were.

[1]: To be clear, I am not talking about 2017 Camero's with green leather interior and cherry red paint.

[2]: That's not to say it does not have potential to become so over the next fifteen years.
Kind of maybe. See http://blog.wolksoftware.com/decorators-reflection-javascrip... for use of experimental reflection API.

Note that Typescript tries to follow JS to remain a superset that easily compiles down, and the metadata API is currently a stage II Ecma proposal so it's marked experimental.

It should be fairly easy to build a types casting method using that.
Using an alternative DNS server won't necessarily save you from DNS-based censorship. The ISP can modify any DNS traffic they want.

I actually had an ISP once that redirected all 53 port traffic to their own DNS server. It was "fun" every time this DNS server went down.
Sure, if you were hiring someone with no Delphi/Pascal experience, for example a programmer who had worked in multiple languages and you expected to be able to learn Delphi quickly, then it would be a silly gotcha.

But if you were interviewing someone who claimed to know Delphi/Pascal at all and didn't know this off the top of their head, it would be a big red flag.

It would be like asking a C programmer what's the difference between "void foo(){...}" and "int foo(){...}". They had better be able to tell you the difference without having to think about it.
I can't tell if you are ironically making my point or not.
Non-paywalled link:
http://news.morningstar.com/all/dow-jones/us-markets/2017080...
Life on the road was not for me. Sure I loved seeing the world but ....

1. Always having to make plans for the next place to sleep was stressful for me. I'd arrive at some city and have to start planning the next city else I'd be homeless once my hotel/apartment term expired. I started booking longer (4 weeks, 6 weeks, more) but even then just the fact that I have a place I don't have to think about is less stressful for me.

2. No hangout buddy or really close friends. Some people are great at making new friends and I did make a few in certain cities but I'm at least a little introverted and felt pretty lonely quite often.

3. There only so much tourism I can take. At some point it just got boring seeing yet another old church, yet another museum, etc. Some recent book claimed you should take several shorter vacations than fewer but longer ones. They recommended no more than a week at a time.

4. Not being able to buy/own anything. That might appeal to some but not to others, it means no shopping, something that many people enjoy while traveling. It also means no PS4, no Vive/Oculus, no gaming rig, no tools, no food supplies. Sure if I rented an apartment I could go buy a few things to cook but when I have a permanent residence I have tons of utensils and spices and other things in my kitchen that I just don't have the time to gather in a temporary place. Similarly I had drawers or closets full of parts and tools, something I didn't have digital nomadding.

Of course that's all just me. I've met others who really enjoy that lifestyle. Good for them!
> This doesn't sound very compassionate to engineers leaving big, dysfunctional companies (which by the way preach the exact same ethos of personal responsibility). Basically, they are damaged goods who aren't expected to thrive in a better environment?

Compassion aside, it also isn't the least bit accurate. If our process sucked that bad in large companies, then I shouldn't have the numbers to show for it. Somehow, though, we manage to be really profitable despite being lazy idiots.

I've posted this elsewhere on HN, but if you find an engineer or manager with a history of accomplishment at large companies, you're lucky to have them. Not only can they get shit done, but they can get shit done even with the distractions and roadblocks from big company politics. Those folks would probably be very effective in a remote position given their ability to filter noise. But yeah, if someone sucked in a big company, they might suck in a startup, too.
Man, seriously? Just stop. You're helping nothing here.
Can only speak for myself. I have only one rule with respect to diet: everything is ok but fried(sauteed, blanched in oil, deep fried, browned, stir-fried, whatever)stuff. Non-fried(steamed, bolied, raw?) fats are ok. Sugar in moderation is not gonna kill me. Works for me.
An important point that often gets lost even in "correct" (for lack of a better word) discussions of what is healthy. Generally it's better to be quite overweight and active than look good and be sedentary afaik.
Zillow CEO: Redfin ‘a threat to organized real estate’
> Plus you don't even have to go fully vegetarian, purely just reduce meat intake and up vegetable/bean/nut intake.

Echoing this. Also, Mediterranean diet is still the best diet if not based on current nutritional trends, but also anecdotal evidence (The most places with the highest life expectancies are clustered around the Mediterranean)
There are relatively few people who would leave their well paying corporate job with benefits and stability to found a startup with a small chance of being very rich, and even fewer who would leave to start a small company with next to zero chance of becoming rich
If you enjoy the discussion of permutations and cycles in this article, there's a puzzle you might also like:

Prisoner A is brought into the warden’s room and shown a faceup deck of 52 cards, lined up in a row in arbitrary order. She is required to interchange two cards, after which she leaves the room. The cards are then turned face down, in place. Prisoner B is brought into the room. The warden thinks of a card, and then tells it to B (for example, “the three of clubs”).

Prisoner B then turns over 26 cards, one at a time. If the named card is among those turned over, the prisoners are freed immediately. Find a strategy that guarantees that the prisoners succeed. (If they fail, they must spend the rest of their lives in prison.)

Needless to say: The two prisoners have the game described to them the day before and are allowed to have a strategy session; absolutely no communication between them is allowed on the day of the game. Notice that at no time does Prisoner A know the chosen card.

(Taken from https://www.reddit.com/r/math/comments/44h3tu/interesting_pu..., but quoting since that link has the answer in the top comment.)
> the playing field is by no means level, and neither of us chose to be born into our respective families.

Agreed. However our parents did choose to have us, raise us, and give us the best fighting chance. Ignoring that ignores their hard work and skills to properly rear children. If in this new system we just give everyone a job and a good salary "because" then what incentivizes anyone to properly rear their children or give them anything other than the minimum the State mandates.

I'd argue that the drive to provide a better life for one's offspring is the fundamental building block of empathy. By society ignoring that capital that someone's parents built up in their children, you risk a change in behavior where parents say, "your life will be great because you will have a job and salary no matter what." Then, the very idea of love and empathy for one's offspring breaks down, and thereby in society as a whole.
I don't know why they are modding you down, but is true, code formatting is subjetive and Google enginers do not hold universal truth.
Damn that's pretty good. The mouse is definitely not the most efficient way to use a computer. Interacting with it in other ways would be much more efficient.

IBM realized this and tried to make a speech-based computer but there were obvious problems with integrating that to workplaces
Are you sure that's a pension plan and not their internal branding for a retirement savings account? Pensions are totally unheard-of among tech companies, I don't know a single person who has one. There are 401(k)s, and the good companies will match contributions generously, but no pensions.
I did not mean to be belligerent in my response and I'm sorry if I offended you.

As I said above, in the Western world, sanitation and other interventions both contributed to our current state of health. As the graph I linked to shows, antibiotics haven't appreciably changed the rate of decline of infectious disease. This is no way means that antibiotics and/or vaccines are ineffective. As you point out, looking at specific diseases shows that these interventions are helpful.

Here's the data for measles if folks are interested - there was indeed a remarkable drop after the institution of the vaccine[1].

1. https://www.quackwatch.com/03HealthPromotion/immu/immu01.htm...
VSCodeVim is atrocious in handling multiple cursors

amVim does it better, but is missing ; for repeating the last t or f command
"if you use encryption can you search it in real time like wildcard and ajax?"

Depends on how it's implemented and what exactly is encrypted. Encrypted database fields have to be decrypted first; some databases (or extensions thereof) offer transparent encryption/decryption of fields, but others will require your search process to decrypt each record.

Generally, though, information that needs to be encrypted (read: anything personally-identifiable or otherwise confidential) really shouldn't rely on wildcard searching (I guess it depends on the use case, but this seems like it'd very easily result in information leaks). If a user has private information, it'd be more practical to just associate the encrypted data with the user's unique ID number and look it up that way.
Debrah Soh's explanation leaves a bit to be desired. She claims:

> Lower levels are associated with a preference for people-oriented activities and occupations. This is why STEM (science, technology, engineering and mathematics) fields tend to be dominated[1] by men.

Using this source [1]: https://www.ncbi.nlm.nih.gov/pubmed/19883140

But the published article makes no claim about any causation between STEM preference and actual employment in a field. We can only speculate on causation.

I know in my job as a programmer there is certainly a great deal of "Social" interaction. Agile programming certainly benefits from "Conventional" thinking that women prefer. A graphic designer on my team is highly "Artistic" and we pull him into design decisions for engineering choices all the time.
I don't see any reference to discrimination against women in any of that. Could you possibly pick one of the points and explain to me how it is discriminatory against women?
It's worse than not working. It's because nobody can ever be sure if it's working or not.

Granted what is publicly known, it not working is a very likely outcome, but nobody will ever be able to contest it.
I'm seeing a lot of "make sure you eat meat/dairy products" here. Are animal products necessary for a balanced diet?
Not sure I'd agree with the OP's definition of Lifestyle Business, given he's operating a service company with employees, payroll, clients, and sales quotas.

That's no less hectic than a start-up.
yea i meant excessive sugar, and processed foods that have tons of it in them. not fruit etc... not that hard to avoid!
Why can't you have everything set up so that when you vote, you get what amounts to a JSON Web Token to be able to later verify that you did in fact vote? You could use the governments publicly available key to verify that your vote reached the central service, and part of the JWT could contain your vote as well as your identifying information (SSN in USA).

Obviously everything could have fancy UIs created for end users so they don't see that really all have is a JWT (maybe a QR code printed out when they vote? And all the info easily human readable?). Verification could be handled by a .gov address and also through manual use of the public key (so other services could be set up to verify votes as well). And internet connectivity wouldn't be a problem as they could just require T1 lines at polling locations (I assume if phones went out across the country the election would be delayed regardless). You could likely tell if someone had stolen the private key (the only way I can think of breaking this system), if you have a service to verify someone's vote, and it doesn't show up there, even though you have a signed JWT containing your vote. That would prove someone had stolen the private key, allowing for a makeup election.

Am I missing something basic of how this would be hackable? I'm one of those who finds it odd that many elections around the world are susceptible to simple human mistakes/purposeful malicious actions when it comes to counting ballots.
I always have a chuckle when JS fanatics talk about Java's "huge runtime" when Node and webapps use stupid amounts of ram. Java's memory efficiency is stellar in comparison.
Yes, it's Caucasian. There is a difference between race and country of origin. I mean wow.
Agreed. My wife and I plan on moving to Canada or Europe before preparing for retirement so we don't have to work into our 60s for healthcare.
PwC, E&Y and others dropped university requirement because they don't tell anything about people.

This is a downward spiral. Universities get less picky, A inflation, more money for universities but devaluing degrees. Companies catch on and drop the requirement for degrees.

"Our own internal research of over 400 graduates found that screening students based on academic performance alone was too blunt an approach to recruitment. It found no evidence to conclude that previous success in higher education correlated with future success in subsequent professional qualifications undertaken."

http://www.ey.com/uk/en/newsroom/news-releases/15-08-03---ey...
Managing Host Machines and Containers with Bunkhouse and App Component Admin
Reminds me of this: http://www.theonion.com/article/laid-back-company-allows-emp...
Yeah, totally agree. I run a software consultancy too, and it is very, very far from what I would term a "lifestyle business". I work extremely hard - at least in part so the people working for me don't have to work extremely hard (but periodically they do still have to work pretty hard, when we have deadlines from demanding clients). I suppose I could do my job on a beach somewhere, if I didn't have children, but I have no idea how spotty wifi and the timezones would work. I suspect not well.
Us: "We want a la carte!"

Also us: "Not like this..."
Using RAII is manual.
I'm also what you call a digital nomad. I find it tough to work while "on the road". It's stressful, you want to get out and see places, meet people, but you still need to work. This is why I prefer to move to a city for a few months at a time and slowly do all the touristy things.

Also about what you said about others not being very interesting; I completely agree.
Custom Data Visualizations in the Workplace
The information is readily available for free to anyone who bothers to do a little research. Your time would be better spent learning instead of complaining.
One good advice to remember is to avoid eating egg-based food when you don't have much movement (like when sitting at the table or before sleep). This is also important when you're on an airplane for hours.
> Sorry, don't know how to format code on here.

Two spaces at the beginning of each line.

And you have two hours to edit a comment. :-)
In the current scenario this would be illegal to circumvent in most cases so if DoT puts block, don't try to circumvent even if it is possible. In India the law situation pretty bad so.....
fair and agreed. I have to be careful with Palantir that my personal disgust with them doesn't leak into my logic.
How dare you name yourself after an actual honest-to-god hero?
Could you provide a quote, rather than linking to a 50 minute video?