jump to:allmastodonblueskylemmylobstersdevstackwikirsshn
wwebbit
view: | | |

Tech / Stack Overflow · hot matching “ai”

10 shown · updated 11m ago · read only
  1. Problems using JVM diagnostic tool on Tomcat 9 on Ubuntu: Is there a better solution? [closed] (stackoverflow.com)stack

    24 points by JillT in stackoverflow.com · 1h ago · stack

    I'm running a test instance of Tomcat 9 on Ubuntu 22:04, installed via apt, and using Open JDK 21. Most of the diagnostic tools in the JDK wouldn't work with the Tomcat instance. For example, with Tomcat running on PID 18369, this command: sudo jcmd 18369 VM.version fails with t…
  2. How to expose a multi-model, case-scoped "detail" read in DRF without adding a new endpoint? (stackoverflow.com)stack

    21 points by Paul 054m41 in stackoverflow.com · 8h ago · stack

    I have a Django REST Framework app with an established pattern: a generic detail view dispatches by an entity string to one of ~14 model/serializer/service triples, looked up by that record's own primary key: class HandleEntityDetails(APIView): MODELS = {"foo": Foo, "bar": Bar,…
  3. Apache Camel transaction rollback not working when JMS reply queue fails (stackoverflow.com)stack

    18 points by MMRahman in stackoverflow.com · 27d ago · stack

    I'm using Apache Camel with ActiveMQ to process messages in a transactional route. The route receives messages from a queue, performs a database operation, and then sends a response back to a temporary/reply queue. However, when the temporary queue is unavailable or lost during…
  4. Switched branch without commiting changes, 'error: Could not write index. FullHarvest_Daph (MajorPush-1)/Packages/manifest.json: needs merge' (stackoverflow.com)stack

    14 points by Daphiie in stackoverflow.com · 2y ago · stack

    I'm making my edits on a branch while my partner is working on the main. I switched branch to check on their latest push but I didn't commit my change before changing to the main branch. I didn't know it was gonna mess things up for me when I returned to mine. Now I'm stuck with…
    filed under gitgithub
  5. HackerRank won't accept my code for the Set .discard(), .remove() & .pop() challenge (stackoverflow.com)stack

    13 points by David Willis in stackoverflow.com · 3y ago · stack

    Here's the prompt: You have a non-empty set s, and you have to execute N commands given in N lines. The commands will be pop, remove and discard. Input Format: The first line contains integer n, the number of elements in the set s. The second line contains n space separated elem…
    filed under pythonset
  6. How to mark an Airflow DAG run as failed if any task fails? (stackoverflow.com)stack

    5 points by BelowZero in stackoverflow.com · 8y ago · stack

    Is it possible to make an Airflow DAG fail if any task fails? I usually have some cleaning up tasks at the end of a DAG and as it is now, whenever the last task succeeds the whole DAG is marked as a success.
    filed under pythonairflow
  7. Auto connect on my Gmail account with Python Selenium (stackoverflow.com)stack

    4 points by pi-2r in stackoverflow.com · 10y ago · stack

    I am trying to auto-login with my GMail account with Selenium in Python, but I am getting this error: selenium.common.exceptions.ElementNotVisibleException: Message: Element is not currently visible and so may not be interacted with My code looks like this: #!/usr/bin/python # c…
  8. PayPal REST API - Sandbox returning 401 for API requests but successful access token (stackoverflow.com)stack

    2 points by Magna in stackoverflow.com · 13y ago · stack

    I am using the PayPal REST API in Java to make a request to the testing (sandbox) servers for an access token, which succeeds, and then sending that access token back to the same sandbox servers for a Payment which fails with a 401 Not Authorized. I followed the PayPal REST API…