|
You are here |
soff.es | ||
| | | | |
gorban.org
|
|
| | | | | I have to say that in my various, limited testing of llama-3 AI model vs ChatGPT 4 Plus, I often find llama-3 following instructions better and giving more precise results. Quite surprising. These two images are ChatGPT4 and llama-3-7B run locally, which actually gave a better result. | |
| | | | |
nilcoalescing.com
|
|
| | | | | Swift 5.9 introduced the use of if/else statements as expressions, simplifying value returns, variable assignments, and enhancing code readability. | |
| | | | |
kodare.net
|
|
| | | | | I've recently begun to be bothered by a pattern I haven't really thought about before: unit tests are just a pile of stuff to the side of your code and aren't connected to the unit they are supposed to test (at least in any unit testing system I've seen, examples to the contrary are welcome!). | |
| | | | |
www.ncameron.org
|
|
| | | One of the more subtle aspects of Rust is how traits can be used as types. In this blog post I will attempt a bit of a deep dive into how to use traits as types and how to choose between the different forms. Preliminary: traits are not typesA type | ||