243
submitted 10 months ago* (last edited 10 months ago) by Corgana@startrek.website to c/startrek@startrek.website
you are viewing a single comment's thread
view the rest of the comments
[-] danielquinn@lemmy.ca 7 points 10 months ago

It appears to be using JavaScript to count down, and JavaScript uses a browser's local time by default rather than something sensible like UTC. Someone else has noticed it in the Mastodon thread: https://aus.social/@USSJoshuaNorton@trekkies.social/111656784005786289

[-] aubertlone@lemmy.world 4 points 10 months ago

I mean wouldn't any sensible developer just use one of the many npm packages that do count down from UTC?

Which would also be using JavaScript?

Sorry I don't mean to quibble it's just that imo JavaScript has nothing to do with this faulty countdown, it has to do with the developer overlooking edge cases.

[-] shnizmuffin@lemmy.inbutts.lol 4 points 10 months ago

the developer overlooking edge cases.

I tale every opportunity to share my favorite Computerphile episode: The Problem with Time & Timezones.

[-] aubertlone@lemmy.world 1 points 10 months ago

I have seen this episode.

That is EXACTLY why I don't understand why someone wouldn't just use an NPM package that already has all that stuff sorted out. Could you imagine trying to code to deal with different time zones?

Forget about it.

[-] el_abuelo@lemmy.ml 2 points 10 months ago

So because they messed up, they're not a sensible developer? Jeez...I sure wouldn't like to work with you.

Mistakes are part of life, especially when your job is solving problems, and thus you can be both a sensible developer and still make mistakes.

If you're not making mistakes, you're not trying hard enough.

[-] aubertlone@lemmy.world 1 points 10 months ago

...

You make it sound like I verbally abuse people for bad code.

It's famously difficult to implement your own time-based systems that also deal with timezones.

Ya know, I'm fairly certain I wouldn't want to work with someone like you either, who seems to jump to conclusions based on an off-hand comment I made that wasn't meant to be particularly cynical.

My main point of the previous comment is that it has nothing to do with JAVASCRIPT, just the developer on the other end. Drawn whatever conclusions you want from that assertion

[-] 4am@lemm.ee 1 points 10 months ago

Wouldn’t those also reflect an error in the local system clock if it was not set correctly?

this post was submitted on 28 Dec 2023
243 points (98.0% liked)

Star Trek

10571 readers
30 users here now

r/startrek: The Next Generation

Star Trek news and discussion. No slash fic...

Maybe a little slash fic.


New to Star Trek and wondering where to start?


Rules

1 Be constructiveAll posts/comments must be thoughtful and balanced.


2 Be welcomingIt is important that everyone from newbies to OG Trekkers feel welcome, no matter their gender, sexual orientation, religion or race.


3 Be truthfulAll posts/comments must be factually accurate and verifiable. We are not a place for gossip, rumors, or manipulative or misleading content.


4 Be niceIf a polite way cannot be found to phrase what it is you want to say, don't say anything at all. Insulting or disparaging remarks about any human being are expressly not allowed.


5 SpoilersUtilize the spoiler system for any and all spoilers relating to the most recently-aired episodes, as well as previews for upcoming episodes. There is no formal spoiler protection for episodes/films after they have been available for approximately one week.


6 Keep on-topicAll submissions must be directly about the Star Trek franchise (the shows, movies, books etc.). Off-topic discussions are welcome at c/quarks.


7 MetaQuestions and concerns about moderator actions should be brought forward via DM.


Upcoming Episodes

Date Episode Title
11-07 LD 5x04 "A Farewell to Farms"
11-14 LD 5x05 "Star Base 80?"
11-21 LD 5x06 "Of Gods and Angels"
11-28 LD 5x07 "Fully Dilated"
12-05 LD 5x08 "Upper Decks"

Episode Discussion Archive


In Production

Strange New Worlds (2025)

Section 31 (2025-01-24)

Starfleet Academy (TBA)

In Development

Untitled comedy series


Wondering where to stream a series? Check here.


Allied Discord Server


founded 1 year ago
MODERATORS