Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
parhamn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
181.
▲
by
parhamn
3y ago
You really need to try Opus. Try a provider that works across models (one in my bio).
182.
▲
by
parhamn
3y ago
I build a pretty popular LLM tool. I think learning when/how to use them is as big a mental hurdle as it was learning to google well or whether something is googlable or not. In the realm of coding here are a few things its really good
183.
▲
by
parhamn
3y ago
I meant to reply to "good lord is this what modern microservices are like?".
184.
▲
by
parhamn
3y ago
I think people often don't realize that depending on the language runtime, micro-services can easily be a must. Most service boundaries at organizations are "I need a different version of a pinned package we can't upgrade.&qu
185.
▲
by
parhamn
3y ago
Anyone writing a compiles to go, go++ yet? There are generators for better enums, sum types, and more. Bring them all together! I'm only kinda joking. Im also curious now if the Typescript checker was written in a way that it could be
186.
▲
by
parhamn
3y ago
> This goes against any notion of just punishment. Do you have a good explanation for this? I haven't though about prisoner rights much. The obvious layman view of this is "the whole prison thing is about restricting access to
187.
▲
by
parhamn
3y ago
Thats awesome, look forward to trying it. If you really forced me to say anything negative about caddy (it's such a delightful tool), would be the config and the configs docs/validation. Relatedly, I feel like just having some car
188.
▲
by
parhamn
3y ago
It's almost always one then the other, no?
189.
▲
by
parhamn
3y ago
My mention of the use hook (which was first mentioned in a reply to me) was to point out how silly a response it is to offer a random react hook and as the solution to the complex problem I initially discussed. Do read the thread and my ini
190.
▲
by
parhamn
3y ago
I've never mentioned React, nor really alluded to it (though it is one piece of the complicated problem).
191.
▲
by
parhamn
3y ago
> they solve the problem pretty well once you got past that initial burden of learning them. Please do share how the canary `use` hook solves: remote data syncing, proper data sharing across the UI, real-time remote syncing, incremental
192.
▲
by
parhamn
3y ago
Somewhat unrelated but, I've been doing a ton of frontend coding past few years (coming from a backend/infra background). I think browser development is an underrated difficult problem. With a lot of crappy half-assed solutions th
193.
▲
by
parhamn
3y ago
Theyre not being surgical in the terminology. Accuracy and precision are the two things that matter for a diagnostic test. High accuracy, low precision = screener.
194.
▲
by
parhamn
3y ago
I get really surprised when seemingly rational people compare AGI to sewing machines and cars. Is it just an instinct to look for some historic analogy, regardless of its relevance?
195.
▲
by
parhamn
3y ago
Thats very interesting. Thanks for sharing. But sweet sweet github triggered deploys. Have you found an easy solution to this?
196.
▲
by
parhamn
3y ago
> Starting containers on Cloud Run is weirdly slow What is this about? I assumed a highly throttled cpu or terrible disk performance. A python process that would start in 4 seconds locally could easily take 30 seconds there.
197.
▲
by
parhamn
3y ago
Yeah we're mostly hosted there now. The cpu/virtualization feels slow but I haven't had time to confirm (we had to offload super small ffmepg operations). It's in a weird place between heroku and lambda. If your containe
198.
▲
by
parhamn
3y ago
I was hoping to migrate to Fly.io and during my testing I found that simple deploys would drop connections for a few seconds during a deploy switch over. Try a `watch -n 2 curl <serviceipv4>` during a deploy to see for yourself (try a
199.
▲
by
parhamn
3y ago
I've been wondering recently if there could be a more generic JSX renderer that could be built into browser. <script type="jsx"> type thing. I think it could work if it decoupled the reactivity layer and exported a &quo
200.
▲
by
parhamn
3y ago
> That is _insanely_ shortsighted. Relax. While I wouldn't recommend OPs approach either. But you're not particularly right either. Exodus clearly states: > Exodus is a tool that makes it easy to successfully relocate Linux
201.
▲
by
parhamn
3y ago
I have this issue in a consumer single tenant setting too. I couldn't figure out how to remove photo access from AppleTV. Ended up creating a new account that was part of my family.
202.
▲
by
parhamn
3y ago
I think the key benefit brushed on by this article is the potential 10x improvement in access speeds (which has many applications, beyond reducing your s3 op charges). > S3 Express One Zone can improve data access speeds by 10x and reduc
203.
▲
by
parhamn
3y ago
Makes sense. Longest HN convo I've managed to keep at this point -- thanks for engaging!
204.
▲
by
parhamn
3y ago
Assuming the alternative is a fully random key, this can wreak havoc for performance depending on the database engine and index type used (lots written on this topic). But I do agree, if performance isn't an issue with your db choice a
205.
▲
by
parhamn
3y ago
You don't get the cardinality of the data type, just when the object was created. There are probably some business cases where the “when” information is potentially useful (I cant think of any) but, you cant know, for example, how many
206.
▲
by
parhamn
3y ago
Heres what a recent youtube (which squid documents as a sample use case) link I shared looked like: > https://www.youtube.com/watch?v=fFMzQ3tYTFU&pp=ygURY2hQImVzZ... Or Twitter: > https://x.com/el
207.
▲
by
parhamn
3y ago
Side note: there are some business insights you can get from a company using serial ids. i.e if you sign up and get user id 32588 and make another account a few days later, you can tell the growth rate of the company. And this is possible
208.
▲
by
parhamn
3y ago
At this point, given the maturity of libraries (I was exploring this recently), I think you'd have to make the case that CRDTs are bad not just "too much". Interfacing with the 'blob' is a real thing (y-js is solvin
209.
▲
by
parhamn
3y ago
Anyone have any info on who is behind this project, how reliable it is (will it be around in 2 years), etc? Considering using it for one of my projects.
210.
▲
by
parhamn
3y ago
Im a bit surprised this is a speculative matter. If 2 in 7 samples had it, it surely would've been in some of the many pieces of art we have from the period and if it was in the art it wouldn’t be so speculative. Are there paintings of
More ›