Can't connect to Sqlserver with Openssl 1.1.1c (Error code 0x2746)

PHP Driver version or file name
5.6.1
SQL Server version
Microsoft SQL Server 2014 (SP3-CU3) (KB4491539) - 12.0.6259.0 (X64)
Apr  1 2019 22:19:54
Copyright (c) Microsoft Corporation
Enterprise Edition: Core-based Licensing (64-bit) on Windows NT 6.3  (Build 9600: )
Client operating system
Debian GNU/Linux 10 (buster)
PHP version
PHP 7.3.8
Microsoft ODBC Driver version
<IP_ADDRESS>-1
Problem description
The base images of PHP for Docker just got upgraded to Debian 10, which includes OpenSSL 1.1.1c. I am extending those base images and install pdo_sqlsrv as PHP extensions in the latest versions.
I can't connect any longer to an Sqlserver 2014 server, which seems related to OpenSSL. The error I get is:
SQLSTATE[08001]: [Microsoft][ODBC Driver 17 for SQL Server]TCP Provider: Error code 0x2746

When I downgrade OpenSSL to version 1.1.0k the issue is gone:
wget http://security.debian.org/debian-security/pool/updates/main/o/openssl/openssl_1.1.0k-1~deb9u1_amd64.deb
dpkg -i openssl_1.1.0k-1~deb9u1_amd64.deb

The issue also doesn't occur when connecting to Sqlserver 2017 (not tested with 2019). Issue #252 seems unrelated to this one.
I guess this issue has an impact on all OS using newer OpenSSL together with Sqlserver 2014. I've also noticed problems when connecting via JDBC to Sqlserver 2012 from my local Fedora (OpenSSL 1.1.1c) in the last few days.

hi @fabiang I can reproduce the problem, except that SQL Server version does not seem to matter. I can't connect to SQL Server 2017 or 2014 without first downgrading openssl to 1.1.0k.
We will investigate and get back to you on this.

@fabiang
This is a workaround for now:
Modify /etc/ssl/openssl.cnf config file as follows:
Change the last line from CipherString = DEFAULT@SECLEVEL=2 to CipherString = DEFAULT@SECLEVEL=1
I can connect to  SQL Server 2017 or 2014 without the need to downgrade OpenSSL.

@yitam that worked for me as well. Waiting on a proper upstream fix.

@yitam Thanks for the workaround!
Is it even possible to fix this upstream? I understand, that OpenSSL removed some older and unsecure ciphers. Doesn't instead the config of the Sqlserver needs to be changed?

Glad to hear the workaround, i.e. the temporary solution, works for you both, @fabiang and @bmintz
As indicated in known issues with OpenSSL 1.1.1 in Debian 10:

the SECLEVEL 2 setting the security level to 112 bit. This means that RSA and DHE keys need to be at least 2048 bit long. SHA-1 is no longer supported for signatures in certificates and you need at least SHA-256

Hence, Debian 10 has disabled SHA1 by default -- became more secure but less compatible. Those with older certificates with SHA1 hash or signatures <2K bit will be affected. In other words, this is actually a server / environment configuration issue.

hi, i'v same error on ubuntu server v19.04

@danailkh re-read this thread. There's a configuration change you can make it openssl.cnf. Or you can upgrade your SQL Server's certificate.

I can confirming the workaround is working too.

Thanks @fabiang for your confirmation and tips for others.
Hi @danailkh, as @bmintz said, please read the comments above, since this is a configuration issue.

@yitam can you point us to directions on how to upgrade the security of our SQL Server certificates?

@fabiang you mentioned in your original problem description that you could connect to SQL Server 2017 but not 2014. I can confirm this case now.
When I first tested this, I attempted to connect to a SQL Server 2017 instance, an upgrade from an older sql server. That connection attempt failed. However, when I tried another SQL Server 2017 instance (a fresh install), it works, just as you said.
This article nailed it. Changes to hashing algorithm for self-signed certificate in SQL Server 2017
@bmintz I hope the following articles help. If not, please try sql server forum directly.
SHA-256 Self Signed Certificate for Windows Server 2012 R2.
Enable Encrypted Connections to the Database Engine

@yitam I guess 2017 and up generates better certs by default. Thats why we couldnt reproduce this.

I'm closing this issue now, since this can't be fixed in pdo_sqlsrv or msodbcsql.

I can confirming the workaround is working too.
For those using Docker (Debian-based PHP image), you can try this:
RUN apt-get update -yqq \
    && apt-get install -y --no-install-recommends openssl \
    && sed -i -E 's/(CipherString\s*=\s*DEFAULT@SECLEVEL=)2/\11/' /etc/ssl/openssl.cnf \
    && rm -rf /var/lib/apt/lists/*

Works for me! Thanks!

@all @avfigueredo Caution: the above workaround will downgrade your OpenSSL to allow older, deprecated and insecure ciphers and can harm your security! Instead consider updating the certificates of your SQLServer instance.
On most other Linux systems (e.g. Fedora, RHEL, CentOS) you can "downgrade" your cipher suite with the command update-crypto-policies.

@fabiang
This is a workaround for now:
Modify /etc/ssl/openssl.cnf config file as follows (fyi see known issues with OpenSSL 1.1.1 in Debian 10):
Change the last line from CipherString = DEFAULT@SECLEVEL=2 to CipherString = DEFAULT@SECLEVEL=1
I can connect to SQL Server 2017 or 2014 without the need to downgrade OpenSSL.

thanks very much,
for help me to
with this issue
thanks a lot of

Just for the record if someone hits this on Ubuntu 22.04, the solution is to set CipherString = DEFAULT@SECLEVEL=0.
As I found here https://askubuntu.com/questions/1423215/ubuntu-22-04-how-to-set-lower-ssl-security-level
No idea what that really does, seems pretty dangerous.

No idea what that really does, seems pretty dangerous.

It lowers all your Ciphers used by OpenSSL on your system for all SSL/TLS connections, so it is highly dangerous. Unfortunately it's not possible to define the ciphers per host/connection with this driver. PDO_MYSQL does support this, so I'll create issue here.


Error occurred when executing ControlNetLoaderAdvanced:  module 'comfy.sd' has no attribute 'ModelPatcher'

Also appearing this one ModuleNotFoundError: No module named 'wcwidth'

Thanks for the heads up, I'll check if ComfyUI updated and moved stuff around into other files. I'll let you know what I find 👍

Can you send me your full error message?

I cannot reproduce your issue, but I had someone report the same error and they sent me their error stack. In their case, it was AITemplate that does not have code updated in their controlnet stuff to support the ComfyUI changes made 3 weeks ago.

I have everything updated, will make more test later , thanks. Ill keep you updated.

I might have been a bit unclear in my message, AITemplate is not available in a state currently that has their code up to date to current ComfyUI.

Okey, its working now , the only issue is that seg preprocessors are not
working propperly.
El jue, 28 sept 2023 a las 22:59, Jedrzej Kosinski (<
@.***>) escribió:

I might have been a bit unclear in my message, AITemplate is not available
in a state currently that has their code up to date to current ComfyUI.
—
Reply to this email directly, view it on GitHub
https://github.com/Kosinkadink/ComfyUI-AnimateDiff-Evolved/issues/59#issuecomment-1739995562,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZW3FJC2KCMMYWSIMFLKW6TX4XQJ3ANCNFSM6AAAAAA5KXIRYE
.
You are receiving this because you authored the thread.Message ID:
@.***>


Allow directories to be collapsed in the file tree

Is your feature request related to a problem? Please describe.
Depending on the number of files and folders on the device, it may be useful to allow collapsing the directories. This makes it easier to focus on the relevant files currently being worked on.
Describe the solution you'd like
Some button or action added to the file tree for directory entries that allows them to be collapsed, which would hide files and folders under them. And then to be expanded again.
Describe alternatives you've considered
None, really. I'm not sure what a good alternative is. The current behavior would be and it works fine.
Additional context
Here's an example when loading the VM of the files that I want to interact with are all at the bottom:

I believe it would be best to extract the tree view into a separate component, that will handle all that.
Also, specifically for VM, we should auto-collapse the system directories.


⚠ Bofrost.be has degraded performance

In dff914b, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1268 ms

Resolved: Bofrost.be performance has improved in 0937529 after 15 minutes.


develop

Add enumerate for &str
Add doc, test: enumerate
Use AsRef
Add rspy::Iterable::sorted
Add sorted
Rename mod name: enumerate -> iterable
sorted の返す型を変更
iterable.rs をフォルダに移動
rspy::enumerate をファイル分割
iterable for str をファイル分割
for_vec をファイル分割
for_array をファイル分割
Add tests for sorted
Bump version from v0.1.9 to v0.1.10

Codecov Report
Base: 94.28% // Head: 89.28% // Decreases project coverage by -5.00% :warning:

Coverage data is based on head (05d80f2) compared to base (9151819).
Patch coverage: 88.57% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #16      +/-   ##
==========================================
- Coverage   94.28%   89.28%   -5.00%
==========================================
  Files           4        7       +3
  Lines          35       56      +21
==========================================
+ Hits           33       50      +17
- Misses          2        6       +4

Impacted Files
Coverage Δ

src/iterable/for_array.rs
83.33% <83.33%> (ø)

src/iterable/for_vec.rs
83.33% <83.33%> (ø)

src/iterable/for_str.rs
87.50% <87.50%> (ø)

src/enumerate.rs
100.00% <100.00%> (ø)

src/pathlib.rs
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Nullable string/object columns not supported

When trying to load a pandas DataFrame with a nullable string column, I always get
TypeError: field header: Can not merge type <class 'pyspark.sql.types.StringType'> and <class 'pyspark.sql.types.DoubleType'>

It can be reproduced in two different ways. We can create an in-memory Series and load it:
import numpy as np
import pandas as pd
import databricks.koalas as ks

ks.from_pandas(pd.Series(['foo', np.nan, 'bar']))

Or we can populate a CSV file with at least one NULL:
header
value
N/A
nothing above

And then try to read it:
import pandas as pd
import databricks.koalas as ks

ks.from_pandas(pd.read_csv('foo.csv'))

Either way, koalas things that the np.nan signifies a float, but it's actually a NULL for an object column.

This is the same issue as #114 , it seems. Thanks for the way to reproduce it @kokes .


Manage Neighbor Advertisement packet without a Target link-layer address

While running the lwAFTR with a conf file were 'next_hop_ipv6_addr' was set, I noticed the address couldn't be resolved into a MAC address. The reason was that although a Neighbor Solicitation was sent, the Neighbor Advertisement that arrived to the lwAFTR didn't include a Target link-layer address. The current code was not managing this case. About this, RFC 4861 says:
"When responding to unicast solicitations, the option can be omitted since the sender of the solicitation has the correct link-layer address"
https://tools.ietf.org/html/rfc4861#page-23
In this case, the source ethernet address of the Neighbor Advertisement packet is used instead.
The pull-request includes an Unit test for a packet of this kind.

Nice catch. While you're solidifying it, mind adding 3-5 retries, 1 second apart, if it doesn't get answers?


Enable strict/warnings pragma in App::RoboBot::Test::Mock

Hi @jsime
Please review the PR.
Many Thanks.
Best Regards,
Mohammad S Anwar

Thanks for the contribution, @manwar!


The install target fails to find XUiDesigner.desktop

mkdir -p /usr/ports/audio/xuidesigner/work/stage/usr/local/bin
cp ./build/xuidesigner /usr/ports/audio/xuidesigner/work/stage/usr/local/bin/xuidesigner
mkdir -p /usr/ports/audio/xuidesigner/work/stage/usr/local/share/applications
cp XUiDesigner.desktop /usr/ports/audio/xuidesigner/work/stage/usr/local/share/applications
cp: XUiDesigner.desktop: No such file or directory
gmake[2]: *** [Makefile:107: install] Error 1

rev. ab4e67573877d77bdd88b5aa52b3aa6866223280

Hi
Yes, it isn't ready to be installed.
Currently it only work out of the source tree to find the working directory's. At some point I'll change that and make the working dirs configurable, but for now I concentrate on making this thing useful at all.

I see. I was trying to create a FreeBSD port for it, but apparently it isn't ready yet.
Please let me know when it would become installable.

So the install target is ready, but, I would prefer this not to be distributed in the current state.

So the install target is ready, but, I would prefer this not to be distributed in the current state.

Okay.


Modified front end for home screen displaying chromosomes

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/mango-prb/167/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/mango-prb/168/
Test PASSed.


[improve] Make the schema change memory space adaptive

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

#34350


HttpImporterPipeline fails to run stage HttpMetadataChecksumStage(false)

I have a strange behaviour where pages are added for indexing if it's new and deleted if it has been crawled before.
The expected behaviour should be to skip indexing if page is unmodied or index if the page has changed since last crawl.
I get the following two log messages which I think is written when deciding to wrongfully delete the page:
DEBUG [Pipeline] Unsuccessful stage execution: com.norconex.collector.http.pipeline.importer.HttpMetadataChecksumStage@538638d9
INFO  [CrawlerEventManager]           REJECTED_IMPORT: http://regler.uu.se/Listsida/?kategoriId=99 (Subject: none)

Changing HttpImporterPipeline to uncomment addStage(new HttpMetadataChecksumStage(false)); solves the problem, but reindexing of pages migth than be missed.
    public HttpImporterPipeline(boolean isKeepDownloads) {
        addStage(new DelayResolverStage());

        // When HTTP headers are fetched (HTTP "HEAD") before document:
        addStage(new HttpMetadataFetcherStage());
        addStage(new HttpMetadataFiltersHEADStage());
        addStage(new HttpMetadataChecksumStage(true));

        // HTTP "GET" and onward:
        addStage(new DocumentFetcherStage());
        if (isKeepDownloads) {
            addStage(new SaveDocumentStage());
        }
        addStage(new RobotsMetaCreateStage());
        addStage(new LinkExtractorStage());
        addStage(new RobotsMetaNoIndexStage());
        addStage(new HttpMetadataFiltersGETStage());
        //addStage(new HttpMetadataChecksumStage(false));
        addStage(new DocumentFiltersStage());
        addStage(new DocumentPreProcessingStage());
        addStage(new ImportModuleStage());
    }

I have not witnessed this exact behavior, but in trying to reproduce, I got to a point where a document was detected as "unmodified" on a subsequent run, but new or modified when I run it one more time (when it should always have been unmodified in my case).  So there is definitely something suspicious here, and it may be related to your issue as well.
I never got any deletions sent to the committer upon getting REJECTED_IMPORT though.  So maybe a copy of your config could help reproduce that issue.
In the meantime, we are missing a "disable" flag on the <metadataChecksummer> tag, but leaving sourceField blank will achieve the same effect:
      <metadataChecksummer
              class="com.norconex.collector.http.checksum.impl.HttpMetadataChecksummer"
              sourceField="" />

Fix is in 2.1.0-SNAPSHOT.

I still have the same behaviour using 2.1.0-SNAPSHOT. I will try to dig deeper in to the exact problem.

After upgrading, did you start fresh (deleted all generated files)?  Also, you went with a clean install or an overwrite?  If overwrite, watch for duplicate jars in the lib folder.

FYI, a new snapshot was just released that may address this issue.

Nice, I will try it out and if the problem persists I will examine it deeper.

The latest snapshot works fine. However, I had to upgrade java to version 8.
I get the following exception when using the latest SNAPSHOT and openjdk 7
java.lang.NoSuchMethodError: java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;
	at com.norconex.committer.core.AbstractFileQueueCommitter.commit(AbstractFileQueueCommitter.java:233)
	at com.norconex.collector.core.crawler.AbstractCrawler.execute(AbstractCrawler.java:247)
	at com.norconex.collector.core.crawler.AbstractCrawler.doExecute(AbstractCrawler.java:208)
	at com.norconex.collector.core.crawler.AbstractCrawler.startExecution(AbstractCrawler.java:170)
	at com.norconex.jef4.job.AbstractResumableJob.execute(AbstractResumableJob.java:49)
	at com.norconex.jef4.suite.JobSuite.runJob(JobSuite.java:351)
	at com.norconex.jef4.suite.JobSuite.doExecute(JobSuite.java:301)
	at com.norconex.jef4.suite.JobSuite.execute(JobSuite.java:171)
	at com.norconex.collector.core.AbstractCollector.start(AbstractCollector.java:116)
	at com.norconex.collector.core.AbstractCollectorLauncher.launch(AbstractCollectorLauncher.java:69)
	at com.norconex.collector.http.HttpCollector.main(HttpCollector.java:75)

Not good.  We want to support versions of Java at least one version behind the current.  I'll mark this as a bug in a new issue.

Norconex HTTP Collector 2.1.0 was released. Closing.


Added project for Link in Bio

A Simple Link in Bio used Javascript, CSS and HTML

As a beginner to open-source you can contribute to hacktoberfest2023
You can also checkout our Idea-Arca, the project idea bank for any languages, for open-source contributions.
Happy Contributing season!
Keep up the good work!


Feature - RTL Support

Fixed https://github.com/prolificinteractive/material-calendarview/issues/830

every thing works except page left and right slide


Module 2 exercises [KHAULANI RAUWE]

Please "drag & drop" exercise 1 pdf file below.
Distance to Point Features_Pandamatenga- Rauwe.pdf

Please "drag & drop" exercise 2 pdf file below.
PANDA IUDs PROXIMITY TO CATTLE POSTS_RAUWE.pdf

Please "drag & drop" exercise 3 pdf file below.
SOIL CLAY CONTENT SUITABILITY FOR PANDAMATENGA- RAUWE.pdf

Please "drag & drop" exercise 4 pdf file below.

Please UPDATE THE TITLE of this "Issue" in the title bar above with your name.

If you haven't done so, please go back to Module 2 and make sure to take the post-training survey. Participating in surveys is required for receiving the "GALUP Certificate" by the University of Florida.

Well done, Khaulani. You clearly grasped the material outlined in Module 2 and successfully applied it to exercises 1 and 2.
However, for exercise 3, you need to apply the right colour ramp "Greens".
Kindly update and resubmit Exercise 3.
Thank you!


(Angular) PWA

Core Library
MSAL.js v2 (@azure/msal-browser)
Core Library Version
2.16.1
Wrapper Library
MSAL Angular (@azure/msal-angular)
Wrapper Library Version
2.0.2
Description
Hi.
I'm currently building an (Angular) PWA app which uses Azure B2C as IDP. I have issues where the user is offline, and MSAL calls B2C endpoints which results in the user being redirected to B2C. Having no net, this breaks the PWA experience, and I'm not sure what happens (if the token expires or if there's some other mechanism leading to the redirect. It's kinda hard and time consuming to debug).
I was wondering if anyone here has experience using B2C with a PWA and would share config / insights on how to handle caching (if at all), overrides or interceptors (if required)?
I saw that you @jakehockey10 had some similar ideas and questions in #3283. Did you manage to implement this?
MSAL Configuration
MsalModule.forRoot(new PublicClientApplication({
      auth: {
        clientId: environment.auth.clientId,
        authority: environment.auth.authority,
        redirectUri: environment.auth.redirectUri,
        postLogoutRedirectUri: environment.auth.postLogoutRedirectUri,
        knownAuthorities: environment.auth.knownAuthorities
      },
      cache: {
        cacheLocation: BrowserCacheLocation.LocalStorage
      },
      system: {
        loggerOptions: {
          loggerCallback: (logLevel: LogLevel, a: string, b: boolean) => {},
          piiLoggingEnabled: false
        }
      }
    }), {
      interactionType: InteractionType.Redirect,
      authRequest: {
        scopes: [...environment.auth.scopes]
      }
    }, {
      interactionType: InteractionType.Redirect,
      protectedResourceMap: new Map([
        [environment.auth.scopesUri,
          environment.auth.scopes
        ]
      ])
    })

Relevant Code Snippets
No response
Identity Provider
Azure B2C Basic Policy
Source
External (Customer)

Comment to keep it open

@bmahall This looks related to #3758 potentially.

Comment to keep it open

@andreaslarssen This is being tracked internally, dont have an ETA at this point.
#3758 covers similar ask.

Comment to keep it open

Closing this as similar to #3758.


Web in the Woods - September 12th 2015

http://www.webinthewoods.co.uk/

Web in the Woods
Two days of camping and a day of amazing talks to instruct & inspire...

Price: £150 (+VAT) https://www.eventbrite.co.uk/e/web-in-the-woods-tickets-16200291508
If enough people want to go we might be able to get a discount: https://twitter.com/kris_jeary/status/631477394042449920

@spikeheap Did you say you were interested in this?

I did, I've just got to figure out how to get there after the Lead Developer conference (and whether I can afford it), but I'd be keen. If we can get a few together there might be discount too... let's spread the word.

I'd be up for it... but only if we can do a 10K run together on the Sunday.
The Oxford Half Marathon will be 4 weeks away at the time of this conference and these moobs that I am fondling idly as I pen this need the iron discipline of no missed runs until then.

@spikeheap how are you getting to lead dev? London to Kent isn't too hard is it?
@richdouglasevans I cant run.

@richdouglasevans DEAL :+1:
@AverageMarcus currently planning train into London – just thinking about the requisite camping things vs. the tube. We could share petrol for the way back though?

I was considering getting a hire car if enough people went (my car is a little unreliable right now) which means I could get a massive boot to take everyone's stuff.

@AverageMarcus I'm definitely interested in this!

It's looking like I might not be able to afford this now. The discount wasn't as good as I'd thought it'd be and I've already said I'd go to Over The Air (See #125)


elasticsearch.helpers.BulkIndexError: ('2 document(s) failed to index.'

Hello:
Cause my commpany's requirement,i use mon-connector for mongo's data import ES.But,i find since ES6.X one index can't support multi types.Objective reasons,i cann't change my commpany's mongo's data.And abvious your codes cann't solve my problem ,even cann't solve most of commpany's problem.
I try to modify file <elastic2_doc_manager.py>,and i modify doc_type to index,it means index and type are some word .Finally,i success,this is my elasticsearch-head's result

I hope you can update your codes so that can support recently ES,looking forward to your reply,thanks!

ES6 is known not to work yet. Any contributions to support ES6 would be appreciated. Can you send a diff or PR for the changes you made? Hopefully someone will be able to work out a solution.

Sorry,i am not familiar with python,my Language is java.I spent 3 days to learn python and tried to read your codes.Some place i don't understand,my solution is modify doc_type to index in file <elastic2_doc_manager.py> ,example:
.
Of course，not only this place in this file，i believe u know what i means.But,this is just suit my commpany's requirement and i have to modify by myself .I hava no idea should you delete type or modify doc_type to index, sorry i'm pyhton not very well .
By the way ,my environment is python3.7.3, ES6.7 and ES7.0(i already tried both of them), pip3.
Last thank u  and your team for the contributions to mongo-connector.I sincerely hope that u and your team is getting better and better.

ES6 is known not to work yet. Any contributions to support ES6 would be appreciated. Can you send a diff or PR for the changes you made? Hopefully someone will be able to work out a solution.

Sorry,i am not familiar with python,my Language is java.I spent 3 days to learn python and tried to read your codes.Some place i don't understand,my solution is modify doc_type to index in file <elastic2_doc_manager.py> ,example:
图片.
Of course，not only this place in this file，i believe u know what i means.But,this is just suit my commpany's requirement and i have to modify by myself .I hava no idea should you delete type or modify doc_type to index, sorry i'm pyhton not very well .
By the way ,my environment is python3.7.3, ES6.7 and ES7.0(i already tried both of them), pip3.
Last thank u and your team for the contributions to mongo-connector.I sincerely hope that u and your team is getting better and better.

ES6 is known not to work yet. Any contributions to support ES6 would be appreciated. Can you send a diff or PR for the changes you made? Hopefully someone will be able to work out a solution.

Sorry,i am not familiar with python,my Language is java.I spent 3 days to learn python and tried to read your codes.Some place i don't understand,my solution is modify doc_type to index in file <elastic2_doc_manager.py> ,example:
图片.
Of course，not only this place in this file，i believe u know what i means.But,this is just suit my commpany's requirement and i have to modify by myself .I hava no idea should you delete type or modify doc_type to index, sorry i'm pyhton not very well .
By the way ,my environment is python3.7.3, ES6.7 and ES7.0(i already tried both of them), pip3.
Last thank u and your team for the contributions to mongo-connector.I sincerely hope that u and your team is getting better and better.

ES6 is known not to work yet. Any contributions to support ES6 would be appreciated. Can you send a diff or PR for the changes you made? Hopefully someone will be able to work out a solution.

Sorry,i am not familiar with python,my Language is java.I spent 3 days to learn python and tried to read your codes.Some place i don't understand,my solution is modify doc_type to index in file <elastic2_doc_manager.py> ,example:

Of course，not only this place in this file，i believe u know what i means.But,this is just suit my commpany's requirement and i have to modify by myself .I hava no idea should you delete type or modify doc_type to index, sorry i'm pyhton not very well .
By the way ,my environment is python3.7.3, ES6.7 and ES7.0(i already tried both of them), pip3.
Last thank u and your team for the contributions to mongo-connector.I sincerely hope that u and your team is getting better and better.

ES6 is known not to work yet. Any contributions to support ES6 would be appreciated. Can you send a diff or PR for the changes you made? Hopefully someone will be able to work out a solution.

Sorry,i am not familiar with python,my Language is java.I spent 3 days to learn python and tried to read your codes.Some place i don't understand,my solution is modify doc_type to index in file <elastic2_doc_manager.py> ,example:

Of course，not only this place in this file，i believe u know what i means.But,this is just suit my commpany's requirement and i have to modify by myself .I hava no idea should you delete type or modify doc_type to index, sorry i'm pyhton not very well .
By the way ,my environment is python3.7.3, ES6.7 and ES7.0(i already tried both of them), pip3.
Last thank u and your team for the contributions to mongo-connector.I sincerely hope that u and your team is getting better and better.

Hi, there are any news for this argument? Thanks.


Dependency insight does not provide insight into project dependency failures

Given issues like https://github.com/gradle/gradle/issues/6800, inspecting why a particular project dependency isn't working goes beyond "does the project exist?"
Expected Behavior
gradle dependencyInsight --configuration someConf --dependency someProject will render details about why a project dependency was selected.
Current Behavior
gradle dependencyInsight --configuration someConf --dependency someProject shows no matches.
In the Dependency insight task, we explicitly exclude project dependencies.
Steps to Reproduce (for bugs)
You can observe how this could be useful in the gradle/gradle build.
./gradlew core:dependencies --configuration integTestRuntime shows that :docs is a failed dependency.
./gradlew core:dependencyInsight --configuration integTestRuntime --dependency docs shows nothing useful.

I'll let Cedric win this one #6857


Words with less than three characters

Hello, thanks for this great parser! It works wonderful.
Many of your examples in the README-file contain inputs with words of less than 3 characters, such as ict OR it.
However, in my case it seems that words of less than 3 characters are ignored. Examples:

tu graz (leads to 0 results, even though there should be plenty)
tu AND graz (also leads to 0 results, even though there should be plenty)
tu OR graz (only searches for graz while tu is being ignored)
"tu graz" (same - only searches for graz while tu is being ignored)

But 3-letter-words work fine (e.g. nyu or ulm).
I am not overly proficient with coding. May I thus ask how one could fix that?
Thanks a lot!

Hi @andreaspacher, it's been a while since I worked with PHP and MySQL, but if I recall correctly MySQL has a minimum word length when doing a full-text search. This is normally 3 or 4 characters, which is why your 2 letter words are being ignored.
Depending on how old the database you're working with (and operating system), there are a couple of different ways to change this value. It looks like you have to change it in a file, rather than just run a SQL command.
You're after a file called my.cnf.

If you're using a Mac/Linux machine then the file you're after is either /etc/my.cnf or /etc/mysql/my.cnf.
If you're on Windows and using something like WAMP or XAMPP then it should be here C:\\wampp\mysql\bin\my.cnf or C:\\xampp\mysql\bin\my.cnf.

From here you should find a variable called ft_min_word_len or innodb_ft_min_token_size. Set this to the value you want - 2 is probably the lowest number you want. 1 might give bad results or bad performance.
Once that's done, you'll need to "repair" the table you're trying to search to make it work REPAIR TABLE your_table_name QUICK;
I hope this helps. If you want to do your own research, then Googling mysql full text search minimum word length should help you find more results.

Hello @DuncanOgle, thank you for the quick response - this is very helpful! It is good to know that the issue arises out of a default MySQL setting and not from the script's PHP code. Thanks also for pointing out how to fix that, I greatly appreciate it.


Arlo doing I/O in event loop

We've been getting reports that Arlo cameras are doing I/O in the event loop.
Guess introduced in #14823. Although nothing looks suspicious there perse. I think why this got highlighted as flawed is because after that PR we are triggering updates on the arlo cam, we didn't before.
CC @tchellomello

@balloob  I'll look into this. Thanks for the heads up

Any progress on this ticket?

Hello,
I get
Update of alarm_control_panel.arlo is taking over 10 seconds
Warnings on every update of Arlo, is this related?

Same here, on 83.3 still getting the following warning, and home-assistant does not start up.
2018-12-10 12:08:29 WARNING (MainThread) [homeassistant.helpers.entity] Update of alarm_control_panel.arlohub is taking over 10 seconds

Is this still an issue you are experiencing? Can you please try upgrading to the latest version of Home Assistant (0.90) and report back if this is still a problem? Thanks!


Java code formatting

Hello everyone!
I put this lines in the config, but it doesn't seem to work
"java.format.settings.profile": "GoogleStyle",
"java.format.settings.url": "https://raw.githubusercontent.com/google/styleguide/gh-pages/eclipse-java-google-style.xml",

Is there something in the LSP log panel or ST console?

After searching the internet, I saw that you have to put the xml in the project and put the path relative to it, now it works for me

Glad you could resolve your issue :)


Updated reference source code

Fixes #889
Changes:
Committed the latest changes to reference.js

See reply in related issue.


Configurable bin file

Q
A

Issue Type
Feature Request

Deployer Version
4.x

Local Machine OS
N/A

Remote Machine OS
N/A

#538

Allow user to specify there to look for php bin.

env('php_bin', function () {
    return run('which php');
});

Support for reading composers bin-dir instead of writing it multiple places? https://getcomposer.org/doc/06-config.md#bin-dir

He meant PHP itself. I really like the idea, because than I can use deployer as well to deploy legacy code which may needs special php-versions.

@elfet i submit a PR to handle this issue :D

I see, need more time for testing.

@elfet I think we allow setting up all bin path like:
env('bin.php', function() {
   return run('which php');
});
env('bin.git', '/usr/local/git1.7/bin/git');
env('bin.composer', null); // for using local composer

Because in some cases, users using vagrant, they can mount software sources (like php, git, apache, ..) and build custom.

What about creating new mechanizm for bins? Like PATH or something?

run('php ...'); Maybe some replace('php', '/...')?

What are you think a bout multi version php. Fix PATH is not good solution.

run('php ...'); Maybe some replace('php', '/...')?
Users can custom like env('bin.git', '/usr/local/git1.7/bin/git');

I don't like the idea of modify the $PATH env. But i like to have a map of bin paths, with default values and configurable by server. For example, i have a deploy.yml file with the deploy configuration, with the map of bin executable shoul be something like this:
mmmmm having env(bin.executable, path_to_executable) sounds great... and can be configured by server. In my case i have a deploy.yml with this content:
timezone: America/Caracas

git:
  repository: url_to_repo.git
  branch: master

servers:
  prod:
    host: domain.com
    stage: production
    deploy_path: 'path/for/deploy'
    port: 22
    ssh_user: user
    password: password
    bin: # Alternative names: bins, exec, executables, paths?
        php: '/usr/local/bin/php'
        phpcli: '/usr/local/bin/php-cli' # For composer install (I need this), by default (if null) use the php path
        git: '/usr/local/bin/git'

  development:
    host: other_host
    stage: development
    deploy_path: 'path/for/deploy'
    port: 22
    ssh_user: user
    password: password
    bin:
        php: '/usr/bin/php'
        git: '/usr/bin/git'
        #php-cli is not configured so '/usr/bin/php' is used in composer install

That file should be parsed in the deploy.php file

That's a great Idea to make all the executable configurable, but manipulating the $PATH only ends in rubbish and should be avoided in any way. And I would prefer the way oanhnn suggested.

@nemoinho take a look at #608


Remove mention of JDBC from the statistics

The metrics print something like:
    INFO StatisticalLoggingSessionEventListener [vert.x-eventloop-thread-0] Session Metrics {
        0 nanoseconds spent acquiring 0 JDBC connections;
        0 nanoseconds spent releasing 0 JDBC connections;
        0 nanoseconds spent preparing 0 JDBC statements;
        0 nanoseconds spent executing 0 JDBC statements;
        0 nanoseconds spent executing 0 JDBC batches;
        0 nanoseconds spent performing 0 L2C puts;
        0 nanoseconds spent performing 0 L2C hits;
        0 nanoseconds spent performing 0 L2C misses;
        10408842 nanoseconds spent executing 1 flushes (flushing a total of 3 entities and 0 collections);
        0 nanoseconds spent executing 0 partial-flushes (flushing a total of 0 entities and 0 collections)
    }

We should update the logs and possible the attributes in StatisticalLoggingSessionEventListener so that they won't mention JDBC.

Duplicate of #1162


ci: add pkg.pr.new GitHub action workflow

You need to configure pkg.pr.new GitHub app first
https://github.com/stackblitz-labs/pkg.pr.new
I need some help here cause I have zero experience in advanced GitHub actions
based on workflow file I want to run pkg.pr.new action on

push (if APPROVED then run action on every push)
pull_request [opened, synchronize, reopened] (if APPROVED then run action on every opened, synchronize, reopened)
pull_request_review [submitted]

One more thing about packages/plugins,
how to check this path if it's changed then run build all packages

@zernonia why not update to latest pnpm?
GitHub workflow files are outdated one uses node 16 one uses 18 😕

Chat GPT4o response xd

To configure GitHub Actions to run on push, pull_request, and pull_request_review events with the condition that it only runs if the pull request is approved, you need to use the GitHub Actions workflow_run event to create a workflow that is triggered after the approval. Here is how you can set it up:

Create the main workflow: This workflow will run on push, pull_request, and pull_request_review events but will be conditional on the pull request being approved.

Create a second workflow: This workflow will be triggered by the workflow_run event when the main workflow is completed.

Step 1: Main Workflow
Create a workflow file .github/workflows/main.yml:
name: Main Workflow

on:
  push:
  pull_request:
  pull_request_review:
    types: [submitted]

jobs:
  check-approval:
    runs-on: ubuntu-latest
    steps:
      - name: Check if PR is approved
        id: check_pr_approved
        uses: actions/github-script@v6
        with:
          script: |
            const { data: reviews } = await github.pulls.listReviews({
              owner: context.repo.owner,
              repo: context.repo.repo,
              pull_number: context.payload.pull_request.number,
            });

            const approved = reviews.some(review => review.state === 'approved');

            core.setOutput('approved', approved);

  trigger-secondary-workflow:
    needs: check-approval
    if: steps.check_pr_approved.outputs.approved == 'true'
    runs-on: ubuntu-latest
    steps:
      - name: Trigger secondary workflow
        uses: benc-uk/workflow-dispatch@v1
        with:
          workflow: 'Secondary Workflow'
          token: ${{ secrets.GITHUB_TOKEN }}
          ref: ${{ github.ref }}

Step 2: Secondary Workflow
Create another workflow file .github/workflows/secondary.yml:
name: Secondary Workflow

on:
  workflow_run:
    workflows: ["Main Workflow"]
    types:
      - completed

jobs:
  run-actions:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout repository
        uses: actions/checkout@v2
      - name: Run your actions
        run: |
          echo "Running actions on approved PR"
          # Add your actual actions/commands here

Explanation

Main Workflow:

Listens to push, pull_request, and pull_request_review events.
The check-approval job checks if the pull request is approved by listing all reviews and looking for at least one with the state approved.
If the pull request is approved, the trigger-secondary-workflow job triggers the secondary workflow using workflow-dispatch.

Secondary Workflow:

Listens to the workflow_run event for the completion of the "Main Workflow".
Runs the necessary actions if the PR is approved.

By structuring the workflows this way, you ensure that actions are only run if the pull request is approved, meeting your specified conditions.

cc @Aslemammad 🙏

Thank you team for using https://pkg.pr.new! It means a lot to us.

@zernonia why not update to latest pnpm?
GitHub workflow files are outdated one uses node 16 one uses 18 😕

Hahahaha no reason. Just didnt have the need to update because the pipeline we have is working now. If this new addition requires higher version of node, sure let's upgrade it!

@sadeghbarati  It's being triggered here

Seems like the publishing work. However it would be nice to have the App to comment the npm command. cc @Aslemammad
npm i https://pkg.pr.new/radix-vue/radix-vue@2de584a

pkg.pr.new GitHub app configured after PR opened will close this and open same changes in new PR


When gift_message_text contains a < character, value for extra field in lengow_orders it's badly saved (cut at that character).

Sometimes someone add a gift message for his/her order, for example: "Love you <3".
It can be done in Amazon and other marketplaces as well.
That gift message it's included in order data from Lengow, as gift_message_text.
When importing order from Lengow into PrestaShop, full order data in json format is saved in extra field from lengow_orders table.
But when gift message contains a "<" character, the json value is badly saved.
It's cut at that character position.
Following the example, the value saved will be cut, ending with "Love you ".
This is a big trouble when you need to review original data (corresponding to when the order was imported into PrestaShop).
The json value turns unloadable (it fails json_decode), and all data since gift message is lost.
Maybe "<" is not the only character that can cause this problem.

hi it's fixed in 3.5.7 plugin version

Yes, it's fixed in 3.5.7 version, thank you.


operators [R] kiali (1.47.0 1.48.0)

Signed-off-by: John Mazzitelli<EMAIL_ADDRESS>

/merge possible

/retest

@J0zi not sure why it is hanging up. can you look?

/test Operator test / lemon / Deploy from scratch (v4.9-db)

/test 4.9-deploy-operator-on-openshift

/merge possible

/merge possible


Support List values in search options

This PR improves the API to store List search option values as Lists instead of converting them to distinct values in a Set.

Codecov Report

Merging #695 into 7.x will decrease coverage by 0.00%.
The diff coverage is 31.25%.

@@             Coverage Diff              @@
##                7.x     #695      +/-   ##
============================================
- Coverage     53.02%   53.01%   -0.01%
+ Complexity    13827    13826       -1
============================================
  Files          1831     1831
  Lines         87501    87515      +14
  Branches      11408    11413       +5
============================================
+ Hits          46397    46399       +2
- Misses        36289    36300      +11
- Partials       4815     4816       +1

Impacted Files
Coverage Δ
Complexity Δ

...2international/commons/options/HashMapOptions.java
47.29% <0.00%> (-8.26%)
24.00 <0.00> (ø)

...c/com/b2international/commons/options/Options.java
100.00% <ø> (ø)
2.00 <0.00> (ø)

...owl/core/request/SearchResourceRequestBuilder.java
88.88% <100.00%> (+1.01%)
18.00 <0.00> (+1.00)

...c/com/b2international/index/revision/ObjectId.java
72.72% <0.00%> (-4.55%)
11.00% <0.00%> (-1.00%)

...index/src/com/b2international/index/es/EsNode.java
84.88% <0.00%> (-1.17%)
15.00% <0.00%> (-1.00%)

...d/ecl/parser/antlr/internal/InternalEclParser.java
56.52% <0.00%> (ø)
368.00% <0.00%> (ø%)

.../snomed/core/ecl/SnomedEclRefinementEvaluator.java
87.75% <0.00%> (+0.29%)
110.00% <0.00%> (ø%)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a2e3424...d7f5c33. Read the comment docs.


Draggable toggle switches on mobile devices

I have watched a several, less computer literate/familiar, users using MDL sites on mobile devices trying to drag toggle switches to turn them on/off which in its current state MDL ignores.
It would be good if users on mobile devices could tap and drag to change the values of toggle switches.

The same applies to the sliders; they are not usable on mobile devices (iPhone)


Reducing Spacing in Python Output in VS Code

The output of a pandas dataframe of 20 lines takes a full page because of very high spacing as depicted below: enter image description here

Can this be changed in VS code settings or in some python settings?

Thanks for the issue. This doesn't repro for me:

My guess is that you have something in your kernel that is interfering with printing. Something that's adding the extra output lines.
What does this show?
display(df.head(20))

not enough info, closing for now


bugfix: removal of docker socket from runners volumes

The bind of the Docker socket /var/run/docker.sock:/var/run/docker.sock is causing timeout in runners startup:
*** WARNING: Service runner-xxxxx probably didn't start properly.
Health check error:
start service container: Error response from daemon: Cannot link to a non running container: /runner-xxxxx AS /runner-xxxxx-docker-0-wait-for-service/service (docker.go:1299:0s)
Service container logs:
2022-01-11T13:31:07.727900172Z time="2022-01-11T13:31:07.727643301Z" level=warning msg="could not change group /var/run/docker.sock to docker: group docker not found"
2022-01-11T13:31:07.727946564Z can't create unix socket /var/run/docker.sock: device or resource busy

Types of changes
What types of changes does your code introduce to <repo_name>?
Put an x in the boxes that apply

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)

Wouldn't this cause an issue for the jobs running that require docker?

closing for lack of activity


channel-diff script

This change is

example output
$ nix build ./#packages.x86_64-linux.import_scripts && ./result/bin/channel-diff 20.03 20.09
Packages:
  All in 20.03: 70849
  All in 20.09: 70015
  Added: 7163
  Removed: 7997
  Updated: 14838
Options:
  All in 20.03: 9011
  All in 20.09: 9731
  Added: 1207
  Removed: 487
  Updated: 120

I still need to figure out how to run this on a periodic basis and upload the json of the diff somewhere where it can be accessible  by the frontend.


prototypes

Hello,
I define some prototypes in a file (array and string), and when this file is required, I have the next error while I do "sanitize(a).xss();" :
has no method 'split'
at Object.clean (/home/mod/modygo/node_modules/validator/lib/xss.js:102:42)
at [object Object].xss (/home/mod/modygo/node_modules/validator/lib/filter.js:32:21)
at Object. (/home/mod/modygo/temp.js:21:21)
at Module._compile (module.js:411:26)
at Object..js (module.js:417:10)
at Module.load (module.js:343:31)
at Function._load (module.js:302:12)
at Array. (module.js:430:10)
at EventEmitter._tickCallback (node.js:126:26)
Can you please help me?
Thanks,
Philippe

What are the prototypes you've defined? The call on line 102 is a simple String.split() call. Have you overridden this builtin?


bug

What version of Wallet are you using?
tx problems
What is happening?
InsufficientInputAmount { asset:<PHONE_NUMBER>000000000000000000000000000000000000000000000000000000, expected: 200200100, provided: 199968996 }: {"response":{"data":null,"errors":[{"message":"InsufficientInputAmount { asset:<PHONE_NUMBER>000000000000000000000000000000000000000000000000000000, expected: 200200100, provided: 199968996 }","locations":[{"line":2,"column":3}],"path":["dryRun"]}],"status":200,"headers":{"map":{"content-type":"application/json"}}},"request":{"query":"mutation dryRun($encodedTransaction: HexString!, $utxoValidation: Boolean) {\n  dryRun(tx: $encodedTransaction, utxoValidation: $utxoValidation) {\n    ...receiptFragment\n  }\n}\n\nfragment receiptFragment on Receipt {\n  data\n  rawPayload\n}","variables":{"encodedTransaction":"0x000000000000000000000000000000000000000005f5e100000000000000000000000000000000040000000000000000000000000000000100000000000000020000000000000001000000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000a03499e7f496733e9887bf7e578cf0c90415cfe266851b25c24fdf61cdcb228c000000000000000154aabd070e0e05139a578849d229e6fd2349de2940956e264520bb4e2dd8bae5000000000beb48e4000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001c78a0266f7e10eb47872f0dc60a984625d01635c2723d61dccb9f555702a410000000000beecfa40000000000000000000000000000000000000000000000000000000000000000000000000000000354aabd070e0e05139a578849d229e6fd2349de2940956e264520bb4e2dd8bae5000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","utxoValidation":
steps to reproduce
There is no problem with small investments.
but when I want to make an investment like 0.20 eth, I get an error in these transfers.
How it should behave?
.
What os are you seeing the problem on?
None
What browser?
None
What is your browser version?
No response

What is the amount balance you have in your wallet? The error looks like you don't have the amount + gasFee necessary to do the tx.

Have you tried to faucet some funds before trying the action transfer. If you have a balance and the error is showing, please send a comment here so we can re-open the issue.


calling handlers in oauth_provider_call_cb

This should enable the callback methods for consumerHandler, timestampNonceHandler, and tokenHandler

Merged, thanks @wcgallego !


Fix and constraint test requirements

Codecov Report
Patch coverage has no change and project coverage change: -2.50 :warning:

Comparison is base (785d7da) 83.69% compared to head (1544eef) 81.20%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #64      +/-   ##
==========================================
- Coverage   83.69%   81.20%   -2.50%
==========================================
  Files          47       41       -6
  Lines        1730     1564     -166
  Branches      240      196      -44
==========================================
- Hits         1448     1270     -178
- Misses        224      245      +21
+ Partials       58       49       -9

Flag
Coverage Δ

Linux
81.07% <ø> (-0.67%)
:arrow_down:

Windows
?

core
81.07% <ø> (-1.39%)
:arrow_down:

examples
?

macOS
?

src
75.20% <ø> (-3.33%)
:arrow_down:

tests
90.60% <ø> (+0.27%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.
see 16 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Fix/backend adaptation

Change goal: Adaptacija Backend.
Database change: /

:tada: This issue has been resolved in version 1.7.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Fix some testing issues

disabling rules with global variables is bad
re-enable grappalang tests up to RACOs part

Coverage increased (+1.27%) to 91.24% when pulling a32e09ee1cf6b53d3cb2d2604a1280dd1680aed6 on bmyerz/improve_testing into a8701294b13234e11338f8e3ae8cb089e6765e91 on master.

Coverage increased (+1.28%) to 91.25% when pulling 68be426958ca0e96056ee05e2ef8dcf44a23271f on bmyerz/improve_testing into a8701294b13234e11338f8e3ae8cb089e6765e91 on master.


[CAP] OAuth2ServiceConfiguration simplification for implementations

closes #658

I really like it, well done 💯 only one thing to consider the sequence of ClientIdentity instance creation.

Hi @liga-oz
thanks for the hint, you're right, but in the default implementation i'm unable to change that (as getProperty is not implemented everywhere, like in spring-xsuaa) and in XsuaaServiceConfigurationCustom i kept the order from default implementation for simplicity. But we can revisit the sama as soon as ias provides credential-type as part of the binding.


Implement #32347 - (RichTextLabel's Item's should be structs)

To be honest I'm kind of shocked how fast this came together. (I expected I'll need at least 3-ish really hard days.)
Also I found a few smaller things I fixed those as well.
I'll continue trying to break it for a few days.
Please tell if you like this solution or not, I'll change the implementation accordingly.
Complete list of changes:
I kept the inheritance tree unchanged, the ItemFX struct isn't in the enum. I replaced the query that gathers every ItemFX struct to just check for the relevant types. I don't think it worths it to add any new variable to check for this at the moment, however if the number of classes start to grow it might worth to add something.
CharFXTransforms now store a ref to the relevant RichTextEffect (as per @reduz), and since it doesn't need that string identifier anymore, I removed that. (I kept the lookup function, as it's useful when setting up the classes.)
The original code constantly allocated CharFXTransforms, now these are only created once, and stored in ItemCustomFX. This way ItemCustomFX doesn't need the environment dictionary, since it was only there so the code can give it to CharFXTransform on creation.
I found an emty for loop, I removed it.
I made _get_custom_effect_by_code return early, as there shouldn't be more than one bbcode per type.
(for github: closes #32347)
Bugsquad edit: Closes #32347.

This seems to break the example project @ https://github.com/Eoin-ONeill-Yokai/Godot-Rich-Text-Effect-Test-Project
Have you changed the interface for getting rich text effects working / have a working example?

Interesting they work for me, I'll check that test project.

Interesting they work for me, I'll check that test project.
Also I haven't changed the interfaces.
Edit: For me your test project works properly, I'll try to clean the scons cache and rebuild, just to make sure.

Ah ok let me try it again. It could be my scons cache.

Yes, so far so good but there's one regression regarding ItemFade not working. Desired results should be as they are shown in the original PR.
Thanks for putting in the time to work on this. I was about to sit down and start working on this when your PR came in. :P

I'm not sure if it's a faux-pas to leave a review as a non-core developer, but here are some quick notes on the issues.

It's completely fine to leave reviews, it helps me a lot to decide whether to merge a PR or if further work is needed.

(for github: Implements #32347)

Note: You can use "Fixes #32347 or "Closes #32347 so that GitHub auto-closes the mentioned issue when merged, see https://help.github.com/en/articles/closing-issues-using-keywords

Note: You can use "Fixes #32347 or "Closes #32347 so that GitHub auto-closes the mentioned issue when merged, see https://help.github.com/en/articles/closing-issues-using-keywords

My bad, I've read this a few day ago, and for some reason I thought implements works as well.

Thanks!


Rename file does not work

Describe the bug
It would open the folder or the file
To Reproduce
Steps to reproduce the behavior:

Right click a folder or a file
Rename
See error

Desktop (please complete the following information):

OS Version: [e.g. Windows 10 2004 19041.207]
App version: [v<IP_ADDRESS>]

Does this occur after creating the item?

Also, what are you naming the file? Can you send us a screenshot of the issue?

maybe it is related to #651

Also, what are you naming the file? Can you send us a screenshot of the issue?

It is like @xPoppyx #651 issue, I too disabled Experimental double tap to rename files

@tomyan112 Thank you for reporting this issue, lets move it over to #651.


Models to add

This is a small, initial list (feel free to suggest in the comments) of models that should be at least present IMHO:

[x] stable-diffusion
[ ] whisper
[ ] wizardLM (no links, only configuration)
[ ] gpt4all-*
[ ] MosaicML
[x] vicuna (no links, only configuration)
[ ] alpaca (no links, only configuration)
[ ] llama (no links, only configuration)
[ ] RedPajama (no links, only configuration)
[ ] Cerebras
[ ] rwkv (other sizes)
[ ] ...

This would be great if we could just give a download url to huggingface models.

This would be great if we could just give a download url to huggingface models.

this is already possible using a base model definition (so you have a minimum configuration for it) and providing an URL. I'll update the examples soon

replit
starcoder
santacoder

Instructor embeddings models.
More about changs: https://github.com/go-skynet/LocalAI/issues/709

Open Assistant

chatglm&chatglm2
baichuan
starcoder/wizardcoder

mistral


Does this exclude soft deleted documents from queries?

Looking through the docs, It doesnt look like it, but I thought id make sure. Usually the soft deletes or 'paranoid' setting will exclude the soft deleted documents from future queries, until they are restored. Is that possible with this plugin?

Nevermind, I found this one, which does what Im looking for


CAMEL-11497 - add missing to-eip.adoc toD-eip.adoc transform-eip.adoc…

… process-eip.adoc

Thanks @onderson

We are actually missing only rollback-eip and process-eip :-)

added the process-eip.  now checking rollback :)


fixes x1066 As PO (Minal), I want horizontal scroll bars at the top of the tables on the dashboards, history page, search page and SGP management page for ease of use#389

It's a big improvement on usability 👍 I have a few questions

I think it will still display two horizontal scrollbars , the table's own bottom scrollbar and this custom one.  If so, if the table has got only less records (less than a page's height) , would it be ok display two scrollbars on top and bottom?

Hi @seenanair , Yes, it will display two horizontal scrollbars , the table's own bottom scrollbar and a custom one at the top of table. This is more for the table width (not height) but yes if the table have few columns, less that the window width, no scroll bar should be visible.

No, I mean the height. The whole purpose of this horizontal scrollbar at top is to allow user to scroll easily in horizontal direction when table width is greater than the window and the table height exceeds the viewport size.
So, in cases If the height of the table  is less so that it fits the page and width is more than the window width, there will two scrollbars displayed. That might look a bit strange, it is worth checking it out and try on pages with less records


Unable to see the Older transactions on TF Connect app

RobertL and a user named K on Telegram noted that they could view only the recent transactions from today (10th July 2024) and not the older ones.
Shang and I verified on the TF Connect app; we can access the previous transactions since we did not farm, and our transaction count is lower until now.

lets try to compare same wallet on TF connect and stellar and make sure they are the same transactions


fix(catalog-management): update Catalog Management SDK after recent changes

PR summary
This PR contains the update for Catalog Management SDK after the Api recent changes.
Important to note the following:

the integration test I created eventually were moved to a separate file (catalog_management_v1_integration_new_test.go) as my approach and the cat mgmt team has a slightly different approach. I would rather let them work with it and integrate the tests in their own pace and not force my approach on them
however, both test file is under the integration build tag which ensures that both will run using -tags=integration
old integration test cases are under the integration2 build tag - clean up the integration tests in this SDK would be a separate PR once the whole is consolidated
the tests where I had issues (user is not granted, no suitable data or lack my domain knowledge) has comments about the details, even though it is ugly but hopefully informative to the team, so they can find solutions easily
Integration test data and parameters are conherent across SDKs except the cases where  the language name was used
as the amount of catalogs grows the listCatalogs method will fail more and more due to that the database query has a limit on the result set. Many times the newly created catalog is not in the result. It is discussed with Jon.

About coverage:

except 4 operations all operattion has at least one test exercising either the happy path or a negative case
I had a discussion with the team about the 4 operations (GET/PUT/DELETE Offering Instance and Replace Offering Icon which is disabled)

The special cases:

Go and Java SDK returns 200 when we'd like to delete a catalog which doesn't exist, Node and Python returns 404, I couldn't figure out why

PR Checklist
Please make sure that your PR fulfills the following requirements:

[x] The commit message follows the Angular Commit Message Guidelines.
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Current vs new behavior

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

:tada: This PR is included in version 0.18.20 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


BUG/MAINT: Adjust get_benchmark_returns to match Google API change

This zeros out any dates that come before the 251 day limit that google sets, if we request > 251 days worth of benchmark data.

Coverage decreased (-0.03%) to 87.17% when pulling 0dc0312feecf09c22e9bfac41cff8648c1365632 on why-are-you-doing-this-google into fbdfaf82410e6e5a9c9e7e4daa738599a6679683 on master.

So this won't actually work b/c of https://github.com/quantopian/zipline/issues/1965 and https://github.com/pydata/pandas-datareader/issues/395. It's not that we need to chain data (which is probably better in the general case)


Rage is applied to selected token, but should only be applied to self

I fixed it by adding choosing the Action Type Utility in the Feature Attack section. Left is the default, right is the fixed version.

This appears to be DAE functionality, not the item configuration. I can replicate even with the Utility action type selected


Managing the downlink RX windows

Currently, the server sends scheduled downlink to both the RX1 and RX2 windows. However, it seems the correct way to do this is to only send on one particular RX window. The decision of which window to use is made by the server (if the end node does not get anything during RX1, it will wake up and listen again at RX2. However, if it gets a response at RX1, it would not wake up at RX2, so there is no need to downlink at both windows).
Before coming up with a rather complex scheme of deciding which RX window to use, I think it is OK to just hard-code the server to always use RX1.
A bit of digression: With the dumb Semtech packet forwarder, if the server tries to schedule downlink on both RX windows (which is what it's doing now), in effect only the RX2 packet will get through... The SX1301 (the concentrator chip on the gateway) only has a TX buffer of size 1. However, the packet forwarder will shove a TX packet into the 1301 even if the packet is scheduled to be sent 5 seconds later.... So if in the mean time a new downlink arrives before the previous one is sent out, the old one will just get overwritten... IMO, the packet forwarder should temporarily put the downlink packets into a queue sorted by departure time, and only shove the packet into the SX1301 if its departure time is imminent.

Well, about the first part of your comment I should say, you got it right until the part that, gateway has no way of knowing if the end-node received the data on Window 1) and the Ack could be received about the data sent on Window 1 way way after. like minutes away.
The last paragraph sounds really interesting to me. Have you looked at the Semtech Packet forwarder to aquire these info? I use a Multitech Conduit which uses a different one called Basic Packet Forwarder but I assume the Conduit has SX1301 and a couple of SX1257s(to enable rx and tx at the same time). So I am wondering if this situation could be true in our case as well. Gotta look into it a bit more.

Regarding your first point, you're right! I overlooked this and somewhere in the process made the assumption that the two receive windows were for redundancy. Thanks for pointing this out! For reference, these snippets from the specs are mentioning this:
3.3.5 Network sending a message to an end-device
If the network intends to transmit a downlink to an end-device, it will always initiate the
transmission precisely at the beginning of one of those two receive windows.
6.2.5 Join-accept message
The network server will respond to the join-request message with a join-accept message if
the end-device is permitted to join a network. The join-accept message is sent like a normal
downlink but uses delays JOIN_ACCEPT_DELAY1 or JOIN_ACCEPT_DELAY2
Regarding your second point, I have to validate this, but you might be right. Initially, I've only tested with the RN2483 which doesn't give any "debug" info. On an IM880A-L node, I only see incoming packets for the second rx window (in WiMOD LoRaWAN EndNode Studio). Which confirms what you're saying:

I was expecting that the packet_forwarder would build up a queue since this is what is put into the logs (when compiled with debug output):
INFO: [down] a packet will be sent on timestamp value 332621236
<IP_ADDRESS>.d3.5f.d<IP_ADDRESS>.c.<IP_ADDRESS>.<IP_ADDRESS>.8e.<IP_ADDRESS>.fb.f7.dc.71.end
INFO: [down] PULL_RESP received :)
INFO: [down] a packet will be sent on timestamp value 333621236
<IP_ADDRESS>.e2.a<IP_ADDRESS>.9c.c.<IP_ADDRESS>.<IP_ADDRESS>.8e.<IP_ADDRESS>.fb.f7.dc.71.end

Putting this logic into the Semtech Bridge domain feels wrong to me, since this queue is really in the packet_forwarder domain. When implementing this into the Semtech Bridge, I would have to take into account the network latency to the gateway as well, making it really tricky to time.

I agree that implementing this on Semtech Bridge will not be easy. Some antennas might be connected through very latent networks. Sometimes it will be impossible to know this in advance (maybe right now the antenna is connected through the slow backup connection), but miscalculating the latency might lead to packet loss. I would expect the packet forwarder to have a queue of a reasonable size. After all the maximum number of packets that can be send for a given period of time is limited by the duty cycle, thus a good value for the queue size can be derived.

First point has been fixed in 2604fc64f3e8d6a3a4836d66c320e623133445b1.

@gzwsc2007 just heard (on TTN Slack) that the queuing will be handled better in the next version of packet_forwarder 😄

@brocaar Thanks for the update! Regarding the packet_forwarder log, the messages only meant that the packets have been shoved into the SX1301, not that they were actually sent out. In the case of the example, the first packet is likely to have been lost.
@Mehradzie As far as I know, at this stage custom gateway binaries are preferred to the semtech packet_forwarder. For example, Loriot.io provides their own implementation of gateway binaries for different gateway platforms. I guess the Semtech one is just too basic for real-world usage?? (e.g. It uses UDP; no encryption for server communication; and it does not queue downlink messages..)

@gzwsc2007 yes, I do realise that now. A nice project would be to build a packet forwarder which directly forwards over MQTT, so that the LoRa Semtech Bridge isn't needed anymore 😉
Side-note: I just tagged 0.6.0: http://loraserver.readthedocs.org/en/latest/changelog/#060. Thanks for your feedback!

emmm... can't believe how much stuff came our of this simple conversation. good thinking @gzwsc2007. i am glad we had this chat.
@brocaar, I am very-very new to Go and years worth of developing on C# left me with lots of old habits (which die hard as we know :D still put semicolons on every line; however, I am happy to kick-start a new packet-forwarder project with the MQTT and encryption etc, etc.
But most importantly would like to know you guys' opinion on the fact that:
Now that Semtech is working on a superior packet forwarder and Lora-Semtech-Bridge is quite matured by now, is it worth the effort to develop such a packet forwarder?
I mean I am looking for the smallest excuse to get even more involved in this even if you think it remotely worth it :D

@Mehradzie I am still quite skeptical about how well Semtech can improve their existing packet_forwarder, so I would say it is worthwhile to develop a new one. However, my concern is that will this overlap with what TTN is doing? If I remember correctly TTN also plans to develop custom gateway software such that part of the processing can be offloaded to the gateway. (And of course, this allows more features like encryption and queuing etc.)

Hi, to know the new packet_forwarder, see commits in the developer branch: https://github.com/Lora-net/packet_forwarder/commit/0a4413a6e79bb6ea29036882ec4a151ef0e0bdca
Yes, they implemented a queue for inmediate downlink and/or timed downlink.
About Lora-Semtech-Bridge, it is intended to run into the gateway or in a server? My bet is for the gateway, to translete locally between UDP and MQTTT, encryption, autentication, remote management of the gateway...

Hi,
My bet is that lora-semtech-bridge should run on the server as it seems intended to be able to serve multiple gateways.
As for the encryption, here are some problems I see. It does not seem right to me that anybody could tell the gateway to send a packet, that's for sure. On the data up side things are also not great, Trying to impersonate a gateway could lead to some form of DoS attack. Those problems could be resolved without full message encryption (an attacker can listen to all the traffic from the gateway anyway), although full message encryption might still be useful.
My two cents.

@nestorayuso it shouldn't matter how you run it, you can:

run one Semtech Bridge and connect multiple gateways to it
run multiple Semtech Bridge instances and connect multiple gateways to each instance (e.g. through a loadbalancer. Make sure that the straffic of the same gateway will be forwarded to the same Semtech Bridge instance each time)
run the Semtech Bridge on the gateway itself

Semtech Bridge will subscribe to the topic(s) for each gateway it maintains a connection for, so each of the above case should work.

Given that the next packet_forwarder will solve the queueing problem, I'm closing this issue.

Hi Orne,
I have moved to the latest release and I can see that Window 2 is fully removed now :( which was commented out in the couple of previous releases and I was manually enabling it back before making the project.
I honestly think there is a misunderstanding here. If you've based your decision on the following two sections this might be just simply misreading the standard. (Although out understanding from it is still based on an interpretation)

3.3.5 Network sending a message to an end-device
If the network intends to transmit a downlink to an end-device, it will always initiate the
transmission precisely at the beginning of **one **of those two receive windows.
6.2.5 Join-accept message
The network server will respond to the join-request message with a join-accept message if
the end-device is permitted to join a network. The join-accept message is sent like a normal
downlink but uses delays JOIN_ACCEPT_DELAY1 or JOIN_ACCEPT_DELAY2

This is the conclusion we came down to when this has been brought up couple of weeks ago among the team.

3.3.5 Network sending a message to an end-device
If the network intends to transmit a downlink to an end-device, it will always initiate the
transmission precisely at the beginning of one of those two receive windows.

I'd say the writer is stressing on the precise moment of transmission rather than pointing out that only one windows is to be used.
6.2.5 Join-accept message
The network server will respond to the join-request message with a join-accept message if
the end-device is permitted to join a network. The join-accept message is sent like a normal
downlink but uses delays JOIN_ACCEPTDELAY1 or JOINACCEPT_DELAY2  (instead of  17
RECEIVE_DELAY1 and RECEIVEDELAY2, respectively).
The writer is trying to point out to the reader that the correct delay is the JOINACCEPT_DELAY not the RECEIVE**_DELAY.

I still think that only one receive window must be used. Some of the ism bands have duty-cycle constraints. Through the CFlist (join-accept) it is possible to provision the node with different channels on different sub-bands. This has not been implemented yet, but in this case I think it is up to the network-server to find out which receive window can be used for transmission. E.g. based on duty-cycle limitations, the gateway is not allowed to transmit on the channel for rx1, but it is allowed to transmit on the channel used for rx2.
Letting the gateway transmit on both receive window would limit the capacity of the gateways.

Yes,  it is up to the network-server to use RX1 or RX2 per node, per group, per client or per application (but the network-server can't use use both RX1 and RX2 for a single node for the same uplink).
But why there are two receive windows? to adapt better to use case, circumstances, duty-cycle limitations or regulations.
Generally it is better to use RX1, it is more spectrum and energy efficient, if uplink uses ADR, the downlink will use ADR implicitly. Instead RX2 is stuck to slowest data rate.
In EU868, RX2 benefits for the higher duty-cycle (10% in 869.525MHz, compared to 1% or 0.1%). Other benefit depending on regulation, is the possibility to use a gateway in full-duplex mode if uplink frequencies are far away from RX2 frequency (not the case in EU but possible in US).
And remember Class-B and Class-C use and must use RX2.

Totally agreed, but I am thinking rather than removing the Window 2 code completely, could we implement a compile time parameter or something to choose between the two? :innocent:
I honestly didn't mind having it there commented out so I could go enable it when I want to try the Window 2 functionality on the newly designed end-node. :smile:

It was removed since the code was outdated after the lorawan/band cleanup, not because I'm not planning to support receive window 2 in the future 😄

The new packet forwarder has been released (with just-in-time scheduling)! https://github.com/Lora-net/packet_forwarder/releases/tag/v3.0.0
I think before we can use the new packet forwarder, I need to make some changes to the Semtech Bridge because of the protocol changes. I'll look into that this Friday.

Thanks
On 8 Jun 2016 10:21 pm, "Orne Brocaar"<EMAIL_ADDRESS>wrote:

The new packet forwarder has been released (with just-in-time scheduling)!
https://github.com/Lora-net/packet_forwarder/releases/tag/v3.0.0
I think before we can use the new packet forwarder, I need to make some
changes to the Semtech Bridge because of the protocol changes. I'll look
into that this Friday.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/brocaar/loraserver/issues/14#issuecomment-224572510,
or mute the thread
https://github.com/notifications/unsubscribe/AHHeuCmrdoQn4OaxRk-scdIoJvg-jmtZks5qJrPigaJpZM4IQfGC
.

Haha... didn't think the reply through my Pebble watch will end up here :watch: :laughing:
That would be great Orne... This is a big limitation atm and I have been waiting for their team to publish that queue enabled edition.

I've implemented the new Semtech UDP protocol v2, meaning you can update your packet_forwarder to version 3.0.0 with the just-in-time scheduling!

LoRa Semtech Bridge
Semtech UDP protocol version
Note

1.x.x
1

2.x.x
2
This protocol is used since version 3.0.0 of the packet_forwarder

https://github.com/brocaar/lora-semtech-bridge

That's fantastic news. Thanks heaps
On 10 Jun 2016 11:42 pm, "Orne Brocaar"<EMAIL_ADDRESS>wrote:

I've implemented the new Semtech UDP protocol v2, meaning you can update
your packet_forwarder to version 3.0.0 with the just-in-time scheduling!
LoRa Semtech Bridge Semtech UDP protocol version Note
1.x.x 1
2.x.x 2 This protocol is used since version 3.0.0 of the packet_forwarder
https://github.com/brocaar/lora-semtech-bridge
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/brocaar/loraserver/issues/14#issuecomment-225185072,
or mute the thread
https://github.com/notifications/unsubscribe/AHHeuNEAFEm3QCeW0QsO6XmMHiyIgoKCks5qKWnLgaJpZM4IQfGC
.

I'm going to close this issue. For the management of rx1 / rx2, I've just opened a new issue to track the progress of this feature #69.


Adopt a style guide

What are your thoughts on adopting a style guide for this project?
At Yahoo we typically recommend these:
Apple's Coding Guidelines for Cocoa
NYTimes Objective C Style Guidelines
Along with some project-specific guidance.

I agree a style guide definitely be good. We generally try to stick with the Cocoa conventions, but some of our old C habits crop up now and again. :smile: I like pretty much everything in the NYTimes style guide, save using spaces over tabs and I don't mind that the else statement are on the same line as the closing if brace like so:
if(something) {
    // do something awesome.
} else {
    // do some other awesome stuff.
}

The comment lines breaking each method is something we did again from our C days. Seemed to help with readability when writing longer functions. We can probably just update the contributing guidelines to reflect those differences. wtdy?

I do like else on a new line – at least right now – but I do waffle on that one. The comments help for sure, and I like to add a newline when there is an else if since it can get quite crowded with another conditional brand:
if(something) {
    // do something awesome.
} else if (!someComplexStatementHere) {
    // do some other awesome stuff.
} else {
    // do some other awesome stuff.
}```

agreed. I say we go with your second example as I like newline. I will update the guide accordingly.


No attribute 'version' error of IPython kernel when importing pandas automatically

Description
What steps will reproduce the problem?

Install latest numpy and pandas via Anaconda
Open Spyder (3.0.1)

What is the expected output? What do you see instead?
It should have started the IPython kernel, yet failed.
Please provide any additional information below
When importing pandas in IPython or Python REPL in an external shell, no such an error.
When importing pandas in internal Python REPL built in Spyder, error prompted.
External IPython shell:
In [1]: %paste
from pandas.compat.numpy import *

## -- End pasted text --

In [2]: np.version
Out[2]: <module 'numpy.version' from 'C:\Users\Lumit\Anaconda\lib\site-packages\numpy\version.pyc'>

In [3]: np.version.short_version
Out[3]: '1.11.0'

This is the traceback of Python console.
Internal shell:
>>> import pandas
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\Lumit\Anaconda\lib\site-packages\pandas\__init__.py", line 22, in <module>
    from pandas.compat.numpy import *
  File "C:\Users\Lumit\Anaconda\lib\site-packages\pandas\compat\numpy\__init__.py", line 10, in <module>
    _np_version = np.version.short_version
AttributeError: 'module' object has no attribute 'version'

IPython kernel shell when booting:
Traceback (most recent call last):
  File "C:\Users\Lumit\Anaconda\lib\threading.py", line 801, in __bootstrap_inner
    self.run()
  File "C:\Users\Lumit\Anaconda\lib\site-packages\spyder\widgets\externalshell\monitor.py", line 495, in run
    self.update_remote_view()
  File "C:\Users\Lumit\Anaconda\lib\site-packages\spyder\widgets\externalshell\monitor.py", line 379, in update_remote_view
    remote_view = make_remote_view(ns, settings)
  File "C:\Users\Lumit\Anaconda\lib\site-packages\spyder\widgets\variableexplorer\utils.py", line 480, in make_remote_view
    more_excluded_names=more_excluded_names)
  File "C:\Users\Lumit\Anaconda\lib\site-packages\spyder\widgets\variableexplorer\utils.py", line 459, in get_remote_data
    supported_types = get_supported_types()
  File "C:\Users\Lumit\Anaconda\lib\site-packages\spyder\config\base.py", line 370, in get_supported_types
    from pandas import DataFrame, Series
  File "C:\Users\Lumit\Anaconda\lib\site-packages\pandas\__init__.py", line 22, in <module>
    from pandas.compat.numpy import *
  File "C:\Users\Lumit\Anaconda\lib\site-packages\pandas\compat\numpy\__init__.py", line 10, in <module>
    _np_version = np.version.short_version
AttributeError: 'module' object has no attribute 'version'

Version and main components

Spyder Version: 3.0.1
Python Version: 2.7.12
Qt Versions: 4.8.6, PyQt4 (API v2) 4.10.4 on Windows

Dependencies
jedi >=0.8.1     :  0.8.1 (OK)
matplotlib >=1.0 :  1.4.3 (OK)
nbconvert >=4.0  :  4.0.0 (OK)
numpy >=1.7      :  1.11.0 (OK)
pandas >=0.13.1  :  0.19.0 (OK)
pep8 >=0.6       :  1.6.2 (OK)
pyflakes >=0.5.0 :  0.9.2 (OK)
pygments >=2.0   :  2.0.2 (OK)
pylint >=0.25    :  1.5.4 (OK)
qtconsole >=4.2.0:  4.2.1 (OK)
rope >=0.9.4     :  0.9.4 (OK)
sphinx >=0.6.6   :  1.3.1 (OK)
sympy >=0.7.3    :  0.7.6 (OK)

Thanks for reporting. It seems a problem with Pandas 0.19.0.

@dalthviz, please take a look at this one. The report is not clear, but it seems to imply that users can't import Pandas in our Python and IPython consoles when upgrading to Pandas 0.19.0.

@ccordoba12
Any other information do you need?

Let us get things clear: so you updated Pandas, started Spyder, then tried to do an import pandas in our Python and IPython consoles, and got that error? Is that right?

Not exactly.
When opening Spyder it tried to import pandas automatically and raised such an error which resulted in IPython kernel's dying.
After uninstalling pandas, Spyder can boot normally because it doesn't try to import pandas anymore.

Ok, thanks for the clarification. Now, how did you try to import pandas automatically?

Let's check the long traceback above.
The higher level's trace shows that Spyder's variable explorer widget does this automatically when it detects pandas dependency.
I guess that's why Spyder tried to import pandas in the kernel's bootstrap phase.

Yes, I can see that, but did you modify some Spyder configuration options to import pandas automatically or not?

Nope. Everything remains default. (Tried to reinstall and reset all settings)

Ok, thanks. Things are clearer now :-)

I guess there might be a module naming np shadows np in from pandas.compat.numpy import *.

Hi, I install the latest version of pandas and numpy with conda and everything seems find. The only thing that maybe is strange is that the version of numpy that I install is 1.11.2, not 1.11.0
Here the IPython console in Spyder 3.0.1 with python 2.7 that shows the import:

@dalthviz, what if you try only
import pandas

in the IPython console? Please also try with the Python console to double check :-)

yep, no errors:

Maybe is the version 1.11.0  that makes the error to happen?, @kigawas can you try to update numpy to version 1.11.2 and tell us if the error is still there?

Already upgraded, still raise same error.
Dependencies:
jedi >=0.8.1     :  0.8.1 (OK)
matplotlib >=1.0 :  1.4.3 (OK)
nbconvert >=4.0  :  4.0.0 (OK)
numpy >=1.7      :  1.11.2 (OK)
pandas >=0.13.1  :  0.19.0 (OK)
pep8 >=0.6       :  1.6.2 (OK)
pyflakes >=0.5.0 :  0.9.2 (OK)
pygments >=2.0   :  2.0.2 (OK)
pylint >=0.25    :  1.5.4 (OK)
qtconsole >=4.2.0:  4.2.1 (OK)
rope >=0.9.4     :  0.9.4 (OK)
sphinx >=0.6.6   :  1.3.1 (OK)
sympy >=0.7.3    :  0.7.6 (OK)

What if you run in a terminal these commands:
conda install -f numpy
conda install -f pandas

?

Also you restarted Spyder after the upgrade?

Unfortunately it still complained about this error.

And what if you run in a terminal this command to reinstall Spyder:
conda install -f spyder

?

Nobody else has complained about this problem, so i think it's an installation issue.
Sorry, but since there's nothing else we can do about this issue, I'm closing it.

For what it's worth, after installing pandas and spyder using dnf on Fedora24, I see this exact same problem, and spyder fails to launch.


Add Slither scanning and Echidna fuzzing

Overview
I would like to see the integration of Slither and Echidna into the Ape framework to enhance the security testing and auditing of smart contracts.

What I'm trying to do:
I want to leverage Slither (static analysis) and Echidna (fuzz testing) as part of the development workflow in Ape for comprehensive security analysis of Solidity smart contracts. This would allow users to detect vulnerabilities, ensure correctness, and improve the robustness of their contracts directly within the Ape environment.

Why Ape's current functionality is inadequate:
Currently, Ape does not natively support security tools like Slither and Echidna, limiting its capability for static analysis and fuzzing. This forces developers to use external tools or frameworks, leading to a fragmented development process. Integrating these tools would streamline the workflow, allowing developers to perform comprehensive audits without leaving Ape.

Specification

Slither Integration

Syntax: A new command such as ape test --slither should be introduced, which runs Slither on the target Solidity contracts within the Ape project.
Semantics:

Slither performs static analysis and outputs a detailed report, including possible vulnerabilities, code optimizations, and bug detection.
The output should be displayed within Ape’s CLI, allowing developers to quickly identify and address issues without switching environments.
Optionally, configuration files (e.g. slither.config.json, for enabling specific checks or formats) could be provided.

Echidna Integration

Syntax: A command like ape test --echidna should be implemented, which runs Echidna fuzz testing on the project's smart contracts.
Semantics:

Echidna performs property-based testing by fuzzing contract inputs to verify correctness.
It should be possible to define properties in contract files (as per Echidna's property syntax) and run these tests seamlessly from the Ape CLI.
The test results (including any failing inputs) should be displayed in the Ape output.
Allow for passing configurations such as fuzzing depth, gas limits, or time limits via command-line flags.

General Syntax

These commands can be run individually or in combination with Ape's existing testing commands (e.g., ape test --fuzz to combine Echidna with existing tests).
Both tools should be configurable through Ape's configuration files (e.g., ape-config.yaml), allowing developers to set default options for Slither and Echidna runs.

Dependencies
The implementation would likely depend on creating wrappers or plugins that bridge Ape with Slither and Echidna.

Static analysis tools like slither can be run completely independently of ape, and it's highly recommended to run slither separately since it may have conflicting dependencies with ape (slither is also a Python project)
Echidna is an excellent fuzzing engine, and you can take full advantage of it alongside any ape project. To use it, you do have to design test harnesses in solidity, and ape can ignore those test files if you use the extension .t.sol
There is a fuzzing engine for python called Hypothesis that has actually been the inspiration for many other fuzzing engines, and that is the best match for ape since you can use it inside your ape tests (which are written in Python). There is another issue to add better support for Hypothesis to ape, however there is a tradeoff since ape implements full transaction validation and chain emulation where it can be very slow in practice. More purpose-built fuzzers like Echidna will be much faster because they do not do full transaction validation or attempt to emulate the chain in any way.
Hopefully that helps you understand the landscape a bit better!

Closing this as duplicates of #363 #351 #1590


Document/support way of providing CA file needed to talk to image registry.

Mentioned this in https://github.com/pivotal/kpack/issues/196#issuecomment-547232594 but creating separate issue to give better visibility since that other issue was for different problem.
Issue is how can one supply a CA file fir secure SSL connection when taking to an image registry?
I can't see that this is documented, nor can I determine if it is supported in some way.
For an image registry hosted in the cluster, the normal CA used with secure connections internal to the registry may be used. Or a separate non public CA might be used. In either case, need a way of supplying the CA file in the secret with login credentials.

At this time we don't currently have a mechanism to provide a CA cert for the image registry.
Theoretically you could add support by adding the CA cert to a custom builder image and mounting the CA cert in the kpack controller via an init container.

I was able to successfully get kpack to connect to a private registry (Harbor) with self-signed certs.
I had to clone two images (for ClusterBuilder and BUILD_INIT_IMAGE) and then copy the CA cert file into these (in /etc/ssl/certs) and then upload them to a registry.  Then, modified the ClusterBuilder and the kpack-controller Deployment to use my custom images.
I also had to create a configmap with the CA cert data.  Then, modified the kpack-controller Deployment to create a volume using that configmap and had it mounted (in /etc/ssl/certs) to the controller container.
In all 3 cases, the filename of the CA cert is in the hashed format (e.g., 9xx2x831.0) when I put it in /etc/ssl/certs.

@p-alexisv : when you say you uploaded your custom images, did you use your private registry, or did you need to use a public registry at that point?

Cool thank you @p-alexisv ... I will update this thread to show our hack to this problem

ClusterBuilder

@p-alexisv when you say ClusterBuilder Image what image are you referring to?  In my case the builder never becomes ready because it can't pull from harbor.  I updated the build-init-image as you described but am unsure which one I need to update for the ClusterBuilder

I'm guessing this boils down to your usage of github.com/google/go-containerregistry, which we (knative/serving) use for digest resolution.  I'd wager a similar workaround to what we have documented here would work for kpack as well (though I haven't tried it): https://knative.dev/docs/serving/tag-resolution/#custom-certificates

@jeffellin You will also need to provide the ca cert to the kpack controller image

@p-alexisv can you describe in more detail the steps you've taken to add the certificates?
And what image do you mean with clusterbuilder image? Is it build-waiter?


CERTIFICATE_VERIFY_FAILED using Microsoft.SharePoint.Client package

Hi there,
first thanks for providing this package! With the new version using the native Alpine Mono Package I get the following error when I try to connect to a Sharepoint instance using the Microsoft.SharePoint.Client package. For now I went back to the old version which works fine, but would be nice to use the new version :)
Thanks,
Andi
Error: TrustFailure (Ssl error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED\n  at /home/buildozer/aports/testing/mono/src/mono-<IP_ADDRESS>/external/boringssl/ssl/handshake_client.c:1132)

Please, try installing ca-certificates and/or openssl:
apk add --no-cache ca-certificates

apk add --no-cache openssl

Thanks for the quick response, I will try this!

In order to get HTTPS to work with Mono, you have to import trusted root certificates into the Mono trust store. The following commands accomplish this. See http://www.mono-project.com/docs/faq/security/ for more information.
apk add --no-cache ca-certificates
cert-sync /etc/ssl/certs/ca-certificates.crt

I created a pull request that enables this by default for this image: https://github.com/frol/docker-alpine-mono/pull/8

@bvanreeven Thank you!


Rendering rework

I reworked many things related to the window/rendering.
Firstly, I improved the maximized/fullscreen handling to avoid weird behaviors on some platforms (see commit messages 6dc113e67b4484fa402daeeb6e6ccacb021a9eb2 and eb189ceaab80433f682e847ab5d297edde3c52a6).
Then, (as a followup of #1307 that I closed because it was not ready) I reworked the rendering to position and scale the content (and the events) manually (i.e. without using the SDL "logical size" feature). (commit a6dcbf34bade4d8d71bdac15c04ff1cd12ce9450)
It has several benefits:

it allows to avoid rounding inconsistencies between internal SDL logical size and the window size (causing 1 unexpected row/column of pixels blacks in the "optimal size")
it will make possible to draw visual feedback at the expected size (for #24 for example) in the future
above all, it fixes #15 :tada:

I am now quite confident that it works correctly.
But since it impacts heavily the rendering and the event forwarding (which must NOT be broken at all), more tests from users are welcome:

if you can, also test with a secondary screen
check that clicks are correctly applied at the right position

even if you resize so that there are black borders
both in fullscreen or maximized or normal state
with or without content rotation (Ctrl+← / Ctrl+→)

try to maximize, then fullscreen (both Ctrl+f and "expand to fullscreen", which behaves differently), rotate device, then unfullscreen (check that the window is correctly restored in maximized state), then unmaximize (check that the window is correctly restored at the correct size).
use the app normally, you could find other edge cases :)

Binaries
To simplify testing, here are binaries.
For windows users, take both scrcpy.exe and scrcpy-server, and replace them in your scrcpy v1.13 release.
For other platforms, take scrcpy-server and build only the client.

scrcpy.exe
SHA256: 7d61f31c8e33aa1b70a43b38b7c40c7e5289683a959e8426b34c3a488a385186
scrcpy-server
SHA256: 6d124307e081b8bbccc478dcf82731aad3cc994e7502197c9bae3847d3169dc7

Thank you for your feedbacks :wink:

Tried out all cases which you described. In this one I wasn't sure what it was about though:

try to maximize, then fullscreen (both Ctrl+f and "expand to fullscreen", which behaves differently), rotate device, then unfullscreen (check that the window is correctly restored in maximized state), then unmaximize (check that the window is correctly restored at the correct size).

What did you mean with "expand to fullscreen"? I tried starting it with -f, I used the cmd+f shortcut, the yellow mac maximize button, all of those worked fine.

Tried out all cases which you described. Seems like the issue is fixed on all of them!

:tada:

What did you mean with "expand to fullscreen"?

https://support.apple.com/fr-fr/guide/mac-help/mchl9c21d2be/mac

Yeah I did that, haha. All fine

It seems to work as expected (I also did more tests and received private feedbacks).
So I just merged it into dev :rocket:


Docs: isAutoDateAndTime and isAutoTimeZone returns a promise but the API chart says they return boolean

Bug
isAutoDateAndTime and isAutoTimeZone return a Promise but the API chart just says they return boolean

Javascript does not indicate promise:
https://github.com/react-native-community/react-native-device-info/blob/master/deviceinfo.js#L370
Android returns promise!
https://github.com/react-native-community/react-native-device-info/blob/master/android/src/main/java/com/learnium/RNDeviceInfo/RNDeviceModule.java#L327
And that's the only platform it is implemented on, so...
You appear to be 100% correct, dang. If you could update the typescript+flow types (if they need it) and the README that would buy an extra large internet 🍺  😆 and you would be internet famous. I believe they are all possible within the github web text editors?


Setup GithubAction with Flutter

Caso de Uso/Use Case:
If we have GitActions for Flutter set, it would be possible to check Lint, tests, etc in each PR.
Proposta/Proposal:
Creation of Gitactions for Flutter.

I would also add that when we are uploading to AppStore, ideally it should also be done by the CI (through fastlane), and not manually.
Thanks for the suggestion. Even though we aren't planning to pick this improvement for now, it will be a nice enhancement.

It would be an awesome enhancement to the project. If you have experience with Github Actions and want to contribute with the project, I suggest to open a PR with this feature, would be great to have this integration in the repo.

Closed with #18


Fix value flickering on mount

What has been done

Added initial value formatting

Fixed flash on mount #28

:tada: This PR is included in version 1.8.4 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket: