Recorded live on twitch, GET IN / theprimeagen MY MAIN YT CHANNEL: Has well edited engineering videos / theprimeagen Discord / discord
Пікірлер: 368
@EdgarLopezAnaya11 ай бұрын
I remember when a friend of mine, had this part-time job, where his sole responsibility was to be available at any time to physically restart the server
@ThePrimeTimeagen11 ай бұрын
wow
@turkishcat44234 ай бұрын
I have a friend whose responsibility is to push a button every hour or so…
@TremereTT4 ай бұрын
@@turkishcat4423 Ya I think English this is a keep-alive or watchdog system(?). I only know that we call it a Totmannknopf or Totmannpedal in German, wich literally means "dead-man-button". It's used in trains for example to ensure that the traindriver is alive (aka awake). Imagine your job is sooo low effort it requires you to press a Button in regular intervalls to show that you are awake.
@TremereTT4 ай бұрын
@@ThePrimeTimeagen I know you want a Tokioooooooo T-Shirt, but how about a "Accesviolation: Bielefeld does not exist!" T-Shirt in the meantime ?
@cericat3 ай бұрын
Yeah 99% of a friend's job was being on call to restart broadcast stations around the region, occasionally he'd need to do maintenance like replacing the UPS batteries but primarily it was the off-on toggle because something random had tripped a safety but wasn't on the repair/replace schedule and wasn't totally broken yet.
@shwaa Жыл бұрын
4:32 Honestly, as a programmer, it makes more sense to put the period outside the quotation because the quotation doesn't end the sentence, it is part of the sentence. If you think about this as a function call, you don't do: function sentence() { return "text}", you do function sentence() { return "text" }, if you consider the period to be like the closing bracket and the quote as the text between the ' " '. Even if you say "these are the rules, so be it", if enough people do it the programming way, it will just become the norm.
@HowDoYouUseSpaceBar Жыл бұрын
Ingerlish vs 'mericun rules
@vaisakhkm783 Жыл бұрын
I googled it and in British English it's outside.....
@tbqhwyf Жыл бұрын
Those aren't function calls, those are function definitions
@cherubin7th Жыл бұрын
Yes, this is not even grammar anymore, this is just BS to have the period of the sentence inside the quotations. 'Merican English sometimes does stupid things just to be stupid.
@saadahmed68810 ай бұрын
🤓☝️
@justine_chang39 Жыл бұрын
production quality on these stream, HONESTLY, NEXT LEVEL.
@ThePrimeTimeagen Жыл бұрын
tyty
@NithinJune Жыл бұрын
😂😂
@RedHatTurtle Жыл бұрын
Reading quality on the other hand is something else :D
@DesTr069 Жыл бұрын
Prime popping off over Discord rewriting their data services in Rust was very funny to see lmao
@themichaelw Жыл бұрын
4:32 Prime is actually wrong here and the discord engineer is correct. Punctuation goes _inside_ the quotes *if the punctuation is part of the original quote*. It goes _outside_ the quote *if it applies to the whole sentence, as in this case*. From the Purdue OWL: a) Phillip asked, "Do you need this book?" < question mark was in the quote, so it goes inside. b) Does Dr. Lim always say to her students, "You must work harder"? < question mark was _not_ a part of the quote, therefore it gets applied after.
@NithinJune Жыл бұрын
this is in british english
@Tobarja Жыл бұрын
A couple of years ago, I started doing this in my written conversations. I, now, don't understand how anyone could think the opposite ever made sense.
@aidantilgner Жыл бұрын
This makes much more sense
@WyzrdCat Жыл бұрын
Not in American English, no.
@Winnetou17 Жыл бұрын
I have to say, I'm a bit baffled that this isn't obvious to everyone.
@JamesJansson Жыл бұрын
Programmers, like me, put the period outside the quotes because the period inside the block has no impact on the conclusion of the outer sentence. Proof: "Periods inside the quotes don't count. It's easy when you look at this quote", James said.
@NostraDavid2 Жыл бұрын
Programming Languages > English (or any other language that puts its periods INSIDE the quotes.
@dao_jones Жыл бұрын
The implementation of your grammar framework shouldn't affect the discrete values of your strings. What if the period is deprecated in the next release?
@ateijelo Жыл бұрын
I couldn't agree more! Period inside quote is like saying sqrt(arr[0)]. It's a bad rule of English and I will ignore it.
@modolief Жыл бұрын
@ThePrimeTime please pin this comment.
@estranhokonsta Жыл бұрын
I don't have that problem. If someone ask why i use a period outside the quotes, i just say that I write in British English and not American English. And if he really insist i will say that i use the new "International Internet British English Lingua Franca". Let him figure out what that means, if he can.
@gaeel330 Жыл бұрын
The expression "used in anger" comes from the military notion of using gear in an actual conflict, rather than just in training. The idea is that soldiers can spend a lot of time getting very confident with their gear back at the barracks, but you only really know how well that gear performs when you're in a life or death situation with mud and dust gunking everything up. Similarly, benchmarks and stress tests can give engineers a good idea of how their software performs, but you need to actually use that software in production to truly understand it.
@lightsam11 ай бұрын
Wow might try to add this in my day to day sentences.
@harsha130610 ай бұрын
Also there's a book for erlang debugging called "Erlang in anger" by Ferd Herbert. I thought it came from that.
@gaeel33010 ай бұрын
@@harsha1306 "Erlang in Anger" will absolutely be a reference to the original expression. "Used in anger" see widespread use in many contexts, not just programming. I'd be surprised if they were all referencing a relatively obscure programming manual.
@jogmanson9510 Жыл бұрын
4:30 I have it the other way around, I hate seeing the period inside the quotation marks. It just doesn't make sense for me.
@Luculent Жыл бұрын
It's also a little inconsistent cuz both "!" and "?" work how you would expect.
@seftondepledge3658 Жыл бұрын
I am from the UK and I have never seen quotes with the full stop inside. If I did it would be for something like "blah blah blah.". Where there is both one inside that is part of the quote and one outside to close the sentence. Maybe it is just an American thing?
@VivekYadav-ds8oz Жыл бұрын
I'd rather put the period both inside and outside.
@yt-133711 ай бұрын
it always depends on context: Place a question mark or exclamation point within closing quotation marks if the punctuation applies to the quotation itself. Place the punctuation outside the closing quotation marks if the punctuation applies to the whole sentence.
@3dprintjam Жыл бұрын
Instead of rick rolling us, Prime is rust rolling us 🦀
@lifeofsanjai Жыл бұрын
Why?
@ElderSnake90 Жыл бұрын
Most of these videos could probably be renamed to 'Rust BTW'
@Tobarja Жыл бұрын
TOOOKIOOO!
@dipanjanghosal1662 Жыл бұрын
Hahaha Rust is dead now
@wdavid3116 Жыл бұрын
FYI toil is a Site reliability Engineering term (I'm not sure if it's used identically in DevOps it probably is?) it's more or less work that can and should be automated but that you're stuck having a human do.
@aymanelhasbi503010 ай бұрын
Hi , in 16:55 for the "hi mmo" example there is no read , it's actually an pubSub architecture soo once u send the message it's published in the subscribed channels thus there is no read ! the read will usually happen when refreshing or something !
@chrisalexthomas Жыл бұрын
who else read a few sentences ahead of Prime and then was thinking "oh boy...you're not ready for this" :D haha
@itemcountinventory Жыл бұрын
the amount of learning in this video is unlimited, thank you prime!
@insu_na Жыл бұрын
Periods inside quotation marks ***only*** make sense if what's inside of the quotation marks is an actual, complete quote. If the quotation marks are used for partial quotes or other types of things generally put into quotation marks, then the period goes outside of the quotation marks. let hw = "hello world;"
@ThePrimeTimeagen Жыл бұрын
Are you making up rules right now? It is not how the rule goes
@voltairespuppet Жыл бұрын
I would just switch to the English rule; use single quotes and have the period outside.
@bobbycrosby9765 Жыл бұрын
I'm sorry but the English language doesn't make sense.
@insu_na Жыл бұрын
@@ThePrimeTimeagen I reject your reality until this code snippet is valid rust, punctuation will always go outside of quotations if not full-sentence quotes let hw = "hello world;"
@vojtastruhar8950 Жыл бұрын
This commentary was a rollercoaster I loved it :D
@RubenALopes Жыл бұрын
I absolutely love that video you talked about at 1:20 😂 "Have you used AWS before? You a whole team to set this up"
@Ringoshiiro Жыл бұрын
Amazing vid. I loved the story arcs and everything hahahaa
@VACatholic Жыл бұрын
For those who are not native English speakers, to use something "in anger" means to use it "in the real world". I think it originates from fighting/war where people would train tactics, but they would have to be verified "in anger", i.e., in the real world against real world opponents (or in this case use cases and data scenarios).
@HelloThere-xs8ss Жыл бұрын
That's not what it means. To say something in anger means to say something you don't actually mean; to say something when emotions are raised.
@Elias-vs2dx Жыл бұрын
I am a native speaker and have only ever heard it being used as a mistake made in the heat of moment
@bertrodgers2420 Жыл бұрын
@@HelloThere-xs8ss Yes it does, it means to use something for real. It's used an awful lot here in the UK at least. e.g. It was only after we started using cassandra in anger, we found it wouldn't suit our needs
@VACatholic Жыл бұрын
@@HelloThere-xs8ss The phrase is "to use", not "to say".
@VACatholic Жыл бұрын
@@Elias-vs2dx It's "in the heat of the moment."
@rinzler749 Жыл бұрын
it doesn't take much to piss him off just mention C++
@julkiewicz Жыл бұрын
Please someone name their super scalable database written in Rust "Compact" just to trip Prime up
@peppybocan Жыл бұрын
To me a period inside the quotes is a syntax error. Quotation marks are like the parenthesis and a period is like a semicolon for every statement. Mixing the order does not make sense to me.
@julac15 Жыл бұрын
I'm here for the chaotic energy. Love it!
@nanthilrodriguez5 ай бұрын
Doing something in anger is often used to describe someone who is trying to push their limits of skill or understanding, I hear this phrase often in the racing community to refer to testing out a new build of a car they're as they're just starting to become comfortable and push to find its limits.
@aidantilgner Жыл бұрын
"We can only change the rules of English by going against them". - me just now
@ertwro Жыл бұрын
Ok, I’m convinced. I’ll start learning rust. I was checking zig but let’s go rust.
@YasserS19 Жыл бұрын
I have been watching football all my life, and this is the most intense match I have ever watched.
@nclanceman Жыл бұрын
10:15 The guy who wrote this might be a veteran. "Fire a shot in anger" is a term for shooting a gun for real. Not practice, not calibration, you're in a fight. You'd probably say "use in production" to mean the same thing.
@kafran Жыл бұрын
I almost fell off the chair laughing with the C++ 🤣
@kevinandeleven Жыл бұрын
That football match was the greatest ever in excitement.. Any newbie to football that watches that as their first match ever would never be able to watch another football match that lived up to the excitement of the 2022 world cup finals
@hanabimock5193 Жыл бұрын
This video was amazing!
@Borkolini Жыл бұрын
Fun fact - in Serbian 1 000 000 000 000 is actually bilion. Yes. It goes like this: 10^3 - hiljada (thousand) 10^6 - milion (million) 10^9 - milijarda (billion) 10^12 - bilion (trillion) 10^15 - bilijarda (quadrillion) 10^18 - trilion (quintillion)
@IvanRandomDude Жыл бұрын
Idemo nis
@zhongcena Жыл бұрын
Long billions. en.wikipedia.org/wiki/Long_and_short_scales
@somenameidk52783 ай бұрын
its like this in danish too
@nickmoore5105 Жыл бұрын
I think the writer of the article is probably British. Phrases like “using in anger”, “chagrin” and full stop ousted the quotation marks are tell take signs.
@engineeranonymous Жыл бұрын
Using/doing in anger meaning using in real life situation actively, not in demonstration or simulation.
@LoveLearnShareGrow Жыл бұрын
I looked up the use of periods, and The Primeagen is correct for American English usage, but that's also a STUPID rule. When you use quotes to highlight a term or signify emphasis or skepticism, it makes no sense to put a period inside the quotes. The full stop is not part of the term. I even see grammar sites advising to put the period inside the quotes of titles. That's just nonsensical. I won't do it. I approve of this author's usage of "hot partition".
@monadic_monastic69 Жыл бұрын
The thing that makes this rule even worse (for us Americans at least) is that it's inconsistent with rules for other punctuation marks like the question mark, which *does* change depending on whether it was just the _quote_ that was the question or the outer sentence itself that's using it.
@Frank-do1bg8 ай бұрын
12:14 I almost choked and spit out my drink there, so funny I previously read this post by myself but this video makes it at least 10x better
@Frank-do1bg8 ай бұрын
NO, 100X BETTER
@voidwalker7774 Жыл бұрын
Rust, the language of Gods and Angels alike.
@ThePrimeTimeagen Жыл бұрын
Agreed
@NuncNuncNuncNunc Жыл бұрын
Is it possible that the tombstones that were blocking the migration were also at the root of the production problems? Seems compaction is being equated with compression @22:00, but this is not really the case, these are markers of deleted data that for some reason were never compacted. Leaves me wondering if this is a case of we fixed our MySQL ops problem by migrating to Oracle, no more MySQL problems.
@ExpertOfNil Жыл бұрын
That was fun. I'm eagerly awaiting the Tokio shirts... btw
@ccgarciab Жыл бұрын
Rustaceans will laugh at themselves about falling for "rewrite in Rust", then do it anyway and reap great benefits. Absolute Chad move.
@tomvanschaijk Жыл бұрын
Still peculiar how they chose a database that's much faster for writes than reads, for a system where messages are written once (people hardly edit or change their messages after sending them on discord), and then exclusively read... But hey: RUST
@rizkiyoist11 ай бұрын
That's a good point actually, I'd like to know their reasoning too.
@tuomaskoivistoinen647611 ай бұрын
You can query for messages and cache them client side. Real time messages can be sent to subscribers without a new query. So if you open a chat you might read once per client but send a lot of messages. I can see discord and similar apps being very write heavy in terms of cassandra usage
@tempestalle3 ай бұрын
using it in anger probably just abuse it until it breaks, just so you can have expectation when it'll break
@christopheriman4921 Жыл бұрын
I personally don't have many qualms with the rust programming language and in many respects wish that C++ was like rust, although I do wish that the syntax of rust was a little more like C++ just in terms of variable declaration instead of let it would be nice to just use the type directly.
@JoshuaKisb Жыл бұрын
i used to think like that till I started using typescript. if you rarely give a type you realize how nicer it is plus its consistent
@LoveLearnShareGrow Жыл бұрын
I wrote this comment and was about to hit send, but I wasn't really happy with it so I rewrote it in rust.
@ThePrimeTimeagen Жыл бұрын
how is it now?
@LoveLearnShareGrow Жыл бұрын
@@ThePrimeTimeagen Safe and fast! I don't even think about it any more.
@asdqwe4427 Жыл бұрын
Sounds like there are some smart people working at discord
@KyleHarrisonRedacted6 ай бұрын
Once again, C++ comes in clutch to get the job done better. Way to go ScyllaDB you crazy bastard
@sacredgeometry Жыл бұрын
4:51 The British style is actually to put them outside the quotation marks more than not. i.e. unless its a complete sentence or punctuation that is part of the quotation. So no he was absolutely correct.
@JohlBrown6 ай бұрын
GPT: When the quoted material itself ends with a full stop and this quote is at the end of the enclosing sentence, the treatment differs slightly between American and British English: American English: You would include only one full stop, and it would be placed inside the quotation marks. The American style prefers to place periods and commas inside quotation marks regardless of whether they are part of the quoted material. Example: He said, "We are going home." British English: If the full stop is part of the original quoted material, it is kept inside the quotation marks. If the full stop belongs to the enclosing sentence and not the quoted material, it is placed outside. However, in practice, you would avoid having two full stops (one inside and one outside the quotation marks). Example (if the full stop is part of the quoted material): He said, "We are going home." Example (if the full stop belongs to the enclosing sentence, not common): He said, "We are going home". In both American and British English, if the quoted material ends with a full stop, you generally wouldn't add another full stop to end the enclosing sentence. The full stop within the quotation marks serves both purposes.
@JoseGonzalezUwU Жыл бұрын
14:09 Best clip ever, mejor contenido audiovisual imposible
@pestouille00 Жыл бұрын
ScyllaDB founder said that he would have written SyllaDB with Rust if the language was as mature as it is now. He is a Big fan of Rust. I think Toil comes from Google in Google SRE chapter: Avoid the Toil
@ItsGazareth Жыл бұрын
Nice job Bo 👏👏
@IcyyDicy3 ай бұрын
4:30 I took a break from writing a paper to watch this video, and dang. prime just saved me on bad punctuation.
@cotneit Жыл бұрын
8:49 - I love hove JVM unites Discord engineers and Minecraft server admins
@ItsGazareth Жыл бұрын
This article was quite the toil for Prime
@fuzzy-0211 ай бұрын
I had a feeling and a thought when watching: The feeling was "This is more exciting to hear than watching a hollywood movie." The thought: "Damn. I hope I could become cool like that one day".
@kevinb1594 Жыл бұрын
Am I misunderstanding the first part of their database load strategy or Ddid they just reimplement REDIS/in memory caching in RUST?
@metaltyphoon Жыл бұрын
Seriously, redis + lua script could have done that BS rewrite in rust 😂
@AKRIDASGAMWEKSOGIINI4 ай бұрын
9:41 where he calls cassandra-messages a bitch is kinda funny, because scylla in greek actually translates to female dog
@thewizardsofthezoo5376 Жыл бұрын
How is the period going to be inside the inverted commas, unless you have the whole sentence in there?
@VivekYadav-ds8oz Жыл бұрын
24:31 I do not have experience in this domain, is that p99 latency good or bad? Seems like for 1% of requests that should be pretty good.
@well.8395 Жыл бұрын
It means the top 1% of all the worst/slowest response times was 5ms, which is incredibly amazing.
@agh0x0111 ай бұрын
Can we have a version of Primeagen who very critically (and hilariously) reviews Linux distros?
@orshy111 ай бұрын
19:10 This is one of the best bits I've seen from Prime
@bllyanos Жыл бұрын
you had me at rust--
@ivan.jeremic4 ай бұрын
The most important lesson is Document DBs > SQL Tables any time, they moved from one Document DB to better ones.
@user-cx6ec2kp6u Жыл бұрын
You always drink CRAZY STUFF in this streams😂
@mastermati7736 ай бұрын
I’m dying each time there’s a beep on C++
@mvargasmoran Жыл бұрын
being on call, would ruin my night.
@yt-133711 ай бұрын
4:28 no you're wrong it depends: Place a question mark or exclamation point within closing quotation marks if the punctuation applies to the quotation itself. Place the punctuation outside the closing quotation marks if the punctuation applies to the whole sentence.
@robgrainger53149 ай бұрын
The period should only be inside the quotation marks if the entire sentence is quoted (in the UK at least, as in English).
@david236275 ай бұрын
27:00 It really was, it's probably the greatest final in football history
@420moby10 ай бұрын
trying to read c++ from the perspective of a rust/c programmer is like trying to read beowulf as someone who only speaks current day english
@AlexMNet Жыл бұрын
Did chatGPT write this article? Such odd phrases and wording! lol
@-rya1146 Жыл бұрын
0:55 did you just take a sip of tv static in a jar?
@betterinbooks Жыл бұрын
1:31 me when I try to hit that 3000 word limit in my essay.
@Yupppi5 ай бұрын
I wonder if scylladb is derived from Greek mythology and is "skiilla", with a hint of y. If it was instead from Swedish skylla, it would mean blame and I feel like that would fit just fine as well for a database system name.
@gm112 Жыл бұрын
7:26 valid response
@landonyarrington79795 ай бұрын
"Argentina scores again and goes up 2-0" His name is Di Maria! You know, like "I got your picture, I'm coming with you, Di Maria count me in"
@isaacfink123 Жыл бұрын
When it comes to databases we want old and tested so obviously the good ones won't be written in rust, at least for now
@skellious Жыл бұрын
"British English puts commas and periods (full stops) outside the quotation marks unless the quotation is also a complete sentence or the punctuation is part of the quotation."
@fkdhjfghdsjkghjkfhgkfjd4 ай бұрын
This is giving me night mares.... But... because we used Cassandra as a disk partition table (of sorts).
@Nateyo3 ай бұрын
I wish I had never noticed he drinks water with a straw out of a jar
@arizona_ranger_connoisseur3 ай бұрын
lol imagine a grown ass man sitting in his room screaming tokyo at his screen
@xenowaza3 ай бұрын
Am loving your channel and finding that we're on the same page about a lot of things, which is nice. However, I conscientiously object to putting the period inside of the quotes. It's an artifact of typesetting from an era long before digital typography and is a US convention that makes even less sense than US customary units. I was born and raised in the US and was taught to put the final punctuation within the quotation marks, but I just can't bring myself to be willfully illogical for that particular rule. Undoubtedly a weird hill to die on, but I guess I just happened to hit my limit of bending over to stupidity just before learning that rule.
@KANJICODER Жыл бұрын
Put commas and periods within quotation marks, except when a parenthetical reference follows. ...which we refer to as a "hot partition".(◕‿◕✿) Fucking nailed it.
@Fanaro Жыл бұрын
Reaction video for the World Cup 2022 incoming
@tullochgorum63239 ай бұрын
Editor here. The period outside the quotation is correct! The quotation is inside a sentence, and the period is at the end of the sentence. The period should only be inside the quotes if the whole sentence is a quote. So by your own standards, you should feel bad about yourself!
@TheSkepticSkwerl Жыл бұрын
This was the answer ChatJippitty gave me. "ThePrimeagen embarked on a journey to discover the secret to achieving world peace through interpretive dance."
@Samstercraft77 Жыл бұрын
"those are certainly all word"
@astrix8812 Жыл бұрын
i loved it👏
@ryanleemartin7758 Жыл бұрын
You have to blame the Rust team for coining the phrase "fearless concurrency".
@robottrainer Жыл бұрын
cassandra takes a phat node dump on their devs in prod.
@arcanernz Жыл бұрын
I think in hindsight it was a bad idea to use a language that has GC and interpreted (bytecode) over Rust/C++/C. When Java came out people were way over estimating how performant Java could be when in actuality it was always slower than a non GC native binary equivalent. I always knew Java was slow cause I use Java based apps before.
@danvilela Жыл бұрын
Apache made everything in Java and the whole world got heavy and slow. 😢
@blarghblargh Жыл бұрын
to "use something in anger" is to use it for real instead of just toying around with it. old person terms
@wfkpk Жыл бұрын
Prime discuss everything and search for rust in it LOL. ik he loves rust i do too bc i think title of his viodes should be "rust btw" LMAO
@MrJgracias Жыл бұрын
Can you read the documentation for me? Like read all of the django documentation, I feel like you could make it fun.
@mvargasmoran Жыл бұрын
Boom! W for Bo!
@kevinkkirimii Жыл бұрын
7:28 meme of the decade for me. 🤣🤣🤣
@nikoshropshire657510 ай бұрын
cassandra - run!
@Shri Жыл бұрын
You know you can say "Compact" the way you said "Compact" because that is definitely one correct way of pronouncing "Compact".
@KangoV5 ай бұрын
Cassandra stores the data off-heap. Not sure why they were getting GC issues.
@nevokrien953 ай бұрын
C++ for the win!!! Lol kinda forced to learn it nice to see it does well.
@IvanRandomDude Жыл бұрын
Does it make sense to learn Rust for general web development?
@wadecodez Жыл бұрын
For most websites the language doesn’t really matter. It’s the data, concurrency, and caching that are important first. Then if you are successful enough to run into more bottle necks, you probably still have data and concurrency problems. Switching to a web server written in C or Rust is not really necessary unless you are seriously pushing the limits of speed. You’ll find that most websites outside of Silicon Valley are slow.