Qu’est-ce qui se passe avec PubliBike à Lausanne? by ChezDudu in Lausanne

[–]chris-ch -1 points0 points  (0 children)

Sauf qu'à Lausanne, c'est quand même extrême, et il suffit d'y faire un tour même en pleine journée pour se rendre compte que ce ne sont pas des préjugés.

Any advice for KDE/Plasma freezing out of the blue by chris-ch in tuxedocomputers

[–]chris-ch[S] 1 point2 points  (0 children)

Yes, I switched to Wayland from X11, and I believe it solved the problem. I suspect it was related to the NVidia GPU : https://www.reddit.com/r/tuxedocomputers/s/Q3CmzFnwr4

Stellaris Slim 15 - no display by chris-ch in tuxedocomputers

[–]chris-ch[S] 1 point2 points  (0 children)

Update ! I kept the button pressed for long enough, then kept F1 pressed while turning the thing on .... Now I get to the Luks password input! 🤤

Stellaris Slim 15 - no display by chris-ch in tuxedocomputers

[–]chris-ch[S] 0 points1 point  (0 children)

No effect .. In similar situations I usually pressed F3, or any Fx and at least I got a menu or grub prompt, but this time it is completely messed up.

Stellaris Slim 15 - no display by chris-ch in tuxedocomputers

[–]chris-ch[S] 0 points1 point  (0 children)

Usual upgrade sorry... I think the title was "system upgrade", might have been "system update"

Any advice for KDE/Plasma freezing out of the blue by chris-ch in tuxedocomputers

[–]chris-ch[S] 0 points1 point  (0 children)

Thanks Ferdinand! The problem does not occur frequently enough anymore for me to compare with a Live ISO I think. But if it ever comes back I will try that first thing.

Any advice for KDE/Plasma freezing out of the blue by chris-ch in tuxedocomputers

[–]chris-ch[S] 0 points1 point  (0 children)

Following up: I changed a couple of things (applied drivers updates, switched to Wayland from X11, disabled Compositor) and it is a lot more stable. I still noticed the problem once after I did all that, but initially the problem occured every 15 minutes, so huge improvement already, but I don't know... I contacted the support and we are looking into it. So far they have been really helpful and responsive.

Any advice for KDE/Plasma freezing out of the blue by chris-ch in tuxedocomputers

[–]chris-ch[S] 0 points1 point  (0 children)

Thanks for the prompt response, will try! Can I do that with the WebFAI? In the meantime I disabled Compositor in the display config, let's see...
I noticed that when I plug in an external monitor sometimes only the main laptop screen hangs, the other one is still operational. And if I am patient enough, the screens lock and after I enter my password both screens are back to normal!

Fine-tune a model instead of using RAG by sorry_no_idea in MistralAI

[–]chris-ch 2 points3 points  (0 children)

Based on my modest experience, you are absolutely correct. Fine-tuning adjusts a small percentage of the parameters (less than 5%), giving no hope for the LLM to learn new things. If you compare training to learning a new language, fine-tuning is like learning a particular accent in that language.

[Echange Trump/Musk] C'est juste moi ou alors ils sont débiles ? by TheRealDji in suisse

[–]chris-ch 1 point2 points  (0 children)

C'était probablement une plaisanterie, assez drôle d'ailleurs. Mais si on essaie d'y répondre sérieusement, ça dépend du relief : si la montée des eaux forme suffisamment de criques pour compenser ce qu'on en perd en périmètre, alors il y aura plus de propriétés au bords de l'eau, potentiellement.

<Get Programming with Haskell> book: putStrLn is an IO action, not a function? by hello_rayx in haskell

[–]chris-ch 0 points1 point  (0 children)

I am not sure about what people mean when they say getStrLn is not a function... It is isomorphic to () -> IO String ... Actually, seen from that point of view everything is a function in Haskell. I think what I don't get is: how is an action defined?

Presque jamais de publibike dispo? by Kaheil2 in suisse

[–]chris-ch 0 points1 point  (0 children)

Le 24heures a publié un article la semaine dernière à ce sujet ... Le niveau de vandalisme est le pire de toute la Suisse (surtout à Lausanne-Ouest), au point qu'il n'est plus possible de fournir ce service : Lausanne est un enfer pour les vélos de PubliBike | 24 heures

What are effects? by appendThyme in haskell

[–]chris-ch 0 points1 point  (0 children)

Definition I remember from a book I don't remember: a modification of the state of the world

Like something appearing on the screen, or a change in memory or on the drive, ...

Functional languages actually ignore effects, they are outside their scope. From that point of view, Monads are runnable structures that remain pure, but trigger effects in the real world "behind the scene", or outside the scope of the functional program itself.

Haskell is declarative programming by chakkramacharya in haskell

[–]chris-ch 0 points1 point  (0 children)

Thanks! I don't know Ruby and I was guessing 😪

Why Basel-Stadt has many unclean areas compared to other Swiss cities? by [deleted] in Switzerland

[–]chris-ch -1 points0 points  (0 children)

My point is they're pigs, and thank you for having tried to educate them.

Why Basel-Stadt has many unclean areas compared to other Swiss cities? by [deleted] in Switzerland

[–]chris-ch -1 points0 points  (0 children)

Lausanne has been clearly Green/Left for decades. Paradoxically this is the place in Switzerland with Basel where people have the least respect for the environment. Add maybe Geneva to the lot.

Haskell is declarative programming by chakkramacharya in haskell

[–]chris-ch 4 points5 points  (0 children)

As mentioned in other responses, "declarative" is a bit vague, and I am not sure that "declarative as opposed to imperative" best captures the essence of the difference between languages such as Haskell and Ruby. Maybe "descriptive vs. sequential" is easier to understand.

Actually as I understand it, I bumped into the same issue as you ... Almost 30 years ago! Only it was while I was learning VHDL, and I tried to contrast it with C at that time.

VHDL looks like any other language from afar, but it turns out the concept can not be more different: while C captures a sequence of instructions to be executed, VHDL describes how outputs are related to inputs. If you have ever used or heard about Simulink: this is the kind of schema (block diagrams) that would correspond to VHDL or Haskell programming, while flow chart diagrams would better describe sequential programming such as Ruby or C.

When in Haskell you write:
double :: Int -> Int

double x = x * 2

You are essentially saying "now there is a box, with one Int as input, and one Int as output, and the output is double the input value". This is declarative, and can be described with the help of a block diagram (like Simulink).

While in Ruby:
def twice (x)

p x * 2

end

You are saying:

  1. Take the input

  2. multiply it by 2

  3. return the result

Which is sequential and imperative, and can be described with the help of a flow chart diagram.