Week 07/08 - Video recorder UI, Dynamic Partial Rendering, and more!
Week 07/08 - Video recorder UI, Dynamic Partial Rendering, and more!
Want to use AI to chat with your own documents? At scale, itβs harder than it sounds.
Join @nicodevs.bsky.social to build a chatbot using the new Laravel AI SDK, Postgres, and Livewire 4 π€
Learn RAG and semantic search from scratch π
tighten.com/insights/cha...
A piece of a review I wrote about the book "The Secret Life of Programs". This piece is talking about the difference between coding, programming, engineering, and computer science. Here's the copy: "The difference between coding, programming, engineering, and computer science is also really good: - Coding: the knowledge of some codes to make certain things (being able to "make the text bold" in an HTML page). Usually, a coder is proficient in one special area (HTML or JS, for instance); - Programming: knowing more than one special area or two; - Engineering: the next step up in complexity. To quote the author "in general, engineering is the art of taking knowledge and using it to accomplish something"; - Computer science: the study of computing. Often, programming is mixed up with computer science. Many computer scientists are programmers, but not all programmers are computer scientists. Discoveries in this field are used by engineering and programmers. The author also makes an interesting comparison with doctors regarding generalists vs specialists. He says that in medicine a specialist is a generalist that picks one area to specialize. Whilst in programming, a specialist is someone that knows a particular area, but usually doesn't have a general understanding of the whole picture. He would prefer our field to be more like the medical field. I found this comparison interesting. It aligns with the idea of the T-shaped skills." Source is in the link mentioned in the post.
Por coincidΓͺncia, ontem tava relendo um review que escrevi sobre o livro "The Secret Life of Programs" e o autor tem uma visΓ£o interessante sobre a diferenΓ§a entre coding, programacao, eng., e CS... por essa definicΓ£o, eng. de soft. nΓ£o mudaria, talvez os nΓveis acima: www.tonysm.com/the-secret-l...
NΓ£o estou defendendo esse estudo especΓfico nem nada, sΓ³ queria ver mais estudos independentes nessa linha... Enfim.
Entendo. O ponto 2 realmente Γ© um problema. Mas ainda Γ© um preprint atΓ© hoje? Foda Γ© que a ciΓͺncia nΓ£o consegue acompanhar esse hype desenfreado. Sempre que sair algum estudo, eles podem soltar uma versΓ£o menor e "invalida" o mesmo pq "agora a coisa mudou" (pra quem ta no hype)... Γ© complicado
HΓ‘ algum estudo mais recente que contradiz esse?
Delegated Types is one of my favorite Active Record patterns! It surfaces the invisible hierarchy in polymorphic relations, lets you define richer models and their nesting, track data changes on the type cleanly, and so much more. Had fun writing this one!
Massa! Usando pra agente ou chat? Local mesmo ou via algum serviΓ§o?
Parental, our Single-Table-Inheritance package, has a new release: v1.5.0! π
β’ Models can now transition from one child type to another, with become()
β’ You can store child type as integers instead of strings
β’ Eager loading children is even easier than ever
tighten.com/insights/new...
Yep!
Sunset in MaceiΓ³, Alagoas, Brazil. The image shows an almost purple sky.
Nice! It felt pretty unreal over here today too.
Bold headline declaring "Plain <html> and .css can be beautiful" on a graph-paper background with supporting text and two blue call-to-action buttons.
Plain HTML and CSS can be beautiful.
Stay tuned π
I've just made some changes to the Hotwire Starter Kit. Following the official Laravel Starter Kits, it now has 2FA and all the auth-related routes were replaced with Fortify!
Also, Rails has Fizzy and Campfire as demo Hotwire apps, we'll soon have one too for Laravel
world.hey.com/tonysm/hotwi...
Loving the stuff you're sharing. Would definitely watch that!
A screenshot of the terminal running `bundle exec rails stats`. It shows a bunch of useful stats on the Fizzy application, such as number of controllers (87), rate of methods per class on controllers (3), number of models (63), rate of methods per class on models (8), etc.
Screenshot of the Card class on Fizzy. The modules are the most interesting part to me.
Screenshot of the cards controller. Just a regular Rails controller, nothing fancy (that's the idea).
Fizzy source code is amazing. All I expected from a Vanilla Rails app. Regular controllers, regular models. No fancy architecture. It uses import maps and vanilla CSS, so all we need to run it locally is Ruby. The app is very colorful and vibrant, view transitions make it feel so good. Hotwire FTW.
Do you need AI in your app but canβt share private data with AI providers?
You can self host and run models on your own servers thanks to Ollama π¦
Join @nicodevs.bsky.social set it up & integrate it with your Laravel app, building a chat for super spies (TOP SECRET!) π
tighten.com/insights/bui...
Pow, massa! Me lembra que tem um texto meu pra sair no blog da empresa que mostro como fazer algo assim usando ActiveRecord e Delegated Types, embora concorrencia nΓ£o seja o foco do texto, hehe
Week 46 - Herb v0.8, Inline Edit Custom Element, and more!
Every year, JavaScript brings new features that save us from relying on heavy libraries. From formatting dates to cloning objects, discover some of these handy additions in today's article.π
tighten.com/insights/new...
The first three episodes of my "How to Build a Dev Team" course are live--and free--on Laracasts today!
laracasts.com/series/how-t...
I think it was dump, right? Like, return whatever it was going to return but bump it in the process...
`return tap($someVar, dump(...));`
If you want AI agents to be able to interact with your Laravel app, but you're not sure where to start, check out @mateusjunges.comβ post around the magic and efficiency of adding an MCP to your Laravel app today. π
tighten.com/insights/let...
I think I heard in one of the RailsConf panels someone mentioning that between Basecamp, GitHub, and Shopify, Basecamp was the most "beautiful codebase" (in terms of "Rails-Way")... maybe it requires a strong level of commitment and alignment to "The Rails Way" to keep it that way?
Please welcome @johnbon.dev into your ears!
John has a side project with (gasp) actual users!
And the best part is: it's seasonal.
His users are active for 3 months of the year then he gets 9 months to tinker and upgrade. The dream.
Check it out now:
sideprojectpodcast.com/episodes/fan...
Yeah, it's getting big! Also, I'm a bit introvert, so I kinda need to push myself out there a bit more and go talk to people π
Oh, man... didn't know you were there!
Heading home after an amazing week of Laracon and @tighten.com Onsite! So freaking energizing. I can't wait to get home and hack on all these stuff (after a cool down period, ofc).βοΈ
Today on the blog, @tonysm.com continues the Rich Text Laravel series and demonstrates how flexible Content Attachments are! We can embed pretty much anything to our rich text documents!
Click the link below:π
tighten.com/insights/ric...
100% remote