skysight-inc/HackerNews huggingface dataset:
https://joelgrus.com/2016/05/23/fizz-buzz-in-tensorflow/
Exactly. If a company hires a programmer who cannot solve fizzbuzz, then the company utterly failed at interviewing. And in my opinion, this may indicate that the company will fail in other important communication areas.

You should be able to have a 10 minute conversation with someone and know if they can solve fizzbuzz (without even posing the problem).
I know but I don't know what to do about it :(
If you can get an invite to Telepath (https://apps.apple.com/us/app/telepath/id1185104828), you should check that out. The founders have the product in private beta but you can get on the waitlist. Not sure when it'll be more public.
It's a community based product with interesting people on it. You can "hang out" in the different communities.
If so many well paid people at big companies can't do it, maybe that's an indicator that it's absolutely not a good screen at al

The history of FizzBuzz was that it was a screening question for webdevs to work on a bugtracking tool. Maybe it is relevant for that, I don’t know. But like most of the rest of its inventor’s advice, it is not as generally applicable as he claims.
So serious question: What should they do?

Some solutions come to mind, but they would obviously only work for a fraction of the people currently living in suburbs:

- Work remotely

- Move closer to the city

- Connect suburbs to viable public transportation solutions
Well, olives are revolting to me, while caviar tastes great.
I feel like your last point does not address my criticism. The devs should feel like they have control, not the management, I agree. But my argument is we extend that control to allow devs to pull new tasks into the sprint if they are done.

Sure, you’ll have to explain the optics to management when they ask “how come the devs get to control their own process instead of me,” but with your conviction in the Scrum Master role, I’m sure that wouldn’t be too big of a problem, and would allow for everything you and I are arguing for, right?
> We are still looking

I’m not quite sure I followed your post, but if I did, you’re still looking because you’re being obnoxious. If you asked somebody to write a class that represents an account with a balance/negative getter _in a job interview setting_, the code you posted looks fairly reasonable (assuming it’s written in a programming language that that compiles in - it’s obviously not Java, C# maybe?). I wouldn’t make “isNegative” a property; I’d replace it with “public bool isNegative { return balance < 0; }”, but otherwise, without any further instruction, again in an artificial job interview setting, without you clarifying what you’re looking for, there’s nothing wrong with this. Or are you pushing back on the “write a command line app” part when there’s no CLI attached? Because if you actually wanted one, you need to provide a lot more context than “write a command line app” (should I be tracking multiple accounts? Should there be a command to create a new one, or is there just one with a starting balance for demo purposes?).
Don't worry, they're sarcastic downvotes. ;)
No development methodology can eliminate the fact that building software is hard, and complex data systems quickly grow exponentially in complexity.

Developing and maintaining a large project will be difficult, no matter your approach.

Which is not to say that all approaches are equal.

Part of our problem is that we want a development/management approach that works for all types of problems. There isn't one.
This doesn't make any sense. Government is a servant of big business because we allow free speech? How exactly would you go about regulating speech "so that everyone gets an equal size megaphone"? Censorship would absolutely not help improve the situation
As far as I know, currently the hydrogen technology is vastly worse than battery cars (BEV) and could only win because of corruption. Which might still happen of course.

The issue is that hydrogen cars are about as expensive as battery electric cars (i.e. twice to tree times the cost of similarly sized and equipped ICE car) but BEV is much cheaper to run, while H2EV costs about as much per km as ICE car, so you get the worse of both world. Also the car is more complex - it also has to have a battery because you can't recuperate into hydrogen cell.

You can create hydrogen using electricity, but a lot of energy is lost, so it will probably always be more expensive than just using electricity.

The tech only makes sense in uses where weight is extremely limiting, like in airplanes or maybe ships? Spaceships?
That was your criterion?

OK... so you're complaining that the coder could use the api to violate an invariant.
I've worked with millions of lines of code and this is certainly not a criterion I'd use to evaluate a serious programmer. Many codes I work with permit this sort of behavior (I guarantee you can mess up using the C library this way).
>> Also why it's eaten in small amounts, since it's so strong.

Fact check- It's eaten in small amounts because it's extremely expensive at this point due to people realizing the difficulty in producing it. If you look back to the heyday of caviar consumption (turn of last century and earlier), there were recipes that would call for as much a cup of caviar per serving. Tastes will always be personal, but the "strong flavor so people will eat less" is just your personal preference not necessarily a widely held belief.
But aren't elementary particles of the same kind only distinguishable by their state?
President Trump orders companies to look for alternatives to China
Except Teslas which are aluminum.
I've seen this first-hand both in interviewing and on the job. I expect it in interviews, but I never thought I'd see it from a colleague.

I once worked with someone who refused to use loops. He would write everything out... Thousands of copy-pasted lines with incrementing values... He'd often insist that things only deal with certain numbers of inputs for this reason. E.g. he had a bulk data transfer tool that would only transfer 10 items. If you had less than ten, you had to make dummy files. If you had more than 10, you were supposed to use it multiple times. He was also considered "a key technical leader", and constantly lauded by management. He was in his late 20's and had a CS degree from a relatively well-known school. I'm a geologist, so I was constantly told I "just didn't know anything about programming" when I'd ask why. (I suspect he thought it was an optimization, but he never explained.)

This was at a company that's a household name (though not a tech company). I suppose the moral of the story is to be careful about assuming that experience implies a certain level of competence.
A rectal surgeon said you're probably wiping your butt wrong
I call baloney ... isn't it originally from Italy?
NYC billionaires did not stop nyc from being a city.
That kind of mentality makes me cringe every time. Public transportation is not a solution to anything and is even far more inefficient and wasteful, even if many people don't understand that because a typical communist/socialist/academic fraudulent sleight of hand is used.

Sure, public transportation is "better" once you sufficiently curtail and negate and ignore sufficient number of factors; but if you do an honest and objective analysis, it's not at all efficient or better.

Intentionally hidden and fraudulently ignored factors include things like:

* the convenience factor public transportation would need to be evaluated against for 24/7, high frequency availability for everyone that does not infringe on people's lives.

* the indignity and risks of public transportation that causes people to be forced to be exposed to people against their will, whether that's their odors or behaviors or criminality or even diseases. Partial responsibility for the "Spanish Flu that killed somewhere near 100 million people was public transportation.

* the systemic risk of systemic failure in a racked. For example you can look to Washington DC right now for an example of how after months of a rolling partial shutdown of the whole system, a whole leg of the public transportation system had to be totally shut down for several months now due to emergency repairs that had compounded over decades of mismanagement and malfeasance

* which brings me to the collectivist, authoritarian nature of public transportation, especially when it is in the hand of government that can, again looking to DC, lead to several decades of malfeasance, mismanagement, negligence, corruption, and outright embezzlement all due to the SJW factor of putting poisonous communist ideals of subversion ahead of merit based leadership and performance.

* there are also the hidden/obscured corruption factors that can be observed in Europe, where the wonderful world of "good public transportation" is really a seedy den of corruption and subsidies to wealthy industrialists that is propped up on the backs of the population as a kind of make work industry, while the population grinds its teeth in agony because outside of very few urban centers, the public transportation system only runs every hour and then only from 0700-1900 during the week an all other times every two hours on even more curtailed schedules.

on a side note: the "cheap" and "good" public transportation in Europe that newly hatched college juveniles gush about on their first venture out from mommy and daddy's nest, is only so on the backs of Europeans who are forced against their will to subsidize the "cheap" public transportation with their lower wages and higher taxes. The result of which is that to Europeans that wonderful public transportation system the children gush about in tourist cities they visit, is not at all as useful and reliable outside fo the tourist centers, and is not at all as affordable to the average European that makes even less than most of the green eared American juveniles living off mommy and daddy's purse stings.
Population control isn't the issue because we're already consuming far more than we should per person. Even if you completely stopped the growth rate of all nations, that doesn't change the fact that the first world lifestyle is at odds with climate change.
Seems only a grade off - http://www.corestandards.org/Math/Content/6/NS/C/5/
So what kind of candidates you're looking for? Judging by the example code, seems like you're in finance industry?

Can I pm you on this?
Yeah, when I was really young I'd have caviar regularly, it was cheap, never thought much of it. Twenty years later, prices seemed insane for what was basically a weekend of fishing (mostly for the fish meat).

On that note, we had freshwater crabs pretty much every week, one big boiling pot of them. They were great, nowadays I can't find any.
Agreed. And I have also used it in C++ for RAII purposes. In C++, braces introduce a scope, and objects local to that scope will be destructed upon exit.
Here's a good solution - review the Github (or similar) of the people you are thinking to hire.

They may have the simplest of projects or contributions out there but you may infer how they think, how they behave, and what drives them.

If I don't have things to show for it, then I'm not really interested into programming. The immediate knowledge is secondary, the self-motivation is primary, because motivation makes you gain knowledge quickly, or, at all, in fact.
I'm guessing they avoid any arthropods.

Chocolate and feces isn't really a great analog.
Speaking at least for myself in an interview role, I consider the modulo operator a bit of trivia that many programmers have no reason to encounter, and if you build a "divisible_by_5" function that works in some semi-sensible manner, I'd probably be happy.
It's a little more natural in languages like Haskell and Python that have range generators; JS doesn't. You can do a hack where you initialize a sized array and then map over its indices, but that's unusual.

Part of it may have been that the problem description I read used very imperative language. It didn't say "return a list of Fizz, Buzz, and FizzBuzz", it said "for each number that's ___, print X". Very side-effect-y.
This is a very good list. I especially like asking number 8. If they can't talk about something they were passionate about, then that's a red flag.

I also ask people to implement the Blum Mental Hash, which I heard about on NPR in 2014. It's easy enough to explain in five minutes or so, but difficult enough to write out in a half hour or so.

https://scilogs.spektrum.de/hlf/mental-cryptography-and-good...
Thats because it's based on domain names and the land grab has already occured prior to names being chosen
Starting using Sourcehut a few days ago for two repos and have had a good experience so far (being a new paid user is my only affiliation with sr.ht):

- Very clean, simple UI/UX providing deceptively rich feature set

- A build system among the easiest I've used

- Solid, straightforward documentation

Currently it's a little slow to push to repos but the creator says it's a known problem with ongoing regular improvements occurring.

I'm a long time GitHub user with many repos there and there are lots of GH features I like (like Org Mode READMEs). But I'm a big fan of this sort of business model: someone puts together a simple, solid, independent service; I pay a small amount monthly/yearly (I chose to pay voluntarily even though it's currently optional).

I hope this service thrives.
This would be a fascinating, probably more reliable way to test someone: ask them to explain in as much detail as possible what a code sample did - what problem it appeared to be solving, and what edge cases it attempted to handle as well as perhaps some it would have failed to handle.

If you provide them a good sample, the function names and behaviors should give a really good sense of direction to the candidate, and the harder questions would be answered by the details of the code.
I know that Elasticsearch does it natively. I'm not sure about Postgres. SQL Server is my main RDBMs currently.
Amazon fires: Brazil threatened over EU trade deal
I trust Brian's memory on this. The original email that he and I exchanged about readline from 1989 referred to readline.c as a single source file, was it part of a separate library then?

I, unfortunately, don't have bash sources before bash-1.02.
>nobody deserves to have their death cheered upon

That's just obviously not true. Easy example: Hitler.
If doctors are running in droves from Cuba to be luggage handlers or car salesmen in the US, you don't see a problem with that?

From the Wikipedia link you posted:

> According to Luis Zuñiga, director of human rights for the Cuban American National Foundation, Cuban doctors are "slave workers" who labor for meager wages while bolstering Cuba's image as a donor nation and "the Cuban government exports these doctors as merchandise".[34]

And the reason it's luggage handlers and not other kinds of laborers is because luggage handling specifically puts you in contact with wealthy foreigners whose seemingly small tips are big money in the local currency.

In order to make any kind of real money in Cuba, you must find yourself in a position to interact with foreigners. The local economy will never provide that opportunity.
If you're weeding out candidates, then the test is working, no matter how simple you think it is.

The correct question is how many applicants are remaining that did this problem successfully? How many from that pool are companies hiring? I wonder what the actual numbers and percentages is.
Agreed on this. Opened the page and it immediately made me think of a phishing campaign or a cheap knock off site.

I can't quite put my finger on which design detail is contributing to that impression, but the page as a whole is definitely giving that feeling.
I've not learned Rust yet, but unless it does behave really weird, I can't believe that Electron and Qt have roughly same RAM usage. In my experience Electron has usually 2 to 3 times higher RAM requirements than Qt application of similar scope.
And have the loudspeakers blare "EAAAARGH! AAEEEIIGHHH!" at regular intervals.
Is this a surprise? Monsanto doing what Monsanto does to keep screwing people for profit. Take money out of politics, pay our public servants well out of taxpayer money, implement short term limits, problems solved. It’s not rocket science, but powers that be will not give up easily.
I would argue that every single programmer with at least the tiniest bit of tenure in the field (or a kid straight out of college who took at least some math classes) will have run into this at some point in their life.

Even if you (somehow) don't know about it, figure something out? Do something "stupid that works" like this:

def floatcheck(x:Float, div:Int): String = (x / div).toString.split("\\.")(1) match {
case "0" => "int"
case _ => "float"
}

(1 until 100).foreach(e => {
if(floatcheck(e,15) == "int") println("fizzbuzz")
else if(floatcheck(e,3) == "int") println("fizz")
else if(floatcheck(e,5) == "int") println("buzz")
else println(e)
})

(I'm guessing this works, or maybe I fall into that category as well ;))
That is a very judgmental comment. Is everything you work on 100% a net positive to society? Do you work for a non-profit helping the homeless or other social issue at 20% of the salary you could get working for a big tech company? Most people hate change and like to have money to support their family. Each person has to establish their own moral threshold.
You probably are rejecting potentially good candidates, but I would personally suggest that of the developers that I want to hire, most of them are members of the set of developers who know what the modulo operator is for. And since hiring is a numbers game, it seems like a reasonable filter. Besides, you are allowed to ask other questions in the interview.
Destroy All Software offers free subscription to those who can't afford one
Which is funny, because that doesn't match Nvidia's legal theory as to why they're allowed to ship binary drivers. The Nvidia blob doesn't import, export, or reimplement any Linux symbols (that's relegated to an open source, dual GPLv2/proprietary bridge). The Nvidia blob is also way older than their Linux port, being the same codebase as their Windows driver. They believe that a judge will look at those facts and rule that there's no way their blob is derived from the Linux kernel. It seems like neither of those applied to vmklinux.
Many telemarketers have switched to "soundboards" which use responses pre-recorded from native speakers. It's increasingly difficult to recognize that a robot is talking to you. You can ask them if they're a robot, and they have a pre-recorded answer ready for you.

They have a finite set of responses, though. Ask them what the difference is between a burrito and an enchilada.
I still recall the first time an interviewer wanted me to write FizzBuzz. I thought he was joking. I mean he had to convince me he was serious. It's a weird old world.
Dumb questions: if BedRockDB has all of these huge benefits over using stock-SQLite, why hasn't SQLite merged in all of the changes into SQLite? Why does BedRockDB have to exist as a separate fork?
That's great whilst you're at home but as soon as you go out and switch to your mobile network you're back to being tracked again surely.

Is there any easy way around that?
I really want this to not be true.
The escalation is that spammers will spoof well known local numbers (e.g. the doctor office)
What is 'd'?
That, sounds a lot like slack
I suppose that could be in seaweed caviar's favor - if they all taste, smell, and look different, maybe it can fit right in?
I know! It's so stupid. I try not to order books directly from Amazon anymore unless I buy two or more at the same time (because if you buy 2+ books they ship in a box rather than a padded envelope). I'm not shy about returning books with bent covers or other damage, I do it all the time, and a couple of times I've returned the same book twice until they finally managed to deliver an undamaged copy, but it's a little worrisome because I've heard tales of Amazon banning customers who "abuse" returns. (And of course it's also a hassle).
If you think a longer context length might be helpful consider stacking convolutions to give higher units a bigger receptive field, or try the convolutional LSTM. If that helps and you have a further argument for why an even larger context window would be helpful then perhaps try attention and in that case a Transformer would be reasonable. But your stacked conv net would be the fastest and most obvious thing that should work (with the caveat that I know nothing else about your data and it's characteristics, which is a really big caveat).

Consider looking at your errors and judging whether they stem from things your current model doesn't do well but that Transformers do, i.e., correlating two steps in a sequence across a large number of time steps. Attention is basically a memory module, so if you don't need that it's just a waste of compute resources.
This is exactly what "quantum teleportation" means and it has never meant anything else. "Beam me up" is pure fantasy.
i recently searched for a rubber replacement washer for a very common water faucet. nothing exotic.

the only washer collection i could find that was certain to have the desired washer size would have cost $32. again, this is a very common type of water valve. taking a trip to a big box retailer looks pretty attractive in that context.
Same. Magnetization current and core saturation are fairly fundamental properties influencing transformer design, but they're barely even mentioned in introductory texts.

I feel like a lot of modern transformers are just sort of cargo-cult imports of old designs because everyone who knew the salient parameters has retired and the current crew just kinda nudges things until they work. A from-scratch explanation, up to the current state of the art, would be invaluable to anyone who deals with them.

But nah. This is HN, where headlines are their own code.
Wow. Was a relative of yours hit by a bus full of communists?

You're making taking public transit sound like the modern equivalent of storming Omaha Beach.

All of the problems you list apply just as well to any department of transportation that is responsible for building and maintaining roads... With taxpayer money, collected not from drivers, but off the backs of working people, regardless of how much they use those roads.
This is sweet. I've written conv, dense, and recurrent networks from scratch. Transformers next!

Plug: I just published this demo using GD to find control points for Bezier Curves: http://nhq.github.io/beezy/public/
Agreed - if I'm shopping for something and using a website I don't already trust, offering a well known payment method (even paypal will suffice) is a surefire way to build a lot of trust.
I haven't contributed to my personal github in a year, but I love programming and do it every day.
If they simply hope to spark discussion and give people time to prepare (mentally or technologically) for the idea of compelling auto-generated text, that really ought to be said more clearly.

They have been pretty clear about this [1]:

"We believe our release strategy limits the initial set of organizations who may choose to do this, and gives the AI community more time to have a discussion about the implications of such systems."

[1] https://openai.com/blog/better-language-models/
Show HN: HideMySearches Browser Add-On
Have you read ‘Rationality for Mortals: How People Cope with Uncertainty (Evolution and Cognition)’ by Gerd Gigerenzer? Looks very interesting.
> it's fast enough for text work.

I guess this is where we set the bar in 2019.