Better HN
topnewbestaskshowjobs
Log inSign up

overcyn

676 karma · joined Mar 11, 2009 (17y ago) · 186 submissions

Submissions

comment 1y ago · link · parent

You can set hotkeys to go directly to a specific virtual desktop. I have ctrl-1 though ctrl-9 setup for the reason you called out.

comment 7y ago · link · parent

From the title and the domain name I was sure this was going to be about his 2011 article rationalizing that iPhone 4's 3.5 inch screen was a better size than larger Android screens of the day.

https://dcurt.is/3-point-5-inches

comment 7y ago · link · parent

So really this isn’t a discussion about the design of Go (of which Ken Thompson was a part of) but just a chance to trash on someone you don’t like.

comment 7y ago · link · parent

Ken Thompson was one of the original authors of Unix

comment 7y ago · link · parent

I am not Rob Pike and therefore cannot provide proof of his grasp of type theory. But I also don't understand the desire to question and debate the knowledge of someone I've never met and has no influence on my life.

I have used Go extensively and would disagree with the idea that the lack of generics in go was ill-informed (and therefore a mistake). I find that Go's limited number of features leads to simpler libraries that are much easier to comprehend and use effectively. And in situations where I previously would have reached for generics I am forced to find a different approach and the end result is often better. Yes it does have its drawbacks and is not a perfect solution, but as far as engineering decisions go, I feel it was a successful one.

comment 7y ago · link · parent

No the two conflicting statements are.

1. Go doesn't have generics because the authors didn't have strong grasp of type theory.

2. Go doesn't have generics, not from a lack of knowledge, but because the authors' real world software engineering experience had shown to them it wasn't important.

comment 8y ago · link · parent

Except there is no fire truck that’s coming. We still need to convince our governments to take action. And how can we do that if we individually are still throwing kindling on the flames.

comment 8y ago · link · parent

What real reality are you referring to? That the iPhone X looks flashy? Thats not an objective truth, its taste.

If someone likes driving Corvettes because they think it looks anonymous and non-descript. Who are you to tell them they're wrong. Its their opinion.

comment 8y ago · link · parent

Why are you criticizing someone's personal aesthetic preferences? So you think that the iPhone X isn't understated. Doesn't mean that someone who disagrees is doing "serious rationalization" or "constructing a reality".

comment 8y ago · link · parent

The throttle was not lifted in 11.3. They added a switch so users could disable it.

https://www.theverge.com/2018/2/7/16984234/how-to-iphone-thr...

comment 8y ago · link · parent

Heres a 31 page macrumors thread on it.

https://forums.macrumors.com/threads/iphone-6s-turning-off-a...

https://www.reddit.com/r/apple/comments/4vne2w/does_anyone_e...

And Apple cut the price of battery replacement from $79 -> $29 in response to it.

https://www.apple.com/iphone-battery-and-performance/

comment 8y ago · link · parent

Are you saying that it is a bad thing. But since it is happening it should happen to everyone? If so, it just seems like you're propagating more of bad thing.

Why not just advocate for the the corporate world to be more accepting of personal life choices? Firing Kaplan doesn't get you any closer to that.

comment 8y ago · link · parent

> you can be fired or suffer repercussions by your employer, for things that you do on your own personal time

Yes this happens, but should it be the case? Is this something you morally support? Should people be fired for smoking weed in their personal time? Posting on social media? Making a joke to a friend? Donating a political campaign?

People have been fired for these things but I don't think it should be lauded. I don't think its healthy for companies to monitor their employee's personal life, so they can punish them at work.

comment 8y ago · link · parent

From that link you posted...

> Security: Google has always been known as a leader for browser security, and for good reason... All said, Google’s leading position in browser security is undisputed. 5/5

comment 8y ago · link · parent

And no point in reducing co2 output because the corals are doomed due to chemicals in sunscreen.

comment 8y ago · link · parent

It seems presumptuous to assume that because you reuse all your plastic shopping bags the rest of the population also behaves similarly. Can you cite a study that shows plastic bag bans increasing the total use of plastic or plastic waste like you claim? Everything I find says otherwise. Maybe a little bit of inconvenience is necessary to improve the environment.

comment 8y ago · link · parent

User's wouldn't be able to depend on version v1.0.0 if it doesn't exist. From what I understand the tool isn't downloading the list of all versions from GitHub and selecting the minimum. Its searching for the maximum version number (i.e. minimal required version), from your go.mod file and all your dependencies' go.mod file.

comment 9y ago · link · parent

Diablo 3 + expansions is the 12th best selling video game of all time.

https://en.wikipedia.org/wiki/List_of_best-selling_video_gam...

comment 9y ago · link · parent

Yeah I don't know the slightest about electrical engineering but the spacer that servers as a connector struck me as super clever.

comment 9y ago · link · parent

Link is dead

comment 9y ago · link · parent

This is my personal gripe with Swift. Theres just so many different ways to form expressions and do control flow. It just feels like code golf to me.

  for case let (title?, kind) in mediaList.map({ ($0.title, $0.kind) }) where title.hasPrefix("Harry Potter") {
     print(" - [\(kind)] \(title)")
  }
http://alisoftware.github.io/swift/pattern-matching/2016/05/...

comment 9y ago · link · parent

Thank you, I appreciate that! I was just lucky to have saved enough money to take some time off and work on something I find interesting and think has a lot of potential.

comment 9y ago · link · parent

Repasting my comment from below, but Matcha is actually based on top of gomobile, albeit with a bunch changes to fit the needs of this framework. Gomobile provides language bindings and Matcha adds a usable component library on top of that. It serializes Go data structures into protobuf, passes it through to iOS/Android and creates the necessary views. Matcha also does all the layout, event handling etc.

comment 9y ago · link · parent

UI is the difficult part in my opinion. iOS and Android take different approaches to building apps so even if you had a language that perfectly compiled to both Swift and Java, the code to build your views would end up diverging significantly without some sort of component library.

comment 9y ago · link · parent

Well if they got the Go runtime on WASM, you could run it in a interpreter and do live reloading. Keeping state across reloads would be challenging, but I don't think it would be an impossible feat.

https://github.com/golang/go/issues/18892

comment 9y ago · link · parent

The bridging happens through Cgo and JNI. bridge/matchaforeign.h contains the functions that Go implements that can be called by ObjC/Java and bridge/matchago.h are the functions that Java/Objc implements that can be called by Go. Everything else is built on top of that.

comment 9y ago · link · parent

You can definitely mix native and dynamic views. Theres an interface for registering custom views with the framework. It doesn't need to take over your entire app either. Matcha gives you a view controller, which displays the Go stuff, but that can be presented however you like.
1234567