Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!
Advice
6 votes
3 replies
324 views

In the R documentation, it says: Open parenthesis, (, and open brace, {, are .Primitive functions in R. ... For {, the result of the last expression evaluated. This has the visibility of the last ...
Advice
0 votes
0 replies
92 views

As a part of my research problem, I want to fully access a model to implement LLM text watermarking (I need open-weight model to modify hidden states). After researching a bit, I found Qwen2.5-0.5B ...
Best practices
1 vote
3 replies
118 views

I'm curious about the semantics of the <pre> tag. It seems to achieve nothing which CSS cannot: code.block { white-space: pre; } .poem { font-family: monospace; white-space: pre; } <...
Best practices
0 votes
0 replies
77 views

I have a Power BI Report and the relevant Semantic Model that gets data from a SharePoint and Data Bricks SQL Warehouse using my credentials. Can i change the data refreshing and semantic refresh part ...
Score of 1
0 answers
59 views

I'm using https://watermelon.us for writing automation tests for my Web app. When a test case starts, Watermelon will start the web app and then automatically record my actions when I interact with it,...
Score of 1
1 answer
177 views

Up until now, I thought of a context as a place in the code that expects a certain kind of expression. The Rust Reference on Expressions writes for example that: The following contexts are place ...
Score of 1
1 answer
155 views

Based on the HTML examples provided, is it considered better practice to mark up an author's name with the cite tag or a span tag? I've read that the cite tag is intended for referencing a work (like ...
Score of -1
1 answer
68 views

I am trying to parse code into AST. I want to keep minimum keywords and delimiters in the AST while keeping the semantics. In Python function definition def foo():, the last : is syntactically ...
Score of 1
1 answer
58 views

Why does the following code throw TypeError: Cannot set properties of null instead of Error: property key evaluated? var base = null; var prop = { toString: function() { throw new Error("...
Score of 13
5 answers
2031 views

I’m working on understanding pointers in C by breaking down the language into three key areas: syntax, semantics, and idioms. To grasp pointers, I’ve been focusing on fundamental concepts: what’s an ...
Score of 0
2 answers
280 views

I previously asked this question on StackOverflow about using loop invariants to catch a bug in my program. Now, I want to take the next step and understand how to compute the weakest precondition ...
Score of 1
2 answers
109 views

I’m learning about weakest preconditions, loop invariants, and verifying program correctness (e.g., with an SMT solver). From the slides here in slide 11, I see how placing a loop invariant can help ...
Score of 2
0 answers
323 views

I'm trying to customize the accessibility for the horizontal pager. This is how the pager looks. The previous and next view are partially visible. But I don't want these partially visible views to ...
Score of 0
0 answers
75 views

I am working on a tool to compute weakest preconditions for certain Python programs, and I’m struggling with handling class objects and their variables. Here's a minimal example of the problem: For a ...
Score of 0
2 answers
120 views

I don't know if this is correct behavior according to the author, or if there's a mistake in compilation. const std = @import("std"); const expect = std.testing.expect; const expectError = ...

15 30 50 per page
1
2 3 4 5
118