21,278 karma · joined Nov 23, 2012 (14y ago) · 6,746 submissions
blog: https://rtpg.co
email: raphael at above domain
comment 3y ago · link · parent
People might talk about burner phones, but many localities never really had burner phones in the first place (Japan doesn't give a phone number on travel SIMs, there's "no way" to have a phone number without getting your ID checked somewhere), and other localities are tightening the grip on this.
It's not a universally nice and open solution. But it's probably one most markets will bear
comment 3y ago · link · parent
In the Real World(TM) this is a fairly uncontroversial idea. The Internet is very wild west on these things and that has lead to interesting outcomes... but really age gating porn is in line with many things in the world.
comment 3y ago · link · parent
This issue of power in weird places could be aided by processes that make… well, something useful.
comment 3y ago · link · parent
Meanwhile the intersection of “hasn’t heard this” and “is intentionally turning off location services on phones” is, I imagine, an extremely small cohort of the phone using population. But this would be a good sort of public poll to do!
comment 3y ago · link · parent
Or is it really actually "dig deep enough and we find stuff" has almost always been true, making this distinction without a difference?
Just can't help thinking about lakes and acquifers drying up. Even in a more "renewable" scenario, at one point there is a bottom. I just wonder if we have a good feeling for where that is .
comment 3y ago · link · parent
To your point I think there’s a lot of that which is more manageable than expected, and there are a lot of spectrums to navigate there
comment 3y ago · link · parent
One might think “well city dwellers have more money!” But a huge issue is housing. There’s a supply issue and a cost issue there that simply is a non-issue for rural populations.
Searching for some genetic reason is one thing, but “we cant make a comfortable living space for future children” is just a major point that comes up in surveys and just makes sense.
comment 3y ago · link · parent
[1] includes info on this (see "flawed CSRF protection")
[0]: https://www.digitalocean.com/community/tutorials/an-introduc...
comment 3y ago · link · parent
> They can't inject a token because you don't get the token from them, just the one time code.
that's not correct in the most common flow? The most common flow involves the user agent providing the information via a GET, so they can theoretically provide a token.
The reason the state parameter is important is because without it, a malicious actor can make a link that goes directly to your system's "oauth step finalized" step, but with their credentials. (Pedantic attack: service has slack push notifications integration, through OAuth. Attacker creates link like https : //service/connect-slack-finalize?token=token-to-attackers-slack that victim clicks on. Without using state, the service will just take the token and stick it into some slack integration. now attacker's slack is getting messages for the victim's account on the service. Cookies mean that the victim's thing is accepted immediately).
comment 3y ago · link · parent
> Maybe you need to implement some uncommon signature verification. It could be anything.
So my feeling on this is that at the very least OAuth tends to be "well it's going to look like this, but there might be some tweaks".
I have set up OAuth verification with multiple services in the past. The social aspects and the business aspects have always been more complicated, but at least "it's OAuth" (much like "it's REST" for APIs) establishes a core understanding very quickly.
I'm open to saying that we should add more standard stuff to the flow, if it's optional then people who use oauth libraries will end up with a lot of this stuff by default. But I think the status quo is pretty nice, all things considered.
comment 3y ago · link · parent
> How do you validate tokens? (Either on the resource-server end, or on the client-end to know if trying to talk to a resource-server is a waste of time, or to know if your post-redirect-uri is getting spoofed):
At the beginning of the "standard" OAuth flow you can pass in client state. So you generate a signed nonce. Remember, you are starting this flow, so you mix in some user data (avoids CSRF problems), and you are pointing to some HTTPS site.
This is not 100% perfect compared to "remote server has some signing" but it does allow purely local verification of tokens when they are first received, as you can stick stuff into the "state" request parameter (as anyone should be anyways to avoid trickery).
comment 3y ago · link · parent
It trained me to open windows to create circulation, but unfortunately some of the reduced airflow was unsolvable short of me like... installing more ventilation into my room.
I am glad I am aware of CO2 stuff (and definitely feel like I've reduced headaches and the like from being more mindful) but sometimes you will be informed of a bad CO2 environment but be totally incapable of doing anything about it and that really sucks.
comment 3y ago · link · parent
“Help me bundle a bunch of pictures in a low friction way that looks nice” is still an untapped market IMO. Google is theoretically some UI skins and nicer defaults away from doing this through Google Docs. A shock to me that Evernote could never figure out how to get Skitch working as a part of this
comment 3y ago · link · parent
I enjoy being able to sign up and just try a thing without interacting with a sales team, but... I mean. This is a video CDN, not a newspaper subscription. I definitely know what I would do (but I am not a successful business)
comment 3y ago · link · parent
comment 3y ago · link · parent
If you do not have location sharing enabled, how could a company running an app know about you? I can think of things like
- the cell phone company is selling your location info to the company, that has your phone number via SMS
- Guessing based on EXIF data from previous posts and previous location service usage ("you're probably where you always are")
Is there something else I'm missing? The point here is we are talking about an app on your phone (not some Apple service or the phone company) knowing where you are
comment 3y ago · link · parent
To your point, One could write something like rye in Python, and then use PyOxidizer to package it up. I imagine a part of this is "Rust is fun", which is totally a legitimate reason to work it. And of course Rust comes with a very good distribution story (Go might have been another good answer for some people).