Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jart
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
55 ms
·
961.
▲
by
jart
3y ago
You can solve the run-detectors issue with: sudo wget -O /usr/bin/ape https://cosmo.zip/pub/cosmos/bin/ape-$(uname -m).elf sudo sh -c "echo ':APE:M::MZqFpD::/usr/bin
962.
▲
by
jart
3y ago
You'd do something like this on PowerShell: curl -Lo llamafile.exe https://github.com/Mozilla-Ocho/llamafile/releases/download/0.1/llamafile-server-0.1 curl -Lo wizard.gguf https:/
963.
▲
by
jart
3y ago
15.6 is a Darwin kernel version from 2018. It's the number `uname -a` reports. We should probably just switch to using XNU version numbers, which are in the 10000s now, so there's no confusion. I'm reasonably certain it works
964.
▲
by
jart
3y ago
llamafile runs on all Linux distros since ~2009. It doesn't have any dependencies. It'd probably even run as the init process too (if you assimilate it). The only thing it needs is the Linux 2.6.18+ kernel application binary inter
965.
▲
by
jart
3y ago
llamafile will run any compatible model you want. For example, if you download the LLaVA llamafile, you can still pass `-m wizardcoder.gguf` to override the default weights.
966.
▲
by
jart
3y ago
You're right. The limit is 4 gibibytes . Astonishingly enough, the llava-v1.5-7b-q4-server.llamafile is 0xfe1c0ed4 bytes in size, which is just 30MB shy of that limit. https://github.com/Mozilla-Ocho/llamafile
967.
▲
by
jart
3y ago
You need at minimum a stock operating system install of: - Linux 2.6.18+ (arm64 or amd64) i.e. any distro RHEL5 or newer - MacOS 15.6+ (arm64 or amd64, gpu only supported on arm64) - Windows 8+ (amd64) - FreeBSD 13+ (amd64, gpu should work
968.
▲
by
jart
3y ago
Author here. llamafile will work on stock Windows installs using CPU inference. No CUDA or MSVC or DLLs are required! The dev tools are only required to be installed, right now, if you want get faster GPU performance.
969.
▲
by
jart
3y ago
If you mean just Linux and FreeBSD. Even with those two, the API is the same in name only. It's wildly different. Shouldn't share the same name really.
970.
▲
by
jart
3y ago
> You can do this with ptrace() which is in POSIX What? Did you think the P stands for POSIX?
971.
▲
by
jart
3y ago
I always thought the structure was there to pull the wool over the eyes of the world's smartest researchers, to get them to agree to help them build a doomsday sort of technology. I never expected the board would be drinking their own
972.
▲
by
jart
3y ago
So long Mira Murati. That's the second CEO OpenAI has ousted in one week. https://openai.com/blog/openai-announces-leadership-transiti...
973.
▲
by
jart
3y ago
Is this the kind of alignment we can expect from superintelligence? Gossiping, surprise trials, and purges?
974.
▲
by
jart
3y ago
I'm shocked no one has pointed this out yet, but it's a really really bad move to host user-submitted content on your primary business domain. There's no such thing as subdomain culpability in the way the Internet is operated
975.
▲
by
jart
3y ago
The llama.cpp author thinks security is "very low priority and almost unnecessary". https://github.com/ggerganov/llama.cpp/pull/651#pullrequestr... So I'm not sure why a sandbox would bundle ll
976.
▲
by
jart
3y ago
Then watch PBS lool.
977.
▲
by
jart
3y ago
You're not going to shut them down, it sounds like they shut you down. Just pony up the $100/year. It's the cheapest television has ever been. This is hacker news, not hobo news. If you've been using the Internet this lo
978.
▲
by
jart
3y ago
When SectorLISP claimed to be the tiniest programming language in the world, it included (1) a Turing machine program, (2) an implementation of SectorLISP written in SectorLISP, and (3) a proof that it could run software that had been writt
979.
▲
by
jart
3y ago
> C99 requires that you at least declare a function before calling it Where is that written? Please quote the standard. My reading of ISO/IEC 9899:TC3 is that Foreword says (paraphrasing) "hey, we removed implicit int and im
980.
▲
by
jart
3y ago
cosmopolitan.h is a concatenated rollup of hundreds of header files, shipped as part of the "amalgamation" variant of our release, and those sub-headers had #ifndef _FOO_H guards at the top and bottom. The rest of the #ifs are req
981.
▲
by
jart
3y ago
It's not a good idea to do that in production code . FTFY. If you're writing research, experimental, or one-off programs then it can be a real productivity boon. I say do it for fun. You have a right to enjoy yourself and it'
982.
▲
by
jart
3y ago
We can still get away with those sins today if you change C's implicit type from int to long. I modified chibicc to do just that it was a 1 LOC patch. Suddenly I didn't need prototypes anymore and everything just worked without #i
983.
▲
by
jart
3y ago
I'm taking a look through DOSUTIL.ZIP and I love all these simple elegant C programs. A lot of these programs somehow only manage to have 1-2 standard c #include lines. How often do you see that? I also love how, out of 20,000 lines of
984.
▲
by
jart
3y ago
- Product: Windows 10 Defender - Company Name: Justine Tunney - Incorrectly detected as malware/malicious - Detection Name: Trojan:Win32/Wacatac.B!ml - Additional Information (example): I'm the author of Redbean, an open sour
985.
▲
by
jart
3y ago
Definitely. https://justine.lol/sectorlisp2/
986.
▲
by
jart
3y ago
You need to upgrade to zsh 5.9, or backport the patch I sent them two years ago: https://github.com/zsh-users/zsh/commit/326d9c203b3980c0f841... If you can't upgrade zsh, then the workaround is to say `s
987.
▲
by
jart
3y ago
See the comments in https://justine.lol/ape.patch and at the bottom of https://github.com/jart/cosmopolitan/blob/3.0/tool/build/ape... and also https://github.com&#x
988.
▲
by
jart
3y ago
I'm so happy to hear you're interested in this problem. There's two packages in the Cosmo repo you could depend on for doing this: third_party/double-conversion/ and third_party/gdtoa/. Both libraries are
989.
▲
by
jart
3y ago
You need to upgrade to zsh 5.9, or backport the patch I sent them two years ago: https://github.com/zsh-users/zsh/commit/326d9c203b3980c0f841... If you can't upgrade zsh, then the workaround is to say `s
990.
▲
by
jart
3y ago
1. Cosmopolitan is great for building terminal apps like HTTP servers, but can't do GUIs. 2. Browsers are great at GUI apps, but depend on HTTP servers and emulate terminals poorly. So I view the two as being complementary. I imagine i
More ›