There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

Daxtron2 , in Three monitors, and i feel insulted

I think I’m up to 5 spread across two different workstations, but no rgb that shits annoying to me.

FiniteBanjo ,

Yeah I always make it one color or turn the LEDs off completely given the chance.

RisingSwell ,

I have some rgb on, laptop has back lightning that is brighter than my lamp though so that’s never on unless I need a torch and for some reason don’t have my phone.

JasonDJ ,

Not a software engineer (network engineer…so I dabble in Python but that’s about it).

Still, my work setup has over 14.5 million pixels spread across 4 displays, and usually another laptop or tablet going as well.

pewgar_seemsimandroid , in Computer components cheat sheet
uis , in Daylight saving creator left the chat....

Move to International Atomic Time timezone. clock_gettime(CLOCK_TAI, …) and stop complaining.

dan , in Computer components cheat sheet
@dan@upvote.au avatar

Is the FPU a reference to the Pentium FDIV bug?? What a throwback.

uis ,

0.1+0.2

dan , (edited )
@dan@upvote.au avatar

deleted_by_author

  • Loading...
  • frezik ,

    In other words, “computes numbers incorrectly”.

    You don’t have to overthink it on a meme that describes a hard drive as “remembers numbers loudly”.

    AgentGrimstone , in Daylight saving creator left the chat....

    I’m not a developer but give him one for me too

    SpaceNoodle , in As someone not in tech, I have no idea how to refer to my tech friends' jobs

    “Software Development Engineer”

    WhiskyTangoFoxtrot , in Daylight saving creator left the chat....
    lhamil64 , in Daylight saving creator left the chat....

    But if time travel is a thing, imagine the whole new time nightmares! Oh you went back a year with your phone? Now all your TLS root certs are invalid because you’re before the start date. Or you have files/emails/whatever that are dated in the future. I guess you can get to that state by just setting your clock forward but I imagine some stuff would break.

    ObsidianNebula ,

    I worked on a project that had a few spots where we compare a saved timestamp to the current time. During testing, the client would randomly change their device time a few days forward or backward and complain that things weren’t working as expected. I had to explain to them multiple times that they were basically time traveling, and the program was actually handling it fairly well all things considered.

    KillingTimeItself ,

    well thats the funny thing, it’s technically not time travel, it’s just time dilation if you squint hard enough. So technically, it doesn’t matter.

    Muffi , in Three monitors, and i feel insulted

    Guys, I think age is making us boring. I also personally prefer black rectangles and soft neutral lights, but I think we’re the bories.

    ephemeral_gibbon ,

    And brown poop fans

    IndiBrony ,
    @IndiBrony@lemmy.world avatar
    frickineh ,

    Look, if Noctua is going to charge me 10 whole dollars extra for the exact same fan in black, I’m getting the poop brown.

    olutukko ,

    I’m not even that old, born in 2000, but I have never enjoyed the rgb bullshit on computers. I even specifially got my keyboard without backlight so I could have a wirelles one with decent battery life

    KillingTimeItself ,

    most backlit keyboards let you disable the lighting, and have fairly legible legends without to begin with.

    Or you can just touch type like me. Thats what i do with my wireless keyb, i have the backlight if i need it though.

    Semi_Hemi_Demigod ,
    @Semi_Hemi_Demigod@lemmy.world avatar

    Bring back beige boxes!

    smeg ,

    I could go for that pale grey which slowly turns yellow, I think the material is called Nintendium

    ripcord ,
    @ripcord@lemmy.world avatar

    I’m also oldish. But man, I freaking love lights. Of all kinds. I just love making shit out of lights or doing weird things. LEDs and neopixels are amazing. I have permanently installed lights on the house, and entire (small) room in the house dedicated for a honelab with RGB everywhere. It’s cool as shit (to me).

    But not on my work systems. That would be really annoying. Soft lights and elegant design for me.

    Croquette ,

    To me, RGB is like a cheap car with a bad paint job and too many neon. If I could put my computer in a closet, I would.

    KillingTimeItself ,

    just wait until you rice your distro, then you become a middle aged father who lusts after vintage cars.

    EpeeGnome ,

    I work at a small computer shop and I love putting all those RGB lights in for people. Especially when I can do a full aRGB setup with a SignalRGB layout so patterns can move across the whole machine. For my own computer the only lights are the tiny power and hard drive activity lights, and I wouldn’t have it any other way. RGB lights belong only in other people’s computers.

    CosmicCleric , in Daylight saving creator left the chat....
    @CosmicCleric@lemmy.world avatar

    If only I had a numeric type that could hold the value of how many seconds since the creation of the Universe, without overflowing, I’d be set.

    Grandwolf319 , in Three monitors, and i feel insulted

    Hah, jokes on you, I have an ultra wide.

    Which is basically two monitors without any separator in the middle.

    deadbeef79000 ,

    Ooh, the thinest of bezels: none.

    Sprawlie ,

    once you go two ultrawides you will enter a new realm of existence.

    Grandwolf319 ,

    Side by side or stacked on top?

    ekky ,

    Stacked on top, and vertical orientation since we’re not doing Java here!

    AnUnusualRelic ,
    @AnUnusualRelic@lemmy.world avatar

    Six vertical ultrawides is the only way.

    Sprawlie ,

    Side by side most of the time. I put them on arms so I can move them around and swivel them. It’s ridiculous having two 34" Ultrawides. But, I can. So I Do. I also run a 3rd 40" 4k display when I need it or want to sit further back.

    BorgDrone ,

    34” 5k2k ultrawide as main monitor and a 27” 4k in portrait for documentation.

    Crashumbc ,

    Have a 27" 1440 in portrait for a side monitor. Best decision I ever made with my monitor set up.

    rooster_butt ,

    I just made the switch from 3 24 inch monitor to a single 49 inch super ultrawide. It’s basically 3 monitors with no bezels. A lot of things are annoying though like full-screening videos/games but there are workarounds.

    JasonDJ ,

    My biggest problem with 4k and ultra wide monitors is screen sharing (like on zoom/teams/WebEx etc).

    Most people still have 1080p screens at best, so when someone with a 4k or ultra wide shares their screen, it’s really tough to see what’s going on.

    My main display is a 4k TV, but if I have to share, I’m sharing a window, or one of my auxiliary (1080p) screens.

    rooster_butt ,

    I’ve resorted to just sharing my laptop screen. You can also use picture by picture to get split displays which are easier to share.

    datelmd5sum ,

    Yeah I went from 1 32" 1440p and two 1080p side monitors to just a single 4k 43" and I’m saying that the time of multi monitor setups has come to an end.

    fubarx , in Daylight saving creator left the chat....

    Worked on a project where devices just magically froze, but only during the month of February!

    Turned out the people who had written the firmware had decided to do their own time math to save space and had put in an exception in the code for leap year values. Except instead of February 29th, it kicked in for the whole month. And the math was wrong so you ended up with negative values.

    The product was due for launch in March of that year and was headed to manufacturing. It was by sheer luck that someone ran a test on February 1st and caught the problem.

    Don’t mess with time in code, kids.

    LodeMike ,

    This is why we have pre-built libraries and Unix time.

    fishbone , (edited )

    too bad unix time only has 14 years of life left in it.

    Edit: this only applies to 32 bit Unix time. The 64 bit lifespan is a little longer, at 584 billion years. Whoops lol.

    LodeMike ,

    No

    fubarx ,

    Embedded portable device with a teeny ARM processor. Sadly, no room for linux anything or even an RTC. Every time it connected to a phone, the phone would set its clock so the timestamps were somewhat close to being accurate.

    However, if you swapped out the AAA battery and DIDN’T connect it to the phone at least once, all your subsequent readings would go back to zero epoch and would be forgotten 🤷🏻‍♂️

    Good times.

    AMDIsOurLord ,

    Some absolute and utter legend of a man made a Unix kernel for the fucking ZILOG Z80, you have no excuses

    (It’s called UZI and it’s written in K&R C for some obscure CP/M compiler)

    fubarx ,

    If it had been up to me, I would have included a proper real-time-clock in the design and done things a lot differently.

    But the device was designed by one company and the BLE and processor module by another. For some ungodly reason neither trusted each other, so nobody was given access to the firmware source on either side. I worked for a third company that was their customer paying the bill. I was allowed to see the firmware for both sides, but only read only, on laptops provided by each company, one at a time, in a conference room with their own people watching everything. Yeah, it was strange.

    I was there because the MCU and the BLE processor sometimes glitched and introduced random noise. Turned out the connection between the two parts were unshielded UART with no error detection/correction 🤦🏻‍♂️

    It was concidental that we hit the date glitch. Took all our effort just to get them to add a checksum and retry. The tiny MCU was maxed out of space. No way to fit in any more code for date math.

    AMDIsOurLord ,

    God I’m sorry you had to go through that much middle management bullshit

    fubarx ,

    Thanks. On the plus side, I got to try ‘soup dumpling’ – still the best I’ve ever had. And Kaoliang, the most gut-busting distilled beverage known to mankind. OTOH, the product shipped, won lots of awards, and got national coverage for the company.

    Nothing to do with timezones, but still, fun times.

    dan ,
    @dan@upvote.au avatar

    Unix time.

    Unix time doesn’t help with timezones… It’s always in UTC.

    Unix timestamps also get a bit weird because of leap seconds. Unix timestamps have no support for leap seconds (the POSIX spec says a Unix day is always exactly 86400 seconds), so they’re usually implemented by repeating the same timestamp twice. This means that the timestamp is ambiguous for that repeated second - one timestamp actually refers to two different moments in time. To quote the example from Wikipedia:

    Unix time numbers are repeated in the second immediately following a positive leap second. The Unix time number 1483142400 is thus ambiguous: it can refer either to start of the leap second (2016-12-31 23:59:60) or the end of it, one second later (2017-01-01 00:00:00). In the theoretical case when a negative leap second occurs, no ambiguity is caused, but instead there is a range of Unix time numbers that do not refer to any point in UTC time at all.

    Some systems instead spread a positive leap second across the entire day (making each second a very very tiny bit longer) but technically this violates POSIX since it’s modifying the length of a second.

    Aren’t timestamps fun?

    Luckily, the standards body that deals with leap seconds has said they’ll be discontinued by 2035, so at least it’s one less thing that developers dealing with timestamps will have to worry about.

    Don’t try to write your own date/time code. Just don’t. Use something built by someone else.

    LodeMike , (edited )

    Unix time doesn’t help with timezones… It’s always in UTC.

    Unix timestamp is always in UTC which is why it’s helpful. It’s seconds since Jan 1st 1970 UTC. Libraries let you specify timezone usually if you need to convert from/to a human readable string.

    Don’t try to write your own date/time code. Just don’t. Use something built by someone else.

    …yes that’s why UNIX timestamps are helpful, because it’s a constant standard across all the libraries.

    Some systems instead spread a positive leap second across the entire day (making each second a very very tiny bit longer) but technically this violates POSIX since it’s modifying the length of a second.

    Then that system should be trashed.

    perviouslyiner , (edited )

    Unix timestamp is always in UTC

    Careful with the exact phrasing here - while the epoch was at midnight in GMT, the time from which time_t is measured also exists in other timezones.

    LodeMike ,

    Then that the library that does it should be trashed.

    en.wikipedia.org/wiki/Unix_time

    Aux ,

    UNIX time is trash.

    dan ,
    @dan@upvote.au avatar

    Unix timestamp is always in UTC which is why it’s helpful.

    Any time you show the time to a user, you have to use a timezone. That’s why the unix timestamp has limited usefulness - it doesn’t do a lot on its own and practically all use cases for times require the timezone to be known (unless you’re dealing with a system that can both store and display dates in UTC). Even for things like “add one week to this timestamp”, you can’t do that without being timezone-aware, since it’s not always an exact number of seconds as you need to take Daylight Saving transitions and leap seconds into account.

    Then that system should be trashed.

    A lot of systems just don’t handle leap seconds well. Many years ago, Reddit was down for four hours because their systems couldn’t deal with leap seconds. Smearing the extra second across the whole day causes fewer issues as software doesn’t have to be built to handle an extra second in the day.

    CosmicCleric ,
    @CosmicCleric@lemmy.world avatar

    Luckily, the standards body that deals with leap seconds has said they’ll be discontinued by 2035

    Did they figure out a way of making the earth spin more reliably per how the humans want it to?

    dan ,
    @dan@upvote.au avatar

    If I remember correctly, they’re updating the standards to allow for more deviation between UTC time and “actual time”. They’ll likely replace leap seconds with a leap minute that happens much less frequently, implemented by spreading it across the whole day, similar to the leap second workaround I mentioned.

    uis ,

    Was it related to banking?

    fubarx ,

    Consumer health.

    Good product, too. Won a bunch of awards. Unfortunately, the company has since gone out of business.

    ProfessorProteus , in Three monitors, and i feel insulted
    @ProfessorProteus@lemmy.world avatar

    It’s a shame some of the better components have baby-sensory RGB lights tacked on. I’d have bought my parts plain if that was a convenient choice.

    Oh also

    mmmaaadddeee wwwiiittthhh mmmeeemmmaaatttiiiccc

    generalpotato , in Computer components cheat sheet

    HDD - Remembers numbers loudly is on point for 90s/2000s disk drives. 😂

    Evil_Shrubbery ,

    … server/enterprise level HDDs are loud af, I swear some brands are dedicated to it.

    That leaves us only with the tiny WD Red Plus (but not Red Pro), above 20TB afaik only Exos (from X21 onwards) doesn’t alert the neighbours.

    But in (second half-ish?) of 90s HDDs differed a lot in terms of loudness. I was one of those nerds with custom (fully home made) water loop just to achieve some level of quietness.

    Piemanding ,

    With those jet engine fans they are quiet by comparison lol.

    Thorry84 , in Three monitors, and i feel insulted

    Only 2 monitors? Them be rookie numbers, need to get them up

    BurningTurtle ,
    @BurningTurtle@programming.dev avatar

    3 is good

    DoomBot5 ,

    At a previous job I had, we were only given options for 1080p monitors. I ended up with a total of 5 and needed all of them.

    MagicShel ,

    I think I started on a single 640x480 CRT. Professionally. My actual first computer was 320x200. Now I’m on dual UHD + laptop screen.

    ouRKaoS ,

    I remember in high school when I started running my monitor in 1024x768 and felt like I was a legit professional programmer.

    ripcord ,
    @ripcord@lemmy.world avatar

    Professionally similar; 1024x768 here (might have had an 800x600 laptop or thereabouts).

    But when people today complain about how how anything less than 4k x 60fps on some game is unplayable, I remember playing Doom in 320x200 on a 14" monitor, and still having to shrink the screen into an even tinier window, so I could get 10fps.

    Steve ,

    5 here

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • [email protected]
  • lifeLocal
  • goranko
  • All magazines