Better HN
topnewbestaskshowjobs
Log inSign up

nadohs

-3 karma · joined Jul 18, 2015 (11y ago) · 10 submissions

Submissions

comment 4y ago · link · parent

blockchainz

comment 6y ago · link · parent

I am not convinced by their single ad, one day of data (11 clicks total) that they have proven anything.. This was a waste of time unfortunately...

comment 6y ago · link · parent

OMG, you've built a mansplaining bot

comment 8y ago · link · parent

Maybe people with thinning in brain region associate with memory overestimate the amount of time sitting because they can’t recall as accurately what they were doing in between sitting sessions...

comment 8y ago · link · parent

...

comment 8y ago · link · parent

Incredibly stupid experiment. As someone who is red-green color weak, just as 10% of the male population is, I feel insulted by the implication of this article and the obvious glossing over the fact that not all humans see green/red very strongly. This is lazy science, seriously asking people to differentiate between images of apes that want to mate? It made no sense, you basically proved that some people are colorblind... ok. Did you plan and write this over a weekend? Why did you even bother?

comment 11y ago · link · parent

Exactly, this is also pointed out in the struct definition in CoreGraphics for CGFloat.

/// The native type used to store the CGFloat, which is Float on 32-bit architectures and Double on 64-bit architectures.

comment 11y ago · link · parent

Good point bringing up over/underflow, I didn't think much about Nan or infinity, but I did consider potential over/underflows. I originally built an overflow/underflow checker(on the github project), but then re-evaluated it and figured it wasn't really necessary since the default action for number types that overflow/underflow in swift is to throw an error runtime. The person asking the question mentioned another series of operators that exist &+, &-, &*,etc that allow for overflow/underflow to occur on number types in swift.. without the error throwing, which is not the default.

comment 11y ago · link · parent

I use the dot property conversion, not the overloading in general use. I also have such reservations about using overloading for casting in production. What I do use, is the series of extensions for single letter dot property conversions, the extensions without the protocol extending, that I also used in Swift 1.2. Sorry if that was unclear...

10.

Recreating Swift 2.0 in Swift 1.2: Defer Syntax(foxinswift.com ↗)

2 points · by nadohs · 11y ago · discuss