skysight-inc/HackerNews huggingface dataset:
If the company is successful, they will pay a dividend or do a buyback later. For example, Facebook raised $16B in its IPO, and recently bought back $6B worth of shares at about 4 times the IPO price. The IPO was a great deal for common shareholders, despite their lack of control. Perversely, the comparison to Facebook might bias people to pay more for Snapchat shares with no voting power.
> who the hell is ever going to go through all of that?

It's not particularly onerous, considering the sorts of things many scientists already go through, e.g. regarding contamination, safety, reducing error, etc.

> Yes, you made some checklist, great. But no other lab is going to go through all of that. And in your field, if you are very lucky, you may have just 1 other lab doing anything like what you are doing. It would be a checklist just for yourself/lab, so why bother recording any of it?

Why bother writing any methods section? Why bother writing in lab books? I wasn't suggesting "do all of these things"; rather "these are factors which could influence the result; try controlling them if possible".

> Yes, do it, fine, but how long should you store those records that will never be seen, even by yourself?

They would be part of the published scientific record, with a DOI cited by the subsequent papers; presumably stored in the same archive as the data, and hence subject to the same storage practices. That's assuming your data is already being published to repositories for long-term archive; if not, that's a more glaring problem to fix first, not least because some funding agencies are starting to require it.

> Why in god's name would you waste those hours/days just going over recordings of you watching a mouse/cell/thingy to make sure of some uncountable number of little things did/did not happen?

I don't know what you mean by this. A checklist is something to follow as you're performing the steps. If it's being filled in afterwards, there should be a "don't know" option (which I indicated with "?") for when the answers aren't to hand.
I just want to point out that 150 years ago, a huge number of Americans thought that slavery was perfectly moral. That is not very many years ago.

"A lot of people need to be evil for this story to make sense" is not an Occam's-razor counterargument, it is the unfortunate truth.
A big difference between ReST and Markdown is that it's very easy to accidentally write ReST that is either invalid or doesn't mean what you think it means. The Julia manual used to be written in ReST and even people (or maybe especially people) who were pretty deep down the ReST features rabbithole, regularly committed ReST that was just wrong – quotes where code was intended; incorrect hyperlinks (why is the hyperlink format in ReST so damned complicated and non-uniform – it's basically impossible to remember); bullets or lists that aren't actually bullets or lists. This is possible in Markdown, but it's much harder: by design, things almost always mean what they look like they mean. That's a huge benefit. The Julia docs are now in Markdown and accidentally broken markup is hardly ever a problem anymore.
Monzo is UK only at the moment. They don't do saving which it seems Simple does. They (for now) have focussed upon building their tech stack and a pre paid credit card.

The thing is, their big value add is the instant notifications. As far as I can tell from reading their blog, this took a lot of development effort: https://monzo.com/blog/2015/12/15/why-are-foreign-card-payme...
> Grice had a fun theory that the observable signal of language is _so_ noisy that it's impossible to learn outright, regardless of the number of examples you're exposed to. And thus, everyone speaks a slightly different language, and some sets of these idiolects are, roughly, mutually compatible. I don't think he ever did any math to demonstrate this though.

I'm not sure how you'd reduce this to something mathematically demonstrably, but it seems to me that it's the only thing that could be true. The alternatives is that languages are real, distinct, concrete things that exist independent of people, rather than arbitrary lines drawn by people around the continuous and evolving variation in ways people communicate.
Definitely 3, at this point. Most libraries are Python 3 ready, and it doesn't make sense to start with 2: http://py3readiness.org/.
Some protocols are sensitive to mere collisions. Also, this suggests actual preimage attacks could be found later. Not today, but still. Finally an accurate explanation is longer and has less punch.

It's safer to "join the headless chicken" route, consider SHA-1 officially broken, and start thinking of alternatives.
I think the point was more: the OP clearly has an opinion here, but it's not written and those of us who know zilch about the Amazon affiliate market aren't able to intuit it.

Spell it out, basically. What are we looking at and why do we care?
It will be a big loss for pc tech YouTube reviewers, I know it's a big chunk of their revenue. They already removed a lot of them from their affiliate program because youtubers used to just tell viewers to bookmark their affiliate amazon link because it supports their channel. So a lot of them had to open a new affilaite account to comply with new rules and all previous videos were demonetized because of account suspensions.
I went through that phase too, but deep down it was guilt- and anxiety-driven. Once I accepted that life is too short to learn everything or be the best at everything, and that I'm already really good at the things I care about and learn a lot at work anyway, I'm quite satisfied to spend free time playing games.
Not a lawyer, but that sounds like it touches on
https://en.wikipedia.org/wiki/Disparate_impact

If you have a rule that is neutral in theory, but has disparate impact on a protected class in practice, it is not a neutral rule.
I am so excited for my retirement. I am going to make ceramics and play Go, two hobbies I wish I could spend more time on.

But I'm also going to dump a fuckton of time into videogames. I remember visiting my grandparents in their homes (and later, their retirement and/or nursing homes), and it felt... boring. I'm looking forward to having an active gaming life, and an active social videochat/groupchat life with any of my friends who are still alive.
You've entirely missed the point. The dollar amount of the jacket doesn't matter.

The point of the jacket is that they're a part of SRE culture. To have the SRE jacket is to belong to an elite team within the company. And Uber is big enough for that distinction to matter.

If you're going to create a wearable indication of membership in an elite division of your company, you'd damn sure better ensure that every member of that division can actually wear it. Not only did Uber fail to do that, it failed in a way that specifically excluded women.

The jacket thing was less of a big deal to me before I read this story. With the SRE culture refresher, it rises to the level of "among the worst things Uber did".
White House Confirms Conversation with FBI about Trump and Russia
yes its a very artificial Q a better one might be how would you use a computer to measure how efficient 100 different toilets are :-)
You're trying to make this argument without once considering that the situation is statistical. You're demonstrating that you can't KNOW these things, which is true, but certainty is not the only criteria on which it is possible to make a decision.
A very interesting company I'll certainly be watching in the days ahead. The idea that I can see who my data is shared with is a really cool idea
Did Intel actually enable the TSX extensions in Skylake? If I'm not mistaken, they shipped it in the last couple of generations but disabled it after release. (Something like that?)

It's something that I've wanted to play with for sometime. It's cool that GCE has them available as a service.
I made a service that implemented Google AdSense type title and body text examination with the Amazon Product API to automate ad selection. Place a JS widget on a webpage and it would automatically examine body elements for keywords, dispatch a request to our server and find an Amazon product that was relevant, then inject affiliate ads on the page.

Then me and some associates applied the plugin to a massive network of content scraped wordpress sites which basically reposted stuff from RSS feeds. There was an art to making a site that has good SEO, would perform well in Google SERP, be just attractive enough that people wouldn't immediately hit the back button, but not completely satisfying so that they would be looking for more and click a link which would take them to the Amazon store.

Once they had our affiliate attribution set we didn't care what happened, if they made a purchase within the next 30 days we made money. And electronics was very profitable at the time.

A few times I got banned because my affiliate link was all over the place, like literally hundreds of sites, and Amazon wanted to control where the affiliate links were placed, not have them on sketchy semi spam websites.

Another time I got banned because I was using the product API in a way they didn't intend.
I don't think it's gotten any better as far as cracking down on drivers. When I try to get picked up at NYC area airports, if the driver calls right away and asks where I'm going, I hang up, cancel and report them for violating the TOS, and request a refund (which I've always gotten).
Even archive.org is dependent on donations [1].

[1]: https://archive.org/donate/
I feel like the original supreme court decision that allowed the patenting of DNA needs to be overturned. The suit was brought by General Electric for an organism they didn't even use. Now the entire farming industry is radically different with companies like DuPont, Monsanto and BASF controlling the seed supplies for many major crops.
I used to say I don't play videogames for the same reason I don't shoot drugs into my eyeballs.

Then I got a medical condition that required injecting drugs into my eyeball once a month.

I still don't play videogames, but take that, Keith Richards!
Am I the only one who saw the string representation of the nested array and said "you could just walk it character by character and ignore the brackets and commas?"
That's really good to hear. Unfortunately that doesn't seem to be the case in the UK, at least for my accounts (Barclaycard and Halifax).

I think our banking system is a bit antiquated. Monzo have built a tech stack that is far more advanced than any of our incumbant banks.
The 3.1 UI that still exists is silly stuff like file open dialogs that aren't "desktop aware" or whatever. There's no reason at all to retain such "compat" because it instead requires users to learn where all such magic folders live in the filesystem.
Plot twist, your consciousness is actually a property of those higher dimensional beings, and our reality is like a hive-mind group dream.
I don't really write Java, but I fail to see any easy and robust way to assign a type to the flatten function in Java.

Is this the signature you would expect in a solution to this?

List<Integer> flatten(List<Object>)

Or something like

List<Integer> flatten(NestedList<Integer>)

with a definition for NestedList?

Is there even a way to define something like NestedList without coercing back and forth from Object? Is there a way you can do this so that you don't have to basically reimplement List?
The issue is VAT in each country in the EU (which I assume you're based in). We don't (currently) collect VAT, but as businesses are required to represent that they'll pay it in their home countries, we can allow you to use it as a business. It pains me (and others) deeply that we "block" individuals like this, but that's how it is today.

Disclosure: I work on Google Cloud.
I know security is not compliance, and I'm not here to compare the two, but Google goes to great lengths to protect security. [0]

TL;DR:

- Google's global SDN is ultra-secure, and Google carries your packets on its network rather than dumping them onto public web. Google's undersea cables are shark bite-proof! [1]

- Google Data Centers are mostly homogeneous and rely on Google-build hardware rather than vendors. This greatly helps with securing infra - only one vendor (Google) to trust, only one set of best practices to follow, lower risk of misconfiguration, and exposure risk is minimal.

- > 600 security engineers.

- Encryption-at-rest and in-transit is ubiquitous.

[0] https://cloud.google.com/security/whitepaper

[1] https://www.youtube.com/watch?v=XMxkRh7sx84

(work on Google Cloud, not in marketing :) )
To be clear, I would not have done what Uber did, and I don't think it was a good idea. I am trying to figure out where the boundaries of discrimination lie; I thought I could have this kind of conversation on HN, but I was wrong.
You have to add a couple thousand years of CPU computation. Though if ASIC can meaningfully replace those, they're as good as negligible…
> "Heh, I know you don't want to talk about Azure, but perhaps others can share -- what's so bad about it?"
This is what I will say:

I'm working on a migration to it, so I'm not very experienced with it, but so far, it's been very painful compared to GCE or AWS, in which I've run production stacks. I'd rather not comment further, simply due to my relative new-ness to the service and the chance that it's just lack of experience.
The customer service is, at best, run at a glacial pace.

> "It's superior for running Windows at least, right?"

I'm a Linux guy running a platform agnostic Linux stack, but I'd assume so. I get the feeling so far that it's really good if you want to run MS-SQL and .net, and garbage otherwise.

The only reason we're migrating from GCE to Azure is because our GCE credits are expiring, and Microsoft gave us the YC Credits offer for Azure.
We'd rather stay on GCE if we could. Also, postgres RDS/CloudSQL is the one thing we miss from AWS
Yep, no foreign currency fees.
my Pinterest spam bot revenues will take a dip :(
Your opinions and letters to congress do not affect public policy at all; not unless you're in the top 10% of income earners:

http://fightthefuture.org/videos/does-voting-make-a-differen...
The cost model also assumes non-criminal behavior. But for most cases where somebody would be motivated to find collisions for breaking a cryptographic scheme, they're unlikely to be restrained by the normal boundaries of the law.

IOW, for a criminal organization (or just a single criminal) with a huge botnet the direct cost might be closer to $0. Of course there's opportunity cost--botnets are often rented like a cloud service--but that's the case for everything.
Fair enough. The article explained that poorly and made it sound as if there is a real contingent of psychologists who think that babies magically know grammar as opposed to learning it.

Given this reframing of the research, I fail to see how this study demonstrates anything, though. If the brain has special structures that allow humans to learn grammar, you would still expect to see the same pattern of "terrible, broken grammar -> mediocre grammar -> good grammar" that we see. We see the same learning pattern for things that the brain does have special structures for, such as... well... everything from sight to motor control.
The fact that "int or list of int" isn't sanely representable in any concise way in the mainstream OO languages is a sign that perhaps this isn't a great example problem for a Java interview.

Obviously you can do this with brute forcing the sum type with some class hierarchy (ugh) or make the algorithm accept some List<object> or Java "List" interface.

Both of those options are pretty terrible.

I think the intents of the question are good - see if the candidates understand the importance of naming, signature, tests.

There has to be a question that does this and doesn't immediately have the subject crying over the type system.
How would radioisotopic dating work here? All the clay is coming from the same places upstream and being deposited in layers. Same for the calcium carbonate. So just rearranging the material shouldn't change the decay rate, right? What would be radioactively different from one layer to another?
AWS did a lot of work to improve how they share compliance information over the past year. It wasn't much better than Google's reference before that. Azure beats both of them in my opinion, as you can access many of the raw compliance reports without an NDA.

It's also important to pay attention to which services you consume, as not all of them are certified to the same degree.
Learn Python The Hard Way was the first programming book I ever read. Beats the hell out of codeacademy and all that other shit.
Please don't answer a question with a question. I'm not the one implying anything. If you're not willing to be explicit, please don't imply or insinuate anything.
My dad just turned 65 and he still has no interest in video games except for solitaire. But I really think that he'd enjoy video games, especially as a way to keep an active mental life in retirement. I tried to explain the "it's almost-real physics!" angle of Kerbal Space Program, but that wasn't persuasive. Any tips?

Also, have you played Overwatch or TF2? I found both of those more interesting than Titanfall-- and a wise player can really help a team by jumping into the role that isn't present on a team.
Did the boundary I just laid out for you not make sense?

If you create some kind of badge or wearable emblem of belonging to an elite division inside your company, it's the obligation of the company to ensure that every member of that division can wear it, and it's further egregiously discriminatory if you structure it in such a way that women are actively discouraged from wearing it.
I would either use Object to be quick, or implement a NestedListItem with isNumber(), getNumber(), getList().

The one thing I do like about this problem is it shows when TDD is useful. If you try to write a test case first the representation problem will be the very first thing you run into, and the code will mostly follow from there.
That would have been the best outcome. As it is, I'm left with concerns. Maybe it is related, but he's been instructed to not comment. Maybe it's a National Security Letter. Or whatever.

And yes, maybe he was just stressed out, and didn't want to be pestered with conspiracy theory ;)
I'm having a real hard time parsing that paragraph. Putting aside taxation, only two classes of people receive some share of income from production: workers & owners of capital. I don't understand how the income share could be declining for both classes simultaneously. Where is the 'missing' income going?

And bringing in the idea of winner takes all market structures just seems like a non-sequitur. I'm struggling to understand the causal relationship between market structure and the relative shares of income that go to labour and capital owners.
I've been playing a single video game for more than half of my life (I'm 30 now). I've dabbled with other games, but this game and the community around it contributed a lot in making me the person I am today. I don't plan on stopping any time soon. In fact, for the past few years I've shifted most of my free time from playing that game to helping a friend develop cool shit[0] for it, so we can hopefully prolong its lifetime. Programming and gaming go so well together that I'm pretty sure I'll continue hacking on some old games when I'm 60.

[0] - https://shieldbattery.net
Just to clarify: I'm agreeing with you, not disagreeing.
Somewhere between TV and video games, I started watching "Let's Play" game walkthrough videos of favorite Sierra Online adventure games from my childhood that I never completed. You get to discover the stories' secrets without the frustration, plus many of people recording the walkthroughs are pretty funny.

https://en.wikipedia.org/wiki/Let%27s_Play
It's trivial, of course, in Common Lisp:

(defun flatten (x)
(if (listp x)
(reduce #'append (mapcar #'flatten x))
(list x)))
This wasn't stated as a test for Java programmers. Rather that most programmers chose to implement in Java because they were familiar with it.

And you have to ask, if they were familiar with Java then why didn't they choose one of the idiomatic approaches you suggested? I mean, the "list" part is not an internal requirement so you could easily build a tree/node structure on input...
How ever did we get reviews before Amazon affiliate programs?
Why "obviously" ?
Unbiased.

Only if the item is sold by Amazon (or a competitor with commission), otherwise the item won't be reviewed or discussed at all.
Playing starcraft 2 totally consumed my life from about 18-22. It was very similar to a drug addiction except I convinced myself it was positive because I would eventually be a professional. My addiction prevented my from working on the underlying issues that caused my to seek refuge in the game. It also left me with a host of physical RSI problems that have been a huge negative to my life + career. Although if I hadn't developed them I suspect I'd still be consumed by games.

In order to spend vast amounts of time playing video games you have to be at a certain level of privilege. I feel as if video games have cheated myself out of potential as well as those that my privilege obligates to help.

As with other addictions there are people who won't be consumed by it like I was, and prohibition isn't the solution, not sure what is tbh.
I agree that disparate impact analysis could be applied here, but you would first have to decide what the 'benefit' was (i.e. money-equivalent, same garments, or similarly well-fitting garments).
Last month I did. I have a number of affiliate sites, most with amazon that pull in $100-$200/mo.

At the start of the year I moved over to take advantage of their bounty program. $3-$5 per free trial signup. Movies for example included Amazon Video, HBO, and stars. So if someone tried out all 3 I got $9.

I sell books on amazon as well. My website for one series has an audible affiliate link. An audible signup = $5. If they first check out my audio book I get a percentage of the book cost and if they stay subbed for 61 days I get a $50 bonus. If they sign up for Kindle Unlimited to read it I get $3 + page reads from the book.

The straight affiliate product sites are going to take a hit. One was for an electronics niche.
That is indeed, depending on the context (you know the strings won't contain commas OR that it should be split in the commas), one way to do it in Javascript ( https://github.com/franciscop/umbrella/blob/master/src/plugi... ):

return args.toString().split(/[\s,]+/).filter(/* ... */);
CNN, NY Times and other news outlets blocked from attending White House gaggle
Yeah, it's an unfortunate added frustration for beginners, but one you can quickly overcome, once you're made aware.
If you're just analyzing the data R seems to be the right choice. If you're going to need to gather and parse the data then Python is a much better general purpose language.
You can make it nicer and more reliable with Perl:

sub flatten {
map { ref $_ eq 'ARRAY' ? flatten(@$_) : $_ } @_
}

However, this is not something a Java/OO programmer would be comfortable with, especially under the stress of the interview. As it's a bit higher level and closer to a functional way of thinking, than OO.
I used to play video games a lot, especially 'builder' type games like Harvest Moon 64 or SimCity.

These days however, I feel guilty whenever I fire up a game, even one I really enjoy. I feel like I should be doing something more 'real', like playing guitar or building something, even if it's trivial.

It's strange, because in the end enjoying my time gaming with my friends or playing guitar with them or building things for them add up to be the same.
But I'd be interested to know if there are any plans to do so. Google Cloud people reading this - are you there?
Immense loss for PcPartPicker as well, their entire revenue stream was built on Amazon affiliate links.
great! seems like a nice tool to have in the toolbox :)