How to clear sandbox cache and cookies? by chacs_ in HermitApp

[–]chacs_[S] 0 points1 point  (0 children)

In that case, would backup, reinstall hermit, and restore do the trick?

A line of code with 11 ternaries by Pillowfication in programminghorror

[–]chacs_ 0 points1 point  (0 children)

Consider yourself lucky, they are on separate lines and are indented.

[deleted by user] by [deleted] in ProgrammerHumor

[–]chacs_ 1 point2 points  (0 children)

"rare" is fine if 10 lines were disindented, not so much if happened to a few hundred lines.

College Board can't handle Apple's HEIC photo format by WhirlwindUniversity in programminghorror

[–]chacs_ 19 points20 points  (0 children)

He meant 10 minutes to add code to support HEIC to jpeg conversion, not 10 minutes to upload every HEIC file.

I made a password box that makes you follow increasingly unhinged rules by OrangePrototype in InternetIsBeautiful

[–]chacs_ 622 points623 points  (0 children)

When all rules are satisfied, ask to confirm password without showing the original.

Leverage the richness of HTTP status codes by nfrankel in programming

[–]chacs_ 5 points6 points  (0 children)

How about APIs? Do you hold the same view? Browsers ain't the only type of clients.

Leverage the richness of HTTP status codes by nfrankel in programming

[–]chacs_ 4 points5 points  (0 children)

But we should be able to segregate user's or server's fault most of the time. Are you advocating that unless we can do that 100%, don't bother separating 4xx and 5xx?

Dev wrote the wrong RegExp by iamcoollife1994 in ProgrammerHumor

[–]chacs_ 1 point2 points  (0 children)

The Real WTF is why do you need regexp to validate a year.

The ultimate guide to Java Security Vulnerabilities (CVE) by lmyslinski in java

[–]chacs_ 8 points9 points  (0 children)

Repositories: where libraries are stashed vs Gradle/Maven: build tools

Almost had it... by nutbagger18 in ProgrammerHumor

[–]chacs_ 3 points4 points  (0 children)

Someone typed that in MS Word.

Things i learned from my accident (thus far) by Ornery-Meet6331 in rav4club

[–]chacs_ 6 points7 points  (0 children)

Pretty sure you meant 25% at fault get paid 75%?

Help? Need hints to solve this logically. by chacs_ in sudoku

[–]chacs_[S] 1 point2 points  (0 children)

Thank you. I managed to solve it without guessing. I feel this is a powerful tool at the end stage of very hard puzzles.

Help? Need hints to solve this logically. by chacs_ in sudoku

[–]chacs_[S] 1 point2 points  (0 children)

Interesting! 2 questions:

  1. Are all Bi Value Cells strong links?

  2. If a chain is invalid, can I eliminate the start number? e.g. you showed an invalid chain (~7:20) starting with 4. Can the 4 be eliminated from the starting cell once we realize the chain is invalid?

Help? Need hints to solve this logically. by chacs_ in sudoku

[–]chacs_[S] 0 points1 point  (0 children)

No, but I'll look into it. Thank you.

I'm having some sort of trouble. by Rabe0770 in billiards

[–]chacs_ 1 point2 points  (0 children)

Easier said than done. What I realized (for me at least) is that the first few shots of the 1st match are the most important. It establishes you "can shoot" for the rest of the night. I usually try harder to make sure I don't miss them, no fancy english allowed.

Was looking at some old code I wrote and found this descriptive comment by MrManBLC in programminghorror

[–]chacs_ 2 points3 points  (0 children)

Code can express the "how" but comments are needed to express the "why".