Better HN
topnewbestaskshowjobs
Log inSign up

bcoates

5,109 karma · joined Jun 27, 2012 (14y ago) · 1,639 submissions

ben blueskylabs com
Submissions

comment 8y ago · link · parent

They can't ever prove it; even just

  class Foo(var thing: Int?) {
    fun doSomething() {
      if (thing != null) {
        thing++
      }
    }
  }
is unsafe as any class user could cons up a Foo t, and call t.doSomething() while racing a modification to t.thing in another thread. There either needs to be a language feature for Foo to live in a restricted threading context or the whole construct is irreparably thread-unsafe. The error is valid because it rejects always-incorrect code.

comment 8y ago · link · parent

It's 60 Minutes. The show that perfected the camera-in-your-face gotcha and the creative editing interview.

Google knowing not to give them material for their hit piece is just a sign that Google's press management is at least slightly competent.

comment 8y ago · link · parent

Yelp's relationship with lots of restaurants was already toxic from shaking them down with the whole ads-for-reviews payola. If they tried to offer a GroupOn or Opentable product they'd be fighting an uphill battle compared to a no-name.

comment 8y ago · link · parent

Optionally ignoring thread safety seems indefensible -- until you can go full COM and declare your package apartment-threaded, working in a mutable language with uncontrolled multi-threading is the deal with the devil you've made and code that doesn't embrace that reality is just broken.

Agree about the shadowing.

  var x_2 = f(x_1) // never use x_1 again for anything
deserves its own syntax and compiler checks

comment 8y ago · link · parent

I agree (that it's personal) but attributes-first and types-last in the same language is just nuts. That's why the kafkaTemplate function declaration is so ugly.

comment 8y ago · link · parent

As long as they're not doing something dangerous like hair braiding or interior decoration I think we'll be ok.

comment 8y ago · link · parent

That's a US-ism. Somewhere between many and most countries have a "natural rights" concept that considers certain creator/subject rights to be inalienable and neither belonging to recorders or permanently assignable to them.

comment 8y ago · link · parent

I swear that wasn't in the store when I looked earlier. Updated this year and everything!

Cunningham's Law in action I suppose.

comment 8y ago · link · parent

Still using a Windows Phone (Nokia 1020) as my main phone.

It's mostly the Nokia parts that I really love, like the transit app, and the fact that it's user-serviceable with minimal tools.

The app ecosystem is actually less of a problem as time goes on; now that Apple and Google ship reasonable browsers in their phones most services I want to use have good mobile web experiences. The real essentials like Pandora / Kindle / WhatsApp are available and still work.

The big pain point for me is Slack's web client, which appears to be gratuitously broken on phones.

comment 8y ago · link · parent

The non-nerds are right and the nerds are being weird pedants.

Going all well-actually and giving people the verbal equivalent of xkcd 1357 lets everyone know you're one of those people.

comment 8y ago · link · parent

The Mormons are a great deal more practical about it than these food kits though. Mostly just encouraging canning/home cooking and keeping a rotating inventory of anything that'll keep a few years.

Prepper food isn't really practical unless you've got 100 people to feed and can genuinely use industrial food in industrial quantities.

comment 8y ago · link · parent

Because 'nudging' is trivially tested, has been repeatedly tried, and does not work.

comment 8y ago · link · parent

Maintenance programmers already have to deal with concealed mystery types, every time you do

   f(g())
it's just syntax sugar for

   var temp = g()
   f(temp)
Now at least programmers aren't tempted to do gratuitous function nesting rather than introducing a variable just to avoid cluttering code with an unimportant type name.

comment 8y ago · link · parent

Seems like a perfectly obvious metaphor? It's just providing GA-generated input, not doing tooled exploration like afl-fuzz or a symbolic execution analyzer.

It literally-and-metaphorically can't see behind the UI to the internal state of the game.

comment 8y ago · link · parent

Science is about destroying labels, it's a systematic process for declaring that entities do not exist.

Ignorance of things that aren't actually true is a virtue!

comment 8y ago · link · parent

It's only necessary in edge cases of super-hot code, avoiding argument adaptation "because performance" is a bad idea.

It's also a v8 specific weakness, it's not hard to imagine a small fix getting rid of the performance penalty.

comment 8y ago · link · parent

Both Food Stamps and WIC are USDA subsidy programs for agriculture and food manufacturers. They require you to buy the particular things subsidized to ensure that the funds are directed to the right recipients in the correct ratio, not because of any particular human need.

comment 8y ago · link · parent

Google is hoping that this will discourage people from going to even the minimal effort to use an adblocker.

The next step will be to mildly then not-so-mildly burden effective adblockers on Chrome.

comment 8y ago · link · parent

But is he keeping track of their plot to sap and impurify our precious bodily fluids?

You ever see a Putin drink a glass of water?

comment 8y ago · link · parent

Wait, Seth Abramson's problem with the Washingon Post is that they're not willing enough to believe batshit Russians-under-our-beds stories?

comment 8y ago · link · parent

I have an ailing 1020 that I'm dreading replacing.

Are there any new user-serviceable phones on the market? or should I just keep doing the Ship of Theseus thing with Amazon greymarket parts until the phone market shakes out into less of a nightmare for users?

comment 8y ago · link · parent

Teaching to the test is so much work, the smart teacher will just lobby administration to get the weaker students removed from the class.

https://fredrikdeboer.com/2017/03/29/why-selection-bias-is-t...

comment 8y ago · link · parent

Early child education evidence is a whole complicated thing in itself, but programs shifting first reading instruction younger do not show benefits at older age, and school systems that put the expected literacy age much later than most Americans would expect don't underperform.

comment 8y ago · link · parent

At least Youtube and Facebook offer this feature. It's pretty standard. The problem is that a lot of their inventory is an inch wide and a mile deep.

The rule is roughly "narrow targeting, cheap impressions, reasonable frequency, pick any one". A shady ad agency (but I repeat myself) will never pick "reasonable frequency" because their advertisers aren't sophisticated enough to ask if their ad is being sent to one person 50 times in a day.

It only takes one buyer to not set the frequency control option to spam you with the same ad over and over -- everyone else is one-and-done.

comment 8y ago · link · parent

If people were tearing their hair out about internet gambling destroying democracy they would rightly be made fun of.

Internet gambling is discouraged/banned to the extent it threatens the local tax base, nobody cares about gambling addicts.

comment 8y ago · link · parent

With the exception of the github profile, that's not my experience at all -- if anything, lots of hiring managers want to ape that sort of experience even if they can't really assess it because the alternative is something like this: https://www.smbc-comics.com/comic/a-job

Spending 2 years learning how to interview when you could have been spending 1.96 years getting passably good at something and 2 weeks on interviewing is madness, though.

comment 8y ago · link · parent

I think you're really underestimating the shocking amount of television people used to watch. Many baby boomers have spent most of their adult life spending almost every free moment in front of a TV.

comment 8y ago · link · parent

I would put up with a hieroglyphic based UI ten times weirder than the one depicted if it meant the microwave didn't beep.

Seriously, what is it with embedded digital electronics designers and beeping? Nothing else has a gratuitous noisemaker. I swear if the home refrigerator was invented after the cheap piezo buzzer it would emit an ear-piercing bleep every time the door opened, or maybe when the compressor cycled on or off.

Is there some sort of strange subsidy or tax consequence so that adding a beeper has negative net cost?

comment 8y ago · link · parent

Of course they do, a three way handshake at that distance takes way too long.
1
111213
55