That data display is really cool, since I don’t know too much about how a specific number is presented like that double.
That unit calculation is also pretty cool.
That data display is really cool, since I don’t know too much about how a specific number is presented like that double.
That unit calculation is also pretty cool.
Because I want to be a God.
It’s a bit of hyperbole, but I was using some program on my pc and was frustrated because it didn’t do things I wanted it to do. Or it had bugs, and there was no way for me to get that changed, so I was left to pray that somehow the creator would find this small problem and fix it. I was envious of those people that could make these windows with buttons that made things happen. I wanted this power that transcended what I could see on my screen, and change how that world worked.
And so, I learned to program. I took the powers to shaped my own creations and ascended.
Then you have a bit more to do yeah, you should look into object oriented programming and classes. Classes are pretty much everywhere in C#. At the beginner level they aren’t as bad as they seem but you need to understand it’s basics. The guide I linked in another comment also has short introduction to using a class for example.
In my case, I had local music synced up in a playlist, and the playlist still did shuffle though my music. (which Spotify didn’t know the artist of given that it wasn’t part of their library.) The broken shuffle was just one of many reasons why I stopped using streaming and went with local music players back in the day.
I sure don’t sound helpful saying this, but it’s mostly about finding the equivalent to the python action/types, and typing them out when making functions and variables. Though 99% of the time, you are completely fine defining variables as var
to avoid excessive typing.
I assume you dealt a bit with classes in python, if not then you’re doing double time with both changing language and learning object oriented classes at the same time.
If there is any specific I can try to give some clarity since I also came from Python to C#.
I found C# to pretty much be python just with strict types and semicolons. Jumped right into it really on my first job and it worked out pretty fine, granted I got to orient myself in the existing project where I started.
You are perhaps already familiar, but some things stand out like public/private annotations and other class related things like interfaces which work to create a more organized and controlled use compared to pythons “we are all consenting adults” approach were nothing ever really truly blocked from you. It depends a little on what you want to do/use it for, there’s frameworks and different uses like WPF / .NET for the frontend.
While it may be too basic for you, ZetCode was useful for me back when learning PyQt in python, so you might find some use with the C# intro: https://zetcode.com/all/#csharp
It doesn’t make much practical sense when the entire playlist if downloaded and they still do this. Just ruins the listening experience.
For me it looped though the same 30 songs out of more than 1000. I much prefer a one time shuffle that guarantee all songs in my playlist, just in a new order. It’s not exactly rocket science, if it’s in the playlist it naturally should be played. That and horrible sync with local music made me just go all “offline” with PowerAmp on mobile and Foobar2000 on pc…
I use Taiga for tracking anime, and it can auto download torrents, my torrent client can auto add torrents downloaded by taiga. For airing stuff I don’t auto download things using taiga though, as it will usually take the first and best torrent it finds, so I opt to just check what’s foud and double click the matches when they are the right version.
Made my own (windows only) to learn programming. Primarily because nothing beats Ctrl-C, Alt-Tab, Ctrl-V, Enter, Alt-Tab to download something. Then profiles, textfile with link support, and parallel downloads since some sites rate limit downloads.
Somewhat crude (don’t ask me how the profile are stored behind the scenes, it’s a mess)
That’s true, i didn’t think about that when I wrote it.
I’m used to the world being pretty simple though, so for me that slash has always just been a visual representation of the location of the branch if that makes sense. We don’t have to have a slash in the branch name, only to use it to represent where that branch is located. It could have been something git only used for presentation.
I never considered branch names to be a vector, but in hindsight it makes total sense when put into a workflow like that.
What possibly surprised me even more, was that branch names weren’t limited to basic characters or at least no special signs. I obviously see the case for all the extended characters outside the latin alphabet, such as Chinese characters, but I totally expected restrictions on special symbols like "
, '
, /
, \
, ;
, etc.
How do you view diffs and merges when you say you don’t use git GUIs? External tool or terminal/command line?
I use Jetbrains IDEs and most of my life has been IDE based git interaction. And I honestly love it, easy access to see my diffs, the most common commit, push and stage(or shelve as Jetbrains does it, which is better than visual studio). Hassle free and available beats writing anything to me.
Skimmed comments, but if you download and manage your music on your own on a machine you can have a super simple setup like I do. All music is synced using Syncthing to my phone. So my phone gets local storage, and then I use Poweramp (android) to play it.
I pretty much have a folder for all the music though. But I assume you can sort music into folders to have them as playlists. But perhaps not as practical as desired.
If you’re so convinced you know best, I invite you to start writing your own filesystem. Go for it.
Dude is seriously missing the point here. It’s not about what, it’s about how.
What’s fun is determining which function in that list of functions actually is the one where the bug happens and where. I don’t know about other langauges, but it’s quite inconvenient to debug one-linres since they are tougher to step through. Not hard, but certainly more bothersome.
I’m also not a huge fan of un-named functions so their functionality/conditions aren’t clear from the naming, it’s largely okay here since the conditional list is fairly simple and it uses only AND comparisons. They quickly become mentally troublesome when you have OR mixed in along with the changing booleans depending on which condition in the list you are looking at.
At the end of the day though, unit tests should make sure the right driver is returned for the right conditions. That way, you know it works, and the solution is resistant to refactor mishaps.
But nothing is forcing you to check exeptions in most languages, right?
While not checking for exceptions and .unwrap() are pretty much the same, the first one is something you get by not doing anything extra while the latter is entirely a choice that has to be made. I think that is what makes the difference, and in similar ways why for example nullable enabled project in C# is desired over one that is not. You HAVE to check for null, or you can CHOOSE to assume it is not by trying to use the value directly. To me it makes a difference that we can accidentally forget about a possible exception or if we can choose to ignore it. Because problems dealt with early at compile time, are generally better than those that happen at runtime.
It can be pretty convenient to throw an error and be done with it. I think for some languages like Python, that is pretty much a prefered way to deal with things.
But the entire point of Rust and Result is as you say, to handle the places were things go wrong. To force you to make a choice of what should happen in the error path. It both forces you to see problems you may not be aware of, and handle issues in ways that may not stop the entire execution of your function. And after handling the Result in those cases, you know that beyond that point you are always in a good state. Like most things in Rust, that may involve making decisions about using Result and Option in your structs/functions, and designing your program in ways that force correct use… but that a now problem instead of a later problem when it comes up during runtime.
If I had a cent every time an artist on patron had their computer die on them and lost works in progress or all their old stuff… I’d afford a few coffees.
I guess I should be happy I applied a work discount, which extended my subscription until Oktober 2026 or something.