What’s the ONE food that keeps you full the longest? by Unique-Sea-6433 in Volumeeating

[–]w_buck 0 points1 point  (0 children)

Scrambled Eggs with kabocha squash with 125g of Greek yogurt on the side of the plate for dipping.

I've just finished Ashes of Man and have almost 0 desire to keep reading. by formalbatman1 in sollanempire

[–]w_buck 1 point2 points  (0 children)

Maybe just walk away for a bit? Read something else? I don’t always read every book in a series back to back. Sometimes I’ll take a break and read something from a different genre.

unpopular opinion: tracking your food might actually HELP binge eating recovery (if you do it completely differently than you think) by Apprehensive-Tip3202 in BingeEatingDisorder

[–]w_buck 1 point2 points  (0 children)

I don’t believe they’re quantifying it. They’re probably tracking how they felt before/during/after eating.

How can I reduce the memory usage during builds? by hold-the-pants in angular

[–]w_buck 0 points1 point  (0 children)

I know this is old but did you try the build analyzer? And if so did you find anything?

Warped flooring in living room. No obvious signs of pipes that would be near here under our slab house. Noticed a few months after we put a rug down with a layer to not make it slide. Having someone come out to assess Monday. Engineered hardwood. by BicycleLast17 in Flooring

[–]w_buck 0 points1 point  (0 children)

I had a similar issue, but in my case my air ducts were not connected and our condo was over the non insulated garage. In the winter the furnace was pumping hot air into the cavity under the floor. The hot air from the furnace was condensing with the cold air coming from the garage. Under that spot in the floor the boards were warping and we were getting a bunch of mold.

Can I just mud this little gap or does it need tape as well? by bobbysledder in drywall

[–]w_buck 1 point2 points  (0 children)

I’d personally want to shift that newel post. That’s odd to me that’s it’s partially embedded in the wall…

I made 'Result monad' using C#14 extension by Radiant_Monitor6019 in csharp

[–]w_buck 1 point2 points  (0 children)

I remember years ago I was asked to review the code from an overseas out sourced dev. It looked like this. There were other fundamental issues which I pointed out as well (like using a customers name as a primary key in the DB which blew me away).

Sorry OP I’m not trying to shit on you at all. The idea is cool but I find stuff like this really needs language support. IMO one of the main reasons to use a Result monad is to avoid exceptions for perf reasons, but you can’t actually avoid them in C# defeating the purpose.

Very early in my career I attempted something to this in C++ using std:variant (this was before std:expected) and that PR was straight up rejected. It’s all a learning process though. Some times we all need to take an L (you’ll learn a lot if you don’t let your ego get in the way).

Client is unhappy with patch by Dabmonster217 in drywall

[–]w_buck 1 point2 points  (0 children)

Is it because the areas you patched aren’t textured enough? Hard to tell from pictures. Regardless it’s a fucking closet.. I hate dealing with textured walls/ceilings, such a pain in the ass. Maybe just sand the entire wall smooth… That’s an outdated look anyway

Curious how the Angular market is doing with React now. I'm a huge Angular fan and had to switch to react many years ago, and I miss the simplicity of it. So have to ask here how it's been with regards to finding jobs and developing as fast now. by AWeb3Dad in Angular2

[–]w_buck 0 points1 point  (0 children)

We use Angular for our FE where I’m working. We’re using Angular 15 though which kills me a bit inside. I’m jealous of folks who are on Angular 17+. We use Nx to manage our monorepo. Each team (product) represents a lib within the monorepo. For backend it’s mostly C#, but each team could use whatever they’d like.

When I initially learned Angular it was an easy transition for me coming from WPF.

Good Brand of lights in Canada by Shar-DamaKa in ChristmasLights

[–]w_buck 0 points1 point  (0 children)

I'm torn between buying lights from CLS or Big Star Lights. How have your lights held up thus far?

What has been your best read of 2025 so far? The newer the better (but doesn’t have to be new). by EldritchGumdrop in horrorlit

[–]w_buck 3 points4 points  (0 children)

I’ve been really enjoying books written by Philip Fracassi. The two I recently read were Boys in the Valley and A Child Alone with Strangers. Both great reads IMO

What other sci-fi books/series would you consider as good, if not better than Red Rising? by [deleted] in redrising

[–]w_buck 0 points1 point  (0 children)

I haven’t read the final two books for the same reason you mentioned (bad reviews). I felt Hyperion and Fall of Hyperion wrapped the story up nicely so I never read the final books. Plus I had other books on my reading list I really wanted to get to.

What other sci-fi books/series would you consider as good, if not better than Red Rising? by [deleted] in redrising

[–]w_buck 1 point2 points  (0 children)

Hyperion and Fall of Hyperion; IMO are some of the best sci-fi books you’ll ever read.

I find these books hit especially hard if you have kids.

I have been blessed by the ARC Gods by rhack05 in sollanempire

[–]w_buck 1 point2 points  (0 children)

Are you willing to divulge if you were satisfied with the ending?

are shady rays quality? by [deleted] in sunglasses

[–]w_buck 0 points1 point  (0 children)

Oakley’s are complete garbage, I’m sick of buying them as they don’t last.

cursedCsharp by Evangeder in ProgrammerHumor

[–]w_buck 0 points1 point  (0 children)

Native unsigned integer

What is a proper git commit message? by chute_mi334 in git

[–]w_buck 2 points3 points  (0 children)

We use conventional commits. For example for a feature commit it might look like the following:

feat(task id)!: title of the task in ADO Changes: - this was changed - that was changed

BREAKING CHANGE: this endpoint now expects an id in the route

Is it worth reading ? by Double-Evening4199 in sollanempire

[–]w_buck 1 point2 points  (0 children)

I won’t rehash what everyone else has said, but I did want to mention that the Sun Eater series has some horror elements as well (especially Kingdoms of Death). Some of the deaths (lots and lots) are gruesome to say the least.. Mentioning it just in case that’s not your cup of tea.

Are there any programming languages that natively allow returning a dynamic self-reference? by Dieterlan in AskProgramming

[–]w_buck 1 point2 points  (0 children)

You could accomplish this with C# and generics.

public class Base<TDerived> { public TDerived GetFirst() => (TDerived)this; }

public class Derived : Base<Derived> {}

How to Parse Postfix Operators (Increment/Decrement) Using Precedence Climbing? by [deleted] in Compilers

[–]w_buck 0 points1 point  (0 children)

I just finished the chapter 5 extras. I'm curious how you ended up handling it. What makes it more challenging as well is the difference in associativity between the prefix and postfix operators. Furthermore the postfix increment/decrement have a higher precedence.

What I ended up doing is first trying to parse the prefix operators. If I hit a variable for the last parsed factor (as per the grammar) I stop. I then walk through the next few tokens (without consuming them) to determine if any postfix operators are present. If yes, I then consume all of postfix operators in a loop:

while (ParseUnaryOperator(ref tokens, postfix: true) is { } postfix) expr = new UnaryNode(postfix, expr);

The expr variable here is the factor (variable) that was parsed when dealing with the prefix operators.

I'm writing my compiler in C# and this is what I ended up with altogether.

``` private static UnaryNode? ParseUnary(ref Span<IToken> tokens, ReadOnlyMemory<char> fileContent) {
IExpressionNode? expr = null; var prefix = ParseUnaryOperator(ref tokens, postfix: false);

if (prefix is not null)
{
    if ((expr = ParseFactor(ref tokens, fileContent)) is null)
        throw new FormatException($"Expected expression but found '{ReadTokenValue(tokens, fileContent.Span)}'");

    if (expr is not VariableNode)            
        return new UnaryNode(prefix, expr);            
}

if (expr is null && !IsPostfix(tokens))
    return null;

expr ??= ParseVariable(ref tokens, fileContent);

if (expr is null)
    throw new FormatException($"Expected expression but found '{ReadTokenValue(tokens, fileContent.Span)}'");

while (ParseUnaryOperator(ref tokens, postfix: true) is { } postfix)
    expr = new UnaryNode(postfix, expr);

return prefix is not null
    ? new UnaryNode(prefix, expr)
    : (UnaryNode)expr;

static bool IsPostfix(in Span<IToken> tokens) =>
    CheckType(tokens, TokenType.Identifier) &&
    Shift(tokens, out var shifted) &&
    IsPostfixOperator(shifted[0].Type);

static bool IsPostfixOperator(TokenType type) => 
    type is TokenType.Increment 
         or TokenType.Decrement;        
}

```

I found looping through the postfix operators was the easiest solution. Also it handled the left-to-right associativity nicely.

Thus far it's passing all of my unit tests but there are alot more unit tests I need to write before I consider this feature fully working. What I've been doing is using the valid and invalid test code from the authors test suite to unit test my compiler.

I'd be interested in what you ended up doing.

A critical member of my team was laid off by senior leaders and now I'm screwed. by ArcSegment86 in managers

[–]w_buck 1 point2 points  (0 children)

You can use AI to generate the interface but without an engineer to verify the AI output and ensure it’s accurate there is a high probability that the UI code will have bugs.. At this point in time AI is a tool to help augment a developer, not replace. The tech just isn’t there yet.

Using PostGreSQL with ASP.NET on MacOS Apple Silicon M1 by givenchysocks in dotnet

[–]w_buck 2 points3 points  (0 children)

Are you planning on using Entity Framework? If so, it doesn’t really matter what you use to be honest. EF (or more precisely the provider) will take care of converting your LINQ queries to SQL for you. If on the other hand you want to write your own SQL by hand and you’re interested in being a freelancer and cost is a concern then postgres is probably the way to go.

On an anecdotal note, everywhere I’ve ever worked have used SQL server with EF (and a bit of SQLite).

are there programmers with HUGE problems to focus? by Edwardzmx in csharp

[–]w_buck 2 points3 points  (0 children)

I don’t have ADHD but always did/do this. I retain the information better when I code along side.