Skip to main content
0 votes
1 answer
40 views

The function is an http trigger calling an agent from agent foundry: import azure.functions as func import logging import json import os from azure.identity import DefaultAzureCredential from azure.ai....
K_python2022's user avatar
-4 votes
0 answers
66 views

I have an Azure function that is working locally, but when I deploy it to an Azure function app using VS Code, it shows deployment completed, however it is not visible in the Azure Function app. This ...
K_python2022's user avatar
1 vote
4 answers
150 views

I'm trying to create a simple macro, and the solution is eluding me. Let's say I have a table: Header1 Header2 AAA 100 BBB 200 BBB 150 BBB 250 CCC 300 CCC 200 I want the formula to calculate so that ...
Collin Michels's user avatar
-2 votes
1 answer
140 views

I came across a problem in JavaScript where an item is to be inserted into an ordered array such that the array remains in the correct order. e.g. insertInOrder(19, [1, 2, 10, 20]) should return [1, 2,...
Jerry Huang's user avatar
5 votes
1 answer
171 views

I am work a mature codebase, one of the signs of its age is lack of consts which make the code difficult to reason about when refactoring. I have found a function which takes an argument as a mutable ...
Dominik Kaszewski's user avatar
Best practices
0 votes
4 replies
218 views

I am creating a program with C++ language that working with strong cryptography. Does it matter if I use public or private functions where contains a secret algorithms, any sensitive structures of ...
humankind's user avatar
Advice
2 votes
6 replies
152 views

After learning Python for a while, I feel that () is a standard for starting functions. If I don't add () after the function, the function won't run even if it doesn't have parameter imports, so I ...
Yanbing's user avatar
-7 votes
4 answers
142 views

I am trying to make a temperature converter that automatically changes value when the user changes the input and clicks elsewhere (using the onChange in my html file) in javascript, but when i type in ...
Agwaraonye vivian's user avatar
2 votes
1 answer
90 views

Summary: I want to be able to recreate my SQL code via Python such that I dont have to manually type out each join for situations when the combinations get too large to handle I have one table import ...
qwerty12's user avatar
Advice
0 votes
0 replies
27 views

I would like to deploy policy at the management group level to enable Micosoft Defender for Cloud. (I have owner role for all mgmt groups). I found some these in-built policy definition: Microsoft ...
bostongeorge's user avatar
Advice
0 votes
3 replies
56 views

I have a trigger in Postgresql 13 like this to prevent duplicate entry on one of the column. This trigger is used in Arcgis Field Map apps. CREATE OR REPLACE FUNCTION xxx_check_unique() ...
padjee's user avatar
  • 265
0 votes
1 answer
119 views

I'm writing a simple maths sketch. At this point I want to check if 2 random numbers, when divided, leave a remainder. If not then pass them onto the next part of the program. If the remainder is not ...
joe lennox's user avatar
Advice
2 votes
7 replies
128 views

I know that it's possible to take the address of an inline function, just like with ordinary functions. But if each translation unit has its own inline definition, and I take the address of the ...
Morel's user avatar
  • 1
1 vote
0 answers
61 views

I am working with a custom logistic function: logistic.fcn <- function (x, y0, y100B, dy100.F, a, x0B, dx0.F, isF_num) { y0 + ((y100B + isF_num*dy100.F)-y0)/(1 + exp (-a * (x - (x0B + isF_num*...
olowman's user avatar
  • 11
Advice
0 votes
2 replies
56 views

How do I make these all apply to one function, so that one plays, but stops the one before it? Code def rex_audio(self): RexAud = SoundLoader.load('Rex.wav') RexAud.play() ...
Michael James's user avatar

15 30 50 per page
1
2 3 4 5
7429