Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jitl
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
27 ms
·
571.
▲
by
jitl
1y ago
Plenty of those on Twitter too today
572.
▲
by
jitl
1y ago
I think the hard part is the droplet animation when expanding/contracting controls, dragging, etc.
573.
▲
by
jitl
1y ago
Browser/webview have had iOS 7+ style blur for a while now, but won’t have an answer to emulating Liquid Glass shaders for a while. EDIT: although perhaps this will allow emulation in webview if performance isn’t abysmal https:/&
574.
▲
by
jitl
1y ago
You’ll be able to turn them off with “reduce transparency” setting like you’ve been able to since iOS 7
575.
▲
by
jitl
1y ago
True that it’s preventable if caught early enough in infection. However the nerve damage caused by the leprosy bacteria is much harder to treat and continues the harm even after antibiotic treatment.
576.
▲
by
jitl
1y ago
My one weird trick on this subject, as a person who enjoys sweets & a dessert, was to switch my late night sweets habit to fruit juice popsicles. Still super tasty and sweet, but generally I find them much lower in calories per satisfac
577.
▲
by
jitl
1y ago
Really happy to see TigerBeetle live up to its claims as verified by aphyr - because it's good to see that when you take the right approach, you get the right results. Question about how people end up using TigerBeetle. There's pr
578.
▲
by
jitl
1y ago
Postgres does not have incremental view maintenance for its materialized views like clickhouse does. This means the implementation strategy would need to be quite different. Perhaps triggers is enough and of course if you use functions then
579.
▲
by
jitl
1y ago
Moving every success value to the heap seems like a big loss to me but I don't see an alternative. I think going the interface route also ends up wrapping everything in an even fatter pointer. But at least I get to think "ah maybe
580.
▲
by
jitl
1y ago
Whenever I get an error in NodeJS without a stack trace I am pretty pissed off about it. When my program is failing for some reason I really want to know where it came from, and the stack is hugely helpful in narrowing down the possibilit
581.
▲
by
jitl
1y ago
Is this in the same space as Skia? I wonder what the differences in code size and performance are.
582.
▲
by
jitl
1y ago
Yes
583.
▲
by
jitl
1y ago
Code wraps for me in Safari on iOS 18.5
584.
▲
by
jitl
1y ago
Spotify used Chrome Embedded Framework (CEF) not Electron, but it’s similar in that it bundles Chrome and uses webviews to draw UI
585.
▲
by
jitl
1y ago
SQLite doesn’t accept contributions
586.
▲
by
jitl
1y ago
Of course every round lossy of encoding further discards data. RemoveData(RemoveData(source)) is always going to look worse than just RemoveData(source). Newer encoders manage to remove less visual data per byte of storage used but there’s
587.
▲
by
jitl
1y ago
It really does not need runtime string parsing unless you want to do some kinds of manipulation. I built Notion’s sql`…` literal and “all” it does is concat the string parts arrays and concat the argument arrays so you can pass { query: str
588.
▲
by
jitl
1y ago
I couldn't come up with a reasonable one off the top of my head, but it's for illustration - please swap in a better web api in your mind (edit: changed to ImageBitmap)
589.
▲
by
jitl
1y ago
Symbols are a very safe way to introduce new "protocols" in either the language standard or for application code. This is because Symbol can never conflict with existing class definitions. If we use a string name for the method, t
590.
▲
by
jitl
1y ago
Yeah, great for that use-case - memory management; it's great to get the DisposeStack that allows "moving" out of the current scope too, that's handy. I adopted it for quickjs-emscripten (my quickjs in wasm thingy for un
591.
▲
by
jitl
1y ago
you can write horrid code intentionally in any programming language
592.
▲
by
jitl
1y ago
Browser web pages are quintessential long running programs! At least for Notion, a browser tab typically lives much longer (days to weeks) than our server processes (hours until next deploy). They're an event loop like a server often w
593.
▲
by
jitl
1y ago
Dynamic languages don't need protocols. If you want to make an existing object "conform to AsyncDisposable", you: function DisposablImageBitmap(bitmap) { bitmap[Symbol.dispose] ??= () => bitmap.close() re
594.
▲
by
jitl
1y ago
This is the situation in JavaScript for the last 15 years: new language features come first to compilers like Babel, then to the language spec, and then finally are adopted for stable APIs in conservative NPM packages and in the browser. Th
595.
▲
by
jitl
1y ago
How do you know what the expression is though? Don’t you need to be parsing the SQL? If I have non standard SQL somewhere upstream in the text how does the parser cope?
596.
▲
by
jitl
1y ago
If they’re gonna do that why bother making a new concept? You could already build(normalString, someDict) Like why make me state “A goes here, also the value of A is 1” when I can just say “1 goes here”? When I build an array or map, I just
597.
▲
by
jitl
1y ago
How does the SQL parsing work for the rewrites like removing expressions? I have a project using some non-standard SQL features and we have quite complex queries going on, so the rewriting makes me a bit nervous. The great thing about tstri
598.
▲
by
jitl
1y ago
Does SCSS count? We have many SCSS files for this React website: https://www.notion.com
599.
▲
by
jitl
1y ago
IGN huge, they review/cover a broad amount of stuff but since they’re so big they become known for having average coverage, and the average is not great. So I personally have never looked to them for opinion coverage. I think most peop
600.
▲
by
jitl
1y ago
The React example w/ the complicated table API will work fine for zillions of records. Virtualization is not complex math, and there are many libraries that will implement it for you in various languages. I just tried making an array w
More ›