B-Fed
  • Communities
  • Create Post
  • Create Community
  • 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

external-link
message-square
7
link
fedilink
104
external-link

Clock, but its ORDER BY Hour DESC

infosec.pub

cm0002@infosec.pub to Programmer Humor@programming.dev · 2 months ago
message-square
7
link
fedilink
alert-triangle
You must log in or register to comment.
  • Jeeve65@ttrpg.network
    link
    fedilink
    arrow-up
    9
    ·
    2 months ago

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

    • smeg@feddit.uk
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 months ago

      It’s usually IIII on clocks

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

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

  • wischi@programming.dev
    link
    fedilink
    arrow-up
    5
    ·
    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
    5
    ·
    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

  • MadhuGururajan@programming.dev
    link
    fedilink
    English
    arrow-up
    4
    ·
    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.

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.

  • 55 users / day
  • 129 users / week
  • 999 users / month
  • 2.07K users / 6 months
  • 1 local subscriber
  • 28K subscribers
  • 284 Posts
  • 637 Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org