- 7
- 12 350
Elias Explains
Canada
Приєднався 20 кві 2020
Ever wondered how the code on your screen gets turned into something a computer can run?
Come learn with me, Elias Puurunen, as I pull back the curtains on all things tech. We'll dive deep and see just what makes everything tick.
Come learn with me, Elias Puurunen, as I pull back the curtains on all things tech. We'll dive deep and see just what makes everything tick.
My Conversation with Bell - About Fiber to the Premise - "They don't tell us."
On June 17, 2021, I received a callback from Bell Business for commercial internet. I asked whether there was fiber to the premise.
I was told to look for red flags on the property or Bell trucks working in the area. The rep said he could not escalate my question to anyone else, that unless we wanted to pay for dedicated fiber, there was no way for them to check if we could get fiber extended to the property.
I am posting this conversation to bring to light how in 2021, internet offerings in Canada are still abysmal. Access to internet has never been more important, yet speeds and access are barely improved since the early 2000's.
For more, follow me on twitter.
agfinn
I was told to look for red flags on the property or Bell trucks working in the area. The rep said he could not escalate my question to anyone else, that unless we wanted to pay for dedicated fiber, there was no way for them to check if we could get fiber extended to the property.
I am posting this conversation to bring to light how in 2021, internet offerings in Canada are still abysmal. Access to internet has never been more important, yet speeds and access are barely improved since the early 2000's.
For more, follow me on twitter.
agfinn
Переглядів: 95
Відео
Which is FASTER in C# - if or switch? Well... it depends.
Переглядів 4634 роки тому
After some constructive criticism, I decided to revisit if and switch statements. Which one is faster? What if we add a LOT of conditionals to check? This time I benchmarked it too. Check it out! Blog Post: puurunen.ca/2020/04/23/differences-between-switch-and-if-at-the-il-level-continued/ Original Reddit Post: www.reddit.com/r/csharp/comments/g5k6ra/differences_between_if_and_switch_at_the_il_...
if vs. switch in C#: is there a difference?
Переглядів 584 роки тому
If statements and switch statements both give programmers the ability to run conditional logic. But what's the difference between them when the code is compiled? Today on Elias Explains, we take a look at the difference between if vs. switch. Blog Post: puurunen.ca/2020/04/21/differences-between-if-and-switch-at-the-il-level-in-c/ String Comparisons: ua-cam.com/video/fao9A2OUWHE/v-deo.html Try ...
Which String Comparion Method is FASTER in C#?
Переглядів 1204 роки тому
Which should you use? string.Equals(), , or !string.Equals? In this video, Elias Explains which one is indeed faster, and how C# handles string comparisons! Reddit post: www.reddit.com/r/csharp/comments/g4u5i7/is_comparison_of_string_faster/
Properties vs. Fields in C#
Переглядів 9 тис.4 роки тому
Why use an auto-property over a property with a backing field? What makes a property different from a public field? In this video I attempt to explain both and pull back the covers on how .NET code gets compiled. Original Reddit post: www.reddit.com/r/csharp/comments/g30g2z/what_is_the_purpose_of_using_autoproperties_over/fnoorb4/? Blog post: puurunen.ca/2020/04/17/properties-vs-public-fields-i...
foreach Loops and Function in C#
Переглядів 684 роки тому
If you call a function in your foreach() iterator, does that function get called for each iteration, or is the result cached? Another great question from the C# subreddit. In this video we'll see what the C# compiler does with foreach loops! ORIGINAL POST: www.reddit.com/r/csharp/comments/g459x2/does_foreach_string_itemfile_in_getitemfiles/ BLOG POST: puurunen.ca/2020/04/19/foreach-loops-and-fu...
Integer vs. Floating Point Division in C#
Переглядів 2,8 тис.4 роки тому
If you perform a division of two numbers in C# and store the result in a float, shouldn't the division happen as a floating-point (decimal) operation? Not necessarily! In this video we see how the C# compiler deals with integer vs floating point division. Only one of your operands must be a float! ORIGINAL POST: www.reddit.com/r/csharp/comments/g2flc7/why_does_this_return_two_separate_values/ S...
I understood nothing you said. I'm a noob and I understood none of the words you said.
what is a backing field? I'm trying to understand that
Hey Elias, if by any chance you will read this i just wanted to say that you are great. Im trying to learn C# for about half a year and I have to say it: Nobody on youtube explains it like you do. Most Tutorials think that the viewer is absolutely stupid or already knows everything. You are the middle-ground that i was looking for. Anyways im kind of sad that you do not make any more videos, but the videos you release are absolutely great nonetheless. Hope you have a great day !!!
Maybe I'll make another video someday. What would you like to see?
@@eliasexplains3493 hmmm, maybe the performance differences between instances and static classes? i see a lot of instances usage but it also seems that a lot of the functions could have also been static instead
Thanks
I want to divide 2 integer numbers 10 /5 and the answer should be 2.000. How to get this. Kindly reply sir. I got the answer as only 2.
If you are printing the result and want the proceeding digits use: Console.WriteLine((10 / 5).ToString("#.000")); You will have to cast at least one of the digits to a floating point if you want precision: Console.WriteLine((10 / 5d).ToString("#.000"));
Great Video, however for a beginner programmer like myself. I 'understand' what you are talking about, yet the point doesn't make itself clear. Basically, I'm dumb. I need more simple words to convince me of whatever you are trying to relay to others. A good practice whenever you are teaching, especially in video format, is to give a simplified summary of what we just learned at the end of the video. Like 'fields are more flexible than public properties, and that is why they are preferred over properties' or 'properties get the concrete data in the memory, and sets it so nothing breaks, which is better over flexibility that a field gives you'.
Thanks!
Great. But its too long. Can you cut out the fluff and get to the point earlier
this is an extremely long video to say "behind the scenes auto properties are a private variable with a setter and getter function, where public properties are a public variable" when the code is compiled, theres no suck thing as a public variable with the name of your property because what exists in the code is a private variable and 2 functions
That speed difference is insane, never would have guessed that switch actually has some uses outside of looking neat in certain scenarios. Also Yandere Dev could have a look at this
It's hilarious you mentioned that. I just game from a video about Yandere Dev and was wondering if the speed actually mattered lol
Really insightful, thanks for posting this!
I got to Derek Banas's section on c# construction properties and started to get confused. You've clarified. I see you're a new channel. With these kind of thoughtful lessons, I'll keep watching! Thanks.