skysight-inc/HackerNews huggingface dataset:
Discrete Arctan in 6502
This is why we should have syntax highlighting in the shell...
IIRC jemalloc is somewhat better about releasing memory in a timely fashion, at least by default.
Yeah, my remarks now lack their context with the deletions/edits. I haven't checked hacker news since I edited by own reply, but I can only imagine they were edited by the time you saw them, given the time stamps.
Ask HN: Starting my first job soon, looking for advice
TL;DR I'm an introvert that is starting a new job as a Product Manager, and I'm looking for advice on how to deal with my teammates.

Hi HN!

I recently graduated from one of the top school in my country, and I'm about to start my first real full time job as a Product Manager in a small/medium internet company (about 50 employees).

The job looks great, and I feel confident in my skills to improve their products. However, as an introvert/geek/nervous guy, I'm a bit scared by the interactions I'll need to have with my coworkers and teammates. Here are some of the concerns that I have:

- Giving positive feedback to people is easy, but negative feedback is harder. How to do it well?

- I like to eat by myself, but can I really do this without looking like an asshole?

- Is it important to try to be "friend" with all my teammates? Telling jokes, talking about personal stuff, throwing things at eachother, all of these things seems weird to me in the workplace...

- How to be confident speaking during meetings when you are not 100% sure of what you are talking about? I always fear saying something wrong or stupid.

Do you have any advice? Or can you recommended any book to help me deal with this?

Thanks for your help!
"Greater China sales fell by 21% from $16.8 billion to $13.2 billion"

That's reading sequential quarters, which pretty much nobody in finance (who wants to be taken seriously) does, because it overlooks seasonal factors. The year-on-year figure (which serious financial people do use) is up over 100% from $5.9bn. The stock market maybe is concerned that China is too important and that if its stock market is plunging, so will sales of Apple stuff.
It's sad that Chrome on Windows doesn't want to render those Unicode characters. The only mainstream browser that doesn't.
That's an excellent way to look at it.
Very programmer centric. I was hoping to read advice that relates to all kinds of engineers, not just software ones.
Where by "roughly the same" you mean "twice as high", and by "black" you mean "black and hispanic", and, of course, the demography that creates those statistics and confounds simple comparisons like that is left entirely out of your one-liner.
Humans don't behave rationally. It is better to take this into account when planning your own actions as otherwise you open yourself up to risk when humans act like humans.

Even in the really small case of taking only 75% of the salary to work only 75% of the hours due to not needing the money and valuing your time more. It can cause problems in the team because they see the result of you working only 75% of the time but they rarely encounter the effects of being paid only 75% of the amount.

So when you are getting paid far more and working far less because of all the initial investment and taking on the initial risks (something employees are likely not able to see and fully appreciate), then there is going to be resentment.

>taken to its logical conclusion, this means investors shouldn't exist!

And there are groups of people (political and not) who have a negative view of investors compared to employees.
Unfortunately I did not edit it.
Submitted yesterday:
https://news.ycombinator.com/item?id=9926868

But I guess it's good to have the primary source.
As a part of production code, I agree, redefining a class is a bad idea. However it absolutely shines during development. I am working as a professional lisp programmer, and it is a very common case that I want to add a slot to one of my classes. Being able to do that without having to restart the software in development is very nice as you are not distracted in your programming work by the distraction of restarting.
I think the rolling stone article and this case prove that people quick to jump on the band wagon when a woman accuses a man especially in the south.
The new title (who knows if it was changed by a mod or by the user) is more level headed, analytical and less click baity in my estimation. Not sure if those are good things, but I don't see how the new title makes it seem less scientific, if anything it does the opposite right?.
I don't really see the equivalence. The dev kit may be overpriced, but the price of a kindle isn't really a good indicator, to me. They seem like very different products.

How long do you think a kindle would last out in the elements? What is the battery like? What is the I/O like? Security (physical and software)? Is the screen contrast similar? SDK support? Customizability? 60601 ? All of these things are potentially expensive to provide.

Anyway, it may not be the right dev kit for your applications, but the fact that they share a display technology is a tiny piece of the puzzle. As you note, for you, the kindle might do a lot more for less cost (in which case, why not just use one?)

In my experience, looking at mass produced consumer electronics is a pretty terrible way to spitball the cost of anything that isn't mass produced consumer electronics.
Office 365 Channels are live on IFTTT
It depends on the business, the persons involved and it depends on your future plans. If you see it as 'leveling up' then selling it is the best way forward, if you want a nice business where you call the shots that you grow at your own pace then keeping it would seem to be the best course. But that's a totally different discussion and a much more complex one.
That's probably not true anymore; see Hiibel.
Java Concurrency / Multithreading Tutorial
Google's "interview process" is kind of a Valley joke. The only way you get hired at Google is if you're a "tech celebrity" (i.e. Guido van Rossum), you're a freshly minted grad from the likes of MIT and Stanford or you're an acqui-hire. Of course you have to pass the interviews. But there are almost no exceptions.
I have a part that I write for a subset of journalists, for example for journalists that are into gadgets, or mainstream technology, or green technology. Then I prepend this with something personal about their work. My response rate is around 90%. It is a lot of work though! :-)
I'd add that this is mainly because in most markets the economics of buying a rental property are very different than buying a property to you want to live in. You end up taking on a larger mortgage for the latter, which drives up your minimum rental price, which may or may not be good for your market. If you've never run a property as a rental income property, there's a lot of nuances to that you have to be prepared for, like pricing your property to the market instead of to whether you like your tenants.
Funny, I happened to code something just today very similar, but a lot lighter (just two classes, Match for consuming only, and MatchMap for mapping the optional. No when/get, just a when taking two parameters : the predicate and the mapping function.

public class MatchMap<T, U> {

private final Optional<T> opt;
private final U defaultValue;
private final AtomicReference<U> result = new AtomicReference<U>();

private MatchMap(Optional<T> pOpt, U pDefault) {
super();
opt = pOpt;
defaultValue = pDefault;
}

public MatchMap<T, U> whenMatch(Predicate<T> pPred, Function<T, U> pMapFn) {
if (result.get() != null) {
return this;
}
Optional<T> lFiltered = opt.filter(pPred);
if (lFiltered.isPresent()) {
result.set(pMapFn.apply(lFiltered.get()));
}
return this;
}

public MatchMap<T, U> whenEquals(T pExact, Function<T, U> pMapFn) {
return whenMatch(t -> pExact.equals(t), pMapFn);
}

public U resolve() {
return Optional.ofNullable(result.get())
.orElse(defaultValue);
}

public static <T, U> MatchMap<T, U> of (Optional<T> pOpt, U pDefault) {
return new MatchMap<T, U>(pOpt, pDefault);
}

}

The class Match is very similar, but takes consumer instead of Function and has some logic to allow several matches to be executed (if several predicates are ok), or only allow the first match to be executed.
Thanks! This is precisely the sort of thing I'm looking for.
Seems just strange to keep asking someone you reject to come back. When I am turned away I am turned away no more.
As an SGS4 user for personal and an iPhone6 user for work I have to say this change is entirely understandable. Samsung have lost this round of the fight because Apple have responded to two of the things that made the Samsungs better than iPhones for a lot of us - screen size and battery life. Now the iPhone 6 plus is just as big as an SGS and the battery life is really very good - combined with Samsungs decision to stop you being able to swap out the battery and SD card, means the iPhone is simply the better device now. I'm seriously considering a change to the dark side come upgrade time.
Also, even your facial structure most likely changes throughout your life depending on the last couple years of your levels of dominance, trustworthiness, competence, etc. Just look at Dick Cheney.
Eh, maybe if you are a very cynical person, which is the point the author was trying to make.
I don't mind paid advertising, but I dislike the tracking and profiling and sale of my information so for a while I was using Privacy Badger and other 'smart' ad-blocking anti-tracking plugins that learned.

As a web dev, it was blocking a lot of my CDN-hosted files to the point that I would need to work in other browser to make sure it wasn't really broken. Removing the ad-blockers restored normal function to me.
Because curb space in an urban environment is a very limited resource and the city government determines how the competing interests are going to share it.

One set of signs I pass rather often in Seattle looks (and probably is) complicated, but the reasoning behind it makes some sense. It is against a yellow-painted curb and says:

- No parking 6a-9a / 3p-7p except Sat/Sun/Hol

- 30-minute loading only 9a-3p / 7p-10p except Sat/Sun/Hol

- 3-minute loading only 9a-11a Sun

- <----- No parking

Why? The adjoining property is a large church that sits on what is now a major arterial route near businesses. In order, the restrictions allow for commute hours traffic in that lane, reserve a zone for deliveries during the rest of the hours in a weekday, reserve a zone for parishioners to get out at the door of the church, and foreclose parking that is too close to the corner and a fire hydrant. Parking is, implicitly, allowed all day on Saturday when commute hours aren't in effect, some of the businesses are closed and the remainder are receiving fewer/no deliveries, and the church isn't in session.
A much easier way to test ZFS configurations is to use files instead[0]:

$ mkfile 128m /home/user/disk1
$ mkfile 128m /home/user/disk2
$ mkfile 128m /home/user/disk3
$ zfs create tank mirror /home/user/disk1 /home/user/disk2 /home/user/disk3

[0]: https://flux.org.uk/tech/2007/03/zfs_tutorial_1.html
You can do that, and with a large company it will probably work. For a smaller company (especially one that is held privately or that only ever received small bits of funding) it likely is not going to work. One of the companies I've invested in went through this whole cycle and now has the original founder back as the CEO after several years of being absent.

The opportunity cost for the founder in that particular case is something I really don't want to think about even if for me as an investor his return to the CEO position is good news.
Join the Largest 750+ Product Manager Slack Community
Folks here have given great advice, i would like to add : read a lot of books. In general, read a lot.
I think that was an important and deliberate part of the research. The images in the article were specifically created to show the subtle facial features they were interested in.

Sure if someone has a fat face and unkempt facial hair or a swastika tattoo on their forehead then you will make conscious and unconscious judgements about them. But the study seems to show clear bias without such prominent clues.
Which tools are good to track competitors?
Absolutely the best career advice I've ever received, btw.

In my first "bigboy" job, a nine-month contract-to-hire gig at a very well known financial, I failed to violate this initial expectation. I did great work there (eventually) but was still not hired full-time because my slow start left lingering questions for a few key people that were never answered.

Some managers fought to keep me, but it wasn't enough. On the day I was terminated, my manager told me that the one piece of advice he would give me was that wherever I go, make sure to kick ass right away. I've followed this ever since and it has paid huge dividends (constant, rapid promotions).

Always be delivering value.
Eventually the owner will retire, so a sale does happen. There's always an exit of some kind, maybe not the glitzy glamorous one written up in the papers.

I know someone who ran a small town diner for decades and eventually sold it to a niece, who had worked there for the last twenty years anyway.
With gnu find, -print is a default flag, so entirely redundant :)

As a sysadmin with 15ish years of experience, I'd also advise never blindly running a destructive command such as the find -delete without at least first seeing what it is doing.
>Kotlin comes from industry, not academia. It solves problems faced by working programmers today.

Most of those problems come from too much industry, not enough academia.
Now you have Millenials who value living and working closer to interesting coffee shops, restaurants, clubs, and bars than living in Nowhereville which has a Denny's, a Subway and a Dunkin Donuts as the only options.

It's cyclical. One day (sooner than you think)those millennials are going to be 30, with families and they won't care nearly so much about clubs and bars. They're going to start wanting to grow gardens and have a safe place for their children to play.

Plus they're so deep in student debt that buying a suburban house or leasing a car is not an option.

I guess that it's just a function of the local real estate market but my suburban mortgage payment is lower than the urban rent that one would pay in any decent part of this town.

The suburban office will always be in the wrong spot.

Don't be so sure about that. One day, you're not going to be the hip youngster anymore. One day, sooner than you think, you're going to be annoyed by the stupid nonsense that the kids of the day are doing. One day, you'll have a lot more fun in your house than out on the town.
Can you explain more about the America's Cup? The linked article didn't really help me understand what the catamaran-with-wing-sail did...
Not at any tech company I've ever worked at.

Recruiters contacting someone is the recruiting -- the reaching out, telling them what a great company it is, getting them in for an interview, and so on. It's expanding the funnel of interviewees.

Hiring is actually making an offer. That decision is made by different people higher up, and not the recruiter.

Maybe it's different at different companies or industries, but this is my whole experience with it across all sorts of companies in NYC.

(And in response to comment about the Merriam-Webster definition -- meanings change. Lots of tech lingo is different from dictionary definitions. You can say "let's offline this" in a meeting, and you won't find that definition in MW either.)
If you're updating a class then you're either (a) relying on existing functionality being maintained, or (b) changing functions that use instances of that class.

An `int` is likely a pathological example, btw; you most often work on classes that exist in your problem domain, like entities. It doesn't (generally) lead to problems in your type system because updates include both classes and the functions that operate on them.
Several journalists have seen the original video on the original equipment the other day and they said there were no problems like this with it.

This can be a whole bunch of technical problems, or more likely incompetence with uploading it.
Alternatively, she has good qualifications and Google has interview practices or policies that are - intentionally or not - age-discriminatory.

Generally speaking, if well-qualified people are constantly failing your interviews, the problem may not be these well-qualified people and instead might be your interviews ;)

Considering that the typical programming interview in this industry does not involve writing any actual code (no, waving your arms against a whiteboard in a coding-like way doesn't count), I'm generally inclined to believe interviews are more problematic than interviewees.
I really don't like the sound of this, just how far does it need to go? The end result is everyone being exactly the same as everyone else right? Same DNA even? But somehow if you made that society they would find a way to tell each other apart, and make snap judgments.

In the past, this “face-ism” (as Olivola and his colleagues call it) was considered an unfortunate fact of life. But the more they come to understand its pervasive influence, the more they are beginning to wonder if it should be treated like any other prejudice. If so, it could be time to take action.
More PC rubbish. Soon we'll all have to wear brown paper bags over our heads and speak through a gender-neutral, computer generated microphone voice lest someone gets upset or gets an "unfair" advantage.
The entire article is about how bone structure can make a difference about how others perceive us, even if everything else is the same. The first sentence of the article gives a hypothetical of non-identical twins with the same exact lifestyle.
Yup. Happens all the time. You're going to have quite a few candidates who are technically qualified. That's sort of the purpose of interviewing them.

And now she will never get hired by Google after trying to sue them.
Connecticut Teen Made a Drone That Fires a Handgun – And Police Say It's Legal
Where did the name `atoi` come from? (2010)
This seems to be a trend lately (or maybe one I was unaware of before) - finding some sort of evolutionary reasoning to justify this or that. It's very pronounced in self-help literature, books about psychology, etc. But it seems to be spreading to all sorts of fields.

Clearly they're pretty hard to verify in a lot of cases, and I'm starting to wonder how many of these evolutionary "we are this way because our ancestors did X and were hunted by Y" theories are mostly fluff.
2015 State of Devops Report [pdf]
Expensive Wireless service destroys demand and prevents small cells
The recruiters _are_ recruiting, but they have not recruited someone until that person is earning a salary.
Ask HN: How to quit your day job with bills to pay, mouths to feed
I have a mortgage, car payments, student loan payments, two kids, etc. I work a comfortable job, but I cannot be fulfilled until I work for myself. Working on startups "part time" doesn't work because I cannot invest the necessary time without sacrificing time with my family.

My plan so far is to reduce debt, figure out ways of passive income, and maximize my time. The journey of a thousands miles begins with a single step. I spend 1 hour a day researching and exploring, but I'd like to devote more time.

Advice? Brutal honesty is appreciated.
Can't speak for the cloud. When running on bare metal, in high availability mode, you need to edit the controller manager config, /etc/kubernetes/controller-manager, and update a line called KUBELET_ADDRESSES. If you don't, they won't be in the output of:

kubectl get minions

Or usable at all. Really frustrating to me.
The main difference is Strawpoll is for non-ranking polls, whereas deckrank is for ranking polls. Voters on a deckrank poll can rank options in order of preference, which is useful when figuring out collective choice in many situations. For example, here're the results from a poll on products announced at WWDC 2015: http://deckrank.co/v/EyxcM08gL and here's the voting page: http://deckrank.co/r/415zA8gL
This is fine for what it is... but at its core, it is a categorized list of github repositories, and the category happens to be failed startups.

I would drop the whole "graveyard" theme, and expand the categorization concept... then this could be less of a novelty, and more of a new wrapper around github for discovery of relevant codebases to whatever your current project may be.
This article seems to be talking out the reality that our brains handle the big data of life by generalization, ignoring that in small samples things can be quite different than the group average.

When I see a big, tattoo covered individual I feel more nervous than unmarked, average sized individuals. Having grown up with a sister who eventually majored in photography I know plenty of tattoo'd people who are amazing people and often artistic and creative, but my brain still sends the signals.

We are very likely judged whether we like it or not by appearance, but I feel there is plenty we can do about some of it. I take this article to remind myself to own my appearance and what is says and be conscious that it may be deciding things for me.
Wow. Thank you so much for all of the feedback and response. I appreciate this so much. I'll be going through each comment today with a response.
The Guardian has a pretty good online feature that aggregates the data on police-involved killings. If you look past the sometimes-disingenuous framing and dive right into the data, there are plenty of interesting things to learn.

One of the first things you notice after for instance binning all the deaths for a couple randomly-selected months: the modal circumstance for police-involved fatality in the US is "engage in a confrontation with police with a lethal weapon". This remains the case even after you discard from that bin every story in which the involvement of the weapon is contested. For every case in which the victim's family, friends, or bystanders argue no weapon was involved, there are several --- often 4-5 --- in which the victim was clearly armed; roughly 1:3 knives:firearms.

Really, the modal circumstance for police-involved fatality in the US is "engage in a confrontation with police while illegally armed with a firearm".

It's easy to see why the data would show this but the news narrative wouldn't. People who wave guns at police officers are almost always in some way marginalized: they're mentally ill, and/or already deeply involved in criminality. Those stories are unfortunately not newsworthy. There's a bigtime availability bias involved in analyzing police policy from the news media.

I'm not even saying that's a bad thing. I think the attention being focused on police departments today is an unalloyed good.

The next thing you learn is that we really need to do something about tasers, because if there's a top 3 set of circumstances for death involving police officers, "death after tasing" is at least #3.
Are you only just now noticing the Newspeak in popular culture?

There is now a dearth of synonym usage, and an uncanny aversion to vocabulary expansion. The effect is most noticeable by training your eyes and ears to detect usage of the "doubleplusgood" precursor, "amazing". Count the instances of "amazing" where a better, more descriptive adjective could have been used in its stead.

I have heard rumors that this narrowing of vocabulary may be intentional, in order to make English-language media more accessible to non-native speakers. I have trouble believing in them without my foil hat. But with it on, the hypothesis sounds so plausible that it makes me want to memorize an entire thesaurus--as though I were one of the book-preservers in Fahrenheit 451--while we still have them.