• 8 Posts
  • 791 Comments
Joined 1 year ago
cake
Cake day: August 19th, 2023

help-circle


  • Jetbrains vim mode gets pretty close. My current issues with it are that I can’t use the ctrl+o navigation to go back to previous location when using something like “Go to implementation” and import auto import is going to be the thing that’s loaded in to the “.” repeat action.

    I’ve tried basic vim and IDE setup vim but Rider has to many nice things like checking inline SQL strings against a database when programming C# and that sounds like a can of worms to set up. I tried Lunarvim and it was really good but Rider just has a better debug mode experience.

    It may sound weird but I don’t feel like maintaining my vim for couple of hours here just to have all the features of my current IDE. I still use Lunarvim on smaller projects or to edit some text and whatnot but for work I really prefer my IDE and all the bells and whistles that come with it. For example I have Ctrl+. to search for an action “history”+enter shows the git history of the current file. There are tons of these nice things.












  • I mean the hype has died down but I think it’s rather that VR is too expensive right now. I want VR but I don’t want it $500 much to get a novelty item.

    I think using it as a big ass screen would be nice and I really want to Serious Sam and Subnautica on VR. The immersion is really good for VR and I’ve liked it a lot every time I’ve played it.

    Still, you need a decent space in the living room. A good graphics card for the frame rate and the expensive headset and motion trackers to get the full experience. That’s a lot to ask for with the current economy.


  • More or less the same but the user gets passed as a method parameter each time. Validators would be in my opinion a long function inside the service also with named variables like this because it’s just easy to read and there are no surprises. I’d probably refactor it at around 5 conditions or 30 lines of validation logic.

    I recommend trying out using the constructor in services for tools such as a database and methods for data such as user. It will be very easy to use everywhere and for many users and whatever

    const passwordIsValid = ...
    if (!passwordIsValid){
      return whatever
    }
    


  • We might already have reached peak carbon emissions. There’s also the thing where renewables are so much cheaper that it’s in most countries best self interest to build renewables.

    The thing the world is doing now is more energy but the cheapest one is electricity so more electricity. The duck curve is an energy storage opportunity that’s being taken advantage of more and more. Things are heading in the right direction but it’s not fast enough.

    The next emissions on the chopping block are household heating and cement and low-med industrial heat with more advanced heat pumps or heat pumps set up in series.

    I’ve decided to become cautiously optimistic recently the more I learn about how science is advancing the renewables despite governments sometimes being in the way.




  • I’ve heard that this is the new type of layoffs big tech is doing. Massive layoffs that are required lower the stock price but people quitting is not news. So the best strategy to get rid of staff is to create a hostile work environment temporarily until you reach the right amount.

    This is a really bad idea for long term health of a company. The people that stay are the ones that will struggle to find new jobs and the people that leave probably already have another job at a competing firm lined up.

    It’s just straight up dumb but keeps the stock price high and the CEO gets his bonus.