• 0 Posts
  • 44 Comments
Joined 2 years ago
cake
Cake day: June 21st, 2023

help-circle
  • Counter point… Both are generating perfectly valid JSON, so who cares?

    Python 3.13.2 (main, Feb  5 2025, 08:05:21) [GCC 14.2.1 20250128]
    Type 'copyright', 'credits' or 'license' for more information
    IPython 9.0.2 -- An enhanced Interactive Python. Type '?' for help.
    Tip: IPython 9.0+ have hooks to integrate AI/LLM completions.
    
    In [1]: import json
    
    In [2]: json.loads('{"x": 1e-05}')
    Out[2]: {'x': 1e-05}
    
    In [3]: json.loads('{"x":0.00001}')
    Out[3]: {'x': 1e-05}
    
    Welcome to Node.js v20.3.1.
    Type ".help" for more information.
    > JSON.parse('{"x":0.00001}')
    { x: 0.00001 }
    > JSON.parse('{"x": 1e-05}')
    { x: 0.00001 }
    

    Javascript and Python both happily accept either format from the string and convert it into a float they are happy with.



  • Sure: that’s a SKU and not the product name.

    From LG’s own website:

    The name of the product is:

    34" Curved UltraGear™ QHD HDR 10 160Hz Monitor with Tilt/Height Adjustable Stand

    But since 34" curved monitors are a dime a dozen and the full name listing all the specs is a freaking mouthful, it winds up being referred to it by the SKU to help differentiate it.

    The 34WP60C-B is apparently the same monitor, but without speakers and a different stand.

    This isn’t Apple where there is only 1 macbook pro each year and you can differentiate with a “M4” or “2024” on it. every year, LG releases 100 different monitors, some of which have VERY similar specs. If they gave them all names, the names would be meaningless except for to differentiate the models. “LG UltraGear Megashark” offers no details, and only serves to make it memorable and google-able.

    34GP63A-B isn’t memorable, but it is google-able to an even better degree (because theres no chance of getting a Terraria Megashark SEO landmine, I hate products that have names like “Cursor”, because how the hell am I going to google that).

    34 is size, G is “gaming”, no idea on P63A, and -B indicates that this is the second revision (there is also a 34GP63A without the -B).


  • bisby@lemmy.worldtoComic Strips@lemmy.world[System32] Make this make sense
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    3 days ago

    Youre right. “Cordless handheld vacuum” is a descriptor and not “the name of a product”.

    In fact, on the Alienware website, the product is called ‘Alienware 34" Curved QD-OLED Gaming Monitor - AW3423DWF’

    Alienware 34" curved QD-OLED gaming monitor sounds a LOT like exactly what you described. And then the SKU is tacked on to the end because they sell multiple various models of of 34" curved QD-OLED gaming monitors, and people are going to want to get the right one, so they make it prominent.


  • bisby@lemmy.worldtoComic Strips@lemmy.world[System32] Make this make sense
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    7
    ·
    3 days ago

    Why does it need a “name” at all.

    I just say “I have the Alienware ultrawide OLED” and if anyone cares, the exact model number gives information and is very distinct and googleable.

    You can google for “AW3423DWF” very easily and know youve found the right monitor for reviews etc.

    Googling for “Macbook Pro” reviews, for example… a pain in the ass.


  • That only works if you assume that there is something consistent to version. Some years it’s a 34" ultra wide, some years it’s a 32" 4k. Will there ever be another 34" ultra wide from alienware? Who knows! Not every monitor gets a revision. and if you have random names for 100 different monitors every year, that doesn’t really help make sense of things either.

    Alienware Monitor 7… Well they release 100 different models a year, and every year thats going to increment, and consumers often conflate “bigger number better” so you better make sure you get the numbering right.

    And “Porkchop” means absolutely nothing to anyone. DWF at least means something to some people. Going from 0% usefulness to even 10% usefulness is a good move.


  • bisby@lemmy.worldtoComic Strips@lemmy.world[System32] Make this make sense
    link
    fedilink
    English
    arrow-up
    97
    arrow-down
    4
    ·
    4 days ago

    My comment from last time this was posted.

    The most commonly cited monitor in recent years for this is “AW3423DWF”… Which is AlienWare 34" from 2023, DisplayPort, WQHD, Freesync.

    Point is, people see a lot of characters and complain when in reality it is exactly what you are referring to. The name is an encoded version of its capabilities. Its just that the encoding isn’t always clear because if every company used the same encoding they would have the same name. and if there are 2 similar monitors you would need to have every feature in the name to differentiate them, so the shorthand encoding becomes necessary. (Eg, AW3423DW and AW3423DWF only really differ on freesync vs gsync, thus the F at the end)



  • https://en.wikipedia.org/wiki/Fast_inverse_square_root

    even if you can figure out specifically WHAT a function does, it’s not always clear WHY a function does, and honestly, if this function wasnt labeled in the code, no way in hell would I know what it does.

    It has an entire wiki page dedicated to explaining it, and it involves enough math that most people wouldn’t be able to follow along.

    Nothing this atrocious lives in any current codebases I work on… but if you work at an old enough company, some of the load-bearing code will be tricky to figure out what is calling it, but also it was written in a time where little hacks were needed to eke out performance.

    You only have to experience it once for it to be a memorable enough thing that you will cite it for the rest of your days.

    Or more realistically, it IS comprehensible, but the level of effort necessary to comprehend it is not worth it. So you leave it as “undecipherable” and move on.








  • If we assume “half a day” is 4 hours, and 500 pounds. That’s 125 pounds per hour. Which isn’t the worst rate. Assuming it’s actually capped at 4 hours and we all know that if it’s your dad’s friend, this is not going to be a set and forget kind of thing. So that 4 hours quickly becomes 10. And suddenly you’re down to 50 pounds per hour. And then if it’s actually static and simple and good, you still have high odds of getting insane feedback demanding changes to make it worse. A motherfucking website would actually be the best option, but wouldn’t get you paid. At that point youre just doing it for the lols.

    But ultimately, this isn’t even about the rate or how much time this will take. this whole scenario depends heavily on the son here. Is the son unemployed and living in dad’s basement for free? Then yeah. Sorry, he should probably take any work he can get for any rate he can get. His dad gets a lot more say in how things work financially if the son is relying on him financially. But if the son is already working a full time job and living in his own house? Then no, I don’t care what the rate is. Don’t commandeer other people’s time. Don’t make deals that people haven’t agreed to. Come to me with opportunities, not demands.


  • I disagree with your definition of “killed Linux gaming.” It killed native Linux development perhaps. But using Linux for gaming is more viable than ever thanks to Valve. They single handedly boosted Linux gaming, if anything.

    And they also offer more than the competition. For a while there games on EGS were just telling people to get support on steam forums because epic had nothing for supporting games they sold. Steam has forums, screenshot storage, achievements, remote play, friends lists, a shopping cart (🙄) and is adding new features like clips. I’m not using steam because it’s a monopoly, I’m using it because it’s a better platform.



  • Sure. but there are plenty of reasons to not read other than “uneducated”. And associating ability to focus with intelligence and education isn’t fair either.

    If an American couldn’t tell me how many states there are, I would question their intelligence or education.

    If an American told me that they don’t read books, I would just assume they find books boring.