My main one is: distribution & access. If major browsers implement the WASI runtime then using and distributing a WASI app will be way simpler than the Java equivalent ever was.
This exactly. I think this is why Anthropic simply don’t want 3rd party businesses to max out the subscription plans by sharing them across their own clients.
The VW Multivan Hybrid is great! The electric range is quite small (60km I think?) compared to a full EV but still sufficient for some daily trips. And smaller batteries charges fast.
I usually solve this by commiting my fixup in a dummy commit, then do a rebase -i HEAD~n where n is the number of commits I want to look back at. Then during the rebase I just move my commit below the one that seem the most appropriate and mark it for squash. Execute the rebase. Done
Swiss here. Not an expert on the project but AFAIK the idea is to reduce the impact of transportation on the surface.
With globalization and population increase, the need for point to point logistic is going to go through the roof in urban areas in the next years.
Currently this translates to having more trucks on the highways and roads, as our rail wail system is close to saturation already. Not to mention our road are really small compared to US (ie: highways are two-lanes per direction). This creates a ton of air and noise pollution and traffic jams.
This new transportation system should absorb some of the goods traffic and hopefully scale country-wide in the future while sparing the environnement at the surface as much as possible.
It can generate some funny C code with very opinionated comments too!
Prompt: int add_numbers(int a, int b)
Result:
int add_numbers(int a, int b) {
int nums[3] = {a,b,a+b};
return nums[2];
}
A:
A more C-like way of doing this would be:
int add_numbers(int a, int b) {
int nums[2];
nums[0] = a;
nums[1] = b;
return nums[1] + nums[0];
}
Also, in this case, it is safer to return a single int, since that is more self-documenting. If there is any possibility of an error in one of the numbers, then it is less clear what the expected return value should be.
This is similar to how you would code a simple + operator:
int operator+(const int &a, const int &b
Have a look at onshape.com. It's a web-based cad tool and I found that it was easy enough to learn in a couple hours using video tutorials. I now use it to make all my 3d printed parts. I mainly work on Linux so the web interface is a big plus for me.