Latest Questions

I make a docker image using linux and installed an Oracle Db 19c using the official base image linux/amd64. now running on Mac M1 give me an error

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested Oracle

Conversion between binary vector and 128 bit number

Is there a way to convert back and forth between a binary vector and a 128-bit number? I have the following binary vector: import numpy as np bits = np.array([

Prettier code formatting is not splitting classNames in JSX or HTML

I have the Prettier VSCode extension enabled and my local .prettierrc file has "printWidth": 70 as one of the options, however, when I have a long list of class

How we can maintain the state of logged in and loggedout users and share that state to homepage in react redux

Here after successfull login im directing to homepage. But how can show whether the user is logged in or loggedout in homepage.here i have attached my codesanbo

Pushing value to array that is the value of an object

I have the following structure: let mappings = { "1002": ["1000", "1003"], "2000": ["2001", "2002"] } and I want to add this piece of data const issueT

Pass (Docker) environment variable into Vue/Quasar application at runtime

Having read the Quasar framework's description for Handling process.env, I understand that it is possible to add environment variables when building the applica

Infinity loops with useEffect and useCallback - Reactjs

somehow I got an infinity loop, the weird situation that I did solve it but I got a warning and I wish to fix the warning. this is code that work: import { Arro

How to link to a macro-enabled Excel file from an Access Unbound Objectframe

I want to link a "TimePicker" housed on an Excel macro enabled spreadsheet (it has three textboxes for hrs, min, AM/PM with associated SpinnerButtons [SBs] oper

golang naked return in function without named return

i have gone through some naked return/named returns(here) and similar question here but still have some doubts in my understanding on naked return. Below is cod

Error $wpdb when use Ajax in Plugin WordPress

I'm a beginner in development and wordpress. I create a plugin to display a dynamic carousel with the help of the generator https://wppb.me/. So when I select a

Exception: Context is null, please call ToastContext.init(context) first

The issue is seen on the Toast.dart and Armodel.dart. if possible please suggest me how do i implement OCR as i followed up the codes from Pubdev but still when

user_id and user properties don't show up in reports

we just released GA4 to our ecommerce shops but I have a problem with some custom dimensions and user properties. At the moment when I create a report and use o

Problems when receiving websocket data(it's json but result is list of number)

I am a beginner developer developing with Dart. There was a problem while working with websockets. According to the API help, it's obviously JSON. but data is l

Is there a neat way of converting lists into maps with the keys set to the elements of original collection and values set to an enum in java

Java newbie... I have a dictionary like so: electronictypeModelsMap = { "laptops" => ["macbook", "thinkpad", "yoga"], "desktops" => ["macmini", "imac", "o

How to Connect to MySQL datbase using Swift-Nio

I used node js to connect mysql server and it is working good. I used the API developed in node js and used in the local macOS app. The problem is querying the

How To Convert From Array of byte to string and preview the image in angular

This is my model image and image saved in database as a binary array. I want to convert image value from array of bytes to string to preview the image. export c

How to customize macOS print modal for an app?

Looking at an existing macOS app I see the print modal has an app specific option: Don't print bracketed chords (hide [C], [Dm], etc.) Toggling this option u

How to use and load JS helpers in Stimulus controllers in Rails 7?

I want to import and use functions from my javascript/helpers/functions.js file in my stimulus controllers. I tried pinning it with: # importmap.rb pin_all_from

Stored procedure sometimes takes a long time to execute query in SQL Server

I have strange issue and I am getting more confused about this. I am using UWP on the .NET framework and using SQL Server as database. The problem is my applica

Parsing EMV tag 9F4F (Log Format)

I am trying to parse EMV tag 9F4F (Log Format). This returns a string: 9F 27 01 9F 02 06 5F 2A 02 9A 03 9F 36 02 9F 52 06 DF 3E 01 9F 21 03 9F 7C 14 This resul

Annotate ggplot2 across multiple facets

I have recently started using the facet_nested function from the ggh4x package and I really like the look of the nested axis. I would like to annotate the plot

Amplify (Flutter app) push stuck on previous build's schema

I have an Amplify project where I've generated some GraphQL schema models. I previously deployed invalid syntax but the push otherwise completed successfully. H

With RSpec, how do I write an expression that captures _spec files in nested directories?

I’m using Rails 6 with RSpec 3.10. I have the following directory structure spec/models/my_object_spec.rb spec/models/module_name/product_spec.rb I run

Updated MacBook and now "code ." command in terminal is giving error. Any ideas how to fix?

I updated my 2020 MacBook to Monterey 12.3.1 and when I tried to open Visual Studio Code through the terminal using code . I got the error below /usr/local/bin/

Code Review Assistant tool(Devart) is not opening/working

after installing when I try to open review assistant board in getting below error. command "View.ReviewAssistant.ShowReviewAssistantBoard" is not valid. steps t

What is the difference between CSS selectors: element element( div p) vs element>element (div > p)? [duplicate]

I'm wondering about CSS selectors. Especially about this one: "div p" vs "div > p"

Error: Cast to undefined failed for value undefined at path "undefined"

I am a beginner JavaScript developer. I am getting this error when I try to get all soldiers by route: "localhost:3005/api/v1/soldiers" in POSTMAN. In order to

Chrome API chrome.desktopCapture.chooseDesktopMedia - How to get the id of selected tab?

I am using desktopCapture.chooseDesktopMedia with only ["tab"] option to choose the tab to be streamed. After making the selection, chrome doesn't automatically

Why is calling SslStream.AuthenticateAsServer and SslStream.AuthenticateAsClient with the same certificate in the same process not supported?

I recently ran into an issue when converting socket communication to use System.Net.Security.SslStream instead of NetworkStream. This conversion was targeting

How to Laravel Mysql fetch data from database using multiple table join

This is my data retrieving query: $admin_students=DB::select("select students.*,application_record.*,gender_record.*, application_record.id as app_primary_id,ap