question_id
int64
37.6M
73.2M
input_text
stringlengths
88
52.4k
output_text
stringlengths
37
35.6k
title
stringlengths
15
150
tags
stringlengths
1
107
q_score
int64
-19
397
view_count
int64
3
879k
answer_count
int64
1
21
accepted_answer_id
int64
37.6M
73.8M
answer_id
int64
37.6M
73.8M
a_score
int64
-5
1.29k
is_accepted
bool
1 class
creation_date
stringlengths
20
24
input_text_instruct
stringlengths
251
52.6k
72,233,090
MS Graph API message move - 415 unsupported media type<p>I have followed proper documentation and examples. Also other methods are working fine, but message move is not working properly. Please look at below and suggest what I should change:</p> <pre><code>PS C:\&gt; $body = @{ &gt;&gt; &quot;destinationId&quot; = &q...
<p>Finally it worked... below is the solution:</p> <pre><code>$urimove=&quot;https://graph.microsoft.com/v1.0/users/mailbox@domain.com/messages/$Id/move&quot; $body = @{ &quot;destinationId&quot; = &quot;$folderid&quot; } $body_json = $body | ConvertTo-Json $mv = Invoke-WebRequest -Method Post -Uri $urimove -Heade...
MS Graph API message move - 415 unsupported media type
microsoft-graph-api|http-status-code-415
0
207
1
72,276,511
72,276,511
0
true
2022-05-13T17:00:24.643Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: MS Graph API message move - 415 unsupported media type<p>I have followed proper documentation and examples. Also other methods are working fine, but message ...
72,235,704
How to rediret all requests to another host in IIS<p>I want to redirect all requests from the old domain to a new domain. For example:</p> <pre><code>From: oldhost.com/app1/houses?city=springs To: newhost.com/app1/houses?city=springs </code></pre> <p>I've tried using both the basic &quot;HTTP Redirect&quot; as ...
<p>Got it to work with the following rule:</p> <pre><code> &lt;rule name=&quot;my_redirect&quot; enabled=&quot;true&quot; stopProcessing=&quot;true&quot;&gt; &lt;match url=&quot;.*&quot; /&gt; &lt;action type=&quot;Redirect&quot; url=&quot;https://newhost.com/{R:0}&quot; logRew...
How to rediret all requests to another host in IIS
redirect|iis
0
119
2
72,277,392
72,277,392
0
true
2022-05-13T21:44:08.273Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: How to rediret all requests to another host in IIS<p>I want to redirect all requests from the old domain to a new domain. For example:</p> <pre><code>From: ...
72,230,971
SAML authentication in OpenSerch giving error "Could not find IDPSSODescriptor" with keycloak<p>I am getting error below while integrating keycloak with OpenSearch (kibana). Is there any settings needed on keycloak side? The error says &quot;Could not find IDPSSODescriptor&quot; but its clearly there in xml.</p> <p>Er...
<p>Restarting AWS hosted opensearch cluster resolved the issue.</p>
SAML authentication in OpenSerch giving error "Could not find IDPSSODescriptor" with keycloak
amazon-web-services|keycloak|saml-2.0|opensearch
0
237
1
72,277,467
72,277,467
0
true
2022-05-13T14:10:58.130Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: SAML authentication in OpenSerch giving error "Could not find IDPSSODescriptor" with keycloak<p>I am getting error below while integrating keycloak with Open...
72,185,867
Typescript: add instance of external dependency to window object<p>I am integrating an external dependency into an Enterprise project. The integration goes like this:</p> <pre><code>window.foo = new Foo({ container: `#${iframeContainerId}`, plugin: { id: pluginId }, }) </code></pre> <p>Typescript does ...
<p>The solution I went with in the end was</p> <pre><code>declare global { interface Window { foo: any Foo: any } } </code></pre> <p>And then for the integration</p> <pre><code>window.foo = new window.Foo({ container: `#${iframeContainerId}`, plugin: { id: pluginId }, }) </code></pre> <p>The...
Typescript: add instance of external dependency to window object
typescript
0
42
2
72,277,723
72,277,723
0
true
2022-05-10T11:55:17.893Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Typescript: add instance of external dependency to window object<p>I am integrating an external dependency into an Enterprise project. The integration goes ...
72,175,463
React Three Fiber OBJLoader conflicts witth @types/three<p>I am following the official React Three Fiber Docs here. I am trying to load .obj files into my scene, using this article: <a href="https://docs.pmnd.rs/react-three-fiber/tutorials/loading-models#loading-obj-models" rel="nofollow noreferrer">react-three-fiber d...
<p><strong>UPDATE:</strong></p> <p>I managed to get rid of all the errors. Can't say I fully understand it but it's definitely related to <code>useRef()</code> and its secret magic. Providing it with a &quot;strong enough&quot; type in my <code>BoxComponent</code> resolved the issues: like such:</p> <p>BEFORE:</p> <p><...
React Three Fiber OBJLoader conflicts witth @types/three
reactjs|typescript|types|react-typescript|react-three-fiber
0
127
1
72,278,361
72,278,361
0
true
2022-05-09T16:41:24.940Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: React Three Fiber OBJLoader conflicts witth @types/three<p>I am following the official React Three Fiber Docs here. I am trying to load .obj files into my sc...
72,234,449
In Firestore security rules, does doing request.resource.data() account for first time writes?<pre><code>match /databases/{database}/documents { match /users/{theuser=**} { match /prescriptions/{prescriptions} { allow read, write: if (request.resource.data.TheClinicianEmail == request.a...
<p><code>request.resource.data</code> is <em>always</em> the data being passed up by the client (the request).</p> <p><code>resource.data</code> is the data that is already in Firestore, if any.</p>
In Firestore security rules, does doing request.resource.data() account for first time writes?
google-cloud-firestore|firebase-security|rules
0
33
1
72,279,134
72,279,134
0
true
2022-05-13T19:13:28.670Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: In Firestore security rules, does doing request.resource.data() account for first time writes?<pre><code>match /databases/{database}/documents { match...
72,185,908
Getting credit card type not allowed error in Paytrace using protect.js<p>I followed Client-Side Encryption steps using protect.js in Paytrace API Documentation. When enter test credit card which given by paytrace website, i am getting error message:</p> <p>description: &quot;credit card type not allowed&quot; response...
<p>Check your token. In my case I was passing token as query string so I had to encode and decode.</p>
Getting credit card type not allowed error in Paytrace using protect.js
payment-gateway|credit-card
0
146
1
72,279,547
72,279,547
0
true
2022-05-10T11:58:00.997Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Getting credit card type not allowed error in Paytrace using protect.js<p>I followed Client-Side Encryption steps using protect.js in Paytrace API Documentat...
72,201,021
Import a function from a module in another folder in parent directory<p>I have been trying unsuccessfully to solve this for hours now. This is my folder structure.</p> <pre><code>/parent_folder main.py module1/ script1.py module2/ script2.py </code></pre> <p><code>script2.py</code> has...
<p>This is what worked for me.</p> <p>I exported the directory of the parent directory (<code>/parent_folder</code>) to the <code>PYTHONPATH</code>.</p> <pre><code>export PYTHONPATH=$PYTHONPATH:/home/username/Desktop/parent_folder </code></pre> <p>Then, inside file <code>module1/script1.py</code>, i had this line chang...
Import a function from a module in another folder in parent directory
python-3.x|import|module
0
69
2
72,279,661
72,279,661
0
true
2022-05-11T12:24:33.087Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Import a function from a module in another folder in parent directory<p>I have been trying unsuccessfully to solve this for hours now. This is my folder stru...
72,227,728
Typeorm createQueryBuilder.innnerJoinSelect() not returning the columns of a table<p>I'm attempting to select columns of two tables tradie,postcode_distance using innerJoinAndSelect but unfortunately, I'm not fetching those columns.</p> <p>Here's what I'm trying with typeorm createQueryBuilder()</p> <pre><code>this.cre...
<p>Seems like select() will reset the selected columns above it. Removing select() fixed it</p>
Typeorm createQueryBuilder.innnerJoinSelect() not returning the columns of a table
typeorm
0
55
1
72,280,881
72,280,881
0
true
2022-05-13T09:58:55.953Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Typeorm createQueryBuilder.innnerJoinSelect() not returning the columns of a table<p>I'm attempting to select columns of two tables tradie,postcode_distance ...
72,234,407
liquibase.exception.DatabaseException: ORA-01950: no privileges on tablespace 'VMSS_TBS'<p>Initially I was getting this exception while starting my service</p> <pre><code>An attempt was made to call a method that does not exist. The attempt was made from the following location: org.springframework.boot.autoconfigu...
<p>In the <a href="https://docs.oracle.com/en/database/oracle/oracle-database/21/errmg/ORA-01500.html#:%7E:text=ORA%2D01950%3A%20no,on%20the%20tablespace." rel="nofollow noreferrer">Oracle Docs</a>, this error says:</p> <pre><code>ORA-01950: no privileges on tablespace 'string' Cause: User does not have privileges to ...
liquibase.exception.DatabaseException: ORA-01950: no privileges on tablespace 'VMSS_TBS'
java|oracle|spring-boot|gradle|liquibase
0
64
1
72,281,086
72,281,086
0
true
2022-05-13T19:08:52.237Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: liquibase.exception.DatabaseException: ORA-01950: no privileges on tablespace 'VMSS_TBS'<p>Initially I was getting this exception while starting my service</...
72,165,400
How to install typescript + jest with create-react-app?<p>I want to install typescript and jest in a create-react-app-based app. I feel that since this is such a common installation choice there must be at least one &quot;everything just works&quot; set of configuration steps to follow.</p> <p>I initially ran <code>npx...
<p>The command below should create a new React project supporting Typescript and Jest without need of further modification.</p> <pre><code>npx create-react-app my-app --template typescript </code></pre> <p>Details about the above command can be found here: <a href="https://create-react-app.dev/docs/adding-typescript/" ...
How to install typescript + jest with create-react-app?
reactjs|typescript|jestjs
0
89
1
72,281,860
72,281,860
0
true
2022-05-08T22:04:02.620Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: How to install typescript + jest with create-react-app?<p>I want to install typescript and jest in a create-react-app-based app. I feel that since this is su...
71,287,236
What is the Athena equivalent of MySQL's JSON_REMOVE?<p>I want to remove items from a json value, producing a new json value, within the scope of an Athena query.</p> <p>MySQL has the function <code>JSON_REMOVE</code> which does this nicely.</p> <p>What is the equivalent in Athena?</p> <p>I have checked the documentati...
<p>Found the answer is to cast JSON to MAP and then use <code>map_filter</code>, for example:</p> <pre><code>select map_filter(cast(json_parse(json) as map&lt;varchar,varchar&gt;), (k,v) -&gt; k !='fieldName') from ... </code></pre>
What is the Athena equivalent of MySQL's JSON_REMOVE?
amazon-web-services|amazon-athena
0
39
1
72,282,671
72,282,671
0
true
2022-02-27T18:00:19.130Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: What is the Athena equivalent of MySQL's JSON_REMOVE?<p>I want to remove items from a json value, producing a new json value, within the scope of an Athena q...
72,224,191
How can I add a function(Underline) on ckeditor4-react config?<p>React Version: 18.1.0</p> <p><code>Ckeditor4-react</code> <em>tag</em>:</p> <pre><code>&lt;CKEditor onChange={(even) =&gt; { onChangeCk(even, 'description'); }} data={formData.description} config={ckeditorUploadConfig} /&gt; <...
<p>Instead of using ckeditor4-react,I use ckeditor 4 react advanced for more function and compatible with react. <a href="https://www.npmjs.com/package/ckeditor4-react-advanced" rel="nofollow noreferrer">https://www.npmjs.com/package/ckeditor4-react-advanced</a></p>
How can I add a function(Underline) on ckeditor4-react config?
reactjs|ckeditor4-react
0
54
1
72,282,820
72,282,820
0
true
2022-05-13T03:37:46.680Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: How can I add a function(Underline) on ckeditor4-react config?<p>React Version: 18.1.0</p> <p><code>Ckeditor4-react</code> <em>tag</em>:</p> <pre><code>&lt;C...
72,199,231
What is CAN Active, CAN passive and Sleep state in CAN Network manager?<p>I am trying to understand the CAN network management in vehicle. During my research, I got to know that CAN network management(CANNM) will make some Mode state to decide the CAN transmission. Those modes are CAN active, CAN passive and CAN sleep ...
<p>I highly recommended to read <a href="https://www.autosar.org/fileadmin/user_upload/standards/foundation/19-11/AUTOSAR_PRS_NetworkManagementProtocol.pdf" rel="nofollow noreferrer">Autosar Network Management Spec</a></p> <p>Where you will got the idea behind that. Maybe in your term it differences but likely same CAN...
What is CAN Active, CAN passive and Sleep state in CAN Network manager?
embedded|can-bus|automotive
0
108
1
72,283,265
72,283,265
0
true
2022-05-11T10:11:49.147Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: What is CAN Active, CAN passive and Sleep state in CAN Network manager?<p>I am trying to understand the CAN network management in vehicle. During my research...
72,213,615
Flutter iOS firebaseMessaging doesn't handle RemoteMessages without Notification block<p>I intercept messages as follows:</p> <pre><code>FirebaseMessaging.onMessage.listen((RemoteMessage message) async { print('Message data: ${message.data}'); }); </code></pre> <p>I send messages from the server as follows:</p> <p...
<p>The problem seems to be with version 11 of firebase_messaging library. When I rolled back to 10.0.9 it worked as expected</p>
Flutter iOS firebaseMessaging doesn't handle RemoteMessages without Notification block
ios|firebase|flutter|firebase-cloud-messaging
0
96
2
72,284,286
72,284,286
0
true
2022-05-12T10:02:47.963Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Flutter iOS firebaseMessaging doesn't handle RemoteMessages without Notification block<p>I intercept messages as follows:</p> <pre><code>FirebaseMessaging.on...
72,202,075
People Picker adaptive element in adaptive cards doesn't work in Teams Android app<p>I'm trying to use the People Picker element in my adaptive cards and it works very well on the Desktop and iPhone version of Teams. Teams for Android just shows &quot;Unable to show options right now&quot; error message.</p> <p>Anythin...
<p>This is a confirmed bug in Teams. For now, we have been granted an exception for the Teams app review process.</p>
People Picker adaptive element in adaptive cards doesn't work in Teams Android app
android|microsoft-teams|adaptive-cards
0
119
1
72,284,517
72,284,517
0
true
2022-05-11T13:36:57.050Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: People Picker adaptive element in adaptive cards doesn't work in Teams Android app<p>I'm trying to use the People Picker element in my adaptive cards and it ...
72,224,398
How to optionally call mutator in lumen<p>i use mutator in my model to encrypt id:</p> <pre><code>public function getIdAttribute($value) { return encrypt($value); } </code></pre> <p>but I want the default value to be the original value of the id and call the mutator when needed. is that possible?</p>
<p>If you want to be able to call the original value, and sometimes the encrypted value why don't you just add an extra function to your model ? You won't use a mutator since you want to be able to grab the original value, but you can add an extra function like this in your model which you will be able to call when you...
How to optionally call mutator in lumen
laravel|eloquent|lumen
0
123
2
72,285,702
72,285,702
0
true
2022-05-13T04:20:10.423Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: How to optionally call mutator in lumen<p>i use mutator in my model to encrypt id:</p> <pre><code>public function getIdAttribute($value) { return encrypt...
72,173,170
Simulate a pipeline got Error: Request failed with status code 500<p>I’am trying to create my first pipeline so i followed to recommendation to validate my …gitlab-ci.yml file and then simulate the pipeline but i’am getting an Error 500 code. so here’s my .gitlab-ci.yml file:</p> <pre><code>image: docker:stable stages...
<p>For anyone who's having the same issue. I fixed this by backing up only the repositories of our self signed gitlab and then Install gitlab on Docker with following the officiel Doc: <a href="https://docs.gitlab.com/ee/install/docker.html" rel="nofollow noreferrer">enter link description here</a></p> <p>For the backu...
Simulate a pipeline got Error: Request failed with status code 500
gitlab|gitlab-ci|gitlab-pipelines
0
108
1
72,285,789
72,285,789
0
true
2022-05-09T13:56:07.537Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Simulate a pipeline got Error: Request failed with status code 500<p>I’am trying to create my first pipeline so i followed to recommendation to validate my …...
72,226,123
Some instances of a ReactJS component won't update<p>I'm developing a VOD app for TV and I'm having an issue with updating an element inside of a slide component. Basically, when a costumer focuses on any of the slides, it calls on a method that stores it's ID on state and then, one of their children checks if the stor...
<p>I never found out why the EventListener wouldn't trigger properly, but I finally removed it and added React's event handlers to the element and it started working.</p>
Some instances of a ReactJS component won't update
javascript|reactjs|react-functional-component
0
28
1
72,285,882
72,285,882
0
true
2022-05-13T07:49:56.337Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Some instances of a ReactJS component won't update<p>I'm developing a VOD app for TV and I'm having an issue with updating an element inside of a slide compo...
72,232,335
Oracle APEX - Put onclick event on tabs of tabs container<p>I've got a tabs container with three tabs. They have select lists and checkboxes on them which have sql queries as source. Users can select entries in the lists or edit the checked boxes and save this to the database by clicking a button. This button also re-f...
<p>Just in case anyone else is experiencing the same problem: I solved it by putting an custom dynamic action on the tabs container: <a href="https://i.stack.imgur.com/Tb3IK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Tb3IK.png" alt="enter image description here" /></a></p> <p>This fires whenever...
Oracle APEX - Put onclick event on tabs of tabs container
javascript|jquery|onclick|oracle-apex
0
312
3
72,287,509
72,287,509
0
true
2022-05-13T15:54:53.033Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Oracle APEX - Put onclick event on tabs of tabs container<p>I've got a tabs container with three tabs. They have select lists and checkboxes on them which ha...
72,139,303
How to calculate age from date of birth<p>I have a user registration form where all user data is stored in database.</p> <p>I am listing all user data in the UI in a member listing page. In there I have to calculate the age of the user based on their date of birth. I tried by calculating using JSTL, but still I am not ...
<p>If anyone here wants to get the difference between two dates in days and want to display it in another column in the JSP you can you can do like this.</p> <pre><code> &lt;fmt:parseDate value = &quot;${name_of_your_bean.1st_variable}&quot; var = &quot;formatedDate1&quot; type = &quot;date&quot; pattern = &quot;yyyy-M...
How to calculate age from date of birth
servlets|jstl
0
162
2
72,288,081
72,288,081
0
true
2022-05-06T09:36:39.663Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: How to calculate age from date of birth<p>I have a user registration form where all user data is stored in database.</p> <p>I am listing all user data in the...
72,185,392
How to find lost git commits after push?<p>I downloaded a ZIP file of a project commit. After making some changes, I ran the commands:</p> <pre><code>git init git branch -m main git remote add origin &lt;url&gt; git add . git commit -m &quot;message&quot; git push -f origin main </code></pre> <p>After running these com...
<p>For anyone having similar problems, if you download a ZIP file of a repository, it doesn't include the git history. Because of that, when you push your changes, there is no history of any commits before that. If you or a colleague have another version with the history, you can simply push that. If not, the best appr...
How to find lost git commits after push?
git|github
0
107
1
72,288,821
72,288,821
0
true
2022-05-10T11:17:22.867Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: How to find lost git commits after push?<p>I downloaded a ZIP file of a project commit. After making some changes, I ran the commands:</p> <pre><code>git ini...
72,220,619
Migrate Vaadin 8 to 14: Widgetset 'xx.MyAppWidgetset' does not contain an implementation for com.vaadin.mpr.MprUIContent<p>We are migrating from Vaadin 8 to Vaadin Flow 14. In order to migrate piece by piece, MPR is used. We use Flow 14's Route for navigation. For each view we created a MprRouteAdapter. This is proved ...
<p>The issue is resolved by removing MyAppWidgetset.gwt.xml and annotation @MprWidgetset.</p>
Migrate Vaadin 8 to 14: Widgetset 'xx.MyAppWidgetset' does not contain an implementation for com.vaadin.mpr.MprUIContent
migration|vaadin|vaadin-flow|multiplatform
0
66
1
72,290,906
72,290,906
0
true
2022-05-12T18:39:45.537Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Migrate Vaadin 8 to 14: Widgetset 'xx.MyAppWidgetset' does not contain an implementation for com.vaadin.mpr.MprUIContent<p>We are migrating from Vaadin 8 to ...
72,208,538
How do I install taosBenchmark when building TDengine?<p>I have a MacOS computer with the M1 chip and I am running a virtual machine with Ubuntu 20.04.2 with ARM64. I built TDengine following the documentation on the GitHub page at <a href="https://github.com/taosdata/TDengine" rel="nofollow noreferrer">https://github....
<p>for arm environment, you can try following steps</p> <pre><code>cd TDengine git submodule update --init --recursive mkdir debug cd debug cmake .. -DCPUTYPE=aarch64/aarch32 -DBUILD_TOOLS=true cmake --build . </code></pre>
How do I install taosBenchmark when building TDengine?
tdengine
0
26
1
72,290,945
72,290,945
0
true
2022-05-11T23:13:48.137Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: How do I install taosBenchmark when building TDengine?<p>I have a MacOS computer with the M1 chip and I am running a virtual machine with Ubuntu 20.04.2 with...
72,234,582
Can't get modal to work without scroll bars<p>So I'm trying to get a modal to work without the main page having scroll bars. Inside the modal are photos with different heights. When a photo that fits within the view height is inside the modal, there are no scroll bars. When it's a taller image, the scroll bars show up....
<p>Thanks to @Danield and his answer below I was able to solve this problem:</p> <p><a href="https://stackoverflow.com/users/703717/danield">https://stackoverflow.com/users/703717/danield</a></p> <p><a href="https://stackoverflow.com/questions/28791970/how-to-limit-the-height-of-the-modal">How to limit the height of t...
Can't get modal to work without scroll bars
bootstrap-4|scroll|modal-dialog|bootstrap-modal|scrollbar
0
24
1
72,291,301
72,291,301
0
true
2022-05-13T19:29:49.477Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Can't get modal to work without scroll bars<p>So I'm trying to get a modal to work without the main page having scroll bars. Inside the modal are photos with...
72,168,874
rstan and brms cause R and RStudio session abort<p><a href="/questions/tagged/rstan" class="post-tag" title="show questions tagged &#39;rstan&#39;" rel="tag">rstan</a> and <a href="/questions/tagged/brms" class="post-tag" title="show questions tagged &#39;brms&#39;" rel="tag">brms</a> cause <a href="/questions/tagged/r...
<p>Thanks to @bschneidr for providing solution <a href="https://github.com/stan-dev/rstan/issues/1007#issuecomment-1130040395" rel="nofollow noreferrer">here</a>. Reinstalling <code>rstan</code> along with its some dependencies as given below works for me.</p> <pre><code>install.packages(c(&quot;BH&quot;, &quot;StanHea...
rstan and brms cause R and RStudio session abort
r|rstudio|stan|rstan|brms
0
183
1
72,292,482
72,292,482
0
true
2022-05-09T08:15:34.703Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: rstan and brms cause R and RStudio session abort<p><a href="/questions/tagged/rstan" class="post-tag" title="show questions tagged &#39;rstan&#39;" rel="tag"...
72,203,132
Code using facebook php sdk stopped working suddenly - what happened?<p>I have an old piece of php code calling Facebook, that <strong>used to work fine until a week ago.</strong> Now it suddenly stopped working. Here are the relevant lines involved:</p> <pre><code>&lt;?php require_once __DIR__ . '/facebook-sdk-v562/au...
<p>I don't know why, but omitting the &quot;permissions&quot; argument to <code>getLoginUrl</code> altogether -- solved the issue.</p>
Code using facebook php sdk stopped working suddenly - what happened?
php|facebook|facebook-graph-api|facebook-php-sdk
0
216
1
72,292,952
72,292,952
0
true
2022-05-11T14:49:30.570Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Code using facebook php sdk stopped working suddenly - what happened?<p>I have an old piece of php code calling Facebook, that <strong>used to work fine unti...
72,141,013
Liquibase transaction rollback vs <rollback> tag<p>I learned that Liquibase runs each changeSet in a transaction and commits it after inserting into the DATABASECHANGELOG table.</p> <p>If something goes wrong during the changeSet, the transaction gets rolled back.</p> <p>My question is, what happens if the changeSet al...
<p>The <code>&lt;rollback&gt;</code> block is not used in when an <code>update</code> fails. If the update fails, Liquibase just calls &quot;rollback&quot; on the connection and relies on the database to correctly roll things back. The <code>&lt;rollback&gt;</code> block is only used when doing the separate <code>rollb...
Liquibase transaction rollback vs <rollback> tag
liquibase
0
123
1
72,294,501
72,294,501
0
true
2022-05-06T11:49:55.767Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Liquibase transaction rollback vs <rollback> tag<p>I learned that Liquibase runs each changeSet in a transaction and commits it after inserting into the DATA...
72,223,001
org.springframework.beans.factory.UnsatisfiedDependencyException Spring JPA<p>i need help to solve this error here, for my college project.</p> <p>I created an online database and from there I tried to develop a service to be consumed later, the problem is that when I run to test the service I get these errors, I've lo...
<p>Don't look at your model, so I created one to test your application:</p> <pre><code>package com.teig.descubraportugal.model; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; @Entity public class Utilizador { @Id...
org.springframework.beans.factory.UnsatisfiedDependencyException Spring JPA
spring|spring-boot|spring-mvc|spring-data-jpa
0
100
2
72,295,331
72,295,331
0
true
2022-05-12T23:21:43.160Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: org.springframework.beans.factory.UnsatisfiedDependencyException Spring JPA<p>i need help to solve this error here, for my college project.</p> <p>I created ...
72,196,872
Swiftui - Fetch data after login<p>I'm starting to learn SwiftUI and i'm looking for better solution to fetch user data after successful login.</p> <p>For example, i need to see if the user has the account blocked or not after login</p> <p>For this i have create struct in Users.swift</p> <pre><code>struct Users: Identi...
<p>Let me address this at a high level as your code seems fine but its's just wrapping your brain around the asynchronous calls.</p> <p>I am pretty sure you have everything you need - here's the flow using pseudo code</p> <pre><code>authenticate { auth closure read user document using auth.uid { snapshot closure ...
Swiftui - Fetch data after login
swift|firebase|swiftui|firebase-authentication
0
102
1
72,295,613
72,295,613
0
true
2022-05-11T07:15:11.920Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Swiftui - Fetch data after login<p>I'm starting to learn SwiftUI and i'm looking for better solution to fetch user data after successful login.</p> <p>For ex...
72,178,032
Build phase in Xcode 13.3 started failing<p>I have a build phase that calls some python scripts.</p> <p>This has been working fine for well over 2 years, but after recently updating to Xcode 13.3 it now fails.</p> <p><a href="https://i.stack.imgur.com/c2yDH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur...
<p>So, Xcode seems to bundles its' own versions of python and python 3. It does not use the system version, so changes to Monteray 12.3 would not affect this.<br /> Since that is the case, the correct solution is changing <code>python</code> to <code>python3</code> since it looks like an Xcode update dropped python2.7...
Build phase in Xcode 13.3 started failing
xcode|xcode13.3
0
241
2
72,296,219
72,296,219
0
true
2022-05-09T20:45:41.600Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Build phase in Xcode 13.3 started failing<p>I have a build phase that calls some python scripts.</p> <p>This has been working fine for well over 2 years, but...
72,232,565
JWT token does not start with Bearer<p>i cant find a way to add the Bearer</p> <p>and on the localhost:8080 I get this</p> <blockquote> <p>This application has no explicit mapping for /error, so you are seeing this as a fallback.</p> <p>Sat May 14 00:13:48 CST 2022 There was an unexpected error (type=Unauthorized, stat...
<p>I fixed my error by clearing local storage in my web application, there was an old token stored that messed things up.</p>
JWT token does not start with Bearer
java|spring-boot
0
47
1
72,296,962
72,296,962
0
true
2022-05-13T16:14:40.873Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: JWT token does not start with Bearer<p>i cant find a way to add the Bearer</p> <p>and on the localhost:8080 I get this</p> <blockquote> <p>This application h...
72,210,185
Inconsistencies between Apache Velocity output from production (ubuntu) and local (windows)<p>I am using apache velocity to generate rtf output from a tomcat web application using user defined templates. The webapp's dependencies are managed by maven, with velocity 2.3 defined in the pom.</p> <p>While modifying one of ...
<p>I found the way to standardise the output of both installations was to add the following line to my Velocity calling code:</p> <p><code>Velocity.setProperty(&quot;space.gobbling&quot;, &quot;bc&quot;);</code></p> <p>This does not explain <em>why</em> it was behaving differently while running the same velocity versio...
Inconsistencies between Apache Velocity output from production (ubuntu) and local (windows)
java|tomcat|velocity
0
94
1
72,297,057
72,297,057
0
true
2022-05-12T04:35:54.107Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Inconsistencies between Apache Velocity output from production (ubuntu) and local (windows)<p>I am using apache velocity to generate rtf output from a tomcat...
72,220,736
Pyton2.7 GTK webkit enable hardware acceleration<p>I'm working on some python2.7 widgets for a Digital signage using GTK and webkit and I was wondering How can I enable 2d hardware acceleration? I'm running Raspbian OS.</p> <pre><code>import gtk import webkit import time view = webkit.WebView() sw = gtk.ScrolledWind...
<p>Python 3.7 webkit2 was the solution, It looks like the WebKit API for python 2.7 is obsolete.</p>
Pyton2.7 GTK webkit enable hardware acceleration
python-2.7|raspbian|gtk2
0
34
1
72,297,717
72,297,717
0
true
2022-05-12T18:51:22.500Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Pyton2.7 GTK webkit enable hardware acceleration<p>I'm working on some python2.7 widgets for a Digital signage using GTK and webkit and I was wondering How c...
72,155,614
Google Cloud Functions Used to Work Perfectly. Then They Stopped Working and Started Redirecting Me to A Login Page?<p>I have been using Google Cloud Functions for over a week now and they have been great. I used a simple python 3.9 function to print a string to my terminal in my Next.js app (for testing purposes) and ...
<p>It was a simple &quot;needle in the haystack&quot; type of fix. I was getting the function url from within the cloud function listing view, clicking the Actions Menu dropdown on the desired function, and selecting &quot;Copy Function.&quot; This took me to the configuration display page where it had the function url...
Google Cloud Functions Used to Work Perfectly. Then They Stopped Working and Started Redirecting Me to A Login Page?
python|authentication|google-cloud-platform|google-cloud-functions
0
156
1
72,297,962
72,297,962
0
true
2022-05-07T19:01:03.360Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Google Cloud Functions Used to Work Perfectly. Then They Stopped Working and Started Redirecting Me to A Login Page?<p>I have been using Google Cloud Functio...
72,181,868
Mount an EBS volume to ECS Task<p>Use AWS CDK I have an ASG + ECS Cluster &amp; an external EBS Volume created.</p> <pre><code>df -h /dev/nvme0n1p1 30G 9.6G 21G 32% / /dev/nvme1n1 200G 237M 200G 1% /mnt </code></pre> <p><em>NOTE: The drive is formatted and mounted by UserData, so should be ready to go befo...
<p>The best way of completing this is to use a docker volume plugin, here is the CDK code to complete this.</p> <p>I found this article very helpful</p> <p><a href="https://aws.amazon.com/blogs/compute/amazon-ecs-and-docker-volume-drivers-amazon-ebs/" rel="nofollow noreferrer">https://aws.amazon.com/blogs/compute/amazo...
Mount an EBS volume to ECS Task
docker|amazon-ecs
0
419
1
72,298,567
72,298,567
0
true
2022-05-10T06:55:54.410Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Mount an EBS volume to ECS Task<p>Use AWS CDK I have an ASG + ECS Cluster &amp; an external EBS Volume created.</p> <pre><code>df -h /dev/nvme0n1p1 30G 9....
72,206,840
How to prevent kafka to mqtt Apache Camel route from failures?<p>I have a system that distributes Kafka stream data to MQTT topics. The Apache Camel routes looks like that:</p> <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt; &lt;routes xmlns=&quot;http://camel.apache.org/schema/spring&quot;&...
<p>It looks like this is <code>&lt;toD/&gt;</code>-related issue because of dynamic nature. Doing the explicit switch with pre-defined value check makes everything working:</p> <pre><code>&lt;routes xmlns=&quot;http://camel.apache.org/schema/spring&quot;&gt; &lt;route id=&quot;KafkaToMQTT&quot;&gt; &lt;...
How to prevent kafka to mqtt Apache Camel route from failures?
java|apache-kafka|apache-camel|mqtt
0
41
1
72,298,761
72,298,761
0
true
2022-05-11T19:47:06.523Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: How to prevent kafka to mqtt Apache Camel route from failures?<p>I have a system that distributes Kafka stream data to MQTT topics. The Apache Camel routes l...
72,111,964
How to test pipe injecting the ChangeDetectorRef<p>I have a pipe like this one:</p> <pre><code>@Pipe({name: 'myPipe', pure: false}) export class MyPipe implements PipeTransform { constructor(private _ref:ChangeDetectorRef) { _ref.markForCheck(); } public transform(input: string | number) { ...
<p>The answer is quite simple! You do not inject a pipe, but create it via it's constructor:</p> <pre><code> pipe = new MyPipe(changeDetector); </code></pre>
How to test pipe injecting the ChangeDetectorRef
angular|typescript
0
23
1
72,301,216
72,301,216
0
true
2022-05-04T11:10:52.113Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: How to test pipe injecting the ChangeDetectorRef<p>I have a pipe like this one:</p> <pre><code>@Pipe({name: 'myPipe', pure: false}) export class MyPipe imple...
72,229,612
How to flatten nested struct using PySpark?<p>How to flatten nested struct using PySpark?</p> <p>Link to dataset <a href="https://drive.google.com/file/d/1-xOpd2B7MDgS1t4ekfipHSerIm6JMz9e/view?usp=sharing" rel="nofollow noreferrer">https://drive.google.com/file/d/1-xOpd2B7MDgS1t4ekfipHSerIm6JMz9e/view?usp=sharing</a></...
<p>While I agree with Phantoms that it is very basic to flatten a df still if you still haven't figured it out you can use below function to flatten your df</p> <pre><code>def flattenNestedData(nestedDF): from pyspark.sql.functions import col from pyspark.sql.types import StructType,ArrayType try: ##Fetchi...
How to flatten nested struct using PySpark?
python|pyspark|apache-spark-sql|pyspark-schema
0
97
1
72,303,504
72,303,504
0
true
2022-05-13T12:28:26.383Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: How to flatten nested struct using PySpark?<p>How to flatten nested struct using PySpark?</p> <p>Link to dataset <a href="https://drive.google.com/file/d/1-x...
72,226,284
How to insert user access missing records for the user<p><a href="https://i.stack.imgur.com/tJrHk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tJrHk.png" alt="enter image description here" /></a></p> <p>I am trying to insert user access missing record. I have used Exist statement to get the missin...
<p>I have used the following condition in NOT Exists to fix the issue</p> <p>A.RequestedDate &lt; B.RequestedDate</p>
How to insert user access missing records for the user
sql|sql-server
0
38
1
72,303,743
72,303,743
0
true
2022-05-13T08:04:41.883Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: How to insert user access missing records for the user<p><a href="https://i.stack.imgur.com/tJrHk.png" rel="nofollow noreferrer"><img src="https://i.stack.im...
72,183,356
Axios requests using cookie to authenticate .net core User<p>I need to authenticate the user on the backend using the <em>authentication cookie</em> I have stored. I need to request API in <em>Vue</em> using <em>axios</em> requests and send cookie in those requests. The user should then be authenticated in the backend ...
<p>I found a solution. The cookie had to be passed to Axios as follows:</p> <pre><code>axios.defaults.headers.common['orchauth_Default'] = mySavedCookie; </code></pre> <p>my OrchardCore backend will now automatically authenticate users in the api controller</p>
Axios requests using cookie to authenticate .net core User
c#|vue.js|asp.net-core|cookies|axios
0
194
1
72,304,134
72,304,134
0
true
2022-05-10T08:56:57.657Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Axios requests using cookie to authenticate .net core User<p>I need to authenticate the user on the backend using the <em>authentication cookie</em> I have s...
72,215,918
R versions and associated libraries<p>When I switch R versions in RStudio will the package/library versions associated with that R version be used? My libraries are in “c:\users\user1\Documents\R\win-library” with directories for each R version on my machine. There is also a library directory in the R version location ...
<p>Based on the comments above and testing on my machine R seems to use the libraries associated with whatever R version is being used in the following directories (e.g. c:/Users/user1/Documents/R/win-library/4.1; c:/Program Files/R/R-4.1.2/library). As @r2evans has stated above this can be changed using the .libPaths(...
R versions and associated libraries
r
0
39
1
72,304,572
72,304,572
0
true
2022-05-12T12:51:16.603Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: R versions and associated libraries<p>When I switch R versions in RStudio will the package/library versions associated with that R version be used? My librar...
72,215,991
How to kill a background process in windows and keep foreground process running<p>as the title says, I want to kill all backgroundprocess of a certain program, but keep the running foreground program on windows (Server 2016). All the processes are using the same .exe and therefore the only thing to separate them is to ...
<pre><code>FOR /f &quot;tokens=*&quot; %%G IN ('tasklist ^| findstr /I BPNEXT.EXE ^| findstr Services') DO ( set /a counter=1 FOR %%H IN (%%G) DO ( if !counter! == 2 ( taskkill /F /PID %%H ) set /a counter=!counter!+1 ) ) </code></pre>
How to kill a background process in windows and keep foreground process running
windows|process|taskkill
0
80
1
72,304,906
72,304,906
0
true
2022-05-12T12:56:16.957Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: How to kill a background process in windows and keep foreground process running<p>as the title says, I want to kill all backgroundprocess of a certain progra...
72,230,691
java.lang.VerifyError:Illegal type in constant pool<p>When sending and reading xml files through rest api post endpoint in Azure Spring Cloud App with less than 100 rows, the code works, but if one runs more than 100 rows xml file, Azure Spring Cloud throws the following error: java.lang.VerifyError: (class: ASMAccesso...
<p>This is now solved, it was probably caused by bytecode size of one of my methods exceeded the 64kb limit. <a href="https://stackoverflow.com/questions/100107/causes-of-getting-a-java-lang-verifyerror">Causes of getting a java.lang.VerifyError</a></p>
java.lang.VerifyError:Illegal type in constant pool
java|xml|spring-cloud|mvel|azure-spring-cloud
0
275
1
72,305,181
72,305,181
0
true
2022-05-13T13:51:29.753Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: java.lang.VerifyError:Illegal type in constant pool<p>When sending and reading xml files through rest api post endpoint in Azure Spring Cloud App with less t...
72,200,065
Kafka from docker container not showing topics in offset explorer<p>Hi I am having trouble setting up a kafka / docker to show all topics, this is for a test / development environment. I am very new to Kafka and docker so some of my terminology may be off</p> <p>The setup: custom Windows App - WSL (Debian) with Kafka /...
<p>So there seemed to be networking issues between WSL and windows. In the end I installed kafka directly into WLS but still had issue. the solution was four fold.</p> <ol> <li><p>In WLS prefer IV4</p> <p>export KAFKA_OPTS=&quot;-Djava.net.preferIPv4Stack=True&quot; I ended up putting this at the beginning of both bin/...
Kafka from docker container not showing topics in offset explorer
docker|apache-kafka|windows-subsystem-for-linux
0
502
1
72,305,274
72,305,274
0
true
2022-05-11T11:15:33.413Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Kafka from docker container not showing topics in offset explorer<p>Hi I am having trouble setting up a kafka / docker to show all topics, this is for a test...
72,216,456
Add user for resource using gcloud iam tools not via the user interface?<p>I want to create a user via gcloud tools in terminal not using the user interface.</p> <p>I can create a service account using gcloud tools like this: <code>gcloud iam service-accounts create my-service-account --display-name=&quot;My Service Ac...
<p>The Add Button in the permissions pages (IAM) does <em>not</em> result in the creation of a new user (i.e. it does not ADD a user). Instead, what the <em>add</em> means is that we are <em>adding</em> permissions to the authority of the user. Clicking <code>add</code> allows us to name an <em>existing</em> identity...
Add user for resource using gcloud iam tools not via the user interface?
gcloud|google-cloud-iam
0
231
2
72,305,618
72,305,618
0
true
2022-05-12T13:26:04.287Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Add user for resource using gcloud iam tools not via the user interface?<p>I want to create a user via gcloud tools in terminal not using the user interface....
72,217,410
Selenium Android web test 'Save Card?' pop-up blocking test clicks<p>Hey I am having an issue with Selenium web tests with the Chrome mobile browser running on an Android device through Browserstack.</p> <p>When I enter card details, the'Save Card?' pop-up appears and prevents test clicks on web elements that it covers...
<p>Had to end up switching to using:</p> <pre><code>driver = new AndroidDriver(...) </code></pre> <p>Then switching context &amp; clicking 'Save':</p> <pre><code>driver.context(&quot;NATIVE_APP&quot;); driver.findElement(By.xpath(&quot;.//android.widget.Button[@text='Save']&quot;)).click(); </code></pre>
Selenium Android web test 'Save Card?' pop-up blocking test clicks
android|selenium|webdriver|browserstack|remotewebdriver
0
36
1
72,307,176
72,307,176
0
true
2022-05-12T14:26:30.203Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Selenium Android web test 'Save Card?' pop-up blocking test clicks<p>Hey I am having an issue with Selenium web tests with the Chrome mobile browser running ...
72,231,412
Update hashset from .txt while app is running<p>The goal is to block access to the page from the list of IP addresses. This list is in the file list.txt. I made the service that checks IP from request and with HashSet of &quot;unwanted&quot; addresses, but subgoal is &quot;catch on the fly&quot; this list.txt. What I m...
<p>In loadBlackList() you are reading a resource from the classpath. Could this be picking up a file built into your jar file or build dir which is not the file you are editing? I would try changing loadBlackList() to use FileReader and a path on the file system rather than a path within the classpath instead of InputS...
Update hashset from .txt while app is running
java|spring
0
57
2
72,307,353
72,307,353
0
true
2022-05-13T14:42:55.493Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Update hashset from .txt while app is running<p>The goal is to block access to the page from the list of IP addresses. This list is in the file list.txt. I m...
72,206,675
Map data points onto an image in google sheets?<p><a href="https://i.stack.imgur.com/NG7QN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NG7QN.png" alt="enter image description here" /></a></p> <p>I'd like to be able to plot points onto this image automatically based on a data set in google sheets....
<p>I ended up making a scatterplot on top of it using vlookup to convert the hex coordinates above to x and y pixel coordinates on the image.</p>
Map data points onto an image in google sheets?
google-sheets|google-sheets-formula|google-sheets-api
0
54
1
72,307,485
72,307,485
0
true
2022-05-11T19:32:00.530Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Map data points onto an image in google sheets?<p><a href="https://i.stack.imgur.com/NG7QN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com...
72,169,462
Can you create / delete / update stored access policies if running as a Managed Identity?<p>I'm not really sure how to test this locally, as my understanding of using Managed Identities is that my code would need to be published as an azure resource and running under that identity to access another azure resource which...
<p>Through my testing it looks like a Managed Identity, even when given 'owner' permissions on the storage account cannot create / remove / update access policies. This needs to be done using StorageSharedKeyCredential, so the container client created would then have the ability to do those activities.</p>
Can you create / delete / update stored access policies if running as a Managed Identity?
c#|azure|azure-managed-identity|azurite
0
66
2
72,307,495
72,307,495
0
true
2022-05-09T09:06:51.310Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Can you create / delete / update stored access policies if running as a Managed Identity?<p>I'm not really sure how to test this locally, as my understanding...
72,237,431
Validating enums with AJV in Typescript<p>Say I have an interface and schema like so:</p> <pre class="lang-js prettyprint-override"><code>enum FooEnum { Bar = 'BAR', } interface Foo { enumValue: FooEnum.Bar } const schema = JSONSchemaType&lt;Foo&gt; = { type: 'object', properties: { enumValue: { con...
<p>The answer to the first question ended up being straightforward: I needed to give a type for the const value in the jsonschema.</p> <pre><code>constantValue: { type: 'string', const: 'FOO' } </code></pre> <p>The second seems like its not possible.</p>
Validating enums with AJV in Typescript
typescript|enums|jsonschema|ajv
0
225
1
72,309,740
72,309,740
0
true
2022-05-14T04:53:59.520Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Validating enums with AJV in Typescript<p>Say I have an interface and schema like so:</p> <pre class="lang-js prettyprint-override"><code>enum FooEnum { Ba...
72,151,556
AWS EventBridge Rule with Redshift - Procedure not being called<p>I've created an event rule to call a redshift stored procedure, using temporary credentials.<br> From Redshift I can see that the role is successfully getting credentials to log onto the cluster &amp; db as the intended user ..but I cannot see any trace ...
<p>User error. I had granted permissions to the &quot;IAM:&quot; user, as this is what connects and makes the calls.</p> <p>However, re-reading the docs, I see that the &quot;IAM:&quot; user inherits permissions from its non-prefixed name equivalent.</p> <p>So, grant to user service_xxxxxxxxxx_scheduler and <em>not</em...
AWS EventBridge Rule with Redshift - Procedure not being called
amazon-redshift|aws-event-bridge
0
259
1
72,312,220
72,312,220
0
true
2022-05-07T10:17:07.900Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: AWS EventBridge Rule with Redshift - Procedure not being called<p>I've created an event rule to call a redshift stored procedure, using temporary credentials...
72,216,651
Google Home shows my smart devices loading for around 10 seconds<p>I am using Google smarthome washer code to control my ESP8266 with SSR. Everything works fine but every time I open my Google Home app or Home Control in Nest Hub 2, devices are shown loading for around 10 seconds or more. But devices from other vendors...
<p>I solved the problem, my reportstate function was not updating the states of the devices due to which QUERY intent has to be called everytime I opened Google Home app which increased the loading time. Home Graph viewer is the tool to debug.</p>
Google Home shows my smart devices loading for around 10 seconds
google-cloud-functions|google-smart-home|google-assistant
0
74
3
72,313,642
72,313,642
0
true
2022-05-12T13:38:08.637Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Google Home shows my smart devices loading for around 10 seconds<p>I am using Google smarthome washer code to control my ESP8266 with SSR. Everything works f...
72,210,642
URL-handler for linux with install4j not working<p>I've defined an URL handler for my application. It work's perfectly for Windows and Mac but on Linux it doesn't seem to get installed at all. At least in some earlier version of install4j (unfortunately not sure which one) it got installed as an <code>xdg-mime</code> b...
<p>Answer from ej-technologies: <em>On Linux, an URL handler association requires a desktop file to be created for the launcher. install4j does this either with the &quot;Create program group&quot; action or with the &quot;Create start menu entry&quot; action.</em></p> <p>So the launcher used by the URL handler MUST ha...
URL-handler for linux with install4j not working
linux|install4j
0
20
1
72,313,990
72,313,990
0
true
2022-05-12T05:48:14.187Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: URL-handler for linux with install4j not working<p>I've defined an URL handler for my application. It work's perfectly for Windows and Mac but on Linux it do...
72,209,691
Managing Session Cookies, from Firebase Authentication, with Redis<p>I am using Google Firebase Authentication to handle user management for my web application.</p> <p>Specifically, I am using <a href="https://firebase.google.com/docs/auth/admin/manage-cookies#:%7E:text=Firebase%20Auth%20provides%20server%2Dside,that%2...
<p>After much research and discussions with peers who work in the software industry, I have decided to use the strategy outlined in the question.</p> <p>Feel free to comment if you have anything else to add.</p> <p>Cheers.</p>
Managing Session Cookies, from Firebase Authentication, with Redis
firebase|flask|session|cookies|redis
0
104
1
72,314,547
72,314,547
0
true
2022-05-12T03:06:07.667Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Managing Session Cookies, from Firebase Authentication, with Redis<p>I am using Google Firebase Authentication to handle user management for my web applicati...
71,141,216
Docker compose build with GitLab CI/CD throws botocore.exceptions.NoCredentialsError: Unable to locate credentials<p>I am trying to run an app using docker on a GitLab CI/CD pipeline. The job is succeeding but I am facing an issue with boto3 (the AWS SDK) that is unable to locate the credentials.</p> <p>I have placed t...
<p>RESOLUTION:</p> <p>So, I actually resolved this back then and it seems like this is a safe and easiest method to achieve this.</p> <p>Using a password keeper package I am fetching the AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY from there and hardcoded AWS_REGION in the main script executing the app and then add them a...
Docker compose build with GitLab CI/CD throws botocore.exceptions.NoCredentialsError: Unable to locate credentials
amazon-web-services|amazon-s3|boto3|botocore
0
257
2
72,315,117
72,315,117
0
true
2022-02-16T11:42:45.987Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Docker compose build with GitLab CI/CD throws botocore.exceptions.NoCredentialsError: Unable to locate credentials<p>I am trying to run an app using docker o...
72,222,137
how to create horizontal list view by flutter and similar this ui?<p>I need a horizontal list view in the flutter , that according to the image below, the first item is empty and the image is visible in the background, when the second item starts scrolling, the background image disappears and when the item returns to i...
<p>Finally, I published Package <a href="https://pub.dev/packages/flutter_faded_list" rel="nofollow noreferrer">(flutter_faded_list)</a> for designing this UI on the pub.dev website.</p>
how to create horizontal list view by flutter and similar this ui?
flutter|flutter-layout
0
102
2
72,315,269
72,315,269
0
true
2022-05-12T21:15:57.817Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: how to create horizontal list view by flutter and similar this ui?<p>I need a horizontal list view in the flutter , that according to the image below, the fi...
72,160,793
How can I use monaco yaml plugin with Monaco Webpack Loader Plugin?<p>I have ESM version of Monaco set up using the Webpack Loader plugin. I want to add monaco yaml plugin, and I struggle to understand how do I do that. I'm using the <a href="https://github.com/microsoft/monaco-editor/blob/main/docs/integrate-esm.md" r...
<p>I've added the answer <a href="https://github.com/remcohaszing/monaco-yaml/blob/main/README.md#using-monaco-webpack-loader-plugin" rel="nofollow noreferrer">to the plugin's README file</a>:</p> <p>You can extend the plugin's configuration. Extend your <code>webpack.config.js</code> file with the following:</p> <pre ...
How can I use monaco yaml plugin with Monaco Webpack Loader Plugin?
webpack|es6-modules|monaco-editor|webpack-5
0
230
1
72,316,849
72,316,849
0
true
2022-05-08T12:01:37.840Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: How can I use monaco yaml plugin with Monaco Webpack Loader Plugin?<p>I have ESM version of Monaco set up using the Webpack Loader plugin. I want to add mona...
72,140,199
How can I customise SharPoint Online List View Mode in Excel OData Power Query code?<p>The <a href="https://docs.microsoft.com/en-us/power-query/connectors/sharepointonlinelist#connect-to-sharepoint-online-list-v20-beta" rel="nofollow noreferrer">2.0 implementation</a> offers two view modes.<br /> <strong>How can I cus...
<p>I've finally found the answer on <a href="https://biinsight.com/optimising-odata-refresh-performance-in-power-query-for-power-bi-and-excel/" rel="nofollow noreferrer">biinsight.com</a>, full credit to the author.</p> <p>We can utilise OData query to make SharePoint filter the list before serving by specifying the li...
How can I customise SharPoint Online List View Mode in Excel OData Power Query code?
excel|sharepoint|powerquery
0
121
1
72,318,344
72,318,344
0
true
2022-05-06T10:43:09.763Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: How can I customise SharPoint Online List View Mode in Excel OData Power Query code?<p>The <a href="https://docs.microsoft.com/en-us/power-query/connectors/s...
72,183,060
Is there a way to close the shell of the container after installing package?<p>I try to automate the configuration of raspios through bash script. My configurations are on network level and for that I need to install a package named vlan, so my try ist to use systemd-nspwan on mounted image.</p> <p>My Problem is, when ...
<p>By reading the mans page of systemd-nspawn I found out that you can pass the command without opening an interactive shell by simply adding your wished command as an parameter of systemd-nspwan.</p> <pre><code>systemd-nspawn &lt;wished command&gt; </code></pre>
Is there a way to close the shell of the container after installing package?
linux|bash|shell
0
23
1
72,319,185
72,319,185
0
true
2022-05-10T08:33:02.043Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Is there a way to close the shell of the container after installing package?<p>I try to automate the configuration of raspios through bash script. My configu...
72,235,727
Authentication options in Smart TV browsers<p>I am about to implement a reception screen view of some data my product holds. This data is not extremely sensitive, but enough so that my customers do not want it just out there on the internet for all to see.</p> <p>The concept is a smart tv with a built in web browser th...
<p>After some research I found that the best option is the OAuth 2.0 Device Authorization Flow.</p> <p>The gives the user an experience like the one used when setting up Google Chromecast or AppleTV.</p> <p><a href="https://auth0.com/docs/get-started/authentication-and-authorization-flow/device-authorization-flow" rel=...
Authentication options in Smart TV browsers
authentication|browser|smart-tv
0
29
2
72,319,827
72,319,827
0
true
2022-05-13T21:48:38.997Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Authentication options in Smart TV browsers<p>I am about to implement a reception screen view of some data my product holds. This data is not extremely sensi...
72,234,021
A fatal error has been detected libio_micrometer_shaded_netty_transport_native_epoll_x86_64<p>My app stops and become broken on the line Metrics.addRegistry(new StatsdMeterRegistry(configs, clock)</p> <p><strong>Environment</strong></p> <ul> <li>Micrometer version 1.8.2</li> <li>Micrometer registry DataDog</li> <li>Doc...
<p>I updated micrometer version to 1.9.0 and netty-all version to 4.1.77 - and it solved the problem! All thanks to Shakuzen!</p> <p><a href="https://github.com/micrometer-metrics/micrometer/issues/3177#issuecomment-1127110695" rel="nofollow noreferrer">full details can be found there</a></p>
A fatal error has been detected libio_micrometer_shaded_netty_transport_native_epoll_x86_64
java|netty|datadog|micrometer
0
78
1
72,321,750
72,321,750
0
true
2022-05-13T18:29:41.037Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: A fatal error has been detected libio_micrometer_shaded_netty_transport_native_epoll_x86_64<p>My app stops and become broken on the line Metrics.addRegistry(...
72,225,208
Catboost does not show plot when specifying plot=true in model.fit<p><a href="https://i.stack.imgur.com/Z3WYl.png" rel="nofollow noreferrer">https://i.stack.imgur.com/Z3WYl.png</a></p> <p><a href="https://i.stack.imgur.com/j3udw.png" rel="nofollow noreferrer">https://i.stack.imgur.com/j3udw.png</a></p> <p>Catboost does...
<p>coudnt solve it.</p> <p>Installed anaconda and created env there. That did work.</p>
Catboost does not show plot when specifying plot=true in model.fit
catboost
0
207
1
72,323,592
72,323,592
0
true
2022-05-13T06:19:26.657Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Catboost does not show plot when specifying plot=true in model.fit<p><a href="https://i.stack.imgur.com/Z3WYl.png" rel="nofollow noreferrer">https://i.stack....
72,165,747
python script error message 'unknown column' - Redhat<p>My Python script produces <code>unknown column</code> error on redhat 8.5 python 3.6.8. But works without issue on Ubuntu 20.04 with python 3.8.10</p> <p>Would this be a python or redhat issue? Is it possible to gather more detailed logs?</p> <p>Link to full scrip...
<p>Had to clone this repo <a href="https://github.com/util-linux/util-linux.git" rel="nofollow noreferrer">https://github.com/util-linux/util-linux.git</a></p> <p>Then follow this how-to found here.</p> <p><code>https://github.com/util-linux/util-linux/blob/next/Documentation/howto-compilation.txt</code></p> <pre><code...
python script error message 'unknown column' - Redhat
python|python-3.x|linux|redhat
0
26
2
72,325,879
72,325,879
0
true
2022-05-08T23:29:28.473Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: python script error message 'unknown column' - Redhat<p>My Python script produces <code>unknown column</code> error on redhat 8.5 python 3.6.8. But works wit...
72,170,012
About Lucene index postings list, why are all deltas between 0 and 255 during FOR encoding?<p>From this <a href="https://www.elastic.co/cn/blog/frame-of-reference-and-roaring-bitmaps" rel="nofollow noreferrer">blog</a>, it says that postings lists are split into blocks of 256 docs and then each block is compressed sepa...
<p>The article doesn't say there is a limit of 256 for delta, but the example in the article does.</p> <blockquote> <p>Lucene computes the maximum number of bits required to store deltas in a block, adds this information to the block header, and then encodes all deltas of the block using this number of bits.</p> </bloc...
About Lucene index postings list, why are all deltas between 0 and 255 during FOR encoding?
lucene
0
34
1
72,327,335
72,327,335
0
true
2022-05-09T09:47:46.693Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: About Lucene index postings list, why are all deltas between 0 and 255 during FOR encoding?<p>From this <a href="https://www.elastic.co/cn/blog/frame-of-refe...
72,025,468
Nestjs mongoose unit test: TypeError: <functionName> is not a function<p>according to this <a href="https://github.com/jmcdo29/testing-nestjs/tree/main/apps/mongo-sample" rel="nofollow noreferrer">github repo</a> we want to test a user sample<br /> consider this test file :</p> <pre><code>const mockUser = ( phone = '...
<p>by the way, i needed the constructor to be called via <code>new</code> so i preferd to define a mock class like this:</p> <pre><code>class UserModelMock { constructor(private data) {} new = jest.fn().mockResolvedValue(this.data); save = jest.fn().mockResolvedValue(this.data); static find = jest.fn().mockReso...
Nestjs mongoose unit test: TypeError: <functionName> is not a function
unit-testing|mongoose|jestjs|nestjs
0
259
2
72,327,470
72,327,470
0
true
2022-04-27T08:18:15.223Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Nestjs mongoose unit test: TypeError: <functionName> is not a function<p>according to this <a href="https://github.com/jmcdo29/testing-nestjs/tree/main/apps/...
72,159,708
SwiftUI: Sharing NSSharingService on macOS not receiving share<p>I have a simple test application that attempts to share a CoreData record with another user using NSSharingService. I can create my share and that works,</p> <p><a href="https://i.stack.imgur.com/B7dvL.png" rel="nofollow noreferrer"><img src="https://i.st...
<p>OK I have finally managed to get userDidAcceptCloudKitShareWith to be called.</p> <p>You need to create the app delegate for your SwiftUI app using @NSApplicationDelegateAdaptor:</p> <pre><code>@main struct Sharing_ServiceApp: App { @NSApplicationDelegateAdaptor(AppDelegate.self) var appDelegate var body: s...
SwiftUI: Sharing NSSharingService on macOS not receiving share
macos|core-data|swiftui|ckshare|nssharingservice
0
149
1
72,328,898
72,328,898
0
true
2022-05-08T09:33:09.093Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: SwiftUI: Sharing NSSharingService on macOS not receiving share<p>I have a simple test application that attempts to share a CoreData record with another user ...
72,216,820
Creating a Passport.js Config Export File and Import into Index.js<p>Although I am pretty new to software development, I have an intermediate understanding of exporting and importing data between files. However, for some reason, when trying to create a config file for Passport.js and trying to import that file into my ...
<p>More information is located on <a href="https://stackoverflow.com/questions/72219826/export-and-import-passport-js-issues">Export and Import Passport.JS Issues</a>. I assumed since this post was getting no attention at all, I may have either been lacking details of my issue and explaining everything else or just had...
Creating a Passport.js Config Export File and Import into Index.js
javascript|node.js|reactjs|passport.js
0
57
1
72,330,493
72,330,493
0
true
2022-05-12T13:49:49.200Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Creating a Passport.js Config Export File and Import into Index.js<p>Although I am pretty new to software development, I have an intermediate understanding o...
72,206,216
How to correctly specify package in Junit WildcardPatternSuite and @SuiteClasses<p>I'm trying to run JUnit tests in a specific package but can't seem to get it quite right.</p> <p>This line works:</p> <pre><code>@SuiteClasses({ &quot;**/*IntegrationTest.class&quot; }) </code></pre> <p>But none of the following seem to ...
<p>I'm not sure why this did not work previously. The following runs only tests in the omop dir and sub dir correctly:</p> <pre><code>@SuiteClasses({ &quot;omop/**/*IntegrationTest.class&quot; }) </code></pre>
How to correctly specify package in Junit WildcardPatternSuite and @SuiteClasses
java|junit
0
31
1
72,332,846
72,332,846
0
true
2022-05-11T18:52:41.983Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: How to correctly specify package in Junit WildcardPatternSuite and @SuiteClasses<p>I'm trying to run JUnit tests in a specific package but can't seem to get ...
72,153,852
Execution failed for task ':react-native-firebase:compileDebugJavaWithJavac'. #2099 ,<p>im getting this error in expo, and i installed firebase/app again, and installed jetifier and tried running the npx jetify command also im getting the same error again</p> <blockquote> <p>Execution failed for task ':react-native-fir...
<pre><code>import * as React from &quot;react&quot;; import { Text, View, StyleSheet, TextInput, Button, Alert, ActivityIndicator, Platform, } from &quot;react-native&quot;; import * as FirebaseRecaptcha from &quot;expo-firebase-recaptcha&quot;; import { initializeApp } from &quot;firebase/app&quot;; i...
Execution failed for task ':react-native-firebase:compileDebugJavaWithJavac'. #2099 ,
reactjs|firebase|react-native|expo|react-native-firebase
0
72
1
72,337,792
72,337,792
0
true
2022-05-07T15:20:38.373Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Execution failed for task ':react-native-firebase:compileDebugJavaWithJavac'. #2099 ,<p>im getting this error in expo, and i installed firebase/app again, an...
72,187,024
knex.js migrations create tables with relationship between each other fails<p>I've looked all over the place, there are quite a few examples, but nothing complete or working.</p> <p>Use case: Simple database structure, a few tables and some relationships. Set up node, knex and pg - in a docker container. All works well...
<p>You are correct that it is trying to create the reference before the table it is referencing exists. The easiest way would probably be to simply delay the creation of the foreign key until after the <code>companies</code> table has been created. i.e.</p> <pre class="lang-js prettyprint-override"><code>exports.up = a...
knex.js migrations create tables with relationship between each other fails
postgresql|foreign-keys|knex.js|migrate|database-relations
0
394
1
72,341,095
72,341,095
0
true
2022-05-10T13:13:55.720Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: knex.js migrations create tables with relationship between each other fails<p>I've looked all over the place, there are quite a few examples, but nothing com...
72,164,625
WooCommerce, WP all import - Find product ID by attribute value<p>I want to update WooCommerce products by the WP All import. I have 2 independent xml files (from the first one I'm getting prices, from the second one descriptions). For some reasons product's <code>_sku</code> is <code>{code}</code> from the first one x...
<p>I put <code>{ean}</code> to Custom field, not to Attribute and after that I can easily use it in WP All import.</p>
WooCommerce, WP all import - Find product ID by attribute value
wordpress|woocommerce|wpallimport
0
85
2
72,343,488
72,343,488
0
true
2022-05-08T19:52:09.490Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: WooCommerce, WP all import - Find product ID by attribute value<p>I want to update WooCommerce products by the WP All import. I have 2 independent xml files ...
72,231,191
Dynamic Summary for Swagger documentation<p>Trying to make a flexible way for documentation in .net core swagger when using shared code between services. Please have a look at this example:</p> <pre><code>public abstract class Err { /// &lt;summary&gt; /// The error x /// &lt;/summary&gt; public abstrac...
<p>So, for the first part, what I understand it is not possible to find out if a class is used or not via reflection :( And for the second part, if you replace the swashbuckle with nswag you are actually able to have this nice &quot;one of&quot; -feature in the swagger UI :) But in my case that is not enough so I guess...
Dynamic Summary for Swagger documentation
c#|.net-core|swagger
0
282
1
72,344,933
72,344,933
0
true
2022-05-13T14:27:20.313Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Dynamic Summary for Swagger documentation<p>Trying to make a flexible way for documentation in .net core swagger when using shared code between services. Ple...
72,231,393
Dash | Multiple H6() on the same line<p>Goal: have two <code>H6()</code> on the same line.</p> <p>I know to do this by having one <code>Row()</code> and two <code>Col()</code>. I am struggling to implement it ;(</p> <p>Attempts:</p> <pre class="lang-py prettyprint-override"><code>... # H6('Line markers'), # H6('Line co...
<pre class="lang-py prettyprint-override"><code>... Row([Col(Div([H6('Line markers')])), Col(Div([H6('Line colors')]))]), ... </code></pre>
Dash | Multiple H6() on the same line
html|python-3.x|plotly-dash
0
46
2
72,345,387
72,345,387
0
true
2022-05-13T14:41:37.480Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Dash | Multiple H6() on the same line<p>Goal: have two <code>H6()</code> on the same line.</p> <p>I know to do this by having one <code>Row()</code> and two ...
72,214,447
ERROR JacksonVersion - Version '2.9.4' of package 'jackson-databind' is not supported<p>i am using azure sdk(azure-storage-file-datalake, azure-core, azure-identity) for writing the avro data to azure datalake gen 2 from kafka(using connectors), but i am getting very weird errors as below</p> <p>2022-05-12 10:46:10 ERR...
<p>Hosting environment had those 2.9.4 versioned jackson jars which were loading at run time and causing the issues, i replaced those with newer version jars , its working all fine now. (we had installed kafka client on the host, which internally had those jars inside kafka/libs)</p> <p>got the ans from - <a href="http...
ERROR JacksonVersion - Version '2.9.4' of package 'jackson-databind' is not supported
java|azure|maven|apache-kafka|jackson
0
429
3
72,345,388
72,345,388
0
true
2022-05-12T11:06:58.670Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: ERROR JacksonVersion - Version '2.9.4' of package 'jackson-databind' is not supported<p>i am using azure sdk(azure-storage-file-datalake, azure-core, azure-i...
72,215,658
saving the shuffled images in a batch to disk with original filename<p>I have a dataset in a single dir, that I wish to split into training and validation set, then save all of images of each set to a different dir</p> <p>I'm trying to do this by using the tf.keras.preprocessing.image_dataset_from_directory() and tf.ke...
<p>solved this by using a far simpler and faster approach</p> <p>since I already have the list of images in each split of the dataset, I can simply use shutil to copy or move the items.</p> <p>This approach made some other things I wanted to do with the images more difficult, but solvable</p>
saving the shuffled images in a batch to disk with original filename
python|tensorflow
0
57
1
72,346,429
72,346,429
0
true
2022-05-12T12:31:23.757Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: saving the shuffled images in a batch to disk with original filename<p>I have a dataset in a single dir, that I wish to split into training and validation se...
72,194,930
How to change OS disk SKU for Virtual Machine Scale Set (VMSS)?<p>I create Azure Kubernetes Service by Bicep like below.</p> <pre><code>param clusterName string = 'kubernetes' param location string = resourceGroup().location resource aksCluster 'Microsoft.ContainerService/managedClusters@2022-02-01' = { name: cluste...
<p>• <strong>Once an Azure resource is deployed, you cannot change its inherent hardware, i.e., disk storage, compute, and memory</strong>. Thus, as <code>you have already deployed an AKS cluster with Linux VMs in ‘Standard_B2S’ format and not mentioned any configuration related to the type of disk storage to be used...
How to change OS disk SKU for Virtual Machine Scale Set (VMSS)?
azure|azure-aks|azure-vm-scale-set|azure-vm|azure-bicep
0
463
1
72,346,689
72,346,689
0
true
2022-05-11T03:05:02.507Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: How to change OS disk SKU for Virtual Machine Scale Set (VMSS)?<p>I create Azure Kubernetes Service by Bicep like below.</p> <pre><code>param clusterName str...
72,191,997
Calling an R package function with rpy2<p>I'm new to R and need to pass string data from a pandas dataframe to a function in R. This function accepts nested lists of strings, such as:</p> <pre><code>&gt; list(c(&quot;HP:0001315&quot;, &quot;HP:0011343&quot;), c(&quot;HP:0007164&quot;, &quot;HP:0030810&quot;), c( &quot;...
<p>Eventually I used <code>robjects.r</code> to call the R package from R instead of from Python, and it worked.</p>
Calling an R package function with rpy2
python|r|pandas|rpy2
0
69
1
72,347,992
72,347,992
0
true
2022-05-10T19:26:33.247Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Calling an R package function with rpy2<p>I'm new to R and need to pass string data from a pandas dataframe to a function in R. This function accepts nested ...
72,213,579
TooManyRequestsException while calling mediaconvert for updating job status in UI using javascript SDK<p>The application is developed using React Js as a frontend and nodeJs as backend.The application is deployed in AWS EKS cluster.The application is like a videoportal where users can upload a video and the video is pr...
<p>The <code>TooManyRequestsException</code> exception you are encountering is as a result of API throttling while trying to poll job status' [1]. With the current approach you would need to catch for the TooManyRequestsException and try the poll with a back off threshold [2].</p> <p>The most scalable solution is to us...
TooManyRequestsException while calling mediaconvert for updating job status in UI using javascript SDK
javascript|node.js|reactjs|amazon-eks|aws-media-convert
0
137
1
72,348,225
72,348,225
0
true
2022-05-12T09:59:08.003Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: TooManyRequestsException while calling mediaconvert for updating job status in UI using javascript SDK<p>The application is developed using React Js as a fro...
72,186,096
Find out what packages, classes and methods the Jar file contains<p>I have a Java code editor with syntax highlighting, with a code hint menu and quick actions. The editor is written in C#. Once again, this editor is for editing Java code! I need to know what packages, classes, methods are in the Jar library (Jar file)...
<p>It turned out to be relatively simple. I found the 'jd-gui' repository (<a href="https://github.com/java-decompiler/jd-gui" rel="nofollow noreferrer">https://github.com/java-decompiler/jd-gui</a>), here is the app: (<a href="http://java-decompiler.github.io/" rel="nofollow noreferrer">http://java-decompiler.github.i...
Find out what packages, classes and methods the Jar file contains
c#|.net|syntax|jar|editor
0
34
1
72,348,343
72,348,343
0
true
2022-05-10T12:11:35.717Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Find out what packages, classes and methods the Jar file contains<p>I have a Java code editor with syntax highlighting, with a code hint menu and quick actio...
72,198,327
How to add multiple time resolutions (like 1D, 1W, 1M, All) to TradingView charting library<p>how can I add wanted time resolutions to a TradingView charting library chart like in the example below (1D, 5D, 1M,3M, ...) and trigger events to update data from custom API? <a href="https://www.tradingview.com/chart/03M7zku...
<p>So for future problems, the answer is to add time_frames to configurationData:</p> <pre><code>time_frames: [ { text: &quot;1y&quot;, resolution: &quot;1D&quot;, description: &quot;1 Year&quot; }, { text: &quot;3m&quot;, resolution: &quot;1D&quot;, description: &quot;3 Months&quot;}, { text: &quot;1m&quot;, res...
How to add multiple time resolutions (like 1D, 1W, 1M, All) to TradingView charting library
tradingview-api
0
388
1
72,348,834
72,348,834
0
true
2022-05-11T09:08:03.843Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: How to add multiple time resolutions (like 1D, 1W, 1M, All) to TradingView charting library<p>how can I add wanted time resolutions to a TradingView charting...
72,056,506
React Native Keyboard Shows But Doesn't Appear to Detect Input (Android)<p>I am trying to set up some inputs in React Native as shown in the code below, however I have a weird bug where I can click the input box, the keyboard shows up, but if I click the keyboard it doesn't do anything, I can't even e.g. press shift or...
<p>Eventually this started working for me after uninstalling and reinstalling the app on my phone multiple times, seems to be a problem with Expo Go and not the code.</p>
React Native Keyboard Shows But Doesn't Appear to Detect Input (Android)
javascript|android|reactjs|react-native|expo
0
273
2
72,356,068
72,356,068
0
true
2022-04-29T10:26:07.953Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: React Native Keyboard Shows But Doesn't Appear to Detect Input (Android)<p>I am trying to set up some inputs in React Native as shown in the code below, howe...
72,226,451
A windows app calls two C++ DLLs with same name and APIs linking to another DLL<p>I'm trying to let my C# app run two different version of C++ DLLs at the same time.</p> <p>The two DLLs with same file name and APIs are located in different directories:</p> <pre><code>App -&gt; V1/A.dll -&gt; V1/B.dll -&gt; V2/A.dll...
<p>Thanks for <a href="https://stackoverflow.com/users/17034/hans-passant">Hans Passant</a>'s comment.</p> <p>In my previous case, the two different version of A.dll call the same B.dll:</p> <pre><code>App -&gt; V1/A.dll |-&gt; V1/B.dll -&gt; V2/A.dll | V2/B.dll </code></pre> <h3>Manifests can be a solution to th...
A windows app calls two C++ DLLs with same name and APIs linking to another DLL
c++|windows|dll
0
54
1
72,356,738
72,356,738
0
true
2022-05-13T08:19:05.503Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: A windows app calls two C++ DLLs with same name and APIs linking to another DLL<p>I'm trying to let my C# app run two different version of C++ DLLs at the sa...
72,158,905
Xpath. How to get the node following text()<p><img src="https://i.imgur.com/1PlwlQo.png" alt="Text" /></p> <p>This is the structure I try to parse. I have a for loop for every child in p. I need to get the Name and associated number in <code>&lt;sup&gt;</code> node. desired output would be like: <em>Toloo, 1; William C...
<p>Thanks for your posts, guys. What I did was actually parsing all the text nodes and then for each of them finding first preceding-sibling. That appeared to be the simplest solution.</p>
Xpath. How to get the node following text()
python-3.x|xpath
0
70
3
72,358,428
72,358,428
0
true
2022-05-08T07:22:31.117Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Xpath. How to get the node following text()<p><img src="https://i.imgur.com/1PlwlQo.png" alt="Text" /></p> <p>This is the structure I try to parse. I have a ...
72,166,754
R: MySQL connection through bastion directly from R<p>I want to connect to MySQL database through bastion host.</p> <p>I followed some <a href="https://stackoverflow.com/questions/38258326/ssh-tunnel-to-use-rmysql-with-rstudio">previous StackOverflow answers</a> and I am able to establish connection through the termina...
<p>Ok, solution adapted from <a href="https://stackoverflow.com/questions/38212693/make-an-ssh-tunnel-to-another-computer-via-r-to-access-postgresql-table">similar post here</a> (that I did not find initially).</p> <pre><code>library(RMySQL) library(ssh) library(sys) target &lt;- &quot;&lt;db_host&gt;:3306&quot; Proxy...
R: MySQL connection through bastion directly from R
mysql|r|ssh-tunnel
0
74
1
72,358,474
72,358,474
0
true
2022-05-09T03:40:23.130Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: R: MySQL connection through bastion directly from R<p>I want to connect to MySQL database through bastion host.</p> <p>I followed some <a href="https://stack...
72,215,655
local module not found in azure function<p>I try to reproduce <a href="https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-python?tabs=asgi%2Cazurecli-linux%2Capplication-level#folder-structure" rel="nofollow noreferrer">this setup</a> to import local modules into my code.</p> <p>Here is my folde...
<p>As I was provisionning my az func with terraform, my issue was I didn't provide this block :</p> <pre class="lang-hcl prettyprint-override"><code>resource &quot;azurerm_linux_function_app&quot; &quot;auth_func&quot; { ... application_stack { python_version = &quot;3.9&quot; } </code></pre> <p>In ca...
local module not found in azure function
python|python-3.x|azure|azure-functions|python-import
0
631
2
72,359,924
72,359,924
0
true
2022-05-12T12:31:00.157Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: local module not found in azure function<p>I try to reproduce <a href="https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-python?tabs...
72,212,895
Session gets lost on navigation to a new page on asp.net<p>On authentication, the email of the user is retrieved and stored as session data like below</p> <pre><code>protected void Page_Load(object sender, EventArgs e) { string email = Request.Form[&quot;email&quot;]; HttpContext.Current.Session[&quot;email&quo...
<p>Setting rquireSSL to false in web.config fixed the issue.</p> <pre><code>&lt;httpCookies requireSSL=&quot;false&quot; /&gt; </code></pre>
Session gets lost on navigation to a new page on asp.net
c#|asp.net|webforms
0
85
2
72,361,030
72,361,030
0
true
2022-05-12T09:11:41.307Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Session gets lost on navigation to a new page on asp.net<p>On authentication, the email of the user is retrieved and stored as session data like below</p> <p...
72,193,700
newman, postman's cli runner, can not find a custom reporter<p>When I run newman with a custom reporter it can not find it, and the error states the reporter should be installed in the newman directory. I am on windows 10. It is named newman-reporter-csvconsole. Where is the newman default directory, to look for report...
<pre><code>module.exports = function csvconsole (emitter, reporterOptions, collectionRunOptions) { // emitter is is an event emitter that triggers the following events: https://github.com/postmanlabs/newman#newmanrunevents // reporterOptions is an object of the reporter specific options. See usage examples below f...
newman, postman's cli runner, can not find a custom reporter
node.js|npm-install|newman
0
136
1
72,362,227
72,362,227
0
true
2022-05-10T22:49:50.103Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: newman, postman's cli runner, can not find a custom reporter<p>When I run newman with a custom reporter it can not find it, and the error states the reporter...
72,173,032
How to create intent for sharing different files types simultaneously for android<p>In <code>AndroidManifest.xml</code> the following <code>intent-filter</code> allows to display the Android app while you select same types to share (all images or all videos).</p> <pre class="lang-xml prettyprint-override"><code>&lt;int...
<p>As @CommonsWare wrote <code>android.intent.action.SEND_MULTIPLE</code> will enable this option.</p>
How to create intent for sharing different files types simultaneously for android
android|android-intent|share|intentfilter
0
47
1
72,363,975
72,363,975
0
true
2022-05-09T13:47:04.633Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: How to create intent for sharing different files types simultaneously for android<p>In <code>AndroidManifest.xml</code> the following <code>intent-filter</co...
72,230,249
GSL: how to get LDLT decomposition in GSL<p>I want to get the matrix <code>l and d</code> of matrix <code>Q</code> from LDLT decomposition. The same result of <code>scipy.linalg.ldl()</code>,here is the code:</p> <pre class="lang-c prettyprint-override"><code>#include &lt;gsl/gsl_math.h&gt; ...
<p>Perhaps the best way of compiling GSL programs via the command-line is by using the flags provided by GSL itself. They can be read via the</p> <pre><code>gsl-config </code></pre> <p>utility. In your case use it as follows (providing your shell can properly process the backquoteses):</p> <pre><code>gcc ldl.c `gsl-con...
GSL: how to get LDLT decomposition in GSL
c|gsl
0
34
1
72,364,270
72,364,270
0
true
2022-05-13T13:19:08.703Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: GSL: how to get LDLT decomposition in GSL<p>I want to get the matrix <code>l and d</code> of matrix <code>Q</code> from LDLT decomposition. The same result o...
72,186,522
Filter looker tile to show last 7 reported days in dataset?<p>How do I filter down to the last 7 &quot;REPORTED&quot; days in a dataset.</p> <p>Simply filtering the last 7 days will not work as the reported days are not always consecutive. I cannot use something like last 10 days to catch them because I need to limit t...
<p>The problem was resolved by editing the query data to include a RANKED row. This lets us filter on the rank based on this column.</p> <p>This was worked out over a few replies on the looker forums here:</p> <p><a href="https://community.looker.com/sql-10/how-to-filter-on-last-7-available-dates-29962#post55230" rel="...
Filter looker tile to show last 7 reported days in dataset?
data-visualization|filtering|visualization|looker
0
262
3
72,365,909
72,365,909
0
true
2022-05-10T12:42:41.310Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Filter looker tile to show last 7 reported days in dataset?<p>How do I filter down to the last 7 &quot;REPORTED&quot; days in a dataset.</p> <p>Simply filter...
72,144,605
Authorize and Capture PayPal Order<p>I am trying to integrate PayPal Checkout SDK into my application.</p> <p>I create the request like this:</p> <pre class="lang-java prettyprint-override"><code> protected int doPaypalOrderWithCustomer(PayPalPurchase purchase, Customer customer) throws PayPalException { Pay...
<p>After several weeks of trial and error, I finally got the js free PayPal implementation working. There are 3 steps necessary to complete a PayPal Transaction.</p> <p>Step 1. Create The Order. This step will take the customer to the PayPal site.</p> <p>Class Variables: private PayPalClient client = new PayPalClient()...
Authorize and Capture PayPal Order
paypal
0
195
2
72,367,314
72,367,314
0
true
2022-05-06T16:20:29.163Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Authorize and Capture PayPal Order<p>I am trying to integrate PayPal Checkout SDK into my application.</p> <p>I create the request like this:</p> <pre class=...
72,207,298
select min and max value of a column and corresponding date (another column)<p>I am trying to get the lowest cost for a part and the highest cost for a part. along with the dates that they occurred. I almost have what I want except that in my query I don't know how to associate the lowest cost with the correct date. I ...
<pre><code>select g.part, min_cost, (select min(p1.date_received) from v_po_history p1 where p1.part = g.part and p1.cost = g.min_cost and part not like '*%' and DATE_RECEIVED &gt;= '2022-01-01' and date_received &lt;= '2022-05-01' and location = 'HS') as min_cost_date, max_cost, (select max(p2.date_received) from v_p...
select min and max value of a column and corresponding date (another column)
pervasive-sql
0
48
2
72,369,473
72,369,473
0
true
2022-05-11T20:32:38.690Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: select min and max value of a column and corresponding date (another column)<p>I am trying to get the lowest cost for a part and the highest cost for a part....
72,234,087
HTTPWebRequest acts differently from same request sent through browser<p>I am working with the shift4shop web api. These guys used to be known as threeDCart if that helps anyone. Its an eCommerce platform.</p> <p>we are trying to apply a promotion code to an open cart. support has verified there is no api-way to do tha...
<p>As per shift4shop support, the continue_order.asp has a 302. the browsers land on continue_order.asp and process that page. They then continue on to view_order.asp.</p> <p>The 2 pages together perform functionality that you can not get by just calling continue_order.asp</p> <p>Thanks to savoy w/ shift4Shop for helpi...
HTTPWebRequest acts differently from same request sent through browser
c#|shift4shop|threedcart
0
20
1
72,371,228
72,371,228
0
true
2022-05-13T18:35:08.057Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: HTTPWebRequest acts differently from same request sent through browser<p>I am working with the shift4shop web api. These guys used to be known as threeDCart ...
72,182,338
scale down azure sql database during nights and scale it up at mornings<p>i just created an azure pipeline to scale down the sql database. but i have no idea how can i schedule it. i found the -schedule command but that is for the whole pipeline. do we have any syntax for scheduling the tasks? for example, first task s...
<p>finally, i devided the pipeline into 2 pipelines. one for scaling down databases during nights and the other one is to scaling up the databases at mornings and i put one schedule for each.</p> <pre><code>schedules: - cron: &quot;0 13 * * Monday-Friday&quot; displayName: DailyScaledown branches: include: - mai...
scale down azure sql database during nights and scale it up at mornings
bash|azure-pipelines|scheduled-tasks|azure-pipelines-yaml
0
76
1
72,371,334
72,371,334
0
true
2022-05-10T07:36:21.810Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: scale down azure sql database during nights and scale it up at mornings<p>i just created an azure pipeline to scale down the sql database. but i have no idea...
72,187,678
Redshift Snapshot using Redshift Manager by triggering Lambda Function<p>How to create all prod redshift snapshots using Redshift Manager... action: aws:invokeLambdaFunction using this method (invoking Lambda Function) i want to create redshift cluster snapshots.</p>
<p>One of my friends helped me with the Solution.</p> <ol> <li>we need to allow the Invoke function as shown below.</li> </ol> <ul> <li>PolicyName: AllowInvokeLambdaPolicy PolicyDocument: Version: &quot;2012-10-17&quot; Statement: - Effect: Allow Action: - lambda:InvokeFunction</li> </ul> <ol start="2"> <li>We created ...
Redshift Snapshot using Redshift Manager by triggering Lambda Function
amazon-web-services|aws-lambda|amazon-redshift|amazon-redshift-serverless
0
72
1
72,372,091
72,372,091
0
true
2022-05-10T13:55:23.040Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Redshift Snapshot using Redshift Manager by triggering Lambda Function<p>How to create all prod redshift snapshots using Redshift Manager... action: aws:invo...
72,225,623
Bluetooth on raspberry 4 without Linux<p>I'm working on non-Linux OS and now trying to enable bluetooth on Raspberry Pi 4.</p> <p>I have some necessary drivers such as: gpio, uart (pl011 and mini-uart), mailbox and expgpio through that mailbox.</p> <p>To enable bluetooth I make some steps:</p> <ul> <li>I configure GPIO...
<p>For H4 protocol UART with Hardware Flow Control must be used. Adding HFC support to PL011 UART driver resolves the problem.</p>
Bluetooth on raspberry 4 without Linux
linux|raspberry-pi|bluetooth|raspberry-pi4
0
68
1
72,374,887
72,374,887
0
true
2022-05-13T07:03:43.210Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Bluetooth on raspberry 4 without Linux<p>I'm working on non-Linux OS and now trying to enable bluetooth on Raspberry Pi 4.</p> <p>I have some necessary drive...
72,216,482
Running into problem with benders decomposition from scip<p>I'm running into a strange error when solving a problem with SCIP. This does not happen for all instances, but for a few. I just wanted to ask if someone knows, what the error message means exactly and if I would need to turn off something specifically when so...
<p>I was able to find the mistake myself. There were some problems with the parameters you can specify within SCIP. For Benders Decomposition you need to turn off the restarts in the solving process, but due to a mistake in the order of putting these parameters it was not turned off.</p>
Running into problem with benders decomposition from scip
c++|scip
0
52
1
72,376,069
72,376,069
0
true
2022-05-12T13:27:04.837Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Running into problem with benders decomposition from scip<p>I'm running into a strange error when solving a problem with SCIP. This does not happen for all i...
72,228,540
Query Slower with different value for a parameter postgress<p>I´m with an issue where hibernate generates the following query on an existing view.</p> <pre><code>select count(proclistvw0_.proc_id) as col_0_0_ from proc_list_vw proclistvw0_ where 1=1 and ( proclistvw0_.sub_group_edp_company = $1 or ...
<p>Just to share what I found out, In the end, in my case, the solution was an &quot;order by id&quot; on the temporary tables before the left join by id in the view. With this, the time stabilized around 2.500 ms.</p> <p>Hope that this could help someone in the future.</p>
Query Slower with different value for a parameter postgress
postgresql|query-optimization|postgres-14
0
38
2
72,378,494
72,378,494
0
true
2022-05-13T11:02:36.300Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Query Slower with different value for a parameter postgress<p>I´m with an issue where hibernate generates the following query on an existing view.</p> <pre><...
72,190,228
Combine Window Resize with Text Length<p>I need some help writing a function with multiple if statements (unless there is a better method). I basically want to truncate text length based on window size. So if the viewport is less than 400px and the text length is greater than 35, then truncate using this method below.....
<p>I ended up answering my own question. So, I am posting it here incase someone else has a similar need or can improve what I have done...</p> <p>Basically, I am truncating select option boxes by applying character length and window width. This prevents very lengthy option text to flow past its container and beyond th...
Combine Window Resize with Text Length
javascript|jquery|substring|truncate|window-resize
0
38
1
72,378,917
72,378,917
0
true
2022-05-10T16:51:51.270Z
Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions. Stackoverflow question: Combine Window Resize with Text Length<p>I need some help writing a function with multiple if statements (unless there is a better method). I basically want ...