[–] 1 point 2 months ago (1 child)

You should calculate portfolio Sharpe/Sortino ratios. Hedge funds for instance often also do not beat just buying an S&P500 ETF, but have less volatile returns (smaller drawdowns) because they go long on some stocks and short on others, which does better in a downturn.

  • source
  • [–] 6 points 5 months ago (1 child)

    I had a systemd bug delay shutdown for 2 mins every time for a very long time on Debian. Never managed to fix it, Fedora did not have the same issue fortunately.

  • source
  • [–] 7 points 5 months ago (1 child)

    Not sure about how to do this with Godot, but a common pattern for this in other languages is creating something like a 32 bit value where the lower bits are the enum and the upper bits are the status code (assuming they are <=16bit each) and then doing a switch on the resulting packed value.

  • source
  • [–] 3 points 6 months ago

    It's a lie.

    Tory shadow justice secretary Nick Timothy said on Friday that he had been aware of such an incident when he was chief of staff to Prime Minister Theresa May. “When I was in No 10, somebody failed developed vetting before their proposed appointment to a sensitive post. We were told immediately, and were advised — correctly — that this person could not be appointed. Who gave that advice? Sue Gray — later Starmer’s chief of staff,” Timothy said on X.

    Allies of Olly Robbins defend handling of Mandelson vetting - https://www.ft.com/content/58c01bc9-12bf-440c-9a91-01c130a6a9c1?shareType=nongift via @FT

  • source
  • parent
  • context
  • [–] 5 points 7 months ago

    Go's val, err := maybeDoThing() pattern isn't the same thing because it's not a discriminated union like Rust's Result or C++'s std::expected or the Typescript example in the article. Moreover, due to restrictions in Go's generics, it's impossible to implement what is imo the most attractive pattern enabled by the discriminated union Result types - monadic operations.

  • source
  • parent
  • context
  • [–] -1 points 7 months ago* (1 child)

    Holocaust story you shared is sad but has nothing to do with this specific change. I find it really disturbing that you cheapen the unique suffering of holocaust victims to score points here. Holocaust victims, or indeed anyone genuinely needing asylum, would not have waited over a year to apply.

    There has to be a cutoff for any change. I think there is a genuine argument to be made from a rule of law perspective that no law should have retroactive effect. However, considering your posts in this thread I have a feeling you wouldn't be satisfied with making this law not retroactive anyway.

  • source
  • parent
  • context
  • [–] 4 points 7 months ago (3 children)

    Did you even read the article? There is a process and the changes outlined in the article are a change to the process to make it less game-able by economic migrants posing as refugees. Namely

    anyone who first arrived in Canada after June 24, 2020, will not be allowed to make a refugee claim after one year

    Which makes a lot of sense, because it impacts approximately 0 genuine refugees (they either get refugee visas before arrival or tend to apply as soon as they arrive) and cuts out lots of economic migrants posing as refugees (who tend to arrive on a temporary work permit or student visa and want to extend their stay).

    The article is NOT about abolishing the right to apply for asylum.

  • source
  • parent
  • context
  • [–] 3 points 7 months ago (6 children)

    The UN human rights declaration's right to asylum was built with political asylum in mind, to protect people who are genuine victims of oppression and war. It was not built for economic migrants. The abuse of the system by opportunists killed it for everyone.

  • source
  • parent
  • context
  • [–] 4 points 8 months ago

    M2 money supply actually had not increased for a while and only recently surpassed the previous peak in 2022. Meanwhile US debt and debt to GDP ratio increased modestly (and is in fact down from the COVID era peak 'thanks' to inflation) meaning that it's mostly the treasuries market that was funding the new debt (i.e. borrowing)

  • source
  • parent
  • context
  • [–] 18 points 8 months ago (5 children)

    Doesn't mean he's living paycheck to paycheck. People often don't leave a lot of money in checking accounts from which they pay mortgages because checking accounts often offer 0% interest. So if the landlord usually has close to 0 money in his checking account expecting rent to come ahead of the mortgage paynent despite having millions in a brokerage account he'll still go into overdraft.

  • source
  • view more: next ›