Tom Delalande
Tom Delalande
  • 22
  • 762 695
AI is more than just ChatGPT
In my mental model of AI there are 5 levels:
Level 1: Decision tree
Level 2: State machine
Level 3: Mathematical algorithms
Level 4: Neural networks
Level 5: General Neural networks
I think we tend to focus too much on ChatGPT instead of implementing useful AI systems. AI can be refreshingly simple and to prove that I implemented a short demo for each of the mentioned levels using pure HTML, CSS and Java-script (with no dependencies).
Large Language Models (LLM) are amazing, but there is no universal solution in tech.
Переглядів: 3 144

Відео

Why YouTube has blank boxes when loading
Переглядів 3 тис.14 днів тому
I wanted to dig into why UA-cam has these blank boxes when loading. It's a simple answer, but optimization is a very interesting topic. Developers use techniques like minifying, compression and caching to make the websites you use every day load faster. They also try to improve cumulative layout shift so that the experience is more pleasant. This is a more beginner friendly video than usual, le...
JWTs are insecure session tokens
Переглядів 25 тис.21 день тому
I've often seen hate for JWTs online, but never really understood why they we're seen as badly designed and insecure. So I did some digging and came to my conclusion. Which is that JWTs are a good method of authentication, but bad session tokens. Basic opaque session tokens are usually the way to go. Using stateless tokens has many added costs, while not providing that many benefits in practice.
Authentication is a developer nightmare
Переглядів 52 тис.Місяць тому
authn.tinyclub.io Music: ua-cam.com/video/jUkI7Ixiqgk/v-deo.html Let's talk about authentication. I would like to show how easy it is to implement authentication with 3 different methods. Password, Oauth2 (or social login) and passkeys. They all have their benefits and drawbacks but hopefully this video is a fun way to understand how the systems powering authentication actually work. I've also ...
The cloud is over-engineered and overpriced (no music)
Переглядів 383 тис.Місяць тому
I tried the music and the feedback is clear enough that I think it's worth uploading a version of this with no music. I'm still learning! I'm sorry :( I really liked the riff I wrote for the intro since it has a time signature of 7/4 but I got carried away a bit... Let's spin up a server a simpler way.I'm experimenting with some background music, let me know what you think.In this video I will ...
The cloud is over-engineered and overpriced
Переглядів 100 тис.Місяць тому
Let's spin up a server a simpler way. I'm experimenting with some background music, let me know what you think. In this video I will be showing how to use fundamentals to spin up a server, replacing cloud providers like AWS, Google Cloud Provider and Microsoft Azure with Linux, Docker and Git. For many applications, the tools we use are grossly over-engineered. I'm trying to force myself to ret...
My latest weekend project. Mixing the scalability of SQL and with the easy of use of spreadsheets
Переглядів 6 тис.Місяць тому
I've been processing a lot of local CSVs lately. Often feeling like the tools I'm using don't behave quite how I would like them to. I built a prototype of an application remedy these frustrations. And also explore some existing solutions to fix similar problem using tools like Postgres, SQLite, HTTPie, Bash and JQ.
Comparing 10 programming languages. I built the same app in all of them.
Переглядів 91 тис.2 місяці тому
Many modern programming languages have some great features like null safety, exhaustive switch statements, error handling, strong type systems, immutability, great tooling and good readability and write-ability. I couldn't decide which language I preferred so I made a TCP server that does some basic file processing in all of them. Using no dependencies where applicable. I did this using Rust, G...
Why I return HTTP '200 OK' for errors
Переглядів 6 тис.2 місяці тому
I can't think of a meaningful CTA so my call to action is that you have to finally finish that side project you keep adding features to instead of just finishing. I started making this video thinking it was a really hot take to return 200 OK for domain errors when using HTTP. But after digging into it, and more specifically reading HTTP status codes, it doesn't feel that controversial at all. I...
How leveraging events can simplify your app
Переглядів 12 тис.2 місяці тому
Event sourcing is no silver bullet. But it is a match made in heaven for some domains. I also don't see much mainstream coverage of event sourcing, CQRS and domain driven design. Thank you so much for taking the time to watch. Timestamps 0:00 Problem space 0:40 CRUD implementation 1:12 Issues 1:48 Event sourcing 3:02 CQRS 3:34 Aggregate 4:05 Advantages 4:40 Disadvantages 5:08 Exit
The better alternative to Markdown
Переглядів 31 тис.3 місяці тому
AsciiDoc (or Adoc) is a tool used to write technical documents. It is far better than the industry standard of Markdown but it is very underrated. Thank you so much for taking the time to watch. Github Writeup on Markdown issues: github.github.com/gfm Timestamps: 0:00 - What is Markdown? 0:11 - The problem with Markdown 0:42 - What is AsciiDoc? 1:00 - Embedded source code 1:30 - Exporting 1:47 ...
Kotlin for Typescript developers
Переглядів 3,8 тис.3 місяці тому
Subscribe ua-cam.com/channels/YuQjtwffrSIzfswH3V24mQ.html This video is meant for Typescript developer interested in Kotlin. I cover the syntax, tooling and create a general project. If you're on the fence about trying Kotlin, I hope that this can be helpful. Thank you so much for taking the time to watch Github: github.com/tom-delalande/learning-kotlin-typescript Twitter: tomdelala...
HTMX examples for React developers
Переглядів 3,6 тис.3 місяці тому
Subscribe ua-cam.com/channels/YuQjtwffrSIzfswH3V24mQ.html I rebuilt the same 5 pages with React and HTMX (Kotlin) to see how they compare. They are surprisingly similar. Thank you so much for taking the time to watch. Twitter: tomdelalande_ Discord discord.gg/Cg66xQ8KgP Twitch: www.twitch.tv/tomdelalande Github github.com/tom-delalande/learning-htmx-vs-react Timestamps 0:00 Intro 0:...
You can compile Kotlin to Javascript
Переглядів 4,3 тис.3 місяці тому
Twitch www.twitch.tv/tomdelalande Discord discord.gg/Cg66xQ8KgP Convert Website tinyclub.io/kotlin-html Converter Github github.com/tom-delalande/html-to-kotlin-converter On the next step in my ever-going quest to avoid Javascript no matter the cost. I show you how easy it is to compile Kotlin code to Javascript. 0:00 Intro 0:36 Why I needed to compile Kotlin to JS 1:46 Compiling Kotlin to JS 3...
Use this instead of HTMX
Переглядів 14 тис.3 місяці тому
Use this instead of HTMX
My opinion on Pkl (Apple's new configuration format)
Переглядів 1,9 тис.3 місяці тому
My opinion on Pkl (Apple's new configuration format)
Making Poker with HTMX: Real time multiplayer using SSR with Kotlin, HTMX and Tailwind
Переглядів 2,5 тис.4 місяці тому
Making Poker with HTMX: Real time multiplayer using SSR with Kotlin, HTMX and Tailwind
Implementing Passkeys with no dependencies
Переглядів 2,2 тис.4 місяці тому
Implementing Passkeys with no dependencies
Why I enjoy writing Kotlin
Переглядів 14 тис.4 місяці тому
Why I enjoy writing Kotlin
Why Kotlin is the best language to use with HTMX
Переглядів 7 тис.4 місяці тому
Why Kotlin is the best language to use with HTMX

КОМЕНТАРІ

  • @Damian-rp2iv
    @Damian-rp2iv 4 години тому

    Cool (for real) but I think you totally missed the point about cloud service. It's not about what you're doing, but how. And instant scalability and region stuff are just a very small part of it. On your project, how are you going to update the software? how are you going to update de hardware? how are you keeping track of security issue? What would you do in case of any sort of failure? And that just few examples. All of this require multiple full time job of skilled technician. Clearly, the price will quickly be greater than cloud solution or your project will be unreliable. And on long terme, cloud with all the automated part and big scale approche are just plain cheaper. If you think "I can do AWS on my computer alone", you're simply wrong

  • @kiri101
    @kiri101 5 годин тому

    You pronounce a lot of key terms like you've only ever read them

  • @FutureJacket
    @FutureJacket 8 годин тому

    I like the content but your changing speech levels rapidly jumping between relatively high pitched excited explanations and just about depressed focal fry soundbites that you're stiching together so you don't have to take a breath for each sentence are off-putting.

  • @CD-rt7ec
    @CD-rt7ec 11 годин тому

    I work for one of the cloud providers, and i often wonder about this exact thing. On my own projects i only use the cloud when its free or extremely cheap. I often fear my job will evaporate when people start migration back to self host.

  • @antoniocanzanella5875
    @antoniocanzanella5875 11 годин тому

    well, i test in production but locally :). we restore our saas product locally with docker, even databases are restored from backups. the whole solution consiste of different services and all will work locally after you run a script. but you need at least 32gb of RAM in windows. but currently it's the best. even debug production locally is possible

  • @ljc6141
    @ljc6141 12 годин тому

    you’re gonna become the next boeing engineer (iykwim)

  • @abhijitmurthy7701
    @abhijitmurthy7701 18 годин тому

    I learnt 100 years of self hosting material thanks to you! LOVELY! thank you sire

  • @brainforest88
    @brainforest88 День тому

    I would rather use ansible for deployment instead of bash scripts.

  • @eltreum1
    @eltreum1 День тому

    Yes. Seen this kill projects that could have done well but they spent too much dev time and money trying to build to google scale plumbing in AAA grade real estate before they needed it. It's not just a server bill it's business processes and extra labor to manage it with all those knock-on expenses you didn't expect. Focus on the product working its best with lean and clean code that can be refactored easily later if you need to explode it into huge multi-lane pipelines and frameworks. If you build your app right enabling the use a simple deploy process like this vid it can be scaled and deployed anywhere in hours in the cloud if you just need more CPU, bandwidth, or storage. Transitioning to cloud devops with multi-lane CI/CD is also lower effort without crunch-burning your devs to get there. Self-hosting does not always mean onsite in your garage. You can co-lo your bare metal at a DC provider that already has baked in options for bandwidth and ISPs and huge NNIs to all the big cloud providers and can be enabled via web portal order and your bare metal quickly can have the global reach of Azure or AWS without much effort when you finally need it. At that point is when you migrate full cloud and phase out the co-lo. By then you can afford red/green CI/CD cloud devops land and fancy offices because you earned it without VC covering it. You have better odds winning at the slot machines in Las Vegas or the lottery than lightning striking and you becoming the next google overnight sensation.

  • @ignore_for_your_sanity
    @ignore_for_your_sanity День тому

    Silicon valley is just a front for the Klan. Neoliberals will always show their true colors when it comes to finances.

  • @stevemccauley
    @stevemccauley День тому

    It's very difficult to get your head round the code by looking at sections of it in a video. Any initial repo, no matter how dirty, would help people have a play. After watching a couple of videos without repos, I'm just frustrated and unlikely to return ... :(

  • @vhflat
    @vhflat День тому

    preach!

  • @jessey706
    @jessey706 День тому

    Thanks for this great vid. This is a great intro into self-hosting. There are a lot of smaller companies in my area who are moving from clout to self-hosted solutions. This is a great way to get into those technologies and thinker a bit with them.

  • @naturebc
    @naturebc День тому

    Cloud is a bigger scam than Enron

  • @duetplay4551
    @duetplay4551 День тому

    can you make it into a more detailed and feasible video for us? thx

  • @Joao50297
    @Joao50297 День тому

    can i self host with Raspberry Pi?

  • @cabir.bin.hayyan.800
    @cabir.bin.hayyan.800 День тому

    In general, whatever I watch or listen to. I don't like to have music in the back- ground or in the foreground. Having no music is a huge plus for me. Thank you very much.

  • @peraltarockets
    @peraltarockets 2 дні тому

    Yes, loving Caddy.

  • @gjms
    @gjms 2 дні тому

    I totally don't know all of the tools you're talking about and I'm sure that I would stumble upon setting up the very first one... But I like the possibility and the video 🤣. Im just ignorant and lack time.

  • @gkosto7981
    @gkosto7981 2 дні тому

    Good job

  • @pauloballan9543
    @pauloballan9543 2 дні тому

    Great video, i will probably set a server up in my raspberry! thanks

  • @lilykittens603
    @lilykittens603 2 дні тому

    I like this approach because it keeps everything simple and transparent whilst being containerized so that if it ever needed to scale or go be deployed in new regions it would be pretty simple to rent some instances from whatever provider and deploy there. You're also not locked into a SaSS service when they go bust, change their prices, get acquired. You're just picking solid open source software and self hosting along with the rest of your infra. SaSS is fine to get started but once you get locked in it's designed so that you can't escape.

  • @PaulanerStudios
    @PaulanerStudios 2 дні тому

    I was excited when we got a 150k grant for azure cloud a couple months ago... that was over when I left a small AKS dev cluster running for approx. 10 days and the bill was 900 dollars. We made our initial deployement there. Spent 8 thousand of our grant for an admittedily pretty compute heavy document processing service. Used that time to set up kubernetes on Hetzner root servers and now spend about a 20th of that while also having a more stable deployment.

  • @catcatcatcatcatcatcatcatcatca

    Great video demonstrating how cloud actually works. What you pay for is largely convinience: securing compute resources at the speed of typing, and some pre-existing options so you have to type even less. Companies care about the first, individual employees about the second part. For a quick and dirty example there still are few flaws: Stashing local uncommitted changes seems very stupid. The deployment should fail and raise an alert. What, are you going to manually pop the stash on the updated version and hope it works correctly? The app shouldn’t build from such state to begin with! If I understood this correctly,the system isn’t fully reproducable/recoverable easily: nixOS and docker are individually recoverable, but not together! Same with the DBs. You should either leverage nix for the docker setup and handle the DB snapshotting separately, or snapshot the whole project directory so you can just set up a new nixOS instance and then jam the latest backup there. Else you first need to setup nixOS, then manually pull(more) stuff from GH, and then copy over the old DB. I guess the second point would make for a bad video and overly complex demo, I point it out mostly because since you chose nixOS, pulling the gh-creds, project-repos, build-scripts, docker services, cron-jobs etc from your private GH could have all been done in a single system-flake. And if you prefer bash-scripts for simplicity, you can inline them in nix, or again just pull them from GH. Doing this would come with some restrictions (version pinning by default) but that provides resilience (if head of main killed is what killed your old system) and is easy to sidestep (just switch to origins HEAD at the start of your script).

  • @typesafedev
    @typesafedev 2 дні тому

    I'm confused how using caddy means no need to setup certificates. It looks like you hosted on your own domain, that surely needs a certificate provisioned and installed for your domain, right?

    • @lionkor98
      @lionkor98 2 дні тому

      Assuming caddy can just call to letsencrypt automatically

  • @LeYuzer
    @LeYuzer 3 дні тому

    Dart is my favorite, as well as I love flutter

  • @usernamehandle
    @usernamehandle 3 дні тому

    Not even sure how to begin understanding what's going on here

  • @hafiz_mbs
    @hafiz_mbs 3 дні тому

    Normally I don’t hit the like button but you deserve it.

  • @TimKitchens7
    @TimKitchens7 3 дні тому

    This is an awesome video! I see so many cases where teams just default to the Cloud for everything. Then, they're fighting with things like IAM and networking policies and chasing down subtle issues for days that simply would not have even existed if they had chosen to deploy to their own data center. And, don't get me started on the AWS Lambda and managed serverless idea that was going to solve all our problems - no, solved some, created others. All, while 100% locking you into the vendor. There is a place for most technology solutions. And, you did a great job of mentioning some reasons to go Cloud. The Cloud serves a real purpose. However, it's still amazing to me how so many companies and otherwise great technologists have drunk the "Cloud kool-aid" and look at you with disdain if you even mention that they should consider another option. Hats off to the vendors for doing an outstanding job of marketing.

  • @otapi
    @otapi 3 дні тому

    So, instead paying to AWS (or any other cloud provider) and to a few cloud engineers, you pay for: - hardware - replacement of failure hardware - someone who buys and replaces these - someone who can restore and restart all the stuffs after a hardware failure 7/24 if needed - someone who protects the hardware from fire, criminals 7/24 - someone who installs all the os and tools shown in the video and keep them up to date - pay for internet bandwidth, pay for a secondary IP to avoid stopping business completely in case of problems with the primary IP - pay rent for the building where you keep your hardware and your system admin staff - pay for the energy bills (or spend your money on investing to green energy) - pay some data engineers (same as for cloud solution) And you still haven't done anything with your actual business/product, you still have only one server room, so good luck to scale global with that.

  • @johndoyle3816
    @johndoyle3816 3 дні тому

    I don't think it's that simple, because you don't know how much is the opportunity cost of having to create your own data center, maintain it and scale it vertically when necessary. It's gonna take much more time than using cloud for sure. Do companies optimise for cost or speed? Probably somewhere in between and sprinkle some convenience on top of it all. Having 15 balls in the air as a business owner and your business growing faster than you can keep up, it's obvious you'd rather not have to build your own datacenter - that's space, hardware, software, security and admins. Does an average business owner even know when and where to start? Who to hire, what hardware to buy, how to secure the data? With cloud providers you also get their tried and tested expertise which is way more important than having a linux VM on a computer somewhere. Make no mistake, I love tinkering with my home server but cloud is a pretty awesome tool for businesses

  • @coderwelsch
    @coderwelsch 3 дні тому

    love your insights <3

  • @kernel10
    @kernel10 3 дні тому

    python 🥇

  • @adriankal
    @adriankal 3 дні тому

    You go to cloud primarily because of security reasons, then for scalability. Everything else is not important including cost. There are regulations and law. Your service is hacked and personal data of your clients is stolen = bancrupcy and possibly jail. Doing security on your own costs well beyond this $100k a year.

  • @AdamWinn1
    @AdamWinn1 3 дні тому

    Did nim dirty here. And making a final call on that before using lifetimes, and async/multithreading is cheating! Hands down the worst parts of that language.

  • @shanerorko8076
    @shanerorko8076 4 дні тому

    What you're paying for though, is the security.

  • @user-uh4qg2fd7h
    @user-uh4qg2fd7h 4 дні тому

    How did you breeze past the fact that home setups require something to deal with dynamic IP addresses? For me, this is adding a massive level of complexity that I cannot seem to find on any guides. Am I missing an important piece of information here??

  • @suicideistheanswer369
    @suicideistheanswer369 4 дні тому

    Great.

  • @suicideistheanswer369
    @suicideistheanswer369 4 дні тому

    Nice.

  • @angryktulhu
    @angryktulhu 4 дні тому

    I’m a software engineer with more than 15 years of experience. I don’t like the mantra “cloud for everything” but you’re wrong if you comparing the time and resources required to set up some cloud stuff VS developing AND maintaining it from scratch. Like the VOD AWS, it works perfectly and let’s you save 90% of development time. And it’s just an example. And time = money

  • @robosergTV
    @robosergTV 4 дні тому

    you completely missed "classical" ML where neural nets are not used - SVM, Decision Trees, KNN, etc.

  • @deepjyotideb1173
    @deepjyotideb1173 4 дні тому

    Could we use a raspberry pi?

  • @tuurblaffe
    @tuurblaffe 4 дні тому

    GTFO with ur europropaganda

  • @riflan0ahmed
    @riflan0ahmed 4 дні тому

    You are an expert in DevOps. I have zero idea on this other than Vercel and Netlify

  • @markotikvic
    @markotikvic 4 дні тому

    You respond with 404 when you can't map URL to the resource (the R). If you're searching for /users/1, and the user with ID 1 doesn't exist - it's a 404. If you are searching for /user or (/users), or filtered users, you're actually searching for a collection of users, and just because the collection is empty it doesn't mean that it doesn't exist. That's why the 404 is not a suitable status code. So, no - it's not a special case from an HTTP point of view. It boils down to this: if you can't map URL to a resource - 404, otherwise 200. Obviously, this doesn't apply if any other form of error arises.

  • @ciril2643
    @ciril2643 5 днів тому

    The problem with this video are the “..because in my case”, “…for a simple repository with a single target” and so on and so on. There’s a reason why the cloud is so popular, it’s because it saves you time and headache. Try maintaining 10 projects in this way, deploying them around the world and having a lot of traffic and live errors on each. It depends on the service, but I would NEVER trade Netlify’s 20€ per month for this kind of DIY setup. Add in planetscale and you can do anything you want. As soon as you want to update the Linux version, something goes wrong with your hardware, your internet connection get’s f*** or any other reason you’ll regret the DIY choice. Cloud isn’t overpriced at all.

  • @radulucian1888
    @radulucian1888 5 днів тому

    Source code? 🥹

  • @m4rt_
    @m4rt_ 5 днів тому

    The problem is that people over hype LLMs and think that they are Artificial General Intelligence (that they can do everything) which is not true at all. They can only do a few things, and even some of those they can't do very well, it's just impressive how far they have gotten, and people think that means that it's good at doing it.

  • @m4rt_
    @m4rt_ 5 днів тому

    In my opinion, a bunch of if/switch statements can be an AI. AI just means Artificial Intelligence, so it doesn't need a neural network, etc, it just has to mimic intelligence. This is what AI in games have been doing for decades, just using simple logic to simulate intelligence, by making an opponent, an NPC, etc. Though there is still a difference here, some NPCs are just scripted, while others can make decisions that weren't entirely made by the developers. So I'm not sure if an NPC that just follows you and gives you dialogue would be considered AI, but one that also interacts with the environment by for example helping you take down enemies could maybe be considered AI, and ones that roam freely are definitively AI (e.g. the NPCs in oblivion).

    • @34mArCoS43
      @34mArCoS43 4 дні тому

      No, it is not. AI is precisely designed to tackle those problems that cannot be solved by a series of logical steps or mathematical estimates. How could anyone program computer vision with if/switch states?

  • @TheOmfg02
    @TheOmfg02 5 днів тому

    Curious about how ICP compares to AWS and Azure