Theo - t3․gg
Theo - t3․gg
  • Видео 445
  • Просмотров 34 453 720
I've been waiting for this for too long
DISCLOSURE: VERCEL PAYS ME BUT NOT FOR THIS SPECIFIC VIDEO. I just wanted to rant about this
waitUntil and the benefits for us serverless diehards is huge. I've been asking for this forever so I'm pumped I finally have it.
Check out my Twitch, Twitter, Discord more at t3.gg
S/O Ph4se0n3 for the awesome edit 🙏
Просмотров: 6 819

Видео

`const` was a mistake
Просмотров 51 тыс.2 часа назад
Finally sharing my thoughts on the Const vs Let debate. Ugh. Original rant (unlisted for now) ruclips.net/video/LAd3zMw7_9c/видео.html SOURCES www.epicweb.dev/talks/let-me-be cramforce/status/1786608749354082455 github.com/TodePond/DreamBerd/tree/main?tab=readme-ov-file www.joshwcomeau.com/javascript/the-const-deception/ Check out my Twitch, Twitter, Discord more at t3.gg S/O Ph4se0...
Deploying On Fridays
Просмотров 21 тыс.7 часов назад
Shoutout to Vercel and PlanetScale for sponsoring the channel and letting me deploy with WAY less stress. Build safety nets, not guard rails 🫡 Check out my Twitch, Twitter, Discord more at t3.gg S/O Ph4se0n3 for the awesome edit 🙏
React Just Changed Forever
Просмотров 139 тыс.9 часов назад
React Conf just happened, and it's been a wild ride. React 19 is out, but that's old news. We're here for something almost forgotten, something I've wanted for awhile. The React Compiler is here. I'm so hyped. SOURCES playground.react.dev react.dev/learn/react-compiler ruclips.net/video/PYHBHK37xlE/видео.html github.com/facebook/react/pull/29061 Check out my Twitch, Twitter, Discord more at t3....
How was this not in the browser before???
Просмотров 79 тыс.12 часов назад
RUclips DESTROYED MY DESCRIPTION WTF Popover API is so overdue and I'm pumped it's here. Popper and FloatingUI carried us this far, but the future of tooltips is bright SOURCES developer.mozilla.org/en-US/docs/Web/API/Popover_API chancethedev/status/1789037040161747361 web.dev/blog/popover-api codepen.io/web-dot-dev/pen/RwOvjrv developer.chrome.com/blog/anchor-positioning-api Ty Ph4...
This Release Makes Me Want To Leave React...
Просмотров 120 тыс.16 часов назад
Seriously. Elixir has always been my guilty pleasure and LiveView makes me rethink everything. Aaaaaaaaaa. So cool. Phoenix is dope and makes functional programming in a rails-like env fun SOURCE phoenixframework.org/blog/phoenix-liveview-1.0-released Check out my Twitch, Twitter, Discord more at t3.gg S/O Ph4se0n3 for the awesome edit 🙏
AWS S3 Is Having Some Serious Issues...
Просмотров 53 тыс.21 час назад
The slow death of S3 has been happening for awhile now. As AWS's first service, it was kind of inevitable. So much so that I started an alternative. Speaking of that - uploadthing.com ;) SOURCES medium.com/@maciej.pocwierz/how-an-empty-s3-bucket-can-make-your-aws-bill-explode-934a383cb8b1 jeffbarr/status/1787844682216792163 Check out my Twitch, Twitter, Discord more at t3.gg S/O Ph4...
The End Of StackOverflow
Просмотров 78 тыс.День назад
StackOverflow is being eaten by ChatGPT. Now it's desperately trying to catch up. Will this be the end of StackOverflow (and maybe the rest of the internet)? Idk man I just talk about stuff and write code SOURCES StackOverflow/status/1787467736097939562 t3dotgg/status/1787596365008380306 observablehq.com/@ayhanfuat/the-fall-of-stack-overflow Check out my Twitch, Twitter,...
CSS Is 2.4x Slower Than Inline Styles (Oh No...)
Просмотров 66 тыс.День назад
I hate to share this with you all. But if I have to have this cursed knowledge, so do you. Inline styles being faster than CSS is not too surprising. The speed difference, however, is a bit insane. SOURCE danielnagy.me/posts/Post_tsr8q6sx37pl Check out my Twitch, Twitter, Discord more at t3.gg S/O Ph4se0n3 for the awesome edit 🙏
React's New Controversial Override
Просмотров 50 тыс.День назад
Oh boy. This again. React is patching another global, this time it's `Date` SOURCE acdlite/status/1785691330988986587 Edited by Ph4se0n3
The Problem With UUIDs
Просмотров 151 тыс.День назад
THANK YOU PLANETSCALE FOR SPONSORING THIS VIDEO UUID's have a time and place, but I rarely see them used correctly. I've wanted to do this rant for awhile and I'm happy I did because CUID2 is NOT a good option either 🙃 SOURCE planetscale.com/blog/the-problem-with-using-a-uuid-primary-key-in-mysql Check out my Twitch, Twitter, Discord more at t3.gg S/O Ph4se0n3 for the awesome edit 🙏
“California Skater Boy” Reacts To Senior JS Interview
Просмотров 43 тыс.14 дней назад
“California Skater Boy” Reacts To Senior JS Interview
React Removes `fetch`
Просмотров 69 тыс.14 дней назад
The React "fetch" patch was controversial, but I genuinely liked it. That said, I understand why it's being removed, at least for now. SOURCES sebastienlorber/status/1783114423894233235 github.com/facebook/react/pull/28896 nextjs.org/docs/app/api-reference/functions/unstable_cache Check out my Twitch, Twitter, Discord more at t3.gg S/O Ph4se0n3 for the awesome edit 🙏
Life After SQL (EdgeDB Is Fascinating)
Просмотров 53 тыс.14 дней назад
Disclaimer: I am an advisor for EdgeDB, I do not ship it in production (I still build my services on PlanetScale) EdgeDB is getting pretty dang exciting. The idea of a "more relational" db is something I hadn't thought about enough before. Excited to see what they cook! SOURCES edgedatabase/status/1782485844814647402 www.edgedb.com/blog/we-can-do-better-than-sql#null-a-bag-of-surpri...
AWS’s Future is…Q?
Просмотров 37 тыс.14 дней назад
I...idk what I expected. But I'm a bit tired of these weird AI announcements in places they don't necessarily make sense. Can I blame Devin? SOURCES ajassy/status/1785293612835823716 leeerob/status/1785498474462560309 Check out my Twitch, Twitter, Discord more at t3.gg S/O Ph4se0n3 for the awesome edit 🙏
Dear GitHub, Why Did You Release This?
Просмотров 61 тыс.14 дней назад
Dear GitHub, Why Did You Release This?
Was I Wrong About Rust?
Просмотров 63 тыс.14 дней назад
Was I Wrong About Rust?
Pretty much every website uses the wrong font size…
Просмотров 59 тыс.14 дней назад
Pretty much every website uses the wrong font size…
NodeJS 22 Just Dropped, Here's Why I'm Hyped
Просмотров 84 тыс.21 день назад
NodeJS 22 Just Dropped, Here's Why I'm Hyped
OpenELM: Apple's New Open Source LLM (OpenAI Competitor?)
Просмотров 71 тыс.21 день назад
OpenELM: Apple's New Open Source LLM (OpenAI Competitor?)
This should have happened years ago...
Просмотров 28 тыс.21 день назад
This should have happened years ago...
IBM Just Made A REALLY Weird Acquisition...
Просмотров 43 тыс.21 день назад
IBM Just Made A REALLY Weird Acquisition...
React 19 Is FINALLY Here
Просмотров 105 тыс.21 день назад
React 19 Is FINALLY Here
Why Doesn’t Everyone Use This Animation???
Просмотров 88 тыс.21 день назад
Why Doesn’t Everyone Use This Animation???
The $4 BILLION Hack That Everyone Missed
Просмотров 64 тыс.21 день назад
The $4 BILLION Hack That Everyone Missed
The New JS Features Coming Soon (I'm so hyped)
Просмотров 79 тыс.21 день назад
The New JS Features Coming Soon (I'm so hyped)
I Failed An AI Job Interview (I can't believe this is real...)
Просмотров 61 тыс.28 дней назад
I Failed An AI Job Interview (I can't believe this is real...)
Vercel Gave Up On Edge
Просмотров 96 тыс.28 дней назад
Vercel Gave Up On Edge
Why WebAssembly Can't Win
Просмотров 95 тыс.Месяц назад
Why WebAssembly Can't Win
We need to talk about this benchmark
Просмотров 63 тыс.Месяц назад
We need to talk about this benchmark

Комментарии

  • @SuperElephant
    @SuperElephant 9 минут назад

    Thaaaat's why I couldn't simply add a line of db write to accessLog without await, just before returning the response in Vercel..

  • @gdmk1000
    @gdmk1000 13 минут назад

    for js deno deploy is strictly superior for such characteristics

  • @bobdinitto
    @bobdinitto 15 минут назад

    Fortunately I've never used a UUID as a database table primary key. I use them for other things but only V4. I didn't know there were so many convoluted versions.

  • @FeLiNe418
    @FeLiNe418 16 минут назад

    The video is not sponsored by vercel BTW

  • @GhiveciuMarian
    @GhiveciuMarian 30 минут назад

    hash in css filaname is a no-no in my book, it is a nice way to pollute the browser cache. if you have a CSS file of 500K and deploy it 10 times without changing the css, only some text in app.. voila 5MB in disk usage for next month or how long browser keeps the cache.

  •  35 минут назад

    Not every use of the word "version" means "incremental improvement over the previous version". In this case it's more like "variant number", so you have different variations for different purposes, identified with a number. MD5 was shown to be too limited in certain cases, and have a too-high possibility of collisions for certain uses. So I'm guessing that's when a new version was added to allow for SHA1 hashing. If that happened after v4 was already out, well yeah, now it's going to be numbered v5.

  • @neutronstar03
    @neutronstar03 37 минут назад

    turning a 5min spot talk to a 30min it's a talent by itself

  • @user-ti5ce4hg1o
    @user-ti5ce4hg1o 38 минут назад

    WebAssembly ultimately struggled to gain widespread adoption due to its lack of direct access to the Document Object Model (DOM). This limitation made WebAssembly cumbersome to use, as developers had to rely on JavaScript proxy functions to interact with the DOM, introducing an additional layer of complexity that hindered its adoption.

  • @rtorcato
    @rtorcato 46 минут назад

    The whatever service you are wondering about is most likely Cloudlfare.

  • @EnriqueDominguezProfile
    @EnriqueDominguezProfile 49 минут назад

    I seriously thought his little talk was merely a satire.

  • @TechnologyRules
    @TechnologyRules 50 минут назад

    Here we have a bunch of people acting like they know what software development is, without actually knowing at all.

  • @yourtubecards
    @yourtubecards 51 минуту назад

    You talked React Server components as a new thing just to realise .Net had them 10 years ago. :D

  • @sodium7554
    @sodium7554 55 минут назад

    What can you really expect from a JavaScript developer anyway?

  • @KevinVandyTech
    @KevinVandyTech 57 минут назад

    Why not just use a $500,000 VPS?

  • @helleye311
    @helleye311 Час назад

    I always wanted something like this, but I didn't even think about making my own architecture on top of lambda, I'm a noob. It just makes sense to do what you need to do, send response, and then finish any extra stuff like updating cache, logs etc. Not to mention streaming.

  • @mohitkumar-jv2bx
    @mohitkumar-jv2bx Час назад

    Classic example of first creating the problem and then "fixing" it. 😂

  • @Mike-zr9wq
    @Mike-zr9wq Час назад

    Solving a pain point that doesn't really exist. Coolify + VPS = Freedom. Screw this VC funded companies

  • @glorrin
    @glorrin Час назад

    logging, sending emails, writing stuff in db the user don't need, There are so many times I wanted to have those and it frustrated me because "it worked on local dev though"

  • @martinnorberg7940
    @martinnorberg7940 Час назад

    This is absolutely the most stupid talk masquerading as "intelligent" that I've ever heard. Absolute dogshit.

  • @wumwum42
    @wumwum42 Час назад

    For confused non-js devs like me, I understod it like this: const is like final, const = Object.freeze is the closest to real const and let is a normal variable. Or in rust terms rust const doesnt exist const = Object.freeze -> static const -> let let -> let mut

  • @Markov39
    @Markov39 Час назад

    Jack Harrington made also a video about this, where he nicely lists the arguments of the talk, which makes it a bit briefer than watching the whole talk.

  • @timseguine2
    @timseguine2 Час назад

    The installer is bullshit. It is a 30+ GB zip file that you have to decompress before running the installer. Then you run the installer and it downloads EVEN MORE HUGE FILES.

  • @isakhansson917
    @isakhansson917 Час назад

    So like Cloudflare Workers?

    • @stephan553
      @stephan553 Час назад

      Theo loves to sell Cool Aid after it boiled in the Sun for three summers.

    • @drprdcts
      @drprdcts 14 минут назад

      Theo the type of guy to create a schedule for wearing each of his clothes

  • @keithjohnson6510
    @keithjohnson6510 Час назад

    `.repeat(1024)`, to fudge gzip, was header -> 'accept-encoding: identity' not an option?

  • @coffeeintocode
    @coffeeintocode Час назад

    Sounds like you should just use a server

  • @issueBucks
    @issueBucks Час назад

    it's crazy seeing this video because I just spent my entire weekend figuring this out. - Vercel should keep this same behaviour in dev (drove me crazy) - Also having issues with adding this to multiple requests

  • @II00I00
    @II00I00 Час назад

    I didn't realise SO was bleeding users. it's still my goto for any programming questions. thing is, I barely ever have to actually create questions since so, so many have already been answered

  • @MegaMage79
    @MegaMage79 Час назад

    I believe that Lambda function doesn't die after it serves sync invocation request. It is kept around for ~15mins to potentially serve more requests.

    • @gusryan
      @gusryan 5 минут назад

      The deployment lives but you can't run code after you've returned a response. If you want to do that you have to invoke another lambda no?

  • @dytra_io
    @dytra_io Час назад

    woah this is very nice

  • @nicksdrumsticks
    @nicksdrumsticks Час назад

    I currently have a project that could use this. I'm holding back the client response artificially to wait for something it shouldn't need to wait for. Cool.

  • @karaloop9544
    @karaloop9544 Час назад

    Lambda isn't that much different from CGI of old, right?

  • @oakley6889
    @oakley6889 2 часа назад

    Dreambirb is an amazing meme Lang

  • @rawallon
    @rawallon 2 часа назад

    Dax is anti vercel because he suggest there's already an alternative in place? oof

  • @geekthegeek730
    @geekthegeek730 2 часа назад

    Lambda ( response ) -> SQS -> Lambda ( wait until task ) = 🎉🎉

    • @emptycodes
      @emptycodes Час назад

      Skip the SQS, just invoke another Lambda asynchronously.

  • @ValZarGaming
    @ValZarGaming 2 часа назад

    This whole const vs let is such an L take no matter how you look at it. In practice , you should use const to signify errors in your IDE if you try to overwrite it where it's not intended. In theory, proper utilization should make computation faster because, as an immutable, the CPU is free to lookahead whenever it encounters it because it knows that the declaration should never change. People arguing about its proper use in workflows just don't understand the CS fundamentals as to why these declarations exist in the first place.

  • @BradArnst
    @BradArnst 2 часа назад

    ruclips.net/video/UiUPb-SYDxM/видео.htmlsi=5wtXrGfsJq32wK8F

  • @mattiasfagerlund
    @mattiasfagerlund 2 часа назад

    Random ids also have the disadvantage that for a large table, if you need to access 1000 rows, they'll be stored in 1000 different pages, even if the rows are conceptually consecutive. Non random ids instead create hotspots during inserts. So a semi-random index would tick both boxes, but every use case is different.

  • @DomesticMouse
    @DomesticMouse 2 часа назад

    Moar AI content plz

  • @ZantierTasa
    @ZantierTasa 2 часа назад

    It's essentially a debate between: 1. Use `const` for what it does. It prevents variable re-assignment. 2. Save the `const` keyword for actual constants. I don't think either way is completely awful. But if using "2.", it must be in the style guide your team is using. This is one area that I really like about rust. "let" variables are immutable at EVERY depth in the structure and cannot be re-assigned. "let mut" variables are completely mutable, and can be re-assigned. Your struct definitions don't contain any "readonly" annotations. Mutability is decided when you declare variables.

  • @thepeer
    @thepeer 2 часа назад

    why don't you just use a 5 dollar vps

    • @Om4r37
      @Om4r37 2 часа назад

      great for 99% of projects, but it’s not scalable.

    • @kevgoeswoof
      @kevgoeswoof Час назад

      @@Om4r37 how about a second five dollar vps?

    • @Om4r37
      @Om4r37 Час назад

      @@kevgoeswoof idk how nobody thought of this before, you’re a genius 😂

    • @JakobRossner-qj1wo
      @JakobRossner-qj1wo Час назад

      And if you blow up? What happens if many users want to access your site at the same time? Your company dies if you cant handle a spike in user traffic.

    • @JakobRossner-qj1wo
      @JakobRossner-qj1wo Час назад

      It does not scale

  • @llblumire
    @llblumire 2 часа назад

    Couldn't you already do this in edge runtime with context.waitUntil? I'm pretty sure I've done this on a project

    • @llblumire
      @llblumire 2 часа назад

      Just checked, I did, it was to implement a discord bot on vercel, the edge runtime uses context.waitUntil to fire off a lambda that isn't on the edge runtime, but while immediately responds to the user with the defer signal to update the UI in discord.

  • @kontent_king
    @kontent_king 2 часа назад

    waitUntil(...) -> but don't wait too long. Go and ask her out.

  • @keineahnung1919
    @keineahnung1919 2 часа назад

    "LSD has wrecked many lives" (X) Doubt

  • @IgorYatskiv
    @IgorYatskiv 2 часа назад

    Why this even exists? If no value change - const. Value mutates in code - let. Simple as that.

  • @limpiadora
    @limpiadora 3 часа назад

    28:00 I think a lot of back-end devs start to realize that MVC doesn't work and the Component are the correct way to abstract, I think Django have them and Laravel also

  • @ionut-cristianratoi7692
    @ionut-cristianratoi7692 3 часа назад

    Whenever I see a video on this channel I usually expect the information to be bad or pointless. Glad to see it still doesn't disappoint.

  • @asdqwe4427
    @asdqwe4427 3 часа назад

    Yes, immutability would be nice. But if no reassignment is all I get, then I will take it. And I generally don't append to arrays or objects....

  • @rafals9042
    @rafals9042 3 часа назад

    2024 and people still arguing about variable assignnments 😂

  • @draken5379
    @draken5379 3 часа назад

    Never used const in my live. The day i learnt about it, i thought, god that is fucking stupid.