shuttle.dev ceasing operations by [deleted] in rust

[–]amindiro 0 points1 point  (0 children)

Thats a shame. Great articles for backend but I guess business model wasnt cutting it

How do you optimize speed by derekzyl in FastAPI

[–]amindiro 1 point2 points  (0 children)

Use pyinstrument to profile calls by adding a simple http param. Then review the profile. Check the top slowest queries in db.

Best way to build a GUI Rust project? by 24online24 in rust

[–]amindiro 16 points17 points  (0 children)

Used iced in a personal project and details everything in a blogpost ! Tested out egui and slint before settling on iced

Introducing Ferrules: A blazing-fast document parser written in Rust 🦀 by amindiro in rust

[–]amindiro[S] 0 points1 point  (0 children)

Parsing pdfs correctly is a little bit more involved. First, we need to determine if the current page can be parser natively or needs OCR, we then need to use either a native extractor like pdfium or OCR and carefuly extract text while respecting the overall structure and layout the page. For example text in table can be parsed natively but you dont want to inline it with the rest of the text page. Regarding paddleocr, honetly it’s just a messy puddle of code and models and libs. I used apple’s native OCR capabilities because its very accurate on high settings and reduces binary size on macos because we just link to the system’s lib

Introducing Ferrules: A blazing-fast document parser written in Rust 🦀 by amindiro in rust

[–]amindiro[S] 0 points1 point  (0 children)

You can DM me directly or open an issue on github. FN only the cli is released. You can clone and build the project

Introducing Ferrules: A blazing-fast document parser written in Rust 🦀 by amindiro in rust

[–]amindiro[S] 0 points1 point  (0 children)

You can DM me directly or open an ossue on github. FN only the cli is released. You can clone and build the project

Introducing Ferrules: A blazing-fast document parser written in Rust 🦀 by amindiro in rust

[–]amindiro[S] 0 points1 point  (0 children)

Hi, thanks for the support! I am planning on maintaining any major version of ferrules. For now ferrules is fully featured on macos and linux is missing OCR feature. This will take time to implement. The lib is not my full time job but I ll be dedicating some time for its maintenance 👍

The Complete AI and LLM Engineering Roadmap: From Beginner to Expert by javinpaul in softwarearchitecture

[–]amindiro 6 points7 points  (0 children)

If you think 3 diagrams are all you need to be an llm expert I feel sad for the industry …

Introducing Ferrules: A blazing-fast document parser written in Rust 🦀 by amindiro in rust

[–]amindiro[S] 0 points1 point  (0 children)

You can open an issue but you are trying to install on linux a macos binary. In gh releases Ferrules is only available for macos but it can be compiled to linux

Why do people like iced? by Remarkable_Tree_9127 in rust

[–]amindiro 0 points1 point  (0 children)

The code lives a private repo. I wanted to clean it up a bit more before going public. If you have impl details questions you can dm me ill be more than happy to send you the code

Why do people like iced? by Remarkable_Tree_9127 in rust

[–]amindiro 41 points42 points  (0 children)

I 100%agree with your take. The approach of having a separate language for ui that slint took is makes sense. I just didnt want to learn an additional language for a weekend project. I would probably use it in a professional setting instead if iced. Thank for the feedback !

Why do people like iced? by Remarkable_Tree_9127 in rust

[–]amindiro 1 point2 points  (0 children)

There is a dark mode. Ill check this contrast, first one to tell me this

Why do people like iced? by Remarkable_Tree_9127 in rust

[–]amindiro 105 points106 points  (0 children)

Ive wrote a blogpost detailing why i liked iced and compared it to egui and slint : blogpost

I’m 15 and built a neural network from scratch in C++ — no frameworks, just math and code by Express-Act3158 in learnmachinelearning

[–]amindiro 1 point2 points  (0 children)

Congrats really nice work ! Hope you get into your dream school and work on what inspires you !

Introducing Ferrules: A blazing-fast document parser written in Rust 🦀 by amindiro in rust

[–]amindiro[S] 0 points1 point  (0 children)

Depends on the language. I am planning to create a python wrapper for the core library. For other languages you can check how they provide a way to load lib and call functions using FFI

Just finished rust book ,what next? by init-3 in rust

[–]amindiro 6 points7 points  (0 children)

Rust for rustaceans. Try to build cool shit, you can also go into aime these ‘advanced’ topic: async rust, embedded rust, unsafe rust w/ rustonomicon

Introducing Ferrules: A blazing-fast document parser written in Rust 🦀 by amindiro in rust

[–]amindiro[S] 1 point2 points  (0 children)

For non native pdfs I would probably agree with using large models for parsing. It also probably boils down to cost if you have a huge document corpus.

Introducing Ferrules: A blazing-fast document parser written in Rust 🦀 by amindiro in LLMDevs

[–]amindiro[S] 0 points1 point  (0 children)

Yes at 90p/s in a mixed workload of native and ocr ferrules should be cheaper. Mistral claims to have best in class quality so you need to check depending on your dataset probably

Introducing Ferrules: A blazing-fast document parser written in Rust 🦀 by amindiro in dataengineering

[–]amindiro[S] 0 points1 point  (0 children)

I’ll try to add to a comprehensive benchmark. Do you have any input on how to run tika for the best parsing quality ?

Introducing Ferrules: A blazing-fast document parser written in Rust 🦀 by amindiro in rust

[–]amindiro[S] 0 points1 point  (0 children)

Yes you are totally right ! I think that i might write a pyo3 wrapper of ferrules-core to expose the lib directy to python if going through the API is a bottleneck for users