« first day (3451 days earlier)      last day (590 days later) » 

00:06
should this one be re-opened? it has been substantially been updated since the close stackoverflow.com/questions/76052746/…
@RyanM just intuition. I can be wrong :)
Thought I was added a while ago.
00:42
Privileges are per room. Even if you have privileges with Charcoal you may not have them in this room.
 
2 hours later…
03:08
I have flagged this question () as a duplicate, but one of the answers differs sufficiently from the answers to the target duplicate, that I’m doubting my belief.
Does anyone have any opinion on it? Is it a correct target duplicate?
03:42
@Andreasdetestscensorship It's about comparing types, which in a statically typed language like C, would be done at compile time, and not dynamically with function/variable/type names in the form of strings, which is what comes to mind with reflection.
03:55
@user16217248 The question doesn’t specify if it’s at runtime or compile-time. There’s nothing about «comparing types» that binds it to being a compile-time construct. In other languages, such as Swift, Java, C#, Python, etc, the type/class information is in the object’s header (functions are objects). This is what enables runtime type comparisons/safety.
@Andreasdetestscensorship But in C they aren't. They are just function pointers, typically 8 bytes, referencing a point in memory, that is supposed to be a function. C is so low level that 'type' information is typically mostly lost during compilation. It only tells the compiler which instructions to invoke when operating on the data really. Therefore unless you are emulating classes and objects in C manually all type-checking necessarily happens at compile time.
The only way that «checking the type» makes sense in terms of languages like C and C++, is with constexpr or the preprocessor. The quesiton asker already exposed discontent with this in a comment to the answer suggesting macros.
@user16217248 Well, they’re not happy with using macros, and their example code showed an if statement, which is a runtime construct.
«Expressed», not «exposed».
@Andreasdetestscensorship In practice, the if (g==h) would check if the pointers point to the same function, so they probably want some kind of if (typeof(g)==typeof(h)) which C does not have that I am aware of. You could certainly use 'runtime' constructs with compile-time data, for example if (sizeof(int)==4). sizeof() is evaluated at compile time, but nothing is stopping you from using it in an if. In this case, whether if is a compile-time or runtime construct is not observable behavior.
04:11
@user16217248 That’s only because it’s inlined/optimized away by the compiler. At its core, it’s still a runtime check. sizeof is a fully compile-time construct, though. And a typeof, which is what it seems like they’re after, is where reflection comes into the picture.
Well, unless a typeof that causes a compile-time error if the type is unavailable at runtime, is sufficient to them. (Or it could have similar behaviour as sizeof, which is error-prone, and misleading).
@Andreasdetestscensorship And in C, a typeof (and any comparison operators applied to it) would have to be a fully compile-time construct just like sizeof.
@user16217248 Which is not the impression that I have the question is seeking, but I’ll give it the benefit of the doubt, and retract my flag. I’ll post a if the asker confirms that it’s a duplicate of my suggestion.
Thanks for your feedback.
Sounds good.
 
2 hours later…
Cow
Cow
05:51
Morning
 
2 hours later…
Cow
Cow
07:53
jesus, making so many errors today, baby woke up the house at 4am, need more coffee to stay sharp
Question: stackoverflow.com/questions/76170803/… has already been asked today, earlier, but I don't remember by who, this seems to be the same person, who can check that?
First one was closed
Unless I'm so tired that I'm hallucinating :D
@Cow thanks, found it. searched for code:"'language'" and sorted by newest
Cow
Cow
@RyanM You are awesome!
@Cow re: your comment: it was closed as lacking debugging details
Cow
Cow
@RyanM saved my pants
08:17
@Cow I pushed some buttons and now there's only one question, and it's closed as needing debugging details.
Cow
Cow
@RyanM Thank you so much sir :)
although unfortunately it means that the usernames in the comment conversation are, uh, slightly confusing now. oh well. I commented to clarify.
09:06
's wiki doesn't have any usage guidance. Any quick suggestions on wording for which deployment questions are on-topic?
@dur This doesn't appear to be about debugging. The close reason you chose doesn't look appropriate to me.
dur
dur
09:31
@StephenOstermiller Maybe it is more Needs details or clarity, but it would help to understand the question, if I would see OP's code.
I concur with Stephen; it's not a debugging question. You could re-request with a different reason if you think it's unclear, though it might help to clarify (ideally via a comment) what's unclear about it.
(although I see what you mean about debugging..."spring security intercepts the requests before I my controller can add the headers in the HttpResponse" could be construed as debugging that problem)
09:51
Has this answerer really just copied to other two answers into a new answer? Am I missing something? stackoverflow.com/a/76171158/2943403
 
1 hour later…
11:58
Good Morning. May the fourth be with you all today
3
13:22
^ is the question a resource request?
@tripleee Dunno, but I think it's too broad
@tripleee It could be, but it isn't flat out asking for resources. needs more focus applies as well and is what I would use
thanks
14:33
@HovercraftFullOfEels This duplicate seems closed incorrectly; the target is explaining what static variables are but the question here is asking how to make variables that aren't static
Is there a duplicate target/canonical for "how to declare variables that aren't shared between class instances"?
14:47
@TylerH: What is needed to answer the question, in its most pure sense, is an understanding of what static means and how static variables behave with Java. No, the duplicate doesn't specifically state, no, you can't do this with static variables, but I don't think that it has to. I have added another dupe that does specifically state this, but again, I don't see how this question, regardless of the dupe used to close it, is useful to future visitors. It doesn't even explain the use case.
I sort of wonder if they're trying to do static variables of subclasses and are just very, very confused?
I considered objecting earlier but decided I was not at all confident in what they were actually asking, and thus it would be tricky to salvage.
hmm, I'm surprised a mod manually deleted the last SD report
@TylerH: but if you feel very strongly, I'm OK w/ retracting the request. The whole question just feels so very incomplete. Same to @RyanM
@NathanOliver It's just barely plausible IMO.
@HovercraftFullOfEels I don't object to the request; I don't think the question is clear enough to serve as a reference for anything. I can't be sure what it's asking.
jps
jps
Is today the day of the nonsense tag or something? See , , (<- yeah, we need more problem tags, at least one for every language, technology, framework, db, ...) and whatever else might come to our useres minds
15:46
@jps Not from today, but someone apparently tagged their question [contacts], [android-contacts], and then, feeling that was not sufficient, created a new [contacts-android] tag and added that too, for good measure.
@RyanM TBF, In Soviet Russia, Android contacts you ;)
what the heck is [chatgpt-copilot]?
@NathanOliver that totally doesn't sound like a scam and those reviews look totally authentic
@RyanM I have to wonder how many were written by chatGPT
15:57
at least some really sound like it
16:13
Heh, 2nd page of the reviews:
> All the 5 star reviews are written by AI, as it's a requirement to post one in order to get free access for a week. Access to GPT-3.5 Turbo btw, GPT-4 Isn't free.
hahaha, amazing.
I wonder if that's a store policy violation
One of them seems to think so.
'wow, yeah, that's shady
Yeah, any of the 1/2 star reviews are saying that they're pushing 5-star reviews. One noted that they also push Twitter follows.
Hahaha. One review starts with, "Written using this ;)", to which the team responded, "This is pretty cool! Thank you so much for your support, it means a lot to us! 😊"
16:34
@HovercraftFullOfEels I agree it's not a particularly good question, and the dupe targets do explain why OP is experiencing the issue he is experiencing, but they don't mention how to solve it; at least for me and my low level of Java programming, knowing that static variables are shared/the same variables for any instance of the class doesn't tell me how to have different variables between static classes or how to achieve what I'm wanting (e.g. in this case, a static variable).
You'd have to intuit it... is it just a matter of not using the static keyword? Or is there some other specific thing you gotta use when declaring them? the answer by OneCricketeer under the closed question (use protected, non-static variables) does... so maybe it is just better to add that explicitly to one of the top answers on the canonicals. Somehow none of them mention it...
Well, miken just cast the last delete vote, so it's a bit moot, now, anyway
@bad_coder "So far I tried the Daddy Pig move to fix the computer" ???
@mickmackusa If it doesn't add anything, downvote it then delvote it. Doesn't look like a literal copy/paste at least.
Is this rant worthy of a R/A flag? (Currently in LQA, probably won't survive very long.)
@AdrianMole I think so - it's a pure rant that contains nothing whatsoever of any value.
@AdrianMole quoting @KevinB, my brain stopped working halfway through that.
jps
jps
17:32
I made two mistakes regarding a question with one of the newest nonsense tags 1. I didn't remove the tag prior to voting to migrate the question and 2. I even agreed to migrate that LQ question to superuser.com (apologies to the SU folks and shame on me :( Now I guess the question with its tags will stick around for longer. Can this be fixed by a mod before we get a real with this tag?
18:30
@miken32 I noticed the expression without following up on it, it's a surprising cartoon... From wiki:"The show first aired on 31 May 2004. The seventh season began broadcasting on 5 March 2021. Peppa Pig has been broadcast in over 180 countries" :D LOL
@GeneralGrievance This one is actually about programming, I did some HDL in Vivado and unless you do it full-time it's an insanely difficult experience.
@bad_coder I thought it might be a reference to something on Peppa Pig, but my kids were never interested in the show so I was left very confused!
Hmm. Two of my questions downvoted within 20 seconds. I've clearly been doing some 'proper' curation. :)
@AdrianMole No, that was me. I just felt like downvoting some random person's questions, just because I'm so toxic.
Well, at least that's what I was accused of yesterday...
@bad_coder Oh, yeah. It is about FPGA programming. Never mind.
@NathanOliver Please bin my last cv-pls.
18:54
... ooh! And now another question downvote. Maybe now the reversal script will kick in overnight. ;)
19:07
@AdrianMole should I open your profile and downvote a question just to make sure it catches it? Wait, that's how it works, right? Everyone piles on?
20:02
Should the last sd report Q be closed?
20:51
@NathanOliver I think so. Too broad / opinion-based
@TylerH sounds good to me
 
2 hours later…

« first day (3451 days earlier)      last day (590 days later) »