• 0 Posts
  • 148 Comments
Joined 3 years ago
cake
Cake day: June 16th, 2023

help-circle




  • Whenever I try and get a proper explanation of a monad from the internet I get these miserable opaque examples which make me go “sorry I asked!” But I think a monad is basically just single type that when unwrapped gives you the result of a calculation and some metadata about the calculation.

    I think it’s more like Rust’s Result or Option types then go’s tuples but I’d say they both basically count.


  • Nah, I recently had to create a program that turned a bunch of extracted CSV files into an XML file for government reporting. I also had to parse some provided government XML files to add things into my output.

    This was going to be run by non-technical people on any OS so I went for python because “install python, download this file and click on it” was easy. Python has a big standard library so I could do everything I needed in it. I was considering using Go but asking people to open the terminal and build something was probably a bridge too far.







  • Solemarc@lemmy.worldtoGames@lemmy.worldDid nightreign flop?
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    8 months ago

    I wouldn’t say it’s a flop but it is kinda light on content. I finished they game on week 1 played a bit more on week 2 where nothing changed I then uninstalled it. I’m back right now because they’ve released new content though.

    Most games do have huge concurrent player falloffs pretty quickly helldivers 2 currently has a 24hr peak of 63k and I wouldn’t call it a flop. Path of Exile 2 currently has a 24hr peak of 17k players, I wouldnt call it a flop. Somehow Dragon age veilguard was at the top of the steam charts in week 1 and we all know it was a flop. I’m not sure steam charts are a particularly useful metric. Fromsoft seems very happy with the amount of players in NightReign and that’s probably the most useful metric we have.




  • My completely unqualified position is that manjaro is not more stable than arch, in fact, according to the news manjaro’s changes are just more instability. I’ve been running basic arch & KDE for 6 months now and it hasn’t been perfect. The biggest issue I’ve had so far is; “using the scroll wheel in the KDE start menu will crash the DE” and that was fixed in a day.


  • I had a fun one this week! I needed to make an SQL query that would aggregate rows by invoice and date, but only aggregate 5 then overflow to a new row. I also needed to access the individual row data because the invoice items weren’t summed, they were displayed on separate columns!

    I ask my senior if there’s an easy way to do this, he comes back with “chatgpt says you can assign row numbers then get individual row data with % row number”

    I go to Gemini and ask “how to aggregate rows by 5 and get individual row data out?” It says “you can’t” (since when has Ai’s been able to say you can’t do X) So I ask it about the modulo operator and it gives me an example that doesn’t really work. After screwing around for a while I give up and decide I’ll just run this query 3 times. 1 for rows 1-5 then for 6-10 and one more for 11-15 that’s so many rows surely no one will break this.