$env:COMPUTERNAME -match '\d+(\D+)\d+'
will perform a regex on the hostname.
\d+(\D+)\d+
looks for non digit characters encapsulated by one or more digits.
$Matches
will give you a hashtable containing your matches
For me in VS2022, I had to:
uninstall all other versions of Visual Studio
uninstall all Crystal Reports instances
install Crystal Reports VS [CRforVS6413SP35*.EXE] only (admin mode) and then at the end of that installation, choose "Yes - Install Runtime"
@Heavy Mask
Wanted to thank you for this. I don't know if you ever found a solution, but your script inspired me to create the below script. Might be able to use it yourself?
;;∙============================================================∙
#NoEnv
#Persistent
#SingleInstance, Force
SetBatchLines, -1
SetTitleMatchMode 2
SetWinDelay, 0
^!LButton:: ;;∙------∙🔥∙(Ctrl + Alt + Left Click)
;;∙------------∙• RUN SCRIPT AS ADMIN •∙----------------------------------------------------∙
if !A_IsAdmin
{
MsgBox, 4, Admin Required, This Script Needs To`nRun As Administrator To`nTerminate Certain Processes...`n`n`tRestart With Admin Privileges?
IfMsgBox, Yes
{
Run *RunAs "%A_ScriptFullPath%"
ExitApp
}
else
{
MsgBox, 16, Error, ! ! ! A T T E N T I O N ! ! !`n`n Script Will Not Continue`nWithout Admin Privileges!!,5
ExitApp
}
}
MouseGetPos,,, id
WinGet, pid, PID, ahk_id %id%
if (!pid) {
MsgBox, 16, Error, Failed To Retrieve Process ID.,2
Return
}
WinGetTitle, winTitle, ahk_id %id%
if (winTitle = "")
winTitle := "Unknown Window"
WinGet, exeName, ProcessName, ahk_id %id%
;;∙------------∙• PREVENT TERMINATION OF CRITICAL SYSTEM PROCESSES •∙-------∙
criticalProcesses := "explorer.exe, csrss.exe, wininit.exe, winlogon.exe, smss.exe, services.exe, lsass.exe, svchost.exe"
if exeName in %criticalProcesses%
{
MsgBox, 16, Warning, Termination Of %exeName%`nIs Blocked To Prevent System Instability.,5
Return
}
MsgBox, 4, Confirm Termination, Terminate Process %pid% ("%winTitle%", %exeName%)?
IfMsgBox, No
Return
hProcess := DllCall("OpenProcess", "UInt", 1, "Int", 0, "UInt", pid, "Ptr")
if (!hProcess) {
MsgBox, 16, Error, Failed To Open Process.`nIt May Require Admin Privileges.,5
Return
}
result := DllCall("ntdll\NtTerminateProcess", "ptr", hProcess, "UInt", 0)
DllCall("CloseHandle", "ptr", hProcess)
if (result != 0) {
MsgBox, 16, Error, Failed To Terminate Process.,5
} else {
MsgBox, 64, Success, Process %pid% ("%winTitle%", %exeName%) Terminated.,3
;;∙------------∙• LOG TERMINATED PROCESSES WITH TIMESTAMP •∙------------------∙
FormatTime, timeStamp, , H:mm:ss tt - MMMM dd, yyyy
;;∙------------∙___EXAMPLE 1___∙---------------------------------------------------------------∙
/* ;;∙------∙SAVE LOG FILE WITH DIRECT PATH.
logFilePath := "C:\Users\username\Full\File\Path\ProcessKillLog.txt" ;;∙------∙Example Path.
*/
;;∙------------∙___EXAMPLE 2___∙---------------------------------------------------------------∙
/* ;;∙------∙SAVE LOG FILE IN DOCUMENTS FOLDER.
documentsDir := A_MyDocuments ;;∙------∙Get the user's Documents folder.
logFilePath := documentsDir . "\ProcessKillLog.txt" ;;∙------∙Define the Log File path (Documents folder).
if !FileExist(documentsDir) ;;∙------∙Create directory if it doesn't exist.
{
FileCreateDir, %documentsDir%
}
*/
;;∙------------∙___EXAMPLE 3___∙---------------------------------------------------------------∙
;;∙------∙SAVE LOG FILE IN SCRIPTS FOLDER. <∙------ Currently In Use ---∙<<
scriptDir := A_ScriptDir ;;∙------∙Get the script's directory.
logFilePath := scriptDir . "\ProcessKillLog.txt" ;;∙------∙Define the Log File path (Script folder).
if !FileExist(scriptDir) ;;∙------∙Create directory if it doesn't exist.
{
FileCreateDir, %scriptDir%
}
file := FileOpen(logFilePath, "a") ;;∙------∙Append log details.
if (file) {
file.WriteLine("____________________________________________")
file.WriteLine("* Process Killed * [ " . timeStamp . " ]`nProcess:`t" . exeName . "`nPID:`t" . pid . "`nTitle:`t" . winTitle)
file.WriteLine("____________________________________________`n")
file.Close()
MsgBox, 64, Success, Log File Successfully Updated.,5
} else {
MsgBox, 16, Error, Failed To Open Log File For Writing.,5
}
}
Return
;;∙============================================================∙
What you should be doing is serializing event payload and storing it together with event class metadata like class name and namespace.
When reading events from db table you read all aggregate records and restore event class instances using metadata and serialized event payload.
Take a look how it's done in Microsoft patterns & pratices CQRS Journey sample application
Did you find a solution to this? I'm having the same issue.
first check the type of dataframe by using type(df)
and if showing series convert to da
df = df.to_frame()
Yes, you can use order history for that.
# must be sorted ascending
# (datetime, size, prize, data)
ORDER_HISTORY = (('2012-04-11', 10, 100, 'AAPL'),)
cerebro = bt.Cerebro()
cerebro.adddata(data=bt.feeds.PandasData(dataname=aapl,),name='AAPL')
cerebro.add_order_history(ORDER_HISTORY)
cerebro.addstrategy(Strat)
cerebro.run()
for more information check this post out:
https://www.backtrader.com/blog/posts/2017-07-05-order-history/order-history/
downgrade the bytemuck_derive package from version 1.9.2 to version 1.8.4
cargo update -p [email protected] --precise 1.8.4
<?xml version="1.0" encoding="UTF-8"?>
<accessControl>
<admins>
<admin>
<name>name</name>
<password>pasword</password>
</admin>
<admin>
<name>admin2</name>
<password>password456</password>
</admin>
</admins>
</accessControl>
I have this code for a rage mp server and the same error how can I solve it
I had the same problem. I followed the suggested workaround on Poetry's github:
poetry config virtualenvs.use-poetry-python true
After that, it started working for me.
It looks like the issue is caused by the --harmony-proxies flag in your test script. This flag was used to enable experimental features in older versions of Node.js, but it's no longer necessary in modern Node versions.
Steps to Fix the Issue:
You’re using Node.js v7.1.0, which is outdated. The latest stable LTS version is recommended (e.g., Node.js 18 or 20).
Upgrade Node.js via nvm:
nvm install --lts nvm use --lts Alternatively, download the latest version from nodejs.org.
Open your package.json file and locate the test script.
Remove --harmony-proxies from the command:
"test": "cross-env NODE_ENV=test PORT=8080 MONGO_URL=mongodb://localhost:27017/mern-test node_modules/.bin/nyc node node_modules/.bin/ava"
After upgrading Node.js, remove and reinstall dependencies:
rm -rf node_modules package-lock.json npm install
Execute:
npm run test If errors persist, check the ava and nyc versions in package.json and update them.
If you're still facing issues, you might consider switching to a more actively maintained starter template or configuring a fresh MERN setup from scratch.
Need Help with MERN Stack Development? At GraffersID, we provide expert MERN Stack developers to help you build, optimize, and scale your applications seamlessly. Hire pre-vetted remote developers to accelerate your project today! 🚀
hey did you find any solution to this?
I solved my problem.
firstly, I unistalled my current mingw compiler and use this compiler instead:
https://github.com/niXman/mingw-builds-binaries/releases/tag/13.2.0-rt_v11-rev1
from this page I downloaded x86_64-13.2.0-release-posix-seh-ucrt-rt_v11-rev1.7z this one. In this release of mingw in sec_api folder there is stdio_s header file in which freopen_s is defined.
You need to set triggerLineEvent to true.
.dnd-scroll-container {
overscroll-behavior: none;
scroll-snap-type: both mandatory;
}
.dnd-scroll-container > * {
scroll-snap-align: start;
}
Add this classes to your scrollable container
Citus with PG17 support was officially released on Feb 6, 2025.
So, you can now run the following on Ubuntu/Debian:
sudo apt-get -y install postgresql-17-citus-13.0
I wrote a FIX Engine that can process order execution with a round-trip time of 5.5µs.
So to answer your question, that means the processing time client -> server including parsing, serialising and network code is only RTT/2 = 2.25µs
Given parsing and serialisation can be massively optimised thanks to SIMD, most of the time will be spent in the network code. This is where Linux kernel tuning and/or TCP Kernel bypass technologies (OpenOnLoad) really help.
more details on www.fixisoft.com
I've started to work on basic coloring netbeans plugin for vue.js files.
It could be another alternative.
https://github.com/haidubogdan/nb-js-vue-editor/releases/tag/nv_rel1.0.4
It's been a long time since I had to do this, and as others have said, ideally avoid WindowsXP. However, if you have no choice and wish to enable TLS1.2 you need to add the following enum value:
System.Net.ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls12;
If the enum value does not exist in SecurityProtocolType it is possible to add them in as an extension method as described here:
https://learn.microsoft.com/en-us/dotnet/framework/network-programming/tls#if-you-must-explicitly-set-a-security-protocol
If you have done all of that and it still doesn't work - try adding tracing as described in this answer here: https://stackoverflow.com/a/5985497/30012070 it will hopefully show more detail on the cypher suites supported by the key exchange as well as why it's failing... HTH, Nick
How did you solve the doesn't exist on the resource '00000003-0000-0000-c000-000000000000' issue?
I am having the same issue with Nitrosense not opening at all, it happened all of a sudden and has been months now without any sort of resolution. I have a Acer Nitro 5 AN518-58 operating Windows 11 Home 12th Gen Intel core i5 - 12500H..Intel UHD Graphics and NVIDIA GeForce RTX 3050.
I have done the uninstall reinstall many times I have the latest BIOS and have tired several online repairs all of which failed to bring back Nitrosense. I have written to ACER and Microsoft and have the latest updates available still nothing has fixed the issue.As so many have the same issue why can't ACER offer a repair update as it is when working a great asset to be able to use the fans at max when required as well as operate the RGB lighting.
Hope sone can help us who have this issue
Robert
Running expo prebuild generates the ios/ and android/ files, and from there I was able to edit the Podfile and rerun the build command
In my case, changing the "Derived Data" to the "Custom Location" value did not help.
But, I could solve it by setting the "Derived Data" to the "Relative" item. And the project started.
You may want to consider using minutes as well rather than use hours to be more precise...
where
DateDiff( minute, ReturnDT, getdate() ) > 60
In my case, the launch.json and tasks.json files were not in the /.vscode directory. They were in the root with the other files. Moving them solved all of my issues.
In my case I needed to disable default focus animation of UITableViewCell for me worked:
let view = UIView()
view.backgroundColor = .clear
backgroundView = view
do it in init
The solution to this problem was to confirm the expected EOL character for my SSH server. In my case it was LF ('\n'). Once I appended LF to the end of my command strings and used ShellStream with the simple Write function (as opposed to WriteLine), it worked and I now receive the responses from the server that I expect.
mode should be tcp in frontend and in backend too, and to check fqdn use this:
tcp-request inspect-delay 5s
tcp-request content accept if { req.ssl_sni -m end hub.mydomain }
use_backend be_registry_443 if { req.ssl_sni -m end hub.mydomain }
First of all, the question too generic and vague to be answered in a proper manner.
However, as a general question, it depends on the use case. Here, I presume you want to execute the 'specific code' basis some trigger.
In terms of Android, this can be a Broadcast event. You might want to implement background tasks, etc. There are a bunch of options you can choose from, you may start reading this: https://developer.android.com/develop/background-work/background-tasks
You need to configure your User Pool to reference your Pinpoint project.
See the doc here.
Yes, its atomically in the sense that the file accessed via the new filename at any time is as consistent as any of the two files is.
If the old file is open for reading, the old data will be obtained as long as its file descriptor is not closed. And writing will change the old file and never the new file. Unless there is another open file descriptor or a hard link to the old file, the contents is finally lost once the file descriptor is closed.
In other words, reading via the new filename is always ok; but to avoid data loss, the old file must be write locked before the rename.
You can do:
from importlib import import_module
defs = import_module("mymod.definitions").defs
new_users = defs.load_asset_value(asset_key='new_users')
Which assumes a folder structure like
and example contents of definitions.py like
from dagster import Definitions
defs = Definitions(
assets=[...],
)
Not defined by default until the current version (2024.3). You can set it manually in Preferences > Keymap > Move Line Up or Move Line Down.
I recently encountered this problem.
The issue is that in the personal_access_token table, the tokenable_type column has the value App\Models\User stored, which is causing this problem.
I am not sure, I understand your answer right, madhead.
How to you run your app? Do you use Tomcat or Jetty embedded server or deploy it in those servers? They all have their own session storage implementation. Tomcat uses file-bases session storage by default.
Would you agree on:
If I deploy a spring app in a tomcat, then the default is file-based.
But if I deploy a spring app with an embedded tomcat, then the default is in-memory.
here is my code
```cpp
#include <bits/stdc++.h>
using namespace std;
int n, k, a[100], final = false;
void ktao(){
for(int i = 1; i <= k; i++){
a[i] = i;
}
}
void fuckk(){
int i = k;
while(i >= 1 && a[i] == n - k + i){
--i;
}
if(i == 0){
for(int j = 1; j <= k; j++){
a[j] = j;
}
}else{
++a[i];
for(int j = i + 1; j <= k; j++){
a[j] = a[j - 1] + 1;
}
}
}
int main(){
int test; cin >> test;
while(test--){
cin >> n >> k;
for(int i = 1; i <= k; i++){
cin >> a[i];
}
fuckk();
for(int i = 1; i <= k; i++){
cout << a[i] << " ";
}
cout << endl;
}
}
Full outer join with different distribution column types errors out in Citus. Do table1 and table2 have different column distribution types?
Please refer to the blog below to play videos in recycler view.
https://engineering.cred.club/implementing-multi-video-playback-in-recyclerview-56a4bdf99a29
As the issue is only observed on Firefox, it may be imposing a strict same-origin-policy, I think the fix for this will be to enable CORS in the angular application.
you may refer to this thread
I'm a bit late to the show, but maybe this will be helpful to others:
Create a method in the action
public boolean isRadioDisabled(boolean disabRgt){
return disabRgt;
}
And in your JSP:
<s:radio /*...*/ disabled="isRadioDisabled(disabRgt)" />
Works with Struts 7.
Simply switch between PHP versions and back to the version you want to use. That will solve the problem. It seems to be a Herd issue.
If the skill isn’t working in other languages, it could be due to locale settings, missing language support, or framework limitations. I faced a similar issue on my site, and managed to resolve it by adjusting some configurations. You might want to check the API documentation or debug the language settings!
Found the solution. Indeed if you have a look at the question and why I needed ffmpeg for the "external" videos to play, you can figure out that there might be an audio problem somewhere. Well, even though I don't play audio on the device I run my application, the video still has audio.
Now going further with the investigation, I found that Rocky Linux uses PipeWire as its audio driver (together with Alsa, but that didn't matter) and found the environment variables that PipeWire has for my user. Turns out it was XDG_RUNTIME_DIR - from here. Got the variable that my user had with the set command and now it's all up and running.
Thank you for the suggestions, @Alex Crichton and @user1934428. You kinda pointed me in the right direction, because at first I didn't think it could be an env var missing.
Deleting ~/.gradle fixed it for me
I would like to add that there might be an issue caused libraries save attribute with initialization and declaration happening at the same time. We were seeing the same issue on our end. Cmake might handle this in a way that causes unwanted persistence just like the save attribute has.
Opera was being silly.
Fixed this by Ctrl+F5
There is a Java tutorial to do this that is much simpler than most of the provided answers at https://docs.oracle.com/javase/tutorial/2d/text/drawmulstring.html
AttributedCharacterIterator paragraph = vanGogh.getIterator();
paragraphStart = paragraph.getBeginIndex();
paragraphEnd = paragraph.getEndIndex();
FontRenderContext frc = g2d.getFontRenderContext();
lineMeasurer = new LineBreakMeasurer(paragraph, frc);
// Set break width to width of Component.
float breakWidth = (float)getSize().width;
float drawPosY = 0;
// Set position to the index of the first
// character in the paragraph.
lineMeasurer.setPosition(paragraphStart);
// Get lines from until the entire paragraph
// has been displayed.
while (lineMeasurer.getPosition() < paragraphEnd) {
TextLayout layout = lineMeasurer.nextLayout(breakWidth);
// Compute pen x position. If the paragraph
// is right-to-left we will align the
// TextLayouts to the right edge of the panel.
float drawPosX = layout.isLeftToRight()
? 0 : breakWidth - layout.getAdvance();
// Move y-coordinate by the ascent of the
// layout.
drawPosY += layout.getAscent();
// Draw the TextLayout at (drawPosX,drawPosY).
layout.draw(g2d, drawPosX, drawPosY);
// Move y-coordinate in preparation for next
// layout.
drawPosY += layout.getDescent() + layout.getLeading();
}
Hmm, there might be couple of reasons, If after checking that your metrics are set properly, It could be the cooldown period after a scale-out event before scale-in can occur. Check your scaling policy's cooldown settings. And also, it could be that the fluctuation between scaling states is rapid and this is will lead to Thrasing. You can try reducing the datapoints maybe 3 instead of 15 and then test with controlled load, gradually reduce the load to below the scale-in threshold (e.g., 50%) and observe CloudWatch metrics/alarms. Use the AWS CLI to check alarm states: aws cloudwatch describe-alarms --alarm-names <scale-in-alarm-name>
You can add transparency to trend_color this way:
fill_color = trend_col(0.2)
The class Color does not give access to the fields (https://takeprofit.com/docs/indie/Library-reference/package-indie#color), usually it is not necessary.
The list of special-case aggregates in the docs is pre-defined. Other than those, in order to push down the aggregate execution to the worker nodes, the aggregate should be grouped by the table's distribution column.
If my poetry creates a virtual environment as .venv, and I want my WORKDIR to be called apps, how would I need to change the WORKDIR?
The following works for me
const newConfirmation = await auth.signInWithPhoneNumber(phoneNumber, true);
The second argument is a forceResend flag. The offical document.
This question was answered by C3roe in the comments. I was incorrectly using the $ behind every capture group. C3roe also helped with the .html extension, an issue I had not realised yet I was having.
My RewriteRule should have been:
RewriteRule ^webshop/(.*)/detail/(.*)/(.*)\.html$ https://newsite.com/shop/$1/$3/ [R=301,NC,L]
Thanks!
(if I could have selected the comment as the answer, I would have.)
var loggedIn = false;
function authenticate() {
var password = document.getElementById('password').value;
loggedIn = login(password);
status();
}
function login(password) {
var storedPassword = '123';
return password == storedPassword;
}
function status() {
if(loggedIn) {
console.log('You are in :)');
} else {
console.log('You are not in :(');
}
}
<input type='password' value='' id='password'>
<input type='button' onclick='authenticate()' value='login'><br/>
<small>Try 123 :D</small>
Same issue here on Free autonomous database. Database is located in London.
After refresh the page, it works properly
The issue was reproduced when running the tutorial in debug mode for some accounts. The team is working to fix the issue.
It keeps showing the error on this line
Colar a primeira tabela
intervaloTabela1.Copy
wordSelection.PasteAndFormat (wdFormatOriginalFormatting) ' Colar a primeira tabela com formatação original
wordSelection.TypeParagraph ' Adicionar uma linha em branco entre as tabelas
Where did you find the Advanced Access permission options? I have developer access but can't seem to locate them. Could you guide me on where to enable Advanced Access for permissions like email and public_profile?
I don't know how MusixMatch achieve this but you can use PiP with Compose: https://developer.android.com/develop/ui/compose/system/picture-in-picture
Just to point out I have been stumbling to this error when working with virtualenvs. If you're working with scripts, check how your shebang(#!/usr/bin/python3) invokes Python. Scripts run as ./script.py will invoke global Python Interpreter and will likely lead to a Module NoT Found Error because the module isn't installed system-wide. Instead run the script as python3 script.py to invoke the env's Python interpreter.
hope this helps
Setting the parameters as part of the constructor made release work the way I expected them to
So I tested your code @Colab with a smaller group of 20 persons, defined as part of the code instead of loading from an xlsx file:
# 20 People names
people_names = [
"Alice", "Bob", "Charlie", "David", "Eve", "Frank", "Grace", "Hank", "Ivy", "Jack",
"Kate", "Leo", "Mia", "Nick", "Olivia", "Paul", "Quinn", "Rachel", "Steve", "Tina"
]
# Generate a symmetric affinity matrix (values 0-5, 0 on the diagonal)
np.random.seed(42) # For reproducibility
affinity_matrix = np.random.randint(0, 6, (20, 20))
np.fill_diagonal(affinity_matrix, 0) # No self-affinity
affinity_matrix = (affinity_matrix + affinity_matrix.T) // 2 # Make it symmetric
# Run optimization
groups = optimize_groups(affinity_matrix, min_size=3, max_size=6)
# Print results
if groups:
for idx, group in enumerate(groups, start=1):
print(f"Group {idx}: {group}")
else:
print("No valid grouping found.")
… and got a result after approx. 50s.
Basically, the code works as expected, but not very efficiently.
Going thru your code, I noticed that you make use of .add_multiplication_equality() quite a lot.
While convenient .add_multiplication_equality() is rather costly.
An alternative, linear formulation helps to reduce the solver time by an order of magnitude:
model.add(pair_var <= x[i, g])
model.add(pair_var <= x[j, g])
model.add(pair_var >= x[i, g] + x[j, g] - 1)
… and produces the result after 2-5s (also @Colab).
As mentioned in my previous comments, you may also want to have a closer look at the example of a wedding tables’ seating from ortools for further inspiration and improvement potentials.
I have a feeling, that division is not appropriate there. After all, "Time.fixedDeltaTime" is "Fixed Timestep" (located in Project Settings -> Time). And if you change this parameter ("Fixed Timestep"), then "Time.fixedDeltaTime" will also change. So under the same conditions, but with different values of the "Fixed Timestep" parameter, there will be a different force value.
Conclusion: You can simply use "Vector3 collisionForce = col.impulse" which will be much more accurate. The value of "collisionForce" may change slightly when changing "Fixed Timestep", but not significantly than if using "division".
And, I generally do not recommend using "Time.fixedDeltaTime" in "FixedUpdate ()", because it results in a double action multiplication/division.
I tried the solution with str but it didn't work (for the values).
But
parser = configparser.ConfigParser()
parser.optionxform = lambda option: option
Worked well
I wrote a FIX Engine that can process order execution with a round-trip time of 5.5µs.
So to answer your question, that means the processing time client -> server including parsing, serialising and network code is only RTT/2 = 2.25µs
Given parsing and serialisation can be massively optimised thanks to SIMD, most of the time will be spent in the network code. This is where Linux kernel tuning and/or TCP Kernel bypass technologies (OpenOnLoad) really help.
more details on www.fixisoft.com
Change your command to
"scripts": {
"json-server": "json-server --watch db.json --port 5000"
},
You miss a "-" before -port. It should be --port.
If one need a specific version of protoc compiler they can download it from maven repository. for example i needed protoc 3.19.2 and had the same problem with specific version not available via apt.
So i went to maven and found what i want. specifically here: https://repo1.maven.org/maven2/com/google/protobuf/protoc/3.19.2/
(you can search in maven and click 'view all' in files section to get to your desired files. that's how i got to the above link)
then downloaded the linux-x86.exe file, made it executable by chmod +x, renamed it to 'protoc' and placed it in PATH and i could finally call
protoc --version
and i got
libprotoc 3.19.2
I need some help. I have created the Flow below, and while the first screen populates correctly. when sent, the dynamic data on the second screen is not appearing, its coming as empty.
Flow JSON:-
{
"version": "7.0",
"screens": [
{
"id": "DETAILS",
"title": "Get help",
"data": {
"name": {
"type": "string",
"__example__": "XXX"
}
},
"layout": {
"type": "SingleColumnLayout",
"children": [
{
"type": "Form",
"name": "form",
"children": [
{
"type": "TextInput",
"name": "Name",
"label": "Name",
"input-type": "text",
"required": true
},
{
"type": "TextInput",
"label": "Order number",
"name": "Order_number",
"input-type": "number",
"required": true
},
{
"type": "TextBody",
"text": "${data.name}"
},
{
"type": "RadioButtonsGroup",
"label": "Choose a topic",
"name": "Choose_a_topic",
"data-source": [
{
"id": "0_Orders_and_payments",
"title": "Orders and payments"
},
{
"id": "1_Maintenance",
"title": "Maintenance"
},
{
"id": "2_Delivery",
"title": "Delivery"
},
{
"id": "3_Returns",
"title": "Returns"
},
{
"id": "4_Other",
"title": "Other"
}
],
"required": true
},
{
"type": "TextArea",
"label": "Description of issue",
"required": false,
"name": "Description_of_issue"
},
{
"type": "Footer",
"label": "Done",
"on-click-action": {
"name": "navigate",
"next": {
"type": "screen",
"name": "SCREEN_TWO"
},
"payload": {
}
}
}
]
}
]
}
},
{
"id": "SCREEN_TWO",
"title": "Feedback 2 of 2",
"data": {
"lastName": {
"type": "string",
"__example__": "Babu"
}
},
"terminal": true,
"success": true,
"layout": {
"type": "SingleColumnLayout",
"children": [
{
"type": "Form",
"name": "form",
"children": [
{
"type": "TextSubheading",
"text": "Rate the following: "
},
{
"type": "TextBody",
"text": "${data.lastName}"
},
{
"type": "Footer",
"label": "Done",
"on-click-action": {
"name": "complete",
"payload": {
}
}
}
]
}
]
}
}
]
}
Send JSON:-
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "XXXXX",
"type": "template",
"template": {
"name": "order_issue_utility_xx",
"language": {
"code": "en"
},
"components": [
{
"type": "button",
"sub_type": "flow",
"index": "0",
"parameters": [
{
"type": "action",
"text": "view flow",
"action": {
"flow_action_data":
{
"screen": "SCREEN_ONE",
"name":"Lokesh",
"lastName":"pattajoshi"
}
}
}
]
}
]
}
}
So there seems to be interesting bug kinda , because when i pass the
encrypted_pan
is gives me error of same kind but when i just directly send the parameter as raw credit card number it works
number
SO conclusion is use raw credit card number in "number" for generating token, But Please also look the PCI compliance
im in talks with clover team about this , haven't recieved any conculsion, will post on update
The error you are encountering is related to unresolved dependencies in WSO2 Micro Integrator (MI) 4.2.0, specifically the missing `com.hp.hpl.jena.query` package. This issue can occur if certain files or packages required by MI are deleted or blocked by security software like `SentinelOne` or similar endpoint protection services.
Why This Happens
- Endpoint protection services like `SentinelOne` may mistakenly flag certain files or packages as suspicious and quarantine or delete them during the installation or runtime of MI.
- This can result in missing dependencies, causing errors like the one you are seeing.
Solution
To avoid this issue, follow these steps:
1. Stop `SentinelOne` or Similar Services Before Installation:
Temporarily stop the `sentinelone.service` or any similar endpoint protection service before installing or running WSO2 Micro Integrator.
Use the following command to stop the service:
`sudo systemctl stop sentinelone.service`
2. Install WSO2 Micro Integrator 4.2.0:
3. Verify the Installation:
4. Restart SentinelOne After Installation:
Once the installation is complete and verified, restart the `sentinelone.service`:
`sudo systemctl start sentinelone.service`
5. Whitelist WSO2 MI Files:
Expected Outcome
After stopping SentinelOne (or similar services) and reinstalling MI, the error should no longer occur. This ensures that all required files and dependencies are intact during the installation process.
Additional Notes
- If the issue persists even after stopping SentinelOne, verify that all required dependencies (e.g., `com.hp.hpl.jena.query`) are present in the MI installation directory.
- You can manually download missing dependencies from trusted sources like Maven Central or the WSO2 repository and place them in the appropriate directory (e.g., `<MI_HOME>/lib`).
I check your code there is an issue with Image
You mention width is 1; also, the image is not fitted so there's some spacing
So i have added your code on my system with different imageand its working fine
I have attached screenshot Please check
import 'package:flutter/material.dart';
class CardScreen extends StatefulWidget {
const CardScreen({super.key});
@override
State<CardScreen> createState() => _CardScreenState();
}
class _CardScreenState extends State<CardScreen> {
String selectedCurrency = 'USD';
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.white,
body: Column(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Stack(
children: [
Image.network(
"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ8lF2jbNFBy7X4D6F43tRiCxG2oRWLP9v8LQ&s",
height: 360,
width: MediaQuery.of(context).size.width,
fit: BoxFit.cover,
),
SafeArea(
child: Padding(
padding: EdgeInsets.symmetric(horizontal: 50),
child: Column(
children: [
SizedBox(height: 40),
Text(
'Your card balance',
),
SizedBox(
height: 15,
),
],
),
),
)
],
),
Text('My Card'),
],
),
);
}
}
When you click enter after you have typed in the chat name streamlit generally refreshes the page to load the new input of the text but now the edit_chat_name function is not called you should put the text_input outside and then store it in st.session_state and then use that in edit_chat_name if you want to not show the input_box when you are not editing the chat name you can write an if statement with the button and write the text_input inside the if and then have a nested if for that (which would get called if they enter the text_input) and then finally save the text in st.session_state and call the edit_chat_name function, Example code:-
with st.sidebar:
....
....
if st.button('Edit Chat Name'):
if text := st.text_input('New Chat Name'):
st.session_state.chat_names[st.session_state.current_chat_id] = text
....
Disable "Auto-generate binding redirects"
If you are using poetry do the following:
poetry add psycopg-binary
poetry add psycopg-tool
poetry install
I just encountered the situation exactly as described. Assuming a6704f8d is the interested commit hash. This is what worked out for me (with two dashes):
git checkout a6704f8d -- path/to/file
Thanks to a hint from @DileepRajNarayanThumula I have an answer to my own question:
There's a hidden column in external tables called _metadata . This is a STRUCT containing several fields, including the file update date. So to get the update date for each row of my table, I can write something like this:
SELECT *,
_metadata.file_modification_time
FROM my_external_table
It looks like the issue is with how setuptools is handling the package discovery. The [tool.setuptools.packages.find] section is only searching inside packages/src and config, but config isn’t structured as a package under packages/src.
Fixes to try:
Explicitly list config as a package
Update pyproject.toml to:
[tool.setuptools.packages.find]
where = ["packages/src"] # Only look in packages/src
include = ["*"] # Find all packages
Then, manually add config in setup.cfg (or switch to setuptools.find_namespace_packages()).
Ensure the config module is correctly recognized
Move config/ inside packages/src/ if it should be part of the installable package.
Check PYTHONPATH
When running scripts, try:
sh
PYTHONPATH=. python services/data_ingestion/ingest_data.py
Or explicitly add sys.path.append(str(Path(_file_).resolve().parent.parent)) in the script.
Use src layout
If restructuring is an option, consider putting all code inside packages/src/dashboard/ and updating imports accordingly.
Thank you from me too.. spent a couple of hours wondering if my issue was to do with an Apache configuration problem as it wasn't redirecting the http www in an InPrivate browser session of Chrome or Edge.. turned out to be the same issue with the certificate not generated with the extra -d www. domain
Maybe you can try it out. Specify the format you want.
DATE_FORMAT(current_timestamp(), '%m-%d-%Y') AS load_Date
create or replace table project.dataset.table
as
WITH tmp AS (
SELECT 1 AS id, "abc" AS txt, null AS result
UNION ALL
SELECT 1 AS id, "Passed" AS txt, "Passed" AS result
UNION ALL
SELECT 1 AS id, "def" AS txt, null AS result
UNION ALL
SELECT 2 AS id, "hgi" AS txt, null AS result
UNION ALL
SELECT 2 AS id, "jhg" AS txt, null AS result
UNION ALL
SELECT 2 AS id, "Failed" AS txt, "Failed" AS result
)
SELECT
*
from tmp
I can post the code here better than in my comment, I created a table (above)
CREATE OR REPLACE MATERIALIZED VIEW project.dataset.table
AS
SELECT
tmp.id,
tmp.txt,
tmp.result,
tmp2.result AS i_want
FROM project.dataset.table as tmp
INNER JOIN tmp AS tmp2
ON tmp.id = tmp2.id
WHERE
tmp2.result IS NOT NULL
Then tried to run the query as a materialized view but it will not work unfortunately.
can update dartsdk by running this in terminal flutter upgrade
As it seems, it's not necessary to specify the table name with !profiles if self-referencing. When using '*, creator:creator_id(id, first_name, last_name)', it works as expected.
On checkboxShape set CircleBorder()
CheckboxListTile(
value: false,
onChanged: (value) {},
checkboxShape: CircleBorder(),
)
Microsoft have come up with a solution for this called private DNS fallback.
There is now a check box within the site-link configuration, that allows the private dns resolver or [insert private DNS solution] to fall back to Azure DNS if there is no record in the linked private DNS zone for the requested resource.
https://learn.microsoft.com/en-us/azure/dns/private-dns-fallback
Try with the steps mentioned in this link :- https://learn.microsoft.com/en-us/visualstudio/ide/how-to-change-fonts-and-colors-in-visual-studio?view=vs-2022.
It worked for me.
As of today, I don’t think there’s a way to completely turn off caching once you start using the @cache-manager module in NestJS. However, I was able to achieve a similar effect by massively reducing the TTL—setting it to less than a second.
The idea is that the cache expires almost immediately after being set, making it practically unnoticeable.
In Nuxt 3, if a <p> tag is nested in another <p> tag, then v-html appears to give hydration mismatch error. Try to check if that's what's happening at the rendered HTML in dev tools Elements tab.
Changing outer <p> tag to <div> helped me. I was getting my content from contentful and doing v-html gave me hydration mismatch error.
They're not all 8 bits, you can get them in various widths. Most popular widths would be 4, 8, and 16 bits. I doubt there are any 64-bit chips though, as that would require a lot more pins and possibly a larger package, and there's probably not enough demand for that.
Tabela Stocuri:
stocuri (
codprodus (Text),
coddepozit (Text),
codfurnizor (Text),
pret (Currency),
cantitate (Integer),
data_intrarii (Date)
)
Se va crea un formular numit Form_Stocuri cu câmpuri legate de tabelul „stocuri”.
Private Sub Form_Load()
Dim conn As ADODB.Connection
Dim rs As ADODB.Recordset
Set conn = New ADODB.Connection
Set rs = New ADODB.Recordset
conn.Open "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\calea\catre\test1.accdb"
rs.Open "SELECT * FROM stocuri WHERE cantitate > 0", conn, adOpenKeyset, adLockOptimistic
If Not rs.EOF Then
Set Me.Recordset = rs
Else
MsgBox "Nu există produse în stoc!"
End If
End Sub
If you're using a simulator and trying a test sandbox payment, it won't work you should try from a physical device.
This is old, but I think the best solution outlined in this blogpost by David Solito outlining conditional dropdown filtering in my opinion is the most elegant solution.. https://www.davidsolito.com/post/conditional-drop-down-in-shiny/
My Google foo was not good enough. I've found the answer in the following post.
https://stackoverflow.com/a/74841362/6302131
After running the power shell command I see the direct events in the message log which are blocking the application from running. Frustrated that this essentially blocks me from async FileCopy. I could probably work around this but tbh likely not worth it in this instance.
No, not without switching the whole chip to complex mode.
I know it is allmost 3 years back but worth the try. I have been using the CentroidTracker to track multiple objects in python implementation, but the tracker is not very efficient dealing with occlution so I am trying to use CSRT tracker with MultiTracker function of openCV, but run into the same problem as you that the attribute is not in the module. I have tryed with the leagcy prefix, but that is not present either. now I am using version 4.11.0 of the openCV. Have you guys been using this recently? I have tried all possible ways of reinstalling openCV and using the openCV-contrib- vetc. etc but nothing working. Any suggestions, GitHub Copilot is also exhausted on indeas!
regards Thor
If you want to push in the main branch you have to tell that before
like,
git branch -m main
then you can try this
git push -u origin main
you can refer these links where they suggest using version 1.8.1.
1] https://github.com/coral-xyz/anchor/issues/3614#issuecomment-2745025030
2] https://github.com/coral-xyz/anchor/issues/3606#issuecomment-2738357920
Can you please share the VideoCallActivity code also? Also, maybe share some screenshots or a video recording so we can understand the issue better.
You can try removing the Stream code in a step-by-step manner, just to see if the issue is related. Start by removing it from one activity, then from both, then from the Application class, then also remove the dependency from the build.gradle.kts file.
The problem seems to be with how you're storing and updating the super_projectiles.
In your code, you are appending tuples to super_projectiles:super_projectiles.append((temp_projectile_rect, direction))And then you're modifying rect inside your loop:rect, direction = projectilerect.x += 10 # or other directionHowever, pygame.Rect is a mutable object, so the position does update, but you're not updating the tuple itself. Even though it seems to work because collisions are using the rect, your rendering logic is likely failing to update because you're storing and updating rects in-place without re-wrapping or tracking the changes properly.But the most likely actual cause is this:You’re reusing the same image (pie_projectile_image) for both normal and super projectiles — which is totally fine — but you're not scaling it before blitting, or the surface might be corrupted in memory if transformations were chained improperly.Here's a clean and safer version of how you could handle this:
Fix
Make sure pie_projectile_image is only loaded and transformed once, and stored properly.Ensure screen.blit() is called after filling or updating the screen
(e.g., after screen.fill()).Use a small class or dictionary to store projectile data for clarity.Example fix using a dict:# Initializationpie_projectile_image = pygame.transform.scale(pygame.image.load('Pie_projectile.png'), (100, 100))# In SuperAttack()super_projectiles.append({'rect': temp_projectile_rect, 'direction': direction})# In main loopfor projectile in super_projectiles[:]:rect = projectile['rect']direction = projectile['direction']# Moveif direction == 'left': rect.x -= 10elif direction == 'right': rect.x += 10elif direction == 'up': rect.y -= 10elif direction == 'down': rect.y += 10# Renderscreen.blit(pie_projectile_image, rect)
Also, double-check that your screen.fill() or background rendering isn't drawing after the blit call, which would overwrite the projectile visuals.
Debug Tips:
Make sure nothing is blitting over your projectiles after rendering.Try temporarily changing the image color or drawing a red rectangle as a placeholder:pygame.draw.rect(screen, (255, 0, 0), rect)If that shows up, the issue is with the image rendering
Use the sync slicers feature documented here: https://learn.microsoft.com/en-us/power-bi/developer/visuals/enable-sync-slicers
Your grade may change. My solution is to recreate the Android folder by run flutter create . This will generate a new Android folder and apply the updated format.