The Bard's Lemmy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@infosec.pub to Programmer Humor@programming.dev · 2 months ago

Clock, but its ORDER BY Hour DESC

infosec.pub

message-square
25
link
fedilink
276

Clock, but its ORDER BY Hour DESC

infosec.pub

cm0002@infosec.pub to Programmer Humor@programming.dev · 2 months ago
message-square
25
link
fedilink
alert-triangle
You must log in or # to comment.
  • Sunoc@sh.itjust.works
    link
    fedilink
    arrow-up
    29
    ·
    2 months ago

    Still way better than the best LLMs can do

    • otacon239@lemmy.world
      link
      fedilink
      arrow-up
      10
      ·
      2 months ago

      Kimi and Deepseek both seem to do a decent job.

      Something funky is going on. They’re somewhat random each time I refresh. Sometimes they work, sometimes they don’t.

      • kambusha@sh.itjust.works
        link
        fedilink
        arrow-up
        5
        ·
        2 months ago

        Click on the question mark for an explanation

  • Jeeve65@ttrpg.network
    link
    fedilink
    arrow-up
    14
    ·
    2 months ago

    You mean I, II, III, IV, IX, V, VI, VII, VIII, X, XI, XII

    • wischi@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      2 months ago

      Here you are: https://jsfiddle.net/2o97k6vz/6/

  • wischi@programming.dev
    link
    fedilink
    arrow-up
    9
    arrow-down
    1
    ·
    edit-2
    2 months ago

    Because an image is a bit to lazy IMHO for “prgrammer” humor. I programmed a clock that actually works. Have fun 🤣

    https://jsfiddle.net/gjpwf5oq/2/

    Btw: you can change the order of the clock-face if you want.

    Update: Supports arbitrary text now (example roman numerals): https://jsfiddle.net/2o97k6vz/6/

    Update: And with Months because why not 🤣 https://jsfiddle.net/2o97k6vz/7/

  • zr0@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    8
    ·
    2 months ago

    Order by string desc would be Z-A ordering, or 9-0

    ORDER BY str(Hour) DESC: 9, 8, 7, 6, 5, 4, 3, 2, 12, 11, 10, 1

    ORDER BY int(Hour) DESC: 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1

    • gwl@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 months ago

      That depends on language

      • optissima@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        2 months ago

        Finally a truly localised time

        • gwl@lemmy.blahaj.zone
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 months ago

          I meant programming language, but yeah also true

  • MadhuGururajan@programming.dev
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 months ago

    I wonder how it would look with excel sort

    • sp3ctr4l@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 months ago

      Probably a bunch of error messages relating to improperly executed macro scripts, failed external api calls, and maybe copilot demanding you put all your documents into one drive… and also somehow the same ‘hey, do you have a moment?’ Teams message from one person, but somehow on 2 or 3 different versions of Teams, simultaneously.

  • gwl@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    2 months ago

    Makes me wonder if there’s an equivalent of /r/BadUXBattles loved that Reddit

    Edit: couldn’t find one, made one

    !baduibattles@lemmy.blahaj.zone

    • ForeverComical@lemmy.ca
      link
      fedilink
      arrow-up
      2
      ·
      2 months ago

      Then you’ll love this video https://youtu.be/TOzEnwl7LkA

      • gwl@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 months ago

        Makes me think of the https://neal.fun/ one for passwords

        • ramjambamalam@lemmy.ca
          link
          fedilink
          English
          arrow-up
          2
          ·
          2 months ago

          Kitboga has some videos where he integrates Neal’s password game into a fake bank password reset UI, and gets the scammers to play the game. It’s one of the GOAT scambait videos.

  • jlow (he / him)@discuss.tchncs.de
    link
    fedilink
    arrow-up
    3
    ·
    2 months ago

    Now do a clock version of the weird American date format, mm/dd/yyyy? Maybe it has to be digital?

    mm:ss:hh? But obviously dont use 24h

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 145 users / day
  • 2.02K users / week
  • 4.35K users / month
  • 10K users / 6 months
  • 1 local subscriber
  • 28.2K subscribers
  • 1.45K Posts
  • 26.1K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.14
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org