We are running MongoDB in Kubernetes on worker nodes that were recently updated to newer Linux kernels (specifically Ubuntu 24.04 with AWS 7.0.0-1011-aws and Azure 7.0.0-1014-azure). Linux 6.19+ or 7.x kernels is the range where this problem occurs. Upon host reboot, MongoDB (both 8.3.1 and the latest 8.3.11) immediately crashes on container startup with exit code 1: { "s": "F", "c": "CONTROL", "id": 12257600, "msg": "MongoDB cannot start: Linux kernel versions 6.19 and newer has a known incompatibility with this version of MongoDB. See https://jira.mongodb.org/browse/SERVER-121912 for more in
I am getting the following 4 warnings whenever I navigate or reload an iframe - document.querySelector('iframe').src = document.querySelector('iframe').src: Error with Permissions-Policy header: Unrecognized feature: 'run-ad-auction'. Error with Permissions-Policy header: Unrecognized feature: 'join-ad-interest-group'. Error with Permissions-Policy header: Unrecognized feature: 'private-aggregation'. Error with Permissions-Policy header: Unrecognized feature: 'attribution-reporting'. I noticed it on our site, but this happens even in third-party sites that have an iframe, such as in our Jira.
I'm building a RAG app with LangChain. Retrieval returns a list of chunks, each with an ID such as doc_3. The model answers with citations like [doc_3], but sometimes it cites an ID that was never retrieved. I already check every cited ID against the retrieved list in code and reject unknown IDs. That catches invented IDs, but it does not catch a real ID attached to a claim the chunk does not support, and it fails when the model paraphrases instead of quoting. What is the robust way to close those two gaps in code? Specifically: (1) constrain the model's citation output to an enum of the retri
I read on https://www.lufthansa.com/fr/en/common/baggage-conditions.html: Adding additional baggage is not valid for: [...] flights offered or operated by airlines other than the Lufthansa Group. Does that mean it is impossible to add a second checked bag on a Lufthansa flight ticket that includes a non-Lufthansa leg? I am surprised by the blanket restriction so I wonder whether I missed something.
I am building a calendar in the terminal using C++ 14, and I want to indicate the week day (Mon - Sun). Basically, the user inputs a month and a year. Example Input: October 2026 What I want is for the program to output the numbers of days associated with the day of the week. Example Output: October 2026 1 Thursday 2 Friday 3 Saturday So far, I am only able to output the days (1 - 31) and input month and year using ctime calendar, but how do I indicate the weekday? I've been looking through the Cppreference, Youtube, and https://www.tutorialspoint.com/c_standard_library/c_function_mktime.htm,
Editor's note, to clarify why this question is programming-related: The premise is an existing PowerShell script that aims to implement a Windows service using the appropriate .NET APIs. However, using the PowerShell CLI (powershell.exe) in the service definition in order to call said script unexpectedly fails, before the script is even invoked, and the question is why. I'm trying to figure out why the service control manager can't launch PowerShell. When I try this with cmd.exe, it works. Of course it throws error 1053 when the process terminates after 10 seconds but that's normal because it'
My custom OAuth2AuthorizationFailureHandler can load the current cached token, but I need the token used by the request that failed so that invalidation does not remove its replacement. These can differ when a replacement is stored while a request is in flight. In a non-servlet client_credentials application, concurrent callers share an OAuth2ClientHttpRequestInterceptor, a client registration and a principal. The ordering I need to handle is: A resource request is sent with T1. Another caller stores T2 for the same registration/principal while that request is in flight. The request using T1 r
That topic has been itching me since I introduced a specie of clock powered constructs that started their civilization after being abandoned by their creators. They have the industrial level to make many modern weapons such as tanks and artillery or vehicles, and since their biology lets them "merge" with any machinery by locking their own gears into the machine to control it. And since these creatures are magical, their gears will provide the appropriate power to run it. How weight efficient would those tanks be, and if they would be probably a nightmare to maintain or keep working due to fin
Two problems with the realtime feed: socket = websocketdata.NubraDataSocket(client=nubra, on_market_data=on_tick, on_connect=print, on_close=print, on_error=print) socket.connect() socket.subscribe(["NIFTY"], data_type="index", exchange="NSE") socket.subscribe(["NIFTY24JUN23400CE"], data_type="option", exchange="NSE") socket.keep_running() run_strategy_loop() # never reached Index ticks arrive, but the option subscription stays silent, and my strategy loop never starts. I also want to subscribe to several hundred instruments. Is there a limit?
It is common to write code like data FileHierarchy = FileHierarchy { .. } -- only one constructor getUserAttributes :: IO (String, [Permission]) getCurrentDirectoryInfo :: IO FileHierarchy countUserWritableFiles :: IO Int countUserWritableFiles = do (name, permissions) <- getUserAttributes FileHierarchy{directoryName=dirName, directoryContents=dirConts} <- getCurrentDirectoryInfo return $ length [{- Those of `dirConts` that user `name` is allowed to write with the `permissions` -}] Observe that none of the matched variables are used in a subsequent IO action, so this can be written with only A
At the moment I am excluding all the type-checking imports from runtime as code below but now wondering if this is necessary and whether these actually get compiled into the .pyc and used at runtime anyway? import os interactive_mode: bool = True if os.getenv('PYCHARM_HOSTED') else False if interactive_mode: from typing import Iterator, Any import types from types import FrameLocalsProxyType from wsgiref.types import StartResponse Does Python type hint (annotations) cause some run-time effects? doesn't really answer the question; it is about the annotations, not the imports. The root question
There's a lot of discussion out there about the possibility of heating a rogue planet geothermally. My understanding is that a geothermal heat source would circulate via convection and not really involve radiant heating. Now, if the advocates of radiant indoor heating are to be believed, humans do better with radiant heating as opposed to conductive, which makes sense, given that earth's primary source of heating, the sun, gives off radiant heat, and convection is only a secondary means of circulating the heat. Is this purely a matter of energy efficiency, or is there a biological component? W
I'm trying to make my Webflow website GDPR-compliant by hosting my fonts locally instead of loading them from Google. I uploaded Montserrat as a custom font in Webflow and changed my elements to use the uploaded custom font. I also checked the Custom Code sections and there is no Google Fonts import there. However, the published website still loads Google's WebFont loader. In the browser Network/HTML I can see: <script src="https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js"></script> and Webflow generates: WebFont.load({ google: { families: ["Montserrat:100,100italic,200,200itali
C++26 apparently introduces a new type template named std::indirect<T>. If it's an "indirect T", then it's some sort of reference to a T, or pointer to a T, right? Well - why do we need those? C++ already has not just raw pointers and references, but also smart pointers with ownership semantics - std::unique_ptr, std::shared_ptr etc.; as well as std::reference_wrapper if you want fancier references. So why yet another one of these reference-types? What's so special about it?
I'm using Spring Boot 3 / Spring Security 6 with JPA. My JWT contains only the user's email. On every request, my filter loads the User entity from the DB and puts it in the SecurityContext: String email = jwtService.extractEmail(token); User user = userRepository.findByEmail(email).orElseThrow(); var auth = new UsernamePasswordAuthenticationToken( user, null, user.getAuthorities()); SecurityContextHolder.getContext().setAuthentication(auth); The entity is detached by the time it reaches my services, so when I need to modify the user I have to fetch it again, which costs a second query per req
My Spring Boot service calls another API to start an operation that can take a few minutes: My service -> POST /operations -> Provider Normally the provider returns an operationId which I store and then use to check the status of the operation later. What should I do when the initial POST request times out? The provider might receive the request and successfully start the operation, but the response gets lost. Now my service has no way of knowing whether the operation was created or not. If I retry the POST I could be creating a duplicate operation. But if I don't, I might leave a valid operat
I’m planning to travel from Himandhoo to Mahibadhoo without going back to Malé. I found references to MTCC ferry route 310 from Himandhoo to Mahibadhoo, but I’m not sure whether this connection is currently operating. Is there a ferry connection from Himandhoo to Mahibadhoo operating nowadays? First hand information from 2025 or 2026 would be especially helpful.
I just did the update and the Angular build freezes in my GitLab pipeline on a FreeBSD runner. Logs: npm notice run [email protected] npx npm notice run 'ng' build --base-href=/ui/ ❯ Building... sass --embedded is unavailable in pure JS mode. This "sass" line is not printed on my local machine (Windows) where the build runs fine. I noticed that Angular v22.2 adds the "sass-embedded" as new dependency but I couldn't find any information about that change. Interestingly, the build just freezes on the pipeline, no more output. As https://www.npmjs.com/package/sass-embedded states is a drop-in replacement
I have a Salesforce internal React app (hosted on the platform, served from a *.salesforce.app domain) that needs to call an Apex REST resource defined in the same org. Apex Class is defined as: @RestResource(urlMapping='/opportunities/*') global with sharing class OpportunityApi { @HttpGet global static List<Opportunity> getOpportunities() { return [SELECT Id, Name, Amount, StageName, CloseDate FROM Opportunity WITH USER_MODE LIMIT 200]; } } App URL: https://<my-domain>--c.trailblaze.my.salesforce.app/app/c__Reacttest1 I tried calling the Apex REST endpoint directly from the browser: GET http
I'm developing an Android app that continuously scans for BLE advertisements in the background. I use a foreground service to perform BLE scanning, and I restart the scanner every 3 minutes. The sensor periodically broadcasts BLE advertisements, and I want the app to receive these advertisements reliably without missing them. When the app is in the foreground, the scan duty cycle is effectively 100%. However, as soon as the app goes into the background or the screen is turned off, it drops to around 5%. I confirmed this behavior by analyzing the HCI snoop log, and captured the actual LE_Set_Ex
I'm trying to use Rhombus static in my program, and there was only one place that I was unable to do so. I'm implementing the algorithm J for Hindley-Milner type inference, and I have something such as: method unify(ty1 :: Type, ty2 :: Type): let ty1 = prune(ty1) let ty2 = prune(ty2) cond | ty1 == ty2: #void | ty1 is_a TFunction && ty2 is_a TFunction: let ty1 :~ TFunction = ty1 // HERE: how do I get rid of this? let ty2 :~ TFunction = ty2 // HERE: how do I get rid of this? guard ty1.parameters.length() == ty2.parameters.length() | error(@str{Can't match @ty1 with @ty2}) for (x in ty1.parameter
I have a dart class A that needs to notify some event to the class B which instantiated it. I have this code in class B: MqttComm().oMessageReceived.listen((message) { // code that acts according to the received event }); On the other hand, class A has this definition: final _messageController = StreamController<ReceivedMqttMessage>.broadcast(); Stream<ReceivedMqttMessage> get oMessageReceived => _messageController.stream; Where ReceivedMqttMessage is this: class ReceivedMqttMessage { final String topic; final String payload; ReceivedMqttMessage(this.topic, this.payload); } Finally, class A no
I am using the K6 tool to perform some load test on some of my services. I have a dataset of captured requests that I'd like to replay that is quite big and thus I'd like to use the sharedArray component of K6 to load all that in the underlying memory once and then simply fetch from that in each Virtual User (VU). The problem I am facing is that I do not want two (or more) VUs to send the same request. K6 does not offer a way to handle global state (at least not in this regard) so each VU does not know which requests have already been sent by other VUs. An idea would be to assign VU_i the rows
I tried to follow a JavaScript tutorial. I use Visual Studio Code with "Live Server" extension by Ritwick Dey and the integrated browser. Other user input/output like confirm and alert are working as intended, but when I add prompt: const name = prompt("What is your name?: "); I get the following error in console window: index.js:1 Uncaught Error: prompt() is not supported. I run my code from a index.js file, which I link to my index.html at the end of the body tag. But the same happens when scripts in an html document.
I have a 3-node Apache ActiveMQ Artemis 2.57.0 cluster (ss-0, ss-1, ss-2) using ON_DEMAND message load balancing. The same queue exists on all three nodes. I use message grouping (JMSXGroupID) to ensure that messages with the same key are processed sequentially by a single consumer. The consumers are Spring Boot application instances using JMS listeners (@JmsListener). Messages are published by a separate producer application that sets the JMSXGroupID header. Scenario All three Artemis nodes initially have active consumers for the same queue. Messages containing JMSXGroupID are published. The
I have a 3-node Apache Artemis 2.57.0 cluster (ss-0, ss-1, ss-2) using ON_DEMAND message load balancing. The same queue exists on all three nodes. I use message grouping (JMSXGroupID) to ensure that messages with the same key are processed in order by a single consumer. The consumers are Spring Boot application instances using JMS listeners (@JmsListener). Messages are published by a separate producer application that sets the JMSXGroupID header. I initially reproduced this issue using Artemis 2.40.0 without a grouping-handler. Following the recommendations, I upgraded to Artemis 2.57.0 and co
My Xcode updated to version 27, and now it needs MetalToolChain 27 as well. However, when downloading, it is stuck at preparing to download. I have done the CLI download too, using xcodebuild -downloadComponent metalToolchain, but still stuck at downloading asset, its not progressing beyond that. I have reinstalled Xcode, restarted my Mac but all have not helped. when using the manifest file in /System/Library/AssetsV2/com_apple_MobileAsset_MetalToolchain, am able to download the file using the link __BaseURL and __RelativePath, so in terms of internet (since I was also able to redownload the
Python 3.12 and PEP 695 introduced type parameter lists, which can be bounded, e.g. restricted to subclasses of a specific class: class BaseClass: pass class NewClass(BaseClass): pass def some_fun[T: BaseClass](somethings_type: type[T]): pass is valid in Python 3.12 from a syntax point of view. However, running the same code in Python 3.9 results in a SyntaxError: python3.9 test.py File "/home/agocht/test/pep-965/test.py", line 9 def some_fun[T: BaseClass](somethings_type: type[T]): ^ SyntaxError: invalid syntax Is there a good way to use this feature while still writing backwards-compatible c