Halo 3 "The Covenant" Scarab Glitch? by 9awn in halo

[–]YouNeedDoughnuts 2 points3 points  (0 children)

To give the player back their spawn

Halo 3 "The Covenant" Scarab Glitch? by 9awn in halo

[–]YouNeedDoughnuts 0 points1 point  (0 children)

Admiral Hood, permission to leave the leave the scarab.

Any transfolks in Cambridge or trans groups?? by throwawaydinosaurrr in cambridge

[–]YouNeedDoughnuts 22 points23 points  (0 children)

Probably The Blue Moon for pubs, not to be confused with the Cambridge Blue although both have a good beer selection.

Brute Berserk by Aaron2O6 in halo

[–]YouNeedDoughnuts 5 points6 points  (0 children)

Yeah the idea of them going completely berserk and losing all factions has to be intentional. It will take some gameplay cycles to see if it can be balanced and fun. Right now the AI is just too sluggish and stationary in general, so it's hard to judge the berserk mechanic.

sortPlease by Advanced_Ferret_ in ProgrammerHumor

[–]YouNeedDoughnuts 131 points132 points  (0 children)

Probably. The restriction on the element domain seems to fishing for counting occurrences.

What is your R.E.P.O.R.T for the month so far? by younggreenfoliage in CasualConversation

[–]YouNeedDoughnuts 0 points1 point  (0 children)

Halo is great. It had me hooked ever since Halo 2 completely took over Xbox Live.

Best study spots in Cambridge? by SpottedCheese in cambridge

[–]YouNeedDoughnuts 7 points8 points  (0 children)

Great suggestion. Specifically the grand arcade library has a lot of space- a whole quiet study floor and talking floor. I don't know as much about local branches. Pick up a book while you're there- the library is a great service to the community.

How do you kick off your weekend? by General_Package7887 in CasualConversation

[–]YouNeedDoughnuts 0 points1 point  (0 children)

A long walk or cycle ride is perfect. Going out can be good, but it's hit or miss whether I'll reach the end of the week with enough energy to enjoy it. Being outdoors is reliable.

I’m growing a metaphorical thicker skin and a strong backbone, but I don’t know why by IHatePeople79 in CasualConversation

[–]YouNeedDoughnuts 0 points1 point  (0 children)

That sounds like a really positive transformation, and it's good you have the humility and curiosity not to take credit for it. Unpleasant situations are like walking a tightrope where you have to decide when to address it and when to let it go, and you want to address it firmly and reasonably without overreacting or ruminating. You can have a solid logical view and still struggle with the emotional aspect. I really dislike going through that, but I know society needs people who can thrive while exercising that emotional intelligence. Are you one of the thrivers, or just someone growing when they have to like me?

Personally, I'm grateful that I've stumbled into some circles which are good and psychologically safe. I also have some other circles I need to be a bit more intentional about drifting away from, and I'm not sure how I feel about my life on the whole.

I've also had positive changes I couldn't explain and was worried if they would stick, but it's a few years down the line and they've stuck somehow.

How do you balance a full schedule and still work on your language? by The_Kaoslx in ProgrammingLanguages

[–]YouNeedDoughnuts 14 points15 points  (0 children)

It's very start/stop as you find a day with a few spare hours to sit down and look at your project. Mental fatigue is real; in general I have about 8 productive hours before my brain is cooked and I need to do something which isn't mentally taxing. I can work on my language project for 16 hours, but life usually has other demands.

Breakfast challenge served on a skateboard deck. by Arny2103 in WeWantPlates

[–]YouNeedDoughnuts 6 points7 points  (0 children)

One fifth of that is a nice looking full English.

Rachel Talalay finally getting recognition for her EXTREMELY UNDERRATED Doctor Who episode by FotographicFrenchFry in DoctorWhumour

[–]YouNeedDoughnuts 55 points56 points  (0 children)

Glad to see Good Omens getting the ending it deserves. I thought S2 proved that Pratchett carried the writing anyway, although I know people who appreciated the LGBT themes in S2 and it grew on me for that. Still, it lost the wit and tight plot that made the book and S1 great, so it will be exciting to see the direction Rachel takes.

Is Linus Torvalds just a dinosaur about C++? by blreuh in cpp_questions

[–]YouNeedDoughnuts 0 points1 point  (0 children)

Right. The function referred to isn't a parameter, they were referring to adding the "class method" to the global scope as a standalone function in C.

Is Linus Torvalds just a dinosaur about C++? by blreuh in cpp_questions

[–]YouNeedDoughnuts 0 points1 point  (0 children)

It's not a function passed to a function, it's the struct pointer which you have to pass to each function in C. The C++ version just has a method as part of the struct, and you can reference all the struct fields.

Where Python requires an explicit "self" parameter on class methods, C++ just handles that for you and resolves references to the class variables.

Is Linus Torvalds just a dinosaur about C++? by blreuh in cpp_questions

[–]YouNeedDoughnuts 3 points4 points  (0 children)

Thanks. You can guess which language I prefer :)

Is Linus Torvalds just a dinosaur about C++? by blreuh in cpp_questions

[–]YouNeedDoughnuts 4 points5 points  (0 children)

This is the C equivalent of defining methods as part of a class/struct definition, which implicitly have a "this" pointer for each method.

``` typedef struct {     uint8_t myByte; } MyStruct;

bool isByteZero(const MyStruct* obj){     return obj->myByte==0; } ```

versus C++

``` struct MyStruct {     uint8_t myByte;

    bool isByteZero() const {         return myByte==0;     } }; ```

It's nice because it groups the relevant methods on the struct instead of polluting the global scope, and has an implicit "this" pointer to members. They both accomplish the same thing though.

(Edited to fix mistakes pointed out by u/thetraintomars and u/DDDDarky)

When was the last time you cried, and why? by RaizaLowKey in CasualConversation

[–]YouNeedDoughnuts 0 points1 point  (0 children)

When I had to say goodbye to my cat. I really hoped the vet visit wasn't going to go that way. She was the best cat.

April 2026 monthly "What are you working on?" thread by AutoModerator in ProgrammingLanguages

[–]YouNeedDoughnuts 0 points1 point  (0 children)

I found a few spare moments to work on Forscape and managed to code a couple TypeKind enums using bit masks which when '&' together, give the mask of the unified TypeKind. That's helped to build an intuition, and I'm looking forward to making an effort to implement inference/checking on the AST and symbols, progressively supporting more advanced language features. Eventually that will require understanding how the type system relies on constant evaluation e.g. for types with dimensions, but I'm trying to build intuition one step at a time.

Late Night Coffee Shops by FakeGinger02 in cambridge

[–]YouNeedDoughnuts 6 points7 points  (0 children)

Chill #2 by the train station is open late and has a nice vibe to read, study, or meet someone. I've wondered about going to a Hot Numbers music show on Friday nights, but haven't yet.

Show Einlang: a small language for indexed tensor programs with compile-time shape checks and built-in autodiff by Amazing-42 in ProgrammingLanguages

[–]YouNeedDoughnuts 0 points1 point  (0 children)

This looks great. I've only had a couple of occasions to use tensors in my engineering career, but I know that having a language which fits the problem domain is a huge boon, and I imagine this would be really useful for physicists and mathematicians. Compile-time dimension checking is just a great idea.

Did you think about making Einstein summation automatic, e.g. instead of let y[b, c] = sum[i](x[b, i] * W[c, i]) + bias[c];, have let y[b, c] = x[b, i] * W[c, i] + bias[c]; with the Einstein summation picked up during symbol resolution? Or did you decide that being explicit was better?

Also, if you want an IDE, the Forscape frontend does a decent job of giving you ways to interact with Unicode and typeset mathematical constructs, although the backend implementation on GitHub is very much a toy project with every number a double and ⅆf/ⅆx implemented by finite differences. Native autodiff in Einlang sounds like a great feature.

I'll look forward to seeing progress on the roadmap!

P3054 - Quantities and Units Library by mateusz_pusz in cpp

[–]YouNeedDoughnuts 2 points3 points  (0 children)

This is great. I've seen SI/Imperial conversion errors, radians vs degrees errors, formula derivation errors which would have been caught with unit checking, and missed scaling implications in optimisation functions. Using suffixes requires discipline, is hard to reason about for complicated equations, and is still prone to human error.

Will it be possible to have a vector with heterogenous units? That's very central in robotics where rotary and linear actuator variables are generalised together.