• 0 Posts
  • 21 Comments
Joined 1 year ago
cake
Cake day: August 7th, 2023

help-circle

  • After using it, coming to python and not having a super easy way to work with dates is a pain.

    But DateTime in dotNet have horrible timezone support. It’s essentially either local timezone, not timezone or utc. And the utc part is somewhat rough. There’s some datetimeoffset and the like, but they too just don’t let working with timezones be easy.



  • Been a while since I used the new thing, immediately hated it. All on mobile.

    First of a, the bottom scroll thing on my phone to select a server or whatever it was just ain’t it. I didn’t use it much, but it seemed extremely annoying to move between dm and servers, especially if they weren’t the top ones. You can get lists and such by swiping.

    Second was that server channels turned into a huge mess. Showing the last message makes absolutely no sense on any server I use. Especially on bigger game server like destiny group finding one’s already long lists turned into miles long lists. Absolutely unusable. I need things compact and clean personally, having the channels big and wide wastes so much space, and again long lists.

    Being in a server hides any notifications and dms too.

    Everything that was close at hand before is now far away. And that sucks for me.




  • It gets less effective, down to running at 100% and not moving heat. Heat pumps work by expanding a gas, which cools it. Since it’s cold, the “heat” outside was the gas. Then the gas is taken inside and compressed, the gas heats up from the compression (since all the energy is squeezed into a smaller space, effectively speaking). Now that heat can be transferred to the colder air inside. So long as the expanded gas turns colder than the outside, it can absorb heat.

    From a Google, common ones can go as low as - 25C, which means they are able to cool a gas to lower temps than that when expanded. There is still heat to get, even in -25C.




  • All of them are OK, except mkv is less a file type and more a container. What should be specified is the code for video, which for most things I’d say AV1, but high res movies might not be the most suitable. Throw in opus for the audio track, and you can use mkv, but might as well use webm anyways since it’s more clear what’s behind it. (though can still be other things)

    I’d also add that jxl should be the standard for lossy images. Better than jpg. And you want something other than png for massive images because that quickly gets costly in terms of size due to png being lossless.


  • Probably not your problem, but my completely different phone (oneplus 7 pro)has been pretty solid. But, lint and dust gathered into the port, making some of the plugs extremely loose to the point it would fall out from the weight of the cable… I took a needle and scraped out the compacted lint at the bottom. (avoiding touching the middle thing in the port. Good as new afterwards, even the one cable I’ve been using with the phone since 2019 which is pretty loose after use now, still sits without problems when moving the phone around.

    But I’d definitely suggest cleaning it out if you haven’t. Even the small specs you get out makes a big difference. My powerbank came wouldn’t stay in, after cleaning it’s more well behaved. But there’s a clear difference in USB-c plugs and how they fit phones.



  • The carbon case is that light passes by, it’s beyond me but that comes down to molecular structure and not individual atoms.

    Atoms actually have color, just not one. Atoms have these electron orbits, if an electron gets hit with the right energy (which is actual discreet energy levels) the electrons can jump to a higher orbit. It can then fall back, and emit light of a specific wavelength corresponding to that energy difference. It’s how spectroscopy works, by testing all visible colors of light (and probably outside visible spectrum too) you will get dark areas in the color band where said light/energy was absorbed.(because the emitted light of the same type that hit it goes off in random directions)

    Each atom will therefore have a unique color strip for identification, so we can say atoms have colors!




  • I’ve been generally happy with the documentation, but sometimes you need to see how something is supposed to be used.

    It’s not the python documentation, but the Qt documentation (which is used to understand PyQt) where I wanted to play some video. Well, you need a QMediaPlayer to control the video. But the video apparently needs to be a QGraphicsVideoItem for the actual video, but wait that also has to be in something, Turns out you need to put it into a QGraphicsScene, which ALSO needs to be in a QGraphicsView. And it wasn’t easy to find out, because some of these needed to take another item as init argument, while others needed to call a method to add them. So you are left to figure out what all these things are and what purpose each of them do differently, which order all should be created in, and try too keep track without messing up all the similar type names. One place where loosely typed python gets real weak. It’s seemingly obvious from the way I wrote it though, but having just the video playback as my starting point, finding out what classes to use to begin with was hard.

    Another case isn’t Python, but C#. Where some framework docs give class definitions but don’t tell you that those are used to be “subclassed” to override a specific method and then the class is set as a property on a object you want behavior to change for, using a class name that really wasn’t letting on what it was doing at all. This happened after ChatGPT came into existence, and it throw me a complete example. Other times tho, it makes up a similar thing… which sucks




  • It’s fun with screenshots, you save it and realize, you didn’t check what path it saved to because you (read: me) always puts downloads in the Downloads folder by default. It’s the last place you saved an image, shouldn’t be too hard? Just gotta find an IMG_something either in user photos or documents usually. And then fail to do so, and do a walk of shame back and try save again just to see where it actually ended up…

    I do love Everything though, it’s amazing and I constantly use it for looking for things. I know names at least partially, and that does it 99% of the time. Sorting by Path also makes it very easy to navigate when you get a lot of hits. Just a pro-tip to those yet to learn of that power.