HN user

diroussel

992 karma

hi!

Posts3
Comments512
View on HN

That is the good old fashion workaround. But why is it better than a form causing an HTTP QUERY.

If we can do QUERY forms, it would be an ideal time to add JSON encoding for forms.

Siri AI 1 month ago

I found that Deep Research mode in Gemini was able to give me a well planned 4 day trip to a major city.

I told it my preferences and of the group members, where we arrived and departed, at what times. I gave it my itinerary and then asked it to plan two new itineraries and also suggest a location to book a hotel that was convenient for the early flight on the last day.

I went away for 20 mins and gave me a 20 page document with a good summary and decent options. I did choose some of the activities it suggested.

I did this 10 months ago. It’s probably better now.

But Gemini has access to google maps, so it can estimate travel times, and know which lunch places are near which sites and which hotels have good reviews. So if you want AI to work for travel panning you need to ground it in good data.

Yes, it can be confusing if you don’t read the article. He said he went on a 10 day trip and didn’t take a computer. That is context for why he got a Bluetooth keyboard. I doubt he decided to bring a monitor on the trip.

Yeah and those stats show a big difference. In the UK there are 2.6 fatalities per 100,000 population on average per year. And in the USA it’s 14.2

That’s five times higher!

For those that don’t know these are all the checks done yearly to every passenger car over 3 years old. https://www.gov.uk/government/publications/car-parts-checked...

Source: https://en.wikipedia.org/wiki/List_of_countries_by_traffic-r...

So you’ve never improvised an air conditioning system from a spare bilge pump, a propane tank and a cast iron radiator?

Sir, this is a hacker news.

JPEG XL Test Page 6 months ago

Who should accept responsibility when a conversion is not as expected?

There are very few ‘lossless” conversions possible if you consider the loss of a data or metadata could affect the result. So if printer did accept a file that needed to be converted, and then during printing and converting they found conversion could lead to unexpected results should they cancel the print run? There is just too much to go wrong in printing already without these extra problems.

The print industry has a long and storied history, and for whatever set of reasons, printers only accept very specific profiles of specific formats.

I think that is a bigger impact on writes than reads, but certainly means there is some gap from optimal.

To me a 4k read seems anachronistic from a modern application perspective. But I gather 4kb pages are still common in many file systems. But that doesn’t mean the majority of reads are 4kb random in a real world scenario.

7-Zip 25.00 1 year ago

Rare for people who don't deal with encoding and decoding maybe.

To be clear the codec implements the compression (or other encoding) algorithm. So when talking about codec's we mean the implementation. But when talking about the algorithm, we are talking about the standard of encoding the encoder or decoder implements.

The vaccines were all made for early varients. Once the omicron varient came along, it had so many changes from the original strain that the effect of the vaccines were essentially unproven.

The vaccines were definately useful, and had a big impact, but unfortunately corona viruses change too quickly.

Modern computer systems are complex systems — and complex systems are characterized by their non-linear nature, which means that observed changes in an output are not proportional to the change in the input. This concept is also known in chaos theory as the butterfly effect,

This isn't quite right. Linear systems can also be complex, and linear dynamic systems can also exhibit the butterfly effect.

That is why the butterfly effect is so interesting.

Of course non-linear systems can have a large change in output based on a small input, because they allow step changes, and many other non-linear processes.

The S3 API allows requests to read a byte range of the file (sorry , object). So you could have multiple connections each reading a different byte range. Then the ranges would need to be written to the target local file using a random access pattern.

It tries to be OOP, but you can still implement a program with int, int[] and static methods.

And you can’t subtype those.

Other JVM languages, like scala, are more OO than Java.

It's great that they added iceberg support I guess, but it's a shame that they also removed S3 Select. S3 Select wasn't perfect. For instance the performance was no where near as good as using DuckDB to scan a parquet file, since duck is smart, and S3 Select does a full table scan.

But S3 Select is nearly way cheaper that the new iceberg support. So if your needs are only for reading one parquet snapshot, we no need to do updates, then this change is not welcome.

Great article though, and I was pleased to see this at the end:

We’ve invested in a collaboration with DuckDB to accelerate Iceberg support in Duck,

Indeed, environment variables should be used to configure child processes, not to configure the current process, for non-shell programs, IMHO.

Note that Java, and the JVM, doesn't allow changing environment variables. It was the right choice, even if painful at times.

So the story goes (I'm probably just regurgitating some marketing)...

The founder has a software background, and built out a software service to track energy usage and deliver data-driven pricing plans. But when he tried to sell it to the energy companies, it didn't find much demand for the software. So they setup their own energy supplier to prove how good it was. They now sell their software in mulitple countries.

As a customer, not only can I get an API key and retrive usage data. But I can also use an API to see what other pricing plans are available. And in the mobile app I get to the minute usage reporting.

The issue with maritime insurance, is that ocean going vessels spend a great deal of time in other countries from where the owner registers the ship, and also time in international waters, which are not governed by the laws of any country.

So you average insurance company is not interested in providing insurance.

If you want to read more about the history of martime insurance, you could start with the history of Lloyds of London.

https://en.wikipedia.org/wiki/Lloyd%27s_of_London