• 5 Posts
  • 609 Comments
Joined 3 years ago
cake
Cake day: August 19th, 2023

help-circle



  • Is this bait? Zig and Go are very much serious, especially Zig.

    Generally python/Javascript is good for learning the basics. To know how types work learn c#/java/go. To learn how the memory works Zig/C are good. To learn about what a fully defined behavior means in a program you learn Rust. To learn what actually happens on the processor you learn assembly.

    Honestly, if you’re hyped about Zig go for it, although I’d suggest “warming up” by doing a tic tac toe in python.










  • This is what happens when you reward people based on token usage. People no joke can just put in before every PR “review every detail, be very thorough, make sure it fits into everything, check for every possible undefined behavior etc.” while giving the model a massive doc with list of all files in the project.

    Not even sure if they check the prompts because “review formatting of the entire codebase” is also super heavy in a large repo but if prompts get checked it’s an obvious token sink.

    The model will just ransack the whole project every time through the whole stack when you could enforce a contract with a couple of tests with strict input validation.

    Uber has the dumbest AI policy in the industry.




  • I use Neovim as much as possible but Jetbrains C# just has a really nice debugging experience (with Vim mode on, of course). I still use Neovim for reading C# and doing some small edits and it works really well when reading what the LLM wrote.

    It’s hard to beat stepping through a method until you hit an exception, go into a catch block, ctrl+O until you hit the last line before the exception, breakpoint, skip to top of method and rerun.





  • I’d thought about this and I came up with term limits instead. Holding office should be limited to 30 years over a lifetime. This should go across specific appointments such as federal reserve and senate.

    This prevents people from just staying on forever and accumulating too much power and favors. It also increases the turnover of politicians a lot more without breaking continuity and getting rid of the most qualified politicians.

    Not sure what the exact structure would be but I’d also increase the senate term lengths but add a 2 term limit. Governors also 2 term limits, house of reps 7 terms and president 2.

    I believe 100% that people in power become more corrupt over time and this fixes that but allows for long careers.