Newest Questions
24,238,289 questions
0
votes
0
answers
4
views
How do I get TypeScript and the IDE to bind all of a function's args to one parent object of a discriminated union
I have a discriminated union where each item in the union has an array of nested objects.
I'm trying to write a function that takes in one or more of these nested objects as params and is smart enough ...
0
votes
0
answers
5
views
How to document what the generic type parameters of a Func are?
Suppose you have a property which is a Func<T1, T2, TResult>. How do you provide inline documentation for what T1 and T2 are? Example:
public class MyClass
{
/// <summary>Checks ...
0
votes
0
answers
5
views
confusion between import in NestJS with global module implementation
I have a confusion regarding the implementation of a global module in NestJS, and the import of a shared service
I'm following this guide: NestJS- Global Modules
and this is what I have so far:
shared....
0
votes
0
answers
8
views
Snowflake - Paginated Reports?
I have used PROC REPORT in SAS in a prior life. I am now using Snowflake. Is there any way to create Excel/PDF reports using Snowflake, comparable to PROC REPORT?
Thanks for any insight.
5
votes
2
answers
14
views
How can I negate a logical value in a base R pipeline?
Running
TRUE |> `!`()
Results in:
Error in !NULL :
function '!' not supported in RHS call of a pipe (<input>:1:9)
When using magrittr, there is a not() alias, but this does not work for ...
0
votes
0
answers
7
views
MVC Project views included into dll file
I change some setting and now my project is including the views into a dll file. I have looked over the web.config and debugging setting but I am not sure what happen. Any help with this would be ...
0
votes
0
answers
5
views
When using ctx.moveTo() with Html Canvas Tag ctx.arc(), moveTo() draws a line
For the purpose of improving myself and because I was bored, I was learning the canvas tags in html by following the doc of mozilla and we were drawing a face there. I tried to make the face as given ...
0
votes
0
answers
8
views
Configure Spring Security Filter Chain
Good evening, I need help configuring Spring Security Chain Filter:
@Bean
SecurityFilterChain configure(HttpSecurity http) throws Exception {
http
.authorizeRequests()
...
-1
votes
0
answers
12
views
Python dependencies management
I am working in a python project that contains, in a single repository, many different applications that shared some code but will be deployed independently. So of course each application will need a ...
-1
votes
0
answers
13
views
Why isn't my JavaScript form validation working properly or hiding the form after submit?
I'm trying to validate a shipping form using JavaScript. If both the name and postal code fields are filled, it should hide the form and display a thank you message with the user's name and postal ...
0
votes
0
answers
6
views
Cypress Puppeteer - The 'task' event has not been registered
I'm following the examples here:
https://www.npmjs.com/package/@cypress/puppeteer
My test is:
describe('test', () => {
it('test', () => {
cy.puppeteer('testPuppet');
});
});
...
-4
votes
0
answers
21
views
why pythonanywhere is live but always "down" for me? [closed]
Need help to look into direction to fix problem.
Last weeks cannot access my own account and all sites hosted on PythonAnywhere.
Tried:
2 ISPs, and VPN (I am in Kazakhstan, have been using the ...
1
vote
0
answers
10
views
iOS Credit Card Autofill Not Working Despite Setting Proper TextContentTypes
I'm trying to implement credit card autofill in my iOS app using the recommended textContentType properties, but the autofill functionality isn't working at all.
I've set up my text fields as follows:
...
0
votes
0
answers
7
views
iTerm2 opens tab with different profile than the default
I have a specific profile set as my default in iTerm2. For some weird reason, when I open a new tab using the Shell > New Tab menu item, iTerm2 opens the tab with the correct profile. I get the ...
0
votes
1
answer
17
views
The passing of 2-dimensional arrays to functions in C by only stating the size of the second dimension
When passing a 2-dimensional array to a function in C, I normally just pass it by using a single pointer.
Example : void process_array(int* arr, int rows, int cols)
I see 2-dimensional arrays also ...