Complement based on @Saad Malik's answer,
Conclusion:
SSL_CERT_FILE
(the customized CA certificate file path)SSL_CERT_DIR
(colon separated list of directories)Source path: https://golang.org/src/crypto/x509/root_linux.go.
var certFiles = []string{
"/etc/ssl/certs/ca-certificates.crt", // Debian/Ubuntu/Gentoo etc.
"/etc/pki/tls/certs/ca-bundle.crt", // Fedora/RHEL 6
"/etc/ssl/ca-bundle.pem", // OpenSUSE
"/etc/pki/tls/cacert.pem", // OpenELEC
"/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem", // CentOS/RHEL 7
"/etc/ssl/cert.pem", // Alpine Linux
}
// Possible directories with certificate files; all will be read.
var certDirectories = []string{
"/etc/ssl/certs", // SLES10/SLES11, https://golang.org/issue/12139
"/etc/pki/tls/certs", // Fedora/RHEL
}
Source Path: https://golang.org/src/crypto/x509/root_unix.go.
// certFileEnv is the environment variable which identifies where to locate
// the SSL certificate file. If set this overrides the system default.
certFileEnv = "SSL_CERT_FILE"
// certDirEnv is the environment variable which identifies which directory
// to check for SSL certificate files. If set this overrides the system default.
// It is a colon separated list of directories.
// See https://www.openssl.org/docs/man1.0.2/man1/c_rehash.html.
certDirEnv = "SSL_CERT_DIR"
Facing this exact situation, did someone find the answer?
I found for Tomcat on Windows, the following worked.
If the Tomcat AppServer is configured as a Windows Service, you need to run the tomcatw.exe command and then enter the values in the fields as per below:
Restart Tomcat and check the Catalina log. You should see something like this:
If the Tomcat AppServer is NOT configured as a Windows Service, you need to create file setenv.bat in the Tomcat bin folder and add the following entries:
set JAVA_OPTS=%JAVA_OPTS% -Dfile.encoding=UTF-8 -server -Xms512m -Xmx2g -Xss4m
You should see something like this in the catalina.log
I am having the same issue/error.
is the above answer works ?
Please check your python version. it should be 3.9+
The following two commands (to restart Windows NAT driver) successfully get rid of this error.
net stop winnat
net start winnat
And whala, it is now working, again.
I also made a try : https://framagit.org/FBibonne/poc-java/-/tree/iso8859?ref_type=heads : this litle project tries to reproduce your context with the class ConfigRestClient which provides RestClients to retrieve Product entites (simplified version of your )
Then I made tests mocking a server which serves xml encoding with ISO-8859-1 : https://framagit.org/FBibonne/poc-java/-/blob/iso8859/src/test/java/poc/java/springrestclient/ConfigRestClientTest.java?ref_type=heads : each test configures a mock server to return xml, gets a ResClient from ConfigRestClient and calls retrieve with the RestClient as your method getStuff()
does.
The different tests try to explain the problem and suggest a fix :
faillingCallWithIso8859()
: reproduces the initial problem (checking the exception raised is about xml encodingtestOKWithUTF8()
checks it works if the server responses using UTF-8testOKWithCorrectHeaderXML()
tries a fix with the server side adding encoding in xml header : I think it is the ideal solutiontestOkWithClientFixingEncoding()
tries an other RestClient (provided by poc.java.springrestclient.ConfigRestClient#woEncodingFixingRestClient
) which intercept the response made by the spring ClientHttpRequest
and decode the body to re-encode it in UTF-8. this is a poor workaround because it requires to rewrite some spring code (class poc.java.springrestclient.ConfigRestClient.BodyReEncodedResponse which rewrites body like org.springframework.http.client.BufferingClientHttpResponseWrapper). But it works.If you introduced such a RestClient in your application, you would only use it for the problematic endpoint thanks to @Qualifier adn/or @Primary.
I don't think the problem resides in Spring RestClient : in fact, it seems impossible to set up externally the encoding used by Jaxb unmarshalling : see Override declared encoding during unmarshalling with JAXB : the suggested solution is to process byte decoding outside jaxb to control encoding. I neither found in Jaxb a way to do it : jakarta.xml.bind.helpers.AbstractUnmarshallerImpl#setProperty does not support any property set (raise exceptions)
1 from random import *
2 import os
3 u_pwd =input("Enter a possword: ")
4 pwd=['a' , 'b' , 'c' , 'd' , 'e' ,'f' , 'g' , 'h' , 'i' , 'j' , '1' , '2' , '3' , '4' , '5' , '6']
5
6 pu=''
On click of your button you get the following errors in the console
The invalid form control with name=‘building_budget’ is not focusable.
The invalid form control with name=‘drainage_budget’ is not focusable.
The thing that is happening is that the input fields with building_budget and drainage_budget are required, but they have display: none.
To fix this either make them optional or show the fields. After that your submit should be working fine. Make sure to check the url that it is submitting to, as currently you dont seem to have escaped the <?php tag, leading to getting a post url that is different from the one you desire. If you are unsure of how to check these things, look up a guide on how to use the chrome/firefox (or any other browser youre using) inspector tools and console
An explaination of PrintWindowW
Right After this line in your code
compatible_dc.BitBlt((0, 0), (width, height), dc_object, (0, 0), win32con.SRCCOPY)
add
ctypes.windll.user32.PrintWindow(hwnd, compatible_dc.GetSafeHdc(), 2)
instead of win32gui.GetClientRect(hwnd)
, use win32gui.GetWindowRect(hwnd)
This will cleanup the image that you are converting to a numpy array for OpenCV. As far as the offset, you're going to end up with a boarder around the window itself because of shadowing around the window that is actually part of the window as you can see there isn't any spacing along the top of the images below.
Bigtable now supports SQL GROUP BY with aggregation functions SUM, AVG, COUNT, MIN, MAX, HLL_COUNT.MERGE... and Continuous Materialized Views to calculate aggregations incrementally into materialized views.
This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free.
Got a question about the site itself? meta is the place to talk about things like what questions are appropriate, what tags we should use, etc.
Download the google-services.json file from Firebase.
Close Android Studio.
Restart your system.
Open Android Studio.
Copy and paste the google-services.json file to the following location:
[Project Name]/android/app/google-services.json.
Rebuild the project.
I got to realise that there were typos in my assembly code that was causing the tests to not compile. Thanks for the help.
check if there are any locks on the resource group of the app service. if there is delete it.
Make sure you escape all the $
that are part of the output document that aren't a variable. To escape / quote them you double up the $
so, $$
This document outlines the procedure for downgrading the Flutter plugin in Android Studio from version 85.0.4 to 85.0.3, including the configuration steps to prevent automatic updates.
Navigate to the official JetBrains Plugin Repository.
Locate version 85.0.3 of the Flutter plugin.
Click Download to obtain the .zip
archive of the plugin.
Follow the official JetBrains procedure to manually install the downloaded plugin:
Open Android Studio.
Press Ctrl + Alt + S
(Windows/Linux)
or go to:
File
→ Settings
(or Android Studio
→ Preferences
on macOS).
In the Settings window, select Plugins.
Click the ⚙️ gear icon in the top-right corner.
Select Install Plugin from Disk….
Locate and select the downloaded .zip
file (e.g., flutter-intellij-85.0.3.zip
) and click OK.
Click OK to apply the changes.
Restart Android Studio when prompted.
ℹ️ This is the official method provided by JetBrains for manual plugin installation.
Reference here: https://github.com/flutter/flutter-intellij/issues/8051
This also works and skips the view creation
SELECT * INTO [REMOTEDB].[SCHEMA].[NEW_TABLE]
FROM OPENQUERY([REMOTESERVER],'SELECT * FROM [REMOTEDB].[SCHEMA].[TARGET_TABLE]');
GO
java-sqs-listener
a lightweight, dependency-free library was developed for exactly, with a design that supports seamless future upgrades. Refer to java-sqs-listener-springboot-example for a demonstration of how to integrate the java-sqs-listener library within a Spring Boot application.
Disclaimer: I’m the author.
I would start by making sure that API.cs and program.cs are part of different projects. The way I open projects is I pin Visual Studio to the taskbar (you should pin both of your versions). Once you've opened the correct project right right-click on that version of Visual Studio in the taskbar and pin the project to the recent files list. Then all you have to do going forward is right-click on the appropriate version of Visual Studio and left-click on the desired project.
If you want to make your two versions of Visual Studio look vastly different you can customized their icons:
I am finding the above filter function prevents the cart from having shipping added for Express checkout type payment methods including Apple Pay. Has anyone else experienced this?
I am also facing same issue with intelliJ. Please let me know for evaulate Java8 Stream in IntelliJ?
Fewest steps:
Step 1 - Select count(*)/2 as Limit1 from table1
Step 2 select variable1 from table1 order by variable limit Limit1
No brainer way to do it unless you have a truly large dataset or incredibly slow computing infrastructure.
I finally found the answer to new arch library in React Native. Please follow the link for more information.
I saw a post that help me to solve that problem,
Cucumber project build success but console Test run 0, Test skip 0
Basically, he did the next thing:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M5</version>
<dependencies>
<dependency>
<groupId>org.apache.maven.surefire</groupId>
<artifactId>surefire-junit47</artifactId>
<version>3.0.0-M5</version>
</dependency>
</dependencies>
</plugin>
This is an old thread, but this is what I use to go back:
REF1 = Request.ServerVariables("HTTP_REFERER")
RESPONSE.REDIRECT REF1
I recommend the book "Grokking Machine Learning" - everything is described there perfectly.
My repository for this book: https://github.com/cr00z/PythonMLBackup/tree/main/grokking_dl
Refer System.Text.Json.JsonSerializer instead of newton soft json serializer... Sorry Dinesh I had to repeat your answer as I couldn't upvote... But I tested it and it worked like a charm
class OTPData{ public string OTP {get;set} ....... }
var result = System.Text.Json.JsonSerializer.Deserialize<OTPData>
(response.ToString());
string otp = result.OTP;
string username = result.UserName;
string type = result.type;
The async pipe unsubscribes automatically.
So do Signals and Effects.
Pandas 3.0 rolling will add support to first
and last
natively. However, as of writing of this answer this is still in dev branch:
I asked copilot itself about an API interface to send prompts and get responses and it said it doesn't support that as it's intended for integration into IDEs. It also said "If you're looking for programmatic access to AI-powered code generation, you might want to explore OpenAI's GPT APIs or similar services, which are specifically designed for such use cases."
Compression comes in two flavors: lossy, and lossless. Lossy compression can take file sizes down significantly, but some data will be lost (hence the name). Lossless compression on the other hand keeps all original data intact, but usually can't take file sizes down as much.
Due to the nature of SVGs being vector-based[^1] XML-defined[^2] graphics, unless you manually optimize them you can't get much better compression than removing the whitespace and comments in the files (if any).
If you want to maintain acceptable visual quality and are ok with them being quite small, you can rasterize them into a PNG, for example. Online tools such as CloudConvert or command-line tools such as ImageMagick can help you with this.
tl;dr: unless you need to use SVGs, convert them into tiny raster graphics.
[^1]: i.e. the image is defined as a series of curves and shapes instead of pixels. This generally results in less information per image ∴ smaller file sizes.
[^2]: i.e. it's written in plaintext, which can't be compressed without overhead.
If you're asking what the default window color is, then its #F0F0F0
You are my hero. I just wanted you to know that this snippet works perfectly for me and is exactly what I needed. :)
I encountered the same issue. I disabled the antivirus and restarted my Windows PC. After that, I was able to log in successfully using Chrome. There was no need to install any additional browser
This issue can be resolved by setting the following code
viewer.scene.logarithmicDepthBuffer = false;
This is the reference link
In conclusion, this was done!
I tried again, noting that it might be interpreted as a non-member status. When selecting an account on the OAuth authorization screen, I had chosen the account with my email address, but instead of doing so, I chose my YouTube channel account created with the same email address. I did that and got a response without 403 forbidden.
Thanks.
So I just spent hours trying to figure this out... I was working with device emulation turned on in the dev console. The device I was using was even configured as desktop non-touch device. I was working on Edge, I will assume Chrome will behave the same way.
IF DEVICE EMULATION IS TURNED ON DRAGOVER EVENT WONT FIRE AND CURSOR WILL BE MARKED AS BLOCKED!
Fixed, for some reason the ios project was setup in "Release mode". I did the change in Xcode -> edit schemes
Then In Run Section, The build configuration was in "release", did the change to "Debug". Close xcode
then in vscode, run again:
npm start
npm run ios
After that, the app runs well again and able to send logs to debugger. And if someone don't know, I wasn't able to see the logs inmmediately, as I read before in some posts around internet about RN >= 0.77, it is necessary to have some third-party debugger, but i wanted to put it simple, just downloaded Chrome browser first, and then run the npm commands.
In simulator, once the app is launched, press "j" key, to see the option "open dev tools", with that the chrome dev tools will open and you'll see the logs.
I were about 4 days with this trouble,I hope these details can help others
You should enable "Depth Test".
So all you have to do is just to add one line.
viewer.scene.globe.depthTestAgainstTerrain = true;
I found out..
https://github.com/pallets-eco/cachelib/blob/9a4de4df1bce035d27c93a34608a8af4413d5b59/src/cachelib/file.py#L50
because of __wz_cache_count
You can try using onlyoffice(https://api.onlyoffice.com/docs/docs-api/get-started/frontend-frameworks/vue/)
Remove the aria-hidden="true" from the modal div. Line #68 of your index.html file.
Yeah you can ignore it It worked for me. i got this on tensor flow app.
I received this error today. In my case, the ssh agent service was not running. After enabling, I was able to clone a repo with SSH.
Breaking @poke answer into some basic pieces for additional clarity:
current_frame = inspect.currentframe()
parent_frame = inspect.getouterframes(current_frame)[1].frame
parent_function_name = parent_frame.f_code.co_name
Facing similar SSL failure.
exceptions with Docker python:3.13-alpine
and rabbitmq-amqp-python-client library.
Apparently, while building proton package, it rely on pkgconf / pkg-config.
So after adding packages, proton.SSL.present()
again works
apk add --no-cache build-base pkgconf openssl openssl-dev
Bonjour à chaque fois que j'essaie d'utiliser swiper avec react js ça ne fonctionne pas. Est ce que quelqu'un a une idée "swiper": "^11.2.6" Merci d'avance
Okay, we already have an accepted answer, but let me add a few thoughts on this as well.
First of all, it's important to understand that most features in any tool or technology are introduced to solve existing challenges. This includes everything from design changes to improvements in problem-solving.
But why version catalogs?
Well, when working on projects loaded with dependencies, keeping everything healthy and consistent is a real challenge. For example, imagine a project with multiple modules—say, 3 to 10—where each one uses a different set of dependencies. Some modules might even use the same dependency, but with different versions or from different repositories. Managing this mess and keeping everything up to date can quickly become a nightmare!
Having a centralized approach to manage all these artifact references and version strings in one place is like achieving peace on earth. I say this with confidence because I’ve faced many issues while working on large, real-world projects packed with dependencies.
And that’s it—in practical terms, version catalogs help us tackle this exact problem.
Of course, for simple projects that use very few dependencies—or for quick prototypes or throwaway projects—there’s no need to worry about using version catalogs. Sometimes we create projects just to test something, and maybe they don't even have any extra dependencies or plugins. In those cases, it’s totally fine not to use a catalog.
But as your project grows, you should really consider migrating your dependency strings to a catalog.
Also, remember that Gradle is used to build environments beyond Android. Kotlin and even C++ are well-supported by Gradle!
None of the above worked for me. I have environment variables pointed to flutter bin folder. I have android APK support enabled. I have the new 2024 version of Android Studio and nothing I have tried is working. Can someone help me please?
Each variable comes from a "context". config.toml file defines the config, frontmatter in _index.md files define section and frontmatter of every other markdown file defines a page context to be used in templates. When you are referring to a variable from a context, you should mention variable name along with the context it comes from separated with DOTs, like context.my_variable
or context.extra.my_extra_variable
if defined after [extra]
.
We are going to declare titles for different contexts, and none of them will overwrite each other.
config.toml
base_url = "https://murtezayesil.me/"
title = "Murteza Y"
config.title
= Murteza Y
content/blog/_index.html
---
title = "Blog"
---
# Blog
Welcome to my corner of the internet.
section.title
= Blog
content/blog/my-first-post.md
---
title = "Blogging in 2025?"
---
Of course.
page.title
= Blogging in 2025?
template/index.html
{% set title = "Home" %}
{{ title }}
= Home
{{ this.title }}
= Home
this is a special context that refers to that file. It can be omitted. Since you didn't specify any context, Tera reasonably assumed that you were omitting this and looked for this.title.
This might be confusing early on. Luckily, Tera provides {{ __tera_context }}
variable which prints out all defined variables in all known contexts. If that is hard to comb through, ShawnPConroy on Zola's Discourse Forum shared this script which organizes them.
In case of the issue you are having, here is a snippet from my theme:
<title>
{% block window_title %}
{% if page.title %}
{{ page.title }} -
{% elif section.title %}
{{ section.title }} -
{% endif %}
{{ config.title }}
{% endblock window_title %}
</title>
This means,
if page.title exists, print {{ page.title }} - {{ config.title }}
else if section.title exists, print {{ section.title }} - {{ config.title }}
otherwise, just {{ config.title }}
If node is installed which you can check by 'node -v' and ng is not recognized, Use this command
npm link @angular/cli
It looks like both do the same thing, at least in Java it does. Please see output below:
System.out.println("Stackover\rflow");
System.out.println("Stackover\nflow");
Result:
Stackover
flow
Stackover
flow
I am facing same issue , service is not able to connect to db after 15 minutes . I have added logic to generate toke every 14 minutes still no luck.
ITS WHEN THE CORRUPT FEDS ARE MONITORING YOUR COMPUTER ILLEGALLY THAT THESE THINGS OCCURT
or the same as REST API, using gcloud
:
gcloud organizations list
removing object-cache.php worked for me
If you use google colab with the runtime T4, you may face this issue many times. Try changing your runtime. It fixes all the versioning issues.
I've realized the solution here; after listing all permissions in the directory:
$ ls -l /etc/ssl/mongo/
-rw------- 1 root root 1234 Apr 9 22:00 mongodb.pem
You can see from above that the certificate isn't correctly allowed; yet the directory is. To quickly solve, just:
chmod 644 /etc/ssl/mongo/*.pem
I know it sucks, it really does. A sunrise at 03:44 seems out of sync
I encountered a similar problem as well and just solved it. There are two different presentation options: Projects Presentation and Package Presentation. I was automatically going to the Projects Presentation and selecting Hierarchical or checking this option. To view the hierarchical structure in packages, I selected Package Presentation - Hierarchical, and then I was able to see a properly structured hierarchy.
Is your account's encoding set to UTF-8 ?
"More Options" at http://www.paypal.com/cgi-bin/websrc?cmd=_profile-language-encoding
pip install Flask-Reuploaded
try that i also tried it and worked for me
@alek has it right. Just to show as an example:
declare -Ar array1=( [5]=true [10]=true [15]=true )
declare -Ar array2=( [20]=true [25]=true [30]=true )
declare -A array_both
eval "array_both=( ${array1[*]@K} ${array2[*]@K} )"
for key in ${!array_both[@]}; do
echo "array_both[${key}]=${array_both[${key}]}"
done
produces
$ bash /tmp/test.sh
array_both[30]=true
array_both[5]=true
array_both[25]=true
array_both[20]=true
array_both[10]=true
array_both[15]=true
The single line and the eval are key to this. I did it on single steps (in an attempt to make it clear) and it produces some very odd results (all keys and no values)
Using switch statement, write a C# program that prompts the user to input a
student's name and mark. The program then evaluates the mark and displays the
corresponding grade based on the following criteria:
• Excellent for marks 90 and above.
• Very Good for marks between 80 and 89.
• Good for marks between 70 and 79.
• Average for marks between 60 and 69.
• Passed for marks between 50 and 59.
• Failed for marks below 50.
You can try to use my @longpress event that wraps JS library for this purpose:
https://github.com/Kebechet/Blazor.EventHandlers.LongPress
https://www.nuget.org/packages/Kebechet.Blazor.EventHandlers.LongPress
As a prod solution, option 2 was preferred, because it would allow us to connect individual functions without depending on other unnecessary ones
buildSrc
plugins {
`maven-publish`
}
afterEvaluate {
publishing {
publications {
register<MavenPublication>("release") {
from(components.findByName("release"))
groupId = project.hierarchy.concatGroup()
artifactId = project.name
version = libs.versions.versionName.get()
}
}
repositories {
maven("...") {
credentials {
username = getLocalProperty("MAVEN_USERNAME")
password = getLocalProperty("MAVEN_PASSWORD")
}
}
}
}
}
And some utils in buildSrc
val Project.hierarchy get(): List<Project> =
generateSequence(this, Project::getParent).toList().reversed()
fun List<Project>.concatGroup(): String {
return dropLast(1).joinToString(".") { it.name }
}
Thus, we get the name of the dependencies in the repository the same as the name of the modules tree of your project
And don't forget to connect your maven repository to the gradle project
Then you can connect this plugin to the modules you want to put into the repository (or another plugin as in my case)
plugins {
id("com.android.library")
kotlin("android")
/* ... */
id("publishing-plugin")
}
After that, you can call the publishAndroidReleasePublicationToMavenRepository
or publishReleasePublicationToMavenRepository
task, depending on the configuration of your project (KMP
or Android
).
After that, all modules to which the plugin has been applied will be uploaded to the specified maven repository.
your-app-feature = { group = "YourProject.features.feature", name = "feature", version.ref = "your-proj-version" }
After a year from the previously found solution.
I Found an article on a Russian resource on this topic using a more modern version of the fat-aar solution - Grease
It may be worth considering switching to such a solution
Yesterday I spent the whole day trying to fix this error. Today, I deleted Crashlytics from the Runner's Build Phases, and finally, my app built successfully. Hope this helps someone!
Your keys shouldn't be readable by everyone on your system.
Your problem should be that Mosquitto switches to a different user.
Your mosquitto.conf
omits user
, which defaults to the user "mosquitto".
Either ensure the certificate files can be read by that user, or configure to use a different user 👍
This adds nuance to the other answers:
d = {}.fromkeys(s,0)
Have you tried disabling the usb hub/root device?
I'm on Arch Linux using the Linux Editor obviously.
And I had a similar issue.
I have a faulty USB hub that I use, it is mostly ok 90% of the time.
But it does this stupid thing where it like tries to detect weather you plugged something into it and show you an indicator light.
Which that feature didn't work right from the get go.
Point being turning it off fixed it for me.
Thanks, you gave me a clue as to what was wrong!
Love and sympathy and confidence. It is a place where kindly affections exist among all the members of the family
My problem was I had to run
ng build --configuration production
With this action I could publish my project! Thank you everyone for your help!
Do view Binding and databinding both true for this, and check this again.
android {
buildFeatures {
dataBinding = true
viewBinding = true
}
}
Niczem Olaske how would I grab an access key from duck duck go maps page? Please and thank you.
If you're sending information over the internet, get yourself a free SSL cert from browser-approved Let's Encrypt. There's no excuse not to be at least this secure in 2025.
I'm not sure about it, but I think when doing socc.recv() the code will wait untill it gets something from the socket. thats why it won't move when it is not getting any data, and it would stay stuck in the recv (inside of the while loop).
Are you coding both server and client? If you do - before you send the data you can add the size of it (like 5 first bytes that the data size will be sent at). Than - do a recv for the first 5 bytes, get the data size, and do a recv for the data using this size.
Same for me, I submitted a bug report to Apple.
Facebook filters out messages sent to an Instagram tester account from users who don’t have a role on the app. To see conversations via the Conversations API, the messages must come from an Instagram account linked to a Facebook account with a role (e.g., Admin, Developer, Tester) on the app.
Just add your Instagram account as a tester in the Facebook app, and you'll start seeing the messages in the API.
You can log the user out of their Cognito session by using the logout endpoint. You can redirect the user to this URL after logging them out of your app.
I was sure pleased to see you site deals with Seniors from 60 + & not 50. Between 50 - 60 l never thought of myself as a Senior Citizen, not that it's bad, just seems a little young, particularly if your in that age category.
After @Eljay's suggestion of using std::array instead of a C-style array, I changed it and got a new error of Globals::MAX_COL
not being a constant variable.
Hence, after changing back to the C-style array, I changed the variable MAX_COL in the namespace to a constant and now it compiles properly.
New Code: namespaces.h
#ifndef namespaces_h
#define namespaces_h
namespace Globals {
const int MAX_COL = 10;
};
#endif
What about replacing matrix
with &matrix [0]
in the call, please ?
The problem is incompatibility between LVGL, LVGL driver and ESP-IDF version I have.
I had ESP-IDF v5.3.2 and seems like the basic code of LVGL driver is compatible with v4.*
For that, I had to port part of the code to match the new version of esp-idf.
That solved my issue above, however, still failing on different sizes issue :)
Instead of Dissable, you should write disable. Instead of desplay, you should write display.
i have three solutions to this (starting with a column containing Records):
custom function to expand the record column and from the new table, expand all underlying record columns and lists
custom function to expand only the record column
custom function to expand all records and all underyling records and lists RECURSIVELY
takes ages
with dynamic rename of columns of new tables if the column-name already exists -> FAILS SOMETIMES xD
[RECOMMENDATION]: Go for option 1. Why? -> Overall least effort and Power Query does it fastest.
look for the record columns in your table and paste them into the function like this by nesting muiltiple functions:
=expandRecordColAndFirstLevel(expandRecordColAndFirstLevel(#"Previous step","components"),"hotel")
ENTER
in the new table, search for more record columns and nest them with functions around your original query:
=expandRecordColAndFirstLevel(expandRecordColAndFirstLevel(expandRecordColAndFirstLevel(expandRecordColAndFirstLevel(expandRecordColAndFirstLevel(expandRecordColAndFirstLevel(#"Expanded components1","components"),"hotel"),"payment_term"),"location"),"stages"),"address")
and so on...
In terms of query performance, it's better to nest the queries into 1 step even as well. This query took 45 seconds. Doing the expandRecordColAndFirstLevel(...) function in seperate steps takes 1,5x-2x of time.
here's the m-code for the custom functions (paste in the advanced editor of your function):
1 expandRecordColAndFirstLevel
(inputTable as table, columnName as text) as table =>
let
NonNullValues = List.Select(Table.Column(inputTable, columnName), each _ <> null and _ <> ""),
SampleValue = try NonNullValues{0} otherwise null,
ExpandedStep =
if SampleValue is record then
let
// Step 1: Get inner fields
ColumnsToExpand = try Table.ColumnNames(Table.FromRecords(NonNullValues)) otherwise {},
ExistingCols = Table.ColumnNames(inputTable),
RenamedCols = List.Transform(ColumnsToExpand, (c) =>
if List.Contains(ExistingCols, c) then c & "." & columnName else c
),
Step1 = Table.ExpandRecordColumn(inputTable, columnName, ColumnsToExpand, RenamedCols),
// Step 2: Check for list fields among newly added columns
NewListColumns = List.Select(RenamedCols, (col) =>
let sample = try Table.Column(Step1, col){0} otherwise null
in sample is list
),
// Step 3: Expand those list fields
Final = List.Accumulate(NewListColumns, Step1, (state, col) =>
Table.ExpandListColumn(state, col)
)
in
Final
else if SampleValue is list then
Table.ExpandListColumn(inputTable, columnName)
else
inputTable
in
ExpandedStep
2 expandRecordCol
(inputTable as table, columnName as text) as table =>
let
NonNullRecords = List.Select(
Table.Column(inputTable, columnName),
each _ <> null and _ <> ""
),
ColumnsToExpand = Table.ColumnNames(Table.FromRecords(NonNullRecords)),
ExistingColumns = Table.ColumnNames(inputTable),
RenamingMap = List.Transform(
ColumnsToExpand,
(col) =>
if List.Contains(ExistingColumns, col)
then {col, col & "." & columnName}
else {col, col}
),
Expanded = Table.ExpandRecordColumn(inputTable, columnName, ColumnsToExpand, List.Transform(RenamingMap, each _{1}))
in
Expanded
3 expandRecordColRecursive
let
RecursiveExpandColumn = (inputTable as table, columnName as text, optional path as text) as table =>
let
// Defaults
currentPath = if path = null then columnName else path & "." & columnName,
// Record Expansion with Safe Naming
ExpandRecordColumn = (tbl as table, colName as text, fullPath as text) as table =>
let
nonNulls = List.Select(Table.Column(tbl, colName), each _ <> null and _ <> ""),
colsToExpand = try Table.ColumnNames(Table.FromRecords(nonNulls)) otherwise {},
existingCols = Table.ColumnNames(tbl),
newNames = List.Transform(colsToExpand, (c) =>
if List.Contains(existingCols, c) or List.Contains(existingCols, fullPath & "." & c) then
c & "." & fullPath
else
c
),
expanded = Table.ExpandRecordColumn(tbl, colName, colsToExpand, newNames)
in
expanded,
// List Expansion
ExpandListColumn = (tbl as table, colName as text) as table =>
Table.ExpandListColumn(tbl, colName),
// Step 1: Expand the root column based on its type
sample = try Table.Column(inputTable, columnName){0} otherwise null,
firstExpanded =
if sample is record then ExpandRecordColumn(inputTable, columnName, currentPath)
else if sample is list then ExpandListColumn(inputTable, columnName)
else inputTable,
// Step 2: Recursively process any new complex columns
FullyExpand = (tbl as table) as table =>
let
// Get columns that are still records/lists
complexCols = List.Select(Table.ColumnNames(tbl), (col) =>
let v = try Table.Column(tbl, col){0} otherwise null
in v is record or v is list
),
// Skip if no complex columns left
nextStep =
if List.IsEmpty(complexCols) then
tbl
else
List.Accumulate(complexCols, tbl, (state, col) =>
let v = try Table.Column(state, col){0} otherwise null in
if v is record then
@RecursiveExpandColumn(state, col, col)
else if v is list then
@RecursiveExpandColumn(state, col, col)
else
state
)
in
nextStep
in
FullyExpand(firstExpanded)
in
RecursiveExpandColumn
basically @bnaul 's answer, but updated
purrr::reduce(list(a,b,c), intersect)
[1] 3 9
casting the usize as f32 during the declaration solved the issue
let len_of_arr = arr.len() as f32;
react-photo-view is a client-only library and you are using it in a server component (marked as async). You could try to convert it to a client component by removing async and adding 'use client' before the imports.
Did you pipe stdout? console.log
is synchronous when running on a terminal, but when using pipes console.log
becomes asynchronous, and your program can proceed before the output is fully written.
Include bg = "white"
as an argument in the ggsave() function.
ggsave("myPlot.png", p, units = "cm", dpi = 600, bg = "white")
I stumbled across a similar "incompatible hardward" error, along with "incompatible on this iPad", in TestFlight on my iPad. The problem was that I had set UIRequiredDeviceCapabilities to both 'location-service' and 'gps' (thinking I needed both) in my app. Turns out, iPads don't support 'gps', only 'location-service'. Removed 'gps', and was able to install. Hope this helps someone!
leaflet is using transform: translate3d for map container (.leaflet-map-pane) which is placed inside #map div section. Translate3d encapsulate child contents positon, z-index. So css will not help you in anyway. Reference
Your only option is render the popup outside the #map div section. And it can be only done using js.
I also ran into this issue. In my case, the problem was caused by old versions of node that were still installed (via nvm). After cleaning the old installation the issue was resolved.
I was tripped by this too. Please check your business settings in Apple connect. You need to sign the agreement and enter bank information before the subscriptions be available. Once you finish the information in business, you have to wait a couple of hours.
With the hint of the comments I found a working solution! Thank you for this.
Maybe this is not the best, but a good working solution.
ListProperty<File> listProperty = new SimpleListProperty<>();
listProperty.bind(listView.itemsProperty());
btnRun.disableProperty().bind(areTextFieldsEmpty.or(listProperty.emptyProperty()));
Short enough to understand and working.
If you paste a sub into the VBA editor whose name matches the convention for an event handler (e.g. Form_BeforeUpdate
), Access will silently wire up that sub to the matching event on the form, without telling you. This applies even if there was already a sub with the same name in the file that wasn't wired up to the corresponding event.
Opening a form class module, and typing Ctrl-A, Ctrl-C, Ctrl-V is sufficient to trigger this. I cannot find any documentation for this behaviour.
So after MANY days talking w/AWS support they finally did get it to work, but it was due to my mono-repo. Once I took my code out of the mono-repo and put just the UI code in it's own repository then amplify deployed the code.
I'm also facing same issue with aani app in UAE
Digitalocean blocks SMTP entirely and won't open it even if you request them to. I have solved the problem by using the resend api, like they (resend) recommend, instead of using nodemailer.