Better HN
topnewbestaskshowjobs
Log inSign up

john_butts

10 karma · joined Feb 23, 2013 (13y ago) · 31 submissions

Submissions

comment 10y ago · link · parent

This gets back to the point that Swift is not a functional language. By default, the closure is capturing an immutable reference - the fact that the value might change is implicit to the way you must think about programming in a non-functional language. The mechanism to capture a constant value is to declare it in in a capture list:

  var f = {[i] in print("hello I'm a callback and i =", i)}

comment 10y ago · link · parent

Ah yes, not immediately dying. The mark of a not too poor.

comment 10y ago · link · parent

Like, I'm not trying to be snarky, there's a lot of conversions going on there that aren't explicated. My takeaway is that if you can buy food and little else, that's poverty, right? Or no?

comment 10y ago · link · parent

So poverty then. Or I don't understand your math?

comment 11y ago · link · parent

That's a great course, and actually a perfect conceptual base for Swift in a lot of ways.

comment 11y ago · link · parent

Not buying it.

comment 11y ago · link · parent

I mean, Twitter only makes sense when a third party digests their API. The default web client is broken (sometimes intentionally) in many, many ways. Perhaps I'm misreading you?

comment 11y ago · link · parent

Your scrolling social sidebar is obscuring the text, BTW.

comment 11y ago · link · parent

Yeah but still. Yawn.

comment 11y ago · link · parent

1. HN comment about some aspect of fizzbuzz or whatever. Not how to solve fizzbuzz or whatever; rather, some insight into how people solve problems, which is the interesting part of the question. 2. Two dozen oblivious nerds tell u how to do it in 20 characters of perl

comment 11y ago · link · parent

"It's hip to be square"

- Huey Lewis

comment 11y ago · link · parent

Seconded wholeheartedly, from a non-friend.

comment 11y ago · link · parent

Yeah I figured, but I didn't know if there was an actual parity error because I was working (impossibly) towards the wrong solution, or if there was a hard part that I might still work through and still arrive at a wrong but plausible solution. Does that make sense? There are enough ambiguous elements in the puzzle that make it kind of cat-mustachy and unrewarding. Do the symbols mean anything, or are they just differentiators? One of them is the reverse-space image of one of the others, is that significant? One of them is a unit block - maybe they go in order of unit block count? What's the physical analog or metaphor of the lock, like pins and tumblers or? Should colors be aligned vertically or horizontally, or not at all? Is there a unique solution?

comment 11y ago · link · parent

It's not "hard", it's just obfuscated as it stands. I chose one of many plausible success conditions to work towards and got one step away due to what seemed like a parity error and quit.

comment 11y ago · link · parent

You nerds are sooooo fucked when the rubber meets the road.

comment 11y ago · link · parent

Am I misreading the Japan thing? Like, it's not hard to imagine that there would be candidates that would be immediately excluded based on surname alone without even getting into race or gender - is this "fair" or "unfair", or is it just the way things are? Is the latter(est) the analogy we're supposed to take from this?

comment 11y ago · link · parent

Orrrrr it brings him into line with appropriate workplace expectations in a world not dominated by dudes.

comment 11y ago · link · parent

http://www.thegamehomepage.com/play/cursor-x-10/

comment 11y ago · link · parent

Almost no one praises the books! In fact, that's the one caveat in most otherwise glowing reviews; that is a testament to the game design, that the only concrete narrative is the least effective narrative. However! - I think Blow was at least trying to do something that explains how stilted it seems, though I'm not entirely sure what. For example: it takes only a slightly charitable perspective to make a coherent story when the books are read in reverse order, and confirmation bias be damned, it seems intentional.

comment 11y ago · link · parent

This is the origin story of Richard Stabone (RIP) also. Originally named to be used as a sacrificial bargaining chip with the standards board, he was somehow never cut, leaving Kirk Cameron stuck with a Boner for four years.

comment 11y ago · link · parent

One of those is your own submission, from today, linking to a similarly outdated article, which is weird

comment 11y ago · link · parent

Speaking as a rockstar bacon ninja Viking pirate robot code fu guru unicorn damn hell aged and wise app developer, many of these problems could be mitigated or eliminated in the web dev world if the web dev community could just slow down a little and clean up their existing messes before inventing twice as many new slightly shinier messes every funding cycle or so.

comment 13y ago · link · parent

It seems like, for various reasons, you want to make a very public statement.

comment 13y ago · link · parent

Wouldn't if be easier to lean on two or three grad students to step up? I genuinely don't know how these things work, but maybe that's why this looks a little nuclear to me.

comment 13y ago · link · parent

Just when I thought medium couldn't get any mediumer.

comment 13y ago · link · parent

There is a constant problem where I mouse over a link and see only medium dot com. It's a contextual stripping in a marketplace that pretty explicitly judges you on the unique ribbons in your hair.

comment 13y ago · link · parent

Huuuuuuge jump up to his denouement.
12