HackerTrans
TopNewTrendsCommentsPastAskShowJobs

matthew16550

no profile record

Submissions

Artificial Confidence [by Corey Quinn]

artificialconfidence.com
1 points·by matthew16550·2 mesi fa·1 comments

Git Will Make Sense After This [video]

youtube.com
2 points·by matthew16550·7 mesi fa·0 comments

Software Profession Resources

trello.com
1 points·by matthew16550·9 mesi fa·0 comments

Rapid Developer-Driven Threat Modeling

github.com
2 points·by matthew16550·9 mesi fa·0 comments

Sustainable memristors from shiitake mycelium for high-frequency bioelectronics

journals.plos.org
3 points·by matthew16550·9 mesi fa·0 comments

[untitled]

1 points·by matthew16550·9 mesi fa·0 comments

Consistent Overhead Byte Stuffing

circuitcellar.com
2 points·by matthew16550·9 mesi fa·0 comments

Opportunity Solution Trees

producttalk.org
3 points·by matthew16550·9 mesi fa·0 comments

The Hydrostatic Paradox (Steve Mould) [video]

youtube.com
2 points·by matthew16550·10 mesi fa·0 comments

Paid €113,000 for Code Which Compressed Movies in 8KB Then He Died

lowendbox.com
3 points·by matthew16550·10 mesi fa·0 comments

Australia announces a plan for new Great Koala National Park

bbc.co.uk
2 points·by matthew16550·10 mesi fa·0 comments

comments

matthew16550
·2 mesi fa·discuss
> "The AI industry generates roughly a trillion words of hype per quarter and approximately four of them are useful. Artificial Confidence exists to find those four."
matthew16550
·9 mesi fa·discuss
The page I linked shows uses after creation where the cost can be different.
matthew16550
·9 mesi fa·discuss
Using UUIDv4 as primary key has unexpected downsides because data locality matters in surprising places [1].

A UUIDv7 primary key seems to reduce / eliminate those problems.

If there is also an indexed UUIDv4 column for external id, I suspect it would not be used as often as the primary key index so would not cancel out the performance improvements of UUIDv7.

[1] https://www.cybertec-postgresql.com/en/unexpected-downsides-...
matthew16550
·9 mesi fa·discuss
SOPS can be part of the solution. It takes care of encrypting and decrypting config files.

https://github.com/getsops/sops
matthew16550
·10 mesi fa·discuss
"Approval" / "Golden Master" / "Snapshot" / "Characterization" testing can be very helpful.

They all seem to be names for more or less the same idea.

The first time a test runs successfully it auto captures the output as a file. This is the "approved" output and is committed with the code or saved in whatever test system you use.

The next time the test runs, it captures the new output and auto compares it with the approved output. If identical, the test passes. If different, the test fails and a human should investigate the diff.

The technique works with many types of data:

* Plain text.

* Images of UI components / rendered web pages. This can check that your code change or a new browser version do not unexpectedly change the appearance.

* Audio files created by audio processing code.

* Large text logs from code that has no other tests. This can help when refactoring, hopefully an accidental side effect will appear as an unexpected diff.

See: * https://approvaltests.com/ * https://cucumber.io/blog/podcast/approval-testing/ * https://en.wikipedia.org/wiki/Characterization_test
matthew16550
·10 mesi fa·discuss
https://pkg.go.dev/

Which works together with

https://proxy.golang.org/
matthew16550
·10 mesi fa·discuss
Pythons builtin async always confuses me.

The Trio library felt easy to learn and just worked without much fuss.

https://trio.readthedocs.io/