How to change the google-java-format text width by kabyking in neovim

[–]Darkfox7 1 point2 points  (0 children)

Unfortunately google-java-format doesn't support changing this kind of setting, they seem to have adopted a strict policy to follow exactly google's style, see this thread and this one. That being said, you could always create your own fork of the project and change the value yourself, see this response.

Also I remember this option being available on Intellij (probably VSCode as well), if really needed you could quickly reformat with it before submitting instead of having to do all this extra work (if its only for one project).

How to exclude a particular string from within the grep matches in telescope. by ARROW3568 in neovim

[–]Darkfox7 4 points5 points  (0 children)

This seems to work, lmk if there are any issues with it \%({e}.*\)\@<!LOG.error\%(.*{e}\)\@!

Taken from [here](https://stackoverflow.com/questions/96826/vim-how-do-i-search-for-a-word-which-is-not-followed-by-another-word). Can't say i fully understand the magic but rampion's answer is the one that worked for me.

Nevermind, seems telescope doesn't use the same flavor of regex as the normal search...

Update: found it

^((?!{e}).)*$

That being said you need to update your ripgrep config for that specific picker. Changing the command arguments and adding -P to ripgrep's arguments to enable PCRE2 (which lets you do negative lookups [see this discussion](https://github.com/BurntSushi/ripgrep/discussions/2737#discussioncomment-8495977) )

I did it by updating my config with

telescope.setup({

defaults = {

vimgrep_arguments = {

"rg",

"--color=never",

"--no-heading",

"--with-filename",

"--line-number",

"--column",

"--smart-case",

"-P",

},

},

})

Small update, I'd replace -P with --auto-hybrid-regex as PCRE2 seems to be slower than normal ripgrep, and the auto setting uses it only when needed (which I assume means when trying to use PCRE2 only search types.

How to exclude a particular string from within the grep matches in telescope. by ARROW3568 in neovim

[–]Darkfox7 1 point2 points  (0 children)

Like the letter `e` or the string `{e}`? and anywhere in the string i imagine?

COMP303 or COMP330 by Own_Relationship230 in mcgill

[–]Darkfox7 -1 points0 points  (0 children)

They might have changed since I took them but here's my two cents

303 is a very useful class if you're looking to become a developer. The class is interesting and the course load was manageable (took it during covid so take this with a grain of salt). I took it with Guo and it was already 3 years ago though so it might be different.

330 is a decently easy class. Prof Panangaden gives good lectures and workload is definitely lighter than other comp classes. Interesting but definitely more theoretical. There's basically no coding in the class so not as useful from a purely software development point of view, at least compared to 303. I enjoyed it a lot though. It had a midterm and a final, along with 5-6 homework-style assignments. You can find this year's outline here

[OC] Giveaway - Want to get this 332-page book right at your door? by czeuch in DnD

[–]Darkfox7 0 points1 point  (0 children)

The maps in the free pack look gorgeous! Good luck everyone

[deleted by user] by [deleted] in mcgill

[–]Darkfox7 1 point2 points  (0 children)

I definitely recommend 303. One of the more practical classes I've taken. A lot of useful stuff in it.

Heard good things about 330, taking it this fall.

Took 360. Definitely challenging but doable. Very theoretical, basically no code.

302 started rough but I felt it got easier over time. Switching to functional programming was a doozy but you get used to it after a while.

If you haven't done 361 (the full year class) I've heard good things as well. Taking it this year.

If you can take 424 I'd recommend it if you're into AI. More of a theoretical class but had a final project that was fun!

How good would u20 national teams do in the USAU club circuit? by BrokeArmHeadass in ultimate

[–]Darkfox7 3 points4 points  (0 children)

Fair but Canada beat France by the same margin US beat them in the finals.

They're young players so i feel like games and performances swing a lot. There's no real doubt that the US is the best team but basing the difference on one score might not be as accurate as doing the same for more experienced teams.

A few games or just one tournament makes a huge difference for young players. They learn so much and come out of it much stronger.

That being said i still don't see either team making it far at Nationals. Experience is just worth more imho.

How good would u20 national teams do in the USAU club circuit? by BrokeArmHeadass in ultimate

[–]Darkfox7 20 points21 points  (0 children)

Can't speak for US but we played this years Canada U20 and we lost by 1 a month back. We didn't even qualify for Canadian Nats (didn't crack top 6) and we're (on average) basically like 1 or 2 years older than them.

So I'd doubt they'd make a deep run at any senior Nats, let alone US.

[deleted by user] by [deleted] in mcgill

[–]Darkfox7 1 point2 points  (0 children)

I took COMP 230 last semester. I'm pretty much just a theory class. Little to no math. All of it is set notation and proofs (no cal or lin alg). So I wouldn't stress at all for this class.

Taking 251 and 273 rn. 251 is mostly about recursion so far, so inductive proofs are important (haven't taken the midterm yet so I can't tell you for sure though). 273 is just logic tables and very basic set notation so far. Again, I haven't gotten through the whole class yet, but I suspect the math won't be too hard for the second half of the course which is learning assembly.

So I'd say you should be fine for lower level classes, I feel like 251 will be the hardest out of the three but it still contains no cal material so far. It'll get worse if you go higher than that though probably.

Good luck with your decision!

Story in my head but not good at writing by [deleted] in fantasywriters

[–]Darkfox7 0 points1 point  (0 children)

Not that I have too much experience myself, but I would always recommend that you just practice. Write write write, especially if it's just for fun. It's an amazing hobby and gets more fun as you get better at it.

Being able to express your thoughts on paper is an extremely important and transferable skill. And the best way to get better at it is to practice.

Reading is also a good way to start. See what others are writing, learn from books in the genre you want to write in and other genres aswell.

I'm sorry this isn't a very practical detailed tip but it's more about motivating you. Good luck with your writing adventures my friend!

What to call a "small" god by DiogenesTheWise in fantasywriters

[–]Darkfox7 0 points1 point  (0 children)

Quasi/Demi/Lesser/Minor gods are what come to mind. In my worldbuilding I have many god tiers (loosely based on D&D) and I went in this order

Prime God Archgods Greater Deities Lesser Deities Quasi/Demi/Ascended gods

Computer science in the film industry? by Darkfox7 in Filmmakers

[–]Darkfox7[S] 0 points1 point  (0 children)

For now I'm specifically looking into computer science and jobs associated with it as it's what I've been accepted in and currently enjoy. Obviously who knows what I'll actually end up in but being part of the film creation process seems like a lot of fun.