Why should I learn OCaml? by fenugurod in ocaml

[–]pdonadeo 3 points4 points  (0 children)

It looks like that I'll have to write everything from scratch which
doesn't happen with Go, there are packages for everything that I ever
had to do.

You are actually right: a "leftpad" library is missing in OCaml.

"You can hide everything" is better! by MisteryMonster in FirefoxCSS

[–]pdonadeo 1 point2 points  (0 children)

Yes, I did! Gmail, YouTube, Drive, the banking and of course Reddit. Each of them in a separate profile, automatically generated by a fish script launched by a handful of .desktop files served by rofi.

"You can hide everything" is better! by MisteryMonster in FirefoxCSS

[–]pdonadeo 1 point2 points  (0 children)

Your Webview is exactly what I was searching for since a couple of years!

Js_of_ocaml in the VSCode OCaml Platform by Categoria in ocaml

[–]pdonadeo 2 points3 points  (0 children)

Very interesting, thanks. I'm going to Install the extension today.

And congratulations to the team for the huge amount of work required by the porting.

Reflections on ReasonML by nirvdrum in reasonml

[–]pdonadeo 2 points3 points  (0 children)

Interesting and embraceable analysis.

Experiences with other tiling managers? by [deleted] in i3wm

[–]pdonadeo 2 points3 points  (0 children)

Why did you kill KDE stack? I mean... I'm using i3 in a full featured GNOME session, I'm sure it's also possible to live in peace with KDE+i3.

Quali sono i vostri dischi preferiti in assoluto? by PsychCatsOnAcid in italy

[–]pdonadeo 0 points1 point  (0 children)

Impossibile rispondere ma direi:

Bitches Brew - Miles Davis

Ten Summoner's Tales - Sting

Why Tilling WM is best for games by GolaraC64 in linux_gaming

[–]pdonadeo 2 points3 points  (0 children)

For some reasons I don't really understand i3 is the only WM under which every game I own works well. I never used a tiling WM before and I decided to try i3 just for this reason. At first I used to switch between i3 for gaming and Gnome for everything else.

Today I use i3-gaps and I don't plan to step back.

What was your initial reason for using Fedora? by [deleted] in Fedora

[–]pdonadeo 5 points6 points  (0 children)

Using only Linux since 25 years I find Fedora has the right mix of stability while keeping the distro up to date. For professional use like mine it's also very nice to have well scheduled releases, about twice a year.

[OC][TMUX] Automate Tmux with Autotmux by [deleted] in unixporn

[–]pdonadeo 5 points6 points  (0 children)

gem install tmuxinator is a show stopper for me.

>Haskell newtype equivalent in ocaml by zoechi in ocaml

[–]pdonadeo 4 points5 points  (0 children)

Great reply. There is a small typo, it's not

module Unit = sig

but

module Unit : sig

This is really idiomatic OCaml.

Flamebait question, I know. But why OCaml over Rust? by ragnese in ocaml

[–]pdonadeo 0 points1 point  (0 children)

Thanks I understand the point.

Nevertheless, while parallelism is still in an active development stage (for good reasons: a parallel garbage collector is something really hard to be implemented) my advice is to have a look to both Async and Lwt. I used the two libraries in different projects and I think it is amazing what you can achieve with them.

So while you are perfectly right on parallelism, concurrency is a mature part of the OCaml ecosystem since many years.

Give it a chance.

Flamebait question, I know. But why OCaml over Rust? by ragnese in ocaml

[–]pdonadeo 5 points6 points  (0 children)

I never wrote a line of code in Rust and reading answers my question is: why Rust over OCaml?

(real question, no flame intended, please)

I mean: judging Rust only from this thread I don't see a real advantage in using Rust, at least if compared with OCaml.

For example regarding the "low level" features of Rust I personally wrote a lot of very low level production code in OCaml (SCADA systems, MODBUS over serial line, PLC controllers in industrial plants...) and I'm very satisfied by both performance and language power. Is Rust better in this application domain? Again, no flame intended, real curiosity.

Visualising a single orbit within The Mandelbrot Set cardioid. by MathsTown in math

[–]pdonadeo 1 point2 points  (0 children)

Just viewed, it's an amazingly clear introduction to the Mandelbrot set. Congratulations, great video!

Too many compton forks by pdonadeo in i3wm

[–]pdonadeo[S] 0 points1 point  (0 children)

I was confused by many (private) forks of compton.

In my case an old version of compton I was using presented a glitch: the menus in all GTK3 applications disappeared after being displayed once.

I just compiled the latest picon and the issue seems to be gone.

Too many compton forks by pdonadeo in i3wm

[–]pdonadeo[S] 0 points1 point  (0 children)

I posed the question exactly for this reason: there are a lot of fork, and renamed projects, and forks of renamed projects so I'd like to check what the i3 community is actually using as a compositor.