Skip to main content
Advice
0 votes
3 replies
63 views

I am doing a project where I must simulate a small shell, the tokens I need to recognize and interpret as bash are: < > >> << | I have understood the use and purpose of each of them ...
Simeon Sutarmin's user avatar
Advice
0 votes
2 replies
63 views

While studying up on Laplace expansion for a graphing class I saw code on the wikipedia page for a function that finds the determinant of a matrix using Laplace expansion written in Python (The code ...
Neptunium-Eater's user avatar
2 votes
2 answers
101 views

xidel 'https://softwarefoundations.cis.upenn.edu/vfa-current/index.html' -e '//div[@id="button_block"]/div[a="Download"]/a/@href' works, but xidel 'https://softwarefoundations.cis....
Signor Pizza's user avatar
Best practices
1 vote
4 replies
116 views

I'm pretty new to Python and am trying to understand the different ways of achieving things. I have an list of dictionaries with key value pairs: a = [ { "Key": "K1", "Value&...
Jules's user avatar
  • 725
Best practices
1 vote
3 replies
122 views

In excel I use name ranges lots, and in VBA I noticed that you can reference these name ranges or tables by putting them in square brackets; however on all the forums I never see the square bracket ...
Mr Search's user avatar
1 vote
0 answers
44 views

Warning: Newbie level at Powershell, so be gentle. I keep getting the name of the variable itself embedded, instead of its string value, and every syntax I've tried so far fails. I am using a here-...
Bee Kay's user avatar
  • 329
0 votes
1 answer
51 views

I have been using Hugo for my personal site. In order to override templates, I had to inspect the source code of my chosen theme, Hugo Papermod. As a result I encountered a dash immediately after ...
Scott Anderson's user avatar
1 vote
1 answer
85 views

DELIMITER // CREATE PROCEDURE CreateProductTable() BEGIN CREATE TABLE IF NOT EXISTS product ( product_id SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY, product_name ...
wildREA's user avatar
  • 21
Advice
0 votes
13 replies
6k 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
75 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,850
1 vote
1 answer
93 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
49 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
75 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
39 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
3 votes
2 answers
232 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,918

15 30 50 per page
1
2 3 4 5
1440