Readit News logoReadit News
gchaincl commented on Nextcloud: Open-Source Cloud Apps   nextcloud.com/... · Posted by u/tomrod
gchaincl · a year ago
The idea of using a private cloud sounded wonderful, ran an instance of Next Cloud using encrypted storage, it didn't take long when my files disappeared due to a bug on the encryption and los my files for ever. Never went back to it
gchaincl commented on Programming Zero Knowledge Proofs: From Zero to Hero   zkintro.com/articles/prog... · Posted by u/oskarth
nailer · a year ago
> We can take a digital identity card and prove that we are over 18 years old > Without revealing anything else, like your full name or address

If you are in this articles audience you would simply state the producer of the ID card signs a statement that the person is over 18. No ZKP needed.

The article like many others would be improved with a better example.

gchaincl · a year ago
I think the goal of this is that you can prove, so that your counter party does not need to rely on trust
gchaincl commented on Ask HN: What are you working on (August 2024)?    · Posted by u/david927
anon012012 · a year ago
I am working alone on https://tree-of-knowledge.org

This is a hierarchical representation of any given piece of knowledge.

It starts with a tree root node that you specify (let's say Kung fu), then it branches out into multiples subcategories (techniques, styles, philosophy, weaponry, ect...) and then you can click on these subcategories to branch out even more into the graphical tree.

This is all generated on-the-fly with Claude 3.5. There is no limit to what knowledge you might explore.

The killer feature is that it is totally free and does not require to login. Just click the link and have fun. I'll keep it free like that, as long as I can.

I hope you like it guys because it is the best project that I have up my sleeve.

Enjoy!,

Pierre

gchaincl · a year ago
Congrats, pretty amazing work! Loved it!!
gchaincl commented on How to test without mocking   amazingcto.com/mocking-is... · Posted by u/alexzeitler
gchaincl · 2 years ago
> This often happens with an in-memory database, which is compatible to your main database you do use in production, but is faster.

Not sure how this will solve edge cases problems described at the beginning of the article

gchaincl commented on Just Enough Software Architecture (2010)   georgefairbanks.com/book/... · Posted by u/teleforce
rowls66 · 2 years ago
I found 'A Philosophy of Software Design' by John Ousterhout to be useful. It contains alot of solid easy to understand advice with many examples.
gchaincl · 2 years ago
Great book, I've learnt a lot from it
gchaincl commented on Secure Randomness in Go 1.22   go.dev/blog/chacha8rand?h... · Posted by u/rsc
nickcw · 2 years ago
From the article

> Go aims to help developers write code that is secure by default. When we observe a common mistake with security consequences, we look for ways to reduce the risk of that mistake or eliminate it entirely. In this case, math/rand’s global generator was far too predictable, leading to serious problems in a variety of contexts.

> For example, when Go 1.20 deprecated math/rand’s Read, we heard from developers who discovered (thanks to tooling pointing out use of deprecated functionality) they had been using it in places where crypto/rand’s Read was definitely needed, like generating key material.

I made exactly this mistake in rclone. I refactored some code which was using the Read function from crypt/rand and during the process the import got automatically changed (probably by goimports when mixing code which did use math/rand) to math/rand. So it changed from using a secure random number generator to a deterministic one rclone seeded with the time of day. I didn't notice in the diffs :-( Hence

https://www.cvedetails.com/cve/CVE-2020-28924/

So this change gets a big :+1: from me.

gchaincl · 2 years ago
I had a similar goimport issue importing the wrong pkg. I've added a forbidigo linter rule to fail when certain packages were imported.
gchaincl commented on SQLite Schema Diagram Generator   gitlab.com/Screwtapello/s... · Posted by u/tempodox
littlecranky67 · 2 years ago
Love this! 5mins after visiting the page it is built into my gitlab CI pipeline :)
gchaincl · 2 years ago
curious to know what are you using it for? do you upload a diagram on every push?

u/gchaincl

KarmaCake day77December 2, 2014View Original