Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kall
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
181.
▲
by
kall
5y ago
All these other languages make things easier at the cost of performance and reliability. Maybe Rust has gotten to a point where it‘s hurt by it‘s own stellar reputation. It‘s so well liked that people pick it up for all kinds of projects. F
182.
▲
by
kall
5y ago
Working with Promises and async/await doesn‘t really turn into spaghetti in my experience. Biggest downsides are the function coloring and the lack of cancellation primitives. They usually fit the problems I‘m solving pretty well and p
183.
▲
by
kall
5y ago
I see a lot of great tools these days that describe themselves as no-code. To me it kind of means: this tool is a tad more powerful than average and can accomplish things you might expect to need code for. In that sense, handing every user
184.
▲
by
kall
5y ago
What would that look like for you? Something like SwiftUI or Flutter (which feel React inspired) or a totally different thing?
185.
▲
by
kall
5y ago
We moved on. Now there is a new javascript build tool written in a faster language daily (and I love them all).
186.
▲
by
kall
5y ago
useMemo and useCallback do feel a little boilerplate-y. Something is slow, I wrap it in the thing, I let eslint fill the dependencies and there‘s no big downside to doing it all the time anyway. Feels like something I maybe don‘t need to be
187.
▲
by
kall
5y ago
Oh but it‘s not just about the syntax, it‘s also about the semantics, scope rules etc. This is the reason I still like JSX best, because I have a fairly deep understanding of that stuff in javascript while vue templates still leave me scrat
188.
▲
by
kall
5y ago
and if you really want to use statements, you can, using an IIFE for example. It’s not pretty but you can because… ehm… it‘s just javascript. At this point the "is JSX just javascript" discussion has gone on a little to long imho.
189.
▲
by
kall
5y ago
One nice thing about JSX is that it is pretty straightforward to write the function (React.createElement replacement) that it transforms to, so you can use it to construct any complex tree-like structure. No DOM stuff is needed. For example
190.
▲
by
kall
5y ago
Yeah I never really understood this benefit. The file structure is irrelevant to me after 15 minutes, the nitty-gritty semantics of my code are causing me headaches and bugs forever. (I like working with all 3 current frontend frameworks bt
191.
▲
by
kall
5y ago
I‘ve been thinking about it more from a "what I wish one of the 20 OEMs building crazy windows convertibles should build" than a " what can I DIY“ angle. Here‘s what I would want: Computer is maybe the size of new 16" MB
192.
▲
by
kall
5y ago
Yes! To compete, cloudflare really needs a nicer "full-stack" experience where you have one repo, one config file, one CLI and one codebase that is shipped automatically into pages and however many workers, dns rules, kv stores, d
193.
▲
by
kall
5y ago
Well if there‘s any place to learn from next.js it‘s probably Vercel. Looks like great news for Svelte.
194.
▲
by
kall
5y ago
Yeah, It‘s my favorite templating abstraction because I could convert it by hand and so I don‘t really need to mentally model it as an additional layer.
195.
▲
by
kall
5y ago
Are we still taking about vue <template>? I don‘t see how that is any way close to html when it has: custom conditional and loop syntax and semantics, arbitrary js expressions and a unique concept of scope?
196.
▲
by
kall
5y ago
That would be very interesting. Maybe I could finally fulfill my dream of a portable system that can raise the display to eye level while keeping the keyboard at an ergonomic level. I‘m surprised no one else seems to want this. Imagine if y
197.
▲
by
kall
5y ago
If it‘s in the same position in terms of character offset, it might not make a difference to the NN. I‘m impressed as well.
198.
▲
by
kall
5y ago
I actually agree about the fun new substrate part. It‘s a shame that was basically ruined by the huge value pop. If ethereum was 0.001 as valuable and thus could be x1000 more resource efficient and x1000 more affordable to build on, it wou
199.
▲
by
kall
5y ago
Is it "missing it" when I see the train, I understand the train, I believe it will be going very fast, but I don‘t want to board because it‘s going to a terrible destination?
200.
▲
by
kall
5y ago
Nothing. You are implicitly relying on centralized platforms like twitter for hardest part.
201.
▲
by
kall
5y ago
I think you are right that most people critical of crypto don‘t hold any significant assets. But that seems obvious and means nothing. If you have a lot of crypto assets, you think it‘s a good thing. If you didn‘t, you would probably divest
202.
▲
by
kall
5y ago
If it‘s always in the same location inside the api key, it seems very reasonable that it would pick up that pattern, as most projects that include a hardcoded key would include it. API key variables are probably named almost the same everyw
203.
▲
by
kall
5y ago
It seems unfair because the only party that could possibly run an auction before you click the link is google.
204.
▲
by
kall
5y ago
No source for this but I remember FB counted DAUs as anyone who touched an FB integration, like an embedded like button (remember those?). So they will definitely do that.
205.
▲
by
kall
5y ago
It‘s like Second Life or VRChat, but this time, your employer will be forcing you to use it, so it will gain wide adoption.
206.
▲
by
kall
5y ago
Pretty sure that‘s a joke.
207.
▲
by
kall
5y ago
You shouldn‘t really need to do any scraping tricks to get that, because it‘s data the websites (usually) want to give to bots. Or are people getting bot block screens from Cloudflare et all for that basic action these days? It should be a
208.
▲
by
kall
5y ago
We already have react-native-web (<3), so we have that covered.
209.
▲
by
kall
5y ago
I have only a basic understanding of online advertising. Is that really how AMP ads work? If they are pre-rendered before the user clicks the link, when does the auction happen? Does it do a speculative auction when you load the search resu
210.
▲
by
kall
5y ago
I absolutely adore orca. Data and instructions are just the same thing (single characters), and can go from being one to being the other. Combine that with the fact that the program "executes" on the same surface that you write it
More ›