skysight-inc/HackerNews huggingface dataset:
Xmysql: One command to generate REST APIs for any MySql database.

https://github.com/o1lab/xmysql

This has been a fun project that I worked on last year. I started to learn backend but felt the process of creating rest apis can be improved. And I started to work on Xmysql. It is written in nodejs.
https://www.amazon.com/Uvex-S0360X-Ultra-spec-SCT-Orange-Ant...

These work great. I wear glasses and they are very comfortable over them.
Samsung tempers record earnings with pessimistic smartphone outlook
That's not what was said. At all.

To be perfectly honest, I doubt there are dozens of director-level interview samples because there aren't tons of engineering directors, further "director of engineering" is a management, not technical role, so wouldn't be given questions like this, at all, and of the remainder, most of them were promoted from within google, not hired from outside it.

Most new hires get screened in some manner, but very few new hires are directors of engineering, so I'd mighty curious to see your source for the interview questions they got.

What these questions are are the standard set of pre-screening questions asked of a potential SRE IC or maybe TLM candidate. A SWE wouldn't be asked these questions, because they aren't related to the role. A SWE candidate still might get screened, but not with these questions.
If your engineering managers can't be disturbed than maybe you don't have time to hire.
Wow I like your blog! The landing page is really nice. I did, though, get very distracted by the text-shadow on the headings and links. It makes me feel like I have something on my glasses or something. Everything else looks beautiful to me and the projects look awesome.
That number is probably grossly inflated. This [1] article on famine indicates about 75,000 people die per year due to famine or the lack of food. That's down from 928,000 a year from the 19th century (now consider that in percent populations!). You can attribute many things to hunger when the causes are not necessarily primarily hunger.

But for the sake of argument. Let's imagine that number was true. The stupefying thing is even that number is surprisingly positive. There are currently 7.6 billion people in the world. Numbers like this are really hard to wrap your head around, but to put that another way that means that, even if we pretend that number is real, that means that 99.9% of this world have enough food to get by. Think about all of the countries doing completely idiotic things and all the warfare going on which tends to cause starvation. In spite of all that 99.9% of people have enough to get by? That is really quite remarkable!

And as mentioned the big problem here is not a lack of money or a lack of arable land or anything like that. It tends to be because of bad decisions. Zimbabwe, the former 'breadbasket of Africa' is the poster child here. They chose to forcibly confiscate the land of experienced farmers (without compensation) because of their skin color, and then redistribute it to people with minimal farming experience. Around the same time they also decided to try to become socialist ruining the extrinsic (financial) motivation to maximize production. You'll never guess what happened next!

So what do you want to do there? You're not going to solve that country's issues by donating to a charity or even pursuing greater foreign aid. They need to either solve their own issues (which they do seem to be making progress towards - having recently staged an armed coup) or you're left to start another war for some good old fashioned 'regime change' in which case we often end up screwing things up even worse in the longrun, if not in the shortrun, as war and hunger tend to go together.

[1] - https://en.wikipedia.org/wiki/Famine#21st_century
Why Use Containers for HPC on the Nvidia GPU Cloud? – InsideHPC
The value of offshore wind energy: What the US is missing out on
They probably go home and cook their own meals most of the time. Just like most people who can't afford to eat out for all their meals.
Does it detect orientation and automatically rotate so it’s level?

If not it might as well just be square,
> Maybe an imperative language with a strong type system and without exceptions would have the same effect?

In what sense would such a language be imperative? Are you talking about allowing state mutation? I'm pretty sure that would introduce most of the problems the Python had.

Functional is not so much a thing as the absence of a thing - an imperative language (i.e. a language in which evaluation order is visible and relevant) essentially consists of a functional language plus one or more unmanaged noncommutative effects.

> What if you converted the Scala code back to python? Would it have the same good design? And then, even if it's possible to write beautifully designed code in Python, does it even matter if teams consistently end up writing bad code?

Good coding is refactoring, just as good writing is rewriting. If you converted the Scala back to Python it would have its current beautiful design for now, but as you worked on it the design would decay, because it's so much harder to safely refactor imperative and untyped code, so you do less of it, and it becomes harder to see the essence of the code that should be properly factored, in a vicious cycle.
The impression I got was opposite: TPU is not the hot shit that Google claims it is. Pricing is kind of irrelevant since they can subsidize this to create that story.
Ask HN: SaaS Security, how do you trust someone else?
So the Clouds are upon us.

Latley there has been numerous attacks that could potentioally be really bad to cloud providers, and their customers.

How do you as customers ensure that your data and privacy is maintained in a correct way when buying services from a S/P/IaaS Provider?
Roads are designed with a capacity and traffic patterns in mind. It's not a joke that these routes are being abused. It's not just NIMBYism.
To preserve it.

That is like asking why anyone wants to record anything. Why make home movies? Why take a picture? Why write down a thought?
Also meltdown is going to be a problem for them for years.

Intel is vulnerable if they don't get their act together and the competition do.

AMD has been on a roll since Ryzen was released and as long as time continues to go past without a meltdown level problem cropping up they might have a shot at eating some of the data center stuff.

We upgraded our Xeon servers the week before meltdown hit, if we'd know we'd have held on another year and gone EPYC.
Using AI to trace leaking pipes
> One way to quantify how much these internet services are worth is by asking people how much money they would have to be paid to forgo using them for a year.

This would inspire much larger numbers than "how much would you pay to use this service if no free alternatives were available"
If you haven't seen this episode of Black Mirror yet, highly encourage you do: https://www.imdb.com/title/tt2089050/.
MIUI 9 Discontinued
The recruiter asked me a lot of these same questions when I was applying to an SDE position
Building an 8 billion+ dollar revenue website in the early nineties. It was the wild west, and we invented our own sort of FastCGI equivalent using NSAPI to serve millions of users on just 4 modest Solaris/Sparc boxes.

Mostly everyone else was doing old school CGI, one process per request, with the obvious cost and performance issues. Corba based, and antiquted looking now, but it was impressive back then.

We had our warts, but the revenue/cost ratio was crazy. It was nice to be a hero for a couple of years.

I've been lucky a few times over since then to be on interesting projects, but that was the last time I felt like I was on a world-leading team.

Big thanks to Netscape for NSAPI. Very prescient.
I'll take that with a grain of salt. There's a lot less opportunity to strike a deer while going 90mph on a highway in BFE or SnapChat your way into rear-ending a Chevy Suburban in the UK than there is in the US.
> which gets Wayland somewhat right

Wayland has been in development for 10 year, let's hope they fix it in the next 10.
My for-pay labor is not as optimized as yours but I treat my job like that as well. I don't need to find meaning or personal value (great if I can) in my job. I get that from my friends and family and the experiences I have with those people outside of work.
Unity was a terrible pock-mark on the face of desktop interfaces. I was excited to see Gnome 3 supplant it (I've held the unpopular opinion that Gnome 3 isn't all that bad, and I've used it off and on since 10.10). After a couple of hours use, I've seen it crash just like Unity. It's almost as if they took the crashy bits and put them into Gnome. I'm also dismayed at how hard it is to enable theming. Gnome Tweak Tool comes with that option locked out by default. Themes in general have been a pain for many years.
Hi,

Author here. Thanks for the links. I originally planned to try a bigger dataset but didn't want to make the article too long, so left out the optimizations.

I had to do the same exercise for my ML class and had similar results. Random pruning (mostly) worked great for me.

IMHO, While DTs do overfit a lot, they are a great starting point for beginners because of their (relative) simplicity. Better to start light and then introduce the math heavy neural nets and SVMs.
Together with CKEditor 5 v10.0.0 we released plugins enabling real-time collaborative editing in CKEditor 5 :)

Check out the demo on https://docs.ckeditor.com/ckeditor5/latest/features/collabor...
"math PhD" as highest credential or achievement is plain or senior engineer, nowhere near director.
This is great and has an awesome level of detail on information gain. I have found decision trees really useful for getting a feel for what features in a dataset matter and trying out different max depths on trees to get more insight into the data.

I wrote an article earlier this year on how I use decision trees to classify players for daily fantasy sports into different groups that people may find useful https://medium.com/@bmb21/why-is-caris-levert-projected-for-...
It's possible that the process didn't permit much back and forth clarifying of concepts or questions. It does seem that way reading between the lines. I've had some similar experiences over the years (not with Google) so it seems at least plausible to me. It's also possible, if not likely, that the author of the OP was upset, felt slighted, and is not remembering things as clearly as he or she thinks.
Ooops, I forgot to include something in the list of conditions. For every probability I mentioned in the post you just quoted and its grandparent post, we should add to the list of conditions that the number of samples used is the same as the number of samples used in our experiment.

Anyways, if it sounds like nonsense then I will try rephrasing. Right now the threshold for statistical significance is p = 0.05, sometimes lower depending on the field. Let’s say we want to lower this threshold, and we need some way of determining how low it should be. I am suggesting that this could be done by deciding on an acceptably safe threshold, say q, for p(null | T, num samples, normal, iid), and an acceptably safe upper bound, say x_0, for p(null | num samples, normal, iid) / p(T | num samples, normal, iid). Then we use q / x_0 as the threshold for statistical significance.

We would also be using p-values for a null hypothesis corresponding to a range of means rather than a single value (or a range of differences in means, or something else suitably adapted to the type of test we are doing), because with a single value, having an upper bound on the probability of the null hypothesis is vacuous, as you very eagerly point out.

You could argue that this is useless because what we really want to bound is p(null | num samples, T), not p(null | num samples, T, normal, iid). I would respond that, yes this would be the more desirable quantity to know, but we need to make some simplifying assumptions in order to make this problem tractable, and while the normal and iid assumptions probably aren’t true, there are at least situations where we can be confident that they approximate reality reasonably well.
> OK, but incorrect/inflexible quizzing about tech questions is inappropriate full stop. If this was an interview for SWE summer intern it'd be a badly-run interview.

I would not ask the questions listed in this interview. But, I'm not a recruiter. I think it's safe to say that the average recruiter has a better understanding of their objectives and constraints than I do, and is better able to judge what types of questions to ask during an initial screen than I am. Those questions may not be optimize for the same thing any given candidate is optimizing for.

> You can't ensure that there will be no hurt feelings ever, but ideally the candidates you fail don't go around talking about how poor your interview process is.

People in the original thread in 2016 said much the same, arguing that people would no longer want to work for Google. It's 2018 and Google is still not having any trouble attracting engineering talent. Seems like offering high salaries and interesting work matters a lot more to the average candidate than whether the prescreen has a view suboptimal questions.
I appreciate his no-bs approach to the review - he sticks to what matters to him, not all the new shiny bells and whistles.
That said, I would have loved some more input on audio management in the new Ubuntu. pulseaudio is giving me such a headache in 17.10 - random static noise, not remembering the right output or the volume, etc etc..
I've set up a very similar situation for myself. Part time work with near full time pay/benefits, remote when necessary. It took some effort to get the employers I wanted to work for to agree to it since it wasn't company policy.
Look up battlefront 2 for a good explanation. Generally a loot box may be "dropped" as a reward during play, just as games have long given gear or in-game currency. But in this case the loot boxes (which contain gear, in-game currency, or other in-game items of value such as skill ups) cannot be opened without something extra. That something extra is available for a real money fee. In some games the boxes are just bought and open when bought (perhaps the only way to get them), in others you can also open them with time (always slower that your rate of acquisition) or perhaps you can get keys to open them as random drops (always at a lower rate than box acquisition). End result is that in addition to any price you paid for the game itself you can pay to open these which each have a chance to be "worth it", but usually arent.

A few common objections:

Pay-to-win: for those that are focused on skill and competition it sucks to be beaten and taunted by those that beat you because they paid extra to essentially make the game easier.

Balance: many games build their progression curve under the assumption that your stats are improving at a rate that can only be achieved by buying boxes, so the game may be fun but new content frustratingly out of reach unless you pay up.

And in both cases, if you decide to pay up...you probably don't get what you need because of the random and unbalanced design. So you pay again. And again. It is designed to hammer dopamine triggers, so you get just enough of happy payoffs to not stop, but not enough of a payoff to stop either.

Some are fine with the model but object to it hitting children who may not be able to recognize the cost/benefit balance.

Me? I'm glad to see it discouraged as gambling because it is just not fun for the base game. Skill or even just time invested in playing is replaced not only by money, but an unknown amount of money. This distorts game options - think of how many mobile games are time gated constantly with the option to buy stuff (gems, coins, etc) that will let you skip the waiting. Absent the profit, who would make a game where you can play for a few minutes and then have to wait hours to play again? But we fall for it. Or if we don't, we just don't get to play at all.

That's my beef with the "no one makes you play" argument. If i don't play, I'm the one that loses out. If the abuse human weaknesses and make bank (and they do! Unbelievably so), there are no equivalent competing products.

But short story long, that's what loot boxes are and why people object. They aren't a new concept, but they are so successful and profitable that each wave is more extreme.
RailsConf 2018 – The Future of Rails 6: Scalable by Default
People still use Snapchat?

Granted I'm a bit old for their target demographic but it's a ghost town as far as I can see (when I open it once a month). Seems like everyone has migrated to Instagram Stories.
I'd go to Bing, and DDG.
A friend of mine got into a little confusion at immigration when asked his profession to which he replied “programmer”, which was seen as lesser category of job than his visa was issued for, which was “software engineer”
GitLab VPE here. We apologize for the site performance degradation today.

We do have a dedicated DB team of three people. We also have an open vacancy for the team's manager and and individual contributor.

We are in the midst of a move from Azure to GCP. That means more work than usual is going on currently because we're replicating data across infrastructure-as-a-service providers and keeping the site running. This has been the case for a couple months now and it's shouldn't impact site performance. Today's site slowness was unfortunately due to a manual mistake related to a Postgres upgrade task.

[2] This article is old. A move to metal never happened, and is not in our future plans. In fact, after we move to GCP we are likely to set up a CloudSQL replica and evaluate it's performance
Totally agree with you about not wanting a bunch of knobs to tweak things. It’s just too much time wasted to deal with when you are just wanting a desktop that works.
The Man Who Helped Design a 10,000-Year Nuclear Waste Site Marker
After some 'challenges' in the beginning for being together 24/7 it works really well now for some years.

I make the technical decisions, she makes the sales decicisions and we both compromise on product with her with the final decision.
In terms of temperature change - nuclear winter is estimated to be a ~3C global reduction in temperature for ~10-20 years.

And yes, you're right, photosynthesis would probably cease. We're going to see similar problems in the opposite direction, probably drought on a scale heretofore never experienced in human history in temperate areas. Imagine the climate of Los Angeles moving north to Vancouver BC, and similar cascading effects across the board.
That's all anecdotal evidence. Most people that I know use GNOME 3 which is then followed by Cinnamon and Xfce. I know only one KDE 4 user.

If GNOME 3 didn't exist, I wouldn't be using Linux on the desktop.
I've suffered from depression on and off all my adult life. I've tried about a dozen medications, and seen many therapists, with negligible results. The first thing that ever helped me was meditation. I found that the proximate factor in most of my depression with negative habits of thought about myself, i.e. rumination. I found it is much, much better not to think at all, than to think negatively. Training myself to stop thinking was the first effective tool I ever had to combat depression. The next thing I have since found that helps a lot is to have some kind of ethos or systematic view of what life is for, that works for you. I don't think it matters too much what it is, but find something that isn't either nihilism or the denial of all systems of thought.
Airbnb provided a platform, so calling it "rule breaking" is a little disingenuous. Saying they contributed to a worldwide rent crisis is just melodramatic. There's certainly data to suggest that Airbnb caused housing prices to increase in some markets, but that's the nature of providing a "new" service that's well sought-after.

Uber undermined labor laws only in the sense that they tried to get states to overrule local labor laws that were crowding their ability to keep drivers as contractors. That's just normal business, calling it "undermining" is, again, disingenuous at best.
Are functional programs easier to verify than imperative programs? (2018)
My HP WiFi Won't Turn On? Solution to Turn on Wifi
this is such a classic "made it up for the internet" story
Yes! Functional or imperative programming makes no difference in his challenge problems.

Tail recursive functions and loops are the same thing. Proving a loop correct using invariants and showing (partial) correctness for a tail recursive function by (functional) induction are the same thing.
Wow, that's a long time, I was there during your time so we might have met. It's true that everyone seemed to know everyone :) I guess I was just surrounded by this expat community hence why I felt like it was so big.

Weird question but did you know TUN bar? Last time I was in BJ it was closed and I was really sad about it :(
Can you link me some?

I suspect, again, it's more people thinking they are being interviewed for director, when they aren't (or it was long enough ago that it was before leadership recruiting existed)
Also, as an aside, I’m not sure what you mean specifically when you say “model”. The usual definition is a set of probability distributions on a common sample space. But when you say things like “all models are wrong”, I’m assuming you are just using “model” as a synonym for “distribution”, because this claim is vacuously false using the usual definition of model (just take the set of distributions to be every distribution on that sample space; this must contain the true distribution by definition). But then when you say “Looking closer at this you are describing one model but testing different values of one of the model parameters”, this seems to make more sense if you are using the usual definition of model. So I’m not sure what definition you are using.
Sounds like you ate the recruiter linkedin spam bait, or whatever the thing was then. "We are very impressed with your $EXPERIENCE and our engineers would like to talk to you."
I emphatically DISAGREE.

That's like complaining about cruise control:

I think the brunt of the "cruise control" problem is not the tech, but the marketing department (which has to include American Motors and Plymoth of course). This "kind of autonomous driving" is absolutely deadly, by definition. It's never going to work well. "The car will accelerate by itself, until it can't. So don't pay any attention, until you need to save your own life. We won't give you any warning".
Very interesting.

At a high level (ignoring many details) the main idea is to replace generator networks in GANs with Restricted Boltzman Machines, or RBMs, which are easier to train (more stable). The authors call this kind of architecture "Boltzmann Encoded Adversarial Machines," or BEAM for short.

The experiments provide persuasive evidence that BEAMs outperform GANs. Figure 3, in particular, I find very persuasive -- it compares the ability of different architectures to learn to generate low-dimensional mixtures of Gaussians, with BEAMs very clearly outperforming GANs. The results in higher-dimensional applications such as image generation also suggest that BEAMs outperform GANs, but the improvement is somewhat more subjective due to the nature of high-dimensional data. Obviously, these results need to be replicated by others.

It looks promising to me. That said, it's been years since I've touched an RBM -- I only have a vague recollection of how they work and how they're trained, layer by layer, as proposed by Hinton in 2006 or so. Time to re-read old papers!