When I try to deploy my Google Cloud Run application inside Google Cloud Shell today, there comes a strange error that confused me. The same deployment command worked for me for a long time. It appears now it is fetching some account that is having a similar username as my account from Google side, and giving an error during the deployment. My account is XXXXXXX2005 but it is showing an error fetching email address df380dc9e5|[email protected]. However, a new build in Cloud Build is successfully triggered as shown in the build list. I masked some details in the log, but the idea should be
So, I am taking the Google Data Analytics class and I'm learning about using SQL and BigQuery. Some of these examples got me questioning how they work though. Take this for instance, so I know the FROM statement sets the warehouse orders dataset as an alias 'orders'. But the JOIN statement? It seems to call on the warehouse dataset and join it with the orders dataset based off the fact both datasets have a warehouse ID in them. I understand what it does, just not the why. What does the ON function do here? Why the warehouse after the dataset id? Is it another alias? I am just a little confused
I moved my code over Delphi versions without change. The upgrade from Delphi 10.4 to Delphi 13 failed my DUnitX testcases. Working code Delphi 10.4: assert.AreEqual(aList.Count, 3, 'Items count OK ?'); New working code Delphi 13.1: assert.AreEqual<Integer>(aList.Count,Integer(3), 'Items count OK ?'); The compiler cannot determine the type parameter for the generic any longer. Has my old solution been wrong?
When I set a LazyRow inside a LazyColumn, I was able to hide the LazyRow on the first row by scrolling to the list on the second row and focusing on it, but when I scroll horizontally, the LazyRow that was hidden reappears. When I scroll horizontally, the `LaunchedEffect` with `focusedIndex` set isn't being called, and I don't understand why the scroll position automatically resets. focusedIndex = remember {mutableStateOf<Int?>(null)} LazyColumn( state = listState, modifier = Modifier .fillMaxSize() .weight(1f), contentPadding = PaddingValues( top = 0.dp, bottom = 0.dp ), ) { itemsIndexed(data
What I'm trying to do Run gemini-3.1-flash-lite as a remote model in BigQuery ML (ML.GENERATE_TEXT / AI.GENERATE) from a dataset in the EU, keeping all processing in the EU for GDPR reasons. gemini-2.5-flash-lite works fine this way. gemini-3.1-flash-lite does not — and I've narrowed down why, but can't find a supported way around it from within BigQuery. Setup Dataset location: eu (multi-region) Cloud Resource connection created in eu, its service account granted roles/aiplatform.user APIs enabled: bigquery, bigqueryconnection, aiplatform gemini-2.5-flash-lite remote model in the same dataset
I am building an e-commerce app using Android Kotlin Jetpack Compose with Admin Panel. If an admin updates the status of order, how will my android app know the status of the order to send a push notification? My notifications are working when the app is in awake mode and places an order. I want push notifications like amazon and flipkart; it should always show a notification of order status even if the app is not running in the foreground. Here is my code implemented for notification: class MyFirebaseService : FirebaseMessagingService() { override fun onNewToken(token: String) { super.onNewTo
The drag works just how I'd like it to, but I'd like it not to trigger open link when dragged. I've tried fiddling around with my little knowledge of JavaScript, however I just can't seem to get it to work how I'd like it to. Here's the code I'm working with: // here you tell InteractJS which class of items you'd like to be draggable interact('.draggable') .draggable({ listeners: { // when a user drags the object ('on dragmove') run this function move: dragMoveListener, // call this function on every dragend event end (event) { console.log("item dropped!") } } }) function dragMoveListener (eve
The Sparkplug 3.0.0 spec states that a host application must open a client connection to the MQTT server with a will message for spBv1.0/STATE/application_id and payload {"online": false, "timestamp": <millis>}, subscribe to its own spBv1.0/STATE/application_id topic, then publish to that topic with {"online": true, "timestamp": <millis>}. In a high-availability setup there would be multiple instances of the host application that each need their own client connection to the MQTT broker. When one of those instances crashes, the broker would publish its will message with "online": false, conflic
I'm making a personal website; and I wanted to make some buttons that link to other pages, but I don't know how to get them aligned. I have 6 total buttons, but they are not the same size, and they aren't spaced evenly in either direction. How can I get them to line up in a 2*3 order? I want there to be 3 rows each containing 2 buttons but I don't know how to do that and make it spaced evenly. Thank you and sorry for my bad question format. Here is a picture of what it looks like: Here is a rough idea of what i want it to look like: Here's the code snippet: #menue { border: 3px solid; border-c
I want to set up a MongoDB architecture using only two physical servers, without the possibility of adding a third server or an external arbitrator. My System: Server 1 will be my main server and everything will be written to it. Server 2 will be my backup server and will copy data from Server 1. I want Server 2 to automatically become "writable" when Server 1 completely shuts down or crashes. My Questions: I only have two servers. Is it possible for MongoDB's own system to automatically make the second server "writable" when the first server completely shuts down or crashes? In other words, c
I am trying to understand whether the following C++ program has well-defined behavior. #include <bits/stdc++.h> using namespace std; int main() { int a = 15, b = 10; int *p = &a, *q = &b; *p-- += b ^ ~--a; *p += 2; cout << a << ", " << b; } My question is not primarily about the program's output, but about what p points to after p--. Since p initially points to a, after the expression *p-- += b ^ ~--a; p is decremented. Does C++ guarantee that p will then point to b, assuming a and b are local variables declared one after the other? Or does p point to an unrelated memory location, making the n
In a multi-tenant RAG platform where each tenant owns isolated vector indexes, what are the trade-offs between per-tenant ANN indexes versus a shared index with metadata filtering when considering retrieval latency, embedding drift, and operational costs?
Other than using a CASE statement in an SQL query, how can I replace any null or blank in my query result by N/A? I am trying to achieve this using Spark SQL in Databricks. Is there a way using Python?
Other than using a CASE statement in a SQL query, how to replace any null or blank by N/A in my query result by N/A? I am trying to achieve this using Spark SQL in Databricks. Is there a simpler way using python?
objective of my script is to get sector for each stock from my portfolio. I have already script that pulls out all my positions from IB API GW. I have a script that can get contract details for one stock. The problem is (I never used class crap that IB forces in their API) I do not know how to use below program as module in main program, and pass contract variables. #!/usr/bin/env python3 from ibapi.client import * from ibapi.wrapper import * from ibapi.contract import * import time import threading import sys class ContDetails(EClient, EWrapper): def __init__(self): EClient.__init__(self, sel
I am trying to execute code on the product attribute page when there are no products. The problem is that the hook: add_action( 'woocommerce_no_products_found', 'wc_no_products_found' ); is not working. When I investigated, I found my theme function is overriding the hook: if (!function_exists('cyberstore_mikado_woocommerce_content')) { /** * Output WooCommerce content. * * This function is only used in the optional 'woocommerce.php' template * which people can add to their themes to add basic woocommerce support * without hooks or modifying core templates. * * @access public * @return void */
Google has updated the Play Console layout, making it difficult to find the key management options. If you are stuck and cannot find the options in the sidebar, you can access the page directly by modifying the URL in your browser. Step-by-step Workaround: Navigate to your app in the Google Play Console. Your browser URL should end with /app-dashboard like this: https://play.google.com/console/u/0/developers/1234567890/app/0987654321/app-dashboard Replace app-dashboard at the end of the URL with keymanagement: https://play.google.com/console/u/0/developers/1234567890/app/0987654321/keymanageme
We want to integrate pre-login anti-fraud measures in our hosted Jack Henry Banno online banking platform. JHA's API dev page only provides information about post-login API access. Is that because there is no pre-login access?
I'm working with 3D models of assets in STL or GLB format generated by an external source. My goal is to convert these models into STEP (.step/.stp) format so that I can review, modify, and edit them in CAD software. I've tried several conversion tools and workflows, but the resulting STEP files still contain only mesh geometry (triangles/facets) instead of editable CAD features or solid B-Rep geometry. My questions are: Is there a reliable way to convert an STL (or GLB) mesh into a fully editable STEP model? Are there any recommended tools or workflows that produce clean, editable CAD geometr
I need to visualize trains and rail tracks on map in AnyLogic. I found that when using GIS map, rail library blocks cannot be added. Only GIS routes and nodes can be added, which doesn't show train movement. (Please advise if you never encountered this issue) Moreover, I need the rail tracks converted from the shapefile, so I had to convert the GIS map back to image following this tutorial. However, the animation looks really bad in 3D as the entire background is pixelated. Is there a way to import a high-resolution map as the background image (perhaps in SVG format)? Or Is there any latest fu
I am using Pandas to import xml files into a Postgres database via the .read_xml() and .to_sql() functions. With two levels of nested elements in my xml files, things work as I expect: <table1> <id>1</id> <label>Label 1</label> <id>2</id> <label>Label 2</label> </table1> However, I am having issues managing files with more than 2 levels of nested elements: <table1> <id>1</id> <label>Label 1</label> <nested_data> <level_3>nested data 1</level_3> </nested_data> <id>2</id> <label>Label 2</label> <nested_data> <level_3>nested data 2</level_3> </nested_data> </table1> When I load my more complex xm
With EasyQuery (a framework to create dynamic queries and reporting) I want to save a filter created by the user in a database. I need to get the filter information from the database and preload the filter element with that query so the user can see the result of the filter when the table shows up. The documentation looks like they save the query in a local file managed with the class FilterStore that inherits from IQueryStore. However, there are multiple users and they can create multiple filters. There are also stored procedures that use the filters to execute tasks. Saving the filters to th
I've been struggling with easy query (framework to manage data it helps you to create dynamic queries and reporting) this framework is used in my job so I can't swap it out. I've read the examples they have in their GitHub repository as well as their online documentation but with no https://korzh.com/easyquery/docs/introduction https://korzh.com/easyquery/javascript/docs/introduction My requirement is to save a filter created by the user in a database, after that I need to get the filter information from the database and preload the filter element with that query so the user can see the result
I'd like to create my own time and date datatypes. I want them to be formatted in a certain way when I cout them. For example just like int datatype I want a time data type that accepts an input in a certain way(ex.: 12:30). How do I manage to do that? Thank you very much
For my x86 and x64 project, I was relying on BCryptRegisterProvider provided by bcrypt_provider.lib in the CPDK (Cryptographic Provider Development Kit (linked from here)). However, that development kit only provides x86 and x64 libraries for linking. The build of my actual CNG succeeds but the installer fails during linking on those function. It looks like it might be possible to effect a registration by directly editing the registry. The documentation included in the CPDK did not directly suggest I do this. But is this the approach I must take in order to make my KSP cross-platform? Should I
I have a marketplace AirBnB type application - providers set up rooms and my platform allows the booking - payments are received and I've set it up so a paymentIntent is created when a booking is made and that the schedule is manual so we have a say on when we can release the funds. The problem is I've set up a Laravel command to periodically run and release the funds by creating a payout - however every time I run it it gives me the same error - you don't have enough funds. This is in sandbox mode - the test amounts are definitely there - but I'm not sure why payouts aren't working. If I chec
As a disclaimer: I'm working on a dark comedy hard-scifi setting with the aim of parodying the likes of Dune, 40k, cyberpunk, analog horror, etc so just accept the ridiculous premise (and likewise i will accept ludicrous yet theoretically plausible answers). Backstory: we have a minor regional authority. This regional authority has a very healthy revenue stream from the border road it has been placed in charge of (every visitor/immigrant/tourist/peddler etc must pay 3 zeales, zeales being a virtually pure silver coin). However almost none of this money stays in the region. This regional author
I need to create an Excel macro to read a file. The file can be read in WordPad and contains configuration data and the tension measurements of a test to the breaking point. The test results will also need to be charted in Excel. But that is part 2.
I'm making a C++ project on Linux Mint, which is based on Ubuntu, which is based on Debian. If I, for example, run this on Manjaro Linux, which is based on Arch, would this run on it?