I found that I need to create a specific service in android platform to handle method channel from flutter. This service must be a background service to handle method from flutter.
command line need to download seperately.
https://portal.perforce.com/s/downloads?product=Helix%20Command-Line%20Client%20%28P4%29
I faced the same error and i found that i forget [HttpGet] annotation
Что бы исправить это поведение нужно для скролл контейнера прописать css свойство transform: perspective(0);
Using another approach with JUnit Platform Launcher, there is a more detailed assertions way:
angle = (angle + offset + 180) % 360 - 180
if you wanna get from HTML
<iframe>
$0.contentWindow.location.href
I was also having issue connecting I followed this blog.
Please see the blog below:
Big thanks to @jcalz, whose answer set me on the right path!
I was getting some strange behavior when arrays are involved. I think what was happening is that the resulting type was including a union of array properties. This could be what @jcalz was referring to when they said:
\> you will probably have some use cases where this definition does things you don't expect or like.
Here's an example of the array index / property issue I was facing:
result:
albumMedias: number | ShareAlbum_shared_album_album_medias_cursor_album_medias[] | (() => ArrayIterator<never>) | ... 38 more ... | ((index: number, value: never) => never[])
I modified the solution to properly handle arrays without including all the Array properties.
type GetDeepProp<T, K extends string> =
K extends keyof T
? T[K]
: T extends Array<infer U>
? GetDeepProp<U, K>
: T extends object
? {
[P in keyof T]:
P extends string
? GetDeepProp<T[P], K>
: never
}[keyof T]
: never
Thanks @jcalz!
Each compiler uses different internal data structures, hashing algorithms, and optimizations Differences in how memory is allocated and managed can impact Each compiler applies different optimizations during compilation.
According to my understanding, you are making some issues.
I ever faced similar issue before so please try it with my experience.
config.py**
SESSION_COOKIE_SAMESITE = "None"
SESSION_COOKIE_SECURE = True
app.py****
CORS(app, supports_credentials=True, resources={
r"/*": {
"origins": [
"http://localhost:3000",
"https://453c-162-199-93-254.ngrok-free.app"
]
}
})
if it is still unauthorized, then please let me know.
some try... maybe version 1.0.0-M6 of springAI can work.
My problem was with nested async. I needed to comment out that import:
# nest_asyncio.apply()
It looked like a memory issue but in my logs for the jupyter service it was clear that it was async issue:
`
sudo systemctl status jupyter
[sudo] password for demo:
● jupyter.service - Jupyter-Notebook Daemon
Loaded: loaded (/etc/systemd/system/jupyter.service; enabled; preset: enabled)
Active: active (running) since Mon 2025-06-30 01:57:29 UTC; 37min ago
Main PID: 1204921 (jupyter-noteboo)
Tasks: 16 (limit: 153561)
Memory: 150.0M (peak: 220.6M)
CPU: 24.173s
CGroup: /system.slice/jupyter.service
├─1204921 /home/demo/jupyter_env/bin/python3 /home/demo/jupyter_env/bin/jupyter-notebook --no-browser --notebook-dir=/home/demo
└─1218765 /home/demo/rag/bin/python -Xfrozen_modules=off -m ipykernel_launcher -f /home/demo/.local/share/jupyter/runtime/kernel-c293a975-19f7-443a-801b-00>
Jun 30 02:30:51 demo bash[1218711]: File "/usr/lib/python3.12/asyncio/base_events.py", line 1972, in _run_once
Jun 30 02:30:51 demo bash[1218711]: handle = self._ready.popleft()
Jun 30 02:30:51 demo bash[1218711]: ^^^^^^^^^^^^^^^^^^^^^
Shouldn't be using WPF in 2025 you fucking retard
Djjd is sh is mddn songs HD shsj and the same time I xhhd shyd apko bhi nahi hai to offi the same time I will be
The most likely problem is that the browser is clipping your cube; the 'receding' will be caused by a rectangular clip. If you run the cube in a different environment, the problem will (most likely) disappear.
nice to meet you all! Today, we are going to talk about the custom dialog "openCustomDialog" in HONOR OS. I believe that many of you will need to use pop-up windows in your development process, and it should not be coupled with the page during use. Today, I will help you all analyze the usage of "openCustomDialog" in detail.
一、First, let's analyze the settings for pop-up windows in Harmony OS. Harmony OS provides some basic design for pop-up windows, but it cannot meet the requirements for diverse designs of pop-ups. However, it offers the method "openCustomDialog" which can be used. This method is based on the "PromptAction" under the UIContext.
1、First, define a context
// Applying Context
private context: common.UIAbilityContext = getContext() as common.UIAbilityContext;
// Tips for Methodology
private promptAction: PromptAction = context.windowStage.getMainWindowSync().getUIContext().getPromptAction()
2、Let's take a look at the parameters of penCustomDialog. dialogContent refers to the content to be displayed, which is the component. options are the parameters related to the pop-up window, such as closing the pop-up window, etc. You can refer to the Harmony OS documentation for detailed descriptions. Here, we mainly discuss the custom components that need to be displayed.
this.promptAction().openCustomDialog(custom,options);
二、The ComponentContent of the custom component has three parameters. Among them, the T type parameter is the key data for data interaction.
uiContext: This is the context of the UI. getUIContext()
builder: It is the WrappedBuilder<[T]> component decorated with @builder.
args: is a parameter of type T
1、"Builder" is a global component, which is the custom component we need to write. The generic type "T" represents the data object type that we need to pass, and "args" represents the data object that needs to be passed.
// custom component
@Builder
export function customBuilder(params: DialogBuilderParams) {
Text("custom component")
}
// create component
let custom = new ComponentContent(getUIContext(), wrapBuilder,params)
// show component
this.promptAction().openCustomDialog(custom,options);
2、So, basically, this is the completion of a basic pop-up window. Next, let's talk about the parameters that the component needs to pass in. The parameters need to be displayed as 'params', and there are also the close method 'close' and other parameters 'status'.
export interface DialogBuilderParams<T,R>{
params: T
close: (data: R) => void
status?: DialogStatus
}
3、After obtaining the data, it is displayed in the component. The code of the group definition component is modified. params.params is used to display the data, and params.close(true) is used to close the pop-up window.
// custom component
@Builder
export function customBuilder(params: DialogBuilderParams) {
Column() {
Text(params.params).width('90%').textAlign(TextAlign.Center).padding(10)
Blank()
Divider()
Text('确认')
.onClick(() => {
params.close(true)
})
.width('100%')
.aspectRatio(6)
.textAlign(TextAlign.Center)
}
.width('70%')
.backgroundColor(Color.White)
}
4、Implement the method for closing the popup window. When it is necessary to pass parameters for processing the close method.
// create component
let custom = new ComponentContent(getUIContext(),wrapBuilder,{
params: "This is the data to be presented.",
close: (data: R) => {
// close dialog
this.promptAction().closeCustomDialog(custom)
}
})
Note: The complete code has been submitted to the HarmonyOS Third-Party Library. Use the following command to install.
ohpm install @free/dialog
Calling method
// Prompt Pop-up Window
Dialog.alert({data:"alert"})
// Middle pop-up window
Dialog.open({data:"open"})
// Bottom pop-up window
Dialog.sheet({data:['sheet']})
// Selector Popup Window
Dialog.picker({data:['picker']})
// Phone call pop-up window
Dialog.tel("168********")
// Input box popup window
Dialog.input({data:"input"})
// Time Selection Dialog Box
Dialog.time({data:new Date()})
// Date selection dialog box
Dialog.date({data:new Date()})
// Calendar Selection Dialog Box
Dialog.calendar({data:new Date()})
// Custom Pop-up Window
Dialog.custom(wrap, params)
If you like this content, please give a little heart!
for some reason if i have 2 email with with similar subject (i.e email 1 with Subject= #general" & email 2 with subject= #enterprise-general"), the apps Script take the 2 subjects and insert them in the sheet "#general". Is there a way to insert it when is the exact subject into the code? Thanks
Since Angular 20 doesn't have a script with @NgModule
, you can just import the RouterModule
per component like so:
import { Component } from '@angular/core';
import { RouterModule } from '@angular/router';
@Component({
selector: 'navbar',
imports: [RouterModule],
templateUrl: './navbar.html',
styleUrl: './navbar.scss'
})
export class Navbar {
}
That fixed the error of "Can't bind to 'routerLink' since it isn't a known property of 'a'"
Here's a fast rolling median implementation that I wrote.
Some people seem to like it:
We saw this error periodically when our Varnish cache was full. Increase the size of the cache fixed it.
The codeless environment is terrible at doing anything like looping, you can't nest loops for example. I ended up grouping my results into sets of 25, and having a separate zap for each page.
In my data I needed a column with section + page number, section name being the dynamic element and the page number hard coded in, an awful solution but fortunately a working one at least. Fortunately two pages were sufficient.
Both zaps respond to the same (sub-item added) event and fire simultaneously, I can now add 41 subitems in one go.
Finally, I'm new to Monday so I'm sure there are lots of tricks that I have yet to pick up on. A lot of the concepts of how it organise my projects haven't been explained, I just jumped it (had to...) and self taught by playing. A more experienced user might not have quite so fraught experience.
With some equally ugly work arounds it could be possible that looping might be avoidable. My one thought would be to use prepopulated template items with subitems already in place. This lacks flexibility though so is probably only useful in very static environments.
I faced a similar issue while following this VS Code Tutorial of Using GCC with MinGW.
When Clicked on "Run C/C++ file", it threw me the following error:
Executing task: C/C++: g++.exe build active file
Starting build...
cmd /c chcp 65001>nul && C:\msys64\ucrt64\bin\g++.exe -fdiagnostics-color=always -g "C:\Users\Joy\Documents\VS CODE\programmes\helloworld.cpp" -o "C:\Users\Joy\Documents\VS CODE\programmes\helloworld.exe"
Build finished with error(s).
* The terminal process failed to launch (exit code: -1).
* Terminal will be reused by tasks, press any key to close it.
Also, there was this following pop - up error:
enter image description here
saying "The preLaunchTask 'C/C++: g++.exe build active file' terminated with exit code -1."
Here is my source code:
#include <iostream>
#include <vector>
#include <string>
using namespace std;
int main()
{
vector<string> msg {"Hello", "C++", "World", "from", "VS Code", "and the C++ extension!"};
for (const string& word : msg)
{
cout << word << " ";
}
cout << endl;
}
My USER Path Variables has- C:\msys64\ucrt64\bin
When I pass where g++
in my command prompt, i get C:\msys64\ucrt64\bin\g++.exe
Even I made sure it was EXACTLY how VS Code website said to do it. I have even uninstalled both MSYS2 and VS Code and then reinstalled them. But still, I am not encountering this error. Please help!
I can confirm @Kevinoid's suggestion works. What also works is prefixing "%h" instead of or replacing $HOME in the path of file/directory in systemd unit files.
see URL: https://bbs.archlinux.org/viewtopic.php?id=297777
"%h"equivalent to "$HOME", so can make work without /bin/bash -c 'exec part
Both work for me.
Cheers.
i got these error because of the exist of pages and app in src
localhost refused to connect.
Try:
ERR_CONNECTION_REFUSED
The following worked for me,
Apache Spark 3.5.5 is compatible with Python 3.8 to 3.11 (Python 3.11.9 is recommended). Also make sure to add PYSPARK_PYTHON=python as an env variable.
Verify if variabile TWO_TASK is set
If it is set, reset it
It will only show one route and no alternative ones.
Would you try patchwork
and cowplot
?
library(ggplot2)
library(patchwork)
p1 <- ggplot(data.frame(x = 2000:2020, y = rnorm(21)), aes(x, y)) +
geom_line() +
theme_classic()
p2 <- ggplot(data.frame(x = 1:15, y = runif(15)), aes(x, y)) +
geom_bar(stat = "identity") +
theme_classic()
library(cowplot)
plot_grid(p1, p2, rel_widths = c(1, 1), align = "v", axis = "tb")
From my point of view either SHACL Rule or SPIN rule would be an elegant solution to that. However, to make this work, you would need to export Wikidata (or the required domain sub-graph) to a triple store that supports this feature.
There is a project that tries to solve reasoning for Wikidata which is a reasonably (pun intended) complex endeavor: https://www.wikidata.org/wiki/Wikidata:WikiProject_Reasoning
After 3 days stuck on this problem, and naturally, 15min after crying for help here, I believe I found out how to solve it.
It seems all I needed to do was to use
getRawContent()
instead of
getContent()
for the scriplet to 'copy-paste' the code instead of solving it before assembling it in the file...
this seems to bypass all the limitations of the scriplet printing.
It seems a shame nobody has mentioned https://github.com/jsog/jsog-jackson yet. It implements JSON Object Graph format aka JSOG. JSOG handles arbitrary graphs including circular references of any length (subject to Jackson's object nesting depth of course)
android.app.extra.PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME":"com.rrivenllc.shieldx/.receivers.DeviceAdmin
I have Theano working with CUDA 12 and Numpy 1.26.4, all very new. I've been "sort-of" maintaining Theano, and have provided all the changes to https://github.com/pbaggens1/theano_pmb . It's definitely not professionally maintained, but all the changes needed are provided, so that Theano with full GPU support works today. I hope it can help others, and keep Theano alive.
Line1:[file:///storage/emulated/0/Android/data/com.fazil.htmleditor/files/Documents/https___www_facebook_com_luis_mario_martinez_vega_2025-package-deckofplayingcards/index.html]UncaughtSyntaxError:Unexpectedidentifierlinks[ERROR]Line1:[file:///storage/emulated/0/Android/data/com.fazil.htmleditor/files/Documents/https___www_facebook_com_luis_mario_martinez_vega_2025-package-deckofplayingcards/index.html]UncaughtSyntaxError:Unexpectedtoken*[ERROR]Line1:[file:///storage/emulated/0/Android/data/com.fazil.htmleditor/files/Documents/https___www_facebook_com_luis_mario_martinez_vega_2025-package-deckofplayingcards/index.html]UncaughtSyntaxError:Unexpectedidentifierlinks[ERROR]Line1:[file:///storage/emulated/0/Android/data/com.fazil.htmleditor/files/Documents/https___www_facebook_com_luis_mario_martinez_vega_2025-package-deckofplayingcards/index.html]UncaughtSyntaxError:Unexpectedendofinput[ERROR]Line1:[file:///storage/emulated/0/Android
I faced the exact same issue. The only option is to use JNI and building the mediapipe library yourself. I tried doing that and it actually work. The tricky part is building a shared library and exposing the method you actually want.
Have you tried using setLoginItemSettings ?
app.setLoginItemSettings({
openAtLogin: true,
openAsHidden: true,
});
Scan a QR code to view the results here [email protected]
In Itext 5.x, we should reshape characters. In other words, we should handle the formats of each Arabic( or Persian) character.
For example, for ب we have 4 formats:
ب isolated
با initial ( start with ب)
آب final (end with ب)
عباس middle (appears in the middle of a word)
I have tested in Java with icu4j( 74.1)
Note: icu4j just supports reshaping Arabic characters. For Persian characters like گچ پژ you should handle them manually.
Through using MapStruct, you can define fetchUser method as default one to handle with toEntity process
@Mapper(componentModel = "spring",
uses = UserRepository.class)
public interface AddressMapper {
@Mapping(target = "user",
expression = "java(fetchUser(dto.getUserId(), userRepository))")
Address toEntity(CreateAddressDTO dto, @Context UserRepository userRepository);
default User fetchUser(Long id, UserRepository repo) {
return repo.findById(id)
.orElseThrow(() -> new EntityNotFoundException("User not found: " + id));
}
}
Next, you can add these code block shown below to relevant service.
Address address = addressMapper.toEntity(dto, userRepository);
addressRepo.save(address);
I hope you can help you fix your issue.
I don't know why, but I just keep trying just in case and now it works. Below is the code that made it function.
/**
* Create a list.
* @customfunction
* @param name string
* @param args {string[][]}
*/
function datatablex(display: string, ...args: string[][][]): any {
const entity = {
type: "Entity",
text: display,
properties: {
Nombre: {
type: "String",
basicValue: display,
propertyMetadata: {
excludeFrom: {
cardView: true
}
}
}
}
};
for (let i = 0; i < args[0].length; i += 2) {
entity.properties[args[0][i + 0]] = {
type: "Array", // "String",
elements: args[0][i + 1] // basicValue: value
};
}
return entity;
};
There is an even simpler way to get a subclip::
subclip = clip[10:20]
I'm running moviepy 2.1.2.
You can try using dvh
instead of percent:
.artplayer-app {
width: 100%;
height: 100dvh;
}
Here is some visualization on how it is different from percent and other alternatives - https://blog.stackademic.com/stop-using-100vh-on-mobile-use-these-new-css-units-instead-adf22e7a6ea9
But if the camera notch is a part of the browser window, I don't think it is possible.
The HTML tables are likely containing non-breaking spaces.
Try:
flight_details = df.iloc[index, 5].replace('\xa0', ' ').strip()
ok, today after several attempt i managed out howto fix,
it looks like loading image with
imageView.setImageBitmap(BitmapFactory.decodeStream(imageId[position]));
causes the problem during recycling of the image, probably for some reason the
InputStream[] imageId
becomes inconsistent, then now i pre-load all images into a Bitmap array and load them to the imageView with
imageView.setImageBitmap((bitmapArray[position]));
and all works, but still i think there is some kind of bug with ImageView
<!DOCTYPE HTML >
<HTML>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<HEAD>
<TITLE>poppy test</TITLE>
<STYLE>* {font-size:1em;box-sizing:border-box;overflow-wrap: break-word;font-family:Arial }
html {scroll-behavior: smooth;text-transform:capitalize;overscroll-behavior: none;}
body{margin:0px;overscroll-behavior:none;background:#000000;
#poppyButtons{position:relative;height:150px;width:150px;border:5px solid olive;}
.pedalHold{position:absolute;top:0px;height:100%;width:40px;border:0px solid lime;}
.poppyPedal{ background: red;border:8px inset rgba(255,0,255,0.5);
;max-width:50px;height:80px;text-align:center;padding:4px;
font-size:1.5em;color:fusia;
border-radius:100%;}</STYLE>
</HEAD>
<BODY>
<DIV ID="poppyButtons">
<DIV class="pedalHold" style="left:50px;transform: rotate(45deg)"><DIV class="poppyPedal">1</DIV></DIV>
<DIV class="pedalHold" style="left:50px;transform: rotate(135deg)"><DIV class="poppyPedal">3</DIV></DIV>
<DIV class="pedalHold" style="left:50px;transform: rotate(270deg)"><DIV class="poppyPedal">6</DIV></DIV>
<DIV class="pedalHold" style="left:50px;transform: rotate(315deg)"><DIV class="poppyPedal">7</DIV></DIV>
<DIV class="pedalHold" style="left:50px;transform: rotate(90deg)"><DIV class="poppyPedal">2</DIV></DIV>
<DIV class="pedalHold" style="left:50px;transform: rotate(180deg)"><DIV class="poppyPedal">4</DIV></DIV>
<DIV class="pedalHold" style="left:50px;transform: rotate(225deg)"><DIV class="poppyPedal">5</DIV></DIV>
<DIV class="pedalHold" style="left:50px;transform: rotate(0deg)"><DIV class="poppyPedal">§</DIV></DIV>
<DIV class="pedalCent" style="position:absolute;left:45px;top:45px;width:50px;height:50px;background: green;border-radius:100%;border:8px inset rgba(0,60,40,0.5)"></DIV>
</DIV>
</BODY>
</HTML>
fraction1, fraction2 = input().split()
num1, den1 = fraction1.split('/')
num2, den2 = fraction2.split('/')
print(num1,num2,den1,den2)
Your Code have Syntax Error
Try out the re-corrected Code
var lastModified = document.lastModified;
document.getElementById("modified").innerHTML = lastModified;
estava enfrentado esse problema com laravel 12, com a utilização no swagger. A solução acima para mim funcionou
Debugging is a major weak point for mathematica, especially for code of any size. Mathematica is very very good at some things, but i am building something medium size and growing and debugging and a few other things made it very difficult and slow to develop. It turned out the one very cool thing Mathematica did for me was handled fine by numerical integration in python using numpy and scipy, and some calculations are actually handled better. With some effort I moved my code to python and will stay there. I will use Mathematica for one-off stuff, or to double-check a few results. I wish I had that advice 9 months ago.
I never got WorkBench (2025) to work with Eclipse on windows. I was tempted to try to write a debugger (I've done that for another platform) but didn't get very far with the research. There isn't a documented interface to the kernel, and I needed to get my actual task done.
Print statements are a very slow and inefficient way to debug. Trace and echo are fancy print statements. There is a debugger for notebooks, but it is very unintuitive and not very powerful. I built a simple system to log messages to a file, but another set of print statements. At least there you can externally filter and import messages without selectively turning things off and on trying to narrow something down. Ive built a more sophisticated logging system with tags on logging statements no another platform, with a way to selectively log tags. That system is good for troubleshoot things in a customer's production environment where you can't debug, but not a great debug tool
Is WorkBench worth another try?
Yes, for SIPp load testing with INVITEs and RTP, you absolutely need an XML scenario file. The `uac_pcap.xml` or `uac.xml` are good starting points that you'd then customize with your SBC's details and SDP for RTP.
**Tip:** If writing/editing SIPp XML gets tedious, you might find a GUI tool helpful. My open-source project, **kSipP**, provides a web-based interface to build and run SIPp scenarios visually, including an [online SIPp XML generator](https://kiran-daware.github.io/sipp-xml/). Check out (https://github.com/kiran-daware/kSipP)
The callback function passed as an argument to the handleSubmit
function takes 2 parameters: data and event. I think now you can easily handle the situation raised in your form. Just place event.preventDefault()
at the first line of your callback function; but, be assured that you're passing two parameters to the callback function you're using, not one.
I had a similar problem driving me mad. Chrome pointed to the footer being the issue, but it was the main content container above it causing the issue. A React component changed the size of the containing div above the footer pushing the footer down and triggering the CLS issue. In fact, whatever the next element below that container would get blamed for the CLS issue, and the more of them there were the worse the score was.
My solution was to set a min-height for the main content above the "culprit" element.
Claude Code and ChatGPT also could not find this problem when I presented it to them.
Use Rakubrew.
curl https://rakubrew.org/install-on-perl.sh | sh
rakubrew build
Thanks for sharing this StackOverflow discussion on PDF clipping logic—it’s a fascinating breakdown of how graphics contexts handle shape boundaries. As someone working in digital image editing at PixcRetouch, understanding these low-level rendering principles helps us better optimize our retouching workflows, especially when dealing with vector layers or exporting client assets to PDF. Appreciate the technical depth here!
Solved: You need to close ComPort before changing the baudrate.
As of Chrome 134 (2025-03-04), you can now use the closedby="none"
attribute as a native solution to prevent modal from being closed by the Esc key.
<dialog closedby="none" id="myModal">
<h3>Modal Title</h3>
<p>The modal contents.</p>
</dialog>
<button onclick="document.getElementById('myModal').showModal()">Open Modal</button>
More info: https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/dialog#closedby
What about text report redirected to standard output?
<coverage>
<report>
<text outputFile="/dev/stdout" showOnlySummary="true" />
</report>
</coverage>
Using uistack
changes the ordering in the legend as well. If you prefer not, then one way is to artificially give the curve that needs to be drawn on top some positive ZData as well (using set(handle, 'ZData', ones(size(get(handle,'XData'))))
for example).
Make gapSize negative and it makes the progress bar smooth.
LinearProgressIndicator(
modifier = Modifier
.height(18.dp)
.fillMaxWidth(),
progress = { progress },
gapSize = (-30).dp
)
I was able to get the result from chat gpt. UAU. I'm amazed... I suggest you do the same. If your questions are precise CHAT GPT will give you a working solution... I should do that more often =)
I was looking for that but it seems Vercel AI SDK doesn't support it. I use Anthropic's SDK to count tokens:
https://docs.anthropic.com/en/docs/build-with-claude/token-counting#how-to-count-message-tokens
import Anthropic from '@anthropic-ai/sdk';
const client = new Anthropic();
const response = await client.messages.countTokens({
model: 'claude-opus-4-20250514',
system: 'You are a scientist',
messages: [{
role: 'user',
content: 'Hello, Claude'
}]
});
console.log(response);
Result:
{ "input_tokens": 14 }
you can solve the issue with this code inside the Configure method:
Description(x =>
{
x.ClearDefaultAccepts();
}
is there a solution? i have the same problem?
Package motion_sensors
is very old. Use the new package like dchs_motion_sensors
See more at https://pub.dev/packages/dchs_motion_sensors
I'm leveraging the Decorator pattern in Quarkus to implement functionality equivalent to Spring JPA Specification: https://github.com/VithouJavaMaestro/quarkus-query-sculptor/tree/master
It's a shame that a Bash question about such a relevant case remains without a code solution. Therefore, the number-of-times-viewed counter built into stackoverflow.com Questions is converted here into a case-without-code-solution_number-of-times-viewed counter.
Yet it is precisely in this Yes/No [y/n] scenario that this case makes perfect sense. Deliberately allowing the user to enter more characters than required to give a valid answer makes little sense and therefore cannot be considered a relevant option. Thus, the use of the restrictive read
-option '-n [digit]
' with the exact number of characters to print required is fully justified. It is therefore perfectly consistent that the user must validate their input, in this case by pressing the Enter key, as a typo can happen, and this must be able to be erased, which implies that the backspace-key is not counted by 'read' as a printed character input.
If you grant rights to one of the views/tables you will be able to use entra id groups for this.
GRANT SELECT view_name TO [Name_of_group];
After this IS_MEMBER('Name_of_group'); will work fine.
You can try using vercel deployment directly without github intervention:
1 - npm install -g vercel
2 - vercel
Connect vercel to github repo (popup will appear)
Deploy!
TM DAVIL 😈
header 1 header 2 cell 1 cell 2 cell 3 cell 4
You can send a synthetic keyboard event:
button.dispatchEvent( new KeyboardEvent( 'keyup', { key:'Tab' } ) );
Make sure to associate your route table with the S3 Gateway Endpoint — it took me a while to realize that was the issue.
I’m encountering the same problem when trying to pass data from an MCP client to an MCP server using Spring AI. I haven’t found a solution yet — any help or direction would be greatly appreciated!
MCP Client Code:
@Service
public class ChatbotService {
protected Logger logger = LoggerFactory.getLogger(getClass());
private ChatClient chatClient;
public ChatbotService(ChatClient chatClient) {
this.chatClient = chatClient;
logger.info("ChatbotService is ready");
}
String chat(String question, String apiKey ) {
return chatClient
.prompt()
.user(question)
.toolContext(Map.of("apiKey", apiKey))
.call()
.content();
}
}
MCP Server Code:
@Tool(name = "getUserPermissionsByUsername", description = "Get user permissions by username. This tool is used to retrieve the permissions of a user by their username. Must supply the username and an apiKey for authentication.")
private List<String> getUserPermissionsByUsername(@ToolParam(description = "User Name") String username, String apiKey, ToolContext toolContext) {
try {
//apiKey not passed at String or at toolContext
return userProxy.getUserPermissionsByUsername(username);
} catch (Exception e) {
return new ArrayList<>();
}
}
While it's Rust, I would suggest you to look at my example:
https://github.com/espoal/uring_examples/tree/main/examples/nvme
THe issues lies in the nvme_uring_cmd
, try to copy mine
What solved it for me was moving the userprofile outside of chrome's default user-data-dir.
There is a recent security update where chrome updates their security. But it applies differently for non standard directory. Here is the link regarding the security update https://developer.chrome.com/blog/remote-debugging-port
Could you please provide the method you're using to connect to Auth0 and "normally" redirect to your home page? That'll give me a clearer picture of what's going on.
In the meantime, let's try a few things based on my best guess for your problem!
If you're using Flutter's basic Navigator, try this for handling the callback and redirecting:
// After successful authentication and getting your Auth0 callback
void handleAuthCallback(BuildContext context) async {
// ... process Auth0 response to get user data/tokens ...
// Ensure the widget is still mounted before navigating
if (!context.mounted) return;
// Use pushReplacement to prevent going back to the login screen
Navigator.of(context).pushReplacement(
MaterialPageRoute(builder: (context) => const HomePage()),
);
}
Are you successfully connecting to your database and authenticating correctly with Auth0? Double-check your Auth0 logs or any server-side logs if you have them.
Also, make sure you're awaiting all asynchronous calls! I sometimes forget to add await too, and it can definitely lead to unexpected navigation issues or state problems. 😅
A robust way to handle authentication state and navigation is by using a StreamBuilder that dynamically listens to your authentication status. This approach automatically re-renders the UI based on whether the user is logged in or out.
For example:
return StreamBuilder<User?>( // Or whatever your user/auth state type is
stream: auth.authStateChanges(), // Replace 'auth.authStateChanges()' with your actual auth state stream
builder: (context, snapshot) {
// If there's data (meaning the user is logged in)
if (snapshot.hasData && snapshot.data != null) {
return const HomeScreen(); // Or your main app content
}
// If there's no data (user is not logged in)
else {
return const AuthScreen(); // Your login/authentication page
}
},
);
This setup ensures that your UI always reflects the current authentication status, which helps prevent flickering or incorrect redirects.
Let me know if any of these help, or if you can share more code for your authentication flow!
You can also use the native connector for Snowflake by Renta ETL:
https://renta.im/etl/currency-exchange-rates-snowflake/
They offer enterprise-level paid data sources, but provide them to users for free.
i did that from flutter sdk i build android and ios and reacnative above on it. But not something string
https://central.sonatype.com/artifact/com.amwal-pay/amwal_sdk
https://cocoapods.org/pods/amwalpay
https://pub.dev/packages/amwal_pay_sdk
https://www.npmjs.com/package/react-amwal-pay
I can understand why this website is declining. Deadass asked a question, it's been 3 days now, and nobody pulled up with anything
AI is gonna eat this website for lunch, lol.
Add your own custom blocks as components in GrapesJS. Save the generated HTML and CSS to your backend. When rendering, fetch that data, replace dynamic placeholders with reusable React components, and use API calls inside them to load and display real backend data.
I faced serious issues while developing builder, but thankfully I made it dynamic.
man! I am facing the same issue. Copying from chrome to another place just show the window to terminate or wait option in my arch linux wm-hyprland
This works in firefox 140.0.1 (64-bit) 2025
window.addEventListener("beforeunload", function (e) {
return ((e || window.event).returnValue = "\o/");
}),
Note: ((e || window.event).returnValue
this shows warning as depreciated. But it's need for older browsers to work properly.
Solved this problem by setting up chroma in docker on localhost
And use it with
import chromadb
....
client = await chromadb.AsyncHttpClient(host='http://my_server_host', port=8000)
Apologies, I'm very late to the party. I was reading about the HTML accesskey global attribute, which is used to focus on any element using shortcut keys. I'm not sure if this could solve your issue, but you or any fellow developer facing this issue may try.
You cannot get your own last seen/online status via Telegram API. It's not exposed for the current user. It's outside the scope of Telegram API.
Maybe not relevant anymore but I bumped into the same issue today, I'm not an expert on uv/python but when running the container with:
ENTRYPOINT ["uv", "run", "--verbose", "otel_ex"]
I saw a debug message like: DEBUG Cached revision does not match expected cache info for...
as the reason to rebuild the container. I found a way to get it working without the rebuild by using --no-sync
with my uv run
command in the entrypoint
:
pyproject.toml:
[project]
name = "otel-example"
version = "0.1.0"
description = "some-project"
readme = "README.md"
requires-python = ">=3.13"
dependencies = []
[project.scripts]
otel_ex = "otel_example:main"
[build-system]
requires = ["flit_core~=3.2"]
build-backend = "flit_core.buildapi"
[tool.uv]
default-groups = []
Dockerfile:
FROM ghcr.io/astral-sh/uv:python3.13-bookworm-slim
RUN useradd --user-group --home-dir /app --no-create-home --shell /bin/bash pyuser
USER pyuser
COPY --chown=pyuser:pyuser . /app
WORKDIR /app
RUN uv sync --compile-bytecode --frozen
ENTRYPOINT ["uv", "run", "--no-sync", "otel_ex"]
hope this helps!
P.S. With regards to the context, I use gitlab-ci
and docker buildx
with the kubernetes driver to build the container images and upload them to goharbor. Maybe someone with more knowledge on this topic can add?
Thank you to Jon Spring for his linked answer:
set position / alignment of ggplot in separate pdf-images after setting absolute panel size
https://patchwork.data-imaginist.com/articles/guides/multipage.html
Using patchwork, I was able to come pretty close.
With patchwork, you can align to plots completely, making their plotting area the same size, no matter their surroundings (legends, axis text, etc.).
By continuing the example from above
try this
curl -v 0.0.0.0:8388
11110 is docker's port
If you're working with Git submodules and managing multiple SSH keys, you might find gitsm useful. It's a simple CLI tool designed to streamline SSH key switching and submodule workflows
The php like the one that was the first was a new new new new new new new new new
If you are willing to use the nightly channel, you can use the unstable AsyncDrop feature
Well... The SDK includes software features and innovations. Then, a compiler turns it into machine code for a certain processor architecture. As long as the architecture is compatible the compiler will generate machine code that can be executable on an older but compatible processor. Then, the minSdk is a limit that you define that pertains to the software and not the hardware (processor).
=Database!$B$5:$B$10
2. gen_addrs Formula:
=Database!$C$5:$C$10
3. Data > Data Validation > Allow: List In the Source, paste this formula:
=IFERROR(FILTER(gen_addrs, strname = C6), gen_addrs)
In my case i was making changes in ViewModel instead of dbset EF model and was questioning why it was not reflecting .
Just found out about this alternative: https://marketplace.visualstudio.com/items?itemName=danilocolombi.repository-insights
It suits my needs. Maybe it will fit yours... Cheers!
The answer is above, but it seems that I cannot leave a comment or upvote the one above! I spent about 6 hours tackling exactly the same, changing versions of Jersey, method signatures etc, before eventually realising that it was only the Python side to blame after testing the API with Swagger (which I guess I should have done to start with!).
I really think that something stupid is going on on the Python side that should not have wasted neither mine nor somebody else's time!
ok, by the comments, i have a new version of the code. But it still doesnt working
private async void SendPhonebookToFBoxAction(object obj)
{
string fritzBoxUrl = "http://fritz.box"; // Default FritzBox URL
string username1 = settingsModel.FBoxUsername; // Default FritzBox username
string password1 = AESHelper.DecryptWithDPAPI(Convert.FromBase64String(settingsModel.FBoxPassword.EncryptedPassword)); // Decrypt the password using DPAPI
var url = "http://fritz.box:49000/upnp/control/x_contact";
var soapAction = "urn:dslforum-org:service:X_AVM-DE_OnTel:1#SetPhonebookEntry";
//var handler = new HttpClientHandler();
//var client1 = new HttpClient(handler);
var byteArray = Encoding.ASCII.GetBytes($"{username1}:{password1}"); // Create a base64 encoded string for Basic Authentication
//client1.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Basic", Convert.ToBase64String(byteArray)); // Set the Authorization header for Basic Authentication
var handler = new HttpClientHandler
{
Credentials = new NetworkCredential(username1, password1)
};
using (var client = new HttpClient(handler))
{
var numbers = new List<(string, string, int)>
{
("0123456789", "home", 1),
("01701234567", "mobile", 2)
};
string xml = CreatePhonebookEntryXml("Max Mustermann", numbers);
//Debug.WriteLine(xml);
// Implementation for sending phonebook to FritzBox
/*string newPhonebookEntryData = "<phonebook>" +
"<contact>" +
"<category>0</category" +
"<person>" +
"<realName>Max Mustermann</realName>" +
"</person>" +
"<telephony nid=\"1\">" +
"<number type=\"home\" prio=\"1\" id=\"0\">0123456789</number>" +
"</telephony>" +
"<services/>" +
"<setup/>" +
"<features doorphone=\"0\"/>" +
"</contact>" +
"</phonebook>";*/
string url1 = "http://fritz.box:49000/upnp/control/x_contact";
string service = "urn:dslforum-org:service:X_AVM-DE_OnTel:1";
string action = "SetPhonebookEntry";
string soapBody = "<?xml version=\"1.0\" encoding=\"utf-8\" ?>" +
"<s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\"" +
" s:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">" +
"<s:Body>" +
"<u:SetPhonebookEntry xmlns:u=\"urn:dslforum-org:service:X_AVM-DE_OnTel:1\">" +
"<NewPhonebookID>1</NewPhonebookID>" +
//$"<NewPhonebookEntryID>{string.Empty}</NewPhonebookEntryID>" +
$"<NewPhonebookEntryData><![CDATA[{xml}]]></NewPhonebookEntryData>" +
"</u:SetPhonebookEntry>" +
"</s:Body>" +
"</s:Envelope>";
//Debug.WriteLine($"SOAP Body: {soapBody}"); // Log the SOAP body for debugging
var content = new StringContent(soapBody, Encoding.UTF8, "text/xml");
content.Headers.Add("SOAPAction", $"\"{soapAction}\""); // Set the SOAP action header
var response = await client.PostAsync(url, content);
var result = await response.Content.ReadAsStringAsync();
Debug.WriteLine(result);
}
}
#endregion
private string CreatePhonebookEntryXml(
string name,
List<(string number, string type, int prio)> numbers,
string? email = null,
int? ringtone = null)
{
var telephony = new XElement("telephony");
int id = 0;
foreach (var (number, type, prio) in numbers)
{
telephony.Add(new XElement("number",
new XAttribute("type", type),
new XAttribute("prio", prio),
new XAttribute("id", id++),
number
));
}
var contact = new XElement("contact",
new XElement("category", "0"),
new XElement("person",
new XElement("realName", name)
),
telephony,
new XElement("services",
email != null
? new XElement("email",
new XAttribute("classifier", "private"),
new XAttribute("id", "0"),
email)
: null
),
new XElement("setup",
ringtone.HasValue
? new XElement("ringtone", ringtone.Value)
: null
),
new XElement("mod_time", DateTimeOffset.UtcNow.ToUnixTimeSeconds())
);
var phonebook = new XElement("phonebook", contact);
return phonebook.ToString(SaveOptions.DisableFormatting);
}