instruction
stringlengths
0
30k
Well, there not really stored procedures in Access. And if you define one in Access (say with a create stored procedure DLL command, then if you open up such a query in Access, you see it is a standard select or update query). So, say we have this query in Access: PARAMETERS [@ID] Long, [@FirstName] Text ( 25...
Pandas Data Wrangling / Dataframe Assignment
Python code: ```python i: int = 1 table: list = [[i, bit, None, None ] for bit in h] del i del bit ``` expected behaviour: ```python i: int = 1 table: list = [[i++, bit, None, None ] for bit in h] # the i needs to be incremented by 1 per iteration del i del bit ```
How would I modify an outside variable within a list comprehension?
|python-3.x|list-comprehension|variable-assignment|
The `std::less` compare functor does not work here. The reason is that it uses the **content** of the reference of type `MyType` instead of the **reference to the variable** of type `MyType` as index into the set. Try this: ````c++ template<typename T> void printReferenceContainer(T &container) { std::cout <<...
I have a project with one target. This target has a few schemes for different purposes and each scheme has their own GoogleService-Info.plist. One of them needs 2x GoogleService-Info.plist for 2x different Firebase clouds. I need to change the default name to be able to differentiate them when selecting the righ...
Can a project using Crashlytics have a GoogleService-Info.plist file renamed to something else?
|ssl|wso2|
I am trying to do a lagged autocorrelation of some data. The data is filled with random nans. The data is an NxN array where eke_array[i,i] is lag zero,...eke_array[i,i+n] is lag n. At some point this starts to return an autocorrelation greater than 1 especially after lag 40 but the first few lags are giving a reasona...
Using BGS Groundhog professional software but it seems not to recognize D.D coordinates. When input, the software seems to be assuming them as UTM. Interchanged both X&Y (D.D) coordinates but loading at the same position.
BGS Groundhog software coordinate system input
|coordinates|gis|3d-modelling|
null
{"Voters":[{"Id":7758804,"DisplayName":"Trenton McKinney"},{"Id":2530121,"DisplayName":"L Tyrone"},{"Id":1968182,"DisplayName":"Ulrich Eckhardt"}]}
The reason you are seeing such behavior is because the default base image used by `quarkus-container-image-jib` is `registry.access.redhat.com/ubi8/openjdk...` which uses [this][1] script to determine the JVM launch params. You can take a look [here][2] to see all the options you can set that influence the script. ...
I WANTED TO CALL ZERODHA API FOR SEARCH OF INSTRUMENTS AND ADDING TO WISHLIST BUT CAN ANYONE GUIDE ME FOR HOW SHOULD I MAKE IT CALL FOR SEARCH OF INSTRUMENTS IN FLASK APP BECAUSE GUI IS IN HTML AND HOW TO CONNECT IT TO FLASK APP FIRST I MADE THE GUI IN TKINTER BUT NOW I WANT TO CONVERT IT IN WEBAPP SO USING FLASK. PLE...
How To Call Zerodha API In Flask
flutter kotlin dependency errors
|flutter|kotlin|
Using get-ciminstance in powershell 7. I believe this will work with a real printer. ``` get-ciminstance win32_printer | ? name -eq 'adobe pdf' | invoke-cimmethod -methodname pause ReturnValue PSComputerName ----------- -------------- 5 ```
You just need to wrap your `TextField` inside the `Expanded` or `Flexible` widget: ```dart Row( children: [ Flexible( child: TextField( controller: controller, onSubmitted: (String value) { ...
I had same problem. I solved this problem. $tag = 'mytag'; $key = 'topmenu'; $value = collect(Cache::tags($tag)->getTags()->flush())->first(fn($item) => $item === $key); now you check use if condition value empty or not check.
I'm developing a PDF viewer application and I'm interested in adding a page curl effect when users flip through the pages. I've conducted online searches but haven't found a clear solution for implementing this feature. Could someone provide guidance or direct me to resources on how to create a page curl effect in a PD...
null
{"OriginalQuestionIds":[12122623],"Voters":[{"Id":285587,"DisplayName":"Your Common Sense","BindingReason":{"GoldTagBadge":"mysqli"}}]}
As mentioned by @Doug Stevenson: **Use environment variables to access configuration values** ``` const fbToken = process.env.FB_TOKEN; // Configure this as a variable in the environment async function deletePath(path) { await firebaseTools.firestore .delete(path, { project: process.env.GCLOUD_...
Added the code block below to `Theme.kt`. Needed to set `isNavigationBarContrastedEnforced == true` to get nav icons to constrast correctly when using dynamic color schemes. (e.g. ` dynamicDarkColorScheme(context)`) val colorScheme:ColorScheme = // logic for setting colorScheme here val dynamicColor:Boolean...
I am trying to run my docker image locally with non root privileges, looking in my jenkins file I see that when docker is invoked it is used the following. Where this `passwd.fake` is mounted in the docker docker { image 'a:b' reuseNode true args '-v $WORKSPACE/passwd...
#take 1: def remove_stopwords1(text): new_text = [] for word in text.split(): if word in stopwords.words('english'): new_text.append('') else: new_text.append(word) x = new_text[:] new_text.clear() ...
|c++|lambda|language-lawyer|c++23|
Lets say we have an abstract class with implemented method that HomeComponent extending it and a service with the same code that we inject into component. Is there any difference in our case? abstract class Base { name: string = ""; getName(){ return this.name; } } ...
What's the difference between an abstract class with implemented method and service in Angular?
|angular|typescript|
I have completed implementing the watch function and successfully implemented receiving push notification as well. However, I want to synchronize the calendar after receiving the push notification, but I failed here. The service is a web application, so I implemented google oauth2 login and callback using servlet. ...
How to Sync Google Calendar Events Using Push Notifications?
|spring-boot|google-oauth|google-calendar-api|
null
General idea for scraping multiple pages with selenium is to use .click() method to navigate to the next page until the next page button is disabled. You can use loop and try and except statement to break out of the loop when the next page button is disabled. Example code: from selenium import webdriver f...
null
In C++, I am receiving red squiggly lines under cout, endl, vectors, etc. even though I run the code there is no error=. I am using Studio Code and using C++ Extension Pack. This has only become an issue as of last week for some unknown reason, nothing has been changed within the settings. [![enter image descripti...
onChange= 'this.form.submit()'
I have this function that updates a user's feed after following another user by getting the post IDs of that user's posts and then adding them to a 'user-feed' in the users document. It worked fine until I added the timestamp field in. What I'm trying to do is to add the timestamp from each post to the document that is...
null
|verilog|system-verilog|test-bench|iverilog|
[error](https://i.stack.imgur.com/HOcmi.png) //utils/api.js import axios from 'axios'; const path = "http://(express api ip):8000" export const newIdGenerate = () => { return axios.get(path+"/api/generateid") .then(result => { return result.data.nextid; }...
Vercel API NET_ERROR
|api|
I have been banging my head on this issue but I just can't seem to find a proper response to help me. Can anyone give me any clues how I could manage to do this? So I have an attendance form that has the employees, and then each day it's a different sheet. I would like after the day has ended, the employees wouldn't be...
Google Sheets script that automatically locks a sheet 24 hours after a cell is edited
|google-sheets|google-sheets-formula|spreadsheet|
null
I am trying to create server and client interaction on Microcontroller ESP32. It'll consist of simple HTTP server and a client. So the client will send a `POST` request to the server, and the server will do some logic with the data it received. And for more context, here is the server-side code: ```c if (...
How to correctly read POST REQUEST body on ESP32?
[enter image description here](https://i.stack.imgur.com/98F4I.png) I'm having headache to publish my Next.js projects. Works fine on Localhost Something to do with Artifact Files. I cant figure out the mistake. jobs: # Build job build: runs-on: ubuntu-latest steps: - name: Checkout ...
Pdf with page cURL effect
{"Voters":[{"Id":9131961,"DisplayName":"cabrerahector"},{"Id":1336174,"DisplayName":"Douwe de Haan"},{"Id":1974224,"DisplayName":"Cristik"}],"SiteSpecificCloseReasonIds":[13]}
I'm working on the render part of Assignment 2 for CMU's 15-418 course,which involves writing a high-performance renderer using CUDA. In my code, each CUDA thread is responsible for computing a single pixel, which is a data-parallel task. To accelerate the computation, I'm using shared memory to store intermediate r...
``` try { await session10.withTransaction(async () => { console.log("transaction started"); await readonlymodel.findOneAndUpdate({}, { $set: { readonlyMode: true, yearEndClosure: true } }, { session:session...
|python|api|flask|flask-restful|pyalgotrade|
null
|c++|c++20|c++-concepts|c++-templates|
I have been searching is their any way for sql developer to show query result vertical one after other Like below I want to set If i run 2 select query the ouptut should come vertcally one after other vertcally want 2 output [Image](https://i.stack.imgur.com/iWvPM.png) Any properties available to achi...
Is their any way i can open parallel query tabs
|oracle|oracle-sqldeveloper|
null
{"Voters":[{"Id":6574038,"DisplayName":"jay.sf"},{"Id":2530121,"DisplayName":"L Tyrone"},{"Id":22180364,"DisplayName":"Jan"}],"SiteSpecificCloseReasonIds":[13]}
2024-03-29 14:20:07.471 [info] [auth] Invalid copilot token: missing token: 403 2024-03-29 14:20:07.529 [error] [auth] Extension activation failed: "No access to GitHub Copilot found. You are currently logged in as priyaanshusoni." 2024-03-29 14:53:07.125 [info] [auth] Invalid copilot token: missing token: 403 ...
How to enable Copilot in VS Code?
|visual-studio-code|github-copilot|
null
For this problem: https://leetcode.com/problems/search-suggestions-system/solution/, solution 1 states that for Java, _"there is an additional complexity of O(m^2) due to Strings being immutable, here m is the length of searchWord.") I am really scratching my head about this. Why the heck does immutability of string ca...
I have been searching is their any way for sql developer to show query result vertical one after other Like below I want to set If i run 2 select query the ouptut should come vertically one after other vertcally want 2 output [Image](https://i.stack.imgur.com/iWvPM.png) Any properties available to ach...
|google-cloud-platform|servicenow|
I have a code that used to work perfectly but, after having reinstalled R, it provides an error. What I'm trying to do is the following: `world <- ne_countries(scale = 110) atl_extent <- extent(-69, 20, -55, 65) study_area <- crop(world, atl_extent)` Usually, this would crop perfectly by the coordinates I pr...
Error - unable to find an inherited method for function ‘crop’ for signature ‘"sf"’
|r|rnaturalearth|
null
So I need to show the placeholder after country code and the code will not be editable, but its not showing, I am using react functional components. this is my code below ``` <PhoneInput className="inputTextDirLeft" country={'us'} type="text" inputStyle={{w...
Docker not root user needs psswd.fake?
|docker|bamboo|
{"Voters":[{"Id":12997595,"DisplayName":"Phani Kumar"}]}
{"Voters":[{"Id":286934,"DisplayName":"Progman"},{"Id":2395282,"DisplayName":"vimuth"},{"Id":13376511,"DisplayName":"Michael M."}]}
I want to implement an actor which uses "legacy" components which are classes using a dispatch queue for calling callbacks. These "legacy" components are actually classes from Apples NWNetwork framework. These classes require a dispatch queue and callback functions to be specified. The callback functions will be ca...
{"OriginalQuestionIds":[588004],"Voters":[{"Id":7185318,"DisplayName":"Luatic"},{"Id":7509065,"DisplayName":"Joseph Sible-Reinstate Monica"},{"Id":13376511,"DisplayName":"Michael M."}]}
For the last hours I'm trying to compile GCC for LFS. But it returns me this: ``` configure: error: in `/mnt/lfs/sources/gcc-13.2.0/build/intl': configure: error: C compiler cannot create executables See `config.log' for more details make[2]: *** [makefile:9269: configure-stage2-intl] Erro...
Trying to compile GCC returns a bunch of errors
|linux|gcc|makefile|compiler-errors|linux-from-scratch|
null
``` while ($data3 = mysqli_fetch_array($query2)) { ?> <section class="page"> <div class="front"> <?php echo "<h2>Page " . ($i + 1) . "</h2>"; echo "<p>$data3['des']</p>"; ?> </div> <div class="back"> dddd </di...
null
|sql-server|t-sql|formatting|ssms|formatter|
I'm trying to write code on Python using the MIDO library to compare MIDI data from a .mid file with incoming MIDI data from notes played on my MIDI keyboard to generate a list of wrong notes played. I'm easily able to print a list of all note pitches from the .mid file but having some trouble doing the same from my ke...
Github ERROUploadArtifac -Next.js Project
|github|next.js|github-pages|
null
{"Voters":[{"Id":804840,"DisplayName":"thrau"},{"Id":1974224,"DisplayName":"Cristik"},{"Id":6324775,"DisplayName":"Jonathan Stellwag"}]}
I downloaded a library written in go and wanted to compile it on my Macbook M1 macOS Sonoma 14.2.1. I have tried several commands and some of the errors are: `go build -buildvcs=false ` `env GOOS=darwin GOARCH=arm64 go build` and this error gives me: /usr/local/go/pkg/tool/darwin_arm64/link: running clang fail...
ld: library 'nsl' not found, /usr/local/go/pkg/tool/darwin_arm64/link: running clang failed: exit status 1 in macOS
|macos|go|compiler-errors|clang|macos-sonoma|