selfup

Joined 10 years ago

Karma
103
Submissions
25
Member since
Jun 19
Systems Architect - Engineer AI/ML Practitioner - Musician Audio/Video Producer - Photographer Open Source - Security - DevSecOps Containers - Polyglot

https://selfup.me

https://github.com/selfup

https://gitlab.com/selfup

https://codeberg.org/selfup

[ my public key: https://keybase.io/selfup; my proof: https://keybase.io/selfup/sigs/zeb7OPc4pQ6U2r7tM07W7uCSu54nzt6bnF6-gJ9onPE ]

View on Hacker News

Recent submissions

Comment · 4 years ago
Fixture data (for testing) is fine. Sometimes a few lines is the minimum viable to test, sometimes a hundred or so lines of JSON. As long as the data is being optimized for testing and you aren't just storing a GB because it's easier.

I was replying to a comment asking why PII data shouldn't be stored in git vs a database. Just tried to give a general rundown of how to think about the tools.

Totally agreed that the data should have been synthetic/scrubbed and that a small sample set (large enough to validate) would be ok.

Sometimes a PDF or a few pictures are necessary (or just much simpler). I get that. I have seen some repos with an unreasonable amount of PDFs/Docs/pictures/etc.. and that's when a script that copies them into a gitignored directory from someplace (Dropbox/S3/etc..) is a better fit.

Comment · 4 years ago
The idea is that git is for source code/configs. Not data. Data gets stored in databases. Secrets/Tokens are stored in secret stores/vaults. Blobs like PDFs/etc should be stored in blob storage.

If a diff is not useful, don't store it in git. Doing a code review on PII is not useful.

You also shouldn't add packages in a git repo if they can be downloaded immutably in CI/locally. It adds a lot of space. Every commit is a snapshot + new code. Commits are not diffs.

Comment · 4 years ago
Yea CA certs are the first pain point I hit. Worth the hurdle. Noted on the timezone. Never really thought about that one. Thanks!
Comment · 4 years ago
Good to know. `FROM scratch` is such a breath of fresh air for compiled apps. No need for Alpine if I just need to run a binary!
Comment · 4 years ago
Had no idea about squash. Using cached layers can really save time, especially when you already have OS deps/project deps installed. Thanks!
Comment · 4 years ago
If you don't have an edge proxy (additional compute) you then accept all requests, or accept that a simple header is telling the truth.
Comment · 4 years ago
I am on latest FF for Android (95.2.0) and it works.
Comment · 5 years ago
Comment · 5 years ago
You can set this in the OS itself.
Comment · 5 years ago
This comment isn't constructive at all. Keep it on topic and don't blame the messenger.
Comment · 5 years ago
There's a chance it's using Tauri (rust) https://tauri.studio/en/ if it's truly not using Electron but a similar concept. However WASM builds in Electron would make more sense if they use the term Electron.
Comment · 6 years ago
The end game is to switch to a post-quantum algorithm.

Essentially something that both quantum and classical computers cannot crack/brute force.

I would look into lattice-based crypto. It is one of the strongest candidates under review by NIST for post-quantum public/private key mechanisms.

Comment · 7 years ago
Is there some kind of test harness for this? What does generic streaming engine mean here?
Comment · 7 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton