Better HN
topnewbestaskshowjobs
Log inSign up

oftenwrong

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

sfir6i2z@mailer.me
Submissions

421.

Linearizability versus Serializability (2014)(bailis.org ↗)

2 points · by oftenwrong · 5y ago · discuss

comment 5y ago · link · parent

Instead of permitting sites to request consent of the user directly, they should be required to request consent via an official EU site. It could work like an authorisation redirect flow. This would standardise the consent UI, and prevent sites from implementing dark patterns.

comment 5y ago · link · parent

The US has one dominant language and one dominant culture, but the legal system is complex. There are national laws. There are also 50 states, each with their own sets of laws. There are also laws at lower levels (county, city, etc). There are similarities that hold true, more-or-less, across the nation, but also differences that are relevant to businesses.

For example, the recent battle in California over how "gig economy" workers are classified:

https://en.wikipedia.org/wiki/2020_California_Proposition_22

Or, the problem of figuring out where you can sell your micro-mobility vehicle:

"The classification of ebikes and other forms of transport is a complex matter in the US. There are federal rules and lots of different regulations at state and city level."

https://www.mypodride.com/faqs (see the "PodRide for USA and Canada" section)

The US may be better than in the EU in this regard, but it's also not that different.

424.

“Why Are Developers Only Building Luxury Housing?” (2018)(strongtowns.org ↗)

3 points · by oftenwrong · 5y ago · 1 comment

comment 5y ago · link · parent

Read the actual pamphlet:

https://video-images.vice.com/_uncategorized/1622578816840-a...*

https://video-images.vice.com/_uncategorized/1622578795816-a...*

My opinion:

The pamphlet is tone-deaf in light of the worker abuses at Amazon, but otherwise it's fine. It contains sound advice for staying healthy and uninjured while doing what is a physical job. It emphasises health, and not all-out performance. It contains useful information, like a bullet point about Amazon's program that gives employees a credit that can be used for buying shoes. It's not significantly different from the advice given by posture coaches and dieticians that have been brought into places I've worked as a software developer. Employers want their employees to be healthy and performant. These health initiatives are not altruistic, but also not evil.

comment 5y ago · link · parent

Some of the lists have a "Visit" link, but it is missing from many of them for some reason.

comment 5y ago · link · parent

A lot of them have an incorrect description.

comment 5y ago · link · parent

You're right: containers and the container ecosystem are complicated and a bit messy.

However, containers solve real problems; real problems that you are going to want to solve one way or another, whether you choose to use containers or not.

For example:

1. making sure your application is run with the correct dependencies

2. keeping your application (somewhat) isolated from other applications on the same host

3. packaging your application in a way that is widely compatible

You don't have to use containers, but you will gain a lot of insight from understanding the problems they solve well, and where their rough edges are.

Additionally, some of the things that seem ugly are, in some cases, necessary, or design decisions that do make sense in context.

For example, the use of a layered filesystem. If I am building my application on a given base image, then when I deploy a new version of my application, the host only needs to pull the top layers that contain my application. If I have many applications on the same base layers, that amplifies the savings on pulls and storage. Furthermore, a running container can perform all of its writes on a layer, which can just be discarded when the container exits. There is no need to make a copy of the image FS for the container, which saves on startup time. The layered filesystem approach has a lot of benefits. The cost (downside) is having to understand the additional complexity of layers, and having to structure the layers in such a way as to avoid things like excessively large images.

As for love, don't place too much importance on it... in the context of technology, that is. To quote the ever-relevant Choose Boring Technology:

"...you should probably be using the tool that you hate the most. You hate it because you know the most about it."

http://boringtechnology.club/

429.

Destruction for Nada(destructionfornada.com ↗)

2 points · by oftenwrong · 5y ago · discuss

430.

Pebble by Sidewalk Labs(sidewalklabs.com ↗)

2 points · by oftenwrong · 5y ago · discuss

comment 5y ago · link · parent

Q enters ex mode

q is used to start a recording

comment 5y ago · link · parent

I have had two big gaps: one over 1 year, and one around 4 months. I did not really accomplish the things I had said I wanted to accomplish during those times. However, I had a lot of fun, and I think it was highly beneficial in terms of mental health. Freedom and low-stress works wonders. I felt like I rediscovered my true self. I highly recommend it.

One thing to watch out for is judgement from others. Many people apparently do not understand the concept of voluntarily not working. Some will think there is something wrong with you. Some will think you are lazy and wasting your life. Some will try to help you find a job even after you explain to to them that you are intentionally taking time off.

433.

The Java Version Almanac(javaalmanac.io ↗)

2 points · by oftenwrong · 5y ago · discuss

comment 5y ago · link · parent

I work with a window facing the street, and I can hear electric cars coming well before they pass. Electric cars are near-silent only when they're moving very slowly. The noise from tyres-on-tarmac is still fairly loud when they are moving at typical city-driving speed.

comment 5y ago · link · parent

I switched from a 38UC99 to a 43" 4K (16:9) display. For me, the extra vertical space (35% more) makes it much more useful for programming-type work. For example, showing many lines of code or logs at once.

436.

The Simple Haskell Handbook is 100% completed(leanpub.com ↗)

9 points · by oftenwrong · 5y ago · 1 comment

437.

GitHub reverses DMCA takedown of OpenBeta climbing-data repository(openbeta.substack.com ↗)

3 points · by oftenwrong · 5y ago · discuss

438.

Google I/O 2021(events.google.com ↗)

7 points · by oftenwrong · 5y ago · discuss

439.

Suburbs That Don't Suck – Streetcar Suburbs (Riverdale, Toronto)(youtube.com ↗)

1 points · by oftenwrong · 5y ago · discuss

440.

Adactylidium(en.wikipedia.org ↗)

4 points · by oftenwrong · 5y ago · 1 comment

441.

The Police Dog Who Cried Drugs at Every Traffic Stop(reason.com ↗)

3 points · by oftenwrong · 5y ago · discuss

442.

JEP Draft: Scope Locals(openjdk.java.net ↗)

1 points · by oftenwrong · 5y ago · discuss

comment 5y ago · link · parent

There is a candidate for mayor in NYC that is running on a direct democracy platform:

https://www.seidmanformayor.com/

444.

Climbing Route Lengths(dgopstein.github.io ↗)

1 points · by oftenwrong · 5y ago · discuss

comment 5y ago · link · parent

>The worst for me is that it's impossible to catch exceptions in lambdas.

I don't take issue with your comment overall, but this is not true. You can catch exceptions within lambdas, and you can define functional interfaces that declare that they throw checked exceptions.

comment 5y ago · link · parent

Good point: The measurements of commuting time should include all preparation. Dressing, preparing lunch, ironing, etc.

comment 5y ago · link · parent

It's a battery meter. solar.lowtechmagazine.com is a solar-powered website.

https://solar.lowtechmagazine.com/about.html

comment 5y ago · link · parent

This is similar to Sven Yrvind's philosophy on eating at sea.

>I will eat twice a day, breakfast and lunch four hours later.

>...

>I say, “Cows only eat grass and wolfs only eat meat”

>Modern society is so boring and there is so much food that we have to be stimulated by spices and chefs and different foods to eat. At sea in a small boat its different. Life itself out there is so interesting that I do not need stimulants.

>My breakfast consists of one can of sardines, one slice of dense dark rye bread and muesli.

>...

>My lunch is the same as breakfast but no sardines.

https://www.yrvind.com/provisioning/

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

comment 5y ago · link · parent

Sealed classes are (most likely) going to be in the next version of Java, Java 17: https://openjdk.java.net/jeps/409
1
141516
83