Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
xigoi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
91.
▲
by
xigoi
3mo ago
Where do you think the bots learned it from?
92.
▲
by
xigoi
3mo ago
On Linux, the en dash is typed with `[Compose]--.` and the em dash with `[Compose]---`.
93.
▲
by
xigoi
3mo ago
The second one is about how Git uses the word “checkout” for three unrelated operations, violating the Unix philosophy.
94.
▲
by
xigoi
3mo ago
I don’t eat food that I am allergic to or don’t like the taste. What does that have to do with politics?
95.
▲
by
xigoi
3mo ago
He could have been paid by Anthropic to run a brute-force computer search. The counterexample looks short enough that, given a portion of Anthropic’s computing power and a sufficiently smart algorithm, it could be found by brute force.
96.
▲
by
xigoi
3mo ago
Is there any evidence that the discovery was made by Claude and not by Levent Alpöge himself? The only sources listed in the wikipedia article are an X post and a news article that references the post.
97.
▲
by
xigoi
3mo ago
From the article: > When your posts are individual HTML files (not Markdown files or database entries), they can finally be seen as the individual web pages that they truly are. And that means that you can really lean into making all of
98.
▲
by
xigoi
3mo ago
NFS supports dynamic websites (giving you access to a full Linux system with many programming languages), though you’ll have to pay more.
99.
▲
by
xigoi
3mo ago
Isn’t this only a problem if the language is case-insensitive?
100.
▲
by
xigoi
3mo ago
> because people give up at "how do I import a lib to make an http call" ? Ironically, this is where I gave up on trying to learn Rust. I just wanted to make a HTTP request and the simplest solution was to… download a library w
101.
▲
by
xigoi
3mo ago
More like “This artist won the drawing competition because someone told her the theme in advance and the specifically practiced drawing pelicans for hundreds of hours.”
102.
▲
by
xigoi
3mo ago
From what I can tell, DuckDB is more focused on huge-scale data analysis than simple data persistence, so I’m not sure if it fits my use cases. Otherwise, it looks good.
103.
▲
by
xigoi
3mo ago
What are other choices for FOSS serverless relational databases? I’ve been looking everywhere and couldn’t find anything.
104.
▲
by
xigoi
3mo ago
I was talking about Go. I know you don’t need the index in D.
105.
▲
by
xigoi
3mo ago
C++32 will look like for<template> [auto&&&&]:::static (std::for_enumeration_initializer &&⁢ @auto: {{const signed&&&&& i const}}) { }
106.
▲
by
xigoi
3mo ago
I find Go’s version worse in that it does not allow you to elide the index (which is not needed most of the time). You have to write `for _, s := range vec`, as `for s := range vec` makes s the index.
107.
▲
by
xigoi
3mo ago
Many things are harmful for everyone, yet we only ban them for children because banning them for everyone would create huge uproar. Make tobacco illegal and then we can talk about social media.
108.
▲
by
xigoi
3mo ago
The fact that, in general, you don’t know what was on the previous pages, if anything. The user may just randomly decide to open page 3 without having visited the previous two pages. Or they clicked “next” after having page 2 open on their
109.
▲
by
xigoi
3mo ago
Are you arguing that writing a correct program is an NP problem?
110.
▲
by
xigoi
3mo ago
With infinite scroll, “what you saw so far” is in the client. With pagination, it exists only in the user’s mind.
111.
▲
by
xigoi
3mo ago
When asked to load more items, simply take the entire list (which may have changed) and remove the items already shown on the screen.
112.
▲
by
xigoi
3mo ago
The second style makes it impossible to sort by anything other than time.
113.
▲
by
xigoi
3mo ago
> Did you think HN has an unusable and bad interface? In thems of pagination, yes, which is why I prefer to use https://hckrnews.com/ .
114.
▲
by
xigoi
3mo ago
Cursor based pagination only works if the items are sorted in strict chronological order. Otherwise, the problem remains. Consider the list [A B C] D E F G H … where the brackets represent the first page. If the user clicks the next
115.
▲
by
xigoi
3mo ago
The user expectation is that if you refresh the page, you will see fresh content.
116.
▲
by
xigoi
3mo ago
Infinite scroll makes the problem much easier, even if it’s still a problem. The only action you need to support is loading more results, which you can do by loading all results and filtering out those already shown. With pagination, the us
117.
▲
by
xigoi
3mo ago
Because other people keep adding new posts (and upvoting existing posts, which changes their order).
118.
▲
by
xigoi
3mo ago
On the contrary, pagination makes it impossible to keep your place in the list if it changes between page loads.
119.
▲
by
xigoi
3mo ago
cd is a shell built-in, not a script.
120.
▲
by
xigoi
3mo ago
They meant x = 0.
More ›