1,768 karma · joined Feb 22, 2012 (14y ago) · 324 submissions
1.
Show HN: Call Bash/ZSH/POSIX shell functions and built-ins from Fish(github.com ↗)
1 points · by dljsjr · 2y ago · discuss
comment 2y ago · link · parent
MCU -> Microcontroller. Low power, less RAM, limited MMU/memory protection features, typically run baremetal firmware or an RTOS. Usually so simple it only needs a single voltage rail. More or less self-contained. Has RAM and ROM on-die.
SoC -> System-on-a-chip. Actually a very vague term. But in broad strokes, an SoC is what it says: An entire system on a single chip. Could incorporate an MCU or an MPU, plus other peripherals, etc. You can almost think of it as a "single chip computer" as opposed to a "single board computer". It's almost more of a marketing term than an EE term. For example, the Apple Silicon stuff is a "SoC" because it has the MPU + GPU + RAM on a single die.
comment 3y ago · link · parent
You could also rotate the root password every time there's a departure from the teams that have visiblity if it's that big of a deal.
comment 3y ago · link · parent
RE: Sharing.
Nobody should be sharing a password manager account. If this is happening it usually means somebody doesn't want to pay for the seats to have individual accounts. You give each user their own account, and if you need more than one admin, you have more than one admin, but you shouldn't be sharing an admin account.
This would also apply if you're not talking about the pw manager's master password but something more like an AWS root account. That root account needs to exist, but its credentials should be a secret in the password manager vault that is shared with anyone who needs it (based on roles/access rules/principle of least privelege), and you should create additional administrative roles within the system you're securing instead of leveraging those root credentials (as much as possible) operationally.
RE: Bad actors
SSO is the answer here. You use a password manager with SSO integration, and you cancel the person's account the second they depart. At previous orgs they literally cancel the account while the person is still in the building and being walked down the hall to be informed that they're being asked to leave. It's definitely on the cruel side but if you're concerned or wanting to emphasize the security of the data first and foremost, that's what you do.
Both parts of the answer above involve $$$. Most services require paying for a higher tier if you want SSO integration (both on the side of the provider like Google Workspaces and the tool like 1Password), and both require paying for head count.
But this is the answer to "best practices". If there's a financial impediment that prevents you from doing these two things, then you can't use the "best practices". That's the unfortunate nature of the beast, and why there are so many online disagreements about the concept of an "SSO Tax".
EDIT: Lots of comments about sharing the root passwords in general. I made a few assumptions here that I thought were implied but outside of the direct scope of the question, so I'm going to add them here.
- MFA should be required, full-stop, and it should be provided by something connected to your SSO. Okta or Google Authenticator, or even better if you use hardware keys like a Yubikey. There's still risk in having shared access to the root account credentials but this helps mitigate it, as even if the person takes the password with them it'll be much much harder for them to use it.
- Password rotation. That's an obvious one. Just change the paswords every time there's a departure.
- Clarification on role-based access. With shared vaults on enterprise/team plans you can restrict who is able to actually see the items once dropped in to the password manager. You shouldn't expose the AWS Root Account to the whole org. You should expose it to whoever actually needs it, and you should use it as little as possible, that's what was meant by this statement:
> you should create additional administrative roles within the system you're securing instead of leveraging those root credentials (as much as possible) operationally.
As an example, here are AWS's guidelinesn for securing the root account:
https://docs.aws.amazon.com/IAM/latest/UserGuide/root-user_s...
Most of them get distilled down to "don't actually use the root account for anything unless absolutely necessary, and share it with as few people as possible", with nuggets such as:
1. Don't create access keys for the root user
and
2. Never share your root user password or access keys with anyone
The idea being that even though this account needs to exist, you should be providing access at the individual level with the necessary permissions instead of relying on the root credentials at all.
comment 3y ago · link · parent
comment 3y ago · link · parent
I don't know if that's true anymore, if only because the ongoing popularity of the Git Flow branching model; the `git-flow` tools use annotated tags by default for every command that creates a tag (e.g. releases).
comment 3y ago · link · parent
†: Redis 6 added threads, but AFAIK this is only for handling connection I/O. Actual database access is still single threaded. The only way I'm aware of to scale Redis is via clustering.
comment 3y ago · link · parent
>If you’re a conscientious engineer, you are probably going to find the above suggestions somewhere between counterintuitive and horrifying. You should! They are horrifying! This is how deeply capital’s war on workers is scarring our profession.
>These people are actively trying to take your wealth away from you and keep it for themselves. You need to protect yourself.
>Oh, yeah, we should also have a union. Sure. Let’s get on that one of these days.
comment 3y ago · link · parent
They were awesome. When we were growing up most big family trips were in the car because gas and hotels were just so much more affordable than flying an entire family anywhere. I got to be the "navigator" on so many trips by helping family members read the Triptiks.
Apparently AAA still offers these, but they're generated digitally now via their app, and you can print them off if you want. But something about those human-built Triptiks were really really special.
comment 3y ago · link · parent
comment 3y ago · link · parent
They might let other engines in, sure; but will they relax the restriction on their memory mapping entitlements to allow for optimizing JITs? Doubt it. Means you'll only be able to use alternative rendering engines that have JS interpreters with no optimizing JIT. Stuff like that.
comment 3y ago · link · parent
For one, the JVM isn't sandboxed by default. WASM is. That adds additional overhead.
Another consideration is that the JVM uses garbage collection. This doesn't just apply to the code itself, it includes things like the hot code cache and stuff. The JVM trades throughput for latency. WASM doesn't have a GC model.
Lastly, WASM doesn't define the runtime. There is no JIT for "WASM", that's just a bytecode spec. I'm actually not even sure if when you run it in a browser it will JIT the WASM bytecode.
comment 4y ago · link · parent
They're a US storefront but they ship internationally. They do a great job restoring consoles. And they have amazing customer service (one of the SNES Controller refurbs was a no-go and they cross-shipped a replacement with no expectation that I even returned the defective one).
I don't know if they have old computer stuff, mostly just consoles. They have Atari consoles sometimes though.
comment 4y ago · link · parent
This necessitates force-pushing to your feature branch after all the fixup commits have been approved and then squashed. At that point you can merge the cleaned up feature branch in to your develop or trunk.
`--force-with-lease` is slightly better than `--force` because in the event that you're also working on a collaborative feature branch you won't overwrite any commits that somebody else pushed up that you haven't fetched yet.
comment 4y ago · link · parent
Looks like it works on quite a few systems including Android and iOS.
comment 4y ago · link · parent
comment 4y ago · link · parent
See the section "Always On VPN": https://support.apple.com/guide/deployment/vpn-overview-depa...
Is it dubious that Apple doesn't let VPN apps do this as well? Maybe. But this is known and documented.
comment 4y ago · link · parent
They are far from the only implementation, though. You can find links to other runtimes in other comments here already.
comment 4y ago · link · parent
Additionally, there are people in robotics who like to say that simulators are like lightsabers, you haven't become a true Jedi until you've built your own, so there's a lot of home grown physics simulators in robotics.
[1]: https://en.wikipedia.org/wiki/Featherstone%27s_algorithm
comment 4y ago · link · parent
For example, Horizon: Forbidden West uses a custom physics engine that started out as one of the core dev's fun side projects: https://github.com/jrouwe/JoltPhysics
Physics engines (at least game quality physics engines) are starting to drift in to "solved problem" territory and there's enough literature now that you can get something reasonable going yourself after doing some weekend reading.
Edit to add: Godot has had its own engine available for a long time, so it's not a totally new effort. It's a heavy refactor and a large improvement but the bones for this were laid years ago so some of that technical debt you're describing has already been paid down.
comment 4y ago · link · parent
Being a viable console target will attract more creators and increase the chances of that happening. As laid out in the blog post from my original comment, while Steam is a hotbed for indie games most of them toil in obscurity. Most of the money in indie games is on consoles now.
comment 4y ago · link · parent
Juan shared a blog post about the state of console support in Godot shortly before the launch of W4 that gives some more insight: https://godotengine.org/article/godot-consoles-all-you-need-...
Often time folks say that what Godot is missing is a "killer app" that shows that the platform is viable. I think that this could potentially go a long way towards that.