HN user

martinp

957 karma

Software engineer in Trondheim, Norway.

https://github.com/mpolden

Posts22
Comments107
View on HN
blog.vespa.ai 8y ago

Introducing TensorFlow support in Vespa

martinp
7pts0
blog.vespa.ai 8y ago

Open Sourcing Vespa, Yahoo’s Big Data Processing and Serving Engine

martinp
66pts5
www.onebigfluke.com 10y ago

What's awful about being a {software engineer, tech lead, manager}?

martinp
25pts2
github.com 11y ago

Remote code execution in Asus router firmware

martinp
125pts41
www.infoq.com 11y ago

Emerging Languages: A Look at the Last Five Years

martinp
3pts0
arstechnica.com 12y ago

Top ISPs threaten to innovate less, spend less on network upgrades

martinp
2pts0
www.jwz.org 12y ago

XScreenSaver: On Toolkit Dialogs (2004)

martinp
1pts0
boycottsystemd.org 12y ago

Boycott systemd

martinp
258pts232
corte.si 12y ago

Exploiting CVE-2014-1266 with mitmproxy

martinp
3pts0
www.jerf.org 12y ago

The Environment Object Pattern in Go

martinp
2pts0
go.c800colon5.com 12y ago

A Grumpy Guy Complains About Complaining

martinp
48pts20
www.fiveminutes.eu 12y ago

Developing for Chromecast

martinp
2pts0
www.julython.org 13y ago

Julython 2013

martinp
44pts2
blogs.wsj.com 13y ago

Oil and Gas Pose Challenge to Norway’s Tech Startups

martinp
27pts26
blog.sanctum.geek.nz 13y ago

Zooming tmux panes

martinp
1pts0
github.com 13y ago

Light Table reaches 0.3.0

martinp
3pts0
www.webjars.org 13y ago

WebJars: Managing client-side dependencies

martinp
3pts0
www.forbes.com 13y ago

Beware, Tech Abandoners. People Without Facebook Accounts Are 'Suspicious.'

martinp
3pts1
pgeoghegan.blogspot.no 13y ago

Sorting improvements in PostgreSQL 9.2: the case for micro-optimisation

martinp
41pts4
dev-spout.blogspot.com 15y ago

What is DevOps?

martinp
2pts1
theforeigner.no 15y ago

Norwegian Parlament passes Data Retention Directive

martinp
1pts0
news.ycombinator.com 16y ago

Learning C++ in 2010

martinp
38pts52
Debian 11 5 years ago

OpenJDK 17 is in Debian 11 as well [0]. A decision was made to include it before its official release since the release is so close (September). An updated package will be available when it's released.

From the release notes [1]:

Debian bullseye comes with an early access version of OpenJDK 17 (the next expected OpenJDK LTS version after OpenJDK 11), to avoid the rather tedious bootstrap process. The plan is for OpenJDK 17 to receive an update in bullseye to the final upstream release announced for October 2021, followed by security updates on a best effort basis, but users should not expect to see updates for every quarterly upstream security update.

[0] https://packages.debian.org/source/testing/openjdk-17

[1] https://www.debian.org/releases/bullseye/amd64/release-notes...

Syncthing is a great piece of software. I configured it on three of my machines in March and I've had zero issues since. In fact, it has worked so well that I don't even think about it.

One of the machines even runs an old version found in Debian stable repos, but there has been no issues syncing with machines running newer versions.

Only downside for me is that there's no iOS client.

Not surprised by these bugs any more.

The sheer amount of bugs in High Sierra is ridiculous, with the exception of the root password bug, I've personally experienced the following bugs with my Thunderbolt display:

* In 10.13 or 10.13.1 the built-in web camera was broken. The video would freeze after a few seconds when attempting to use the camera in FaceTime. This was fixed in 10.13.2.

* In 10.13.2 USB audio devices connected to the TB display no longer work properly. After playing audio through the device (USB DAC in my case) for 30-60 seconds, some sort of interference/electrical noise appears for 5-10 seconds every minute or so. I assume this has something to with "Improves compatibility with certain third-party USB audio devices." from the 10.13.2 release notes.

And this is likely the reason for the reportedly low sales of the 8. I was surprised when they announced both at the fall event as it seemed obvious the X would cannibalize sales of the 8.

The iPhone is already a expensive premium phone, why bother with incremental changes of the 8 when the cool and shiny X is right around the corner.

It's also strange to me how they offer two new phones with different feature sets. Usually when Apple introduces a new device with a controversial change (e.g. USB-C only on the 2016 MacBook Pro), they don't offer a updated device without that change. It can be perceived as a lack of faith in the new product.

Java for beginners 9 years ago

Bad example. You can do this in Java 8: java.nio.file.Files.readAllLines(path) which returns List<String>.

Another anecdote: My sister took over my apartment late 2014. Some time in 2015, the dishwasher (Miele) stopped working. She called support to see if it could be repaired. When she provided them with the serial number she was told that the dishwasher was in fact manufactured in 1994.

It had lasted through 21 years of regular use, by multiple owners.

Even if Apple uses high quality components that fail less frequently, it's still computer hardware at the end of the day. Hardware fails, no matter how much QA you do, so #2 is never moot.

Experienced bad memory on a MBP Retina (late 2013) recently, it was purchased in December 2013. You can't swap out the memory because it's soldered to the motherboard, so the entire motherboard has to be ordered from Apple and replaced.

This wouldn't be so bad if you could easily move the SSD to a new Mac, but that's not an option either.

I always use go-flags [1] in my Go programs. It has support for GNU-style options, pretty help output, subcommands, automatic parsing of more complex arguments (e.g. time.Duration) among other things.

I do wish they would improve the included flags package though. There are lots of nice third party packages, but having a proper one in the standard library would've been better.

[1] https://github.com/jessevdk/go-flags

I haven't tried that one. I'm using asuswrt-merlin [0], which is another fork based on the official Asus sources.

It's very similar to the original firmware, but with a few extra bug fixes and features. Asus occasionally backports some of the bug fixes to the official firmware. The vulnerable feature has been disabled in the latest version. [1]

[0] https://github.com/RMerl/asuswrt-merlin

[1] http://forums.smallnetbuilder.com/showthread.php?t=21774

I've found that https://github.com/jmoiron/sqlx (mentioned in the slides) works very well for SQL and mapping values to structs in Go. It's not an ORM though. You still write plain parameterized SQL queries, but mapping results to structs is very elegant.

The mapping process is very similar to how other packages in Go work (e.g. encoding/json), so if you already know Go it feels very natural.

LTS releases rarely introduce huge changes, they just focus on increasing stability and polishing features from the preceeding non-LTS releases.