jdnewmil

joined 2 years ago
[–] [email protected] 13 points 6 months ago

A polar land grab is consistent with their plans to accelerate global warming though.

[–] [email protected] 3 points 6 months ago
[–] [email protected] 19 points 6 months ago (1 children)

Oh! I know! I would have to first install them, roght?

[–] [email protected] 69 points 6 months ago (2 children)

All depends which traditions you favor.

[–] [email protected] 6 points 6 months ago

His admiration for "strong' leaders (dictators) starts to take shape. Supplying weapons to Ukraine to fight military aggression doesn't seem appropriate when you can simply try to outdo Putin at his own game.

Julius Caesar did this... it is not a new pattern.

[–] [email protected] 3 points 7 months ago

They are text files. If there is anything weird about them it is that they are indented with spaces and if you are inconsistent with indentation they won't read into the yaml import function, but I can't imagine why vim or nano would have a problem with opening them. Maybe the ones you were using were not actually yaml.

[–] [email protected] 3 points 7 months ago (2 children)

Totally lost me. Why the hate on YAML?

[–] [email protected] 2 points 7 months ago

Wordle 1,285 3/6

🟩⬛🟩⬛⬛ ⬛🟩⬛🟩🟩 🟩🟩🟩🟩🟩 lucky day!

[–] [email protected] 60 points 7 months ago

If you want the job, go back. If they don't want to deal with a fragile person then it is up to them to fire you. Next time just say "I don't know" and keep flipping burgers.

[–] [email protected] 1 points 7 months ago

Not "debugging" ... the value comes before I even try to run the code. The background syntax checker highlights when the types don't agree into and out of each function call and I don't get errors like trying to index into an integer.

As for time... I guessed... I did not measure. I have limited time to play with this and don't optimize unless I find myself waiting excessively for an answer.

[–] [email protected] 1 points 7 months ago (2 children)

Python

Sets of tuples and iteration for both first and second parts. A list of tuples used as a stack for the conversion of recursion to iteration. Dictionary of legal trail moves for traversal. Type hints for antibugging in VSCode. Couple of seconds runtime for each part.

https://github.com/jdnewmil/aocpy/blob/master/aocpy%2Faoc2024%2Fday10.py

[–] [email protected] 3 points 7 months ago (1 children)

So are we at peak DeBeers?

view more: ‹ prev next ›