Better HN
topnewbestaskshowjobs
Log inSign up

oftenwrong

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

sfir6i2z@mailer.me
Submissions

comment 7y ago · link · parent

Optional is Java's impoverished version of Maybe:

https://docs.oracle.com/en/java/javase/12/docs/api/java.base...

Of course, an Optional reference can still be null because it's still Java. There are also other implementations of Maybe-like types, and implementations of Either-like types, etc in the Java ecosystem.

1322.

California town offers free tiny house plans for legal backyard housing(youtube.com ↗)

1 points · by oftenwrong · 7y ago · discuss

comment 7y ago · link · parent

s/traction control/shifting/ and your statement still applies

comment 7y ago · link · parent

>It's been studied and shown in the context of shared streets, switching the side of the road your country drives on (Sweden - the accident rate went down markedly)

This famous example seems to be the opposite of the others you highlight. Reversing lane directions forced people to concentrate more on their surroundings, and be more cautious, not less, unlike seat belts, ABS, helmets, lane assist, and other safety features. Perhaps that is the solution: make the surroundings less safe, so people are forced to pay attention, as many safe streets advocates have been pushing for decades.

comment 7y ago · link · parent

Yes, people like the author, who admits to regularly reversing without looking, only listening for beeps. Do you think such a person should be allowed to drive ANY car? I don't think a manual transmission will turn a careless moron into a good driver.

comment 7y ago · link · parent

I can't read the linked pilot study, but I'm not sure why the author thinks it provides significant evidence with regard to people in general. It is based on a test of 10 adolescent drivers with Attention Deficit Hyperactivity Disorder (ADHD).

I suppose the author also thinks we should sell automobiles without traction control. After all, a person that can't mentally delegate the maintanence of traction will have to manually monitor for traction by feel. Maybe we should also eliminate automatic windscreen wipers, so that people can't mentally delegate that task and will have to manually actuate them like on an old Land Rover.

I'm of the mindset that it's a good thing when people can spend more mental energy on their surroundings, and less on operating the mechanical systems of their vehicle. The fact that people like the author don't pay attention to their surroundings because they think a modern car can somehow drive itself is a separate issue.

comment 7y ago · link · parent

Some people run Chrome in a container:

https://github.com/jessfraz/dockerfiles/blob/master/chrome/s...

It could be configured to run in a totally clean container to keep the browser reasonably isolated from the host system.

Of course, the truly harcore can use Qubes OS and spawn a disposable VM to browse the web from:

https://www.qubes-os.org/doc/disposablevm/

comment 7y ago · link · parent

https://thiswebsitedoesnotexist.com/

1329.

High Water Marks(granolashotgun.com ↗)

1 points · by oftenwrong · 7y ago · discuss

comment 7y ago · link · parent

Also "on" and "off", and variations.

"y|Y|yes|Yes|YES|n|N|no|No|NO |true|True|TRUE|false|False|FALSE |on|On|ON|off|Off|OFF"

https://yaml.org/type/bool.html

1331.

Plants Don't Purify Air(gardenmyths.com ↗)

1 points · by oftenwrong · 7y ago · discuss

comment 7y ago · link · parent

New York had a big scandal related to "swill milk" in the late 19th - early 20th centuries. Distillery waste was fed to sick and dying cows kept in overcrowded, filthy lots. The milk and whatever dirty, contaminated water that got mixed in was adulterated with various substances to help mask the low quality. Many children died from consuming it. A very dark chapter of human history.

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

comment 7y ago · link · parent

>any water kept in one place too long will be contaminated.

Clean water stored in clean, sealed containers will not spontaneously become contaminated.

comment 7y ago · link · parent

The city publishes the inspection results on their data portal:

https://data.cityofnewyork.us/Health/Rooftop-Drinking-Water-...

I found this article and data set on Data is Plural:

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

1335.

Lax oversight, dubious testing in water tanks pose health risks(cityandstateny.com ↗)

96 points · by oftenwrong · 7y ago · 108 comments

comment 7y ago · link · parent

+1 for jOOQ. I prefer to Just Write Queries than muck about with quirky ORM magic that gets turned into queries. jOOQ lets me do that with safe query building and type checking through to the DB level (with code gen).

comment 7y ago · link · parent

I've had some not-so-great experiences developing web services with Spring Boot, Hibernate, Groovy itself, Grails.

We now stick to plain old Java with no annotations, Ratpack, jOOQ, etc.

In my experience, and opinion: Lack of static typing is a good way to make shooting yourself in the foot easy. Annotation-driven magic sucks. Just Writing Queries causes fewer headaches than using an ORM. Basically, libraries over frameworks. YMMV.

comment 7y ago · link · parent

Strong use of loaded language in the headline and introductory paragraphs. The government is contracting out to various facilities, which may, in turn, contract out to other facilities. The government failed to properly disclose which facilities are being used, and the standards of care they maintain. The facilities themselves are non-secret. For example:

https://www.millcreekbehavioralhealth.com/

https://www.rollinghillshospital.com/

It's a bit misleading to call these "black-site shelters" or "secret shelters" or "clandestine facilities" or "off-the-books facilities".

comment 7y ago · link · parent

PillPack solves the same problem more elegantly. They pack meds in accordance with one's prescribed schedule and dosage. Zero-effort, always there when you need it, no measuring, no counting, no sorting.

comment 7y ago · link · parent

I think BevSpot offers that.

comment 7y ago · link · parent

You compare the value of a given property to that of similar properties in other locations. Let us say you have two identical apartment buildings: one in the city center, and one on the outskirts of the city. It is likely that renting an apartment in the former is more expensive, despite both building being exactly the same. The difference in rental rates between the two buildings is due to the difference in value of the land they are built on.

Further reading: http://kaalvtn.blogspot.com/p/valuations-and-potential-lvt-r...

comment 7y ago · link · parent

This is like stone carving with a chisel, but striking the back of the chisel with your hand instead of using a hammer. A hammer adds a bit of complexity, but you will save yourself a significant amount of pain.

1343.

A Georgia Town Takes the People’s Business Private (2012)(nytimes.com ↗)

1 points · by oftenwrong · 7y ago · discuss

1344.

Driven Apart: How sprawl is lengthening our commutes(cityobservatory.org ↗)

2 points · by oftenwrong · 7y ago · discuss

1345.

Rewarding Neglect and Punishing Investment in Struggling Neighborhoods(strongtowns.org ↗)

108 points · by oftenwrong · 7y ago · 118 comments

comment 7y ago · link · parent

Non-descriptive headline. Borrowing some copy from the announcement makes it better:

"Firefox Send: a free encrypted file transfer service"

comment 7y ago · link · parent

It has been pointed out that, while replacing the existing the existing water system is infeasible, building a new, downsized system for drinking water, with the existing option being used for non-potable water, may be an option:

https://www.strongtowns.org/journal/2016/2/7/chipping-flint

Hong Kong, for example, has separate water infrastructure for salt water, which is used for flushing toilets and other non-drinking uses.

comment 7y ago · link · parent

Leaf removal, whether performed with a gas-powered leaf blower or a rake, will contribute to soil nutrient depletion in the long term.

https://druidgarden.wordpress.com/2014/11/07/dont-bag-your-l...

comment 7y ago · link · parent

s/Goodbye/So Long/

1350.

Why Does Pepperoni Curl?(slice.seriouseats.com ↗)

3 points · by oftenwrong · 7y ago · discuss

1
444546
83