Loris

1.9K posts

Loris banner
Loris

Loris

@lorismatic

In a world dominated by robots, I'd probably have more friends. 🌱 🏳️‍🌈

Brighton, England Katılım Aralık 2009
118 Takip Edilen3.4K Takipçiler
Loris retweetledi
Solana Developers
Solana Developers@solana_devs·
Are you using Kit plugins? If not, you really should be. Plugins (and plugin clients) enable interoperability among JS clients, allowing them to seamlessly work with different Solana programs and tools. Just load a program and send a transaction in two lines — auto PDA derivation, no manual serialization. This is a nice improvement to the Solana Kit developer experience (more on the way). Kit Plugins: github.com/anza-xyz/kit-p… Also added to our Solana Development Skill 👇
Solana Developers tweet media
English
15
14
94
4.6K
Loris retweetledi
Callum
Callum@callum_codes·
Soon™ (This transaction was sent with Kit)
Callum tweet media
English
1
2
8
286
Loris
Loris@lorismatic·
@callum_codes @yongfook I inject frontmatter to my prompts so it has more context about the human behind the prompt (amongst other things like the exact time, the communication channel being used and the attachment URLs so it can save attachments instead of just viewing them).
Loris tweet media
English
0
0
1
14
Callum
Callum@callum_codes·
@yongfook It sometimes calls me the linter :) “Looks like the linter updated that file since I changed it”
English
1
0
1
37
Jon Yongfook
Jon Yongfook@yongfook·
Claude just started referring to me as "The User" and I feel offended 🥺
English
62
1
99
10.7K
Loris
Loris@lorismatic·
Human: biological token-generator with sensors.
Loris tweet media
Català
0
0
2
187
Loris
Loris@lorismatic·
@callum_codes Oh man, where is my fake account… 🥺😅
English
0
0
1
84
Loris
Loris@lorismatic·
I heard about Bad Bunny for the first time two days ago in a crossword. Am I old now?
English
0
0
2
462
Loris
Loris@lorismatic·
Just watched it! Token 2022 is a beast haha. Looks like an issue on the written Codama IDL which should use a size-prefixed empty struct just so we have two bytes of 0 after the extension discriminator. I might play with using a hidden constant instead so you still don’t need to pass an empty object on the API. Looks like “confidentialMintBurn” is also constructed that way so I’ll take a look at both. I’ll keep you posted.
English
1
0
0
88
Solandy 🎓
Solandy 🎓@HeyAndyS·
Getting token account sizes was trivial with the old token program. Adding extensions made the whole thing complicated. Today we explore the options how to find the correct account size using - getAccountDataSize of the token program - getTokenSize of the kit easy right?👇
Solandy 🎓 tweet media
English
3
1
11
925
Loris
Loris@lorismatic·
100%! Going from lower to higher levels of abstraction: - Generated instructions on program clients. - Generated plugins on program clients. - Plugin that bundles most common program plugins. - Use that bundle plugin on a client factory like: `const client = createAlmightyClient("http://...")`.
English
1
0
3
44
Loris
Loris@lorismatic·
Almost yeah, client is created by the user and is the "Connection-like" entrypoint that can be extended via plugins. So the token program client would offer a generated `tokenPlugin` and the user would just need to do `client.use(tokenPlugin())`. This plugin would add a new `token` property to the client allowing the discovery of all instructions (and even instruction plans) on the program. The actual API design of what is generated is still a WIP but `client.token.transfer(...)` could return some pending object allowing you to call `send` directly on it (since the client will already have information on how to send transactions).
English
1
0
2
38
Loris retweetledi
Jules Mossler
Jules Mossler@julie_mo·
Here’s why good internal corporate comms matters so much. Because even if you believe we shouldn’t bring our ‘whole selves’ to work (I’m one of these people) you cannot divorce someone from what makes them human, which is greatly influenced by the other 16 hours they’re not at work. On the near-zero chance everyone’s politics are aligned, you still cannot control a world that is scary, divisive or shocking outside your office walls, and you can’t control the way that someone feels. Period. Acting like nothing is happening in your employees’ lives is only insulting their intelligence and asking for their success operating inside a farce. Interesting how so many organizations in the Valley were so active during our last election and now telling their employees they “don’t do politics” at work. This doesn’t mean your employees expect or deserve a stance on every issue- but providing space for those who want to support each other, or simply acknowledging they have the room to be a human, prevents the vacuum from taking over. Goes a lot further than you think.
English
0
1
2
460
Loris
Loris@lorismatic·
@a_milz Really cool plugins! Feel free to PR them in the “Community Plugins” section of the readme so they are more discoverable. 🙌
English
1
0
1
35
amilz
amilz@a_milz·
i'll probably end up using the liteSVM plugin for a lot of my tests, but this was fun to experiment with anyway. fun to think of all of the different ways folks might use this. repo is here if you want to try it out: github.com/amilz/kit-help…
English
3
0
7
91
Loris retweetledi
amilz
amilz@a_milz·
experimented a bit with solana kit plugins this weekend, and they are really cool! excited to see ended up making ones for: - transaction building - local validator management - initializing test token mints so a simple test with local test validator looks something like this
amilz tweet media
English
1
2
19
1K
Loris
Loris@lorismatic·
@a_milz Note that the LiteSVM plugin is currently depending on a fork that makes it work with Kit whilst we wait for the Kit PR to be merged/published on the official library. ☺️ github.com/LiteSVM/litesv…
English
1
0
1
28