Better HN
topnewbestaskshowjobs
Log inSign up

qw

1,790 karma · joined Jul 17, 2008 (18y ago) · 529 submissions

Submissions

comment 1w ago · link · parent

I tried a catchall 20 years ago, but I had to disable it. My mailbox was filled to its limit with huge amount of spam for different username combos. It wouldn't surprise me if the problem is worse today

comment 1mo ago · link · parent

It's also missing a tutorial.

comment 2mo ago · link · parent

I have the same experience as you. I have probably worked with a few dozen SOAP services in my time, so perhaps I have been "lucky", but WSDLs have not been an issue for me.

WSDL is in some ways more user-friendly than openapi schemas. They have a rich set of types that mostly just work as expected. When I try to generate models from an OpenAPI JSON file, I often find myself either overriding the models or making scripts/plugins to rewrite the json to fix types. An example of this is using proper decimals instead of doubles, which is crucial in my line of work.

comment 2mo ago · link · parent

From what I can tell it is a library for standardising return values that is independent on the transport medium. A HTTP service may return a particular http code or body, and gRPC would have its own representation.

I think this library maps the different representations into a single representation. The business logic, metrics, logging etc. will use the single representation instead of being tightly coupled to the transport medium

Example from the docs where the "PAYMENT_DECLINED" state is mapped from protocol specific responses:

  PAYMENT_DECLINED
  |
  +-- HTTP 422
  +-- gRPC FAILED_PRECONDITION
  |
  --> logs/metrics keep PAYMENT_DECLINED

5.

The Black Death and How It Birthed Today's Prosperity(opensourceceo.com ↗)

4 points · by qw · 5mo ago · discuss

comment 1y ago · link · parent

Swipe to go back can be implemented in frontend.

It's been a couple of years since I used it, but I think the Ionic framework has this feature.

https://ionicframework.com/

comment 1y ago · link · parent

And to make it more interesting, Sweden also has the letter "å", but it's in the 27th place in the alphabet (followed by "ä" and "ö"). In the Danish/Norwegian alphabet, the letter "å" is the last letter of the alphabet.

comment 1y ago · link · parent

> Anyone still feel the pain when Google discontinued its RSS reader?

Yes, but mostly because of a lost opportunity.

I was working on my own web based reader when Google made a significant upgrade to their reader. It was similar to what I had made, so I thought it would be foolish to compete with Google and stopped working on it.

I wonder where RSS would be now if Google had not discouraged potential competitors.

comment 1y ago · link · parent

Looking at the site it seems to be a (static?) HTML and shared "main.css" and "main.js" files. Both files can be cached by the browser, so it only needs to download a few KB of compressed HTML for each page. I don't think we would notice much of a difference in the navigation from one page to another if they used content preloading

It's how we used to make websites before SPA, and it's refreshing to see that it still makes a noticeable difference even on today's powerful CPUs and high speed networks.

comment 1y ago · link · parent

What if FTL is not possible? In that case the attack will take a long time to reach us, and in the meantime we will be much more advanced technologically and could potentially defend ourselves.

In sci-fi we see warp drives, worm hole travel, phasers, photon torpedos and energy shields around ships. But what if none of that is possible? In that case, we might even have the technology to defend ourselves today if we manage to detect the attack in time.

It's a huge risk for a civilization to attack us. Even if they have capabilities that are beyond our technology, there might still be limitations based on the laws of physics. And if they attack us, they risk a response.

comment 1y ago · link · parent

Originally, the "o" on top of the letter "Å" was a lower case "a", because the sound could be written as "AA". Over time it transformed into a circle.

Some names today still use the double a, like the Norwegian football player Martin Ødegaard. In that case it is pronounced the same as the "å" sound. (not too far from how an American might pronounce the "o" sound in "for")

comment 1y ago · link · parent

https://en.m.wikipedia.org/wiki/Ship_of_Theseus

> The Ship of Theseus, also known as Theseus's Paradox, is a paradox and a common thought experiment about whether an object is the same object after having all of its original components replaced over time, typically one after the other.

comment 1y ago · link · parent

Yes, it's #176 on his list of countries:

https://www.onceuponasaga.dk/journey

comment 1y ago · link · parent

> The client then searches through the list to see if the desired email is in the list or not.

The initial prefix check would probably reduce the amount of lookups necessary, as it would only be necessary to do a deeper search if the prefix matches.

comment 1y ago · link · parent

It is my recollection as well. Most applications used VB, Delphi, MFC etc. that all had the "native" OS look and feel. There were some exceptions like WinAmp and others, but from what I can remember most applications were more consistent than today.

comment 1y ago · link · parent

It doesn't work for me either (Android+Chrome)

comment 1y ago · link · parent

I often prefer enums over booleans for this. It seems more readable for most cases, and can be extended with new values.

This:

    isRegistered: true
could be replaced with

    accountStatus: "UNREGISTRED"

comment 1y ago · link · parent

My guess is that he wants to be compensated for the time he spent. There's a lot of content on that site, and making a bit of money is a good motivation to keep updating the site

comment 1y ago · link · parent

I would prefer to use a neutral <h> tag, that was proposed in the xhtml2 specs. It always made more sense to let the browser infer the place in the hierarchy.

comment 1y ago · link · parent

It's related to how older versions of Windows/Office handled Unicode in general.

From what I have heard, it's still an issue with Excel, although I assume that Windows may handle plain text better these days (I haven't used it in a while)

You need to write an UTF-8 BOM at the beginning (0xEF, 0xBB, 0xBF), if you want to make sure it's recognized as UTF-8.

comment 1y ago · link · parent

The same location (Andøya, Norway) has also launched over 1,200 sounding and sub-orbital rockets of various configurations since 1962.

As others have explained, the news here is a rocket reaching orbit

comment 1y ago · link · parent

My guess is that it was hosted on a physical server on campus, and they didn't want to pay IT to support it during winter break.

It is probably easier to just close it down to avoid handling all the angry phone calls if it would happen to have an issue during the break.

comment 1y ago · link · parent

I liked Settlers, but I was much more invested in the Caesar/Zeus/Pharaoh series of games. Maybe it was due to the historical context.

comment 1y ago · link · parent

https://web.archive.org/web/20250215014709/https://simonschr...

25.

Making Duotrigordle, Part 1: Feature Train(thesilican.com ↗)

1 points · by qw · 1y ago · discuss

comment 1y ago · link · parent

I subscribed to "CU Amiga" and "Amiga Format". I kept them for a long time, but had to throw them away when I moved a few years ago.

comment 1y ago · link · parent

It's also the official name in several non-English countries, including variants like the French "soleil"

https://idiot.vitebsk.net/i43/sun_english.htm

comment 1y ago · link · parent

Another link with more information about Arpanet (1973)

https://www.norsar.no/about-us/history/arpanet

12345
18