Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
afiori
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
36 ms
·
751.
▲
by
afiori
3y ago
Splitting out the webserver (assuming it is the main entrypoint for users) seems more like an infrastructure choice than application architecture and having an independent email-sending-service looks more like replacing a third-party offer
752.
▲
by
afiori
3y ago
It depends on whose safety is increased and decreased. Car infrastructure is notorious for focusing on the safety of drivers rather than pedestrians. If self-driving cars increase safety for drivers and are worse for everybody else I am not
753.
▲
by
afiori
3y ago
isn't the problem with plastics that once they are underwater or otherwise out of strong sunlight they take forever to degrade or break? In a different context it is what happens with dioxins IIRC.
754.
▲
by
afiori
3y ago
How is glass biodegradable? isn't it basically rock? I don't think that "can be eroded to sand" counts as biodegradable
755.
▲
by
afiori
3y ago
The ironic thing it that it is a negative sum game: as your car get bigger you are safer and other are at greater risk, as everybody else cars get biggers you are in greater danger more so than your cars makes you safe. It is a classic iter
756.
▲
by
afiori
3y ago
That was my the point, these conversations are linguistically phrased as trying to estabilish if something is alive but are actually structured as a debate on what "alive" means
757.
▲
by
afiori
3y ago
I find that these conversations are almost always backwards, as "is X alive" actually handled as "should we consider X as alive". That is we are not trying to discover whether a thing is alive or not, we are trying to de
758.
▲
by
afiori
3y ago
I have no specific knowledge of this, but is it possible that the CEO message was "what Apple says is true but we are going to make it good in the future"?
759.
▲
by
afiori
3y ago
Big brother does not like competition
760.
▲
by
afiori
3y ago
> Instead, we should ban the things TikTok does that we think should be illegal, and then apply the law equally to US and foreign social media companies. This is how the previous "Ban Tiktok" bill basically made VPNs illegal.
761.
▲
by
afiori
3y ago
You can feed new data into it quite easily. a lot of the dismissive takedown of LLM's intelligence uses their spurious knowledge of the world, but it is quite easy to have them 1. search the internet 2. search research articles 3. read
762.
▲
by
afiori
3y ago
but aren't they using biometrics as passwords to access those private keys? or at least to manage them (create new ones and/or revoke older ones)?
763.
▲
by
afiori
3y ago
I believe I have already justified why it might be useful at the protocol/schema level in ways that cannot be replicated at the application level: to eagerly fail on expensive (eg memory) deserialization.
764.
▲
by
afiori
3y ago
I agree, I was only disagreeing with this view: > > The core concept is that the compiler assumes the program is valid I believe that it is more correct to say that the compiler is unrestricted in what it does with UB, so it handles i
765.
▲
by
afiori
3y ago
not if it is a message you receive from a third party. A concrete example might be a batching third party client: the app sends N messages in a single batch and each message has its own size limit.
766.
▲
by
afiori
3y ago
sure, a lot of cases, I suspect that S3 upload limits are different from imgur.
767.
▲
by
afiori
3y ago
it depends on what type of safety. The schema language might for example allow you to specify that an input string/blob should be smaller than 10MB and refuse to deserialize it if it is longer, same for array/list/vector leng
768.
▲
by
afiori
3y ago
Probably more of a narcissistic mistake.
769.
▲
by
afiori
3y ago
Avoiding this type of state is essentially impossible in FP, as captured bindings of closures have the same properties
770.
▲
by
afiori
3y ago
> The core concept is that the compiler assumes the program is valid I was referring to this. IIRC the spec language is that the compiler is free to assume that UB never happens, but from an operational perspective I believe that the com
771.
▲
by
afiori
3y ago
I don't think that the compiler approach is try and fix the code > it must not be reachable as that's the only way for it to be a legal C program, and then deleted the dead code. Rather it would make more sense if the approach
772.
▲
by
afiori
3y ago
If the approach to a accident/catastrophe/breach is to find guilt and assign blame then there are strong and clear incentives to avoid blame. In a lot of contexts this cannot be significantly changed by company culture as many leg
773.
▲
by
afiori
3y ago
yes
774.
▲
by
afiori
3y ago
that is inheritance not the cascade: Inheritance allows for DOM nodes to use properties set on their ancestors, the cascade algorithm is how multiple conflicting rules interact and are overwritten. https://developer.mozilla.org&#
775.
▲
by
afiori
3y ago
> can you guarantee the generated CSS doesn't put the browser's layout engine in an infinite loop or something? the way TW aproximatively works is to collect a set of used class names from your code (e.g. flex, min-h-screen, bg
776.
▲
by
afiori
3y ago
Do you know how Tailwind works? What you say is generally true, but I don't really see how it applies to TW...
777.
▲
by
afiori
3y ago
Tailwind is not Styled Components, there is no dynamic component to it. In that regard it is pretty similar to Sass. The main effect on performance likely are bigger html documents (which can be optimized) and simpler CSS selectors. In real
778.
▲
by
afiori
3y ago
I like tailwind but I only ever used it in a JSX context, if I had to author plain html I would likely never choose it.
779.
▲
by
afiori
3y ago
the cascade has as many benefits as it has drawbacks, few people like to juggle specificities. IMHO the only important application of the cascade is in its original purpose: custom user defined stylesheets (today often via browser extension
780.
▲
by
afiori
3y ago
Tailwind is made for a component world where reusability is at the template/component level. This also covers both scoping issue with css: the usual issues with the single global namespace for classes and the unlimited depth of the des
More ›