Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
geokon
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
geokon
2mo ago
Do you feel similarly about french and english? It could work but would be a little weird and annoyong to switch language modes I think you underestimate the similarities. For instance Japanese names are not translated to Chinese. Theyre ju
32.
▲
by
geokon
2mo ago
Out of curiosity why isn't this stuff handled by a secondary "monitor" agent that's specifically trained on what's okay and not okay? I'd think it'd be a pass-no-pass classifier and wouldn't degrade t
33.
▲
by
geokon
2mo ago
> I don't recall ever writing my own protocol, record, or struct. I'm honestly extremely surprised. Protocols seem sort of essential if you want two different "things" to exhibit the same behavior. The whole set of im
34.
▲
by
geokon
2mo ago
I spent a couple of days digging in to Janet and what surprised me was how even though at a surface level it resembles Clojure, under the hood its actually quite radically different. It has a lot of very interesting ideas going on, though u
35.
▲
by
geokon
2mo ago
I don't have any severe sleep problems, but I can relate to this issue. I find reading fiction helps. It's kind of difficult to dream about an interesting problem or a project, so the way I perceive the problem is that my brain do
36.
▲
by
geokon
3mo ago
I think this is a larger web-standards problem. There is no standard clickable "link" for physical locations. There is no URL-equivalent you can send to someone, they click it, it open up their map viewer of choice. You can send L
37.
▲
by
geokon
3mo ago
Where is it actually explained how it works..? Usually these kinds of systems either don't scale dynamically or have caching issues. The first example, a spreadsheet, is "easy" because there are a fixed amount of cells to tra
38.
▲
by
geokon
3mo ago
A cemetery that charges an entrance fee..
39.
▲
by
geokon
3mo ago
Thanks :)
40.
▲
by
geokon
3mo ago
In Paris they use the corpse of their heroes like Voltaire and Napoleon to flease tourists of their Euros Using a tomb to expand our knowledge of the ancient world seems like small potatoes in comparison. Overton window is already far off
41.
▲
by
geokon
3mo ago
are there any "open source" efforts to do distillation? Like some place one can submit one's anonymized chat logs? So they can be pooled and used as an open training set (similar to OpenCrawl)
42.
▲
by
geokon
3mo ago
Sorry for the delay, I've been thinking about how to respond :) > For me it is. if you can have a running example I'd love to see it > I want some good guidelines Yeah, I totally understand. I don't have a very clear me
43.
▲
by
geokon
3mo ago
Okay - actual code is good :)) But I can't replicate the behavior. Here is the code: https://github.com/kxygk/ednless/blob/master/pathom-prectest... I didn't know what jdbc was so I just plugge
44.
▲
by
geokon
3mo ago
It doesn't seem petty at all. These are the fundamental primitives of how you want to decouple and organize code. You have to look at them through small examples. In the first case, the situation looks largely the same. I mean you can
45.
▲
by
geokon
3mo ago
great example. Some of this is out of my bailiwick, but on a high level I agree with you. I think your intuition is right. If you have behavior that's dependent on priority, this is a code-smell. It feels like you're just sort of
46.
▲
by
geokon
3mo ago
I'll be honest, I work in a very different area (scientific computing) so my code is a lot more exploratory and I don't ever deal with DB access for instance. If you have a very stable interface and clear objectives then coupling
47.
▲
by
geokon
3mo ago
that I understand. providing that compatibility guarantee is extra work for you It's always nice talking to you about these things. Thanks again :)
48.
▲
by
geokon
3mo ago
Lots of great thoughts As for function memoization, I previously tried this workflow and after scratching my head about it, I think it's just not possible to make it scale properly (in the sense of making a library of resolvers/fu
49.
▲
by
geokon
3mo ago
Oh sorry, I kind of meant it the other way around. You start with biff.graph and you'd swap in Pathom if the featureset or performance wasn't adequate. It makes sense that since you support a subset that it doesn't work the o
50.
▲
by
geokon
3mo ago
> the tweaks I made to e.g. `defresolver` were really just a side thing If it weren't for those, would Pathom be a drop-in replacement? Or is there different logic? I'm a bit of a beginner with this all myself, so yeah, I get h
51.
▲
by
geokon
3mo ago
You can use regular functions, but there are several things you lose: - intermediate keys are not recalculated if they're used across different resolvers. This means you basically never need to manage caches of precomputed results. So
52.
▲
by
geokon
3mo ago
It's very cool you managed to make a mini Pathom - esp in so few lines of code :)) But the end result looks almost identical? Resolver declarations are a bit reorganized and look a bit cleaner - though you could do that with a wrapper
53.
▲
by
geokon
3mo ago
I've been rewriting a codebase using Pathom resolvers and it has been extremely fun and has made me really reexamine how I organize code. Without being hyperbolic, it's really a new coding paradigm. You get some extreme decoupling
54.
▲
by
geokon
3mo ago
My feel would be that 2.4 has the advantage of being much longer range and there are plenty of sources for 2.4 - if you wanted to look at back-scatter and not just sources of emission. The primary demo of this piece of equipment is looking
55.
▲
by
geokon
3mo ago
One thing to note that's maybe less obvious is that you can destructure some keys with the check and others without. This makes the function interface a bit self-documenting. At a glance you see that the username is required and other
56.
▲
by
geokon
3mo ago
> looming requirement that all Android developers register themselves centrally Does this somehow also apply to developers in China? Are Chinese OSs (Vivo/Honor/Oppo/etc.) entirely forked off of Google's Android? Is t
57.
▲
by
geokon
3mo ago
An FDroid desktop client that adb installs APKs would actually be lovely. I pretty much exclusively use FDroid, but I gotta say I unfortunately find all their frontends to be rather buggy and with very little user feedback when things break
58.
▲
by
geokon
3mo ago
There are plenty of Icon packs suitable to all aesthetic preferences. Just nobody is going to write a blog post ragging a some Icon Pack b/c if you don't like it then it's trivial to change to a "better" one (that s
59.
▲
by
geokon
3mo ago
"Correct" modern C++ eliminates whole classes of problems. You can of course still write C code, but no one would merge that in to their codebase Theyre both complicated languages in their own way :)
60.
▲
by
geokon
3mo ago
I think there are very few places where C makes sense and C++ doesn't. Its mostly legacy things like the Linux Kernel, or more aesthetic projects like demoscene or suckless. Where its easier to agree to write C instead of trying to ag
More ›