Questions tagged [time]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4 votes
2 answers
232 views

This is a simple stopwatch cli application with a few options

My goal of this when I started writing it was simply that it be able to record thousandths of a second in a very performant and accurate way. I'm not sure I have achieved the performance aspect of ...
lull's user avatar
  • 43
3 votes
1 answer
117 views

RANDEVU - Rust crate implementing a simple algorithm I invented

I've created a simple algorithm which I've implemented in Rust and published it as a crate on crates.io. https://crates.io/crates/randevu While I do think my code is pretty clean and idiomatic, I ...
TypicalHog's user avatar
6 votes
1 answer
477 views

Checking to see if the current time is close to 9PM

I want to check if the current time is "close" to 9pm UTC. I have the following code to a.) get "now" and convert it to UTC time and b.) get 9pm utc time. Based off when I run it, ...
Taylor's user avatar
  • 241
7 votes
2 answers
271 views

Subtract two lap times (m:ss:fff)

I have two lap time strings I need to subtract, the format is minutes, seconds, milliseconds. This is to compare a new world record time to the previous holder's ...
Soda Party's user avatar
0 votes
1 answer
77 views

Efficient way to load Spacy model

Here, is there any efficient way to load en_core_web_mdmodel without importing whole spacy module? It takes a significant amount of time to load the python program. ...
Shyam3089's user avatar
  • 111
5 votes
2 answers
253 views

Time Format Conversion Utility

The code defines a Python script for converting time between 12-hour and 24-hour formats. Review Goals: Is the code idiomatic? (Am I using any outdated practices or functions?) Is there a simpler way ...
Harith's user avatar
  • 5,719