HNHacker News
TopNewBestAskShowJobs

zeroname

189 karma · joined September 7, 2018

submissionscomments
zeroname··on Hiring Is Broken
> Would this pass your interview process or not?

Yes, that sounds very reasonable.

> Do you want someone who's going to brute force an answer to your toy problem and think they've solved it with something that works but is inefficient, or someone who has memorised a collection of standard answers but maybe can't improvise something new, or someone who is going to check what's already available to save time, or someone who can improvise a super-efficient answer and do it even if it's not needed?

First of all, let's talk about what I don't want. I don't want someone who can't solve the most basic problems. I'm not interested in all these details at this point in the process. Don't get stuck in analysis paralysis.

> Do you really think this question has a simple answer?

No, but it's not the question I am asking. My question would be, can you solve basic problems? I'm not looking for 100% accuracy in testing, that's impossible. Surely some kid fresh out of college will get an "unfair advantage" with something that's still on their mind, while some genius may have a bad day and fumble the test. I wouldn't personally pick BFS as a test either, but the fact that you should be able to solve it remains. The fact that "you may never need it" is irrelevant.

zeroname··on Hiring Is Broken
> I have no fucking clue how to write a BFS. I've never needed to know how to write a BFS. I will probably never need to know how to write a BFS.

If I give you a description of what a BFS is, you as a programmer should be able to write one. A BFS is rather trivial. You shouldn't have to know how to write it, you should be able to figure it out. The same goes for implementing a linked list or the FizzBuzz problem.

As a programmer, you need to make up algorithms on the spot to solve business problems. You don't know the solution beforehand, you figure it out, that's your job. It's the key skill that basically separates you from a typist.

> There are more productive ways to interview someone; for example take a bug in your product and see if the candidate can fix it.

This is a different skill. It's an important skill, but finding errors in an existing structure and fixing it is different from being able to create that structure in the first place.

zeroname··on C++17 Filesystem – Writing a simple file watcher
Guys, don't do this. There are OS-specific APIs to do this stuff efficiently. No, that's not portable. No, those APIs aren't "nice to use". But it's the "right" way to do it.

When you do that kind of stuff, keep in mind that many programs modify files by writing to a temp file and then renaming that file.

On a secondary note, "modern C++" needs to be stopped. This is absurd:

std::chrono::duration<int, std::milli>

Just say no. Don't include stuff like <chrono> or <functional>. Ignore Bjarne's opinions. Don't read books by Scott Meyers. Being effective with C++ means understanding its "powers" and then not using them.

zeroname··on If not SICP, then what? Maybe HTDP?
> Rust is becoming very popular.

For actual jobs? I don't see any evidence for that.

zeroname··on Hospitals release lists of retail prices for services
> Are you honestly saying US insurance companies don't do exactly the same thing?

I certainly don't think it's "exactly the same", but that's not my point. I just wanted you to move the goalpost from "there are no death panels" to "okay, there are death panels, but they are everywhere, potato/patata!". Kinda like this guy:

https://www.dailykos.com/stories/2017/5/8/1660050/-Death-Pan...

zeroname··on Hospitals release lists of retail prices for services
...is a total outlier country in every respect. It also has a vastly higher cost of living. Nominal salaries are not comparable with the US. Still, they're better than in other European countries, so their doctors (and many other professionals) flock to Switzerland (after having taken all their "free" training in their home countries).

By the way, health insurance in Switzerland is entirely private, but its affluent citizens are forced to buy insurance by law.

zeroname··on Hospitals release lists of retail prices for services
> Source? This term was invented by Sarah Palin and was judged 2009’s Lie of the Year by PolitiFact.[1]

The lie (or at least misrepresentation) was that Obamacare had a "death panel clause" in it. An argument could be made that it still does:

https://www.washingtontimes.com/news/2017/jun/14/obamacare-d...

For the equivalent in the UK:

https://www.bbc.com/news/health-28983924

> You have no idea what you’re taking about. There are 28 million uninsured Americans and millions more who are unable to afford treatment due to high deductibles.[2]

Your source doesn't actually say that. It only says 28.5 million Americans are uninsured for whatever reason. A high deductible implies low monthly premiums. To give the example of the NHS, it's 13% of your paycheck - you don't have the choice. If everybody was forced to buy insurance, premiums could be lower as well. Obamacare is just a "have your cake and eat it too" system that cannot work in the long run.

You "Medicare for all" proponents simply need to own up to the cost and not keep bullshitting about how some European country has better care at less cost and therefore the US could have the same. It's just not comparable. Several countries like Germany or Australia also have a public-private mix system. That option shouldn't be off the table either.

zeroname··on Hospitals release lists of retail prices for services
That's total administrative cost. Given that (current) Medicare has high administrative costs as well, there's no reason to believe that the US will suddenly do much better with all its regulations.

Either way, whether it is 2% or 8% the bill will be astronomical. You would have to cut health care worker's salaries significantly to make a big dent in it. I'm not saying that shouldn't happen, but you better own up to it.

zeroname··on Hospitals release lists of retail prices for services
> You don’t cite any evidence to support your claim. Most U.S. doctors graduate with >$100K in medical education debt.

You posted a source yourself:

https://news.harvard.edu/gazette/story/2018/03/u-s-pays-more...

Salaries are almost twice as high. Those other countries also tend to have higher taxes and other salary deductions, so doctors earn less.

> Other countries have better health outcomes, so that pretty much kills your “worse service” claim.

No it doesn't. Not every US citizen actually receives the service, because they want to (or have to) save money, kicking the problem down the road, exacerbating the issue. Americans also tend to be more obese.

You call the "cancer survival" rate a cherry pick, but it's actually a good indicator how good the actual treatment is and how timely it is administered.

> Rob Delaney is a great example...

One guy's opinion isn't "evidence" either. I could give you individual health care horror stories from single payer countries, but that would be emotional manipulation.

zeroname··on Hospitals release lists of retail prices for services
Different goals indeed:

https://www.telegraph.co.uk/news/health/news/6127514/Sentenc...

zeroname··on Hospitals release lists of retail prices for services
Below market rate? That will be a shortage then.
zeroname··on Hospitals release lists of retail prices for services
They are nevertheless a small part of the total bill.
zeroname··on Hospitals release lists of retail prices for services
I am talking about actual Medicare, which causes big losses for hospitals. Those need to be covered, that is my point.

You can not just import other nations healthcare systems. Those are cheaper because the doctors and nurses earn less and the service is worse.

zeroname··on Hospitals release lists of retail prices for services
Medicare for all would easily bankrupt hospitals. The money needs to come from somewhere. Either force people to buy insurance or raise taxes massively. Pick your poison.
zeroname··on Removing JavaScript's 'this' keyword makes it a better language
> Similarly, in prototypal inheritance, you get to specifically control API by binding or calling 'this' to any choice of object, or select methods to put in other objects, or even replace a method of an object with another method of the same name at runtime, or declare new fields and methods on objects at runtime.

None of this sounds like a good idea to me.

zeroname··on If not SICP, then what? Maybe HTDP?
> While it’s easy for a computer scientist to make the jump to programmer with just a little guidance, it’s much harder to go the other way.

I don't think it's actually that easy for a computer "scientist" to unlearn all the idealistic stuff that can actually be counter-productive in a real-world programming environment, particularly if they're enamored with languages like LISP or Haskell. These people easily get depressed in a "real" programming job.

Whether it's hard to go the other way doesn't really matter. There's no pressure to go the other way. The only healthy place for computer scientist types is academia, or maybe certain R&D positions. These are few and far between.

zeroname··on Removing JavaScript's 'this' keyword makes it a better language
You can also "easily" forget to call bind. In other languages, methods are simply bound by default. What's the argument for not doing it that way (besides "implementation details")? Why would you rebind a method in the first place? Seems like a "great" way to cause confusion.
zeroname··on Removing JavaScript's 'this' keyword makes it a better language
It has nothing to do with OOP. Off the top of my head, I cannot think of another OOP language where "this" (or "self") works the way it does in Javascript. There are pitfalls associated with it and I can't think of any benefit that would outweigh that.
zeroname··on Is Sunscreen the New Margarine?
> sunlight is beneficial beyond vitamin D.

Is it though? Do we actually have the data that says so, or do we have data that has tons of other factors mixed in, where sunlight exposure happens to be correlated with better health?

> So yes do use sunscreen in moderation but don’t avoid the sun.

Using sunscreen (according to the article) is equivalent to avoiding the sun, as it blocks production of Vitamin D.

zeroname··on Is Sunscreen the New Margarine?
That's not the takeaway at all.

The article basically insinuates that you shouldn't use sunscreen, that you should expose yourself to the sun for health reasons and that Vitamin D supplements are actually useless.

zeroname··on Is Sunscreen the New Margarine?
What qualifies you to pass on such harsh judgement? What research on the topic have you done?

I'd be very interested in having the article debunked, but I can't corroborate the accusation that sources have been "totally misrepresented" and "misquoted". Granted, I've merely given it a cursory glance.

zeroname··on No Tuition, but You Pay a Percentage of Your Income if You Find a Job
> But then such schools that predominantly work on ISAs, will pre-select for good students, who are most likely to succeed and also for industries where the compensation is higher.

That still sounds far better than the current system of selecting for the most popular (instead of valuable) subjects that draw in the most clueless students to get indebted for life for something they are unlikely to succeed in anyway.

> It doesn't address the real problem...

What does?

zeroname··on We can confirm that there was a successful 51% attack on Ethereum Classic
Is there margin trading on any of these junk coins? Doesn't seem like a good idea to offer something like that, given the relatively low liquidity/volume.
zeroname··on We can confirm that there was a successful 51% attack on Ethereum Classic
The only way to profit is to double-spend, so you'll have to buy or already own a substantial amount of those junk coins and then sell them. After you performed the attack, those coins that you now could theoretically sell again may be suspended from trading or should at least trade at a substantially lower price.

Add in the opportunity cost of exercising such an attack and it's not clear that you could turn a profit.

zeroname··on Game dev: Linux users were only 0.1% of sales but 20% of crashes and tickets
Same outcome. How am I going to convince those cat owners that I totally fixed the dogs-eating-the-cats problem? Cats don't even need to be walked really, certainly not alongside the dogs. Putting the cats into the equation was a questionable business decision to begin with.
zeroname··on Game dev: Linux users were only 0.1% of sales but 20% of crashes and tickets
It's a good metric to conclude that you should stop walking cats, no matter what the underlying issue is.
zeroname··on Game dev: Linux users were only 0.1% of sales but 20% of crashes and tickets
Sailfish has a crappy Android simulation layer. You don't really want that on the Desktop. Android and Desktop Linux are completely different platforms, except maybe for the graphics APIs (Vulkan/OpenGL).
zeroname··on Game dev: Linux users were only 0.1% of sales but 20% of crashes and tickets
Maybe, but many Linux users would also complain that the Linux version is more expensive.
zeroname··on Game dev: Linux users were only 0.1% of sales but 20% of crashes and tickets
I think you're in denial.

If developers need to get this, that and the other thing right specifically for Linux, but it's still only 0.1% of sales, then it's just not worth doing - even if there aren't any bugs.

zeroname··on Chromebook accessibility: Changing the order of mouse buttons is unsupported
> Part of being a good developer, I think, is that just because you can't understand why someone wants to do a certain thing doesn't mean that their use case is invalid.

For all intents and purposes, if you fail to make a convincing argument for a use-case to a developer, it is invalid. It's not actionable. An argument could be made for any program to do anything in any possible way, for any number of reasons. Developers need to narrow that possibility space down radically. It would be nice if developers could spend the time really understanding every opinion offered to them, but it's not going to happen.

> That's childish and, frankly, entirely expected of Open Source Dev culture, which has a nasty habit of being condescending to users.

Doing "customer support" for free to the general public can wear on you. In fairness, can we agree that there are "difficult users" as well?

← PreviousPage 6 of 16Next →