You need to understand the difference between the following concepts:
As others already have mentioned, IDs have to be unique on your page. You can read more about why here.
In short: Selecting via ID will always return ONE element, no matter if you use getElementById or querySelectorAll. What might be confusing is, that CSS does not care and will always apply the style to all elements with the same ID. You can check the following snippet and play around with the concept:
https://jsfiddle.net/wt6sna8c/2/
Classes however can be reused however often you want.
You can read more about when to use classes and when to use IDs here.
Classes are always selected with a prefix of .. Meaning if you want to select an element with the class "myclass" you would need .myclass as the CSS selector. IDs on the other hand are selected with the prefix #. In your example the selector for ONE element with the id="ss" would be #ss.
These CSS selectors are also used in JavaScript code. The function, that you use, document.querySelectorAll("..."); takes a CSS selector as an argument and returns all matching elements. However, as mentioned, since IDs have to be unique it will always return 0-1 elements if you select via ID, even if you use the function select all.
To fix your code just replace the assignment of id="ss" to class="ss" and use the correct selector prefix in your JS. Here is how that would look like:
https://jsfiddle.net/ma2v1h4n/1
I advise you to play around with selectors and read up on it a bit yourself so you properly understand the concept.
Edit:
As @trincot correctly mentioned your current code actually looks for <ss> tags. Maybe, with that information, you could tell me how you could make the code run as expected without using classes or ids?
The folder reactpress/config/src/ is empty
ReactPress tries to compile TypeScript config files with:
tsc src/*.ts
…but since there are no .ts files inside /config/src, the build script fails.
This is a known bug in ReactPress v1.6.0.
Fix 1 — Create an empty TypeScript file
This is the easiest fix and works immediately.
Inside:
reactpress/config/src/
Create a file named:
index.ts
It can be empty or contain:
export {};
Then run:
pnpm run dev
✔ Build passes
✔ ReactPress starts
✔ No impact on functionality
Fix 2 — Change the config build command to avoid wildcard
Open:
reactpress/config/package.json
Find this line:
"build": "tsc src/*.ts --outDir lib --skipLibCheck --declaration"
Replace it with:
"build": "tsc --project tsconfig.json"
Or simply:
"build": "tsc"
Then run:
pnpm run dev
✔ Works even if src/ is empty
✔ Correct TypeScript behavior
Fix 3 — Copy missing config files from a working version
If you want the intended default config, copy from ReactPress 1.5 or 1.4:
Create files:
reactpress/config/src/index.ts
reactpress/config/src/types.ts
Example content:
index.ts
export const defaultConfig = {};
types.ts
export type Config = Record<string, any>;
Then run again.
Scientific development has profoundly transformed the way food is produced, preserved, and consumed. While these advancements aim to improve human life, they also bring consequences that shape our health and environment. Understanding both the positive and negative effects of science on our diet helps answer the broader question: Should science influence what we eat?
One major cause of change in the modern diet is the rapid growth of food technology. Scientists have created methods such as genetic modification, artificial preservation, and large-scale food processing. These innovations were originally designed to solve problems like food shortages and spoilage. As a result, many countries now have year-round access to affordable and diverse foods that were once seasonal or rare.
However, these advancements also produce significant effects on consumers’ health. For instance, processed foods often contain high levels of salt, sugar, and chemical additives, which can contribute to obesity and heart disease. Furthermore, the long-term impact of genetically modified ingredients is still debated, causing many people to question whether scientific intervention has gone too far. Thus, while science can expand food availability, it may unintentionally harm public health when not properly regulated.
Science also affects the environment through modern agricultural practices. Techniques such as pesticide use and intensive farming help increase crop yields but lead to soil degradation and water pollution. These environmental consequences can eventually influence the quality of the food supply itself, creating a cycle of problems that science must again attempt to solve.
In conclusion, science has undeniably shaped what we eat by making food more accessible and affordable, yet it also introduces health and environmental risks. Therefore, science should influence our diet—but only when such influence is guided by careful research, responsible regulation, and a commitment to long-term well-being.
Ciò fired # Source - how to get back on intranet's default.aspx from internet's default.aspx
# Posted by bamboat_3
# Retrieved 2025-11-29, License - CC BY-SA 3.0
http://202.61.43.37/html/Doc1.
html
# Source - https://stackoverflow.com/q
# Posted by Manpreet Kaur
# Retrieved 2025-11-29, License - CC BY-SA 4.0
#snake head
head = turtle.Turtle()
def draw_circle(color, radius, x, y):
#head(turtle.Turtle())
head.penup()
head.fillcolor(color)
head.goto(x, y)
head.begin_fill()
head.circle(radius)
head.end_fill()
head.hideturtle()
draw_circle("#FF4500", 30, 0, -40) #face OrangeRed #FF4500 green #2CD717
draw_circle("#ffffff", 10, -10, -5) #left eye 9659BD purple
draw_circle("#ffffff", 10, 10, -5) #right eye B4BCE2 light blue
draw_circle("#4a70e3", 7, -8, -4) #5e7ede 9eb1eb 4a70e3 royalblue light colors
draw_circle("#4a70e3", 7, 8, -4)
draw_circle("#17202A", 5, -10, -5) ##17202A black
draw_circle("#17202A", 5, 10, -5)
#colors = random.choice(['green','black'])
#shapes = random.choice(['square'])
#head.shape(shapes)
#head.color(colors)
head.goto(0,0)
head.penup()
head.speed(0) #animation speed
head.direction = 'stop'
#segment = []
body {
background-image: url("https://wallpapercave.com/wp/wp2360203.jpg");
background-repeat: no-repeat;
background-attachment: fixed; <!-- this is to make sure even when you scroll the image remains static over the background -->
}
This is my first answer on this website and I'm a beginner and a fresher in college, so feel free to criticise any mistakes in my answer
// Source - https://stackoverflow.com/a/79833153
// Posted by EldHasp
// Retrieved 2025-11-29, License - CC BY-SA 4.0
using System.Windows;
using System.Windows.Input;
namespace SOQuestions2025.Questions.AdamWritesCode.question79831972
{
public static class UIElementHelper
{
public static bool GetIsBubbleLeftClick(UIElement obj)
{
return (bool)obj.GetValue(IsBubbleLeftClickProperty);
}
public static void SetIsBubbleLeftClick(UIElement obj, bool value)
{
obj.SetValue(IsBubbleLeftClickProperty, value);
}
// Using a DependencyProperty as the backing store for IsBubbleLeftClick. This enables animation, styling, binding, etc...
public static readonly DependencyProperty IsBubbleLeftClickProperty =
DependencyProperty.RegisterAttached(nameof(IsBubbleLeftClickProperty)[0..^8],
typeof(bool),
typeof(UIElementHelper),
new PropertyMetadata(true)
{
PropertyChangedCallback = OnIsBubbleLeftClickChanged
});
private static void OnIsBubbleLeftClickChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
UIElement uie = (UIElement)d;
uie.RemoveHandler(UIElement.MouseLeftButtonDownEvent, (MouseButtonEventHandler)HandledEvent);
if (false.Equals(e.NewValue))
{
uie.AddHandler(UIElement.MouseLeftButtonDownEvent, (MouseButtonEventHandler)HandledEvent, true);
}
}
private static void HandledEvent(object sender, RoutedEventArgs e)
{
e.Handled = true;
}
}
}
bro use :ytdl-core with FFmpeg
// Source - https://stackoverflow.com/q
// Posted by user636525, modified by community. See post 'Timeline' for change history
// Retrieved 2025-11-29, License - CC BY-SA 3.0
\<uses-permission android:name="android.permission.RECORD_AUDIO" /\>
\<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /\>
\<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /\>
\<uses-permission android:name="android.permission.WRITE_EXTERNAL_STOR
AGE" />
have a similar problem. But the thing is, the writing on the websites displays fine. It is just the writing in the Google Chrome tab that doesn't show. It comes up with squares. To fix this, I had to change the encoding to Auto-Detect and UTF-8 (I have to deselect it and then select it again). Then restart my computer in order for the writing in the tabs to display.
However, I find that the next time I turn on my computer, I have to go through the same process and it's quite irritating. Has anyone else had this problem and if so, how do we work about this?
Cheers, C
When you run df.describe(), PySpark returns a DataFrame where every column is a String, so first we should cast the strings and then use pyspark.sql.functions.format_number to round the columns.
from pyspark.sql.functions import col, format_number
describe = df.describe()
columns = describe.columns[1:]
for column in columns:
describe = describe.withColumn(
column,
format_number(col(column).cast('double'), 2)
)
describe.show()
VSCode 1.106.2, November 2025 version.
Option 1 (through the extensions list):
In the extensions view, right-click the GitHub Copilot extension or click the "manage" gear icon on it.
In the pop-up menu, select "Account Preferences".
Option 2 (through the "Command Palette"):
On press F1 or Shift+Ctrl(Cmd)+P to get to the VSCode Command Palette.
Type: "accounts manage" and select the "Accounts: Manage Extension Account Preferences".
A list will show up, showing all extensions that support account logins. Select the "GitHub Copilot Chat".
On the top (command palette) it will show your account name, the second option will be "Use a new account...", which takes you to the web login.
https://www.solidsolutions.co.uk/solidworks/partner-products/emworks.aspx
HACE ALGUNOS AÑOS YO USABA ESTE GO PARTNHER DENTRO DEL ENTORNO DE SOLIDWORKS
Are you using Turbo repo?
Update your turbo.json file with env vars that you want to expose for specific tasks. For Sanity studio, most likely your build task.
https://turborepo.com/docs/crafting-your-repository/using-environment-variables
The integral quoted in this question diverges!
So the suggestion "Changing the integral's upper limit from infinity to some exact value may be a good compromise." is not really a compromise, it is the only way to get a finite answer>
Use applymap:
df[['Age', 'Salary']] = df[['Age', 'Salary']].applymap(lambda x: x + 100 if x > 30 else 0)
It does exactly what your single-column apply does, but works for multiple columns in one line.
You need the firebase_app_check package, and then
see the implementation of it in this URL, it's easy https://firebase.google.com/docs/app-check/flutter/default-providers#initialize
I did the following steps instead and they worked:
Run the dev build in XCode project directly
Run npx expo start
I see your points and it is definitely much simpler to just contain a Compiler struct within compile.
pub fn compile(source: &str) -> Result<Chunk, String> {
let mut chunk = Chunk::new();
let mut compiler = Compiler::new(&mut chunk, source);
compiler.consume()?;
Ok(chunk)
}
Solution found, after import it on all nodes of cluster
sudo ctr -n k8s.io images import ftp1.tar
kubectl get pod
NAME READY STATUS RESTARTS AGE
ftp1-54f69594b-4cf7b 1/1 Running 0 55m
The iterative procedure y(n+1)=(1+y(n)^2)/(2y(n)+x) converges to sqrt(1 + (x/2)^2) - x/2 (NB note the minus sign as opposed to the original question). Easy to prove by solving the equation for the limit value y: y=(1+y^2)/(2y+x) which transforms into a quadratic equation. It can be derived by working out the Newton-Raphson algorithm for this case.
With a starting value y(0)=1/x it converges very quickly for any x>10 and because it doesn't need the square of x there are no overflow issues for large x. Simply terminate the iterations when y(n+1)=y(n) (i.e. machine precision).
I suppose this is what is under the bonnet for most hypot-implementations
Start by defining the basic features of your app, like messaging and user sign-ups. Learn React Native for the front end and Go for the backend through tutorials. Begin with something simple like sending messages, then add features like authentication.If you get stuck, look at sample projects on GitHub or ask for help in dev communities or check out this article ,it covers everything from launching and monetizing your app. he key is to keep building step by step and focus on learning each part along the way.
Check if you try to open the payment view in side an model.
the payment view will not open. because does not support the double model to open togather.
This works fine for me on PyCharm 2025.2.3.
Given that you run a two year old version - from around the time when JetBrains was in the process of adding Polars support - updating to a newer version should be your best bet.
Here is my .bat file to help run this. Works straight out of the box and with venv!
@echo off
REM Source https://stackoverflow.com/questions/69592796
REM Original by BeginnersMindTruly
REM Modified on 2025-11-29, License - CC BY-SA 4.0
set "PROJECT_DIR=C:\Users\bob\Dune\Jupyter Lab"
set "VENV_DIR=%PROJECT_DIR%\venv"
REM Check if Jupyter is already running on port 8888
netstat -ano | find ":8888" >nul
if %errorlevel% equ 0 (
echo Jupyter Lab is already running on port 8888
start http://localhost:8888
) else (
cd /d "%PROJECT_DIR%"
start /B "" "%VENV_DIR%\Scripts\pythonw.exe" -m jupyterlab --port=8888
)
Common Causes
Google Analytics DebugView requires the debug_mode parameter to be active in GA4 requests for events to appear, which GTM Preview mode should automatically add, but several issues can prevent this from reaching DebugView. In WordPress setups with GTM, logging into the admin panel often blocks debug events entirely—log out completely and test again, as this resolves the issue for many users. Browser extensions (ad blockers, privacy tools), cached data, or developer tools blocking requests to google-analytics.com or gtm.js can also stop data flow despite GTM showing tags firing.
Key Troubleshooting Steps
Verify debug parameter: Open browser DevTools > Network tab, filter for collect?v=2, and check recent GA4 requests for dbg or ep.debug_mode=true. If missing, confirm GTM Preview connects properly.
Check GA4 filters: In GA4 Admin > Data Settings > Data Filters, temporarily set "Internal traffic" to Testing (it blocks DebugView even with Developer filter active).
Clear interferences: Disable all extensions, clear cache/cookies, use incognito mode or another browser (avoid Brave), and ensure no ga-disable-XXXXXX code exists in page source.
WordPress-specific: Clear site cache, check for plugin conflicts (e.g., avoid duplicate GA via plugins like Site Kit alongside GTM), and confirm no legacy Universal Analytics tags remain—remove them and use GA4 config via GTM.
Additional Checks
Ensure you're viewing the correct GA4 property (match Measurement ID from GTM/site to Admin > Data Streams) and the right device in DebugView's dropdown, even if it shows "No devices". Consent mode or privacy controls might limit events if not consented; test without them. Delays or bugs can occur—wait 10-60 minutes or restart browser fully. If issues persist, share your GA4 Measurement ID, GTM Preview console screenshots, and Network tab details for collect requests.
Maybe a bit late to add to this, but I've expanded the code to handle invalid password entry.
Option Explicit
#Const InvalidPWD = True
#If VBA7 Then
Private Declare PtrSafe Function FindWindowEx Lib "user32" Alias "FindWindowExA" (ByVal hwndParent As LongPtr, ByVal hwndChildAfter As LongPtr, ByVal lpszClass As String, ByVal lpszWindow As String) As LongPtr
Private Declare PtrSafe Function GetParent Lib "user32" (ByVal hWnd As LongPtr) As LongPtr
Private Declare PtrSafe Function GetDlgItem Lib "user32" (ByVal hDlg As LongPtr, ByVal nIDDlgItem As Long) As LongPtr ' nIDDlgItem = int?
Private Declare PtrSafe Function GetDesktopWindow Lib "user32" () As LongPtr
Private Declare PtrSafe Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hWnd As LongPtr, ByVal Msg As Long, ByVal wParam As Long, lParam As Any) As Long
Private Declare PtrSafe Function SetFocusAPI Lib "user32" Alias "SetFocus" (ByVal hWnd As LongPtr) As LongPtr
Private Declare PtrSafe Function LockWindowUpdate Lib "user32" (ByVal hWndLock As LongPtr) As Long
Private Declare PtrSafe Function SetTimer Lib "user32" (ByVal hWnd As LongPtr, ByVal nIDEvent As LongPtr, ByVal uElapse As Long, ByVal lpTimerFunc As LongPtr) As LongPtr
Private Declare PtrSafe Function KillTimer Lib "user32" (ByVal hWnd As LongPtr, ByVal uIDEvent As LongPtr) As Long
Private Declare PtrSafe Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
#Else
Private Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" (ByVal hwndParent As Long, ByVal hwndChildAfter As Long, ByVal lpszClass As String, ByVal lpszWindow As String) As Long
Private Declare Function GetParent Lib "user32" (ByVal hWnd As Long) As Long
Private Declare Function GetDlgItem Lib "user32" (ByVal hDlg As Long, ByVal nIDDlgItem As Long) As Long ' nIDDlgItem = int?
Private Declare Function GetDesktopWindow Lib "user32" () As Long
Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hWnd As Long, ByVal Msg As Long, ByVal wParam As Long, lParam As Any) As Long
Private Declare Function SetFocusAPI Lib "user32" Alias "SetFocus" (ByVal hWnd As Long) As Long
Private Declare Function LockWindowUpdate Lib "user32" (ByVal hWndLock As Long) As Long
Private Declare Function SetTimer Lib "user32" (ByVal hWnd As Long, ByVal nIDEvent As Long, ByVal uElapse As Long, ByVal lpTimerFunc As Long) As Long
Private Declare Function KillTimer Lib "user32" (ByVal hWnd As Long, ByVal uIDEvent As Long) As Long
Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
#End If
Private Const WM_CLOSE As Long = &H10
Private Const WM_GETTEXT As Long = &HD
Private Const EM_REPLACESEL As Long = &HC2
Private Const EM_SETSEL As Long = &HB1
Private Const BM_CLICK As Long = &HF5&
Private Const TCM_SETCURFOCUS As Long = &H1330&
Private Const IDPassword As Long = &H155E&
Private Const IDOK As Long = &H1&
#If InvalidPWD Then
Private Const IDCANCEL As Long = &H2&
#End If
Private Const TimeoutSecond As Long = 2
Private g_ProjectName As String
Private g_Password As String
Private g_Result As Long
#If VBA7 Then
Private g_hwndVBE As LongPtr
'Private g_hwndPassword As LongPtr
#Else
Private g_hwndVBE As Long
'Private g_hwndPassword As Long
#End If
#If InvalidPWD Then
#If VBA7 Then
Private g_hwndTmp As LongPtr
#Else
Private g_hwndTmp As Long
#End If
#End If
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
'Sub Test_UnlockProject()
' 'Application.ScreenUpdating = True
' Select Case UnlockProject(ActiveWorkbook.VBProject, "Test")
' Case 0: MsgBox "The project was unlocked"
' Case 1: MsgBox "Errorhandler"
' Case 2: MsgBox "The active project was already unlocked"
' Case 3: MsgBox "Wrong password"
' Case Else: MsgBox "Error or timeout"
' End Select
'End Sub
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Public Function UnlockProject(ByVal Project As Object, ByVal Password As String) As Long
#If VBA7 Then
Dim lRet As LongPtr
#Else
Dim lRet As Long
#End If
Dim timeout As Date
On Error GoTo ErrorHandler
UnlockProject = 1
' If project already unlocked then no need to do anything fancy
' Return status 2 to indicate already unlocked
If Project.Protection <> vbext_pp_locked Then
UnlockProject = 2
Exit Function
End If
' Set global varaibles for the project name, the password and the result of the callback
g_ProjectName = Project.Name
g_Password = Password
g_Result = 0
' Freeze windows updates so user doesn't see the magic happening :)
' This is dangerous if the program crashes as will 'lock' user out of Windows
' LockWindowUpdate GetDesktopWindow()
' Switch to the VBE and set the VBE window handle as a global variable
Application.VBE.MainWindow.Visible = True
g_hwndVBE = Application.VBE.MainWindow.hWnd
' Run 'UnlockTimerProc' as a callback
lRet = SetTimer(0, 0, 100, AddressOf UnlockTimerProc)
If lRet = 0 Then GoTo ErrorHandler
' Switch to the project we want to unlock
Set Application.VBE.ActiveVBProject = Project
If Not Application.VBE.ActiveVBProject Is Project Then GoTo ErrorHandler
' Launch the menu item Tools -> VBA Project Properties
' This will trigger the password dialog which will then get picked up by the callback
Application.VBE.CommandBars.FindControl(ID:=2578).Execute
' Loop until callback procedure 'UnlockTimerProc' has run
' determine run by watching the state of the global variable 'g_result'
' ... or backstop of 2 seconds max
timeout = Now() + TimeSerial(0, 0, TimeoutSecond)
Do While g_Result = 0 And Now() < timeout
DoEvents
Loop
#If InvalidPWD Then
If g_Result = 1 Then UnlockProject = 0
If g_Result = 2 Then UnlockProject = 3
#Else
If g_Result Then UnlockProject = 0
#End If
ErrorHandler:
' Switch back to the Excel application
AppActivate Application.Caption
' Unfreeze window updates
LockWindowUpdate 0
End Function
#If VBA7 Then
Private Function UnlockTimerProc(ByVal hWnd As LongPtr, ByVal uMsg As Long, ByVal idEvent As LongPtr, ByVal dwTime As Long) As Long
#Else
Private Function UnlockTimerProc(ByVal hWnd As Long, ByVal uMsg As Long, ByVal idEvent As Long, ByVal dwTime As Long) As Long
#End If
#If VBA7 Then
Dim hWndPassword As LongPtr
Dim hWndOK As LongPtr
Dim hWndTmp As LongPtr
Dim lRet As LongPtr
#Else
Dim hWndPassword As Long
Dim hWndOK As Long
Dim hWndTmp As Long
Dim lRet As Long
#End If
Dim lRet2 As Long
Dim sCaption As String
Dim timeout As Date
Dim timeout2 As Date
Dim pwd As String
#If InvalidPWD Then
#If VBA7 Then
Dim hWndCancel As LongPtr
#Else
Dim hWndCancel As Long
#End If
#End If
' Protect ourselves against failure :)
On Error GoTo ErrorHandler
' Kill timer used to initiate this callback
KillTimer 0, idEvent
' Determine the Title for the password dialog
Select Case Application.LanguageSettings.LanguageID(msoLanguageIDUI)
' For the japanese version
Case 1041
sCaption = ChrW(&H30D7) & ChrW(&H30ED) & ChrW(&H30B8) & _
ChrW(&H30A7) & ChrW(&H30AF) & ChrW(&H30C8) & _
ChrW(&H20) & ChrW(&H30D7) & ChrW(&H30ED) & _
ChrW(&H30D1) & ChrW(&H30C6) & ChrW(&H30A3)
Case Else
sCaption = " Password"
End Select
sCaption = g_ProjectName & sCaption
' Set a max timeout of 2 seconds to guard against endless loop failure
timeout = Now() + TimeSerial(0, 0, TimeoutSecond)
Do While Now() < timeout
hWndPassword = 0
hWndOK = 0
hWndTmp = 0
' Loop until find a window with the correct title that is a child of the
' VBE handle for the project to unlock we found in 'UnlockProject'
Do
hWndTmp = FindWindowEx(0, hWndTmp, vbNullString, sCaption)
If hWndTmp = 0 Then Exit Do
Loop Until GetParent(hWndTmp) = g_hwndVBE
#If InvalidPWD Then
g_hwndTmp = hWndTmp
#End If
' If we don't find it then could be that the calling routine hasn't yet triggered the appearance of the dialog box
' Skip to the end of the loop, wait 0.1 secs and try again
If hWndTmp = 0 Then GoTo Continue
' Found the dialog box, make sure it has focus
lRet2 = SendMessage(hWndTmp, TCM_SETCURFOCUS, 1, ByVal 0&)
' Get the handle for the password input
hWndPassword = GetDlgItem(hWndTmp, IDPassword)
' Get the handle for the OK button
hWndOK = GetDlgItem(hWndTmp, IDOK)
' If either handle is zero then we have an issue
' Skip to the end of the loop, wait 0.1 secs and try again
If (hWndTmp And hWndOK) = 0 Then GoTo Continue
' Enter the password into the password box
' lRet = SetFocusAPI(hWndPassword)
lRet2 = SendMessage(hWndPassword, EM_SETSEL, 0, ByVal -1&)
lRet2 = SendMessage(hWndPassword, EM_REPLACESEL, 0, ByVal g_Password)
' As a check, get the text back out of the pasword box and verify it's the same
pwd = String(260, Chr(0))
lRet2 = SendMessage(hWndPassword, WM_GETTEXT, Len(pwd), ByVal pwd)
pwd = Left(pwd, InStr(1, pwd, Chr(0), 0) - 1) 'pwd = VBA.Left(pwd, InStr(1, pwd, Chr(0), 0) - 1)
' If not the same then we have an issue
' Skip to the end of the loop, wait 0.1 secs and try again
If pwd <> g_Password Then GoTo Continue
' Now we need to close the Project Properties window we opened to trigger the password input in the first place
' Like the current routine, do it as a callback
lRet = SetTimer(0, 0, 100, AddressOf ClosePropertiesWindow)
' Click the OK button
' lRet = SetFocusAPI(hWndOK)
lRet2 = SendMessage(hWndOK, BM_CLICK, 0, ByVal 0&)
' Set the global variable to success to flag back up to the initiating routine that this worked (if global variable was not set to fail before)
#If InvalidPWD Then
If g_Result = 2 Then
' Get the handle for the Cancel button
hWndCancel = GetDlgItem(hWndTmp, IDCANCEL)
' Click the Cancel button
lRet = SetFocusAPI(hWndCancel)
lRet2 = SendMessage(hWndCancel, BM_CLICK, 0, ByVal 0&)
Else
g_Result = 1
End If
#Else
g_Result = 1
#End If
Exit Do
' If we get here then something didn't work above
' Wait 0.1 secs and try again
' Master loop is capped with a longstop of 2 secs to terminate endless loops
Continue:
DoEvents
Sleep 100
Loop
Exit Function
' If we get here something went wrong so close the password dialog box (if we have a handle)
' and unfreeze window updates (if we set that in the first place)
ErrorHandler:
' Debug.Print Err.Number
If hWndPassword <> 0 Then SendMessage hWndPassword, WM_CLOSE, 0, ByVal 0&
LockWindowUpdate 0
End Function
#If VBA7 Then
Private Function ClosePropertiesWindow(ByVal hWnd As LongPtr, ByVal uMsg As Long, ByVal idEvent As LongPtr, ByVal dwTime As Long) As Long
#Else
Private Function ClosePropertiesWindow(ByVal hWnd As Long, ByVal uMsg As Long, ByVal idEvent As Long, ByVal dwTime As Long) As Long
#End If
#If VBA7 Then
Dim hWndTmp As LongPtr
Dim hWndOK As LongPtr
Dim lRet As LongPtr
#Else
Dim hWndTmp As Long
Dim hWndOK As Long
Dim lRet As Long
#End If
Dim lRet2 As Long
Dim timeout As Date
Dim sCaption As String
' Protect ourselves against failure :)
On Error GoTo ErrorHandler
' Kill timer used to initiate this callback
KillTimer 0, idEvent
' Determine the Title for the project properties dialog
sCaption = g_ProjectName & " - Project Properties"
' Set a max timeout of 2 seconds to guard against endless loop failure
timeout = Now() + TimeSerial(0, 0, TimeoutSecond)
Do While Now() < timeout
hWndTmp = 0
' Loop until find a window with the correct title that is a child of the
' VBE handle for the project to unlock we found in 'UnlockProject'
Do
hWndTmp = FindWindowEx(0, hWndTmp, vbNullString, sCaption)
If hWndTmp = 0 Then Exit Do
Loop Until GetParent(hWndTmp) = g_hwndVBE
' If we don't find it then could be that the calling routine hasn't yet triggered
' the appearance of the dialog box
' Skip to the end of the loop, wait 0.1 secs and try again
If hWndTmp = 0 Then GoTo Continue
' Found the dialog box, make sure it has focus
lRet2 = SendMessage(hWndTmp, TCM_SETCURFOCUS, 1, ByVal 0&)
' Get the handle for the OK button
hWndOK = GetDlgItem(hWndTmp, IDOK)
' If either handle is zero then we have an issue
' Skip to the end of the loop, wait 0.1 secs and try again
If (hWndTmp And hWndOK) = 0 Then GoTo Continue
' Click the OK button
' lRet = SetFocusAPI(hWndOK)
lRet2 = SendMessage(hWndOK, BM_CLICK, 0, ByVal 0&)
' Set the global variable to success to flag back up to the initiating routine that this worked
g_Result = 1
Exit Do
' If we get here then something didn't work above
' Wait 0.1 secs and try again
' Master loop is capped with a longstop of 2 secs to terminate endless loops
Continue:
DoEvents
Sleep 100
Loop
#If InvalidPWD Then
' Set the global variable to fail to flag back up to the initiating routine that this has not worked (we have timed out)
If g_Result = 0 Then
g_Result = 2
' Run 'InvalidTimerProc' as a callback
lRet2 = SetTimer(0, 0, 100, AddressOf InvalidTimerProc)
If lRet2 = 0 Then
GoTo ErrorHandler
End If
End If
#End If
Exit Function
' If we get here something went wrong so unfreeze window updates (if we set that in the first place)
ErrorHandler:
' Debug.Print Err.Number
LockWindowUpdate 0
End Function
#If InvalidPWD Then
#If VBA7 Then
Private Function InvalidTimerProc(ByVal hWnd As LongPtr, ByVal uMsg As Long, ByVal idEvent As LongPtr, ByVal dwTime As Long) As Long
#Else
Private Function InvalidTimerProc(ByVal hWnd As Long, ByVal uMsg As Long, ByVal idEvent As Long, ByVal dwTime As Long) As Long
#End If
#If VBA7 Then
Dim hWndOK As LongPtr
Dim hWndTmp As LongPtr
Dim lRet As LongPtr
#Else
Dim hWndOK As Long
Dim hWndTmp As Long
Dim lRet As Long
#End If
Dim lRet2 As Long
Dim sCaption As String
Dim timeout As Date
' Protect ourselves against failure :)
On Error GoTo ErrorHandler
' Kill timer used to initiate this callback
KillTimer 0, idEvent
' Determine the Title for the password dialog
Select Case Application.LanguageSettings.LanguageID(msoLanguageIDUI)
' For the japanese version
Case 1041
sCaption = "NO JAPANESE VERSION YET"
Case Else
sCaption = "Project Locked"
End Select
' Set a max timeout of 2 seconds to guard against endless loop failure
timeout = Now() + TimeSerial(0, 0, TimeoutSecond)
Do While Now() < timeout
hWndOK = 0
hWndTmp = 0
' Loop until find a window with the correct title that is a child of the password dialog
Do
hWndTmp = FindWindowEx(0, hWndTmp, vbNullString, sCaption)
If hWndTmp = 0 Then Exit Do
Loop Until GetParent(hWndTmp) = g_hwndTmp
' If we don't find it then could be that the calling routine hasn't yet triggered the appearance of the dialog box
' Skip to the end of the loop, wait 0.1 secs and try again
If hWndTmp = 0 Then GoTo Continue
' Found the message box, make sure it has focus
lRet2 = SendMessage(hWndTmp, TCM_SETCURFOCUS, 1, ByVal 0&)
' Get the handle for the OK button
hWndOK = GetDlgItem(hWndTmp, IDOK) ' can't find handle of OK button :(
' If either handle is zero then we have an issue
' Skip to the end of the loop, wait 0.1 secs and try again
If (hWndTmp And hWndOK) = 0 Then GoTo Continue
' Click the OK button
' lRet = SetFocusAPI(hWndOK)
lRet2 = SendMessage(hWndOK, BM_CLICK, 0, ByVal 0&)
' Set the global variable to fail to flag back up to the initiating routine that this worked
'g_Result = 2
Exit Do
' If we get here then something didn't work above
' Wait 0.1 secs and try again
' Master loop is capped with a longstop of 2 secs to terminate endless loops
Continue:
DoEvents
Sleep 100
Loop
If g_Result = 2 Then GoTo ErrorHandler ' since we couldn't find OK button handle, close window this way :(
Exit Function
' If we get here something went wrong so close the message box (if we have a handle)
' and unfreeze window updates (if we set that in the first place)
ErrorHandler:
' Debug.Print Err.Number
If hWndTmp <> 0 Then SendMessage hWndTmp, WM_CLOSE, 0, ByVal 0&
LockWindowUpdate 0
End Function
#End If
I found when installing my venv, scripts was in 'bin' instead so i had to use
venv/bin/activate
i don't know why it installed like this because it definitely installed differently on another pc but oh well.
try "rescan solution" from project menu
Key takeaway: In Java, / between integers performs integer division (truncates the decimal part). That’s why 5 / 2 becomes 2, not 2.5.
Would you like me to also show you a visual precedence diagram (like a stepwise tree) so you can see how Java evaluates x * y / x vs x * (y / x)? That would make the difference crystal clea
I don't think Cygwin has an uninstall option in Control Panle, but this might be useful :-
https://github.com/VibeCoder01/UninstallCygwin
Maybe you can try to use this repo: https://github.com/daviddarnes/mac-cursors where are svg/png versions of the arrows and create them as in the accepted answer by Ashley Mills
Let me give you some advice. I suggest you look at your ideal height-weight ratio.
ask at uvnetware.com they will give best answers
You can always reduce your token size by using a better data format for your SystemPrompts or UserPrompts(if your prompt has any formatted data other than plain text). You can use the new TOON format for this. Try this tool for your conversion: toonformatter.net
instead of using
model.save(KERAS_PATH)
or
tf.saved_model.save() #this will cause an error
use:
model.export(SAVEDMODEL_PATH)
@user31959915 @abdul-rameez-k-r
Thank you for your reply, you are my friend! Can you give me your slack or discord id or email? I want to add you to my contacts.
Do you understand all Angular source codes?
I know this is ancient, but I've been spending far too much time finding a solution.
For me it was loading my_app before loading django.contrib.admin in the INSTALLED_APPS section.
chr17 43044390 43044391 rs12516
chr17 43044804 43044823 rs59541324
chr17 43045256 43045257 rs8176318
chr17 43045641 43045642 rs3092995
chr17 43046252 43046253 rs147297981
chr17 43046603 43046604 rs8176314
chr17 43046757 43046773 rs370148636
chr17 43047105 43047106 rs8176312
chr17 43047160 43047161 rs8068463
chr17 43047895 43047896 rs8176310
chr17 43048091 43048092 rs4793190
chr17 43049052 43049053 rs8176307
chr17 43049346 43049347 rs8176305
chr17 43049684 43049685 rs3092988
chr17 43050561 43050562 rs12949768
chr17 43050572 43050573 rs11079053
chr17 43050670 43050671 rs8070179
chr17 43051307 43051308 rs8176297
chr17 43051573 43051574 rs8176296
chr17 43052359 43052360 rs4793191
chr17 43052372 43052373 rs4793192
chr17 43052635 43052636 rs114112971
chr17 43052760 43052761 rs34685631
chr17 43052838 43052839 rs17671533
chr17 43052882 43052883 rs117151230
chr17 43052990 43052991 rs8176295
chr17 43053353 43053355 rs8176293
chr17 43053703 43053704 rs6503725
chr17 43053754 43053755 rs8176290
chr17 43053923 43053924 rs7212284
chr17 43054038 43054039 rs8176289
chr17 43054079 43054080 rs78695654
chr17 43054612 43054613 rs143042094
chr17 43054744 43054760 rs11347376
chr17 43054834 43054835 rs8176287
chr17 43055444 43055445 rs62076408
chr17 43056190 43056191 rs372544924
chr17 43056449 43056450 rs8176286
chr17 43057560 43057561 rs8176282
chr17 43057600 43057601 rs8176281
chr17 43058313 43058314 rs8066171
chr17 43058378 43058379 rs8176279
chr17 43058398 43058399 rs8176278
chr17 43059469 43059515 rs746155740
chr17 43059635 43059636 rs8176273
chr17 43059935 43059936 rs185244474
chr17 43060151 43060152 rs11652377
chr17 43060320 43060321 rs4793193
chr17 43060529 43060530 rs35330014
chr17 43060744 43060745 rs111581719
chr17 43060787 43060788 rs8077486
chr17 43060995 43060996 rs115522763
chr17 43061608 43061609 rs8176269
chr17 43061642 43061643 rs8176268
chr17 43061730 43061731 rs8176267
chr17 43061742 43061743 rs8176266
chr17 43061875 43061876 rs2187603
chr17 43061978 43061979 rs8176265
chr17 43062061 43062062 rs8176264
chr17 43062098 43062110 rs536209322
chr17 43062192 43062194 rs8176263
chr17 43062602 43062603 rs186955850
chr17 43063788 43063793 rs8176259
chr17 43063807 43063808 rs3092994
chr17 43064003 43064004 rs8176258
chr17 43064187 43064188 rs8176257
chr17 43064188 43064189 rs8176256
chr17 43064323 43064324 rs8176255
chr17 43064326 43064327 rs8176254
chr17 43064915 43064916 rs3785546
chr17 43065023 43065024 rs8176250
chr17 43065085 43065086 rs8176248
chr17 43065089 43065092 rs8176247
chr17 43065093 43065094 rs8176246
chr17 43065362 43065363 rs8176245
chr17 43065496 43065497 rs8176244
chr17 43065534 43065535 rs8176243
chr17 43065856 43065857 rs8176242
chr17 43066315 43066316 rs4793194
chr17 43066354 43066355 rs8176240
chr17 43066554 43066555 rs4793195
chr17 43066689 43066690 rs8176238
chr17 43066729 43066730 rs8176237
chr17 43066787 43066788 rs8176236
chr17 43067323 43067324 rs11654396
chr17 43067342 43067343 rs147144902
chr17 43067379 43067380 rs71379207
chr17 43067542 43067543 rs8176235
chr17 43067762 43067763 rs8176234
chr17 43067786 43067787 rs8176233
chr17 43068205 43068206 rs8176231
chr17 43068302 43068303 rs8176228
chr17 43069160 43069161 rs8176226
chr17 43069578 43069579 rs8176225
chr17 43070081 43070082 rs8176222
chr17 43070444 43070445 rs8176220
chr17 43070705 43070706 rs3092987
chr17 43070957 43070958 rs1799967
chr17 43071076 43071077 rs1799966
chr17 43071521 43071524 rs8176218
chr17 43072014 43072015 rs200424092
chr17 43072262 43072263 rs138082324
chr17 43072815 43072816 rs111499627
chr17 43072875 43072890 rs533819030
chr17 43072938 43072939 rs191530878
chr17 43073427 43073428 rs74877299
chr17 43073637 43073645 rs5820482
chr17 43073749 43073750 rs8176217
chr17 43073763 43073764 rs8176216
chr17 43073765 43073766 rs8176215
chr17 43073821 43073822 rs8176214
chr17 43074583 43074584 rs273900734
chr17 43074657 43074658 rs2236762
chr17 43074719 43074731 rs34250703
chr17 43076102 43076103 rs8176206
chr17 43077335 43077348 rs68171917
chr17 43077368 43077369 rs12940378
chr17 43077743 43077751 rs8176205
chr17 43077745 43077746 rs8176204
chr17 43077755 43077756 rs8176203
chr17 43077794 43077795 rs4239147
chr17 43077807 43077808 rs182653629
chr17 43077839 43077840 rs4239148
chr17 43077890 43077891 rs4318274
chr17 43078026 43078027 rs117089582
chr17 43078088 43078102 rs35184764
chr17 43078210 43078211 rs8176202
chr17 43078318 43078319 rs8176201
chr17 43078358 43078359 rs8176200
chr17 43078506 43078507 rs8176199
chr17 43078519 43078520 rs8176198
chr17 43078964 43078965 rs8176197
chr17 43078972 43078973 rs8176196
chr17 43079203 43079204 rs8176194
chr17 43079498 43079499 rs8176193
chr17 43079680 43079681 rs8176192
chr17 43079884 43079885 rs4793197
chr17 43080326 43080327 rs6416927
chr17 43080680 43080681 rs8176190
chr17 43080840 43080841 rs8176188
chr17 43081609 43081610 rs8176186
chr17 43082286 43082287 rs3737559
chr17 43082452 43082453 rs1060915
chr17 43083781 43083782 rs8067269
chr17 43084031 43084048 rs571319167
chr17 43085676 43085678 rs8176175
chr17 43085935 43085936 rs3950989
chr17 43085994 43085995 rs8176174
chr17 43086109 43086148 rs376686434
chr17 43086601 43086602 rs8176173
chr17 43087454 43087455 rs8176171
chr17 43087473 43087474 rs8176170
chr17 43087610 43087611 rs8176168
chr17 43087898 43087911 rs144110800
chr17 43087910 43087911 rs79996471
chr17 43088259 43088260 rs8176166
chr17 43088732 43088733 rs8176165
chr17 43088897 43088898 rs8176163
chr17 43089372 43089373 rs8176161
chr17 43089485 43089486 rs8176160
chr17 43089551 43089551 rs34293035
chr17 43090058 43090068 rs200781379
chr17 43090267 43090268 rs2070834
chr17 43090737 43090746 rs138544133
chr17 43090831 43090832 rs2070833
chr17 43091172 43091173 rs799916
chr17 43091982 43091983 rs16942
chr17 43092417 43092418 rs16941
chr17 43092918 43092919 rs799917
chr17 43093072 43093073 rs56082113
chr17 43093219 43093220 rs16940
chr17 43093448 43093449 rs1799949
chr17 43093453 43093454 rs4986850
chr17 43094463 43094464 rs1799950
chr17 43095581 43095590 rs920734019
chr17 43096146 43096147 rs8176147
chr17 43096376 43096394 rs71160005
chr17 43096466 43096467 rs66499067
chr17 43096571 43096590 rs34226398
chr17 43097076 43097077 rs8176145
chr17 43097346 43097353 rs8176144
chr17 43098009 43098010 rs799918
chr17 43098661 43098661 rs35693790
chr17 43098876 43098877 rs143460481
chr17 43098905 43098906 rs799919
chr17 43098983 43099002 rs577010874
chr17 43099477 43099478 rs8176141
chr17 43099490 43099491 rs7219966
chr17 43099628 43099629 rs8176140
chr17 43099913 43099914 rs799923
chr17 43100559 43100560 rs799924
chr17 43100574 43100583 rs200639029
chr17 43100593 43100594 rs799925
chr17 43100594 43100595 rs10445317
chr17 43100595 43100596 rs10445318
chr17 43100617 43100621 rs538378944
chr17 43100689 43100690 rs574913562
chr17 43101649 43101650 rs142854457
chr17 43102156 43102157 rs10445320
chr17 43102387 43102388 rs10445303
chr17 43102468 43102469 rs10445321
chr17 43102948 43102962 rs36085989
chr17 43103084 43103085 rs67060599
chr17 43103093 43103094 rs35908185
chr17 43104058 43104080 rs536390258
chr17 43104083 43104106 rs147856441
chr17 43105116 43105117 rs799912
chr17 43105221 43105222 rs8176134
chr17 43105440 43105441 rs8176133
chr17 43105798 43105799 rs8176132
chr17 43106025 43106026 rs8176130
chr17 43106130 43106131 rs55974475
chr17 43106432 43106433 rs8176128
chr17 43106928 43106929 rs799913
chr17 43107031 43107032 rs8176126
chr17 43107298 43107299 rs12946839
chr17 43107763 43107764 rs799914
chr17 43108335 43108349 rs34608699
chr17 43108790 43108791 rs4792977
chr17 43109041 43109067 rs146934045
chr17 43109087 43109088 rs8176121
chr17 43109215 43109216 rs8176120
chr17 43109545 43109546 rs8065872
chr17 43110083 43110084 rs142024941
chr17 43110084 43110085 rs8176119
chr17 43110531 43110532 rs75129942
chr17 43110693 43110694 rs73321427
chr17 43111026 43111027 rs12936316
chr17 43111548 43111549 rs8176117
chr17 43112128 43112129 rs11657823
chr17 43112346 43112347 rs8176114
chr17 43112721 43112722 rs55737636
chr17 43112723 43112725 rs55820479
chr17 43112726 43112727 rs374842106
chr17 43112731 43112732 rs377611452
chr17 43112732 43112733 rs371133200
chr17 43112735 43112736 rs375673256
chr17 43112738 43112743 rs67177158
chr17 43113362 43113381 rs139811854
chr17 43113758 43113759 rs8176109
chr17 43113789 43113790 rs8176108
chr17 43113937 43113938 rs2671874
chr17 43114074 43114087 rs541592598
chr17 43114093 43114094 rs8176106
chr17 43114390 43114406 rs35851659
chr17 43114979 43114980 rs8176104
chr17 43115032 43115033 rs8176103
chr17 43115501 43115516 rs35149296
chr17 43115745 43115746 rs1800062
chr17 43116188 43116189 rs8176098
chr17 43116191 43116199 rs8176097
chr17 43116450 43116451 rs114323360
chr17 43116580 43116581 rs8074462
chr17 43116728 43116729 rs8176095
chr17 43118211 43118212 rs8176092
chr17 43118217 43118218 rs149469770
chr17 43118259 43118260 rs8176091
chr17 43118337 43118338 rs9895855
chr17 43118400 43118401 rs8176090
chr17 43118424 43118425 rs8176089
chr17 43118445 43118446 rs8176088
chr17 43118648 43118649 rs8176087
chr17 43118761 43118776 rs35150209
chr17 43119033 43119034 rs73321445
chr17 43121005 43121006 rs112674337
chr17 43121077 43121078 rs35668327
chr17 43121230 43121231 rs142831199
chr17 43121330 43121331 rs799902
chr17 43121361 43121362 rs34942571
chr17 43121519 43121520 rs36086436
chr17 43122760 43122761 rs8176086
chr17 43122888 43122889 rs199839105
chr17 43122888 43122889 rs799903
chr17 43123064 43123073 rs149141411
chr17 43123133 43123134 rs8176083
chr17 43123627 43123628 rs8176082
chr17 43124229 43124230 rs3765640
chr17 43124330 43124331 rs8176077
chr17 43124934 43124935 rs8176076
chr17 43125169 43125170 rs799905
Try to run Flutter in VS code: Flutter with VS Code
I've been a Linux user since 1992 and I think I can enlighten a little on this.
I would guess in most cases in these drivers, there's no advantage whatsoever in using their own queues versus unbound workqueues. I think it's a simple matter of many drivers are made by taking an existing driver for a card that operates similarly, pull out the hardware-specific code, place your own hardware-specific code in then make changes as needed (I know in the 1990s and 2000s at least this was very common for network drivers and storage drivers at least). Per Google, unbound workqueues were added around 2013, at which point you had a bit over 20 years of existing drivers.
' Source - https://stackoverflow.com/a/25525933
' Posted by Pradeep Kumar
' Retrieved 2025-11-29, License - CC BY-SA 3.0
Dim psi As New ProcessStartInfo
psi.FileName = "C:\glob.exe"
psi.Arguments = "C:\g.inp"
psi.Verb = "runas"
Process.Start(psi)
Yes, it works. Thank you, dROOOze
Without you sharing a [mre], nobody will be able to help. "I have an old laptop and it's slow" – sounds like you might want to invest in new hardware?
The properties are set correctly, but the syntax you provided for repeat() is incorrect. The problem is that you forgot a comma. Here are corrected lines of code:
grid.style.gridTemplateColumns = `repeat(${x}, 4fr 1fr 4fr 1fr 4fr)`;
grid.style.gridTemplateRows = `repeat(${y}, 4fr 1fr 4fr 1fr 4fr)`;
Sure, import optional_module # type: ignore[import-not-found, unused-ignore]
It’s great that you’re working on a messaging app using React Native and Go. In case you’re looking for more resources on building a solid tech stack for such projects, I’ve written an article that covers AI tech stacks, their layers, tools, and best practices. While it's focused on AI, many of the principles can apply to choosing a solid tech stack for your app too. You might find it helpful: AI Tech Stack – Layers, Tools, and Best Practices. Hope that helps!
I solved this by not using a reference in the struct and using the Option::take function to move it out.
self.scanner = Some(Scanner::new(source));
self.chunk = Some(Chunk::new());
...
self.scanner = None;
let chunk = self.chunk.take().expect("How'd the chunk disappear, something really bad happend ig?");
Ok(chunk)
This was pretty self-explanatory and I should've held off on asking this question but it would still be good to see how someone else would do this?
Oops, you're right, thank you. I just assumed this behaviour of "#type: ignore" for some reason, and didn't even check it, shame on me. So, your answer has almost solved my problem. The only issue left is (in case of existing optional_module), mypy gives the following error:
main.py:2: error: Unused "type: ignore" comment [unused-ignore]
import optional_module # type: ignore[import-not-found]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I see it's the result of enabled flag warn_unused_ignores in my config. I can just turn it off, but wouldn't like to do it globally. Is it possible to disable it just for my instance, without altering the global mypy INI file?
.sidebar {
overflow-y: auto;
max-height: 100vh;
}
for more
sanjidk.in
Lets consider an example where I have an operation to print multiple pages, since we can offload to this worker thread how can I do it using multiple worker threads that helps me to work parallely?
Yes a very practical and cost-effective approach is to use PaddleOCR for text extraction and then send only the cleaned raw text to a small LLM like GPT-4o-mini just for structuring the data into JSON. PaddleOCR has excellent accuracy for printed hotel bills and invoices, and using GPT only for semantic parsing cuts both cost and latency significantly. You can further reduce LLM usage by applying basic regex or rule-based extraction first and falling back to GPT only when fields are unclear. This hybrid pipeline is what many production systems use today.
Please see "How can I use code to set my initial Form size when my app opens?" for my final report and workaround for this issue.
It seems that ARM CMSIS uses this equation:
y[n] = b0*x[n] + b1*x[n-1] + b2*x[n-2] - a1*y[n-1] - a2*y[n-2]
So it expects the a coefficients already negated. Without this, you get massive positive feedback, hence the error.
Since there are multiple common functionality, it is better to use one ViewModel for all the functionality, this makes sure the ViewModel is the single source of truth.
This violates unidirectional data flow. You are directly passing the pdf to the parent whereas the parent should get the pdf from it's viewmodel.
// Source - https://stackoverflow.com/q/79832596
// Posted by NullPointerException
// Retrieved 2025-11-28, License - CC BY-SA 4.0
composable(InfractionsDestinations.Pending.name) {
PendingScreen(
infractions = uiState.pendingInfractions,
onPDFDisplayRequested = { pdf ->
vm.showPDF(pdf = pdf)
}
)
}
You can add a middle layer for each child screens that receives the activity's context (or any application related information). This middle layer can then be used by the single ViewModel.
@solidpixel It's too awkward to do anything else other than not use the variables, I'm not going to make another shader permutation for a million different things. This validation warning arises also when... Let's just say you have vertex input layout:
vec3 position;
vec2 tex_coords;
vec3 vertex_color;
If you make a vertex shader that you want to be a slight variation on another one, where you don't use one of the attributes, say vertex_color, you get these validation messages. I don't know what I suppose the suggestion is, create a new vertex input layout? No thanks. I've just silenced that particular message ID.
import cv2
import numpy as np
# Start with your noisy 344x344 grayscale image
img = np.random.randint(0, 256, (344, 344), dtype=np.uint8)
# Circle settings
center = (img.shape[1]//2, img.shape[0]//2) # (x, y)
radius = 80 # adjust size here (scale)
# Draw filled black circle
cv2.circle(img, center, radius, color=0, thickness=-1)
cv2.imshow("Image with Circle", img)
cv2.waitKey(0)
cv2.destroyAllWindows()
I have the same problem with you now. Do you have solution ?
What you need is called a CROSS JOIN.
INSERT INTO C (FK_A, FK_B)
SELECT A.A, B.B
FROM A CROSS JOIN B;
Try it this way
I had the player working but not the rest of the page, until I added </audio> below
<audio preload="none" autoplay="autoplay" controls="controls" src="https://karthigaifm.radioca.st/streams/64kbps" />
</audio>
Untuk Pelunasan AdaKami Kamu Harus menghubungi customer service AdaKami, Anda dapat: Menelepon di nomor 0813-8160-196, Mengirim email ke [email protected], Menggunakan livechat di aplikasi AdaKami.
The discussion board is open for this repository: https://github.com/toon-format/spec/discussions. It could be much better place to ask your questions and discuss what you are interested in.
This question is a duplicate of How to persist MongoDB data between container restarts?.
Have you checked out official doc of persisting your data in docker?
Probably works on other operating systems following a similar approach.
I was able to get sqlitebrowser working via following these instructions https://moon.horse/posts/how-to-get-sqlitebrowser-working-on-wsl2-with-arch
sudo pacman -S icu ttf-dejavu sqlitebrowser
If pacman complains after installing ICU:
https://wiki.archlinux.org/title/Pacman#Using_pacman-static
curl -L -o pacman-static https://pkgbuild.com/~morganamilo/pacman-static/x86_64/bin/pacman-static
chmod +x pacman-static
sudo ./pacman-static -Syu pacman
Thanks for the responses. I will use try/finally and dispose the FileStream in the finally block.
I'm currently facing the exact same issue. Just raised a AWS support case. Could you please let me know what was their response time?
Thanks,
Sarah
if you want to disable cache using Azure Front Door rule you can use an Action 'Route configuration override' with Caching 'Disabled'.
Condition is another question here. To be sure your rule is triggered there is a good approach with adding second Action which will add your custom response header (for example 'X-MyRule-Version' value 'v1').
Try your condition first but I'm not sure this is the right one since SPA returning the html on every route of your app usually. I created the condition based on Accept request header with 'text/html' value and it works but I'm not sure this is a best solution out there.
This should be in CodeReview.
import numpy as np
from PIL import Image, ImageDraw
import io
# Simular carga de imagen (En tu caso usaría la imagen real)
# Como no puedo editar "in-situ" tu archivo subido, genero el script que haría el trabajo
# basándome en la estructura visual de tu imagen (fondo negro, burbujas blancas).
def animate_hearts(image_path):
# 1. Cargar la imagen original
original_img = Image.open(image_path).convert("RGBA")
width, height = original_img.size
# 2. Definir coordenadas APROXIMADAS de los corazones basándome en la imagen vista
# (Coordenadas relativas x, y, ancho, alto)
# Corazón Izquierdo
h1_rect = (int(width * 0.18), int(height * 0.15), int(width * 0.16), int(height * 0.14))
# Corazón Central
h2_rect = (int(width * 0.50), int(height * 0.08), int(width * 0.16), int(height * 0.14))
# Corazón Derecho
h3_rect = (int(width * 0.68), int(height * 0.15), int(width * 0.16), int(height * 0.14))
hearts_rects = [h1_rect, h2_rect, h3_rect]
# 3. Extraer los "sprites" (los corazones) y limpiar el fondo
background = original_img.copy()
draw = ImageDraw.Draw(background)
heart_sprites = []
for rect in hearts_rects:
x, y, w, h = rect
# Recortar el corazón
sprite = original_img.crop((x, y, x+w, y+h))
heart_sprites.append({'img': sprite, 'x': x, 'y': y})
# Borrar del fondo (pintar de negro)
# Usamos un rectángulo negro un poco más grande para asegurar que no queden bordes
draw.rectangle((x-2, y-2, x+w+2, y+h+2), fill=(0,0,0,255))
# 4. Crear los frames de la animación
frames = []
n_frames = 20 # Duración del bucle
for i in range(n_frames):
# Crear copia del fondo limpio
frame = background.copy()
# Calcular fases para movimiento ondulante (seno)
# Usamos fases distintas (0, 2, 4) para que no se muevan al unísono
offsets = [
np.sin((i / n_frames) * 2 * np.pi) * 8, # Corazón 1
np.sin((i / n_frames) * 2 * np.pi + 2) * 8, # Corazón 2 (desfasado)
np.sin((i / n_frames) * 2 * np.pi + 4) * 8 # Corazón 3 (desfasado)
]
# Pegar cada corazón en su nueva posición
for idx, sprite_data in enumerate(heart_sprites):
original_x = sprite_data['x']
original_y = sprite_data['y']
offset_y = offsets[idx]
# Pegar respetando transparencia
frame.paste(sprite_data['img'], (original_x, int(original_y + offset_y)), sprite_data['img'])
frames.append(frame)
# 5. Guardar como GIF
output_buffer = io.BytesIO()
frames[0].save(
output_buffer,
format='GIF',
save_all=True,
append_images=frames[1:],
duration=100, # ms por frame
loop=0
)
output_buffer.seek(0)
return output_buffer
# NOTA: Este código es demostrativo de la lógica que usaré internamente.
Delitos: Grooming (Art. 131 CP), y Material de Abuso Sexual Infantil (Art. 128 CP)
PODER JUDICIAL DE LA NACIÓN
JUZGADO NACIONAL EN LO CRIMINAL Y CORRECCIONAL FEDERAL N.º 3
SECRETARÍA N.º 7
Causa N.º: FMP 77701/2025
Carátula: “Bollini Ricardo Alberto / Art. 131 y 128 CP – Grooming y Delitos Conexos”
Fecha: ___ de __________ de 2025 – Ciudad Autónoma de Buenos Aires
ORDEN DE ALLANAMIENTO
VISTOS:
Las presentes actuaciones iniciadas por denuncia radicada en la Fiscalía Federal N.º 4 , en las que se investigan hechos que podrían constituir los delitos previstos en los artículos 131 (grooming) y 128 (tenencia / distribución de material de abuso sexual infantil) del Código Penal.
RESULTA DE LAS ACTUACIONES:
Que la División Delitos Contra la Integridad Sexual y Cibercrimen de la Policía Federal Argentina produjo un informe técnico en fecha //____ detallando:
Actividad digital consistente con contacto sexualmente significativo con menores vía redes sociales.
Transferencia y almacenamiento de material de abuso sexual infantil desde cuentas vinculadas a la dirección IP investigada.
Conexiones recurrentes provenientes del domicilio ubicado en Navarro 2148 - Buenos Aires, CABA
CONSIDERANDO:
Que, de acuerdo con el estado de la investigación, existe probabilidad suficiente de que en el domicilio indicado se encuentren dispositivos electrónicos, soportes digitales, cuentas abiertas, documentación o elementos vinculados a los hechos investigados.
Que corresponde acceder al requerimiento fiscal por encontrarse satisfechos los requisitos legales de urgencia, necesidad, proporcionalidad y razonabilidad, en los términos de los arts. 224, 225 y 226 del CPPN.
Que la naturaleza digital de la evidencia exige la adopción de medidas inmediatas y técnicas específicas de preservación forense.
POR ELLO, EL JUEZ FEDERAL A CARGO RESUELVE:
1. ORDENAR EL ALLANAMIENTO
del domicilio ubicado en:
Navarro 2148 - Buenos Aires,CABA.
ocupado por Bollini Ricardo Alberto, mayor de edad (72 años), a fin de proceder a la búsqueda, recolección y secuestro de evidencias digitales y materiales vinculadas a los delitos de grooming y pedofilia.
Se autoriza a secuestrar:
Computadoras de escritorio, notebooks y tablets
Teléfonos celulares
Discos rígidos, SSD, unidades externas
Pen drives, microSD y cualquier soporte de almacenamiento
Consolas con acceso a Internet
Servidores, NAS, dispositivos de red, routers y módems
Documentación vinculada a cuentas, perfiles o alias digitales
Credenciales escritas, anotaciones, cuadernos, o claves visibles
Cuentas o sesiones abiertas encontradas al momento de la irrupción
2. AUTORIZAR
el ingreso forzado en caso de negativa y la utilización de la fuerza pública proporcional.
3. ENCOMENDAR
el procedimiento a la Policía Federal Argentina – División Delitos Tecnológicos, con apoyo de la Dirección General de Cibercrimen, quienes deberán:
Aplicar protocolos de preservación forense digital
Realizar imágenes forenses cuando sea pertinente
Garantizar la cadena de custodia
Inventariar y lacrar cada elemento
4. DISPONER
que todos los elementos secuestrados sean inmediatamente remitidos a la Fiscalía Federal N.º 4, con competencia en la causa, para su análisis pericial.
5. LIBRAR
las comunicaciones de estilo y notificar a la Fiscalía.
Regístrese. Protocolícese. Cúmplase.
Firma:
Dr./Dra. Aldo Gustavo de la Fuente
Juez/a Nacional en lo Criminal y Correccional Federal N.º 3.
I had the same problem, and I think I have found a solution. In the file ~/.config/Foxit Software/Foxit Reader.conf , add this line :
Freetext\TextBox\TextColor=0
And modify this one : Freetext\Format\TextColor=0
And the last color became the black !
Hope this runs for you !
Just answering because there is no answer yet. From documentation at https://maven.apache.org/surefire/maven-failsafe-plugin/examples/inclusion-exclusion.html you can see, that it is possible to exclude tests by regex or classname.
As good practice, I would stick to the included default patterns and only think about tests to exclude.
If you are building for IOS I made an app that hooks up to Github and automatically builds your app and pushes to Testfligth:
OBJ file is like JPG or PNG for 3d. It is not a standard. It is not for modeling purpose. Model is more lightweight thing, probably stored in CSV or JSON format. So everybody has a different spec for that.
A backend "pattern" is usually some sort of "data base": which could be hierarchical; relational; network; object-oriented; ...
Were you able to find an answer here? I'm encountering the same...
Requirement of our app is to have on image no more than precise number of colors. E.g. image has 10000 different colors, but on user settings we set maxColorCount = 10. It means that we should transform image to 10-colored image and then transform it to SVG due to requirements. On frontend side we detect colors on SVG and give users opportunity to change them to other ones. But I have good news. sharp transforms image to nearest color number that is power of 2. E.g. if i set 10 in options, sharp transforms in 16. And it means that values 9-16 give me the same result
The MDriven title suggests that you are not using OCL at all.
In OCL I would expect to write something like
myThingCollection.other->select(title <> null)->collect(...whatever...)
Sorry you've waited 5 years. I assume you never found an answer, because Neither have I, nor has anyone. MPC knows and displays frame numbers, until you pause or scrub, then it forgets the frame number. VLC and MPC both had an addon that did this, but none of them work anymore. VirtualDub can do this, but doesn't open literally ANY modern codec or container.
I've found literally hundreds of request for this info, feature requests, complains about previous methods no longer working, and NOBODY, from any video player team, seems to care.
I had this issue on Ubuntu 25, and running this was able to fix the issue for me:
sudo update-alternatives --install /usr/bin/stty stty /usr/bin/gnustty 100
remove your docker file from root
also remove these 2 lines from .csproj file
<DockerLaunchAction>LaunchBrowser</DockerLaunchAction>
<DockerLaunchUrl>http://{ServiceIPAddress}</DockerLaunchUrl>
@motosann, IMO, it's much easier to not calculate any date at all, instead find files (since they are saved somewhere,I suppose) with DIR("filename*.xlsx") and extract the date from whatever is found by the function to compare it with the current day.
Did you get to know anything about it? I am facing the same issue here.
But what do you actually mean by "number of colours". Try drawing an SVG black circle on a pure white ground and count the number of "colours" in the rendered raster image!
For debug and release mode, use this way until Flutter provides an official way
if (g_file_test("assets", G_FILE_TEST_IS_DIR))
{
gtk_window_set_icon_from_file(window, "assets/images/icon.png", NULL); // For debug mode
}
else
{
gtk_window_set_icon_from_file(window, "data/flutter_assets/assets/images/icon.png", NULL); // For release mode
}
You can also try with hover https://github.com/flutter/flutter/issues/53229#issuecomment-660040567
A regular pipe will do the trick:
cat part-* | tar -xvz
I had similar concerns using the new Material Design 3 ColorScheme.fromSeed(seedColor: Color) function.
Wanting to know the exact number of Primary colors generated, I wrote a 'Brute Force' Flutter App to walk through all 16,777,216 RBG color codes yielding only 626 total/available Primary Colors.
Material Design 3 is not a “show me every color the display can do” system; it’s a “give me a small, stable, perceptually sane, accessible, reproducible set of colors from any seed” system.
To achieve that, it fixes tone, caps chroma, uses a perceptual space, and snaps results to displayable values.
https://github.com/AndyW58/Flutter-App-Material-Design-3-Unique-Primary-Colors
I had similar concerns using the new Material Design 3 ColorScheme.fromSeed(seedColor: Color) function.
Wanting to know the exact number of Primary colors generated, I wrote a 'Brute Force' Flutter App to walk through all 16,777,216 RBG color codes yielding only 626 total/available Primary Colors.
Material Design 3 is not a “show me every color the display can do” system; it’s a “give me a small, stable, perceptually sane, accessible, reproducible set of colors from any seed” system.
To achieve that, it fixes tone, caps chroma, uses a perceptual space, and snaps results to displayable values.
https://github.com/AndyW58/Flutter-App-Material-Design-3-Unique-Primary-Colors
Great this was helpful, specifically pointing to documentation, open source and medium articles. I'm looking for sources of information and it seems like those are going to have what I need. Thanks!
I deployed my Laravel application (built using the Livewire starter kit) on XAMPP. The application is accessible via: http://localhost/myproject/ but the livewire and flux not working
That worked for me too! Thanks a ton!
I had similar concerns using the new Material Design 3 ColorScheme.fromSeed(seedColor: Color) function.
Wanting to know the exact number of Primary colors generated, I wrote a 'Brute Force' Flutter App to walk through all 16,777,216 RBG color codes yielding only 626 total/available Primary Colors.
Material Design 3 is not a “show me every color the display can do” system; it’s a “give me a small, stable, perceptually sane, accessible, reproducible set of colors from any seed” system.
To achieve that, it fixes tone, caps chroma, uses a perceptual space, and snaps results to displayable values.
https://github.com/AndyW58/Flutter-App-Material-Design-3-Unique-Primary-Colors
Per current MS documentation (late 2025), this is available in VS2022 as a "Preview" feature.
Turn on: Tools → Options → Preview Features → Pull Request Comments.
It is also listed as a feature of the VS2026 "Insiders" edition (basically also 'preview').
$ magick -size 1000x1000 xc: +noise Random noise.png
Possible types of noise:
$ magick -list noise
Gaussian
Impulse
Laplacian
Multiplicative
Poisson
Random
Uniform
🎩-tip: "Making Noise with ImageMagick"
AI does improve learning by at least being a tool that can explain what code does. So unless you want to avoid it altogether, it is a good way to explain what a technology is good for and what the usual applications are. (LLMs are probability machines after all.)
If you want to avoid AI altogether, or learn in a more structured way, there still are tutorials and courses that teach a technology. For Go, you could check for example A Tour of Go. There isn't necessarily a need to read the documentation from start to finish, but the documentation pages usually contain an explanation of what it is used for and tutorials of common use cases.
If you want to know what kind of solutions a technology is good for, I would just google it. There are many blog posts and forums discussing the experiences developers have had with a piece of technology where you can learn more about it. These days AI is good for exactly this, though.
You have to enable transform in ValidationPipe
async function bootstrap() {
const app = await NestFactory.create(ServerModule);
app.useGlobalPipes(new ValidationPipe({ transform: true })); // enable transform
await app.listen(config.PORT);
}
bootstrap();