![Brad Cypert](/img/default-banner.jpg)
- 131
- 116 659
Brad Cypert
United States
Приєднався 22 тра 2012
Learn new and exciting techniques and patterns in JavaScript, Dart, Golang, and much more!
Programming: It's Time to Scratch Your Own Itch
The best way to learn programming is to actually go out there and build things -- and it's even better if you build things that scratch your own itch.
Переглядів: 89
Відео
Automate your Go binary releases with GoReleaser and Github Actions!
Переглядів 1414 годин тому
One of the things that makes Go great is how simple it is to build lightweight binaries for multiple operating systems. GoReleaser helps take that a step further and helps publish releases with those binaries in Github. We can take that even further with a Github action designed to run GoReleaser when we push our tags, on pull request, or even on every push.
Animate your Flutter Applications (Here's how!)
Переглядів 17214 днів тому
Animations can help add a layer of pizazz to any application, but they have to be done carefully. Poor animations can lower accessibility and damage the user experience. Here's a few of my tips on how to make animations work well for you and an example of implementing two animations together in Flutter.
Fuzzing while Testing in Go
Переглядів 25514 днів тому
Fuzzing is similar to unit testing, though it allows you to generate your inputs. Fuzzing is fantastic when you can deterministically validate that a function behaves as expected when provided random inputs. Fuzzing helps catch entirely different classes of errors that unit testing often misses. go.dev/doc/tutorial/fuzz
Mechanical Sympathy and Learning with CodeCrafters
Переглядів 3114 днів тому
Mechanical Sympathy is the idea that we can better use technology by understanding how it works. CodeCrafters is a coding challenge platform that focuses on deeper challenges and avoids giving you all the answers. You can build things like a Redis clone, DNS server, or HTTP Server (from a TCP listener) and there are many other projects out there. It's my belief that challenges like the ones sha...
You're probably reviewing pull requests wrong
Переглядів 76Місяць тому
Hey everyone, and welcome back to the channel! Today we're diving into the world of pull requests, specifically how you might be reviewing them…wrong. Don't worry, it happens to the best of us. But before we dive into fixing that, let's take a step back. What's the Point of a Pull Request? A pull request (PR) isn't just about merging code. It's a collaboration tool. It's a chance for the author...
Start Mentoring Software Engineers! Here's how to get started!
Переглядів 89Місяць тому
Start Mentoring Software Engineers! Here's how to get started!
Level up your programming career by learning how to ask Senior Level Questions!
Переглядів 828Місяць тому
Level up your programming career by learning how to ask Senior Level Questions!
Coding Challenge: Building a WC knockoff in Go (No Third Party Libraries)
Переглядів 1092 місяці тому
Coding Challenge: Building a WC knockoff in Go (No Third Party Libraries)
Programming Language Tier List for New Devs
Переглядів 1,6 тис.2 місяці тому
Programming Language Tier List for New Devs
I built a Bytepusher Emulator in Flutter! Code available on Github!
Переглядів 732 місяці тому
I built a Bytepusher Emulator in Flutter! Code available on Github!
Localizing your Flutter App has never been easier!
Переглядів 1082 місяці тому
Localizing your Flutter App has never been easier!
How I handle Audio Ducking in my pure Flutter game
Переглядів 623 місяці тому
How I handle Audio Ducking in my pure Flutter game
Ask these questions when interviewing for software engineering jobs
Переглядів 414 місяці тому
Ask these questions when interviewing for software engineering jobs
I built my Course Platform in Sveltekit. Here's how!
Переглядів 2 тис.4 місяці тому
I built my Course Platform in Sveltekit. Here's how!
How to Setup Firebase Analytics in Flutter (2024)
Переглядів 3,7 тис.4 місяці тому
How to Setup Firebase Analytics in Flutter (2024)
What is a Foreign Function Interface?
Переглядів 4054 місяці тому
What is a Foreign Function Interface?
Build and Publish Your Own Personal Webpage -- Deploying to the Internet
Переглядів 575 місяців тому
Build and Publish Your Own Personal Webpage Deploying to the Internet
Build and Publish Your Own Personal Webpage -- CSS
Переглядів 335 місяців тому
Build and Publish Your Own Personal Webpage CSS
Build and Publish a Personal Webpage -- Images
Переглядів 235 місяців тому
Build and Publish a Personal Webpage Images
Build and Deploy a Personal Webpage -- HTML
Переглядів 535 місяців тому
Build and Deploy a Personal Webpage HTML
Build and Deploy Your Own Personal Webpage -- Adding JavaScript
Переглядів 345 місяців тому
Build and Deploy Your Own Personal Webpage Adding JavaScript
Build and Publish Your Own Personal Webpage -- The tools we'll need to use
Переглядів 615 місяців тому
Build and Publish Your Own Personal Webpage The tools we'll need to use
Build and Publish Your Own Personal Webpage
Переглядів 585 місяців тому
Build and Publish Your Own Personal Webpage
I built a Game in Pure Flutter -- Here's How I did it!
Переглядів 3,3 тис.6 місяців тому
I built a Game in Pure Flutter Here's How I did it!
❤would be great if the code can be made public. Thanks 🎉
I have been adding to it in a way that I don’t feel comfortable open sourcing yet, but I have plans to refactor that to something a little more shareable. Sorry for the delay.
Great dev work. Good luck.
Thank you!
Side projects are where your skills grow. :D
Couldn’t agree more
Great advice of course! I am also look the source-code of std:lib itself and learn the implementations and the ways writing interfaces.
That’s really great advice, too. Reading the standard library is a great move!
nice explanation thank you so much 👌🏼
Glad it was helpful!
So with animation being that simple when are we getting fulling animated skills and spells for all of Memories of Sheol
When the game is profitable enough to hire someone to animate all of that :)
neat.
I’m glad you think so!
@@BradCypert You could have used animated_do . But once in a while knowing about Flutter is also essential rather than heavily relying on libraries.
@@tusharchander8935 I generally try to avoid libraries for one off type things, but I haven’t explored animation packages for Flutter. That might be a fun thing to do, too!
@@BradCypert Well you would just require a SlideUp property from this library. You would be simply wrapping your widget to be animated, be it text widget, Quite easy.
Yeah, that doesn't sound bad, but I factor in the cost to maintain the dependency, too -- which might sound weird, but hear me out: When you pull in a dependency for anything, you're pulling in that package and it's dependencies. Thankfully, dart is compiled so we can only pull in the pieces we need, but we also can run into version conflicts between our dependencies' dependencies. My main app, Luna Journal, uses a LOT of third party dependencies and upgrading certain dependencies is often a nightmare because of this (and upgrading the Flutter version ALWAYS is too, for the same reason). So generally, I just try to avoid extra deps when I can because I find that overhead isn't worth it for small, one-off things. Things like Bloc though, I think the overhead is worth it when it's used all throughout the app :) What are your thoughts, Tushar?
Never heard of fuzzing, seems similar to mutation testing in other languages? Pretty cool
I haven’t heard the term mutation testing, but I’ll check it out!
Man, I love C++, and Python, and Go just seems like a mix of both's syntax, but I just don't get it haha maybe in the future I'll take some time to use Go for a back end project. Thanks for the video.
One of the things I really like about Go is that you can usually pick it up and build something in a few days, given you already know programming and are familiar with another language. I think it's worth making some time to give it a shot :)
@@BradCypert yeah, that's usually how it goes, you just apply your experience of another language, and search "what is the Go method of doing x in Python" haha that's how I've been switching between C++ and Python for the daily Leetcode problems.
@@juanmacias5922 C++ and Python are two very different beasts though! Congrats on picking up that ability!
Go interfaces make me happy.
Me too, Me too.
This extends to just understanding the business the tools you build are providing for. It may seem like a obvious thing but you will be surprised how many people work on/build a tool when not having a full grasp on the business process that it will be used for. Just taking the extra time to go through that will help solve or identify alot of issues down the line.
Couldn’t agree more. We live in a world where a lot of people have gotten into software engineering by delivering results, but maybe don’t really understand how things work under the hood - and that’s okay, but I think everyone would be a better engineer if they were to take a step back and figure out how things work under the hood.
Hi! By mistake i took use_exact_alarms and then got warning message from google play console. I removed it later on and uploaded new build, but still have this warning message and there is no option to inform google, that i dont use it anymore. Do you know what can i do? got time until 30.06 to answer the form. but i only have an option to say that my app is calendar or alarm.
I don’t, actually. You may have to contact Google support to get that changed.
I could solve it! There is only one option what helped. To upload new builds everywhere in my tracks( closed test, internal test...) where my old builds were using exact alarms..and i uploaded new builds without using this line in manifest. This 'replaced' my error builds and warning message is gone😅
Glad you were able to solve it and thank you for sharing what you learned!
I enjoyed watching this video thanks Brad
Glad to hear it!
C is S tier, come on man.
For new devs? I’m keeping it in C tier for new devs. It’s a strong and fantastic language, but I wouldn’t recommend people to start with it unless they know they want to work on things predominantly written in C.
Alternative title: “Git Good at Pull Requests”
That’s punny! Wish I had thought of that sooner!
Try not to read the content and just memorize it! Good advice, presentation is 1/10, thank you in advance please!
Thank you for the feedback! I do sincerely appreciate it.
Where can I find a software engineering mentor?
I’d check if your work offers any programs to help with this! If not, LinkedIn is would be my next place to try!
Test. This is what it'll look like <pre>global function annotate(sequence board) integer h = length(board) sequence res = repeat(0,h) if h then integer w = length(board[1]) for y,line in board do string outline = "" for x,ch in line do if ch!='*' then integer m = 0 for i=y-(y>1) to y+(y<h) do for j=x-(x>1) to x+(x<w) do m += board[i][j]=='*' end for end for if m then ch = '0'+m end if end if outline &= ch end for res[y] = outline end for end if return res end function </pre>
??
here's the fsharp version of what I think you're trying to do : let annotate (board: char array array) = let h = Array.length board let w = Array.head board |> Array.length let memo f x = let cache = System.Collections.Generic.Dictionary<_,_>() if cache.ContainsKey x then cache.[x] else cache.[x] <- f x cache.[x] let isInBounds x y = x >= 0 && y >= 0 && x < w && y < h let isMine (x ,y) = isInBounds x y && board.[y].[x] = '*' let memoIsMine = memo isMine let countMines x y = [x-1, y-1; x, y-1 ; x+1, y-1; x-1, y ; x+1, y ; x-1, y+1; x, y+1 ; x+1, y+1;] |> Array.ofList |> Array.filter memoIsMine |> Array.length let mineCountCharOrBlankSpace x y = match countMines x y with | 0 -> ' ' | n -> n |> char let mineMineCountOrBlankSpace x y ch = match ch with | '*' -> '*' | _ -> mineCountCharOrBlankSpace x y let processRow y row = row |> Array.mapi (fun x ch -> mineMineCountOrBlankSpace x y ch ) board |> Array.mapi processRow
Its a good tip for sure! Can also help you with your confidence its like: "I don't need help with the whole code, just this one damn line! I promise!" Thats what I tell myself at least xD
That’s a good point too! I hadn’t thought of the impact on confidence
Short, straight forward, and simple. Good concrete advice, which basically boils down to clearly communicating the required information when asking the question. Communicating more information means there's less back-and-forth, which minimizes opportunities for communication mistakes. Very nice. Asking clear and direct questions has another bonus, which is that by asking very specific questions, you must understand what you're struggling with. Asking better questions often leads you to the correct answer, because you've taken more time to think about the problem.
That’s a really great insight, Alex! I should have mentioned that, too.
Great video. Clear and easy to understand, just like you recommended in the video.
I’m glad you found it helpful!
i wonder if this would work on chat gpt
I think specifics are pretty helpful for LLMs too
I got this video randomly on my recommended fee and clicked on it without checking the length. I expected this to be a 15min video essay on the topic because that's how most recent videos are. But it was super concise and clear, love it!
Thank you for the feedback! Time is precious and I’m not looking to waste anyone’s!
Excellent guide for specific questions. On similar note, when doing code reviews, asking questions are more effective then throwing opinions at the submitter. Being curious will inspire collaboration were dictating will put people on the defensive.
I have a video on PRs on my list! I share the same sentiment there and that senior engineers should use PRs for mentorship opportunities! I just need to record the dang video :)
On the video. Great advice. Its always best to be clear, concise and tick off possible fixes to narrow down the problem. Chances are the co worker has been down that same road before.
Thank you! I agree with you!
I have that same vacuum
How do you like it? I loved it at first but we’ve had it for many years and the battery doesn’t last long anymore.
Use flutter flame???
I did not use flame for this. Just pure flutter :) I plan to try out flame for the next game!
@@BradCypert Thank you for the reply. I'm looking forward to your future moves. I'm a developer in Korea. I have a question for you regarding Flutter games. Can I try using your email? Have a nice day and thank you. I'll be waiting for your reply.
Sure, send me an email :)
@@BradCypert Thanks for your reply. I just sent you an email regarding your question. Have a nice day.😄😄😄
python for dsa leetcode, js for web dev, c++ for games
Why Python for DSA?
This website is awesome, always good to build projects with real world functionality, thanks for the share!
It really is! I also really like codecrafters, but its a bit different and a paid resource.
So is this just like a basis for building something like sentiment analysis? I can't think of another reason you would want to be able to count words/letters
There are a lot of practical applications for counting! For example, determining the bytes of a file can help determine the size (keep in mind you can run this on images, pdfs, etc), determining the word count could be useful in situations where you’re limited to a certain number of words (articles less than 500 words for a newspaper), or a term paper that has to be 2000 words of more. Another good use case is to check for hidden characters, but there’s plenty more cases, however you’re right in that it is commonly used as a piece of a much larger pipeline or toolchain.
Hey, great tutorial, every is really clear. I'm refreshing my mind on this topic, thank you very much!
Glad it was helpful!
I'm literally working on something very similar. I'm not the best at coding though. More of a designer. Open for a collab? Here's what mine looks like right now. Still early in dev. ua-cam.com/users/shorts5632KpZ-jS0?feature=share With your logic and my design we could make a killer game.
Imagine you could tie this concept in with Ai. Set a few rules and then allow the creativity to unfold like the game of life 🤔
Respect to your thumbnail game, Brad :)
Thank you, but I’d consider this one of my lesser thumbnails, haha :)
nice video Brad, but I have a question. I'm currently learning about MIS, and decide to be a Data Analyst in the future. So, which language(s) should I learn? And where can I learn them? all I know is that SQL and Python are needed and nothing else (I have no programming history)
That’s a great question! Can you clarify what you mean by MIS? For a data analyst role, I think Python and SQL are great choices. I learned Python many many years ago, but I’d start here if I were trying to learn it today: www.python.org/about/gettingstarted/
@@BradCypert MIS is Management information system. I chose the major but don't know anything about it, just got in because I had high GPA (which is a mistake) but I learned that Data Analysis is one of the role I could get if I study it (I'm very interested in it because of my history of helping my mom completed her students' grades spreadsheets haha)
@@inoino9918 interest in a career path is huge and something a lot of people don’t have! Thank you for explaining the MIS, too!
It not easy to create those builder tools. Plus to maintain the compiler stuff. As well cross platform.
allocator i barely know her
😬
thank you for your easy tutorial! is AuthJS much easy and reliable than Lucia?? it is very helpful that you showed me the example of the source code of 'src/auth.ts' which solves the error from the '$env/static/public or private' and clientside!!!
I’m glad you enjoyed the tutorial. I’m using authjs on several projects and really enjoy it. That being said, I haven’t used Lucia yet so I don’t have much of an opinion on it. What have you found regarding Lucia vs Authjs so far?
@@BradCypert I will select using the basic library and samples supplied by supabase because I have been on my long journey to watch your tutorial today. I have found there are many changes and alternatives on the authentication of sveltekit for supabase. it took several days to find out that I need to focus on tutorials less than 2years because of the change in sveltekit, and I have got an error that failed to use the environment variable in client-side, and I have found many tutorials to introduce using lucia and prisma. At this moment, I think it's time to utilize fully the basic library rather than much convenience from many alternatives. Thanks for your reply!!!
@@joywins2dois2be43 it sounds like you have a good plan ahead of you, however if you’re using Supabase, they have an auth package too which may be worth checking out!
Is auth.js paid or free??
Authjs is free to use but you can use it with paid services like oauth providers (or auth0) or store user data in your own database
@@BradCypert so if I have my self or cloud hosted mysql it will not work?
@@dhruvparmar9915 that will work fine, you’ll just need to use a MySQL compatible DB provider.
Such a cool project! Idk, web will be buggy until it gets reworked lol maybe if it allowed you to utilize web assembly.
I think the overhead from Flutter is quite a lot on web, given JS is single threaded and I’m trying to run operations simulating the CPU hertz
I don't know what BytePusher was. Now I have to research what is it :D. Anyway, Good work!
It was a really fun thing to build! I highly recommend building one!
To be honest it works exactly how it should :P
“Wrong” may be a tiny bit of a stretch lol.
Great questions, will use them on my next interview, thanks for sharing ❤
Best of luck in your next interview!
so cool
Glad you think so!
The named parameter 'password' isn't defined. Try correcting the name to an existing named parameter's name, or defining a named parameter with the name 'password'.dartundefined_named_parameter 2 positional arguments expected by 'signUp', but 0 found. Try adding the missing arguments.dartnot_enough_positional_arguments this is the error i am getting in the snippet below MaterialButton( onPressed: () async { final sm = ScaffoldMessenger.of(context); final authResponse = await supabase.auth.signUp( password: passwordController.text, email: emailController.text); sm.showSnackBar(SnackBar( content: Text("Logged In: ${authResponse.data!.email!}"))); }, Can u help me out?
Try to inspect the signUp method (if you’re in VsCode try command clicking it or control clicking it). This should show you the method signature. It’s quite possible that they’ve removed the named parameters in favor of positional parameters, in which case, converting the named parameters to positional should solve your issue
@@BradCypert yeah I did that actually and it worked, thanks though :)
@@un_identifed Glad you're unstuck! Keep building, friend!
Thumbs up! Just what I was looking for
I’m glad it was helpful!
why am getting platform error when i run this in android emulator.....
Couldn’t tell you unless I knew the errror, too. Mind sharing it here?
your dog 🐶 has something to say :)
He always gets curious when I start recording :)
ive noticed a concerning trend with svelte project guides even directly from the packages site are completely out of date by the time i even find out about them. its only been 3 month since this was uploaded and ive tried like 7 different times and everything breaks as soon as i get to the {#if}
First, I appreciate you reaching out. Second, I'm sorry to hear that you're running into that issue. I did notice some changes for AuthJS's latest version and have updated a personal project to use the new version. Unfortunately, revising videos is kinda tricky on UA-cam so it's not super easy to do. What issue are you seeing with this tutorial? I'd love to write something out and pin it as a comment to help others!
I don't remember the exact error I ran into. It was something with $page.data.session but it was 100% a skill issue on my part 😅 I cloned your repo and it worked as intended
Oh awesome! I’m glad my code is still working as expected :)
Great video, one question. At 7:40 for the async methods why didnt you change the return type from void to whatever the firebase instance returns?
You totally can. I left them as void to indicate that you shouldn’t worry about the return value here. Just fire and forget. But you can definitely update the types to match the return types from firebase
Source code?
Not public. There a few things I’d have to clean up to make it public, and while I’d love to, those just aren’t a priority at the moment. I’ll share a video letting you know when it goes public though.
@@BradCypert can't wait
Heya, thanks so much for this! So you do not need the gtag script in the index.html file in flutter web, or do you still need this?
That’s a very good question. I’d imagine you’d need to add the gtag script, but I just checked the documentation and it’s not mentioned there. Perhaps try it without and if it’s erroring, look at add it? Sorry, Flutter is not my web tool of choice haha