Ilya I. Lubenets
Explore posts from serversMModular
•Created by Jack Clayton on 7/26/2024 in #community-showcase
Magic CLI alpha community feedback and questions
also waiting for
magic self update
now and magic self add
system for future plugins support like in pdm https://github.com/pdm-project/awesome-pdm96 replies
MModular
•Created by Jack Clayton on 7/26/2024 in #community-showcase
Magic CLI alpha community feedback and questions
@Zac Bowling thank you!
96 replies
MModular
•Created by Jack Clayton on 7/26/2024 in #community-showcase
Magic CLI alpha community feedback and questions
Maybe some flag to specify or manually putting files in cache folder?
96 replies
MModular
•Created by Jack Clayton on 7/26/2024 in #community-showcase
Magic CLI alpha community feedback and questions
And also a question - can I use mojo to install mojo from already downloaded mojo binaries without downloading online? I want to install mojo on my offline machines easily
96 replies
MModular
•Created by Jack Clayton on 7/26/2024 in #community-showcase
Magic CLI alpha community feedback and questions
Does magic have its own config.toml, or it uses pixi’s? I need to specify custom pypi index url and conda mirror
96 replies
MModular
•Created by bunny on 5/15/2024 in #questions
Discord timestamps
Wow, looks like a great feature
8 replies
MModular
•Created by bunny on 5/9/2024 in #questions
Trait `Comparable`
this PR was merged internally, so I'm pretty sure nightly will be updated with this
13 replies
MModular
•Created by Ilya I. Lubenets on 3/17/2024 in #questions
Kotlin's extension function in Mojo?
That makes sense, yep
9 replies
MModular
•Created by Ilya I. Lubenets on 3/17/2024 in #questions
Kotlin's extension function in Mojo?
You mean that I can to add
__hash__
func to existing struct and also add Hashable
trait with this approach?9 replies
MModular
•Created by Ilya I. Lubenets on 3/17/2024 in #questions
Kotlin's extension function in Mojo?
Great! But is this really better to extend T and use
T.do()
instead of do(T)
? The only usefull approach I see is ability to extend from import. Like if I do from bobby_lib import tensor_utils
and somehow run it - I will get a modified Tensor struct with a bunch of new cool and useful functions that bobby wrote9 replies
MModular
•Created by AndryxaUA on 3/17/2024 in #questions
What is the size of the Int type in bits?
Ok, thank you! Great explanation :mojo:
14 replies
MModular
•Created by AndryxaUA on 3/17/2024 in #questions
What is the size of the Int type in bits?
So, if
Int
is index and bit-size is system-based. Mojo will return different number if I will try to cast Int64
to Int
when Int
is 32-bit (system-based)?14 replies
MModular
•Created by AndryxaUA on 3/17/2024 in #questions
What is the size of the Int type in bits?
Yeah, I know about that. I asked only about Int. Interesting…
14 replies
MModular
•Created by AndryxaUA on 3/17/2024 in #questions
What is the size of the Int type in bits?
Oh, really? So it’s MLIR who decides what size it would be? Not by context, but by system?
14 replies
MModular
•Created by AndryxaUA on 3/17/2024 in #questions
What is the size of the Int type in bits?
AFAIK Int is SIMD[si32, 1], so it’s signed int 32
14 replies