Update: I never even gazed at the pond. And I do not intend to.
It’s high time I dip my toes into Rust
You can change your font and you can change your float
You can set margins, that’s just the style you wrote
You can { display: none; } and you can overflow
But you’ll always google how to center a <div>.
Alright so I find myself liking C# and the .NET framework. For anyone who hasn’t delved into understanding what it is and WHY it is: .NET is, like all other frameworks, a collection of tools for developers. Except this one is on steroids, and tailored to Windows BY Microsoft, meaning you can make awesome Windows applications without tracking down everything you need. It’s all just right there.
C# is basically C++ with all of the .NET adapters actively available. You can also think of it like Java but instead of running inside of the JVM, it runs on Windows.
Microsoft’s documentation is also really well-written for it, which is nice.
BONUS in case anyone is curious: ASP.NET is a framework that extends the overarching .NET to provide tools specifically for web application dev. I haven’t gotten far into the ASP documentation yet so I can’t say much about it other than that.
An epistle on an “oh duh” moment I just had while pondering switch functionality in Python.
Every couple of months when I get back into some hobbyist Python development I find myself DuckDuckGo-ing “switch in Python” and am subsequently always reminded that that’s not explicitly a thing. You, of course, get that functionality from dictionaries.
I’ve always thought that was dumb, but today I was considering it and realized that it’s all because of the interpreted nature of the language. Switch statements have the wicked performance improvements over if ladders in compiled languages because the switch tells the compiler to put a bunch of branches in the intermediate assembly so a lot of unnecessary condition checks are skipped.
Without in-depth knowledge of how the interpreter works, it now becomes clear why you have to use the dictionary. It’s not the Python lords being pretentious and imposing their pythonic ways; you have to be more explicit to the interpreter about where to look for the logic to run because the interpreter doesn’t craft intermediate assembly, it just plows straight through. So a switch in Python would ultimately perform no better than an if ladder.
That doesn’t mean a switch wouldn’t make me happy, mind you.
I can’t even style a SCROLLBAR without it looking like a potato.
Guess who jumped into his first React project without any planning and now continues to add features thereby creating a monstrosity of spaghetti code. THIS guy!
Hi Tumblr, I’m back. I hope you’ve all been well.
Before and after adding css animations
before and after tie dye
It has builtins that let you change the color of the text in the console! By far my prettiest Hello World to date.
A lot of computer science algorithms are just means to describe activities humans do naturally.
Sorting a list? Humans do it no problem; heck, in a vacuum one might adhere exactly to a quicksort + insertionsort hybrid (a speedy combo on many datasets) without even knowing it.
Bigger example: graph theory. The foundation of modern databases, neural networks, and gps routing came from the contemplation of the people of Königsberg. Euler just harnessed raw thought into a concrete set of rules and instructions that further our innate abilities.
Tragic news like half the ways people talk about magic in fiction could irl be applied to maths
he/himComplaining on Tumblr is a good alternative to punching my computer screen, right?
72 posts