in Delphi 2007
function TComboBox.DoMouseWheel(Shift: TShiftState; WheelDelta: Integer;
MousePos: TPoint): Boolean;
begin
if FUseMouseWheel then
Result := inherited DoMouseWheel(Shift, WheelDelta, MousePos)
else
Result := True;
end;
This worked for me Thanks, just renamed the 18.0 folders
@antokhio - thank you for the linked libraries, maybe I can find the solution by studying their code as these libraries (especially use-context-selector) solve exactly the same issue I am confused by right now.
So I know this is old but i just came across this in WPF.
where the Visual Class (the class that creates visual items in wpf) is in the System.Windows.Media namespace
the adorner class lives in the System.Windows.Document namespace but inherits from Classes in the System.WIndows.Media namespace.
so im a newbie but Im seeing the microsoft team do this all the time.
Namespaces seem to be just away to organize files not to prototype class inheritance.
@SherlHohman, I do not know if it is Stack Overflow on my browser, but the "Add a Comment" or "Reply" functionalities are broken on my side, leaving a comment, (like I do now) is my only working solution to get involved in the issue.
@sparkJ - meaning checkbox won't re-render but the wrapper with the useTableStateRowSelectionContext will. That is a possible solution but I somehow think even this re-render is unnecessary.
Windows's tree does not support this.
Linux tree can do this (through WSL or ported installation)
tree -P *.docx
@Drew Reese - I have answered your questions in the body of the post. As for the topic title - I believe this is the essence of my problem - how to force component to only update when "item in the context list connected to the component" changes - is added or removed. I am opened to improve the clarity of my post in any way, please give me more guidance if you see any.
@Gabe Sechan thanks, but I'd rather a free one. It's a FOSS app I'm contributing on. I highly doubt they want/can accept paid library
Thanks daggett: I wrapped script2 as a method and passed script1 as parameter in script2
pipline.groovy
node('Node1'){
def loadedScript1 = load('./Script1.groovy')
loadedScript1()
//..some code
def loadedScript2 = load('./Script2.groovy')
loadedScript2.script2(loadedScript1)
}
Script1.groovy
def script1(){
println 'Script1 works'
//..some code
}
return this;
Script2.groovy
def script2(Script script1){
println 'Script2 works'
//..some code
script1()
}
return this;
The file structure is correct.
You just need to use the full URL in the fetch request:
const res = await fetch("http://localhost:3000/api/contact", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify(data),
});
Just expanding on @bfavaretto answer to include a variant using Map objects.
const listeners = new Map(); // Key value Map structure
for(/* ... */) {
(function outerfunction(i, f) {
const listener = function(e) {
responsefunction(e, f, i);
};
elementname.addEventListener("click", listener);
listeners.set(elementname.id, listener); // use meaningful keys
})(parameter1, parameter2);
}
// Removing the listener later:
elementname.removeEventListener("click", listeners.get(elementname.id));
At some point the documentation was updated to confirm this:
on_success/on_failure - other clients can see the task as finished while handlers are still runningSo yes, another worker can start working on the next task before the on_success of the previous task has finished.
Thanks for your answer, Eason. I checked SSA(Secure Service Account API) and followed all the steps. I am getting the 3 legged token without user input, but I am getting an error on the response when trying to get the status of the model (commands:autodesk.bim360:C4RModelGetPublishJob):
"status": "403", "code": "C4R", "detail": "Failed to get publish model job"
I am accessing the Hub, the folder, the file and project Id. I provided to the Service user with "manage" permissions settings. Scopes are data:create data:read and data:write, as mentioned here: https://aps.autodesk.com/en/docs/data/v2/tutorials/publish-model/ I made it working before with 3 legged token with user authenticate.
I found a link about Secure Service Account which mentions this: "Revit Cloud Worksharing (RCW): Full compatibility with Revit Cloud Worksharing" https://aps.autodesk.com/blog/update-secure-service-accounts-ssa-goes-ga So, I was expecting it will allow me to publish, since it mentions "Full compatibility".
Can you confirm SSA should allow me to publish (commands:autodesk.bim360:C4RModelGetPublishJob and commands:autodesk.bim360:C4RModelPublish)?
Can you provide expected input/output pairs?
Exception in thread odoo.service.cron.cron1:
(venv) C:\Users\ST0078\Documents\odoo\odoo>python odoo-bin -c odoo.conf --log-level=debug_rpc
Rien ne s'affiche
I also faced this issue, and the most reliable workaround I found was to create a proxy route through my own domain — this avoids direct embedding from restricted origins (like file:// or non-HTTPS contexts).
On the website, I added a specific route to embed YouTube videos, and then used that route inside my app or webview instead of embedding YouTube directly. This way, the video loads securely over HTTPS from my domain, bypassing the platform restriction.
Workaround steps
Create a route on your website, e.g. /video or /embed.
Make that route accept a ?id= parameter for the YouTube video ID.
In that route, generate the YouTube <iframe> using the received ID (e.g. https://www.youtube.com/embed/${id}).
Ensure your domain allows CORS or iframe embedding from your app’s origin.
In your app, embed your own route (e.g. https://yourdomain.com/embed?id=XXXX) instead of the raw YouTube URL.
Cloudflare Worker version (recommended for flexibility)
If you don’t want to modify your main backend, you can handle this entirely with a Cloudflare Worker:
I would suggest using scale:
ax.quiver(xy[idx][0],xy[idx][1],T[idx][0],T[idx][1], scale=2.0, color="green")
You can obtain elevation values for given coordinates using the Elevation API provided by Haritaevi Aviation. It offers a simple interface and returns results in JSON format.
Documentation and interactive demo: https://elevation.haritaevi.com
A better way is to run the printing loop in a background task and concurrently monitor input in Task.Run, using a shared CancellationToken. This avoids blocking console output while checking for key presses.
I'm not aware of any workarounds or plugins to fix this, but here is a ticket in PyCharm issue tracker for this problem - https://youtrack.jetbrains.com/issue/PY-85349/External-Documentation-shortcut-doesnt-work-in-Evaluate-Expression
Update "@inboxsdk/core" npm package to : "^2.2.8",
I built a framework where you create a database table and then you get online forms to go with it. Sort of a limited version of MS Access where the forms are on the web browser. Metadata about forms (titles, button and field names an locations, permissions, etc) are also stored in tables, so there is no hard coded UI elements. All UI is generated dynamically from data in tables for every request. There is generic code to search, display, edit, print, export, etc but when needed you can override the default code to do something more specific like a complicated report that joins tables. I currently generate the HTML to present to the user by just concatenating HTML tags into a string, and then returning the string. I also print the forms by generating similar HTML in a similar way and then use HTMLDOC to generate a PDF. HTML::Tiny should clean that both of those processes up.
Yeah, that’s pretty common with apps built using Flutter or other lesser-known frameworks. Windows/Avast just flags unsigned executables. The best fix is to code-sign your .exe with a valid certificate, that tells Windows/antivirus it’s safe. Also, make sure you build in release mode and maybe submit the file to Avast’s whitelist once it’s final.
con OpenSuse 15.6 se instalaron los siguientes paquetes:
zypper in libgthread-2_0-0
zypper install at-spi2-core
zypper in libgcrypt-devel
con esto pude ejecutar SpringTools, DBeaver y JasperStudio
Espero les sirva a los Javeros
you are likely using a modern PyCharm version with a slightly different UI, to configure the interpreter try Setting | Python | Interpreter ...
... or bottom-left interpreter widget ...
given the interpreter is configured - you can install a package in View | Tool Windows | Python Packages
Yeah, that’s a known bug with the new Outlook rendering. Easiest workaround is to wrap the phone number in a regular <a> tag but make the href look like a normal URL, e.g. href="https://example.com/tel/0000000000", or just drop the tel: link and show the number as plain text. Outlook strips or rewrites tel: links right now, so not much you can do until they fix it.
Yeah I just faced a similar problem - and also found this issue on GH: https://github.com/anthropics/claude-code/issues/4365
Should be str.replaceAll instead of str.replace otherwise just the first occurrence will be processed.
You can obtain elevation values for given coordinates using the Elevation API provided by Haritaevi. It offers a simple interface and returns results in JSON format.
Documentation and interactive demo: https://elevation.haritaevi.com
For others who stumble across this post, the modern standardized way to do this beyond C++20 and C23 is by using __VA_OPT__(content).
When variadic arguments are passed and thus __VA_ARGS__ is defined __VA_OPT__(content) is replaced with content.
e.g.
#define custom_printf(format, ...) printf(format __VA_OPT__(,) __VA_ARGS__)
C23: https://en.cppreference.com/w/c/preprocessor/replace.html
C++20: https://en.cppreference.com/w/cpp/preprocessor/replace.html
I'm experiencing the same issue. The PDF is not printed fully fitted to the A4 size — it slightly exceeds the page borders. When I test the same PDF with version 9.23, it works correctly, but with the current version 10.05.1, it doesn't.
Thanks in advance to anyone who can help.
gswin64c.exe -q -dBATCH -dNOPAUSE -dPrinted -sDEVICE=mswinpr2 -sOutputFile="%printer%Brother" -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -dFIXEDMEDIA -dPDFFitPage -sPageList=1 -c "<< /Duplex true >> setpagedevice" -f "C:\test.pdf"
I guess there is a bug in VS.
Somehow in my situation, I will require to restart my PC each time I want to do a publish.
You can't style the scrollbar of a pseudo-element because pseudo-elements (like ::before and ::after) can't be independently scrollable. Scrollbars belong to 'real' DOM elements with overflow set to auto or scroll. If your pseudo-element overflows the parent, the scrollbar is actually on the parent. To style it you need to target the scrollable container (parent), not the pseudo-element.
ErrorBoundary is recommended to handle errors in blazor.
I wanted a simple understandable short non-intrusive solution, and one that works for .nvmrc in the current directory as that's the use-case I have.
Add this line [ -f .nvmrc ] && nvm use --silent in your ~/.bashrc or ~/.zshrc file.
bro, do you find some solutions? l'm been trucking in this problem.
mkdir folder_name && cd folder_name
if want to create file also and text inside it
nano filename.extenction
write your text then press ctr + x , then y , enter
if u want to learn about command lines then check http://thedevscourse.com/
Maybe some one will have the same problem in the future just do a -flutter upgrade on your terminal it worked with mine and installed the needed depedencies for support.
I checked this code on my machine. It works pretty well without infinite re-renders.
If your custom post type is working on the front-end but not showing in the WordPress admin menu, it usually means one or more arguments in the register_post_type() configuration are preventing it from appearing in the dashboard.
You're not alone.
Checkout QueryDSL https://www.baeldung.com/querydsl-with-jpa-tutorial. It allows you to specify more complex operations but can get real heavy real quick. If its more your style, use it. If not, let me know so I can edit this, giving a more detailed answer on how we can go about it.
The simple answer is that you have invalid configuration at .idea file. This problem may appear if you open the same project in different versions of jetbrains' IDEs, so you should regenerate the .idea file.
Close the project
Go to the folder of the project through file explorer
Delete the current .idea file (don't worry about major problems appearing after that action).
Open the project via pycharm again
Check through explorer if the .idea file generated inside the project.
If you don't want to bother finding out which was the last entry's ID, here's a one-liner to remove it:
db.collection.findOneAndDelete({}, {sort: {_id: -1}})
There's a simpler way to achieve this, by combining options_for_select and grouped_options_for_select together:
options_for_select(["Income"]) + grouped_options_for_select([["Auto", ["Fuel", "Maintenance"]], ["Home", ["Maintanance", "Mortgage"]]])
I don't feel that any of the above 'answers' adequately answer the OP's question. They simply state how to use the construct, which is not what the OP asked.
In plain English (and I appreciate that may not be everyone's first language), what you're saying is:
let <these expressions and evaluations>
be used in <the following expression>
I wrote a script to show how it could be done: https://github.com/mrharel/facebook_ads_comments_analysis
Also wrote about it here: https://www.linkedin.com/pulse/meta-ads-comment-extraction-sentiment-analysis-amir-harel-fxsae/
Did you solved it? I have the same issue, is driving me crazy.. I tried everything! :(
You can't take data from different MediaRecorder instances and just append blobs as if they were a single file. You have to treat each recording session as separate mp4 file, even if the MIME type is the same. If you don't want to go with wasm for repackaging the content, you might want to consider mp4box.js.
I ran into the same issue — React-Player just refused to stop playing, even when I set playing={false}.
I switched to a plain old <video> tag, and the problem is gone!
Change your query to below:
CREATE TRIGGER devolver_a_refugio2
AFTER DELETE ON adopciones
FOR EACH ROW
BEGIN
UPDATE animal
SET situacion = 'refugio'
WHERE id = OLD.id_animal;
END;
OLD.id_animal : It refers to the id_animal value from the deleted record in the adopciones table.
I simply created a new repo entirely and it worked fine....all the above solutions didn't work for me
!\ cls
worked for PostgreSQL on Windows 11.
Running an internal regional app load balancer.
can i check if i can use service labels on my computeforwardingrule to connect to my cloudrun services? I have created an Network Endpoint Group and Backend Service.
Would anyone be able to advise me please?
Thanks!
It seems we've found the cause of this issue: One of our internal dependencies was still pulling Java 11 related code, using javax instead of jakarta and that was breaking the annotation processors and causing the Fields errors reported here.
Flutter Adsterra -https://pub.dev/packages/flutter_adsterra/versions
https://github.com/romangazi1/flutter_adsterra/blob/main/example.dart
Flutter web package to display Adsterra ads: Banner, Native, Popunder, SmartLink, and Social Bar widgets.
little late to the party, but reading from the FAQ, I think you might try :
minikube start --listen-address=0.0.0.0
What about this ?
/^(?:(?:\+|00)33[\s.-]{0,3}|0)[1-9](?:[\s.-]?\d{2}){4}$/
If you want to include French Overseas territory (Outre-mer), try this :
/^(?:(?:(?:\+|00)33[\s.-]{0,3}|0)[1-9]|(?:\+|0)(?:508|594|590|596|681|687|689))(?:[\s.-]?\d{2}){4}$/
Two issues likely:
(1) you built with Podman but Ray is using Docker (RAY_RUNTIME_ENV_PODMAN_EXE=/usr/bin/docker). Docker can’t see images built by Podman, and “localhost/ray-image:latest” is parsed as a registry, so it won’t find it.
(2) runtime_env key should be {"container":{"image":"…"}}, not image_uri. Try: ray job submit --runtime-env-json '{"container":{"image":"ray-image:latest"}}' after building with docker build, or point Ray to /usr/bin/podman and push the image to a real registry (ECR/Docker Hub).
Docs: https://docs.ray.io/en/latest/ray-core/handling-dependencies.html#container-runtime-env.
When users install Postman using the Snap package manager, the configuration files, including the proxy certificate, may be located in a different directory compared to traditional installations.
~/snap/postman/current/.config/Postman/proxy/
First check your transformers version, and then ensure you’re using the correct kernel/environment and dependencies like torch (or tensorflow) installed / compatible and restart the kernel / clear caches. Try a minimal repro
Quicker solution ( where error.getErrors()) is String list:
String.join(",", error.getErrors())
this is the Customer entity :
@Entity
@Table(name = "customer")
public class Customer {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
private String name;
...
}
OrderCreateDto :
public class OrderCreateDto {
private LocalDate orderDate;
private BigDecimal totalAmount;
private Long customerId;
...
}
and this is the create() method in the OrderService.java class :
public OrderDto create(OrderCreateDto dto) {
Order entity = mapper.toEntity(dto);
Order saved = repository.save(entity);
return mapper.toDto(saved);
}
const [left, right] = [text.slice(0, n), text.slice(n)];
@WeijunZhou Thanks for the insights, and I think you are right regarding comments.
Your link offers the possibility for the community wiki, but I'm reluctant to do the conversion because of the uncertain result. (like your invisible comment) On the other hand, this format is already somewhat similar.
Minify is not obsolete and is more helpful than gzip, especially when working with IoT devices or geographically remote systems. Yet, the question is about compression, which is something different.
You can't, with nidaqmx Task you can start generating multiple signals at once but not one after another while the first isn't done. If you do it will stop what you were doing in the first Task.
Secondly, you can't instanciate 2 Task (Task1 & Task2) for the same hardware at the same time, it's just not possible.
The ImportError occurred due to the nested file structure of the repository. One of the ways to fix it is by changing the import in run_train.py to target the specific files:
from model.generator.generator import Generator
from model.critic.critic import Critic
Create a css.d.ts or global.d.ts and add this as it's content.
This tells typescript that any import ending with .css is a valid module.
declare module "*.css"
You must install these two extentions in vscode:
1: PostCSS Language Support
2: PostCSS Intellisense and Highlighting
In order for a component to take properties
As @natashap mentioned in the comment, you need to convert it to a component instead of a variable
//File A.jsx
export const V = ({text, prop1, prop2}) => {
//use properties
return <div>{text}</div>
}
//File B.jsx
import {V} from './A.jsx'
export const F = () => {
return (
<>
<V text='text' prop1='prop1' prop2='prop2'/>
<>
)
}
If I understand correctly: No need for scripts.
If you can't find the actual origin: SHIFT S -> Cursor to Selection, then look for the cursor. You can also press N and check the object's location.
If you want to set the origin to the center: Rightclick (or press W) and select: Set Origin -> Origin to Geometry
If you want to find the median of all objects' locations in the FBX: select them all and again SHIFT S -> Cursor to Selection.
You can press . (period) and also choose a different center, like bounding box.
After doing this, you can also set the pivot of all objects by selecting them and Rightclick (w) Set Origin -> Origin to 3D cursor.
For anyone encountering this issue, I was able to get it to work using the following params:
$params = array(
'filtering' => array(
array(
'field' => 'created_time',
'operator' => 'GREATER_THAN',
'value' => strtotime($start_date)
),
),
'limit' => 1000
);
The Reason seems to be that time_range is only supported by the Insights API and not the Marketing API
Good find there! After wondering about IRQ performance on Arduino ESP32 for quite a while I luckily came across this. Yes, same in Arduino ESP32, my map file shows my IRQ in flash. I opened a ticket with the devs which was answered quickly: https://github.com/espressif/arduino-esp32/issues/11977
..they think that ISRs in Flash are safer. But there's also a suggestion at the bottom, I haven't looked into that one yet though.
Thank you again for your work, I might just switch to ESP-IDF from hereon.
But there must be some ground for such "wondering"? I mean, it shouldn't be just out of the blue? Like, you always walked on your feet but suddenly start wondering whether if there was a benefit in walking on your hands. What benefits you can think of?
StackOverflow doesn't let me delete the question
@your-common-sense: I studied several small PHP container projects. I noticed a lot of them had several public methods on how to add a service to the container. Usually it was set() and bind(). I was wondering if there was a benefit to a developer to break it out into each type?
Apply your code style settings.Format a real code sample (Ctrl+Alt+L / Cmd+Opt+L)and then verify the wrapping behaves as expected at your actual "Hard wrap at" setting
What I really like about this app is how balanced it feels — it’s not overloaded with unnecessary features, yet it offers everything you need. It’s lightweight, user-friendly, and stable. Get Snaptroid APK at snaptroid2.cc for full details.
I've only one question: why? What benefit do you get from that? Or a more specific question, wjy a calling party should know the details of the service implementation, being forced to call a specific method for different type?
I found the solution.....My colleague suggested I run VS Code as “Run as administrator", and it worked. Just right click VsCode and choose Run as administrator......It's so weird.
Time =
IF(
NOT(ISBLANK(Sheet1[Start Date])) &&
NOT(ISBLANK(Sheet1[End Date])),
NETWORKDAYS(
Sheet1[Start Date],
Sheet1[End Date],
IF(
OR(
Sheet1[Country Name] = "Saudi Arabia",
Sheet1[Country Name] = "Egypt"
),
7,
1
)
) - 1,
BLANK()
)
(Reposting my comment as a "reply" since the comment is likely invisible/links not clickable even from the inbox)
You can check this link and see whether it contains a way to convert it to Community Wiki. Also note my answer here on Meta SO.
I have same issue and fixed it with code below:
struct LiquidGlassTabView: ViewModifier {
@ObservedObject var viewModel: ViewModel
func body(content: Content) -> some View {
if #available(iOS 26.0, *) {
if viewModel.showAudioMiniPlayer {
content
.tabViewBottomAccessory {
MiniPlayerView()
}
} else {
content
}
} else {
content
}
}
}
I had this issue on a Linux host and it turns out that the Linux fips=1 kernel entry will cause this error! So turn off fips in your Grub configuration!
I've fixed it by downgrading Node version from v24 to v22
do you got a script that grabs the information from a website using python or js? I would like to get that code if you do thank you
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:YourDB %>" SelectCommand="SELECT * FROM Claims" CancelSelectOnNullParameter="false"> </asp:SqlDataSource>
I think javascript minify is obsolete technic for reduce bandwidth since modern web server has feature HTTP compression.
For reduce JavaScript or text-like file (html, css, json) size. Setup HTTP compression at webserver and let browser decompress is better.
This way with have no overhead for un-minify Javascript.
This issue also happened to me a few days ago.
Adding referrerpolicy="strict-origin-when-cross-origin" fixed it for me
i had similar issue. the script Array was to large and when i open other apps it would eventually kill the PowerShell script. Removed the array and just wrote to a text file with in the loop\iteration. also had a recovery point by doing that.
I was just asking how I get a AI Security TECH that love the USA system that can recommend who u let in your home and I'm just starting out with my own company / Bisuness to transform people lifestyles and make them so much safer and the love the help Because of the love I have for my Family I m.very personally
flags_str = packet.sprintf("%TCP.flags%")
Thank you for this! Finally working for me too. i have been trying to connect to IdentityInfo table. I tried to use token, credentials etc and still nothing works.
Uses UTC. Try
function daysSince2000() {
return (Date.now() - Date.UTC(2000, 0, 1)) / 86400000;
}
console.log(daysSince2000());
use Luxon or Day.js lightweight and handle UTC offsets and time zones much better compare to Date object.
Easiest way is to just download the SWF from the page (yes you can do that) and upload it into any SWF player. You can download one or just online services for that.
I would like to know if the service provider will provide us with the SDK containing the Proximity Reader API for integration into the project ... why are you not asking the service provider?
1: Customer records are deleted but related entries in the product_alert_stock table remain.
2: GDPR or privacy modules (like PIP) may remove customers but leave orphaned product alert records.
So cleat the related entries from table product_alert_stock and To catch these issues early (before they cause errors), configure error notifications for admin users: Store -> Configuration -> Catalog -> Catalog -> Product Alerts Run Settings -> Error Email Recipient
Unfortunately, in Tomcat, this value is set as a constant to support 8192 bytes. While you can override this value by setting it as a system property, it would have been preferable if it were configurable as a property, similar to how many other settings are supported in Spring or Tomcat.
You can simply add waitForExpression('5s') to your request.
$request = \Gotenberg\Gotenberg::chromium('http://gotenberg:3000')
->pdf()
->waitForExpression('5s')
->url('https://my.url');
It's not in the documentation, but if you have PHP Intelephense, then it will hint you the available methods.
I'm using phpstorm's idea plugin.