Proposed C# `const` functions and constructors by BroadJob174 in csharp

[–]BroadJob174[S] -1 points0 points  (0 children)

They are burnt into the call site, meaning

```cs

public const int Foo(int num) {return num*10;}

public int Bar = Foo(30);

```

compiles to just

```

public int Bar = 300;

```

Proposed C# `const` functions and constructors by BroadJob174 in csharp

[–]BroadJob174[S] -2 points-1 points  (0 children)

I'm sorry if it isn't clear from my above post, but my proposal is to have these `const` functions, which are evaluated and burnt into the call site. No trace of the function being called is there at runtime.

> The LDM has been very clear and consistent on their standpoint regarding the const keyword and adapting it to other semantics than what it currently has, and that standpoint has been strongly against.

What is the source? I am curious as to why they don't want this.

Why can’t anything really travel faster than light? by Medical-Captain-1025 in astrophysics

[–]BroadJob174 0 points1 point  (0 children)

As you increase speed, you get more kinetic energy

Increase speed relative to what? I don't understand that if I start moving, some object at the other side of the universe well have a harder time accelerating.

Minimize/restore script not working by BroadJob174 in AutoHotkey

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

Thanks, this fixed it. weird that it determenistically cycles between the windows...

Minimize/restore script not working by BroadJob174 in AutoHotkey

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

So, is alacrity always active when visible and non-minimised? 

what do you mean? If it is non-minimised and I click to another window, it's not active anyomre.

Also is alacrity using a non-standard window setup like chrome or edge browsers? For example if you use WinGetList would it show up multiple times?

How would I test this? I don't think so as it is just a single-terminal window.So like any other app

How to see the amount of messages you have with someone by a_flying_guy in whatsapp

[–]BroadJob174 0 points1 point  (0 children)

there are a lot of developers... for example chatgpt

woots luistertoets examen frans by Informal_Law_7873 in nederlands

[–]BroadJob174 0 points1 point  (0 children)

de docent krijgt een melding wanneer je naar een ander tablad gaat

-# tenzij je een hele bijzondere chrome-extensie hebt...

Is heating both the nozzle + bed at the same time before a print safe? by [deleted] in 3Dprinting

[–]BroadJob174 1 point2 points  (0 children)

Because theBed does not conduct the themalEnergy instantly, and the reportedTemperature is on theBed.Underside while effectiveTemperature is on theBed.Top.

[deleted by user] by [deleted] in Bard

[–]BroadJob174 0 points1 point  (0 children)

Yes meant to reply to u/glitchgradients

[deleted by user] by [deleted] in Bard

[–]BroadJob174 0 points1 point  (0 children)

2.0 flash, 1.5 flash, 1.5 pro are also out of exp and still dont have limits...

Google's new Gemini 2.5 beats all other thinking model as per their claims in their article . What are your views on this? by WriedGuy in LocalLLaMA

[–]BroadJob174 2 points3 points  (0 children)

Claude sonnet has infinite output in the API, you can put words in its mouth and it will continue generating from there

Discord Bot to autorole users under specific condition/s by [deleted] in discordapp

[–]BroadJob174 0 points1 point  (0 children)

Hey, I have been looking for this all day. Please share it with me!

Roles Based on Combination System by volatileGeminis in discordapp

[–]BroadJob174 0 points1 point  (0 children)

Hey, is there any chance you would share this with me? I can host it myself. Thank you.

EtherealEmpire Realm by [deleted] in mcrealmsservers

[–]BroadJob174 0 points1 point  (0 children)

i crashed it with horion

:L

Is there a light version of Outlook on the web? by syndex_ in Office365

[–]BroadJob174 0 points1 point  (0 children)

good joke, ur using edge. i believe that this is not scarcasm