I ran the following command in CMD:netstat -ano | findstr :8088
And got this result:TCP 192.168.1.14:8088 13.107.219.254:443 CLOSE_WAIT 10652
Fix Option 1: Kill the process holding the port
taskkill /PID 10652 /F
Fix Option 2: Change your Spring Boot port
As the internet continues to evolve, professionals must adapt to new devices to remain competitive. One technology that is becoming increasingly popular among professionals is Node js development. Node.js is a platform that allows creators to build ascendable, fast, and efficient applications. By hiring a Node.js development company, professionals can take advantage of this technology and achieve significant benefits. In this article, I will discuss the benefits of hiring a Node js development company, how Node.js development can take your business to the next level, the services offered by Node.js development companies, case studies of successful Node.js projects, best practices for Node.js development, project management for Node.js projects, pricing models for Node.js development, and how to choose the right Node.js development company for your business.
enter image description here
for more information visit https://idealpost.co.uk/
[Observable] is no longer under active development. It is largely unused in the JDK, and has, for the most part, been superseded by the 1.1 Beans/AWT event model.
As you have already replaced the url and hosted it ec2 at aws but when calling it from lambda functions, outcome has been null or no value.
It might be due to aws service configuration, try running the function and ec2 in same VPC network.
For ec2 check the security for inbound rules as by default its restricted by aws - any outside request.
Check for Role to access EC2 by lambda functions for Auth.
GitHub Actions "Artifact storage quota has been hit" – Fix (Short Guide)
Check Usage:
Go to:
https://github.com/<owner>/<repo>/settings/actions
Delete Artifacts:
Use GitHub CLI:
bash
CopyEdit
gh run list gh run delete <run-id>
Clear Cache:
bash
CopyEdit
gh cache list gh cache delete <cache-id>
Use API if needed:
List & delete:
bash
CopyEdit
curl -H "Authorization: token TOKEN" https://api.github.com/repos/<owner>/<repo>/actions/artifacts curl -X DELETE https://api.github.com/repos/<owner>/<repo>/actions/artifacts/<id>
Wait a few hours:
GitHub may take time to update usage.
Still stuck?
👉 Contact GitHub Support
What is the issue here? I try to point to a local project
Although this issue has been a long time ago, I still have some experiences to share. Even when using the latest arm-none-eabi-gcc toolchain, fpv5-d16 and fpv5-sp-d16 can result in differences in the generated assembly code. When using fpv5-d16, some functions with strange construction and building methods may use double precision supported instructions such as vcvt.f64.s32. This instruction will cause the MCU that supports single precision FPU which I have chosen to enter HardFault. According to ARM's introduction, the FPU carried by Cortex-M7 core supports single and double precision options, so it is necessary to confirm the type of FPU from the reference document of the selected CPU.
Of course, I am also curious about how this compilation option works on clang. It seems that clang only has options for fpv5-d16. I haven't completed the compilation process using clang yet, but I suspect that clang has optimized the code generation for FPU.
Another solution could be:
SELECT
COUNT(DISTINCT products_never_sold)*100.0/ COUNT(DISTINCT product_category) AS pct_product_categories_never_sold
FROM (
SELECT
product_category
, (CASE WHEN SUM(units_sold) IS NULL THEN product_category END) AS products_never_sold
FROM product_classes pc
LEFT JOIN products p
ON pc.product_class_id = p.product_class_id
LEFT JOIN sales s
ON s.product_id = p.product_id
GROUP BY 1
)
We also have the same problem as you guys. Please reply if you find a fix!
Another note I have to add to this: The phones that fail to load symbols also fail to show input textures on renderdoc.
So I'll add to the list of phones:
Not working:
S25 ultra
S25
S23 Ultra
Red magic 10 p
Working:
Pixel fold
Pixel 9,8,7,6
OnePlus 11
I had the same issue where variable colours/pylance would seem to just stop working randomly.
I found the issue was that pyright was indexing too many files (working in many repos at the same time, and some other podman related folders). I included a pyrightconfig.json file at the root of my workspace and excluded the paths with loads of files that I wasn't using at the time and it seemed to fix the issue straight away.
pyright info: https://github.com/microsoft/pyright/blob/main/docs/configuration.md
In my case I had multiple build variants. So, I had to:
Go to View -> Tool Windows -> Build Variants
Press "Re-import with defaults" button
Looks like they changed it again I couldn't find it for a while so I am posting this in case it helps the next person.
I used Beautiful Soup https://www.crummy.com/software/BeautifulSoup/bs4/doc/
I'm doing a Python course, if I'm wrong, sorry (I'm learning)
# pip install beautifulsoup4
# import beautifulsoup4
from bs4 import BeautifulSoup
# Read the contents of the HTML file
with open("./website.html") as file:
contents = file.read()
# Parse the HTML content using BeautifulSoup
soup = BeautifulSoup(contents, "html.parser")
print(soup) # print the entire HTML document
# Print the title of the HTML document
print(soup.title) # <title>My Website</title>
print(soup.title.string) # My Website
I compiled with the Prod profile, rather than the Dev profile, and it now works.
Presumption: The Dev profile does not package all files into Docker image, so are not found when you run in another environment. That is a guess. If you can enlighten me as to what happens that would be appreciated.
(not a solving) I'm also trying to find it.
Name of the ringtone I want to find: Beat Plucker.
I know this is an old thread, and already addressed by more than one answer ... but I wanted to add one more consideration.
I found this thread because my C# app was executing fairly simple queries, but very slowly. While I was reading through this great info, I started a new query in my app ... and it resolved nearly immediately.
What had changed? I'd closed the Discord app. Could be a memory usage issue, I suppose, but I'm willing to just blame Discord for being a resource hog. :)
Sharing this in case it helps anyone else in my situation...
Since this is C++, the calling parameters are significant to selecting the exact variation of the function to call. That is, function names can be overloaded and use different parameters, or parameters of different types.
Are you sure you are calling the function with the right number and types of parameters?
automatic_stock_export_conversion($stock_export_id)
The function was calling twice from somewhere else.
I have resolved this issue while disconnected the VPN. One more thing, go to computer network connection and find proxy setting and turn off proxy setting and set the internet connection with automatic default.
Thank you very much for helping the community.
Your answer to that problem was very helpful, as I couldn't install Flask with the pip command (pip install Flask).
pip: ERROR: Could not install packages due to an OSError: Missing dependencies for SOCKS support.
Line: 1 Character: 1
+ pip install request -i http://pypi.douban.com/simple --trusted-host p ...
+ CategoryInfo: NotSpecified: (ERROR: Could no... SOCKS support.:String) [], RemoteException
+ FullyQualifiedErrorId: NativeCommandError
WARNING: There was an error checking the latest version of pip.
Take a look at this link: exactly what you need
https://codemia.io/knowledge-hub/path/set_up_of_hyperledger_fabric_on_2_different_pcs
Using the following versions worked for me:
xgboost == 2.1.4
shap == 0.45.1
Hope that helps!
There are compiler plugins for gcc and clang that randomize struct layouts (Randstruct). This is primarily used in the Linux Kernel: https://lwn.net/Articles/722293/
The clang PR: https://reviews.llvm.org/D121556
I'm unsure if these plugins have support for C++ structs/classes but it might be possible.
This just says anything that's not an alphanumeric or a space and replace it with nothing.
@search_query = @search_query.tr('^A-Za-z0-9 ', '')
RUBY:001 > "sdfl &8~~!".tr('^A-Za-z0-9 ','')
"sdfl 8"
You cannot send messages to a chat if using Application permissions. Configure your app with delegated permissions and enable "Public client flows" Then you will be able to send messages.
Remember to assign the following delegated permissions:
Chat.ReadWrite
Chat.Create
User.Read
User.ReadBasic.All
In my case, I wasn't able to edit the shortcode, so I added wpcf7_form_id_attr filter in my functions.php file like following:
add_filter('wpcf7_form_id_attr', fn() => 'wpcf7-' . WPCF7_ContactForm::get_current()->id());
I had the same issue, I just clicked on TBAddUser under C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\DotNetInstallFiles, it added the user and opened a Word, it shows the BIPublisher Ribbon.
You should type in a row: =SUM(VALUE(A1:A2)) and then press ctrl+shift+enter
Maybe it works.
Welcome to stackoverflow!
Expected functionality as per CORS
Cross-origin resource sharing (CORS) is a mechanism to safely bypass the same-origin policy, that is, it allows a web page to access restricted resources from a server on a domain different than the domain that served the web page.
Origin webserver has not allowed sharing. Unlikely that they will if asked so try another method to grab the .psd file.
IFRAME
or via a proxy
or your own file downloader script running on your own web server then link to that local file instead.
as per another answer here.
I hope I get you right and it will help you or other people who face the same issue.
I was trying to figure how to set matrix dinamically 'cause I have to check services' dirs that have been changed and save services' names, than run pipeline for each service. This is what I did:
I have the first job that defines what kind of services I have to rerun (define_changed_service) and the second job (trigger_test_services) which triggers this artifact:
define_changed_service:
image: alpine:latest
stage: build-push
before_script:
- apk add --no-cache git grep sed coreutils
- which git grep sed sort
script:
- SERVICES=$(git diff --name-only origin/main...HEAD | grep -E '^([^/]+/){3}(src|\.docker)/' | sed -E 's@^([^/]+/[^/]+/[^/]+)/.*@\1@' | sort -u | sed 's@/@-@g' | paste -sd "," -)
- echo "Services $SERVICES"
- echo "test-services:" > matrix.yml
- echo " parallel:" >> matrix.yml
- echo " matrix:" >> matrix.yml
- |
echo "$SERVICES" | tr ',' '\n' | while read srv; do
echo " - SERVICE: $srv" >> matrix.yml
done
- echo " script:" >> matrix.yml
- echo " - echo \"Running tests for service \$SERVICE\"" >> matrix.yml
- cat matrix.yml
artifacts:
paths:
- matrix.yml
trigger_test_services:
stage: build-push
needs:
- job: define_changed_service
artifacts: true
trigger:
include:
- artifact: matrix.yml
job: define_changed_service
strategy: depend
AND IT WORKS! I can believe I actually DID IT. I run into my browser history and went here to post the answer. This is my first answer on stackoverflow, lol. Enjoy. Let me now if it will help. I added screenshots on the off-chance
My pipeline
Do you have the ispac files from a previous good build? I exported my problem children from the SSISDB, and used the create new project from ispac file option in visual studio. They converted just fine that way, then could replace the project that wasn't working.
Oh and I also needed to change the db connections to use the new oledb drivers. Since 2019 was the last change exit for that version.
You can try disabling Enable Enterprise Plus features under the Query insights part of the instance settings and check whether you are able to access query insights. Also ensure that your project has the following roles:
roles/databaseinsights.monitoringViewer
roles/cloudsql.viewer
roles/cloudsql.editor
roles/cloudsql.admin
If the issue still persists, consider filing a bug issue so that the engineering team can look into it. Note that there’s no specific timeline when the fix will be available.
@jezrael 's solution is correct, but uses a deprecated alias for Seconds:
Deprecated since version 2.2.0: Aliases
H,BH,CBH,T,S,L,U, andNare deprecated in favour of the aliasesh,bh,cbh,min,s,ms,us, andns.
df['Date'] = pd.to_datetime(df['Date']).dt.floor('s')
For whoever struggles with similar issues with Bash name references, the good starting point is Greg's wiki:
Name reference variables are the preferred method for performing variable indirection. Older versions of Bash could also use a ! prefix operator in parameter expansions for variable indirection. Namerefs should be used unless portability to older bash versions is required. No other shell uses ${!variable} for indirection and there are problems relating to use of that syntax for this purpose. It is also less flexible.
With that, it becomes important to understand the dynamic scoping of Bash (thanks @jhnc) which is not particularly emphasized, but (qouting the same):
Indirection can only be achieved by indirectly evaluating variable names. IOW, you can never have a real unambiguous reference to an object in memory; the best you can do is use the name of a variable to try simulating the effect. Therefore, you must control the value of the ref and ensure side-effects such as globbing, user-input, and conflicting local parameters can't affect parameter names. Names must either be deterministic or validated in a way that makes certain guarantees. If an end user can populate the ref variable with arbitrary strings, the result can be unexpected code injection.
And importantly on main Bash page of Greg's wiki:
Name references are created with declare -n, and they are local variables with local names. Any reference to the variable by its local name triggers a search for a variable with the name of its content. This uses the same dynamic scope rules as normal variables. So, the obvious issues apply: the local name and the referenced name must be different. The referenced name should also not be a local variable of the function in which the nameref is being used.
The workaround for this is to make every local variable in the function (not just the nameref) have a name that the caller is unlikely to use.
Further, from Bash manual:
Local variables "shadow" variables with the same name declared at previous scopes. For instance, a local variable declared in a function hides a global variable of the same name: references and assignments refer to the local variable, leaving the global variable unmodified. When the function returns, the global variable is once again visible.
The shell uses dynamic scoping to control a variable’s visibility within functions. With dynamic scoping, visible variables and their values are a result of the sequence of function calls that caused execution to reach the current function. The value of a variable that a function sees depends on its value within its caller, if any, whether that caller is the "global" scope or another shell function. This is also the value that a local variable declaration "shadows", and the value that is restored when the function returns.
For example, if a variable var is declared as local in function func1, and func1 calls another function func2, references to var made from within func2 will resolve to the local variable var from func1, shadowing any global variable named var.
And to top this all off, I had quite a roller coaster ride with declare and its switches.
The issue is that it appears it's setting or unsetting variable attributes, but not all switches are equal in that sense:
Using ‘+’ instead of ‘-’ turns off the attribute instead, with the exceptions that ‘+a’ and ‘+A’ may not be used to destroy array variables and ‘+r’ will not remove the readonly attribute. When used in a function, declare makes each name local, as with the local command, unless the -g option is used. If a variable name is followed by =value, the value of the variable is set to value.
One option that stands out is -g that really is NOT an attribute and therefore has to be repeated every time when manipulating other attributes or otherwise one is operating on a differently (scoped) variable.
Another less logical is -n which has confusing documentation:
-nGive each name the nameref attribute, making it a name reference to another variable. That other variable is defined by the value of name. All references, assignments, and attribute modifications to name, except for those using or changing the -n attribute itself, are performed on the variable referenced by name’s value. The nameref attribute cannot be applied to array variables.
This attribute also "disappears" when not reused, e.g. one cannot global_array=(x y z); f() { declare -n refarray; refarray=global_array; declare -r refarray; echo "${refarray[*]}"; }; f as the second -r loses one the array, it would need to go again with -rn.
from threading import Thread
Thread(target=Ui_MainWindow(), daemon=True).start()
if __name__ == '__main__':
main()
use a dict that contains shared parameters of both applications.
shared_parameter = {
'....': ...
}
def find_closest_enemy(enemies, player_pos):
closest = None
min_dist = float('inf')
for enemy in enemies:
dist = ((enemy[0] - player_pos[0])**2 + (enemy[1] - player_pos[1])**2)**0.5
if dist < min_dist:
min_dist = dist
closest = enemy
return closest
def aim(player_pos, enemy_pos):
direction = (enemy_pos[0] - player_pos[0], enemy_pos[1] - player_pos[1])
print(f"Aiming at direction: {direction}")
enemies_positions = [(120, 150), (200, 180), (140, 160)]
player_position = (130, 140)
target = find_closest_enemy(enemies_positions, player_position)
aim(player_position, target
Okay, I have another question
I was trying to use your program on a different web page
of the same website.. but I could not generate the output..
This is the url of the new page :
"https://www.cocorahs.org/ViewData/ListDailyPrecipReports.aspx"
NOW, this new web page has checkboxes..
I think that's where I'm messing up..
I did a view page source and looked up the html tag names but it seems
I am missing something very conceptual.. I am wondering what it might be !!
This is my code. What changes should I make to it ?
Thank You !!
import requests
from bs4 import BeautifulSoup
from requests_html import HTMLSession
import pandas as pd
from io import StringIO
from datetime import datetime
session = requests.Session()
response = session.get('https://www.cocorahs.org/ViewData/ListDailyPrecipReports.aspx')
soup = BeautifulSoup(response.content, "html.parser")
view_state = soup.find("input", {"name": "__VIEWSTATE", "value": True})["value"]
view_state_generator = soup.find("input", {"name": "__VIEWSTATEGENERATOR", "value": True})["value"]
event_validation = soup.find("input", {"name": "__EVENTVALIDATION", "value": True})["value"]
response = session.post('https://www.cocorahs.org/ViewData/ListDailyPrecipReports.aspx', data={
"__EVENTTARGET": "",
"__EVENTARGUMENT": "",
"__LASTFOCUS": "",
"VAM_Group": "",
"__VIEWSTATE": view_state,
"VAM_JSE": "1",
"__VIEWSTATEGENERATOR": view_state_generator,
"__EVENTVALIDATION": event_validation,
"obsSwitcher:ddlObsUnits": "usunits",
"frmPrecipReportSearch:ucStationTextFieldsFilter:tbTextFieldValue": "FL-BV-163",
"frmPrecipReportSearch:ucStationTextFieldsFilter:cblTextFieldsToSearch:0": "checked",
"frmPrecipReportSearch:ucStationTextFieldsFilter:cblTextFieldsToSearch:1": "",
"frmPrecipReportSearch:ucStateCountyFilter:ddlCountry": "allcountries",
"frmPrecipReportSearch:ucDateRangeFilter:dcStartDate:di": "6/13/2025",
"frmPrecipReportSearch:ucDateRangeFilter:dcStartDate:hfDate": "2025-06-13",
"frmPrecipReportSearch:ucDateRangeFilter:dcEndDate:di": "6/16/2025",
"frmPrecipReportSearch:ucDateRangeFilter:dcEndDate:hfDate": "2025-06-16",
"frmPrecipReportSearch:ddlPrecipField": "GaugeCatch",
"frmPrecipReportSearch:ucPrecipValueFilter:ddlOperator": "LessEqual",
"frmPrecipReportSearch:ucPrecipValueFilter:tbPrecipValue:tbPrecip": "0.15",
"frmPrecipReportSearch:btnSearch": "Search",
})
table = BeautifulSoup(response.content, "html.parser").find("table", id="ucReportList_ReportGrid")
if table is None:
raise RuntimeError("table#ucReportList_ReportGrid not found")
df = pd.read_html(StringIO(str(table)))[0]
print(df)
The biggest benefit in my opinion is that ListItem renders as <li> by default, whereas ListItemButton does not. This makes it easier to navigate the page if you're using a screen reader, making the website more accessible.
Check your power source is stable. (change it) That's how I got rid of this NaN issue. Nasty little serial port FTDI device that had 3.3v must have been spiking or similar.
I solve that importing css from flowbite by cdn and js turbo.min.js by importmap
Turns out I had to simply untick the Size option in the StyledSettings dropdown:
And now my font size is working!
When rendering text in most HTML elements, browsers collapse multiple whitespace characters (spaces, tabs, newlines) into a single space by default. To preserve line breaks and display multi-line text, wrap the content in a <pre></pre> tag.
<pre><textarea name="Reply" id="replyTextarea"> </textarea></pre>
VS Code runs web files in a browser rather than executing it directly, which essentially guarantees prevention of suspicious activity, but in local files, it doesn't have direct access to that recourse and needs to be more secure.
As the VS Code documentation puts it, "...Both the welcome view and the notification contain the Manage Unsafe Repositories command [under the Workspace section] that lets you review the list of potentially unsafe repositories, mark them as safe, and open them. The Manage Unsafe Repositories command is also available in the Command Palette (⇧⌘P (Windows, Linux Ctrl+Shift+P))." There should be a popup that asks you if you would like to trust this folder or trust the parent folder.
my_anova3 <- mixed(data ~ Group*Session*Condition
+ (Session+Condition|PID),
data=my_data)
The IBM SPSS Exact Tests handbook says:
"Calculating the exact p value can be memory-intensive. If you have selected the exact
method and find that you have insufficient memory to calculate results, you should first
close any other applications that are currently running in order to make more memory
available. If you still cannot obtain exact results, use the Monte Carlo method."
I add this task to my `build.gradle.kts` files:
tasks.register("printRuntimeClasspath") {
println(sourceSets.main.get().runtimeClasspath.asPath)
}
and then call java builds using:
java -cp $( ./gradlew --quiet printRuntimeClasspath ) com.example.MyEntryPoint
I have been facing the same issue of NativeWind not working in a project initiated without it and Expo SDK 53 for weeks but glad I finally found a way around it.
I think this, https://www.nativewind.dev/docs/guides/troubleshooting, is a great starting point for debugging. First clear the cache using the command "npx expo start --clear" then proceed with the other debugging steps.
When I ran this command, "npx tailwindcss --input <input.css> --output output.css," the output.css file was empty, even while I had my global.css file with the Tailwind import directives. Then I thought, "There must probably be something wrong with the installation." I also tried verifying the NativeWind installation using the guide here, https://www.nativewind.dev/docs/guides/troubleshooting#verifying-nativewind-installation, but it gave an error.
Then, I deleted my node_modules folder and reinstalled the entire package using the command "npm i" and then followed the NativeWind manual setup guide again, following the guide here: https://www.nativewind.dev/docs/getting-started/installation. I previously had Tailwind CSS in the dependency instead of devDependencies.
Also, I updated my tailwind.config.js file correctly to contain the app and component folders.
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./app/**/*.{js,jsx,ts,tsx}", "./components/**/*.{js,jsx,ts,tsx}"],
presets: [require("nativewind/preset")],
theme: {
extend: {},
},
plugins: [],
}
Following the details carefully in the installation guide should help a lot, and be sure to verify the NativeWind installation, https://www.nativewind.dev/docs/guides/troubleshooting#verifying-nativewind-installation.
`import { verifyInstallation } from "nativewind";
export default function AuthScreen() {
const nativewind = verifyInstallation();
console.log("nativewind: ", nativewind);
// remaining code`
It now logs the below, showing it has been correctly installed and configured
`LOG NativeWind verifyInstallation() found no errors
LOG nativewind: true`
I hope this helps someone.
If anyone in the future runs into this issue:
After this, I have been able to open my project in Visual Studio 2022 Community [preview] without getting any of the errors from before.
The best way to get good performance on develop and builded working is adding zone.js conditionally at start of server.ts:
if (environment.production) {
await import('zone.js');
}
I couldnt find a way to import only on build using angular.json.
I know this might be an old post, but I am running into a different issue.
If I have wo websites: Default Web Site and TestSite1. Default Web Site has a good SSL Certificate bound to the site. Now, when I execute the following PowerShell script for TestSite1:
New-WebBinding -Name $SiteName -Protocol $Protocol -IPAddress $IPAddress -Port $Port -HostHeader $Hostname -SslFlags $SslFlags
I see the bindings in IIS for TestSite1, with *|443|Site1, but I also see the certificate that is bound to Default Web Site.
Default Web Site Bindings: *|443|Default.com
TestSite1 Bindings: *|443|Site1
The script continues to bind the cert:
$binding = Get-WebBinding -Name $SiteName -Protocol $Protocol
$null = $binding.AddSslCertificate($Thumbprint, $StoreName)
Now both the Default Web Site and TestSite1 have been updated with the thumbprint for the new cert.
Any ideas how to bind the cert to the new bindings? Or better yet, why is the new binding already set to a cert?
Thank you everyone for your help. Sorry for late response. The simple solution that i found was instead of doing optionss = Options(), do optionss = ChromeOptions()
So simple but yet so weird
You could try moving the timer into its own Repository and then pass that repository to the other pages.
Every time you switch to a page that would stop the timer, use its VM to stop it. Then start it again once you go back to the page that should be running it.
Another option is to put the timer in the UI page so that when a navigation triggers you can start/stop it there.
.Include(x => x.FooDetails.FooDetailsInfo)
little bit simpler
I'm not sure, but I think the solution to this problem is to use Git and a disciplined branching strategy.
The basic idea is that you maintain a mainline branch containing stable code (that is not 'in edition').
When anyone wants to make any changes, they take a branch off the mainline and change that.
Everybody has a stable base for their change branches, and thus everyone, at all times, can have a branch that (in between actual edits) is fully compilable.
Does this help? (I might be missing the point, of course.)
It sounds like your Raspberry Pi is hanging or freezing right when cv2.imshow() is called — the window shows up black, small, and the system becomes unresponsive. That's definitely not normal OpenCV behavior, especially for a simple image display.
Here’s a breakdown of what could be going wrong and how to fix or debug it:
OpenCV’s imshow() relies on a GUI environment (like X11 on Linux). If your Raspberry Pi is:
Running headless (no monitor or desktop GUI)
Not running in a graphical session (like LXDE/X11)
Or your script is being launched in a virtual terminal or via SSH
Then imshow() has no display to show the window, and trying to do so can cause serious issues (including freezes).
Make sure you're running your script from a desktop environment on the Pi:
NOT via SSH unless X11 forwarding is set up.
If headless, consider using matplotlib or saving the image to a file instead.
Before running your full function, test this:
import cv2
import numpy as np
img = np.zeros((300, 600, 3), dtype=np.uint8)
cv2.imshow("Test", img)
cv2.waitKey(0)
cv2.destroyAllWindows()
If even this causes the Pi to hang or show a black window → the issue is with the OpenCV GUI backend setup.
cv2.namedWindow() explicitlyTry specifying the window type before imshow():
cv2.namedWindow("Confirm Images (Front & Back)", cv2.WINDOW_NORMAL)
cv2.imshow("Confirm Images (Front & Back)", combined_img)
This gives more control over how OpenCV creates the window and can prevent weird size or render bugs.
The cv2.moveWindow() call may cause issues on limited environments. Try commenting this out:
# cv2.moveWindow("Confirm Images (Front & Back)", 1, 1)
It’s not needed unless you know the Pi's screen resolution and want precise placement.
waitKey(0) in non-interactive environmentsInstead of waiting forever for a key press, try a timeout:
key = cv2.waitKey(5000) # wait 5 seconds
if key == ord('y'):
print("Images confirmed.")
elif key == ord('n'):
print("Retaking images...")
else:
print("No key pressed. Defaulting to confirm.")
Before calling imshow(), print out image shapes and check for None:
print(f"Front image shape: {front_img.shape}")
print(f"Back image shape: {back_img.shape}")
This confirms the images loaded and resized properly.
If OpenCV GUI keeps failing, save and preview:
cv2.imwrite("combined.jpg", combined_img)
print("Saved combined image. Please open 'combined.jpg' manually to confirm.")
in cmd window (running as an administrator)
PATH %PATH%;%AppData%\npm
This will add it to the path for the current user.
I fixed this error by adding [Organization]\Project Collection Valid Users as 'Contributor' to the feed's permissions.
It's a bit confusing. Some would say that this is too broad, but it's not worth my time to troubleshoot it. Shame on Microsoft for making it so complicated.
If you have some time and you'd like to apply a more granular permission, I recommend that you review this link: How do I set the build authorization scope for my project?
You're hitting a limitation of jsdom — it doesn't support CSS media queries or actual rendering. So even if you stub innerWidth, CSS like @media (min-width: 768px) won’t trigger.
To fix this:
vi.stubGlobal('matchmedia', query => ({
matches: query.includes('min-width: 768px'),
addListener: () => {},
removeListener: () => {}
}));
Pure CSS based visibility be tested in Vitest/jsdom, it's not supported.
Looks like permission issue . Please check while running the command it has the access to the specified path . You can try to run as root / admin . Also , give permission to all the files/folders present in the path to be accessed/run .
Adding a position: absolute on the dropdown menu should fix it for you.
Example with React Bootstrap:
<Dropdown.Menu style={{ position: 'absolute' }}>
<Dropdown.Item>
Item 1
</Dropdown.Item>
<Dropdown.Item>
Item 2
</Dropdown.Item>
</Dropdown.Menu>
I ran into this problem because the class file where I defined the new class and namespace was Tests vs Tests.cs renamed to include .cs and everything worked perfectly. VisualStudio was not helping, because in the class it figured out what I was doing and did not give any errors.
You might be looking for this:
el.innerText = '';
use this middleware at first of code
// fix edit request query and make it allow for edit this in new version of express
app.use((req, res, next) => {
Object.defineProperty(req, 'query', {
...Object.getOwnPropertyDescriptor(req, 'query'),
value: req.query,
writable: true,
});
next();
});
Im facing the same issue, i would love a api that retrieves my user lists.
For now i did some things for javascript.
IMDBListToObject
I made a Userscript that add a button to the page that get all the itens from a list and show in another tab as JSON
Other Method
You can also fetch the html page and scrap the data from it, the problem is that it returns only the first 25 itens of the list and you need to open CORS for IMDB urls in your website.
/*
EN:
https://www.imdb.com/user/ur174614034/ratings/?view=detailed
Other langs, ex PT:
https://www.imdb.com/pt/user/ur174614034/ratings/?view=detailed
The "view" argument is important
*/
fetch("https://www.imdb.com/pt/user/ur174614034/watchlist/?ref_=up_urwls_sm").then(r=>r.text()).then(r => {
let doc = document.createElement("div");
doc.innerHTML = r;
// logs the title of the itens in the list
console.log([...doc.querySelectorAll(".ipc-title--title")].map(e=>e.innerText))
})
Thanks for the report Jesus; Should be fixed following:
https://github.com/openrewrite/rewrite-spring/pull/735
Prestashop Vx.x.x - Hide Price of product from Database (phpMyAdmin) - SQL Query
Example product # 10 -- Table: `ps_product_shop >> | SQL |
UPDATE `ps_product_shop` SET `show_price`=0, available_for_order=0 WHERE id_product = 10;
| Continue |
Prestashop Vx.x.x - Ocultar precio de un producto desde la base de datos (phpMyAdmin)
Ejemplo ocultar el precio del producto # 10 -- Tabla: `ps_product_shop >> | SQL |
UPDATE `ps_product_shop` SET `show_price`=0, available_for_order=0 WHERE id_product = 10;
| Continuar |
Having no ideas yet about COUNTIF, I can explain the general comparison like "A1>0" behavior. It tries to convert A1 to number first, if not - converts 0 to a text and compare text values using the sort order.
For me, PerlScript as language server (like ASP VBScript or JScript) is running with the ActiveState Binary build 2404 distribution of Perl v5.24.3 on IIS 6.1 / Window 7 but not with the next distribution of Perl or other than ActiveState
For anyone new, it seems starting the foreground service from boot isn't allowed for certain service types anymore.
how to start foreground service after device reboot
You can check where the file is getting dowloaded in your system. It should be in C:/Users/{username}/Dowloads. You can run it as administrator.
Just recently we have 3 users that are receiving error: AADSTS90019: No tenant-identifying information found in either the request or implied by any provided credentials.
As an Admin in MS and Azure, how can this be corrected?
All users information is correct in MS Entra Admin Center and the user is licensed correctly in MS Admin Center.
We have tried multiple fixes, but nothing is working.
Nowadays you can see this in the admin panel as "Compute price/credit," which can be reached in the web UI under Admin > Cost Management
According to AntonRoskvist, the issue seems to be related to this PR: https://github.com/apache/activemq-artemis/pull/5764
It’s safe since the auth status only present in the memory.
For me, it was an issue with TestFlight.
(!) just don’t add anything into "What to Test"
Besides defining the experiment name as the other answer mentioned, you also have to setup the DATABRICKS_HOST and DATABRICKS_TOKEN environment variables.
You can create a token following this guide: https://docs.databricks.com/aws/en/dev-tools/auth/pat
Then use the "export" command on web terminal, or the os.getenv() method on python.
set expiration date to previous day -expires=>'-1d'
It is working as expected.. there is a logic which executing behind in skipped tests and deleting the files.. issue is resolved. If any one wants to use this solution they can use, as the above code is fully functional
FFmpeg converts the WAV file from WAVE_FORMAT_PCM to WAVE_FORMAT_EXTENSIBLE when it considers the sample rate or width are out of spec.
Take a look at https://trac.ffmpeg.org/ticket/4426 for a discussion about it.
If you need a 96Khz WAVE_FORMAT_PCM file, FFmpeg will not produce it. Use audacity or DAW like reaper or cakewalk to generate it.
With good hint from AdrianHHH's answer
I find a almost best way what I need when originally asked question.
Now I have this option enabled for this example file extension:

So basically its can be done with modify registry key:
"HKEY_CLASSES_ROOT\SystemFileAssociations\[.YourExtension]"
with add command for 'batch-edit'.
I share ready example for add context menu to .ps1 file context menu. Just copy this bellow, paste to any editor and save it as reg file - eg. :"C:\NP++l450.reg".
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\SystemFileAssociations\.ps1\Shell\Edit with Notepad++ from line 450\Command]
@="\"C:\\Program Files\\Notepad++\\notepad++.exe\" \"%1\" -n450 %*"
Next just run this file and new entry Context Menu shall appear for ps1 file.
Its now works for all selected ps1 files what I like to batch edit.
This solution is only for one extension (ps1)
Only one thing what is missing and I can't figure out how to make its icon file on the left:

so if you know how to add that icon to this context menu of that file extension please reply anytime.
The hidden information from the tonavigationtable helper from the Microsoft documentation is the line Preview.DelayColumn = itemNameColumn, which just does not work together with Function type columns.
So as found out here: https://github.com/migueesc123/PowerBIRESTAPI/blob/master/Power%20BI%20API/PowerBIRESTAPI/PBIAPI.pq you need to have 2(!) navigation table helper functions, one with and one without that line. This also works for functions without parameters.
Like so:
NavigationTable = (url as text) as table =>
let
navigationTableSource = #table(
{ "Name", "Key", "Data", "ItemKind", "ItemName", "IsLeaf" }, {
{ "Topics", "topics", topics(), "Table", "Table", true },
{ "Parameterized Reports","Functions", FunctionsNavTable(), "Folder","Functions",false}
// more navigation elements
}
),
NavTable = Table.ToNavigationTable(navigationTableSource, {"Key"}, "Name", "Data", "ItemKind", "ItemName", "IsLeaf")
in
NavTable;
FunctionsNavTable = () as table =>
let
navigationTableSource = #table(
{"Name","Key","Data","ItemKind","ItemName","IsLeaf"},{
{ "Unique Users Report 1", "unique_users_1", Value.ReplaceType(EventCloudImpl.ReportingApiGateway, ReportingApiGatewayType), "Function", "Function", true },
}
),
NavTable = Table.ForceToNavigationTable(navigationTableSource, {"Key"},"Name","Data","ItemKind","ItemName","IsLeaf")
in
NavTable;
The reason sigma clipping normally uses multiple iterations is because the sigma1 estimate in the first iteration includes the outliers, and is thus biased to have a larger value. Once these outliers are removed, the sigma2 estimate in the next iteration will be smaller, and thus identify more outliers outside the (now tighter) bounds. This is why you get progressively fewer points within the bounds, because the sigma estimation keeps ignoring more and more outliers away from the mean.
make sure that excel.exe is not running when you run your code.
One way to write the function in modern C++ would be:
void PrintArray(const std::array<int, 4>& arr)
{
for (const auto elem : arr) {
std::cout << elem << std::endl;
}
}
You could use MgGraph instead. Like this:
$userId = "[email protected]"
Invoke-MgGraphRequest -Method PATCH -Uri "https://graph.microsoft.com/v1.0/users/$userId" -Body @{onPremisesImmutableId = $null}
const panelView = elementor?.getPanelView();
const currentPageView = panelView?.currentPageView;
if (panelView && currentPageView?.model && currentPageView?.model?.attributes?.widgetType) {
const widgetModel = currentPageView.model;
// Getter
widgetModel.getSetting(key);
// Setter
widgetModel.setSetting(key, value);
}
// Found another hook too for new version of Elementor.
// Fires when a widget gets active.
elementor.hooks.addAction('panel/open_editor/widget', (panel, model) => {
// Your code here.
}
By the looks of the error you received you're attempting to get data from a table-valued function on the remote server, not a hard table, and thus the hint "WITH (NOLOCK)" doesn't even apply.
It is currently not possible to use DPO (direct preference optimization) of GPT via CLI or Python on Azure. Source: private correspondence with Microsoft.
$ENV:USERNAME
Does this work in Linux? I know it works in Windows PowerShell
@zkvvoob Did you solve this issue? I'm experiencing this exact problem.
did u resolved your error , im having the same
I had the same behavior - everything seemed fine, Tampermonkey was Enabled, it recognized that the script should be firing on this page, but when I hovered on the name of the script under the Tampermonkey icon, it told me "This script was not executed yet".
I was able to resolve this issue and get the script to run by enabling "Developer Mode" in the Manage Extensions area of the browser (Chrome/Edge).
I think you might be running into a known bug: https://github.com/dotnet/maui/issues/17152
As per the latest comment it seems the decimal separator is taken from the device regional settings despite the localization of the application:
The numeric keyboard uses the decimal separator of the language as configured for the device. Not for the language of the app.
If the language of the device is set to english, the numeric keyboard allows the dot as decimal separator, even if the language of the app is set to dutch.
If the language of the device is set to dutch, the numeric keyboard allows the comma as decimal separator, even if the language of the app is set to english.
The numeric keyboard should at least use the language of the app as set in CultureInfo.CurrentUICulture to determine the decimal separator.
You can perform CSS animations useing react-native-reanimated 4.
https://docs.swmansion.com/react-native-reanimated/docs/next/category/css-animations/
According to ccordoba12:
we set a fixed value of 80 columns in our consoles by default to make some terminal libraries (like Rich and Colorama) work as expected.
However, setting that value automatically is not an easy task because the Spyder graphical interface and the kernel (i.e. the program that runs your code) live in different processes. So, we'd need to inform the kernel every time a change in width occurs in the console (and right now I'm not sure how we could that).
So, I'm afraid you'll have to continue setting display.width by hand for now. But we'll try address this in the future
Right click and open Command Line Tool with Admin, then execute.
When getting permission denied errors, you can still try:
gcloud alpha resource-manager liens list
Which results in the error, but still gives the resource name, e.g.:
resourceName: projects/p815952589364-la3009308-1817-48d0-8ece-ca4d531dc7a3
Then use, which will delete the resource, even though it's complaining about permission:
gcloud alpha resource-manager liens delete p815952589364-la3009308-1817-48d0-8ece-ca4d531dc7a3
Now you can delete the google cloud project.
Remember that Arquillian is not meant to be used with Mockito:
Jakarta is designed to work with Fake Objects and similar instead of Mocks.
Look at Stack Overflow Why no more mocks in Arquillian? for details.
That is not a formatting issue but time zone. The clue is that the "error" is exactly 1 hour from midnight. You haven't given sufficient information/detail for a solution to be offered but here's what you need to do...
Good luck
Xcode 16.0
Cannot preview in this file
❌ Failed to launch com.myname.github.io.MyApp
Cause:
path: /Users/myname/Developer/MyApp/Pods/MLKitTextRecognitionCommon/Frameworks/MLKitTextRecognitionCommon.framework
I ran into a similar issue (although I was using fetchxml through liquid, rather than using the API). It seems Power Pages appends all the table permissions as extra link-entities to any fetchxml queries that are sent to dataverse.
For any tables that are also used in your table permissions, try giving those link-entities an alias and see if that helps.
This blog post was helpful for me. In liquid, you can view the full query that is being sent using the .xml attribute (details in the post). If there's an equivalent for the api you could try that, too.