Better HN
topnewbestaskshowjobs
Log inSign up

staticassertion

13,486 karma · joined Jun 1, 2016 (10y ago) · 4,896 submissions

@insanitybit
Submissions

comment 5y ago · link · parent

> And then there are the 20 years of Linux kernel history that show "audit features" being ineffective, wasteful and little more than a checklist feature.

wuh?? Audit features are used at tons of companies for data collection/ security.

comment 5y ago · link · parent

I don't have those, so no.

comment 5y ago · link · parent

Sorry, but it is what it is. I make a lot of money and there's a point where benefits like food matter more to me than 10s of thousands of dollars.

comment 5y ago · link · parent

I lived close enough to work that I could go home and then walk back.

comment 5y ago · link · parent

Yeah, unrelated things decades ago were wrong or something therefor... uh, something.

I'm not really interested in doing research for you.

comment 5y ago · link · parent

Dropbox allowed guests. I brought a number of people over my time there.

comment 5y ago · link · parent

So there's lots of evidence to support attribution, but your flimsy hand waving about uncertainty is supposed to carry weight?

Once again, we have:

* Shared infrastructure

* Shared TTPs

* Clues like language

* No evidence to the contrary

And that's just what's public. I assure you that quite a lot stays between people. I know many people in the field who can't share public details about breaches due to pending legal issues - Dropboxers couldn't talk about aspects of the 2012 breach until just this last year.

comment 5y ago · link · parent

I feel like I justified my point well. Eating extremely well made food is a major win for me. There's the obvious financial and time savings, but there's also a lot to be said for having a fresh made meal three times a day - and Dropbox always had variety, they pretty much never repeated dishes (other than the standards - burgers, pizza, etc).

I ate some of the best meals I've ever had while working there. After a certain point that matters more to me than an extra N dollars a year.

comment 5y ago · link · parent

I haven't worked there since before the pandemic, but that's my understanding.

comment 5y ago · link · parent

Yes, though I'd already left to start my own company, but we don't have a cafeteria either.

comment 5y ago · link · parent

That's never been my experience.

comment 5y ago · link · parent

> Nobody buys prepared food every day, and the costs of food are negligible for a Google employee.

Of course they do? When I've been crunching, like just putting insane hours in, I've gone weeks without cooking and just ordering in. It costs a fortune, even at Google salary - or in my case, 'SF' salary. Not to mention the cost of living is already absurd due to rent - your salary gets eaten up faster than you might imagine.

comment 5y ago · link · parent

When Dropbox served food I valued it at 50k, ie: in order fro a company to poach me, given they don't have food, that's 50k they'd have to make up for. While I don't spend anywhere near 4k a month on food, there were a few things to consider:

a) 3 meals prepared for me saves me time and money. I love to cook but I don't have tons of time anymore and I don't have a a good kitchen. If I want to save time via delivery I end up spending tons more, and I don't think I eat as healthy.

b) The food was ridiculous. I've eaten a lot of good food, I've eaten in numerous countries, and Dropbox's food was god tier.

c) Tons of snacks, little treats, etc. Wine as well. Given the incredible quality of the food I wouldn't be surprised to find that I was eating quite a lot in terms of money.

It was such a quality of life win, especially as someone who loves food, to just have insanely good meals every single day. Even if ultimately it probably saved me closer to 1000 a month than 5000.

comment 5y ago · link · parent

We can only talk about breaches on the day they happened otherwise it's propaganda?

comment 5y ago · link · parent

Most people will say no, but I think if you add some constraints it gets a lot easier. Things like MFA and a zero trust approach are extremely effective against attackers. If you have the ability to start early and get that sort of approach in place you're going to be one of the harder targets out there.

There's obviously way more to it than that, but a huge problem today is that once an attacker gets into a network they can hop around as they please due to implicit trust. Removing that implicit trust and checkpointing access via u2f are huge barriers.

It's also not super hard imo to gradually move to.

comment 5y ago · link · parent

Why would you think this? They found shared infrastructure and TTPS related to other attacks for the actors.

edit: And what's with the "hacks" scare quotes? We know exactly how the attack happened, step by step... in what way was it not a very straightforward hack?

comment 5y ago · link · parent

If you don't wait for a response you're not really getting the same benefit.

comment 5y ago · link · parent

Drop is synchronous, and it's unclear what async Drop would look like afaik, so not today.

comment 5y ago · link · parent

If your goal is to use the uuid as a delegated capability it's going to be much more complex to use the primary key for your row than to use a separate key.

comment 5y ago · link · parent

We'll have to agree to disagree. Systems like the ones I described are a hell of a lot easier to build on long term while maintaining those invariants.

comment 5y ago · link · parent

It's going to be an optimization that assumes some constraints on how you interact with your database.

comment 5y ago · link · parent

It makes sense that mounting a volume requires understanding a user mapping tbh. I think the answer is twofold:

a) Many problems solvable with a volume can be solved with a bind-mount, cache-mount, etc [0].

b) In the event that you actually need to map in a user-file, wrap the docker command in a script that manages the logic. At this point you're writing a system tool that's doing things outside of the context of a container - it's not really docker's fault that it doesn't try to make this trivial.

[0] https://vsupalov.com/buildkit-cache-mount-dockerfile/

comment 5y ago · link · parent

Another benefit of using sequential integers is that you can leverage a number of optimizations.

For one thing you can represent a range of data more efficiently by just storing offsets. This means that instead of having to store a 'start' and 'end' at 8 + 8 bytes you can store something like 'start' and 'offset', where offset could be based on your window size, like 2 bytes.

You can leverage those offsets in metadata too. For example, I could cache something like 'rows (N..N+Offset) all have field X set to null' or some such thing. Now I can query my cache for a given value and avoid the db lookup, but I can also store way more data in the cache since I can encode ranges. Obviously which things you cache are going to be data dependent.

Sequential ints make great external indexes for this reason. Maybe I tombstone rows in big chunks to some other data store - again, I can just encode that as a range, and then given a lookup within that range I know to look in the other datastore. With a uuid approach I'd have to tombstone each row individually.

These aren't universal optimizations but if you can leverage them they can be significant.

comment 5y ago · link · parent

Is the goal here to save space?

comment 5y ago · link · parent

I think ideally your primary key is whatever makes sense for your performance/data model, and then if you want to delegate authority with UUIDs you do that via a separate mapping.

By separating that out you can get a lot:

1. You can extend your delegate system by modifying the delegate table, rather than having to muddy your data model with authority information

2. You can TTL the mappings in the delegate table

3. You can have many mappings to the same data, but each one can have its own restrictions.

It's a bit more complex but you end up with a system that really hones in on the benefit that you're bringing up.

comment 5y ago · link · parent

The article explicitly states that by 'abolish' they mean provide alternatives.

comment 5y ago · link · parent

Do you think people aren't cheating in school already? Cheating is primarily a symptom of mixed incentives. When the goal is to pass a test, cheating is the obvious, correct solution - you're an idiot if you don't cheat, frankly, if your goal is to get a good grade.

If your goal is to learn, and failure is considered safe and a necessary part of the process, you'll never cheat.

I strongly believe that human beings fundamentally want to learn. In fact, I'd generalize that to most intelligent life - learning provides a feeling of satisfaction.

It is only in this nonsensical system where we conflate learning with grades that we can, through decades of abuse, start to not want to learn.

comment 5y ago · link · parent

In the 5 years that I was enrolled in high school I likely attended considerably less than most others do in their 4 years. Instead, I skipped classes and walked around NYC. Sometimes I'd go to the Hudson river and read - sometimes books for school, or sometimes books I'd picked up myself. I'd go to Barnes and Nobles sometimes, the big one in Union Square, and sit and read. I was really into physics back then so I'd grab some pop physics book and dig into it. One class I enjoyed had us read Pere Goriot, which I loved, and kicked off a 'sit on the Hudson with some Balzac' phase.

And of course sometimes I'd play video games or sleep in, or just try to relax. I'm not going to pretend that there wasn't a lot of leisure in there, and I don't think that's a bad thing at all.

When I did go to school I was pretty social. I skipped class, chilled in various places and hung out with people. I went to classes that I thought were fun if I wanted to, but usually that would become too annoying to schedule around the classes I had no interest in, so I'd fall behind in the good ones and kinda throw the baby out with the bathwater.

I never really experienced bullying, and the schools I went to were pretty good about that sort of thing. Still, I did witness it - there's no school I've seen that doesn't have a "weird kid" who people tease.

I found the article's focus on that interesting, because I hadn't considered it. High school added tons of anxiety to my life because being truant is actually not that easy to pull off, and is something where the government at some point gets involved. I was absolutely labeled as lazy and written off by many, which I think anyone who knows me today would laugh at, since I'm a CEO and work constantly.

For those who were actually different enough to be bullied I can't even really imagine what that must have been like. And we tell kids "high school ends eventually", but it's 4 years of your life in misery, critical, developmental years, and instead of asking what the fuck we're doing we just tell them "it'll be over soon" where "soon" is not at all soon.

What high school gave me was a place to meet people my age, to pick up some interesting books and knowledge (I'd sometimes meet with teachers after class to discuss or trade books), and really, primarily, to date and get a lot of social experience. To me, everything else was to the detriment of my life. I greatly resent much of what was imposed on me, I feel more strongly than ever at this stage in my life that high school was an unjustified, gross burden that made learning harder for me than it should have been.

Like the author I still support the idea of giving young people structured places to learn, but we need to seriously re-evaluate the goals. While many of my peers took on tons of debt, I thankfully was not accepted into any private university, instead starting my adult life with some odd jobs here or there before finally attending state school, where I dropped out after 5 semesters and began working as a software engineer.

All of high school for them was gearing up to this great thing, college, which now most of them associate with massive debt - some of them owing hundreds of thousands of dollars to this day.

It shouldn't be hard to point at the system and go "yeah that's fucked up", but of course, I'm nearly 30 now and the pains of high school aren't exactly top of mind.

comment 5y ago · link · parent

> But then you’re also executing that code as a trusted user. Ie the real hack is owning the dev.

That's like saying the real hack is sending a phishing email, ignoring all privesc, lateral movement, etc.

> No. The vast majority of build systems are either locked to private repositories, and/or a subset of developers, and/or run in an ephemeral sandbox.

I didn't say otherwise. I said that the majority allow untrusted execution. If you consider your engineers laptops to be trusted you're thinking about networks the way people did ~10+ years ago.

> It’s negligible because if someone can exploit a buffer overflow in awk then they can already run arbitrary code in awk

This isn't true, but even if it were you can just replace awk with anything else that's not turing complete.

1
949596
164