skysight-inc/HackerNews huggingface dataset:
The best way to perform well in an interview is to have seen and worked on the problem at some point beforehand.

When I got a job at Google (in a previous life), two of the questions in my interview loop were ones that I had seen in previous interviews. I kept my mouth shut about that and faked brilliance in the moment. That is, I pretended to be stumped for a second, then I created a narrative where I had a sequence of 2 or 3 "Ah-ha!" moments where I figured out how to refine my solution.

I cued off the interviewer, waiting until they seemed just about to blurt out a hint, when I raised my hand and said, "WAIT! Maaaybe.... I can use a BFS instead of a DFS here and label the cells!" Then the interviewer would usually smile and nod in satisfaction.

Finally, I "stumbled on" the "right answer" and slammed out the code that I had pretty much memorized up to that point.

Make a stupid game, I'll play the stupid game, and have fun doing it.

For the record, I kicked ass at Google (getting promoted twice) before moving on to greener pastures.
They'd just stick to Protocol 1
They aren’t already?
My guess is that they realized it fits into the "corporations are evil" narrative that has become popular with many angry people on twitter recently, and then decided they didn't want to feed into it.
How  to Make Money Blogging – Information Guide Africa
I called out the fake voice thing years ago. It was blatantly obvious, but I guess people were afraid of being "sexist".
Nobody ever got fired for hiring IBM (or Cisco)
It’s getting cheaper and cheaper to produce videos these days though. We’re kind of in the place that graphic design was in 10 years ago. As the equipment gets better, software more powerful, and generations of younger folks with substantial knowledge in the subject, the costs are going to go way down.
Read the article, it gives the history on this. (Basically the motto was replaced by "Do the right thing" when Alphabet was formed in 2016 and this article points out that the language was recently removed from the code of code, although in reality it was just deemphasized.)
Roll the evil laughter...
yes, surely removing this will make people think better of them.
I would argue the opposite.. there are millions of YouTube channels that have no budget at all. Some of my favorite channels have very small budgets.
Yes, but from the perspective of the end user (me), the license guarantees that I can use the current version of the software for free forever without Google or anyone else forcing any changes.

Plus, if I don't like any changes they make, I can fork my own copy and continue developing on that (which the community will certainly do in a heartbeat if needed).
You Either Die A Hero, Or You Live Long Enough To See Yourself Become The Villain

-- Harvey Dent , in The Dark Knight
Edit: oh wait, you're probably asking about the Engineering Directory, not Jim Black.

Jim Black's facebook page says he's VP at Magic Leap, so this must be him:

https://www.linkedin.com/in/jimblack2

Looks like this was during his second stint at Apple, where he stayed for just 1 year, before going to NVIDIA for 16 years.

He did have a previous stint at Apple from 1992-1997, so 5 years.
Ironic that you uploaded this with an AMP URL
I think this motto became fairly diluted as far back as when Google went to China.
It was necessary for buying a jet and Maserati.
Slightly OT, but do people know of any good small language which compiles to C? I'm not looking for big languages like C++, Nim, or Rust, but something which is essentially just C, but with some minimal modernization, such as perhaps being able to import modules, and doing away with header files.
Pretty soon it will not matter if they don't have your DNA - they will be able to figure yours out from samples from your relatives.
There's already many fast, portable, standalone C libraries for this. For instance, see table 1 of https://www.gnu.org/software/pth/rse-pmt.ps. The assembly code for a context switch is pretty minimal (on most platforms, it's just setjmp and longjmp) if you don't try manage the signal state. I would be surprised if there was significant variance in performance (other than whether it chooses to switch the signal mask). Additionally, many language runtimes directly support it without any extra effort on your part. So if you choose to instead use one of those language, you get a fast portable solution without needing to do any extra work to pick a support library (for example, D-Lang LDC, PyPy, Go, Julia).
Interesting, thanks for the detailed breakdown.

How's support for directly mapping chunks of memory to packed structures? We used to do a lot of in-place loading in games(yay for spinning, physical disks) so it being able to do blind casts was almost as important as value types themselves.
Served by (evil) AMP!
Years ago I tried to start a small side business on Youtube. I filmed and edited a dozen or so videos with great effort, and hid them until we could launch. While we were polishing things one of the guys that was working with me clicked on an ad, I believe twice. It was for a car or something and it was worth about $12 total. I almost immediately saw it on our account, and figured out what happened. I tried to disown those clicks and that revenue, but there was no way to do it and there was nothing I could do. It was obviously not a genuine users click because no one was watching our videos yet, and I'm sure the guy's account was associated to our project.

Sure enough, a few weeks later we were perma-banned from adsense. Destroyed all hope for my business. At no point did we get to communicate with a live person. Fortunately I had set up an LLC and used the Federal Tax ID from the company instead of my own SSN or I would have basically been blackballed from internet advertising forever. I disputed it, owning up to what happened and explaining how I couldn't undo it. The robo-response was that my dispute had been rejected, ban was permanent.

I bet this destroyed so many people's hopes and hard work over the years. When you have a million followers, it will take serious fraud to cause a problem. When you are a nobody starting out, figuring things out for the first time, you make one mistake and you are done forever. I realized that if anyone didn't like a less popular uploader they could just make a new account, and click on their ads until they got banned. Pretty horrible.

I haven't been involved with adsense since, but if they don't provide the ability to disown clicks they should add that. There is a lot of testing that goes on when you are building a product.
The reality of business is you don't have to be innovative. A lot of successful businesses are not even new ideas. Of course there is the whole concept of the first-mover advantage but in the world of SaaS there is plenty place for competition. Making a 30% improvement on one specific feature of a popular product or service can very well be a business on its own. I think a lot of people get held up on the idea that it's unethical to just steal an idea so they try and start something brand new. Innovative businesses are the riskiest.
Doesn't that pretty much mean "you either turn into a villain or stay a hero until you eventually die"?
Ctrl-F Evil, and it's still there.

"And remember… don’t be evil, and if you see something that you think isn’t right – speak up!"
Cixl? :)

I realize the Forth & Lisp heritage might be a bit hard on the brain for those who haven't been exposed before, but what you're asking for is otherwise more or less what Cixl is aiming for.

https://github.com/basic-gongfu/cixl#compiling
> Everything can be done better and faster in a cas on a laptop.

Everything except actually typing in the problem. A good specialized keyboard and input method (RPN) will always beat QWERTY, especially one that doesn't even have a number pad.
To play devil's advocate for a second - I don't mind this (that much).

The phrase "Don't Be Evil" seems like a kitschy nod to Google's earlier days when they were just a couple of programmers in a garage. However, that was decades ago and Google has grown into a more matured entity. This statement comes from a time before Google had to meet with Government agencies on a (probably) daily basis or start policing YouTube for terrorist beheading videos and pornography. They are actively trying to do good - but they're no different than IT - you only complain about when things go wrong, never when they go right. Google does plenty of good, they don't need a snide comment about how everyone else doesn't to do that.

To remove this artifact of the past isn't to say "it's time to start being evil!". It's a child putting away their toys as they move to more mature times.

EDIT: As someone mentions, the line is still there. Leaving my post up as it still stands if they took it out tomorrow.
No, it means you either die commiting a heroic act, or you're not killed as a hero and end up becoming a villain. Basically saying you'll either die doing a heroic act, or if you die a more natural way of old age or something you may be seeing yourself as a villain.
For startup founder, just master the concept of leverage.

The opportunity exists in the business world because when companies become successful is when collective leadership becomes most focused on maintaining success. Usually, leadership tends to see more risk in the downside of the current plan and than upside in taking on new things.

Few things companies doing regularly:

1. View a temporary trend as a competitive advantage.
2. Focus on building reputational momentum.
3. Believe it’s easy to span across generations.
4. Love being right.
5. Love the new idea, not new way of thinking.

Being right and staying right is totally different. Doing well reduces the incentive to explore other ideas, especially when those ideas conflict with your proven business model.

The idea is not important as thinking. And knowing how your idea evolving is more important to have a good idea. Because you will realize how to generate your own point of view.

Usually, the traditional Business Thinking Process is:

Dissect the dominant business model in your industry.
How big is the remaining market?
Find a way to get in.

Instead, in order to master and beat the odds, you should just totally ignore “the market things” and think about:

What’s the business model other people can’t/hard to clone?
What’s the opportunity cost of building it?
What’s your advantage to build that business?

First, why can you ignore the market? Because Which market does not depend on you, it’s on the user. You’re not in the market you think you’re in – you’re in the market your users think you’re in. Most failed companies made the wrong “Awesome product” by choosing the wrong market and following the wrong standard.

If your business fits in a market design by someone else, your dead. Pepsi never catches Coke. Bing never catches Google. The real question is can you design a market that you can dominate.

Second, market-size is not important at all. Numbers are about the past if you wanna create new things, you need to focus on what’s the one that can’t be copied and people don’t know they need it yet.

If you thinking about market-size, the market you are talking about is old and full of competitors. Market means buyers not a customer segment or existing category.

So. Igore competition.

Create your own category.

Original post(https://github.com/functionalflow/brains/blob/master/_posts/...)
Yup, in fact everything in Rust is by default a value type, you have to use Box<T> to get a heap allocated value so otherwise it's on the stack and usually pretty memory local.

You've also got things like mem::transmute to let you do the really fun stuff like direct mmap of data structures and other fun(but potentially very platform specific) operations.

In fact it's not turned on by default(but I understand in the works) but the way Rust is designed(single mutable pointer, no aliasing) means that you could turn on restrict[1] by default, which can be a huge performance win in certain circumstances.

[1] http://en.cppreference.com/w/c/language/restrict
Ironically Bill and Melinda Gates turned into sort of worldwide heroes, targeting the big difficult unprofitable problems with the most social impact
"good entrepreneurs copy ideas, _great_ entrepreneurs steal ideas"
I had understood that the motto was heavily involved in the decision to leave China.
The quote has mostly to do with risk taking and comfortability that age makes us inclined to adjust. Basically, our habits and creature comforts have a way of making us too complacent and out of touch. Even the best of us can turn into miserable old pricks if we don't take risks and go outside our comfort zones. Even heroes. Heroes die young. So do villains. But an old hero is mighty suspect. Old age isn't due to skill always - sometimes it is due to lack of risk taking - which is a heroes job..
> How do you deal with the fact that we don't know why anything at all exists? Why, for instance, do atoms, subatomic particles, etc, exist AT ALL? Why not NOTHING?

The "why something instead of nothing" question is one of those universal philosophical questions, but it's interesting to consider the fact that we have no concept or example of the alternative (true nothingness). If you think about it this question is kind of odd in that it carries a hidden assumption that nothingness is the normal state of things and existence (of anything, not just biological life) is somehow abnormal. Why should we have reason to believe that?
Humans have a right to know whether they are talking to a human or a machine. Even the benign example of restaurant hours -- maybe the guy was willing to tell the restaurants holiday hours to someone who is wondering, but DOES NOT want it posted to Google bringing in more customers and forcing him to stay longer on the holidays. I don't know, it's a contrived example but it's not the right approach to say "why should they have a problem?". The right approach is just to tell them and let them decide whether they have a problem with it or not. Anyway this is kind of a moot argument because Google has said that they will tell people the call is coming from Duplex, so Google itself has conceded that people have the right to know they are talking to a machine. It is somewhat unfortunate that people care about this from a software perspective though, because it probably is beneficial from a "learning" standpoint to have people just speaking as they would to a real human.
Well, first of all you seem to be presenting this as coming from multiple sources which would make it more authoritative. However, the only source is Citibank, correct?

Without looking into it further, I tend to be immediately skeptical because (a) the figure of $1.46 sounds inappropriately precise and (b) the Post Office has publicly stated that they are required by law to cover their costs, and are audited to that end.
The low voice bit isn't in the article, was it previously?
Actually, the bomb and its design and construction require so much tacit knowledge that we might be on the verge of uninventing it already.

https://www.journals.uchicago.edu/doi/abs/10.1086/230699

http://www.dtic.mil/dtic/tr/fulltext/u2/1018881.pdf

http://public.lanl.gov/bsims/pdf/4S%20tacit%20knowledge.pdf
Pretty much all the recent apps I'm involved in use pie menus. They are generally very well received. Example: https://www.bigburgh.com
How SIEM and Log Management Solutions Will Help You Achive GDPR Compliances?
Student hackers change grades, lunch balances in Bloomfield Hills
They changed to "Do the right thing" from "Don't be evil" back in 2015 long before the 3000+ employee protest against the Pentagon drone project. I doubt this is the event that triggered the change in stance.
and what will you do when Canada follows in the EU's footsteps? Or the rest of the world? When they finally put pressure on the US to do the right thing? Because this is the right thing to do.
There's datatau.com for data science.

I think the tendency is that independent attempts die off.
There have been many people extradited to the US for infringing US copyright laws.
Not faster than dealing directly with ucontext from what I've seen; many wrap it directly and the rest tend to emulate using signals, setjmp and prayers.

I would love to be wrong though...
I made just over $1m because we raised a bunch of money for growth that didn’t pan out. Because LOL California the money went straight into a house. I still have a mortgage and a day job.
$11 million seems astonishingly small given the number of people that have been screwed by Adsense. If myself and one other friend received full payment for our closed accounts, we would consume about 2% of this fund by ourselves.
I disagree, and also Gates ruined computers for everyone forever.
Archive.is has the full text, which is not atypical.
I believe it’s in the video
Also see: "Only the good die young."
It's a bad sign when a self-proclaimed authority lifts the definition of the topic from Wikipedia. Unless said authority wrote the Wikipedia entry, in which case I humbly apologize.
We turned it back on quite recently! I haven’t seen any numbers yet though.
I think you want Zig!
One of these doesn't fit:

> BS software patents on applying arithmetic coding to video compression.

https://xiphmont.dreamwidth.org/84214.html

Also, you missed the biggest one: joining Steve Jobs's anti-poaching agreement, depressing Bay Area software engineer wages for years.
You won me over with that compelling argument.
This can't happen quite as easily with music that's still under copyright. Interestingly I find myself wondering whether stronger copyright protection -- something for which I usually don't have a whole lot of sympathy -- would at least introduce a little friction into the music appropriation machine.

Also I'm wondering what cultural associations today's music will have, far in the future after its copyrights have expired.
That's the problem with don't be evil. You can only remove it when you become evil.
Isn't Zig based on LLVM rather than compiled to C?
It worked for me without problem in this case. If you regularly access the WSJ using this method they may track IPs as well as cookies as they have a differentiated access pattern for social and search links based on identifiable user history. Incognito mode gets around cookie tracking but not IP tracking.
If the intent is to sell quality ads, advertisers need to see some audience analytics. A smaller publisher is less likely to get people to register, fill in the proper demographic data and stay logged in across all their devices than a large platform.
> To remove this artifact of the past ... It's a child putting away their toys as they move to more mature times.

That's just depressing.
Sometime in the far future, someone will write an interesting story about how a double null byte came into existence in the git request protocol, and it will be amusing and interesting to look back. As the saying goes, hindsight is always 20/20. I'm glad that they found ways to maintain backward compatibility, at only a minor cost to understanding things.
Or having enough money to make unprofitable problems profitable for them (e.g. Step 1 invest in Monsanto; Step 2 push Monsanto in developing companies through 'philanthropy').
So... Takes one to know one?
I’ll be blunt - working with data is a lot more fun than working with line of business applications. That’s why so many more people want to do it.

People compete in machine learning for fun (e.g. kaggle.com). I doubt anyone works on CRM systems for fun.
Perhaps they should change it to "Do Good," although that might be at odds with their goals of maximizing shareowner profits and dominating the world.
Being able to solve dynamic programming problems may or may not get you a job but it certainly will get you a medal at high school programming/informatics Olympiads.
No, FRAM is quite different from MRAM. A FRAM cell has a single ferroelectric element that is read destructively (just like magnetic core memory). A MRAM cell has a pair of magnetic elements and resistance through one of them varies depending on whether the magnetization is aligned with the other element. That resistance is measured non-destructively.
Having whitespace after the asterisk or indenting the line by two or more spaces seem to be the only possibilities according to the "Formatting Options"[1]

[1]https://news.ycombinator.com/formatdoc
Working for a major Canadian multimedia company (including some reputable magazines). Brightcove is pretty much at the core of it. Youtube is a sometimes, or just another endpoint. Facebook Live was used a few times but I haven't heard much from that lately.
When I interviewed at $BigCompany, I really enjoyed the whiteboard programming problems I got.

But I noticed that 2/3 of them ended up with recursive solutions. Meanwhile, I spend less than 1% of my real professional programming time writing recursive code, and it's a bit silly that so much focus is on such relatively obscure technique.
The objections to the project internally could have been brewing for years, though.
If I drive up to a gas pump and notice one of those screens, I drive away. I shop at Target instead of a variety of their competitors solely because Target doesn't play music. When visiting doctors offices or similar places with waiting areas, if they have a TV blasting noise at me, I turn it off, unplug it, or go outside and tell their staff where they can find me.

Honestly, I may have a disorder, as most people I know aren't so bothered by background noise. In my case, natural background noise (e.g. rain, wind, birds, etc) is fine, but advertisements, radio, TV, nearby conversations at bars/restaurants-- these stress me out.

Someday, I hope that we see light and sound pollution for what it is-- pollution.
He's a hero to some people. I still hate his guts.

And I give him almost no credit for giving some money now. He's giving away stolen money while living in the lap of luxury. Gates acted completely amorally for most of his life and now is simply buying his way into respect. I'm not a Christian, but I'm reminded of Luke 20:45-21:4.

But his Foundation is well-run and effective. Maybe he was a net good for humanity. Probably not, though.
x-posted from dupe: https://news.ycombinator.com/item?id=17105411

I'm guessing they're not happy about the whole drone assassination debate going on internally. It's so disadvantageous that their staff can call the leadership outright hypocrites based on their own professed values. This makes everything so much easier for everyone.

Information on the drone program: https://theintercept.com/drone-papers/

Google's complicity in Project Maven: https://www.defense.gov/News/Article/Article/1254719/project...

Google's Internal Debate: https://www.bloomberg.com/news/articles/2018-05-14/inside-go...
If you're okay with more of a microfiche-style experience:

https://www.pressreader.com/

Not sure if you can kill photos— but they're pretty essential to journalism.
Which, if true, is super annoying seeing as she was held up as an example that bucks the trend and stereotypes when it comes to women in entrepreneurship.
Apparently they've decided there's increased shareholder value in being evil
> I'd worry that this was somehow acquired rather than just random. If it is exceedingly rare, I always worry it isn't a coincidence but rather a yet not understood method of transmission.

Bad luck is bad luck--not everything has a controllable cause. 70% of all zygotes spontaneously abort.

The difference is that we would leave such children to die a century ago.

I don't know what the modern answer is for children with these kinds of debilitating errors in their DNA.
Will someone please think of these poor & suffering record profit breaking Fortune 100 companies?
Hey! With something (modernized) like that, you could ride in the suburbs to mass transit ... and leave the car at home.