HNHacker News
TopNewBestAskShowJobs

pswenson

197 karma · joined August 29, 2012

submissionscomments
pswenson··on Why It’s So Hard to Change People’s Commuting Behavior
Now do Amsterdam
pswenson··on The Ruby Style Guide
slightly worse :)
pswenson··on The Ruby Style Guide
80 char line length in 2019?
pswenson··on Leapfrogging the IDE
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.

pswenson··on Bare Metal K8s Clustering at Scale
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.

pswenson··on CircleCI trusts 8 analytics companies with your source code and API tokens
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.
pswenson··on Dave Asprey/Joseph Mercola Claim Cell/Wifi EM Dangerous
Here is the transcript: https://44uc8dkwa8q3f5b66w13vilg-wpengine.netdna-ssl.com/wp-...
pswenson··on Safari Should Display Favicons in Its Tabs
it's cool, but can't scroll them w/o mouse/trackpad. cursor keys don't work :(
pswenson··on Swift 5: start your engines
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.

pswenson··on JSON Feed
i'm surprised no one has started a snake vs camel case debate here! https://jsonfeed.org/version/1
pswenson··on Scientists hope they've found a drug to stop neurodegenerative brain diseases
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.
pswenson··on New UX for Jenkins: Blue Ocean 1.0
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

pswenson··on Show HN: fman – file manager for programmers
How about a right click/keystroke to copy current file path to clipboard?
pswenson··on Kotlin 1.1 Released with JavaScript Support, Coroutines and more
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.

pswenson··on Java Is Unsound: The Industry Perspective
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"
pswenson··on Peak Millennial? Cities Can’t Assume a Continued Boost from the Young
property value is much higher in cities than burbs due to supply/demand
pswenson··on Ask HN: Ultrabook for programming?
"I don't want to make a big investment"
pswenson··on 15'' MacBook Pro with Kaby Lake and 32GB of Desktop-Class RAM, Later This Year
Are you seriously complaining about Apple continuing to update Macs? They should be updating them every year!
pswenson··on Why I bought a 2015 Macbook Pro
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.

pswenson··on Milking the iPhone
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.

pswenson··on Jasonette – Native App over HTTP
this flies in the face of all the mobile trends... smartphones are getting MUCH faster/more powerful every year.
pswenson··on IntelliJ IDEA 2016.3 GA: Java 8 and ES6, Debugger and UI improvements, more
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
pswenson··on Running Docker in production for 6 months
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.
pswenson··on Jenkins 2.0 Beta
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.

pswenson··on Jenkins 2.0 Beta
being able to config jenkins via code is huge! looking forward to trying it
pswenson··on Kotlin 1.0 Released: Pragmatic Language for JVM and Android
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.

pswenson··on Kotlin 1.0 Released: Pragmatic Language for JVM and Android
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.

pswenson··on Kotlin 1.0 Released: Pragmatic Language for JVM and Android
there is a kotlin build system

http://beust.com/kobalt/home/index.html

pswenson··on Kotlin 1.0 Released: Pragmatic Language for JVM and Android
how do you do conditionals or loops in maven?
pswenson··on Apple fans are coming to hate Apple software
Intellij is amazing. Note that jetbrains built resharper to de-suckify Visual Studio. And many of the refactorings that we all take for granted were invented by Jetbrains.
Page 1 of 4Next →