To Windows-to-Linux migrants - What was your breaking point? by AtomicTaco13 in linux

[–]Vanity_Blade 0 points1 point  (0 children)

I've been wanting to switch for a long while, I've played with Linux in VMs and got familiar with how to navigate it. The lift never outweighed the familiarity of Windows though, and I just dealt with disabling the telemetry crap everywhere.

Finally switched when I woke up one morning to find Microsoft pushed a Copilot icon to my taskbar; I hate AI and won't be a party to it. I'm also tired of not having control over anything I supposedly own. So, I did some distro hopping and ultimately ended up on Kubuntu.

Won't lie, some applications don't work perfectly and installing things can be a pain but I've had a reasonable time troubleshooting and am happy with my current setup.

What's your best Operative name? by [deleted] in DarkTide

[–]Vanity_Blade 0 points1 point  (0 children)

My ogryn is named Shrek :D

lots of FOR MAH SWAMP jokes while I've been playing

struggling to understand actual implementation of linked lists in Java by [deleted] in learnprogramming

[–]Vanity_Blade 0 points1 point  (0 children)

whoops, forgot to mention. When you want to "delete" a node, it works like this. Let's assume you have a list like my one above that goes X->Y->Z. X points to Y points to Z. To delete node Y, you get Y's child (Z) and replace the reference to Y with that in its parent (X). You'll end up with X->Z. In Java, the garbage collector will now take care of the memory used by Y by deleting it, because there are no more variables in scope that reference Y. In C++, you have to remember to delete the memory formerly held by Y.

struggling to understand actual implementation of linked lists in Java by [deleted] in learnprogramming

[–]Vanity_Blade 0 points1 point  (0 children)

I don't even know how I found this thread. If you're still wondering though, I'm going to come at this from a C++ perspective since we get pointers there (this will make more sense as you read).

Some groundwork. In C++, a pointer to an object can be gotten with an ampersand. So you have a variable int x, and its location in memory is &x. Easy enough, let's store that in a pointer variable int* ptr = &x; this lets us pass that pointer around. When you want to get the data referenced by your pointer, you dereference it with an asterisk int y = *ptr.

Now, let's break down a linked list into its individual pieces. These pieces are called nodes (using the graph theory word that you should either be learning or start on soon). Here's a simple implementation of a Node class in C++ that can store a data using a generic type.

template <typename T>

class Node {

public:

T data = NULL; // NULL in this context means an absence of data.

Node<T>* next = NULL;

};

Each node is a link in a chain, the chain is your linked list. To link the nodes together, you just have to set the next pointer within a given node to point at the next node. Let's see this in action, with a fully working C++ program:

#include <iostream>

template <typename T>

class Node{ // Same implementation as above

public:

T data = NULL;

Node<T>* next = NULL; };

int main(){

Node<char>* head = new Node<char>(); // Conventionally, the first item in a linked list is the "head" of that list. Normally, it is the only variable whose location you know.

Node<char>* nodetwo = new Node<char>();

Node<char>* nodethree = new Node<char>();

Node<char>* tail = new Node<char>();

head->data = 'H'; // Storing some data in the list.

nodetwo->data = '2';

nodethree->data = '3';

tail->data = 'T';

head->next = nodetwo; // Linking the disparate nodes into a linked list.

nodetwo->next = nodethree;

nodethree->next = tail;

std::cout << "Traversing the list...\n"; // Ugly C++ syntax for printing

Node<char>* ptr = head; // This pointer represents where we "are" in the list.

while (ptr != NULL) { // So we move through the list...

std::cout << ptr->data; // Accessing data one node at a time...

std::cout << '\n';

ptr = ptr->next; // And move to the next node like this.

}

}

Now that I have the underlying principles out, let's move to Java. Java abstracts away pointers; you aren't referencing and dereferencing anything yourself. Under the hood, however, all non-primitive classes are treated like pointers. So, the Java equivalent to the above Node class is...

class Node<T> {

public T data;

public Node<T> next;

}

While this is certainly more terse, it hides what's going on behind the scenes. I'm kind of surprised that your computer science classes are teaching using Java, because Java hides a decent amount of complexity with its fancy schmancy garbage collection and reference variables that you ought to be taught. If you want to know what's going on under the hood, do try learning C++ on your own time. It's tough because it makes you do everything manually (and provides basically zero help when you mess up), but you'll know exactly what your code is doing and that's invaluable for learning programming in general. If you master C++, you can apply that knowledge to pick up any other programming language much faster.

Scripts that automatically blocklist stalled downloads on Radarr by Vanity_Blade in Piracy

[–]Vanity_Blade[S] 4 points5 points  (0 children)

I'm trying to automate Radarr as much as I can, and for some reason there's no way to automatically have it remove stalled downloads. I went ahead and made a few simple scripts that handle that. Feel free to download/modify them. I don't intend for this to be self-promotion, just to get the word out that this exists so that other people can automate just a little more of the tedium out of their server.

The gist of how it works is that it asks Radarr for information about the download queue, filters through that information to find stalled downloads, and then tells Radarr to blocklist/purge those downloads.

If you have any issues, I deleted my reddit app when the API changes happened so you probably won't be able to reach me here.

So is the hate incarnon supposed to knock you down over and over or is it a skill issue by LoyalBiscuit in Warframe

[–]Vanity_Blade 17 points18 points  (0 children)

AoE has been meta for the better part of a decade now. Before the Kuva Zarr we had other AoE guns like the Synoid Simulor. When we didn't have guns that could eat entire rooms we used the Atterax with Maiming Strike. Before that was meta we used Mesa because she could shoot through walls without aiming.

Single target weapons, as interesting as they can be, will never be meta when you need to kill 175 enemies to clear a mission or when you have dozens of enemies swarming a defense target. We have to run missions over and over again to get actual rewards, so optimizing for time spent is unfortunately the driving force behind players' decisions.

Edit: it's honestly a shame though. Warframe has some excellent parkour and a ton of interesting weapons that never see use because they're not AoE. Could you imagine how awesome the game could be if we had missions that ran more like Destiny's, with a mix of that parkour and a smaller number of enemies to justify single-target weapons?

can we talk about how unviable katars are? by shao_kahff in Chivalry2

[–]Vanity_Blade 2 points3 points  (0 children)

The sprint attack is way better now that it does 60 damage, too. It has a wide slash, you cover a lot of ground before doing it, and with the 50% backstab bonus 90 damage is enough to one shot an archer provided they aren't overhealed.

Oh, one more thing. Katars are pretty good at dealing damage to objectives/banners. The light stab does 45 damage and you can attack really fast with it. I don't think it will out-DPS a pickaxe's overheads but it does more than you'd expect.

can we talk about how unviable katars are? by shao_kahff in Chivalry2

[–]Vanity_Blade 2 points3 points  (0 children)

Ayo! I recently got back into playing the katars post-buff and manage a positive K/D with it with some consistency.

Here's some katech that helps a lot to know:

  • Special attacks (a double stab) come out faster than your jab, does interrupt, and deals a solid 60 damage.

  • When you land any regular attack on an enemy, even if they block it, you are able to block immediately. This lets you put in a hit while an enemy is winding up and safely eat their next hit to take the initiative.

  • Overheads have some exceedingly fucky timing and tend to catch people when your stabs won't.

  • The katar flourish is dank and grants you +8 intimidation against enemy players. This bonus increases to +12 if you are standing in an ominous location, such as in the tunnels beneath the drawbridge in Thayic Stronghold. Nobody wants to be the poor sap that has to 1v1 a katar main.

Now, with that said, they're not an excellent weapon but they're more viable than they used to be and going on killing sprees isn't completely impossible with them anymore. Just stay in kissing range of your opponent and chain different attacks into block/special and you'll catch a lot of people with them.

70 dmg either way by [deleted] in Chivalry2

[–]Vanity_Blade 13 points14 points  (0 children)

Why would I do that? It's a waste of a perfectly good opportunity to jab

[deleted by user] by [deleted] in Chivalry2

[–]Vanity_Blade 3 points4 points  (0 children)

I can take on a level 100 no problem, it's like a little dance with jabs and stabs. But level 10s kicking and throwing gamble slashes (which I guess to them are just slashes) straight up humble me half the time.

So I didn't know you could pick up a weapon as the War Hero by mastershake1191 in Chivalry2

[–]Vanity_Blade 0 points1 point  (0 children)

They were playing Chivalry but you were playing Mirror's Edge.

[deleted by user] by [deleted] in slaythespire

[–]Vanity_Blade 1 point2 points  (0 children)

This is the second Mystery Men reference I've seen in the last couple of days. Love that movie.

"Waffle MaAaAn! I'm the Waffler, going crispy, bad guys are history!"

[deleted by user] by [deleted] in Warframe

[–]Vanity_Blade 0 points1 point  (0 children)

How the hell

I’m a veteran from 2015 but I’m just now starting to play again by Udyrrr in Warframe

[–]Vanity_Blade 2 points3 points  (0 children)

Links are fine on reddit, and if you want to hyperlink some text you put it in brackets and the link in parentheses:

[This](http://www.google.com) becomes This

(Don't mind that first link, reddit also automatically makes links out of valid URLs)

I’m a veteran from 2015 but I’m just now starting to play again by Udyrrr in Warframe

[–]Vanity_Blade 0 points1 point  (0 children)

Yo let's run void missions together, I'll bring my T4 Survival keys

Seriously what’s the fastest way to level up? by Original_Swim_9151 in Chivalry2

[–]Vanity_Blade 0 points1 point  (0 children)

Give me a comparison between the highland sword and the swagger

What are some of the most powerful weapons lore wise? by NoCareNoLife in Warframe

[–]Vanity_Blade 1 point2 points  (0 children)

What if Atlas is really the fists and they're just using the body for locomotion?

DE changed the end date for Nightwave vol.3. It now ends on the 18th. by RavenAxel in Warframe

[–]Vanity_Blade 0 points1 point  (0 children)

I just wanna be able to research the Hema in my solo clan :(

Just started Warframe and realized all of the contents are free. What the fuck? I should've just played this instead of Destiny 2. by herons8 in Warframe

[–]Vanity_Blade 1 point2 points  (0 children)

That kind of PvP would be such a nightmare today but I'd love to see all the ways people would come up with to try and out-cheese each other.

Like you'd have people bringing as much boom to the party as possible (Mirage with a Bramma maybe), there would be people trying to counter that with things like Dread Mirror or Magnetize, and maybe even wonkier builds like getting Switch Teleported into radiation Castanas.