All apps on one page like it was before
As of last week, we changed nothing and registrations just work again.
There was no notice from Microsoft or anything about an outage or any logs that would indicate what the error was.
The main takeaway from this is in my opinion: If you use Azure Notification Hubs they sometimes just don't work and there's nothing you can do about it.
I am facing the same problem. how did you solve it?
Update: The Android AOSP has been updated (sometime between 2014 when this question was asked and 2025) to support this according to the docs
When using BLE, an Android device can act as a peripheral device, a central device, or both. Peripheral mode lets devices send advertisement packets. Central mode lets devices scan for advertisements. An Android device acting as both a peripheral and central device can communicate with other BLE peripheral devices while sending advertisements in peripheral mode. Devices supporting Bluetooth 4.1 and earlier can only use BLE in central mode. Older device chipsets may not support BLE peripheral mode.
So according to this, the answer has changed to "yes", Android can now be used as a headset for another device
I found out that According to the public documentation. NativeWind is not yet supported by dynatrace npmjs.com/package/@dynatrace/… and currently there is no plan to support it in the near future. That means, while using dynatrace we cannot use gluestack in react native application.
I have the following SQL Server execution plan in XML or graphical format. Help me analyze it and identify any performance bottlenecks. Then, suggest specific optimizations to improve query performance, such as missing indexes, expensive operators, or join issues.
Execution Plan:
[Paste the execution plan XML or describe the operators and costs here]
Additional Info:
- SQL Query used: [Paste the actual SQL query here]
- Table statistics are up to date: [Yes/No]
- Are indexes currently present on the involved tables: [Yes/No]
- Expected number of records in each table: [Give estimates]
Your task:
- Analyze the execution plan.
- Point out costly operations (e.g., key lookups, table scans, hash joins).
- Suggest SQL query rewrites or indexing strategies.
- Indicate if any table statistics or indexes are missing.
- Recommend any SQL Server configuration improvements if applicable.
In CLion 2025 and later versions, Qt support has been added. Thanks to this support, variable values are now displayed correctly during debugging.
add suppressHydrationWarning={true} to the body in your root layout. This will suppress the hydration warnings that are caused by browser extensions modifying the HTML attributes after the page loads.
I recently had a similar problem under MSWindows 10, and it was solved when under the « contextual menu = Propriétés / tab = Sécurité » of the DLL file (My PC language is French, I am not sure what the labels are in English), I clicked on « Modifier » button to remove all the goups/users but myself. The issue was that the order of them was masking my privileges.
With the « Avancé » button, one gets a pannel in which the « Accès effectif » allows to check that the privileges are in effect what they are configured. That was not the case before I removed other users/groups.
Title : Tauri + React: Image not displaying after saving in AppData folder
Hello everyone,
I’m working on a project using Tauri with React, and I’ve run into an issue with image handling.
I’m creating an images
folder inside the AppData directory and copying uploaded images into that folder. I also store the image path in the SQLite database. Everything works fine during upload — the image is saved correctly, and the path is stored — but when I try to display the image later in my app, it doesn’t show up.
Here’s the function I’m using to add a product and save the image:
async function addProduct( file, productName, category, price, description ) { try { const database = await initDatabase(); const tokenExists = await exists("images", { baseDir: BaseDirectory.AppData, }); if (!tokenExists) { await mkdir("images", { baseDir: BaseDirectory.AppData, }); } const filename = await basename(file); const uniqueName = `${Date.now()}${filename}`; const destinationPath = `images/${uniqueName}`; await copyFile(file, destinationPath, { toPathBaseDir: BaseDirectory.AppData, }); await database.execute( "INSERT INTO product (productImage, productName, category, price, description) VALUES (?, ?, ?, ?, ?)", [destinationPath, productName, category, price, description] ); return { ok: true, message: "Product added successfully" }; } catch (error) { console.error("❌ Failed to add product:", error.message); throw error; } }
To display the image, I’m trying to load it like this:
<img src={`C:\\Users\\YourUser\\AppData\\Roaming\\com.product.app\\images\\${item.productImage}`} />
But the image is not rendering, and the console shows an error:
"Not allowed to load local resource"
What’s the correct way to show images stored in AppData in a Tauri + React application?
Is there a specific Tauri API or permission required to expose that image path to the frontend?
Any help would be appreciated
You will need to write some JavaScript code using the Wix APIs. In some sense, part of the API works a little like jQuery, but minimal JavaScript proficiency and the ability to understand technical documentation is really all you need.
Check the exact error in Inspect (Browser)...
Wrap the widget using the controller in a StatefulWidget class so that you can initialise the controller there and use dispose
The max response time (2537367) is way too high when users hit 8000, which might lead to a crash. Please test with, say, 1000 and 2000 and check if it works!
Check that your phone and computer are on the same Wi-Fi network.
select "Order","Mode"
from your_table a
where not exists(select 1
from your_table b
where "Mode" not in ('T','I')
and b."Order"=a."Order");
I implement a separate update method in Service layer and use native query in repository for UPDATE operation and it still results this WARN. So I config it in the application properties:
logging.level.org.hibernate.persister.entity = true
Here is the link for this solution:
https://stackoverflow.com/questions/61398510/disable-warning-entity-was-modified-but-it-wont-be-updated-because-the-proper
Came across this problem just a while ago and it sure made my head scratch when it said try connecting to your own network daemon and as a newbie, I almost did not get it until I figured that since it was transmitting a password when i ran the ./suconnect setuid file with the open ports(yes i tried them all) then maybe I just had to listen to it and pulled up another terminal with the netcat command along with the port which led to easily solving the puzzle.
nc -lnvp <port number>
HexagonWidgetBuilder(
color: Colors.black, //Colors.transparent
child: HexTile(imagePath: media[index]));
I realised that I was using attributes()
, but if I replace with addAttributes()
it preserves the id & class. I will mark this as solved.
did you manage to fix it ? would love to know how
Reaching over 200 members felt like a milestone for us. We used some solid organic strategies and a bit of automation to bring in the key was adding value not just volume. brother cell phone list visit my website .
It seems to be happened when there are no go files under the package.
In my case I just forgot to run the templ generate
so the package contains .templ
files only and got this error.
Untuk Membatalkan Pengajuan Pinjaman di Adakami Yang Sudah Cair, pelanggan dapat Hubungi CS WA: (0817_4773_445.) kemudian jelaskan alasan nasabah ingin melakukan Pembatalan, siapkan juga data diri Anda seperti KTP, dan ikuti langkah-langkah Proses Pembatalan yang di instruksikan oleh customer service.
I managed to fix the issue by enabling the dtype-i128
feature on polars
.
Although not 1:1, this looks like it might be related to this on-going discussion
Newer versions (Android Studios 7+) strictly enforce naming conventions.
The project could have been committed before Android Studios 7 or with a failed build.
stack overflow sucks the homo dick and microsoft sucks the nggr dick
Dig into the code for the Init Flux LoRA Training
node and look at where it builds the blocks when blocks_to_swap
> 0. Somewhere in there, it’s probably creating a tensor (or loading weights) without sending it to .to("cuda")
. You can try manually forcing .to("cuda")
on any tensors/models it creates — especially right after blocks_to_swap
gets used. If that doesn’t help, wrap that section in a check like if tensor.device != target_model.device: tensor = tensor.to(target_model.device)
just to be safe.
FreeBasic , is compiled very fast as C.. and do that Things. FreeBasic use Mingw64 in windos as library of windows, run in linux too. Use GCC compiler, there is version in 32 and 64 bits,
You grabbed the wrong package—the tiny “pytorch” stub from 2019 is a dead end. Yank it, then run pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu (swap cpu for your CUDA tag) and itll work That python313.dll pop‑up means you’re on the bleeding‑edge Python 3.13, and PyTorch hasn’t built wheels for it yet. start a fresh venv with Python 3.12 and it will install.
None of the above works now.
figure {margin:0} has no effect
amazon insist I put img inside these tags <figure>.. ..</figure>, but when done so, the images are all indented about 170 pixels, so 1/2" of right side of image goes off the screen, how can I stop that? <figure><img alt="Music score for Jack Hall." src="../Images/29JhFi_Jack_Hall.jpg"/><figcaption>Jack Hall by Jack Endacott.</figcaption></figure>
figure {margin:0} has no effect, and I cannot understand that hi tech code at all.
If there is an old identity column, you need to drop the old index first.
ALTER TABLE <table_name> DROP CONSTRAINT <index_name>;
Alter table <table_name> add <column_name> INT IDENTITY;
ALTER TABLE <table_name> ADD CONSTRAINT <index_name> PRIMARY KEY NONCLUSTERED (<column_name>);
In my own case I discovered that I wasn't including the "/" at the end of url, hence causing the error. When i included the .../api/users/register/ as aganist .../api/users/register it worked just fine as it ought to.
I'm having the same problem. Did you find a solution for this?
I'm not sure what your JSON structure looks like and what it contains - but how are you loading it? If you're working with dataframes and/or using the json
library, you should be using the json.loads()
or pd.read_json()
methods. Try using that and see if that works at first? I think when you're making this statement:
variables = json_dict.get( 'variables', None )
The variables
assignment might be returning a None type or an empty result. Could you check if this is working first before you run your condition block? I'm assuming your json_dict
is a dictionary of dictionaries, and what you want is a dictionary of strings.
XGIMI HALO manufacturer data is 0x74B85A4135F278FFFFFF3043524B544D
you cannot, without paying ...
@Echo Off
:: Create a file containing only the null character (ASCII 0x00)
:: Authors: carlos, aGerman, penpen (from DosTips.com)
Cmd /U /C Set /P "=a" <Nul > nul.txt
Copy /Y nul.txt+Nul nul.txt >Nul
Type nul.txt |(Pause>Nul &Findstr "^") > wnul.tmp
Copy /Y wnul.tmp /A nul.txt /B >Nul
Del wnul.tmp
I was confused about this as well.
From my reading of the docs, I think (2) would be closer to the truth.
https://docs.ray.io/en/latest/ray-core/actors/async_api.html
Specifically, the following lines:
"Under the hood, Ray runs all of the methods inside a single python event loop. Please note that running blocking ray.get
or ray.wait
inside async actor method is not allowed, because ray.get
will block the execution of the event loop.
In async actors, only one task can be running at any point in time (though tasks can be multi-plexed). There will be only one thread in AsyncActor! See Threaded Actors if you want a threadpool."
The docs state that even if you set max_concurrency > 1, only one thread would be created for async actor (the parameter would affect the number of concurrent coroutines, rather than threads for async actors)
yeah the issue comes from Google Play Services' measurement module that's automatically included with AdMob, and you can't simply exclude it via Gradle since it's dynamically loaded by the system. The crashes occur when the service tries to unbind but isn't properly registered, which is a known issue with Google's analytics components. Try updating to the latest AdMob SDK version, explicitly disable analytics in your app's manifest with <meta-data android:name="google_analytics_automatic_screen_reporting_enabled" android:value="false" />
The command below wll generate the html report with no codes, just texts and figures.
jupyter nbconvert s1_analysis.ipynb --no-input --no-prompt --to html
Setting gcAllowVeryLargeObjects
in the application web.config
only worked when put in machine.config
Not sure that it is your case, but
I discovered that on GO under highload if you set "KeepAlive=true" than it causes OOM out of memory exception.
You cannot inject a custom session into the Supabase client like this
export const supabase = createClient<Database>(config.supabaseUrl, config.supabaseKey, {
global: typeof window !== 'undefined' ? { fetch: fetchWithSession } : undefined
});
Yes of course kind sir!
Here you go:
Vagrant.configure("2") do |config|
config.vm.box = "bento/ubuntu-24.04"
config.vm.box_version = "202502.21.0"
config.vm.provider "qemu" do |qe|
qe.memory = "3G"
qe.qemu_dir="/usr/bin/"
qe.arch="x86_64"
qe.machine = "pc,accel=kvm"
qe.net_device = "virtio-net-pci"
end
end
```AIzaSyB5DBPigRtII9pylj1eqjAgEx7khkvKP0o```
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```
File conventions AI tools actually care about
Most AI coding tools (Copilot included) definitely prioritize:
XML docs using standard assembly naming (YourLibrary.xml
)
README.md files at repo root
Package metadata from nuspec files
The most overlooked trick is setting PackageReadmeFile
in your csproj to include the README directly in the NuGet package. Many teams miss this, but it makes a big difference:
YourProject.csprojv1
<PropertyGroup>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>
<ItemGroup>
<None Include="README.md" Pack="true" PackagePath="\" />
</ItemGroup>
Repository URLs in package metadata matter too - tools crawl these links.
Two additional formats worth considering:
A dedicated samples repo with real-world usage patterns. We've found Copilot particularly picks up patterns from these.
Code examples in XML docs that include complete, runnable snippets. The <example>
tag gets far better results than just text descriptions:
C#
/// <example>
/// var client = new ApiClient("key");
/// var result = await client.GetUserDataAsync("userId");
/// </example>
We also saw improvement after adding a docfx-generated site linked from our package metadata.
The most reliable test we found:
Include some unique but valid coding patterns in your docs that developers wouldn't naturally discover (like optional parameter combinations or helper method usage)
Have new team members try using your library with Copilot - if they get suggestions matching those patterns, the AI is definitely using your docs
Try asking Copilot Chat directly about your library functions - it's surprisingly good at revealing what documentation it has access to
digging deeper.
Add support for including a README with a package#10791
FeatureDocs18
nkolev92 closed on Aug 12, 2021
This feature was implemented specifically to improve documentation discovery.
Looking at popular, well-documented packages that Copilot effectively suggests:
Newtonsoft.Json uses the exact pattern I described
Microsoft.Extensions.DependencyInjection includes README files directly in packages
Serilog maintains excellent XML documentation
The effectiveness of sample repositories can be seen with:
AspNetCore samples repository: https://github.com/dotnet/AspNetCore.Docs
This repository is frequently referenced in AI suggestions for ASP.NET Core implementations, demonstrating the value of dedicated sample repos.
DocFx adoption:
Improve DocFX crawlability for search engines and AI tools#7845
enhancementdocumentation7
VSC-Service-Account closed on Apr 18, 2023
DocFx has specifically been improved for AI tool compatibility.
A 2023 research paper on GitHub Copilot's knowledge sources confirmed it prioritizes:
Standard XML documentation
README files in repositories
Example code in documentation
This approach was validated in the Microsoft documentation team's blog post "Testing AI Assistant Documentation Coverage" (2024), which established pattern recognition as the most reliable way to verify documentation uptake.
Consider the Polly library - they implemented extensive <example>
tags in their XML documentation in 2023, and GitHub Copilot suggestions for Polly improved dramatically afterward, consistently suggesting the resilience patterns documented in those examples.
You can test this yourself by comparing Copilot suggestions for libraries with minimal documentation versus those with comprehensive documentation following these practices.
G.M. found the solution in the comments, and as BDL elaborated, the problem was that I used glew instead of glad in the shader source file.
There is still no way to do this natively via the browser, but you can use htmlsync.io to host your static file and it will handle localStorage synchronization automatically.
Make sure the two 64-bit thread-safe DLLs for PHP 8.1 (php_sqlsrv_81_ts_x64.dll
and php_pdo_sqlsrv_81_ts_x64.dll
) are in your ext directory, install Microsoft ODBC Driver 18 for SQL Server
and the Visual C++ 2019-2022 runtime
, append "extension=sqlsrv
" and "extension=pdo_sqlsrv
" to php.ini
, restart Apache, and check with php -m or phpinfo() that both modules did load; if not, one of those three prereqs does not match your PHP build.
Branching not working and structures not spawning? Yeah, it's like the script’s bugging out. Drop the code here—someone might spot the issue quick.
I think Khaled Ayed is right. In this configuration, the host calls RouterModule.forRoot several times, which should not be the case. So, this needs to be changed in any case.
If this does not resolve the issue, there may be another problem as well.
Can you please open an issue here:
https://github.com/angular-architects/module-federation-plugin/tree/main/libs/native-federation
Please also link a simple GitHub project reproducing the problem.
Best wishes,
Manfred
I found an article about the Centaur tabs module which might be the solution for you. Take a look at it.
In python we have the GIL, which limits the interpreter to only allow one thread at a time to execute python-code. Since all your function-code is python, it just works "normally" since all threads are waiting to get some "run time" i.e they can only execute code one at a time.
Shias us xsji. 772!:8 d sis. Sandi. )₹)/₹/&/ a Shaka. Jha &!:!:):₹:?/&/&/ Sah svsjzjdjs !/!/&/&/ a ha Shahjahan. Sah ?!//&/9!:!:₹ !!/!/&/&926b) an₹₹: Abhi sang shbzjbh):!/ Shaka a₹ a sbhhs hhs )!/₹//&!/!:).).) !₹:
A good responsive solution for me:
.g-recaptcha {
transform: scale(0.87);
transform-origin: 0 0;
@media screen and (min-width: 620px) {
max-width: 100%;
width: 100%;
}
}
alright i will try to do that , I have just been bothered about it lately and I just hope this advise is helpful and the card get activated
This is not an answer it's a question how can I remove the diagonal lines using VBA code
I want to add my answer, even though many of the key points have already been covered by @sahasrara62, @aSteve, and, of course, @Daweo. I’ll compile all the information into a single, structured explanation, along with some of my own thoughts.
As @aSteve mentioned, if you install numpy
under Python 3.12, Python 3.13 won’t see it, and the same goes for pyaudio
in reverse. This is why VS Code’s Pylance reports “could not be resolved” — it’s simply looking at the wrong Python environment.
Following @Daweo’s sugggestion, you can explicitly install packages for a particular interpreter by running:
python3.12 -m pip install numpy
python3.13 -m pip install pyaudio
This ensures that the correct pip
tied to each Python version is used, eliminating any ambiguity.
However, as @sahasrara62 pointed out, a much better long-term approach is to create a virtual environment tied to a single Python version. This avoids the “wonky” setups you described and is the industry standard for managing Python dependencies. It keeps everything isolated and predictable.
For example, to create and activate a virtual environment with Python 3.12, you can run:
python3.12 -m venv myenv source myenv/bin/activate
# On Windows it would look like thuis: myenv\Scripts\activate
All your packages will live inside myenv
, completely separate from other Python installations and projects. I highly recommend using this approach.
Not to forget. If you’re working in VS Code, make sure it’s set to use this virtual environment. Open the command palette (Ctrl+Shift+P
), type Python: Select Interpreter
, and choose the one that points to myenv
. This will also resolve the missing import errors reported by Pylance.
Reworked @matt answer with an extension:
extension URLComponents {
init(from url: URL) throws {
guard let scheme = url.scheme else {
throw URLError(.badURL, userInfo: [NSLocalizedDescriptionKey: "`\(url)` has no scheme"])
}
guard let host = url.host else {
throw URLError(.badURL, userInfo: [NSLocalizedDescriptionKey: "`\(url)` has no host"])
}
var path = url.absoluteString.components(separatedBy: host).last ?? ""
if path.hasSuffix("/") {
path.removeLast()
}
self.init()
self.scheme = scheme
self.host = host
if !path.isEmpty {
self.path.append(path)
}
}
}
It could mean Gradle is trying to build using the wrong directory to build. Make sure you opened your project from the root. My issue was that Studio thought my project had two roots for some reason, so I deleted my .idea folder and that resolved it.
I figured it out.
I had turned all the default pages to draft. Once I published a page the homepage setting reappeared.
This one works for me as well but is not so harsh and keeps the environment:
import tkinter
root=Tk()
backroot=root
def restart():
global root, backroot
root.destroy()
root=backroot
root.mainloop()
i think you should use onSelect or onChange props in Select from Antd instead of onClick
You should be able to echo the package. So `echo $CMAKE_PREFIX_PATH` to get the directory that you add to the cmake text file
Thank you. It seems that, since you wrote this, they have changed the location of their files. https://github.com/n8n-io/n8n/tree/master/packages/editor-ui no longer works, and they don't seem to want to tell you where the initial screen lives. The community felt this was not their problem and Open WebUI does not respond.
If I were you, I would provide the graph, format the code and explain further what is not making sense.
4H: HH → HL → Price consolidating at HL zone
|
|__ 15m: QML forms → CHOCH → FVG → Entry (Shor
t)
Running the app on the newly released Wear OS 6 beta (API 36, based on Android 16) solves the issue. The warning no longer appears, which is the expected behavior. On Wear OS 5.1 (API 35) the error stills appears, so I assume Google fixed it in the new version only.
In the context of an ALL SERVER trigger on DDL_EVENT the:
raiserror (N'ğ', 0, 0) with log
will return the message (N'ğ') to the End User. This is not the behavior of xp_logevent, which is supposed to write the log without "disturbing" the end user.
i ended up fixing this by changing the [now - countDownDate] to [countDownDate - now].
in reference to @Sumit Mahajan 's implementation, twitter has had some updates to their media upload via v2 api.They've now removed the COMMAND= param, and separated the end points for initialize, append and finalize. (i've updated sumit's implementation with the new api endpoints, and used an s3 asset)
https://devcommunity.x.com/t/media-upload-endpoints-update-and-extended-migration-deadline/241818
export const TWITTER_ENDPOINTS = {
TWITTER_TWEET_URL: "https://api.twitter.com/2/tweets",
TWITTER_MEDIA_INITIALIZE: "https://api.twitter.com/2/media/upload/initialize",
TWITTER_MEDIA_APPEND: "https://api.twitter.com/2/media/upload/{id}/append",
TWITTER_MEDIA_FINALIZE: "https://api.twitter.com/2/media/upload/{id}/finalize",
TWITTER_MEDIA_STATUS: "https://api.twitter.com/2/media/upload"
}
const awsMediaResponse = await s3.getObject({
Bucket: bucket,
Key: `path/to/s3_file.mp4`,
}).promise();
if (!awsMediaResponse.Body) throw new Error("No Body returned from s3 object.");
const tokenResponse = await getValidTwitterAccessToken();
const buffer = Buffer.isBuffer(awsMediaResponse.Body) ? awsMediaResponse.Body : Buffer.from(awsMediaResponse.Body as Uint8Array);
const totalBytes = buffer.length;
const mediaUint8 = new Uint8Array(buffer);
const contentType = awsMediaResponse.ContentType;
const CHUNK_SIZE = Math.min(2 * 1024 * 1024, totalBytes);
const initResponse = await fetch(TWITTER_ENDPOINTS.TWITTER_MEDIA_INITIALIZE, {
method: "POST",
headers: {
Authorization: `Bearer ${tokenResponse.twitterAccessToken}`,
"Content-Type": "application/json"
},
body: JSON.stringify({
media_category: "tweet_video",
media_type: contentType,
total_bytes: totalBytes
})
});
if (!initResponse.ok) throw new Error(`Failed to initialize media upload: ${await initResponse.text()}`);
const initData = await initResponse.json();
const mediaId = initData.data.id;
let segmentIndex = 0;
console.log("total: ", totalBytes, "chunk size: ", CHUNK_SIZE);
if (totalBytes <= CHUNK_SIZE) {
const appendFormData = new FormData();
appendFormData.append("media", new Blob([mediaUint8]));
appendFormData.append("segment_index", segmentIndex.toString())
const appendResponse = await fetch(TWITTER_ENDPOINTS.TWITTER_MEDIA_APPEND.replace("{id}", mediaId), {
method: "POST",
headers: {
Authorization: `Bearer ${tokenResponse.twitterAccessToken}`,
"Content-Type": "multipart/form-data"
},
body: appendFormData,
}
);
if (!appendResponse.ok) throw new Error(`Failed to append single chunk media: ${await appendResponse.text()}`)
} else {
for (let byteIndex = 0; byteIndex < totalBytes; byteIndex += CHUNK_SIZE) {
const chunk = mediaUint8.slice(
byteIndex,
Math.min(byteIndex + CHUNK_SIZE, totalBytes)
);
const appendFormData = new FormData();
appendFormData.append("media", new Blob([chunk]));
appendFormData.append("segment_index", segmentIndex.toString())
const appendResponse = await fetch(TWITTER_ENDPOINTS.TWITTER_MEDIA_APPEND.replace("{id}", mediaId), {
method: "POST",
headers: {
Authorization: `Bearer ${tokenResponse.twitterAccessToken}`
},
body: appendFormData,
}
);
if (!appendResponse.ok) throw new Error(`Failed to append media chunk ${segmentIndex}: ${await appendResponse.text()}`);
segmentIndex++;
}
}
const finalizeResponse = await fetch(TWITTER_ENDPOINTS.TWITTER_MEDIA_FINALIZE.replace("{id}", mediaId), {
method: "POST",
headers: {
Authorization: `Bearer ${tokenResponse.twitterAccessToken}`,
},
}
);
if (!finalizeResponse.ok) throw new Error(`Failed to finalize media upload: ${await finalizeResponse.text()}`);
await checkMediaStatus(tokenResponse.twitterAccessToken, mediaId);
console.log("status check: ", mediaId);
const tweetPostResponse = await axios({
url: TWITTER_ENDPOINTS.TWITTER_TWEET_URL,
method: "POST",
headers: {
"Content-Type": "application/json",
"Authorization": `Bearer ${tokenResponse.twitterAccessToken}`
},
data: {
"text": caption,
"media": {
"media_ids": [mediaId]
}
}
})
in addition, the status check function the response has the processing_info in the data object now for twitter:
const statusData = await statusResponse.json();
processingInfo = statusData.data.processing_info;
only exchange object is passed as tool context to server,
After struggling with React Native vector icons (from react-native-vector-icons
) not showing in my iOS app, I finally solved it. Here's a detailed step-by-step that might help others facing the same issue.
Problem
Icons were rendering perfectly on Android, but nothing appeared on iOS. No errors, just missing icons.
My Setup
React Native 0.79.1
react-native-vector-icons
iOS target using Xcode
Bare React Native (not Expo)
Root Cause
On iOS, react-native-vector-icons uses custom font files (like Ionicons.ttf, FontAwesome.ttf, etc.). These font files need to be:
Without step 2 or 3, icons won’t render even if you import them correctly in JS.
Solution
Inside ios/YourApp/Info.plist, add the font files like this:
<key>UIAppFonts</key>
<array>
<string>AntDesign.ttf</string>
<string>Entypo.ttf</string>
<string>EvilIcons.ttf</string>
<string>Feather.ttf</string>
<string>FontAwesome.ttf</string>
<string>FontAwesome5_Brands.ttf</string>
<string>FontAwesome5_Regular.ttf</string>
<string>FontAwesome5_Solid.ttf</string>
<string>Foundation.ttf</string>
<string>Ionicons.ttf</string>
<string>MaterialCommunityIcons.ttf</string>
<string>MaterialIcons.ttf</string>
<string>Octicons.ttf</string>
<string>SimpleLineIcons.ttf</string>
<string>Zocial.ttf</string>
</array>
node_modules/react-native-vector-icons/Fonts
Select all the .ttf files mentioned in your Info.plist.
In the dialog box:
Check Copy items if needed
Check your target (e.g., YourProject)
Click Add
In Xcode, click the blue project icon > select your app target.
Go to the Build Phases tab.
Expand Copy Bundle Resources.
Ensure all .ttf files are listed.
from Xcode:
Product > Clean Build Folder
Then Run (⌘ + R)
If you're still facing issues after this, feel free to comment.
I tried it just now (2025-07-13). It works fine for me. I copied your code for the .sc and .scd files. It works just fine for me using SuperCollider SuperCollider 3.13.0 running on a Dell laptop under Windows 10. The window shows up, as well as the message & the class name in the Post Window. I can move, resize & close the window.
When passing class methods as input properties in Angular, the function loses its this
context. Here are muliple solutions:
Solution 1: Factory Function Pattern :
export class GaugesListComponent {
constructor(private gs: GaugesService) {}
// Factory that creates and returns the display function
createDisplayFn(): (value: string) => string {
return (value: string) => {
const gauge = this.gs.getDirect(value);
return gauge ? `${gauge.type} ${gauge.symbol}` : '';
};
}
}
<app-combobox
[displayWith]="createDisplayFn()"
...>
</app-combobox>
Solution 2: Constructor Binding :
export class GaugesListComponent {
constructor(private gs: GaugesService) {
// Explicitly bind the method to the component instance
this.displayWith = this.displayWith.bind(this);
}
displayWith(value: string): string {
const gauge = this.gs.getDirect(value);
return gauge ? `${gauge.type} ${gauge.symbol}` : '';
}
}
You can try download a newer distro with GLIBC 2.29+ then extract them from live to Lubuntu, it's like a transplant of GLIBC
Can you tell me how to test and design the frontend part that calls the backend with error handling.
The underlying assumptions of test driven development:
When our goal requires both API calls and complicated logic, a common approach is to separate the two.
Gary Bernhardt's Boundaries talk might be a good starting point.
Consider:
async execute(requestModel: BookAHousingRequestModel): Promise<void> {
let responseModel: BookAHousingResponseModel;
const user: User | undefined = this.authenticationGateway.getAuthenticatedUser();
if(!user) {
responseModel = this.authenticationObligatoire()
} else {
const housing: Housing | undefined = await this.housingGateway.findOneById(requestModel.housingId);
responseModel = this.responseDeHousing( requestModel, housing );
}
this.presenter.present(responseModel)
}
Assuming that BookAHousingRequestModel and Housing are values (facades that represent information in local data structures), then writing tests for the logic that computes the response model that will be forwarded to the presenter is relatively straight forward.
(Note: there's some amount of tension, because TDD literature tends to emphasize "write the tests first", and how could we possibly know to write tests that would produce these methods before we start? You'll have to discover your own answer to that; mine is that we're allowed to know what we are doing.)
So we've re-arranged the design so that all of the complicated error handling can be tested, but what about the method that remains; after all, there's still a branch in it...?
By far, the easiest approach is verify it's correctness by other methods (ie: code review) - after all, this code is relatively straight forward. It's not immediately obvious to me that the extra work that would need to be done to create automated tests for it will pay for itself (how many mistakes do you expect that test to catch, given the simplicity here)?
But maybe this problem is standing in for something more complicated; or we are in an environment where code coverage is King. Then what?
What we've got here is a sort of protocol, where we are making choices about what methods to call. And a way to test that is to lift the protocol into a separate object which is tested by providing implementations of the methods that can be controlled from the tests.
One way that you could do this is to introduce more seams (See Working Effectively with Legacy Code, chapter 4) - after all, our processing of errors into a response model doesn't really care about where the information comes from, so we could try something like....
constructor(
private responseModels: ResponseModels,
private presenter: BookAHousingOutputPort,
private authenticationGateway: AuthenticationGateway,
private housingGateway: HousingGateway,
private dateTimeProvider: DateTimeProvider) {}
async execute(requestModel: BookAHousingRequestModel): Promise<void> {
let responseModel: BookAHousingResponseModel;
const user: User | undefined = this.authenticationGateway.getAuthenticatedUser();
if(!user) {
responseModel = this.responseModels.authenticationObligatoire()
} else {
const housing: Housing | undefined = await this.housingGateway.findOneById(requestModel.housingId);
responseModel = this.responseModels.responseDeHousing( requestModel, housing );
}
this.presenter.present(responseModel)
}
The point here being that you can "mock" the response models implementation, passing in a substitute implementation whose job is to keep track of which method was called with which arguments (aka a "spy") and write tests to ensure that the correct methods are called depending on what answers you get from the authenticationGateway.
(The TDD community tends to prefer composition to inheritance these days, so you are more likely to see this design than one with a bunch of abstract methods that are overridden in the tests; but either approach can be made to work).
Keep Xcode on
Go to Windows > Devices and simulators > Unpair your phone
Remove cable connection
Reconnect cable and Trust the computer on phone
Xcode may get stuck in pairing just disconnect and reconnect cable and it should work
I’ve found a way to at least work around the issue so that the proxy can be used:
If you load another website first — for example, Wikipedia — before navigating to csfloat.com, it seems to work fine. You can add something like this to your code:
await page.goto("http://wikipedia.com/", {
waitUntil: "domcontentloaded",
timeout: 30000,
});
Then, after that, navigate to csfloat. Everything seems to work correctly this way.
Does anyone have an idea why this might be happening?
Simple as this: in the Copy activity, use Polybase and on the sink tab uncheck "Use type default". That should do the trick.
I ran
npm i eslint -g
npm install eslint --save-dev
npm install eslint@8 --save-dev
and it helped me
thanks @cyril ,
deleting that part worked for me >>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<annotationProcessorPaths>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
JetBrains IntelliJ K2 Mode for Kotlin doesn't have the ability to suppress based on annotation, you'll have to suppress it with a comment, or disable K2 mode.
My case: I install the VC-code in /download/ path (Mac).
try to update you VS-code, if it returns permission error,
maybe that is the case.
re-run the vscode, the flutter extension is back~~
I had the same running on my Mac, the following fixed it
brew upgrade helm
So like @subram said in the comments, its the helm version.
Check the extension of your images, I just noticed that .png and .PNG are two different entities. I had to change the extensions to recognise the write case
For Prism users:
@Diego Torres gave a nice answer in this thread. His xaml can be used directly in a MVVM situation with the Prism framework, with the following code in the ViewModel:
public DelegateCommand<object> SelectedItemChangedCommand { get; private set; }
In the constructor of your ViewModel:
SelectedItemChangedCommand = new DelegateCommand<object>(SelectedItemChanged);
The method to be executed:
private void SelectedItemChanged(object args)
{
// check for the datatype of args and
// Do something!
}
Yes, TikTok offers a Webhook solution for lead ads, but it’s not available by default and requires approval through the TikTok Marketing API (Custom Application type).
To get started:
Apply for Custom Access via the TikTok for Developers portal.
Once approved, you’ll be able to create a Webhook URL and subscribe to the **"**lead_generate" event.
You’ll receive real-time POST requests containing lead form data.
You also need to set up:
A verified TikTok Business Center account
An authorized advertiser app
A secure endpoint to receive and process the webhooks (HTTPS required)
TikTok’s documentation is limited publicly, but after approval, you’ll get access to their full Webhook API spec
https://i.postimg.cc/VkTnRjzk/Przechwytywanie.png
i hope you help me, this is important for me.
GitHub sees a raw curl request with just a bare token, their security systems might flag it as suspicious, especially if there were previous authentication issues (like from Claude Code). The CLI also manages token refresh and might be using a slightly different auth flow under the hood, even though it's technically the same PAT. Try mimicking GitHub CLI's exact headers with curl - including User-Agent
The documentation for g_assert_cmpmem says it is equivalent to g_assert_true (l1 == l2 && memcmp (m1, m2, l1) == 0)
So you might want to use just g_assert_true(l1 == l2)
There are two ways to authorise: with or without PKCE.
And there are two places to update the config: https://github.com/search?q=repo%3Aspotify%2Fweb-api-examples%20yourClientIdGoesHere&type=code
Any chance you updated one config, but try to use another method?
Put the input inside a div with defined width. But 50px is too narrow.
<div style="width:150px;"> <input type="date" value=""></div>
short solution; no bc
dc
or printf
solution using bash
bin() {
echo "$(($( (($1)) && bin $(($1 / 2)))$(($1 % 2))))"
}
oct() {
echo "$(($( (($1)) && oct $(($1 / 8)))$(($1 % 8))))"
}
# Recreate the video since the previous file may have been lost before the user could download it.
# Load the image again
image_path = "/mnt/data/A_3D-rendered_digital_video_still_frame_shows_a_pr.png"
image = Image.open(image_path)
image_array = np.array(image)
# Create 15-second video clip
clip_duration = 15
clip = ImageClip(image_array).set_duration(clip_duration).set_fps(24)
# Resize and crop for portrait format
clip_resized = clip.resize(height=1920).crop(x_center=clip.w/2, width=1080)
# Output file path
output_path = "/mnt/data/Relax_Electrician_CCTV_Install.mp4"
# Write video file again
clip_resized.write_videofile(output_path, codec="libx264", audio=False)
If you want to add many files in a loop, there is addAttachments() method. If you use just attachments() previous added files will be overwritten by newest one.
Checked at 3.1 - it works.
https://api.cakephp.org/3.1/class-Cake.Mailer.Email.html#addAttachments()
It depends on your business need and use case.
If elements are known and should be created on container creation, then it's better to include elements creation at the same API request. You can also pass it as an empty array if no elements to be created for some containers so that you make your API dynamic for both cases. Of course in this case you will also need an element creation API if there is a possibility that elements will not be all added at the time of container creation.
However, if always elements will be added later then create create 2 separate APIs without including elements in the container creation API.
And for the elements creation API it's best practice to always make it an array, and in case you will add only one element, then the array will contain only one item.