HNHacker News
TopNewBestAskShowJobs

chris_7

1,232 karma · joined May 18, 2016

submissionscomments
chris_7··on RxGo: Reactive Extensions for the Go Language
Rx not encoding side effects in the type system, as ReactiveSwift does, is very unfortunate.
chris_7··on Introducing Lottie: Airbnb's tool for adding animations to native apps
You can download the IPA itself and check (they're just zips). Spoiler alert is that the binary (unzipped) is 130mb, but I think this contains multiple architectures.
chris_7··on Ask HN: How did you escape your 9 to 5 job?
Can you really live in India for a year without getting in trouble? (assuming you're not an Indian citizen)

i.e. Schengen is 90/180 days

chris_7··on I Only Work Remotely
wat
chris_7··on I Only Work Remotely
Books, exercise, instruments, writing, drawing...
chris_7··on Chrome Widevine DRM can no longer be disabled
Firefox needs a UI implemented in AppKit, I think.
chris_7··on Whiteboard sticker for your laptop
Stickers on laptops usually make Jony Ive sad, and he's sad enough already being locked in that white room with one set of clothes.

But this one is much better, because it occupies the entire laptop!

chris_7··on What a good commit message looks like (2011)
Why did you only quote part of that sentence?
chris_7··on Spin wants to bring dock-less bike sharing to the US
The new Citibikes are much better (well, lighter, at least, at you definitely notice that on a bridge incline) than the old ones though?
chris_7··on What a good commit message looks like (2011)
It's really not that hard in this case.

Don't wrap lines with a four-space prefix (or whatever format is decided), wrap lines without one. Allow users to disable the wrapping if they prefer wrapped code. The prefix can be stripped at display time if you wish, so that code is left-aligned - actually, since the formatting isn't encoded in the log, only the semantics, users can configure the display as they please.

Possible handle lines beginning with - as lists and indent them correctly. If a message somehow breaks the format, do not accept it. This isn't TeX-level complexity.

chris_7··on What a good commit message looks like (2011)
If Linus wants a consistent commit message format, he should enforce it at the software level, rather than hoping people read a comment he left in a repository about logging his swimming information.

This does not mean that the format needs to be Markdown (which includes embedded HTML, so obviously not Markdown), or that all software needs a Markdown renderer. I'm not sure why you'd conclude that.

chris_7··on What's new in Swift 3.1
I have always considered this a weird effort. Foundation is not Swifty (delegate protocols with optional methods, etc.). Why do we need a Swift implementation of NSMutableArray or NSNumber? Just use Array or Int/Double!

Of course, a core Swift library for URL handling is important! And on macOS/iOS it can be implemented on top of Foundation. But I don't think that library should come with a bunch of geometry, collections, or number formatting types as well. µframeworks are Swifty. The SPM documentation says something like "in general more modules is better than fewer modules", so it's weird to have a giant framework as an official core library.

chris_7··on What's new in Swift 3.1
CocoaPods isn't an official tool so it's not really the Swift team's fault that it's bad. SPM should certainly have been "done" by now though, Carthage was put together quicker by a team of volunteers without access to Apple's resources and generally works perfectly (yes, deferring most of the work to xcodebuild).
chris_7··on What's new in Swift 3.1
Great language-level features (especially the concrete extensions, finally), but I'm most interested in whether the compiler still crashes, whether it can correctly report error messages in code using type inference and closures, and whether incremental compilation works properly.
chris_7··on What a good commit message looks like (2011)
Tools that handle formatting for you are a productivity multiplier and not having them but enforcing a specific style is wasteful.
chris_7··on What a good commit message looks like (2011)
Is there not precedent for handling that

    correctly in a plain text field?
chris_7··on What a good commit message looks like (2011)
Markdown renderers seem perfectly capable of this. git wouldn't even need to disambiguate asterisk for lists vs. asterisk for emphasis.
chris_7··on What a good commit message looks like (2011)
Web browsers line break text dynamically just fine - as do, well, text editors.

Using a text editor to automatically embed line breaks doesn't fix the problem: embedding line breaks in text for formatting is wrong semantically. Hard line breaks should mean something. Now I can't reflow the text to display it on a web page in a normal font, because I can't be sure of which line breaks are meaningful, and which are formatting.

chris_7··on What a good commit message looks like (2011)

        The body of the commit message can be several paragraphs, and
	please do proper word-wrap and keep columns shorter than about
	74 characters or so. That way "git log" will show things
	nicely even when it's indented.
Software should help me, I shouldn't have to help it. Why doesn't git handle this formatting automatically? I shouldn't need to manually break lines for typographical (not paragraph) reasons.
chris_7··on Ask HN: Leave job right before app goes to production?
I've sort of wondered about European required notice periods - what happens if you just stop going?

But more seriously, how do they hire a replacement in that time period if the replacement also (presumably) needs to give three-months notice?

chris_7··on Ask HN: Leave job right before app goes to production?
If (US) employers really want people's departures to not mess things up, there's a simple tool then can use: contracts mandating notice periods. Of course, that would require consideration, so they'd have to provide that to employees that they are firing as well.

They've overwhelmingly chosen at-will employment, and they shouldn't be upset when their employees actually take them up on it. Two weeks is already an incredible courtesy when you can be fired at any time for any reason (as long as they're not stupid enough to say "yeah, we're firing you because you're black").

chris_7··on iOS and MacOS Developers Can Now Respond to Reviews
I've been APNS spammed by Yelp, Lyft, and Etsy, and by reading the guidelines, they should be removed from the App Store for this. No way to report that either.
chris_7··on Charles Bukowski: The Slavery of the 9 to 5
Really, I just want a 9-to-5, instead of a 9-to-8 + "oh hey quick question" notification from Slack at 11.
chris_7··on Dismissing Python Garbage Collection at Instagram
Does Python guarantee that finalizers are called at all? Most languages don't, I thought.
chris_7··on What I Wish I'd Known About Equity Before Joining a Unicorn
> fixed PTO

Why on earth is this a downside? "Unlimited vacation" is a scam.

chris_7··on Open offices are bad for us
Well, they do something - they find a new job.
chris_7··on Open offices are bad for us
Have you considered that the team's mood might not actually be as good as you think that it is? It's generally inadvisable to bring up environmental things that are making you unhappy at work, it could mark you as "not a team player" or "not a culture fit". People might be keeping it internal and just waiting it out until they can leave (I'm doing this now, actually).
chris_7··on Open offices are bad for us
In practice what I've seen is a "music clique" develops. If I went to put on some ambient Eno or whatever (because it's the closest to "no music"), it would probably be weird because I'm not in the music clique. I'm not really sure how you get to be in it, it would feel weird to me to put on music, effectively saying "everyone else, you must listen to what I choose". Just so rude, I feel.
chris_7··on Open offices are bad for us
Do you have a "shut up" rule, though? I have to endure shared music, discussions about sportsball or TV shows, people making calls, etc. while trying to use a debugger a meter away (pack 'em in!). I could possibly tolerate on-topic discussions, but off-topic stuff belongs in a break room.
chris_7··on Open offices are bad for us
If you're at the office at 1am, you probably need a union, not music. Work ends, at latest, 8 hours after you get there. People actually died for that a century ago, and now people are just throwing it away.
← PreviousPage 4 of 12Next →