Fix typo in Windows executable filename extensions

Description of Changes

fix typo in list of Windows executable filename extensions
add .cmd as alternative to .bat files

Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: @StefRe

Thanks a lot for your contribution! We'd like to include it in our next release in the Spyder 4 series. For that, please make your branch to derive from our 4.x branch (instead of master), with the following commands:
git checkout 4.x
git checkout patch-1
git rebase --onto 4.x master patch-1
git push -f origin patch-1

If you decline to do that, your work will be part of Spyder 5, to be released at the end of 2020 or in 2021.

Thanks for the guidance, I rebased the patch as requested and changed the merge destination to 4.x (at first I was too quick in switching the base branch, sorry to have messed up the timeline of this PR with that).

at first I was too quick in switching the base branch, sorry to have messed up the timeline of this PR with that

No worries, that's fine.


How to use unique constraint effectively along with DeletedAt

Using a unique constraint on a column in a table along with DeletedAt

I have a scenario where I would like to add a unique constraint on a name column and also use DeletedAt with mysql but looks like mysql doesnt allow custom indexes like a index on name and DeleteAt which makes it a bit not straight forward since unique index on just the name fails when a row with same name is previously deleted
Expected answer
Is there an in-built way to handle unique constraints for mysql using gorm that allows me to add a same name when the previous one is soft deleted

Not a DB expert but I stumbled on your question, and looking at the gorm docs and SQL docs in general,
It should be doable, but adding a constrain in multiple fields, using Unique Indexes
eg (not really a valid sql, just what I gathered around)
CREATE UNIQUE INDEX a_unique_constrain ON your_table (name);
If I understand it correctly those 2 are considered unique and you can have them
id,name,deleted_at
1,joe,2021-01-01 10:00:00
2,joe,null
But this will also "pass"
id,name,deleted_at
1,joe,2021-01-01 10:00:00
2,joe,2022-02-02 12:00:00
This probably can be fixed with this
CREATE UNIQUE INDEX a_unique_constrain ON your_table (name) WHERE deleted_at IS NOT NULL;

That being said, I have not tested any of it, but will probably do "soon"

Not a DB expert but I stumbled on your question, and looking at the gorm docs and SQL docs in general, It should be doable, but adding a constrain in multiple fields, using Unique Indexes
eg (not really a valid sql, just what I gathered around) CREATE UNIQUE INDEX a_unique_constrain ON your_table (name);
If I understand it correctly those 2 are considered unique and you can have them
id,name,deleted_at 1,joe,2021-01-01 10:00:00 2,joe,null
But this will also "pass" id,name,deleted_at 1,joe,2021-01-01 10:00:00 2,joe,2022-02-02 12:00:00
This probably can be fixed with this CREATE UNIQUE INDEX a_unique_constrain ON your_table (name) WHERE deleted_at IS NOT NULL;
That being said, I have not tested any of it, but will probably do "soon"

@stavros-k thanks for responding but I dont think mysql supports custom indexes. I have tried this with postgres which works but not with mysql.

Looks like it does, but not sure if it supports the WHERE clause part, or it needs some other syntax
https://dev.mysql.com/doc/refman/8.0/en/create-index.html#create-index-unique


Undo index<->namespace block restrictions

Will need to do the n-way expansion during the bootstrap result construction as a result of this change.
Need it for having the flexibility to make index blocks smaller based on memory constraints.

We may want to avoid this based on talks that the ID and tags data will need to stick around anyway so having a smaller than data block size would never really help much ya?

Yep, closing per offline chat


consider adding "Exercise" to exercise boxes

makes it clearar that it's an exercise (newcomers might get confused by wrench, pen and exclamation mark boxes)
makes the exercises CTRL-F -able

Very good, yes. I've opened this one https://github.com/coderefinery/sphinx-lesson/issues/56 as it might also be helpful to have numbering well-visible (and automatic)


Generate Sphinx docs of the project and deploy as read-the-docs

decorating.readthedocs.org

Implemented on #23 and released at #25


Added new option "uploadProgressCallback" to method $bucket->upload().

It's a callable parameter which defines a callback function/method to be triggered on each successfully uploaded chunk if resumable upload is used.
The callable function/method will receive the number of uploaded bytes after each uploaded chunk as a parameter to this callable.
It's useful if you want to create a progress bar when using resumable upload type together with $chunkSize parameter.

I signed it!

I'll write a new test method to show how the new parameter cam be used. Is it good to place this test method and the callback method inside "/tests/system/Storage/UploadObjectsTest.php"?

Yes, that would be perfect, thank you!

Hey @pvm1987, sorry this has kind of fallen through the cracks. It looks like your latest commit has some issues which violate our code standards. See here in the latest Travis build. If you wouldn't mind resolving those, we'll see what we can do about getting this merged soon. :)

Hey, @jdpedrie It's done. All errors from Travis build are now fixed.


Looks like not enough balance error is not handled properly when staking

Problem

the reason for my transaction failure is an actual scenario when the balance is not enough. So the transaction failure response is throwing it properly ("The balance that can be deposited to the staking pool is lower than the extra amount."). But its not throwing to the staking UI, which might need a fix, and user keeps trying to send the 2fa in loop without knowing the actual error. JS console error: "Error: Transaction failed with return value: undefined"

Expected Behavior
UI shows error and doesn't let user just do the same thing in a loop without understanding that it is failing.
Steps to reproduce
TODO: Not reproduced yet, this is user report

Steps to reproduce

Select a validator
Attempt to stake your entire available balance
Encounter error
Attempt to stake 1 NEAR less than available balance


KAFKA-4999: Add convenience overloads to seek* methods

This contribution is my original work and I license the work to the project under the project's open source license.

Thanks for the PR. As stated in the JIRA, this would require a KIP. Closing the PR until then.


ENH: Functional workflow

Following #7, this PR focuses on compatibility with the BOLD workflows.

I'm going to merge this in now so we aren't stuck in limbo, despite it not being fully functional yet.


[event-hubs] migrate samples to v2

Followed the steps at https://github.com/Azure/azure-sdk-for-js/wiki/Samples-v2-Migration-Guide
/cc @willmtemple
Note: I moved browserSamples and expressSamples into the generated v5 samples folder since dev-tool doesn't work with those.

Updated, thanks for the tips @willmtemple!

@ramya-rao-a Now it is fixed! If you wait for https://github.com/Azure/azure-sdk-for-js/pull/15137 to be merged then you can leave me to deal with the fallout of broken links/merge conflicts.

https://github.com/Azure/azure-sdk-for-js/pull/15137 is merged! Happy merge conflicts to you!

/azp run js - eventhub - ci

Looks like there are a few more broken links...

Oh no...I fixed all the merge conflicts then reran the dev-tool publish script and it overwrote the links from main back to master.

/azp run js - eventhub - ci


PHP7 compatibility fixes required

Please replace Exception with Throwable or just remove "Exception":
monolog/src/Monolog/Formatter/LineFormatter.php:177
monolog/src/Monolog/Formatter/NormalizerFormatter.php:93
monolog/src/Monolog/Formatter/NormalizerFormatter.php:115

According to the PHP documentation for the interface Throwable, Throwable is not implementable by PHP users, it’s only an internal interface for Exception and Error (I tested to be sure, and PHP really says "PHP Fatal error:  Interface 'Throwable' not found").
Is this issue still valid given this fact? What was the initial goal?

The suggested changes would break compat with all php5 versions

Fixed in 1.x by https://github.com/Seldaek/monolog/commit/481fc4cfa17808581d113673e7dd002b06dcc100

Nice! Thanks :)


Add color to the prompt asking for username

Entering the username for UID 1000 is where the automated setup process end
normally. Some users may not see the prompt since it mixes with the large amount
of other output. Add a color here just in case they don't notice it.
Patched according to #1664

https://github.com/dnschneid/crouton/issues/1770#issuecomment-103969410 proves we really need this one. See the last a few lines of that reply.
And I will wait for #1710 first.

I would like that :smile:

Me too but it's been awfully quiet on the home front of late, hope everyone and everyting is okay...

Ok so sorry that it took me half a year to think of I still have this pull request here.:P It has been updated.

Well, it took me half a year to notice a typo in the commit :)


[video_player] Expose VideoScrubber so it can be used to create custom video timelines

Use case
I wanted to make a custom video timeline, and I didn't feel like rewriting this widget that already exists and works
Proposal
Make the VideoScrubber widget public

This was released in https://pub.dev/packages/video_player/changelog#250


Add - Cryptonator Exchange Rates API

Thank you for taking the time to work on a Pull Request for this project!
To ensure your PR is dealt with swiftly please check the following:

[x] Your submissions are formatted according to the guidelines in the contributing guide.
[x] Your changes are made in the README file, not the auto-generated JSON.
[x] Your additions are ordered alphabetically.
[x] Your submission has a useful description.
[x] Each table column should be padded with one space on either side.
[x] You have searched the repository for any relevant issues or PRs.
[ ] Any category you are creating has the minimum requirement of 3 items.

Hi @shakyink , thanks for the PR! I've been trying this link for some time and I keep getting a 504 status code on their nginx reverse proxy. Will check again soon, otherwise we'll have to close this since there's no working service to add.

Thanks!


UTF-8 codes > 3 bytes are not currently supported?

  File "D:\Python27\lib\site-packages\pydot.py", line 2024, in create
    status, stderr_output) )
InvocationException: Program terminated with status: 1. stderr follows: Error: U
TF8 codes > 3 bytes are not currently supported. Or perhaps "-Gcharset=latin1" i
s needed?

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 8 Nov 2012 at 6:45

This appears to be a limitation of GraphVIz, not a pydot issue, as it appears from here: http://www.graphviz.org/content/handling-special-characters.


"SWIFT_OPTIMIZATION_LEVEL" setting is being ignored

If I have something like this in my Cakefile:
target.debug_configuration :Debug do |configuration|     configuration.settings["SWIFT_OPTIMIZATION_LEVEL"] = "-Onone" end
Then this setting is not set in the result project file (stays default).

@maximkhatskevich I've noticed this too. Does this work for the other settings like Release or does this effect them all.
This is the same project you gave me right ?

All other settings seems to be working well, if I notice anything else - I'll report for sure. It's in my work project.

@jcampbell05 it looks like any flags that I set per configuration are ignored by Xcake, they are not set after I run Xcake.
For example, I have this inside my target configuration:
target.debug_configuration :Debug do |configuration|
    #=== Common

    configuration.settings["VALIDATE_PRODUCT"] = "NO"
    configuration.settings["COPY_PHASE_STRIP"] = "NO"

    configuration.settings["ONLY_ACTIVE_ARCH"] = "YES"
    configuration.settings["ENABLE_TESTABILITY"] = "YES"
    configuration.settings["GCC_OPTIMIZATION_LEVEL"] = "0"
    configuration.settings["OTHER_CFLAGS"] = "$(inherited)"
    configuration.settings["ENABLE_NS_ASSERTIONS"] = "YES"

    # configuration.settings["DEBUG_INFORMATION_FORMAT"] = "dwarf-with-dsym" # "dwarf"
    configuration.settings["SWIFT_OPTIMIZATION_LEVEL"] = "-Onone"

    #=== Config

    configuration.settings["GCC_PREPROCESSOR_DEFINITIONS"] = "$(inherited) CONFIG_" + configuration.name.upcase + "=1" # Obj-C support
    configuration.settings["OTHER_SWIFT_FLAGS"] = "$(inherited) -DCONFIG_" + configuration.name.upcase # Swift support

    configuration.settings["PROVISIONING_PROFILE"] = "XXXX" # dev

    #=== Config - User Defined Build Settings

    configuration.settings["BRANCH_KEY"] = "YYYY"
    configuration.settings["FACEBOOK_KEY"] = "WWWW"
end

None of these flags are set in a freshly made project file for this target/configuration after I run Xcake. Please help. It looks like core functionality regression!

Oooo yeah that defiantly looks like one. I'll work on a unit test for this as well as fixing the swift to no be optimised for non-release builds.
I wonder if its the way you're accessing the configuration too.
I've been able to override settings like BITCODE.

It seems like it works when I access configuration like this:
target.all_configurations.each do |configuration|
    configuration.settings["ENABLE_BITCODE"] = "NO"

end
but it does not work when I access them later one by one like this:
target.debug_configuration :Debug do |configuration|
configuration.settings["SWIFT_OPTIMIZATION_LEVEL"] = "-Onone"

end

Hmm I I wonder if there is some subtle behaviour with the
target.debug_configuration :Debug do |configuration|
In theory it should return the same configuration but I wonder if there is a regression where it makes a new configuration or returns a copy of the configuration but doesn't modify the actual configuration itself. I'll dig into this.

Yes, please. If it's something that's hard (or takes long time) to fix - it would be good to know what is the latest previous version of Xcake that has not that issues and still safe to use with latest Xcode. Thanks!

@maximkhatskevich Looking into this right now, trying to narrow down the precise issue so I can implement a unit test to fix this.

thank you! Sure, see attached
Cakefile.txt

@maximkhatskevich Just ran it on my system and it seems to pick the correct build settings up can you tell me which version of xcake you are using ?
Just run xcake --version

0.6.18

Xcode 7.3.1

Btw, I run via Fastlane, try that approach too, maybe it's fastlane plugin issue? I'll try without fastlane and let you know.

Fastlane does not change anything, it still does not work. Still ignores properties set to a specific configuration, only flags that set inside "target.all_configurations.each" block are presented

It definitely gives me a copy of configuration when I access it like this: "target.debug_configuration :Staging do |configuration|" and never apply made changes to real project configurations. But I think I found a solution/workaround - inside "target.all_configurations.each" block use "if configuration.name == 'MyConfiguration1' do  end".

Ohh weird, so the all_configurations works.

Yes, "all_configurations" was working all the time. After I complete experiments with my Cakefile - I'll definitely update documentation for the project, will put real world comprehensive example Cakefile with comments. Hope fully will find time for this this weekend. So I'm good so far, don't worry. Thank you for your help - your assumption about "copy that never apply settings back to real configurations" was right and helped me find this solution. I appreciate your help, man!

@maximkhatskevich  no problem, thank you for using this tool and putting up with the bugs you find.


Logo

dod: new logo for maturaballmanager designed and used in app (using the school colours)

reviewed: done, nice logo


hi，how to finetune based on the models that have been trained？

i have trained the model on my own data, but i want to increase the train data and retrain my model like finetune in caffe.
i dont kown how to do it.
anyone can resolve it! thanks

You can use --resume to load previous trained model (prefix should be final-0000.params).
Check train_rpn.py and train_maskrcnn.py in rcnn/tools

Have you retrained your model successfully? I also want to retrain my model. I have no idea how to do


Parse FontFamily Correctly

Currently, the OpenLayers's font family is taken as it is (see here). While on MFP, it needs fontWeight, fontSize, and fontFamily separately.
Based on the documentation here, the font on OpenLayers is defined as CSS font. So we need to parse it correctly.

Fixed in #34 .


Prepare next Dev Cycle v1.80.0-dev

How to categorize this PR?

/kind enhancement
What this PR does / why we need it:
Prepare next Dev Cycle v1.80.0-dev
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

NONE

/lgtm
/approve

/retest


Use python-xxhash instead of sha256

That should be straightforward to do, pooch supports the python-xxhash bindings.
The docs even have this nice example about how to use it, you just append xxh128: to the start of the hash.
https://www.fatiando.org/pooch/latest/hashes.html#other-supported-hashes
import datetime
import pooch

# Get the current data to store the files in separate folders
CURRENT_DATE = datetime.datetime.now().date()

GOODBOY = pooch.create(
    [...],
    registry={
        "store.zip": "xxh128:6a71973c93eac6c8839ce751ce10ae48",
    },
)

Originally posted by @GenevieveBuckley in https://github.com/computational-cell-analytics/micro-sam/issues/36#issuecomment-1809426270

cc @hfmaark , we have implemented download via pooch now (merged onto the dev branch). A contribution would be welcome in case you want to look into this.

on it. Gotta download all the file first....

openssl sha256 vit_h: 1.7 seconds
xxh128sum vit_t 0.3 seconds

the timing will really vary based on whether or not the file has been cached.

Done in #284.

From 0.5 onwards (will be released soon!) we will use xxhash as default and include it in the dependencies.


WIP: Relates to #85. Setup TogetherJS

This is an optional addon. I haven't done anything other than following TogetherJS's quickstart. If anyone wants to take this further, go for it!
This could be used for p2p matching of participants and asking for help
Screenshot of base functionality:

This is really cool. Have you tried what it looks like with two users?

I haven't tried it other than just setting up the bare minimum and briefly reading the docs. Kirill suggested it. You can create a room and have everyone on the same room join it. If you think it could be helpful I'm happy to look into it further.

Let's try it when I am back. I like the idea!

Spent some time trying TogetherJS with Wei, and in general it didn't work so well.
Instead we have embedded Gitter Sidecar, which while not as feature rich, does the main task cleaner I think.

Easy access chat that hides
Room history

Would kill for:

Polls
Better customization/integration of the chat into the page
Custom chat or chat context per page of the tutorial


Can't use with -Zsanitizer=address

~I'm trying to build my lib with AddressSanitizer, for this I'm using nightly and RUSTFLAGS=-Zsanitizer=address. Weirdly, that gives me the following error~

Sorry, I missed rust-lang/rust#132109


[BitSet] Fix invariant violation in member subscript

The BitSet.subscript(member:) setter had an (in retrospect) obvious invariant violation when the update deleted the maximum item in the set.
(This was already covered by the existing tests, although they need to be run with internal consistency checking enabled.)
Checklist

[X] I've read the Contribution Guidelines
[X] My contributions are licensed under the Swift license.
[X] I've followed the coding style of the rest of the project.
[ ] I've added tests covering all new code paths my change adds to the project (if appropriate).
[ ] I've added benchmarks covering new functionality (if appropriate).
[X] I've verified that my change does not break any existing tests or introduce unexplained benchmark regressions.
[ ] I've updated the documentation if necessary.

@swift-ci test


kubernetes: handle new pod restartPolicy format

This patch adds the support of the new restartPolicy format:
https://github.com/GoogleCloudPlatform/kubernetes/issues/3607
Until we're sure that everyone updated their kubernetes instance (probably until v1.0 is officially released) it's better to handle both.

/cc @abonas @Fryguy @blomquisg

Are there specs for this?  On that note are there any kube VCR specs?  cc @abonas

Are there specs for this? On that note are there any kube VCR specs? cc @abonas
@Fryguy
we will start the vcr effort soon


could not connect to server: No route to host

Hi, when I tried to First time set-up, this error came up everytime. What should I do to fix this problem?

root@ubuntu00:/home/belle/Documents/metadome/metadome# docker-compose run app python install.py
Starting metadome_db_1       ... done
Starting metadome_redis_1    ... done
Starting metadome_rabbitmq_1 ... done
Starting metadome_celery_1   ... done
Creating metadome_app_run    ... done
2021-08-03 08:51:14,163 - WARNING - MAILSERVER is not set in default_settings.py
Traceback (most recent call last):
File "/usr/local/lib/python3.5/site-packages/sqlalchemy/engine/base.py", line 2262, in _wrap_pool_connect
return fn()
File "/usr/local/lib/python3.5/site-packages/sqlalchemy/pool/base.py", line 354, in connect
return _ConnectionFairy._checkout(self)
File "/usr/local/lib/python3.5/site-packages/sqlalchemy/pool/base.py", line 751, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File "/usr/local/lib/python3.5/site-packages/sqlalchemy/pool/base.py", line 483, in checkout
rec = pool._do_get()
File "/usr/local/lib/python3.5/site-packages/sqlalchemy/pool/impl.py", line 138, in _do_get
self._dec_overflow()
File "/usr/local/lib/python3.5/site-packages/sqlalchemy/util/langhelpers.py", line 68, in exit
compat.reraise(exc_type, exc_value, exc_tb)
File "/usr/local/lib/python3.5/site-packages/sqlalchemy/util/compat.py", line 129, in reraise
raise value
File "/usr/local/lib/python3.5/site-packages/sqlalchemy/pool/impl.py", line 135, in _do_get
return self._create_connection()
File "/usr/local/lib/python3.5/site-packages/sqlalchemy/pool/base.py", line 299, in _create_connection
return _ConnectionRecord(self)
File "/usr/local/lib/python3.5/site-packages/sqlalchemy/pool/base.py", line 428, in init
self.__connect(first_connect_check=True)
File "/usr/local/lib/python3.5/site-packages/sqlalchemy/pool/base.py", line 630, in __connect
connection = pool._invoke_creator(self)
File "/usr/local/lib/python3.5/site-packages/sqlalchemy/engine/strategies.py", line 114, in connect
return dialect.connect(*cargs, **cparams)
File "/usr/local/lib/python3.5/site-packages/sqlalchemy/engine/default.py", line 453, in connect
return self.dbapi.connect(*cargs, **cparams)
File "/usr/local/lib/python3.5/site-packages/psycopg2/init.py", line 130, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: could not connect to server: No route to host
Is the server running on host "metadome_db_1" (<IP_ADDRESS>) and accepting
TCP/IP connections on port 5432?
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "install.py", line 6, in
from metadome.application import app
File "/usr/src/app/metadome/application.py", line 3, in
app = create_app()
File "/usr/src/app/metadome/factory.py", line 72, in create_app
db.create_all()
File "/usr/local/lib/python3.5/site-packages/flask_sqlalchemy/init.py", line 963, in create_all
self._execute_for_all_tables(app, bind, 'create_all')
File "/usr/local/lib/python3.5/site-packages/flask_sqlalchemy/init.py", line 955, in _execute_for_all_tables
op(bind=self.get_engine(app, bind), **extra)
File "/usr/local/lib/python3.5/site-packages/sqlalchemy/sql/schema.py", line 4287, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/usr/local/lib/python3.5/site-packages/sqlalchemy/engine/base.py", line 2032, in _run_visitor
with self._optional_conn_ctx_manager(connection) as conn:
File "/usr/local/lib/python3.5/contextlib.py", line 59, in enter
return next(self.gen)
File "/usr/local/lib/python3.5/site-packages/sqlalchemy/engine/base.py", line 2024, in _optional_conn_ctx_manager
with self._contextual_connect() as conn:
File "/usr/local/lib/python3.5/site-packages/sqlalchemy/engine/base.py", line 2226, in _contextual_connect
self._wrap_pool_connect(self.pool.connect, None),
File "/usr/local/lib/python3.5/site-packages/sqlalchemy/engine/base.py", line 2266, in _wrap_pool_connect
e, dialect, self
File "/usr/local/lib/python3.5/site-packages/sqlalchemy/engine/base.py", line 1536, in _handle_dbapi_exception_noconnection
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/usr/local/lib/python3.5/site-packages/sqlalchemy/util/compat.py", line 383, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/usr/local/lib/python3.5/site-packages/sqlalchemy/util/compat.py", line 128, in reraise
raise value.with_traceback(tb)
File "/usr/local/lib/python3.5/site-packages/sqlalchemy/engine/base.py", line 2262, in _wrap_pool_connect
return fn()
File "/usr/local/lib/python3.5/site-packages/sqlalchemy/pool/base.py", line 354, in connect
return _ConnectionFairy._checkout(self)
File "/usr/local/lib/python3.5/site-packages/sqlalchemy/pool/base.py", line 751, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File "/usr/local/lib/python3.5/site-packages/sqlalchemy/pool/base.py", line 483, in checkout
rec = pool._do_get()
File "/usr/local/lib/python3.5/site-packages/sqlalchemy/pool/impl.py", line 138, in _do_get
self._dec_overflow()
File "/usr/local/lib/python3.5/site-packages/sqlalchemy/util/langhelpers.py", line 68, in exit
compat.reraise(exc_type, exc_value, exc_tb)
File "/usr/local/lib/python3.5/site-packages/sqlalchemy/util/compat.py", line 129, in reraise
raise value
File "/usr/local/lib/python3.5/site-packages/sqlalchemy/pool/impl.py", line 135, in _do_get
return self._create_connection()
File "/usr/local/lib/python3.5/site-packages/sqlalchemy/pool/base.py", line 299, in _create_connection
return _ConnectionRecord(self)
File "/usr/local/lib/python3.5/site-packages/sqlalchemy/pool/base.py", line 428, in init
self.__connect(first_connect_check=True)
File "/usr/local/lib/python3.5/site-packages/sqlalchemy/pool/base.py", line 630, in __connect
connection = pool._invoke_creator(self)
File "/usr/local/lib/python3.5/site-packages/sqlalchemy/engine/strategies.py", line 114, in connect
return dialect.connect(*cargs, **cparams)
File "/usr/local/lib/python3.5/site-packages/sqlalchemy/engine/default.py", line 453, in connect
return self.dbapi.connect(*cargs, **cparams)
File "/usr/local/lib/python3.5/site-packages/psycopg2/init.py", line 130, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) could not connect to server: No route to host
Is the server running on host "metadome_db_1" (<IP_ADDRESS>) and accepting
TCP/IP connections on port 5432?
(Background on this error at: http://sqlalche.me/e/e3q8)
ERROR: 1

Hi Gaspardetlisa,
Apologies for not responding sooner, I just transitioned to a new job + location.
I have succesfully recreated this error and am working on this the coming few weeks.
I assume it has to do with the first time server setup of the db instance of the docker-compose file.
Will update when I know more.


Please consider switching to flit_core

I'm the @Gentoo maintainer for core Python packages. We're currently considering options for bootstrapping setuptools while unvendoring its dependencies in the PEP 517 world. One of the interesting options is to use flit as it has much fewer dependencies than setuptools and we've got its bootstrap trivially covered.
Using flit as ordered-set's build system would mean that we can cleanly install it before building setuptools. Flit can also generate a backwards-compatible setup.py (or be used alongside setup.py, though for this to work for us pyproject.toml would have to specify flit_core as the build-backend). FWICS it is becoming increasingly popular these days.
Would you be interested in this? If yes, then I can prepare a PR either converting the project to flit entirely, or adding it alongside existing setup.py, as you prefer.

Sounds reasonable. I've been working on getting away from setuptools in some of my other projects, and part of the reason I've been reluctant to make ordered-set anything but a single module is that all the extra complexity seemed to come from setuptools.
I haven't tried flit yet, but I'm now familiar with poetry, and it's the first thing I've seen that makes me want to rework this package and the way it's installed. Would it help if I used poetry?

Unfortunately, no. Poetry's got even worse dependency hell than setuptools.

Sounds reasonable, but flit appears to forbid package names with hyphens in them.
Renaming the package someday is something to consider, given how its usage has diverged from Python's OrderedDict that came later. But then nobody would know about the new package.

For what it's worth, it's been pretty clear over the years that it's a never-ending struggle to package even a single Python module in a way that meets everyone's needs, especially when the needs include "use setuptools" and "don't use setuptools". But maybe it's not necessary to meet everyone's needs with one packaging system.
Here's a possibly convenient thing about ordered-set: it's a single Python file. The original packaging was "here, copy this Python file into your package". setuptools weirdified it a bit, but it's still possible. Maybe gentoo can figure out packaging based on that.

It looks like Flit once supported having a different dist-name than your importable package name, but it didn't make it into pyproject.toml? This is confusing.

Unless I'm misunderstanding something, the following should work:
[project]
name = "ordered-set"

# ...

[tool.flit.module]
name = "ordered_set"

For what it's worth, it's been pretty clear over the years that it's a never-ending struggle to package even a single Python module in a way that meets everyone's needs, especially when the needs include "use setuptools" and "don't use setuptools". But maybe it's not necessary to meet everyone's needs with one packaging system.

I understand your point. However, there's no harm asking, right?

Here's a possibly convenient thing about ordered-set: it's a single Python file. There's nothing that actually needs to be built. The packaging is all for the sake of building other things.
The original packaging was "here, copy this Python file into your package". setuptools weirdified it a bit, but it's still possible. Maybe gentoo has a way to wrap one python file in a Gentoo package for its own purposes.

Unfortunately, it's not that simple. Without the metadata generated by modern build systems the package won't be detected as installed and various packages depending on it via install_requires and their equivalents won't work.

I do like flit's simplicity if it works. The settings you provided seem to do the job (though that was hard to find in their documentation).

Not sure if we were looking at the same docs but it's under "New style metadata": https://flit.readthedocs.io/en/latest/pyproject_toml.html#new-style-metadata

name
The name your package will have on PyPI. This field is required. For Flit, this also points to your package as an import name by default (see Module section if that needs to be different).

If it helps, I have written a full pyproject.toml file with flit backend. The information is taken from setup.py
I have taken my liberty and added classifiers until python 3.10
[build-system]
requires = ["flit_core >=3.4,<4"]
build-backend = "flit_core.buildapi"

[project]
name = "ordered-set"
version = "4.0.2"
description = "A set that remembers its order, and allows looking up its items by their index in that order."
authors = [
    {name = "Robyn Speer", email =<EMAIL_ADDRESS>]
readme = "README.md"
classifiers = [
    "Development Status :: 5 - Production/Stable",
    "Intended Audience :: Developers",
    "License :: OSI Approved :: MIT License",
    "Programming Language :: Python",
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.6",
    "Programming Language :: Python :: 3.7",
    "Programming Language :: Python :: 3.8",
    "Programming Language :: Python :: 3.9",
    "Programming Language :: Python :: 3.10",
    "Programming Language :: Python :: Implementation :: CPython",
    "Programming Language :: Python :: Implementation :: PyPy",
]

[project.optional-dependencies]
test = [
    "pytest",
]

[project.urls]
Home = "https://github.com/rspeer/ordered-set"

[tool.flit.module]
name = "ordered_set"

I pushed 4.1, which uses flit. Thanks for the recommendation.

Thank you! It works great ;-).


Typo: ARCHITECTURE.md has three points for improvement

ARCHITECTURE.md needs the word "Indiviual" changing to "Individual".
Also, the final close-parenthesis should be followed by a full stop for consistency.
Also also, the "This" under Individual Build Jobs should be "These".

@smlambert @adamfarley can I be assigned to this issue

Thanks :)


[cmake] Use dingo's internal OpenSSL.

Remove dependence to system OpenSSL and zlib.
Now we dingo-poc only depend on such libraries:
libdl.so.2
libpthread.so.0
libstdc++.so.6
libm.so.6
libgcc_s.so.1
libc.so.6

The latest OpenSSL version we can use is 1.1.1t.
brpc do not support OpenSSL 3.x,  and 1.1.1 version will not be supported after 2023.
So there is a TODO for upgrading OpenSSL version.

Use cmake -DDINGO_BUILD_STATIC=ON ..; make -j80
We can now build dingo-poc in less then 50s, sometimes less then 40s.
And now binary only depends on:
libdl.so.2
libpthread.so.0
libm.so.6
libc.so.6
All the above libs is just included in glibc.   Dingo-poc can be distributed to any *nix style platforms,  just need to check the glibc version.


Use theme specific favicons

REDMINE-17779
It add a helper to render theme
specific favicons paced in hosted
application for scrolled entries

Coverage remained the same at 99.193% when pulling c78771bc843aae2ae08eede8523f694576da668b on UsmanMuhammad:theme-specific-favicon into 93180fde9abe03ae24b7aff37969083a44bd3b96 on codevise:master.


WIP: resampling

[ ] expand the available frequencies (MonthBegin, Week, BusinessDay, etc)
[ ] Is YearBegin the default year period in pandas?

ping @ltransom this is the resample PR

Closing to cleanup old PRs. Feel free to submit a new PR.


AMQP body type encoding examples

@chradek , I know we discussed this offline but do you mind indicating you're good (or not good) with what's in there?

(btw, this is not the final sample, just the sample to showcase the API for you to review)

I think the sample looks fine! I think in the final form I'd like to understand why we care about the bodyType (is it only while consuming and round-tripping messages?), and how we decide which bodyType to use while sending.

In this particular thing I'm only the mechanism. :)
@ramya-rao-a  and @jsquire will have better information about the why. Generally, we have been prioritizing enabling and exposing as much AMQP related functionality as possible.

@ramya-rao-a and @jsquire will have better information about the why.

In a nutshell, this is only particularly useful for interop in a heterogeneous environment or when you have some form of need to directly control the AMQP encoding for reasons specific to your application.
We would not expect 95% of library users to be aware of the AMQP details nor expect them to have a need to make decisions around how to encode the body.  Generally speaking, if you don't know what this is or why you need it,  you don't need it.


A security advisory on kramdown for version 2.3.0

Bug Description
Getting security alert email from Github.
Remediation from Github.
Upgrade kramdown to version 2.3.1 or later.
Screenshots

Thanks. PR #1416 has already been merged.

This has been released in 2.9.2.


[AMD][CanonicalizePointers] Propagate the attributes during the rewrites

This is fixing the issue where the IR was not properly vectorized in Triton (and we were relying on a backend pass which was not always able to do the right thing).
The general issue was that we were not propagating the attributes of the operation we were rewriting. The specific issue was that block argument attributes are in the for of tt.property_argi for the i-th block argument, so we needed to do a bit more work to propagate those correctly.
This PR is trying to address this problem by adding a vector of attributes to the FatPtr structure. We are not propagating the attributes, but only setting them whenever the IR had them set.

@antiagainst , @sjw36 , this is still having issue on very complex IR, so let's hold a moment before merging this in.


Resume training from a checkpoint

Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
None
OS Platform and Distribution
ubuntu
Python Version
3.10
MediaPipe Model Maker version
No response
Task name (e.g. Image classification, Gesture recognition etc.)
object detection
Describe the actual behavior
cannot resume training
Describe the expected behaviour
start training, stop it, resume from checkpoint
Standalone code/steps you may have used to try to get what you need
Is it possible to resume a training using media-pipe from a checkpoint? if so any gist that can help? also is it possible to specify a base model (like efficientdet-0, efficientdet-1, ...) to train and choose accuracy or speed? like for tflite-model-maker?

Other info / Complete Logs
No response

Hi @badziyoussef,
To accomplish this task, utilize the dedicated save_checkpoints and load_checkpoints methods designed exclusively for Object Detection Task APIs. For alternative MediaPipe Model Maker APIs, like Image Classification and Gesture Recognition, it is recommended to develop custom code in a manner similar to the available Object Detection methods.
Thank you

Hi @badziyoussef,
Could you please update us on the status of the issue? If you have no additional questions or concerns, we can proceed to close the matter and mark it as resolved.
Thank you

Hi @badziyoussef,
Could you please update us on the status of the issue? If you have no additional questions or concerns, we can proceed to close the matter and mark it as resolved.
Thank you

Hi @kuaashish
Yes we can close this issue, the response was helping.
Thank you


Comment Template Token

Hi,
I've had this patch laying around on my laptop for some time.  I thought I submitted it to you some time ago but I didn't see it applied in your files so I thought I would submit it again.
This is a very simple addition.  All this does is add tags for comments in templates.  These comment tags should be removed when the templates are processed.
Please let me know if you have any questions/comments.
Thanks,
Ryan

Thanks for the change. I merged it with the master branch


Broken HTML in documentation

There is an <a>  tag that wraps the whole Add and retrieve data in a SQLite database section. The sections after that have the same problem.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 6c591596-d202-244c-6fbf-31c288fe9b57
Version Independent ID: 1473907c-0cba-8917-2fd8-d3ca1fb73cae
Content: Use a SQLite database in a UWP app - UWP applications
Content Source: windows-apps-src/data-access/sqlite-databases.md
Product: uwp
Technology: data-and-files
GitHub Login: @lastnameholiu
Microsoft Alias: alholiu

Thanks so much for bringing this to our attention, @LariscusObscurus . I went ahead and patched the text. The changes should be live soon.


Harvest results dashboard uses old data

Wouter had a look at the OpenSearch dashboard that summarizes harvest results. It still uses old harvester data, so the numbers are wrong. We should update the visualizations to reflect new harvester data.
@peterdubbeldsurf FYI

We'll need to review this. There's no separation between product and file numbers. We should make that distinction in the data, but then perhaps in the dashboard we show them side by side in the top panel? For the rest we can ignore files as they mostly correspond directly to products data. We can remove the run_harvest filter once we split data based on entity type.


Consolidate pass-auth and pass-docker reverse proxy functionality into pass-core

What?
The PASS API should be easy to deploy and it should be easy to understand how authentication is handled. In order to do that, pass-core should take over the functionality of pass-auth and the pass-docker reverse proxy. The pass-docker environments will also need to updated.
Why?
The current pass-docker architecture is complicated interleaving a reverse proxy, pass-auth, and pass-core. Instead pass-core should take over that functionality. See https://docs.google.com/document/d/1swYRvwNeouMyuG9xEbSBLFffUpBstllI1bP5Zcsx3ME/edit?usp=sharing for more information.
How?
See the above linked document for information on what routes pass-auth and the reverse proxy currently handle and what pass-core needs to do. Spring security has support for SAML 2 which should help with the pass-auth functionality.
Acceptance Criteria
The pass-docker environments should be updated such that they can run the new pass-core. Show that Shib integration works on staging.
Related Issues
Blocking #907, #908, #909

The major changes are the removal of pass-auth and the reverse proxy from pass-docker. Instead pass-core takes on those roles and handles SAML authentication as well as handles requests for pass-ui under /app/.

Closing after testing on stage.


Bump to 0.2.51

Pulls in the new wasi target support!

r? @gnzlbg
(rust_highfive has picked a reviewer for you, use r? to override)

@bors: r+

I'll tag the commit once this is merged and will publish a new libc version.

:pushpin: Commit c8d6d546aa0026dd9ff726b741c248f31e7a6ffb has been approved by gnzlbg

:hourglass: Testing commit c8d6d546aa0026dd9ff726b741c248f31e7a6ffb with merge 743f79851293c1fb1d9e5b454b899edc9a28d6b3...

:broken_heart: Test failed - checks-cirrus

@bors: retry

:hourglass: Testing commit c8d6d546aa0026dd9ff726b741c248f31e7a6ffb with merge 8aa8d4f731f1cb5503e46f868306a628ea5a7fee...

:boom: Test timed out

@bors: retry

:hourglass: Testing commit c8d6d546aa0026dd9ff726b741c248f31e7a6ffb with merge 173c5be79bc931c6b0d3227aa2133ff34f8a1761...

:sunny: Test successful - checks-cirrus, checks-travis, status-appveyor
Approved by: gnzlbg
Pushing 173c5be79bc931c6b0d3227aa2133ff34f8a1761 to master...

I just drafted the release and saw that it was already tagged here and published, thanks!


[Bug]: Number of available GPU blocks drop significantly for Phi3-vision

Your current environment
Two docker containers based on images built from vllm source 3de6e6a3 and 3f3b6b21
🐛 Describe the bug
I passed the same model Phi-3-vision-128k-instruct to each docker container:
--tensor-parallel-size=1 \
--model=/models/Phi-3-vision-128k-instruct \

For the version needs VLMConfig, here are the parameters
--image-input-type="pixel_values" \
--image-feature-size=1921 \
--image-token-id=32044 \
--image-input-shape="1, 3, 1008, 1344"

And with the container based on 3de6e6a3 more latest, it raises error:
INFO 07-04 01:04:14 gpu_executor.py:84] # GPU blocks: 5970, # CPU blocks: 682
[rank0]: ValueError: The model's max seq len (131072) is larger than the maximum number of tokens that can be stored in KV cache (95520). Try increasing `gpu_memory_utilization` or decreasing `max_model_len` when initializing the engine.

But the container based on 3f3b6b21:
INFO 07-04 01:40:03 gpu_executor.py:83] # GPU blocks: 8825, # CPU blocks: 682
INFO 07-04 01:40:05 model_runner.py:906] Capturing the model for CUDA graphs. This may lead to unexpected consequences if the model is not static. To run the model in eager mode, set 'enforce_eager=True' or use '--enforce-eager' in the CLI.

@ywang96 Can you share some insight? Does it have something to do with the recent changes in VLM support?

There was a bug in the model's memory profiling where it didn't actually pass in images. At runtime, this might have caused OOM.
After the fix, the max sequence count is reduced significantly which better reflects the true memory usage of the model. Re: your problem, this is expected as the model has 128k context length. If it can't fit in your GPU, try reducing the context length via max_model_len or the sequence count via max_num_seqs.

thanks for the explanation @DarkLight1337 !

@ywang96 I get same error using with max_num_seqs=1.
ValueError: The model's max seq len (131072) is larger than the maximum number of tokens that can be stored in KV cache (4544). Try increasing gpu_memory_utilizationor decreasingmax_model_len when initializing the engine.

As stated in the error message, you may have to decrease max_model_len (e.g. 64k instead of 128k)

@DarkLight1337 Thanks decreasing the max_model_len solved the problem!


exml:parse/1

empty.
there are no LOLCats about XML parsing :-/

Any tests? :)

It's tested implicitly in exml_query_tests.erl (see diff).
I can add more explicit tests if you insist.


html element not work on windows

Tauri 2 + Svelte 5, the buttons on the topbar no response on Windows. (work fine with macOS)

actually it does not work on Linux too. maybe you can add some css(like fixed + z-index) to solve the problem temporarily since the title bar was a div overlay.

Does adding a z-index fix the problem? If yes, it makes sense for the library to add it in by default.


Request: include more logic in the library so it's easier to use

Hi, this is just a request for the future.. I want to use this library in my app to support RTSP video playback. But, there's a LOT of logic in your test app that's not part of the library - VideoDecodeThread, AudioDecodeThread, etc.
It'd be really nice if this was part of the library and I could just pass in a SurfaceView and some other details - like URL/user/pass/port and let the library handle the rest. Maybe there's plenty of reasons this wouldn't make sense - but it seems like it'd make this library a lot more appealing to integrate without having to learn a lot of details.
Anyway, I'm trying now to port over the demo app's classes to my app and I'm able to get the video stream working - but once it's stopped it doesn't reconnect. I'm sure it's something I'm missing but just wanted to mention the thought about including more logic into the library too
thanks
joe

I'm planning to add RtspSurfaceView soon.

RtspSurfaceView implemented in https://github.com/alexeyvasilyev/rtsp-client-android/commit/ba9a7bcc17335e4b06b60219e2401ff59a3d4dc7
This is how to use it:
 <com.alexvas.rtsp.widget.RtspSurfaceView
       android:layout_width="match_parent"
       android:layout_height="match_parent"
       android:id="@+id/svVideo" />

val uri = Uri.parse("rtsp://<IP_ADDRESS>/videoMain")
binding.svVideo.init(uri, username, password)
binding.svVideo.start(true, true)

Fixed in 2.0.0

perfect - thanks!


changes in the Destination Guides form

=> Destination Guides form is not effective, we have to change the interface for the form

@Sivasaiklu Hey! Are you still working on this issue? Can I work on this?

This issue is solved, I am closing


Services

Linter check found the following problems:
The following problems have been found:
WARNING: /tmp/abs_45mt58m2nw/clone/recipe/meta.yaml:0: uses_setuptools: The recipe uses setuptools in run depends
ERROR: /tmp/abs_45mt58m2nw/clone/recipe/meta.yaml:1: missing_pip_check: For pypi packages, pip check should be present in the test commands
ERROR: /tmp/abs_45mt58m2nw/clone/recipe/meta.yaml:1: missing_python: For pypi packages, python should be present in the host and run sections
ERROR: /tmp/abs_45mt58m2nw/clone/recipe/meta.yaml:1: missing_wheel: For pypi packages, wheel should be present in the host section
WARNING: /tmp/abs_45mt58m2nw/clone/recipe/meta.yaml:17: avoid_noarch: noarch: python packages should be avoided
ERROR: /tmp/abs_45mt58m2nw/clone/recipe/meta.yaml:36: missing_license_family: The recipe is missing the about/license_family key.
ERROR: /tmp/abs_45mt58m2nw/clone/recipe/meta.yaml:36: missing_doc_url: The recipe is missing a doc_url
WARNING: /tmp/abs_45mt58m2nw/clone/recipe/meta.yaml:36: missing_description: The recipe is missing a description
WARNING: /tmp/abs_45mt58m2nw/clone/recipe/meta.yaml:36: missing_license_url: The recipe is missing a license_url
ERROR: /tmp/abs_45mt58m2nw/clone/recipe/meta.yaml:36: missing_license_file: The recipe is missing the about/license_file key.
WARNING: /tmp/abs_45mt58m2nw/clone/recipe/meta.yaml:36: missing_doc_source_url: The recipe is missing a doc_source_url
ERROR: /tmp/abs_45mt58m2nw/clone/recipe/meta.yaml:36: missing_dev_url: The recipe is missing a dev_url
Errors were found


CB-13878 Replace swagger-diff with swagger_spec_compatibility for better compatibility checking

See detailed description in the commit message.

+1. This is great @doktoric, thanks for doing this. I was afraid of RES-E003 being a hindrance for adoption but it is nicely excluded from the check.


Upgrade version.jooq 3.14.4 -> 3.14.6

This PR contains the following updates:

Package
Update
Change

org.jooq:jooq-codegen-maven
patch
3.14.4 -> 3.14.6

org.jooq:jooq-meta
patch
3.14.4 -> 3.14.6

org.jooq:jooq-codegen
patch
3.14.4 -> 3.14.6

org.jooq:jooq
patch
3.14.4 -> 3.14.6

[ ] If you want to rebase/retry this PR, check this box

Suggested commit message:
Upgrade jOOQ 3.14.4 -> 3.14.6

See:
- https://www.jooq.org/notes
- https://github.com/jOOQ/jOOQ/compare/version-3.14.4...version-3.14.6

Suggested commit message:
Upgrade jOOQ 3.14.4 -> 3.14.6

See:
- https://www.jooq.org/notes
- https://github.com/jOOQ/jOOQ/compare/version-3.14.4...version-3.14.6


Remove deprecated Openstack modules

Looks like terraform/openstack/hosts and terraform/openstack/hosts-floating aren't used in the modularized TF configs, they should be removed. If people want to use them, they can check out an older version of the repo.
rm -r terraform/openstack/hosts
rm -r terraform/openstack/hosts-floating

should do it.

Ansible version (ansible --version): 1.9.4
Python version (python --version): 2.7.11
Git commit hash or branch: master
Cloud Environment: all
Terraform version (terraform version): 0.7.0

hello, can i take this? i'm fairly new could you point me in the right direction?

@shreab373 : Hi, would you still like to work on this maintenance issue?
For a start, you can fork mantl into your own github account. Create a feature branch naming it like issue/1658-removing-old-terraform-modules or something similar. Remove the modules from the branch and push your commit. Then you can come back here and create a pull request from your remote branch to our main master branch. Let me know if you have any questions.

great! i'll get started, thanks :)

@Cryptophobia why have you mentioned a list of requirements in the description?

@shreab373 : That is done automatically by our GitHub PR process. It adds a checklist for things we need to check for to make sure everything works cleanly before we merge the commits.


Server crash after giving a group Sethome permission

Hey there! i'm starting a server and for my twitchsub group the permission essential.back does work but when i put in the set home nodes my server crashed an all my plugins couldnt load anymore here is the crashlog:

i hope you can help me out!

The file you uploaded is corrupted. Download it again and put it on your server.
And use the latest version from here:  https://luckperms.github.io/

Also don't spam an issue with empty lines


Amplipex support

Many labs used amplipex systems (Buzsaki, et al) and manufacturer provides good amount of documentation and sample scripts: http://www.amplipex.com/downloads/ .  Would be nice to gain support for it in neo, so I could hopefully use it within spikeinterfaces.
Thanks in advance!

With a very very short overview of the doc it appear the main file is as a dat file.
So having a neo io that read only trace at the moment should quite easy.
Note that you can already use rawsignal in neo but you need now externally the sampling_rate/channel_count/dtype. An io would make it automagic.

Could you provide some small file for testing ?
Here : https://gin.g-node.org/NeuralEnsemble/ephy_testing_data

@yarikoptic Could you provide some small file for testing ? (see above)


addDetailLevel with custom width and height not working

Hi, if I add 4 tiles with different dimensions using the provided api method, all tiles will be of the same width.
Is there a way to fix this?
Thanks

no, all tiles must be the same size for any particular DetailLevel, although different detail levels can use different size tiles


Remove dependency on GraphicsMagick

get-pixels can operate on a buffer directly, turns out!
Also, the image data that comes from imageDataPromise() is actually base64 jpgs, so I've moved the whole lib to be JPG centric rather than PNGs.
fixes #6

Nice, thanks @paulirish.


how we can build this project i receive strange errors with webpack

how we can build this project i receive strange errors with webpack

closed


[Adaptive] Add calculateWindowSize methods

Adds three methods (with each other as implementations):

calculateWindowSize
calculateWindowBounds
calculateWindowMetrics

calculateWindowSize provides a direct replacement for LocalConfiguration.current.screenWidthDp and LocalConfiguration.screenHeightDp that is more accurate and more useful, using the variant of WindowMetricsCalculator.computeCurrentWindowMetrics that takes a @UiContext Context introduced in 1.1.x.

Closing, this will be added in Compose 1.8 as WindowInfo.containerSize: https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/WindowInfo#containerSize()


Creating new nestable elements

I created two nestable elements, ElementRow and ElementColumn, that output grid rows and columns, by extending ElementList. Everything works, but the has_one List relation on BaseElement gets broken, because it expects an ElementList and instead is set to a different class. How can I go back to parent element? I created a BaseElement DataExtension with a function getParentElement(), I can get the ID of the parent object but do not know which class it belongs to, to make a search.

Ok found out the problem, List is a protected keyword. By extending the BaseElement and adding a function getParentElement() I worked it out.


Top conversation constantly being hidden

Often when I open up the latest (1.3.1 pre release) build, the top (most recent) conversation has disappeared, and until the person messages me, I cannot retrieve it. This didn't happen in the prior version. Running it on 64 bit windows 10.

1.3.1 is now released. Does this still happen ?

Where is the release available? The description still says it's a pre-release on here: https://github.com/yakyak/yakyak/releases

I forgot to update the description, you're right. However it is not marked as pre-release anymore. I will handle this better next time. Just re-download the "same" packages (their content has been updated a couple weeks ago)

Ah, okay. I was -probably- running that version already then, but I've just re-downloaded and set it up just in case. Will let you know how it goes. Usually it happens a few times a day so I should be able to let you know in the next 24 hours.

Yeah. It still happens I'm afraid.

@apoisonedgift can you check 1.4.0-beta3? download link here #451

@apoisonedgift closing for lack of feedback.
If you are still experiencing this please reopen :)
latest pre-release version as of this comment is 1.4.1


isUpgradeAvailable bug

Hello there,
First of all I quite like the library, while doing some testing I have found that isUpgradeAvailable is returning true even though the version name of the installed app and the one on the playstore is the same.
To be extra sure I even checked the updates page in google play store(Open playstore -> Side menu -> My apps & games) and confirmed that there were no updates available for that app.
After through all the apps with package manager the method returned true for all of them for some reason.
Thanks

This is weird. I have tested it thoroughly and never found this issue. Can you tell me for which package are you specifically seeing this bug?

After checking the code , the code checking for the version name and some time the store has this name "Varies with device" so even you have the last version the condition will true

Yes I think that is the problem I have had

Hey, @aritraroy I was looking for some way to check the latest app version on play store for a particular package name and found this library :). In isUpgradeAvailable(packageName) function you are verifying the version name of the current app with the version name we get from play store for the given package. But check should be made on the basis of package name passed to that function. Also, before checking app version on play store there can be a check whether app is present in the device or not. Otherwise, it will always return true. Also, did you find any way to get latest app version even if playstore shows "Varies with device"?

Thanks for the bug. I have missed that. Will fix the checking from the current package to the specified package by the user.

Yes, you are right. It should be checked if the package is present in the device or not. I will update that soon.

There is no way to find the version if Play Store gives "Varies with device" string. But I will handle that appropriately, but the actual version can still not be retrieved.

Thanks for your suggestions. If you want you can fix these and send me a PR or I will do it very soon. :-)

Have sent the PR for above

Thank you for your PR. I have merged it. Will soon release an update after some testing.


docplex optimizers

Follow up for #28
This PR introduces one classical and one naive quantum optimizer, as per comment https://github.com/pyRiemann/pyRiemann-qiskit/pull/56#issuecomment-1164225183
It also bump the version of docplex and add a new dependency to qiskit_optimization.

I am looking into the test program.

It looks like a docplex problem is specified with "test_get_square_cont_var", but then the optimizer is created without providing this docplex model?
Can we also call "solve()" on the two optimizers (quantum and classical) and validate that a result has been returned? Or it is too early for that?

Hi,
I have added comments to "test_get_square_cont_var", I hope it is more clear.
As for the functional tests of the solve method of the optimizers themselves, I would prefer to do it along with #26 to reuse the docplex method that would be defined in #26. What do you think?

Maybe you can add a general description of "docplex.py " such as:
"This module contains both classic and quantum optimizers. The quantum optimizer allows an optimization problem with constraints (in the form of docplex model) to be run on a quantum computers. "

Thx for the review @toncho11 :)


PentClass

Hello. Currently phoxy uses QuadClass in the column names, however it is my understanding that PentaClass is the preferred term due to the addition of 0.

You're right. The use of QuadClass was to avoid breaking a bunch of my old code and because I wasn't sure if PentaClass was going to catch on. But I agree that it should be changed.

:+1: to this.

There's a PR that should fix it (and fix a serious bug that prevented the download of Phoenix in general.

If one of you try it out and it works for you, I'll merge the PR.


SQLite 3.19.3 breaks EF query

SQLitePCLRaw 1.1.6 includes SQLite 3.19.3. SQLitePCLRaw 1.1.3 included SQLite 3.16.0. Looks like the SQLite update includes changes to JOINs that may affect query results:
http://sqlite.org/releaselog/3_19_3.html
See https://github.com/aspnet/EntityFramework/pull/8890#issuecomment-309579098
And http://sqlite.org/releaselog/3_19_3.html

@anpete @smitpatel @maumar Could one of you investigate this please?
/cc @bricelam @divega @natemcmaster @Eilon

@natemcmaster Do we need this for preview2?

No, this can wait until RTM.

FWIW, I can reproduce this by building the EF core tree and running the tests.  As indicated by others, the test pass with SQLitePCL.raw 1.1.3, and 2 of them fail with SQLitePCL.raw 1.1.6.
For diagnostic purposes, I created a SQLitePCL.raw version 1.1.7-pre20170619212538 which uses SQLite 3.18.0 in the Windows builds.  With this version substituted into build/dependencies.props, the tests once again pass.
So the problem slipped into SQLite between 3.18.0 and 3.19.3.  Given the nature of the failing test cases, it seems like it's gotta be related to the LEFT JOIN changes mentioned in the 3.19 release notes.

Update:  It is easy to see the problem with just the sqlite3 shell.
I grabbed the InheritanceRelationshipsQuerySqliteTest.db file (from test/EFCore.Sqlite.FunctionalTests/bin/Debug/netcoreapp2.0) and a query from one of the failing tests.
This makes for a nice, self-contained repro.  Running it with 3.19.3 gives different results than 3.18.0.
So I sent a message to the sqlite developers.  I'll post another update here after I get more info.

SQLite ticket:
http://www.sqlite.org/src/tktview/892fc34f173e99d8aa03d52fbf42e0f9f2dfb210

@ericsink Thanks for helping investigate this. Are you going to rollback SQLitePCLRaw to 3.18 or wait for a fix from SQLite?

Thanks @ericsink!

I plan to wait for some indication on the timing of a fix before deciding that.  DRH is usually very fast on this kind of thing.  Then again, that particular code change in 3.19.0 has now been the cause of 3 sqlite bugs, and that kind of regression is extremely unusual for sqlite, so the circumstances are atypical.
I don't consider 3.18.0 to be an acceptable option, because it has a couple of other known issues.  I only used it for my experiment because the more-patched 3.18.2 was not available as a convenient amalgamation.
TLDR:  I will either go with 3.18.2 or wait for the fix in (what I presume will be) 3.19.4.

@natemcmaster You asked: "Are you going to rollback SQLitePCLRaw to 3.18 or wait for a fix from SQLite?"
Do you have a preference?
I've done the prep work for a release with SQLite 3.18.2.  And I've confirmed that it passes the EF Core tests.
I could push this as 1.1.7 to nuget tomorrow, but I'm on the fence about whether I should proceed that way or just wait for a 3.19.4.

I'm on the fence too. I see DRH already committed a fix in SQLite. http://www.sqlite.org/src/artifact/879fcac86a74ea1a. If we can expect SQLite 3.19.4 in the next week or two, we're probably ok to wait. But if not, 3.18.2 would be better.

I'll wait, for now.  I can pull the trigger any time if it becomes more urgent.  But I expect 3.19.4 will probably happen soon.

Moving out of milestone so we can triage.

Closing this as there is nothing actionable on EF. We are happy waiting as discussed above.
@natemcmaster Are we tracking removal of the package workarounds somewhere else?

@ajcvickers tracking it here: https://github.com/aspnet/External/issues/59

I'll wait, for now. I can pull the trigger any time if it becomes more urgent.

@ericsink can we move forward with a 1.1.7 update that rollsback to SQLite 3.18.0? Our timelines have shifted and it would be good to get this resolved sooner as we don't know when DRH will get around to 3.19.4.

Yep.  I'll do it today.
Minor nit:  I plan to include 3.18.2, not 3.18.0.  I assume that's okay.

Thanks. And yes, 3.18.2 is fine.

@natemcmaster SQLitePCLRaw 1.1.7 has been pushed to nuget.  It appears to pass everything in EFCore.Sqlite.FunctionalTests.

Great, I'll prepare the appropriate PRs to update.

Ok. 1.1.7 is in. Thanks again Eric.


When restarting test server with resetting the database, don't forget to close it

Thanks @dsagal! This fixes the issue I get for my draft in #921


DEFAULT_TEST_STRING BESbswy appearing in website content.

Hi
It looks like this is a well known problem when Typekit is used in a CMS admin, especially in WordPress, where TinyMCE is unintentionally capturing the test string and saving it to the database.
Tom J Nowell talks about it here: http://tomjn.com/2012/09/13/typekit-besbswy/ and if you Google the string, various websites are returned with the test string as the Google preview snippet. Some have the string in the source code, some don't.
For me, I first noticed the string had been saved via a WordPress Advanced Custom Field. The string actually includes 7 addtional unknown special characters (rendered as blocks - what are these?): BESbswy. The spans with inline css positioned the string off-screen, however you could still see it (esp on mobile) when scrolling a Magnific Popup.
I have also noticed that the string is rendered multiple times within the Yoast Snippet Preview box (not too much of a problem as this isn't actually saved).
I am using Tom Nowell's first suggested fix: 'use the asynchronous typekit code' (the other suggestions aren't really viable). The code loads Typekit into the WordPress admin ok but I am still seeing the test string in the Yoast snippet so there's probably still a chance it may get picked up by TinyMCE.
My question is: is there a way to load typekit without using the test string? In this scenario (WordPress admin), I am not too concerned about FOUC or fallbacks to system fonts - I just need to ensure that the string is not save to front-end content and I'd rather not disable Typekit in the admin. Any thoughts would be most appreciated! Thanks.

Ah, think I have sorted it. http://help.typekit.com/customer/portal/articles/649336 - re Typekit.load() config object, "If both events and classes are set to false, the Typekit JavaScript only inserts the CSS link to the fonts and does not perform any font watching."
So I used this script to load Typekit into WordPress admin: https://gist.github.com/Tarendai/3690149#file-typekit-tinymce-js and updated the config object to be:
var config = {\n\
    kitId: 'cvt1uxo', events: false, classes: false\n\
};\n\


Deny to use the same step twice in the story.

Things let to do in this pull request:

[ ] test composition without inheritance
[ ] test injection of the same substory twice into different arguments of the parent story
[ ] test usage of the same method with different name when the same method stored as class attribute
[ ] fix found failures in existing tests

Superseded by #460


implement position probability / position combo plot

From slack:
Eric: Would it be possible to plot the linear position on top of the position probability? That would save some room in the view and allow that plot to be much larger.
Jeremy: That sounds like a good idea. But wouldn't it obscure the probability data to some extent? Would you want an on/off toggle for the position overlay?
Eric: It will obscure the probability data but some of the features we care the most about are actually when the decoded position deviates from the actual position, so the comparison is useful. A toggle for on and off would be great though, especially for detecting any multimodal-ness in the distribution.

You can just min and max the linear position range and that will give you the range. Normally there is a vector that has all the bin edges for position, but I did not include that in the data I gave you.

@edeno How does this look (note the toggle checkbox at the bottom)
https://www.figurl.org/f?v=gs://figurl/spikesortingview-3&d=ipfs://bafkreibq35irhf5wlviah7wcnwzuif4hrek6llbvabg35dbkszmks76f2m&project=siojtbyvbw&label=Jaq_03_12_visualization_data

I think that looks mostly right?
There seems to be a slight offset of the position to the decoded position, which I think results from all the position bins not being the same size. Most bins are ~2.5 cm, but there are two bins that are 15 cm for computational reasons to prevent smoothing into bins that are not adjacent in 2D space. Here are the position bin edges for the decoded position if that helps:
[0.0,
 2.4983037885938533,
 4.9966075771877065,
 7.494911365781574,
 9.993215154375427,
 12.49151894296928,
 14.989822731563134,
 17.488126520156985,
 19.98643030875084,
 22.48473409734471,
 24.98303788593856,
 27.481341674532416,
 29.979645463126268,
 32.47794925172012,
 34.97625304031399,
 37.47455682890783,
 39.972860617501695,
 42.471164406095546,
 44.96946819468941,
 47.467771983283264,
 49.96607577187712,
 52.46437956047099,
 54.96268334906483,
 57.46098713765867,
 59.95929092625254,
 62.45759471484639,
 64.95589850344025,
 67.45420229203411,
 69.95250608062797,
 72.4508098692218,
 74.94911365781567,
 77.44741744640953,
 79.94572123500339,
 82.44402502359725,
 84.94232881219109,
 87.44063260078494,
 89.93893638937882,
 92.43724017797267,
 94.93554396656653,
 97.43384775516036,
 99.93215154375424,
<PHONE_NUMBER>4375424,
<PHONE_NUMBER>266334,
<PHONE_NUMBER>0951248,
<PHONE_NUMBER>9239165,
<PHONE_NUMBER>752708,
<PHONE_NUMBER>5814995,
<PHONE_NUMBER>4102903,
<PHONE_NUMBER>239082,
<PHONE_NUMBER>0678734,
<PHONE_NUMBER>896665,
<PHONE_NUMBER>725456,
<PHONE_NUMBER>5542474,
<PHONE_NUMBER>383039,
<PHONE_NUMBER>2118305,
<PHONE_NUMBER>0406214,
<PHONE_NUMBER>869413,
<PHONE_NUMBER>6982045,
<PHONE_NUMBER>5269957,
<PHONE_NUMBER>355787,
<PHONE_NUMBER>1845782,
<PHONE_NUMBER>3406387,
<PHONE_NUMBER>496699,
<PHONE_NUMBER>6527594,
<PHONE_NUMBER>80882,
<PHONE_NUMBER>96488,
<PHONE_NUMBER>1209406,
<PHONE_NUMBER>277001,
<PHONE_NUMBER>4330613,
<PHONE_NUMBER>5891217,
<PHONE_NUMBER>7451822,
<PHONE_NUMBER>9012424,
<PHONE_NUMBER>057303,
<PHONE_NUMBER>2133634,
<PHONE_NUMBER>369424,
<PHONE_NUMBER>525484,
<PHONE_NUMBER>6815446,
<PHONE_NUMBER>8376048,
<PHONE_NUMBER>9936653,
<PHONE_NUMBER>1497258,
<PHONE_NUMBER>3057863,
<PHONE_NUMBER>4618465,
<PHONE_NUMBER>6179067,
<PHONE_NUMBER>7739671,
<PHONE_NUMBER>9300276,
<PHONE_NUMBER>086088,
<PHONE_NUMBER>2421483,
<PHONE_NUMBER>3982088,
<PHONE_NUMBER>5542693,
<PHONE_NUMBER>7103295,
<PHONE_NUMBER>86639,
<PHONE_NUMBER>0224502,
<PHONE_NUMBER>178511,
<PHONE_NUMBER>3345712,
<PHONE_NUMBER>4906314,
<PHONE_NUMBER>6466922,
<PHONE_NUMBER>8027524,
<PHONE_NUMBER>9588128,
<PHONE_NUMBER>1148733,
<PHONE_NUMBER>270933,
<PHONE_NUMBER>4269943,
<PHONE_NUMBER>583054,
<PHONE_NUMBER>583054,
<PHONE_NUMBER>994749,
<PHONE_NUMBER>4064434,
<PHONE_NUMBER>8181374,
<PHONE_NUMBER>229832,
<PHONE_NUMBER>6415266,
<PHONE_NUMBER>0532206,
<PHONE_NUMBER>464915,
<PHONE_NUMBER>876609,
<PHONE_NUMBER>288304,
<PHONE_NUMBER>6999983,
<PHONE_NUMBER>111693,
<PHONE_NUMBER>523387,
<PHONE_NUMBER>9350815,
<PHONE_NUMBER>346776,
<PHONE_NUMBER>7584707,
<PHONE_NUMBER>170165,
<PHONE_NUMBER>58186,
<PHONE_NUMBER>993553,
<PHONE_NUMBER>405248,
<PHONE_NUMBER>1537744,
<PHONE_NUMBER>902301,
<PHONE_NUMBER>6508275,
<PHONE_NUMBER>399354,
<PHONE_NUMBER>1478806,
<PHONE_NUMBER>896407,
<PHONE_NUMBER>6449337,
<PHONE_NUMBER>39346,
<PHONE_NUMBER>141987,
<PHONE_NUMBER>8905134,
<PHONE_NUMBER>63904,
<PHONE_NUMBER>3875665,
<PHONE_NUMBER>136093,
<PHONE_NUMBER>8846196,
<PHONE_NUMBER>633146,
<PHONE_NUMBER>3816727,
<PHONE_NUMBER>130199,
<PHONE_NUMBER>878726,
<PHONE_NUMBER>6272523,
<PHONE_NUMBER>375779,
<PHONE_NUMBER>1243054,
<PHONE_NUMBER>872832,
<PHONE_NUMBER>6213585,
<PHONE_NUMBER>369885,
<PHONE_NUMBER>1184116,
<PHONE_NUMBER>866938,
<PHONE_NUMBER>615465,
<PHONE_NUMBER>363991,
<PHONE_NUMBER>112518,
<PHONE_NUMBER>8610444,
<PHONE_NUMBER>609571,
<PHONE_NUMBER>3580975,
<PHONE_NUMBER>106624,
<PHONE_NUMBER>8551506,
<PHONE_NUMBER>603677,
<PHONE_NUMBER>3522037,
<PHONE_NUMBER>10073,
<PHONE_NUMBER>849257,
<PHONE_NUMBER>597784,
<PHONE_NUMBER>34631]

Okay that's helpful. But annoying :)
Do you think we can leave it as is for now and submit a new issue for making the adjustment?
Just wondering how important it is to remove the offset, for your purposes...

Okay I'll work on this. I realize that it's going to be much easier to map to the correct bins on the python side (b/c of numpy utils) rather than try to do it in the browser.
Could you please open the request about the position marker in a separate issue?

Here's the next iteration:
https://figurl.org/f?v=gs://figurl/spikesortingview-4&d=ipfs://bafkreicn6vkjkxy6drx6wm3trvgj2upnrpumopcj52usa7omeyim7zgaue&project=siojtbyvbw&label=Jaq_03_12_visualization_data

That looks great! The actual position may be one bin off from what I can tell, but I don't know if that's an artifact of looking at it way zoomed in?


[BUG]

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Flow
If applicable, add exported flow in order to help replicating the problem.
Setup

Installation [e.g. docker, npx flowise start, yarn start]
Flowise Version [e.g. 1.2.11]
OS: [e.g. macOS, Windows, Linux]
Browser [e.g. chrome, safari]

Additional context
Add any other context about the problem here.

Ollama node will not connect to BabyAGI
Steps to reproduce the behavior:
Go to: Chatflows/ click button Add New/ add Agent BabyAGI node/ add Vector Faiss node/ add LLM Ollama node/
Faiss connects fine to BabyAGI
Attempt to connect Ollama to BabyAGI...
See error, Ollama will not connect to BabyAGI
(Tried all other LLM nodes, they all connected to BabyAGI node)
Enable connection if possible or add to "info" icon, "BabyAGI is not compatible with Ollama".

Not repeatable after reloading.