News for hackers. Stuff that matters.

rpercy

Re:Kubernetes, ingress-Nginx, cert-manager and external-DNS on Wednesday August 19, 2020 @03:21PM (#24214946)
My 2 cents is that Kubernetes introduced a very powerful lifecycle for operating workloads that has enabled the automation of a wide variety of tasks.

But the abstractions are still relatively low level. The Ingress API in particular is a known issue and currently being simplified.

Re:The State of Go on Sunday February 05, 2017 @01:31PM (#13573706)
Oh, very cool. Will definitely check out guru. Thanks for the tip.
Re:The State of Go on Sunday February 05, 2017 @11:55AM (#13573207)
Not really. In a language like Java, some of the questions I'd have to ask myself are:

  - Should I try to catch the exception, or just let it 
    bubble up and edit my interface to include it?
  - Should I create a new exception type or reuse an existing one?
  - Should I throw a checked or unchecked exception?
  - Am I exposing implementation details via my interface? 
    (eg I don't want to throw an SQLException from GenericDataSourceWidget.connect())
In golang, I know there's really just the one pattern: check if err != nil, prepend a descriptive message, and return it.
Re:The State of Go on Sunday February 05, 2017 @11:09AM (#13572958)
I've been using the Gogland beta for the last few weeks and it's been quite stable. For large codebases, it's hard to beat a good IDE's ability to quickly jump between symbols (go to definition, find usages, etc).
Re:The State of Go on Sunday February 05, 2017 @11:04AM (#13572931)
100% agree re: readability (as I've mentioned elsewhere).

I've actually been very surprised at the near-ubiquity of Go in the modern infrastructure/tools space though. Seems like each new OSS product I evaluate is written in Go. See companies like Cloudflare, Hashicorp, InfluxData, CoreOS, and, obviously, big projects like Kubernetes.

Re:The State of Go on Sunday February 05, 2017 @10:53AM (#13572877)
I'm with you. IMHO, Go's simplicity is its biggest virtue. It has fostered a community that values consistency and clarity over syntactic sugar. And, as a result, I find each new codebase extremely accessible.
Re:The State of Go on Sunday February 05, 2017 @10:44AM (#13572826)
Heh, it does feel repetitive. But after ~10 years with Java, I'm happy to avoid the cognitive load from deciding how to most politely generate/propagate an exception. Obviously, there's no perfect solution, and preference is subjective.
Re:The State of Go on Sunday February 05, 2017 @10:36AM (#13572769)
To each their own. I enjoy writing Go almost as much as writing Python. But more importantly I find reading Go easier than any other language - mostly due to its explicitness and consistency between authors. That has made it much easier to dig into code bases that solve some very complex and interesting (to me, anyway) problems.

Also, I assume the 'no type safety' statement is just hyperbole?

Re:The State of Go on Sunday February 05, 2017 @10:18AM (#13572694)
Do you have an example of the community celebrating mediocrity?

My impression is of a community willing to go without some features, in order to preserve those it values. Namely simplicity, explicitness, terseness, and consistency.

FWIW, I'd be quite interested in paying, but I'm hesitant to provide my credit card to a website with no track-record just to evaluate their product. I'd happily provide my paypal info though.
Re:Power laws as a thinking tool on Thursday January 28, 2016 @11:44AM (#10989244)
"if you want to be popular you just need to put out more content instead of trying to improve the quality."

Not quite. What he said was: to be popular, improve quality until it stops making a difference (flatten the slope). Then make sure you put out enough content.

Re:The Economics of Drone Delivery on Sunday December 27, 2015 @07:56PM (#10799311)
Agreed. Another possibility would be a hybrid approach with delivery trucks acting as mobile distribution centers. Trucks could be loaded with drones and packages, park in rural areas and let the drones take care of the last mile.
Re:Amazon, the time has come to give you a key on Wednesday January 29, 2014 @11:31AM (#7144870)
What do you think of a service like http://keycafe.com/? Rather than picking up your package from a lockbox, the delivery person would grab your keys from what's essentially a lockbox.
Re:Groovy/Grails vs. Ruby/Rails vs. Python/(something)? on Friday May 11, 2007 @08:10PM (#21496)
something = Django. http://www.djangoproject.com/
Re:Can anyone suggest a nice laptop to run Linux? on Friday May 04, 2007 @02:18PM (#19466)
I've been running Ubuntu on a Dell Inspiron for over a year with no trouble. Given recent events, I would say Dell is a pretty safe choice for Linux users. Definitely go for the nVidia graphics though.