In my case adding Asp NET Application Development Features solved the problem.
I can develop Blazor Application with NET 8.0 but for a Web Form site Visual Studio 2022 gives the debug problem.
Problem
Platform: Windows 10 Pro, Visual Studio 2022
Solution
Install - Add ASP.NET 4.8 Feature
Result
Application run with debug.
I faced the same issue on a Samsung Note 9. Instead of using image_picker, I switched to the camera package (current version I use: camera: ^0.11.3) and built my own custom camera screen. This approach is much lighter and works well even on low-memory devices. After replacing image_picker, the restart issue no longer occurred on my device.
Do you search before posting questions?
Please feel free to check the playwright help center for reference.
Playwright help
There's no such thing as "language-independent" words. Every word belongs to a certain language (though occasionally some words may have identical spelling in some languages). And Vombatus ursinus is definitely in Latin. By the way, it's called the common wombat in English, where's the language independence?
The Jetson machines all have unified memory architecture (CPU and GPU share memory) so increasing the amount of workers typically reduces the performance and uses up the shared memory quickly since we are splitting which cores have access to what. The standard allocated shared memory is typically only a small portion of the full possible amount hence why you get issues with running multiple workers even though the AGX Orion has the specs it does.
Instead you should ideally run --worker 1 or in some cases --workers 0 to not segment your memory, if you are still running into issues or slow inference/training rates you can increase the shared memory with something like --shm-size=8g in your docker or the like :)
I know this is solved, but for future reference, if none of the above work, this is what worked for me:
#include <windows.h>
int main (){
SetConsoleOutputCP(CP_UTF8);
SetConsoleCP(CP_UTF8);
setvbuf(stdout, NULL, _IONBF, 0);
}
A person who is in charge of online training platforms, i.e., they do everything that concerns the user-enrollment, course assignments, learning paths, reporting, assessments, compliance-tracking, and system configurations. Their work is primarily concerned with training-delivery, learner-engagement, and performance-analytics.
A person responsible for managing website-content, i.e., by producing, structuring, publishing, and supporting web pages, blogs, media, and the organization of the site. Their work is mainly concerned with website content, SEO, design, and user experience.
Infopro Learning provides comprehensive LMS administration services to organizations that need help managing the daily operations of their platforms, optimizing learning environments, handling technical configurations, and streamlining user and course management. Their skilled teams are the ones who make sure that the LMS is working efficiently, thus allowing companies to concentrate on strategic learning initiatives rather than platform maintenance.
Additionally, it appears this update in version 1.2 also mentions this: purrr 1.20
I can't confirm the situation you described, but you might want to check out the examples provided in this link. It seems like placing the relevant functions inside in_parallel could be a effective approach.
hi Johan Morales , I’m trying to run Dynamo scripts through my custom Revit plugin and came across your question while searching for a solution. Did you manage to resolve it? If yes, could you please share how you did it? It would be really helpful.
https://stackoverflow.com/users/20882864/marce-puente The input would probably be hardcoded for now but I have plans to change that to be an algorithm to tune parameters but I want to make this as easy as possible for others to use the function in their own code. But as for your solution, eventually I will scale this to have a lot of models therefore lots of parameters which is why I want to avoid ifs at all costs.
https://stackoverflow.com/users/12085772/jason-chia I am sorry but I don't understand what you are saying, could you explain a bit more?
If the accuracy property is less than 10 meters then it's GPS. Other measurement methods are much less accurate. For example, WIFI is in kilometers. Also note that location can be spoofed using browser tools (sensors) that allows location and accuracy to be set to any value.
Thanks! THis works but does it scale? E.g. what if my_func uses a ton of other helper functions? Do I have to declare all of them explicitly?
maybe this? purrr::in_parallel
my_func <- function(x) {
Sys.sleep(1)
return(x * 2)
}
x <- 1:10
my_func(x)
#> [1] 2 4 6 8 10 12 14 16 18 20
mirai::daemons(5)
purrr::map(x, purrr::in_parallel(\(x) my_func(x), my_func = my_func))
#> [[1]]
#> [1] 2
#>
#> [[2]]
#> [1] 4
#>
#> [[3]]
#> [1] 6
#>
#> [[4]]
#> [1] 8
#>
#> [[5]]
#> [1] 10
#>
#> [[6]]
#> [1] 12
#>
#> [[7]]
#> [1] 14
#>
#> [[8]]
#> [1] 16
#>
#> [[9]]
#> [1] 18
#>
#> [[10]]
#> [1] 20
mirai::daemons(0)
Created on 2025-12-04 with reprex v2.1.1
Looks like it's being blocked by your company firewall.
Your best bet is to either install it on a personal machine or ask the IT department to whitelist:
ollama.com
cloudflarestorage.com
You'll also need to make sure the TCP port on your machine is open to allow models to get pulled onto your device.
Thank you all for the suggestions and hints. I will definitely use @flakes idea of a loop condition and extracting the collecting part into its own function, since performCalls will have more logic in it. I know for a fact that nothing will close the more channel, so I think it is okay to not check for it, especially when every use of more is within ~20 lines of code. For the moment, I think this is what I will use:
func (a *Agent) collectCalls(call0 methodCall) []methodCall {
calls := []methodCall{call0}
for len(calls) < 200 {
select {
case call := <-a.more:
calls = append(calls, call)
default:
return calls
}
}
return calls
}
func (a *Agent) performCalls(call0 methodCall) {
defer func() { <-a.startSem }()
calls := a.collectCalls(call0)
// ... use calls
}
@hans-kilian Indeed, they don't use the "LTS" label. Further down the page, they list "Rapid Releases and Minor Releases" and each of those are just 6 months from Release to EOL. Customers using that are expected to upgrade at the end, or be auto-upgraded when on Atlas, or not receive any support without upgrading by EOL. So 8.2 is a Rapid/Minor release with 6 months support and and 8.0 is a Major release with 5 yrs support. So all major releases are effectively LTS; as long as users keep upgrading to new major-patch versions (8.0.1, 8.0.2, etc.).
REPLACE(YourString, NCHAR(8239) COLLATE Latin1_General_BIN2, '')
Looking at this, it doesn't seem like Mongo uses LTS versions and non-LTS versions.
If you are using Java 8, this can be caused by update 451 (released in April 2025) or later, which removed JavaFX.
You can work around this by uninstalling the latest Java, downloading a pre-451 version, e.g. 441, from the Oracle website (login needed), and installing that.
This may not be related to your specific question, but I had a similar issue with the list just not rendering on android, the culprit was including a RefreshControl. Removing the RefreshControl fixed the issue completely for me. Really annoying, who knows why but better than no list at all!
Youka's comment was the most helpful for me. Namely these two points:
SERVER_MODE the PassFile path in servers.json is relative to the user's storage directory, even if the path is starting with /;@ character should be replaced with _, such that if [email protected], the directory is /var/lib/pgadmin/storage/admin_example.org/.For whatever reason I am unable to comment directly under Youka's answer.
Since pagingController.refresh() only refresh and reset the state but doesn't automatically call fetchPage(), I manually call fetchNextPage() right after it. This works as a replacement for a missing forceRefresh() API.
can fix like this:
ever(turnStatusFilter, (_) {
// InfiniteScrollPagination doesn't have forceRefresh(),
// so I manually reset the controller and trigger the first load.
pagingController.refresh();
pagingController.fetchNextPage();
});
Create a Serverless VPC Access:
My problem resolved by changing min and max instances
gcloud compute networks vpc-access connectors create ${vpc_access_connector} \
--region=${region} \
--network=${network} \
--range=10.8.0.0/28 \
--min-instances=2 \
--max-instances=3
I just restart my iphone, and it worked for me
If i replace
import { NgbModalRef, NgbModal } from '@ng-bootstrap/ng-bootstrap';
with
import { NgbModalRef, NgbModal } from '@ng-bootstrap/ng-bootstrap/types/ng-bootstrap-ng-bootstrap-modal';
i get trouble with the ng-packagr
Could not resolve "@ng-bootstrap/ng-bootstrap/types/ng-bootstrap-ng-bootstrap-modal" [plugin angular-compiler]
dist/va-controls/fesm2022/my-controls.mjs:8:22:
8 │ ... i1$2 from '@ng-bootstrap/ng-bootstrap/types/ng-bootstrap-ng-boo...
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The path "./types/ng-bootstrap-ng-bootstrap-modal" is not exported by package "@ng-bootstrap/ng-bootstrap":
node_modules/@ng-bootstrap/ng-bootstrap/package.json:53:13:
53 │ "exports": {
╵ ^
You can mark the path "@ng-bootstrap/ng-bootstrap/types/ng-bootstrap-ng-bootstrap-modal" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.
You should try the Sync Windows utility from sysinternals: https://learn.microsoft.com/en-us/sysinternals/downloads/sync ?
find some well know zig libary github readme file. it will give you the right answer
zig app dep zig lib: https://github.com/zigtools/lsp-kit
zig app dep c lib wrap:https://github.com/allyourcodebase/zlib
# Source - https://stackoverflow.com/a/62969741
# Posted by mujjiga, modified by community. See post 'Timeline' for change history
# Retrieved 2025-12-04, License - CC BY-SA 4.0
from bokeh.models import GeoJSONDataSource
from urllib.request import urlopen
import json
from bokeh.models import GeoJSONDataSource, HoverTool, LinearColorMapper
from bokeh.palettes import Viridis256
from bokeh.plotting import figure
from bokeh.io import output_file, show
import matplotlib.pyplot as plt
from bokeh.io import show, output_notebook
%matplotlib
output_notebook()
# Geojson of India
with urlopen("https://raw.githubusercontent.com/geohacker/india/master/state/india_state.geojson") as response:
geojson = json.load(response)
# Round robin over over 3 colors
# You can set the colors here based on the case count you have per state
for i in range(len(geojson['features'])):
geojson['features'][i]['properties']['Color'] = ['blue', 'red', 'green'][i%3]
# Set the hover to state information and finally plot it
cmap = LinearColorMapper(palette=Viridis256)
TOOLS = "pan,wheel_zoom,box_zoom,reset,hover,save"
geo_source = GeoJSONDataSource(geojson=json.dumps(geojson))
p = figure(title='India', tools=TOOLS, x_axis_location=None, y_axis_location=None, width=800, height=800)
p.grid.grid_line_color = None
p.patches('xs', 'ys', fill_alpha=0.7, line_color='black', fill_color='Color', line_width=0.1, source=geo_source)
hover = p.select_one(HoverTool)
hover.point_policy = 'follow_mouse'
hover.tooltips = [('State:', '@NAME_1')]
show(p)
When sending a Flow template, you can dynamically set the labels in the flow from the flow_action_data field. Set all labels in the flow dynamically. Create data on each screen in the Flow JSON and have the labels reflect the property values there.
example:
"components": [
{
"type": "button",
"sub_type": "flow",
"index": "0",
"parameters": [
{
"type": "action",
"action": {
"flow_action_data": { //You can set this in your system in the desired language and change the values.
"hear_us_0_visibility": false,
"answer_body": "Please answer the questions completely and accurately.",
"full_name_text": "Full Name",
"e_mail_text": "E-mail",
"age_text": "Age",
"how_did_you_text": "How did you hear about us?",
"hear_us_props_text": "Select",
"no_answer_section_text": "No answer provided",
"other_section_text": "Other"
}
}
}
]
}
]
Flow JSON Example:
"screens": [
{
"data": {
"answer_body":{
"__example__": "Please answer the questions completely and accurately.",
"type": "string"
},
"full_name_text":{
"__example__": "Full Name",
"type": "string"
}
},
"id": "QUESTION_ONE",
"layout": {
"children": [
{
"children": [
{
"text": "${data.answer_body}",
"type": "TextBody"
},
{
"input-type": "text",
"label": "${data.full_name_text}",
"name": "Full_Name_b8c3e3",
"required": true,
"type": "TextInput"
},
{
"input-type": "text",
"label": "${data.e_mail_text}",
"name": "Email_a25755",
"required": true,
"type": "TextInput"
},
.....
Might be a no-brainer for most but I'd still like to add what solved this issue for me. Have you checked your </div> closing tags? I had the same issue but setting padding and margin to 0 for <body> did nothing for me. When inspecting my html I saw that I had my footer inside an unclosed <div>.
Not sure if this helps, but gpt-oss, for example, only allows low reasoning, but you can't disable reasoning entirely. This seems to align with OpenAI's documentation on GPT-5 reasoning.
If you're not tied to the OpenAI platform, why not give https://groq.com/ a shot for blazingly fast inference?
Use Inline Styles(CSS)
<BubbleMenu editor={editor}>
<div
style={{ backgroundColor: 'white' }}
className={cn(
"border border-external-black-10 shadow-sm rounded-md px-2 py-1 flex gap-1",
toolbarClassName
)}
>
<Toolbar editor={editor} />
</div>
</BubbleMenu>
i found that stackblitz works fine, would like to know other better editor.
https://stackblitz.com/edit/angular-live-compiler-stca4pd1?file=src%2Fapp%2Fapp.component.ts
Using rclone with cron cannot sync cloud data to local storage. You'll need to write a program/script that uses Google Drive API to pull data down to your local server. The trickiest part is setting up a service account with domain-wide delegation.
If you want tools to help:
GAM : open sourced and flexible, available on Github.
CubeBackup A 3rd-party Google workspace backup tool - paid, but very affordable and easy to use.
Background
You created a Custom Form containing three fields:
URL
ISID
Password
Submit button
When the automation runs, the URL field shows a dropdown list (based on the choices you provided).
Then you display a message box and try to show:
%CustomFormData['URL']%
But the message box displays the literal text, not the actual value.
Root Cause
Custom Form data returns a JSON string, not a direct object.
So %CustomFormData['URL']% will not work until you convert it.
Possible Solution
Step 1 — Convert Custom Form JSON to Object
Use action:
Convert JSON to custom object
Input JSON:%CustomFormData%
Output variable: JsonAsCustomObject
This lets PAD read your Custom Form data properly.
Step 2 — Parse the URL from the object
Add action:
Parse text
Text to parse: %JsonAsCustomObject%
Text to find (regex): https[^"'\s]+
Explanation of the regex:
https → Matches URLs that start with https
[^"'\s]+ → Continue matching until a quote, space, or newline appears
Output variable: Matches
This will extract the actual selected URL.
Final Step — Display the extracted URL
In your message box, just use: %Matches%
Now the URL will appear correctly instead of a plain text placeholder.
Use paramterized queries which is the safety mechanism provided by your database itself.
See https://www.prisma.io/docs/orm/prisma-client/using-raw-sql/raw-queries#parameterized-queries
Fixed it by using float[] type as per documentation and making sure there is a getter and setter for the float[] type specifically.
Previously I had a float[]-to-double[] getter and a double[]-to-float[] setter:
public double[] getEmbedding() {
double[] doubleEmbedding = new double[embedding.length];
for (int i = 0; i < embedding.length; i++) {
doubleEmbedding[i] = embedding[i];
}
return doubleEmbedding;
}
public void setEmbedding(double[] embedding) {
this.embedding = new float[embedding.length];
for (int i = 0; i < embedding.length; i++) {
this.embedding[i] = (float) embedding[i];
}
}
I kept those (because I'm using doubles in my app), but added:
public float[] getFloatEmbedding() {
return embedding;
}
public void setFloatEmbedding(float[] embedding) {
this.embedding = embedding;
}
Thanks for the help, John! (See comments)
If you prefer an online tool, you can use JSON Formatter which also supports minifying JSON easily.
The handler field needs the full package name:
text
com.aws.lambda.StreamLambdaHandler
(not just StreamLambdaHandler)
Update in Lambda Console → Runtime settings → Handler → Save → Test.
Look at the bottom-right of VS Code.
If you see OVR, click it and change to INS.
If there is no label:
Fn + Insert)I am facing the same error.
When admin try to open the custom report, it works correctly but when user try to do same then got this error "For more information about this error navigate to the report server on the local server machine , or enable remote error".
I am using Visual Studio AX2022.
The request timeout middleware does not work in the debug mode. You have to run the application using the dotnet run command and request the route.
Also don't attach the debugger to the application.
enable extension=intl
remove ; from php.ini file
You must tell the controller to request the first page manually after refresh. This is the easiest fix.
ever(turnStatusFilter, (_) => pagingController.forceRefresh());
forceRefresh() = refresh + immediately trigger first load.
Your "data" variable is a list, composed of dictionaries. To access the first name on the "data" variable, you must first access the index in the list, and then access the key "name"
print(data[0]["name"])
#include <studio.h>
Int main( )
{
int x=0;
int y=0;
while (x<15) {
y++,x+=++y;
printf ("%i %i\n",x,y);
}
return 0;
}
I had this exact same issue with my Android phone not loading the script. I found a fix that generates a mobile-friendly link for you. It worked instantly for me: https://spreadbrain.com/console
XXE Injection remains one of the most dangerous, yet misunderstood, flaws. If your application processes XML (including SVG or SOAP), it is likely vulnerable to catastrophic attacks.
I published a technical breakdown showing exactly how attackers:
Read arbitrary system files (e.g., /etc/passwd).
Execute Server-Side Request Forgery (SSRF) against internal networks, including cloud metadata services (169.254.169.254).
Perform Blind XXE via out-of-band data exfiltration.
The article includes code snippets for disabling external entity processing across Java, PHP, and .NET.
➡️ Read the full technical analysis here: https://revbrightintl.blogspot.com/2025/12/xml-external-entity-xxe-injection.html
Seems like ART is busy in DexFileVerifier, trying to optimize or check something. Do you have a huge DEX?
Tips:
Check if you have minification enabled in your build.gradle:
android {
buildTypes {
release {
isMinifyEnabled = true // Enables minification
// Also recommended to enable resource shrinking
isShrinkResources = true
}
}
}
If that does not help, you can try multidex: https://developer.android.com/build/multidex
Organize imports functionally suggests imports to be selected by the user, so it’s tight to the UI and not suitable for batch. It’s good for code in progress but not suitable for rewriting an existing codebase. I’m excluding this one and a couple of others such as the one adding missing methods.
For CloudFormation CI CD in GitLab, you can put security and compliance checks early in the pipeline so they run before any stack update. The common tools used in AWS projects are cfn-lint for template validation, cfn-nag for insecure IAM or public resources and Checkov when you want deeper policy checks. If you need Compliance as Code, CloudFormation Guard or OPA works well and both fit easily into GitLab jobs.
A simple pipeline is validate, security scan, compliance rules, version bump and then deploy to a test stack. Many teams also bring in devsecops services when they need custom rule sets, but the tools above are enough for most CloudFormation workflows
Thanks @amalloy! That's very helpful. I've been away from SO for a while. What is a "Reply"? It's not a comment (?), but not an answer (since I can't upvote or accept (which I would)).
The approach shown here works, but HTML parsing can become unreliable if the structure changes. In most cases, using a proper HTML parser like BeautifulSoup (Python), Cheerio (Node.js), or DOMParser (JS) is a better and safer solution. These libraries handle malformed HTML more gracefully and make it easier to target specific tags or attributes. It also helps avoid issues caused by nested or missing elements.
By the way, if anyone in Kitchener is searching for a reliable spay and neuter clinic, Bruce Street Animal Hospital is a solid choice. This animal hospital in Kitchener provides safe, professional sterilization services along with vaccinations, wellness exams, and dental care — all delivered with genuine care and experience.
I periodically used this:
brew update && brew upgrade zsh
Here, it updates Homebrew first and then upgrades the zsh to the latest version. I hope this helps :)
Faced this issue separately in angular v20
As for me provideAnimations was causing issue here, so have removed that its working perfectly fine
its just for future reference people who are using provideAnimations()
Reference link, provideAnimations has been deprecated
https://angular.dev/api/platform-browser/animations/provideAnimations
This can be solved by using Lock Task Mode instead of screen pinning, done by adding your application package name to the allowlist for lock task packages.
The API Activity.startLockTask() remains the same, although you may want to provide a way to call Activity.stopLockTask() in your own UI, as unlike screen pinning, the user won't be able to unlock it using device gestures or device button combinations.
Note that this feature requires Device Owner / Device Policy Controller access (relatively difficult to obtain, tutorial link further below). Popular applications that allows you to use Device Owner features are:
I've built an application that makes use of this feature myself, Webview Kiosk.
As an aside, Device Owner privileges can also be shared using an application called Dhizuku (not to be confused with Shizuku), for apps that implements the Dhizuku API. Both OwnDroid and Webview Kiosk have implemented this natively, if you are looking for a reference implementation.
Dhizuku also provides a good tutorial in the following discussion post:
At first glance, I think the 'import' you're using is incorrect. You're importing from playwright; it should be playwright/test.
import { chromium, test } from '@playwright/test';
The root cause is connection pool exhaustion + cold start delays during ECS autoscale events. When CPU >50% triggers scaling, new ECS tasks spin up simultaneously, each trying to establish 15 connections to Elasticache. Your pool saturates immediately, causing connection/command timeouts → API 504s → health check failures → task kill/create loops.
text
1. Load test → CPU 50% → ECS scales up 5-10 tasks 2. Each task creates 15 connections (maxTotal) → 75-150 total connections hit Elasticache 3. IAM auth + TLS handshake + pool warmup = 3-5s per task 4. Connection timeouts (3s) fire → commands fail → APIs 504 5. Health checks fail → tasks get terminated → scale loop 6. ~30min later: pools stabilize, connections reuse, everything calms down
text
❌ maxTotal=15 too small for multi-task scaling (50+ recommended) ❌ connectTimeout=3s too tight (IAM auth + TLS needs 8-10s) ❌ commandTimeout=2s aggressive during warmup (5s minimum) ❌ No pool metrics → blind to saturation
java
@Bean publicCompletionStage<BoundedAsyncPool<StatefulRedisConnection<String, String>>> cacheAsyncConnectionPool(RedisClient redisClient) { BoundedPoolConfig poolConfig = BoundedPoolConfig.builder() .maxTotal(50) // was 15 .maxIdle(25) // was 8 .minIdle(5) // was 3 .testOnAcquire(true) .testOnCreate(true) .maxWait(Duration.ofSeconds(10)) // ADD this .build(); RedisURI redisURI = RedisURI.builder() .withHost(host) .withPort(6379) .withSsl(true) .withAuthentication(getCredentials()) .withTimeout(Duration.ofSeconds(10)) // was 3s .build(); // ... rest unchanged}
java
privateClientOptions createClientOptions() { returnClientOptions.builder() .pingBeforeActivateConnection(true) .socketOptions(SocketOptions.builder() .connectTimeout(Duration.ofSeconds(10)) // was 3s .keepAlive(true) .tcpNoDelay(true) .build()) .timeoutOptions(TimeoutOptions.builder() .fixedTimeout(Duration.ofSeconds(5)) // was 2s .build()) .build(); }
json
{ "healthCheck": { "timeout": 30, // give connections time to warmup "interval": 60, "startPeriod": 120 // 2min grace period }, "essential": true }
java
// In your service using the pool@AutowiredprivateBoundedAsyncPool<StatefulRedisConnection<String, String>> pool; public voidlogPoolStats() { System.out.println("Active: " + pool.getActiveObjectCount() + " Idle: " + pool.getIdleObjectCount() + " Waiting: " + pool.getWaitingObjectCount()); }
text
CPU >50% → Scale out by 2 tasks (not max) Cooldown: 300s Warmup: 120s
text
1. Deploy pool changes 2. Load test 500rps 3. Watch CloudWatch: - Connection count <50 - No timeout errors - ECS tasks stabilize in <5min
Pro tip: Valkey serverless + IAM auth adds ~200-500ms latency per connection. Your 3s timeout was cutting it too close during scale events.
27 upvotes · 5 awards
Posted 45min ago by cloud-architect-freelancer
✅ This fixed it completely! Increased pool to 50, timeouts to 10s, added warmup period. Scaling now takes 3min instead of 30. Thanks!
— OP (20min ago) ⬆️
remove AI tone and make it human tone
Here’s the Stack Overflow answer rewritten in a natural, straightforward tone:
The issue you’re hitting—API latency spikes, 504 timeouts, and connection timeouts on Elasticache during ECS autoscaling—usually happens because your connection pool is too small and the new ECS tasks need time to warm up their connections.
When ECS scales out a bunch of tasks, each creates connections to Elasticache. With your pool maxTotal set to 15, it quickly maxes out. On top of that, IAM authentication and TLS add extra delay to each connection. So requests start timing out until everything catches up, which can take around 30 minutes.
Here’s what you can do:
Increase your connection pool size significantly (try maxTotal around 50 or more).
Increase connection and command timeouts to 5-10 seconds to allow for auth and TLS overhead.
Adjust ECS health check grace periods to avoid killing tasks before they’re fully ready.
Add metrics around your connection pool so you can monitor saturation.
Look at your autoscaling policies to ensure they don’t scale too aggressively, and allow some cooldown time.
Example changes:
java
BoundedPoolConfigpoolConfig = BoundedPoolConfig.builder() .maxTotal(50) // bigger pool .maxIdle(25) .minIdle(5) .testOnAcquire(true) .testOnCreate(true) .build(); RedisURI redisURI = RedisURI.builder() .withHost(host) .withPort(port) .withSsl(true) .withAuthentication(getCredentials()) .withTimeout(Duration.ofSeconds(10)) // longer timeout .build();
And update your client options:
java
ClientOptions.builder() .socketOptions(SocketOptions.builder() .connectTimeout(Duration.ofSeconds(10)) // increased from 3s .keepAlive(true) .tcpNoDelay(true) .build()) .timeoutOptions(TimeoutOptions.builder() .fixedTimeout(Duration.ofSeconds(5)) // command timeout up from 2s .build()) .build();
Once you increase pool size and timeouts, your system will handle spikes better, and ECS tasks won’t get stuck restarting due to connection failures.
Seeing this as well - there is a thread on the apple developers forum here but no fix as of this writing.
i downgraded to prisma 5 and it worked fine
The same problem, automatically inferring that there is a bug in the methods
please update the react, react-dom version
refer follow attached screenshoot.
Sorry, no backup, no sympathy. Also please check the tour; stackoverflow is for programming questions only.
If you expose the OpenApi endpoint, you can use a script in postman to refresh it:
I've found out that I am having an issue with SVG tags, not because of the tags themselves, but because of the Live Server extension that I am using. Credit and thanks go to herrstrietzel for giving me a hint for this particular issue.
To solve this problem, I needed to use the Live Preview extension instead of the Live Server extension.
To use it, I needed to right-click on the starting page of my template/website (e.g., index.html). Since I am using VS Code, it is embedded within the editor's side panel (or side bar). To view it in a browser (such as Google Chrome), I needed to either copy the link address from the top of the page or click the menu and then select "Open in Browser".
See examples below:
Concurrent Task Queue is a newer one for >= C++20.
Designing a scalable, secure, and cost-efficient solution on AWS requires structuring your architecture around modular cloud building blocks, automation, and well-established best practices. Here is the CloudPi.ai recommended approach:
Every AWS solution should be evaluated against the six pillars:
Operational Excellence
Security
Reliability
Performance Efficiency
Cost Optimization
Sustainability
This ensures your architecture stays stable, efficient, and future-proof.
Separate workloads by purpose:
Production
Staging / QA
Dev/Test
Shared Services (Networking, IAM, Logging)
This improves security isolation, simplifies access control, and reduces blast radius.
Use:
VPC per environment
Public/Private subnets split across AZs
VPC Endpoints for secure private traffic
Transit Gateway if connecting multiple VPCs
WAF + CloudFront for global security and caching
CloudPi.ai recommends selecting based on workload type:
Use CaseBest AWS OptionEvent-drivenLambda + EventBridgeWeb appsFargate / ECS or EKSHigh-speed processingEC2 Auto ScalingEdge workloadsLambda@Edge / CloudFront Functions
Reduce operational burden with:
RDS / Aurora → relational DB
DynamoDB → serverless NoSQL
S3 → static assets, backups, logs
API Gateway → managed API layer
SNS/SQS → messaging decoupling
Managed services improve uptime, scalability, and security.
A CloudPi.ai architecture always includes full monitoring:
CloudWatch metrics + alarms
CloudTrail auditing
AWS Config compliance
OpenSearch / Grafana for analytics
Use Infrastructure as Code from day one:
Terraform (CloudPi.ai primary recommendation)
AWS CloudFormation / CDK
Automated CI/CD pipelines using GitHub Actions, GitLab CI, or AWS CodePipeline
CloudPi.ai’s AWS security baseline includes:
IAM least-privilege roles
MFA for all human access
Secrets Manager / Parameter Store
KMS encryption everywhere
GuardDuty + Security Hub
S3 default block-public-access
Use:
Auto Scaling
Spot Instances for batch workloads
S3 lifecycle policies
Compute Optimizer recommendations
A well-architected AWS solution should be:
✔ Modular
✔ Secure
✔ Automated
✔ Observed
✔ Cost-optimized
✔ Built on managed services
For more architecture guides and diagrams, visit CloudPi.ai.
On https://www.mongodb.com/docs/manual/release-notes/, it says the current stable version is 8.2.
https://www.mongodb.com/docs/manual/release-notes/8.2/#std-label-release-notes-8.2
I don't use jest, so I just
sed -i -e "/'jest'/d" node_modules/@react-native/eslint-config/index.js
sed -i -e "/'jest\/globals'/d" node_modules/@react-native/eslint-config/index.js
to let eslint works well.
I think someone has hacked Google or Samsung account and this now pops up never did before ?Where is it being shared to?
The proxy.ts was the culprit...
You would need to create the background service using IHostedService which runs every time to look for endpoints in controller by registering the service builder.Services.AddEndpointsApiExplorer and get the service inside the background job using,
var apiProvider = scope.ServiceProvider.GetRequiredService<IApiDescriptionGroupCollectionProvider>();
use the apiProvider to retrieve the collection group by controller and prepare the all list of endpoints collections it calls the postman update collection api and post body to https://api.getpostman.com/collections/{CollectionUid} to your postman collections.
Let me know If you want full implementation of the code, I will do it
Thanks
Another method is to put it inside a div component, the set display:flex for the div, and set align-items:center for the div as well.
Easiest way to center an <a> tag, put it inside a container like a <div> </div> and set the container’s text alignment to center. that make the link appear in the middle of the page
Yeah, this looks like exactly what I needed. I spent a few hours reverse engineering how https://spector.net works, and it turns out they use almost the same idea under the hood. They call the same Instagram mobile API endpoints on i.instagram.com/api/v1 and the same GraphQL request to instagram.com/graphql/query, and then pull the direct video_url from the response, basically the same pattern shown in the extractor code.
Thanks a lot!
@Dai: Thanks for your input. Of course, there is no problem with lighter colors (see yellow, lime, cyan in my screenshot), hence why I am asking here specifically about darker colors such as red (#F00) which I need to use. You say I should include example HTML code, but your example code is CSS not HTML. So what code should I post ?
I just had this issue trying to compile python from source on windows. The error message was: "The build tools for v143 (Platform Toolset = 'v143') cannot be found" for pyshellext.vcxproj
The problem was I didn't have ARM v143 tools installed.
setting -p x64 as an arg to PCBuild\built.bat or -x64 to tools\msi\build.bat may help, or install the ARM tools as a workaround.
Also, it is not clear what you want to hide and why. What hiding may actually mean? Black spot on the screen? :-)
For example, hiding a user name would be just changing a real user name with some fake name. Don't you think that you what you really have to do? Provide a special no-expose mode of operation in your renderer code when all sensitive information if replaced with fake words and let the main thread do the recording in a usual way.
Not clear. window.electronAPI looks like bridge API registered using something like
contextBridge.exposeInMainWorld('electronAPI', {
// some methods
})
This implementation is done in preload and can acccess real Electron and node.js APIs and modules. This code creates an IPC API for the renderer code having no priviledge to use those API's directly. The exposing of this kind of IPC API to the renderer's window object is just the implementation detail of you Electron application, even if it was not you who implemented it.
It is unclear, what it is. What exactly is done in the main Elecrton process? Is it Electrom desktopCapturer combined with remote? Something else?
If this is the desktopCapturer, it knows nothing about your renderer's DOM, it captures the image source immediately, 'screen' or 'window'. Or are you doing something else?
Believe I had this issue when I had somehow manually excluded node_modules. When I click Mark As I was confused because it didn't say "Excluded". I chose another option, which released the exclusion. Now the Mark As menu contains "Not Excluded" (I guess it's automatically excluded) and I don't have the Project Errors containing errors from node_modules.
If the image is properly tagged as per the OpenContainer spec, you can also get the value of the label org.opencontainers.image.versionlike this:
$ docker inspect \
--format '{{ index .Config.Labels "org.opencontainers.image.version"}}' \
image:tag
Thanks to this answer here showing how that can be done.
Set an iteration limit and observe the solution. Repeat for iteration limit = 1,2,3,...
Yes, I did. The first result is the official Instagram API, but it doesn’t let you download public media by URL. That is why I’m trying to understand how existing downloader sites do it and what endpoints they use.
Are the x values monotonic? If so there is a more efficient approach than basic boolean masking.
The rows in these columns are of Struct type. I want them in a different type
It's unclear what you're actually asking here.
I've tried playing around with the following but keep failing
The code examples shown don't seem to have anything to do with "different types" and "keep failing" lacks any details about specific error messages.
Can you show an actual runnable code example with inputs / expected outputs?
Ok, I asked a friend of mine, and she suggested boolean masking, so I'll try that and update this post after for any other confused scientists consulting google lol :)
Let's start with InteractiveViewer, instead of GestureDetector, as we need more control over transformation and interactions
I would recommend using such a structure for whiteboard layout:
Widget build(BuildContext context) {
return LayoutBuilder(
builder: (context, constraints) {
return InteractiveViewer(
transformationController: _transformationController,
minScale: _minZoom,
maxScale: _maxZoom,
panEnabled: false,
scaleEnabled: true,
boundaryMargin: const EdgeInsets.all(double.infinity),
onInteractionStart: onInteractionStart,
onInteractionUpdate: onInteractionUpdate,
onInteractionEnd: (_) => onInteractionEnd(),
child: RepaintBoundary(
child: SizedBox.fromSize(
size: constraints.smallest,
child: CustomPaint(
key: _canvasKey,
painter: CanvasCustomPainter(
nodes: _nodes,
offset: _lastFocalPoint,
scale: _currentZoom,
screenSize: constraints.biggest,
transformationController: _transformationController,
),
),
),
),
);
},
);
}
Now lets add a bit models for pen/drawwing logic, lets declare some abstraction, for example something like this:
abstract class WhiteboardNode {
WhiteboardNode({required this.order});
int order;
NodeBoundingBox get boundingBox;
void shift(Offset delta);
}
add a point model:
class DrawPoint extends Offset {
DrawPoint(super.dx, super.dy, {this.visible = true});
DrawPoint.fromOffset(Offset o)
: visible = true,
super(o.dx, o.dy);
bool visible;
@override
DrawPoint translate(double translateX, double translateY) => DrawPoint(
dx + translateX,
dy + translateY,
);
}
and finally a pen node:
class WhiteboardPenSettings {
const WhiteboardPenSettings({
required this.strokeWidth,
required this.strokeCap,
required this.currentColor,
this.onDrawOptionChange,
}) : assert(strokeWidth >= 0, "strokeWidth can't be negative");
const WhiteboardPenSettings.initial()
: strokeWidth = 2.5,
strokeCap = StrokeCap.round,
currentColor = AppColors.black,
onDrawOptionChange = null;
final double strokeWidth;
final StrokeCap strokeCap;
final Color currentColor;
final ValueChanged<WhiteboardPenSettings>? onDrawOptionChange;
}
class NodeBoundingBox {
const NodeBoundingBox({
required this.rect,
required this.paddingOffset,
});
static const NodeBoundingBox zero = NodeBoundingBox(
rect: Rect.zero,
paddingOffset: Offset.zero,
);
final Rect rect;
final Offset paddingOffset;
}
class NodeExtremity {
NodeExtremity({
required this.left,
required this.top,
required this.right,
required this.bottom,
});
NodeExtremity.initial()
: left = 0,
top = 0,
right = 0,
bottom = 0;
double left;
double top;
double right;
double bottom;
}
class PenNode extends WhiteboardNode {
PenNode({
required this.uuid,
required super.order,
required this.penSettings,
required this.paintingStyle,
required this.extremity,
required this.points,
});
factory PenNode.fromSettings({
required WhiteboardPenSettings settings,
required int order,
}) {
return PenNode(
uuid: const Uuid().v4(),
penSettings: settings,
paintingStyle: PaintingStyle.stroke,
order: order,
extremity: NodeExtremity.initial(),
points: [],
);
}
final String uuid;
final List<DrawPoint> points;
final PaintingStyle paintingStyle;
final WhiteboardPenSettings penSettings;
final NodeExtremity extremity;
@override
void shift(Offset delta) {
for (var i = 0; i < points.length; i++) {
points[i] = points[i].translate(delta.dx, delta.dy);
}
}
@override
NodeBoundingBox get boundingBox {
if (points.isEmpty) return NodeBoundingBox.zero;
var minX = double.infinity, minY = double.infinity;
var maxX = double.negativeInfinity, maxY = double.negativeInfinity;
for (final point in points) {
if (point.dx < minX) minX = point.dx;
if (point.dy < minY) minY = point.dy;
if (point.dx > maxX) maxX = point.dx;
if (point.dy > maxY) maxY = point.dy;
}
return NodeBoundingBox(
rect: Rect.fromLTRB(minX, minY, maxX, maxY),
paddingOffset: Offset.zero,
);
}
}
Soooo, yeah, we ready to go, lets focus now on custom painter logic:
class CanvasCustomPainter extends CustomPainter {
CanvasCustomPainter({
required this.nodes,
required this.offset,
required this.scale,
required this.screenSize,
this.transformationController,
this.backgroundColor,
});
List<WhiteboardNode> nodes;
double scale;
Offset offset;
Size screenSize;
final Color? backgroundColor;
TransformationController? transformationController;
@override
void paint(Canvas canvas, Size size) {
if (backgroundColor is Color) {
canvas.drawColor(backgroundColor!, BlendMode.src);
}
if (nodes.isEmpty) return;
// we need order to pay attention to backward/forward layers
nodes.sort((a, b) => a.order.compareTo(b.order));
canvas.saveLayer(Rect.largest, Paint());
for (final node in nodes) {
if (node is! PenNode) continue;
// if not on the screen, lets skip rendering it
if (_checkScribbleInvisible(
scale: scale,
offset: offset,
screenSize: screenSize,
extremity: node.extremity,
)) {
break;
}
final paint = Paint()
..strokeCap = node.penSettings.strokeCap
..isAntiAlias = true
..color = node.penSettings.currentColor
..strokeWidth = node.penSettings.strokeWidth
..blendMode = BlendMode.srcOver;
_drawAllPoints(points: node.points, canvas: canvas, paint: paint);
}
canvas.restore();
}
bool _checkScribbleInvisible({
required double scale,
required Offset offset,
required Size screenSize,
required NodeExtremity extremity,
}) {
if ((extremity.left == 0 ||
extremity.right == 0 ||
extremity.top == 0 ||
extremity.bottom == 0)) {
return false;
}
return (extremity.left + offset.dx < 0 && extremity.right + offset.dx < 0)
// Check Right
||
(extremity.right + offset.dx > (screenSize.width / scale) &&
extremity.left + offset.dx > (screenSize.width / scale))
// Check Top
||
(extremity.top + offset.dy < 0 && extremity.bottom + offset.dy < 0)
// Check Bottom
||
(extremity.bottom + offset.dy > (screenSize.height / scale) &&
extremity.top + offset.dy > (screenSize.height / scale))
? true
: false;
}
void _drawAllPoints({
required Paint paint,
required Canvas canvas,
required List<DrawPoint> points,
}) {
for (var x = 0; x < points.length - 1; x++) {
if (!points[x + 1].visible) continue;
canvas.drawLine(points[x], points[x + 1], paint);
}
}
@override
bool shouldRepaint(CanvasCustomPainter oldDelegate) => true;
}
so now we support smart drawing, thinking about performance, and ready to add other nodes (eraser, shapes, images, text, etc.)
final step is to implement our methods to handle interactions with whiteboard:
enum WhiteboardPointerMode {
none,
singleTap,
doubleTap;
static WhiteboardPointerMode fromPointersCount(int count) {
switch (count) {
case 1:
return singleTap;
case 2:
return doubleTap;
default:
return none;
}
}
}
int lastOrder = 0;
List<PenNode> nodes = [];
Offset lastFocalPoint = Offset.zero;
Offset? initialInteractionPoint;
WhiteboardPointerMode pointerMode = WhiteboardPointerMode.none;
// helper for transformation
Offset _toCurrentScene(
TransformationController controller,
Offset viewportPoint,
) {
final inverseMatrix = Matrix4.tryInvert(controller.value);
if (inverseMatrix is! Matrix4) return viewportPoint;
return MatrixUtils.transformPoint(inverseMatrix, viewportPoint);
}
// helpers for drawing
List<PenNode> _startDrawing({
required int order,
required List<PenNode> nodes,
required WhiteboardPenSettings penSettings,
}) {
final node = PenNode.fromSettings(settings: penSettings, order: order);
final tempNodes = List<PenNode>.from(nodes)..add(node);
return tempNodes;
}
List<PenNode> _updateDrawing({
required Offset point,
required List<PenNode> scribbles,
}) {
final tempNodes = List<PenNode>.from(scribbles);
tempNodes.lastOrNull?.points.add(DrawPoint.fromOffset(point));
return tempNodes;
}
void onInteractionStart(ScaleStartDetails details) {
final pointerMode = WhiteboardPointerMode.fromPointersCount(
details.pointerCount,
);
// we support only one finger (pointer) for drawing
if (!pointerMode.isSingle) return;
final lastFocalPoint = details.focalPoint;
final point = _toCurrentScene(
_transformationController,
lastFocalPoint,
);
// start drawing here
final penNodes = startDrawing(
penSettings: _penSettings,
nodes: nodes,
order: lastOrder + 1,
);
pointerMode = WhiteboardPointerMode.singleTap;
lastFocalPoint = point;
nodes = penNodes;
setState((){});
}
// here we will handle zoom, move and drawing at once
void onInteractionUpdate(ScaleUpdateDetails details) {
final pointerMode = WhiteboardPointerMode.fromPointersCount(
details.pointerCount,
);
final scale = _transformationController.value.getMaxScaleOnAxis();
if (_currentZoom != scale) {
_currentZoom = scale;
setState((){});
}
// we handled zoom/move with two fingers, for drawing we need only 1
if (!pointerMode.isSingle) return;
final point = _toCurrentScene(
_transformationController,
details.localFocalPoint,
);
if (nodes.isEmpty) return;
final penNodes = _updateDrawing(
scribbles: nodes,
point: point,
);
nodes = penNodes;
setState((){});
}
// once interactions ended - reset
void onInteractionEnd() {
pointerMode = WhiteboardPointerMode.fromPointersCount(0);
initialInteractionPoint = null;
setState((){});
}
And thats actually it, hope i didn't miss anything cause my original implementation is using BLOC for state and events, so feel free to comment if you have some issues or questions
I tried all the solutions nothing works. The only thing that works for me is changing JAVA version to 21 instead of 17 give it a try.
AI tend to be good to generate code templates to start projects, but can have trouble to produce good domain analysis. It can eventually be an average SO sustitute since LLM learn from it. It fits well the knowledge exchange phase of tech practioners, but with an average and sometimes clumsy bot instead of real people. Basicaly before AI bots, peoples tended to answer or ask, look question on web forums or SO sites, even before the web in IRL gaterings. You had to do templates with a web generator, and even before that developers had their own personal snippets collection. Without AI it force you to structure code by yourself, be more autonomous and proactive. A popular alternative to learn the fundamentals is to read a book about a particular tech while doing samples projects and exercices.
Have you tried changing the position: absolute on break-out to position: relative instead? If you're trying to keep the yellow container within it's current flow, while still maintining the position, you need to use relative positioning instead of absolute.
@user31992986, "... I did not get to operate on the output." is unclear.
Did you mean that the program completed before prompting for input?
Post the output seen.
Post the input you attempted, if any.
"To improve coding in the business service tier, it's better to group these classes using either an interface or an abstract class." ⬅ Why do you think this?
I think my only other thought is this makes using a plain iterator hard? With a larger pages / object size, could this hit the document size limit?
I suppose running two queries could work, but that's still two queries. Plus potential concurrency issues doing so
Setting trigger={'legacy'} worked for me. Nothing else here did.
JHipster generates apps with a Java back-end using an extensive set of Spring technologies: Spring MVC (providing a framework for websockets, REST and MVC), Boot, Data... It should be possible to introduce a new interface or Abstract class in Java with the abstract keyword and interfacekeyword. As with Java only specify method names in interfaces, but specify the behavior in child classes.
// Source - Can I create an *alias* member function in C++?
// Posted by Pietro, modified by community. See post 'Timeline' for change history
// Retrieved 2025-12-03, License - CC BY-SA 4.0
class B {
virtual int F(int i) = 0;
inline int G(int i) { return F(i);// Source - Can I create an *alias* member function in C++?
// Posted by Pietro, modified by community. See post 'Timeline' for change history
// Retrieved 2025-12-03, License - CC BY-SA 4.0
class B {
virtual int F(int i) = 0UPDATEUPDATE;
};
}
};
You can add multiple more checks to see if the data is correct with the rules you set in the statements. cheers!
Check if the number of instructors is too high
if ($data['instructors'] > $maxInstructors) {
if ($data['participants'] > 0) {
$errors['instructors'] = "With participants, a maximum of {$maxInstructors} instructors is allowed for {$workshopsReserved} workshop(s).";
} else {
$errors['instructors'] = "A maximum of {$maxInstructors} instructors is allowed for {$workshopsReserved} workshop(s).";
}
}
If the number of instructors exceeds the allowed limit, an error message is added to the $errors array.
The message changes slightly depending on whether there are participants.
Check if the number of participants is too high
if ($data['participants'] > $maxParticipants) {
$errors['participants'] = "A maximum of {$maxParticipants} participants is allowed for {$workshopsReserved} workshop(s).";
}
if ($data['participants'] > 0 && $data['instructors'] == 0) {
$errors['participants'] = "Participants cannot be registered without instructors.";
}
Ensures that you cannot have participants in a workshop if no instructors are assigned.
Return back with errors if any exist
if ($errors) {
return back()->withErrors($errors)->withInput();
}