Hacker Newsnew | past | comments | ask | show | jobs | submit | yett's commentslogin

One thing that the AI didn’t get right is the Linux kernel versioning. Linus likes to bump the major version around every x.19-x.20 release

Not anymore. They have a new Nvidia App that doesn't require you to login.


Oh wow that’s actually amazing, I’m glad to hear it! This was going on for so long



TikTok just disappeared from the US Google Play Store


Safari is only available on macOS


You must mean something by this. What do you mean?

// Written from a browser Apple calls Safari on iOS.


I assumed that by them saying "installing desktop Safari" they are using an OS other than macOS since Safari comes preinstalled on macOS and can't even be uninstalled at least not without disabling System Integrity Protection.


Yeah and this time they won't let them get away. According to Finnish Minister of Defence: "The authorities in the Baltic Sea region have learned from the mistakes of the Baltic Connector investigation and are prepared, if necessary, to stop a ship in the Baltic Sea if it is suspected of being involved in damaging communications cables."[1]

And it looks like according to marinetraffic.com that the Yi Peng 3 is indeed at full stop surrounded by at least 3 Danish navy vessels.

1. article in Finnish https://www.hs.fi/politiikka/art-2000010845324.html



Not confirmed by any mainstream newspaper. The danish forces only confirm, that they are there, but nothing more.


20 hours later they are cited that they cannot board without China's approval. Legally uncharted grounds whether they could or could not. Looks they take the cautious side for the time being.


worth noting that twitter account is not the most trustworthy or independent.


What have they posted that was wrong?



It would be useful to have a site that logs all plausible issues of this kind, at arm's length from Wikipedia editors.

Kind of a "Who watches the watchers?" type of thing.


If that list became popular it would be weaponised by military intelligence.


Why would that not be prone to the same issue you think Wikipedia faces?


Maybe it would not, but putting all your eggs in one basket has never been a good idea either.


I don't think that's what we're doing, considering Wikipedia points to other 'baskets' as sources.


Superior methodology (transcending numerous cultural / psychological / cognitive norms and obligations) is how I would go about it.

For example: banning the conflation of opinion and fact, like what's going on (and always goes on) in this thread, a behavior that is protected (doing otherwise "is not what this site is for").

If an imperfection is noted: log it, investigate, improve. Rinse, repeat.

Also: best prepare one's will, life insurance, etc before undertaking such a project.


C# has a decimal type: "The decimal type is a 128-bit data type suitable for financial and monetary calculations." https://learn.microsoft.com/en-us/dotnet/csharp/language-ref...


That provides the basis for solving precision and rounding issues but for a money library you need more abstractions. The ability to assign a currency code and supply conversion rates and convert between currencies at a minimum.


Also, avoid making errors like summing different currencies.


The thing is, it doesn’t really help. A system I’m working on can have hundreds of monetary amounts in the same currency. Storing the currency against each one is an awful waste of space.

Equally the allocation trick is good, but you’ll find that the people who really care about this stuff really care about the exact algorithm you’re using and who it favours.


I think it helps to have the inputs and outputs of the system fully representing a "money" (i.e., a monetary amount + its currency code in places like API resources, events, and so on). This way you can internationalize or support multi-currency processing if that's the case. That's (if I remember correctly) what the payment card services companies (e.g., Mastercard, Visa) do by default in their message exchanges when calling the issuer for transaction confirmation.

Anyway, the allocation may be tweaked to favour where the additional/missing pennies will be allocated. You can find more at: https://github.com/eriksencosta/money/blob/trunk/docs/usage/...


That’s an application design choice, not a minimum. An alternative is to work internally in one unit and convert at format time.


We store all our financial data in Greenwich Mean Dollars.


What are you going to do about the new Moon Dollars?


Might be a minimum for a money library (not completely sure what the absolute minimum would be). It would be an application design choice to not use one and stick to general fixed point/Big Num constructs.


That is not a viable alternative.


Even though my gut reaction is to agree with you, it’s true that it is an app design decision, so in certain scenarios it might very well be a good design decision.


Shipped applications disagree with you.


It really depends on the context of the app

Sometimes you can do all calculations in a single currency and convert at reporting time. I've worked on teams where that was fine.

Sometimes... you really cannot do that.


Completely agree.


Out of curiosity, how do you deal with changing exchange rates in that case?


You never want to be lossy with user inputs. Save what they told you and then convert for internal logic.

The OP just described a language feature where you want to multiply euros with usd one place and yen and dinar in another.

You don’t need to do that which is why a decimal or 64 bit int is a fine language approach.


it depends, if it was a currency exchange, it'll be labeled in one of 3 ways, either average rate per unit, absolute, or it'll be a reference to a MSSQL table containing exceptional spot transactions. Otherwise, a complete history of exchange rates is stored in KDB, most days you can take the average, and for small amounts on weekends or days the exchange is closed you can just interpolate, there's also a half dozen XLSXs full of certain exceptional days, so you'll have to check that you're not on one of those lists. Then if you're not dealing with USD->X or CAD->USD->X things start to get hairy.


"For as long as we’re able (and assuming the cooperation of the extension authors), Brave will continue to support some privacy-relevant MV2 extensions—specifically AdGuard, NoScript, uBlock Origin, and uMatrix"

https://brave.com/blog/brave-shields-manifest-v3/


Why take the word of the developers of a Chromium-based browser, some of whom may not even be part of the project in the long run? Firefox is built on an entirely different engine and doesn't have this problem.


Whatsapp has used Signal's protocol since 2016 https://signal.org/blog/whatsapp-complete/


Swift is not VM-driven, it uses ARC (automatic reference counting)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: