Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
geocar
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
181.
▲
by
geocar
1y ago
> When I graduated high school, I vowed to never return. My wife however had other ideas, and as soon as my kids were school age, we were back Listen brother, if you do something, it is your choice. Nobody can make your choices for you.
182.
▲
by
geocar
1y ago
> read all the questionable passages This is what I mean: There aren't "questionable passages" Giving their voice that credit is not necessary. > The tweet was advocating for the school board to remove the books People
183.
▲
by
geocar
1y ago
> which were being questioned by some parents I doubt that: My experience is that people who complain about books don't read them, let alone understand them enough to "question" them. > This society has priorities which
184.
▲
by
geocar
1y ago
Hi buddy you might be colorblind: git diff uses green for added things, not blue. That includes --color-words. You might've also changed your color theme and forgotten. You can pipe through less (or something else that doesn't und
185.
▲
by
geocar
1y ago
> The whole “just read the code carefully and you’ll find bugs” thing works fine on a 500-line rope implementation. Try that on a million-line distributed system with 15 years of history and a dozen half-baked abstractions layered on top
186.
▲
by
geocar
1y ago
I'm not entirely sure what the valid_range is doing. Besides updating it, do you use this index for anything else? I agree the performance doesn't seem like it would be great. I do something like 4000 inserts a second, but maybe o
187.
▲
by
geocar
1y ago
That did not surprise me because I did not think the article was about anything but about adapting the dot-net library they linked to on Microsoft's site to swift, and I figured that if I wanted to understand the library and the approa
188.
▲
by
geocar
1y ago
> For things like money, you should be pretty certain, often down to exact fractional cents. That's one way to look at it. Another is that Money is certain only at the point of exchange. > It appears that a similar approach is im
189.
▲
by
geocar
1y ago
> What if I want Bayesian? Bayes is mentioned on page 46. > And why does it need to be part of the type system? It could be just a library. It is a library that defines a type. It is not a new type system, or an extension to any parti
190.
▲
by
geocar
1y ago
Exactly. If someone can harm your website on accident, they can absolutely harm it on purpose. If you feel like you need to do anything at all, I would suggest treating it like any other denial-of-service vulnerability: Fix your server or y
191.
▲
by
geocar
1y ago
> can't write efficient code. Software bloat has already gotten worse by at least an order of magnitude in the past decade. Efficiency is a good product goal: Benchmarks and targets for improvement are easy to establish and measure,
192.
▲
by
geocar
1y ago
One thing I really don't like about it is the implication that the url and the share-button could refer to different things. I feel like browser vendors probably care about knowing whether users use the share button or copy/past
193.
▲
by
geocar
1y ago
> Loading one page is probably faster that loading a template and only after that loading the data with the second request, given that the network latency can be pretty high XSLT is XML: It can be served with the XML as a single request.
194.
▲
by
geocar
1y ago
Nonsense. Following this line of reasoning is that putting percentages on billions is intellectually dishonest: You don't have to go any further than that. It is perhaps out of ignorance (now you know), but if you try to make it about
195.
▲
by
geocar
1y ago
I think you're confusing throughput with latency. You're right nobody processes a million DOM nodes with XSLT in a browser, but you're wrong about everything else: WASM has a huge startup cost. Consider applying stylesheet pr
196.
▲
by
geocar
1y ago
> Serving a server-generated HTML page could be even faster. Except it isn't. Lots of things could be faster than they are.
197.
▲
by
geocar
1y ago
Mozilla doesn't use libxslt
198.
▲
by
geocar
1y ago
> [0] ~0.001% usage according to one post there This is still a massive number of people who are going to be affected by this. https://news.ycombinator.com/item?id=44938747
199.
▲
by
geocar
1y ago
> This is actually not a bad idea. Why should the browser contain a specific template engine, like XSLT XSLT is a specification for a "template engine" and not a specific engine. There are dozens of XSLT implementations. Mozill
200.
▲
by
geocar
1y ago
"Cautiously" in favour.
201.
▲
by
geocar
1y ago
> near-zero telemetry usage (<0.01% of page loads), Perhaps without realising it, you are still describing numbers in the hundreds of millions perhaps billions, which isn't even close to zero when you're talking about atoms:
202.
▲
by
geocar
1y ago
> I've worked on Gecko for 10+ years, and we were constantly called names for absolutely any change we would do. Insulted and accused of the worst intentions. I think if Gecko crashed less that'd be great. I think if Gecko star
203.
▲
by
geocar
1y ago
None of this convinces me the fantasy-scenario is likely, nor that passkeys would do anything to solve it: If the sign-in partner sends login-codes via email that it accepts via proxy servers, they're definitely not going to implement
204.
▲
by
geocar
1y ago
> Google seemed so great in the beginning. It's almost like they were good at marketing.
205.
▲
by
geocar
1y ago
> The attack pattern is: There are lots of attack patterns. That is one. I am not certain I believe it is very likely, because (a) I think "sign-in partner" is obvious bullshit, and (b) I don't understand why I would never
206.
▲
by
geocar
1y ago
> think this is mostly solved, or at least greatly mitigated, by using a Slack-style magic sign-in link instead of a code that you have the user manually enter into the trusted UI. Magic links are better than codes, but they don't
207.
▲
by
geocar
1y ago
> for setups requiring this behavior? TLS terminating at your edge (which is presumably where the IP addresses attach) isn't any particular risk in a world of letsencrypt where an attacker (who gained access to that box) could simpl
208.
▲
by
geocar
1y ago
> You seem to be arguing that LISP can be written with more global variables and less function arguments than modern "mainstream" style, closely matching Forth with global variables: I am not arguing anything of the sort. I am
209.
▲
by
geocar
1y ago
> 4May-1May is meaningful to me Great, but it isn't addition. > and frankly I do believe that it is meaningful to you. Well you're wrong. Consider 1Mar-28Feb: Should this be 1 or 2? This proves it can't be subtraction (
210.
▲
by
geocar
1y ago
You might want to look in a dictionary and see what `add` means. 4May+1May is still not meaningful to me, and frankly I do not believe that it is meaningful to you. I do not think you have thought about what I am saying at all, and think it
More ›