News for hackers. Stuff that matters.

leu-mas

Re:Practical Python Programming on Friday June 19, 2020 @12:57PM (#23576331)
I've been really enjoying pydantic lately. Run-time validation of types without forcing you to learn something other than normal type annotations.

https://pydantic-docs.helpmanual.io/

Self-sovereign identity is probably the most viable use case at the moment. No third party needed to manage your identity, replace keys, and broadcast updates to the world. Additionally adding the dimension of time, where you can differentiate between something signed while a key was active vs something signed after the key was retired.

Some argue this is the only data necessary on-chain — all other application data can remain in normal data stores while the identities interacting with that data are immutable and auditable.

Laying the groundwork for a lot of neat stuff https://identity.foundation/working-groups/identifiers-names...

Re:Ask HN: Programs that saved you 100 hours? on Monday April 13, 2020 @08:04AM (#22855068)
another popular alternative I see mentioned a lot https://github.com/wting/autojump

> autojump is a faster way to navigate your filesystem. It works by maintaining a database of the directories you use the most from the command line.

Re:MessagePack: like JSON, but fast and small on Wednesday March 11, 2020 @10:35AM (#22546169)
Also, never understood why JSON allows for duplicate keys at the same level. Behavior is implemented differently across languages. Some throwing an error on parsing of duplicate keys while others simply overwrite the first value encountered with the second.