See also https://stackoverflow.com/a/4758351/29165416 :
Add the following to bin/activate
:
export OLD_PYTHONPATH="$PYTHONPATH"
export PYTHONPATH="/the/path/you/want"
Add the following to bin/postdeactivate
:
export PYTHONPATH="$OLD_PYTHONPATH"
Go To Pods and select Build Setting Under Architecture, Exclude arm64 inside Architectures.
Is there a way to expose a single page (aspx) for anonymous access?
You can allow anonymous access to a specific page by overriding authentication settings in web.config
.
First, check if the below lines are set in web.config
to deny anonymous users globally:
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
Remove the above lines and use <location>
tags in web.config
to define authorization settings restrict access to protected pages and allow anonymous access to unprotected pages, as shown below:
<location path="Default.aspx">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
<location path="About.aspx">
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</location>
Make sure the com.google.protobuf:protobuf-java
dependency is the same version as the protoc compiler. This is likely the problem here. You can find the duplicate issue in gRPC Java: https://github.com/grpc/grpc-java/issues/11925
Ubuntu/Linux, do this:
Install the full Qt4 development packages:
sudo apt-get update
sudo apt-get install qt4-dev-tools libqt4-dev libqtwebkit-dev
for those who tried it all but it didn't help, try adding a file to src/test/resources/mockito-extensions/org.mockito.plugins.MockMaker
with one line:
mock-maker-subclass
it solved the problem for me, but it doesn't let you mock final methods and classes.
I had this same issue in Visual Studio 22 (after updating from 17.8 to 17.12) and simply restarting it fixed the problem.
I want to fetch real-time prices from MetaTrader 5 (MT5), but I haven’t found a reliable solution yet. Currently, I’m using the mt5.symbol_info_tick(symbol) function inside a while True loop. Could you please share a better or more efficient approach in Python?
Old question, but it is hard do find anything on the Factset add-in online. I found FactSet Office API Type Library
which provides FDSOfficeAPI_Server
class. I'm now trying to find a proper ProgID for it, so I could late bind it.
You can try to use CSS for this. One way is through CSS animations. Here is a video for it https://www.youtube.com/watch?v=z2LQYsZhsFw. You can directly change the border property of the icons through this without affecting the width being stretched.
The animations can be activated through a CSS property animation-play-state
That can be changed through JS also.
Its possible your Git authentication is invalid.
Try Git: Credential Manager
or git auth login
to fix the error.
i. Identify key challenges faced by Bhutan Frro Alloys Limited(BFAL)
1. Market Access
According to Kenton (2019), market access refers to the ability of a company or country to sell goods and services across borders. The ability to sell in a market is often accompanied by tariffs, regulations, and barriers such as import duties, quotas, and standards that affect how easily a product can enter and compete in that market.
Market Access Challenges of BFAL
a. Tariff
Some countries impose import duties or taxes on ferro alloys, which makes BFAL’s products more expensive in foreign markets. As BFAL exports most of products to India current tariff rate according to HS Code 7202 to Import Duty On- Ferro alloys Ferro-manganese it includes 5% basic Duty, 18% IGST, and 10% Social welfare surcharge(Customs Duty | Import Export Custom Duty India | Customs Tarif, n.d.). But India adjusts its import duties from time to time depending on its domestic supply and demand. Thus, the fluctuations in tariff make Bhutan Ferro Alloys Ltd. (BFAL)’s exports vulnerable to sudden cost increases and reduced competitiveness in the Indian market. When duties rise, it directly increases the landed cost of Bhutanese ferro alloys for Indian buyers, potentially shifting demand to cheaper alternatives from other countries or domestic sources. These unpredictable policy changes create uncertainty for BFAL in planning long-term contracts and pricing strategies. Since India is the primary export destination for BFAL, this dependency amplifies the impact of any tariff revision, making it a significant regulatory challenge for sustaining trade volumes and profitability.
b. Global Market Volatility
According to a news report in the Bhutanese by Chuki (2025), “The global market is disturbed and uncertain, particularly due to geopolitical tensions and wars affecting the European market.” This instability disrupts demand patterns, delays shipments, and increases the risk of market closures or trade restrictions. Volatility in global market creates uncertainty in pricing, order volumes, and payment timelines. Markets that could have offered diversification, like Europe, become unreliable or inaccessible due to fluctuating demand or political risk. As a result, BFAL is forced to depend more heavily on a single market like India, which increases its exposure to domestic policy changes and economic conditions in that country. Global instability also affects currency exchange rates, shipping costs, and buyer confidence, all of which reduce BFAL’s competitiveness and profitability in the global arena.
c. Bilateral trade agreements:
Currently, the country has only two bilateral trade agreements with India and Bangladesh and is a party to one regional agreement, SAFTA. Beyond the South Asian region, Bhutan does not have any bilateral or multilateral trade agreement with any region or country (Ministry of Economic Affairs & UNDP, n.d.). This limited trade framework restricts Bhutan Ferro Alloys Ltd. (BFAL) from accessing wider international markets under preferential terms. Without trade agreements beyond South Asia, BFAL’s exports face higher tariffs and regulatory barriers, reducing their competitiveness. This lack of diversification increases dependence on India and exposes BFAL to greater risk from policy shifts or market slowdowns.
The code is now available at Darian Miller's Git Repository Delphi-Vault
https://github.com/carmas123/delphi-vault/blob/master/Source/DelphiVault.Windows.ServiceManager.pas
@Aplet123's answer works, but it filters out all falsy values. So, I'd suggest a small change:
function getFilteredObject(obj) {
// we're filtering out all null, undefined and empty strings but not 0 and false
return Object.fromEntries(Object.entries(obj).filter(([k, v]) => ![null, undefined, ""].includes(v)));
}
// you could also use `skipNull: true` as mentioned by others to only skip null values
const url = `/user?${qs.stringify(getFilteredObject({ name, age }))}`;
HttpClient(CIO) {
install(WebSockets) {
contentConverter = KotlinxWebsocketSerializationConverter(json)
pingIntervalMillis = 15000
}
install(HttpRequestRetry) {
retryOnServerErrors(maxRetries = 5)
delayMillis {
TODO("handle it here")
5000
}
}
}.webSocket(<url>) { /* TODO */ }
The problem was with this string: I change the q to 0 and now it works!
'Accept-Language': 'de-DE, de;q=0.5'
I would use the Google Sheets and store it there.
https://www.youtube.com/watch?v=70F3RlazGMY
You should be able use the -p command of docker to map the port exposed within the container (11434) to something on your localhost network. Something like:
docker run -p 8080:11434 -it b0300949-bf2f-404e-9ea1-ebaa34423b50
An alternative that might work is jupyter.runcurrentcell
. For example:
{
"key": "cmd+enter",
"command": "jupyter.runcurrentcell",
"when": "editorTextFocus && isWorkspaceTrusted && jupyter.hascodecells && !editorHasSelection && !isCompositeNotebook && !notebookEditorFocused"
}
@aaron approach did not work for me.
From "https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html"
"native - This selects the CPU to generate code for at compilation time by determining the processor type of the compiling machine. Using -march=native enables all instruction subsets supported by the local machine (hence the result might not run on different machines). Using -mtune=native produces code optimized for the local machine under the constraints of the selected instruction set."
So, it was totally my miss.
First of all, I was checking the prod function logs while the deploys were made to staging (well, probably not totally my miss - Netlify, it is really hard to find branch deploy logs)
Anyway, the problem is, the component I was trying to SSR has share button that uses navigator
, a component exists only in browsers. Once I made the code more "server-proof" the problem was solved.
Since Symfony 7+, it's possible to set the locale directly in the Symfony\Bridge\Twig\Mime\TemplatedEmail
:
Example from the documentation:
$email = (new TemplatedEmail())
->from('[email protected]')
->to(new Address('[email protected]'))
->subject('Thanks for signing up!')
// path of the Twig template to render
->htmlTemplate('emails/signup.html.twig')
// change locale used in the template, e.g. to match user's locale
->locale('de')
;
I noticed that with pandas==2.2.1
(and possibly other versions), the bad line error is not triggered unless engine='python'
is explicitly set when reading the file.
Following the example provided by @sitting_duck, here's a minimal reproducible code:
import io
import pandas as pd
sim_csv = io.StringIO(
'''A,B,C
11,21,31
12,22,32
13,23,33,43 # Bad Line
14,24,34
15,25,35'''
)
Without engine
and with on_bad_lines='error'
:
with pd.read_csv(sim_csv, chunksize=2, on_bad_lines='error') as reader:
for chunk in reader:
print(chunk)
A B C
0 11 21 31
1 12 22 32
A B C
2 13 23 33
3 14 24 34
A B C
4 15 25 35
With engine='python'
and with on_bad_lines='error'
:
sim_csv.seek(0)
with pd.read_csv(sim_csv, chunksize=2, engine='python', on_bad_lines='error') as reader:
for chunk in reader:
print(chunk)
A B C
0 11 21 31
1 12 22 32
[...] pandas.errors.ParserError: Expected 3 fields in line 4, saw 4
I understand exactly what you're trying to achieve — you have a deeply nested associative array (something like a YAML-style configuration), and your goal is to flatten it into structured arrays that results in database tables. These structures include categories (with parent-child relationships) , settings (tied to categories) and values (holding defaults and linked to settings).
I've played around a little bit, so I converted this into something that is ready for database insertion with the self-generated IDs you mentioned and references. The code I provided you below recursively processes categories and nested subcategories and differentiates between categories and settings (containsSettings heuristics). It assigns incremental IDs to categories, settings and your values with preserving order.
I've created a github project for you, so you can test it/download it:
https://github.com/marktaborosi/stackoverflow-79606568
This is the result you get with this:
I know you're not asking for a redesign or for someone to question your approach — but I would absolutely do that if I were you. An OOP version would be more cleaner, feel free to ask if you need that.
As you can see it has a tightly coupled recursion logic.
Here is the code for it (if you just want to paste it):
// This is your pre-defined settings array
$settings = [
'basic' => [
'installation_type' => [
'type' => '["single","cluster"]',
'description' => 'bla blah',
'readonly' => false,
'hidden' => false,
'trigger' => null,
'default' => 'single'
],
'db_master_host' => [
'type' => 'ip',
'description' => 'Database hostname or IP',
'default' => 'localhost'
],
'db_master_user' => [
'type' => 'text',
'description' => 'Database username',
'default' => 'test'
],
'db_master_pwd' => [
'type' => 'secret',
'description' => 'Database user password',
],
'db_master_db' => [
'type' => 'text',
'description' => 'Database name',
'default' => 'test'
]
],
'provisioning' => [
'snom' => [
'snom_prov_enabled' => [
'type' => 'switch',
'default' => false
],
'snom_m3' => [
'snom_m3_accounts' => [
'type' => 'number',
'description' => 'bla blah',
'default' => '0'
]
],
'snom_dect' => [
'snom_dect_enabled' => [
'type' => 'switch',
'description' => 'bla blah',
'default' => false
]
]
],
'yealink' => [
'yealink_prov_enabled' => [
'type' => 'switch',
'default' => false
]
]
]
];
$categories = []; // array<string, array{id: int, parent: int, name: string, order: int}>
$settingsList = []; // array<string, array{id: int, catId: int, name: string, type: string|null, desc: string|null, readonly?: bool|null, hidden?: bool|null, trigger?: string|null, order: int}>
$values = []; // array<string, array{id: int, setId: int, default: mixed}>
$catId = 1;
$setId = 1;
$valId = 1;
$order = 1;
/**
* Recursively process nested config array into flat category, setting, value arrays.
*/
function processCategory(
array $array,
int $parentId,
array &$categories,
array &$settingsList,
array &$values,
int &$catId,
int &$setId,
int &$valId,
int &$order
): void
{
foreach ($array as $key => $item) {
if (is_array($item) && isAssoc($item) && containsSetting($item)) {
$currentCatId = $catId++;
$categories[$key] = [
'id' => $currentCatId,
'parent' => $parentId,
'name' => $key,
'order' => $order++,
];
foreach ($item as $settingKey => $settingData) {
if (is_array($settingData) && isAssoc($settingData) && containsSetting($settingData)) {
processCategory([$settingKey => $settingData], $currentCatId, $categories, $settingsList, $values, $catId, $setId, $valId, $order);
} else {
$currentSetId = $setId++;
$settingsList[$settingKey] = [
'id' => $currentSetId,
'catId' => $currentCatId,
'name' => $settingKey,
'type' => $settingData['type'] ?? null,
'desc' => $settingData['description'] ?? null,
'readonly' => $settingData['readonly'] ?? null,
'hidden' => $settingData['hidden'] ?? null,
'trigger' => $settingData['trigger'] ?? null,
'order' => $order++,
];
$values[$settingKey] = [
'id' => $valId++,
'setId' => $currentSetId,
'default' => $settingData['default'] ?? null,
];
}
}
}
}
}
/**
* Check if the array is associative.
*/
function isAssoc(array $arr): bool
{
return array_keys($arr) !== range(0, count($arr) - 1);
}
/**
* Determine if an array contains at least one sub-setting (based on 'type' or 'default').
*/
function containsSetting(array $arr): bool
{
foreach ($arr as $val) {
if (is_array($val) && (isset($val['type']) || isset($val['default']))) {
return true;
}
}
return false;
}
// Run your flattening
processCategory($settings, 0, $categories, $settingsList, $values, $catId, $setId, $valId, $order);
// Dumping the results
echo "--- Categories ---\n";
echo "<pre>";
print_r($categories);
echo "--- Settings ---\n";
print_r($settingsList);
echo "--- Values ---\n";
print_r($values);
echo "</pre>";
Let me know if this helps!
I keep getting this default workspace error in kali>MSF.Have tried everything but the error keeps returning.Tried default workspace also but the error keeps returning.have tried reinstalling and upgrading all the modules in kali with sudo apt-apt update & upgrade -y
┌──(root㉿kalimacstudio3)-[~]
└─# service postgresql start
┌──(root㉿kalimacstudio3)-[~]
└─# service postgresql status
● postgresql.service - PostgreSQL RDBMS
Loaded: loaded (/usr/lib/systemd/system/postgresql.service; disabled; preset: disab>
Active: active (exited) since Mon 2025-05-05 11:40:47 IST; 49min ago
Invocation: b31109a027d74f0c94ff36c35ac76f77
Process: 13017 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
Main PID: 13017 (code=exited, status=0/SUCCESS)
Mem peak: 1.7M
CPU: 5ms
May 05 11:40:47 kalimacstudio3 systemd[1]: Starting postgresql.service - PostgreSQL RDBM>
May 05 11:40:47 kalimacstudio3 systemd[1]: Finished postgresql.service - PostgreSQL RDBM>
zsh: quit service postgresql status
┌──(root㉿kalimacstudio3)-[~]
└─# msfconsole -q
msf6 > workspace -l
pentest1
pentest2
* default
msf6 > db_status
[*] Connected to msf. Connection type: postgresql.
msf6 > db_disconnect
Successfully disconnected from the data service: local_db_service.
msf6 > db_connect user4msf:9969@localhost:5432/db4msf
[*] Connected to Postgres data service: localhost/db4msf
msf6 > db_status
[-] Error while running command db_status: Couldn't find workspace default
Call stack:
/usr/share/metasploit-framework/lib/msf/util/db_manager.rb:52:in `process_opts_workspace'
/usr/share/metasploit-framework/lib/msf/core/db_manager/event.rb:55:in `block in report_event'
/usr/share/metasploit-framework/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.7/lib/active_record/connection_adapters/abstract/connection_pool.rb:215:in `with_connection'
/usr/share/metasploit-framework/lib/msf/core/db_manager/event.rb:54:in `report_event'
/usr/share/metasploit-framework/lib/metasploit/framework/data_service/proxy/event_data_proxy.rb:18:in `block in report_event'
/usr/share/metasploit-framework/lib/metasploit/framework/data_service/proxy/core.rb:164:in `data_service_operation'
/usr/share/metasploit-framework/lib/metasploit/framework/data_service/proxy/event_data_proxy.rb:16:in `report_event'
/usr/share/metasploit-framework/lib/msf/core/framework.rb:328:in `report_event'
/usr/share/metasploit-framework/lib/msf/core/framework.rb:377:in `on_ui_command'
/usr/share/metasploit-framework/lib/msf/core/event_dispatcher.rb:145:in `block in method_missing'
/usr/share/metasploit-framework/lib/msf/core/event_dispatcher.rb:143:in `each'
/usr/share/metasploit-framework/lib/msf/core/event_dispatcher.rb:143:in `method_missing'
/usr/share/metasploit-framework/lib/msf/ui/console/driver.rb:408:in `block in on_startup'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:530:in `block in run_single'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:525:in `each'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:525:in `run_single'
/usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:165:in `block in run'
/usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:309:in `block in with_history_manager_context'
/usr/share/metasploit-framework/lib/rex/ui/text/shell/history_manager.rb:37:in `with_context'
/usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:306:in `with_history_manager_context'
/usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:133:in `run'
/usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:54:in `start'
/usr/share/metasploit-framework/lib/metasploit/framework/command/base.rb:82:in `start'
/usr/bin/msfconsole:23:in `<main>'
msf6 >
https://pypi.org/project/AutoCAD/
https://github.com/Jones-peter/AutoCAD
refer these AutoCAD library have the ability to make group
Exectauble could not view the text file to read the words in. Once file is put next to .exe it works as expected.
I'm working with a ZKTeco SpeedFace-V3L device and it's able to connect to my server (I see logs for /iclock/cdata
and /iclock/registry
), but it's not sending any attendance data. The POST requests to /iclock/cdata
arrive, but the body is empty, so I can't extract the check-in logs (e.g., ATTLOG
).
Has anyone experienced this issue where the device connects but doesn't push user attendance logs?
Firmware version: ZMM510-NF24VB-Ver1.2.7
I'm using a custom Flask server to receive data on /iclock/cdata
.
Any idea how to configure the device or trigger log uploads?
for my case I have installed intel android studio instead of apple silicon android studio
It seems like you misunderstood the generation process and mixed it with using the generated profiles.
To create baseline profiles, you need an Android 13+ device:
To use the baseline profiles in the app, you need a device with Android 7+:
https://developer.android.com/topic/performance/baselineprofiles/overview
z = []
index = 0
for item in x:
while z.count(item) < y[index]:
z.append(item)
index += 1
From a quick reading, to me it seems that to verify the commit locally (like in your git UI picture) you need the public key of the pair that has signed the commit. Since it was signed by Github's key (when clicking on the "Verified" you get a pop-up with This commit was created on GitHub.com and signed with GitHub's verified signature.
or something similar) and not yours, thus you cannot verify it since you do not have the public key installed.
You can see the same issue when another user wanted to try to verify other people's commits in Github: How to locally verify signed commits by other people?
The Github status refers to Github's ability to determine the signature from configured keys https://docs.github.com/en/authentication/managing-commit-signature-verification/displaying-verification-statuses-for-all-of-your-commits
By default commits and tags are marked "Verified" if they are signed with a GPG, SSH, or S/MIME key that was successfully verified.
As @JoachimSauer already proposed, you should add Github's key to be able to verify the commits https://stackoverflow.com/a/60482908/18973005
How We Deliver Our UI/UX Design Services
Another option may be adding and removing overflow:hidden; to body html or element
On Windows, you have the possibility to select the JDK to be used when you are asked for it in a prompt starting SQL developer first time.
Afterwards, you can still change it by editing this file: C:\Users\your_user_name\AppData\Roaming\sqldeveloper\version_number\product.conf
Look for this line:
SetJavaHome Path_to_JDK_folder (e.g.: C:\Program Files\Eclipse Adoptium\jdk-8.0.452.9-hotspot)**
Google doesn´t allow to do that but you can use Google Vision API for similar purposes with automated and massive calls, learn how to do it for example to check image copyright
Experiencing the same issue using expo when I added @react-native-firebase. Were you able to resolve this?
step flow:
client send :127.0.0.1:8000/api/v1/oauth/authorize? client_id=01969be6-c24b-737c-bc43-74b42ac117ed redirect_uri= response_type=code scope= code_challenge=WXjHDjrK8S9baMqKa8jQ7Ag1YKl56Qik2HbQoQKRUaA code_challenge_method=S256 user_id=1
server : if client exist return authorize_code (my problem this section)
client get authorize_code and show form for client
client set name,pass,code_verifier and send it to server
server check client and return access and refresh token
my problem is step 2 . how to generate authorize_code with laravel/passport without oauth/authorize route and not generate manualy and save db , use passport oauth/authorize route in server Do you think there is a solution?
Use named imports instead of default ones.
Uninstalling the VS Code extension "Java Platform Extension for Visual Studio Code" by Oracle & using the extension "Language support for Java ™ for VS Code by Red Hat solved it for me.
A bit late to answer but for Windows, if you go to your certificate manager (WIN + R and write "certmgr.msc"), right click on the certificate you want to change and go to properties. In my case I managed to change its purpose in the little box "Certificate purposes" in General tab.
I used https://github.com/Raruto/leaflet-kmz lib. Support KML/KMZ format.
Check your system clock. It happened to me on my linux system and the culprit was system clock had reverted to 1970 time. It was fixed when i updated the system time.
If you are using Intellij go to Settings -> Build, Execution, Development -> Compiler -> Annotation Processors -> Processor Path
And tick the Obtain processors from project classpath radio button
In my case Intellij was using the processor path (the 2nd option) which is the default option when you enable Annotation processors but for some reason Intellij was including jars prefixed with unknown instead of including the jars used in the project. but using the 1st option Intellij will use the maven configuration instead of it's own classpath resolver
# Attempting to list all files in the /mnt/data directory to find the correct filename
import os
files = os.listdir("/mnt/data")
files
I had this issue. Similar to Lesamel, I used the following to fix this on Windows:
az config set core.enable_broker_on_windows=false
The account clear
did not work for me.
This works: import { GoogleApiWrapper } from "google-maps-react";
I found another solution. According to https://github.com/Jaspersoft/jasperreports/issues/245 in Excel export isn't as perfect as in PDF.
One of the solutions is use the property net.sf.jasperreports.export.xls.font.size.fix.enabled
.
Seems there is no method for this.
I needed to iterate over all form fields and get their data:
$data = array_map(fn ($v) => $v->getData(), $form->all());
If you have nested forms, then something along those lines (untested):
$data = array_map(function ($field) {
if ($field->getConfig()->getCompound()) {
$fieldsData = ... // call recursively
return $fieldsData;
}
return $field->getData();
}, $form->all());
So if it is the case of VBA Excel not opening port, the fix i got is to only use "COM1" and not with the extra bitrate and and and..
Open "COM4:115200,N,8,1" For Binary Access Read Write As #1
Open "COM4" For Binary Access Read Write As #1
One more question: exporting a non class function fails to
error C7619: cannot export 'nonClassFunc1' as module partition 'Internal'
does not contribute to the exported interface of module unit 'ModTest'
firstFile.cpp
export module ModTest:One;
export class FirstClass {
public:
FirstClass();
int firstClassFunc();
};
export int nonClassFunc1(); // DOES NOT WORK
export int nonClassFunc2(){ return 9; } // WORKS
firstFile_impl.cpp
module ModTest:Internal;
import :One; // <========== Import `FirstClass`
import :Two; // <========== Import `SecondClass`
int FirstClass::firstClassFunc() { return 8; }
FirstClass::FirstClass()
{
SecondClass sec(this);
}
int nonClassFunc1() { return 9; } // --> C7619
What is wrong here?
Thank you!
Здравствуйте не могу войти в лурк These credentials do not match our records вот это выдает
Are your dependencies correct? Make sure Lombok is in dependency not testDependencies for instance, this is the latest version from mvnrepository.
<!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.38</version>
<scope>provided</scope>
</dependency>
After you have updated the pom.xml you can run:
mvn clean install
to update the dependencies
Instead of using @Getter and @Setter create a simple POJO in your test case and try and test it like that. Are your test class in the right directory?
src/test/java is the most common directory for test classes.
If you're unable to upload a file to the Autodesk Forge server, here are the most common causes and how to troubleshoot them:
You need a valid access token to use the Forge Data Management API.
Check:
Are you using a valid OAuth token (2-legged or 3-legged, depending on your use case)?
Is the token not expired?
Does your app have the correct scopes (e.g., data:write
, bucket:create
, data:create
)?
Fix:
Regenerate the token using the correct client ID/secret and ensure scopes are properly set.
Files in Forge are uploaded to buckets. If the bucket doesn’t exist or you don’t have permission, the upload will fail.
Check:
Does the bucket already exist?
Are you using the correct bucket key?
Is the bucket in the right region?
Fix:
Use this API to create a bucket before uploading:
http
CopyEdit
POST https://developer.api.autodesk.com/oss/v2/buckets
To upload a file, you typically use:
http
CopyEdit
PUT https://developer.api.autodesk.com/oss/v2/buckets/:bucketKey/objects/:objectName
Common issues:
File name (:objectName
) includes spaces or unsupported characters.
Content-Type header missing or incorrect.
File is too large for single PUT (Forge has limits).
Fix:
Encode object name properly (URL-safe).
Set headers like:
http
CopyEdit
Content-Type: application/octet-stream Authorization: Bearer <access_token> Content-Length: <file_size>
For large files (>100 MB), use resumable uploads.
Forge APIs are sensitive to headers.
Ensure headers include:
http
CopyEdit
Authorization: Bearer <access_token> Content-Type: application/octet-stream
Forge will typically return an error message or status code. Some common ones:
401 Unauthorized
→ Token issue
403 Forbidden
→ Invalid bucket or permission
404 Not Found
→ Bucket or object name incorrect
413 Payload Too Large
→ Use resumable uploads
Try this from command line:
bash
CopyEdit
curl -X PUT \ -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \ -H "Content-Type: application/octet-stream" \ --data-binary "@yourfile.dwg" \ "https://developer.api.autodesk.com/oss/v2/buckets/your-bucket/objects/yourfile.dwg"
The background color of the button is correct, too. The default background color of buttons in Theme.AppCompat.Light.NoActionBar is gray instead of purple.
delete podfile.lock file
run flutter clean and pub get
run flutter pod repo update
The Azure resource type connected to the connections is Microsoft.Web/connections
which can be managed with the Azure-CLI commands of:
az webapp connection
The list of all possible commands can be found here: https://learn.microsoft.com/en-us/cli/azure/webapp/connection?view=azure-cli-latest
Using string for phone and zip makes things simpler—no issues with leading zeros, and input masking just works better with it in MVC forms.
I solved this problem by: enter image description here
Make sure the vpn client, such as clash, dont't set it to "system delegate"
Unfortunately it is not possible to construct url but you can use Google Vision API for similar purposes in an automated way, learn how to do it or use tools or plugins that can let you for example check your media library images copyright
To stage Build in docker consider https://docs.docker.com/build/building/multi-stage/
example:
# STAGE-1
FROM opensuse/leap:15.6 AS opensuse
# do required build jobs
########################################################################################################
# STAGE-2
FROM azul/zulu-openjdk-alpine:17.0.15-jre AS zulu
COPY --from=openSUSE /opt/ /opt/ # copy files from build stages
RTP can be reliably auto-detected without SIP (or SAP/SDP) protocol. It takes a heuristic algorithm and very careful payload parsing, in some cases going down the wrong path for a bit to recognize when it's wrong, and then re-adjusting. In this C++ source code the function detect_codec_type_and_bitrate() does this. Note that it looks for video RTP streams first as they forbid start code sequences (which of course will show up in just about any other random stream), then checks for various voice codec types (which is harder). Audio and video command line examples are here. The idea is to recognize on the fly any new session in UDP or pcap flow, create a session for it, detect the codec type, and then go from there (extract bitstreams, decode, merge streams, ASR, etc). We have tested this on over 150+ pcaps collected over 5 years from users, plus we synthetically generate another several hundred. It's deployed by F500s and it works
disclaimer - I work for the company that maintains this
Right click > inspect > on refresh indicator right click and select empty cache and hard reload. Maybe the css is not properly linked here, try:
<link rel="stylesheet" type="text/css" th:href="@{/style.css}"/> or <link rel="stylesheet" type="text/css" href="/style.css"/>
maybe try moving css to another location.
and what about the configuration?
@Bean
public SpringResourceTemplateResolver templateResolver() {
SpringResourceTemplateResolver templateResolver = new SpringResourceTemplateResolver();
templateResolver.setPrefix("classpath:/templates/");
templateResolver.setSuffix(".html");
templateResolver.setTemplateMode("HTML");
return templateResolver;
}
The problem was I was declaring the TemplateStore as a provider in the component annotation. Just removed it and the test worked as expected.
@Component({
selector: 'app-template-list-layout',
standalone: true,
providers: [/* REMOVED TEMPLATE STORE */],
templateUrl: './template-list-layout.component.html',
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class TemplateListLayoutComponent {
templateStore = inject(TemplateStore);
i use
df.fillna(0) to overcome nan error but it still give me same errors
like before
You should not make POST request in your browser using a URL directly. Browser can only make GET requests when you enter a URL in the address bar. And since your endpoint is mapped to @PostMapping and you are sending a GET the server responds with a 405 method not allowed error.
You can either change the mapping to @GetMapping or keep the @PostMapping and call it with JavaScript fetch API or with Postman as mentioned in previous answers or curl:
curl -X POST http://localhost:8080/api/command/on
In docker networking connection need to be made with hostname as IPs will be changing on restart, do consider https://docs.docker.com/engine/network/. also confirm ports you are expecting to connect is exposed or not.
Can anyone help with exporting traces. I'm not able to connect my project to otlp-collector, which is not able to send the traces to jaeger.
Thanks.
ALLOW ALERT_HEADER
got it, it shuld use ALLOW directive.
Superpowers have long fascinated humanity, from the legendary gods of ancient mythology to the modern superheroes that leap across comic book pages and movie screens. The concept of superhuman abilities, often found in comic books, movies, and folklore, has captured imaginations for centuries.
To insert #import "RCTDefaultReactNativeFactoryDelegate.h"
before #import "AppName-Swift.h"
, you can modify your Objective-C file like this:
Thank you for information do you have instagram account so follow you there...! https://www.radiantitservices.in/index.html
It took many years, but this global configuration is finally available since Maven 3.9 with the MAVEN_ARGS
environment variable.
References:
Have You added @EnableCaching annoataion of config class ?
https://trxgas.io/
this site 3TRX gas fees
The USDT Tron transfer transaction fee saves 80% in TRX.
Refer this XML file as ant build...
create_p2_repo.xml
This will generate a p2 repo on the specified path.
An even better solution could be:
(keydown.enter)="onSearchButtonClick()"
So no "textChangedVal()" method would be needed.
you might have to have a sperate jwt token generation logic and use that with yarp Route configuration you can have a policy and add it with your yarp
{
"ReverseProxy": {
"Routes": {
"route1" : {
"ClusterId": "cluster1",
"AuthorizationPolicy": "customPolicy",
"Match": {
"Hosts": [ "localhost" ]
}
}
},
"Clusters": {
"cluster1": {
"Destinations": {
"cluster1/destination1": {
"Address": "https://localhost:10001/"
}
}
}
}
}
}
for more refer https://learn.microsoft.com/en-us/aspnet/core/fundamentals/servers/yarp/authn-authz?view=aspnetcore-9.0
is the issue fixed could you please say what is the root cause I am facing the same issue
It was IDE problem, so just update your IDE.
MAC IDC8:F0:9E:29:42:3DC8:F0:9E:29:40:9180:64:6F:3C:06:5D80:64:6F:3C:07:8DC8:F0:9E:28:23:41C8:F0:9E:28:07:A9C8:F0:9E:28:0C:51C8:F0:9E:28:0F:DDC4:D8:D5:87:7E:14C4:D8:D5:82:60:C808:F9:E0:9D:EB:4D08:D1:F9:47:37:31C4:D8:D5:83:09:24C4:D8:D5:85:07:60C4:D8:D5:83:E5:3CC4:D8:D5:83:E5:54D4:8C:49:46:3E:0CD4:8C:49:62:74:CCC4:D8:D5:83:D2:74C4:D8:D5:81:DF:C0C4:D8:D5:81:E4:14C4:D8:D5:81:D5:7CC4:D8:D5:83:AD:24C4:D8:D5:83:CF:68C4:D8:D5:81:9D:F024:DC:C3:FD:D4:88C4:D8:D5:83:D2:F8C4:D8:D5:83:A9:F8C4:D8:D5:83:08:B8C4:D8:D5:85:35:7094:54:C5:98:D1:7094:54:C5:99:FC:1C94:54:C5:99:B3:B0D4:8C:49:62:E3:E894:54:C5:98:D8:EC94:54:C5:9A:DC:40C4:D8:D5:82:FC:9C94:54:C5:9A:39:D0D4:8C:49:64:4B:0494:54:C5:9A:27:5C94:54:C5:99:E5:2C94:54:C5:9B:03:F0C4:D8:D5:83:E5:70C4:D8:D5:81:9D:1CC4:D8:D5:81:E0:D0C4:D8:D5:81:D6:B8C4:D8:D5:83:CF:88C4:D8:D5:82:60:D8C4:D8:D5:81:E0:00C4:D8:D5:81:D7:20C4:D8:D5:82:5F:CCC4:D8:D5:82:65:8894:54:C5:99:AF:78D4:8C:49:62:FA:30C8:F0:9E:28:09:D9C8:F0:9E:29:40:41C8:F0:9E:29:3C:A9C8:F0:9E:27:F1:A1C8:F0:9E:29:3F:6DC8:F0:9E:29:3D:11C8:F0:9E:29:3F:69C8:F0:9E:28:00:35C8:F0:9E:29:3F:4DC8:F0:9E:29:3E:05C8:F0:9E:28:22:C1E0:5A:1B:70:49:39C8:F0:9E:29:40:D1C8:F0:9E:29:3C:45C4:D8:D5:81:E1:08C4:D8:D5:83:02:F4C4:D8:D5:81:D6:14C4:D8:D5:83:A7:ACC4:D8:D5:83:D1:68C4:D8:D5:83:B8:60C4:D8:D5:84:43:ACC4:D8:D5:82:5F:7CC4:D8:D5:81:9F:88C4:D8:D5:83:01:C0C4:D8:D5:81:E3:FCC4:D8:D5:81:D7:38C4:D8:D5:81:9D:DCC4:D8:D5:81:D6:F0C4:D8:D5:85:22:CCC4:D8:D5:81:B2:9CC4:D8:D5:85:3B:04C4:D8:D5:83:03:60C4:D8:D5:83:02:E8C4:D8:D5:85:3B:6024:DC:C3:FB:B3:98C4:D8:D5:83:CF:8CC4:D8:D5:88:D5:34C4:D8:D5:83:16:80C4:D8:D5:82:61:28D4:8C:49:42:09:6094:54:C5:99:5B:90C4:D8:D5:83:03:08C4:D8:D5:81:D8:C4C4:D8:D5:85:22:E0C4:D8:D5:83:A7:CCC4:D8:D5:85:3B:50C4:D8:D5:83:DF:BCC4:D8:D5:81:D6:24C4:D8:D5:82:61:58C4:D8:D5:82:5F:C4C4:D8:D5:83:CF:40C4:D8:D5:82:60:04C4:D8:D5:81:D8:8CC4:D8:D5:83:CF:64C4:D8:D5:83:CF:84C4:D8:D5:81:D6:BCC4:D8:D5:83:03:70C4:D8:D5:87:7D:10C4:D8:D5:81:E4:C4C4:D8:D5:81:D6:64C4:D8:D5:81:E6:10C4:D8:D5:87:7D:E8C4:D8:D5:81:D6:6CC4:D8:D5:83:02:10C4:D8:D5:83:08:D8C4:D8:D5:87:D0:80C4:D8:D5:87:D0:84C4:D8:D5:83:06:9CC4:D8:D5:81:E0:28C4:D8:D5:85:05:2494:54:C5:99:52:A0C4:D8:D5:81:E2:BCC4:D8:D5:81:D5:E8C8:F0:9E:29:41:71C8:F0:9E:27:F3:EDC8:F0:9E:29:3E:35C8:F0:9E:28:05:DDC8:F0:9E:27:FB:F9C8:F0:9E:29:3C:C1D4:8C:49:F4:F3:E094:54:C5:9A:30:9080:64:6F:3C:06:A180:64:6F:3C:06:8580:64:6F:3C:0C:9980:64:6F:3C:07:41D4:8C:49:F5:07:0C94:54:C5:98:D3:5CC8:F0:9E:27:FD:B9C8:F0:9E:29:41:0D80:64:6F:3C:08:BD08:D1:F9:47:22:DDC0:49:EF:BC:3D:89C8:F0:9E:29:42:79C8:F0:9E:29:40:A9C8:F0:9E:27:E5:D1C8:F0:9E:29:41:E9C8:F0:9E:29:3F:C1C8:F0:9E:28:08:E1C8:F0:9E:29:3F:2DC8:F0:9E:29:3D:89C8:F0:9E:29:3E:6DC8:F0:9E:29:41:05C8:F0:9E:28:0C:91C8:F0:9E:28:04:01C8:F0:9E:28:14:D9C8:F0:9E:29:40:7DC8:F0:9E:29:3D:D1C8:F0:9E:28:14:C9C8:F0:9E:27:E3:F908:D1:F9:47:37:1108:D1:F9:47:17:79C8:F0:9E:27:FB:85C8:F0:9E:28:1F:D9E0:5A:1B:70:48:65C8:F0:9E:29:40:1180:64:6F:3F:2D:C580:64:6F:3C:0C:29C8:F0:9E:27:E4:2DC8:F0:9E:29:3E:3D80:64:6F:3C:0B:41C8:F0:9E:27:E9:B1C8:F0:9E:27:EE:A5C8:F0:9E:29:42:0DC8:F0:9E:27:F5:45C8:F0:9E:29:41:45C8:F0:9E:27:FD:39C8:F0:9E:27:F3:0D80:64:6F:3C:07:5580:64:6F:3C:06:C9C8:F0:9E:29:3C:C5C8:F0:9E:29:3D:31C8:F0:9E:27:EA:19C8:F0:9E:27:FE:31C8:F0:9E:28:0D:F5C8:F0:9E:29:3D:15C8:F0:9E:28:1F:15C8:F0:9E:29:3D:D9C8:F0:9E:28:0C:29C8:F0:9E:29:3D:0DC8:F0:9E:28:0E:79C8:F0:9E:29:3D:8DC4:D8:D5:82:5E:2CC4:D8:D5:88:00:D0C4:D8:D5:83:E4:10C4:D8:D5:81:E0:94C4:D8:D5:85:23:34C4:D8:D5:81:E4:78C4:D8:D5:85:3B:4CC4:D8:D5:83:01:C8C4:D8:D5:81:D8:B4C4:D8:D5:83:AA:24C4:D8:D5:81:E4:34C4:D8:D5:83:A7:D8C4:D8:D5:83:0B:08C4:D8:D5:83:D7:44C4:D8:D5:83:02:C4D4:8C:49:46:25:5494:54:C5:9A:98:14D4:8C:49:41:D9:E094:54:C5:98:F8:90C4:D8:D5:81:E1:1CC4:D8:D5:83:0C:A0C4:D8:D5:83:02:14C4:D8:D5:81:B2:D0C4:D8:D5:81:D9:E8C4:D8:D5:83:CF:24C4:D8:D5:83:00:F0C4:D8:D5:81:D5:80C4:D8:D5:83:D2:48C4:D8:D5:81:D7:18C4:D8:D5:81:E0:38C4:D8:D5:83:02:24C4:D8:D5:81:D5:8CC4:D8:D5:81:E3:E0C4:D8:D5:83:AA:64C4:D8:D5:83:DF:B4D4:8C:49:46:29:E8C4:D8:D5:81:D7:40C4:D8:D5:88:26:10C4:D8:D5:83:1E:24C4:D8:D5:83:07:60C4:D8:D5:81:B2:94C4:D8:D5:83:03:28D4:8C:49:62:EA:00D4:8C:49:41:F2:1CC4:D8:D5:83:08:D0C4:D8:D5:83:D1:D0D4:8C:49:64:2B:6094:54:C5:9A:65:B0C8:F0:9E:29:40:0DC8:F0:9E:29:3C:B1
If I'm understanding your question, you're looking for only the properties of classes in a specific diagram to be displayed in a generic table, which is possible.
You can create a smart package, and either manually populate that smart package or create a query that dynamically calculates the contents to contain the properties you're looking for.
Then set that smart package as the scope of the generic table and properties as the type of elements to display. That will give you your first column.
For the second column, depending on the relationship you're using to create the "mapping" of properties, you can create a custom column in the generic table to show elements related to the property using that particular type of relationship.
The error indicates that the password variable in the resetPassword function is undefined, causing the crypto.createHash("sha256").update(password) call to fail. This is because the crypto.update() method expects a string, Buffer, TypedArray, or DataView, but it's receving undefined.
To use external image links without downloading them, the best path with WP All Import is:
Store the image URL in a custom field
Use a theme override (like the post_thumbnail_html filter above) to render it where needed.
Use Value 0 or 1 in input Two ways to fix it: Data of attendance of a student only insert 1 time in 20 hours. Use Ajax for insert data without page reload Use Form Resubmit Protection when user refresh the page
Pro Tip: While developing uniwaly we faced multiple errors but think like a user about your web app
How did you add and configure the jdk.localedata to your project?
I'm running into the same issue and I have been trying to add the module but I have not have suceess.
Expo Router uses folder-based conventions to define navigation. The (tabs) directory is a group that creates a bottom tab navigator by default.
Please try to remove the corresponding files (index.tsx, settings.tsx) from the (tabs) folder. The file link for the same here.
Do let me know the result of this.
Edit: You can also take a deeper look at the docs as well.
I have a bunch of XML files in a Azure blob storage and want to copy the files to Azure data Lake into folders based on the filename of each file. Can this be done without for-each loop?The files are first downloaded from a sftp and placed in the blob storage to be processed by snowflake (here I do not need a folder structure, but it is ok if a solution requires it). I also want to keep a copy of each file in the data Lake and here I really need some sort of structure. As the filename has a date and time, I would like to use that date instead of the date the ADF Pipeline runs. To solve this error,
I have tried work around. Performed one copy activity considered the same situation as you mentioned source is blob storage.
Destination is datalake and in the dataset properties I have added the expression to perform the condition you asked for.
Use the below expression under dataset property.
@{formatDateTime(pipeline().parameters.windowStart,'yyyy')}?@{formatDateTime(pipeline().parameters.windowStart,'MMMM')}?@formatDateTime(pipeline().parameters.windowStart,'dddd')}
Output
Pipeline is running succesfully.
Have you tried using Openmmlab's dockerfile for mmdetection? https://github.com/open-mmlab/mmdetection/blob/main/docker/Dockerfile I also had the same issue as yours but was able to solve this by using the mmdetection dockerfile. Though I had some minor changes such as using "mmcv>=2.0.0rc4,<2.2.0"
Your desired result has no column names, which can't be done in a tibble, as far as I know. Also, do you really need the row names a, b, and c or will this do?
library(tidyverse)
a <- c("Jan 2024", "212", "21000")
b <- c("Feb 2024", 188, "22000")
c <- c("Mar 2024", "166", "19000")
df <- as.data.frame(rbind(a,b,c))
colnames(df) <- c("MthYr", "count", "MedianTAT")
df
#> MthYr count MedianTAT
#> a Jan 2024 212 21000
#> b Feb 2024 188 22000
#> c Mar 2024 166 19000
df |> pivot_longer(cols=count:MedianTAT, names_to = "Quant") |>
pivot_wider(names_from = MthYr, values_from = "value")
#> # A tibble: 2 × 4
#> Quant `Jan 2024` `Feb 2024` `Mar 2024`
#> <chr> <chr> <chr> <chr>
#> 1 count 212 188 166
#> 2 MedianTAT 21000 22000 19000
for(int i=0;i<nums.size();i++){
if(nums[0]==max_ele){
swap(nums[0],nums[nums.size()-1]);
}
else {
swap(nums[nums.size()-1],nums[nums.size()-2]);
}
}
for(int n:nums){
cout<<n<<" ";
}
I ran this code got 200 out of 266 testcase Please someone correct it.If it is wrong I will quit coding.
I found a solution for the simulators in iOS:
https://github.com/firebase/flutterfire/issues/13575
"in iOS , use getAPNSToken instead of getToken and it will be work"
I can't seem to get this to compile:
'__builtin_ctzll': identifier not found
Can you make any suggestions please?
R seems to be using the namespace in build.gradle.kts (Module App) which does not get changed when refactoring. So try changing this to the new package name if you do refactor,
Also note that if your are refactoring because the upload of the app bundle or apk is complaining about the wrong package name -- you don't need to do it and it doesn't help. What you need to do is change the package name in the next entry in build.gradle.kts (Module App) (the package name) which is only an id and can be changed without doing a refactor.
Like me you are likely blacklisted as a C__T or a TW__ or a UNW_SH_D FOREIGN_R by the bigots over at GITherb because they are racist toward non-amercians and, like all amercian corporations, dislike permitting we dirty foreigners taking work or glory away from fine upstanding amercian 'real-humans'.
You likely did not suck an american's private parts on demand, bribe a SCOTUS halfwit enough, dissed George Washboard their first king or forgot to salute their striped rag enough... or wrote some software that actually worked which, as a filthy foreign biped like me, is likely against the law in the former-usa, much like making planes there that don't override the pilot and nosedive into the ground is apparently illegal in the conus, see Boing for more details.
They will call it 'security some-nonsense-or-other' but it is really racism on their part and we all know it.
You're welcome... but not in the usa now so it seems.
Try using Oauth Client ID type web app and use the client_id into the serverClientId
For example
final googleSignIn = GoogleSignIn(
serverClientId: '',
scopes: [
'openid',
'email',
'profile',
],
);
Well, I created a bbappend for this recipe:
PACKAGECONFIG:remove = "programs"
PACKAGES:remove = " ${PN}-programs"
EXTRA_OECMAKE = "\
-DCMAKE_INSTALL_PREFIX=${exec_prefix} \
-DCMAKE_INSTALL_LIBDIR=lib \
"
Which seems to fix the issue (it will add ${_IMPORT_PREFIX}
to the cmake config) but it looks like a workarround
Just add "return 0;" I was having the same issue and this line solved.
Completely out of scope of this question, but you might wanna have a look at tailwind-merge and clsx to help you write cleaner TailwindCSS (https://dev.to/sheraz4194/mastering-tailwind-css-overcome-styling-conflicts-with-tailwind-merge-and-clsx-1dol)
These essentially help you prevent writing repetitive classNames and makes sure you won't be facing any conflicting classes while also allowing you to write conditional styling better.
Hope this helps, good luck.