News for hackers. Stuff that matters.

psiclops

Re:Visualizing Concurrency in Go (2016) on Friday April 28, 2017 @10:04PM (#14224636)
Re:The Evolution of Container Usage at Netflix on Friday April 21, 2017 @11:46AM (#14166576)
AFAIK the early go versions of docker used LXC underneath, but that was ~3+ years ago
Re:Google Earth Redesigned on Tuesday April 18, 2017 @07:08AM (#14137813)
Last part of your comment reminds me of the birth & death of javascript [0]

[0] https://www.destroyallsoftware.com/talks/the-birth-and-death...

That is a quote from the CL, not the hardware of the person you replied to. That being said, I'm pretty interested to see how this would perform on other systems, specifically production servers.
Yeah I wasn't getting coordinates till I turned off ublock
Backpack features even numbers along with 0 in positions they show up on a keypad. Interesting writing on the floss, deodorant, hair dye, perfume, and id bracelet as well
Re:Web Development in Go on Monday April 10, 2017 @07:04PM (#14083340)
"We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil. Yet we should not pass up our opportunities in that critical 3%"

I'd say picking a platform is not, as it is definitely a critical part of your program, especially if it does not greatly increase the complexity of your code.

Re:Ride-hailing apps may help to curb drunk driving on Thursday April 06, 2017 @12:44AM (#14047966)
It's still safer and cheaper than a DUI* or worse. For many people, as long as it is convenient, those benefits are enough
The idea is that it makes software engineering across an organization much simpler if your language is minimal and eschews magic or complex constructs
Go's concurrency model is based on CSP [0] and the previous languages Rob Pike worked on that were also heavily influenced by CSP.

[0] https://en.wikipedia.org/wiki/Communicating_sequential_proce...

Re:Destroying Cockroaches and a Hackathon Experience on Saturday April 01, 2017 @01:03AM (#14010538)
I would suggest https://raft.github.io/

That has a nice, interactive visualization along with links to the paper itself, implementations, and talks about raft.

Re:Night Shift compared to f.lux on Tuesday March 28, 2017 @09:55PM (#13982660)
As I have my daytime f.lux setting at 5500k, I don't plan to change over. I prefer to have the blue light reduced slightly all the time
Re:Roadmap to becoming a web developer in 2017 on Monday March 27, 2017 @06:22PM (#13972356)
For Go, people use either the standard library or third-party routers, etc. glued together

That being said, buffalo is getting pretty popular. http://gobuffalo.io/docs/getting-started

Re:Rootless containers feature merged into runC on Monday March 27, 2017 @06:02PM (#13972227)
runc is lower level. Docker uses runc under the hood to run each individual container, and rkt is somewhere in the middle as far as features go

http://jvns.ca/blog/2016/10/02/i-just-want-to-run-a-containe...

Re:3.5 Years, 500k Lines of Go on Friday March 24, 2017 @09:30PM (#13953568)
Here's a blog post from Rob Pike about the design philosophies inherent in Go, and how that affected adoption from C/C++ developers vs. Python, Ruby, etc.

https://commandcenter.blogspot.com/2012/06/less-is-exponenti...

I haven't used Elm yet, but if you like it, check out the language it is implemented in, Haskell
A lot of it boils down to making it easier for developers to work with each other, rather than any technological benefit.

The less magic that happens and the more code that is commonly used by all developers, the easier it is for others to read your code and understand what it does. Rob Pike and others have some interesting talks and blog posts on this

AFAIK (although I could be wrong about this) the typical 'five' languages used at Google are not specifically for servers. I have heard they are Javascript, Java, Python, Go, and C++
Re:Ask HN: Why do we need Time series database? on Thursday March 23, 2017 @04:43AM (#13938190)
I am not an expert in this, but I would say they are domain-specific. Time series databases I hear about are Prometheus[0] and InfluxDB's offerings[1], both meant specifically for monitoring something over time, hence the name.

[0] https://prometheus.io/docs/introduction/overview/ [1] https://www.influxdata.com/products/

Ask HN: Resources for learning C++11/14*?

Hi, I am looking for resources to get up to speed on newer C++ features and best practices. I have some experience with C++, but have not used it professionally. I am looking to understand key features added in '11, '14, *or any newer ones a programmer should understand.

( Read More... | no comments | 2 points | on HN )
Javascript
I post this pretty often when the conversation of design choices behind Go comes up. [0] There is definitely a heavy C and Plan 9 influence on it.

[0] https://commandcenter.blogspot.com/2012/06/less-is-exponenti...

I prefer medium to high contrast. If it gets too low, it gets hard to read.
Rob Pike has a great blog post that talks about the creation of Go and expected adoption vs where many of them ended up migrating from

https://commandcenter.blogspot.com/2012/06/less-is-exponenti...

Go is verbose. There is a lot of thought behind that, but that is an intentional design aspect of the language. Personally I would not use gin, either net/http, gorilla/mux, or httprouter are solid choices

Older »