Better HN
topnewbestaskshowjobs
Log inSign up

leapingdog

42 karma · joined Jun 30, 2024 (2y ago) · 42 submissions

Software engineer
Submissions

comment 1mo ago · link · parent

Making software accessible often has beneficial side-effects, like being more usable on crappy displays or bright lighting conditions.

comment 2mo ago · link · parent

I'm going to guess because they are expensive. Do Apple to on-site support like Dell, HP, et cetera?

comment 2mo ago · link · parent

I don't think modern Java is a 'move fast ~and break things~' environment. It's a comparatively stable platform with an enviable focus on backwards compatibility. The maintainers have talked about "last mover's advantage" when it comes to introducing new language features. Java has a checkered history when it comes to novel programming language features, so I think this is good.

Granted, the maintainers are more inclined to deprecate and remove parts of the API than has historically been the case but it is mostly obsolete things like applets. And you may need to keep a close eye on runtime flags and their effects.

comment 2mo ago · link · parent

Sametime had to work in Java Applets so portability was key. IIRC our biggest customer was the Australian navy.

I was briefly what is now called a developer-in-test on Sametime after Lotus Development bought them. I was untrained in C++ so my bug reports for that API were frequently closed with the comment "No".

comment 2mo ago · link · parent

I worked in a group that reverse engineered the Lotus Notes database format.

We worked at Lotus Development, but we weren't from Iris or even in the USA. Notes was the golden goose & the risks from leaks were judged too high.

comment 2mo ago · link · parent

I recall a team working on machine translation starting by translating English into a simpler form before translating that into the target languages. This was a couple of decades ago. Perhaps not a new idea even then.

comment 6mo ago · link · parent

I have unknowingly bought commercial desktop software that turned out to be Java + SQLite under the hood. Don't know what they were using for UI.

comment 6mo ago · link · parent

> Sadly Java did not take Smalltalk's FP inspiration (I guess they were strayed by C++'s lead in that regard)

You guess correctly. Java was easy for C++ developers to learn which was beneficial for adoption at the time.

comment 7mo ago · link · parent

I don't really disagree.

The software was released on 7 platforms, not counting multiple Windows versions. I don't know the risks or what platforms changes impact today or the test effort involved. I expect "it's still functioning as expected" was the default.

comment 7mo ago · link · parent

I may be misremembering a drunken conversation with a developer but IIRC the root cause was choice of cross-platform APIs available in early 2010s & the JSON file was tiny when introduced.

comment 7mo ago · link · parent

If GTA6 leaks they will not release this year & layoffs will follow.

Different era, but shades of the Half Life 2 leak.

comment 9mo ago · link · parent

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

This brings back some (unpleasant) memories.

But otherwise I admire the minimalism.

comment 9mo ago · link · parent

Anything relying on beans for (de)serialization via reflection (XML; JSON) were the big incentive in the J2EE space if I recall correctly.

comment 9mo ago · link · parent

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...

comment 10mo ago · link · parent

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.

comment 10mo ago · link · parent

A tax based on property value.

https://www.bbc.co.uk/news/articles/cgjwgzwe2eyo

comment 1y ago · link · parent

If I recall correctly Microsoft have always used Notepad as a test bed for new Windows APIs.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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

comment 1y ago · link · parent

> Want a fridge? Good luck in market research.

If paralysed by consumer choice I would lean on Which?[0] magazine which is run by the Consumers' Association charity. Perhaps there is something similar in your geography.

> In my student time. There was a shop where we bought "Beer", "Cognac" or "Vodka", with corresponding simple labels.

This reminds me of the grocery store in the film Repo Man[1] which had a few digs at consumerism. I prefer to know where my alcohol is from & who made it but I pass no judgement.

[0]https://en.wikipedia.org/wiki/Which%3F [1]https://en.wikipedia.org/wiki/Repo_Man_(film)

comment 1y ago · link · parent

They're using it internally. It's probably for the best that the last place they test it on is their customers.

comment 1y ago · link · parent

Change at tier one telecoms providers tends to be glacial. It follows hardware upgrade cycles that take ages to plan and implement.

I spent a decade writing element management systems. An element is a network device - switch, router, ROADM, etc. Often you give the customer kit & software and they spend a couple of years assessing it. This software would be installed on secure out of band networks with no route to the internet. 10/8 would have been adequate for the lifetime of the hardware currently in service - 200G stuff. However, that's not how things played out.

When I started working on EMS software IPv6 support was a requirement but it was just a box ticking exercise. No one was actually going to use it. A decade later IPv6 HAD to work for northbound and southbound traffic, on an internal network. Otherwise, no sale. IPv6 is being used in anger in telecoms. I have no idea how long that will take to filter to in band networks.

comment 1y ago · link · parent

I witnessed some of those bunkers on a day trip to [0]Butrint. The tour guide told us they were constantly being told the country was on the cusp of foreign invasion during the dictatorship.

The locals had painted the domes in bright colours as a sort of added tourist attraction.

[0] https://en.wikipedia.org/wiki/Butrint

comment 2y ago · link · parent

In the United Kingdom of Great Britain and Northern Ireland a number of banks issue bank notes. These banks print their own money because it is cheaper than paying the Bank of England for their notes.

comment 2y ago · link · parent

The release of Java coincided with the rise of the internet. It wasn't just write once, run everywhere, it meant global interoperability. Mistakes were made of course.

comment 2y ago · link · parent

String.format is much newer - it wasn't introduced until JDK 1.5.

The choice expression is intended to account for different I18N language conventions. Imagine a language where pluralization works differently to none/one/plural. If you don't work on localized applications you can mostly ignore the MessageFormat type.

MessageFormat is often used in conjunction with ResourceBundle and properties files. The string is likely externalized and distributed to translators. That's probably not the case for String.format strings.

In real life you would typically just have "File count: " and concatenate a number. Translators weren't wild about it but they could work with it. Translators are typically not programmers and many would break any complex expression.

All the types in java.text are a bit archaic. They are basically impossible to reuse in a thread-safe manner. MessageFormat delegates a bunch of other Format instances. There's a lot of parsing and state there. Time zone handling is awkward.

I agree about the error-prone nature of this approach. I have written a library[0] that verifies MessageFormat syntax in properties files at compile time and generates typed methods for each property.

[0] https://github.com/autores-uk/autores

comment 2y ago · link · parent

Appreciate the answer.

comment 2y ago · link · parent

Saying Java is terrible has been a thing since Java first came out.

"It's strings aren't even mutable." - some C++ programmers.

12