According to bitbucket team, clikcing on "Sync Now" will merge the target (proto in your case) branch on your feature branch.
Thread: https://community.atlassian.com/forums/Bitbucket-questions/What-does-quot-231-commits-behind-quot-develop-quot-Sync-now/qaq-p/2396036
You can disable the WebDAV module directly in your web.config by adding the following inside the <system.webServer> section:
<system.webServer>
<modules>
<remove name="WebDAVModule" />
</modules>
</system.webServer>
Problem is the order, you should write like this:
android:1="xx"
android:2="xx"
android:3="xx"
android:4="xx"
tools:replace="1, 2, 3, 4"
DELETE FROM PushNotification WHERE EmployeeId = 197
Session handling across timeframes can get tricky in Pine Script — syncing to a base timeframe and using timestamp checks instead of just session. isnew might help.
Had a similar issue in another app (Honista APK). The new version broke session flow, but the old version worked perfectly. Sometimes going back is the fix.
That error is not about your Python code — it’s a permissions / API enablement issue in Google Cloud. Even if you are “Admin” in the project, Vertex AI needs the right APIs and service accounts enabled before a custom training job can run.
Things to check
1. Enable the Vertex AI API
Go to Google Cloud Console → APIs & Services → Library and ensure:
• Vertex AI API (aiplatform.googleapis.com) is enabled.
• Cloud Storage API is also enabled (training jobs use GCS for staging).
2. Check the service account used for training
• By default, Vertex AI custom training runs under the Compute Engine default service account or a custom one you specify.
• That service account needs roles like:
• Vertex AI Administrator (roles/aiplatform.admin)
• Storage Admin (roles/storage.admin) or at least Storage Object Admin on your GCS bucket.
Do you have a file inside android/app/src/main/res/xml/network_security_config.xml?
If not try once.
network_security_config.xml
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<domain-config cleartextTrafficPermitted="true">
<domain includeSubdomains="true">10.0.0.193</domain>
</domain-config>
</network-security-config>
and then reference in AndroidManifest.xml
<application
android:usesCleartextTraffic="true"
android:networkSecurityConfig="@xml/network_security_config"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
This might help someone in the future.
Known Workarounds
Move the members with [LoggerMessageAttribute] to a class library that does not contain a .XAML file and a reference to one of the packages that trigger the failure.
Source/Issue: https://github.com/dotnet/wpf/issues/9589
HARBI MEGA 2025
| header 1 | header 2 |
|---|---|
| cell 1 | cell 2 |
| cell 3 | cell 4 |
It seems like the memfs package is required webpack-dev-middleware, but somehow it's not installed automatically. This issue will be resolved by manually installing webpack-dev-server.
npm install webpack-dev-middleware --save-dev
When you denote the application tag like above, you depend on the leniency of the parser - correcly close with </application>, not another, empty <application/> tag.
Thanks y4cj4sul3 . Like you mentioned, the problem came from the comment.
\\s+ this regular expression works when u want to skip one or more white spaces in the string
Consider you wanna store all the words in an array
u can write like this
String[] words = string.split("\\s+");
This will give all the words in the String, neglecting one or more white spaces in the string itself.
I found the solution right now. Go to Starlink app on your phone connected. Then Settings>Filter and select at least the "malware" level. That's it!
icmp6[icmp6type] == icmp6-routeradvert
This has been resolved.
The business_management permission now allows you to manage Facebook pages even if you don't have a business account role linked to the app.
sqlcmd can’t always resolve (localdb)\MSSQLLocalDB because LocalDB uses a dynamic pipe name. From your output:
np:\\.\pipe\LOCALDB#8DB1A806\tsql\query
Try connecting with the full pipe path:
sqlcmd -S "np:\\.\pipe\LOCALDB#8DB1A806\tsql\query" -E
If that works, the issue is usually:
Old sqlcmd version – update to the latest SQL Server Command Line Utilities (2022).
Wrong executable in PATH – run where sqlcmd to check.
SSMS resolves LocalDB automatically, but older sqlcmd often does not.
so , change the app icon is only option for that ?
Splitting the tail from the arrow and controlling the curve via points yields better results.
Matplotlib's FancyArrowPatch implementation is interface-oriented rather than coordinate-based (as seen in the source code, it selects rendering positions for quadratic Bézier curve drawing). By imitating its approach, quadratic Bézier curves can be drawn at the coordinate level.
For the arrowhead, I referenced the approach from https://github.com/matplotlib/matplotlib/issues/17284, which offers greater control. I selected the -|> arrow style over Simple because it provides better visual results when line widths are small.
My blog post discusses this topic in greater detail: https://omnisyr.github.io/post/%3B%3B%3BeNon-Solid%20Curves%20with%20Arrows%20in%20Matplotlib%3B%3B%3Be%3B%3B%3BcMatplotlib-zhong-dai-jian-tou-de-fei-shi-qu-xian-%3B%3B%3Bc.html
import math
import matplotlib.patches as patches
import matplotlib.pyplot as plt
import matplotlib.transforms as transforms
import numpy as np
def add_arrow(from_, to_, rad=0.3, control_=None, color='#515151',
line='--', head_length=0.6, size=0.04, detail=False):
"""
:param from_:Starting point
:param to_:Target endpoint
:param rad:Curve radius
:param control_:Control points;
if None, calculated based on the curvature of the curve.
:param color:Drawing colors
:param line:Curve Style
:param head_length:Arrow size
:param size:Mask Size
:param detail:Select whether to draw details,
and manually adjust the mask size by drawing details.
"""
if control_ is None:
x1, y1 = np.array(from_)
x2, y2 = np.array(to_)
dx, dy = x2 - x1, y2 - y1
x12, y12 = (x1 + x2) / 2., (y1 + y2) / 2.
cx, cy = x12 + rad * dy, y12 - rad * dx
control_ = (cx, cy)
vertices = [from_, control_, to_]
codes = [patches.Path.MOVETO, patches.Path.CURVE3, patches.Path.CURVE3]
path = patches.Path(vertices, codes)
patch = patches.PathPatch(path, facecolor='none', edgecolor=color,
linestyle=line, linewidth=1, zorder=-2)
ax.add_patch(patch)
direction = -1 if control_[0] < to_[0] else 1
mask_c = 'red' if detail else 'white'
mask = patches.FancyBboxPatch(
(to_[0], to_[1] - size / 2), direction * size, size, boxstyle="square, pad=0",
ec=mask_c, fc=mask_c, zorder=-1, linewidth=1)
de = math.degrees(math.atan((control_[1] - to_[1]) / (control_[0] - to_[0])))
tf = transforms.Affine2D().rotate_deg_around(to_[0], to_[1], de) + ax.transData
mask.set_transform(tf)
ax.add_patch(mask)
ax.annotate("", to_, xytext=control_, arrowprops=dict(
linewidth=0,
arrowstyle="-|>, head_width=%f, head_length=%f" % (head_length / 2, head_length),
shrinkA=0, shrinkB=0, facecolor=color, linestyle="solid", mutation_scale=10
))
if not detail:
return
ax.scatter(control_[0], control_[1], c=color, marker='x', s=12, linewidths=0.8)
ax.scatter(from_[0], from_[1], c=color, marker='x', s=12, linewidths=0.8)
ax.scatter(to_[0], to_[1], c=color, marker='x', s=12, linewidths=0.8)
ax.plot((control_[0], from_[0]), (control_[1], from_[1]),
color=color, linewidth=.5, linestyle=':')
ax.plot((control_[0], to_[0]), (control_[1], to_[1]),
color=color, linewidth=.5, linestyle=':')
def draw_eg():
debug = False
add_arrow((0.1, 0.1), (1.5, 1.6), rad=0.1, color=colors[1], detail=debug)
add_arrow((0.4, 1.7), (1.4, 0.7), rad=0.8, color=colors[2], detail=debug)
add_arrow((1.9, 1.9), (1.2, 0.1), rad=-0.2, color=colors[3], detail=debug)
add_arrow((1.7, 0.7), (0.3, 1.8), rad=0.5, color=colors[4], detail=debug)
plt.savefig('arrow_example%s.png' % ('_detail' if debug else ''), dpi=600)
fig, ax = plt.subplots(1, 1, figsize=(4, 4))
ax.set_xlim(0, 2)
ax.set_ylim(0, 2)
colors = ['#515151', '#CC9900', '#B177DE', '#37AD6B', '#1A6FDF']
draw_eg()
Is there a solution for this requirement as I am trying the same now there is no AWS in build functionality to auto fetch when new secrets updated.
Sounds like you’re in a GIF pickle! I feel your pain with the bandwidth woes. Maybe try converting those GIFs to frames first? It could save you some headaches. Check this out for converting GIFs if you're curious: <a href="https://giftoframes.com" target="_blank">Gif To Frames</a>
https://removeduplicatesexcel.net
As you have used PERSONAL ACCESS TOKEN so you should not use password.
you should us authMode = token and user = your Token Value.
You may try with this JDBC string
String jdbcUrl = "jdbc:dremio:direct=sql.dremio.cloud:443;" + "ssl=true;" + "project_id=" + PROJECT_ID + ";" + "authMode=$token;" + "user=" + PAT + ";";
Please let us know whether it solved your problem or not.
Thank you all. I had a couple of issues.
I removed the explicit Identifiable declaration on the Event to not add confusion
I rewrote my main as
@main
struct PeriodTrackerApp: App {
var body: some Scene {
WindowGroup {
StartTabView()
.modelContainer(for: [
Event.self,
Stats.self
])
}
}
}
3. I had to delete and re-install the app on my phone. I think I had a stale data that was causing issues
I can get the app to run on HW now
Indeed, $i^i$ is not a unique solution; its solutions are given by $e^{-\frac{1}{2}\pi+2N\pi}, where N\in\mathbb{Z}$.
I encountered a similar issue. Did you solve the problem?
I couldn't see I was checking session instead of err which inevitably would run log.Fatal
session, err := client.NewSession()
if session != nil {
log.Fatalf("Unable to create a session %v", err)
}
My code should have actually check err instead like this:
session, err := client.NewSession()
if err != nil {
log.Fatalf("Unable to create a session %v", err)
}
The credit for this answer goes to @Mr_Pink
U can try this usefull online tool(https://png2apng.wavesfuture.com/) to make a apng motion files
Install a browser extension that replaces web-page emojis with Twemoji (or another emoji set that includes flags).
Example: Twemoji for Chrome (or Emoji Swap) — installs web fonts that render flags.
Chrome Web Store
Restart the browser.
Open the site where flags were missing — they should now show as colored flags (Twemoji supports country flags).
If one site still shows letters, it may be using embedded images or its own emoji renderer — browser extension won't fix that specific app.
my_int = myseries["Element"].astype(int)
I had a similar need to handle some long filenames that actually sorted a field embedded near the end of the name. Since the sort key was at the end, it's a lot nicer to have it lined up.
Since, if you want to do something once, you probably want to do it again, here's a shell function that solved the immediate problem:
rjust ()
{
local line;
local cols=${COLUMNS:-$(tput cols)};
while IFS= read -r line; do
printf "% ${cols}s\n" "${line}";
done
}
It is pure shell, unless ${COLUMNS} is not set automatically. You can also override it from the CLI in case you don't want it slammed all the way to the right edge of a wide terminal window:
ls | COLUMNS=80 rjust
In coming up with the above, I also realized that modern versions of column(1) command include in most linux distros can also solve the same problem. Here's the aforementioned filenames sorted by an embedded timestamp and right justified using the abbreviated equivalent of column --table --table-column right:
$ ls *.??? | sort -t. -k4 | column -tC right | head
PowerCycleTest.SG2v1-sn0314fd-wan-cfg7-man3.0s-atfpy.Sep21221944.csv
VerboseLog.SG2v1-sn0314fd-wan-cfg7-man3.0s-atfpy.Sep21221944.txt
VerboseLog.SG2v1-sn0314fe-wan-cfg8-man3.0s-atfpy-100x.Sep22022427.txt
PowerCycleTest.SG2v1-sn0314fd-wan-cfg7-man3.0s-atfpy-10xb.Sep22141040.csv
RebootTest.SG2v1-sn0314fd-wan-cfg7-man3.0s-atfpy-10xb.Sep22141040.csv
Test.SG2v1-sn0314fd-wan-cfg7-man3.0s-atfpy-10xb.Sep22141040.csv
VerboseLog.SG2v1-sn0314fd-wan-cfg7-man3.0s-atfpy-10xb.Sep22141040.txt
PowerCycleTest.SG2v1-sn0314fe-wan-cfg8-man6.0s-atfpy-10xb.Sep23110134.csv
RebootTest.SG2v1-sn0314fe-wan-cfg8-man6.0s-atfpy-10xb.Sep23110134.csv
The problem is MSSQL password complexity. I have spent 4hrs trying to resolve the same issue but later found that if you sa password does not meet the minimum password requirement policy, authentication will fail. In my case, Your password must include at least (2 numeric values),(2 uppercase letters)(2 special char) and other letters.
If you are using OSX (or any unix system) and Cursor (not VScode), try: killall Cursor.
Pay attention to the case sensitivity of "Cursor".
This may have changed in a recent update, but as of September 2025 you can go to the Variables pane in the Run and Debug sidebar, right-click the variable you need, and select 'Copy Value'. This will copy the full value of the string to the clipboard rather than the truncated value shown by the UI.
Strictly speaking, you can't verify that the user actually has push notifications turned on. The Banno Digital Toolkit doesn't offer any mechanism to make that determination.
Also strictly speaking, the user gets to choose which 'channels' they want to use for receiving alerts (email, push, SMS). See https://jackhenry.dev/open-api-docs/consumer-api/api-reference/v0/alerts/details/
When using --fake-initial, only the initial migrations are marked as fake in the django_migrations table. Therefore, you should use --fake instead if you want to fake non-initial migrations.
Unfortunately, the deeplink parameter is not actually supported in POST /a/mobile/api/v0/institutions/{institutionId}/users/{userId}/alert/send/generic.
We can update our docs to make this more apparent / clear.
I had a similar problem and ran across this. This may not work for everyone, but I did this to avoid the problem altogether:
mystrings := []string{"ay", "bee", "see"}
longstr := strings.Join(mystrings, "\n")
bytes := []byte(longstr)
| header 1 | header 2 |
|---|---|
| cell 1 | cell 2 |
| cell 3 | cell 4 |
Have you taken a shit in your PC? Cuz it smells like crap
You followed the right steps. I have found that sometimes retrying it works, but if it keeps failing, you may have to authenticate with a username and a token (you can generate one from the old repo).
Also what's the difference between importing the repo vs forking the old one
Forking a repo is creating a personal copy but with link to the original repo, this way you can make changes on yours safely.
Importing does this but without pointing to the original.
After fighting with this for a while I finally reached a partial solution. First I managed to connect the server that runs on my remote linux machine with the emulator in my windows workstation. To do that I opened a reverse ssh tunnel from windows to linux, I changed the default port so it doesn’t collide. For example:
ssh -o ExitOnForwardFailure=yes `
-R 127.0.0.1:15037:127.0.0.1:5037 user@your-remote
Then on the linux machine I modified the environment variable that tells adb which port to use. At this point if I run adb devices I should be able to see the emulator from my local windows machine listed on the remote linux side.
adb kill-server
export ADB_SERVER_SOCKET=tcp:127.0.0.1:15037
adb devices
Since dioxus needs to know the server url I just added this line:
server_fn::client::set_server_url("http://localhost:8080");
With this I already got the app running in the windows emulator.
But even with this working I still hit some problems with routes and redirects. First the client running in the emulator couldn’t find the server on the linux machine.
To solve that I forwarded port 8080 from the remote machine:
ssh -N -L 8080:127.0.0.1:8080 user@your-remote
After that I was able to use the server routes, and that allowed me to start the google auth flow. The problem now is that after a successful login the browser inside the emulator tries to redirect to localhost:8080 but it cannot find that route, so this part I haven’t solved yet.
typo:
gaussian = np.exp(-(x/sigma)**2/2)
should be
gaussian = np.exp(-(gx/sigma)**2/2)
It turns out in strapi v5 it’s a breaking change.
There’s a new field in every record - documentID and you have to use that instead of id. The 404 are correctly 404, you just have to use the right id.
I eventually fix it by running:
ANALYZE TABLE project_reports; (query from 26 seconds down to 17 seconds)
AND adding composite indexes (query from 17 seconds down to 900ms)
In Visual Studio, the Structure Visualizer option only shows up under F# settings, so there’s no separate toggle for C#.
Changing the Outlining Margin Vertical Rule only affects the outermost namespace–level line (the red lines in the screenshot). For the inner scope lines, you need to adjust the Structure Guide color instead.
Delete everything inside C:\Users\helci.gradle\caches\ directory.
After that invalidate cashes and Restart Android Studio
@Anders_K @mcaniot Seems like I can't reply to your posts due to thread age. Do either of you know where I can find the documentation for this issue? I have followed both your instructions and got an image to temporarily load yesterday, but now Pepper is back to only displaying a black screen. Any help is greatly appreciated.
You can override unwanted flags in setup.py by modifying extra_compile_args or using a custom build class. Did something similar while tweaking a 3 patti project’s build and it worked fine.
<!DOCTYPE html>
<html lang="en">
<head>
<title>Medical Research PDF Search</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bulma CSS Framework -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css">
<style>
body { padding: 40px; }
.match { background-color: #ffdd57; font-weight: bold; padding: 2px 4px; border-radius: 4px; }
.box { padding: 20px; margin-bottom: 20px; }
.title { color: #363636; }
.notification { margin-top: 20px; }
.hero { margin-bottom: 40px; }
.search-results-section { margin-top: 40px; }
.search-input-container { margin-bottom: 20px; }
.document-card { margin-top: 20px; border-radius: 8px; }
</style>
</head>
<body>
<section class="hero is-primary">
<div class="hero-body">
<p class="title">
Medical Research PDF Search
</p>
<p class="subtitle">
Upload and search medical documents in real-time
</p>
</div>
</section>
<div class="container">
<!-- Upload Section -->
<div class="box">
<h2 class="title is-4">Upload PDF Document</h2>
<div class="field is-grouped">
<div class="control is-expanded">
<div class="file has-name is-fullwidth">
<label class="file-label">
<input class="file-input" type="file" id="pdfFile">
<span class="file-cta">
<span class="file-icon"><i class="fas fa-upload"></i></span>
<span class="file-label">Choose a PDF…</span>
</span>
<span class="file-name" id="fileName">No file selected</span>
</label>
</div>
</div>
<div class="control">
<button class="button is-primary" onclick="uploadPdf()">Upload</button>
</div>
</div>
<p id="uploadStatus" class="help"></p>
</div>
<!-- Search Section -->
<div class="box">
<h2 class="title is-4">Search Documents</h2>
<div class="field has-addons">
<div class="control is-expanded">
<input class="input" type="text" id="searchKeyword" placeholder="e.g., clinical trial, novel virus">
</div>
<div class="control">
<button class="button is-info" onclick="searchPdfs()">Search</button>
</div>
</div>
</div>
<!-- Search Results Section -->
<div class="search-results-section">
<div id="results" class="results-container"></div>
</div>
</div>
<script>
const fileInput = document.getElementById('pdfFile');
const fileNameSpan = document.getElementById('fileName');
fileInput.addEventListener('change', () => {
if (fileInput.files.length > 0) {
fileNameSpan.textContent = fileInput.files[0].name;
} else {
fileNameSpan.textContent = 'No file selected';
}
});
// Function to upload a PDF
async function uploadPdf() {
const file = fileInput.files[0];
const statusDiv = document.getElementById('uploadStatus');
if (!file) {
statusDiv.className = 'help is-danger';
statusDiv.innerText = 'No file selected.';
return;
}
statusDiv.innerText = 'Uploading...';
const formData = new FormData();
formData.append('pdf', file);
try {
const response = await fetch('/upload', {
method: 'POST',
body: formData
});
const result = await response.text();
statusDiv.className = 'help is-success';
statusDiv.innerText = result;
} catch (error) {
statusDiv.className = 'help is-danger';
statusDiv.innerText = 'Error uploading file.';
console.error(error);
}
}
// Function to search PDFs
async function searchPdfs() {
const keyword = document.getElementById('searchKeyword').value;
const resultsDiv = document.getElementById('results');
resultsDiv.innerHTML = '';
if (!keyword) {
resultsDiv.innerHTML = '<div class="notification is-danger">Please enter a keyword.</div>';
return;
}
try {
const response = await fetch(`/search?keyword=${encodeURIComponent(keyword)}`);
const pdfs = await response.json();
if (pdfs.length === 0) {
resultsDiv.innerHTML = '<div class="notification is-warning">No matches found.</div>';
} else {
pdfs.forEach(pdf => {
const pdfCard = document.createElement('div');
pdfCard.className = 'box document-card';
const pdfTitle = document.createElement('h4');
pdfTitle.className = 'title is-5';
pdfTitle.textContent = pdf.filename;
pdfCard.appendChild(pdfTitle);
const escapedKeyword = keyword.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
const regex = new RegExp(escapedKeyword, 'gi');
const highlightedText = pdf.text.replace(regex, `<span class="match">${keyword}</span>`);
const preview = highlightedText.length > 800 ? highlightedText.substring(0, 800) + '...' : highlightedText;
const textContent = document.createElement('p');
textContent.className = 'is-size-7 has-text-grey-dark';
textContent.innerHTML = preview;
pdfCard.appendChild(textContent);
resultsDiv.appendChild(pdfCard);
});
}
} catch (error) {
resultsDiv.innerHTML = '<div class="notification is-danger">Error performing search.</div>';
console.error(error);
}
}
</script>
</body>
</html>
const PDFDocument = require('pdfkit');
const fs = require('fs');
function createSamplePdf() {
// Create a new PDF document instance
const doc = new PDFDocument();
// Pipe the PDF document to a write stream to save it to disk
doc.pipe(fs.createWriteStream('sample.pdf'));
// Add a title to the document
doc.fontSize(20).text('Medical Research Sample Document', {
align: 'center'
});
// Add a subtitle
doc.fontSize(14).text('\nPatient Case Study: Keyword Search Test', {
align: 'center'
});
// Add the main body of text with keywords
doc.moveDown();
doc.fontSize(12).text(
'This document is a sample case study for a research application. The patient, diagnosed with a **novel virus**, ' +
'exhibited a range of symptoms, including fever, persistent cough, and elevated inflammation markers. ' +
'The patient was enrolled in a clinical trial testing a new **treatment protocol**. ' +
'Following treatment, the patient’s inflammation levels returned to normal. The keyword **clinical trial** ' +
'is relevant to this case. Further research will focus on the **novel virus** and its variants.',
{
align: 'left',
indent: 20,
paragraphGap: 10
}
);
// Add a list of keywords for easy reference
doc.moveDown();
doc.fontSize(10).text('Keywords for Search:', { underline: true });
doc.fontSize(10).list(['novel virus', 'inflammation', 'clinical trial', 'treatment protocol', 'variants']);
// Finalize the PDF and end the stream
doc.end();
console.log('sample.pdf has been created.');
}
// Execute the function
createSamplePdf();
const PDFDocument = require('pdfkit');
const fs = require('fs');
const { faker } = require('@faker-js/faker');
function generateRealTimeMedicalPdf() {
const doc = new PDFDocument();
const fileName = 'real_time_clinical_data.pdf';
doc.pipe(fs.createWriteStream(fileName));
// Medical Research Title
doc.fontSize(20).text('Real-Time Clinical Trial Data', { align: 'center' });
doc.moveDown();
// Project details
doc.fontSize(12).text(`Project: Novel Respiratory Drug Trial`, { underline: true });
doc.text(`Trial ID: ${faker.string.alphanumeric(8).toUpperCase()}`);
doc.text(`Monitoring Date: ${new Date().toLocaleString()}`);
doc.moveDown();
// Simulate a real-time stream of patient monitoring data
doc.fontSize(10);
for (let i = 0; i < 50; i++) {
const patientID = `PT-${faker.string.numeric(5)}`;
const eventType = faker.helpers.arrayElement([
'Vital Sign Update',
'Adverse Event Reported',
'Medication Dispensed',
'Patient Interview',
]);
const eventTime = faker.date.recent({ days: 1 });
const bloodPressure = `${faker.number.int({ min: 100, max: 140 })}/${faker.number.int({ min: 60, max: 90 })}`;
const heartRate = faker.number.int({ min: 60, max: 100 });
const oxygenSaturation = faker.number.int({ min: 95, max: 99 });
const note = faker.lorem.sentences(1);
// Write a new line of data
doc.text(`[${eventTime.toLocaleTimeString()}] **${eventType}**: Patient ID ${patientID}`);
doc.text(` - Blood Pressure: ${bloodPressure}, Heart Rate: ${heartRate}, Oxygen Saturation: ${oxygenSaturation}%`);
doc.text(` - Notes: ${note}`);
doc.text('----------------------------------------------------');
}
// Finalize the PDF
doc.end();
console.log(`Successfully created a simulated real-time PDF: ${fileName}`);
}
// Execute the function
generateRealTimeMedicalPdf();
{
"name": "pdf-search-app",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@faker-js/faker": "^10.0.0",
"express": "^5.1.0",
"mongoose": "^8.18.1",
"multer": "^2.0.2",
"pdf-parse": "^1.1.1",
"pdfkit": "^0.17.2",
"socket.io": "^4.8.1"
}
}
const express = require('express');
const multer = require('multer');
const pdfParse = require('pdf-parse');
const path = require('path');
const fs = require('fs'); // Import the file system module
const app = express();
const port = 3000;
// An in-memory array to store the extracted PDF data
const pdfDocuments = [];
// Set up Multer to store uploaded files on the disk
const upload = multer({ dest: 'uploads/' });
// Ensure the 'uploads' directory exists
if (!fs.existsSync('uploads')) {
fs.mkdirSync('uploads');
}
app.use(express.static('public'));
// --- File Upload Endpoint ---
app.post('/upload', upload.single('pdf'), async (req, res) => {
if (!req.file || req.file.mimetype !== 'application/pdf') {
return res.status(400).send('Please upload a PDF file.');
}
try {
const filePath = req.file.path;
const dataBuffer = fs.readFileSync(filePath);
const data = await pdfParse(dataBuffer);
// Store the extracted text and original filename in memory
const newPdf = {
id: pdfDocuments.length + 1,
filename: req.file.originalname,
text: data.text
};
pdfDocuments.push(newPdf);
// Clean up the temporary file
fs.unlinkSync(filePath);
res.status(200).send('PDF uploaded and text extracted successfully.');
} catch (err) {
console.error('Error during PDF processing:', err);
res.status(500).send('Error processing PDF.');
}
});
// --- Real-time Search Endpoint ---
app.get('/search', (req, res) => {
const { keyword } = req.query;
if (!keyword) {
return res.status(400).send('Please provide a keyword to search.');
}
const results = pdfDocuments.filter(doc =>
doc.text.toLowerCase().includes(keyword.toLowerCase())
);
res.status(200).json(results);
});
app.listen(port, () => {
console.log(`Server listening on port ${port}`);
});
I had this error when the json file was saved with UTF-16 encoding. Switching to UTF-8 fixed the issue.
Another option is LexoRank which stores the order in strings (Jira uses this for ranking tasks) https://www.youtube.com/watch?v=OjQv9xMoFbg
I'm using Visual Studio 2022 and I was able to add it this way. One thing I noticed though: it doesn’t delete the whole word if it’s inside quotes. it deletes the quote first, and then the word.
Tools--> Options...
Hi Even im facing same issue
Let me know what f you find any solution
I ran into this problem before. But it turns out that the path to the .mov data was wrong. So I think you should check the path first.
Try adding this as an environment variable on Render if using spring boot:
Key:
SPRING_H2_CONSOLE_SETTINGS_WEB_ALLOW_OTHERS
Value:
true
I found this discussion and the solution offered there worked for me.
https://github.com/microsoft/vscode/issues/266335
Solution from there: Run wsl --update from Windows Powershell
Depending on the volume you might benefit from commitment tiers in Log Analytics Workspace (every Application Insights resource is backed up by Log Analytics Workspace for storying logs): https://azure.microsoft.com/en-us/pricing/details/monitor/
if you looking for a nice scale google docs looks like they have a nice scale and they use these:
:root { font-size: 14px; }
h1{font-size:2rem;}
h2{font-size:1.6rem;}
h3{font-size:1.4rem;}
h4{font-size:1.2rem;}
h5{font-size:1.1rem;}
h6{font-size:1.1rem;font-style: italic;}
solved with:
quarkus {
set("container-image.tag", sanitizeVersionName(project.version))
}
You can also try using position absolute and moving it downwards depending on the size of the small text
.mat-mdc-checkbox:has(.text-muted) {
.text-muted {
position: absolute;
top: var(--mat-checkbox-label-text-size);
margin-top: 16px; // this can be adjusted
}
}
Open Settings (Cmd + , on macOS).
Search for "acceptSuggestionOnEnter".
Set it to "off".
Similarly, search for "acceptSuggestionOnTab" and disable it.
Check out JNBridge. https://jnbridge.com/
It provides interop both ways, calling java from .net or calling .net from java.
set UIDesignRequiresCompatibility in info.plist to Boolean = YES
Simply we use the following syntax to fetch details:
http://localhost:3000/users?id=1234
or
http://localhost:3000/users?id=1235
The preferred way to check types with Google Test is:
std::any x = 73;
EXPECT_EQ(x.type(), typeid(double));
With recent versions of Google Test this gives a readable output like this:
Expected equality of these values:
x.type()
Which is: char
typeid(double)
Which is: double
With older versions (like 1.11) that still works properly, but only the output is not as readable.
Thanks a lot to Marek R and all the others who provided valuable input.
When you use window.print(), the browser just takes your rendered page and runs it through its print stylesheet (or default rules if you don’t have one). There’s no “pixel-perfect” way to predict where the page will break because the browser converts everything into physical units (inches/mm) based on your screen DPI and printer settings.
If you want predictable results, you should add a @media print CSS section and explicitly control the size of the printed area. For example:
@media print {
@page {
size: A4 portrait; /* or letter/landscape */
margin: 10mm;
}
.page-break {
page-break-before: always;
}
}
Then, you can measure your elements and insert page breaks where needed by adding class="page-break" in your HTML.
The key thing is: don’t rely on screen px measurements. Convert to in, mm, or use percentages relative to the page. That way you can predict when something will spill over an 11-inch page.
It turns out that our process was setup correctly but the JBoss admin on Linux didn't have execute privileges on the JAR file. He added that in and then the driver was able to be registered.
I found these solutions: the first one is more concise if you already have some experience with LDAP, and the second one provides a detailed step-by-step guide.
1- https://github.com/sbrannstrom/nestjs-passport-ldap-example
If you the package was ported from another project, you may want to consider recreating the variables and/or connection managers that are referencing the invalid values.
Charles Mulwa
In Flowise AgentFlow, you can use an agent condition with different vectorStore node in the output, the variable to be checked would be preferably a work flow state.
Looks like the custom-<CPUs>-<MBs> name scheme is used for the N1 family custom machine types.
I recently had this question and found in the GCloud console's Create VM UI that the N1 custom machine type is the only one that maps to this naming scheme. All the other families that support custom types use their family prefix before the custom-....
I cannot find any documentation to definitively clarify the naming scheme so I can't say this is 100% the answer, but seems like it is.
I tried adding this as a comment to Suncatcher answer but the "Add a comment" input area doesn't work for me:
That class (cl_reca_rs_services) doesn't exist in some CRM system. However, copying the code from a S/4 system, replacing re_t_string with stringtab and also copying the content of the include with macros, is quickly done.
There is also REPS SEO_CLASS_OUTPUT which produces a WRITE list which can be processed as described in How to extract the output of called program RAZUGA01 (FUNC LIST_FROM_MEMORY)
MV2 is not yet supported by Chrome, so the problem remains:
Background scripts do not support "document", and content scripts do not support "onCommand".
I have a bookmarklet/JS to switch the current page to dark mode,but I would like to use it only on a hotkey press. None of the solutions work using MV3.
To add to all other answers, I want to point out a really popular use case of this, which is Pandas. They implemented the __getitem__ method (and others). The library does this to index and filter their own spreadsheet like data type. This comes in really usefully when also combining it with with other python features such as slicings.
In other programming languages this term related with operator overloading where you write your own behavior for different features in a programming language.
It turns out I installed OBS via flatpak, so OBS did not have access to the script I was trying to call. I put the script in the OBS sandbox and it works just fine!
"_" looks not valid either : I get "named capturing group is missing trailing '>'" at the _'s position
@YevgeniyAfanasyev This is the main account. When you register to developer.paypal.com, after that you can create as many sandbox accounts, as you like from the developer dashboard
I get that this guide contains what you're concerned about (updates to service worker.js) but honestly following this guide was incredibly easy and worked right off the bat: https://whuysentruit.medium.com/blazor-wasm-pwa-adding-a-new-update-available-notification-d9f65c4ad13
In addition, even the standard pwa documentation suggests updating it as necessary: https://learn.microsoft.com/en-us/aspnet/core/blazor/progressive-web-app/?view=aspnetcore-9.0&tabs=visual-studio#background-updates
I think the problem you are experiencing looks something like this:
<Button onPress(() => router.push("/some-page") />
Where pressing on the button multiple times in quick succession leads to a navigation stack looking like:
["some-page", "some-page", "some-page"]
Ideally, you press the button several times and only navigate to some-page once.
I've found that using the Expo Router component <Link> solves this problem though I can't point to documentation that proves this. Expo must handle the multiple navigation problem within their Link component.
To me this makes sense - why would they make a navigation library without solving this problem in some form?
With GROUPBY function the following result is generated
=GROUPBY(B1:B7,C1:D7,LAMBDA(a,SUM(IF(a<>"",1,0))/ROWS(a)),3,0)
A DSA (Data Structures & Algorithms) approach is most useful when the problem involves efficiency, scalability, or optimization. If you’re dealing with large inputs, need to minimize time/space complexity, or want a reusable, structured way to solve a class of problems (like graph traversal, searching, sorting, or dynamic programming), that’s where DSA really shines.
For everyday coding tasks or small projects, you might not need a full DSA-heavy solution — but for interviews, competitive programming, or systems where performance matters, it’s almost always worth applying.
I’ve also been exploring some customization resources at :
that touch on structured approaches and problem-solving.
main.ts
import { bootstrapApplication } from '@angular/platform-browser';
import { appConfig } from './app/app.config';
import { App } from './app/app';
bootstrapApplication(App, appConfig)
.catch((err) => console.error(err));
In the newer versions Chroma doesn't accept lists anymore. To bypass this I'm adding the keywords to my document and using where_document $contains to retrieve them. Doesn't work as well but it's better than nothing
For anyone who might be encountering the same problem as me, the answer is to make sure all references are assigned correctly. Both forward and back. Also, I was initially wondering why a particular foreign key is causing problems while others are not. It turns out this particular foreign key is NOT NULLABLE while the others are so it didn't cause a problem. Initially, I was not setting the back references, I only set the references sufficient to perform cascade persist. Example, in the case above, I linked D to B so that when B is saved, D will also be saved. BUT, I did not link D to C so JPA had no idea that D is dependent on both B and C. Also, I removed the reference from C to D because in my case I didn't really need the relationship to be bidirectional.
Log your models (mlflow.log_artifact or mlflow.log_model) to DagsHub’s storage.
Instead of MLflow’s registry, manually version models by naming convention (model_v1, model_v2, etc.) or commit/tag in Git/DVC
The issue was caused by a library not initializing correctly in TestFlight builds, likely due to the archiving process.
Fix:
In Xcode → Build Settings → Deployment → Strip Style, change the value from All Symbols to Non-Global Symbols.
After applying this, the app launched normally on iOS 26 real devices.
I ended up heavy-handedly solving this by destroying the DOM objects and reloading the converse.js javascript itself from scratch.
Did you come up with a solution for this, having a similar problem where a GlobalKTable is the elegant solution but doesn't trigger events as currently constructed.
The workaround I've found is to send that segment a journey that populates tasks for its members (instead of a typical journey that, say, sends emails). See here for basic methodology: https://sirajabousaid.substack.com/p/easily-export-marketing-segment-members. However, I've found unworkable/impractical the final step there to export directly from tasks in Activities view. Instead, I make a contacts view with filters like the following:
Tasks (Regarding) Contains data
Subject Equals [NAME OF TASK]
I'm also interested in the converse of this problem, making a real-time segment from a contacts view (assuming that the fields selection in defining real-time segments can't do the job for whatever reason). If anyone has any solutions there, I'd be grateful.
IntelliJ IDEA 2025.2.2
Rt click on the Main Toolbar then click on "Add Action to Main Toolbar" > "Back / Forward"
Objects of the
datetype are always naive.
https://docs.python.org/3/library/datetime.html#determining-if-an-object-is-aware-or-naive
Therefore, construct a UTC datetime and get its date
import datetime
date = datetime.datetime.now(tz=datetime.timezone.utc).date()
print(date) # 2025-09-23
My personal opinion, though? Keep the aware datetime instead of just the date. You can always call .date() on it, or create a new aware datetime with the hours, minutes, seconds, and microseconds removed.
I can confirm this is a bug in `lld-link.exe`, see here: https://github.com/llvm/llvm-project/issues/82050
A fix is available since LLVM 21.
So I managed to overcome this problem by adding a build-manifest.json file to the "basedirectory" immediately after the npm run build step... but now I'm getting the following error
Here is the the screenshot of the error
and for ?
- parent
- sub module A
- sub module B
-- sub module B1
-- sub module B2
I ran into the same issue while expanding a burger menu on iOS. Tried using 100svh/dvh/lvh and even env(safe-area-inset-bottom), but nothing worked.
What finally helped was handling the body styles differently:
On iOS, set document.body.style.position = 'fixed'.
On other browsers, set document.body.style.overflow = 'hidden'.
This prevents the bottom widget from expanding unexpectedly and makes the element properly use the available viewport.
i know its unrelated but if you looking for a nice scale google docs looks like they have a nice scale and they use these:
:root { font-size: 14px; }
h1{font-size:2rem;}
h2{font-size:1.6rem;}
h3{font-size:1.4rem;}
h4{font-size:1.2rem;}
h5{font-size:1.1rem;}
h6{font-size:1.1rem;font-style: italic;}
RegisteredCredential registered = RegisteredCredential.builder()
.credentialId(result.getKeyId().getId())
.userHandle(request.getUser().getId())
.publicKeyCose(result.getPublicKeyCose())
.signatureCount(result.getSignatureCount())
.build();
This resolves problem
I got this error message when I used the wrong username for the database.
l=int(input("enter the value of l"))
b=int(input ("enter the value of b"))
a=l*b
Print("area of rectangle a")
The issue is that the & character in "Bunnies & Burrows" is being interpreted as the start of an XML entity (like &, <, etc.), but "Burrows" isn't a valid XML entity name.
The Fix: XML Escape the Ampersand
In XML, you need to escape the & character as &:
search_term = "Bunnies & Burrows"xml_safe_term = search_term.replace("&", "&")# Result: "Bunnies & Burrows"
Try this and see if it yields any clues:
<?php
$test = "Bunnies & Burrows";
echo "Original: " . $test . "\n";
echo "Escaped: " . htmlspecialchars($test, ENT_XML1, 'UTF-8') . "\n";echo "Manual: " . str_replace('&', '&', $test) . "\n";