You are here |
jens.mooseyard.com | ||
| | | |
acorwin.com
|
|
| | | | Have you ever thought, "huh, I wonder how easily I could DDoS myself despite all the hard work of library and framework authors?" In that case, have I got news for you! In the vein of Uses and Abuses Of Python's Excessive Dynamism, I have found a way to DDoS yourself via hash collision in... | |
| | | |
qsantos.fr
|
|
| | | | This article will quickly explain the Rust types [T; N], &[T; N], &[T], Vec, &Vec with C code, and what the str, &str, String, OsString and CString add. Arrays and Slices Rust C [T; N] (array)Example: [i32; 100]Allocated on the stack T[N]Example: int[100]Allocated on the stack &[T; N] (array reference)Example: &[i32; 100]N is tracked at ... Continue reading Rust Strings for C Programmers ? | |
| | | |
commaok.xyz
|
|
| | | | Words about Go and software | |
| | | |
ezyang.github.io
|
|
| | When you're learning to use a new framework or library, simple uses of the software can be done just by copy pasting code from tutorials and tweaking them as necessary. But at some point, it's a good idea to just slog through reading the docs from top-to-bottom, to get a full understanding of what is and is not possible in the software. One of the big wins of AI coding is that LLMs know so many things from their pretraining. For extremely popular frameworks that occur prominently in the pretraining set, an LLM is likely to have memorized most aspects of how to use the framework. But for things that are not so common or beyond the knowledge cutoff, you will likely get a model that hallucinates things. Ideally, an agentic model would know to do a web search and find the docs it needs. However, Sonnet does not currently support web search, so you have to manually feed it documentation pages as needed. Fortunately, Cursor makes this very convenient: simply dropping a URL inside a chat message will include its contents for the LLM. |