Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
samus
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
57 ms
·
901.
▲
by
samus
3y ago
Await is simply syntactic sugar on top of what everybody was forced to do already (callbacks and promises) for concurrency. As a programming model, threads simply never had a chance in the JS ecosystem because on the surface it has always b
902.
▲
by
samus
3y ago
Rewrite the compiler to use a LLM for complication. I'm only half joking! The biggest remaining technical problem is the context length, which is severely limiting the input size right now. Also, the required humongous model size.
903.
▲
by
samus
3y ago
It already exists: SELinux or AppArmor. They build on infrastructure that allows implementing other solutions to that effect. However, on a typical system there is so much going on that this is unlikely to be of much use to anybody not will
904.
▲
by
samus
3y ago
For most desktop applications, this bottleneck is not that restricting though. Almost any noticeable UI delay is due to stuff that ought to be offloaded into a background thread, but isn't. For example, IntelliJ often freezes up when I
905.
▲
by
samus
3y ago
Single-thread performance is only relevant for workloads that can't be parallelized, or for software that will never be adapted. It has been well known for more than a decade now that parallelization is the only way forward. Edit: appl
906.
▲
by
samus
3y ago
It should be possible to avoid it by using ulimit to set memory and subprocess limits.
907.
▲
by
samus
3y ago
Also on Android there are explicit guidelines that processes have to be prepared to be paused, hibernated, or killed at any time. Data in memory is not safe in any way.
908.
▲
by
samus
3y ago
This is already the case. Processes have to ask politely for memory. The OS could really just say no. But that would commit memory to a process even though it might not actually end up using it, making it unavailable for processes that need
909.
▲
by
samus
3y ago
Since Linux has Unix-legacy and is usually intended to be used on servers, there is one well-intended assumption at play here: unless different settings are applied, all processes are in principle created equal. This also applies to GUI app
910.
▲
by
samus
3y ago
There are transformer-based approaches to vision models. It should work for those.
911.
▲
by
samus
3y ago
Reverse-engineering a Postman backup file was fun as well. There are OpenAPI schemas, but I found many undocumented fields, and it was not at all obvious when default values for settings were set and when not. Probably a mix of glitches fro
912.
▲
by
samus
3y ago
> We were not supposed to write parsers, but instead manually write out a 3D model vertex by vertex and then texture map them. Good grief. It's like writing assembly: a good exercise, but only for trivial or particularly tricky part
913.
▲
by
samus
3y ago
Flash and PDF have the same illnesses. Suspiciously many Adobe file formats are both overly complicated and contain lots of features that are way too powerful in combination and impossible to support properly.
914.
▲
by
samus
3y ago
> I can only imagine that they make this process so // difficult because they are intensely ashamed of having created this abomination. They also don't want anybody building a dependency on that sh*t, which would prevent
915.
▲
by
samus
3y ago
I agree that high-quality datasets, usually proprietary, are key to good model performance. Microsoft's Phi-2 model for example is punching way above its weight thanks to being fed high-quality textbooks and encyclopedias. But that
916.
▲
by
samus
3y ago
The question is which rows would be updated by a single execution of a UPDATE...LIMIT query. The order of result rows of a SELECT query is undefined in Postgres unless you add an ORDER BY clause. It is natural to assume that an UPDATE...L
917.
▲
by
samus
3y ago
Wiretapping vast amounts of data on the internet is quite cool, but actually sifting through all that data is the really difficult part. Right now intelligence services are probably looking at lots of false positives and lots of dots they c
918.
▲
by
samus
3y ago
This would also require adding the ORDER BY clause, as there might be applications where the order in which they are updated matters.
919.
▲
by
samus
3y ago
The copyright battles affect models that were trained with datasets where the copyright holder's approval is missing. Copyright law will be adapted to consider that usage, and model trainers will make deals with large copyright holders
920.
▲
by
samus
3y ago
The GHC project churns out changes at a quite high rate though. The changes are quite small by themselves, but they add up and an abandoned Haskell project is unlikely to be compilable years later.
921.
▲
by
samus
3y ago
I am one of those who would insist on correctly splitting commits. Commits are a communication tool, and a well-crafted series of commits makes reviewing pull requests, which is a chore for most people, a lot easier. Months or years later,
922.
▲
by
samus
3y ago
`git rebase -i develop` is arcane? An editor opens where you put an 'r' in front of every commit that needs rewording. Save and close, and Git will successively open an editor for every commit message. Force Push and you're d
923.
▲
by
samus
3y ago
The condition has been described since Roman times, but not only in Switzerland. The problem also exists in other regions in the Alps and other mountain chains across the world.
924.
▲
by
samus
3y ago
... and congenital deafness, low length growth, neurological impairment, and other symptoms known as Congenital iodine deficiency syndrome.
925.
▲
by
samus
3y ago
According to TA, most cases of myopia are caused by being inside all day. There might be a genetic component, but it doesn't seem to be that relevant (yet).
926.
▲
by
samus
3y ago
Taiwan's successful strategy is a two hours outside per day policy in schools. Being outside two hours in total per day is bearable even in cooler climates. And nowadays, also life for people in tropical countries tends to move inside
927.
▲
by
samus
3y ago
It should not have surprised anybody that publicly run models would be censored. OpenAI has a mission that they are not keeping secret at all. Apart from that, censoring what one's web service can be used for is a very common CYA strat
928.
▲
by
samus
3y ago
Sound like you're having fun :)
929.
▲
by
samus
3y ago
I sure hope you also showed them its limitations. It was interesting how much faith my mom put into it when it got the date of 2024's Pentecost wrong...
930.
▲
by
samus
3y ago
This. It is usually quite more capable than a Google search. For example, it could help me identify a novel about which I only roughly remembered its plot line.
More ›