• 0 Posts
  • 28 Comments
Joined 1 year ago
cake
Cake day: June 24th, 2023

help-circle
  • Dealing with this now at work. Got a dev whose time in the industry should make him a senior dev but he gives off massive junior vibes.

    • The need to change everything he touches

    • Wanting to write clever code over straightforward code

    • Everything “needs” a refactor

    • Just deprecates things when he doesn’t want to learn them and writes a new implementation without updating old code

    • Thinks he knows best while not understanding huge swaths of the codebase

    • Everything he can’t understand in <5 min is stupid and wrong

    If he was less competent (when kept in a box and closely monitored) I’d be pushing even harder to get rid of him.



  • I’m not understanding the CoPilot hate. It’s an amazing tool if you are competent. Even when it gets it wrong it still saves me 90%+ of the typing then I just correct what it did differently than how I want it.

    Boilerplate becomes a breeze and I work way better when I have something to iterate on rather than coming up with it from scratch. It lets me play with and test ideas way faster and sometimes even does it differently than I’d do it which leads to learning new things and/or looking at the problem in a different way. I don’t blindly follow its output, sometimes I reject it wholesale, sometimes I edit it, sometimes it’s literally exactly what I would have typed myself.




  • Was this article written with AI or just by someone who has no clue what they are talking about?

    During his testimony on Thursday and Friday, Bloomberg reports Giannandrea took the time to mention a feature of Safari for iOS 17 that wasn’t reported on for its introduction. The quietly introduced feature allows users to set a different browser when using Private Browsing than the default.

    “Different browser”, what they mean is “different search engine”. Even if this author was competent this article is a nothing-burger. Not sure how setting a different search engine in private mode has anything to do with the Google antitrust trial.


  • I really hope they expand this button in software later. Long press as the only activator is absurd. How about single? Double? Triple? Short-long?

    I hate that the only option is long. Also I wish I could change the behavior based on context (is the phone locked, what app is active, etc). I don’t need camera or flashlight if the phone is locked, they are right there but elsewhere that might be nice.

    I’m leaning towards camera in video mode as what I set it to, since getting to video mode takes longer than I’d like in most cases, even from the Lock Screen.




  • This sub sucks. No really, it’s be great if we could actually have conversations about Apple products and decisions instead of it being full of people that just want to dunk on Apple with uninformed and tired takes.

    There is a legit way we can talk about the dongle, how it’s existence makes perfect sense, and how there are cheaper/better alternatives on the market. Instead we have “Hur hur hur, Apple expensive, what do you expect? Are you new?”. It’s not intelligent, it’s not right, and it completely ignores so many realities.


  • I really wish there was a distinction between “runs well on deck” and “plays well on deck”. I know that you can connect a monitor/mouse/keyboard but I’m mainly looking for games that I can play directly on the deck so mouse-heavy games are a pass for me (occasional mouse or only in certain menus is fine but not in regular gameplay).

    Thankfully protondb is an amazing resource and answers most my questions along with Steam’s “full controller support” badge. I just wish there was a simple badge that covered both. There are some “Great on Deck” games that I strongly disagree with, like Human Resource Machine. It’s a great game, I love it, but great on deck it is not. It runs fine but it needs a mouse, the trackpads are way too finicky and the text too small IMHO.








  • mr_tyler_durden@lemmy.worldtoProgrammer Humor@lemmy.mlHTMX
    link
    fedilink
    arrow-up
    19
    arrow-down
    1
    ·
    1 year ago

    I’ve got nothing against SSR, never have, but CSR or even better SSR+CSR side steps a metric shit ton of issues. I’ve written untold lines of code to render something out in PHP then needed to add jQuery logic to the frontend for UX/UI reasons and then I’ve had to duplicate UI generation in JS/jQuery to match what PHP spits back (think: add a new row to an interface after an Ajax call finishes). It’s hell, you have to keep the two in sync and it’s a bug minefield.

    Compare that to CSR where all the DOM is generated though a single codepath. Now take CSR to the next level with SSR+CSR and you’ve got a winning combo. Fast initial render and SEO gains (if you even need that) and only 1 DOM generation pathway.

    People want to sound all smug “Oh, back to SSR are we?”, “Uh yeah, we had to CSR first to get to SSR+CSR which is VASTLY superior to SSR alone”.

    Tech is circular in that way. See also mainframes, to personal computers, to cloud or any other similar cycle.



  • I much prefer having an in-memory database than mock what a database does.

    Which sounds great in theory but then you get to find where your prod DB and testing DB differ and you have to keep chasing that. Unless you are using something like SQLite which has both (disk and in-memory) as an option.

    I worked at a place that used a different in-memory DB (H2, IIRC) in place of our MySQL DB for testing. It ended up being hell to maintain and had to have hacks for how H2 and MySQL differ (tests would work in H2 but fail if run against MySQL or vice versa).