44 karma · joined Sep 22, 2015 (11y ago) · 22 submissions
1.
Show HN: Confcrypt – Encrypt Secrets in YAML/JSON Configs with FIDO2/Age/SSH(github.com ↗)
1 points · by maurice2k · 10mo ago · discuss
comment 2y ago · link · parent
In general this sounds pretty cool: GJS is built on the SpiderMonkey JavaScript engine. It utilizes GObject Introspection to provide access to the GNOME APIs using ECMAScript 2021 JavaScript.
Just don't compare it with Node.js; it's something else. No, your code might not run in that environment; APIs are most likely not compatible.
comment 2y ago · link · parent
but most production system i've seen allow all outgoing traffic (if poorly managed) or restrict it to port 443 (for some APIs) which is kind of all.
so if you're not in a very very restricted system (and then DNS should be restricted as well!) you'll most likely find an easy way to copy stuff over HTTPS.
comment 3y ago · link · parent
But younger people looking at Times New Roman websites is like telling them 'use man pages'.
I think GNU is not doing themselves a favor in being so old school. I'm not saying they should use (nonfree scnr) JavaScript bloated websites but a more modern look is not that complicate and achievable with free HTML and CSS standards.
comment 3y ago · link · parent
So funny and so sad. Nonfree JS? They're in their own cloud of whatever. Yes, there is nonfree stuff. But nonfree stuff also can get things done.
comment 3y ago · link · parent
I'm mostly working with younger people (like 20-30 years old) and well, they don't really know what GNU or the FSF is.
As a Linux user I'm using GNU software all day but for most people it's just "linux command line tools". It's fine and if they do the job, well done! But this doesn't help the FSF or the GNU project.
A lot of these tools have pretty good documentation but when you visit one of the GNU websites you feel like it's 1995 again. It's more like man pages in HTML. Actually same for Apache Software Foundation.
And this is not getting better...
A start would be a modern representation of the tools and the ideas behind free software, maybe with a bit less philosophy. GNU needs to get a bit "cooler".
comment 3y ago · link · parent
I've worked/played around with BSD back in the 90s and actually never looked back. Tried it here and there within the last 20 years but never found it as versatile as Linux.
Working on macOS (how much BSD is still in that system?) since 6 month now and finally getting used to it. Still feels a bit crippled compared to the tools I used under Windows/Linux.
comment 3y ago · link · parent
And I can definitely say: IO speed is pretty good. To be honest, I've never come across a language with bad IO speed and I've seen quite a lot of languages.
I also did some benchmarks (like orf did) and speed is pretty good. Maybe Rust is a little bit better because it's nearer to syscalls than Node.js is but we're not talking about 760kb/s vs. 250mb/s.
200GB of logs and 25 instances means 8GB per instance. Not sure what they're doing, but processing of 8GB taking 3h is like doing it with my 80286 processor ;-) Even with inserting stuff in MongoDB this seems way to slow. And they only replaced the file IO part with Rust...
I guess the records array is getting pretty huge which might result in swapping to disk. But then: don't let it happen, just flush it to the database or whatever. I believe the problem could have been solved with Node.js without issues.
comment 3y ago · link · parent
I would still like to have a more comprehensive or high level stdlib for Rust that is maintained by a core Rust team.
comment 3y ago · link · parent
A stdlib must not contain everything but a solid cryptography lib is probably a good idea.
comment 3y ago · link · parent
I think it's comparable to Python.
Go's stdlib was one of the reasons I ended up with Go instead of Rust (might have changed; Rust had a lot community content, but not a comprehensive stdlib; last checked 3-4 years ago).
19.
Ask HN: Who is using Asterisk PBX and how?
5 points · by maurice2k · 8y ago · 5 comments
comment 8y ago · link · parent
The magic is hidden in chrome's command line parameters which can significantly speed up the browser start.
I'm not using headless because I need an extension but most command line switches also apply to headless I guess...
A prepared profile/user directory also helps speeding up things.