Readit News logoReadit News
leapingdog commented on Warren Buffett dumps $1.7B of Amazon stock   finbold.com/warren-buffet... · Posted by u/fauria
semiquaver · a month ago
Berkshire Hathaway has my favorite website (or, WEB page, as they style it) of any big company: https://www.berkshirehathaway.com/
leapingdog · a month ago
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

This brings back some (unpleasant) memories.

But otherwise I admire the minimalism.

leapingdog commented on Java.evolved: Java has evolved. Your code can too   javaevolved.github.io... · Posted by u/jongalloway2
jghn · a month ago
The more modern take is to not bother with getters & setters for most things. People were cargo-cutting getters/setters on every variable without thinking about the implications.

First off, there's the question of if most things should even *allow* updates or just be immutable.

Second, what's the discernable difference between `public final int foo` and `private final foo` w/ `public int getFoo()`. Nothing really. The claim was always "but what if you want to update `foo` to be something more complex? The pain that these advocates always suggested never really wound up being much of a real world problem.

leapingdog · a month ago
Anything relying on beans for (de)serialization via reflection (XML; JSON) were the big incentive in the J2EE space if I recall correctly.
leapingdog commented on Java.evolved: Java has evolved. Your code can too   javaevolved.github.io... · Posted by u/jongalloway2
stuaxo · a month ago
I'm from the ancient years of Java, surely this must have started at some point ?

Do you get getters and setters ?

I left Java around version 5.

leapingdog · a month ago
Records [0] are a modern form of data transfer object. They are immutable though.

[0] https://docs.oracle.com/en/java/javase/17/language/records.h...

leapingdog commented on Find a pub that needs you   ismypubfucked.com/... · Posted by u/thinkingemote
jdlyga · 2 months ago
UK only
leapingdog · 2 months ago
England & Wales only. The website is a response to new business rates (taxes) arriving this year.

Scotland, Northern Ireland & the rest of the world play by different rules.

leapingdog commented on Find a pub that needs you   ismypubfucked.com/... · Posted by u/thinkingemote
sleepybrett · 2 months ago
For a dumb american, what is a 'pub rate'?
leapingdog · 2 months ago
leapingdog commented on Notepad on Windows 11: Can't Open New Text Document.txt   imgur.com/a/notepad-on-wi... · Posted by u/VitoVan
ChrisRR · 6 months ago
I don't see why notepad should've changed in the last 20 years
leapingdog · 6 months ago
If I recall correctly Microsoft have always used Notepad as a test bed for new Windows APIs.
leapingdog commented on Don't pick weird subnets for embedded networks, use VRFs   blog.brixit.nl/dont-pick-... · Posted by u/LorenDB
dlcarrier · 7 months ago
It's still difficult to find equipment and ISPs that reliably work with IPv6. I'm sure it will be ready for prime time in the next decade or two, right when we get fusion power plants, self driving cars that don't require supervision, and the AI singularity.
leapingdog · 7 months ago
I understand your pessimism but believe IPv6 is coming.

I worked on network management software, the kind of software that runs on out of band networks that are unlikely to ever need IPv6. In the beginning IPv6 was a required feature for sales but it was accepted that no one was going to use it so little effort was put into testing it. More recently, it HAS to work. It is being used in anger internally in large telecoms companies.

I expect adoption to proceed at a glacial pace until some tipping point. Consumer ISPs will be the last to adopt it.

leapingdog commented on Losing the War   leesandlin.com/articles/L... · Posted by u/ravel
roxolotl · 7 months ago
Totally worth the time to read. Some of it hits very differently in a post 9/11 post Covid world than it probably did when written. 9/11 was a reminder of the war fever; Covid of how desperately we want to forget. Of course both pale in comparison to the horrors of WWII.
leapingdog · 7 months ago
I think it is fair to say that the USA rediscovered war fever after the attacks on home soil. It resulted in the land invasion of two countries.

> There's a phrase people sometimes use about a nation's collective reaction to events like Pearl Harbor -- war fever. We don't know what a true war fever feels like today, since nothing in our recent history compares with it; even a popular war like the gulf war was preceded by months of solemn debate and a narrow vote in Congress approving military action.

I was unfamiliar with the author but when I read this bit I started hunting for a publication date - 1997.

leapingdog commented on The Great Egg Heist   washingtonpost.com/invest... · Posted by u/tintinnabula
mschuster91 · 9 months ago
> About 1 of every 5 eggs sold in America are laid by a Cal-Maine hen.

Jesus, what a lot of market concentration. Alone the lack of genetic diversity... because there's no way in hell that such a large company doesn't want only the most profitable chicken they can get, and only that kind of chicken.

> What the deputies remembered most about the Warwick farm, though, was the time in 2011 when a fire killed 300,000 hens.

And that is just as harrowing. How the fuck are such large stables even allowed, why does regulation not demand separate stables and enough clearance to prevent the spread of fire?

But it's just chicken, eh, who cares about them...

leapingdog · 9 months ago
Matt Stoller claims that the USA's problems with egg prices are a result of a European duopoly on hen breeding and USA cartels leveraging exclusivity agreements. I have no way of knowing if that is true or not.
leapingdog commented on AI threatens to raid the water reserves of Europe's driest regions   politico.eu/article/artif... · Posted by u/molteanu
austinkhale · 9 months ago
Per the article, all current European data centers used 62 million cubic meters of water for 2024. That is 3.4% of only Spain's existing desalination capacity (≈1.8 billion m³/yr).

Seems like this is solvable:

1. Keep rolling out the closed-loop cooling improvements now appearing in new DC designs.

2. Add more desal capacity where it’s cheap (sunny coastlines + renewables) to cover the residual demand.

Sources: - https://aedyr.com/plantas-desaladoras-agua-salobre-espana/

leapingdog · 9 months ago
If the data centre is coastal then desalination might be an extra step. A salt water heat exchanger might do the job.

u/leapingdog

KarmaCake day32June 30, 2024
About
Software engineer
View Original