Advertisement · 728 × 90

Posts by Roy B

Kotlin user since 201X here. In general, I avoid receiver functions because it feels like speaking two different dialects simultaneously. I think it causes context switching and draws attention away from the business logic. Though I sometimes use .let to name an expression in a bounded scope.

5 days ago 1 0 0 0

Helt ufortjent. De kunne i det minste ha gitt henne en krakk.

5 days ago 1 0 0 0

Is it necessarily true that white has an advantage? Could it be that because the players believe it is so, the choice of different strategies enforce the belief? I.e. playing to win vs playing not to lose. Could the “advantage” be that black simply has a narrower path to a draw?

5 days ago 0 0 1 0

In Norway, because they called themselves Green and the politicians fell for it.

6 days ago 1 0 0 0

HP-Taschenrechner hatten die gleiche EEX-Taste

6 days ago 2 0 0 0

This is a US victory only in the sense that Iran helped Trump out of his own quagmire.

1 week ago 0 0 0 0

Kan Arbeiderpartiet forklare hvordan de har tenkt å gjennomføre omfordeling/hjelpe de fattigste uten at «presset på økonomien» øker? Det går ikke opp.

3 weeks ago 0 0 0 0

Hvorfor sitter jeg med følelsen av at folk ikke er ute etter noen unnskyldning, eller noen grunn til å ha tillit til Kronprinsessen? At det de vil ha er blod, at hun skal krype for alle og enhver?

4 weeks ago 0 0 0 0

Life hack: When someone makes a claim, find out how much they will lose if they’re wrong before you believe them.

1 month ago 0 0 0 0

Teddybjørnen: - Kan jeg få Bamsemums?
Jeg: - Er du kannibal, eller?
Teddybjørnen: - Spiser du seigmenn?

2 months ago 0 0 0 0
Advertisement

Gud så deilig det er med Debatten uten Fredrik Solvang. Et program som nå handler om sak mer enn om programlederen.

3 months ago 0 0 0 0

O
I
L

3 months ago 0 0 0 0

Watching the most embarrassing presidential performance ever. No country has a president with a greater need to praise himself.

3 months ago 0 0 0 0

Det er bare flaut at NRK ikke klarer å tekste med norsk alfabet i 2025.

3 months ago 0 0 0 0

RxQ

4 months ago 0 0 0 0

Some (many?) who want to use Haskell professionally end up writing enterprise systems, where Haskell doesn’t shine that much. Like driving a Lamborghini to the shopping mall. And it will not give them happiness.

4 months ago 0 0 0 0

I can do FP in any language that supports functions as values, which includes all Lisp variants. But if the language does not enforce purity, discipline is required to avoid impure functions. Which is hard if the team is larger than 1 person.

4 months ago 0 0 0 0

Already in the 70s, Larry Constantine and others stated that functional cohesion is better than temporal cohesion with regard to avoiding defects and improve maintainability, even though they didn’t relate it to functional programming as such.

4 months ago 1 0 0 0
Advertisement

Programming with pure functions. Effects are just values until they are handled at the application boundary.

Consequently, effect-returning functions may be called in a different order than the effects are composed, so calls may be ordered by functional rather than temporal dependencies.

4 months ago 0 0 1 0

Gianni Infantino has won the prestigious Rimmer of the year 2025 prize

4 months ago 0 0 0 0
Preview
Ready to Run Fast Like the Pros? The Key Is More Air Time. With less time on the ground comes greater running efficiency.

When Usain Bolt set his 100m world record, he spent approx 65% of the time with both feet in the air. To be as fast as him, just keep your feet in the air 65% of the time. Or – is it the other way around?

www.runnersworld.com/training/a69...

5 months ago 1 0 0 0

Functional programming? I can write it, but I can’t read it.

5 months ago 0 0 0 0

{app | app uses rounding} ∩ {app | app uses infinite decimal expansion} = ∅

5 months ago 0 0 0 0

I feel sorry for anyone working in a language with nulls.
I feel sorry for anyone working in a language with uncontrolled mutation.
I feel sorry for anyone working in a language with side effects.
I feel sorry for myself.

All the problems we could have not had.

5 months ago 0 0 0 0

foldl

5 months ago 0 0 0 0
Preview
Ruters egne tester viser: Oslo-elbusser kan stoppes og slås av fra Kina Ruter-test viser at kinesiske elbusser kan kontrolleres fra Kina. Hundrevis av busser fra samme produsent er i trafikk på norske veier.

Chinese buses could be stopped remotely by the producer. Wouldn’t be surprised if the same is true for many Chinese EVs.

www.nrk.no/stor-oslo/ru...

5 months ago 1 0 0 0
Preview
NTB trakk sak med falske sitater og falsk kilde: – En veldig alvorlig feil Fem av fem Telenor-sitater, og navnet på direktør, var oppdiktet. Feil bruk av KI, forklarer redaktør.

Hør her. Det er fort gjort å tro at journalistikk er en av de tingene KI passer til, men det er faktisk en av de tingene KI passer _dårligst_ til. Modellene er lagd for å generere ord helt uavhengig av hva som er sant, det er nesten det motsatte av god journalistikk. Dere må slutte med det. Nå!

5 months ago 157 55 5 5

It sure was! Learnt something today

5 months ago 0 0 0 0
Advertisement

There was a cord between Gemini and Agena?

5 months ago 0 0 1 0

Hva skal man med Åpenhetsloven hvis hoder ikke ruller i Equinor? Equinorskandalen er jo prototypen på hva loven skal forhindre.

5 months ago 0 0 0 0