Clock but we saved DB space by just returning the index of the array of DigitNames

288 points · 38 comments · view on lemmy.world

38 Comments

flipflop97@discuss.tchncs.de · 69 pts · 298d (11 replies)

Clock but it's made by an LLM:

https://clocks.brianmoore.com/

southernwolf@pawb.social · 24 pts · 297d

Lol, this both shows how bad most models are... But also how damn good the two big OSS models are, DeepSeek and Kimi.

Whelks_chance@lemmy.world · 13 pts · 297d

Amazing

YiddishMcSquidish@lemmy.today · 7 pts · 296d (6 replies)

What an acid trip of a site. It updated while I was scrolling and legit thought I was having a flashback.

JustARegularNerd@lemmy.dbzer0.com · 2 pts · 296d (5 replies)

I ran into the same thing - they seem to change (potentially to other outputs from the same model?) when you click on the Question mark and go back.

derpgon@programming.dev · 5 pts · 296d (4 replies)

Question mark says they are updated every minute, even gives you a prompt.

Watching for several minutes, none of then was good except Kimi K2. Sure, not every time, but solid third of them was actually working, while the others scored a perfect 0.

Also, as a Kimi K2 user (because Kagi), I approve. I don't use Kimi K2 for coding, though, because JetBrains doesn't offer that, but I use it in Kagi Assistant.

tyler@programming.dev · 4 pts · 296d (3 replies)

deepseek v3.1 had an (almost) perfect clock once for me.

derpgon@programming.dev · 1 pts · 295d (2 replies)

Did it show the correct time? Did it tick correctly? From my observations, even clocks that looked okay had like wrong second speed, swapped hour and minute, or was rotated altogether.

tyler@programming.dev · 2 pts · 295d

Yeah it was showing the correct time and right tick speed. But it was only one of the clocks on that model. The rest were wrong.

tyler@programming.dev · 1 pts · 295d

Yeah it was showing the correct time and right tick speed. But it was only one of the clocks on that model. The rest were wrong.

mogranja@lemmy.world · 6 pts · 296d

You know, it looks like clocks drawn by dementia patients

satanmat@lemmy.world · 2 pts · 297d

Oh my god. I love that so much.

Now I need to do that but randomize which one is displayed ….

davidgro@lemmy.world · 35 pts · 298d (8 replies)

That really is more logical. (Except that the initial element generally goes in the top slot of the clock. Note that 12 is the first hour both of AM and of PM.)

NateNate60@lemmy.world · 20 pts · 298d (5 replies)

A strictly logical clock for a 24-hour day would have 0 at the top with 1 on the right and 23 on the left. And it would be only ever set to UTC.

bdonvr@thelemmy.club · 8 pts · 297d (2 replies)

A strictly logical 24 hour clock would just display the digits tbh.

InnerScientist@lemmy.world · 5 pts · 297d (1 reply)

In binary

bdonvr@thelemmy.club · 4 pts · 297d

I'm not sure I'd argue binary is more or less "logical". A number is a number.

ooterness@lemmy.world · 7 pts · 297d (1 reply)

UTC has leap seconds. We can do better. PTP/TAI for lyfe.

A perfectly logical clock would use a radio broadcast to count off seconds since a predefined epoch. Put a few of them way up high, so more people can see it, and make them so astonishingly precise that you could tell where you are just by listening.

ArsonButCute@lemmy.dbzer0.com · 3 pts · 296d

They should put atomic clocks in the GPS satellites for exactly this purpose.

Deebster@infosec.pub · 5 pts · 298d (1 reply)

@Agent641@lemmy.world right now

man in a red t-shirt screaming I can't win

(image proxy seems broken, it's this gif)

Agent641@lemmy.world · 2 pts · 298d

Look away, I don't want you to see me cry

Australis13@fedia.io · 9 pts · 298d (4 replies)

Well, if we're saving DB space, why not just use the generate_series function (assuming you're running PostgreSQL...)?

Agent641@lemmy.world · 9 pts · 298d (3 replies)

Hey man, shoulda coulda woulda, was it in the spec?

Australis13@fedia.io · 6 pts · 297d (2 replies)

What's a little scope creep between friends?

rikudou@lemmings.world · 4 pts · 297d (1 reply)

Why limit it to friends? In my company, we do scope creep for everyone!

Australis13@fedia.io · 3 pts · 297d

There's something to be said for consistency!

palordrolap@fedia.io · 9 pts · 297d (2 replies)

Wait until you learn how months are numbered in some programming languages.

The clever documentation calls it "months since January".

brotundspiele@sh.itjust.works · 2 pts · 297d (1 reply)

JavaScript: Hold my Date!

new Date().getYear() == 125

palordrolap@fedia.io · 2 pts · 297d

JavaScript is in that set of "some" languages. Most of it ties back to C's struct tm which zero-indexes months (0-11), weekdays (0-6), and the rarely used day of year (0-365), as well as offsetting years by 1900.

The odd man out, so to speak, is the date (or "mday" as it's called there), which is in the range 1-31. One (Perl) book I own suggests that the zero-based ones are used to index arrays of strings and implies this one is different because it generally isn't used that way.

But anyway, these are decisions made 50 years ago that still haunt us.

Routhinator@startrek.website · 6 pts · 297d (1 reply)

And then you added 1, right?

...right?

MrScottyTay@sh.itjust.works · 2 pts · 296d

Not very future proof, what if the "numbers" eventually no longer become numbers?

OpenStars@piefed.social · 6 pts · 297d (4 replies)

This clock starts at both one and at zero!

img

gwl@lemmy.blahaj.zone · 2 pts · 296d (3 replies)

Content not viewable in your region

MrScottyTay@sh.itjust.works · 3 pts · 296d (1 reply)

Imgur have blocked the uk because they don't want to have to deal with ID shit our government pushed through without properly thinking it through

gwl@lemmy.blahaj.zone · 1 pts · 296d

Ah, I must have forgotten to turn my VPN back on

OpenStars@piefed.social · 2 pts · 296d

That's odd. Here is the URL - https://i.imgur.com/YAGpXPd.png - it's just straight-up an imgur image. This is literally the first time I am hearing that this can happen to imgur images.:-(

The image is the speechless stick figure meme. Here, I found another source:

img

That seems not very welcoming to exclude people from viewing such images!

YiddishMcSquidish@lemmy.today · 3 pts · 296d

Undecimal supremacy!

coreray00@discuss.online · 2 pts · 297d

Everything’s an entity if you really think about it 😔