Better HN
topnewbestaskshowjobs
Log inSign up

scoodah

104 karma · joined Jan 26, 2021 (5y ago) · 45 submissions

Submissions

comment 2w ago · link · parent

I really wish they would have expanded on this paragraph in their article further:

> The configuration used here had no jailer. Firecracker's production containment includes dropping privileges and restricting the process through namespaces and seccomp. A deployment using those controls requires a separate assessment of the privileges and resources available after compromising its VMM.

If I'm understanding all of this correctly, a properly jailed and configured firecracker instance would greatly reduce the blast radius of this escape, and I feel as though it would have been good for them to explain what jailing and dropping privileges would do to help. I'd hope most production firecracker deployments would be doing this already.

Not saying that this is any less severe and the root issue is not specific to Firecracker, but to a flaw in the kernel's network code -- they just used an insecure firecracker configuration to demonstrate it. However, I feel like some are taking this as a flaw with firecracker when its not. This is an issue in the kernel networking stack.

comment 4w ago · link · parent

I’ve used tailscale in quite a few jobs now and not one have we used tailscale ssh. Call us old school or whatever but at my current place of employment we provision ssh keys on a box with ansible and just use regular old ssh over the tailnet, not tailscale ssh

comment 8mo ago · link · parent

It very much does happen. I’m one 11. It seems like every time it updates I get the “let’s finish setting up your computer” screen that asks me to setup one drive.

comment 9mo ago · link · parent

You shouldn’t be denied for smoking weed in college and disclosing it. I had no issues with that. The other thing is you can appeal a denial of your clearance if you can demonstrate the issue is not an issue. If you truly did only smoke weed in college and get denied due to that, you could appeal and make your case that your weed use is not ongoing, ended in college, and not an issue in your personal life. It’s not guaranteed to be a successful appeal, of course, but the process does exist.

The bigger problem is when people fib about their usage. Saying you only used it in college when you’ve used it more recently is something people do fairly often, and seemingly are encouraged to fib about.

comment 9mo ago · link · parent

In this particular case I think it has more to do with the times than anything else. Discovering the records of that investigation from when he was 12 in the 40’s would have likely been a massive undertaking if not impossible. The investigator likely recognized this and just had him remove it.

These days I don’t think that happens with digital records. Omitting that incident would almost certainly cause more issues than not now as I’m sure they’d turn up in the investigation. If not included on your sf86 you’d likely be grilled about it.

Investigators are usually reasonable in my experience. If you omitted it because you earnestly forgot because it happened when you were 12, they’d likely understand if you were forthcoming about it during your interview. Investigators are human though so it depends on how they feel.

What they really care about is stuff to try to purposely hide.

comment 10mo ago · link · parent

Afaik, you can choose to not sign into icloud when creating an account on your mac. It's not a hard requirement like it is on Windows, though they do obviously strongly nudge you to login to icloud.

comment 10mo ago · link · parent

You needed Claude for a `brew install orbstack`?

comment 10mo ago · link · parent

While true, what the grandparent comment mentions still applies to podman:

> I cannot install it as nonroot user

You still need root privileges to install podman initially.

comment 11mo ago · link · parent

Dagger is one of those things I want to like, but find incredibly painful to use in practice.

comment 12mo ago · link · parent

Yeah I mean if you’re deleting namespaces after each run then sure, that may solve it. They have a pruner now that you can enable too to set up retention periods for pipeline runs.

There’s also some issues with large Results, though I think you have to manually enable that. From their site

> CAUTION: the larger you make the size, more likely will the CRD reach its max limit enforced by the etcd server leading to bad user experience.

And then if you use Chains you’re opening up a whole other can of worms.

I contracted with a large institution that was moving all of their cicd to Tekton and they hit scaling issues with etcd pretty early in the process and had to get Red Hat to address some of them. If they couldn’t get them addressed by RH they were going to scrap the whole project.

comment 12mo ago · link · parent

An example where they’re creating a new mutex every time they call a function and then surprised when multiple goroutines that called that function and got entirely different mutexes somehow couldn’t coordinate the locks together.

That isn’t a core misunderstanding of Go, that’s a core misunderstanding of programming.

comment 12mo ago · link · parent

Yeah this whole section of the article threw me all the way off. What even is this code? There’s so many things wrong with it, it blows my mind.

About the only code example I saw in here and thought “yeah it sucks when that happens” is the accidental closure example. Accidentally shadowing something you’re trying to assign to in a branch because you need to handle an error or accidentally reassigning something can be subtle. But it’s pretty 101 go.

The rest is… questionable at best.

comment 1y ago · link · parent

This is why I’ve always thought Tekton was a strange project. It feels inevitable that if you buy into Tekton CI/CD you will hit issues with etcd scaling due to the sheer number of resources you can wind up with.

comment 1y ago · link · parent

Way back in the day when I primarily wrote c# I used to use a tool called SemanticMerge. It was pretty cool, it actually parsed the code and could pick up refactors like moving a method to a different class and what not. This kinda reminds me of that a bit.

comment 1y ago · link · parent

The difference between matte and glossy displays in regards to their contrast and clarity is absolutely noticeable to the naked eye.

comment 1y ago · link · parent

Same. I interact with too many machines, many of which are ephemeral and will have been reprovisioned the next time I have to interact with it.

I value out of the box stuff that works most everywhere. I have a fairly lightweight zsh config I use locally but it’s mostly just stuff like a status like that suits me, better history settings, etc. Stuff I won’t miss if it’s not there.

comment 1y ago · link · parent

Preview very much does have drawing tools

comment 1y ago · link · parent

Very obvious writing style but also the bullet points that restate the same thing in slightly different ways as well as the weirdly worded “full server privileges” and “full nodejs privileges”.

Like… yes running a process is going to have whatever privileges your user has by default. But I’ve never once heard someone say “full server privileges” or “full nodejs privileges”…. It’s just random that is not necessarily wrong but not really right either.

comment 1y ago · link · parent

Firecrackers been open source since 2018, I believe. Firecracker-containerd (https://github.com/firecracker-microvm/firecracker-container...) has been around quite a while too, which aims to run containers in microvms.

comment 1y ago · link · parent

The virtual devices it implements are fairly limited in number, and you may find bottlenecks with high IO throughput applications.

It uses memory ballooning as its dynamic memory management. Managing this balloon requires some custom implementations if you want to do things like reclaim memory from the guest.

If a large file is created and deleted within the host that disk space stays claimed until the VMs disk is deleted.

No GPU support.

comment 1y ago · link · parent

I use Linux everywhere but my laptop and I agree.

I used to run Arch on my work laptop but getting sleep and hibernate was such a pain I never did get it working quite right. My battery life was not great, partly due to the difficulties getting the system to prefer the iGPU over the nvidia GPU — however poor battery life is something I also experienced with windows laptops.

I’ve been running a MacBook since they switched to Apple Silicon and it would take a lot for me to switch back to a different laptop.

comment 1y ago · link · parent

If I were buying a non Mac laptop today it’d likely be a Framework. Their laptops don’t feel as premium, imo, but the fact you can repair nearly every single thing on the laptop yourself makes up for a lot of it. I don’t think they’re very directly comparable to a MacBook, they’re two products with fairly different ideologies behind them. Other than that I’ve been largely unimpressed by non-Apple laptop offerings.

comment 1y ago · link · parent

> And that may be the real truth of it: Error handling in Go just isn't ... that much of a problem to force action?

I you are right that this is the truth of it. Error handling just isn’t that big a problem. 13% reported it on the survey cited. That doesn’t seem that significant. And honestly, after writing Go, I barely notice error handling as I’m writing/reading code anyway. If anything I appreciate it a bit more than exceptions.

Always something that can be complained about. But it doesn’t mean every complaint is a huge deal.

comment 1y ago · link · parent

My first thought is how this would interact with things like screen readers and other accessibility devices

comment 2y ago · link · parent

There's a pretty good documentary about MoviePass entitled "MoviePass, MovieCrash" that goes into detail about the fraud. It's a pretty wild story.

Mitch Lowe and Ted Farnsworth were very deceptive about Moviepass and its parent company. They also started using shady tactics to prevent paying customers from using the service, like changing power users' passwords and posing it as a technical problem to prevent them from getting tickets to high-profile movies.

Ted Farnsworth is the more interesting character of the two. He's essentially a scam artist, in my opinion.

comment 2y ago · link · parent

No worries. Also definitely not something to call yourself stupid over in your edit :)

comment 2y ago · link · parent

What are you talking about? I'm responding directly to a comment that called those two things out.

My point was that systemd and bash are _not_ part of a linux system, and you can't count on them being there.

comment 2y ago · link · parent

Some of the things you point out here are things you cannot rely on in Linux consistently, either. You can’t rely on Systemd existing in Linux. You can’t rely on bash being the shell in Linux. Depending on the users system and distribution these tools may or may not exist.

Also the difference in some of the tools CLI flags wind up boiling down to being the BSD versions of them as opposed to the GNU versions of them. Which, again, isn’t a problem isolated to MacOS.

If you’re considering all Unixes everything you said basically still applies even if you remove MacOS from the equation. Unix isn’t just Linux.

comment 2y ago · link · parent

I can’t speak to the apps in question of your post, but this did bring to mind how Uber hid app behavior from the App Store team:

https://www.theverge.com/2017/4/23/15399438/apple-uber-app-s...

12