Better HN
topnewbestaskshowjobs
Log inSign up

oftenwrong

15,025 karma · joined Apr 22, 2012 (14y ago) · 2,479 submissions

sfir6i2z@mailer.me
Submissions

961.

Strong Towns Talk at Google(youtube.com ↗)

1 points · by oftenwrong · 6y ago · discuss

comment 6y ago · link · parent

Data is Plural: A weekly newsletter of useful/curious datasets

https://tinyletter.com/data-is-plural

comment 6y ago · link · parent

I have avoided Spring as much as possible. Performance is one reason.

But I thought we were talking about Java:

"For example Java programs are comparatively slow to boot up."

comment 6y ago · link · parent

This is "rolling coal":

https://youtube.com/watch?v=ZdDxjge5hmY

https://en.wikipedia.org/wiki/Rolling_coal

https://slate.com/news-and-politics/2014/07/rolling-coal-con...

https://www.nytimes.com/2016/09/05/business/energy-environme...

comment 6y ago · link · parent

I favour jOOQ.

comment 6y ago · link · parent

I'm useless without a compiler to check my types!

comment 6y ago · link · parent

5 second boot time? Most Java programs I have worked on start up near-instantly.

Small programs can be written in java. It's a general purpose programming language. You could write grep in java.

comment 6y ago · link · parent

Spot on. Thankfully it is becoming more common to Just Write Java. Java without the frameworks and other bloated crap is actually decent. The language itself has a lot of warts, but the Java ecosystem is one of the best (Python too).

comment 6y ago · link · parent

Annotations often bring with them implicit, hard to debug, "magic" behaviour. I prefer boilerplate over annotations.

comment 6y ago · link · parent

As the sibling comment says, the post's advice is really about making your code refactoring-friendly with regard to type checking.

You generally would not want to call '.get()' without an 'isPresent()' check because it will throw a NoSuchElementException if the Optional is empty. This is a foreseeable case, so most would like to handle it somewhat explicitly.

Today, it is idiomatic to use '.map' to transform it:

    Optional<String> foo = optionalCountry.map(Country::getName);
You can also throw a domain-specific exception from that point:

    Optional<String> foo = optionalCountry
        .map(Country::getName)
        .orElseThrow(...);

comment 6y ago · link · parent

It is a "heavy circle".

This page may help: https://decodeunicode.org/en/u+02B58

972.

Why Cyber-Monday doesn’t mean delivery gridlock Tuesday?(cityobservatory.org ↗)

1 points · by oftenwrong · 6y ago · discuss

973.

The Dutch Solution for Safer Sidewalks: Continuous Sidewalks(youtube.com ↗)

2 points · by oftenwrong · 6y ago · 1 comment

comment 6y ago · link · parent

No

comment 6y ago · link · parent

I use a librem 13v3 as my main computer.

I like it because the hardware is all well-supported under linux. I run a fairly stripped-down Debian. I am no linux wizard, and I was able to make everything I needed functional. Bluetooth required a non-free firmware package.

Additionally, I got to support a company working toward more-open, more-free hardware. I would love for movement in that direction to be more common, so I put my money where my mouth is. If you don't care about that, you could get a laptop of equivalent performance, or better, for less money.

I don't know much about hardware performance or what the latest-and-greatest is. I don't play games or do anything that performance intensive locally. It is more than performant enough for my needs. The battery life seems good, but I've never timed it. I have an M.2 SSD in it.

The trackpad and keyboard are both relatively nice. The trackpad is a clicky pad, like the one on a macbook. I have it configured to use the "clickfinger" click method of libinput and two-finger-scrolling. The keyboard is backlit and has decent travel (not nearly as good as the old thinkpad keyboards, though).

There are hardware kill switches. One for wifi and bluetooth, and one for the camera and microphone. I generally just leave the camera/microphone off, and the wifi/bluetooth on. The switches protrude a bit so it is possible to accidentally move them.

The screen is a matte 1920x1080 IPS panel. I hate glossy screens because I like to use my laptop outside, so this is perfect for me.

It has a decent complement of ports. No ethernet port, though.

976.

Tinysheet: Light, mobile-optimized 2×10 spreadsheets that run locally(tinysheet.com ↗)

4 points · by oftenwrong · 7y ago · discuss

977.

WebSocket Towers(pixeltwenty.com ↗)

5 points · by oftenwrong · 7y ago · discuss

comment 7y ago · link · parent

The article is light on information about shell rings, so I immediately went to read more about them:

https://en.wikipedia.org/wiki/Shell_ring

979.

E-scooters riding into serious trouble(lite.cnn.io ↗)

2 points · by oftenwrong · 7y ago · discuss

980.

Discovering Server Driven UI(engineering.q42.nl ↗)

3 points · by oftenwrong · 7y ago · discuss

981.

Culdesac: Building car-free neighborhoods from scratch(medium.com ↗)

19 points · by oftenwrong · 7y ago · 9 comments

comment 7y ago · link · parent

The dresses don't appear to be particularly special, aside from the built-in pouch. What makes these "origami-style"? Is it merely that they can be folded? Many companies offer similar dresses in a similar wrinkle-resistant material that can hold up to folding during travel.

983.

I'm Not a Pedestrian(strongtowns.org ↗)

1 points · by oftenwrong · 7y ago · discuss

comment 7y ago · link · parent

found the paper: https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3484845

comment 7y ago · link · parent

I have a "negative tilt" keyboard tray on my desk.

Similar to this:

http://www.workwhilewalking.com/wp-content/uploads/2013/09/k...

I do find it is more comfortable for my wrists.

986.

Before and after comparison of cycling in Vught (Netherlands)(youtube.com ↗)

1 points · by oftenwrong · 7y ago · discuss

987.

The 40% Keyboard(tbf-rnd.life ↗)

214 points · by oftenwrong · 7y ago · 328 comments

comment 7y ago · link · parent

https://www.strongtowns.org/journal/2017/6/26/the-party-anal...
1
323334
83