Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
strbean
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
151.
▲
by
strbean
1y ago
I didn't realize the term applied to stuff like `sitcom`, I thought it was a requirement that the result used part of the start of one word and the end of another. TIL!
152.
▲
by
strbean
1y ago
Well, you have to sanitize for the transport medium, otherwise you can't sanitize at all afterwards. But if I'm sending user content in JSON and I didn't sanitize it for insertion into HTML, what man in the middle is going to
153.
▲
by
strbean
1y ago
The criteria is "pass through itself without cutting in half". Presumably that extends to "without deleting the object entirely", which is what would happen to pass through in the same orientation.
154.
▲
by
strbean
1y ago
That's not how portmanteaus work.
155.
▲
by
strbean
1y ago
Idk about that, there's a good argument that the most obvious methods should be the safe ones. That's what juniors will probably jump to first. If you need the unsafe ones, you'll probably be able to figure that out and find
156.
▲
by
strbean
1y ago
Agreed. The codebase I'm thinking of was html encoding stuff before storing it, then when they needed to e.g. send an SMS, trying to remember to decode. Terrible.
157.
▲
by
strbean
1y ago
It can be a complicated and error-prone process, mainly in scenarios where you have multiple mediums that require different sanitizers. Obviously you should do it. But in such scenarios, the best practice is to sanitize as close to the plac
158.
▲
by
strbean
1y ago
This is primarily an ergonomic addition, so it kinda makes sense to me to not make the dangerous footguns more ergonomic in the process. You can still assign `innerHTML` etc. to do the dangerous thing.
159.
▲
by
strbean
1y ago
I learned a bit about SSA in a compiler course. Among many other things, it is crucial for register assignment. You want to know each distinct value that will exist, and the lifetimes of those values, in order to give each a register. Then,
160.
▲
by
strbean
1y ago
The problem is that the owner needs to claim their wallet and migrate it to the new encryption. Just freezing the state at a specific moment doesn't help; to claim the wallet in the new system I just need the private key for the old wa
161.
▲
by
strbean
1y ago
Yeah, a distributed ledger for managing property ownership would be pretty borked with no authority to revert thefts, enforce legal orders, etc. It might be an effective way to get buy in from the government if they don't have to manag
162.
▲
by
strbean
1y ago
Don't forget selection bias. There are plenty of ultra-rich people who are not, as far as we know, nutters. We tend to talk about the nutters more precisely because they are nutters. In the case of Thiel, I think his particular flavor
163.
▲
by
strbean
1y ago
Maybe drug policy and the opioid crisis?
164.
▲
by
strbean
1y ago
Typing related NumPy whine: The type annotations say `float32`, `float64`, etc. are type aliases for `Floating[32]` and `Floating[64]`. In reality, they are concrete classes. This means that `isinstance(foo, float32)` works as expected, but
165.
▲
by
strbean
1y ago
Eh, it would be nice if there was a public title database in the US. Ideally government administered, but if we can't have that then maybe a distributed ledger would do the trick. It's hilarious that title searches and title insur
166.
▲
by
strbean
1y ago
Yeah, I've resigned myself to that. The part that irks me is that it doesn't present a password prompt (on initial login) until fingerprint attempts are exhausted.
167.
▲
by
strbean
1y ago
There is no order book for residential rents. There is data for past / ongoing rents, which every major landlord who uses RealPage already has an abundance of. RealPage is providing some model for what the market can bear, in a market
168.
▲
by
strbean
1y ago
> * Why cannot I not punch in a password while Face ID is working? If I'm skiing, I know Face ID isn't gong to work, stop making me wait. Funny, a similar thing has been driving me crazy on my Ubuntu 20.04 laptop with fingerpri
169.
▲
by
strbean
1y ago
> And it was only in Windows 11 that Windows started remembering my window configuration when I plugged and unplugged a monitor. Oh god, I'm going to have to bite the bullet and switch to 11, huh? The one thing that has been saving
170.
▲
by
strbean
1y ago
I've been looking to get offsite backups going. Where do you keep your backups? NAS + cloud? I also wanted to back up my big honking zpool of media, but it doesn't economical to store 10+ TB offsite when the data isn't really
171.
▲
by
strbean
1y ago
That RealPage argument is funny. It's not that they can do it because they are an app, but because they are a third party. So if I create a company that "sells information on the optimal price of eggs", and every grocery stor
172.
▲
by
strbean
1y ago
This one is fun: https://hackerone.com/reports/2981245 > submitter: After thinking it through, I’m really sad to say that I’m not comfortable with disclosing the report . I’d prefer to keep it private . I hope this
173.
▲
by
strbean
1y ago
It's so surprising that we don't use a precise method of gauging wave height for these records. AFAIK they still estimate the surfers height while riding, and then count those heights up the side of the wave in a photograph. I
174.
▲
by
strbean
1y ago
I was thinking more in an upfront payment model, where the customer pre-funds their account with the merchant. If you immediately sent those funds to the merchant, then would you avoid functioning as an e-money institution? Of course, this
175.
▲
by
strbean
1y ago
I think parent was making an (apt) reference to Old School RuneScape, where level 92 represent half of the total XP needed to reach the max level of 99.
176.
▲
by
strbean
1y ago
I think it's a lack of regulation to prevent negative externalities. Particularly with respect to waste management / product lifecycle.
177.
▲
by
strbean
1y ago
I quoted paragraphs of Charlie Kirk's own words. You come back with... Stephen King? What in the appeal to authority is this? Maybe you could respond to my comment instead of link to a horror author's tweet. You could also address
178.
▲
by
strbean
1y ago
What if you inverted the trust equation by giving the money to the service provider immediately, rather than holding any of the up front payment?
179.
▲
by
strbean
1y ago
>He doesn't support the stoning of gays and that's another outright lie. He's pointing out that she can't pick and choose Bible verses because the verse just before talks about stoning gays. Sure, if you ignore his ex
180.
▲
by
strbean
1y ago
Adolf Hitler to the Weimar Republic. Hugo Chavez to Venezuela. Vladimir Putin to the Russian Federation. Etc.
More ›