Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
martinp
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
martinp
2y ago
I put my personal site behind Cloudflare last year specifically to combat AI bots. It's very effective, but I hate that the web has devolved to a state where using a service like Cloudflare is practically no longer optional.
2.
▲
by
martinp
5y ago
https://github.com/darkreader/darkreader is great for this. Adds dark mode to any site.
3.
▲
by
martinp
5y 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]: Debia
4.
▲
by
martinp
5y ago
Records were introduced in Java 14 [1]. An immutable DTO, with minimal boilerplate, that still behaves a class. Example: record Point(int x, int y) {} [1] https://blogs.oracle.com/javamagazine/records-come-to-java
5.
▲
by
martinp
6y ago
There are multiple LSP clients though, there's lsp-mode [1] and eglot [2]. After trying out both, I prefer Eglot, mainly because I find it faster and less intrusive than lsp-mode. It also composes better with built-in packages, such as
6.
▲
by
martinp
8y ago
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
7.
▲
Introducing TensorFlow support in Vespa
(blog.vespa.ai)
7 points
by
martinp
9y ago
|
0 comments
8.
▲
by
martinp
9y ago
Norwegian here. 20 days a year is the legal minimum, while 25 days is the norm. I get 30 days a year while working for an American company, which is a bit ironic.
9.
▲
by
martinp
9y ago
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
10.
▲
by
martinp
9y ago
This support article explains how to disable the root user: https://support.apple.com/en-us/HT204012
11.
▲
by
martinp
9y ago
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, wh
12.
▲
by
martinp
9y ago
Outside of general purpose libraries that are found in most software projects it's not based on any existing software. It's built from the ground up by Oath, and the companies that preceded it: Yahoo, FAST, Overture since early-mi
13.
▲
by
martinp
9y ago
The serving and admin/config layers are Java, while the content cluster is C++. Please see the architecture diagram on http://vespa.ai/ .
14.
▲
by
martinp
9y ago
Maybe this can be merged with the discussion from yesterday: https://news.ycombinator.com/item?id=15339851
15.
▲
Open Sourcing Vespa, Yahoo’s Big Data Processing and Serving Engine
(blog.vespa.ai)
66 points
by
martinp
9y ago
|
5 comments
16.
▲
by
martinp
9y ago
Bad example. You can do this in Java 8: java.nio.file.Files.readAllLines(path) which returns List<String>.
17.
▲
by
martinp
10y ago
Uber remains illegal in Norway as all taxi drivers need a permit granted by the government. The subject is under heavy debate though.
18.
▲
by
martinp
10y ago
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
19.
▲
by
martinp
10y ago
Pretty much the same ones are missing on Norwegian Netflix as well.
20.
▲
by
martinp
10y ago
Ars Technica has written a detailed review [0], there's some things on the networking side related to IPv6 and ECN, but that's pretty much it. APFS preview is interesting, but not really stable/usable yet from what I understa
21.
▲
by
martinp
10y ago
You should also read James Mickens' USENIX articles if you haven't: http://mickens.seas.harvard.edu/wisdom-james-mickens The humour and tone is similar to the "Programming Sucks" article. I recommend sta
22.
▲
What's awful about being a {software engineer, tech lead, manager}?
(onebigfluke.com)
25 points
by
martinp
10y ago
|
2 comments
23.
▲
by
martinp
11y ago
This is not entirely accurate. The way these DNS services work is that they return a different IP address (one they control) for certain Netflix domains. Then they do TCP proxying between you and Netflix to get around the region restriction
24.
▲
by
martinp
11y ago
Previous discussion: https://news.ycombinator.com/item?id=10771100 (different URL, but looks like it's the same article)
25.
▲
by
martinp
11y ago
Previous discussion: https://news.ycombinator.com/item?id=9190955
26.
▲
by
martinp
11y ago
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 2
27.
▲
by
martinp
12y ago
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 includ
28.
▲
by
martinp
12y ago
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 back
29.
▲
Remote code execution in Asus router firmware
(github.com)
125 points
by
martinp
12y ago
|
41 comments
30.
▲
by
martinp
12y ago
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,
More ›