I don't know if you still need this, but here is a Github Action that does what you need, automatically: https://github.com/serviceguards-com/httptests-action
many thanks by your orientation @Markus Zeller
I like "listen" yours instructions
regards
Finally found it... It's like:
if ( $from === $to ) {
// Single day: Woo interprets this as "during that day in site timezone"
$args['date_created'] = $from;
} else {
// Range: Woo interprets this as "between those days in site timezone"
$args['date_created'] = $from . '...' . $to;
}
Please note that the URLs have changed.
This is what I've been using. These are different schemas that evaluate different form elements
<Formik validationSchema={useFirstSchema ? firstSchema : secondSchema} ... />
thanks for all yours.
here is my APP/PORTAL/software:
ALL SCRIPTS INTO my APP load:
web/config.php
-> this file define:
time ZONE
directory for images
ect...
ONLY when users OPEN:
web/tools_14
web/tools_21
web/tools_26
I need use the class NumberFormatter()
then:
is a bad practice ADD into {web/config.php} the var
$n2text = new NumberFormatter('eng', NumberFormatter::SPELLOUT);
???
if I do then the WHOLE web use Xram with this CLASS,
if I not do (my current practice) then I need call into each "TOOL" the class
in your opinion which is the more efficient?
( if we need something as "function_very_hard()" then we only ADD this function/class into the fragment code who require that, and not into "config.php"
but this is only "NumberFormatter()"
what can you recommended to me?
that is all, thanks
{"adjust":{},"appsflyer":{},"facebook":{},"wg":{"name":"WG","cid":"8820676","siteCode":"2912","_ti":"eyJzZXNzaW9uX2tleSI6ImE1NjZiMGQwMDFmODVkZjBjMjIzMTc2NDYxMTY2Njk5NzIyMTQyNSIsImp3dF90b2tlbiI6ImV5SmhiR2NpT2lKSVV6STFOaUlzSW5SNWNDSTZJa3BYVkNKOS5leUpsZUhBaU9qRTNPVFl4TkRjMk5qWXNJbVY0ZEVsdVptOGlPbnNpWW5KdmQzTmxjbVpwYm1kbGNtbGtJam9pSWl3aVkyeHBaVzUwYVhBaU9pSXpOeTR4TVRFdU1UUXpMamN3SWl3aVpHVjJhV05sSWpvaU56RTVNRGszTXpndFl6STVZUzAwTURObExUa3hZakV0TVRSaU5XTmtOemcyWldFMklpd2laR1YyYVdObGRIbHdaU0k2SWpNaUxDSjRMV1JsZG1salpTSTZJakl0TkNKOUxDSjFJam9pTmprNE56ZzJPRE13SWl3aWRpSTZJakUzTmpRMk1URTJOallpZlEuWGdBaVM4YmNCaTZueXhCUU5xQV9fSks1c1R3NkpKT2JJSkUxenpXTFY5RSIsInVzZXJrZXkiOiJsN3lxRW1IdWlhejFFNk5FRmRYWXI1Yld2Z1kyZlpNZkRnbURnTWExbzNycGNtSjllU2FuMDBaRVNLSnVWeDlzWXktejBRTzg2TFFnU09ZWm1lVEVHNjgycG5jZVBzb1JWVTFISWhDbHJ3SENXclo2UF9KdWhkSGZsWkJ6TDF3RXh3NzBTOS04ajVrcHh5X2tSTl9ZQ1I0dE9VV0xPV2o3S2Jwdmo1dlJpcjF4UHZOVWJHenFIeGswSW5vZVdCZTlCR1VTRlJVNWg5d21aZTBha1N3aUJxU0JUR2kwZWg4YUh2bFZyLU9EeVV5Sll1RjVpSTg3ZWVJVTF1WUFZa1dSNTExS3JSRE9vVGJpQnczNmt3U2lObHhMdHlqU29zbVE3YzNLQU5jc1VEWXRtQ0tMaUlnU0dkc3ducFZpUWJKeWxBYWpYOTJnN0VraVMwWWp2SE9fbkEiLCJjcmVhdGVkX3RpbWUiOjE3NjQ2MTE2NjYzMjZ9","_et":"MTc2NDYxMjM3NDg4OA=="},"kwai":{},"tiktok":{},"utm":{},"timestamp":1764612374}
Yep, super normal. The first WebClient call pays for DNS, SSL handshake, and spinning up the connection pool, so it’s slow.
After that everything is already warm, so it flies...
Fix is basically: keep the WebClient as a singleton "wich you already do" and trigger a tiny warm-up call on startup so your users never see that 5 to 9s delay...
Why do you call this "dirty"? Only the first one should be necessary. The other two should inherit the first.
المعطيات: لتكن لدينا الشبكة العصبية متعددة الطبقات الموضحة في الرسم البياني التالي:
لتكن البيانات التالية (𝑥,𝑦)=(2,1)
المطلوب:
.1 حساب المخرجات الوسيطة 11f ، 12f ، 11h ، 12h ، 21f، والمخرج النهائي 𝑦̂
.2 حساب المعام لت Δ𝑤𝑗 و 𝑤𝑗 مع j=1 , …,7 بعد تحديث واحد )مع مراعاة معامل التعلم 𝜶 = 𝟎.𝟏 .)
A simple search for "php test memory usage" returns the memory_get_usage function as its first result. There are even AI examples provided by some search engines to give you a head start (YMMV). There are also examples for you in the documentation itself.
Was there something in particular you were having trouble with to determine how much memory your scripts need?
You might want to check out some tools that simplify these kinds of Google Sheets customizations go to website for options that could make applying colored chips across dynamic dropdowns much easier.
@marce-puente
I added more detail about the card templates. Could you please take a look at it again?
precisely that is my Q!
eat a lot of RAM this class?,
how I can measure that?
When you say old vector software, can you be specific as to what you used? I'm having some issues with the VN1640.
MsgBox "Your message!", vbSystemModal
How much memory do you think this code uses? Also have you checked your assumptions or done any measurements?
It was a version mismatch between Linux and Windows.
In Update, you are doing:
Pausemenu.SetActive(true);
And then you check if the gameObject you just set to Active is Active:
if (Pausemenu.activeSelf)
That can't work.
I don't know if that is your main problem, but with this it can't work.
simply I take care with my little RAM; I need use
$n2text
in some lines when $USER use some areas of my portal
( now is more of 3 times, then I see MAYBE is best have
$n2text
in whole program but I am a newbie then I want hear (read) the professionals
Yep, TestStand nuked your types and there’s no undo for that.
Just grab the modified type-palette .ini or .seq files, restore them from Git, restart TestStand, and your custom types are back !
I think you should be more specific in your description of the cards, otherwise it's unlikely that anyone will be able to help you.
The security-related entities, e.g., definition of username, database roles, role memberships, permissions, are determined by a specific server configuration, and they do not belong to programming asserts, a.k.a., programmability of stored procedure, function, etc.
We have resolved this issue by removing the security-related entities from the SQL Server Database project.
We also configured Visual Studio's Schema Compare to ignore the following object types to prevent synchronizing on the security-related entities in future:
What makes you think the RAM usage of this line of code is so high? What have you measured?
I discovered that you can open the "Wine Control Panel" by simply using ShellExecute from the Winapi.ShellAPI unit and opening control.exe:
ShellExecute(0, 'open', 'control.exe', nil, nil, SW_SHOWNORMAL);
And then it'll open on Wine or Steam Proton:
^^ can you explain how you handled any HTTP connection errors when running this?
@Sergey A Kryukov thank you for the help, it's a male-only family tree, no wifes. It's a popular topic in the Arabic world and a historical science there, thanks again.
import type { BetterAuthOptions, InferSession, InferUser } from "better-auth";
import { betterAuth } from "better-auth/minimal";
const authConfig = { ... } satisfies BetterAuthOptions;
export const auth = betterAuth(authConfig);
export type Auth = typeof auth;
export type Session = InferSession<Auth>;
export type User = InferUser<Auth>;
export type AuthData = {
session: Session;
user: User;
} | null;
Best thing to do would be to just get the .className at runtime. Crappy fix, but it'll work. Personally I have issues trying to programmatically apply animations because it transforms the css name but not any other reference to it in the file. The keyframes become s-VSwDfhj2prWB-opacityvisibleanimation but my code is element.style.animation = "1s forwards opacityvisibleanimation", which fails.
Even including it in the HTML segment fails, such as
style="animation: {expanded ? "1s forwards opacityvisibleanimation" : "1s forwards opacityinvisibleanimation"}".
I'm not sure how Rich intended us to reference animation names?
You'll need to do this at runtime.
in your .svelte:
element.className.match(/s-[\s\S]{12}/g)[0]
element being anything...
Now I can properly reference animation names:
element.style.animation = "1s forwards " + element.className.match(/s-[\s\S]{12}/g)[0] + "-opacityvisibleanimation"
try/execpt is the best practice for data type errors like this
For the lazy version I use this
(.|\r|\n)+
Yes, you must make a custom implementation.
Only the primary (left) mouse button can be used with SwiftUI's built-in gestures (TapGesture, DragGesture, LongPressGesture, etc.). They do not support right or middle mouse input.
The answer seems to be a resounding "No, not in modern FF" - thanks to @nanigashi for clarifying.
The best way to ergonomically toggle/access a setting that I've found was to pin an about:config tab and/or find a short identifying substring of the setting name to enter in the about:config search (i.i in the case of full-screen-api.ignore-widgets)
This appears to be a warning message basically stating that there was a tag within the SVG file itself that was not handled by the Svg Loader. I've found you can either simply ignore the message or remove the tag from the SVG.
Just to understand the question. You are using these two input elements (default is that they are text fields) as buttons, and you need the value of "action" (the name of the inputs) so that you can see if it was "Enter" or "Cancel" that was clicked when submitting the form? And then you need a localized display text for each button?
StackOverflow really isn't a job site - it's a Q&A for programming-related question only ....
cd scoop-master.zip Set-executionPolicy RemoteSigned-Scope CurrentUser
def apply_twice(func, arg):
return (func(arg)) # argument is 10 ,that added to to value 5
def add_five(x): # func when called once add_five inside becomes 10+5=15
return x + 5
print(apply_twice(add_five, 10))
def apply_twice(func, arg):
return func(func(arg)) # argument is 10 ,that added to to value 5 now called twice
def add_five(x):# func when called twice add_five inside becomes 10+5+5=20
return x + 5
print(apply_twice(add_five, 10))
def apply_twice(func, arg):
return func(func(arg))+ func(func(arg))# argument is 10 ,that added to to value 5 now called twice
def add_five(x): # two time repeated func , when called twice add_five inside becomes 10+5+5=20 +20=40
return x + 5
print(apply_twice(add_five, 10))
For those having issues even with tabIndex removed and all other normal solutions exhausted this is something to consider as it was an intermittent issue and hard to diagnose.
I use Yii2 and Kartik Select2 widget in a bootstrap modal which makes it hard to override the dedropdownParent setting. The widget worked perfectly in most situations anyways so I think he sets it correctly.
If the modal content container does not have a max-height and overflow-y:scroll style settings the select2 was not allowing search functionality when the modal content grew beyond the original modal size. After doing many tests and then some research on the symptoms its clear that there is a scroll detector function in the select2 initialization that breaks if it "thinks" the content should have a scroll even if it doesn't.
To fix this issue I set the modal-content max-height to 75vh and overflow-y:scroll. This way the select2 scroll detection will actually work and the search function will initialize.
Les espaces de noms permettent de regrouper des variables, des fonctions, des classes, etc. sans polluer les identifiants des autres librairies.
Créer les espaces de noms suivants: terre, mars et jupiter;
Ajouter dans chacun de ces espaces les constantes rayon et nom contenant respectivement le rayon de la planète et son nom;
Ajouter dans chacun de ces espaces une fonction double surface() qui calcule la surface des planètes à partir de leur rayon.
Thank you for posting the result of your investigation, this was useful!
I'm coming from https://github.com/ocornut/imgui/pull/9099 (I am maintainer of that software) and things have been rather confusing but your latest comment helped connect some pieces of the puzzle.
I'd be ideally trying to solve this, aka allow MBCS-compiled apps using RegisterClassA(), DefWindowProcA() etc to work on all setups. I've been hoping I can avoid calling ImmGetCompositionString() (suggested by https://github.com/ocornut/imgui/pull/3653/files and implied by WM_IME_COMPOSITION ) in order to avoid requiring user to link my library with imm32.
So I am looking at:
\> To let your program work regardless of how the “language for non-Unicode programs” is set, you should handle WM_IME_COMPOSITION message properly. The simplest way to handle the message is to pass it to the DefWindowProcW() function.
However if i do this:
case WM_IME_COMPOSITION:
{
// Handling WM_IME_COMPOSITION ensure that WM_IME_CHAR value is correct even for MBCS apps.
// (see #9099, #3653 and https://stackoverflow.com/questions/77450354 topics)
IMGUI_DEBUG_LOG("WM_IME_COMPOSITION wParam %08X, lParam %08X\n", wParam, lParam);
return ::DefWindowProcW(hwnd, msg, wParam, lParam);
}
case WM_IME_CHAR:
if (::IsWindowUnicode(hwnd) == FALSE)
{
unsigned short ch = (unsigned short)wParam;
if (::IsDBCSLeadByte(HIBYTE(wParam)))
ch = MAKEWORD(HIBYTE(wParam), LOBYTE(wParam));
wchar_t wch = 0;
::MultiByteToWideChar(bd->KeyboardCodePage, MB_PRECOMPOSED, (char*)&ch, sizeof(ch), &wch, 1);
IMGUI_DEBUG_LOG("WM_IME_CHAR %08X -> %08X -> %08X\n", wParam, ch, wch);
io.AddInputCharacterUTF16(wch);
return 1;
}
return 0;
Then I get the correct char in WM_IME_CHAR, followed by a ? :
[07650] WM_IME_COMPOSITION wParam 00008882, lParam 000001B9
[07681] WM_IME_COMPOSITION wParam 0000D982, lParam 000001B9
[07686] WM_IME_COMPOSITION wParam 0000D982, lParam 000001B9
[07696] WM_IME_COMPOSITION wParam 0000D982, lParam 000001B9
[07707] WM_IME_COMPOSITION wParam 00007B96, lParam 000001B9
[07769] WM_IME_COMPOSITION wParam 00007B96, lParam 00001E00
[07769] WM_IME_CHAR 00007B96 -> 00007B96 -> 0000672C
[07769] WM_IME_CHAR 0000003F -> 0000003F -> 0000003F
[07770] [io] Processed: Text: '本' (U+0000672C)
[07770] [io] Processed: Text: '?' (U+0000003F)
[07858] [io] Processed: MouseButton 0 Down (Mouse)
[07865] [io] Processed: MouseButton 0 Up (Mouse)
If I change WM_IME_COMPOSITION handle to always return 1 or to always return 1 when (lParam & GCS_RESULTSTR) then I get the correct WM_IME_CHAR only.
I am curious if you have an idea about this? Thank you greatly!
When you get a divison by zero error/ exception it boils down to a rounding issue and how numbers are technically handled (machine representation of numbers). It depends how you calculate the number e (i.e. a by an approximation function) and it depends how you exponentiate. For exponentiation and calculating roots (nth root) there exists approximation functions that contain divisions. So rounding is the main culprit here.
That's the difference between theory and concrete implementation.
No, you can’t truly recover the original .py file from a .exe made with PyInstaller.
When you instantiate an express adapter, you can pass a series of options defined by this interface:
export interface ExpressHttpAdapterOptions extends HttpAdapterOptions {
useCookies?: boolean;
useJson?: boolean;
useText?: boolean;
useUrlEncoded?: boolean;
}
How can I add body-parser when using the new built-in way?
If useJson is set to true (this is the default value as well), a json parser is added to your express app.
If you are interested in manually setting up your express app, you can do so by passing the app to the adapter constructor:
const expressAdapter = new InversifyExpressHttpAdapter(
container,
{
useCookies: false,
useJson: false,
useText: false,
useUrlEncoded: false,
},
myCustomizedExpressApp,
);
I was trying to solve the wrong problem. Just in case anyone else has the same misconception as me: body-parser is not needed. Inversify handles the parsing.
Yeah, the adapter adds a json body parser by default. It can be disabled by passing useJson option flag to false.
My issue ended up being a typical frontend issue when the form was submitted (I was trying to submit JSON using a plain HTML form).
If you were sending a application/x-www-form-urlencoded Content-Type request, yeah, that's tricky, for express silently ignores the body unless you set a parser for it. If you are interested in supporting urlencoded bodies in the future, useUrlEncoded flag can be handy.
Not really. You can, but you'll end up secretly Church-encoding lists or something. You are asking how to equip the type of rose trees with the eliminator for lists; conceptually, the "only" way to do this is to factor through lists.
Just moving the partials SCSS files into a subfolder worked. This was solved thanks to this answer. Check it for more information. This could be marked as duplicated.
Life saver mate! Thx a whole bunch!
I spent a bit of time figuring out how to do a mix of spaces and wild cards (*) for file names.
An example of what I found works is:
robocopy ".\Icons" "C:\Users\Public\Desktop" "Wwise "*.* /e /mt:4
The bit in Bold is the interesting bit, in that "Wwise<space>"wildcard.wildcard allows me to copy only the files starting with Wwise<space> to the location desktop. I am sure there are more ways of messing wit this, but I stopped after getting it to do what I wanted.
One reason this stopped working is that wgy/clear channel/wnyt stopped being part of the school closings network. Try this one: https://www.schoolclosingsnetwork.com/output/townsquare/wgna.asp
where to enter this code? I am having a very big trobule. Please Help...
Jandel("verified-badge")
If you're talking about getting syntax highlighting in your markdown file, this has to do with how you're rendering it. The renderer will interpret that language, and some renderer's have more languages implemented than others.
Your thought process and explanation seem logical to me. What exactly is the issue or concern you have here? What kind of answer or suggestion or advice are you looking for... specifically?
Yes, edit .py files in VSCode and run them on Google servers via the Google Colab extension, like Jupyter notebooks.
Setup Steps:
Install Jupyter and Google Colab extensions in VSCode.
Open .py or .ipynb file, select Colab kernel, and sign in with Google.
Connect to Colab runtime (CPU/GPU/TPU) for remote execution.
Limitations: No direct Google Drive mount or userdata access in VSCode.
This issue happens when KVM modules keep using VT-x even when you'r not using QEMU
Generally this is enough to make your virtualbox work
sudo modprobe -r kvm_intel kvm_amd kvm
But in some cases, you have to restart the virtualbox kernel modules like this:
sudo modprobe -r vboxnetadp vboxnetflt vboxdrv
sudo modprobe vboxdrv
sudo modprobe vboxnetflt
sudo modprobe vboxnetadp
This temporary frees the VT-x so VirtualBox can run VMs again.
Note: If you want to persist this, then create a small systemd service that runs these commands automatically at startup
Related Blog
If anyone else comes across this
Here's the fix
DoublePointer maxVal = new DoublePointer(1); DoublePointer minVal = new DoublePointer(1);All you had to do was set the size in the constructor.
It turns out that it was possible this way:
numberofdoors=1&numberofdoors=2
:)
Can someone explain why
std::vector<double>is considered "standard layout"
This is explained since C++11 in the "standard layout class rules", see https://en.cppreference.com/w/cpp/language/classes.html#Standard-layout_class:
A standard-layout class is a class that
has no non-static data members of type non-standard-layout class (or array of such types) or reference,
has no virtual functions and no virtual base classes,
has the same access control for all non-static data members,
has no non-standard-layout base classes, only one class in the hierarchy has non-static data members, and
So depending on how std::vector is implemented, all of those may very well be true. But it has nothing to do really with being PoD.
Different combinations of other traits may be used to check for PoD-like classes, lik the is_trivially_xyz family (ie. is_trivially_copyable).
Yet, from my work on an ASM-compiler, that needed to interopt with ASM/classes generated by MSVC, I think I remember there is no true trait to give you a true "pod" definition of a type, in a way that the compiler sees it - my example being the definition of "return values" in the x64 calling convention - here, a combination of is_trivially will not necessary align with what the compiler sees as pod, and I did not found a reliable way to detect it (even after asking stackoverflow).
Regardless, this might be a very specific example. In most cases, checks for trivially may be more than enough. For a lot of cases, it will be enough (and more correct/expressive) to just check for a specific property, instead of making your own "trivial" combined trait (for example, in template code that does copy of a value, just checking for trivially_copyable would be the most appropriate trait.
I'm facing the same issue at the moment and i have done the same as you did, but still Google Play rejecting my app. If you came up with a solution for this matter would u please share it with me !
Thanks in advance
Chrome recently introduced a restriction (Chrome 104+) that caps the maximum cookie lifetime to 400 days.
So even if you set a longer expiry (like 3 years or 2038), Chrome will silently shorten it.
This limit applies to both expires and max-age directives.
Older cookies created before v104 may still keep their original dates, but any new cookies are forced under the 400-day rule.
I've just ended up here with a similar issue. Not sure if it's the same problem that the OP had or a new one but I thought it might be helpful to record it here anyway. My issue was related to this: https://github.com/rstudio/rstudio/issues/16454
Running Sys.unsetenv("PKG_CPPFLAGS") and then installing rbibutils worked fine. Ubuntu 24.04.3 & RStudio 2025.09.2
<html>
<head>
<title> FORMULA </title>
</head>
<body>
(a<sub>1</sub>+b<sub>1</sub>)<sup>2</sup>=a<sup>2</sup>+2ab+b<sup>2</sup>
</body>
</html>
You need to configure the WSO2 default model provider for this case.
Please follow the guide in https://bi.docs.wso2.com/integration-guides/ai/direct-llm-call/direct-llm-invocation-with-ballerina-model-providers/#step-5-configure-default-wso2-model-provider
It depends on the stack used for a product. A frontend can be rendered in the browser using React/Angular/Vue.js/etc or server-side using frameworks like Wicket/Velocity etc.
Depending on the frameworks used it can be quite useful to know a little about back-end tech. I've done projects where the front-end developers had no back-end experience which made in depth discussions very difficult.
IMO a developer should at least have minimal knowledge of tech used in a project no matter what their work area is. This makes discussions easier and gives everyone the ability to chip in when needed.
I have the same issue, have you been able to fix it?
Or maybe front-end workers w/ back-end experience are more desired than those without that experience?
This should be closed as a duplicate of this question, but alas, Stackoverflow now wants to encourage duplicates.
@Valnik You can remove the UNIQUE (col1, col2) constraint. Just the index is enough; it handles all combinations. The only thing to check is how to handle NULLs, should they be unique or not?
(For those of us away from a computer, can you include both error messages for comparison?)
I am writing a scraper in Python and ran into a CAPTCHA on the login form. The site sometimes returns a regular reCAPTCHA v2 and sometimes hCaptcha. I tried to bypass this through Selenium, but CAPTCHA keeps blocking the automation.
My purpose is to automatically obtain the CAPTCHA solution token and insert it into the form so that the script can continue running without manual involvement.
What I have already tried: headless Chrome, different user agents; waiting for the iframe to appear; tried recognizing the CAPTCHA image through third-party libraries, but reCAPTCHA/hCaptcha do not work this way; found mentions of external services, but I do not understand how exactly to integrate them with Python via API.
What I need:
A step-by-step recommendation on how to technically organize CAPTCHA solving in Python: which API to use; how to create a task, obtain the token; how to pass it back into Selenium or the request; whether a universal method exists for different CAPTCHA types.
I would appreciate an example of working code or a proven architecture.
I just got the solution in Vivaldi forum with this desktop launcher:
[Desktop Entry]
Name=Vivaldi-mod
Exec=sh -c "konsole -e ~/vivaldi-modding/vivaldi.sh; gtk-launch vivaldi-stable"
Icon=vivaldi
Terminal=false
The first task is executed in konsole, the second not (Terminal=false).
As already mentioned by @VLAZ, That is actually not a runtime error. that is a transpile time error. you declared:
type TParser = (str: string, errStr: string) => number;
which is actually wrong. since there is a default parameter, we need to make errStr optional.
type TParser = (str: string, errStr?: string) => number;
notice the added ? before : string,that is used to indicate the parameter is optional, you can give a value to it, or you may not, typescript will allow you.
here are some helpful links:
When setting cookies with strict mode, cookies are not set on redirecting. So, in order for the cookies to be set, the page needs to be viewed to the end-user in the browser allowing the cookies to be set.
An approach to this is to redirect using a form post instead of 302 redirect. By rendering an actual page at the end of the authentication process, you're breaking out of the redirect sequence allowing the browser to set the cookie:
<body onload="document.forms[0].submit()">
<form method="post" action="https://that.other.domain">
<input type="_hidden" name="nonce" value="@Server.SomeVariable" />
<input type="_hidden" name="state" value="@Server.SomeOtherVariable" />
<input type="_hidden" name="whatever" value="@Server.Foo" />
</form>
</body>
Hope this helps?
Browser compatibility is good (https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/zoom, https://caniuse.com/css-zoom), and the property is standardized, https://drafts.csswg.org/css-viewport/#zoom-property
while True:
user_input = input("Enter an integer: ")
try:
value = int(user_input)
break # input is valid → exit loop
except ValueError:
print("Invalid input. Please enter a valid integer.")
Here, this is what I use on a daily basis when I try to avoid online services such as Github, Gitlab... Of course when I don't need the CI/CD and the bells and whistles such as actions, accounts, etc.
This answer is for future reference regarding how to achieve a full Git workflow without relying on a remote Git hosting service (like GitHub, GitLab, etc.), by using a local bare repository as your "remote."
You can replicate the standard Git workflow (clone, commit, push, pull, etc.) entirely on your local machine by setting up a bare repository to serve as your central, shared history.
First, create a bare Git repository in a designated, central location on your machine. This directory will not contain a working tree (i.e., no files, just the Git history).
Pick a directory for your bare repo (e.g., in your home directory).
Bash
mkdir ~/my-project-bare.git
cd ~/my-project-bare.git
git init --bare
Now, treat that bare repository path as the "remote URL" and clone it into your actual working directory.
Move to a different location where you want your project files to reside.
Bash
cd /path/to/my/development/area
Clone the local bare repository using its file path.
Bash
git clone ~/my-project-bare.git my-project-working
cd my-project-working
From this point on, all Git operations are exactly the same as if you were using an external remote.
Configure your identity (optional, but good practice):
Bash
git config user.name "Your Name"
git config user.email "[email protected]"
Add, commit, and push changes:
Bash
# Make changes to files...
git add .
git commit -m "Initial commit of the project setup"
git push origin master # or main
The ~/my-project-bare.git directory now acts as your central source of truth. If you want to simulate multiple developers or different machines, you can simply clone the bare repo again into a different folder (e.g., my-project-testing), and use git pull and git push between the working clones and the bare repo.
@abaci Thanks...I think the Chiclet Slicer is a glorified slicer, isn't it? Couldn't find any 'HTML Content Custom Visual' but I did look at 'get more visuals' for HTML-related visuals. Not sure why HTML would be useful here?
Am I wrong to imagine that a Power BI report would be a useful (better) substitute for SharePoint gallery view?
Reading documentation is the best way to learn a tool in my experience, however I often struggle to focus on reading, and when I do I find YouTube videos explaining the tools to be invaluable. Combining both, and doing a bit of experimentation on your own I think is the most productive way to learn things. AI is great for specific niche questions that you haven't been able to solve, but make sure not to get dragged into the vibe-coding pit.
Getting started on a project using a new technology can be very daunting. I find the best way to start is by watching a tutorial, following along initially, and once the tutorial is done, do it again without help. You'll learn what you don't understand, and then you can go back and read the documentation or rewatch the video to better understand the parts you don't get.
It's a slower process that AI, but it means you'll actually learn and understand what you're doing, which is far more important than speed.
Good luck.
You can use the Mobius Inversion FORMULA
The issue is resolved as a part of fix https://github.com/reactor/reactor-netty/issues/4014
It's available in 1.2.13 - snapshot
Thanks
This appears to already be asked and answered here: How can I check if string input is a number?
create a text file in your user location with lower context length or check the root cause in server logs.
FROM arctic-text2sql-r1 (model name)
PARAMETER num_ctx 4096
Then create the new model in command prompt
ollama create arctic-sql-lite -f Modelfile
You are right. It works fine. Many Thanks
You need to tell pytest-django to keep the data loaded in initial_db for the duration of the session, or ensure it's committed in a way that survives the test rollback.
Here is the correct way to implement Session-scoped Data Fixtures with pytest-django.
You can use Qwen/Qwen-Image-Edit or Flux models such as Flux 2 which are open source and you can get higher accurate images as like chatgpt.
You probably need to paste a snippet of your controller; that would help to better understand that what could be wrong
I was missing this interactive rendering as I am using server side rendering
@rendermode InteractiveServer
That's a very specific and challenging requirement for iOS automation!
Unfortunately, due to the tight security sandbox Apple enforces, there is no direct, public, or officially supported way for Appium/WebdriverIO (or any other standard automation framework) to programmatically toggle Airplane Mode or Mobile Data settings on a non-jailbroken physical iOS device or even a standard iOS Simulator.
To help you, please provide the following:
The list of key documents you are referring to.
The specific problem or situation you are trying to address. Knowing the context (e.g., applying for a loan, filing taxes, submitting a project proposal) will help determine if any documents are missing or if the current ones are sufficient.
You read the documentation of whatever you use
I sure do love reading “Microservices: The Docs” or “How to Build an Extremely Niche Feature That You Can Barely Describe: The Wiki.”
All jokes aside, I prefer to look for trends and see what people actually use for what problems.
Docs can explain how to do things and sometimes why, but they rarely offer the kind of wisdom that matters in real problem solving, which what engineering is imo, for example, why people building low latency, high throughput services choose X language and Y framework.
I use ClickHouse because of a very specific requirement, and I didn’t discover it by reading its docs. I found it by reading the experiences of people who use it. Blogs and forums are good; rabbit holes are even better.
If you previously ran:
export GOOGLE_GENAI_USE_VERTEXAI=true
in your current terminal session, you do need to unset this environment variable when switching to Google AI Studio’s API (non-Vertex AI). Otherwise, the SDK will keep working in Vertex AI mode.
Use the instruction-tuned model as your base:
base_model = "google/gemma-3-270m-it"
it_model = "google/gemma-3-270m-it"
Once training + inference use the same chat template, the repetition stops.
I was working in a personal Spring Boot based Starter that I think would fits with your scenario.
i have issue with telegram connecting to google GAS. I get infinite loop of good reply from GAS into my telegram group. Debugging looks good with no issues. GAS deployed as webapp. Passing single parameter from telegram:
https://api.telegram.org/bot1234567890......./setWebhook?url=https://script.google.com/macros/s/1234567890................/exec?community=PARM12345
https://api.telegram.org/bot123456...../getWebhookInfo shows:
{
"ok": true,
"result": {
"url": "https://script.google.com/macros/s/123456......./exec?community=GINDI",
"has_custom_certificate": false,
"pending_update_count": 1,
"last_error_date": 1764588546,
"last_error_message": "Wrong response from the webhook: 302 Moved Temporarily",
"max_connections": 40,
"ip_address": "100.200.700.500"
}
}
Did not configure any google APIs, ot the configuration.
function doPost(e) {
const finalResponse = ContentService.createTextOutput('{}').setMimeType(ContentService.MimeType.JSON);
if (!e || !e.postData || !e.postData.contents) {
// ❗ prevents Telegram from retrying
return finalResponse;
}
// Initialize services
let update = null;
try {
update = JSON.parse(e.postData.contents);
} catch (err) {
//Logger.log("Invalid JSON update, ignored.");
return finalResponse;
}
if (update.message?.from?.is_bot) {
//Logger.log("Ignored bot-originated message to prevent loop.");
return finalResponse;
}
const messageText = update.message?.text;
if (!messageText || typeof messageText !== "string") {
//Logger.log("Ignored non-text message.");
return finalResponse;
}
const trimmed = messageText.trim();
if (!trimmed.startsWith("#")) {
//Logger.log(`Skipping: Not a command or text missing. Exiting.`);
return finalResponse;
}
const cache = CacheService.getScriptCache();
const updateId = update.update_id?.toString();
if (updateId) {
if (cache.get(updateId)) {
Logger.log("Duplicate update detected → ignored.");
return finalResponse;
}
cache.put(updateId, "1", 30);
}
const lock = LockService.getScriptLock();
if (!lock.tryLock(500)) {
Logger.log("Lock busy → ignored safely.");
return finalResponse;
}
try {
let config = getScriptPropsFallback(); // Load service default config
// --- CORE BUSINESS LOGIC STARTS HERE ---
config.communityName = e.parameter?.community || "";
config.chatId = update.message?.chat?.id;
config.userId = update.message?.from?.id;
config.message_id = update.message?.message_id;
config.messageText =trimmed;
// MAIN COMMAND DISPATCH
config = Fun1(config);
Func2(config);
} catch (err) {
Logger.log(`doPost (Webhook Entry) CRASHED on update ${updateId}:`, err);
try {
sendReply(update.message.chat.id, update.message.message_id, "❌ System error. Admin notified.", getScriptPropsFallback());
} catch (e2) {}
} finally {
try { lock.releaseLock(); } catch (e) {}
}
return finalResponse;
}
any help is welcomed. please reply to [email protected]
You probably forgot to add dagger as a dependency to the gradle file of your module.
If you are using the latest Flutter version, then there is one major issue currently open related to resizeToAvoidBottomInset broken on Android. Keyboard breaks layout. So, you can track and get the workaround for the issue.
https://github.com/flutter/flutter/issues/175074#issuecomment-3571987010
@jcalz Yeah, I hand wrote the code, so it's wrong, but you got the right point. And also the issue you posted is also what answers my question. Thanks!
You may need to change it.
distributionUrl=https\://services.gradle.org/distributions/gradle-9.0-milestone-1-bin.zip
in
gradle-wrapper.properties
You could use a label tag and show text in Spanish. When the text in the label tag is clicked, it refers to a hidden button whose value is in English. The submit button is hidden using CSS. Below is a simple example: