Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
84 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 ...
Ahmed Ali's user avatar
-1 votes
1 answer
55 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 ...
MR_Xhao's user avatar
  • 11
1 vote
1 answer
55 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("...
Tau's user avatar
  • 699
13 votes
5 answers
2k 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 ...
Ghassen's user avatar
  • 179
0 votes
2 answers
198 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 ...
desert_ranger's user avatar
1 vote
2 answers
97 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 ...
desert_ranger's user avatar
1 vote
0 answers
204 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 ...
Ankita's user avatar
  • 443
0 votes
0 answers
22 views

I'm trying to compute weakest preconditions working backwards from the postcondition c > 10. Specifically, I want to determine what conditions func_1() should satisfy (i.e., what value of b it ...
desert_ranger's user avatar
0 votes
0 answers
61 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 ...
desert_ranger's user avatar
0 votes
2 answers
102 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 = ...
agatzan's user avatar
  • 21
4 votes
4 answers
185 views

I typically declare the main function's formal arguments as either int argc, char* argv[] or int argc, char** argv to take in the actual arguments from the command line. But I noticed a senior C ...
Bobby's user avatar
  • 121
2 votes
2 answers
208 views

In C, suppose an object is declared, for instance int x; as an automatic variable. Without initializing it with any value, is it still considered just a declaration and not definition? Cause ChatGPT ...
Bobby's user avatar
  • 121
2 votes
0 answers
24 views

I’m experimenting with a Siamese network using triplet loss to categorize sub-classes into broader classes. My setup differs from traditional triplet loss models: It involves using the sub-class as ...
LawNLP_9808's user avatar
0 votes
1 answer
70 views

I’m working with two ontologies, A and B, which share the same semantics but are expressed using different syntaxes. Does the difference in syntax mean that it’s impossible to find correspondence/...
Costas's user avatar
  • 11
1 vote
0 answers
69 views

I am working on a Flutter project and incorporating accessibility features within a quiz. My question: How can I ensure that after a user selects an answer, the screen reader automatically focuses ...
Jameel's user avatar
  • 1,222
1 vote
2 answers
122 views

I ran into the next piece of code (simplified) and can't understand purpose of channel check. This snippet was found right before a function end. check := make(chan struct{}, 1) go func() { check &...
mymedia's user avatar
  • 625
0 votes
2 answers
219 views

This is probably a dumb question so forgive me. I've used many cmdlets that have a parameter that is named as a singular object, yet it accepts multiple objects. This makes sense to me for the ...
Matthew McDonald's user avatar
-2 votes
3 answers
142 views

I'm working on improving my C programming skills and have encountered a confusing aspect related to pointer declarations. I'm hoping to gain a better understanding of the differences between these two ...
Koro's user avatar
  • 1
1 vote
1 answer
147 views

I am facing a problem with Flutter semantics with the scroll view. If there is a SingleChildScrollView of ListView the flutter semantics announce an unlabeled item. The code is really simple. ...
noobEinstien's user avatar
  • 3,313
0 votes
1 answer
622 views

As implied by this article: https://techcommunity.microsoft.com/t5/ai-azure-ai-services-blog/azure-cognitive-search-outperforming-vector-search-with-hybrid/ba-p/3929167 it is possible to perform a ...
Cole's user avatar
  • 1
0 votes
0 answers
50 views

I'm a psychologist, and I'm diving into the field of AI. I could really use some help for a project. This semester, I discovered Word2Vec and was mesmerized by its capability to find associations. So, ...
Vinicius Fantini Marques Roja's user avatar
1 vote
1 answer
95 views

I want to create a custom-styled select element in my web app. However, I'm concerned about the approach I should use. Styling the default select gives me some options, but I can't fully style the pop-...
Wiktor Fajkowski's user avatar
0 votes
2 answers
93 views

Can the semantics of a well-formed C++ translation unit depend on the presence of a function or function template declaration that is never used? By "used", I mean it is selected by ...
Scott McPeak's user avatar
  • 13.8k
-3 votes
2 answers
116 views

compiler context First off, I'm currently using Microsoft Visual Studio Community 2022 (64-bit) - Current Version 17.7.5. (Just in case this question is more about the tools I'm using than the ...
periblepsis's user avatar
0 votes
2 answers
191 views

I want to compare two semantic Knowledge Graphs, to see if they have any triple in common, using cypher. MATCH (n1)-[r1]-(c1) MATCH (n2)-[r2]-(c2) WHERE r1.filePath = "../data/graph1.json" ...
biowhat's user avatar
  • 17
2 votes
2 answers
123 views

We have the product (normal desktop app) that wants to pull some data from the Adobe products (from the documents, opened in these products). Since the Apple events are too slow, we implemented a ...
Serg's user avatar
  • 4,831
1 vote
2 answers
802 views

Is it necessary or helpful for accessibility of my website to add a heading saying footer in the footer? I know the footer is a landmark en therefor a user of a screen reader could find out the ...
Zebda's user avatar
  • 389
0 votes
1 answer
760 views

Hello I am trying to make talkback read out text from Text() and default line from Switch() using compose semantics. This is my code: var toggle by remember { mutableStateOf(true) ...
Tbijo54's user avatar
  • 375
0 votes
1 answer
298 views

I'm trying to index over 200 million documents using HNSW in Vespa, but it consumes significant memory as the number of files increases. My server has 64GB of memory, and I estimate storing all data ...
Jay's user avatar
  • 3
0 votes
1 answer
280 views

Is it possible to replace built-in packed variables like float4 or int4 with custom HLSL structures without changing the functionality of the data? For example, instead of using a uint4 (x,y,z,w), ...
Robert's user avatar
  • 525
0 votes
2 answers
85 views

In JavaScript we have postfix (x++) and prefix (++x)increment like many other C derivative syntax. I know that both prefix and postfix increment has a higher precedence than addition. So if we do the ...
Andrew S's user avatar
  • 3,027
1 vote
0 answers
392 views

According to [temp.names]p6, "A name prefixed by the keyword template shall be followed by a template argument list or refer to a class template...". The example provided shows A<T> a; ...
Erick Velez's user avatar
0 votes
1 answer
57 views

So I've been writing 'for' loops only with the (let i = 0; i < arr.length; i++) set up until now. This is visually something you can break down and understand so its been logical for me. Now I'm ...
Joshua Hamrick's user avatar
2 votes
2 answers
794 views

When I set showSemanticsDebugger to true, it should show the semantics tree representations, it worked fine about 2 months ago, but it's not anymore. I suspect it's an issue related to the latest ...
Ahmed Nabil's user avatar
-2 votes
1 answer
593 views

I need to add Semantics value to all Text Widgets, Is there a way to do it automatically, to avoid manual addition?
user3584307's user avatar
-1 votes
1 answer
91 views

With consideration to semantics and accessibility, can I do something like this? <h1>My Lightbox Demo</h1> <h2>Thank you for trying this</h2> <div> <button aria-...
William Beaumont's user avatar
0 votes
1 answer
256 views

Using a custom TextField implementation, but it still uses the BasicTextField provided by compose. BasicTextField( modifier = Modifier .fillMaxWidth() .semantics(mergeDescendants = ...
Cayce K's user avatar
  • 2,328
1 vote
0 answers
100 views

I am trying to bring the following grammar into the Haskell language : data Expr = Var String | Bool Bool | Int Int | Float Float | BinaryOp Op Expr Expr | UnaryOp UnaryOp Expr | App ...
Noob25's user avatar
  • 11
3 votes
0 answers
329 views

I want to add semantic enrichment to the JSON schema generated by pydantic BaseModels. The problem occurs when I want an element of the model to be an enumerated type. I can't figure out the correct ...
ek365's user avatar
  • 31
0 votes
1 answer
872 views

So I have this navigation bar with the following structure: click for code snippet I am following the same structure that is present in https://www.w3.org/WAI/ARIA/apg/patterns/menubar/examples/...
Mark's user avatar
  • 23
-1 votes
2 answers
49 views

How to make a footer always pressed to bottom? Whenever I make a new page and there's still no content, considering that my header is fixed, my footer always jumps to top. I want to get rid of this ...
Michael's user avatar
  • 563
1 vote
1 answer
1k views

I am attempting to add a header, similar to an HTML h1 tag, to my login webpage created with Dart/Flutter. This is to comply with WCAG accessibility guidelines. To achieve this, I am utilizing the ...
YotiS's user avatar
  • 79
-1 votes
1 answer
56 views

I'm looking through this piece of code: https://github.com/aras-p/UnityGaussianSplatting/blob/main/package/Runtime/GaussianSplatRenderer.cs and line 65 has, m_CommandBuffer?.Dispose(); Which I don't ...
Ethan's user avatar
  • 167
0 votes
0 answers
42 views

I submitted a solution on a front-end component and I was told that the header should not have H1s within it, that it is a landmark outside the main tag and it has a "banner" role meaning it ...
chisomwest's user avatar
6 votes
1 answer
174 views

Should &set, Set, and Set.new have different semantics? If so, why? Consider the following code: my @array = 1, 2; my @other-array = ([3, 4],); dd set(@array, @other-array); #OUTPUT: Set....
codesections's user avatar
  • 9,620
-2 votes
1 answer
1k views

I need to include a few customer reviews on my page and am unsure if my approach is semantically and practically correct. I might be overthinking this a little bit, so input would be welcome! I would ...
Kellerness's user avatar
1 vote
0 answers
1k views

I'd like to use flutter's semantics to make my page more accessible. From what I understand there are web standards that define which elements on the page should have which role, as defined e.g. here. ...
fraukuchen's user avatar
0 votes
2 answers
93 views

to learn HTML more in depth I'm building the website of a famous fashion brand, trying to emulate and build all the functions that I see with the HTML knowledge that I have. I'm coding a part of the ...
giuseppeBianchino's user avatar
1 vote
2 answers
178 views

Using JQ 1.5 I've problems understanding the output of the alternative operator // in a specific situation. Given this input: { "a": 42, "b": false, "c": null ...
A.H.'s user avatar
  • 66.8k
3 votes
1 answer
293 views

Upgraded to the lastest version of compose, then oversuddenly i get this crash on the app. Not sure if this is caused by Appium or the app itself: java.lang.NoSuchMethodError: No super method ...
TatiOverflow's user avatar
  • 1,231

1
2 3 4 5
36