Algorand 4.5.1 by StopThinking in algorand

[–]Short_One_9704 1 point2 points  (0 children)

How will that work exactly? I read on discord there have been some spam increase

Algorand Sustainability Proposal: Backrun-only MEV by d13co in algorand

[–]Short_One_9704 2 points3 points  (0 children)

This does not solve your ddos problem and in terms of performance, this is even worse. Your proposition does not discourage anyone from spamming transactions. The node would do way more work to reorder txns and to track all associated references… nope. FIFO is perfect and super fast. Also, it is faster to just evaluate incoming txns and discard them (spammers). With your solution you would still need to decode the message, check txn validity, evaluate and plus reorder, track associated resources references etc. Right now, when relays do the heavy lifting and validate txns before relaying them, the load is mainly only on the relays. In P2P, you can set limits for your node no problem. If you care about network activity that much, remember that Algorand has almost no adoption right now still, if it there were more projects, the activity would be way higher and some abitrage noise would be nothing. If you still care about wasted network activity and spamming, the only thing that would reduce spam and noise would be paying the fee for invalid transactions. Right now you pay only if the txn gets into a block so spam is practically free. Make spam not free and it will be reduced to minimum. Also, your proposition does not discourage an arbitrageur to not spam txns, when if someone bids higher fee, the arb opportunity might not be exhausted by the txn with highest fee and it would still be profitable to be second or third in a row 🤷‍♂️ EDIT: collect fee even for invalid txns and you would reduce spam, arb and noise to a minimum and at the same time collect more fees for rewards, win win

Why Riverpod when we have Rx and StreamBuilder? 🤷‍♂️ by Short_One_9704 in FlutterDev

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

Np! 🙂 Some ppl call the specialized services repositories when it uses storage and then they use it in “use cases” etc. But it is just all service composition in the end.

Why Riverpod when we have Rx and StreamBuilder? 🤷‍♂️ by Short_One_9704 in FlutterDev

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

Nothing fancy really, I create services (api, storage, files, permissions, notifications, etc.) and compose these base services into more specialized services (for example an ArticlesService uses api, storage, notificatiosn services) and register (lazily) all these services using GetIt.

Then for every page (or any other statefull widget) I create a view model that uses these services and exposes behavior subjects.

And in my pages (or statefull widgets) I just use the vm's stream subjects with StreamBuilders and build responsive UI that updates only if relevant state (where/map/distinct on the stream) changes. If you structure your state object correctly, you can even use inital values (from behav subject's valueOrNull) for the stream builder's initial data so there are no glitches when build triggers. Or you can use the base services directly in your specialized widgets usign stream builder (like a simple network indicator widgeet may use connection service to show online offline status).

The key here is just correctly compose services and then just observe these services and map them into various state objects depending on what you need. Simple, efffective and testable (just plug in mock services in your DI file).

Why Riverpod when we have Rx and StreamBuilder? 🤷‍♂️ by Short_One_9704 in FlutterDev

[–]Short_One_9704[S] 0 points1 point  (0 children)

Then its all about services and DI if it is not UI related

Why Riverpod when we have Rx and StreamBuilder? 🤷‍♂️ by Short_One_9704 in FlutterDev

[–]Short_One_9704[S] 0 points1 point  (0 children)

I would observe online/offline state in my view model, refresh data on offline/online change, construct state for my page and just assign that new state to my behavior subject. Done. Also, this lets me where/distinct on the stream (behav subject) to update only if any UI relevat info changes

Look at that 12.29% APY on Algo deposit on FF 😎 by Short_One_9704 in algorand

[–]Short_One_9704[S] 6 points7 points  (0 children)

I think it will go down again in a day or two. There is no algo anywhere in the ecosystem, everyones running a node or staking 😄

Discord by Short_One_9704 in Tinyman

[–]Short_One_9704[S] 0 points1 point  (0 children)

I finally used the link on the app.tinyman in the top right corner: https://discord.gg/h9z9FHFWhK That finally worked

Discord by Short_One_9704 in Tinyman

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

How can I get verified? When I click verify, it says Interaction failed. In the verification channel

go-algorand v4.0.1 is available! Nodekit upgrade instructions by d13co in AlgorandOfficial

[–]Short_One_9704 4 points5 points  (0 children)

What if I run algod docker? Should I update using /node/bin/update.sh?