News for hackers. Stuff that matters.

pswenson

Re:Why It’s So Hard to Change People’s Commuting Behavior on Tuesday December 24, 2019 @11:39AM (#21873145)
Now do Amsterdam
Re:The Ruby Style Guide on Friday June 14, 2019 @02:25PM (#20185376)
slightly worse :)
Re:The Ruby Style Guide on Friday June 14, 2019 @01:19PM (#20184709)
80 char line length in 2019?
Re:Leapfrogging the IDE on Monday November 12, 2018 @12:57PM (#18434232)
The jetbrains editors are amazing, if you learn the keystrokes. I see few bother to explore/learn them though... I haven't found an editor that matches the features.

My main prob with jetbrains is project setup sucks, and the support for quick editing an arbitrary file is awkward. so for quick editing of a file I end up in atom or vim. I'm currently trying to get vs code's editor to be as similar as possible to intellij as possible. it looks like code's editor is pretty solid and full featured.

Re:Bare Metal K8s Clustering at Scale on Tuesday July 03, 2018 @08:58AM (#17449752)
almost all retail credit card transactions go over the internet and commerce seems to continue fine.

but if you want to be safe, have a cellular backup network.

seems way simpler than pushing out a k8s infrastructure to every store.

Jenkins is fundamentally broken. Upgrade any plugin and you risk everything breaking. And you won't necessarily know until you run every corner case of your build system.
Re:Safari Should Display Favicons in Its Tabs on Friday August 11, 2017 @06:11PM (#14994768)
it's cool, but can't scroll them w/o mouse/trackpad. cursor keys don't work :(
Re:Swift 5: start your engines on Tuesday August 08, 2017 @02:25PM (#14960917)
a good concurrency story looks 2 years out :( 5 will lay some foundations, hopefully Swift 6 will complete the story.

a "systems" language w/o a concurrency story isn't very compelling.

Re:JSON Feed on Wednesday May 17, 2017 @02:17PM (#14361185)
i'm surprised no one has started a snake vs camel case debate here! https://jsonfeed.org/version/1
I think much more widely for sleep than depression.... it was originally an anti-depressent but had a nasty side-effect of making one very sleepy.
Re:New UX for Jenkins: Blue Ocean 1.0 on Thursday April 06, 2017 @10:52AM (#14051024)
There are many problems with the plugin ecosystem.

The big ones: * Many don't work with pipelines (scm sync config plugin for example). And you don't know this until you try * Upgrading a plugin can and often does have unintended, and hard to detect problems (only way to know is to run every job and find the failures) * It's hard to automate plugin installation

Re:Show HN: fman – file manager for programmers on Thursday March 02, 2017 @02:30PM (#13777380)
How about a right click/keystroke to copy current file path to clipboard?
Kotlin native sounds great to me! There is a big world outside the bloated JVM!

We've seen 1/10 the memory usage on golang vs java with similar performance, so properly executed there is a big opportunity in the native space.

Re:Java Is Unsound: The Industry Perspective on Tuesday January 24, 2017 @03:33PM (#13475191)
checked exceptions? They lead to very un-robust code like try{...}catch(Exception e){//ignore or log, continue along like everything is grand!} or (much better) every method declaring "throws Exception"
property value is much higher in cities than burbs due to supply/demand
Re:Ask HN: Ultrabook for programming? on Friday January 20, 2017 @11:26AM (#13444873)
"I don't want to make a big investment"
Are you seriously complaining about Apple continuing to update Macs? They should be updating them every year!
Re:Why I bought a 2015 Macbook Pro on Saturday December 24, 2016 @05:27PM (#13251885)
I love laptops. Easy to carry, always has my stuff on it. I connect to a big monitor/keyboard/mouse at my desk both at home/work... use a laptop when I travel or work from the coffee shop/bar/etc.

I haven't owned a desktop since maybe 2002, and can't imagine ever getting one again.

Re:Milking the iPhone on Wednesday December 07, 2016 @11:14AM (#13123604)
Cell connectivity is a big deal and will increase its usefulness. But a watch can't replace a smartphone. There are core functions of a smartphone that a watch can never replace: typing, reading, camera...

If you have paid attention, Apple has reduced the ambitions of the watch. It's targeted at health/fitness and notifications now.

Re:Jasonette – Native App over HTTP on Tuesday December 06, 2016 @11:50AM (#13116046)
this flies in the face of all the mobile trends... smartphones are getting MUCH faster/more powerful every year.
you should at least get the makefile support from C++ in there.. people use makefiles for bootstrapping docker all the time. https://youtrack.jetbrains.com/issue/IDEABKL-5173
Re:Running Docker in production for 6 months on Friday November 11, 2016 @02:21PM (#12933486)
I just switched to this, problem solved. But I tried sevarl other solutions and found many were out-dated and no longer worked well, with no doc on which version of doc the approach worked with. Should be built into docker IMO and I've heard 1.13 will have a clean-up facility built in.
Re:Jenkins 2.0 Beta on Friday March 25, 2016 @05:04PM (#11362683)
the config is a huge problem, not just because of XML files. Jenkins (pre 2.0 at least) job configs have huge problems with config drift and doesn't play well with configuration management tools.

Trying to automate jenkins job configurations requires using the terrible job config xml format and a poorly designed rest API which breaks all the time when you add in a plugin or plugins get upgraded.

Re:Jenkins 2.0 Beta on Friday March 25, 2016 @04:57PM (#11362630)
being able to config jenkins via code is huge! looking forward to trying it
It's not "business logic", it's "build logic".

Your criticism applies equally to non-build code. Don't approve PRs for bad/inscrutable code.

In gradle you can build plugins just like maven. But a simple 'if then' doesn't require all the heavy lifting of a plugin.

So I think gradle has a lot of problems, but having access to Groovy anywhere is a good thing. You can always make your builds do what you want.

And as in all things if your code gets too complicated you need to refactor, extract logic into methods/classes, etc.

Older »