FubarCoder

u/FubarCoder



r/TheTowerGame•

I was thinking about researching armor effect ban level 1 to get rid of the def abs sub stat, because it gets selected for almost every reroll. Is that a good idea or does it cause side effects I didn't think about?

89

r/TheTowerGame•

I'm currently torn whether I should put my stones into GT or unlock SM instead. I currently tend to bolstering GT, because it's still quite underdeveloped. SM look tempting especially when I look at the SM event missions (looking at mission requiring a bazillion hits on the same enemy).

13

r/TheTowerGame•

The recent PS change caused a massive regression for me due to having only 1 stun per enemy every 100sec (waves down by 5-10%, coins down by 20-50%, cells down by 20-30%). The sole reason for this regression is the number of times an enemy can get stunned, because we only have one swamp with only a single stun per enemy.

My suggestion to fix this is to introduce a new lab to increase the max number of stuns/enemy.

Additional changes to make this lab worthwhile might be stun chance per damage tick and that only successful stuns get counted towards the maximum of stuns/enemy.

2410

r/TheTowerGame•

Warning: Wall of text

Everybody knows how annoying it is to fight against stone farming "tourists" from higher tournament tiers. Here are some suggestions:

Disallow dropping to a lower tier

The copper and silver tiers are protected since v0.25.0. Expand this protection to all tiers.

Put stone/diamond farmers into the same tier

When a player drops down to a lower tournament tier, put this player into a tournament consisting only of players who also dropped down to the same tier. When there aren't enough players for the "farmer" tier, reduce the rewards accordingly.

Never let a player drop below (max. reached tie

07

r/letsencrypt•

Just some background information:

We're having our own root CA certificate, but several linux machines and certbot is my tool of choice to automate certificate update/installation for sites delivered by NGINX. We're mostly Windows-centric and therefore have a Windows server that also acts as DNS. Now, I had to use the dns-01 challenge, because I wanted to enable GitLab pages, which requires a wildcard certificate, but I was unable to find a manual-auth-hook for our use case.

This is something I put together yesterday:

https://github.com/FubarDevelopment/certbot-dns-windows

It's a PowerShell script, which uses remoting to issue

31

r/thedivision•

When I'm at the entry of a mission area, I have the choice to search for a group. Whenever I do this, I get requests to join other peoples groups. After accepting this request, I'm usually together with the other person at the White House.

I think that's not the way it's supposed to work. In TD1, a group was formed automatically and every new member was ported to the mission area.

11

r/typescript•

Hi,

I have a coworker that has problems understanding types and produces code like this:

enum Gender {
  Male,
  Female,
  Other
}

class Person {
  name: string;
  sex: Gender;
}

function getPersonWithGenderAsText(person): Person {
  person.sex = Gender[person.sex];
  return person;
}

let user = {
  name: "Somebody",
  sex:  Gender.Female
};

function doSomethingWithPerson(person: Person) {
  // person to be used here
}

doSomethingWithPerson(getPersonWithGenderAsText(user));

He wanted to show the persons gender as text, but the hacky code with getPersonWithGenderAsText is obviously the wrong thing to do.

What can I do to help this person avoiding this kind of code? For me,

212

r/KeybaseProofs•

Keybase proof

I am:

Proof:

hKRib2R5hqhkZXRhY2hlZMOpaGFzaF90eXBlCqNrZXnEIwEgzw8r9UNkgf52rzRvRi58HZVQHJWNST0IrHjqND7/r8cKp3BheWxvYWTFAvF7ImJvZHkiOnsia2V5Ijp7ImVsZGVzdF9raWQiOiIwMTIwY2YwZjJiZjU0MzY0ODFmZTc2YWYzNDZmNDYyZTdjMWQ5NTUwMWM5NThkNDkzZDA4YWM3OGVhMzQzZWZmYWZjNzBhIiwiaG9zdCI6ImtleWJhc2UuaW8iLCJraWQiOiIwMTIwY2YwZjJiZjU0MzY0ODFmZTc2YWYzNDZmNDYyZTdjMWQ5NTUwMWM5NThkNDkzZDA4YWM3OGVhMzQzZWZmYWZjNzBhIiwidWlkIjoiNTA3YmMwZTQ0OTg0OTBlZDU0NjRjYjQzMmZkMThhMTkiLCJ1c2VybmFtZSI6ImZ1YmFyY29kZXIifSwic2VydmljZSI6eyJuYW1lIjoicmVkZGl0IiwidXNlcm5hbWUiOiJmdWJhcmNvZGVyIn0sI
10

r/rust•

Hi,

I'm currently trying to learn Rust and I have a problem with the following code:

#[derive(Debug)]
struct Test<'a> {
    t: &'a i32,
    v: Vec<i32>
}

fn main() {
    let v = vec![1, 2];
    let t = Test {
        t: &v[0],
        v: v
    };

    println!("{:?}", t);
}

I want to achieve that t is a reference to an element of v. How can I do this? The code above doesn't work, because Rust doesn't accept the above code with the following error:

error[E0505]: cannot move out of `v` because it is borrowed
  --> src\main.rs:11:12
   |
10 |         t: &v[0],
   |             - 
516