9,763 karma · joined Mar 4, 2015 (11y ago) · 1,712 submissions
comment 2y ago · link · parent
> As part of the ADS-B messages we receive from each aircraft, the Navigation integrity category (NIC) encodes the quality and consistency of navigational data received by the aircraft. The NIC value informs how certain the aircraft is of its position by providing a radius of uncertainty.
> Poor NIC values alone might indicate a problem with an aircraft’s equipment or unfavorable positioning. However, when observed in multiple aircraft in close proximity during the same time frame, it suggests the presence of a radio signal interfering with normal GNSS operation.
A single observer can't really say for certain that jamming is happening; you need a distributed sample from multiple different sensors over a period of time to have reasonably high confidence.
comment 2y ago · link · parent
The trouble is not SMS being used for 2FA, but rather that using it as the password reset mechanism effectively means it's now the single authentication factor. This is really bad because SMS (due to SIM swapping) is significantly worse than regular passwords.
When SMS is actually a second factor it's still actually an improvement over no 2FA for most users, because now in addition to just stealing your password the attacker has to SIM swap you or find some other means to get the 2FA code.
Your proposed fixes (TOTP, Passkeys) are arguably no better if they are also used as single factor password resets.
I think the problem is really for password recovery you need N+1 authentication mechanisms -- in other words for 2FA login, you need a 3rd password recovery mechanism so you can still do a 2FA password recovery in case one of the first two factors is unusable. Few sites do this right.
comment 2y ago · link · parent
Dear OS: If I have multiple instances of an application open it's because I'm doing different things. If one is a text editor, you should not act differently depending on if the other one is a PDF viewer or another text editor.
Many applications already have their own "grouping", usually called tabs. Web browsers being a really obvious one, and where this application grouping is the worst. Half my "apps" are really just web pages.
Grouping the window where I'm testing the web application I'm currently coding with the IDE where I'm working on the code would make way more sense than grouping it with my web-based email client... yet here we are.
comment 2y ago · link · parent
Having an absolute position sensor would tell you this, but is complex and expensive compared to having two binary state switches (fully-open vs fully-closed) which is also more expensive than a single state switch.
Probably in many cases it just isn't worth it to instrument beyond the single state, especially if the affect of the control is being monitored (eg: flow, temperature, power). However, communicating the state as accurately as possible is important to avoid confusion ("This valve says ON, so that's not the problem" vs "I can see this valve is NOT OFF, but let's double check it's fully-on?").
comment 2y ago · link · parent
Drinking untreated rainwater is a pretty bad idea [1], even without considering PFAS. A bird pooping on the surface you collect it from is enough to contaminate the tank with bacteria, parasites and/or viruses, and if you collect any kind of ground run-off it gets significantly worse. [2]
[1] https://www.cdc.gov/healthywater/drinking/private/rainwater-...
[2] https://novascotia.ca/nse/surface.water/docs/SurfaceWaterQA....
comment 2y ago · link · parent
Another thought experiment: If a portion of the company's website was at least partially generated with an LLM, does that somehow absolve the company of responsibility for the content they have on their own site?
I think a company is free to present information to their customers that is less than 100% accurate -- whether by having chatbots or by doing something else silly like having untrained, poorly-paid support reps -- but they have to live with the risks (being liable for mistakes; alienating customers) to get the benefits (low operating cost).
comment 2y ago · link · parent
If, instead of a chatbot, this was about incompetent support reps that lied constantly, would you make the same argument? "We can't hire dirt-cheap low-quality labor because as company representatives we have to do what they say we'll do. It's so unfair"
comment 2y ago · link · parent
I guess this depends on your threat model. In what cases would your password vault be compromised, but your TOTP vault still be secure?
If someone gets access to your unlocked PC/phone, don't they then have access to both? Do you store your TOTP vault password in your password vault (obvious)?
If someone gets into your password vault, why wouldn't the same mechanism also let them get into your TOTP vault? (This applies whether it's brute force, keylogger, hardware exploit, or $5 wrench.)
comment 2y ago · link · parent
I generally try to have support for this in the application, using a `.local` config file override which is in .gitignore. If one person has this trouble, chances are the rest of the team does too, and making this change is usually less time than the team collectively spends messing with it in a week.
Sometimes there's an existing workflow everyone just accepts (project in a specific path; some dependency manually installed locally; specific HOSTS alias to the database server IP; etc) but so long as you don't break that while also making it better/easier, I've found it's usually accepted.
comment 2y ago · link · parent
Mechanical switches aren't even reliable for this because of how 3-way switches work (their state doesn't indicate the state of the light). Unless you remember which are 3-way and which are single, you can't trust any of them. With smart switches in the same locations this is a non-issue.
An interesting thing is switches where you can't see if they're on as easily, such as the outside front lights, are for the most part fully automated (based on timer/door/motion and/or camera object detection) and we basically never touch the switch at all.
It's important to be consistent, though, since you technically can program the switches to do anything. In my house pressing up once turns the light on as you'd expect, but in some rooms the light will be less than 100% or have a warmer color temperature at night. Pressing twice turns on max brightness (or something similar, such as: 5000K color temp; also turning on the lights an adjacent room; turning on _all_ the backyard lights). I rarely use 3, 4 or 5-taps except for a couple special things (eg: 4x off on my office switch puts my PC to sleep; 3x on one of the basement switches activates a "party mode" my kid loves).
comment 2y ago · link · parent
If you're a carrier, it pays to terminate all calls -- spam or not -- by delivering them to your actual customer. You get paid by the originating carrier, and in a lot of cases you also get to charge your customer per-minute fees (or use up their prepaid minutes).
comment 2y ago · link · parent
Either way, by not paying for the insurance (redundant systems) up front the organization is explicitly taking on the risk.
Whether the cost now is higher is impossible to say as an outsider, but there's a lot of expenses: paying a premium for emergency repairs/replacement; paying salaries to a bunch of staff who are unable to work at full capacity (or maybe at all); a bunch of IT projects delayed because staff is dealing with an outage; and maybe downstream ripple effects, like classes cancelled or research projects in jeopardy.
I've never worked in academics, but I know people that do and understand the budget nonsense they go through. It doesn't change the reality, though, which is systems fail and if you don't plan for that you'll pay dearly.
comment 2y ago · link · parent
For someone actually using git (and the CLI, at that) I'd expect to be able to say "oh, make sure git is in your path" and for them to understand how to check and set that, or at least be able to Google it and follow the instructions themselves. Likewise I'd ask something like "Can you cherry pick just that bug fix into a new PR so we can merge and deploy it today?", not give them a series of git CLI commands to paste in.
My observation of git beginners is ones using CLI say things like "oh, I screwed up my repo and had to clone a new copy". Good GUIs don't easily cause this situation, and mostly let you see and fix what happens when you do some weird accidental merge or rebase or someone else has force-pushed.
comment 2y ago · link · parent
How much is being done to improve yields of these older process sizes, maybe using the improvements done for smaller sizes? Logically it must be possible to have 100% yield on wafers at a certain process size -- but what size is that?
[1] https://en.wikipedia.org/wiki/Haswell_(microarchitecture)
[2] https://en.wikipedia.org/wiki/Microprocessor_chronology#2020...
comment 2y ago · link · parent
comment 2y ago · link · parent
I've been doing it for about 20 years, and I can't even recall anything being broken or not working, but maybe I'm not using services that connect like that. The most annoying thing I can think of is when I sign up using "example.com@my.domain" and it tells me "example.com" isn't allowed in the email address... but this is rare, and easily worked-around.
On the other hand I know several services that were either compromised or sold their email list. Back when email filtering was mediocre at best, it was easy to make rules to completely filter those addresses out.
comment 2y ago · link · parent
What I really liked was you could login with your own IdP, so for example you typed in "yourdomain.com" and got redirected to authenticate (no interaction if you already had a live session on your IdP). You could enable this with an html meta tag, even if you didn't run the actual provider.
Unfortunately the only big site I used that had it was stack overflow.
I haven't followed as closely but I don't think OpenID Connect (which is based on oath2) even allows this; instead it only works with the providers the site operator has decided to enable it for. Which of course are typically just the big ones.
comment 2y ago · link · parent
I hadn't thought of the issue of changing your primary email, but what always worried me was tying everything together to other_company in case my account was ever compromised, shut down, or the sign-in or even entire service is discontinued. I also don't like that I'm forced to consider the security scope -- how much am I granting this service access to? What does the scope it's requesting actually mean to my privacy/security?
I like when I go to a site and my password manager shows me the little "[1]" badge indicating I have an account, because I honestly wouldn't remember where I have accounts or what sign-in partner I previously used. It's especially neat when I stumble across something that seems new, but then realize I have an account that I created 8 years ago.
When I'm forced to use a sign-in partner, I learned to make a password manager entry that just says "use provider_name", but since I'm doing that anyway it doesn't save me any time at all.
comment 2y ago · link · parent
Think of an app doing an AJAX call to load something from a database:
1. App sends HTTP request
2. Load balancer gets request, sends it to actual server (or lambda or whatever)
3. Server gets request, makes database query
4. Database gets query, executes it against data
5. Data is returned to server
6. Server returns to load balancer
7. Load balancer returns data to client
Every single one of those points is a potential delay, and a potential failure point, and unpredictable. You don't know if the servers are heavily loaded or not, or if something is containerized and doing a cold start. You don't know if your query is going to return 1KB or 1GB of data.
It's not that it isn't possible to do something better than a spinner, but it's a really hard problem to predict "done". In most cases -- for example if your 95th percentile response time is <200ms -- the cost to do it doesn't justify the effort.
comment 2y ago · link · parent
It isn't super-hard to fix this, but does take effort/time/money. For example, test on slow devices on slow connections. There are proxies that can throttle and introduce latency, or even let random connections timeout.
There's a catch-22 here though: doing this early in a product's life probably doesn't make sense as it's almost certainly better to focus your efforts on creating the product. But the longer you wait, the harder (== more time-consuming == more expensive) it is -- there's more architecture to change, there's complex page logic that eg didn't account for potential timeouts while doing a callback to validate something entered in a text box is unique, etc.
comment 2y ago · link · parent
> someone just threw out an old PC that they haven't used in years and the disk isn't encrypted.
These are scenarios where I think expiration doesn't help at all. I assume your reaction is not just "oh well, the compromised sessions on that device will expire in 70-ish days so we can just ignore it" but instead you immediately consider everything on the device compromised and kill all sessions, rotate all account passwords, etc.
If it takes you a day or two to notice this event happened, expiration doesn't help: long expiration hasn't happened yet, and with a short expiration, you still don't know and can't assume it protected anything. In fact, the safe thing is to assume the session was accessed within minutes of the incident.
> For my service I ended up doing something in between. Sessions last for 14 days, but they are automatically renewed indefinitely.
This is a pretty rational approach, but of course the time frame depends on your users and how they user your system. Auth0 has a good rationale behind their approach[1]:
> You can configure session limits with up to 100 days of inactivity (idle timeout) and up to one year in total duration (absolute timeout).
> The motivation behind the 100-day idle timeout cap is to cover one quarter plus a few days, which provides wiggle room for people who log in to do end-of-quarter reports.
[1] https://auth0.com/blog/balance-user-experience-and-security-...
comment 2y ago · link · parent
That type of thing seems ideally suited to healthcare use, and we have such better devices now than whatever cards were used way back then. Amazing it's still Windows PCs deployed and secured with passwords.
comment 2y ago · link · parent
If it's expiring in a few minutes, presumably you're trying to protect against two things: (1) Session hijacking and (2) Unlocked computer.
Session hijacking is somewhat preventable via other means (eg: IP address tracking), but more importantly, in what case can a session be hijacked only 15 minutes later?
Someone walking away from an unlocked computer is an impossible problem for a app/site to solve. If an attacker has access to the PC, they can install malware that sniffs all traffic or passwords, and if the user saves their password(s) on their PC all of those are compromised anyway. This is a responsibility of the person responsible for the computer -- eg, the user and/or the IT admin.
When sessions/passwords expire in a time measured in days, I can't help but think they are basically saying "it's okay for an attacker to have access to this system for 89 days... but not 90!" The only valid argument I've ever heard for this is an attacker might be doing offline cracks of passwords -- but there's so many other fails involved there that I can't see how blindly expiring them is at all useful by comparison. Not to mention rotated passwords are very predictable[1] so it's unlikely to even mitigate the attack.
[1] https://www.sans.org/blog/the-debate-around-password-rotatio...
comment 2y ago · link · parent
Holy crap. I have definitely run into this in the past, but had no idea!
I was configuring a load balancer that served SSL certificates for customer domains which included a mix of wildcard, client-supplied and LetsEncrypt-obtained certificates, and was all dynamically configured based on a backend admin app.
I was getting wildly inconsistent behavior where I'd randomly get certificate validation errors, but then the problem would disappear while diagnosing it. The problem would often (but not always) re-occur on other systems or even on the same system days later, and disappear while diagnosing. I never isolated it to Chrome or the time-since-Chrome-was-restarted, but I do remember figuring out it only affected certificates using an intermediate root. There was a pool of load balancers and I remember us spending a lot of time comparing them but never finding any differences. The fix ended up being to always include the complete certificate chain for everything, so I am pretty confident this explains it.
This was several years ago, but maddening enough that reading this triggered my memory of it.
comment 2y ago · link · parent
Browsers have a long history of accepting bad data, including malformed headers, invalid HTML, and maintaining workarounds for long-since-fixed bugs. This isn't really that different.