Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kgeist
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
451.
▲
by
kgeist
2y ago
I don't understand how it works. First time clicking on Poland, it showed a kind of a heat map around some city. Then I click on another location and nothing happens. OK, there's a "back" button, I go back, click on the
452.
▲
by
kgeist
2y ago
It seems you can make it hang if you input something that triggers the LLM's guardrails. For example, I entered 'where they sell drugs,' and the API endpoint hung every time I submitted it. However, on a few occasions, it ret
453.
▲
by
kgeist
2y ago
>All tabs are opened in a tab group, sometimes they will open a new tab group. Very confusing behaviour. So I'm not the only one. I never figured out why sometimes tabs open in an existing group, and sometimes in a new group. Curiou
454.
▲
by
kgeist
2y ago
They should have also added some basic chain-of-thought reasoning in the prompt + asked it to add [nitpick] tag at the end, so that the likelihood of adding it correctly increased due to in-context learning. Then another pass removes all th
455.
▲
by
kgeist
2y ago
What about false positives? As I see it, the solution assumes the embeddings only capture the form: say, if developers previously downvoted suggestions to wrap code in unnecessary try..catch blocks, then similar suggestions will be successf
456.
▲
by
kgeist
2y ago
On my Firefox: Uncaught (in promise) ReferenceError: GPUShaderStage is not defined On Chrome: TypeError: Cannot read properties of null (reading 'requestDevice') It would be great if it showed some message, like, &q
457.
▲
by
kgeist
2y ago
On a related note, some languages distinguish between "we including you" and "we excluding you". I wonder why it's not a thing in European languages. Seems like a pretty important distinction in certain cases :)
458.
▲
by
kgeist
2y ago
Found this [0]: >I've seen discussions about the similarity between Liszt's Consolation 3 (s.172) and Chopin's Nocturne no 2 op 27. I'm not sure if it's just me, but I also notice a similarity between one measure
459.
▲
by
kgeist
2y ago
Llama 8B is multilingual on paper, but the quality is very bad compared to English. It generally understands grammar, and you can understand what it's trying to say, but the choice of words is very off most of the time, often complete
460.
▲
by
kgeist
2y ago
>MacBooks can easily run models exceeding GPT-3.5, such as Llama 3.1 8B, Qwen 2.5 8B, or Gemma 2 9B. If only those models supported anything other than English
461.
▲
by
kgeist
2y ago
When it autonomously performs tasks on behalf of the user, without their intervention. It sets goals, plans actions, etc. by itself.
462.
▲
by
kgeist
2y ago
In our entire codebase, Go's generics have been used, like, 3 times, even though they were introduced almost 3 years ago. It's unsurprising: generics are most useful for writing your own custom containers, and generally, most proj
463.
▲
by
kgeist
2y ago
I thought geneticists already do that?
464.
▲
by
kgeist
2y ago
Irish and Russian also have "there's a phone near me (by me)" instead of "I have a phone"
465.
▲
by
kgeist
2y ago
Can't you ask your bank to blacklist transactions with a specific entity?
466.
▲
by
kgeist
2y ago
>there is no way to manufacture a zero value of Username out of thin air As I said, with the proposal above, you cannot manufacture a default zero value from a union if you specify in the language's spec that trying to retrieve a va
467.
▲
by
kgeist
2y ago
Sorry, but I don't follow. Practically, in the Go design above, PrimeNumber is going to be uninitialized only if the current value of Result is PrimeError. Which can be checked with type matching: which value is active. Attempting to d
468.
▲
by
kgeist
2y ago
What are the benefits? You mean exhaustive match or...?
469.
▲
by
kgeist
2y ago
Go already has pseudo-functions such as "make", special syntax for channels/map, and switching on types, technically they could do something like this: value := make(option[int, bool], true) b := value.(bool) /&#
470.
▲
by
kgeist
2y ago
Also a few more statements from the "terrorists": - It is strictly forbidden to fire bullets into the air under any circumstances, as it causes panic among civilians and endangers the lives of the innocent. - It is forbidden to ta
471.
▲
by
kgeist
2y ago
I think it's too good to be true that after 13 years of civil war fought by multiple factions, suddenly everyone becomes friends with each other and then they happily live thereafter in a democratic utopia. We can expect a string of co
472.
▲
by
kgeist
2y ago
>The commander of Hayat Tahrir al-Sham, Abu Mohammed al-Julani, says all state institutions will remain under the supervision of al-Assad’s prime minister until they are handed over officially. Pretty unusual for a terrorist group
473.
▲
by
kgeist
2y ago
It's interesting that everywhere, the government forces simply abandoned their posts, and none of Syria's allies appear to be willing to intervene in any way. Maybe there's something else going on we don't know yet.
474.
▲
by
kgeist
2y ago
All C++ projects I was involved in used a very small, defined subset of C++ because C++ is too complex, large, and many of its more cryptic features are often just redundant (i.e. you can easily get away without them). Rarely, new syntax ma
475.
▲
by
kgeist
2y ago
Yes, a separate thread.
476.
▲
by
kgeist
2y ago
In my tests, with all these settings, if you hammer SQLite with reads/writes, it won't be able do any WAL checkpoints (needs no active transactions), and the WAL file can quickly grow from, say, 8 MB to tens, hundreds of GB until
477.
▲
by
kgeist
2y ago
Nice idea! The assets are versioned by URL. Indeed, if it's just a component update (not navigation), we can't fully reload yet, but we already know at that point that we can start pulling the new assets.
478.
▲
by
kgeist
2y ago
In my htmx project, the best I could pull off was: 1) every server build has a unique version ID 2) the version ID is embedded in the page on the first page load 3) on every htmx request (it can be done with a bit of HTMX configuration) the
479.
▲
by
kgeist
2y ago
My point was that great powers are always in some kind of military conflict, so it's not really a deciding factor when choosing where to build an R&D. Putin's concentration of power has been alarming, but only since around 201
480.
▲
by
kgeist
2y ago
Wars involving the US in the 21st century: War in Afghanistan (2001–2021) US intervention in Yemen (2002–present) Iraq War (2003–2011) US intervention in the War in North-West Pakistan (2004–2018) Second US Intervention in the S
More ›