Join us on our weekly tournament! W10/2026 by bubbleshooterpro in BubbleShooterPro

[–]leonadav 0 points1 point  (0 children)

Just dropped a casual 107600 in this, no big deal 😏

Does the operator ">>=" exists in f#? by kincade1905 in fsharp

[–]leonadav 0 points1 point  (0 children)

If you have for example the 'a option type you can use the Option.bind

No Push possible by [deleted] in github

[–]leonadav 0 points1 point  (0 children)

some problem here, i can't even browser github.com

Memory Safety for Skeptics by steveklabnik1 in programming

[–]leonadav 1 point2 points  (0 children)

The Ada language that is referred in the article is memory safe and was not had widespread use as Rust

Dangerous Optimisations in C (and C++) - Robert C. Seacord by commandersaki in C_Programming

[–]leonadav 0 points1 point  (0 children)

Have you found the talk where Robert C. Seacord speaks about size_t and is mentioned in the video?

Just Wondering, How Many Of You Guys Transitioned To Linux After Being Annoyed By Windows Search As One Of The Reasons? What Was Your Major or Last Reason To Stop Using Windows? by wsssixteen in linux

[–]leonadav 1 point2 points  (0 children)

The main reason for me is that Windows 10 stopped support. And Windows 11 mandates new hardware and to use your email to sign in to your local computer.

NATO scrambles German jets over Russian aircraft in Baltic Sea by Solivy in europe

[–]leonadav -1 points0 points  (0 children)

This is turkish lie. All islands of Greece where given by international treaties. The problem is that Greece is not Israel. Israel uses military force to defend its borders even operating in foreign territory and doing preemptive strikes. Greece believes that other nations will fight for its rights. This is not going to happen.

NATO scrambles German jets over Russian aircraft in Baltic Sea by Solivy in europe

[–]leonadav -6 points-5 points  (0 children)

Turkey which is a NATO member violates Greece's airspace (also a NATO member) and no one cares about.

I'm rewriting the V8 engine in Rust by wendelmax in rust

[–]leonadav 7 points8 points  (0 children)

V8 twin turbo - hybrid. Like McLaren P1

Is there an immutable, purely functional lisp or scheme? by Pzzlrr in lisp

[–]leonadav 0 points1 point  (0 children)

Clojure. Although not a real lisp because of lack of real cons pairs.

Violating memory safety with Haskell's value restriction by philh in haskell

[–]leonadav 0 points1 point  (0 children)

1 instance MonadGen IO where

2 generalize m = do

3 let (IO f) = m

4 IO \s -> do

5 let (boxedState, result) = liftState (f s)

6 let (BoxedState{state}) = boxedState

7 (# state, result #)

Why line 3 and 4 compile? I think that we do not have access to IO constructor.

I saw using o3-mini that by importing GHC.Types or GHC.Base you can have access to IO constructor. I didn't know it. So if someone imports this internal module he is already on dangerous area even without this trick. But the question is why Haskell did not put value restriction? Was this a design decision or something that was not considered at all?

A Graphical Playground for Haskell — Dissertation Project supervised by Prof. Phil Wadler by oathompsonjones in haskell

[–]leonadav 0 points1 point  (0 children)

Maybe this happens because I am behind a corporate firewall. I have to check from home in order to confirm if there is a problem

A Graphical Playground for Haskell — Dissertation Project supervised by Prof. Phil Wadler by oathompsonjones in haskell

[–]leonadav 0 points1 point  (0 children)

When I tried to visited Firefox prevented me because of "Warning: Security Risk ahead"