cows_are_underrated

joined 2 years ago
[–] cows_are_underrated@feddit.org 126 points 6 hours ago (10 children)

Working outside can be fun. At least AS long AS you dont need that good of an internet connection, have a comfy place to sit in and are at a somewhat dark spot, so you can still see on your screen.

If and only if these three things are all given, than it can be quite nice to work outside.

[–] cows_are_underrated@feddit.org 8 points 6 hours ago (4 children)
[–] cows_are_underrated@feddit.org 32 points 6 hours ago (2 children)

I hate that I know where this comes from.

[–] cows_are_underrated@feddit.org 4 points 8 hours ago (2 children)

Nested parens? Yup, you're on the spectrum.

That could also be because of me being a programmer /s

The same with trans people. I look at this somewhat androgynous person, they look at me and bam, instant friendship unlocked.

[–] cows_are_underrated@feddit.org 3 points 9 hours ago (1 children)

WE still have some time until we reach that level again (in Germany), but we surely will get there.

 

So I have been thinking about this for a while. I Am quite sure, that I am somewhere on the spectrum. Im not sure if Its autism or ADHD or somewhere between. I do observe quite a lot of behaviours in myself that regularly get associated with neuroduvergent people (example: I constantly observe different people to analysis how they act in "social interactions" (or other stuff too), because I kind if don't know what society expects as social norms (etc.)).

Logically the next step would be to go to a psychologist and get tested for neurodivergency. The thing is, that I seriously do not see the use in doing so. I know all the different quirks I have quite good and how to deal with them. I also wouldn't say, that they cause any sort of "day to day problems" for myself. Why should I invest the effort to search for a psychologist (I really should do that, but thats for this shitload of other problems I have) to get tested just so that I have a piece of paper that does not change anything in my day to day life.

That destroyed town north east of goodspring (I forgot which name that town has) also has at least one deathclaw running around.

[–] cows_are_underrated@feddit.org -2 points 3 days ago (1 children)

And for some reason the UN does not fucking about what its supposed to care, AS long AS Its not white people dying in a conflict.

The lack of a strict type system is, what drives me away from python (there is a lot of other stuff I also dont like, but its lack of a type systems is one of the biggest reasons). My first language was Java, which I learned during highschool and while I thought that the strict type system was annoying, working with Python made me realise how much I hate not having a strict type system. In every god damn function you have to manually check for the type you received to make sure everything works as expected.

That worked. Thanks :3

Working with a vector directly would probably be easier, however for a learning experience this was actually great. I read through quite a lot of documentation trying to figure out how I achieve what I want. Might reimplement it with vectors later just for the learning experience.

 

I recently started learning rust, and I was ready for one hell of a fight. I heard all those horror Storys about the compiler complaining about every single detail and that developing rust means having a constant fight with the compiler about seemingly irrelevant things. However, so far I have to tell, that while its somewhat true, that the compiler is somewhat picky, it is incredibly helpful. Never before have I seen such good and helpful compiler messages. It not only says what you did wrong, but also gives direct help on what to do to fix your code. I also really like, that it gives you direct references to the rust book in the compiler messages.

Prior to starting my journey with rust I did quite a lot of python, some C and some bash and their interpreter/compiler messages are nothing when comparing them with rust. Especially the bash error messages are awful if you do not know what they mean and how to fix them.

 

I personally havent really used emacs for organizing, but I really like it for bash coding and writing software documenation in orgmode. I am even starting to get a little bit comfortable at writing my .emacs file but at some point I will have to do a lot of reorganizing and updating and I kind of dont want to do it (I still use .emacs and not emacs.d/init.el and all keybindings still use the legacy global-set-key command).

Apart from the work I am putting into it it is really great, because when I actually get to do stuff I can do so with great efficency. I am even starting to miss my emacs keybinds when not using emacs (especially ctrl-k for killing from your cursor position to the end of the line ctrl-a for jumping to the beginning of a line and ctrl-e for jumping to the end of a line). At this point when I am writing stuff in emacs (as example working on a bash script) I at maximum use my mouse for scrolling.

Fuck, I really did turn into the meme (and I am not even using it for longer than 4-5 months at maximum)___

 
 
 

Someone once told me somewhere, that if I am trying to learn rust, I should learn C first, so that I know how to shoot myself in the foot, learning to avoid doing so, so that the borrow checker of rust doesnt seam to unforgiving (since you somewhat know, what happens if you dont follow best practices). So thats what I did (somewhat) for the past 6 months. I wrote some stuff in C, but mainly I had quite of a deep dive into operating systems (mainly linux), working mechanics of memory and the CPU and a lot more (I will try to make a list of the stuff I learned and the ressources used below). My question to you is, if there are any additional concepts/things I should learn beforehand, to start learning rust.

The (somehwat complete) list of things learned for the past 6 months:

  • Stack Behaviour (Why its so fast, what its used for,....)
  • The heap (why its useful, but dangerous)
  • Theoretical Concepts of threading (Concurrency vs. paralellism)
  • Theory of race conditions (how and why they occur, and some tricks to avoid them)
  • Concepts of Memory allocation on an OS level (Address Spaces)
  • System calls and the separation between kernel and user space
  • Signals
  • Basics of Inter-Process-Communication
  • CPU-Scheduling (CPU-/IO-Bursts, context switches, different scheduling algorithms up to ROund RObin (based on complexity))
  • How loops, conditions and function calls get implemented in Assembly / how the CPU performs these
  • Bitwise Operations

I probably forgot a significant part of the stuff I learned, but its quite hard turning it into a list, without writing a whole book, and trying to remeber everything.
Most of these things are mainly theory, since I havent gotten around to code that much in C. However I definitively have some experience in C. This includes on how to handle pointers, basics of handling the heap, strings (even if I absolutely hate them in C) and some system calls (I played around with sbrk for custom memory management without malloc).

The ressources I used for learning is primarily the YouTube-Channel CoreDumped (I highly recommend), LowLevel and some other ressources, but these were the most helpful ones.

So, feel free to send me down my next rabbit hole before starting rust.

 
88
submitted 1 month ago* (last edited 1 month ago) by cows_are_underrated@feddit.org to c/selfhosted@lemmy.world
 

So, I am soon going to finally set up my first home server. Exams are not that far away, I am motivated as shit, my first own domain is bought and I want to level up my sysadmin skills.

Currently my plans look like this:

  • Host Jellyfin
  • Host my own NAS
  • Some form of hosted musicstreaming integration with my local music
  • Automate Backups and push them on my server
  • make all of the above things available where ever I want using my own self hosted domain.
  • run my own dns

In the long term I also want to be able to host my own webapps, since I will soon start to develop one for someone.

Now I want to know what suggestions do you have, for stuff thats really cool and that I can selfhost.

Edit: thanks for all the replies. Definitely going to look into this.

 

These times may also create some really strong women.

 

I am searching dor some form of software that I can use to watch all the different media I have stored locally, similar to Jellyfin. However the Problem is, that I do not have a dedicated media server (yet), so I am searching for something that I can use like Jellyfin, but that just runs locally. Everything that I have found is aimed at media servers. Do you have any suggestions?

 

So, I just started getting into emacs and now I am curious about what cool features there might be, that I dont even know exist. No matter if its packages or keybinds.

Would also like if someone has some suggestions for using emacs for coding (primarily python and c) and would really appreciate if someone knows how I can set a background image to emacs.

 
view more: next β€Ί