roopesh puthalath
MModular
•Created by ct on 9/28/2023 in #questions
How can I create a Python list to add and remove structs?
@TeamPuzel @ct @narup https://docs.modular.com/mojo/stdlib/builtin/builtin_list.html
9 replies
MModular
•Created by roopesh puthalath on 9/25/2023 in #questions
NumPy Stacking error ->error: failed to run the pass manager
@Tensorflowters many other numpy methods works flawless for me. i am facing issues with column stack
3 replies
MModular
•Created by Hasan Yousef on 9/25/2023 in #questions
HOWTO fetch internet resources
@Hasan Yousef here the speed is driven by the latency of your fetching.
14 replies
MModular
•Created by Hasan Yousef on 9/25/2023 in #questions
HOWTO fetch internet resources
it works , post i didnt check
14 replies
MModular
•Created by Hasan Yousef on 9/25/2023 in #questions
HOWTO fetch internet resources
@Hasan Yousef let http = Python.import_module("requests") , add this under main
14 replies
MModular
•Created by Hasan Yousef on 9/25/2023 in #questions
HOWTO fetch internet resources
@Kushagra @Hasan Yousef @Alex Kirchhoff
14 replies
MModular
•Created by Crittticicle on 9/23/2023 in #questions
error: mojo: unable to resolve the lldb path
sudo apt-get install lldb
15 replies
MModular
•Created by Corgo on 9/21/2023 in #questions
Type suffixing?
@Corgo the accelerationVector print should give you expected value
11 replies
MModular
•Created by Corgo on 9/21/2023 in #questions
Type suffixing?
@Corgo Could you please try this
11 replies
MModular
•Created by Corgo on 9/21/2023 in #questions
Type suffixing?
from math import mul
from math import div
fn main() raises:
let mult: Float32 = FloatLiteral(0.6) *FloatLiteral(0.91)
let k =mult * mult * mult
let acceleration: Float32 = FloatLiteral(0.16277136) / k
print("accel",acceleration)
let multVector1 = SIMDDType.float32, 1
let multVector2 = SIMDDType.float32, 1
let multResult = mul[DType.float32, 1](multVector1, multVector2)
let squareResult = mul[DType.float32, 1](multResult, multResult)
let cubeResult = mul[DType.float32, 1](multResult, squareResult)
let accelerationNumerator = SIMDDType.float32, 1
let accelerationVector = div[DType.float32, 1](accelerationNumerator, cubeResult)
print(accelerationVector )
11 replies
MModular
•Created by Corgo on 9/21/2023 in #questions
Type suffixing?
@Corgo fn main() raises:
let mult: Float32 = FloatLiteral(0.6) *FloatLiteral(0.91)
let acceleration: Float32 = FloatLiteral(0.16277136) / (mult * mult * mult)
print(acceleration)
11 replies
MModular
•Created by roopesh puthalath on 9/20/2023 in #questions
Bug, while loop Re-setting values?
@Jack Clayton Thank you very much . I would greatly appreciate it if we could feature it in an edition the week after next. The additional time will enable me to present a richer Graphical User Interface (GUI) with expanded options. Additionally, I will be able to include certain computational functionalities that I believe will be of significant interest to the computer aided engineering readers.
The idea is also to share is a side-by-side comparison between a Python function and a Mojo function, focusing on their respective performance metrics. My primary aim is to enlighten the Computer Aided Engineering community about the potential and efficiencies of Mojo. I already did some preliminary tests by mimicking some computational loops within a function to firsthand evaluate Mojo's performance , and i am very happy about it. I genuinely believe that Mojo is here for the long haul. Its position might be challenged when AI evolves to the point of autonomously writing optimal assembly language tailored for specific programming scenarios. It's an honor to contribute, even in the smallest measure, to such a legacy.
The idea is also to share is a side-by-side comparison between a Python function and a Mojo function, focusing on their respective performance metrics. My primary aim is to enlighten the Computer Aided Engineering community about the potential and efficiencies of Mojo. I already did some preliminary tests by mimicking some computational loops within a function to firsthand evaluate Mojo's performance , and i am very happy about it. I genuinely believe that Mojo is here for the long haul. Its position might be challenged when AI evolves to the point of autonomously writing optimal assembly language tailored for specific programming scenarios. It's an honor to contribute, even in the smallest measure, to such a legacy.
17 replies
MModular
•Created by roopesh puthalath on 9/20/2023 in #questions
Bug, while loop Re-setting values?
@Arthur Evansits working now . Thanks a ton. now i will start writing what python could not do fast enough, Now i am getting the hang of it. The python interop interacting with mojo .
17 replies
MModular
•Created by roopesh puthalath on 9/20/2023 in #questions
Bug, while loop Re-setting values?
@Arthur Evans error: cannot implicitly convert 'String' value to 'object' in return value
return selected_file_path.to_string()
17 replies
MModular
•Created by roopesh puthalath on 9/20/2023 in #questions
Bug, while loop Re-setting values?
17 replies