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.

Solemarc , in “ARE YOU ALL SEEING THIS”

I like how at the start of the line it explicitly says “out of memory” but we’re just pretending this is some satanic bullshit.

She obviously read the error to find “kill process” and “sacrifice child” but still ignored the memory error

CaptnNMorgan ,

What? How does her being weirded out about the words “sacrifice child” mean she ignored anything? It doesn’t matter what triggered the error, she is questioning why the code has dark word combinations

szczuroarturo ,

Obviusly beacuse kill process or kill child sounds bad so they had to find a synonym you silly goose.

efstajas ,

As opposed to “sacrifice child” which sounds … Good?

astropenguin5 ,

yes

efstajas ,

Right, because non-technical people would be expected to understand what an “out of memory” error means

Hadriscus ,

The point is, it’s cherry-picking

CaptnNMorgan ,

The point was irrelevant.

chatokun ,

You have so much to learn about people who feed into the Satanic panic. Cherry picking is by definition how they get there. One of Alex Jones biggest boggiemen for years was a subsection of a law that allowed medical testing on troops, and he always ignores the very next section that states that it all requires informed consent. Then lies and act like people would have no idea.

During covid he found an exercise that tried to assume 4 different future scenarios that may come into play, and ignored the positive leaning ones or nuetralish ones and went straight for the heavily authoritarian exercise because it used a possible pandemic as a background setting, then claimed it was all planned out and proof Covid was a bioweapon attack.

People like this willfully ignore things that give context, and will often repackage it without the context anytime they can.

CaptnNMorgan ,

So “sacrifice child” is a common term used in what language? I don’t believe in religion but I also don’t know a whole lot about computer science. So I would believe you if you said it meant something.

But seeing the words “sacrifice child” would rightfully startle anybody. It’s nothing to do with cherry picking or satanic panic. It’s everything to do with those two very specific words being right next to each other. Nothing else.

chatokun ,

Part of the whole panic and cherry picking thing is also an important next step: refusal to do proper research. A simple web search would correctly show you that it’s harmless. One might also find sources that claim it’s actually satanic, but they’d find those in blogs, social media, or message boards, while legitimate and official sites would show the correct info.

It’s up to the person to determine which one is correct. Most logical people would go with the simplest and least sensational definition being the correct one, while those with a conspiratorial mind view would ignore such common sense and choose to panic.

CaptnNMorgan ,

It’s still very jarring. Attributing it solely to satanic panic is wild though. It’s just someone’s first reaction to seeing something. Not everyone does research before having a natural human reaction.

chatokun ,

Well, we don’t really care about a natural emotion reaction in yout head. Once you start spreading it around and claiming something about it, then its a problem. If you just spread it as a “look at this weird thing I found, isn’t it funny?” That’s also fine. However, if you start spreading it like “can you believe this?” without checking into it, then you’re either gullible to the point of the internet being dangerous for you, or you’re complicit.

CaptnNMorgan ,

Everybody doesn’t have to be an expert on a subject to say “look at this, it’s crazy right?”. It’s up to experts to explain why it’s not actually crazy. It’s still crazy the term has to be “sacrifice child”, whether it’s common or not

chatokun ,

When you aren’t an expert, then you try to find answers by looking it up, as I explained. It isn’t hard, and this one in particular is a common joke. On some subjects a simple search won’t work as well, I’ll grant you that. However you seemed hellbent on defending people jumping to conclusions without som3 due diligence. That’s on the person. Misinformation spreads because lazy people want to go off of gut reactions and not even make sure the stuff they spread is true or a misunderstanding.

Why are you so invested in not even trying to fact check? Apologies if that isn’t your point, because it sure feels like it.

CaptnNMorgan ,

It’s not my point. No need to apologize though. I just think a lady online being startled by those words and posting about it saying “have you seen this?” is not at all the same as satanic panic. Who knows maybe that’s exactly what she was doing but I doubt it. It was probably just a startled Mom or Auntie

chatokun ,

Yeah, they probably were. I might be a bit more sensitive because I’ve seen people ruined by simple stuff like this, and algorithms that encorage going further down the shock, anger, and fear pipeline. I’m pretty adamant that people fact check instead of being shocked, as those moms and aunties might become future Ashli Babbitts. That of course could be just me paying more attention to that side of indoctrination, because I worry what harm it could cause.

Still, I was mostly engaging in an discussion that cherry picked stuff is dangerous even if people don’t think it is. Plenty of people have been radicalized starting with jokes and minor misunderstandings that never got corrected. I try to at least steer people towards looking into things even occasionally on joke posts. It may be overreacting, but I remember a time where I was dumb enough to accept “Nice guys finish last” as a somewhat true joke.

FigMcLargeHuge , in People keep telling me that Nuon is probably the most obscure video game platform ever created. Oh, they've not heard how the greybeards entertain themselves.

I mean, what else do you use for entertainment in AIX.

I once accidentally deleted all of our production portal apps in AIX. That was entertaining…

Unforeseen ,

I got my first job with AIX in the early 2000’s after the previous admin did a reinstall of the OS vs an upgrade on prod, with unverified backups. It was a resume generating event.

They lost over 3 months of data and barely survived it.

amphetaminisiert , in I still don't get buffers

And I still don’t really know how to use registers in vim 😂 I just use yy and paste 🥲

barsquid ,

I only know how to use them with q. I hope that’s a register, otherwise I will look foolish.

suy ,

They are. Registers are just “named boxes” where you can store some text and/or keystrokes. When yanking and pasting, the unnamed register is used if you don’t specify a name (you can still see or edit it explicitly). For recording a macro there is no default register, though. You need to give it a name.

Psaldorn ,
@Psaldorn@lemmy.world avatar

You just do " (listen for next character as register name)

Then, say q,w,e etc, then yy to yank as normal.

So "wyy

To retrieve it you use "wp

To add to it "Wyy

To view them :reg

Remember you can make "w anything, like "x or "p

And each time you yank it gets pushed into the default register history "0 "1 "2 etc

emergencybird ,

I didn’t know about registers, thank you for this!

o_d ,
@o_d@lemmygrad.ml avatar

Great explanation. Thank you!

amphetaminisiert ,

Ok I have to save that 🥲 thanks!

jol , in When your iRobot finally achieve teleportation

Let me guess, you live in Europe? That looks like your roomba wandered off to Null Island.

zinderic OP ,

I think this model can reach Null Island from anywhere, doesn’t have to be Europe. Can’t wait to see what else it’s capable of. But kind of hoping it won’t murder me in my sleep.

jol ,

I meant from the relative position on the map, it looks like you’re in Europe and the robot is in null island.

zqwzzle , in [Request] Looking for resources on terrible algorithms, architecture, and design
nickwitha_k OP ,

That’s incredible.

Mikufan , in We'll refactor this next year anyways

Why maintain what’s perfect?

Anticorp ,

I have a website that I haven’t touched in 14 years and it still makes money. Build it right the first time.

SolarMech ,

Never touched it? A website? What about updating frameworks for security issues?

Anticorp ,

Fuck all that noise.

Krafting , in Least favorite IDE ngl
@Krafting@lemmy.world avatar

5 down votes?? Yeah those must be the java devs.

Zangoose OP ,

I love not having downvotes federated 😎

Maalus ,

Most java devs are on intellij with a very rare exception here and there.

Vipsu , (edited )
@Vipsu@lemmy.world avatar

VSCode is also fairly popular among Java developers.
There’s also Eclipse Theia Blueprint which is basically a open source clone of VSCode.

scrawdaddy ,

Is it really? It’s been a couple of years since I used Java, but vs code sucked for it compared to IntelliJ. I used vscode for everything else but could never make a Java workflow stick.

Vipsu , (edited )
@Vipsu@lemmy.world avatar

It’s sort of minimalistic / lightweight alternative for IntellJ. Red Hat is working on the extension(s) which have worked fine for me at least for the past few years and it gets updates regularly.

I use VSCode for C++, C#, Java, Python and for things like docker-files, html etc. IntelJ is fine but a bit bloated in comparison with its menus, sub-menus, sub-sub-menus and built in unnecessary extra features for those just looking for code editor.

VSCode workflow with Java is mainly using it to write code, run tests, configure maven/gradle/docker/etc rest is more or less using CLI and Command palette.

riskable , in New language
@riskable@programming.dev avatar

I’m failing to see the problem. As long as one of the languages isn’t PHP they’re still probably better off 🤷

CanadaPlus ,

We’re talking about Java, not JavaScript, right?

KairuByte ,
@KairuByte@lemmy.dbzer0.com avatar

Both are fine tbh. Javascript has come a long way from a decade ago, and mixing in a decent framework like jquery does wonders.

CanadaPlus , (edited )

The type system is still really bad, and apparently TypeScript gets mixed with native libraries in common practice, which makes a bad situation worse when something breaks.

Edit: Messed up the name, fixed.

KairuByte ,
@KairuByte@lemmy.dbzer0.com avatar

The typing system is just a “quirk”. As long as you understand the (admittedly annoying) exceptions to the way your brain expects typing to work, everything works quite well.

And tbh, transpiled TypeScript libraries can be called from JavaScript as if it was JavaScript… because it is JavaScript. There’s no need to worry about typing unless you’re doing something like passing a string into a function that expects an int, and you’d run into those same problems if the function was originally JavaScript.

Edit: a word

CanadaPlus ,

I mean, sure, but taking that argument to it’s logical extreme we should still be programming in assembly, because you can if you just know enough to do it.

A language is a tool. If it’s harder to use successfully than the next tool it’s a worse tool.

KairuByte ,
@KairuByte@lemmy.dbzer0.com avatar

No? How is that the logical conclusion? You need to understand any language, and any quirk of that language, in order to effectively write in it. JavaScript is powerful, and moving farther every iteration. Strong typing is just not something it takes into consideration. In the same way that C# doesn’t take white space into consideration, and python doesn’t terminate its instructions with semicolons.

Each language is different, each language has its own quirks that you need to understand and get used to. If that wasn’t the case, we would have one objectively “perfect” programming language to use in all situations, on all machines, for every use case.

CanadaPlus , (edited )

You need to understand any language, and any quirk of that language, in order to effectively write in it.

That seems to imply they all have the same amount of quirks, which I think most people here would agree is untrue

Something like Haskell has far, far fewer quirks than x86 assembly code. It really only has quirks to do with interactivity; everything else is very predictable and visible in the code. Meanwhile, assembly code is but a maximally useful set of quirks in a specific electronic circuit.

Ditto if you look at older languages. FORTRAN is unpleasantly quirky, which is why it’s almost obsolete.

If that wasn’t the case, we would have one objectively “perfect” programming language to use in all situations, on all machines, for every use case.

I mean, I hold out hope that that will eventually happen, at least for the vast majority of use cases and machines. Obviously we’re not there yet.

There have been languages that basically dominate their own niche. C/C++ was almost the only game in town for performance coding until someone discovered a way to compile mid-level code while also guaranteeing memory safety. Memory errors were a terrible quirk, so now Rust might steal its crown.

sacredfire ,

I personally don’t think that’s the issue with the typing system. With vanilla js if I’m looking at a function that has say four parameters that are not trivial objects like strings but are actually complex (think dependency injection) it’s very difficult for me to know what these objects are other than reading through the code of the function.

Actually, even if the parameters are simple, I’m not sure of that until I look into the function and see what it’s doing. This is a huge pain in the ass most the time, because I just wanna look at the function name its parameters and move on. However, that being said, most of this can be remedied with jsdocs and a good linter/lsp.

brian ,

decent framework

jquery

It’s current year, you have to choose one. there really isn’t any reason to use jquery other than legacy code

KairuByte ,
@KairuByte@lemmy.dbzer0.com avatar

Jquery is still extremely relevant. React exists as well, and is also a good framework. I just happened to think of jquery first.

brian ,

what does jquery give you that vanilla js doesn’t? it was good before browser inconsistencies got ironed out and js didn’t have as many features built in, but nowadays I have no idea why someone would need it

dezvous ,

What’s wrong with PHP?

Restaldt ,

PHP5 was basically the Adolf Hitler of programming languages

You know how something can be so terrible it ruins something forever? Like the hitler stache

msage ,

5.3 was a big leap for PHP. It became actually very good at that point.

I learned it when it was on 4 and boy oh boy was that something.

But nowadays, with 8, it works great, tooling is fantastic. I just kinda wish the documentation, which is absolutely top notch for 90% of the language, was this good for the rest 10%.

I want to play around with Fibers, but I just don’t get the info I want to.

pthreads were so out of date in docs it was shameful.

But the language is good, typing is coming along nicely, and basically the only thing I want PHP to do is to call Postgres and encode the output to json. Works like a charm.

Restaldt ,

Yeah i’ve heard good things about it recently. I’ve always liked how easy curl can be in php.

Adding typing seems like it would fix most of the problems i did run into but

Has PHP raised its standards on function naming? Or do you still have batshit situations like realEscapeString2() because the first 30 other functions for escaping strings are deprecated?

isVeryLoud ,

I’m actually sad about the Hitler stache, it was also the Chaplin stache.

dezvous ,

Lol okay maybe that’s true :) but PHP is great nowadays and with frameworks like Symfony and Larvel it’s easier than ever to build applications

MyNamesNotRobert , (edited )

If you get even 1 thing wrong, the entire program stops working and you don’t get any information about it. Turns out those cryptic errors like “error: object reference not set to instance of an object at address 0x007e00” are kind of important information to have. Unless you specifically know where it’s crashing, finding the source of the problem is like finding a needle in a haystack. If it’s your own code it’s borderline manageable but you’ll regret every decision that led you up to that point. If it’s someone else’s code such as an old project from 9 years ago that doesn’t work anymore, absolutely forget about it.

The only advantage of php is that it’s incredibly lightweight. I was running an Athlon XP home server on Gentoo as late as 2022 and still had php running despite only having the SSE1 instruction set and a cpu less powerful than whats probably on a modern led lightbulb.

But ACKTCHUALLY I think django and python bottles can be run on even shittier computers than php can since it uses python and python has been demonstrated to be runnable on a pentium 1. So there is no reason to use php.

rufus , in New language

And one of them is Java?

BeigeAgenda ,
@BeigeAgenda@lemmy.ca avatar

Yes Java, Scala, Kotlin, Jython and Perl

jaybone ,

Whatever you do in perl, I can do in PL/SQL.

BeigeAgenda ,
@BeigeAgenda@lemmy.ca avatar

I would rather use pgsql or tsql instead of PL/SQL, mostly because of oracle.

tinyVoltron ,
@tinyVoltron@lemmy.world avatar

What about Groovy?

BeigeAgenda ,
@BeigeAgenda@lemmy.ca avatar

Forgot about that one, even if I just worked on a Jenkins script 🙄

whoisearth ,
@whoisearth@lemmy.ca avatar

Of course Perl is in there lol

Zagorath , in Rebase Supremacy
@Zagorath@aussie.zone avatar

Okay this is the second time I’ve seen Sydney Sweeney referenced in a meme in less than half a day. I had never heard of her before. Who is she, and why is she suddenly attracting so much meme attention?

loutr , (edited )
@loutr@sh.itjust.works avatar

She’s an Australian American actress who blew up last year (she was in euphoria I think?), expect to see her in a ton of upcoming blockbusters.

arken ,

Her blown up remains you mean?

loutr ,
@loutr@sh.itjust.works avatar

Yeah, I had a feeling that was not the best way to put it but I was in a hurry :)

Conyak ,

She is from Spokane Washington not Australia. She got a lot of recognition for her role in Euphoria and is blowing up a bit right now because she is a young, attractive, talented actress.

Clanket ,

She was excellent in the first season of White Lotus on Sky too. Great show.

MargotRobbie ,

You are probably thinking of another talented blonde Australian actress.

bradorsomething ,

Pretty sure Radha Mitchell only does front end development.

Kalothar ,

How dare you speak to Margot Robbie like that

Cold_Brew_Enema ,

She also has a pair of massive blockbusters

Strawberry ,

She’s an American actress who was in Handmaid’s Tale and a few other things and then blew up thanks to her role in Euphoria. She’s become a bit of a meme recently because online conservatives think that her boobs are anti-woke

Zagorath ,
@Zagorath@aussie.zone avatar
FriendBesto ,

Two reasons.

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.

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

Cool, so sunrise is at 8 PM now. Or maybe there’s just no consistent relationship between what a clock on the East and West coast of America say, and a call can’t be scheduled between them.

The real problem with time and date is that it has to fit social and natural systems as well as actual passage of time. A lot of nuance is unavoidable.

Muehe ,

Cool, so sunrise is at 8 PM now.

And the problem with that is… ?

Or maybe there’s just no consistent relationship between what a clock on the East and West coast of America say, and a call can’t be scheduled between them.

If you get rid of timezones they all say the same time, no? If you want to schedule a call you just say the time and save the timzone offset fiddling.

The real problem with time and date is that it has to fit social and natural systems as well as actual passage of time.

Can you give any more concrete examples? None come to mind beyond habit, which is not an immutable thing.

NeatNit , (edited )

And the problem with that is… ?

The problem is that the date changes in the middle of the day. 00:00 (“midnight”) should occur around the middle of the night, so that one day (sunrise to sunset) has a single date assigned to it.

In my opinion it would make more sense to set 00:00 at slightly before sunrise (roughly 4:00 by my clock), that way one night “belongs” to the day that preceded it. But for whatever reason they decided that the date changes in the middle of the night. That’s fine. Middle of the day would not be fine.

Edit: hey cool, Japan kinda agrees with me! en.wikipedia.org/…/Date_and_time_notation_in_Japa…

Muehe ,

The fact that you give a preference to change something here which you give as an example for something that shouldn’t be changed because it would be problematic is deeply ironic to me.

Also, again, I don’t really see the problem with changing the date in the middle of the day. It’s virtually the same as changing it at 00:00 or 04:00, you change the date once every 24 hours. Right now you have a situation where one persons 3rd of the month could be another persons 2nd or 4th, depending on where on the globe they are. That’s not really ideal either, especially for that call scheduling example by the GP.

NeatNit ,

Don’t you think it makes sense for the date to change while ~everyone is asleep?

International light-speed communication is what we internet dwellers are used to but it’s not most people’s experience. Most people rarely talk to people from another continent.

Muehe ,

Oh don’t get me wrong, I see how it makes sense. I’m just saying that 1) it is arbitrary nonetheless and 2) it doesn’t outweigh the benefits that could be gained by using a single global timezone. Incidence angle of solar radiation is hardly something most people need or even want to track beyond a certain degree (dawn, noon, dusk, midnight), and the times that would coincide with at your latitude and longitude can be easily learned.

NeatNit ,

I guess I disagree about the benefits of a single global timezone. We already have that for technology to use - the unix timestamp. All potential benefits of a unified timezone could be (and are) gained by having software convert times to whichever timezone you need.

Maybe I’m missing something. What do you think the benefits would be?

Muehe ,

We already have that for technology to use - the unix timestamp.

A unix timestamp is an offset to a UTC date, not a timezone. But fair enough, there is UTC. It’s not used by default however, except by scientists and programmers maybe.

Maybe I’m missing something. What do you think the benefits would be?

Removing ambiguity from casual language. Currently when you state a time you are almost always implying your local timezone applies, which might be unknown information to the recipient, especially with written sources like these comments here. With everybody using the same timezone instead you would always make an unambiguous statement about the specific time by default.

NeatNit ,

Currently when you state a time you are almost always implying your local timezone applies, which might be unknown information to the recipient, especially with written sources like these comments here.

In most people’s everyday life that’s really rare. And when it does happen it’s usually clarified. In more automated contexts (e.g. a scheduled YouTube premiere) the software converts it automatically - the author inputs the date and time in their own timezone, and viewer sees the converted date and time in their own timezone.

When it does happen it reminds us that the date and time falls on a different time of day for different participants.

With everybody using the same timezone instead you would always make an unambiguous statement about the specific time by default.

22:00, midday.

Person A: “Meet me here tomorrow at 01:00”

Person B: “Sure no problem”

… three hours later …

Person A: “Ugh, I told him to be here at 01:00, where is he?”

… 24 hours later …

Person B: “Ugh, he told me to come here at 01:00, where is he?”

Muehe ,

And when it does happen it’s usually clarified. In more automated contexts (e.g. a scheduled YouTube premiere) the software converts it automatically - the author inputs the date and time in their own timezone, and viewer sees the converted date and time in their own timezone.

My point exactly though, this is a whole lot of complexity we could just get rid of by using a single timezone, with the added benefit of that working without any automation or clarification. Next Tuesday 14:00? Same time for everybody, regardless of locality. Everyone will know what part of the solar day that is for them by habit.

When it does happen it reminds us that the date and time falls on a different time of day for different participants.

The complexity of coordinating different solar cycles is there either way and unavoidable. So why not use the simpler system?

Meet me here tomorrow at 01:00

Yes, semantic drift in these terms would be unavoidable, but I still see the long-term benefits to clarity outweighing the short-term costs in it.

NeatNit ,

I can respect your position but I don’t think you could ever change my mind. The date can’t change in the middle of the day. I can’t accept that.

Muehe ,

I don’t think you could ever change my mind.

Fair enough, I still think you’d get used to it if it were to happen.

CanadaPlus ,

Tilde as natural language punctuation, meaning “roughly” or “approximately”. I like it.

eatCasserole ,

Anyone who works nights, or an evening job that runs late like a bar or something, is currently used to having the date change in the middle of their “day”. I don’t think it’s really that big of a deal. It would be super weird at first, but kids who grew up with it would find our current system just as bananas as we would find this.

NeatNit ,

Yeah but you still mentally consider it to be the same day as the preceding day, until you go to sleep. (Unless you stay up all night but that’s very uncommon, my sympathy to night shift workers)

If the date changes in the middle of the day, does that make the latter half of the day “tomorrow” from the first half? That’s absurd to me.

redcalcium ,

It’s not that simple as people has this urge to associate 12pm to noon and 12am to midnight. Just look at china where the whole country is under a single timezone despite spanning from UTC+05:00 to UTC+09:00. People on xinjiang ended up using their own unofficial timezone (UTC+06:00) for their daily activities instead of using china’s official timezone (UTC+08:00) because it’s inconvenient to them.

Muehe ,

people has this urge to associate 12pm to noon and 12am to midnight

Yeah but that is exactly what I mean with habitual. It’s a learned association of questionable utility. It can be unlearned and replaced with 0400 is noon or 1600 is noon based on your longitude just as well. Dawn and dusk are dependent on latitude and have to be learned for anything not smack-dab on the equator anyway.

I can see why that would be inconvenient to people, but I would maintain that is only so due to them clinging to a habit.

redcalcium ,

It could be worse. What would happen on people that live in UTC+12:00 ? When your friend say “lets meet on Tuesday”, which Tuesday it is (because the day changes at noon)? People will resist such majorly inconvenience changes unless the benefit of switching is clear for them. Forcing unpopular changes will guarantee people using unofficial timezone which cause even more confusion down the line.

Muehe ,

What would happen on people that live in UTC+12:00 ? When your friend say “lets meet on Tuesday”, which Tuesday it is (because the day changes at noon)?

Given how +12 is at the front of the “date wave” currently they would probably take it to mean the Monday/Tuesday noon.

People will resist such majorly inconvenience changes unless the benefit of switching is clear for them. Forcing unpopular changes will guarantee people using unofficial timezone which cause even more confusion down the line.

Yeah fair. To me the benefit is clear, there is no good rhyme or reason to timezones as a totality, we should come up with a better system. A straightforward approach like using UTC offsets seems best.

ricecake ,

They just gave an example though of people who made up their own timezone because the official one was bad.

These systems exist for people and if no one other than programmers wants to do the internal calculus of “The sun is setting and they’re a quarter of the earths rotation Eastward, so that means they’re probably in bed” every time you want to call someone, then we shouldn’t make the standard that way.

You also get some things that become way more complicated, like “send the user a notification at the start of the normal working day”.
Right now you just look up the timezone in their profile and send it at 9:00, but without timezones, you need a “database of regional conventions for coordinating business hours”, which is just a worse way of having timezones.

Timezones exist because they have a purpose. UTC exists because having some sort of coordinated universal time is helpful and people (outside of Greenwich) don’t use it because it isn’t helpful to them, except in specific circumstances.

It’s like abolishing everything except latin1 because Unicode is a pain. Wanting to write your name in your traditional alphabet is just a habit that people can break.

Muehe ,

They just gave an example though of people who made up their own timezone because the official one was bad.

Yeah, and in reply I argued that they did this out of not wanting to change their habit of associating 12 o’clock with noon. Which is in my opinion an understandable impulse but not a good reason to preserve the status quo.

These systems exist for people

Yeah fair, I’m aware I’m toeing unpopular opinion territory here.

and if no one other than programmers wants to do the internal calculus of “The sun is setting and they’re a quarter of the earths rotation Eastward, so that means they’re probably in bed” every time you want to call someone, then we shouldn’t make the standard that way.

But the standard is like that right now, worse even with DST and other complexities.

Right now you just look up the timezone in their profile and send it at 9:00, but without timezones, you need a “database of regional conventions for coordinating business hours”, which is just a worse way of having timezones.

Well no you need an offset. Like the user has set +8:30 as their offset, so send the notification at 00:30 UTC. That’s not worse than having timezones, that’s having timezones but simpler.

Timezones exist because they have a purpose.

Yeah, and some of those purposes are bonkers.

It’s like abolishing everything except latin1 because Unicode is a pain.

More like getting everyone to use Unicode, but whatever. Like I said I see why it would be unpopular to the point of being unenforceable, but that doesn’t mean an unambiguous way of communicating time as the default would be entirely undesirable.

ricecake ,

My point is we have that unambiguous system you want. People don’t use it except in specific circumstances. Instead of saying those people are wrong, you can look at why they don’t use UTC for everything.

People don’t use UTC because people aren’t usually interested in universal time, they’re interested in time of day, which is fundamentally tied to the position of the sun and people’s day night cycles.
The people in China who made their own bootleg timezone illustrate that perfectly.

We don’t currently have to reason about where someone is physically located to know if they’re likely asleep. I’m in UTC-4. It’s 15:30. It’s 19:30 in London. I know the evening is advanced enough that I shouldn’t call my coworker there, but early enough that I can if it’s an emergency. I forgot California’s timezone, so I googled it, and it’s UTC-7, so it’s 12:30 there. I should probably wait half an hour to call to avoid the typical lunch hour.
Otherwise I use a tool to look up and see that solar noon in California is around 20:00, so people are probably doing their midday routines then. Except that California shifted business hours so that they’re offset an hour from solar noon to reduce energy consumption, which I didn’t know.
And what do we do about places like Texas where solar noon varies by more than an hour on different ends of the state? For simplicity, most regions like to synchronize working hours inside their contiguous economic sphere. So I can assume that the state would pass a law relating to what time was considered “convention”, since we need schools, businesses, banks and government services to be consistent inside a jurisdiction.
It’s important we have stuff like that be uniform, because jurisdictions have laws about stuff like preventing teens from working during school hours, or preventing schools from starting class so early it interferes with children’s sleep or staying in session so long it interferes with their evenings.
Texas can just mandate that standard business hours are 14:00 to 22:00.
Thank God they didn’t end up having to mandate that the standard business day is split across two different calendar days like California. Imagine the hell of child labor laws when you have to stipulate that teens can’t work between the hours of 15:00 and 1:00 the next day unless said scheduled interval begins on a weekend.
Business hours being posted as 00:00 - 03:00, 17:00-00:00 for things like Sandwich shops is my favorite though. “I closed for the night today at 3, but I’ll be open again later today in the morning at 17” just has a delightfully complicated inhuman ring to it.

There’s a reason people like their days to line up with their days, and we like to base our clocks around how we live our lives where we are, not where the sun in in Greenwich.

I fundamentally disagree that a system that’s identical to how we work with timezones but non-standard, like a UTC offset system you describe, is simpler than timezones, which are standardized UTC offsets. At best it’s timezones with a different name and more of them.

Latin1 is far simpler than Unicode, and doesn’t have conversion issues. It’s static and very difficult to get wrong. It’s clearly a better match for comparison to UTC-only. It’s only downside is that it leaves everyone outside of a small segment of the worlds population to build their own janky system for dealing with their silly human need to reason about time in an intuitive sense/write their names.

davidgro ,

Here’s a quick essay about the problems with it.

TL;DR - as long as people generally prefer to sleep when it’s dark and wake when it’s light (and they always will in general) time zones are basically needed as a form of lookup table for when to try to communicate with other places.

Muehe ,

Well the essay has a lot to discuss, part of which is already (or will be) addressed up and down thread, so towards your TL;DR:

Yes of course, I’m not suggesting to disrupt circadian rhythms. And yes, lookup tables for solar days will always be required, but I would argue this is an inherent complexity to how we measure time in relation to our behavioural patterns and environment. However doing that by using variously large timezones that do not quite match solar days at their edges anyway, with a lot of them changing their offsets by an hour for half the year, and some of them using half-hour offsets throughout the year, that is complexity added for administrative reasons which are partly obsolete and largely irrelevant to the question off what would benefit humanity as a whole the most.

If everybody were to use one single timezone you would memorise your relative offset to noon/midnight pretty fast. Like it’s one number to remember, e.g. where you are 4:40am is noon, 4:40pm is midnight, your offset is -7:20. Having those times be (roughly) 12 (for half the year) is just tradition and something we have every child learn. We could teach them about solar offsets just as well. It’s not even really more complex, arguably much less so since you remove the need to confuse them with the chaos that global timezones have grown to be historically.

CanadaPlus , (edited )

And the problem with that is… ?

Subjective. It seems like it would be a bit confusing, though, if you had to relearn times whenever you travel somewhere (edit: and dates could flip over in the middle of a work day). But maybe you’d prefer that.

If you get rid of timezones they all say the same time, no?

Before they were invented, it was literally just anarchy. People set it to match people they knew. That’s what I was thinking of, but it could also just be one place where noon is at 12:00 PM.

Can you give any more concrete examples? None come to mind beyond habit, which is not an immutable thing.

Well, there’s not a round number of second in a day, or days in a year, for example, since they’re all naturally occurring and arbitrary. And then the Earth turns at a subtly non-constant rate, and people have settled on a seven day week. If you do have timezones, it doesn’t make sense to be inflexible with them when they run up against geography or trade and cultural ties, so they’ll be curvy, and geopolitics will itself change over decades and someone will want to change which one they’re in. All of this is a headache if you just want to do a calendar calculation.

Muehe ,

It seems like it would be a bit confusing, though, if you had to relearn times whenever you travel somewhere (edit: and dates could flip over in the middle of a work day). But maybe you’d prefer that.

I’d prefer that over having to change clocks when you travel, and having to have knowledge about the location and possibly having to flip the date when you encounter a reference to a specific time, yes.

Before they were invented, it was literally just anarchy. People set it to match people they knew. That’s what I was thinking of, but it could also just be one place where noon is at 12:00 PM.

Yes, you would obviously do the latter. No sense it going back to the bad old days.

Well, there’s not a round number of second in a day, or days in a year, for example, since they’re all naturally occurring and arbitrary.

Days in a year ok (except leap years). But seconds in a day are round (discounting days with leap seconds). 24 * 60 * 60 = 86400, which is divisible by two. Did you mean they are not based on the decimal system? I’d be up for a decimal based time system and a reorganised calendar, but that wasn’t the topic of discussion here.

And then the Earth turns at a subtly non-constant rate, and people have settled on a seven day week.

Yeah but none of that has much impact on the timezone debate.

If you do have timezones, it doesn’t make sense to be inflexible with them when they run up against geography or trade and cultural ties, so they’ll be curvy, and geopolitics will itself change over decades and someone will want to change which one they’re in.

Fair enough. I acknowledged this point in my other post, that there are historical reasons for timezones mostly rooted in administrative requirements. But I don’t think this is a good reason to not adopt a better system per se.

All of this is a headache if you just want to do a calendar calculation.

Exactly! So out with the old, in with the new. Sure this will create some other headaches, especially given how deeply rooted some of the relevant nomenclature is in most languages, but the sooner we change this the less it will hurt. I see that it might be a non-starter given the inertia and disunity of globalised society working against it, but it still seems desirable nonetheless, to me at least.

CanadaPlus , (edited )

Days in a year ok (except leap years). But seconds in a day are round (discounting days with leap seconds). 24 * 60 * 60 = 86400, which is divisible by two. Did you mean they are not based on the decimal system? I’d be up for a decimal based time system and a reorganised calendar, but that wasn’t the topic of discussion here.

Oops, I thought seconds were defined by the meter at some point. Nope, a pendulum 1/40000 of the distance from the pole to the equator just happens to measure the second near-perfectly, but the second stayed defined by astronomical motions until the atomic standard. Still, do to said variability of the Earth’s rotation since then it’s 86400.002, so even if it stopped changing we’d need leap seconds.

The point being that even if you get rid of timezones the calendar will still suck to work with. I question whether we should even have fixed days, months and years, if the time doesn’t relate to the position of the sun in the sky. You might as well just go with Unix epoch, and leave days to be informal. Of course, then you’d have to calculate multiples of 86400 a lot to set appointments. Maybe we need a new decimal second as well.

thanks_shakey_snake ,

Yeah, tbh the “no timezones” approach comes with its own basket of problems that isn’t necessarily better than the “with timezones” basket. The system needed to find a balance between being useful locally, but intelligible across regions. Especially challenging before ubiquitous telecommunications

Imagine having to rethink the social norms around time every time you travel or meet someone from far away. They say “Oh I work a 9-to-5 office job” and then you need to figure out where they live to understand what that means. Or a doctor writes a book where they recommend that you get to bed by 2:00PM every night, and then you need to figure out how to translate that to a time that makes sense for you.

We’d invent and use informal timezones anyway, and then we’d be writing Javascript functions to translate “real” times to “colloquial” times, and that’s pretty close to just storing datetimes in UTC then translating them to a relevant timezone ad hoc, which is what we’re already doing.

That’s what my rational programmer brain says. My emotional programmer brain is exactly this meme.

CanadaPlus ,

My emotional brain thinks we should just give up and climb back into the trees.

Funny enough, a story just broke about a lunar timezone, which would lose a second or so every year relative to Earth due to relativity. If space travel becomes a big thing we’re going to have to choose a frame of reference, and probably just go with Unix epoch in that frame as the universal time. Hopefully it doesn’t happen to pass through a black hole, because there’s no consistent way to define a frame of reference that’s not subject to gravity.

davidgro ,

Yes! Very much so.

This is a good illustration of exactly why timezones exist and the issues with not having them.

CanadaPlus ,

This guy has a lot of these, it’s kind of a classic now. I hadn’t even thought of managing days.

psud ,

China uses a single timezone where similar width countries use three or more. So some parts start the day at 8am, others start at 10am

If we used a single timezone in the west it would be UTC which is practically on the other side of the world to me - I’m in +11 now, +10 when we go back to standard time in a week. That would make it reasonably easy here, the clock would be out by near enough to 12 hours (if you prefer light in the evening) that you’d be fine on a 12 hour clock just inverting am and pm

CanadaPlus , (edited )

America would be a trip, though. 8 PM sunrise would be a thing depending on time of year.

TIL about China.

RustyShackleford , (edited ) in As someone not in tech, I have no idea how to refer to my tech friends' jobs

Tech-priest.

Magos.

O, si es necesario, El Señor Arch-Magos.

Todos alaban al Santo Omnissiah, y así sucesivamente.

Patches ,

My email signature is “Via con dios”

RustyShackleford ,

Claro que sí, con gusto, y por supuesto.

“Via Vaya con dios”

Or… was that… the joke?

Potentially me:

Roldyclark ,

Dale?

RustyShackleford , (edited )

I can neither confirm nor deny.

ᵀᶦᵐᵉ ᶦˢ ᵃ ᶠˡᵃᵗ ᶜᶦʳᶜˡᵉ.

OpenStars , in As someone not in tech, I have no idea how to refer to my tech friends' jobs
@OpenStars@startrek.website avatar

“Job titles are actually a fluid concept - why feel a strong need to label everything?” :-D

GenderNeutralBro ,

My job title has changed 5x more than my actual job. I honestly don’t even know what my current title is.

I wonder how many man-hours (and at what average salary) has been spent deciding on title changes that have literally zero impact at my company. I’m sure every change involves meetings full of highly-paid executives.

OpenStars ,
@OpenStars@startrek.website avatar

“I (want to keep my job and therefore I) AGREE WITH YOU 100%”

They collect the big bucks, the rest of us can suck dirt - barely not able to afford a home, food, medical care, etc. Oh wait, sorry, I meant “YES SIR/MAM!”

Conyak , in How IT People See Each Other

As someone who has been working in IT for 20+ years this is completely inaccurate except for the sys admin column.

MadMadBunny ,

Found the SysAdmin

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