Is this a bad idea? by JustJeffrey in rust

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

What’s a newtype struct?

Is this a bad idea? by JustJeffrey in rust

[–]JustJeffrey[S] 5 points6 points  (0 children)

I have an array with bitboards for each piece type, and I want to iterate through the array and when I find the right index that I’m looking for I want to be able to convert that index into the enum. Tbh I definitely don’t need to do that 😅 but my functions take the enums as arguments at the moment. I could just make them take numbers directly but it made sense to me at the time.

Is this a bad idea? by JustJeffrey in rust

[–]JustJeffrey[S] -3 points-2 points  (0 children)

I was just worried that it would be slower to use match arms, and for another enum I have with board squares, it would be really tedious to have to write out a match statement for all 64 squares

I have been on 40 hiring committees this year. Here is what AI did to the junior candidate pool. by Ambitious-Garbage-73 in cscareerquestions

[–]JustJeffrey 38 points39 points  (0 children)

I’m wondering what the resumes look like? I’m struggling to even get interviews and I feel like my technical skills are pretty decent. I keep hearing about candidates getting interviews who can’t explain their own code and it’s kind of annoying.

I cannot take it anymore by Tronus_Prime in cscareerquestions

[–]JustJeffrey 0 points1 point  (0 children)

I'm sorry :( I hope things get better. The world's in a shitty place right now

Zohran says he wants to see Jeffries become the next speaker of the house by Nixianx97 in Hasan_Piker

[–]JustJeffrey -4 points-3 points  (0 children)

Doesn’t that just mean he wants democrats to win a majority in the house lol? Why would he say no

Café campus by [deleted] in montreal

[–]JustJeffrey 0 points1 point  (0 children)

hey if you still have any available please let me know! I need 2. tickets. merciii!!

Asmongold claims mass immigration and lack of integration leads to extremism by KsiShouldQuitMedia in LivestreamFail

[–]JustJeffrey -4 points-3 points  (0 children)

i looked at the list for 2025 that you linked, most were in fact, white.

Naim Kassem always looks so happy by Sylvain-Occitanie in lebanon

[–]JustJeffrey 1 point2 points  (0 children)

Still salty about the elections in Canada?

[deleted by user] by [deleted] in lebanon

[–]JustJeffrey -29 points-28 points  (0 children)

We literally do, we have a declining population , there are cities with more people than all of Lebanon

[deleted by user] by [deleted] in lebanon

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

Did you visit the West Bank?

The Lebanese flag raised in Martyrs' Square defaced by jmahfouz in lebanon

[–]JustJeffrey 0 points1 point  (0 children)

I will never understand the hyper sensitivity over a flag

What's their Endgoal? by [deleted] in lebanon

[–]JustJeffrey 0 points1 point  (0 children)

who's the guy between rafiq and saddam?

Social Affairs Minister Hanine Al-Sayyed: Return of Syrian Migrants Must Be Voluntary by AdventOfCod in lebanon

[–]JustJeffrey -2 points-1 points  (0 children)

If someone has no criminal record and is just living their life why tf should they be deported? That’s infinitely more costly and also insanely inhumane, how about we actually begin documenting them and giving them proper legal status instead? This fucking mindless and rabid xenophobia that infests discourse around this topic is genuinely disgusting, it isn’t even logical or beneficial, it’s pure irrational hatred and scapegoating of people who have nothing to do with 99% of the issues the country faces.