1,789 karma · joined July 17, 2008
Some international flights have been delayed or canceled of course, depending on the route.
Æthelstan is a central character in the TV show "Vikings" that came later, so perhaps his name is more recognized now
In systems that deal with asynchronous actions, log entries relating to "123456789" may be spread over minutes, hours or even days. When researching issues, I have found searches like Opensearch, Splunk etc. invaluable and think the additional cost is worth it. But we also don't have PB of logs to handle, so there may be a point where the cost is greater than the benefit.
If not, I'd try Lazarus for A and Kotlin compose for B A: Lazarus or Delphi (if money was not an issue)
B: Kotlin compose or Delphi (
I haven't used it, but it looks promising. You create templates based on html (Handlebars templates), which should make it easy to get started.
https://github.com/navikt/pdfgen
It may be worth a look
So the Mac issue applies to 4 countries in the Nordics at least. Please note that traditional PC keyboards use a different layout for some characters and may in some cases have a dedicated key for backslash too, in case you Google Norwegian keyboards. It's one of those Mac vs PC things we are used to.
Before anyone starts suggesting connecting a PC keyboard to my MacBook Pro, keep in mind that I use the built in keyboard almost 50% of the time and having two different key mappings is a hassle
Regarding backslashes and other special characters, I never said it's on Java specifically, but the US centric culture in general. K&R used curly brackets when they designed C because they fit the US teletype character set of the 60s/70s, but that doesn't mean it's the best choice today.
I'm not suggesting we use special unicode symbols like arrows and emojis, but just pause for a minute and look beyond the US keyboard and see if we can find a solution that also works ergonomically for at least some non-US countries.
I press ⌥ + 8 for square brackets and SHIFT + 8 for parentheses.
It's probably not possible to find better alternatives for Mac keyboards that could be used for a language based on Lisp syntax.
The Mac keyboard simply doesn't have any dedicated keys that are not used for normal text, except for "@". For some unknown reason, they have a dedicated key for umlauts ("¨") that we don't use in our language. I guess I could map it to brackets, but SHIFT + UMLAUT returns a "^" that is often used in regexps and I don't want to lose that.
Windows keyboards has a different layout that is slightly more programmer friendly if you have a full sized keyboard. They do have a backslash key but lack the dedicated "@" key. Windows needs a dedicated backslash due to the file paths, unlike Mac. It is an acceptable tradeoff for Mac users, as non-developers are more likely to use "@" than "\".
Let's just say that there is a reason why I love my IDE that will automatically add closing curly brackets when it detects a block.
It's actually made worse because { and } also need special combinations.
To type \{X} I need to press
(⌥ + ⌘ + 7) (SHIFT + ⌥ + 8) X (SHIFT + ⌥ + 9)
I know this is something we need to live with due to historical reasons, but I would prefer that new syntax is made simpler.It's no longer maintained, but it was a great concept
Cards issued by banks will often combine BankAxept and Visa/MC on the same card, so that users don't need a separate Visa card. The terminal will switch to BankAxept if available automatically. This is done transparently, so there are no issues with using it as a Visa card outside Norway.
I usually don't follow chess, but I still end up watching the WC matches on Norwegian TV. They manage to make it interesting and exciting.
This was created to avoid unnecessary polling of RSS/Atom feeds:
The reason why I don't use it now is because IntelliJ and vscode covers most of my need, and it's hard to justify the extra expense at my work place. I sometimes miss how well UltraEdit worked in multi-column mode and hex edit mode
I'm impressed by the AI. It's actually what would happen if this law was introduced. There would be exceptions, and the advertisers would find ways to exploit them.
You still need to build the queries and have control of what parametres are in use. Why not build the parameters list dynamically as well?. There are some databases or drivers that have limitations where you need to sanitize data yourself, but I'm not sure if that applies to the majority of the scenarios.
This is a simple example of code for constructing dynamic queries:
query = "... WHERE country = :country";
params.set("country", country);
if (userId != null) {
query += " AND user_id = :userId";
params.set("userId", userId);
}
It may become more complex as you add sub queries or if the database does not support adding a list as a parameter, but the principle is the same. You can always just build the list programatically using parameters instead of concatenating the values given by the user directly.If there are drivers or databases that does not support this, you will need to sanitize the data yourself of course. But I don't think that is the case for most users.
(btw, database drivers that support named parameters are much more convenient than using "?")
From the article:
> The molecule also killed cancer cells in human tissue that were gathered from patients who had their tumors removed
For some reason I have not noticed that feature before. It's not like it is hidden either, as it is in the "right click" context menu that I use daily. I guess I need to learn the tool, so that I don't miss useful features like this.