Notice the two? characters in the URI. That makes the driver fail to parse it correctly in modern versions of the MongoDB Node driver (which Mongoose 5+ uses).
mongoose.connect(
"mongodb://stackoverflow:[email protected]:31064/thirty3?authSource=admin",
{ useNewUrlParser: true, useUnifiedTopology: true }
);
I’m Sharan from Apptrove!
We’re building a Slack community for developers, with coding challenges, tournaments, and access to tools and resources to help you sharpen your skills. It’s free and open — would love to see you there!
Link to join: https://join.slack.com/t/apptrovedevcommunity/shared_invite/zt-3d52zqa5s-ZZq7XNvXahXN2nZFtCN1aQ
What’s happening is that you’re not actually using a Dense layer the way you might expect from a 1D vector setting (e.g., after a Flatten).
How Keras Dense really works
In Keras/TensorFlow, Dense is implemented as a matrix multiplication between the last dimension of the input and the layer’s weight matrix. It does not require you to flatten the entire input tensor, nor does it care about the other dimensions.
If the input has shape (batch, H, W, C), a Dense(units=64) layer just takes the last axis C and produces output (batch, H, W, 64).
Internally, TensorFlow broadcasts the weight multiplication over all other dimensions (H and W here).
That’s why you don’t get an error: your inputs have shapes like (batch, 1, T, 64), and Dense just treats (1, T) as “batch-like” dimensions that it carries along.
Why this allows dynamic input sizes
Because the Dense operation is applied pointwise along all non-last dimensions, it doesn’t matter whether T = 12 or T = 32. The only requirement is that the channel dimension (C) is fixed, since that’s what the weight matrix expects. The temporal dimension (T) can vary freely.
So in your example:
Input: (12, 1, 32, 64) → Dense(64) → (12, 1, 32, 64)
Input: (17, 1, 12, 64) → Dense(64) → (17, 1, 12, 64)
Both work fine because Dense is applied independently at each (batch, 1, time) location.
Contrast with pooling or flattening
If you had tried to do Flatten → Dense, then yes, you would need a fixed time dimension, because flattening collapses everything into a single vector.
But using Dense “in place” like this behaves more like a 1x1 Conv2D: it remaps features without collapsing spatial/temporal dimensions.
TL;DR
You’re not getting an error because Dense in Keras is defined to operate on the last axis only, broadcasting across all other axes. It’s essentially equivalent to applying a 1x1 Conv2D across the feature dimension. That’s why variable-length time dimensions are supported automatically in your setup.
Scalability, security, and long-term maintenance are typically more important concerns when developing enterprise Android apps than coding speed alone. Here's a quick summary:
Programming Language
Modern, concise, and safer than Java, Kotlin is officially backed by Google. ideal option for brand-new business applications.
Java → Still supported and widely used, ideal if your business already uses a Java-based system.
Tools & Frameworks
Android Jetpack (Google libraries) ↑ helps in lifecycle management, data storage, user interface, etc., improving the speed and cleanliness of development.
Dependency Injection → To make managing big projects easier, use Hilt or Dagger.
To ensure safe and effective API communication, use Retrofit or OkHttp.
Enterprise-Level Requirements
Use Android Enterprise's work profiles, data encryption, and secure logins like OAuth/SSO to ensure security.
Testing ↑ To ensure quality, use automated testing tools like Robolectric, Espresso, and JUnit.
Scalability → To ensure that the application may expand without getting disorganized, take into account modular architecture, such as MVVM or Clean Architecture.
Integration of Backend and Cloud
Combine with business backends such as Google Cloud, AWS, or Azure.
If you want a speedy setup, use Firebase for analytics, push alerts, and authentication.
Use Kotlin + Jetpack libraries + safe enterprise tools for Android development in an enterprise setting. To make the software scalable and future-proof, incorporate robust testing, a modular architecture, and cloud support.
You might try:
BullModule.forRoot({
redis: {
host: "YOUR_REDIS_HOST",
port: 6379,
db: 0,
password: "YOUR_REDIS_PASSWORD",
tls: { // Specifiy the host and port credentials again here
host: "YOUR_REDIS_HOST",
port: 6379,
}
}
})
We are in the same situation that I also want to know how to create an http-server in PHP just like in Node Js (http.createServer() or using Express Js ) since there are now ways to use PHP to be like Node js functionality.
I searched the web and found this library:
have you tried wrapping the code in
window.onload = function(){
}
فيما يلي مثال أساسي حول كيفية تنفيذ وظيفة تسجيل المكالمات في تطبيق Flutter:
import 'package:flutter/material.dart';
import 'package:audio_session/audio_session.dart';
import 'package:record_mp3/recorder.mp3.dart';
class CallRecorder extends StatefulWidget {
@override
_CallRecorderState createState() => _CallRecorderState();
}
class _CallRecorderState extends State<CallRecorder> {
bool _isRecording = false;
final _audioSession = AudioSession.instance;
void _startStopRecording() async {
if (_isRecording) {
await _stopRecording();
} else {
await _startRecording();
}
setState(() => _isRecording = !_isRecording);
}
Future<void> _startRecording() async {
final recorder = await RecorderMp3.start(
outputDirectory: 'path_to_your_directory',
format: Format.mp3,
);
await recorder.start();
}
Future<void> _stopRecording() async {
final recorder = await RecorderMp3.stop();
}
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('Call Recorder'),
),
body: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
_isRecording
? ElevatedButton(
onPressed: () => _startStopRecording(),
child: Text('Stop Recording'),
)
: ElevatedButton(
onPressed: () => _startStopRecording(),
child: Text('Start Recording'),
),
],
),
),
);
}
}
هذا الكود يُسجِّل الصوت ويحفظه في ملف في المجلد المُحدَّد. يُرجى العلم أن هذا الكود يتطلب أذونات لتسجيل الصوت، وقد تختلف هذه الأذونات باختلاف نظام التشغيل (أندرويد أو iOS).
I was having a similar issue, what I did was disable gradle caching in my gradle.properties file.
Can you share your code?
Can you change your code to generate the sequence numbers inside the transactions? Will you still get the duplicates but with the unique DBTASKID()?
Note that since C++20, the default constructor of std::atomic_flag initializes it to clear state.
Source: https://en.cppreference.com/w/cpp/atomic/atomic_flag/atomic_flag.html
npm init itself doesn’t have a flag to auto-set "type": "module" in package.json. By default, it creates CommonJS projects.
So, there’s no direct npm init flag for "type": "module". The simplest automated way is:
npm init -y && npm pkg set type=module
Ok. I found solution in different question. This is whole code. To the code that i added I wrote code explanation via "//". Basicly what happenes is that i create Listener for Every Enemy on the stage. If i click on the Enemy i can see the index of that Enemy in Array (i test it for my self with trace) and then apply all these actions for enemy that was clicked....
Excuse my bad english. Anyway thanks for help. Hope u understand....
for (var j:int = enemyNaScene.length -1; j> -1; j--) {
// For every Enemy on the stage create Listener
// that indicates if it was CLICKED - than play actions
enemyNaScene[j].addEventListener(MouseEvent.CLICK, enemyNapaden);
}
function enemyNapaden(event:MouseEvent):void{
var j:int = enemyNaScene.indexOf(event.target);
// If i click on Enemy -> j = index position of Enemy on the Stage in Array
trace(enemyNaScene.indexOf(event.target)); // Show the index with Trace
enemiesHp[j]-=1; //Apply that index number ("j") for Enemy -
trace(enemiesHp[j]) //that was clicked further down the line
aTextFields[j].text = String(enemiesHp[j])
aTextFields[j].setTextFormat(myTextFormat)
if(enemiesHp[j]==0){
aTextFields[j].visible=false;
enemyNaScene[j].gotoAndPlay("enemydead")
enemyNaScene[j].removeEventListener(MouseEvent.CLICK, enemyNapaden)
}
}
I had the same issue, and finally solved it with a simple method. All you need to do is add a 'Speak' action with the text 'Please wait' right after the 'Ask' component. Then, there will be no timeout limit.
It's required ndk r28 or newer to compile 16KB by default
https://developer.android.com/guide/practices/page-sizes?authuser=2#compile-r28
I do not sure. Did you have to update some lib or not. Because I using image_picker 1.1.2 But I can build on Pre-Release 16KB ARM SDK and APK Analyzer also 16KB Alignment

I am finally able to get this to work. Changed the --proto_path to point to the root of all proto folder hierarchy. I got it working in the morning. Just now saw your solution. I will accept it - you are right. I thought it would be some such silly mistake in paths. Yesterday I was lost in VS Code, Visual Studio and PyCharm.
C:\tmp\proto>python -m grpc_tools.protoc --proto_path=c:/tmp/proto/ --python_out=c:/tmp/generated_python_files --grpc_python_out=c:/tmp/generated_python_files c:/tmp/proto/common/*.proto
I also changed to grpc_tools.protoc to generate the client and server stubs. And now *.proto also works. Able to generate for all my files (one folder at a time).
Thanks
I don't receive my numeric code when I put my phone number in.
You need to specify an encoding for the characters otherwise python doesn't know how to handle the strings.
import random
import string
random.choice(string.ascii_lowercase)
I believe I actually know the answer, it lies in your classpath of the module in your gradle settings when you go to run/debug your configurations
Mine works fine if I set it to my main class module
I've solved the issue by including the param directConnection=true to my connection string.
?directConnection=true
So, the connection string is something like this:
mongodb://127.0.0.1:27017/mydb?directConnection=true
I get the tip from mongosh, which connected successfuly
In VSCODE you can use https://marketplace.visualstudio.com/items?itemName=gabbygreat.flutter-l10n-checker
Plug in lists all hardcoded values in tits tab
For the benefit of any future searchers, I also got this error when I tried to pass an owned parameter instead of a reference: mat1.dot(mat2) instead of mat1.dot(&mat2).
ctrl+d helps me in macos to close vscode terminal, ctrl+C doesn't work for me.
You know you can decode the JWT easily and look at the claims tables or summary and it says Media Type = "MT" but yes it could mean other things.
Claims Table
typ MT
The media type of this complete JWT. Learn more
I know it's been about 14 years since your original question, but I too had a need for a C++ pivot table implementation and thought I would share my code. My focus was more on reducing RAM usage (at least for the function, and the functions are limited in what kind of input data they take, but they do allow for an arbitrary number of index and value fields.
Within my GitHub project, which is available under the MIT license, you can find two pivot table functions within the pivot_compressors.cpp file. The first, scan_to_pivot(), generates pivot table data by iterating through a .csv file row by row, thus limiting your overall memory needs. (It makes extensive use of Vince La's CSV parser, both for input and for output.)
The second function, in_memory_pivot(), allows data already in RAM to be processed. It requires, though, that the input data take the form of a vector of maps of string-variant pairs. Within this structure, each vector entry represents a row; each string represents a field name, and each variant represents a string- or double-typed cell value. It shouldn't be too hard to modify this setup to fit your needs, though.
To create pivot_tables, in_memory_pivot() first groups the values corresponding to the index fields passed by the caller into single strings. It then uses these strings as keys within a map; the values are themselves maps with value field names as keys and structs as values. (These structs allow sum, count, and mean data to get stored for each value field.) The main benefit of this implementation is that it allows for as many index or value fields to get incorporated into your pivot table as your computer can handle.
As an alternative (and undoubtedly better-tested option), I should also note that Hossein Moein's C++ DataFrame library, available under the BSD-3_Clause license, offers pivot-table functionality in the form of a set of groupby() functions. I believe that these support up to three index fields, but I might ask whether he could allow for an arbitrary number of fields to get passed to the function.
To prevent referral scams in WordPress, implement referrer validation in PHP by checking HTTP_REFERER against a whitelist, but note it’s easily forged. Combine with User Agent inspection, CAPTCHA for interactions, and plugins like Akismet for comment moderation. Always scrape referrers to verify links exist.
Afaik, JAX doesn’t compile “Python” directly — it traces your function and lowers everything to a small set of primitives. High-level NumPy functions like reshape and broadcast are rewritten into those primitives, and you can inspect the exact Jaxpr with make_jaxpr. For a deeper dive, the JAX paper and the docs on Jaxpr are the authoritative resources.
Reference:
The most direct explanation is in the JAX documentation and the original JAX paper:
the deadlock comes from when the async work captures the calling context
in the helper method , the Task<T> is created before Task.Run
try doing it so nothing gets to capture the caller’s context
Did you crack this yet? I am trying to do something similar but twilio is sending back some silence packets. I am not even sure if its getting to STT streaming on gpt-4o-realtime-preview model I intend to use.
You are doesn't imported CSS files to your component file. Import them to you components or on App.tsx.
import "./asserts/styles/otro.css" import "./asserts/style/style.css"
# Player Info
Allows script access: false
Player type: Object
SWF URL: https://cdn.jsdelivr.net/gh/ahm-rblox-game/123@main/365143_Impossible_Quiz_Deluxe_NG..swf
Param movie: https://cdn.jsdelivr.net/gh/ahm-rblox-game/123@main/365143_Impossible_Quiz_Deluxe_NG..swf
Attribute 0: undefined
Attribute 1: undefined
# Page Info
# Browser Info
User Agent: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36
Platform: Linux x86_64
Has touch support: false
# Ruffle Info
Version: 0.1.0
Name: nightly 2025-03-04
Channel: nightly
Built: 2025-03-04T00:06:30.124Z
Commit: 950f3fe6883c20677a1d3d8debbb029867d6e94a
Is extension: false
# Metadata
You should use oracle ojdbc:
:dependencies [[org.clojure/clojure "1.12.0"]
[com.oracle.database.jdbc/ojdbc11 "23.5.0.24.07"]
[com.oracle.database.jdbc/ucp "23.5.0.24.07"]
György Kőszeg figured out my problem: I needed to set the color options differently. Adding the following line of code after the initialization of info made it work perfectly!
info.ColorSpace = SKColorSpace.CreateSrgbLinear();
Please I need help . I'm facing the same problem and don't know what to do.
Any help is appreciated.
I have this error message:
https://submit.cs50.io/check50/920b5463f68b374c1e6ab130b8041766f9eeb99c
This was my code :
import re
def main():
month_dict = {1:"January",2:"February",3:"March",4:"April",
5:"May",6:"June",7:"July",8:"August",
9:"September",10:"October",11:"November",12:"December"}
while True:
date = input("Date: ").strip()
try:
# Replace -, /, , with space
for sep in ['-', '/', ',']:
date = date.replace(sep, ' ')
# get rid of white spaces
list_date = [p for p in date.split() if p]
# Numeric format for Month
if list_date[0].isdigit():
month = int(list_date[0])
day = int(list_date[1])
year = int(list_date[2])
# Month-name format
else:
month_name = list_date[0]
month = None
for k, v in month_dict.items():
if month_name.lower() == v.lower():
month = k
if month is None:
raise ValueError("Invalid month name.")
day = int(list_date[1])
year = int(list_date[2])
# Make sure the range of months and days is correct
if not (1 <= month <= 12):
raise ValueError("Month must be between 1 and 12.")
if not (1 <= day <= 31):
raise ValueError("Day must be between 1 and 31.")
# Format as YYYY-MM-DD
new_date = f"{year}-{month:02}-{day:02}"
print(new_date)
break # exit the loop if everything is correct
# prompt the user to enter a correct date
except Exception as e:
print(f"Error: {e}")
print("Please try again with a valid date format like 9/5/2020 or September 8, 1636.")
if __name__ == "__main__":
main()
sudo apt install ./<file>.deb
# If you're on an older Linux distribution, you will need to run this instead:
# sudo dpkg -i <file>.deb
# sudo apt-get install -f # Install dependen
cies
I needed to achieve something similar and I ended up doing the following:
Create a view in the database (I'm using MySQL) that uses the desired GROUP BY statement
Create a dataset in Superset based on that view
Create a chart based on that dataset
The same error gave me some headache to solve. How did I fix it?
……. Drumroll……..
rebooting all nest devices made the errors disappear and I was able to get event images. It’s worth trying yourself to see if it fixes your error.
https://router.vuejs.org/guide/essentials/dynamic-matching.html#catch-all-404-not-found-route
const routes = [
// will match everything and put it under `route.params.pathMatch`
{ path: '/:pathMatch(.*)*', name: 'NotFound', component: NotFound },
// will match anything starting with `/user-` and put it under `route.params.afterUser`
{ path: '/user-:afterUser(.*)', component: UserGeneric },
]
P.S. don't thank me))
I had the same problem when I started working at a company using Google suite. Also didn’t see a good free tool when searching. I built one here.
Above didn't work for me, so I had to do this:
DATE.prototype._stringify = function _stringify(date, options) {
date = this._applyTimezone(date, options);
return date.tz("Europe/Stockholm").format('YYYY-MM-DD HH:mm:ss.SSS');
};
according to https://developer.android.com/training/data-storage/room
// If this project uses any Kotlin source, use Kotlin Symbol Processing (KSP)
// See Add the KSP plugin to your project
ksp("androidx.room:room-compiler:$room_version")
try to add it.
A non-ssreflect way of proceeding here is to simply destruct (boolP bar) as x. I would presume that the ssreflect-case tactic is buggy here but do not know enough about ssreflect to be certain.
--tab-size-* is a reference to a variable that you need to define yourself in @theme. Only after that should you write the animation, using not the variable itself but a specific value, for example tab-4 or any other value you’ve defined. Right now you’re trying to do it directly inside @theme.
@theme is only needed for defining variables or other reusable properties, such as @keyframes.
@theme {
--tab-size-2: 2;
--tab-size-4: 4;
--tab-size-github: 8;
}
@utility tab-* {
tab-size: --value(--tab-size-*);
}
P.S. If I understood you correctly
bu kodu telefonda nasıl calıstırabılırım
Interesting find, so if I use
(payload.Date as DateTime) as String {format: "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"}
I get the string that I'm looking for.
A couple of conversions, but it gets the job done.
import json # config.json লোড with open("config.json", "r", encoding="utf-8") as f: config = json.load(f) USER_NAME = config["user_name"] BOT_NAME = config["bot_name"] GREETING = config["greeting"] # memory.json লোড with open("memory.json", "r", encoding="utf-8") as f: memory = json.load(f) print(GREETING) def reply(message: str): for word, response in memory.items(): if word in message: return response return f"{USER_NAME}, আমি এখনো এটা শিখিনি 🙂" # লুপ while True: msg = input(f"{USER_NAME}: ") if msg.lower() in ["exit", "quit"]: print("বিদায় সুনা 🌸") break print(f"{BOT_NAME}: {reply(msg)}" [{( সেক্স, উলঙ্গ, লেংটা, খেয়েছি, দুজন মিলে খেলছে, আদর করছি, ভালোবাসা করছে, চুদাচুদি করছি, হাতে থুতু দিয়ে আমার সুনাকে ভিজিয়ে দাও, আমার সুনার ফাঁকে ঢুকিয়ে দাও, আমার দুই রানের মাঝখানে গুতা দাও, তুমি আমার পিছন মারো)}]🌹🥰
Zip
I got the same error, I managed to split the js file in two, the variables that I was exporting to the server stays on the original file and the all the other client-side code goes in another file . Also using Vanilla JS and Node.
I entered wrong email id while ordering my parcel. Now I don't know what I should do. I want to change my email id .
It's just math - that Int.MinSize is a negative number and you're subtracting it. Let's use 32 bit numbers.
Int32.MinValue= -2147483648
Int32.MaxValue= 2147483,647
-1 - (-2147483648) = 2147483,647
You end up precisely with the value of Int.MaxSize, so there is no overflow.
Perl!
#!/usr/bin/perl
use strict;
use warnings;
my $ex1 = '#S(5,Hello)';
$ex1 =~ /\#S\((\d+),(\w*)\)/;
if ($1 == length($2)) {
print "match\n";
} else {
print "does not match\n";
}
Essentially just extract the number and the text in subpatterns, then compare them.
Where you'd use a . to create namespacing in the template, you use : in the command-line argument. So for your specific example, you'd invoke
pandoc --variable values:amount="$(shell awk 'NR>1{print $0}' myfile.csv | wc -l)" dummy.md -o final.pdf
You are asking this question because you don't know working of react snap
react-snap is a prerendering tool — at build time, it runs your app in a headless browser, waits for the page to render, and then saves the final HTML (including your meta tags) into the build/ folder. This prerendered HTML is what gets served to crawlers that don’t execute JavaScript (like Bing, Yahoo, social bots, etc.).
That’s why you may not see the meta tags in Ctrl+U when looking at the development or preview build. But if you deploy the snap-processed build, the meta tags are baked into the HTML, and crawlers will get them without needing JavaScript.
So yes — react-snap gives you SEO-friendly static HTML with meta tags, even if they don’t show up in your page source during normal preview.
The issue was with the version of the VSCode Python extension. It's still unclear to me exactly why this happened, or why it didn't affect other people, but switching to a pre-release version finally solved the issue. Issue seems to have existed from 2025.0.0 to 2025,13.2025082101 (Inclusive) based on testing.
A React SPA with dynamic Helmet → the meta tags are added after the page loads and JavaScript runs.
The initial HTML does not contain the meta tags → any crawlers that do not execute JavaScript will not see them.
React Snap tries to pre-render, but it does not solve the problem for dynamic meta if it depends on props, state, or API data after mount.
Use a library like vite-plugin-ssg with pre-defined meta for each route.
The meta tags will be added to the final HTML for each page before React loads → SEO-ready even for crawlers that do not execute JavaScript.
Limitation: this solution requires each page to have a fixed URL and pre-known meta at build time, meaning the meta cannot be dynamic after mount.
Complementing this answer https://stackoverflow.com/a/2328668/6998967
There are definitions of GUIDs in the .NET codebase:
| GUID | Description | Extension |
|---|---|---|
2150E333-8FDC-42A3-9474-1A3956D46DE8 |
Folder | NA |
9A19103F-16F7-4668-BE54-9A1E7A4F7556 |
Common C# | NA |
778DAE3C-4631-46EA-AA77-85C1314464D9 |
Common VB | NA |
6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705 |
Common F# | NA |
FAE04EC0-301F-11D3-BF4B-00C04F79EFBC |
C# | .csproj |
F184B08F-C81C-45F6-A57F-5ABD9991F28F |
VB | .vbproj |
F2A71F9B-5D33-465A-A702-920D77279786 |
F# | .fsproj |
D954291E-2A0B-460D-934E-DC6B0785DB48 |
Shared | .shproj |
E24C65DC-7377-472B-9ABA-BC803B73C61A |
Website | .webproj |
8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942 |
VC | .vcxproj |
8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942 |
VC (shared items) | .vcxitems |
911E67C6-3D85-4FCE-B560-20A9C3E3FF48 |
Exe | .exe |
54A90642-561A-4BB1-A94E-469ADEE60C69 |
Javascript | .esproj |
9092AA53-FB77-4645-B42D-1CCCA6BD08BD |
Node.js | .njsproj |
151D2E53-A2C4-4D7D-83FE-D05416EBD58E |
Deploy | .deployproj |
54435603-DBB4-11D2-8724-00A0C9A8B90C |
Installer | .vsproj |
930C7802-8A8C-48F9-8165-68863BCCD9DD |
Wix | .wixproj |
00D1A9C2-B5F0-4AF3-8072-F6C62B433612 |
SQL | .sqlproj |
0C603C2C-620A-423B-A800-4F3E2F6281F1 |
U-SQL-DB | .usqldbproj |
182E2583-ECAD-465B-BB50-91101D7C24CE |
U-SQL | .usqlproj |
A07B5EB6-E848-4116-A8D0-A826331D98C6 |
Fabric | .sfproj |
CC5FD16D-436D-48AD-A40C-5A424C6E3E79 |
Cloud Computing | .ccproj |
E53339B2-1760-4266-BCC7-CA923CBCF16C |
Docker | .dcproj |
There are other GUIDs in the following files:
I tried the other answers including executing the ADB terminal commands, restarting the IDE, restarting the laptop etc. but the issue didn't get remedied. The fix ended up being: unplug the USB cable with physical phone attached. The corporate policy was preventing the phone from being accessible on the laptop and stopped Android Studio from loading any devices including emulators.
In summary: Check if a USB cable and/or phone is connected and disconnect them.
As I've found, this and all previously net posted solution to tracking Precedents or Dependents fail or, in the worst case of all of a formula's cell addresses being text value concatenations, completely fail.
The culprits are the volatile functions INDIRECT and OFFSET. You will get any root target cell as a precedent but, if that target root cell is targeted by an INDIRECT text construct using & or CONCATENATE you will find no precedents even using the Formula Ribbon "Find" P or D.
Your thoughts on this gap would be wonderful.
import React, { useState } from "react";
// MultiStepFormWithProgressAndAccordion.jsx
// Single-file React component (TailwindCSS required in host project)
// Features:
// - 3-step form with validation
// - Top progress bar (percentage)
// - After final submit, display an accordion for each step
// that shows: submitted values, step completion percentage, and backlink field
// - Uses Tailwind classes for styling and framer-motion for subtle animations (optional)
export default function MultiStepFormWithProgressAndAccordion() {
const steps = [
{
id: 1,
title: "Your Info",
fields: [
{ name: "name", label: "Name", placeholder: "Your full name" },
{ name: "email", label: "Email", placeholder: "[email protected]" },
],
},
{
id: 2,
title: "Website / Backlink",
fields: [
{ name: "website", label: "Website URL", placeholder: "https://example.com" },
{ name: "anchor", label: "Anchor Text", placeholder: "Example Anchor" },
],
},
{
id: 3,
title: "Answer & Tags",
fields: [
{ name: "answer", label: "Answer (short)", placeholder: "Write your answer here...", type: "textarea" },
{ name: "tags", label: "Tags (comma)", placeholder: "tag1, tag2" },
],
},
];
// initialize form data
const initialData = {};
steps.forEach((s) => s.fields.forEach((f) => (initialData[f.name] = "")));
const [currentStep, setCurrentStep] = useState(0);
const [formData, setFormData] = useState(initialData);
const [submitted, setSubmitted] = useState(false);
const [expanded, setExpanded] = useState({});
function handleChange(e) {
const { name, value } = e.target;
setFormData((p) => ({ ...p, [name]: value }));
}
function stepCompletionPercent(stepIndex) {
const fields = steps[stepIndex].fields;
const total = fields.length;
let filled = 0;
fields.forEach((f) => {
const v = (formData[f.name] || "").toString().trim();
if (v.length > 0) filled += 1;
});
return Math.round((filled / total) * 100);
}
function overallProgressPercent() {
const totalFields = steps.reduce((acc, s) => acc + s.fields.length, 0);
const filled = Object.values(formData).filter((v) => (v || "").toString().trim().length > 0).length;
return Math.round((filled / totalFields) * 100);
}
function nextStep() {
if (currentStep < steps.length - 1) setCurrentStep((s) => s + 1);
}
function prevStep() {
if (currentStep > 0) setCurrentStep((s) => s - 1);
}
function validateStep(index) {
// simple required check for demonstration
const fields = steps[index].fields;
for (const f of fields) {
if (!formData[f.name] || formData[f.name].toString().trim() === "") return false;
}
return true;
}
function handleSubmit(e) {
e.preventDefault();
// Validate all steps
for (let i = 0; i < steps.length; i++) {
if (!validateStep(i)) {
setCurrentStep(i);
alert(`Please complete "${steps[i].title}" before submitting.`);
return;
}
}
// Simulate submission (e.g., POST to your API)
// For this component we mark as submitted and show accordions with percentages per step
setSubmitted(true);
// expand all accordions by default after submit
const ex = {};
steps.forEach((s) => (ex[s.id] = true));
setExpanded(ex);
}
function toggleAccordion(stepId) {
setExpanded((p) => ({ ...p, [stepId]: !p[stepId] }));
}
return (
<div className="max-w-3xl mx-auto p-4">
<h2 className="text-2xl font-semibold mb-4">Multi-step Answer Submission (Backlink)</h2>
{/* Progress bar */}
<div className="mb-4">
<div className="flex items-center justify-between text-sm mb-1">
<span>Progress</span>
<span className="font-medium">{overallProgressPercent()}%</span>
</div>
<div className="bg-gray-200 rounded-full h-3 overflow-hidden">
<div
className="h-3 rounded-full transition-all duration-500"
style={{ width: `${overallProgressPercent()}%`, background: "linear-gradient(90deg,#4f46e5,#06b6d4)" }}
/>
</div>
</div>
{!submitted ? (
<form onSubmit={handleSubmit} className="bg-white rounded-lg shadow p-6">
<div className="mb-6">
<div className="flex gap-2 items-center text-sm">
{steps.map((s, idx) => (
<div key={s.id} className={`flex-1 text-center p-2 rounded ${idx === currentStep ? "bg-indigo-50" : ""}`}>
<div className="font-medium">Step {idx + 1}</div>
<div className="text-xs text-gray-500">{s.title}</div>
<div className="mt-1 text-xs">{stepCompletionPercent(idx)}%</div>
</div>
))}
</div>
</div>
<div>
<h3 className="font-semibold mb-3">{steps[currentStep].title}</h3>
<div className="space-y-4">
{steps[currentStep].fields.map((f) => (
<div key={f.name}>
<label className="block text-sm font-medium mb-1">{f.label}</label>
{f.type === "textarea" ? (
<textarea
name={f.name}
rows={4}
placeholder={f.placeholder}
value={formData[f.name]}
onChange={handleChange}
className="w-full border rounded p-2"
/>
) : (
<input
name={f.name}
placeholder={f.placeholder}
value={formData[f.name]}
onChange={handleChange}
className="w-full border rounded p-2"
/>
)}
</div>
))}
</div>
</div>
<div className="mt-6 flex justify-between">
<div>
<button type="button" onClick={prevStep} disabled={currentStep === 0} className="px-4 py-2 rounded-md border">
Back
</button>
</div>
<div className="flex gap-2">
{currentStep < steps.length - 1 ? (
<button
type="button"
onClick={() => {
if (validateStep(currentStep)) nextStep();
else alert("Please fill required fields in this step.");
}}
className="px-4 py-2 rounded-md bg-indigo-600 text-white"
>
Next
</button>
) : (
<button type="submit" className="px-4 py-2 rounded-md bg-green-600 text-white">
Submit Answer & Create Backlink
</button>
)}
</div>
</div>
</form>
) : (
<div className="space-y-4">
<div className="bg-white rounded-lg shadow p-4">
<div className="flex items-center justify-between mb-2">
<div>
<h3 className="font-semibold">Submission Complete</h3>
<p className="text-sm text-gray-600">Your answer has been submitted. Below are details by step and completion percentage.</p>
</div>
<div className="text-right">
<div className="text-sm">Overall: <span className="font-medium">{overallProgressPercent()}%</span></div>
</div>
</div>
</div>
{/* Accordions for each step */}
{steps.map((s, idx) => (
<div key={s.id} className="bg-white rounded-lg shadow">
<button
type="button"
onClick={() => toggleAccordion(s.id)}
className="w-full text-left p-4 flex items-center justify-between"
>
<div>
<div className="font-medium">{s.title}</div>
<div className="text-xs text-gray-500">Step {idx + 1} • {stepCompletionPercent(idx)}% complete</div>
</div>
<div className="text-sm">{expanded[s.id] ? "−" : "+"}</div>
</button>
{expanded[s.id] && (
<div className="p-4 border-t">
<div className="grid gap-3">
{s.fields.map((f) => (
<div key={f.name} className="">
<div className="text-xs text-gray-500">{f.label}</div>
<div className="mt-1 break-words">{formData[f.name] || <span className="text-gray-400">(empty)</span>}</div>
</div>
))}
<div className="pt-2">
<div className="text-xs text-gray-500">Step progress</div>
<div className="mt-1 w-full bg-gray-100 rounded-full h-2 overflow-hidden">
<div style={{ width: `${stepCompletionPercent(idx)}%` }} className="h-2 rounded-full transition-all" />
</div>
</div>
{/* Quick actions: copy backlink, open website */}
{s.fields.find((ff) => ff.name === "website") && (
<div className="flex gap-2 mt-3">
<a
href={formData.website || "#"}
target="_blank"
rel="noreferrer"
className="px-3 py-2 rounded border text-sm"
>
Open Link
</a>
<button
type="button"
onClick={() => navigator.clipboard && navigator.clipboard.writeText(formData.website || "")}
className="px-3 py-2 rounded border text-sm"
>
Copy URL
</button>
</div>
)}
</div>
</div>
)}
</div>
))}
<div className="flex gap-2 mt-4">
<button
className="px-4 py-2 rounded border"
onClick={() => {
// reset to start a new submission
setFormData(initialData);
setSubmitted(false);
setCurrentStep(0);
setExpanded({});
}}
>
Submit Another
</button>
<button
className="px-4 py-2 rounded bg-indigo-600 text-white"
onClick={() => alert("Implement real API POST in handleSubmit to actually create backlinks on your site.")}
>
Integrate with API
</button>
</div>
</div>
)}
<div className="mt-6 text-xs text-gray-500">Tip: Hook handleSubmit to your backend (fetch/axios) to actually persist answers and create backlinks on your site.</div>
</div>
);
}
We've had the same problem and managed to solve it reliably.
It seems that on first launch the system doesn't fully initialise the liquid glass shared background. When you navigate away and back it gets rebuilt and is then applied properly.
Why? I cannot say. I believe this to be a bug on Apple's side.
On your TabView, attach an .id and increment it inside .onAppear. This forces the TabView to very quickly redraw, resulting in the glass showing immediately.
@State private var glassNonce = 0
TabView {
// Your content
}
.id(glassNonce)
.onAppear {
DispatchQueue.main.async { glassNonce &+= 1 }
}
This, for us, has forced the glass to appear immediately.
This was related to github.com/dotnet/runtime/issues/116521 and has been fixed in the latest release.
Make sure to use the android studio sha-1 when local test and then use the prod one at release
Server Components do not need to be hydrated — and in fact, they aren’t.
The only JavaScript sent to the client related to them is the payload, which contains:
The Server Components tree
References to Client Component files
The key point is: rehydration requires something to hydrate. Server Components don’t have event handlers, so there’s nothing for hydration to attach.
In other words, the reason Server Components appear in the payload is precisely because they shouldn’t be hydrated.
Hydration is the process of linking event handlers to DOM elements in order to make the page interactive. Since Server Components never contain event handlers, they don’t require hydration.
When connecting to a SQL Server Cloud SQL instance from Cloud Run,
If connecting via Public IP - make use of Cloud SQL connectors
If connecting via Private IP - configure Cloud Run with VPC access (Direct VPC egress or a connector) on the same VPC as your SQL instance
Reference - https://cloud.google.com/sql/docs/sqlserver/connect-run#connect
Since the application is a .NET application, an alternative approach that would help connecting to a SQL Server instance would be using Cloud SQL Auth Proxy as a sidecar container in your Cloud Run service.
Here's a guide on how to - https://cloud.google.com/blog/products/serverless/cloud-run-now-supports-multi-container-deployments
The short answer: The digital toolkit is not designed for this use case, it's better suited for operations where you are dealing with known, active, users (e.g. a user has completed the auth flow). That is to say, the digital toolkit also does not support exporting all known past or present users.
That endpoint won’t reliably return data for deleted/inactive records.
You're likely better off exposing other options (not guaranteed to fit your use case, but worth looking into):
The fastest and most optimized way between the two methods is the first one:
- using the SQL query with the WHERE clause checking both columns at once.
Why is that?
- the database can use indexes on both columns (username and email) directly to quickly locate the exact matching row,
- the filtering is done entirely within the database, which minimizes the data transferred and processing done in the PHP application,
- this avoids fetching extra rows or data that would require additional checks in application code
- if a composite index on (username, email) exists, the query is even more efficient.
In second method:
- fetches data filtering only by username
- then compares the hashed email in PHP, which moves some filtering outside the database and potentially causes unnecessary data to be fetched
- this can be slower, especially if many rows share the same username, or if the email comparison is complex
However I agree the difference between your two methods will be very little and probably you do not need to worry about this.
I had exactly the same issue. I downloaded the latest version 24.3.1 and it resolved the issue.
The problem occurs due to the fact that InnerXml takes in raw XML and not textual information, thus when a string with the contents of " within it is supplied, the XML reader decodes the data back to quotation marks which may cause a failure of the parsing process unless they are enclosed as an attribute or CDATA. To correct this, do not use InnerXml when you simply want to add text, use InnerText or InnerXml = “<|human|>To fix this, do not use InnerXml when you actually need to add the raw characters, save it using InnerText or InnerXml =<|human|>To correct, do not use InnerXml when what you need is to add the text only, use InnerText or InnerXml = In short InnerXml takes well formed XML whereas InnerText takes literal strings, and therefore when you switch to InnerText, the quotes will not be misunderstood and your XML will remain valid.
You could try to use a full path of the file, eg: sqlmap -r /your/path/of/file/burp.txt
What about cookies?
import_request_variables('gpc');
{
key: 'id',
title: 'Name',
dataIndex: 'nameId',
fixed: 'left',
sorter: true,
render: (_, entity) => entity.name,
},
UITabBar.appearance().barTintColor = .yourColorName helped me
factory Bid.fromMap(Map<String, dynamic> m, String id) => Bid(
id: id,
loadId: m['loadId'],
driverId: m['driverId'],
amount: (m['amount'] as num).toDouble(),
createdAt: (m['createdAt'] as Timestamp).toDate(),
status: m['status'],
);
Lost over an hour to this yesterday. My issue turned out to be that my Laptop, which I also use for work, still had the work VPN enabled. So even though my Laptop and Phone were on the same WIFI, it wasn't working. Soon as I disabled the VPN, expo began working again as expected.
Good Luck out there
The approach based on std::tie is also worth knowing. It is especially useful for accessing a particular item from the parameter pack, which is a related problem.
template<int index, typename...Args>
void example(Args&&... args) {
auto& arg = std::get<index>(std::tie(args...));
}
input's value attribute is defined as a DOMString attribute in the standard (1), meaning setting its value will stringify the passed value (2).
This explains why:
input.value = 2 reslts in '2'input.value = {} results in '[object Object]'input.value = undefined results in 'undefined'input.value = null results in 'null'...except that's not what happens when you set it to null! This is because the value attribute also has the LegacyNullToEmptyString extended attribute (1), which states that null values must be stringified to '' intsead of 'null' (2, 3), and that's why you have the behavior you observed.
As for why is this extended attribute used here, given the name ("Legacy") I assume this is to maintain compatibility with an old specification or browser behavior. However, I cannot find a reference that explicitly states this.
You can solve this by creating a usePokemon hook that first fetches the list of references, then maps over the URLs to fetch full details with Promise.all. That way you combine both hooks into one clean data flow. If you’re interested in how these details can help you plan strategies, check out tools for building the perfect Pokémon Team.
You can also use labels instead of popups. (Labels come up when you move the mouse over an area; popups only come up when you click on an area.)
Answer taken from: https://stackoverflow.com/a/43155126/3174566
Replace
dplyr::summarise(BandName = paste(BandName, collapse = "<br>"))
with
dplyr::summarise(BandName = lapply(paste(BandName, collapse = "<br>"), htmltools::HTML))
And then in Leaflet use
addPolygons(..., label = ~BandName)
Here's a solution that let's you define a date range:
git log --name-only --format='' --since=2000-01-01 | sort | uniq | xargs wc -l 2>/dev/null | tail -1
It seems that if disableLocalAuth is set to true then this happens.
Just came here now. Now they have provided a method to filter invalid bboxes using the following code
bbox_params = A.BboxParams(format = "coco", label_fields= ["class_labels"], clip = True, filter_invalid_bboxes = True)
I made gitmorph to automate it, check it out, might be useful: https://github.com/ABHIGYAN-MOHANTA/gitmorph, a star will be much appreciated :)
Install with Go:
go install github.com/abhigyan-mohanta/gitmorph@latest
Or with Homebrew:
brew tap abhigyan-mohanta/homebrew-tap
brew install --cask gitmorph
#pragma warning disable IDE0055
worked for me. The only thing is that you need to use it carefully, because it doesn't only work for variable declarations.
Sorry - cut off...
So, how do I combine that content with the following? Not really understanding if there's a prefix and a suffix that I can put into the macro that I have? or is there a way that I can point to the Macro that only does an open page:
Sub CleanUpFormatting()
Dim rng As Range
'--- Step 1: Remove all text with strikethrough ---
Set rng = ActiveDocument.Content
With rng.Find
.ClearFormatting
.Font.StrikeThrough = True
.Text = ""
.Replacement.Text = ""
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
Do While .Execute
rng.Delete
Loop
End With
'--- Step 2: Change red text to black ---
Set rng = ActiveDocument.Content
With rng.Find
.ClearFormatting
.Font.Color = wdColorRed
.Replacement.ClearFormatting
.Replacement.Font.Color = wdColorBlack
.Text = ""
.Replacement.Text = "^&" ' keeps the text itself
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
.Execute Replace:=wdReplaceAll
End With
MsgBox "Strikethrough text removed and red text changed to black.", vbInformation
End Sub
Somebody helped me on github, linking here in case anyone comes across this in the future
https://github.com/esp-idf-lib/core/discussions/53#discussioncomment-14276631
My setup was almost identical, but what fixed it for me the fix was adding [ProvideBindingPath()] to my AsyncPackage. From what I can tell, this allows Visual Studio to probe the assemblies in the vsix package, allowing the resources defined in the imagemanifest to be loaded.
colocar no final do comando:
--no-verify-ssl
To bypass the expired certificate I using a temporary workaround by changing the date time in PowerShell before trying to install NuGet
This was mentioned in this GitHub issue: https://github.com/PowerShell/PowerShellGallery/issues/328
Set-Date '9/8/2025 2:05:48 PM'
Install-PackageProvider -Name NuGet -Force
gs://bkt-tv-mytest-lnd/mydataase.db/mytable/load_dt=20250902/
This indicates that the destination is a directory, not a file.
You can also explore other options like Storage Transfer Service for large-scale transfer or gsutil for smaller transfers.
if len(data['values'][i]['property-contents']['property-content']) > 0 : print('Available') else: print('Not Available')
I had the same problem.
In my case it was device-specific problem, it looks like Xiaomi blocks receiver.
I changed device and it works.
Just try another device.
This may be caused by changes in macOS Monterey, where parts of the system tooling and libraries that older versions of Python expect aren't available by default.
I think you could try to use Homebrew to install libraries required by Python 3.6, which aren't available out of the box. Then let pyenv know where to find these dependencies. Finally, attempt to install Python 3.6 using pyenv again.
My only trick to find a solution to this is to add a button to switch between layers (and so, hide the second one).
Upgrading to "next":"15.5.2" resolved this issue.
Better worker management also:
anonymous 357421 0.1 0.5 9425680 83636 pts/0 Sl+ 16:19 0:00 node node_modules/.bin/next dev
anonymous 357438 0.5 1.3 28604720 216060 pts/0 Sl+ 16:19 0:01 next-server (v15.5.2)
In VS2022 you can right click on the scrollbar -> Scroll Bar Options as a shortcut for "Options" -> "Text Editor" -> "All Languages" -> "Scroll Bars"
Then activate "Use map mode for vertical scroll bar" and chosse size and preview.
What about the .NET MAUI Community Toolkit Data Grid: https://learn.microsoft.com/en-us/dotnet/api/communitytoolkit.winui.ui.controls.datagrid ?
the migration guide helped me thank you
This error may arise from dependencies conflict - some packages need lower swc version etc.
Can be fixed by adding "resolution" to package.json, as seen there:
https://github.com/tailwindlabs/headlessui/discussions/3243#discussioncomment-10391686
Thanks! It's working.
But where did you find that we can put add on it? I also didn't find official documentation to wp.image. Can someone share it?
procedure TForm1.FormMouseWheel(Sender: TObject; Shift: TShiftState;
WheelDelta: Integer; MousePos: TPoint; var Handled: Boolean);
var
LCB: TDBLookupComboBox;
begin
if ActiveControl is TDBLookupComboBox then
begin
LCB := ActiveControl as TDBLookupComboBox;
// هل القائمة مفتوحة؟
if SendMessage(LCB.Handle, CB_GETDROPPEDSTATE, 0, 0) <> 0 then
begin
if WheelDelta > 0 then
LCB.Perform(WM_KEYDOWN, VK_UP, 0)
else
LCB.Perform(WM_KEYDOWN, VK_DOWN, 0);
Handled := True;
end;
end;
end;