This Can Fry Your Computer
1:26
Only 1% of People Understand
1:10
You Need This Magic Square
1:51
4 ай бұрын
Using a $100 Computer
1:21
7 ай бұрын
I Broke the Production Server
4:36
Don’t Code This
2:13
8 ай бұрын
It is here
1:23
9 ай бұрын
How do I even fix this bug?
3:05
9 ай бұрын
git cherry-pick | Full Example
7:46
Пікірлер
@henokhsatrio8804
@henokhsatrio8804 Күн бұрын
Primeagen is a super human
@handrycnatan5226
@handrycnatan5226 9 күн бұрын
Nice video!! AES256 is secure, But her real security is her chosen password for cryptography, and this also subject to attacks brute force
@FelipeV3444
@FelipeV3444 17 күн бұрын
I've been doing C# on Linux and NeoVim for months now. I must be masochistic because I haven't been able to setup a debugger yet, but man, NeoVim is too much fun.
@marshallurban3248
@marshallurban3248 24 күн бұрын
How much did it cost?
@scottmacchia
@scottmacchia 24 күн бұрын
$30 USD for the Meditation module and $120 for all of the modules
@scottmacchia
@scottmacchia 24 күн бұрын
I’ve only taken the Meditation guide though. Not sure about the quality of the others.
@danielzamiarkov5363
@danielzamiarkov5363 26 күн бұрын
Nice. Thanks for the review!
@no1unorightnow
@no1unorightnow Ай бұрын
Why not just use the +3.3V pin instead of the +5V pin?
@scottmacchia
@scottmacchia Ай бұрын
That's exactly what I've done. Now I'm using the 3.3V pin.
@MmmBopsPops
@MmmBopsPops Ай бұрын
That’s why I can emphasize enough why people should read datasheets and fully understand the equipment they are dealing with before messing around with stuff. It’s one of the biggest differences between an engineer and a tinkerer.
@dylpickle8147
@dylpickle8147 Ай бұрын
Let em break stuff, an RPi is $35. Better to screw around a get a proof of concept super fast and then get details when you face a problem. Otherwise you end up reading a 500 page data sheet, in which you won’t retain 90% of the information
@MmmBopsPops
@MmmBopsPops Ай бұрын
@@dylpickle8147 page 8 of the rpi datasheet - took me more time to type “raspberry pi datasheet” than to find the pin voltage tolerance table. If one of my junior engineers made this mistake they would have been put on BOM management projects for the next year.
@Kenji314159
@Kenji314159 Ай бұрын
Chill. Stuff like this even happens to seasoned electrical engineers once in a while. Not too long ago, I worked on a project with an electrical engineer with 20+ years of experience and the exact same thing happened, 5V was connected to 3.3V. It still worked, but we did catch it in a review before series production started. A lot of 3.3V pins can tolerate 5V for exactly this reason, you don't want to have your CPU destroyed just because someone mixed up two super common voltages.
@scottmacchia
@scottmacchia Ай бұрын
I definitely am a tinkerer. I have no background in electrical engineering and this project is entirely for fun. In fact, the main motivation is that I have no experience so each step has been a fun challenge. This particular mistake was caught because I was reading more about the equipment. But yes, going forward, I will probably read the specs in more detail before using new equipment.
@sbpattman96
@sbpattman96 Ай бұрын
Are you going to multiplex the fsr reading and use a level shifter? Your code can just sweep through the mux and you’ll only use one input pin. Also you could use something other than force to detect cup. For example a light sensitive resistor and a cutout through the table. This way the cup doesn’t have to perfectly sit on a large pad.
@sbpattman96
@sbpattman96 Ай бұрын
Maybe even a limit switch would be better than the fsr.
@scottmacchia
@scottmacchia Ай бұрын
I initially was using a load cell but switched over to using FSRs. I'm not familiar with multiplexing. I will definitely do research into this before completing the next step. Thanks for the suggestions.
@sbpattman96
@sbpattman96 Ай бұрын
@@scottmacchia in my experience FSR aren’t great unless you have perfect contact. Plus you don’t really care about for you care if a cup is there. I would set up limit switches or photo resistors and then multiplex through them to see what’s occupied.
@lukekulak7165
@lukekulak7165 Ай бұрын
cool vid!
@mariobroselli3642
@mariobroselli3642 Ай бұрын
Where did He post what He uses?
@scottmacchia
@scottmacchia Ай бұрын
I've learned a lot about his setup from just watching his streams. I'm not sure if he has a public list of equipment that he uses though.
@eesaaphilips9271
@eesaaphilips9271 2 ай бұрын
Fellow Microsoft employee and primeagen enjoyer here. I use neovim in work for c# and frontend. All because of prime 👍
@lukasmolcic5143
@lukasmolcic5143 2 ай бұрын
I started using vim motions inside vscode and in parallel used kickstart.nvim to get me started with nvim, I still mostly use vscode in my job related stuff cause I don't want to slow down while learning, but I take every chance I get to use nvim for personal stuff and I am aiming to hopefully fully transition in a couple of weeks
@d3vilscry666
@d3vilscry666 2 ай бұрын
Can you go over how you made this extension? I scrapped data from the English Premier League website and saved it into MongoDB. I did this to try to learn JS. I honestly haven’t gotten further than just scraping the data and saving it to the DB. I was thinking of just replicating the EPL website with the table and turning it into a FullStack app, but doing a chrome extension makes more sense and is probably cooler! Any suggestions on what I should do?
@scottmacchia
@scottmacchia 2 ай бұрын
The API that I use for the hockey data also has EPL data: rapidapi.com/apidojo/api/livescore6 The free tier allows you to make 500 requests per month. I pay for the 50,000 request version just because my app is updating the live scores every 50 seconds. However, it sounds like the 500 requests would be enough for you right now. Currently, my Chrome extension relies on a NodeJS server I built which pulls data from the external API I linked above and stores it in MongoDB. Then, my Chrome extension JS will call the Node server's endpoints to get data. The logic in these endpoints pulls the data from the database. Chrome extensions are actually really easy to build. There are just collections of HTML, CSS, and JS files. This tutorial is a good place to start: developer.chrome.com/docs/extensions/get-started/tutorial/hello-world Additionally, I've actually just started streaming my Chrome extension development here and on Twitch. I can't share the repo since it has some private API keys but in the VODs, you can see most of the code.
@scottmacchia
@scottmacchia 2 ай бұрын
To summarize, doing your project as a Chrome extension makes a lot of sense since it's really just a mini website. You can even build the project in such a way that it serves as both a "full" website and a Chrome extension. Adding CSS that is dependent on page width makes this very possible.
@NickSteffen
@NickSteffen 2 ай бұрын
Yea, while it might take a thousand years to crack an algorithm today, 5 years from a security hole could appear that takes that number way down, combined with advances in computing power, it’s just not worth the risk.
@handrycnatan5226
@handrycnatan5226 9 күн бұрын
AES256 is secure, But her real security is her chosen password for cryptography, and this also subject to attacks brute force
@LouisDuran
@LouisDuran 2 ай бұрын
I use VIM in the terminal in VS.Code. My productivity has doubled!
@scottmacchia
@scottmacchia 2 ай бұрын
That’s how all senior devs work for sure
@NorthernChimp
@NorthernChimp 2 ай бұрын
So now what do you still use the text editor part of VS Code for?
@paulywalnutz5855
@paulywalnutz5855 2 ай бұрын
copilot obv@@NorthernChimp
@coffee-is-power
@coffee-is-power 2 ай бұрын
0:40 uhm acshually 🤓 thats still a virtual machine, wsl 1 was a compatibility layer like wine on linux, but in wsl 2 its just a virtual machine
@koljoy
@koljoy 2 ай бұрын
Is there any sound? :P
@scottmacchia
@scottmacchia 2 ай бұрын
Super new to streaming so the audio was definitely not configured correctly. I will make sure to have it fixed for the next stream :/
@koljoy
@koljoy 2 ай бұрын
@@scottmacchia you are welcome. Happy streaming 😊
@laughingvampire7555
@laughingvampire7555 2 ай бұрын
he is so cliché with his hoodie
@bombrman1994
@bombrman1994 2 ай бұрын
bruh your productivity will be less initially just because you will be sinking time into configuring everything when you have vscode that can do all you need with one click. Not saying vscode is better than having your own dotfiles setup with all tmux, zsh, nvim fully setup like a chad, but if you want to be productive sit on ur ass and write code does not matter where
@scottmacchia
@scottmacchia 2 ай бұрын
That’s definitely true. In fact, I don’t plan to use most of the tools mentioned in the course (ex: Ansible, Dvorak keyboard, dotfiles management). However, for the tools I have adopted, the hope is that time is saved in long run even though it will cost me some time now.
@RT-.
@RT-. 2 ай бұрын
XKCD 1205 - Is it worth the time? 😂
@bombrman1994
@bombrman1994 2 ай бұрын
only you can tell, are you in a state where you are bored of your current job and current project and have free time to invest into this time sink. There is profit in the long-run and make it personalized to motivate you to work if its draining@@RT-.
@DMSBrian24
@DMSBrian24 2 ай бұрын
​@@scottmacchia iirc he doesn't recommend dvorak and says he wouldn't have switched to it if he was deciding right now, he only did it for medical reasons but then discovered it was not necessary
@scottmacchia
@scottmacchia 2 ай бұрын
@DMSBrian24 Ah interesting. You are correct that he does not explicitly recommend it in the course. I’ve not heard him talk about why he uses it. I’ll have to check that out
@brunnocostam
@brunnocostam 2 ай бұрын
noice!
@Keyur904
@Keyur904 2 ай бұрын
Hey Scott, really nice video! I was wondering if i can help you edit your videos and also make highly engaging shorts out of them.
@shrirambm9527
@shrirambm9527 2 ай бұрын
I followed up prime for so long. I dual booted my system to take full controll over system. Once i get into i3 and tmux i got addicted to that .now I barely use windows.
@scottmacchia
@scottmacchia 2 ай бұрын
Nice. I’ll probably still be using Windows for at least as long as I work for Microsoft. But it’s nice to have WSL as an option
@scottmacchia
@scottmacchia 2 ай бұрын
I only found out about Prime last year. I wish I heard some of his advice earlier in my career but later is better than never.
@n.a3642
@n.a3642 2 ай бұрын
What editor / ide ?
@zzantares
@zzantares 2 ай бұрын
your voice sounds exactly to that one of Andrew Chow maintainer bitcoin-core contributor... just thinking out loud.
@scottmacchia
@scottmacchia 2 ай бұрын
I’m probably a bad judge of my own voice but I can’t hear the similarity :/
@technicallychallenged
@technicallychallenged 2 ай бұрын
TMUX is pretty great. Has a bit of a learning curve but has saved me countless hours running scripts while I’m SSH’d into a VM and I get disconnected
@SoreBrain
@SoreBrain 2 ай бұрын
As that course is on my todo list, this video was quite insightful, thank you!
@scottmacchia
@scottmacchia 2 ай бұрын
Perfect timing! Have you taken his other courses?
@SoreBrain
@SoreBrain 2 ай бұрын
@@scottmacchia I'm half way through "The Last Algorithms Course You'll Need" and I really enjoy it. I'm currently in the process of switching to QWERTY from my german layout and while I'm at it I'm also properly learning touch-typing instead of my freestyle technique. As I'm not yet at my regular typing speed this makes coding a lot less enjoyable but it helps me in my path of learning vim later this year with proper muscle memory.
@scottmacchia
@scottmacchia 2 ай бұрын
Why switch away from QWERTZ to QWERTY?
@memaimu
@memaimu 2 ай бұрын
Incredible satire. Had me second guessing myself.
@lostplug
@lostplug Ай бұрын
Say u swear that’s satire? Really? Was the course bad or something?
@CompanionCube
@CompanionCube 2 ай бұрын
no
@yasedgaming8305
@yasedgaming8305 2 ай бұрын
Can i see the diagram of wiring plsss
@scottmacchia
@scottmacchia Ай бұрын
The circuit was inspired by this article: core-electronics.com.au/guides/force-sensitive-pads-raspberry-pi/. But there are some mistakes in their circuit which can damage your raspberry pi. My most recent video explains how to fix (need to use the 3.3V instead of 5V pin)
@h.hristov
@h.hristov 2 ай бұрын
what’s the typical salary for a remote software engineer at microsoft?
@scottmacchia
@scottmacchia 2 ай бұрын
It varies a lot depending on where you live and what level you are. From what I’ve seen, this website has decently accurate numbers: www.levels.fyi/
@h.hristov
@h.hristov 2 ай бұрын
NixOS could make Ansible obsolete
@robertstojs
@robertstojs 2 ай бұрын
NixOS is a complete mess and not nearly in the same realm as Ansible
@Hedshodd
@Hedshodd 2 ай бұрын
I've been using NixOS for years, and I'm a big fan, but no, it doesn't make ansible; not even close.
@saeedjalali7339
@saeedjalali7339 2 ай бұрын
@@Hedshodd Hi. Can you explain a little more?
@BucketHead6541
@BucketHead6541 2 ай бұрын
​@@saeedjalali7339 Another user/fan of NixOS and Ansible here. They're two different projects with two different goals. NixOS's is making a truly declarative, repeatable operating system. Ansible's is declarative, automated configuration of infrastruture. NixOS isn't going to build my Cisco switch, nor is it going to manage my company's red hat systems. Ansible isn't going to ensure, beyond a shadow of a doubt, that my system is exactly what is described in its scripts; just that what is declared there has been done. Both are extremely useful tools and will continue to be
@DV-ml4fm
@DV-ml4fm 2 ай бұрын
I use diff. Files don't need to be sorted with diff.
@scottmacchia
@scottmacchia 2 ай бұрын
diff is for sure more useful generally
@minutesock9649
@minutesock9649 3 ай бұрын
Interesting insight.
@litlewurm
@litlewurm 3 ай бұрын
Hi, thats neat i also started the same project about last year. And went at first the same route as you with the loadcell but the more i experiment the more issues i see with this approach :) If you want exchange experiences, we can get in contact :)
@hunternelson7627
@hunternelson7627 3 ай бұрын
I thought it was just capacitive lol
@grubalaboocreosote4774
@grubalaboocreosote4774 3 ай бұрын
Just had to explain this to someone who was going to buy tracks for his 4 wheeler so he could drive better on ice. It wasn’t easy convincing him that good winter treaded tires are better than tracks every day.
@scottmacchia
@scottmacchia 3 ай бұрын
It's surprisingly not that intuitive, but once you understand the principle, you see it everywhere.
@kellyarmstrong7004
@kellyarmstrong7004 3 ай бұрын
I just became more stupid
@nloadergd9193
@nloadergd9193 3 ай бұрын
? Is it not because of conductivity?
@scottmacchia
@scottmacchia 3 ай бұрын
Not in this case. For example, if I push down on the cup without the holder, the number will switch to one.
@J1xx1C
@J1xx1C 3 ай бұрын
Cool now use this tech to make spidermans web shooters
@jonessii
@jonessii 4 ай бұрын
Neat. I'm not convinced that I need one though.
@zoeyzhang9866
@zoeyzhang9866 4 ай бұрын
Interesting, if any custom PCBs may help? Would like to sponsor. (PCBWay zoey)
@murrayelliot
@murrayelliot 4 ай бұрын
If the output is binary, Why not just use a spring loaded switch?
@scottmacchia
@scottmacchia 4 ай бұрын
That’s definitely an option. I appreciate the feedback. I’ll spend some time looking for a switch that could satisfy the requirements. The hardest part might be the size considering I don’t have the materials to construct one myself
@MisterBloodBunny
@MisterBloodBunny 4 ай бұрын
Easy solution Engineer style: Just add more mass to the sensor without the cup, so when some small mass is placed on it, the total mass exceeds the activation mass XD
@scottmacchia
@scottmacchia 4 ай бұрын
lol that’s definitely an option. I’ll have to think of a way to add more mass without disrupting the cup position too much
@whyisaac
@whyisaac 4 ай бұрын
Amazing vid! Subscribing to watch your journey on this epic beerpong table
@scottmacchia
@scottmacchia 4 ай бұрын
Awesome! I’m looking forward to working on the next part!
@dylan522p
@dylan522p 4 ай бұрын
Good vid
@scottmacchia
@scottmacchia 4 ай бұрын
Thanks man!
@jamesskyrimoblivion
@jamesskyrimoblivion 4 ай бұрын
Would you use something like an upside down truncated cone to increase the pressure in one spot?
@scottmacchia
@scottmacchia 4 ай бұрын
My expertise is in software development so I’m probably missing something here. Do you mind explaining a bit more on how that would work?
@robboccanfuso4535
@robboccanfuso4535 4 ай бұрын
Pressure = Force/Area. If I'm not wrong, @jamesskymobilivion is suggesting reducing the area at the base of the cup to increase the pressure. I'm not exactly certain what your measure is (it looks like just the voltage of the circuit) but there could be a couple of fixes. One suggestion could be adding more resistance to increase the voltage of the sensor. I'd assume that because it's a binary input, if you raise the "resting" voltage closer to 3.3V, the system would theoretically take less force to trigger (I'd assume).
@ilamparithi.
@ilamparithi. 4 ай бұрын
Interesting new channel, i will follow your journey through this project
@scottmacchia
@scottmacchia 4 ай бұрын
That’s great to hear! It’s been fun working on this and I’m excited to continue
@potatomeatlabs
@potatomeatlabs 4 ай бұрын
Switch to a 16-bit ADC (SPI/I2C). I would also amplify the signal being modulated by the FSR to raise the signal floor, making it easier to read changes at the lower force ranges. Just be sure to clamp the voltage ceiling so you don't fry the ADC if too much force is applied to the FSR. You can probably just use a zener diode for this. But a 16-bit ADC may have enough resolution on its own to differentiate a small change in resistance. I would also apply a moving/running average to the readings to stabilize any transient noise.
@scottmacchia
@scottmacchia 4 ай бұрын
That’s a great point. Since I am looking for binary input I concluded that there wasn’t any more need for the ADC. However you’re 100% correct. I would definitely get more detailed input and can calculate the binary result myself. I will definitely retry the experiment with an ADC
@juliangrigoriciuc
@juliangrigoriciuc 4 ай бұрын
why am I here
@danf1025
@danf1025 4 ай бұрын
fr
@benelsbury6527
@benelsbury6527 4 ай бұрын
you need it
@Ettsate
@Ettsate 4 ай бұрын
Same
@CACA-vc1gs
@CACA-vc1gs 5 ай бұрын
Very cool
@scottmacchia
@scottmacchia 5 ай бұрын
Thank you!
@CACA-vc1gs
@CACA-vc1gs 5 ай бұрын
@@scottmacchialooked like a professional video
@scottmacchia
@scottmacchia 5 ай бұрын
Thanks for watching! Check out the full video here: kzbin.info/www/bejne/eXawpHaBfLdniacsi=BNnwdWkK79EOIngn