Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
csb6
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
121.
▲
Spicy – Generating Robust Parsers for Protocols and File Formats
(docs.zeek.org)
2 points
by
csb6
1y ago
|
0 comments
122.
▲
by
csb6
1y ago
With an HTML body the link will be displayed as content and so will be directly clickable. But if the body is JSON then the client has to somehow generate a UI for the user, which requires some kind of interpretation of the data, so I don’t
123.
▲
by
csb6
1y ago
Yeah it doesn’t make much sense. In addition to being the default line ending on Windows, \r\n is part of the syntax of many text-based protocols (e.g. SMTP and IMAP) that support UTF-8, so clients/servers of all these protocols would
124.
▲
by
csb6
1y ago
I think many of these bugs are major enough that employers would want them fixed (e.g. not respecting ABI on Windows). A lot of effort has been put into LLVM’s optimizer and code generators so presumably this is something they value. They t
125.
▲
by
csb6
1y ago
If the actions I take now will affect someone I know will exist in the future and who will be owed duties, I effectively have a moral duty. You can say the moral duty is not in existence until the person is actually born, but my duty to tha
126.
▲
by
csb6
1y ago
> Every moral duty is owed to a real, identifiable someone. You can’t have a duty to “a possible person” who does not yet exist. This doesn’t hold up. It is effectively denying that people will be born in the future, which of course they
127.
▲
by
csb6
1y ago
Yes, this is true. Many people seem to think of words as written text and not as spoken words, so they focus on analyzing the characters is a word and not how it sounds. I had a linguistics professor say something like “Writing is parasitic
128.
▲
by
csb6
1y ago
There is also an LLVM-based Modula-2 compiler written by an LLVM contributor: https://github.com/redstar/m2lang
129.
▲
by
csb6
1y ago
I didn’t know either, but this article [0] has some thorough explanations. I think the basic idea is that when two people are experiencing time dilation, FTL communication makes it possible (according to relativity equations) for a recipien
130.
▲
by
csb6
1y ago
Seems like pointless friction to have to register and log into an online account just to view press releases by a government agency. Maybe there would be an exception for government agencies’ posts, but it doesn’t look like it. Surely it is
131.
▲
by
csb6
2y ago
As someone currently working on an IMAP client, my strategy has been to start by implementing the base IMAPrev2 specification and checking that it still works with a rev1 server. RFC 9051 has guidance on how to handle servers that use older
132.
▲
by
csb6
2y ago
This is some of the worst use of statistics I have ever seen on this site. Genuinely something the John Birch Society or McCarthy would have said.
133.
▲
by
csb6
2y ago
There is an extension that adds compression. [0] I think most widely-used servers implement it (at least Gmail and Dovecot do) [0] https://www.rfc-editor.org/rfc/rfc4978.html
134.
▲
by
csb6
2y ago
I believe clang and gcc avoid reading in and re-processing include files that are already included, so his advice is unnecessary and creates a lot of maintenance burden, especially for C++ where a lot more code is in header files. It may st
135.
▲
by
csb6
2y ago
> Why don't people focus on their general health instead of taking more and more medicines and vaccines and whatnot Why are these mutually exclusive? The scientific community agrees that Americans have unhealthy diets and lifestyles
136.
▲
by
csb6
2y ago
I am not sure of the context of the passage, but I would guess that Fitzgerald was aware of the massive slaughter on the Eastern Front but felt that the cultural moment in Western Europe/America that lead up to the fighting on the West
137.
▲
by
csb6
2y ago
Pascal (and most other Wirth languages) is better in most of these respects than C. Of course there are other flaws with Pascal (cf “Why Pascal is not my favorite programming language”), but it proves that C has a lot of accidental complexi
138.
▲
by
csb6
2y ago
macOS does this when searching for a command in the Help menu - it will open up the context menu and highlight the place where the command is so you know where it is next time.
139.
▲
by
csb6
2y ago
It is not just one airplane. It is still common in defense and aerospace software, as well as other safety critical code (Nvidia recently started using the SPARK subset for some of their firmware I believe). Just because you don’t know anyo
140.
▲
by
csb6
2y ago
Neither of these statements really say what the disagreement was about. It seems like the Handmade Network people were shocked by the content of some of the talks at Handmade Seattle? Looking at the list of talks I don’t see what would be o
141.
▲
by
csb6
2y ago
That is how it is implemented, but the core idea is that a lot of problems can be broken down into subproblems that require shared, repetitive computations to solve, and the table is a way to cache/share those results for each subprobl
142.
▲
by
csb6
2y ago
> I would argue that what good software developers do is remove problems. The opposite, in fact, of production But something is being produced - it is version 2.0 of the software. This is an artifact that is then shipped to users or depl
143.
▲
by
csb6
2y ago
Rust does not have the rule of five, and it does not really have copy/move constructors. defer does not get you the same benefits as a destructor because you can easily forget to write a defer, while destructors are always called.
144.
▲
by
csb6
2y ago
Exactly - people seem to assume that RAII means having to heap allocate each object individually and then having to deallocate each object individually when done. Clearly that is not true and the allocation patterns are orthogonal to whethe
145.
▲
by
csb6
2y ago
LibFuzzer is packaged with clang, so there is no additional installation [0]. You just have to provide an entry function and link it with a command-line flag. However, since C and C++ lack reflection you have to work with raw bytes as input
146.
▲
by
csb6
2y ago
The article touched on it, but it would be nice if there were a standard way to have extensions for LSP, e.g. a protocol that could be shared by language servers for formal specification languages that need proof obligation support. [0] [0]
147.
▲
by
csb6
2y ago
> “just" run high powered wires with enough energy to move an entire train for the entire length of the track? This has been done successfully around the world since the 1880s. Looking at a map it seems like the length of the line i
148.
▲
by
csb6
2y ago
With that attitude, no policy would ever need to be advocated for, and there would be no reason to buy campaign ads. Marketing as a business would be completely ineffective. The rideshare companies clearly don’t share your philosophy - othe
149.
▲
by
csb6
2y ago
Is it elitist to say that marketing works, even if it ultimately is not in the target audience’s self-interest? Being under-informed or given misleading information is not the same as being stupid.
150.
▲
by
csb6
2y ago
Unfortunately much of Phoenix is covered with a hard layer of soil known as caliche that is expensive to dig through, meaning that most houses don’t even have basements. But if it saves a lot of money on cooling it might be worth it.
More ›