[-] equidamoid@lemmy.world 21 points 4 months ago

Nope. Where I live employees' salary is included in the food prices.

[-] equidamoid@lemmy.world 4 points 5 months ago

Recently had an electric Fiat 500 as a replacement while my car (Mazda 3) was in service and I absolutely loved how it drives. Nice consistent acceleration, immediate reaction to the throttle. Much better than the automatic transmission cars I drove before. 3 problems though:

  • range (duh): I often need to drive for 280km in one go, vast majority of EVs can't do that reliably (with AC and going 130km/h). If you can survive a day on one charge it is awesome though: plug it overnight and you're ready to go in the morning
  • the price of the car (it felt waaay too simple and plastic-y inside compared to 30K euro price I googled)
  • big brother software on the headunit, although there is no escape from it with any new car these days
[-] equidamoid@lemmy.world 4 points 5 months ago

and/or getting your games from places like gog.com

[-] equidamoid@lemmy.world 2 points 5 months ago* (last edited 5 months ago)

Stalker 2, Manor Lords (not as big, I guess)

(hopefully)

[-] equidamoid@lemmy.world 3 points 6 months ago* (last edited 6 months ago)

I'd go for HLS due to its simplicity: just files over http(s). VPN or not - depends on your network. If your machine is accessible from the internet, just putting the files into a webserver subdirectory with a long random path and using https will be secure enough for the usecase. Can be done with an ffmpeg oneliner.

The downside of HLS is the lag (practically -- 10s or more, maybe 5 if you squeeze it hard). It is in no way realtime. Webrtc does it better (and other things too), but it is also a bigger pain to set up and forward.

Also, just in case, test that the webcam works fine if left active 24/7. I had (a cheapo) one that required a powercycle after a week or so...

[-] equidamoid@lemmy.world 6 points 7 months ago

Freecad is... rough. But, it has python API, and that's what I ended up using for almost all my stuff (there also was a period of using cadquery, but installing it is a horrible pain, so I gve up).

Also using onshape every now and then, but many things are just too annoying to do with a gui.

[-] equidamoid@lemmy.world 4 points 7 months ago

For me it's GOG first. Using lgogdownloader and wine directly (in a custom apparmor profile). No DRM, no forced updates, no annoying client that takes forever to start. Games are also dramatically much easier to isolate and sandbox this way.

If the game is not there, then yes, Steam (as a separate unix user).

[-] equidamoid@lemmy.world 5 points 10 months ago

Depends on your local waste service. I'd go for the "everything else" dumpster. Here in NL it is incinerated, which is a decent option for such a mix.

[-] equidamoid@lemmy.world 2 points 11 months ago

create graph on the UI

that's something I want to avoid

hard for me to imagine a situation where graphs need to be edited so often

the whole system is under development (trying new views, changing how the data is represented, etc), so I don't need to imagine it, I have it right in front of me ;)

[-] equidamoid@lemmy.world 2 points 11 months ago* (last edited 11 months ago)

Something like that, where I just write a function that spits out a numpy array or something like that and it gets plotted, would be great, but there is one thing Grafana can do and vega-altair, plotly and even matplotlib (*): a UI that allows to select a time interval to view.

So I can freely pan/zoom in/out in time, and only the required part of the data will be loaded (with something like select ... where time between X and Y under the hood). So if I look at a single day, it will only load that day, and only if I dare to zoom out too much it will spend some time loading everything from the last year.

(*) yes, you can do interactive things with matplotlib, but you don't really want to, unless you must...

[-] equidamoid@lemmy.world 3 points 11 months ago* (last edited 11 months ago)

To be precise, the page explains how to configure some things and how to upload the config. I also tried that.

The problem is in the dashboard jsons. They are not well documented (docs on specific plots are missing), and are a pain to edit (as any json). The grafanalib tool I mentioned tries to help with that by implementing a sort of DSL for dashboards, but it is not ideal. (edit: lost a word)

17

I currently use Grafana to view how all sorts of stuff changes over time. It gets the job done, but is far from ideal:

  • edititng the data queries is intended to only be done in the web ui (so I end up just copypasting stuff to/from pycharm to at least have a nice text editor)
  • can't store config in a git repo (yes, I can dump & restore the config as a huge json, but AFAIK the json structure is considered an internal api, so it can change at any time making versioning useless)
  • all plot parameters other than the data query have to be configured via gui

I did try grafanalib some time ago and it didn't feel right. It was quite behind in plot types (Grafana screamed at me "don't use this plot type, use the new one instead"), and is using unofficial api (the json config again).

Any suggestions? It doesn't even have to be a ready-to-use tool, a library/framework for making dashboards will also do.

[-] equidamoid@lemmy.world 3 points 11 months ago* (last edited 11 months ago)

Use std::string_view to sort of get the safety of std::string without copying the contents (just in general make sure the original c string won't get freed or overwritten, which won't happen to argv in your case).

Or just std::string and yolo, the overhead of copying the contents is negligible in your use case.

view more: next ›

equidamoid

joined 1 year ago