Questions tagged [named]

Anything named - objects, variables, classes... Naming is a primary tool of reuse.

1
vote
3answers
26 views

Excel VBA - How to check if target is a named range. If yes, paste range

I currently have my excel coded to do the following: Whenever various specific text strings are typed anywhere in column B, a corresponding named range will be pasted at a relative offset. Instead ...
0
votes
0answers
50 views

How can I change the positional arguments to named arguments in this code, please? [duplicate]

I would appreciate it if someone can tell me how can I change the positional arguments to named arguments in this Perl code, please? #!/usr/bin/perl -w sub diskUsageMon { my ($hash_ref, $...
0
votes
0answers
26 views

Populating an array from named ranges using Index and Match

I am trying to populate cells with statements from a separate worksheet ('Data Validation') based on two conditions. I have a drop down list (in U1) which defines one condition (Year 1, Year 2, Year ...
0
votes
0answers
10 views

How can bind be configured to rotate log versions based on time (hourly, daily, weekly, monthly, etc.) instead of log file size?

How can bind be configured to rotate log versions based on time (hourly, daily, weekly, monthly, etc.) instead of log file size? Thanks /etc/named.conf: logging { ... channel hd_security { ...
2
votes
1answer
30 views

How does DIG utility work in FreeBSD and BIND?

I want to know how does the DIG (Domain Information Groper) command really works when it comes to code and implementation. I mean when we enter a DIG command, which part of the code in FreeBSD or BIND ...
0
votes
0answers
17 views

Java 9 migration issue with unnamed module

Can a named module in java 10 read code from unnamed module?How to then work with the scenario where new modular code in java 10 reads from old non modular legacy code?
0
votes
0answers
21 views

Wildcard domains (not sub domains) pointing to dedicated IP - /home/user/public_html/landing/

I'm looking for a solution to park unlimited domains without having to first having to define them (named.conf). I want to give clients my nameservers to point their domains at, and have them land on ...
0
votes
0answers
18 views

Bind/Named determine clients IP coming from another forwarder

Environment looks like this: [CLIENTS] -> [WIN DNS (forwarder)] -> [LIN DNS (rpz + cache)] Now, on LIN DNS ie. in rpz logs I can see only WIN DNS making queries - which make sense - but is ...
0
votes
1answer
46 views

Boost named mutexes in docker containers

In our project we are using some network library with tricky rules to obey. One of them is that we should manually create some int identity that should be unique per process on same host (it should ...
1
vote
0answers
60 views

Spring boot AOP ignores JAX-RS resources registered using @Named

Working on a simple web application where Spring boot 2.x handles wiring between different components and JAX-RS/Jersey handles REST calls. A simple configuration like the one below is used for ...
0
votes
0answers
38 views

Issues unlisting a nested-list

I have list x and y; x unlists and gives me what I want... However, y does not I think it is because its a list from the biostrings package creating problems for me. I cannot include everything as ...
1
vote
1answer
53 views

python re can't find this grouped name

I try to give advice on the format of paper reference. For example, for academic dissertation, the format is: author. dissertation name[D]. place where store it: organization who hold the copy, year ...
0
votes
1answer
28 views

How to create a named list from dataframe based in a filter

My question is how to simplify the code below. I have a data frame with two (or more) columns where I'm interested in all values from column 'a' where column 'b' have value x. Since x could be one ...
0
votes
1answer
8 views

Naming a dynamic cell range based on another worksheet.

I want to set up a dynamic cell range, which varies length and start point of the range based on user inputs. I've named a range using the following formula: =OFFSET(INDIRECT("P"&'FTB data (ML2)...
0
votes
0answers
65 views

DKIM does not answer query

Good night. Im doing a little test with zimbra installed on CentOS 7. The installation went good, but I wanted to try this for sending emails to gmail, hotmail, etc. but did not go pretty well. I ...
2
votes
1answer
92 views

Kotlin: explicitly unnamed function arguments

@FunctionalInterface interface Fn2<A, B, R> : BiFunction<A, B, R>, (A, B) -> R { @JvmDefault override operator fun invoke(p1: A, p2: B): R { ... When I implement this ...
1
vote
1answer
32 views

How to name a list of elements directly from the argument of the function using apply

I have a function with three arguments, each as a list. The values of these arguments are not fixed. They are outputs of another function applied to different datasets. I would like to pass a name for ...
0
votes
1answer
37 views

BIND is rejecting my key for updating a dns zone

My BIND config has: key "dns-update" { algorithm HMAC-SHA512; secret "KEYREDACTED=="; }; ... zone "test.org." { type master; allow-transfer { key "dns-tsig"; }; ...
0
votes
1answer
27 views

How to do named command line arguments in Bash Scripting better way?

This is my sample Bash Script example.sh: #!/bin/bash # Reading arguments and mapping to respective variables while [ $# -gt 0 ]; do if [[ $1 == *"--"* ]]; then v="${1/--/}" ...
0
votes
2answers
123 views

Unable to delete specific named cookie (Selenium WebDriver, C#, Chrome)

A number of my tests use a DeleteCookies method which does this: chromeDriver.Manage().Cookies.DeleteAllCookies(); This was great until today, when one of the tests made the app take exception: ...
1
vote
0answers
39 views

Combine 2 Named Ranges in Excel - Not Using VBA

Does anyone know if it is possible to combine two named ranges from different tabs in excel in to one master named range? I would prefer not to use VBA in this instance. I've had a look through the ...
0
votes
2answers
65 views

How to map function on all argument values, as a list? but have explicit argument names in the function definition

I want to define a function using explicit argument names ff(a,b,c) in the function definition, but I also want to map a function over all arguments to get a list: ff(a,b,c): return list(map(...
0
votes
1answer
44 views

PHP NSUpdate Update of an TXT String

iam using NSUpdate to update DNS Records from PHP all things working, but somthing going wrong when i want update/Add TXT Record adding an Text Record is not so hard like SRV OF SPF nope :) rlly ...
0
votes
0answers
23 views

C and Named Pipes: Is it possible to execute one program from within another to write to a pipe?

I'm working on an assignment in which two programs must send messages to a parent program using a named pipe. As of right now, I have a working "writer" program and the a working "reader". Executing ...
-5
votes
1answer
89 views

Swift programming language: named parameter for function calls… reasoning? [closed]

I'm playing around with Swift right now. It appears that unless you use an underscore in the function signature, Swift requires the caller of the function to specify the name of the parameter, like ...
0
votes
0answers
98 views

ImportError: No module named django.shortcuts

Am using Django for the very first time. I find unresolved reference to django while running the views.py file. Please share your inputs. This is my views.py # -*- coding: utf-8 -*- from ...
0
votes
2answers
246 views

Search and Replace within Named Ranges - VBA for Excel

I have an Excel spreadsheet with about a hundred named ranges. I'd like to run a script to find certain strings within those named ranges and replace it with another string. The problem is about ...
0
votes
1answer
56 views

labeling in R (add some labels from SPSS)

I have some problems with my R data preparation (imported from SPSS), and wasn´t able to find a solution in the web. Problem: Extract labels for subgroup from data frame: I have a data frame with 42 ...
2
votes
4answers
45 views

Set name on apply results

I am applying a function onto a dataframe. But unlike sapply and its friends, apply hasn't got any USE.NAME argument to get a named list as returned object. In this example, I'd like the C column to ...
0
votes
0answers
90 views

Anyway correct way to timeout C# NamedPipeServerStream WaitForConnection() method

I need to write a process that that receive messages on a named pipe. I see that the NamedPipeServerStream has a WaitForConnection() method, which does not have a time out value. I know there are ...
0
votes
0answers
17 views

How to configure Bind(name server) for trusted and un-trusted acl?

I have a working Bind name server with trusted acl configuration in AWS. Now, I have a list of hosts(untrusted - bastionhosts) which need to be routed to a different DNS(route 53). I am not able to ...
0
votes
1answer
24 views

Named Event exists even though its creator doesn't

Any ideas why: HANDLE hEvent = OpenEvent(EVENT_MODIFY_STATE, FALSE, L"Global\\MyEventName"); Succeeded opening the event even though the process which created the event is no longer running ? The ...
1
vote
0answers
112 views

Spacy regex over entities

How can you use in Spacy v2 the usual regex functionality but over named entities and POS? It seems that the full syntax of the Matcher's patterns is not available. Only scattered examples like the ...
0
votes
1answer
51 views

Named parameters feature in Vavr

Vavr User Guide refers to the following piece of code while discussing its named parameters feature: Named Parameters Vavr leverages lambdas to provide named parameters for matched values. Number ...
0
votes
1answer
28 views

power point drop box

I have created the following dropbox in a power point presentation, I would like to be able to extend the number of dates available to the user to around 10 years. This clearly is a lot of dates and ...
1
vote
0answers
17 views

StartThreadpoolIo throws invalid parameter exception

I'm trying to use Named Pipes with the new thread pool API. My code works most of the time but I'm getting intermittent invalid parameter exception when call StartThreadpoolIo. I've verified that the ...
1
vote
2answers
131 views

PHP preg_match_all subpattern names in a pattern

The task is pretty clear. In the input we have a variable regex pattern, which supposedly contains named subpatterns, and in the output we need to get an array of subpattern names: function ...
0
votes
2answers
86 views

array type variable name created programmatically?

In Ada, I wish to create 10 two dimensional arrays of type array (0..9) Integer, creating 10 x 10 arrays of cells, which I will manipulate by indices. I want to be able to address each of the 10 ...
0
votes
0answers
46 views

Vb.net interop.excel Getting named range from speadsheet to datatable

I had deloped an app to import to a SQL database the content of an Excel spreadsheet with a named range using VB.net (VS 2015) This was so easy using ACE OLE Using olecon As New OleDbConnection(...
5
votes
2answers
51 views

Names combined by dot automatically when assign value of a named array with a named variable

A simple example: a <- quantile(1:10, 0.1) a output: 10% 1.9 Use a to assign value of a named array: b = c(index=0, value=a) b output: index value.10% 0.0 1.9 Why the 'value' and '10%' ...
0
votes
2answers
185 views

python3 - Named semaphores only within a given process?

I know that there are python modules that allow the use of IPC and System V named semaphores. However, these resources exist at the system level. For my particular multithreaded python3 application, I ...
0
votes
3answers
471 views

Cross-Process Mutex Read/Write Locking

I'm trying to make inter-process communication in C/C++ on Windows environment. I am creating a shared memory page file and two processes get the handle to that file. It's like this: Process1: ...
0
votes
1answer
211 views

Sharing Variable between C and Python

I'm using a named pipe FIFO to communicate between a C ( a loop generating numbers is C) and python (listening to the number generated by C and read them and process them). The code working well ...
0
votes
1answer
269 views

What is the shortest way to create an empty named numeric vector in R?

I can create an empty vector with v <- numeric(0), but the vector is not named, just of type num then. When I evaluate names(v) <- character(0), I have an empty named numeric vector: > v <...
0
votes
0answers
41 views

Adding Named Destinations to an existing PDF using iText 5.5.12

I must be blind because I cannot get the following code to work. It is my understanding that this is the recommended method to add a named destination to an existing PDF that may or may not have ...
-1
votes
1answer
56 views

Keep names with apply

I have a named vector like: mochila r01 r02 r03 r04 0 0 0 0 And a dataframe data req_ID effort satisfaction 1 r01 1 62 2 r02 4 55 ...
1
vote
1answer
293 views

Qt - Associative arrays

Is possible to create an associative array (hash or named arrays) in Qt? Something like: int array[2]; array["text1"] = 10; array["text2"] = 20;
4
votes
2answers
221 views

How to access newtype named tuples fields in haskell

I declare the following newtypes: newtype Code = Code String deriving (Show) newtype Name = Name String deriving (Show) newtype Account = Account (Code, Name) deriving (Show) So: *Main Lib> :t ...
0
votes
1answer
45 views

Re-encode a named tuple

Input: import mouse import pickle from collections import namedtuple #https://github.com/boppreh/keyboard/blob/master/keyboard/mouse.py #from ._mouse_event import ButtonEvent, MoveEvent, ...
0
votes
1answer
80 views

Why dart optional named argument is not null if not provided?

When optional named parameter is not provided, why it is not null as expected? void main() { num double({v: num}) { if (v == null) return 0; else return v * 2; } print(...