1. try deleting your build folder in Xcode, with the shortcut CMD + SHIFT + K
2. remove the app from your phone
3. restart your iPhone
4. rebuild and run
5. check whether WeatherKit is working properly from the Apple side (https://developer.apple.com/system-status/)
I came across a similar problem and realized I had some lint issues and the build was not successful with errors. So try to build you project and see if there are any errors, then try running again after fixing errors
Well, first of all, reason for your component re-rendering over and over seems to be
circular dependency.
in useEffect dependency array you have added cards, and in that useEffect you have called a function that changes the values of cards ,
so when first time this useEffect will run and your function will be executed then the value of cards will be changed so it will trigger the useEffect again because cards has been added as dependency so every time cards changes useEffect will run the function in it , so it will go to infinite loop.
well i don't think you need to add cards in dependency array as you only changes its value based on the data you get from the api call, which will be called at least one time even if make dependency array empty.
Error uploading script: Process exited with status 1
meams you don t have enough space in your virtual hard drivr
In MySQL, use the AUTO_INCRMENT keyword, and the column must be defined as a primary key (PRIMARY KEY) or have a unique index (UNIQUE index).
like this
CREATE TABLE users (
id INT NOT NULL AUTO_INCREMENT,
username VARCHAR(50) NOT NULL,
email VARCHAR(100),
PRIMARY KEY (id)
);
After trying very many suggestions to solving this issue I finally got to get an easy way to fix it:
To fix
how do I fix this
Last login: Sun Jun 22 09:02:21 on ttys000
[WARNING]: Console output during zsh initialization detected.
When using Powerlevel10k with instant prompt, console output during zsh
initialization may indicate issues.
You can:
- Recommended: Change ~/.zshrc so that it does not perform console I/O
after the instant prompt preamble. See the link below for details.
* You will not see this error message again.
* Zsh will start quickly and prompt will update smoothly.
- Suppress this warning either by running p10k configure or by manually
defining the following parameter:
typeset -g POWERLEVEL9K_INSTANT_PROMPT=quiet
* You will not see this error message again.
* Zsh will start quickly but prompt will jump down after initialization.
- Disable instant prompt either by running p10k configure or by manually
defining the following parameter:
typeset -g POWERLEVEL9K_INSTANT_PROMPT=off
* You will not see this error message again.
* Zsh will start slowly.
- Do nothing.
* You will see this error message every time you start zsh.
* Zsh will start quickly but prompt will jump down after initialization.
For details, see:
https://github.com/romkatv/powerlevel10k#instant-prompt
-- console output produced during zsh initialization follows --
[oh-my-zsh] plugin 'zsh-autosuggestions' not found
[oh-my-zsh] plugin 'zsh-syntax-highlighting' not found
You only need to comment out this line in your zshrc:
plugins=(git zsh-autosuggestions zsh-syntax-highlighting)
Had a similar kind of issue while generate jooq classes from spring boot,
Unable to parse configuration of mojo org.jooq:jooq-codegen-maven:3.20.5:generate for parameter schema: Cannot find default setter in class org.jooq.meta.jaxb.SchemaMappingType found out <inputSchema></inputSchema> was missing .
Hope it helps somebody ! .
Using white-space is a good soution, but you can try also with text-wrap-mode
ul {
text-wrap-mode:nowrap;
}
li {
display:inline-block;
}
Just run the following in powershell as an admin and re-start pc
wsl --update
wsl --set-default-version 2
worked for me this way:
.Sum(x => (decimal?)x.Amount) ?? 0; // works
.Sum(x => (decimal?)x.Amount ?? 0); // did not work
what worked for me is setting the length of tick dynamically to same as the number of labels
so :
labels =["label1","label2"]
plt.xticks(np.arange(len(labels)), labels)
My configuration file is wrong. Filestream mode requires parsers
When this happened to me, it was because I was making the setFilterByAuthorizedAccounts
option true
, which restricts your app to only letting users sign in if they already have an account registered. The documentation says to try getting the credentials with it set to true
, and if given a NoCredentialException,
you should try again with it set to false
so that the user can create a new account.
<!DOCTYPE html>
<html lang="ar">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>تحدي القراءة متعدد اللغات</title>
<style>
body {
background-color: #0d1117;
color: white;
font-family: 'Tahoma', sans-serif;
text-align: center;
padding: 20px;
margin: 0;
position: relative;
}
h1 {
font-size: 24px;
margin-bottom: 20px;
}
#language {
position: absolute;
top: 20px;
right: 20px;
padding: 8px 12px;
font-size: 16px;
background-color: #00aaff;
color: white;
border: none;
border-radius: 8px;
cursor: pointer;
}
#language:hover {
background-color: #0088cc;
}
#counter {
margin: 10px 0;
font-size: 18px;
color: #00ffaa;
}
.word {
font-size: 22px;
margin: 4px;
display: inline-block;
padding: 6px 8px;
border-radius: 8px;
transition: background-color 0.3s, color 0.3s, transform 0.3s;
}
.read {
background-color: #00aaff;
color: #fff;
animation: pop 0.3s ease;
}
.current {
border: 2px dashed #00ffaa;
background: linear-gradient(45deg, #00ffaa33, #00aaff33);
animation: blink 1s infinite;
}
@keyframes pop {
0% { transform: scale(1); }
50% { transform: scale(1.2); }
100% { transform: scale(1); }
}
@keyframes blink {
0%, 100% { opacity: 1; }
50% { opacity: 0.3; }
}
button {
font-size: 18px;
padding: 10px 16px;
margin: 10px 5px;
border: none;
border-radius: 10px;
background-color: #00aaff;
color: white;
cursor: pointer;
width: 90%;
max-width: 300px;
}
button:hover {
background-color: #0088cc;
}
#text {
margin: 20px auto;
max-width: 90%;
line-height: 2;
}
#status {
margin-top: 15px;
font-size: 18px;
color: #ffaa00;
}
audio {
display: none;
}
</style>
</head>
<body>
<select id="language" onchange="changeLanguage()">
<option value="ar">🇸🇦 العربية</option>
<option value="en">🇺🇸 English</option>
<option value="es">🇪🇸 Español</option>
<option value="fr">🇫🇷 Français</option>
</select>
<h1>📢 اقرأ الكلمة التالية بصوتك</h1>
<div id="counter">قرأت 0 كلمة</div>
<div id="text"></div>
<button onclick="startListening()">🎙️ ابدأ القراءة</button>
<button onclick="resetReading()">🔁 إعادة</button>
<button onclick="changeSentence()">🔀 جملة جديدة</button>
<div id="status"></div>
<audio id="ding" src="https://cdn.pixabay.com/download/audio/2021/08/04/audio_b4b9dc4904.mp3?filename=correct-2-46134.mp3"></audio>
<audio id="wrong" src="https://cdn.pixabay.com/download/audio/2022/03/15/audio_1f4bc94c33.mp3?filename=error-126627.mp3"></audio>
<audio id="done" src="https://cdn.pixabay.com/download/audio/2021/10/26/audio_d1a455b0d6.mp3?filename=correct-answer-4-204118.mp3"></audio>
<script>
const allSentences = {
ar: [
"كل نجاح يبدأ بخطوة فلا تتردد",
"الصبر مفتاح الفرج والثقة طريق الراحة",
"المستحيل مجرد رأي وليس حقيقة",
"الفشل هو بداية الطريق إلى النجاح",
"التعليم هو السلاح الأقوى الذي يمكنك استخدامه لتغيير العالم",
"العقل زينة والحكمة مفتاح النجاح",
"القراءة توسّع المدارك وتبني العقول"
],
en: [
"Success is a journey not a destination",
"Hard work beats talent when talent does not work hard",
"The future depends on what you do today",
"Believe you can and you're halfway there",
"Reading expands the mind and opens doors to success"
],
es: [
"El éxito comienza con un paso",
"Nunca renuncies a tus sueños",
"El fracaso es el primer paso hacia el éxito",
"Cree en ti mismo y sigue adelante",
"La lectura te hace libre y sabio"
],
fr: [
"Le succès commence par un pas",
"N'abandonne jamais tes rêves",
"L'échec est la première étape vers le succès",
"Crois en toi et avance",
"La lecture ouvre l'esprit et nourrit l'âme"
]
};
const langs = {
ar: "ar-SA",
en: "en-US",
es: "es-ES",
fr: "fr-FR"
};
let currentText = "";
let currentLang = "ar";
let currentWordIndex = 0;
let spans = [];
const textContainer = document.getElementById("text");
const counter = document.getElementById("counter");
const sound = document.getElementById("ding");
const wrongSound = document.getElementById("wrong");
const doneSound = document.getElementById("done");
const languageSelect = document.getElementById("language");
const status = document.getElementById("status");
let recognition;
let isListening = false;
function normalize(text) {
return text
.normalize("NFD").replace(/[\u064B-\u065F\u0610-\u061A\u06D6-\u06ED]/g, "")
.replace(/[إأآا]/g, "ا")
.replace(/ء/g, "")
.replace(/[يى]/g, "ي")
.replace(/[^a-zA-Zأ-ي0-9 ]/g, "")
.trim().toLowerCase();
}
function compareWords(w1, w2) {
const a = normalize(w1);
const b = normalize(w2);
if (a === b) return 1;
let matches = 0;
const minLen = Math.min(a.length, b.length);
for (let i = 0; i < minLen; i++) {
if (a[i] === b[i]) matches++;
}
return matches / Math.max(a.length, b.length);
}
function displayText(text) {
textContainer.innerHTML = "";
currentWordIndex = 0;
const words = text.split(" ");
spans = [];
words.forEach((word, index) => {
const span = document.createElement("span");
span.className = "word";
span.textContent = word;
if (index === 0) span.classList.add("current");
spans.push(span);
textContainer.appendChild(span);
});
updateCounter();
}
function updateCounter() {
const readCount = document.querySelectorAll(".read").length;
const total = spans.length;
const messages = {
ar: `قرأت ${readCount} من ${total} كلمة`,
en: `You read ${readCount} of ${total} words`,
es: `Leíste ${readCount} de ${total} palabras`,
fr: `Vous avez lu ${readCount} sur ${total} mots`
};
counter.textContent = messages[currentLang];
}
function setupRecognition() {
recognition = new webkitSpeechRecognition();
recognition.lang = langs[currentLang];
recognition.continuous = true;
recognition.interimResults = true;
recognition.onresult = function(event) {
const transcript = event.results[event.results.length - 1][0].transcript.trim();
const spoken = normalize(transcript);
const currentWord = normalize(spans[currentWordIndex]?.textContent || "");
const similarity = compareWords(spoken, currentWord);
if (similarity >= 0.8) {
spans[currentWordIndex].classList.remove("current");
spans[currentWordIndex].classList.add("read");
sound.play();
currentWordIndex++;
if (spans[currentWordIndex]) {
spans[currentWordIndex].classList.add("current");
} else {
status.textContent = currentLang === "ar" ? "🎉 أحسنت! انتهيت من الجملة" :
currentLang === "en" ? "🎉 Well done! Sentence completed" :
currentLang === "es" ? "🎉 ¡Bien hecho! Frase completada" :
"🎉 Bravo ! Phrase terminée";
doneSound.play();
recognition.stop();
isListening = false;
}
updateCounter();
} else {
wrongSound.play();
status.textContent = currentLang === "ar"
? `❌ لم يتم التعرف على الكلمة بدقة: "${transcript}"`
: `❌ Not accurate: "${transcript}"`;
}
};
recognition.onerror = () => restartRecognition();
recognition.onend = () => { if (isListening) restartRecognition(); };
}
function startListening() {
if (isListening) return;
isListening = true;
status.textContent = currentLang === "ar" ? "🎧 جاري الاستماع..." :
currentLang === "en" ? "🎧 Listening..." :
currentLang === "es" ? "🎧 Escuchando..." :
"🎧 Écoute en cours...";
setupRecognition();
recognition.start();
}
function restartRecognition() {
if (recognition) recognition.stop();
setupRecognition();
recognition.start();
}
function resetReading() {
spans.forEach(span => span.classList.remove("read", "current"));
if (spans[0]) spans[0].classList.add("current");
currentWordIndex = 0;
updateCounter();
status.textContent = "";
if (recognition) recognition.stop();
isListening = false;
}
function changeSentence() {
const list = allSentences[currentLang];
const randomIndex = Math.floor(Math.random() * list.length);
currentText = list[randomIndex];
resetReading();
displayText(currentText);
}
function changeLanguage() {
currentLang = languageSelect.value;
document.body.dir = currentLang === "ar" ? "rtl" : "ltr";
changeSentence();
}
window.onload = () => {
currentText = allSentences[currentLang][0];
displayText(currentText);
document.body.dir = currentLang === "ar" ? "rtl" : "ltr";
};
</script>
</body>
</html>
Skrip voice-over dalam Bahasa Melayu
script = """
Seluar wanita potongan lurus, potongannya kemas dan fleksibel.
Pinggang tinggi, stretch empat arah, ringan dan cepat kering – sesuai untuk pejabat dan santai!
Satu seluar, dua gaya – mix and match ikut mood! Nak ke office atau keluar minum, semua boleh.
RM22 saja – banyak warna dan saiz dari S sampai XXL! Klik link sekarang!
"""
# Hasilkan audio dengan Google Text-to-Speech
tts = gTTS(text=script, lang='ms')
tts.save("voice_over_elgini.mp3")
print("Voice-over berjaya disimpan sebagai voice_over_elgini.mp3")
im a noob but back in web design I would always use css transitions for specific links or text to fade in or out. super easy, don't have time to look up the code but css effects still do their job yo yo cool bye
Try using simply : main()
It is not the fanciest and may not work for all applications, but it works for me.
std::cout << "This is the end of the code.";
main()
Thankyou for the confirmation that there's no direct way in .NET. I knew it was a long-shot.
Spectre.Console looks really good, but probably a bit like using a nuke to poison a weed for this project. I think I'll be using it in future projects, though.
I will be going with "Plan B" (or variant thereof).
Use lodash-es
import { isEqual } from 'lodash-es';
you need to override their default styles using CSS. For the carousel buttons, target the .carousel-control-prev-icon
and .carousel-control-next-icon
classes—these use SVG background images by default, so you can either change the background-color
or remove the background image and use ::before
with custom content. For the back-to-top button, target the .scroll-top
class and set the desired background-color
and color
properties. Make sure your custom CSS is loaded after the template's main stylesheet to ensure it takes effect.
Exactly same problem here, anyone who help?
Go to XCode -> Settings -> Components
Check if IOS is installed if not install it and run `flutter doctor` again. It should fix.
The problem is because you are multiplying 2 rounded values (G21,H21). But in J21 the multiplication is with the full precision. To fix this, you can do like this:
=ROUND(
SUM(G13:G20) * SUM(H13:H20),
0)
Are you still facing this issue? How to fix the issue?
Operators interpret the text loosely. Whereas formulas such as COUNTIF, SUMIF, etc are more strict in the data type. In your case, you have 2 data types: text and integers. You cannot put text when the formula is expecting to get numbers.
When you use the operators with a text, that text will be considered bigger than any number. Thus it will provide TRUE. Example: "aaple" >25, it will return true.
i am facing the same issue i have build.gradle.kts and i use this
packaging {
resources {
excludes.addAll(
listOf(
"lib/arm64-v8a/libc++_shared.so",
"lib/armeabi-v7a/libc++_shared.so",
"lib/x86/libc++_shared.so",
"lib/x86_64/libc++_shared.so"
)
)
pickFirsts.add("lib/**/libc++_shared.so") // Prioritize Flutter's version
// Fallback: merge if exclusion fails
merges.add("lib/arm64-v8a/libc++_shared.so")
}
}
still i am facing the issue its not resolving please help me
When using Ionic with Angular, you should use Angular's router.
This is detailed here: https://ionicframework.com/docs/angular/navigation
In my case, I was missing importing "RouterModule", so the links were not working.
import { RouterModule } from '@angular/router';
@Component({
...
standalone: true,
imports: [
RouterModule,
I just have exactly the same problem: waiting for 20 mins and found nothing happened. It's no reason for it to run such long. What I did was to check whether my pip was up to date, and it turns out it's 24 instead of 25. After I Updated pip to latest version the installation finished in seconds.
This is what I'd do, an AVERAGEIF formula.
=AVERAGEIF(A:A,D3,B:B)enter image description here
At 9:30 of this video for solution or you can watch whole video to understand my explain. : Terminal not open in Ubuntu on Virtualbox
<!DOCTYPE html> <html lang="pt"> <head> <meta charset="UTF-8"> <title>Fatura Vodafone - Mauricio Catulumba Rui</title> <style> body { font-family: Arial, sans-serif; margin: 40px; color: #333; } .header, .footer { text-align: center; } .header h2 { margin: 0; } .section { margin-top: 30px; } .label { font-weight: bold; } .box { border: 1px solid #ccc; padding: 15px; margin-top: 10px; } </style> </head> <body> <div class="header"> <h2>Vodafone Portugal – Comunicacoes Pessoais, S.A.</h2> <p>Av. D. Joao II, no 36, Parque das Nacoes<br> 1998-017 Lisboa | NIPC: PT502544180</p> </div> <div class="section"> <p><span class="label">Fatura no:</span> 2025-04-001</p> <p><span class="label">Data de emissao:</span> 24/04/2025</p> <p><span class="label">Periodo de faturacao:</span> 24/03/2025 - 23/04/2025</p> </div> <div class="section"> <div class="label">Cliente:</div> <div class="box"> Mauricio Catulumba Rui<br> Praca do Comercio, no 122 - 5.o<br> 1201-300 Lisboa </div> </div> <div class="section"> <p><span class="label">Servico:</span> Internet (Fibra)</p> <p><span class="label">Valor antes do IVA:</span> EUR 28,77</p> <p><span class="label">IVA (23%):</span> EUR 6,63</p> <p><span class="label">Total (IVA incluido):</span> <strong>EUR 35,40</strong></p> </div> <div class="section"> <p><span class="label">Data limite de pagamento:</span> 05/07/2025</p> <p><span class="label">Referencia MB:</span><br> Entidade: 1234567<br> Referencia: 890123456789</p> </div> <div class="footer"> <p><em>Este documento serve como fatura e comprovativo de residencia, contendo nome, morada, valor, datas e dados oficiais da Vodafone.</em></p> </div> </body> </html>
I guess there may be something lacking between os.environ['CONDA_PREFIX']
and "share"
.
I wrote a python script test.py
import os
import sys
import rdkit
from rdkit import Chem
from rdkit.Chem import RDConfig
def main():
sys.path.append(os.path.join(RDConfig.RDContribDir, "SA_Score"))
import sascorer
print("RDKit version:", rdkit.__version__)
print("RDConfig.RDContribDir:", RDConfig.RDContribDir)
print("done")
if __name__=="__main__":
main()
and I got
$ python test.py
RDKit version: 2024.03.3
RDConfig.RDContribDir: /home/username/apps/miniforge3/envs/rdkit/share/RDKit/Contrib
done
cf.
https://sishida21.github.io/2021/08/07/rdkit-sascore-calculation-caution/
(in Japanese)
Since Vite
has a list of default variable environment such as:
import.meta.env.MODE
You must have add prefix VITE_
before your all env variables.
So, APP_SOCKET_URL
will be VITE_APP_SOCKET_URL
.
$photos = DB::table('photos')->select('id', 'name', 'created_at');
$videos = DB::table('videos')->select('id', 'name', 'created_at');
$combined = $photos->union($videos)->tap(function($q){
$q->orderBy('created_at', 'desc');
});
IIf(Mid([textDate];20;2)="pm";"night";"morning")
Recommend a simple and efficient installation method for BeyckJS using npm install Beyck (function (app) {app. defend (true)})
For iOS 26, the best I could approximate using the Sketch template from Apple is a ratio of 25.89% - so multiply your size by 0.2589.
Just for additional information purpose to @Shadow 's answer:
SET SESSION MAX_EXECUTION_TIME = 5000; -- 5 s
SELECT SLEEP(1); -- return 0
SELECT SLEEP(10); -- return 1
I then tested what will happen if it's actual data from here:
SET SESSION MAX_EXECUTION_TIME = 1; -- 1ms
SELECT SQL_NO_CACHE *
FROM STUDY_SQL.EMPLOYEES AS FIR
LEFT JOIN STUDY_SQL.EMPLOYEES AS SEC
ON FIR.BIRTH_DATE <> SEC.BIRTH_DATE
WHERE
(FIR.LAST_NAME LIKE 't%o%' OR FIR.LAST_NAME LIKE 'b%i%')
AND FIR.FIRST_NAME LIKE '%e%'
AND (SEC.LAST_NAME LIKE 't%o%' OR SEC.LAST_NAME LIKE 'b%i%')
AND SEC.FIRST_NAME LIKE '%e%'
AND SEC.FIRST_NAME LIKE '%b%';
The result is:
15:54:46 SET SESSION MAX_EXECUTION_TIME = 1 0 row(s) affected 0.000 sec
15:54:46 [complex query] LIMIT 0, 1000 Error Code: 3024. Query execution was interrupted, maximum statement execution time exceeded 0.000 sec
So it will throw an exception if it's an actual query and it exceeds the time limit.
Nowadays we can find it out yet?
If anyone is still struggling with this in 2025 the regex pattern that works is
"\\(?\\d{3}\\)?-?.?\\s?\\d{3}-?.?\\s?\\d{4}"
for some reason JSX just won't use square brackets properly even when escaping them. It could also be because I have the regex expression in a ternary operator.
pattern={
name === "phone"
? "\\(?\\d{3}\\)?-?.?\\s?\\d{3}-?.?\\s?\\d{4}"
: name === "email"
? "^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$"
: undefined
}
Try using constant sizes, like pixels for example, instead of vmin which is based on the smaller dimension of the viewport.
As for the question what is causing it I can't answer exactly it looks like a bug, because it happens on Google Chrome but it works as intended on Edge
@NosakhareKingsley The problem is how your setup deals with env files and specifically that you use poorly supported react-dotenv package for this instead of using process.env directly. You shouldn't use unsupported things, especially if you're new to this, this causes unexpected problems and leaves you alone with them. Stick to officially recommended ways to use react, react.dev/learn/build-a-react-app-from-scratch#vite . You won't find create-react-app there, it's deprecated
@EstusFlask Only took an hour but this solved it. I had to recreate the app with vite and rewrite the entire codebase to tsx and the bug is gonee.. Just like that. lol Thanks. I don't think i woulda figured this one out on my own.
Estus Flask solved it. I was using a deprecated version.
Restore your vehicle’s shine with expert car paint correction in San Marcos, CA.
Our certified technicians specialize in swirl mark removal, scratch repair, and gloss enhancement.
Using multi-stage machine polishing, we bring back that showroom-quality finish.
We treat every car with precision detailing and the highest-quality products.
Say goodbye to oxidation and dull paint—your clear coat will thank you.
Perfect for daily drivers, luxury cars, and classics needing a refresh.
We’re locally trusted, fully insured, and backed by 5-star reviews.
Pair your correction with a ceramic coating for lasting protection and shine.
Enjoy competitive pricing and —no surprises.
You should not use the bootstrap js directly with Angular. Instead, use a library such as ng-bootstrap or ngx-bootstrap.
Solved - I had to downgrade yeoman to version 4.3.1, as mentioned here: How to downgrade Yeoman on linux using npm. I was using version 5 which still seems to have this issue. I used the following commands:
npm uninstall -g yo
npm install -g [email protected]
def create(conn, %{"my_file" => upload}) do
# upload is a %Plug.Upload{path, filename, content_type}
File.cp(upload.path, "/uploads/#{upload.filename}")
conn |> send_resp(200, "Uploaded!")
end
You may try snapDOM which is a new alternative to html2canvas
Just need to update the browser **Face palm**
What you have here is more like quite a big security research topic than a programming question ofc.
Briefly, you can't do the thing 100% on mac in a usable way, because the whole idea behind Apple marketing thing is user privacy, which can be broken and sold only by Apple and to Apple, not some 3rd-party apps.
Why remark about usable way? You can for sure write a kext, hook into all sort of things and monitor all sorts of APIs, but you should keep your SIP disabled then, and it is reasonably hard to make your users to do that.
Some parts of what you desire could still be done with SIP on: macOS keeps some source info in xattr of downloaded files(via browsers), ESF could correlate them with processes, with NetworkExtension you could do MitM and parse traffic to find possible uploads/downloads, etc. You may create a list of supported well-known apps, inspect what specific sequence of file/other events leads for each app to your high-level operations of interest, and detect it.
This will work in a way, it will fail some times, probably a lot, nothing new for a macOS 3rd-party security projects world.
However, the whole thing makes a little sense, because some app can for example request some data, hen keep it in memory without writing it on disk, then add another part of data on its own to the requested, wait for a hour making changes still in memory, then save the result on disk. But wait, not just writing to a new file, but adding to some existing one, which was created without internet. Well, but then (after a while), removing the content, that was not requested from web. And adding another pre-generated brick of data in the end. Is it a downloaded file or what? :)
If I open the text file and copy all its content (or all symbols except last one-two-ten) to pasteboard, then paste it in input field on a website - am I doing a file upload or not?
So maybe what you need here is to reconsider the goal in business terms, and return to it in tech terms then.
I've encountered the same issue, and seems that when linking against debug libraries, you need to define V8_ENABLE_CHECKS=1 in your project.
I spent quite some time debugging this on a hello world example, until I realised this was needed.
Simply use the SUMIF
function like this:
=SUMIF(E1:E, "YES", D1:D)
Do the last update of Docker Desktop, it worked in my case
I keep getting a jassert for checkForDuplicateParamID
when compiling.
I followed this tutorial on building a preset manager.
All my parameters are declared in a Parameters.h file like this:
#pragma once
#include <JuceHeader.h>
const juce::ParameterID gainParamID { "gain", 1 };
class Parameters
{
public:
Parameters(juce::AudioProcessorValueTreeState& apvts);
static juce::AudioProcessorValueTreeState::ParameterLayout createParameterLayout();
private:
juce::AudioParameterFloat* gainParam;
//==============================================================================
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (Parameters)
};
So the version hint is definitely in there. I don't have any errors. My JUCE project (in projucer) is set to version "1".
It's implemented like this:
layout.add(std::make_unique<juce::AudioParameterFloat>(
gainParamID,
"Output Gain",
juce::NormalisableRange<float> { -12.0f, 12.0f },
0.0f,
juce::AudioParameterFloatAttributes().withStringFromValueFunction(stringFromDecibels)));
Adding in {"Output Gain", 1}
after gainParamID
throws an error (" Expected ')'
"). The documentation says it's only in DEBUG mode, but I'd like to clear up this error before release.
Any ideas on how to resolve this? I much appreciate any input.
Any update or alternative solutions you found? I have a similar issue, want to upload a file that will be present inside a multi part form and want it to be true streaming, but getting same errors as written by you.
What seems to be the only solution is implementing the data gen by scratch, (done by chatgpt and it works) where we add each form data one by one and yield with boundaries.
Function BiQuadraticInterpolation(x As Double, y As Double, values As Range) As Double
' ... (Code as provided in the prompt, including coefficient calculations and interpolation) ...
End Function
user2237975 pointed to an example in the docs for writing a vector to a parquet file with parquet_derive. The version is outdated, but it's the same example. The latest link is here: https://docs.rs/parquet_derive/latest/parquet_derive/derive.ParquetRecordWriter.html
However, it does not work as is. I opened an issue and a PR to fix that here: https://github.com/apache/arrow-rs/issues/7732
To quickly test this example, you can also run:
git clone https://github.com/LanHikari22/rs_repro.git
cd rs_repro
cargo run --features "repro001"
Note that this is still limited and does not provide enum support for example. Only structs at the moment.
Optionally, my development journal for this can also be found at https://github.com/dism-exe/dism-exe-notes/blob/main/lan/llm/weekly/Wk%2025%20003%20Rust%20Parquet%20serialize%20and%20deserialize.md
You have multiple ways try the following create column F with the following formula
=IF(E2="YES", E2, 0)
Then drag it down till the end
One possibility for "if (f()) else if (g()) else if (h()) else ...":
evaluate all the conditions in parallel
add (1<<i) to a sum if condition i is true: sum += (f() ? 1 : 0); sum += (g() ? 2 : 0); sum += (h() ? 4 : 0)
you might have to explicitly do the sum in a tree if the compiler wants to do it linearly
use some find-first-set-bit instruction to find the first set bit in the sum: log = ffsb(sum)
switch(log) { 0:, 1:, 2:, ...}
This will choose the first true condition without requiring that only one condition be true. There's tradeoffs of how much parallelism you have, how much the conditions cost to evaluate, how deep in the if-else chain the code usually has to go, and find-first-set is usually limited to 64 bits. Usually other mechanisms will be cheaper than this. But this approach can handle unrelated independent conditions without any linear dependency chain.
use only @Restcontroller annotation and remove @component in your code and could you share endpoint which you are using for request?
You're sending the wrong request and surprised it’s not JSON? It’s a POST endpoint. Read the damn network tab before copy-pasting like a bot.
Just had this and it was due to the 'postcss language support' plugin in vscode.
So not exactly sure why, but removing all widths, heights, and flex: 1 seemed to have fixed the issue. I don't quite understand why this is as I copied over a tutorial version of flatlist and it also wouldn't render properly but did in the tutorial. At least it is working now as I expect
CREATE OR REPLACE PROCEDURE CleanupShiftLogs
AS
SHIFTNOTE_COUNT_1 CONSTANT NUMBER := 200,
SHIFTNOTE_COUNT_2 CONSTANT NUMBER:= 350,
OLDER_THAN_MONTHS NUMBER := 2;
BEGIN
-- SQL STATEMENTS --
END CleanupShiftLogs;
-- SHIFTNOTE_COUNT_3 CONSTANT NUMBER; --> If it is a constant, you need to initialize it at declaration.
The error "Class not registered" usually means that the system is missing a required COM component. For ZKTeco attendance software, this typically refers to a missing or unregistered ZKEMKeeper.dll file.
### ✅ Here's how to fix it:
#### 1. Download the file:
You can safely download ZKEMKeeper.dll from trusted sources such as:
https://www.dll-files.com/zkemkeeper.dll.html
\> Be sure to scan the file before use.
---
#### 2. Copy it to the system folder:
- For *64-bit Windows*: C:\Windows\SysWOW64
- For *32-bit Windows*: C:\Windows\System32
---
#### 3. Register the DLL:
Open *Command Prompt as Administrator*, and run:
after some test we opted for:
Keep sensitive configurations in a private repository that mirrors your public repo’s structure.
Inject these files during local development and CI/CD builds, so no manual copying is needed and no secrets are ever committed to the public repo.
Key points:
Public repo contains only example configs (no secrets).
Private repo holds real configs, versioned and secured.
Application and CI/CD pipeline are configured to load/merge configs from the private repo at runtime/build time.
below an article showing the details:
Manage Sensitive Configurations with Config Injection from Private Repositories
https://diginsight.github.io/blog/posts/20241214%20-%20Handling%20Private%20Configurations%20in%20Public%20Repositories/
hth
After 7 hours of debugging, I finally found the problem: someone, somewhere in the codebase, had overwritten the built-in JavaScript Proxy
object. Naturally, since Chart.js relies on it, it couldn't create objects as intended. This was extremely difficult to debug and required commenting and uncommenting over 12,000 lines of code.
This is only a guess, but i am guessing for older phones the native is not working with the current framework of vercel. This is only a guess, so take this answer with a grain of sand
def is_palindrome_xor(s):
s = ''.join(filter(str.isalnum, s.lower())) # Normalize the string
xor_sum = 0
for a, b in zip(s, reversed(s)):
xor_sum ^= ord(a) ^ ord(b)
return xor_sum == 0
Use Port 80 instead of 5000. 80 is the default web traffic port and so wont be blocked by your firewall.
Yarn 2+ has removed its yarn global
functionality completely, and you are stuck with yarn dlx
. You can find this in their migration docs here: https://yarnpkg.com/migration/guide#use-yarn-dlx-instead-of-yarn-global
See also this GitHub issue: https://github.com/yarnpkg/yarn/issues/7884
What does the (title=Google") part do in APAD1's answer?
I have taken an HTML course in 2017 - 2018 and do not remember the title attribute.
Is it needed?
Thank you
You all can use this npm package:
https://www.npmjs.com/package/react-navify
Start has moved from Vinxi to Vite in their recent release: release v1.121.0, which requires Vite 6+. I was able to fix this issue by migrating my project from Vinxi to Vite using the linked guide.
Ok, I found the root cause, because R under WSL gave me a more meaningful error message.
Solution was:
install.packages("MTS")
library("MTS")
I've come up with a fairly inelegant solution to achieve the double join (thanks to r2evans for the terminology and the point in the right direction!):
# Step 1: split dt1 into apple and pear tables
apple_dt <- dt1[type == "apple"]
pear_dt <- dt1[type == "pear"]
# Step 2: merge dt2 with apple_dt, and dt2 with pear_dt
merged_apple <- merge(dt2, apple_dt[ ,':='(type=NULL)] , by.x = "apple", by.y = "id")
names(merged_apple)[4]<-"apple.value"
merged_pear <- merge(dt2, pear_dt, by.x = "pear", by.y = "id")
# Step 3: cbind() and rename
dt3 <- cbind(merged_apple, merged_pear$value)
names(dt3)[5]<- "pear.value"
dt3
# Key: <apple>
# apple pear measure apple.value pear.value
# <char> <char> <num> <num> <num>
# 1: a d 1 1 1
# 2: a d 2 5 8
# 3: b d 1 1 1
# 4: b d 2 9 8
# 5: c f 1 4 9
# 6: c f 2 2 5
How do.i get my old zangi back. Im.not good at trct stuff I need help
from operator import itemgetter
l =[{'value': 'apple', 'blah': 2},
{'value': 'banana', 'blah': 3} ,
{'value': 'cars', 'blah': 4}]
#option 1
new_list_1 = list(map(itemgetter("value")))
#option 2
def get_value(i):
return i["value"]
new_list_2 = list(map(get_value, l))
This is for CompTia Test out Security Pro Compare an MD5 hash. For this Lab you have to get both hashes and literally copy and paste the value with -eq in-between.
"copy paste release.zip hash value here" -eq "copy and paste release821hash.txt hash value here"
It will return false.
There are better more efficient ways to do this but for the lab you have to literally copy and paste the hash value you receive in the first part of the lab.
this error comes - Fatal error: Uncaught Error: Class "Mpdf\Mpdf" not found in C:\xampp\htdocs\Project1\createPDF.php:23 Stack trace: #0 {main} thrown in C:\xampp\htdocs\Project1\createPDF.php on line 23
when i click on submit button for a form data , to create a pdf file. Please someone tell me what the exact problem is, even i required this also -
require_once __DIR__ . '/vendor/autoload.php';
<?php
function stringToRandomClass($str, $max = 10) {
$hash = crc32($str);
$number = ($hash % $max) + 1;
return "random$number";
}
$content = "Hello";
$randomClass = stringToRandomClass(substr($content, 0, 4));
?>
<div class="<?= $randomClass ?>"><?= htmlspecialchars($content) ?></div>
It's been so many months, maybe you've already found the answer to your question, but assuming that hasn't happened, I read in some documentation that in docker you should inform "postgres" in application.properties instead of "localhost" as the postgresql address.
Maybe concatMap
is what you're looking for? It will process all emitted events from the source observable in a sequential fashion (resembling a queue). In your example if you want to queue emissions from from(signUpWithEmail(email, password))
you'll need to replace map
with concatMap
.
Nice work solving it by disabling constraints and triggers — I’ve dealt with similar FK-related copy issues before and know how frustrating it can get.
Just to add another option for similar situations:
I’ve built a tool for SQL Server that copies related data between tables within the same database — keeping foreign key relationships intact and remapping identity values where needed.
It’s useful when:
- You need to duplicate rows across related tables (e.g. copy an order with its items and comments)
- Foreign keys must be preserved correctly
- The insert order must follow dependency rules automatically
- You want to apply filters or dry-run first
- You prefer not to disable constraints or write custom scripts
It doesn’t handle cross-database migration, but for deep-copy scenarios inside one database, it can save a lot of time.
If anyone’s interested in testing it or giving feedback, I’d be happy to share it privately.
The issue occurred because, even after setting the bootClasspath to include the custom framework JAR containing hidden APIs, the Java compiler still failed to resolve them. This happened because a stripped-down version of the Android framework (such as android.jar or a renamed variant) was also present on the regular classpath. That stripped version doesn't include hidden APIs and was silently taking precedence during Java compilation. Kotlin was able to resolve the methods correctly because it relies on the full classpath, while Java strictly depends on bootClasspath and classpath. To resolve the issue, I explicitly removed the stripped framework JAR from the Java compiler’s classpath, ensuring that only my intended framework JAR was used. Once that was done, the hidden APIs were correctly recognized by the Java compiler. The key point is that setting bootClasspath is not enough—conflicting entries in the regular classpath must also be excluded to avoid shadowing.
Decided to go down the RESP API route as it seems a much more tidy way of accessing data on woo commerce / Wordpress.
There is now an excellent library to restore publishing to an @Observable: https://github.com/NSFatalError/Publishable. Import the package, add @Publishable
to your @Observable
classes. Access the per-member publishers via the new .publisher
var. This solution gives you all the best of @Observable
and requires almost no changes to existing Combine pipelines based on @ObservableObject
. Disclaimer: I am not the author of this package, just an admirer.
I have same error. Did you solve it?
MacroDroid does this just fine. Have to give it higher permissions and capability to run in background and never allow to sleep. Been running my security cameras macro for 2 years now with no issues.
It it was working before... It is probably that you have reached your plan's limit. You can check Copilot status:
In the first line you can see if you have reached your limit.
(You can change your plan here: https://github.com/features/copilot/plans)
AzureChatOpenAI supports chat completion models, including newer models like gpt-4o-2024-08-06
. AzureOpenAI supports text completion models, but NOT chat completion models (like the new gpt-4 models). If you want to use gpt-4 models, stick with AzureChatOpenAI.
More info here, and in the top banner:
Sign in command is hidden if you are signed in. (Dont ask why)
But you can chech your log in/out status and you can log in/out using the head image at the bottom of the left sidebar.
For more information: https://code.visualstudio.com/docs/copilot/faq
You can set containerColor to contentColor so ripple effect will not be visible.
TabRow(
selectedTabIndex = ...,
containerColor = backgroundColor,
contentColor = backgroundColor,
)
Setting 'image-rendering:optimizequality;' works for me in Firefox.
I recently had to solve this exact problem in SQL Server — copying rows within the same tables (A → A, B → B) and making sure all foreign keys point to the newly inserted rows.
To handle it, I built a reusable migration tool that:
Recursively copies related records based on FK dependencies
Remaps all FK references to the new rows
Supports filters, value overrides, and dry-run mode
If anyone's interested in trying it out or giving feedback, I’d be happy to share it privately.
If you are using a Windows system, try using cmd
instead of other command-line tools.
flutter build apk --split-per-abi
In Flutter this commond generates separate APKs for each ABI (CPU architecture) instead of one big APK.
File Name : - app-armeabi-v7a-release.apk :
APK built only for armeabi-v7a devices (older 32-bit ARM CPUs)
File Name : - app-arm64-v8a-release.apk:
APK for 64-bit ARM CPUs (modern Android devices)
File Name : - app.apk(Without --split-per-abi) :
A fat APK that includes all ABIs, larger in size
same probleme here using springboot 2025-06-21T13:37:01.346Z ERROR 21052 --- [AccessControle] [nio-8080-exec-3] c.book.accesscontrole.Zkt.ZKTecoService : ❌ Error retrieving attendance records: A COM exception has been encountered:
At Invoke of: GetGeneralLogData
Description: 80020005 / Le type ne correspond pas. can someone please help mee !!!
We developed a plugin to record screens of Android and iOS. It's very simple to use. With a single line of code, you can implement it in your game.