Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
skrebbel
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
44 ms
·
871.
▲
by
skrebbel
2y ago
I really love the Durable Object design, particularly because it's easy to understand how it works on the inside. Unlike lots of other solutions designed for realtime data stuff, Durable Objects have a simplicity to them, much like Red
872.
▲
by
skrebbel
2y ago
Thanks!
873.
▲
by
skrebbel
2y ago
Personally I consider that a benefit at least as often as not. In Nystromian terms, PHP functions are colorless, and that removes a whole kind of complexity (at the cost of, like you correctly point out, potential performance problems).
874.
▲
by
skrebbel
2y ago
Thanks!
875.
▲
by
skrebbel
2y ago
Thanks!
876.
▲
by
skrebbel
2y ago
Can someone explain to me why this is more impressive than landing the rocket? To a layman like me, it looks very similar - the thing looks just like a rocket but without a pointy tip, and on the way down I don't understand why differe
877.
▲
by
skrebbel
2y ago
(2015) Btw while this code doesn't win a prize, I agree with the author that functional style is worth it in many cases, even for a language as wordy and cumbersome as PHP. I still love PHP - its deployment story is still unparalleled
878.
▲
by
skrebbel
2y ago
> If you're designing an airgapped system, this is literally the first thing you should be worried about after ensuring that the system is actually airgapped. And next time if some other airgapped vuln is reported, that will be li
879.
▲
by
skrebbel
2y ago
It's perfectly imaginable for a library to exist that is designed for a specific use case (eg securely send a message to a recipient that already knows the key), is implemented across many languages and platforms, and defaults to the s
880.
▲
by
skrebbel
2y ago
Yes, this is exactly what I'm arguing for. Abstractions like PHP's `password_hash()`. (Note that I disagree that "HMAC-SHA256" qualifies as an abstraction. It's just more character soup)
881.
▲
by
skrebbel
2y ago
The character soup is fine. The problem is that people stop after that. Want security? Here, a bucket of character soup! Good luck! There's nothing stopping library authors from choosing good defaults for well defined use cases. My bee
882.
▲
by
skrebbel
2y ago
I did not make my point well enough. I don't mind that crypto is inscrutable, that's fine (and unavoidable). Plenty other tech that I use every day is inscrutable (eg TCP, or HyperLogLog, or database query planners, or unicode tex
883.
▲
by
skrebbel
2y ago
Wow, this is very nice. One of my pet peeves is how 90% of security resources seem designed to be absolutely inscrutable by non-security experts - especially anything from cryptography. Every single page in here however is clear, concise, t
884.
▲
by
skrebbel
2y ago
In case the author reads this, I tried the test page on a newish Windows install and at the third shift-press, a "Do you want to enable Sticky Keys?" Windows dialog opened, and the third shift keypress didn't make it to the b
885.
▲
by
skrebbel
2y ago
why?
886.
▲
by
skrebbel
2y ago
Nice! mad nitpick, I feel like the Euro display filter is weird, as it renders "12.25€" whereas I'd expect a Euro value to be displayed "€12.25". I've never seen it with the euro sign at the end in my life! M
887.
▲
by
skrebbel
2y ago
Like Java, you can write Haskell in any language but that doesn't mean it's always a good idea.
888.
▲
by
skrebbel
2y ago
Maybe the people running the crawler are also parenting tiktokers
889.
▲
by
skrebbel
2y ago
I thought I knew basic HTTP 1(.1), but I didn't know about trailers! Nice one, thanks.
890.
▲
by
skrebbel
2y ago
This oneliner was obviously done for the giggles, and nobody pretends it's reasonably readable code. Getting anal about definitions here is entirely missing the point. (which is "look, K lets you write extremely dense code!")
891.
▲
by
skrebbel
2y ago
> his AWS savvy It seems to me that at this point, being an AWS customer is about as difficult as running a server manually. It's just different skills. The risk of running your own servers is certain kinds of downtime may be harder
892.
▲
by
skrebbel
2y ago
TalkJS ( https://talkjs.com ) | REMOTE (Europe / Middle East / Africa) TalkJS lets developers build a perfect chat feature in just a few minutes. We power communication in online marketplaces, community sites, multiplaye
893.
▲
by
skrebbel
2y ago
Implications are hard! Glad to help & sorry for being grumpy about things earlier.
894.
▲
by
skrebbel
2y ago
Yeah it's about time y'all make a Contour final
895.
▲
by
skrebbel
2y ago
yeah so this means that if i want to use a page's font family but not its font size, the user has to do extra effort, and set not just `font-family: "Comic Sans"`, but also `--some-component-font-family: "Comic Sans"
896.
▲
by
skrebbel
2y ago
True, but i wish there was a way to say "don't inherit anything here except fonts and colors". Being able to make a new root for rems would be nice too.
897.
▲
by
skrebbel
2y ago
We ran into this too, and ended up not using the Shadow DOM at all. We want our stuff to automatically use the page's fonts, sizes, colors etc. Also we want customers to be able to customize stuff with CSS without having to use JS hack
898.
▲
by
skrebbel
2y ago
I've yet to see this go wrong in practice. The kinds of components that are worth publishing as web components are often large, non-trivial components. Eg media libraries, emoji pickers (like the one made by this article's author)
899.
▲
by
skrebbel
2y ago
Not entirely, I said "Most runtimes are pretty small". I think people got trained by React into thinking that frameworks are big. SolidJS is 7kb, Lit is 5kb, Svelte is tiny and used to have no runtime at all, etc. Only React is bi
900.
▲
by
skrebbel
2y ago
Web Components let you use a UI component made in a different framework than yours. That's it. For most other purposes they're pretty awful. Also they let you publish a UI component that works in every framework, without having
More ›