Hammad Ali
Hammad Ali
MModular
Created by Peter Homola on 9/17/2024 in #community-showcase
Mojo web apps
Nice! How did you pull this off?
7 replies
MModular
Created by Tom Gale on 9/9/2024 in #community-showcase
mo3d: 3D library for Mojo
I honestly thought this was OpenGL/Vulkan in mojo though😅
19 replies
MModular
Created by Tom Gale on 9/9/2024 in #community-showcase
mo3d: 3D library for Mojo
Amazing work man
19 replies
MModular
Created by Hammad Ali on 9/8/2024 in #questions
always_inline and struct problem
Yeah, nevermind, even though it took a significant amount of time, I re-wrote the transpiler's architecture and now it works
7 replies
MModular
Created by Hammad Ali on 9/8/2024 in #questions
always_inline and struct problem
There is a struct on line 93, no function. Can structs be @always_inline?
7 replies
MModular
Created by Helehex on 8/5/2024 in #community-showcase
Thermo
Wow, does it support custom gravitation fields yet?
50 replies
MModular
Created by Hammad Ali on 8/6/2024 in #questions
Error while importing local python file
Thanks! That worked perfectly
6 replies
MModular
Created by artemiogr97 on 4/14/2024 in #questions
Optional string argument
The problem is with String and stringLiteral. You ought to convert your stringLiteral ("my_string") to a standard string
17 replies
MModular
Created by Tuatini on 4/6/2024 in #questions
official package manager
I have also worked on a crude package manager but it doesn't have any packages other than stdlib_extensions: https://github.com/Hammad-hab/pkm
4 replies
MModular
Created by Tuatini on 4/6/2024 in #questions
official package manager
4 replies
MModular
Created by Hammad Ali on 4/5/2024 in #questions
Less Ugly way to concatenate strings
So Mojo, doesn't have str.format and f-strings?
5 replies
MModular
Created by benny on 3/15/2024 in #questions
Type independent traits
I don't think it's possible
14 replies
MModular
Created by benny on 3/15/2024 in #questions
Type independent traits
The code throws this error:
struct 'List' does not implement all requirements for 'Container'mojo
main.mojo(2, 5): no '__contains__' candidates have type 'fn(self = List, item = AnyType) -> Bool'
main.mojo(10, 5): candidate declared here with type 'fn(self = List, item = Int) -> Bool'
main.mojo(1, 1): trait 'Container' declared here
struct 'List' does not implement all requirements for 'Container'mojo
main.mojo(2, 5): no '__contains__' candidates have type 'fn(self = List, item = AnyType) -> Bool'
main.mojo(10, 5): candidate declared here with type 'fn(self = List, item = Int) -> Bool'
main.mojo(1, 1): trait 'Container' declared here
14 replies
MModular
Created by Hammad Ali on 3/10/2024 in #questions
unable to load package '/Users/hammad/.modular/pkg/packages.modular.com_mojo/lib/mojo/stdlib.mojopkg
Was this a problem with vscode or Mojo?
6 replies
MModular
Created by Hammad Ali on 3/10/2024 in #questions
unable to load package '/Users/hammad/.modular/pkg/packages.modular.com_mojo/lib/mojo/stdlib.mojopkg
I've restarted the IDE and the computer to discover that the error had disappeared.
6 replies
MModular
Created by Hammad Ali on 3/10/2024 in #questions
unable to load package '/Users/hammad/.modular/pkg/packages.modular.com_mojo/lib/mojo/stdlib.mojopkg
I was using vscode.
6 replies
MModular
Created by Hammad Ali on 2/9/2024 in #questions
Will Mojo ever become Open Source?
I don't understand see how that benefits a language
16 replies
MModular
Created by Hammad Ali on 2/9/2024 in #questions
Will Mojo ever become Open Source?
Mojo compiler in Mojo? Isn't that what the Rust creators did?
16 replies