Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Karellen
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
42 ms
·
601.
▲
by
Karellen
3y ago
LibreOffice isn't exactly lightweight, but it is a Free (as in beer, and as in speech) local alternative. https://www.libreoffice.org/download/download-libreoffice/ edit: Huh, it's even less lightweight
602.
▲
by
Karellen
3y ago
Huh. I didn't realise that tree-sitter had its own parser for each of the languages it supported. For some reason I thought it used existing compilers/parsers to be able to figure out which symbols would be valid at a given point.
603.
▲
by
Karellen
3y ago
If you don't have kids, or none of your close family do, there's no reason you would be aware of the brand, but if you do they're astonishingly popular and almost impossible not to be aware of :-) https://en.wikipe
604.
▲
by
Karellen
3y ago
Isn't that possible either with a) a compiler that can recover from errors and continue to parse the rest of a file, to produce an AST of all the parts that make sense but error nodes for the bits that don't. b) a compiler that ca
605.
▲
by
Karellen
3y ago
I'm not sure why syntax checking/semantic analysis, and compile-time evaluation, can't be two separate passes? if (false && okeoefkepofke[3.141592]) Why can't you check that using a float as an array ind
606.
▲
by
Karellen
3y ago
I'm content for that to be a failure mode of the format. :-)
607.
▲
by
Karellen
3y ago
But if I send that to someone who is in a different timezone, e.g. in America/New_York, will it put the event at 6pm London Time in their calendar, so that they can videocall in at whatever time that is where they are?
608.
▲
by
Karellen
3y ago
I find it weird that there's no way to specify a future date/time with respect to a specific timezone, e.g. Europe/London. I don't think it's unreasonable to want to be able to specify a meeting in London, on July 1
609.
▲
by
Karellen
3y ago
> there was various schemes to avoid the "clumpyness" you'd get by using purely random numbers. ^^ This is worth highlighting. "Randomness is clumpy" -- Attributed to various authors https://en.wikiped
610.
▲
by
Karellen
3y ago
There's also the users who bought the hardware. The "their" in "helping Nvidia block users from illicit usage of their hardware" could easily refer to either "Nvidia" or "users". There is this we
611.
▲
by
Karellen
3y ago
> Writing a program "based on" an API, i.e. which invokes the provided functions, is not a derivative work. If that were the case, the LGPL would never have been needed.
612.
▲
by
Karellen
3y ago
It's not a restriction on use. The GPL does not prevent users from running the Linux kernel in any manner they choose. What it does disallow is for users to write code which is "based on" Linux code, and then distribute that
613.
▲
by
Karellen
3y ago
Because fuck you, that's why
614.
▲
by
Karellen
3y ago
> is there any reason other than promoting the GPL [...] Isn't that reason enough? > why even have a syscall exception? Because Linus is more pragmatic than RMS. Also, syscalls are generally not Linux-specific, so it would be har
615.
▲
by
Karellen
3y ago
> Why shouldn't a proprietary driver be able to interact with a free kernel? Proprietary drivers can interact with the Linux kernel. Provided they only use fairly generic OS-functions, which are to be found in many similar kernels.
616.
▲
by
Karellen
3y ago
Who is the "they" in "their hardware"? And what does illicit use of things you yourself own even look like?
617.
▲
by
Karellen
3y ago
> Let us keep our minds open by all means, as long as that means keeping our sense of perspective and seeking an understanding of the forces which mould the world. But don’t keep your minds so open that your brains fall out! There are
618.
▲
by
Karellen
3y ago
Not many hoops, why? /* Create function pointer of appropriate type, initialised. */ int(*foo)(int, int) = NULL; int main() { void * ha; if ((ha = dlopen("A", RTLD_LAZY|RTL
619.
▲
by
Karellen
3y ago
> Developers, in general, are really bad at logging, and so most logs are full of useless noise. Well, most logging systems do have different log priority levels. https://manpages.debian.org/bookworm/manpages-dev
620.
▲
by
Karellen
3y ago
An empty IPv4 packet is 20 bytes, and an empty IPv6 packet is 40 bytes. An empty TCP header is 20 bytes. Therefore, if you want to send a single byte over TCP, you need 41 bytes over TCP/IPv4, or 61 bytes over TCP/IPv6. Let's
621.
▲
by
Karellen
3y ago
> Hallucinations are an engineering problem and can be solved. I'd like a little more background on that claim. As far as I've been able to tell from my understanding of LLMs, everything they create is a hallucination. It
622.
▲
by
Karellen
3y ago
> you need a license to have a copy in the first place I'm pretty sure you need a license to make a copy. When you buy a book from a bookshop, you don't need a license to own it. A license was needed to make it, but the publi
623.
▲
by
Karellen
3y ago
> In my last org, we vendored our entire toolchain, You vendored all your compilers/language runtimes in the source control repo of each project? Including, like, gcc or clang? WTF? > It's a shame that the mantra of "do
624.
▲
by
Karellen
3y ago
> Making something like Git, or a file system, or a package manager? Test what happens with millions of objects! Test with, say, one of largest open-source projects in existence at the time? Like, for instance, the Linux kernel?
625.
▲
by
Karellen
3y ago
Really? Do I need a license to cross out words, and write in some of my own, in books that I've bought?
626.
▲
by
Karellen
3y ago
Do you think that someone should receive a harsher punishment the more times they've watched/read/heard a copy illegally of a work? Or receive less of a punishment if they make a copy (or a hundred copies) illegally but never
627.
▲
by
Karellen
3y ago
FWIW, replacing comments with whitespace is also done by the preprocessor.
628.
▲
by
Karellen
3y ago
> as soon as either (or both) operand of any binary relational operator is NULL, the whole expression is NULL! Isn't is a binary operator? Because "NULL is NULL" is True (not NULL).
629.
▲
by
Karellen
3y ago
Are you sure it isn't only happening on unpopular CPUs? I couldn't see anything about which CPU makes/gens/models are affected in the article?
630.
▲
by
Karellen
3y ago
> Shelter and place orders are another funny one. I have a lot of fond memories ignoring shelter in place orders hiking and camping in the wilderness during covid. I was thinking more about sheltering from tornados and hurricanes.
More ›