Tephra: Read the BlueSky Firehose with Mojo
I made a small set of utils that lets me read from the BlueSky firehose. I'm using Python for
websockets
for now though.
https://github.com/lsh/tephra...Mojo LibC bingings
Forked repo with the Mojo libc bindings from @crisadamo , adapted to the latest Mojo nightly package, and released on the
mojo-community
channel:
https://github.com/msaelices/mojo-libc
Making the libc bindings a Mojo package hopefully could help avoid copying and pasting the code from the original repo all over the place.
Note: I'm still trying to contact @crisadamo, as his original repo had no explicit license....:hatching_chick: mojo-new-web-framework
🐣 mojo-new-web-framework
https://github.com/rd4com/mojo-new-web-framework
Hello, after thinking about web-framework a lot,
and working on it for a while, it seem good enough,...
Mojo added to SpeedTests repo on github
I recently came across jabbalaci's SpeedTests https://github.com/jabbalaci/SpeedTests, and I made a PR to add Mojo, which got accepted today! The project's idea is to stick to the basic implementation pattern of the task without using language-specific tricks, so I just followed the Python implementation.
It's a insightful list of benchmark results, and Mojo is holding up pretty well. 😉...
Modverse #43: MAX 24.5, our biggest Mojo update ever, and Mojo's debut in the TIOBE index
Our latest community highlights are live! 🥳
Featuring @Tyoma Makeev, @DobyDabaDu, @guidorice, @Hammad Ali, @lukas, @Peter Homola, @TilliFe, @sazid, @a2svior, @fnands, @toasty, @Sören Brunk, @AkaHenry, @mad alex 1997, @Martin Dudek, @bgreni, @Thomas Børstad, @Maxim, @msaelices, @Sawyer Bergeron, @Ghostfire, @gabrieldemarmiesse, @Martin Vuyk, @sora, @yichi170, @rd4com, @fknfilewalker, @Joshua James Venter, @Tom Gale!...
Operatio
Hello Mojo Community !
I'm happy to share Operatio, a tool that uses Mojo to perform task arithmetic (task vector operations) on language models.
Initially, I attempted to implement this in Python using MAX, but encountered some challenges. This led me to explore Mojo! (I've kept the Python version as pyoperatio for reference.)...
Live community showcase during our next community meeting (Oct. 21) 🎤
During our next community meeting on October 21, you're invited to share your Mojo and/or MAX projects! We'll have a series of 5-10 minute slots available for you to demo your project, share learnings, and request feedback (if you want). Comment in this thread or DM me to grab a spot!
EmberJson: High level JSON library
I've spent part of the last week on the beginnings of JSON library for Mojo. It's still very much under development so I haven't made any official releases, but if anyone would like to help add test cases or point out edge cases I've missed that would be greatly appreciated!
https://github.com/bgreni/EmberJson
A quick example of how it's used:
```mojo...
Numojo V0.3 Update to Mojo 24.5, and a couple new features.
We’re excited to announce the release of NuMojo v0.3, with support for Mojo 24.5, a few new features, improvements, and fixes. Here's a quick overview of what's new:
Key New Features
- Magic System and MAX 24.5 Support: Enhanced compatibility with new systems, allowing for more efficient processing.
- Linear Algebra Functions: New functions like
solve
, inv
, and LU decomposition make it easier to solve equations and matrix inversions....Mojo dictionary benchmarks
I've published a GitHub repository intended as a baseline for comparing the performance of various dictionary implementations in Mojo, with Python and Rust implementations as additional references. You can find it here: https://github.com/dorjeduck/mojo-dictionary-benchmarks.
My hope for this is to serve as a foundation for community discussions on improving Mojo's dictionary performance , especially since current results show Python and Rust implementations with significant performance advantages. The best Mojo approach I am aware of so far is @Maxim's compact-dict: https://github.com/mzaks/compact-dict
My current focus on dictionaries is driven by the desire to improve the performance of my tokenizer implementation in https://github.com/dorjeduck/minbpe.mojo....
Faster CRC32 calculations in Mojo
As part of writing Mimage, an image parsing library for Mojo, I looked into speeding up the CRC32 calculations that are performed when decoding PNG files: https://fnands.com/blog/2024/mojo-crc-calc/
I managed to speed up the calculations by approximately 40 times versus my initial naive implementation.
These changes have now been added to Mimage....
Mojo Termios bindings
Hey all, I've created some termios bindings for Mojo and pushed it to the
mojo-community
Conda channel. Right now it only supports mac, but I'm working on getting my Mojo environment configured on my PC to test it out on Linux too.
https://github.com/thatstoasty/termios
Let me know if you use it and run into any issues! It's difficult to automate tests involving the terminal, especially cross platform....Fireflake: A snowflake id generator in Mojo
Hi all! I've written a new library that generates Snowflake IDs. Quoting Wikipedia: Snowflake ID:
Snowflake IDs, or snowflakes, are a form of unique identifier used in distributed computing. The format was created by Twitter (now X) and is used for the IDs of tweets.[1] It is popularly believed that every snowflake has a unique structure, so they took the name "snowflake ID". The format has been adopted by other companies, including Discord and Instagram. The Mastodon social network uses a modified version.:github: Repository - https://github.com/sazid/fireflake...
JavaScript in Mojo
Just a PoC based on JavaScriptCore. https://github.com/phomola/mojolibs/blob/javascript/examples/js.mojo
Mojo web apps
Hi folks, I’ve written a web app for running Mojo on the web. It’s just a simple PoC. At the moment it runs on GAE so a Google account is needed to try it out. https://arax.ee/mojo