@Lina_Hoshino Why is #1 is a miscompilation? As far as I can tell the only possible outcomes are to either return 1 or have an infinite recursion which is UB so compiler is allowed to optimise it out and just always return 1. And is essentially what happens in #4 too
@jetbrains I really like the new UI with the exception of the color of the active file tab, it’s now always blue so you lose valuable information on the type of file (regular, green for tests, orange for external libraries, etc). Could you add the color back to the active tab?
@meowkoteeq The port isn’t just for charging though, and with the amount of cars that still only support wired Apple CarPlay (i.e. no wireless) that would be a pretty risky move for them
@splinedrive I’ve started playing around with some RISC-V designs in Verilog, for now sim only but looking to get an FPGA board to actually run it, do you have any tips on which size I’d need if long term I also want to explore rv64?
@MartinWawrusch@danogburn@0x_dea110c8 I’m a Senior Software Engineer and never in my 10+ years career have I needed to know if memory was in stack or heap 🤷♀️
@davepl1968 Semicolon at the end of the `for` line means the loop body is empty, effectively just making i have a value of 5, then just once that final value is added to sum, hence why sum is 5 by the time we reach printf
@yobson8@neogoose_btw@tsoding If your return type is an Option and all intermediate operations also return Option’s you can just use the ? operator to avoid all the manual returns
@neogoose_btw@tsoding Rust absolutely allows empty returns if the function doesn’t have a return type which if I’m not mistaken is a shorthand for having a () return type
If the function has a non-empty return type then yes you can’t have an empty return, but AFAIK that’s the case in most typed langs
I want to say again, as a person with a Computer Science degree who is generally hugely in favour of technical solutions to social problems:
No computer voting machine system that our civilisation can deploy is better than paper ballots
@GMMeyer@NickADobos docx is literally just a zip, it should be relatively straightforward to version control the contents of the zip (mostly XML files and the media contents)