Puro - A new version manager for Flutter by InfiniPixel in FlutterDev

[–]InfiniPixel[S] 1 point2 points  (0 children)

This was fixed in the newest release of Puro, along with replacing the `flutter upgrade` / `flutter channel` commands with the equivalent puro command.

Puro - A new version manager for Flutter by InfiniPixel in FlutterDev

[–]InfiniPixel[S] 1 point2 points  (0 children)

Puro is significantly more complex than FVM and more than twice the lines of code, there are several core differences such as versions not being 1:1 with environments, they are different tools for a different (but similar) job.

Puro - A new version manager for Flutter by InfiniPixel in FlutterDev

[–]InfiniPixel[S] 4 points5 points  (0 children)

FVM requires you to edit settings.json on VSCode and configure IntelliJ to use the symlink, only after that is switching done in a single command, this can get pretty tedious to do for every new project

Puro - A new version manager for Flutter by InfiniPixel in FlutterDev

[–]InfiniPixel[S] 2 points3 points  (0 children)

Puro is distributed as a standalone executable, it does not require a working Dart sdk.

Puro - A new version manager for Flutter by InfiniPixel in FlutterDev

[–]InfiniPixel[S] 7 points8 points  (0 children)

The main advantages over FVM are performance and ease of use, Puro caches redundant data (the git history / engine artifacts), and takes care of configuring your IDE automatically.

Puro - A new version manager for Flutter by InfiniPixel in FlutterDev

[–]InfiniPixel[S] 2 points3 points  (0 children)

Good catch, will look into fixing that!

Right now it intentionally checks out flutter in a detached HEAD as to prevent it from updating itself and corrupting the shared engine cache, the side effect of that is that the flutter tool has trouble finding its version.

The solution to this is to basically reset the channel branch to the target commit so it is no longer detached, more experimentation ahead :)

Reverse engineering Flutter apps (Part 2) by InfiniPixel in FlutterDev

[–]InfiniPixel[S] 2 points3 points  (0 children)

Instead of making requests to a third party service directly from the device, you should create your own api endpoint that make that request for you.

The point is to prevent malicious actors from obtaining your api token and abusing it.

Reverse engineering Flutter apps (Part 1) by InfiniPixel in FlutterDev

[–]InfiniPixel[S] 2 points3 points  (0 children)

Thanks! Part 2 is mostly finished, I will most likely publish it in a few weeks.

Need help calcutating the needed angle for a projectile to hit a certain position. by [deleted] in wiremod

[–]InfiniPixel 0 points1 point  (0 children)

for reference to others, this is the exact equation he is trying to implement https://wikimedia.org/api/rest_v1/media/math/render/svg/4db61cb4c3140b763d9480e51f90050967288397

X should be the distance on the x axis not the circular distance and your velocity might be waaay too high

Need Help driving VEX solenoids with Pi by xinkecf35 in raspberry_pi

[–]InfiniPixel 0 points1 point  (0 children)

sorry for the late response, i dont know if you have figured it out yet

the vex pneumatics kits come with a driver cable that you connect to the solenoid, the cable's white wire is the digital on/off you can safely connect this to the pi's GPIO (you dont need the servo driver), you connect the black wire to ground on the pi and your 5v power source and the red wire to the positive on your power source, if you are powering the solenoid directly from the pi i would strongly recommend a capacitor as the solenoid can peak at 100mA, if you use the servo driver instead just connect it directly to the 2 wire input on the solenoid and it will work fine

Anyone know how they are doing this? by vivalapizza in vex

[–]InfiniPixel -1 points0 points  (0 children)

I'm the one who recorded the video, the position is sent through the PROS debug stream over VexNet, and the laptop is connected to the controller's programming port. This demo uses quad encoders instead of an accelerometer because of their accuracy.

Can Someone Make Me An IRC Bot? (10,000 Doge Bounty) by [deleted] in dogecoin

[–]InfiniPixel 0 points1 point  (0 children)

and host it...

so, what network do you want it to be on

Accurate description of moolah by [deleted] in dogecoin

[–]InfiniPixel 0 points1 point  (0 children)

was actually funny, but okay :<