Skip to main content
Advice
0 votes
13 replies
100 views

I am started coded in C++ not so far ago, and I still don't understand some things. For example, what is system. And if I declared using namespace system; at the top of code then I should write just ...
humankind's user avatar
Best practices
1 vote
4 replies
64 views

I have a tuple-struct and I want to init it with the values from another tuple, and I want to do it in one line, like I would with the `*args`: pub struct Dimensions(pub u32, pub u32); ... // let ...
Ibolit's user avatar
  • 9,820
1 vote
1 answer
80 views

My understanding is the match resulting from \@= SHOULD NOT INCLUDE the lookahead characters. Here is an example that has me perplexed: syn match InspectKeyword '\v(\+\s)\@=\w+' Results in: The ...
NW_BlackDog's user avatar
0 votes
0 answers
38 views

need to know the syntax for router.navigate for dialog Popup from a click event below routing works ( as a non dialog webpage) & wanted convert into a popup ! but how do I open it as a dialog(...
stellus's user avatar
  • 11
0 votes
0 answers
63 views

I have this bootloader I made a while ago and I would like it to be in nasm: .intel_syntax noprefix .code16 .equ STACK_TOP, 0x7C00 .equ SELF_LOAD, 0x7C00 .equ ELF_HDR_LOAD, 0x7E00 .equ SECT_SIZE, ...
Connor Thomson's user avatar
Best practices
1 vote
1 replies
34 views

In designing a language from scratch, should methods use a self variable to access properties and other methods? Or should they imply their target with .prop? Or should they treat properties as local ...
Armin Repsold's user avatar
2 votes
2 answers
189 views

I'd like to use constants to build regular expressions. However, in this case I got an unexpected syntax error: #!/usr/bin/perl use strict; use warnings; use constant CR_SAFE => '[:alnum:]@,._\-...
U. Windl's user avatar
  • 4,804
-1 votes
1 answer
97 views

I want to modify or compute a value before assigning it to a const. Is there a way to do this in a single line expression? I can use labeled block syntax, but I’m wondering if there’s another syntax ...
Phuwadon Verasertniyom's user avatar
Advice
0 votes
1 replies
227 views

The following minimal example does not compile in Delphi 12.1: program Project1; {$APPTYPE CONSOLE} uses System.RTTI; var Value: TValue; begin TValue.Make (0, TypeInfo (TObject), Value); ...
Valerian K.'s user avatar
-4 votes
1 answer
93 views

I'm experimenting a bit with trying to build NodeJS 24.11.1 with GCC 13.4.0 on an older OS X system, mostly as a can-it-be-done project. Regardless of the reasons, among the hurdles that could be ...
RJVB's user avatar
  • 820
0 votes
2 answers
129 views

Windows 11 Power shell I'm trying to run the following IF statement in power shell - basically to check if a file exists on encrypted drive P, if it doesn't then create the encrypted drive. I get an ...
Cholokom's user avatar
23 votes
1 answer
3k views

I have found a piece of code that defines register access permissions for a chip. Using arm-none-eabi-gcc it compiles correctly. Here is the code: static const uint8_t defaultRegisterAccess[...
2A-66-42's user avatar
  • 890
3 votes
1 answer
134 views

I am an occasional casual programmer (for about 60 years now!). I wrote 2 functional SNMP PowerShell desktop shortcut scripts 4 years ago. Now I am writing two scripts for my old Windows 10 system: ...
Webtest's user avatar
  • 53
0 votes
0 answers
99 views

I have a prehook in the config section of my model. I don't want it to be part of the project yml, just in my model query itself. It's been working fine up until this week where I started getting ...
Travis's user avatar
  • 1
2 votes
3 answers
165 views

I have a tool for editing the VersionInfo portion of our executables so that we can tie all of the different components to one installer part number. The tool I am using is resourcehacker (https://www....
Somin's user avatar
  • 23

15 30 50 per page
1
2 3 4 5
1442