skysight-inc/HackerNews huggingface dataset:
This seems negligent on the part of HR (as well as genuinely awful).

In California, all managers are required by law to take three hours of sexual harassment training every other year. One thing that stood out to me is that there is no need to make a formal harassment claim: when anyone mentions they have experienced harassment to a manager, even in a private conversation, the manager is required to report it and investigate. If the employee says they want to keep the conversation in confidence, the manager is supposed to say they can't do that. If a manager doesn't follow up, they can be personally liable.

Several companies I've been at also have a mandatory "managers and the law" training class. I didn't talk to anyone for several days after taking it. :)

IANAL, but my understanding is that one job of HR is to protect the company. One reason they investigate is to produce evidence that could be used in the event of a lawsuit to prove they took the allegation seriously. Trying to argue with the employee that it didn't happen would put them in a really bad position if they were sued, because it could be used to demonstrate a hostile work environment.

I've seen complaints happen a few times in my career (not involving me directly), and, in those cases, HR took it gravely seriously. They talked to everyone involved and documented the crap out of it. Most of the people I've met in HR seem to genuinely care. I disagree with advice that HR should not be trusted, but my advice for someone who is in a situation where they are uncomfortable is to document everything. Keep emails of all interactions with your manager and HR and send follow up email to summarize conversations you had in person.
the 2nd the last

For future reference: penultimate.
Nikola Tesla always gets wrongfully overshadowed by Edison for some reason. Although Edison actively shunned down innovations by Tesla time and time again just so he can make more money. He also stole credit for some of the stuff that Tesla did [1].

[1] Nikola Tesla: Imagination and the Man That Invented the 20th Century
I'm using iOS 10.2 on iPhone 5s and it's working perfectly.
Unions have fought for and won such a huge amount of the workers rights we enjoy today that it would be a disservice to try and cover all of them in a comment. Google is your friend if you'd like to learn about the history of unions and labour movements.
Women, girls and ladies are used interchangeably to refer to females. Grown women will also refer each other girls. To read such a common usage as misogyny is idiotic.
> It's also usually the logical thing adults do

I am saddened that HN people completely miss this, and act like it's completely outside the bounds of normal behavior.

Everyone in this story was an adult. She definitely should have spoken to them first.
You may be interested in checking this out for inspiration: http://www.ccs.neu.edu/home/matthias/HtDP2e/

(It's the Intro to CS book used at my alma mater, teaching programming in Racket)
> that would marry fitness (via real-life running) with gamification

I know I'm about a decade too late, but I've recently gotten hooked on DDR, which is exactly this for me. It's a pretty addictive game, and it feels like a real workout.
The details vary a lot, but it's usually calculated as percentage of the direct costs (like a sales tax). If your grant involves spending $100k on salaries, reagents, services (etc), the total outlay from the sponsor is closer to $170k (at 70% F&A). Here's an example from UW: http://f2.washington.edu/fm/maa/fa/facosts

In practice, the rate varies a bit. Capital equipment, like a really expensive microscope, is often exempt from F&A, but salaries sometimes have an extra charge (for benefits) attached.
Well, that is an event in Mumbai. You'd find a lot of Germans at an event in Berlin, and a lot of Americans at an event in Austin.
Arianna Huffington on a Book About Working Less, Resting More
It's not as if erratic power usage is a new thing, anyway. My 2013 MPB's battery life can easily vary by an order of magnitude. It'll last 10+ hours if it's sitting there not doing much, or maybe an hour with an intense 3D game. The estimate they provided up to 10.12.1 was still quite good if I was doing the same thing for a while, which I usually am.
I think that is a good start, but we should be aware of the flaws in an approach like this.

I had friends at a company with serious security breach. There was a hullabaloo, all sort of important people in the company upset and questioning whether they should fire the head of tech. To calm the waters, the head of finance hired an outside firm to investigate. All good, right?

Here, the head of finance liked the head of tech and trusted him. The outside firm, knowing who buttered their bread, fished around for clues on how the report was supposed to land. And as expected, the report was, "some flaws, a couple of dumb mistakes, but basically sound." From the same facts, a hostile auditor could have come to the opposite conclusion, that the dumb mistakes were indicative of deep flaws and the whole company was put needlessly at risk.

Specialized audit companies have to get paid. They claim to be neutral parties, but they have an inherent conflict of interest. If you choose the right one, you can get a better result than an internal investigation. But you can also choose one that serves the interests of whoever's paying the bills.
Older gauges just showed percentages, but many new cars will tell you gallons, current MPG, and an estimated distance to empty.
ImageOptim now has an API for image optimization on the fly
> Occam's razor.

What is it? It's not matter. It's not energy. Perhaps we could say that it's an electrochemical pattern that exists in the brains of a few million people. But if we all died would a non-material thing named "Occam's Razor" exist? If everyone who knew what Occam's Razor died, and then a hundred years later some one read about it in a book, would it spring back into existence?
I think this sort of thing is where unions come from.
Leaving a workplace on the best possible term
I think that's a bad analogy. I'm in support of net neutrality but your analogy just made me want to support different pricing for water.

Water is a finite, possibly scarce resource, and there are shortages in places in the US. If I lived in one of those places, I would sure as hell want some asshole filling his pool during a shortage to pay more than the rest of us pay for basic drinking water. Similarly, I would want companies that bottle that water up and sell it at a premium to pay more than everyone else.

Municipalities already limit outdoor water usage for exactly this reason. You can drink all the water you want but you can only use it outside to water your grass or fill your pool on odd or even days. Your analogy is saying that shouldn't be allowed, because internet.
Yeah, it was the iPhone 4. Previously on their software the signal meter was tied to some specific RSSI dBm, but that phone had a poor antenna design and dropped calls at higher perceived signal. So they responded by adjusting the meter to better reflect call quality instead. You can enable raw RSSI numbers in the field test menu still.

Also related around that time: Apple pushed an update for AT&T that changed their HSPA indicator from 3G to 4G without any upgrade haven taken place.
Microsoft, Rebooted, Emerges as a Tech Leader
Right? It really violates the Law of Least Astonishment. I think part of the idea is that the phone serves as a close hub to get push notifications from, since it doesn't retrieve my mail without the phone. Which honestly I'm starting to think I preferred (you really start to notice how much nonsense heads your way when the notifier is on your wrist).
I'm on iPhone 6. Tried deleting and reinstalling which didn't help.
I'm actually happy with amazon logistics (London). They deliver every day (unlike basically everyone else), so I can order on Saturday and receive the item on Sunday.

They also always find a neighbor to accept the package. Royal mail always leaves a card which means I have to pick it up from a post office (which is only open when I work). The main reason I order nearly everything from Amazon is that most other sellers here use Royal Mail 2nd class, which for my address takes at least 4 days to arrive, before christmas often 2 weeks or more.
My understanding is that it is configurable on macOS by enabling destroyfvkeyonstandby.

https://derflounder.wordpress.com/2014/02/12/power-nap-power...
Why does it matter? As long as you are producing good results of course.

What I mean is, if someone is mainly focused on webapps where, in my experience, advanced math skills are not always needed what good would it do to the final product?

That isn't to say the entire profession shouldn't care, but what does it matter if we "assume software developers don't know math"? Why not just assume "That software developer must not use advanced math in his daily coding"
In Canada, and in a growing number of jurisdictions - there is 'harassment' so long as the victim feels as if there was.

Ya know, coming from a person who feels it appropriate to refer to adult professional women as "girls", imma need a citation on that.
This is not really relevant to the discussion, or even fully accurate. Most people who buy windows licenses (including me) buy one of the base licenses because we generally don't need the other "professional" features on our home computers.
Sure, that's fine.

I saw the news out of Pebble this morning and thought it was interesting that they committed to continue to integrate with Apple Health.
Google Project Soli
I just finished re-watching B5 a couple of weeks ago. It's one of my favorite sci-fi shows of all time.

I have to admit, watching it again after the revelation that Michael O'Hare was written out of the show due to mental illness puts the whole thing in a very different light. The introduction of Bruce Boxleitner in the first episode of the second season always felt a bit weird, and now the reason is clear. It's hard not to imagine how it could have been, as a lot of things in the story would have been much stronger if Sinclair had remained the commander of B5 until he went back in time (which I imagine would have happened later in the series). A whole bunch of major plot events in the later seasons would have made more sense with Sinclair, foreshadowing in the first season had to be re-done in the second season in order to fit Sheridan into the story. It's especially apparent since Sheridan is IMHO one of the weaker characters in the series. Most of the actors grow into their roles, but Boxleitner's Sheridan never seems to get comfortable.

And of course, the pacing gets really weird at the start of the fourth season. They race to finish the shadow war plotline in the first few episodes, but I suspect that was supposed to last the whole season. Then they have to power through the earth civil war which really was supposed to be fleshed out better before kicking into high gear.

B5 is a great show. If you haven't seen it, you should. But man, I'd like to see the B5 that could have been, where Sinclair was the commander and the writers had time to flesh out the end of the shadow war and earth civil war storylines properly.
I read the entire article and this is my take: this writer worked with an extreme bulley. The bulley was a ringleader. And potentially psycho.

This isn't about sexism, racism, etc. This is about a ringleader selecting a victim to prey upon for the sole purpose of causing pain.
Ciao Salvatore,

I claim that the module is alpha code.

There is a non-blocking implementation on the way. The problem that I am facing is the tradeoff between using a single thread or multiple threads, but I came to the conclusion that it depends on the use cases. (SQLite on write lock a whole table no a row at the time, so I am expecting a single lockless thread to be faster on write intensive workload and multiple thread be faster on read intensive).

What you suggest as conversion of data types from SQL reply to redis ?
Right now a select return a nested array, the outer for the rows the inners for the columns.

Thanks
Of course you can convert between any two bases. It's trivial to convert between bases that are a power of two. I don't know of a trivial way to convert between base 12 and base 2. 2 is very special to computers -- that's the base they use.
ps: I didn't bother to check those repos. Very nice to see old lisp code. It's very very clean. I often fear messy lisp 1.5 style but that's quite pretty.
Time without end: Physics and biology in an open universe – Freeman Dyson
Incidentally, this is why you'll sometimes see an improvement in battery life if you do a full discharge. It's not that it's good for the battery itself (quite the opposite, in fact), but it gives the estimator a better view of how the battery is behaving, so it can better estimate the charge level at any given point.
Adobe Experience Design CC (Beta) Now Available on Windows 10
Well, I'd say "Turning off your device is the only protection when you have FDE", since shutting off your computer will do nothing to protect it if you don't have FDE enabled.

If it's not encrypted, connecting another computer to it with an appropriate cable will let you use it as a remote disk, leaving no real traces that it was touched.
Hmm. Not sure I've seen many reviews covering that. Mostly running and swimming and such.
Do you have anything available and how do I apply?
String Theory – From Physics to Metaphysics [pdf]
I see your point. What I meant was that existence and interaction are equivalent. But I see that I didn't express myself well there.

Let us presume that existence and interaction can be separate. Let us also assume for a moment that there is a definition of 'existence' without interaction. Then a reality with a thing that exists but doesn't interact is equivalent to a reality where this thing doesn't exist. If a thing's existence and non-existence yield equivalent realities, we can always assume that it does not exist. Therefore, we can set 'it interacts' and 'it exists' to be equivalent for all practical purposes.

That's my line of thought, which of course still doesn't exclude that things can 'exist' but not 'interact'. But if you would press me, I'd ask for a definition of the word 'existence' without using any form of interaction. I wouldn't know a proper answer to that.
After finding that playing with new people was pretty overwhelming because of the massive amount of books and rules required, I distilled all the important/fun information down into a single printable document that should contain everything you need to play a fast-paced, fun-optimized version of the game.

Feedback appreciated!
I remember people making apps to let you do it on Macs years ago with an iPhone, but I don't know how much of a hack they were or how secure. MacOS has gotten more secure in the mean time so I'm not sure if it would still be possible.
How to Scrape Websites Based on Viewstates Using Scrapy
The problem with this is you aren't really explaining why there needs to be a rule. Which is actually the biggest problem with getting net neutrality implemented. It's sort of a solution in search of a problem.

There hasn't been many largescale violations of it even when violations were legal.

Comcast blocking bittorrent is the only clearly bad example of a net neutrality violation I can think of. AT&T zero rating DirecTV streaming is the second but a lot of consumers see free and don't care.
>it was him being nicer to me than to the other men thought he should have been - it was actually him not treating me like a second class citizen

That sounds like you're saying the supervisor didn't do anything wrong, but rather that your coworkers took a reasonable gesture the wrong way? If so, that doesn't really jive with "One day, one of my supervisors jumped to my defense at a team event, in an awkward display of sexism"

I'm really not trying to be confrontational, just trying to understand. Is it that the "jumped to defense" thing was clearly sexist? Not asking for a direct quote, but what was the basis of the defense...something gender related, or the high quality of your work, or something else?
Fantastic analogy. Will be using this one in the future.
Ten Commandments of Object-Oriented Design
> Many women think nothing of finding the most powerful man in the organization they can and using him as a "friend" to undermine their direct manager

I feel sorry for you.
I started working on a little CLI battery status indicator even before I knew Apple was going to pull the time remaining feature. On macOS I like to hide the dock and menu bar but usually keep terminal open with tmux running so I decided to write something I could place in my tmux status line where I could keep an eye on my battery life.

https://github.com/imwally/battstat
Neurostimulation for permanently increased creative focus
Show HN: Hire an Oldster
> Royal mail always leaves a card

Sometimes they leave a card without a tracking number (last month.) That was fun. But at least I knew it was for me.

Because there was the time with the card that had a tracking number but no name or flat number. And then the card that had three digits of the tracking number and no name or flat number.

Royal Mail are pretty awful at being a courier.
I'm not sure I agree.

I often call people quite my junior 'boys' and 'girls'. I work with a startup of dudes under 24. I call them 'lads'. I could technically be their father. Is that wrong? No.

Neither is using the term Mrs. Ms. or Miss.. In far-left socialist Montreal, where women are not even allowed by law to take their husband's name - people use the French equivalent everywhere: 'Madame' and 'Mademoiselle'. Same in Germany. Is that harassment now?

I think this kind of comment is not helping the situation - you want to find prejudice wherever you can, even when there is none there.

Let's work on getting the actual harassment stuff fixed - and avoid getting into culture wars.
At least Uber Eats only seems to show it when you're up next. The driver often starts appearing not at the restaurant but somewhere else.

In cities this shouldn't be easy to track anyway. And then you could also jsut follow the Uber bike. Don't think that the fact that someone ordered food is private (what they ordered might be).
Initial Server Setup with CentOS 7
You make some specific claims here that sound a little odd to this LISP and assembly language hacker.

Assembly language doesn't provide any datatypes. LISP does. Assembly language doesn't provide any type checking. LISP does. Assembly language doesn't provide automatic storage reclamation. LISP does. Assembly language doesn't provide naming. LISP does.

You also make a claim about L1 caches and locality of reference. Every LISP compiler writer, and every LISP garbage collector writer, knows about CDR-coding. We also know about how Cheney copying garbage collectors and their descendants like the Baker incremental collector compact data, precisely for locality of reference. The compiler writer of course is thinking about cache performance and how lines are mapped in particular target architectures.

You should probably educate yourself a little more about LISP if you are so interested in it as to make statements in a public forum.
No, Trump is literally ruining apple. He convinced steve that fruit cures cancer.
Hello! Guy here.

One, those terms are not interchangeable. Words have meanings.

Two, people will refer to themselves or people in their in-group by names that people in the outgroup should not call them. E.g., my friend runs a get-together called "nerd beers". I don't mind, because he is a fellow lover of technology. Other people do not get to call me a nerd. Many groups have similar patterns, including black and gay people: just because they call themselves a word does not mean that you can.

Three, guys aren't very good at noticing misogyny. Other people noticing something you don't could be idiotic. But it could also be you just missing something that they've had more time and reason to think about.
Totally. 64% of my users are on mobile. Can one really afford to ignore that crowd?

Of course, mobile web development is, as I tend to say, the IE6 of modern days. So many older devices, and we also need to more or less support all of them.

Graceful degradation is the key, yes, but React-MD doesn't even seem to cope well with high-end devices.
Two islands, actually. More than 30 if you count all the outlying ones.
Ask HN: Got out of coding, burnt out, how to get back in?
Looking for suggestions on what technologies are worth learning right now, both for fun factor and for employability. My current plans are to learn some Cloud stuff and get back into .NET for employability, try some game making with a friend in Python and PyGame for fun, and do another attempt at functional programming most likely with Haskell (previously did some SICP, and it made me a better programmer everywhere).

I'm originally a .NET/C# developer for five years doing nothing particularly innovative, switched jobs and spent three years doing customer support /onboarding with very lightweight JavaScript/HTML work and maintenance. Decided to get into Product Requirements and have been in that for slightly under two years.

I've enjoyed writing requirements and product specifications, but everything else I found exhausting. I'm not naturally talented at UX, and dealing with the politics is brutal and demoralizing (departments refusing to co-operate but pretending on the surface to be helpful; management not having a unified vision; no serious analysis on what projects we should be doing so we spent a year on a product that clients have not adopted). I realize that this might be just my company and other companies might be different, but I'm at the point where I have no interest in the work and don't really feel passionate about designing some perfect product and talking to the users. If nothing else, I need to get back into coding for a few years to just recharge my batteries.

Has anyone here been in a similar situation? Tips on recharging energy? Tips on getting back into coding and what technologies should I focus on now? Would really like to get out of web front-end browser crap with changing frameworks every six months (should I even bother to look at Angular or is it already replaced?), but I've done a bunch of HTML/CSS/JS and I'm comfortable in back end.
I have only one item in my todo list to end all todo lists: Invent general artificial intelligence
> its also miles per gallon. So drivers can get feedback on usage rates versus total capacity.

I don't know anyone who actually adjusts their driving to try to push the mpg metric up. I'm sure there is some tiny subset of the population that does this but in general this isn't actually a useful number except to make people annoyed that they aren't getting the EPA estimated fuel efficiency.

Car manufacturers don't provide this because it's actually useful. They provide it because it's easy and people like bells and whistles.

> if I took a random point on a map and said find something 25 miles away, with no scale, most people couldn't do it.

I don't think this is a particularly meaningful observation since maps have scales precisely because it's basically impossible to know the distance between two points without a scale. This isn't a function of not intuitively grasping what a mile it. It's a function of maps being scaled. Even if you have an amazing grasp on distances it won't directly translate to the map.
> Things which don't have a logical value evaluate to `()` (the empty tuple), I believe.

If Rust follows Scala then `()` is not the empty tuple, but rather Unit (void in C*).