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.

JayDee , (edited ) in Daylight saving creator left the chat....

I’ve just said ‘fuck it’ and switched all my clocks to UTC. I don’t even care anymore.

uis ,

Why not metric time(TAI)?

Quill7513 ,

Or why not just seconds past the epoch?

nabladabla ,

leap second corrected or not?

uis ,

Metric seconds or UTC seconds?

Quill7513 ,

I’m gonna say SI

JayDee ,
uis ,

Reasons just states difference, but does not answer why.

JayDee ,

There’s literally a section titled ‘why use UTC - not TAI?’.

dukk ,

On the other hand, TAI does not take into account the variations in Earth’s rotation speed, which determines the true length of a day. For this reason, UTC is constantly compared to UT1. Before the difference between the two scales reaches 0.9 seconds, a leap second is added to UTC.

On average, Earth has been slowing down a bit over the past decades, so UTC is currently running 37 seconds behind TAI.

uis ,

So leap seconds is advantage here?

perviouslyiner ,

Is that supported in any common operating systems?

uis ,

Yes, CLOCK_TAI here

BluesF , in Three monitors, and i feel insulted

When I moved from the office to home I changed to a single monitor… And I have never missed the other one. I mean, I’m not a software engineer, so YMMV.

robocall OP ,
@robocall@lemmy.world avatar

But do you have a rainbow keyboard?

BluesF ,

Solid red cause I’m a cheepskate, but my mouse is flies the 🌈

Also thanks team, downvotes for saying I like having one monitor lmao

ytg , (edited ) in Daylight saving creator left the chat....

Before timezones and trains, each town had its own natural time (based on the sun or whatever). Would you have preferred that?

vox ,
@vox@sopuli.xyz avatar

tbf there are libraries capable of handling that too, like rust’s chrono

kamen , in Three monitors, and i feel insulted

Stereotypes exists so that I can be the 5% that doesn’t fall into them.

Two monitors but a solid case side panel (in fact it’s a case that’s so old that at the time TG side panels were not common). If I could be at liberty to choose parts purely based on looks, I’d go with something black, minimalistic and with no RGB.

boonhet ,

Huge fan of the non-TG Fractal Design R series cases for your use case. Pretty, but minimalistic. Airflow might be a bit of an issue given that they’re noise focused cases.

kamen ,

I have the Define R5 right now and it’s mostly good, but it’s choking a bit. I was thinking of getting a Torrent because of the airflow. Even with the TG I think it looks good, could be useful for shoving an info display or a clock inside, moreover a solid side panel doesn’t make as much sense when it’s not dampened (and this is an airflow-focused case).

LANIK2000 , in Three monitors, and i feel insulted

Flashing RGB light are legit the most annoying shit ever. I just have a black box for a case and my peripherals glow a dim solid color (so I can see them in the dark) if at all.

Honytawk ,

Nobody puts their RGB into flashing rainbow except for displays in shops.

Who only do it to show what kinds of colours you can choose.

It is so you can match the colour of every part to whatever you like. Without the manufacturer having to determine colours beforehand.

Scrath ,

People absolutely “do”. Mostly because they cannot be bothered to change the default setting or because they are teenagers and actually like it

hackris ,

Oh you sweet summer child.

gestures at my entire uni classroom, in which nearly all the people I know have RGB peripherals and computers at home

LANIK2000 ,

I largely mean flashing in general, it’s all just distracting to me. Also most people I know personally actually like the rainbow madness. Even if they try to match their keyboard and mouse, they’ll still often have a unicorn box. They also love putting their rainbow tower on top of the table, I really don’t get it. A friend’s uncle even has a case the height of a table, like bro… Is there no end to this?

learningduck ,

I used to have a cheap mechanical keyboard that has side rainbow RGB panels that can’t be turned off. I thought that would be turned off when I turn off the backlight. Nope.

onlinepersona , in Three monitors, and i feel insulted

What’s the point of RGB lights on computers? Does it somehow increase performance or something?

CC BY-NC-SA 4.0

Darkblue ,

Okay, I’ll bite:

Why are you putting a by-nc-sa 4.0 copyright disclaimer in your posts? Does that actually limit/grant anything?

Serious question, I don’t understand.

onlinepersona ,

It’s just for AI training. Opensource AI = good and allowed, commercial, closed source AI = bad.

I could look into poisoning their training set, but am too lazy atm. Maybe another time. Spoilers might come in handy for that. Maybe a spoiler like below would come in handy for now?

Anti Commercial AICC BY-NC-SA 4.0

Darkblue ,

Ah, I see. Thanks for taking the time to explain!

The spoiler could be handy if people keep asking you questions like I did.

Axolotl ,

If you have a small child you can distract it with the pretty lights while you are gaming. Or at least thats what I am told.

onlinepersona ,

Don’t want them sticking their finger in the fans though 😄

Anti Commercial AI thingyCC BY-NC-SA 4.0

Justas ,
@Justas@sh.itjust.works avatar

My case has RGB fans. Not because I wanted them, but because I wanted a PC between Covid lockdowns, had to pick from a small selection and RGB fans cost less than regular ones.

onlinepersona ,

Interesting 🤔 More material has to be used for the LEDs, so I don’t understand why it’s cheaper.

Anti Commercial AI thingyCC BY-NC-SA 4.0

Justas ,
@Justas@sh.itjust.works avatar

My LED ones were Corsair too, and non LED alternatives were lesser known brands.

metaldream ,

If it’s Corsair then they probably want to incentivize you installing their malware.

computerscientistI , in Three monitors, and i feel insulted

I do have 2 monitors. But I have an opaque side panel. Case closed. Pun intended.

MrScottyTay , in Three monitors, and i feel insulted

Yeah I hate that it seems now you have to pay a premium to NOT have RGB

I stray away from it as much as possible

Scrath ,

Can’t you just turn it off?

guiguinofake ,

My RAM goes back to unicorn puke each time I turn my computer on.

MonkderDritte ,

With some proprietary crashware that runs only on Windows drivers and with 7 background services, yes.

metaldream ,

OpenRGB is worth checking out if you haven’t already

MonkderDritte ,

Most GPU’s don’t even come without blinking lights anymore.

Hamartia ,

Potty mouth.

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

I once developed an electronic program guide for a cable TV company in New Zealand and I’d lose my mind if I had to use timezones. The basic rule of thumb was:

a) Internally you use UTC religiously. UTC is the same everywhere on Earth, time always goes forward, most languages have classes that represent instants, durations etc. In addition you make damned sure your server time is correct and UTC.

b) You only deal with timezones when presenting something to a user or taking input from a user

Prior to that I had worked for a US trading company that set all their servers to EST and was receiving trades through the system which expressed time & date ambiguously. Just had to assume everywhere that EST was the default but it was just dumb programming and I bet to this day every piece of code they develop has time bugs.

letsgo ,

Standardising on EST is fine; it’s just UTC plus a constant. If they flipped between EST and EDT, now that’d be insane.

arc ,

Yes as long as the rules are known, but it’s really just better to do things sanely and leave no margin of doubt.

loutr ,
@loutr@sh.itjust.works avatar

Yep, case in point flipping between EST and EDT may be “insane” but that’s the default for systemd-timesyncd. So now you have to be 100% certain that it’s disabled on your servers, and on the remote hosts interacting with them.

BeardedGingerWonder ,

Best I’ve seen is a process scheduled on UK local time (including hour changes) running on a server that maintains Eastern local (including hour changes) but the process logs in EST ( and does not move with the hour)

uis ,

time always goes forward

It not always goes and not always forward. I think you need metric time(TAI) instread.

arc , (edited )

UTC always goes forward regardless of the timezone and local time. That is why you should use it. To take my EPG situation above, I stored program start / end times in UTC so they would render properly even if DST kicked in or not during the middle of the program.

uis ,

Ok, this is more unix time quirk that can’t handle 24:00:00 and skipping 23:59:59.

UTC always goes forward regardless of the timezone and local time

But not unix time.

I stored program start / end times in UTC

If your program finishes in less than one seond it might report negative time.

arc ,

I didn’t say Unix time, I said UTC. And no it won’t report negative time, not unless somehow the system clock was modified while it was running…

uis , (edited )

not unless somehow the system clock was modified while it was running…

Which is how most systems handle leap seconds.

arc ,

Leap seconds still make time go forwards, not backwards. NTP clients would also resolve small time discrepancies while still advancing forwards prior to the next time sync.

uis ,

Leap seconds can make time go both ways, but adding them makes time stop/go back because 24:00:00 cannot be represented as 1/86400 part of day N instead of day N+1 on major OSes. And they were only added so far.

arc , (edited )

It doesn’t work like that. UTC goes forward always. Leap seconds are scheduled and known in advance. NTP time services will just smear time advancement a little to account for an additional second. Time never has to go backwards. This is how Google does it.

uis ,

This is how Google does it in their datacenters, but not major OSes by default

jabjoe , in Daylight saving creator left the chat....
@jabjoe@feddit.uk avatar

The only code with timezones should be the bit squishy meat bags touch. Everything’s is should be UNIX time. Or it you are unfortunate enough to be on Windows, NT time.

Some unfortunate programmers already have to deal with the speed of time not being a constant. In a distant future, timestamps might always have a universal position (and speed), and is that much different from timezones?

Or we find some way of removing time distortion of physics. Find the universe’s real systick. 😃

Zannsolo ,

No UTC. Convert/use UTC on the way in and covert to local time for the user or local time of the noun the date is for in the display.

jabjoe ,
@jabjoe@feddit.uk avatar

Any UTC type is going to do native time and convert for display.

But with native time directly, you can just an int64 with loads of space for fine resolution via multiplication.

Storing time broken up into separate units is crazy.

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

I feel you’re conflating TimeZones with ever-changing Daylight Savings time rules.

arc ,

True but so do most computers. Computers have a database of timezones and time offsets around the world. Depending on the UTC date and time, and your current timezone it will look up what offset to apply to show the local time. The database is very gnarly since rules change over time, e.g. maybe in the 70s some countries had longer DST to counteract oil shortages.

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

Not too late to abolish.

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

I would have stern words with John Riccitiello the ex Unity CEO who really neglected the core of their business for the years he was there. He was fired not too long ago. Games from scratch covered the conclusion of that train wreck. The new CEO seems to get that they need to refocus on the engine and making it better for developers versus chasing money. youtu.be/woTLLrgywwE?si=BIXTJGGMjpjv72vO

hemko , in Three monitors, and i feel insulted

This checks out.

I’m not a SWE ( though kinda code monkey anyways) and it’s 2 monitors no rbg (just all black thinkpad, keyboard backlight disabled)

AusatKeyboardPremi , (edited ) in there is no need

For me, desktop UI peaked at Windows 98.

Installing the 95/98 GTK theme by B00merang is one of the first things I do after a fresh installation of Linux Mint.

I do try other themes once in a blue moon. But I soon realise it is a downgrade and revert back. The last theme I tried was the Arc theme back in mid-late 2010s.

cosmicrookie ,
@cosmicrookie@lemmy.world avatar

My biggest hurtle is why i can’t see files as thumbnails when picking a file to open or save. It works for file library but the file picker won’t show images as thumbnails. Only a list view with tiny thumbnails that sra too small to see the actual image

AusatKeyboardPremi ,

I never found that to be a problem. In fact, I find the thumbnails distracting. But I can see it being a problem for others.

The rare occasion I work with image files, I just open it to identify, if I haven’t already named it properly.

It also helps that most of my workflows are not image-heavy.

cosmicrookie ,
@cosmicrookie@lemmy.world avatar

Yeah the thumbnail part becomes quite handy when picking pictures to edit or upload, especially when it is from a folder that mostly contains images

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