• 1 Post
  • 28 Comments
Joined 3 years ago
cake
Cake day: August 7th, 2023

help-circle

  • 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.




  • So far, no favorites. Be warned, more a rant than anything. It’s a burded of my workplace but we use oracles PL/SQL and are constrained by that and honestly nothing is good for it. It’s part of the reason why it’s a huge technical debt, along side how shitty debugging. Because we can’t, there’s a way but our firewall have been a big opponent.

    But Toad is the best one, and also the worst one. Slow, old, outdated application with a price that is sky high, but the company pays for that. Had it been only SQL, I’d probably be content with jetbrains alternatives. But it does not have good code highlighting for plsql, including a lot of errors on various things. Toad does autocomplete, slow and ugly, and not all things work, but it does it. But Toad is king for doing things to the database. Easy overview of invalid objects, tables, indexes, scripts. You just need to wait for the window to slowly render, and hope the database connection didn’t time out since you last used it, or otherwise the application will hang for a while, tell you it didn’t work because the connection was lost and then ask if you want to reconnect, sometimes. Other times I crashes, or crashes on the thing you’ve done a hundred times. Or reports some memory error. God try closing a connection tab when you lost connection to the database or the database turns off. Faster to kill toad with task manager than wait for it to tell you it can’t connect to disconnect from the database.

    But we need it, because we need to run sql plus scripts, because compiling a package and getting errors and getting taken to the relevant lines is fast. Datagrip couldn’t do that, it gave me a terminal with the entire package as inout before printing the errors. Which would significantly increase dev time, and the burden on our sanity, when we can’t click the errors.

    Toad manages multiple connections nicely, even if you need to wait 2 second when changing between the tabs for each connection because the interface is slow. Datagrip spent ages indexing schemas, didn’t keep up with changes and somehow asked for which connection to use in every file you opened. It was messy, toad had database context much more organized. While I’m full stack, I do dabble in more than one database pretty often. From managing the QA databases, to setting up multiple bases for testing or using a few for my own development.

    Toad is suffering, and on some days nothing feels like it will work. But it’s still the best tool we can find. And not to forget auto format and easy explain plans. Toad had a formatter I haven’t looked much at, but it’s customization is more details and actually supports plsql, where Datagrip left some of our queries in awful states. The explain plan is a minor one, but it’s nice to have it at the press of a button.

    But toad is hell. It’s slow, it freezes for a second trying to give you autocomplete options, even where you didn’t want some like using a builtin sql function… Honestly an area Datagrip was better, except it also highlited all row type properties as missing making errors hard to spot when a file has countless useless errors that you can’t remove without taking everything away. Datagrip also made going to function definitions awful, because you often got taken to the database source or got the option between the database and the mapped local files which was very clunky and made a mess of open tabs. Toad only opened the db source, unless you had the file for a package already open and it would take you the the function there. But it’s so much more convenient after the files are opened. And development usually doesn’t touch more than 4-6 at a time, so once you got them ready things were relatively smooth in Toad.

    But don’t get Toad, the solution is to not have Pl/sql


  • 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.




  • IDEs are useful, I always stick with them myself.

    I don’t care where my imports come from, I just need that reference when I start writing the type. I don’t remember exactly the name, it’s sufficient to type out a bit and get it in the autocomplete. I don’t know the overloads, so it’s nice to see what it can do/take. Solution wide rename, go to source/usages (I can’t stress this enough, along with a mouse with back/forward buttons) allows quickly going back and forward between places you’ve been. It’s not quite on the VIM bookmark and goto that I’ve seen a coworker use, but still great.

    Running tests with good overview and the code a click away, debug both in tests and in general, global search is extremely useful when half your code base is compiled into a database… And another part is loose references to a property that the IDE isn’t aware of

    Lest not forget the most important one, auto formatting. I pushed for a format on save across the team, and while there’s some larger changes in the first pull requests, it totally removes code that has 4 mile long lines, messy indentation and so much more.

    While it requires work, a shared editorconfig goes a long way to align style both across computers and IDEs. Not all those style rules are that important but a common format helps making navigating code easier.

    Visual studio is pretty good with hot reload, debugger and a few other things. But it needs ReSharper to properly shine imo, and that makes it so damn slow and buggy. I moved to Rider since I knew Pycharm, and it’s a lot snapper with a few less bugs. When I started my job my laptop bluescreened a few times a week until VS2022 came out. It’s also somehow randomly forgot my keybind until restart, failed to compile when going from .Net 6 back to a old framework version branch, and even clean solution didn’t work. (because that doesn’t clean obj folders)

    Rider sometimes gets it in for itself that my files are invalid, but still compiles. And on first boot, running my application doesn’t actual start it somehow. But outside that, the experience is much more smooth.


  • I think it’s a great baseline. Within academic context, Python (and perhaps Matlab) are extremely common for data analysis. I doubt many would transition code to other languages unless strictly needed such as the case in the article. Showing how to “simply” speed up code like the article does is a great way to snag speed even if you don’t analyze timing, and just replicate steps from this article.

    Having done stuff myself as part of research, and having people I know go from developer jobs to research jobs, I can safely say scientists generally do not make good code. Regardless of language. An article like this gives good steps to take from start to end, and would be a valuable tool in a possible transition to better code.


  • I’m not too much of a fan of the SQL equivalent of SELECT not being at the top. Granted I’m fairly sure there are some arguments for it. Since select is optional there’s a higher mental load trying to figure out where and what is actually being returned imo. At least from looking at this for the first time.

    On the other hand, i’d kill for f-strings, the top N in group (which is nigh unreadable in SQL), and null handling that doesn’t require me to write either COALSECE or NVL too often. The joins were a little less pretty though, I’m quite fond of normal SQL joins since they are very reasonable unless chained beyond the line count your screen can show.




  • 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.




  • BehindTheBarrier@programming.devtoGames@lemmy.world•This should be illegal
    link
    fedilink
    English
    arrow-up
    29
    arrow-down
    1
    ·
    3 years ago

    This is also the reason I’m all open source. Not just games, but seeing someone abandon a program hurts. Or just wanting to make a change on your own to suit your needs. I don’t have any big fancy programs, but I at least put my code openly on github.com for that reason. Both my “big” ones are just me using another program and realizing I could make something that worked better for me. At like 100x the time investment, but programming is fun.



  • 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.