Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
naasking
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
631.
▲
by
naasking
1y ago
It needs to be an effect so the compiler knows how optimizations are permitted to handle it. Otherwise your print statements might appear in totally the wrong order or even not at all. Imagine saying that certain memory stores are allowed t
632.
▲
by
naasking
1y ago
I don't think performance was a motive for effect systems in Haskell, it was more about making effects easier to compose, understand and debug.
633.
▲
by
naasking
1y ago
> so having more doctors wouldn't actually help out the problem that the NBC article is describing. It could because a larger supply of doctors means salaries would be lower, and thus the incentive to cut staff is lower.
634.
▲
by
naasking
1y ago
Why, ask another deep research model to critique it of course! ;-)
635.
▲
by
naasking
1y ago
Memory Augmented Large Language Models are Computationally Universal, https://arxiv.org/abs/2301.04589
636.
▲
by
naasking
1y ago
> It is still a good idea to censor the people in category two. I disagree on numerous levels with this position, not just on ethical grounds, but also on empirical grounds. People are simply not as gullible as you think they are, but I
637.
▲
by
naasking
1y ago
> Because that is a bold claim to make. There is no proof of a lab leak and evidence leads to the wet market as the source. It was not a bold claim at the time. Not only was there no evidence that it was the wet market at the time, the j
638.
▲
by
naasking
1y ago
> My memory is that the "lab leak" stuff I saw back then was all conspiracy theories about how it was a Chinese bioweapon. No, that was just the straw man circulated in your echo chamber to dismiss discussion. To be clear, ther
639.
▲
by
naasking
1y ago
A censorship policy that changes daily is a shitty policy. If people on June 8th criticized that official position before they reversed the next day, do you think it was right or a good idea for them to be censored?
640.
▲
by
naasking
1y ago
Developers who don't document typically do system design beforehand, but that design process often just isn't documented/recorded properly, that's my point. A development environment that records prompt history and lets
641.
▲
by
naasking
1y ago
> Until now, it was a code smell if you need those often. There are exceptions to that, but those are a small minority. Documentation for a system, particularly a rationale, is never a code smell. > There are ton of Apache projects wh
642.
▲
by
naasking
1y ago
The gigantic prompt has a side benefit though: it's documentation on design and rationale that otherwise would typically not get written.
643.
▲
by
naasking
1y ago
> 3. Bug hunting. Agreed, and also configuration debugging. Treat the LLM as interactive documentation for libraries, frameworks, etc. that you may be using. They're great for solving problems in getting systems up and running, and
644.
▲
by
naasking
1y ago
> and this probably compounds as AI-generated code piles up in a codebase, as there isn't an author who can attach context as to why decisions were made I don't see why. If anything there's more opportunity for documentati
645.
▲
by
naasking
1y ago
> There's a whole lot of iterating over arbitrary objects without knowing their types. That's just parametric polymorphism.
646.
▲
by
naasking
1y ago
I gave you all of the links you need to read if you want to know more. Suffice it to say that all you're describing is what you care about, which is about as logically compelling an argument about what is good as telling me what deity
647.
▲
by
naasking
1y ago
> Or, making actual choices in reality? Where there are limits to what we can do, but making hard choices well has positive impact. Impact is irrelevant in Kantian ethics, deontological ethics [1] and virtue ethics [2]. A choice is good
648.
▲
by
naasking
1y ago
> If a Kantian can be put into a situation where their morals would require them to say the word that gives up Anne Frank, we can safely say it's a bad moral system. Not unless you can present some proof of this. Your implicit assum
649.
▲
by
naasking
1y ago
> The universe doesn't respect that viewpoint. There is no mechanism in reality or life that prevents hard tradeoffs from having to be made. What the universe does or doesn't respect has no bearing on what is or is not right &#
650.
▲
by
naasking
1y ago
> There you go, a time when you'll definitely lie and cheat! I don't think this is the win you think it is. Kantians and se deontologists will absolutely say that no, you cannot lie and cheat even in that scenario. You have a m
651.
▲
by
naasking
1y ago
If you deal with this every day, you're an outlier.
652.
▲
by
naasking
1y ago
2GB in a single JSON file is definitely an outlier. A simple caveat when using this header could suffice: ensure inputs are less than 2GB.
653.
▲
by
naasking
1y ago
> Storing hydrogen in general isn't very difficult. That's not accurate, storing hydrogen is very difficult. The atoms are so small that they pass into the molecular matrix of storage containers, sometimes even when kept at ext
654.
▲
by
naasking
1y ago
> Is something that can be easily achieved with Tailwind without either using @apply all over the place, effectively now doing regular old CSS but with Tailwind syntax, or by using JS/TS variables extensively making the styling pret
655.
▲
by
naasking
1y ago
Half agree. The left version I feel has too many sharp lines and bold distinguishing features, so you don't know where to look, where the version on the right has too few so you don't know where to look.
656.
▲
by
naasking
1y ago
Partial evaluation subsumes a lot of other compiler optimizations, like constant folding, inlining and dead code elimination, so it wouldn't just find application with interpreters.
657.
▲
by
naasking
1y ago
Agreed!
658.
▲
by
naasking
1y ago
I get it, but instead of putting effort into redesigning the whole interface to avoid this possibility, they could have put that effort into rendering the same UI in immediate mode and problem solved. I actually think the real motive is tha
659.
▲
by
naasking
1y ago
Windows 11 settings are worse than they were prior to Windows 10. Before I could have multiple windows open for settings to monitor progress (like of windows updates) or check settings against each other. Now it's a monolithic interfac
660.
▲
by
naasking
1y ago
Touch and hold is fine as a right click.
More ›