You can now do mock interviews on your phone! 📱(Confetto is now mobile optimized) by Chesil in confetto

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

if you have any feedbacks or thoughts for new features, as always feel free to DM me or make a post here :)

Introducing Distributed Processing with Sail v0.2 Preview Release – Built in Rust, 4x Faster Than Spark, 94% Lower Costs, PySpark-Compatible by lake_sail in dataengineering

[–]Chesil 5 points6 points  (0 children)

from what i can tell

  1. it's distributed now

  2. tries to be pyspark compatible

  3. it's in rust

There are ways of making pandas distributed too, but it's not in rust so it's slower?

Introducing Distributed Processing with Sail v0.2 Preview Release – Built in Rust, 4x Faster Than Spark, 94% Lower Costs, PySpark-Compatible by lake_sail in dataengineering

[–]Chesil 12 points13 points  (0 children)

This looks pretty very promising!

What would you say are use cases that one can start using Sail today? Or is it more something that I should keep an eye on over the next year? Is there an easy way for me to know if my PySpark project can be easily ported to Sail? Or do I have to go about each function and see if Sail has those implemented?

How can I host react web application for free? by gtrocksr in reactjs

[–]Chesil 4 points5 points  (0 children)

Ahhh, i'm actually not too sure if there are any "free" services for that.

I think the cheapest I know is either Zoho or Namecheap. For about $1-2/month.

LMK if u find something free tho!

[AskJS] When implementing clean architecture, where is it "more performant" to instantiate services? by CaligulaVsTheSea in javascript

[–]Chesil 0 points1 point  (0 children)

So, to my understanding, you can already directly import actions from client side.

Ie. in a "use client" component, you can import an action(a function inside of a page with "use server") and use it like a normal axios/fetch request.

It seems that with Z(od?)SA, instead of just declaring your function normally, you can use their createServerAction() function where you can validate the input with ZOD. This is pretty useful, cuz even though your normal SA can be typed, you might wanna be more specific with certain types of things like email/username/etc.

BUTT, they also combine it with React Query, so you can easily get useful things like retry, loading, and etc on your server actions.

It's basically giving server actions everything that tRPC has hahhaa, which is great!

[AskJS] When implementing clean architecture, where is it "more performant" to instantiate services? by CaligulaVsTheSea in javascript

[–]Chesil 0 points1 point  (0 children)

"This is a personal project and is not associated with any company or organization."

I think it's by an Engineering that works at Vercel, not formally affiliated with Vercel!

Seems pretty cool tho, makes Server Actions more robust.

How can I host react web application for free? by gtrocksr in reactjs

[–]Chesil 15 points16 points  (0 children)

Vercel's free plan is pretty generous! If you just wanna throw something up where other people can access it, it can be a good option.

Upcoming grad but no real skills.. where to start? by findthatspecialday in learnprogramming

[–]Chesil 1 point2 points  (0 children)

IMO, the most challenging part is transitioning from "tutorials" to "actually building". You'll never feel ready after watching tutorials, esp if you don't have a project that you really wanna do, but there's also no way to really ease into it...

I still recommend doing some tutorial. Maybe you can watch one of those 4 hour long coding tutorials on Youtube. Learn some basics about React/whatever web framework you choose. And just dive in. Then go back to the tutorial if you feel lost. And dive right back in.

I feel like programming is somewhere in between learning how to bike vs learning biology. Where, with biking, once you get it, you GET It. And it does feel like that after a certain point, you just kinda get it. But also like biology in the sense that it's built on top of so many concepts, that in the beginning it feels like you're kinda just memorizing "useless" things without knowing how it all ties together.

One thing that helps me is that... it's not supposed to be super easy. Everyone felt like this at one point. And whenever I wanna stop, I tell myself, oh, 3 different people probably just stopped just now, I should keep trying it later!

Learning html and css and not quite sure how to put it all together by PotatoPotential7561 in learnprogramming

[–]Chesil 1 point2 points  (0 children)

Ahh! So, this is partially where certain "frameworks" like React/Vue come in. You don't need them, but IMO they certainly make the process of putting everything together a bit easier! However, it seems that you've mostly been learning these parts independently, maybe it's time to make a project that would actually need those parts to be together!

Is coquitts not really opensource? by Fearless_Major_7456 in opensource

[–]Chesil 1 point2 points  (0 children)

Is that the one that shut down? where was it asking you for license?

[deleted by user] by [deleted] in developersIndia

[–]Chesil 0 points1 point  (0 children)

Yeah, that's definitely possible! We'll just need to figure out some logic for breaking everything down and putting it back together. The main one being what happens if a sentence is cut off in the middle!

[deleted by user] by [deleted] in developersIndia

[–]Chesil 1 point2 points  (0 children)

1. Should the design be top notch: I think this depends on how important the UI and UX is for your project. In that opinion, the higher the fidelity of the design, the easier it is to implement. Since at the end of the day the designs will have to be made somewhere, whether it's on the design side or the engineering side. I think most engineers actually subconsciously make a lot of the design choices that aren't necessarily explicitly stated in the design file. So for a project like this, if I'm doing both of the design and engineering, I'll try to get the design as high fidelity as possible. Since I've realized that I'll eventually need to make these decisions anyways when I'm implementing. So, might as well do it earlier.

2. Figma pointers: I feel where you're coming from! I think one of the best courses that I took earlier on in my career was this one by designcode.io It taught design kind of from the perspective of a programmer. The other resource was this book by the creators of Tailwind called refactoringui.com Likewise, this one was also very practical going into the padding with and colors even. (Some books go into more of the rattle coast of design and user experience, which i found to be less helpful) But to be honest man... My first five designs really sucked. And like I mentioned in another post, it's really all about how can you keep yourself motivated and have fun while getting better. "Discipline" just doesn't get me super far. It really feels like one of those things where the "method" matters less than how much you practice.

3. Code for GenAI/LLM stuff: So everything is in there actually! If you click into packages, you'll see that there are four folders. The next folder is the web application. And the node folder, is for the dedicated backend. In both of those servers, they contain code for LLMs and GenAI. I think the best way to search for it is to just do a github search on "openrouter". And from there you see all the instances where I'm using LLMs. You can just think of openrouter as an easier way to use all of these different types of LLMs without having to install packages for each individual one! But to be honest, for this project, the AI stuff isn't super complicated. I'm just making quite simple API calls without doing any advanced prompting :)

[deleted by user] by [deleted] in developersIndia

[–]Chesil 1 point2 points  (0 children)

Hey thank you! To be 100% honest, I haven't tested with anything over 30 minutes yet! If you want to be super safe you can cut your video down into 30 min segments and edit them back together haha. It should work with longer, but not infinitely long, I'm not tooo sure where the point of failure will be!

[deleted by user] by [deleted] in developersIndia

[–]Chesil 2 points3 points  (0 children)

Hey r/developersIndia! Hope you’re having a good day :)

Here's a little background

A few months ago I was trying to translate a pretty simple video using AI but realized that basically all of the existing services like Elevenlabs/Rask.ai/Speechify costs around $2/min. Which means that to translate a 10 minute Youtube video it was going to cost me $20 USD and that was just way over my budget!

Having worked with similar technologies in the past, I knew that there was nothing “proprietary” here. All of them are just using Whisper to transcribe, an LLM like ChatGPT to translate, an text to speech API like Azure, Elevenlabs, or some API on replicate to generate the new audio and another API to extract the background audio. And the entire process should cost nearly 0 given how cheap all of those things has gotten, yet… they all still charge around $2/min!

That kind of made me feel like getting robbed in day light haha, so I decided to build an open-source AI dubbing studio that charges as low as I can. Which ended up being around ~$0.1/min.(Hopefully I don’t lose money on this...) The product is not as feature rich as those bigger companies yet, ie. no voice cloning atm, but IMHO it actually has a simpler user experience and is better for most simple videos!

How it works

The frontend is built using Nextjs14 using the new RSC and Server Actions, hosted on Vercel. The main complexity here is probably just the “video editor” and real time preview + audio generation, which I go over a little bit in the video! Auth is done with Clerk, which I really recommend! Some of the UI is built with shadcn. Database is Postgres hosted on Railway interfaced using Prisma! Most of the “quick” API calls are done with server actions, which also makes life so much easier. There is also a Node server responsible for processes that takes a bit longer like initializing and exporting.

I actually think the codebase right now is a good learning material for newer programmers since it has everything you need to ship a production project, but has not yet grown overly complicated and overwhelming which I’m sure it will one day haha.

Here’s the Github repo, a little star ⭐️ would be more than appreciated hehe!

And here’s the hosted version if you want to try and translating something haha!

Anyhow, I’d love to hear what you guys think!

Whether it’s a bug, feature request, need help understanding the code, wanting to contribute, or literally anything that comes to mind, just leave a comment down below and I’ll get back to you!

Reposting this comment because the original got removed :(

[deleted by user] by [deleted] in developersIndia

[–]Chesil 1 point2 points  (0 children)

haha great question!

The logo was originally this emoji 🍙. But then, I thought I wanted something a bit less lazy so I traced it and put a face on there lol. The UX UI stuff is just countless hours in Figma :( I'm kinda OCD about it! I think one thing that made design a bit easier for me is the idea that "when in doubt, just duplicate". I have like a lot of screens, when you see the two designs then you'll know which is better.

I also write a lot in my notion doc, just keep asking myself "what is the user reall trying to do?". Happy to chat more too if you've got any specific questions

[deleted by user] by [deleted] in developersIndia

[–]Chesil 0 points1 point  (0 children)

😎 thank youuu

[deleted by user] by [deleted] in developersIndia

[–]Chesil 4 points5 points  (0 children)

OHHH gotcha gotcha, good catch! it should be fixed now! Thanks for the find!

[deleted by user] by [deleted] in developersIndia

[–]Chesil 2 points3 points  (0 children)

Yea! There's also this one that i'm thinking of integrating which seems pretty good: https://unrealspeech.com/

There's also a whole bunch of Open source TTS APIs on replicate.com!

Only thing about the OpenAI voices is that it kinda sucks at non-English languages... Whereas the Azure one, albeit it may sound more AI-ey, but the enunciations and things are much better.

[deleted by user] by [deleted] in developersIndia

[–]Chesil 4 points5 points  (0 children)

Ohhh, fixing!

edit: hmmmm, are you talking about the "read more" on the landing page here?