all 30 comments

sorted by: hot top controversial new old
[–] 44 points 1 year ago* (2 children)
  • [–] 35 points 1 year ago

    Isn't it ascending? Alphabetically I mean.

  • source
  • [–] 23 points 1 year ago (1 child)

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

  • source
  • hideshow 1 child comment
  • [–] 12 points 1 year ago (3 children)

    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

  • source
  • hideshow 3 child comments
  • [–] 9 points 1 year ago* (last edited 1 year ago) (3 children)

    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

  • source
  • hideshow 3 child comments
  • [–] 2 points 1 year ago (2 children)
  • [–] 15 points 1 year ago* (last edited 1 year ago) (2 children)

    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/

  • source
  • hideshow 2 child comments
  • [–] 5 points 1 year ago (1 child)

    I wonder how it would look with excel sort

  • source
  • hideshow 1 child comment
  • [–] 2 points 1 year 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.

  • source
  • parent
  • [–] 5 points 1 year ago (2 children)

    Somebody used the wrong data type for the Hour column...

  • source
  • hideshow 2 child comments
  • [–] 4 points 1 year ago (5 children)

    This is why the military uses 03 hundred hours... Makes things clear, and sortable regardless of your algorithm

  • source
  • hideshow 5 child comments
  • [–] 3 points 1 year ago (4 children)

    Sure. No one ever in this entire world ever did a int(“0200”), because it is insane to represent numbers as actual numbers. I am so glad that military invented a standard working with any algorithm.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 2 points 1 year ago* (3 children)

    I mean, I hear you, but to be fair, I think the military has been using that kind of a timing convention since before computing even really existed.

    ... We did more or less invent modern computers, initially, to compute artillery ranging tables.

    I'm pretty sure that predates even the concept of ... a string vs int data type.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 1 point 1 year ago* (last edited 1 year ago) (2 children)

    Depends on what you call a "computer". The first electronic calculating machine sold by the company now known as IBM was for the census, and it was prior to WWI.

    Edit: we need to fight back on this idea that the military drives technological innovation. That's only true because of the shitty values our society has.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 1 year ago (1 child)
  • [–] 1 point 1 year ago

    Hollerith was American-born to German immigrants. The census in question was also the 1890 US census.

    It's a cool story. With the rise in population, the 1890 census was not predicted to be completed before they had to start the 1900 census. With Hollerith's machine, it was instead done in record time.

  • source
  • parent
  • [–] 4 points 1 year 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

  • source
  • [–] 1 point 1 year ago

    Print that header onto the dial in a monospace font and you've got yourself an extremely marketable product. Perfect thing to bring to a white elephant gift exchange at an IT Company!

  • source