Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
DougBTX
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
181.
▲
by
DougBTX
4y ago
In particular, Flag Semaphore: https://en.m.wikipedia.org/wiki/Flag_semaphore
182.
▲
by
DougBTX
4y ago
> If you wish to communicate some real user-friendly feature better find some other phrase. The cycle of deception never ends. If a company misuses words, they'll do it again with new ones. We must resist by sticking to the plain me
183.
▲
by
DougBTX
4y ago
In principle you can use subprocess.run with llama.cpp (especially now that the mmap patch has landed, so model load time is negligible on subsequent runs) and then use stdin and stdout to interact with it. Multiple local sessions should wo
184.
▲
by
DougBTX
4y ago
Thanks!
185.
▲
by
DougBTX
4y ago
Sounds great! Which app are you using for this?
186.
▲
by
DougBTX
4y ago
> It has to be part of something with creative input. I honestly don’t know how copyright rules should or do apply here, but gosh, there must have been some creative input to produce this tile over the decades it took to make!
187.
▲
by
DougBTX
4y ago
https://arxiv.org/pdf/2205.11916.pdf
188.
▲
by
DougBTX
4y ago
A soft limit would work well here, a prompt saying, “There are a large number of pages, it will take a while to select them all. Do you want to continue?” then it informs the user, rather than (maybe) artificially limiting them.
189.
▲
by
DougBTX
4y ago
So in other words, appending to a slice may overwrite data in the middle of a different slice?
190.
▲
by
DougBTX
4y ago
I’d phrase it the other way around, learning a world model is necessary in order to make such good token predictions.
191.
▲
by
DougBTX
4y ago
I'm always surprised to see such big ads on a personal blog like this, it makes me wonder if they even know that they are there. Surely it can't be worth the income?
192.
▲
by
DougBTX
4y ago
So for LLMs like ChatGPT, one issue with doing arithmetic is that the input is tokenised, so it doesn't "see" the individual digits in numbers. That will make it harder for it to learn addition, multiplication etc. You can se
193.
▲
by
DougBTX
4y ago
I don’t buy this “it is just statistics” dismissal. Practically speaking, any multiple choice question is ultimately a “predict the next character, A, B, or C” challenge. Should we dismiss all multiple choice questions because they are just
194.
▲
by
DougBTX
4y ago
> it uses the terms "variable" and "value" with different meanings than most programmers would use Have to disagree on this, these are very common words with normal meanings, from the Assignment page on Wikipedia: >
195.
▲
by
DougBTX
4y ago
No no no! That’s really the realisation they’re pushing at, this is fine for routine tests too! In this almost ten year old post the runtime was ~90s, which isn’t too painful. On some threads here, times on modern hardware are quoted as mil
196.
▲
by
DougBTX
4y ago
> of floating point error. Worth noting that this is a risk whenever there is rounding, if this chain of logic happens with cents as ints, it is still wrong: 1 / 2 => 0 0 * 2 => 0 Therefore: 1 == 0
197.
▲
by
DougBTX
4y ago
There was this instance which was a bit sneakier, by taking a package name in a default repository which shadowed a name in a more specialised repository: https://news.ycombinator.com/item?id=34313208
198.
▲
by
DougBTX
4y ago
Cool, I always assumed that a benchmark was a mark on a bench, but it turns out that it is the bench which goes on the mark. https://en.wikipedia.org/wiki/Benchmark_(surveying)
199.
▲
by
DougBTX
4y ago
Yes, agreed. I've found TOML for config to be quite nice. This is my go-to article for discussions about generic languages vs DSLs: http://mikehadlow.blogspot.com/2012/05/configuration-complex... I'm ver
200.
▲
by
DougBTX
4y ago
One of the major use-cases for YAML is as a host language for DSLs, essentially basic programming languages for specific use-cases. TOML isn't as good there, as these languages often need deep nesting of data structures. GitHub Actions
201.
▲
by
DougBTX
4y ago
> vs the serverside systems I believe this runs client side, but whether it counts as open source is likely open for debate: https://github.com/ggerganov/whisper.cpp
202.
▲
An Introduction to Makefiles
(gnu.org)
67 points
by
DougBTX
4y ago
|
0 comments
203.
▲
by
DougBTX
4y ago
For what it’s worth, the Poetry version solver works in the same way as Dart’s: https://github.com/python-poetry/poetry/blob/286f4ddb70394dd...
204.
▲
by
DougBTX
4y ago
> How does a language benefit from not having the option to compile it? What restrictions does the requirement to be able to produce a machine-code executable place on it? “Compiled” is being used as a short-hand for “compiled with optim
205.
▲
by
DougBTX
4y ago
Some languages use `enumerate` for this. Maps, filters, for loops etc all work on single items, but enumerate wraps them into (index, item) tuples when needed. https://docs.python.org/3/library/functions.html#enume
206.
▲
by
DougBTX
4y ago
Ha, well that didn't go as expected! https://imgur.com/a/uyXjs1N I do appreciate an interactive example that doesn't have a canned result :-)
207.
▲
by
DougBTX
4y ago
In this model, dev can deploy any service they like, so SRE isn’t a gate keeper.
208.
▲
by
DougBTX
4y ago
Julia is a very nice language, its core abstractions (mutli-dispatch and macros) are not tied to any particular use-case. My overriding feeling using it is that it is a language visiting from the future, it is very well put together. Having
209.
▲
by
DougBTX
4y ago
Or taking a Lisp perspective, atoms separated by white space.
210.
▲
by
DougBTX
4y ago
> how many more does it cost to use it? The null-safe language I've used the most is Rust. It is far from the hardest part of the language to learn, but the biggest impact day-to-day is that when constructing a new object, initial v
More ›