Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)D
Posts
16
Comments
54
Joined
3 yr. ago

Experience programmer. Moderator of the human-managed news scraper @nitrofuel

  • I actually agree on this.

  • Well, he also devided il Sud and il Nord. But this isn't the discussion.

    It's about "not everything politicians make is bad". I know that this is usually an argument made by people that sympatieyz Mussolini ("però i treni arrivavano in orario" - any far-right sympatizer), but I think that in some cases it's actually not a bad argument (for example, Giolitti and MAYBE but maybe Berlusconi).

  • This is exactly how I think about this argument, thanks for bringing it up.

  • Well, that's exactly the idea behind state's propaganda.

    Anyways, I keep my opinion that not all politicians are bad, in my case I only know well about Italy and the US.

    Also, the discussion made from the other user references to the Russian history, but the argument is the same, so I don't understand what the problem is, being the thread about the same concept.

  • Saying that ALL politicians between the 1920s to the 2010s in Italy is wrong. You can search about De Gasperi, Berlinguer, Giolitti (I know, different eras) and others. I'm not saying everything they did was right, but they not all politicians are as bad as your comment is depicting.

  • both laptops

  • Yes

  • I'll try cleaning it with alcol. Is it a good idea to use pressurized air?

  • I think so, but I want to give it a last try

  • tried but no device (like /dev/sdb) appears so PhotoRec just shows a menu for selection with my main disks.

  • Sorry, this is the output: [ 8306.605559] mmc0: cannot verify signal voltage switch [ 8306.901332] mmc0: error -110 whilst initialising SD card [ 8307.544364] mmc0: cannot verify signal voltage switch [ 8307.837385] mmc0: error -110 whilst initialising SD card [ 8308.488564] mmc0: cannot verify signal voltage switch [ 8308.789314] mmc0: error -110 whilst initialising SD card [ 8582.217859] mmc0: error -123 whilst initialising SD card [ 8584.685053] mmc0: cannot verify signal voltage switch [ 8584.982799] mmc0: error -110 whilst initialising SD card [ 8585.628028] mmc0: cannot verify signal voltage switch [ 8585.926901] mmc0: error -110 whilst initialising SD card [ 8586.573009] mmc0: cannot verify signal voltage switch [ 8586.870849] mmc0: error -110 whilst initialising SD card

    The reader can't initalizie the SD card, so no "/dev/sdb" (nothing on lsblk also, obvioulsy).

    I'll try cleaning it better, but I already used a napkin.

  • I checked the code and noticed that I wrote &self as the parameter 🤦🏻

    Now everything works. Thanks man

  • Yes, obviously, but there are de-referincing/borrwowing/trait problem.

    If you want to check the Trait: https://docs.rs/ratatui/latest/ratatui/widgets/trait.Widget.html

    If you want to check what function do I need to run: https://docs.rs/ratatui/latest/ratatui/terminal/struct.Frame.html#method.render_widget

    So the struct is something like struct Panel<T: Widget> { data: T } (tried also with Box, Rc, &mut T and Box

    <dyn Widget>

    I need to implement a method for Panel which simply uses the function linked above. (so just asks for a Frame, the Rect type is generated by my other function)

  • Being honest, I don't really like Lua's syntax, while I love his embeddability.

    A JS runtime is way too big in my opinion.

    PyO3 + Python is also big, but a little big smaller beaucse the interpreter isn't embedded.


    I am currenctly experimenting with both Python and WASM.