• 0 Posts
  • 13 Comments
Joined 2 years ago
cake
Cake day: July 3rd, 2023

help-circle
  • For me what generally happens if I stop at 9PM, I will work through the problem in my sleep (and it will prevent me from getting a good night sleep), but I will often find a breakthrough the next morning during shower time.

    I’m talking about those hard, multi-days debugging problems that nobody can figure out, but as someone else raised, that’s why I get paid good money for it.

    It still sucks though. That first response in the thread rings so true, ok now I get it, no you don’t…


  • it’s not an optimization if you don’t measure an improvement.

    This, so much. I often see this at work, theories about this and that being slow, or how something new « should » be better. As the resident code elder I often get to reply « why don’t you measure and find out »…

    For some reason it seems nobody uses sampling profilers anymore, those tell you exactly where the time is spent, you don’t have to guess from a trace. Optimizing code is kind of a lost art.

    Sometimes I wish compilers were better at data cache optimization, I work with C++ all the time but all of it needs to be done by hand (for example SoA vs AoS…). On the upside, I kind of have a good job security, at least until I retire.


  • It is exactly my case, as HomeKit by itself is way too limited for automations.

    All of my HomeKit devices are actually exposed through HomeBridge, so I can still use HomeKit stuff if needed, and devices that do not support HomeKit can still be added to HomeKit.

    My current challenge is on the Smart Dashboard side, I don’t really want to buy a Google Pixel Tablet for this, and the Nest Hubs I have don’t really integrate with HomeAssistant except through Google cloud services.

    HomeKit dashboard is fine but too basic.



  • fulg@lemmy.worldtoTechnology@lemmy.worldWhat Ever Happened to Netscape?
    link
    fedilink
    English
    arrow-up
    36
    arrow-down
    10
    ·
    edit-2
    5 months ago

    They became a poster child for why you should never “start over from scratch” even if your current codebase is awful. Because when you do that your competitors keep going, then they have years on your now stale product. Netscape lost all on their own…

    Also: selling a browser? Man, the 90’s where wild.





  • I remember your previous post, congrats on not giving up.

    Whipping up a script to solve a very specific problem is super satisfying, but I found that anything you write quickly becomes a liability. Debugging Perl can be super difficult, especially when returning to something you wrote a while back.

    Personally I grew tired of the punishment and left it all behind! If I need a quick script I’ll use Python instead, and if it doesn’t work I can use a real debugger to fix it.

    In any case it’s always fun learning new things, I hope this experience ends up being useful to you in the future and you get to easily solve a problem that stumps everyone else involved.

    Cheers!




  • To be fair, USB-C didn’t exist when Lightning was introduced, and it was vastly superior to Micro-USB.

    It doesn’t really have any reason to exist now…

    Agreed with your other points though!

    I have an old iPad that I try to reuse for another purpose and all the locks to stop me to keep using it make it such a pain in the butt, when the alternative is simply to enable developer mode on an Android tablet.

    Thankfully I remembered when buying a laptop and skipped the very enticing M-series hardware, because in 5-7 years that thing is a brick destined for the landfill.