Poetry fails to install SpiderKeeper

[x] I am on the latest Poetry version.
[x] I have searched the issues of this repo and believe that this is not a duplicate.
[x] If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).

OS version and name: OSX 10.14.2
Poetry version: 1.0.0a2
Link of a Gist with the contents of your pyproject.toml file: https://gist.github.com/NikolayGalkin/ecd49bed912851b5caf4067a2ef9bc8a

Issue

Hello!
Just wanted to add SpiderKeeper to my project. Here is a result:
$ poetry add SpiderKeeper
Package operations: 1 install, 0 updates, 0 removals

  - Installing spiderkeeper (1.2.0)

[EnvCommandError]
Command ['/Users/galkin/Library/Caches/pypoetry/virtualenvs/test-LqMrd7e9-py3.6/bin/python', '-m', 'pip', 'install', '--no-deps', 'spiderkeeper==1.2.0'] errored with the following output:
Collecting spiderkeeper==1.2.0
  Could not find a version that satisfies the requirement spiderkeeper==1.2.0 (from versions: <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, 1.1.0, 1.2.2)
No matching distribution found for spiderkeeper==1.2.0

Traceback (most recent call last):
  File "/Users/galkin/.poetry/lib/poetry/_vendor/py3.6/clikit/console_application.py", line 131, in run
    status_code = command.handle(parsed_args, io)
  File "/Users/galkin/.poetry/lib/poetry/_vendor/py3.6/clikit/api/command/command.py", line 112, in handle
    status_code = self._do_handle(args, io)
  File "/Users/galkin/.poetry/lib/poetry/_vendor/py3.6/clikit/api/command/command.py", line 160, in _do_handle
    return getattr(handler, handler_method)(args, io, self)
  File "/Users/galkin/.poetry/lib/poetry/_vendor/py3.6/cleo/commands/command.py", line 92, in wrap_handle
    return self.handle()
  File "/Users/galkin/.poetry/lib/poetry/console/commands/add.py", line 135, in handle
    status = installer.run()
  File "/Users/galkin/.poetry/lib/poetry/installation/installer.py", line 74, in run
    self._do_install(local_repo)
  File "/Users/galkin/.poetry/lib/poetry/installation/installer.py", line 285, in _do_install
    self._execute(op)
  File "/Users/galkin/.poetry/lib/poetry/installation/installer.py", line 293, in _execute
    getattr(self, '_execute_{}'.format(method))(operation)
  File "/Users/galkin/.poetry/lib/poetry/installation/installer.py", line 318, in _execute_install
    self._installer.install(operation.package)
  File "/Users/galkin/.poetry/lib/poetry/installation/pip_installer.py", line 92, in install
    self.run(*args)
  File "/Users/galkin/.poetry/lib/poetry/installation/pip_installer.py", line 113, in run
    return self._env.run('python', '-m', 'pip', *args, **kwargs)
  File "/Users/galkin/.poetry/lib/poetry/utils/env.py", line 818, in run
    return super(VirtualEnv, self).run(bin, *args, **kwargs)
  File "/Users/galkin/.poetry/lib/poetry/utils/env.py", line 677, in run
    raise EnvCommandError(e)

P.S. I have installed via pip and it runs correctly. Please help! Have a nice day!

That's fun:
SpiderKeeper 1.2.0 has uploaded a tar.gz for version 1.2.2: https://pypi.org/project/SpiderKeeper/1.2.0/#files
https://files.pythonhosted.org/packages/d9/07/c1d7bd50fbf18e3897daf2e2894aa9ae62e70993570f9a91e420e9acafb2/SpiderKeeper-1.2.2.tar.gz
Pip thinks it is downloading version 1.2.2:
Collecting SpiderKeeper
  1 location(s) to search for versions of SpiderKeeper:
  * https://pypi.org/simple/spiderkeeper/
  Getting page https://pypi.org/simple/spiderkeeper/
  Looking up "https://pypi.org/simple/spiderkeeper/" in the cache
  No cache entry available
  Starting new HTTPS connection (1): pypi.org
  https://pypi.org:443 "GET /simple/spiderkeeper/ HTTP/1.1" 200 671
  Updating cache with response from "https://pypi.org/simple/spiderkeeper/"
  Caching due to etag
  Analyzing links from page https://pypi.org/simple/spiderkeeper/
    Found link https://files.pythonhosted.org/packages/ff/25/acf673487e9bd5b02bb8f543af4716d3c7be0f3cb856ca50fed66e7de4b2/SpiderKeeper-<IP_ADDRESS>.tar.gz#sha256=c0a02419fa46256b372006453f14417fc1a6769b681620e20f139c93107a634b (from https://pypi.org/simple/spiderkeeper/), version: <IP_ADDRESS>
    Found link https://files.pythonhosted.org/packages/49/05/04e1b47b5b77a3b63f8687044dee7d58d16aab8fb7a8bcd2ae353c1b9967/SpiderKeeper-<IP_ADDRESS>.tar.gz#sha256=d94f8e36bd9d410d8a7444fd70c42eb6e49b84dacc7c1e61462cfb4608eeab9e (from https://pypi.org/simple/spiderkeeper/), version: <IP_ADDRESS>
    Found link https://files.pythonhosted.org/packages/f1/39/1dca77f54e685ea38646d3dae06586720d54aa3ad0514c03d046cd63104a/SpiderKeeper-<IP_ADDRESS>.tar.gz#sha256=9182fced1854afe59db0d387ee2bce79fa1a21feead4363509b28d172073ded5 (from https://pypi.org/simple/spiderkeeper/), version: <IP_ADDRESS>
    Found link https://files.pythonhosted.org/packages/7a/bc/ef87e149584c9203a9c23e47741ad6911841568c14398f0471a4a65fc784/SpiderKeeper-1.1.0.tar.gz#sha256=69f6ac9a82cbc4dcd3246cfb494d603ff25ddddb9be9d111d5594d628365b27f (from https://pypi.org/simple/spiderkeeper/), version: 1.1.0
    Found link https://files.pythonhosted.org/packages/d9/07/c1d7bd50fbf18e3897daf2e2894aa9ae62e70993570f9a91e420e9acafb2/SpiderKeeper-1.2.2.tar.gz#sha256=25fde8b2f9dbfac1a9b3a0e2ad88cbdf05711dbba276219f9f2c7a1797e06be5 (from https://pypi.org/simple/spiderkeeper/), version: 1.2.2
  Using version 1.2.2 (newest of versions: <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, 1.1.0, 1.2.2)


[opentitantool] Complete support for OTP essential functionality

This issue is a migration from #13869 and serves to track the outstanding components needed for bringing OTP image generation support in opentitantool to where it can be used to generate OTP images for testing instead of the existing python tool in util/design/. This does not track a number of supplemental features that are planned for the otp command in opentitantool, those exist in a separate issue.

[x] Add support for the CRC32 checks in alert_handler register configuration as described in https://github.com/lowRISC/opentitan/issues/14038
(For more status info, see #14368)
[ ] Write life cycle state values to OTP. Like the CRC32 magic value above, these values are handled in a unique way. alert_handler configuration already requires life cycle state information, these values just need to be mapped to their identifier in the provided otp_img_*.hjson, e.g. state: "DEV".
[ ] Implement CLI front-end to match existing python tool CLI.
[ ] E2E testing for tool transition; make sure the OTP image produced by the tool is valid and can be spliced into the bitstream.
[ ] Transition bazel rules to use opentitantool for OTP image generation.

Supplemental:

[ ] Pull in serde-annotate and use it to deserialize OTP HJSON config files. This will greatly improve the readability and usability of the Rust structs generated by the deserialization process.

Closing this as we've opted to retain the util/design/ python scripts used for OTP generation in favor of using opentitantool as a supplemental tool for generating (H)JSON overlays that can be passed to the existing python scripts rather than having opentitantool generate loadable OTP vmem images.
An example of this can be seen in the opentitantool otp alert-digest command invoked by the otp_alert_digest bazel rule.
The two other features it would be nice to add to opentitantool include a front-end for parsing a more human readable format for OTP images that allows the use of names constants and more expressive value types, such as bitfields. Such a tool would output JSON files, like the alert-digest example above, that could then be consumed by the python tools. This can be accomplished to some extent using bazel, as seen in this OTP definition used in a ROM E2E test. With this in place, it would also be possible to implement some sense of OTP image generation inside of opentitantool for both producing OTP images and (more importantly) being able to read OTP images off the device and print them in the same human readable format used by the front-end. This would probably only apply to the unscrambled SW partitions of OTP.
I will open an issue for these features once they've been better scoped out.


We thought a block was found error

when im running pool on YescryptR16 and mining I get this error when I try to submit a block
2020-05-13 14:12:46 [Pool]      [rtidcoin] (Thread 1) We thought a block was found but it was rejected by the daemon, share data: {"job":"7","ip":"::ffff:<IP_ADDRESS>","port":3333,"worker":"RCvH5NHpCkUFaoQq8quRxTjCwBtjXGpbE5","height":133892,"blockReward":1000000000,"difficulty":0.66666667,"shareDiff":"27.23226023","blockDiff":26.809597952,"blockDiffActual":0.000409082,"blockHash":"000009668551815ec4b9c28b04bed34ad194d6682326dc943312f49bfd3cda78"}
But the block gets onto the chain and it does not register on pool side

the same error

Which coin is it?
Some coins require detailed setting changes.
You can send me a pull request!

it is rtid coin, it  website is https://rtid-platform.web.id/

Hi,
I just fixed for some coin
https://github.com/ROZ-MOFUMOFU-ME/node-stratum-pool-yescrypt-0.5/commit/31f09670ad3bcb5c1b18f642380fc345978ab0d7
I think it will work

it works,thanks boss!


Allow Block URL is not supported

As per my research, we cannot Allow/Block the specific URL(s) using Edge in Kiosk mode. So I have updated the content of the page.
Problem: https://github.com/MicrosoftDocs/windows-itpro-docs/issues/5229

@nenonix @JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks.

Ready to go live.

@Dansimp - PR has been copy edited and is ready for final review. This is based on issue #5229.
Thank you.
cc: @kenwith

Ready to go live.


Issue Capturing King : Issue with Defender Capturing Defenders

Observed
Attacker unable to cap king
Defender unable to cap Attacker

taken care of, just updated the conditions to be based off of current players piece type instead of the players playertype


General code quality cleanup

Changes

Fixes https://github.com/cfpb/generator-cf/issues/119
Fixes https://github.com/cfpb/generator-cf/issues/118
Updates installed gulp-eslint to 2.0.0 from 1.0.0.
General cleanup of capping line length, removing whitespace, etc.

Removals

Removes bower from built project readmes since bower is not installed.

Testing

Follow readme instructions for using the generator.

Review

@contolini
@Scotchester

Working locally for me 👍


load_inventory pipeline does recognize detected license_expressions from SCTK scan

When I run the load_inventory pipeline for an SCTK scan SCIO v32.1.0 does not display the detected license_expression data for packages or resources.
The scans were run with SCTK v32.0.0.rc4 and I have confirmed that there is license data by using SCWB and by inspecting the JSON file.
I do not see any reference to this issue in the release notes for SCIO v32.2.0.

SCTK v32.0.0.rc4 input requires upgrading to the latest SCIO v33.0.0-dev.


Results filter() method requires component prefix and throws misleading exception ("No data to select from---the Results object is empty.") if not present; inconsistent with related methods

The filter() method currently requires the component prefix to be included, throwing an exception that the filter yields no results, while related methods select() and sort_by() do not require prefixes. This is likely confusing and unexpected to a user. Compare:
from edsl import QuestionFreeText

q = QuestionFreeText(
    question_name = "q1",
    question_text = "How do you feel today?"
)

results = q.run()

(results
 .sort_by("model")
 .filter("model.model == 'gpt-4-1106-preview'")
 .select("model")
 .print(format="rich")
)

This yields:
┏━━━━━━━━━━━━━━━━━━━━┓
┃ model              ┃
┃ .model             ┃
┡━━━━━━━━━━━━━━━━━━━━┩
│ gpt-4-1106-preview │
└────────────────────┘

vs
(results
 .sort_by("model")
 .filter("model.model == 'gpt-4-1106-preview'")
 .select("model")
 .print(format="rich")
)

This throws an exception (no results based on the filter):
---------------------------------------------------------------------------
Exception                                 Traceback (most recent call last)
Cell In[20], line 4
      1 (results
      2  .sort_by("model")
      3  .filter("model == 'gpt-4-1106-preview'")
----> 4  .select("model")
      5  .print(format="rich")
      6 )

File [~/edsl/edsl/results/Results.py:747](http://localhost:8888/lab/tree/~/edsl/edsl/results/Results.py#line=746), in Results.select(self, *columns)
    734 """
    735 Select data from the results and format it.
    736
   (...)
    743 Dataset([{'answer.how_feeling': ['OK', 'Great', 'Terrible', 'OK']}])
    744 """
    746 if len(self) == 0:
--> 747     raise Exception("No data to select from---the Results object is empty.")
    749 if not columns or columns == ("*",) or columns == (None,):
    750     columns = ("*.*",)

Exception: No data to select from---the Results object is empty.

It's only "model" that does this - i now throw an exception for a 'bare' reference to model.

I'll mention in docs


Why test TestBranches takes so long?

12.633

It is Martin's work, he wanted to test all possible cases so that func has many nested FORs.
  for Lead := 0 to 1 do
  for a1 := 0 to MAX_A do
  for b1 := 0 to MAX_B do
  for a2 := 0 to 1 do
  for b2 := 1 to 2 do

please close - cannot do that by myself


Automatically scale the container by tap/clicking

For example,

I tapped on a container.
The container scaled to fit the screen and pushed the rest of the containers.

Not enough information


Could not find artifact org.springframework.experimental:graphql-spring-boot-starter:jar:1.0.0-SNAPSHOT

Hi, when I get the package it results
> ./mvnw clean install
Could not find artifact org.springframework.experimental:graphql-spring-boot-starter:jar:1.0.0-SNAPSHOT

Note: Other packages download as expected
What is the problem? thanks in advance

Does your build file references the snapshot artifacts repository?
If it is, could you share a sample application showing the problem?

Yes that's it thanks


Bad chunk header error on empty lines in text files

Hello
I have encountered an issue where, for a simple text file, an empty line produces an error on REQMOD request.
For a file that starts with a newline and in next line "testtext" string it can look like this:

java.io.IOException: Bad chunk header [        testtext]:For input string: "testtext" under radix 16

For a file that contains only a newline:

java.io.IOException: Bad chunk header []:For input string: "" under radix 16]

Is this a bug or I am misusing the library?

The size of the input resource of the object ICAPResource must properly match. Additionally, there was an issue by zero file size. This is solved in v1.3.2 which is released (rollout to maven takes a while).


Does not work well Python 3.6

Umm.... A issue again
Ln 436 - Ln 441
          if all_same(l_o_t) == True:
             for scal in scaling_data: # search through database of scaling factors
                if l_o_t[0].upper().find(scal['level'].upper()) > -1 or l_o_t[0].upper().find(scal['level'].replace("-","").upper()) > -1:
                   options.freq_scale_factor = scal['zpe_fac']; ref = scaling_refs[scal['zpe_ref']]
                   log.Write("\n\n   " + "Found vibrational scaling factor for " + l_o_t[0] + " level of theory" + "\n   REF: " + ref)
          elif all_same(l_o_t) == False: log.Write("\n   " + (textwrap.fill("CAUTION: different levels of theory found - " + '|'.join(l_o_t), 128, subsequent_indent='   ')))

scal['level'] would be in "Byte" type and l_o_t[0] is always string type. Thus, it will raise
if l_o_t[0].upper().find(scal['level'].upper()) > -1 or l_o_t[0].upper().find(scal['level'].replace("-","").upper()) > -1:
TypeError: must be str, not bytes

seems easy to fix, and I think I should use 2.7 to run these code.....

Fixed in #9


fatal error: systemstack called from unexpected goroutine

System versions:
OSX Version: 10.13.2 (High Sierra)
$ psql --version
psql (PostgreSQL) 9.5.10

Command
Whilst running the following command:
$ ~/Downloads/pgdiff/pgdiff  -U jmurphy -D engine_dev  -O "sslmode=disable" -S public \        -u jmurphy -h localhost -d ev2_dev -o "sslmode=disable" -s public \        TABLE
I get the following errors:
Error
...

fatal error: systemstack called from unexpected goroutine
fatal error: systemstack called from unexpected goroutine
fatal error: systemstack called from unexpected goroutine
fatal error: systemstack called from unexpected goroutine
fatal error: systemstack called from unexpected goroutine
fatal error: systemstack called from unexpected goroutine

[1]    63624 bus error  ~/Downloads/pgdiff/pgdiff -U jmurphy -D engine_dev -O "sslmode=disable" -S  -

I want to compare two local database schema's, from two databases called ev2_dev (newer) and engine_dev (older), both of which user jmurphy has read/write access to.
Any idea why I'm getting this error?

@JMurphyWeb : can you tell me what is an alternative solution ??

@kamalkech this service worked for me: https://www.apgdiff.com/download.php

apgdiff will not work PG10


Make build fails

Describe the bug
A clear and concise description of what the bug is.
cloned repo - followed documentation installed all pre-requisite
when I run make build command below is the output
akhil@Akhil-S:~/startup/incubator-answer$ make build
wire: github.com/apache/incubator-answer/cmd: wrote /home/akhil/startup/incubator-answer/cmd/wire_gen.go
internal/service/siteinfo_common/siteinfo_service.go:33: running "mockgen": exec: "mockgen": executable file not found in $PATH
make: *** [Makefile:28: generate] Error 1

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 or video to help explain your problem.
Platform
Not UI / app related issue.  build related issue.
using WSL - ubuntu

Device: [e.g. Desktop, Mobile]
OS: [e.g. macOS]
Browser and version: [e.g. Chrome, Safari]
Version: [e.g. v1.2.0]

Is this supposed to run only from docker container?

i had this same issue.
you also need to add /home/<your_username>/go/bin  to your path
this is where go keeps all the installed binaries
you can find the mockgen binary there
i think you only added the path where go was installed.


Suspicious implementation of multi-class version _focal_loss_cost

https://github.com/open-mmlab/mmdetection/blob/f78af7785ada87f1ced75a2313746e4ba3149760/mmdet/models/task_modules/assigners/match_cost.py#L252C1-L269C38
When the input is not binary, why in line 262 sigmoid is used instead of softmax? In the sigmoid case, the score is not normalized among classes IMO. Further, after the line 268, only the score of the correct class is selected to for training, and why minus neg_cost (which I view as a repeatition of positive pos_cost, according to the analysis of monoticity)?. This implementation is not correct IMO. Please also refer to this link https://zhuanlan.zhihu.com/p/308290543 .
Please let me know if I missed something. Thank you very much!

@tjyuyao The reason is that focal loss does not actually support softmax mode.

I read the focal loss paper which says it should be naturally extended to multi-class version, and the zhihu link seems to provide a correct implementation, which is very similar to the implementation here if sigmoid is changed to softmax. Without softmax, the score of the negative classes can not be trained to decrease which I think is quite different from the idea of cross entropy.
I try to search your answer "The reason is that focal loss does not actually support softmax mode." and fail to find any references. Would you kindly explain why not the case?

@jshilong May I have your suggestions on this issue? I have read #4559 and it would be very nice to have opinions from someone familiar with these lines of code. Thanks in advance!

@hhaAndroid  @tjyuyao  I had the same question. Is it solved now?


GCS Direct upload

While running Google Cloud Storage in our test environment; I've come across some issue with the default uploading with Google SDK. Using the direct upload feature seems to have fixed some of the issues and using resumable upload is useless since we don't support that feature. I also added debug upload progress monitor in the doing.

Looks good, thanks.


I need help with Summit Gem Manager

[x] My mods and Everest install are up to date.
[x] I have recreated the bug with only CommunalHelper OR a minimum number of other mods enabled.

Describe the bug
2 different problems:

I can't set the Gems Ids option to (roomName/index)
I can set the Gems Ids option to just (index) but I can't trigger the Summit Gem Manager event (the nodes aren't exploding, nor the heart is moving).

To Reproduce
I set up a Summit Gem Manager, set Gems Ids as above, but either I can't save changes if I use the syntax (roomName/index)

or I can save changes using the (index) syntax but the event doesn't trigger

https://user-images.githubusercontent.com/62186122/218764902-db9440ce-0623-4103-a86d-1be01fcfa674.mp4
Expected behavior
I should see the vessels of the gems, created with nodes, start exploding signifying the collection of said gems and the heart moving from up there to the position of the Manager.
System Info(please complete the following information):

OS: Windows 11

Additional context
The game doesn't crash, it just doesn't recognize I collected the gems.
I also tried using different hearts but the result is the same, and I assume it doesn't matter anyway, in terms of triggering the event.
I also tried using the $ symbol as shown in the helper's Wiki page, but yet again it doesn't let me save changes.
I don't know if I'm missing some triggers or other stuff, but I checked other maps that use the manager and it works fine, while having the exact same Map and Room options and setup as mine.
My mod directory looks like this in case it makes some difference.
__Mods
____TestMod
______Maps
________Takeshi
__________TestMod
____________testmap2.bin
IMPORTANT update as of writing this, I checked in another map, specifically the level Summit from the mod Staticleste, which successfully uses the syntax (roomName/index) and after clearing the Gems Ids option to type it again exactly how it was, it didn't let me save changes there either.
At this point I suppose it could also be a bug concerning Loenn...
For context my version of Loenn is the latest as of writing this, which is v0.5.1

Thanks for reporting. The reason you're unable to use the custom room syntax is because the Lönn plugin expects the gemIds field to be a comma-separated list of strictly positive integers, which is incorrect (and my fault).
I'll be pushing an update to allow for custom room syntax, and hopefully then you should be able to get your Summit Gem Manager working.

Thank you for the extremely speedy reply ^^
I tested everything I could test, now it works flawlessly.
I have nothing else to report so I guess I can close this.
Also thanks for creating this wonderful helper. we love it.


Crash on Town02 in Win

Carla will directly crash if I run with Town02 Map, but works fine with Town01.
Neither Epic nor Low quality works.
Carla 0.8.0, Win7 x64

Hello @wzhAptiv , Windows releases are experimental yet.
Can you share log from the Saved\Crashes\UE4CC--Windows-ID--\CarlaUE4.log ?
It is probably a bug with Unreal 4.19

Yes, I can confirm this is a bug with Unreal 4.19 with landscapes:
Assertion failed: LODScreenRatioSquared.IsValidIndex(InSelectedLODIndex) [File:D:\Build\++UE4+Release-4.19+Compile\Sync\Engine\Source\Runtime\Landscape\Private\LandscapeRender.cpp] [Line: 1698]
I have updated the release 0.8.0 for Windows using 4.18 now without this bug.

Hello @juaxix , it works on my machine after this update.
Thank you!


Fix wording on opening slide.

Please replace the following content on the opening page and any other places it might be referenced.
Developers can use the RackHD API to create a user interface that serves as a single point of access for managing hardware services regardless of the underlying hardware in place.
With this new content:
Developers can use the RackHD APIs as a component in a larger orchestration system or to create a user interface for managing hardware services regardless of the underlying hardware in place.

OK, thanks for the revision.


problem with utf-8 reading

Hi
i tried to read from a cvs file which it's encoding is utf-8 , i do that this way :
 $csv = Reader::createFromPath(storage_path('app') . "/requirement/lessons.csv"); $csv->each(function ($row) use (&$sth) {                 var_dump($row[0]);
this is my out put :

how can i fix that ?

Did you read the documentation  ?

yes of course !
this is my file
http://s7.picofile.com/file/8259232850/lessons.csv.html

@jbehrouzi as a hint you could use the stream filter capabilities as explain in the documentation


No support of network/subnet creation

Hi,
It seems that sdk doesn't have support for network and subnet creation.
Let me know if it has the support.
Thanks,
Vaibhav

Not yet. Please see the comment I just added to https://github.com/Azure/azure-sdk-for-python/issues/155.

Thanks for the reply.
Temporarily I locally added support for virtual network/subnet creation in sdk.


[entrypoint] Adds script parameter to optionally rename source CNI with .old

When using CRIO, you may wish to have the CNI config file that's used as the source for --multus-conf-file=auto renamed. This boolean option when set to true automatically renames the file with a .old suffix to the original filename.
Adds new option:
--rename-conf-file=true

Includes docs and addition to the CRIO daemonset.
Tomo has also recently noted, and I agree -- that the number of options is expanding rapidly, and we are incurring some overhead in having the entrypoint be a bash script. For future consideration.

Pull Request Test Coverage Report for Build 873

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 73.516%

Totals

Change from base Build 867:
0.0%

Covered Lines:
941

Relevant Lines:
1280

💛  - Coveralls


Embedding Size

Hello Sir
Thank you very much for sharing your code.
In your NN Retrieval code, you stated that the train features has size of 9537 x 4096
and the val feature has size of 3792 x 4096 for the UCF-101.
I am wondering if the r3d encoder outputs 512 x 4 which is equal to 2048 after flattening ,
how you managed to get an embedding of size 4096 ?
I tried the code and it outputs an embedding of size  2048, did I miss something here?
What is the size of the embedding for the NN-Retrieval experiments reported in the paper?
In addition, I used the provided UCF pre-trained model to run the retrieval experiment on UCF and
got lower accuracies than the paper:
torch.Size([9537, 2048]) - train features
torch.Size([3783, 2048]) - val feature
Top-1 correct is 50.44%
Top-5 correct is 69.89%
Top-10 correct is 77.27%
Top-20 correct is 84.46%
50.44, 69.89, 77.27, 84.46
Best Regards,
Hussein

Hey, pl ignore the comments written in the nn retrieval code. I will clean it up soon. Also, I have uploaded the correct epoch of the UCF101 pretraining and now it is reproducing all Retrieval accuracies (Table-4, Fig-1(b), Fig 7, Supplementary Table-10) till the 4th decimal point! Thanks for noticing this. To reproduce our ablation clip wise as shown in Fig 7, change the num_modes in parameters_BL from [1,10]. Let me know if it persists.


2.6.0 release

I was looking to see if https://github.com/rm-hull/nvd-clojure/commit/7e4609454e05c3fee5d6cbe1765c073c78c14159 (the dependency-check update) has been included in any releases, and I couldn't see any see 2.6.0 commits on master. I do see a commit on the dev branch, is this absence of 2.6.0 on master intentional?

https://github.com/rm-hull/nvd-clojure/releases/tag/v2.6.0 exists and will be visible into master soon.
Cheers - V


License needed

Can you add a license to this project please? I'd like to use it in one of my projects, but I need to make sure you are providing it under a license that allows me to do that.
If you prefer, I can provide a pull request with whichever open source license you prefer. For something like this I would recommend a permissive license like BSD.

Thanks @glikely! My go-to is MIT, added.
Cheers mate.


Write Log to a file

Thanks for this library.
Is there any way I can use it to write the logs to a log file? Unfortunately, Quarkus does not currently provide a way to write JSON to a log file.

Hi @bollerdominik This library is providing a log format, picked up by quarkus and used. This functionally is not done for file logging, so this will require changes to the quarkus project.
Maybe @gsmet can help.

I am closing this, because this is something quarkus need to add support for.
This extension is already providing a log formatter ready to be used for that purpose also.


AxiosError

with the latest Adapterversion i become this errors:
Amazon:
AxiosError: Request failed with status code 404
DHL:
AxiosError: Request failed with status code 500

Please check in 1 day again if this still persist

today and all the last days the same error na dno function of the adapter

Sorry, same error in version 0.0.27

Ah ok, i see today that the Login to DHL works, and only Amazon wont:

parcel.0
2023-04-12 10:11:17.083
error
AxiosError: Request failed with status code 404

parcel.0
2023-04-12 10:11:16.613
info
Login to Amazon

parcel.0
2023-04-12 10:11:16.584
info
Login to DHL successful

parcel.0
2023-04-12 10:11:14.237
info
Login to DHL

parcel.0
2023-04-12 10:11:14.144
info
starting. Version 0.0.27 (non-npm: TA2k/ioBroker.parcel#620e88b5007ecd936e511d429a969b7cb49e899c) in /opt/iobroker/node_modules/iobroker.parcel, node: v16.19.0, js-controller: 4.0.24


mitigate npm package vulnerabilities

Fails

:no_entry_sign:
First word in commit message "mitigate npm package vulnerabilities" isn't capitalized

Warnings

:warning:
First word in PR title "mitigate npm package vulnerabilities" isn't capitalized

  Generated by :no_entry_sign: dangerJS against 8c772c24e053856ac9b4964d38218cd212606297


Deployment fails due to "Parameters: [unauthRoleName] must have values" in Studio

Before opening, please confirm:

[x] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

App Id
d3bbqgqvls6ewq
Region
eu-west-1
Environment name
No response
Amplify CLI Version
8.2.0
If applicable, what version of Node.js are you using?
17.3.1
What operating system are you using?
Ubuntu 20.04LTS
Browser type?
Firefox
Describe the bug
In Amplify Studio deploying schema fails with error Parameters: [unauthRoleName] must have values. The graphql api was deployed with CLI successfully before. All resources are being created. When navigating to the Content section in Studio it says An additional deployment is needed to enable content management capabilities for your API. Navigate to "Data" and hit "Deploy" but it fails with an error mentioned before. I have checked in CloudFormation and there is indeed a parameter with name UnauthRoleName and it has value (it starts with uppercase letter U tho, while in error it starts with lowercase u).
Expected behavior
The deploy shoud workk, given also that the graphql schema was not changed in any way. I can see all the models and data types displayed in visual editor as well as authentication rules applied correctly.
Reproduction steps

Create a new graphql API with CLI
Create schema
Deploy
go to Studio
hit "save and deploy" button

Additional information
For authentication existent Cognito user pool was imported.

I got the same issue as yours, and I also imported an existing Cognito user pool. I fixed this issue by importing an existing identity pool that connected with this existing user pool. When I got the identity pool, this issue disappeared when I run 'amplify push' again.

Hi @adilahkb ,
I have the same issue, I imported an existing cognito user pool, and the try to add some authorization rules with that cognito user pool but I get the error Parameters: [unauthRoleName] must have values, I have tried all posibles combinations, doing it from the cli, doing it from amplify studio, but always get the same error. Tahnks

I got the same issue as yours, and I also imported an existing Cognito user pool. I fixed this issue by importing an existing identity pool that connected with this existing user pool. When I got the identity pool, this issue disappeared when I run 'amplify push' again.


Update compute setup directory structure

edits based on our conversation last week
I moved HPC quickstart into a deprecated folder so we don't lose the information if we ever need to reference it, but it will be clear to users that it is not a setup we are currently supporting.

@gzt5142 - any chance you could give this a review? I have someone I'd like to share these instructions with.


python3.pkgs.sphinxcontrib-sphinxemoji: init at 0.2.0

Motivation for this change
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

This is first in big tree of dependencies necessary to build documentation for attrs and everything in between.
I want to build documentation for attrs, it depends on number of other packages that also have documentation, which in turn require packaging of even bigger amount of packages.
I can submit the all at once, or submit the one by one, as I package them. Which one is preferred?

I can submit the all at once, or submit the one by one, as I package them. Which one is preferred?

Maybe you can combine the dependencies of a package if they are less then 5?

Please rebase

Rebased

Applied and rebased.

Result of nixpkgs-review pr 145443 run on x86_64-linux 1

2 packages built:

python310Packages.sphinxemoji
python39Packages.sphinxemoji

Thank you!


Migrating string column to int column fails

Npgsql.PostgresException (0x80004005): 42804: column "column_name" cannot be cast automatically to type integer

same here
Failed executing DbCommand (86ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
CREATE SEQUENCE "AspNetUsers_Id_seq" START WITH 1 INCREMENT BY 1 NO MINVALUE NO MAXVALUE NO CYCLE;
ALTER TABLE "AspNetUsers" ALTER COLUMN "Id" TYPE int4;
ALTER TABLE "AspNetUsers" ALTER COLUMN "Id" SET NOT NULL;
ALTER TABLE "AspNetUsers" ALTER COLUMN "Id" SET DEFAULT (nextval('"AspNetUsers_Id_seq"'));
ALTER SEQUENCE "AspNetUsers_Id_seq" OWNED BY "AspNetUsers"."Id"
42804: column "Id" cannot be cast automatically to type integer

Neither of you specified the column type before the attempted change to int4, but this is very probably a duplicate of #144.
To summarize, if you're trying to convert a column from, say, text to int4, PostgreSQL will refuse because some already-existing values cannot be converted (anything non-numeric). You can still do the conversion by adding a USING clause to an ALTER TABLE ... ALTER COLUMN statement, specifying exactly how you'd like the conversion to happen and taking responsibility in case the conversion cannot work smoothly.
The Npgsql EF Core provider simply follows this logic. If your conversion always works (e.g. int4 -> text), then the generated migration will silently work, but if not, you must manually write the ALTER TABLE statement in the migration using raw SQL.

@roji would mind giving an example of migration with a manual raw SQL.
Thanks.


Blank card in interface

I installed the integration yesterday. Login worked en the two units were added. But when I add to interface, it just shows a blank thermostat card.

It does seem to control the devices. I can click on heat/cool/.... In the thermostat card nothing changes but the airco is turned on. But not very convenient if i don't know if i set the temperature to 16° or 26°

Try this
https://community.home-assistant.io/t/panasonic-comfort-cloud/229090/83?u=buttervn


Use capabilities structs in various types of server ads

This moves us away from using something like ad.Writes in favor of ads.Caps.Writes by using our capabilities struct across the board where appropriate.
The work in this PR has been spread out over 3 releases to minimize potential impact to backwards compatibility issues, with the 7.11 release targeted for final breaking changes.
Closes issue #1367
Closes issue #1368

@CannonLock, this PR likely has a few changes you should be aware of. In particular, if you look at changes in server_structs/director.go, I've removed a few fields that the Web UI likely ingests. Can you take a look and let me know where I need to make additional changes?

@CannonLock - this one is waiting on you.  Thoughts?

@jhiemstrawisc I think the issue here is that nothing changes in the UI?
I was told that the server capabilities struct should be:
"capabilities": {
    "PublicReads": false,
    "Read": false,
    "Write": false,
    "Listing": false,
    "FallBackReads": false
}

but currently as of this PR it is
"capabilities": {
    "PublicRead": false,
    "Read": false,
    "Write": false,
    "Listing": false,
    "FallBackRead": false
}

That should be unrelated to this PR. One thing I'll note is that we've long since updated the names for a few of these internally and in the docs, but we've avoided updating the JSON representation for backwards compatibility issues. If there's a way for us to start staging this change in the UI without it being a hard break, we'd like the values to be:
"capabilities": {
    "PublicReads": false,
    "Reads": false,
    "Writes": false,
    "Listings": false,
    "DirectReads": false
}

This is how we store them internally at this point.
Is it possible on your end to write a wrapper that can use both JSONs to create the same web UI elements with those values? If we can do that, I can also update the produced JSON to match the internal values.
Does any of that make sense?

@jhiemstrawisc Makes perfect sense. I actually non-discriminately regurgitate the key value pairs that the capabilities json provides to me.
So the UI will work the same without changes so long as you stick to the below standard where the key is a string and its value is a boolean.
"capabilities": {
"literally any string key": boolean
}

That's great to know, and at some point we should chat about where else that assumption is true! Be that the case, I'll update a few more things in this PR.


Set ID to name if empty

Problem:
Request ID is always used to query a setting. Request ID is set by parsing the request URL. It is possible for a setting request URL to not include the setting ID, and instead include it in the body.
When this was the case, the request would return with an error.
Solution:
If request ID is empty, the name will be used instead. Now, the setting can be properly set despite not having its ID in the request URL (this is the expected behavior).
Issues:
https://github.com/rancher/rancher/issues/19705

LGTM


When drag a image file from WeChat(PC) to this application, failed

Description
When drag a image file from WeChat(PC) to this application, failed

从微信电脑端拽图片到Files里，会拖拽失败

Release the mouse, No file be added.

松开鼠标后，啥反应都没有，图片也没被成功弄进来

Steps To Reproduce
--
Expected behavior
It can works.
Files Version
<IP_ADDRESS>
Windows Version
10.0.22000.194（Windows 11 co_release）
Relevant Assets
No response

Is this still an issue in <IP_ADDRESS>?


useHelmInstall doesn't work outside the default namespace

I've tried Native Helm with the latest kotsadm v1.58.1 and it's broken with image pull secrets in non-default namespaces.
When kurl and kots are set to install an app called app-name in the custom namespace. A working non-native helm install (useHelmInstall: false) shows this secret in custom namespace: <app-name>-registry  kubernetes.io/dockerconfigjson
When I add useHelmInstall: true to helmChart, that secret doesn't exist in the custom namespace, and it seems image pull secrets are only in the default namespace. The secret name changes as well: <app-name>-<namespace>-registry  kubernetes.io/dockerconfigjson
Our kurl is set to:
kotsadm:
    applicationNamespace: custom

and our kots Application resource is set to:
additionalNamespaces:
    - '*'

Workaround
useHelmInstall: true works if we only use the default namespace, so we're rolling back our custom namespace install for now.

Hey Bret,
I see an internal story that resolved this issue in 1.59.0. Here's a link to the PR if you're interested: https://github.com/replicatedhq/kots/pull/2405


Toolchain confusion for native executables on Linux/ppc64

I'm running Gradle on Linux/ppc64.  It appears that Gradle is not able to correctly map the default toolchain on the system to the correct os/arch pair.  It seems to believe that the system toolchain is for the architecture 'x86_64', even though it correctly identifies the arch of OperatingSystem.current() as "ppc64".
Please observe the following:
hakua:/tmp/gradle-test% uname -s -m
Linux ppc64
hakua:/tmp/gradle-test% cat build.gradle
apply plugin: 'c'
task printNative {
    doLast {
        println org.gradle.internal.os.OperatingSystem.current().getFamilyName()
        println org.gradle.internal.os.OperatingSystem.current().getArch()
    }
}
model {
    platforms {
        x86 {
            architecture 'x86_64'
            operatingSystem 'linux'
        }
        ppc {
            architecture 'ppc64'
            operatingSystem 'linux'
        }
    }
    components {
        main(NativeExecutableSpec) {
            targetPlatform "x86"
            targetPlatform "ppc"
        }
     }
}
hakua:/tmp/gradle-test% /tmp/gradle-5.3.1/bin/gradle -q printNative
linux
ppc64
hakua:/tmp/gradle-test% /tmp/gradle-5.3.1/bin/gradle -q installMainX86Executable
hakua:/tmp/gradle-test% file build/install/main/x86/lib/main
build/install/main/x86/lib/main: ELF 64-bit MSB pie executable, 64-bit PowerPC or cisco 7500, version 1 (SYSV), dynamically linked, interpreter /lib64/ld64.so.1, for GNU/Linux 3.2.0, not stripped
hakua:/tmp/gradle-test% ./build/install/main/x86/main
Hello, world!
hakua:/tmp/gradle-test% /tmp/gradle-5.3.1/bin/gradle -q installMainPpcExecutable

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileMainPpcExecutableMainC'.
> No tool chain is available to build for platform 'ppc':
    - Tool chain 'visualCpp' (Visual Studio):
        - Visual Studio is not available on this operating system.
    - Tool chain 'gcc' (GNU GCC):
        - Don't know how to build for platform 'ppc'.
    - Tool chain 'clang' (Clang):
        - Don't know how to build for platform 'ppc'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 0s
hakua:/tmp/gradle-test%

Expected Behavior

I would expect installMainPpcExecutable to build a binary for PPC, and installMainX86Executable to fail due to lack of an X86 cross-compiler.
Current Behavior

instalMainPpcExecutable fails with "no tool chain available", and installMainX86Excutable builds a PPC binary.  So it's the wrong way around.
Context

I'm building NSA:s Ghidra and actually everything works fine with the original models where only a platform with architecture x86_64 is specified; Gradle happily builds ppc64 binaries with the system toolchain.  The problem starts when I want to differentiate between x86_64 and ppc64 builds in order to have the binaries installed under different paths.  (The Ghidra build system needs the installation directory name to match the name of the targetPlatform due to the way it interacts with the generated task names.)
Steps to Reproduce

The build.gradle presented above should be sufficient to reproduce the issue.  Just run Gradle on Linux/ppc64.  The same behaviour can also be observed on ARM64, just change architecture 'ppc64' into architecture 'aarch64'.  The C source itself is completely arbitrary.
Your Environment

Gentoo Linux, stock kernel 4.19.29.  The JVM is OpenJDK 1.8.0_191.
The "build scan" thingy seems to be broken, sorry.  (After I answer "yes" to the ToS question I just get the shell prompt back, no URL.)

It's a known limitation that we hope to start addressing soon. Gradle handles x86 and x86_64 out of the box. For other architecture, you need to guide the tool chain a little bit, see the cross-compilation section of the user guide.

Just to make sure I correctly understand, you are running Gradle on a PPC64 machine with a tool chain building for the host (PPC64)? Basically, no cross-compilation?

Yes, it is native compilation that I want to work.  I could create explicit toolchain declarations saying that /usr/bin/gcc should be used for both x86_64 and ppc64, but apart from it being rather confusing to have two tasks "installMainX86Executable" and "installMainPpcExecutable" which both build the same native binary, it would also not work correctly in the intended scenario, because "gradle build" would build the "X86Executable", which would be a PPC64 executable but placed in the wrong directory.

I guess the workaround with current Gradle would be to have the packaging step recognize "x86_64" as "Gradle speak" for native, and rename the directory to the actual native platform.  That would break cross-compilation to x86_64 though.  (Not a problem for me personally since I'm not interested in x86_64 systems, but someone might like to try it...)


Extremely slow for huge snapshots mismatch

Describe the bug
I have a huge snapshot (38k lines JS Map), when I run vitest in either dev or run modes - it takes insane amount of time to get response, one might think that it just hangs.
Reproduction
My test:
import { it, describe, expect } from "vitest";

describe("something", () => {
  it("works", () => {
    expect(something()).toMatchSnapshot();
  });
});

My snapshot:
// Vitest Snapshot v1

exports[`something > works 1`] = `
Map {
  "Cucumber Lebanese" => [
    {
      "amountPerUnit": 5,
      "dateTime": "2020-01-01T01:01:00.000Z",
      "item": {
        "amount": 1,
        "description": "Cucumber Lebanese",
        "onSpecial": false,
        "productSeries": "Cucumber Lebanese",
        "quantity": 1,
      },
    },
    // repeat 3 times
    }
  ],
  // repeat 1000 times

When I run tests, I get this:
 FAIL  util.spec.ts > something > works
AssertionError: Snapshot `something > works 1` mismatched
 ❯ util.spec.ts:6:42
      4| describe("something", () => {
      5|   it("works", () => {
      6|     expect(something()).toMatchSnapshot();
       |                                          ^
      7|   });
      8| });

and then the process keeps on running while using ~10-20% of CPU.
After a long time I think the process fails with non-zero code without showing diff, but I'm not 100% sure about that.
Might be related to https://github.com/vitest-dev/vitest/issues/2008
System Info
System:
    OS: Windows 10 10.0.19044
    CPU: (20) x64 12th Gen Intel(R) Core(TM) i9-12900H
    Memory: 32.59 GB / 63.68 GB
  Binaries:
    Node: 19.3.0 - ~\AppData\Local\nvs\node\19.3.0\x64\node.EXE
    npm: 9.2.0 - ~\AppData\Local\nvs\node\19.3.0\x64\npm.CMD
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (108.0.1462.76)
    Internet Explorer: 11.0.19041.1566

Used Package Manager
npm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

#2828 should fix this issue, please let me know if it does

It does, see https://github.com/vitest-dev/vitest/pull/2828#issuecomment-1426909884
Thank you, please consider reopening this issue


Slack and Teams on_x_callbacks

Is your feature request related to a problem? Please describe.
Airflow users often want to either alert for DAG or Task success or failure. Examples for this are plentiful but still require a lot of "roll it yourself"
Describe the solution you'd like
I would like to advise something like
import providers.alerts.slack_notification

with DAG(
  on_failure_callback=slack_notification(channel="xyz", conn_id="abc")
):

or
BashOperator(
  ...,
  on_failure_callback=slack_notification(channel="xyz", conn_id="abc")
)

with sensible defaults and simple (enough) setup.
Being able to pass in a message is a bonus.
Having a default message that gives links to the task, maybe lineage, and failure task logs would be best.

on_failure_callback expect python callable (i.e python function) what about directly calling using the slack operator in the on_failure_callback callable function?
def slack_notification(...)
    SlackWebhookOperator(...).execute(context=None)

with DAG(
  on_failure_callback=slack_notification
):

or expectation is to have some function wrapper over these notification operators?

@pankajastro - I imagine the function signature would be slack_notification(channel: str, conn_id: str) -> Callable[Context] - so takes some configuration and returns the callable

@fritz-astronomer Since Airflow has a notifier feature does it still relevant?
https://airflow.apache.org/docs/apache-airflow/2.6.0/howto/notifications.html#using-a-notifier
https://github.com/apache/airflow/tree/main/airflow/providers/slack/notifications

No :/ not really. Airflow does need a teams notifier though :)

We introduced apprise notifier  https://github.com/apache/airflow/pull/31533 that should handle ms team.

closing this in favour of the Airflow notifier feature.


extra 's' in target URL

Describe the issue
httpss should be https - this seems to affect all the RFC records (https://bib.ietf.org/public/rfc/bibxml/).
For example: on https://bib.ietf.org/public/rfc/bibxml/reference.RFC.5234.xml
<reference anchor="RFC5234" target="httpss://www.rfc-editor.org/info/rfc5234">
should be
<reference anchor="RFC5234" target="https://www.rfc-editor.org/info/rfc5234">
Code of Conduct

[X] I agree to follow the IETF's Code of Conduct

@alicerusso  Thanks for the bug report. This was a bug introduced in the last release.
The change is reverted now and is being deployed now.
Please allow ~3 hours for data reindexed.


Merge shard awareness with original behaviour

It turns out that shard awareness is a great optimisation but in case of extremely high load, the original behaviour of picking the least busy connection performs better. This is because original algorithm load-balances coordinator work more evenly among shards.
This PR brings back the old, non shard aware behaviour when the selected connection that targets the right shard is more than 50% busy and there is another connection that's at least 20% less busy. Then we use the least busy connection instead of the one that connects to the right shard.

@vladzcloudius is this what you need?

@mmatczuk it turned out removing atomics caused some data races so I had to readded them.

@haaawk Sorry, just saw this.
It would be much easier for me to try a Java driver with this (I'll simply play with c-s).
If you have some GoCQL application to play with I can try it too.

I will add the same functionality to Java driver then and let you know @vladzcloudius

My comments (discussed during 1:1 with @haaawk):

Need to check how often the "original behavior" kicks in (is it often or only when a cluster is overloaded?). If it's often, then we need to make sure it doesn't "pollute" any Scylla Monitoring dashboards - a user could mistakenly think that the shard awareness is not working at all.
In one real-world customer usage, they periodically perform for (item in items) executeAsync(queryFor(item)). There's high probability that would cause the "original behavior" to kick in due to a sudden (but manageable) spike of requests.

My comments (discussed during 1:1 with @haaawk):
* Need to check how often the "original behavior" kicks in (is it often or only when a cluster is overloaded?). If it's often, then we need to make sure it doesn't "pollute" any Scylla Monitoring dashboards - a user could mistakenly think that the shard awareness is not working at all.

This is a non-issue as long as we properly document the new feature.

* In one real-world customer usage, they periodically perform `for (item in items) executeAsync(queryFor(item))`. There's high probability that would cause the "original behavior" to kick in due to a sudden (but manageable) spike of requests.

And this would be exactly what this feature was written for - we need to be able to accommodate sudden bursts and re-balance the load among available connections.
@avelanarius

@psarna @fee-mendes FYI
This is a work I was referring to.
Piotr, could you, please take the ownership of this and bring this to completion?

Ownership - sure, but I don't speak go, so I'll need to delegate the review process. @piodul sounds like a natural candidate, but we'll discuss priorities first and then go back to triaging this issue. Thanks for digging it out

BTW I think we can wait with merging this until @vladzcloudius confirms at the field that it really works better than the old version

@vladzcloudius what about this old comment - was this code tried out anywhere? Perhaps some other constants make sense here too.

If somebody wishes to test this out before I get to this, one can use scylla-bench instead of cassandra-stress. It has less options, but it should be sufficient for a simple benchmark.
Here are some quick instructions on how to run scylla-bench with custom gocql (assuming you have go installed):

git clone gocql, check out the branch for this PR

git clone scylla-bench

Inside cloned scylla-bench repo:
go mod edit -replace github.com/gocql/gocql=/path/to/checked/out/scylla-bench
go mod tidy

To run and compile, run go run . <flags> from s-b's repository. AFAIK this should detect changes made to any of the repositories and rebuild, so in-code parameters can be tweaked by changing the code inside the cloned gocql repo.

Ownership - sure, but I don't speak go, so I'll need to delegate the review process.

I'd like to take you the ownership of the the issue this PR is trying to fix.
And the issue is that every (!!) shard-aware driver is going to behave (much!) worse than a vanilla driver when a shard to which a specific TCP socket is connected gets more loaded (e.g. due to a compaction that began running there).
Now imagine that a client sends a totally TokenAware (prepared statements and all) ideally balanced traffic to a node with a fixed rate which scylla is able to handle when there is no background processing like compaction.
However then imagine that when compaction kicks in a given shard becomes overloaded and is no longer capable to handle a given rate and requests begin queuing up:

Latency goes up
Requests begin timing out.
SR kicks in overloading the system even more.
Client start retrying failed requests and here are two possibilities:

If the client can throttle the bandwidth (e.g. it has a limited max concurrency) then this is going to harm the total cluster's performance because the client will stop sending requests to all shards and not only to the overloaded one.
If the client can't throttle the rate (and there are many use cases like this) then this shard may never get out of this overloaded state even after the background process is over because of the long queue built up on it and because retries and going to effectively increase the rate of requests that arrive to that shard.

So, as you can see bad all over the place.
Now let's recall what a vanilla driver will do:

It uses a shortest queue first logic for distributing requests among available TCP connections towards the replica it wants to send a query to (based on the token).
So, when one shard gets overloaded a queue on the corresponding socket begins to grow and the driver will start NOT sending it requests choosing other sockets with shorter queues.
As a result driver will auto-balance itself.
No issue.
Happy life!

So, in order to fix this situation an idea was to implement a logic in the shard-aware driver that would fall back to use a shortest-queue-first algo when the "right" socket starts building up a queue.
The description of the patch is missing the whole context and I can't find it either but I think there might have been a Google Doc or a GH issue. Asking PiortJ could be one way to find it.
But in gist the thresholds of switching between these modes is supposed to rely on another driver parameter which is a max_connection_concurrency which is effectively a maximum concurrency on a single TCP connection:

You can switch to shortest-queue-first when a socket concurrency is greater than 50% of the max.
You switch back when it's below.
PiotrJ also implemented an additional heuristics of choosing only those sockets as "receivers" which has concurrency less than 20% in order to avoid switching to a shortest-queue-first when all shards are overloaded.

But that's more or less it. I believe we also want to to have those thresholds parametrized (e.g. expressed in % from the max_concurrency or, according to PiotrJ's report in some drivers like GoCQL you want an absolute value because max_concurrency is not configurable and has a too large value).

BTW I think we can wait with merging this until @vladzcloudius confirms at the field that it really works better than the old version

@vladzcloudius what about this old comment - was this code tried out anywhere? Perhaps some other constants make sense here too.

Please, see my response to the comment above, @psarna: https://github.com/scylladb/gocql/pull/86#issuecomment-966663087
I don't speak Go either. Nor I'm familiar with  a tool to test it (I'm not familiar enough with scylla-bench).
My tool of choice is c-s, so a Java driver with the patch would be very appreciated.
I don't remember why PiortJ decided to start with GoCQL (there must have been a reason) but we usually start with a Java driver and then backport it around.

but we'll discuss priorities first and then go back to triaging this issue. Thanks for digging it out

Sure. Please, note that we saw this more than once in the field and as you can understand from the description - this relates to virtually every shard-aware driver user.


Pi freezes

Jan 28 07:43:58 allsky allsky_RPiHQ.sh[686]: put: images/20210127/allsky-20210127.mp4: Access failed: 552 allsky-20210127.mp4: Disk quota exceeded
Jan 28 07:44:10 allsky allsky_RPiHQ.sh[686]: put: Access failed: 552 image-resize.jpg: Disk quota exceeded
This happens over and over

SD card is 128 GB, Directory Home/pi/allsky/images contains 2Gb. Could this be a problem for 32 bits. They are images from only two days.

SD card is 128 GB, Directory Home/pi/allsky/images contains 2Gb. Could this be a problem for 32 bits. They are images from only two days.

installed normal noobs before it was the minimal version


chore(codecov): fix misplaced status

PR Checklist

[x] A description of the changes is added to the description of this PR.
[ ] If there is a related issue, make sure it is linked to this PR.
[ ] If you've fixed a bug or added code that should be tested, add tests!
[ ] Documentation in docs is updated

Description of changes
status key in Codecov configuration is misplaced, since it it is currently under ignore instead of coverage, as shown in the documentation.

Codecov Report

Merging #131 (a28d051) into main (94730ba) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##            main    #131   +/-   ##
=====================================
  Coverage   95.1%   95.1%
=====================================
  Files         34      34
  Lines       1291    1291
=====================================
  Hits        1228    1228
  Misses        63      63

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

Thanks!


[TABS] Inactive tabs are not unmounted

Hi...
I notice that inactive tabs are still mounted, exist any way to prevent that?...

HI @gperdomorBot We are using https://github.com/exponent/react-native-tab-navigator for Tabs. It might be better to report it there. I will try to take a look at it as well.

Closing this issue as it's more relevant on https://github.com/exponent/react-native-tab-navigator.


Fix ordering in A.1 litmus test forbidden execution explanation

Updates the second possible scenario in which a0=1 to state that (c)
appears before (b) would result in a0=1 but is forbidden due to
violation of the Load Value Axiom. The current description states that
a0=1 if (a) appears before (b) in global memory order, which would not
be the case as (b) stores the immediate 2 to the same address 0(s0)
after (a) stores the immediate 1.
Signed-off-by: hasheddan<EMAIL_ADDRESS>cc @daniellustig @aswaterman
This is based on my own understanding of the Load Value Axiom and the litmus test in question. Please feel free to close if my interpretation is incorrect.

Thanks for the review @hasheddan.
There are many ways to think about these examples, but the intention of the original text was to show that 1) it's clear from the definition of GMO that either (a) is before (b) or (b) is before (a), and so 2) if both of those are ruled out, the proposed outcome is impossible.
If rewritten as proposed, it would IMHO be less clear that all possibilities have been ruled out.  Also, (b) and (c) would not be described has having a coherence relationship, because (c) is a store.  Does that make sense?
So I would leave this text as is.

I would be fine with the new proposal that just adds and (c) reads the value written by (a), except really that applies to both cases.  Perhaps it would be better to add it here: a0=1 could occur only if (c) reads the value written by (a) and one of the following were true.

@daniellustig sounds reasonable to me. Updates made in latest patch. Thanks again.

LGTM

Thanks, y'all.


textual-serve is not starting

Hi everyone,
I'm quite new to textual and still try to figure out some stuff. (I really like it so far).
Somehow textual serve is not working for me.
Running python -m textual works totally fine as expected.
Running
from textual_serve.server import Server

server = Server("python -m textual")
server.serve(debug=True)

just creates a website which looks like this

I'm having these versions installed:
textual                 0.79.1
textual-dev             1.5.1
textual-serve           1.0.2

and I'm using python 3.12.3.
Am I doing something wrong?

Textual serve is at 1.1.1. If you update, it should work.
How did you install? I would have expected you get the latest automatically.

Hi,
thanks a lot for the fast reply.
I actually had 1.1.1 installed and it didn't work either.
I then checked the latest tags on GitHub and installed the versions from the tags.

If it is not working on port 8000, it suggests some other process is listening on that port.
If you run with DEBUG=1 it will give more information.
The calculator example is known not to work with textual serve, as it uses inline mode. We will have a fix for that soon.

So you just solved the problem 👍
I used the calculator example as basis for my own application.
I didn't think about the "inline" option and also used that.
Now everything works fine 🥳 .
(Maybe a short notice about that would make sense? Maybe I just didn't see it?)
Thanks a lot for the immediate help.


Missing license file

Hi,
Could someone please add the appropriate approved open source license for this project, either a LICENSE or LICENSE.TXT file?
Thanks!

Added MIT License - same as diskspd.


Feature/dag display type

For cwl workflows, when no type can be found, display n/a instead of dockstore_
https://github.com/ga4gh/dockstore/issues/1870

pending success on build

Coverage remained the same at 75.468% when pulling 9427a58a1278e7996591dadcf118f46a5c46ef47 on feature/dag-display-type into 60bbe7ce63882d4686b9be4e2eac301558182c00 on develop.

Coverage remained the same at 75.468% when pulling 9427a58a1278e7996591dadcf118f46a5c46ef47 on feature/dag-display-type into 60bbe7ce63882d4686b9be4e2eac301558182c00 on develop.


Have site display icons on map indicative of site type and data age

I think the TSA already has different icons for the different site types, but I love the little green/yellow/red dots vizer (http://viz.criticalzone.org/Christina) puts below the site icon to indicate data age.

@SRGDamia1 - The TSA sets its icon styles by a "network" grouping, not necessarily by SiteType (although for iUTAH, the sites are grouped into networks generally according to SiteType).  For the citizen science project - is there a short list of site/icon types we anticipate?  Should sites be symbolized by SiteType, by Organization, by User???
Also - I'm assuming this only applies to the Browse Sites page.

The color of the symbol should indicate the data age:
green - has data within the last 24 hours
orange - within the last week, but not the last day
red - nothing with the last week
As for what the symbol should be, I was originally thinking of different symbols by site types, as they are done on the Nanoos visualization.  Now I think that would be too much effort for very little gain.
I think we should stick with a bubble pin for all symbols.  Use a slightly larger pin for user owned sites and a smaller one for others.

For consistency with the sparklines, we should probably change the "green" to be within the last 72 hours, thus:
blue - has data  within the last 6 hours
green - within the last 72 hours
orange - within the last 2 weeks
red - out of date
I do like the symbols within pins used in WebTSA.

@SRGDamia1 Do you want to keep the current symbol in the middle? As is implemented it is bright for sites you follow or own and dark for sites you do not follow nor own.

Here is how these changes look like

Sites you own use a slightly larger marker

The color convention in the My Sites cards has been removed. All sites listed show as blue. Markers in this page use the same icons and colors as in Browse Sites

Hm.. I don't really love the blue on the status pins.  Could you change the < 6 hours to dark green (~ #1e8449) and <72 hours to a lighter green (~#90e522)?  It doesn't have to be those exact colors, just so you had an idea.
Dave Bresser would also prefer dark yellow to orange.
I like the different pin sizes.
I also like the re-coloring of the My Sites cards.  Blue is good.  Having them all orange was scary.

@SRGDamia1 How about this:

I like the look of the map you just posted.  @dbressler75 ?

I really like the different colors in the new map you just showed.
Questions:  Will all leaf-pack-only site always appear red?  The timing categories don't really apply to leaf-pack type data.  I didn't even think of it until you were demonstrating other leaf-pack feathers just now.
@HeatherBrooks - Do you think leaf pack users will be bothered by their sites always appearing "out of date?"  Should we use a different color to represent sites where no sensors have been registered?  Blue? Green?

We might want to have a "Leaf Pack Only" site type.

I think grey is great for sites with no data at all.  I think we want blue or some other color for sites that do have leaf pack data but no sensors.  If there's leaf pack and sensors, use the coloring for a sensor.

Tara would like to use Leaf Pack Network brand colors wherever possible. Here are colors in the logo:
Green: hex #8fba3e, RGB 143 186 62
Orange: hex #dc5428, RGB 220 84 40
I would prefer the orange. A deep golden yellow might also work.

Here is how that looks like

I had to use a brighter orange since the one you mention was too close to red and looked to similar to other red markers.
The legend text can probably use changes. Let me know what you would like.

Thanks for the example. I think the orange is still too close to the red, especially for people with red-green colorblindness. I see that you're using different shapes for ownership status ... is there a different marker shape you can use for the leaf pack data?

How about one of these?

Now that I see these, I think using a different marker shape in the orange will still be hard to distinguish. But I like the blue marker, can it be used? I know it's not in the leaf pack branding colors, but it will certainly be easy to tell the leaf pack data from the sensor data.

Yes, I have added the blue marker for this case. This change will show up in the next update. Here is hot it looks like:

@Maurier - nearest I can tell, this looks good on the sandbox. It's a little hard to test because all of the data are out of date on the sandbox, so several of the markers don't show up on the map at all.  I'm going to add the "tested" label.


[Feature Request + Bug] Improvements to Hero Section Alignment, Image Animations, and Sign-Up Page Styling

Bug Report: Hero Section Container Misalignment
Description: The hero section container on the homepage has shifted towards the left, resulting in an uneven layout where additional space appears on the right side. This affects the overall symmetry and user experience.
Expected Behavior: The hero section should be centrally aligned, ensuring equal spacing on both sides to maintain visual balance.
Feature Request: Add Floating Animation to Accessory Images
Description: Currently, the images of the gaming accessories are static. To enhance interactivity and aesthetics, I propose adding a floating/hover animation effect. This will improve the overall user experience by making the site feel more dynamic and engaging.
Proposed Implementation:

Implement subtle CSS keyframe animations for a smooth floating effect when users hover over the images.
Ensure that the animations don't impact page performance or slow down load times.
Add optional custom animations such as a slight scaling or shadow effect on hover.
Complexity: This will require ensuring cross-browser compatibility and testing the animation performance across various devices to maintain a smooth user experience.

Feature Request: Improve the Styling of the "Home" Button on the Sign-Up Page
Description: The current design of the "Home" button on the sign-up page feels inconsistent with the rest of the website's modern aesthetic. Enhancing this button's design can improve the visual coherence and user flow.
Proposed Enhancements:

Update the button style with modern design elements such as rounded corners, soft gradients, and hover animations.
Ensure it follows the site's color scheme and typography to maintain consistency.
Improve the button's accessibility by adjusting its size, contrast, and padding for better usability.

Impact : These enhancements will significantly improve the visual appeal and user experience, helping to maintain user engagement and improve navigation across the website.

@swaraj-das Please assign me the level.


Support storing examples on S3

Follow on to #145
This is the tracking issue for S3 support.

To support this we just need to

Implement FileHelper and DirHelper interfaces for S3
UPdate Factory to support the S3 helpers.


Ways around the Clone requirement on Message?

Using certain widgets (e.g. Button) adds a Clone requirement on Message. As far as I can tell you can only have one Message type for your application, and Messages seem to be the way to pass async data around. This combination can be a little restrictive. Is there some way of structuring my Messages to avoid the clone requirement? Or should I just be sticking everything inside an Arc and not worrying about it?

Removing the Clone bound will end up being more restrictive, since it means Copy types will be copied and non-copyable types will be moved.

You can decouple the required variants that need to be Clone in your current Message into another enum that is Clone, use that Message for your widgets, convert the Widget into an Element with that cloneable message, then use Element::map to convert the decoupled Message into the non-clone Message.
You can check this out to see what the code for that would look like.

Thanks for that! I was looking for something like this but hadn’t found
Element::map.
On Tue, 9 Feb 2021 at 05:56, Eucladia<EMAIL_ADDRESS>wrote:

You can decouple the required variants that need to be Clone in your
current Message into another enum that is Clone, use that Message for
your widgets, convert the Widget into an Element with that cloneable
message, then use Element::map to convert the decoupled Message into the
non-clone Message.
You can check this
https://github.com/hecrj/iced/pull/155#issuecomment-573523405 out to
see what the code for that would look like.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hecrj/iced/issues/733#issuecomment-775288698, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAOYQXKUJDQ44ZIGRVXWOYDS6AJUPANCNFSM4XIHS5HQ
.


[Gally]: master <- dev

Automatically created by Git-Ally

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


move bookinfo/kube/* to bookinfo/platform/kube

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: frankbu
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

samples/OWNERS [frankbu]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/lgtm
/approve
@ymesika FYI, you might need to rebase again after this PR.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: frankbu, yangminzhu
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

samples/OWNERS [frankbu]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@yangminzhu Unless mine will get merged first..


Fix tabbing in event details metadata

In the event/series details metadata tab, it was not possible to navigate between the different items using the "tab" key. This is now possible.
Fixes #233.

This seems to work correctly for me now.


http://pydocstyle.org missing SSL certificate

The docs site is lacking an SSL certificate:

There is a certificate if you go to https://www.pydocstyle.org. The problem is that there is no automatic redirect from the HTTP site to the HTTPS site.
Many sites unfortunately don't supply automatic redirects. Using a browser plugin like HTTPS Everywhere (if you browser supports it) can do this redirect from the client side in most cases.


[wip] build.sh => fedimint-bin-test

Would be nice to move this function into this mod since it also deals with environment variables
https://github.com/fedimint/fedimint/blob/b01810900b6a771644cc9943b460aa1231fbbe35/fedimint-bin-tests/src/federation.rs#L14-L43


request.auth.claims[scope] does not allow a JWT with additional scopes

Describe the bug
When enabling RBAC, the request.auth.claims[scope] authorization property only matches exact strings. The service role is not bound when a token contains sufficient scopes, but also has additional scopes.
Expected behavior
If the token has all the scopes the property value asks for, it should pass; even if the token has additional scopes that are not in the property value.
Note: Wildcards can be used for the beginning and end of the string, but this is very limited when validating scopes of a JWT.
Steps to reproduce the bug

Enable mTLS (istio-auth.yaml) on app similar to BookInfo
Enable JWT Policy
Configure a ServiceBindingRole with the following subject properties

subjects:
  - user: "*"
    properties:
      request.auth.claims[scope]: "foo.read foo.write"

Visit the page with a JWT containing the following or equivalent scopes
{..., "scope": "foo.read foo.write foo.update"}

Version
○ → istioctl version
Version: 1.0.1
GitRevision: 42773aacced474d97159902d20579a25b1f98106
User: root@832d5020b1d4
Hub: gcr.io/istio-release
GolangVersion: go1.10.1
BuildStatus: Clean

○ → k version
Client Version: version.Info{Major:"1", Minor:"11", GitVersion:"v1.11.1", GitCommit:"b1b29978270dc22fecc592ac55d903350454310a", GitTreeState:"clean", BuildDate:"2018-07-18T11:36:43Z", GoVersion:"go1.10.3", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.0", GitCommit:"fc32d2f3698e36b93322a3465f63a14e9f0eaead", GitTreeState:"clean", BuildDate:"2018-03-26T16:44:10Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}

Is Istio Auth enabled or not?
istio-auth.yaml enabled on demo BookInfo app with the example JWT Policy enabled
Environment
minikube version: v0.28.1
Cluster state
istio-dump.tar.gz; jwks information in the JWT Policy may need to be updated so that tokens can be generated with scopes relevant for this issue.
Related Issue: https://github.com/istio/istio/issues/8466

request.auth.claims[groups] is another example where support for arrays of strings is necessary

In Istio 1.0, Istio RBAC does not support JWT claims with array type. We recently added this support (bullet 3 of issue #6984). We are in the process of updating documentation. It will be available in 1.1 release. @lei-tang
In the example, your JWT claim should contains an array:
{..., "scope": ["foo.read", "foo.write", "foo.update""]}
ServiceRoleBinding should be:
subjects:
  -  properties:
       request.auth.claims[scope]: "foo.read"
  -  properties:
       request.auth.claims[scope]: "foo.write"

For request.auth.claims[groups], you will be able to use "group" field in ServiceRoleBinding:
subjects:
  -  group: "foo.read"

which is equivalent to
subjects:
  -  properties:
      request.auth.claims[groups]: "foo.read"

@liminw Thank you!

Confirmed that istio 1.1.0.Snapshot.1 fixes the described issue 👍 Thanks!

The PR #7747 fixed this issue. Thanks for confirming that the fix works!

The fix above seem to address Issue #8319, but not this issue (i.e. space separated scope string)
As per draft RFC for OAuth Token Exchange - Section 4.2, the scope claim is a space separated string of scopes, and not a list.
https://tools.ietf.org/html/draft-ietf-oauth-token-exchange-16#section-4.2
The scope claim is also currently a temporarily registered claim with IANA: https://www.iana.org/assignments/jwt/jwt.xhtml
Various OpenID Connect Authorisation Servers have supported with format for some time. Keycloak, for example has been returning the JWT scope claim in this format since v4.0.0.Final. Note that space separate string has been long an OAuth2 standard for token responses, so this format in JWT claims would have been expected.
As noted above I can use only use the prefix and postfix wildcard to try to get around this, but I can't guarantee in what order the scopes will be returned, so this is not an approach that works.

So if my JWT scope claim looks like this (genuine example from Keycloak)
"scope": "openid profile email"

How can I match against the profile scope for example?

I am having this same issue with Auth0 as JWT provider. They provide scope as a space delimited string.

Any updates on this issue?


Made some minor change to READEM.md to make it more active verbs

ℹ Repository information
The repository has:

[ ] At least three issues with the good first issue label.
[ ] At least 10 contributors.
[ ] Detailed setup instructions for the project.
[ ] CONTRIBUTING.md
[ ] Actively maintained.

Made changes to README.md to make the sentences more active than passive


linux-hardened: 5.8.x -> 5.9.x

Motivation for this change
Update to latest kernel series
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Determined the impact on package closure size (by running nix path-info -S before and after)
[X] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

@ofborg test latestKernel.hardened hardened


Initial commit of pyright

https://microsoft.github.io/pyright/#/
https://github.com/microsoft/pyright
Static Type Checker for Python
Pyright is a full-featured, standards-based static type checker for Python. It is designed for high performance and can be used with large Python source bases.
Pyright includes both a command-line tool and an extension for Visual Studio Code.

Hi @fsargent, did you need any additional help getting this finalized?

Will get this fixed up tomorrow.

@TylerJang27 I think this is ready now.


Lack of consistency in WHOIS results

Issue description
Performing the same WHOIS can randomly return successful results or PyErrors ("no match") for the same domain.
Results
I've performed a consistency study over a problematic list of domains: 25 WHOIS runs for the same 23 domains. Results can be seen in the next gspread sheet.
Code used
import whois
import csv

domains_to_check = ['campingfriends', 'Getawaytrips', 'bedtrip', 'Roadtrip', 'campingvacation', 'parkgroup', 'campingtrip', 'Destinationsvacation', 'everyoneland', 'groupfriends', 'camperspot', 'landvacation', 'landGetaway', 'tripsgroup', 'friendsspot', 'roadcamper', 'campingspot', 'rentingvan', 'bedvans', 'tentspot', 'tripDestinations', 'tripvan', 'caravanDestinations']

lookup = []
for word in domains_to_check:
    lookup.append([word]) # We prepare a list of lists: [[domain1, run1, run2, ...], ...]

n = 0
while n < 25: # 25 runs of the same WHOISs
    print(n)
    i = 0
    for word in domains_to_check:
        try:
            whois.whois(word + '.com') # Succesful WHOIS: the domain is not available
            w = 'not available'
        except:
            w = 'available' # Unsuccesful WHOIS, "No match" PyError: domain available
        lookup[i].append(w)
        i += 1
    n += 1

 # Writing to CSV
for row in lookup:
    with open('looping_error_output.csv',"a") as file:
        writer = csv.writer(file)
        writer.writerow(row)
print(lookup)

Results (pasted here for those that prefer not to open Google Sheets)

Term (+.com)
Run 1
Run 2
Run 3
Run 4
Run 5
Run 6
Run 7
Run 8
Run 9
Run 10
Run 11
Run 12
Run 13
Run 14
Run 15
Run 16
Run 17
Run 18
Run 19
Run 20
Run 21
Run 22
Run 23
Run 24
Run 25

campingfriends
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available

Getawaytrips
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available

bedtrip
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available

Roadtrip
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available

campingvacation
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available

parkgroup
not available
not available
not available
available
available
not available
not available
not available
not available
not available
available
available
not available
not available
available
available
not available
not available
available
available
available
not available
available
available
not available

campingtrip
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available

Destinationsvacation
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available

everyoneland
not available
not available
not available
not available
not available
not available
not available
not available
available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available

groupfriends
not available
not available
not available
not available
not available
not available
not available
not available
available
available
not available
not available
not available
not available
not available
available
not available
not available
not available
not available
not available
not available
not available
not available
not available

camperspot
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available

landvacation
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available

landGetaway
not available
not available
not available
not available
not available
not available
not available
available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available

tripsgroup
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available

friendsspot
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
available
not available
not available
not available
not available
not available
not available
not available

roadcamper
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
available

campingspot
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available

rentingvan
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available

bedvans
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available

tentspot
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available

tripDestinations
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available

tripvan
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available

caravanDestinations
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available
not available

looks like network problem if results are inconsistent - perhaps IP is being blocked

looks like network problem if results are inconsistent - perhaps IP is being blocked

It would be nice if the package was able to log or print a warning in that case.

patch welcome


Connection error in check_local_ip_disclosure

User reported issue:
       Completed (Elapsed: 6:20:51.327802 - Peak Memory: 3.14GB)
Traceback (most recent call last):
  File "/usr/local/bin/yawast", line 42, in <module>
    main.main()
  File "/usr/local/lib/python3.7/site-packages/yawast/main.py", line 76, in main
    args.func(args, urls)
  File "/usr/local/lib/python3.7/site-packages/yawast/command_line.py", line 156, in command_scan
    scan.start(session)
  File "/usr/local/lib/python3.7/site-packages/yawast/commands/scan.py", line 62, in start
    http.scan(session)
  File "/usr/local/lib/python3.7/site-packages/yawast/scanner/cli/http.py", line 99, in scan
    res = http_basic.check_local_ip_disclosure(session)
  File "/usr/local/lib/python3.7/site-packages/yawast/scanner/plugins/http/http_basic.py", line 343, in check_local_ip_disclosure
    conn.connect()
  File "/usr/local/lib/python3.7/site-packages/sslyze/utils/ssl_connection.py", line 96, in connect
    self.do_pre_handshake(network_timeout)
  File "/usr/local/lib/python3.7/site-packages/sslyze/utils/ssl_connection.py", line 80, in do_pre_handshake
    sock = self._socket_helper.create_connection(final_timeout)
  File "/usr/local/lib/python3.7/site-packages/sslyze/utils/connection_helpers.py", line 36, in create_connection
    sock = socket.create_connection((self._server_ip_addr, self._server_port), timeout=timeout)
  File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/socket.py", line 727, in create_connection
    raise err
  File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/socket.py", line 716, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 61] Connection refused

Fix is in develop - will be in next release.


When "use bezier curves" active animation not working properly

Godot version: 3.2
OS/device including version: Manjaro arc linux
Issue description: I am working on skeloton animation. And when i insert key with use bezier curves activated Some bones rotation change to 0.  when i deselect "use bezier curves" working normal.
i got screen record to show what issue

Steps to reproduce:
Minimal reproduction project:

@PBird Please upload a minimal reproduction project to make this easier to troubleshoot.

https://github.com/PBird/smallExamplegodotBug
i create small project to show this bug. I notice another bug on texture. I cant describe this bug with words so i got screenshot to show you.


Node v6 "v8::ObjectTemplate::Set() with non-primitive values is deprecated"

Testing this on Node v6 and throwing warnings
v8::ObjectTemplate::Set() with non-primitive values is deprecated
See nodejs/node#6216 and nodejs/node#6228

+1

+1

+1

+1

See PR #137


[Bug] All plugins not working

Describe the Bug
All of the plugins are not working.
The bd setting menu missing custom css, plugins, and themes section.
To Reproduce
Just open discord.
Expected Behavior
Everything should be there.
Screenshots

Discord Version
Stable 112515, Windows 10 19044

Looks like the install didn't complete due to network issues, have you had BetterDiscord before or is this your first time using it?

Looks like the install didn't complete due to network issues

What?

Looks like the install didn't complete due to network issues, have you had BetterDiscord before or is this your first time using it?

I have been using BetterDiscord for a while and it works fine until recently. This issue doesn't exist on ptb and canary, only stable version.
I have tried VPN and reboot several times and reinstall bd, doesn't help.


Python listed twice on Windows

In a Windows 10 CMD shell, I do this:
uv python list
and I get a list of Pythons available to me.  Some are listed twice, due to differences in capitalization:
cpython-3.10.15-windows-x86_64-none      <download available>
cpython-3.10.7-windows-x86_64-none       c:\users\chris\AppData\local\Programs\python\python310\python.exe
cpython-3.10.7-windows-x86_64-none       C:\Users\Chris\AppData\Local\Programs\Python\Python310\python.exe
cpython-3.9.20-windows-x86_64-none       <download available>

On Windows, I think these duplicates should be filtered out, as Windows is not case-sensitive.

@zanieb -- Do we also want to de-duplicate symlinks? (I think we probably don't expect to see symlinks here anyway?)

Ok. I'm not sure how to solve this then. It's not really correct to just do a case-insensitive comparison.

We could avoid showing symlinks on Windows specifically?
I guess the question is, how are both of these being found? Can you share output with RUST_LOG=uv=trace set?


Extension causes high cpu load

Issue Type: Performance
Extension Name: bracket-pair-colorizer-2
Extension Version: 0.0.28
OS Version: Darwin x64 18.5.0
VSCode version: 1.33.1

:warning: Make sure to attach this file from your home-directory:
:warning:/Users/alan/CoenraadS.bracket-pair-colorizer-2-unresponsive.cpuprofile.txt
Find more details here: https://github.com/Microsoft/vscode/wiki/Explain:-extension-causes-high-cpu-load

Duplicate of #55. Please close this and post there instead.
@alanchanzm


Batch size selection

Hello, thank you for the excellent work!
I'm trying to train on smaller batches, so I can maintain the same resolution but still have the same results on a weaker GPU.
Is there any parameter to change the batch size?
Thank you in advance, Jonas.
Salutations,
Guilherme Coelho Fermino.

Found it! However, now I'm a bit worried about the learning rate, which its implementation on Mask3D is inverselly proportional to the batch size, and I couldn't find a parameter to change that. Shouldn't it be direcly proportional do the batch size? (as I've only used softgroup, maybe I could be mistaken with the implementation of Mask3D)

Dear sir,I have the same issue, can you tell me where to change the batch_size?  Thank you very much!

The parameter inputed is data.batch_size, then you input the value you want or your machine can handle. Like:
python main_instance_segmentation.py \
  data.batch_size=1

@guilherme-coelho-isi  Hi! did u address the learning rate issue above? And did you try the training with 1 batch size? How is the performance compared to the original Mask3D?


fix: benefit calculation amount in decision summary was 0,00 €

Description :sparkles:
Accessor was accessing the wrong field. This would sometimes result to 0,00 € in benefit amount on DecisionSummary box.

APPLICANT branch is deployed to platta: https://helsinkilisa-ui-pr3415.dev.hel.ninja :rocket::rocket::rocket:

API branch is deployed to platta: https://helsinkilisa-pr3415.api.dev.hel.ninja/healthz :rocket::rocket::rocket:

HANDLER branch is deployed to platta: https://helsinkilisa-ui-handler-pr3415.dev.hel.ninja :rocket::rocket::rocket:

TestCafe result is success for https://helsinkilisa-ui-pr3415.dev.hel.ninja :laughing::tada::tada::tada:

TestCafe result is success for https://helsinkilisa-ui-handler-pr3415.dev.hel.ninja :laughing::tada::tada::tada: