- 9 Posts
- 22 Comments
Extra support could be added to try and retrieve the FUNDING file when browsing source forges. Good idea.
I read about Brave Rewards. Itâs definitely not something I aim to replicate as a whole. Maybe they have nifty distribution methods worth copying? Would be interested in that.
I look forward to the feedback :) Enjoy your vacation!
Why? If the tracking picks it up, then itâll be up to the user whether they want to transfer money via those methods. Someone did make me think that filtering donation methods would be useful. So if there are website that use a donation method you disapprove of or do not support, you donât have to transfer money to them.
I remember seeing this and losing track of it a year or more ago. But the ecosystem seems to have died about 2 years. Libraries are all 2+ years old. The downside I see with it is that it requires signing up to join the system, which is surely a blocker for many people. First you have to know about it, then you have to trust it, and then you have to find the people who use it.
That said, I love the idea of being able to pay for anything with your web-browser. How far away we are from it though, I donât know. The name âinterledgerâ is also unfortunate as it immediately makes you think âcryptoâ, which will probably turn off a lot of people to the wallet.
It isnât clear to me how the connection to the bank is actually made. Gatehub for example says SEPA and Wire transfers work, but so do XRP, and bitcoin. The wallet seems to be held by them, but does that make them a bank? Maybe Iâm thinking to much about itâ¦
Maybe it warrants another look. But I do think that connecting the current world to easy donations is important. Web monetisation could be added later once it becomes a standard.
Is the main issue really tracking and consolidating microdonations, or is it transferring credit between these donation systems and traditional finance entities like banks and credit card networks?
They are 2 main issues. As mentioned, you want to transfer the money to the right person, which means tracking (or collection, whatever term you want to assign to it). And you want to transfer in the first place. Since there are so many systems, and some that donât allow one-time donations, and people are all over the world, it definitely is a problem. Thatâs why not doing it monthly but annually could help. But that does make me think that it should be possible for the user to filter donation methods. For example filtering out direct transfers to accounts outside of your region due to transfer costs. Thanks, I can add that.
Which regulatory compliance things would apply to this in its current form? Or do you mean that connecting to a userâs bank account would incur the wrath of the authorities?
Thanks for reporting. I hope itâll get resolved!
Man⦠thatâs unfortunate. Thanks for the link!
You typically want a slightly-more-elaborate approach than just handing the network a hash and then getting a file.
[â¦]
Blake 3 supports verified streaming as it is built upon merkle trees as you described. So is IPFS. As I mentioned, IPFS hashes are that of the tree, not the file contents themselves, but that doesnât help when you have a SHA256 sum of a file and want to download it. Maybe there are networks that map the SHA256 sum to a blake3 sum, an IPFS CID, or even an HTTP URI, but I donât know of one, hence the question here.
BitTorrent and Hyphanet have mechanisms that do this.
Do you know of a way to exploit that? A library maybe?
Itâs quite simple: I want to
retrieveFile(fileHash)wherefileHashis the output ofmd5sum $fileorsha256sum $file, or whatever other hashing algorithm exists.
Iâm not sure what your concern is. Iâd basically like to call a function
retrieveFile(fileHash)and get bytes back. Or callretrieveFileLocations(fileHash)and get URIs back to where the file can be downloaded. Also, itâll be opensource, so nothing to reverse engineer.
How do I retrieve a file from bittorrent with just its hash? Does WebMirror solve that? Iâll have a look at itâ¦
If you
sha256sum $fileand send that hash to somebody, they canât download the file from IPFS (unless itâs <2MB IINM), thatâs the problem. And it can be any hashing algorithm md5, blake, whatever.
tinkralgeOPto
Android Developmentâ¢Are there ORMs for android that support many-to-many relationships?English
1·2 years agoThanks. It does look like the right library to use. A little surprising that it seems to be the only one thatâs up to date, but at least it exists!
Sure, why not. Iâm not the creator of the room ð
I know that @[email protected] is there. Maybe he can make you a mod there too? And the channel could be added to the sidebar of this community too.
This week some more work was done on inheriteRS to support inheriting non-trait implementations of functions.
Basically
use inheriters::specialisations; specialisations!( struct Parent { attr1: u8, } impl Parent { fn from_parent(self) -> u8 { 8 } fn overridden(self) -> u8 { self.attr1 } } #[inherit(Child)] struct Child { attr2: u8, } impl Child { fn overridden(self) -> u8 { self.attr2 } } );results in
struct Parent { attr1: u8, } impl Parent { fn from_parent(self) -> u8 { 8 } fn overridden(self) -> u8 { self.attr1 } } struct Child { attr1: u8, // new attr2: u8, } impl Child { fn from_parent(self) -> u8 { 8 } // new fn overridden(self) -> u8 { self.attr2 } }There might be some clean-up necessary code-wise and the README has to be expanded. But the project is well on its way to version 1! Itâs a pity codeberg doesnât have easy CI/CD yet nor domain hosting e.g inheriters.codeberg.io or something. So auto-formatting, testing, auto-tagging, etc. will have to come once I can convince myself to setup a VPS somewhere that hosts all that.
That sounds like fun! Wow. How stable is it at the moment?
Working on some form of inheritance in rust. Itâs my first foray into procedural macros and so far itâs fun. The idea is quite simple: generate structs with common attributes (and eventually functions) instead writing them yourself.
use inheriters::specialisations; specialisations!( struct Parent { attr1: u8, } #[inherit(Child)] struct Child { attr2: u8, } );becomes
struct Parent { attr1: u8, } struct Child { attr1: u8, attr2: u8, }not
struct Parent { attr1: u8, } struct Child { attr1: u8, parent: Parent, }The latter leads to indirection which Iâm not a fan of.
Last week I squashed one bug on the order of attributes according to inheritance. In the example above
attr2was coming beforeattr1. A feature is nearly done to exclude theParentfrom the output and only output the child. Thatâs useful for parents that just serve as holders for shared attributes.The goal for v1 was to also support basic inheritance of implementations:
Parenthas animplblock, then that block is copied for theChild. Not sure yet if Iâll implement overrides in v1 or v2. Overrides being ifParentimplementsdo_something()andChilddoes too, then the implementation ofParentis not copied into theimplblock.
Thatâs what Iâll try to tackle in the coming weeks.
tinkralgeOPto
Nix / NixOSâ¢[Feedback request] Wiki page on packaging using builtins.derivationEnglish
2·3 years agoGreat, thank you! Iâll be moving on to
mkDerivationsoon. Hopefully budding packagers will be less intimidated than I was when I started.







Companies are already cancelling and limiting Claude subscriptions. Is this the turning point for AI?