Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
eterm
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
211.
▲
by
eterm
9mo ago
A few days ago I got the nature scapes but with a, "This would make an awesome prompt huh?" as the tagline and a link to more AI shoe-horned in.
212.
▲
by
eterm
9mo ago
Bizarre that the US legislature is going to bat for the right of a corporation to sell illegal content in a foreign country. The UK should call their bluff on this one, appeasement isn't going to work forever.
213.
▲
by
eterm
9mo ago
If you're arguing down that route, LLMs can bulk-apply style attributes exactly where they're needed. Every element precisely described, no need for CSS and style-sheets at all.
214.
▲
by
eterm
9mo ago
I'm not sure what you mean by "Technically feasible", but it wasn't supported by explorer. You could have multiple windows, and you could have MDI windows, but you couldn't have shared task bar icons that expand on
215.
▲
by
eterm
9mo ago
The only one I can think of, literally the only one, is grouped icons. And even that's only because browsers ended up in a weird "windows but tabs but actually tabs are windows" state. So yeah, I'd miss the UX of draggin
216.
▲
by
eterm
9mo ago
Ironically that might have passed, because this didn't break the version, this broke all versions when the global referenced changelog was published. It wasn't the new version itself that was broken. But testing new version woul
217.
▲
Claude and Typst – Examples for AI-Assisted Document Generation [pdf]
(richardcocks.github.io)
1 points
by
eterm
9mo ago
|
1 comments
218.
▲
by
eterm
9mo ago
I've been finding the reams of markdown that claude generates too difficult to read comfortably, so I switched to asking it to generate PDFs with typst instead. Without even writing a "skill", it nails the execution, and then
219.
▲
by
eterm
9mo ago
Here's an example: We have some tests in "GIVEN WHEN THEN" style, and others in other styles. Opus will try to match each style of testing by the project it is in by reading adjacent tests.
220.
▲
by
eterm
9mo ago
I'd completely forgotten about that! They Hunger was a masterpiece. Not one I'd ever want to re-visit though, because nostalgia is best left not closely examined. But a golden age, of txt file walkthroughs downloaded from gamefaqs
221.
▲
by
eterm
9mo ago
I'm gutted PlanetHalfLife isn't listed/shown here, I used to visit that site religiously around then.
222.
▲
by
eterm
9mo ago
Do you have a legacy code-base in mind? I'd happily demonstrate this kind of workflow on my day job if not for company trade-secrets. That's as legacy as it gets, 20+ year old code base with several "strata" of different
223.
▲
by
eterm
9mo ago
That isn't that far removed from convincing people to hit F12 and enter that code in the console, which is why Self-XSS, while ideally prevented, is much lower than any kind of stored/reflected XSS.
224.
▲
by
eterm
9mo ago
I've edited my comment to add more context to that quote. He absolutely advocated for the most minimal of function lengths, beyond what is reasonable.
225.
▲
by
eterm
9mo ago
This is from page 37 of Clean Code: > Even a switch statement with only two cases is larger than I'd like a single block or function to be. His advice that follows, to leverage polymorphism to avoid switch statements isn'
226.
▲
by
eterm
9mo ago
I wouldn't take the examples from Bob Martin as gospel, see also: "Don't refactor like Uncle Bob": https://theaxolot.wordpress.com/2024/05/08/dont-refactor-lik...
227.
▲
by
eterm
9mo ago
That is a specific question. Any more specific and I suspect it would have been closed as too specific to their environment / setup instead.
228.
▲
by
eterm
9mo ago
Local meet-ups I guess?
229.
▲
by
eterm
9mo ago
It's surely both. Look at the newest questions: https://stackoverflow.com/questions?tab=Newest Most questions have negative karma. Even if somehow that is "deserved", that's not a healthy ecosystem. All
230.
▲
by
eterm
9mo ago
I didn't even make the top 5,000. I really ought to write more blog posts. Actually I wonder if the dreaded profanity filter has caught me out again. I've had a couple of posts do well, and it's a .github.io subdomain, so it
231.
▲
by
eterm
9mo ago
You say that as if it's a bad thing?
232.
▲
by
eterm
9mo ago
Oh I agree, literally `assert(false, "This cannot happen")` is useless, but ensuring message is always there encourages something more like, `assert(false, "This implies the Foo is Barred, but we have the Qux to make sure it
233.
▲
by
eterm
9mo ago
Better yet, `assert(false, message)`, with the message what you would have written in the comment.
234.
▲
by
eterm
9mo ago
There's a design in the .NET ConcurrentDictionary that is even more inviting: GetOrAdd(TKey, Func<Tkey,TValue> ) This lets you specify a key, and a method to run to generate a value to store if the key does not exist. This
235.
▲
by
eterm
9mo ago
This isn't necessary. Claude will read CLAUDE.md from both: 1. Current directory ./CLAUDE.md 2. User directory ~/.claude/CLAUDE.md I stick general preferences in what it calls "user memory" and stick p
236.
▲
by
eterm
9mo ago
For now. I give it maybe 12-18 months before AI results are polluted by advertising.
237.
▲
by
eterm
9mo ago
I had the opposite takeaway. Companies with strong financial performance don't tend to use words like "encouraging". That is the language you get from companies that are in trouble and hoping for recovery. Talking about peopl
238.
▲
by
eterm
9mo ago
Can we reproduce your results for Mandelbrot?
239.
▲
by
eterm
9mo ago
What's going on with the Mandelbrot result in that post? I don't beleive such a large regression from .NET framework to CoreCLR.
240.
▲
by
eterm
9mo ago
It does matter, because the phyiscal keys themselves are literally in different places. Comparison: https://www.youtube.com/watch?v=wt1DL1fO6Zs Note that weird abomination of a backslash key around the enter key on the US k
More ›