Fixed error with incompleted data returen from transaction.ReadQueryResult method

Pull request type

Please check the type of change your PR introduces:

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

Issue Number: N/A
What is the new behavior?

Other information

Codecov Report
Attention: Patch coverage is 33.33333% with 10 lines in your changes missing coverage. Please review.

Project coverage is 43.56%. Comparing base (e8897e9) to head (0f41500).

Files with missing lines
Patch %
Lines

internal/query/options/execute.go
0.00%
6 Missing :warning:

internal/query/result_set.go
20.00%
3 Missing and 1 partial :warning:

:exclamation:  There is a different number of reports uploaded between BASE (e8897e9) and HEAD (0f41500). Click for more details.
HEAD has 466 uploads less than BASE

Flag
BASE (e8897e9)
HEAD (0f41500)

macOS
21
1

unit
63
1

go-1.21.x
42
1

ubuntu
91
0

go-1.22.x
42
0

integration
63
0

ydb-23.3
21
0

go-1.23.x
49
0

windows
21
0

ydb-24.1
21
0

ydb-24.2
21
0

ydb-nightly
7
0

experiment
7
0

Additional details and impacted files
@@             Coverage Diff             @@
##           master    #1561       +/-   ##
===========================================
- Coverage   70.96%   43.56%   -27.41%
===========================================
  Files         363      296       -67
  Lines       37568    31759     -5809
===========================================
- Hits        26662    13835    -12827
- Misses       9822    17451     +7629
+ Partials     1084      473      -611

Flag
Coverage Δ

experiment
?

go-1.21.x
43.56% <33.33%> (-26.85%)
:arrow_down:

go-1.22.x
?

go-1.23.x
?

integration
?

macOS
43.56% <33.33%> (+2.51%)
:arrow_up:

ubuntu
?

unit
43.56% <33.33%> (+2.50%)
:arrow_up:

windows
?

ydb-23.3
?

ydb-24.1
?

ydb-24.2
?

ydb-nightly
?

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Bytes support

This is a start of implementing support for byte string as suggested in #626. This is still WIP.
My idea is that the grammar is still string, but you pass the use_bytes=True flag, make the patterns to be compiled with bytes. If you need to use match bytes that are not compatible with whatever encoding is used, you can just escaped them. They will be unescaped later.
TODO:

[X] Add use_bytes to make regex compile as bytes
[x] Add tests (essentially, everything needs to be tested again, but with bytes)
[x] Find and check edge cases

@ctrlcctrlv, does this fix your use case?

Btw. @erezsh The type checking test is configured wrong. It doesn't fail despite reporting errors. And how strongly are you against dropping support for python2.7? It would simplify this a lot.

Hey @MegaIng. Very neat, nice progress! I am glad you were inspired by my idea. Yes, this was pretty much exactly what I had in mind. :smile::+1:

@ctrlcctrlv I would like to use your code that you posted in the issue as test/examples. How would I best do that regarding the license? I have zero experience with that.

@MegaIng That line came from another file, I didn't notice.
I edited it so it now reads
# Example script for UTF8 grammar utf8.lark
# By Fredrick R Brennan, 2020
# This file is released into the public domain. I dedicate the work to the public domain by waiving all of my rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

I'm very much against dropping 2.7.
But this patch doesn't have to support it. i.e. use_bytes on python2 can just throw NotImplementedError

Ok, I decided to skip the tests for python2.7. While the parse works in general, I would call it 'undefined behavior'. I will not be bother to fix this.

@erezsh I think this PR is finished.

Yeah, that would be nice!
Also, I think it's best to throw NotImplementedError for Python2 if the behavior is unpredictable. You can add a note saying it mostly works, but I wouldn't want a user to stumble into it by mistake, thinking it should work.

@erezsh Like this?

Also maybe you could rename source_grammar into grammar_source? It would be more in line with Lark's naming convention.

I could have sworn I already added better commit messages...

Sitenote: I just used coverage.py to check how good the tests are. Total 84%, with a lot of small stuff in __repr__ and similar. More interesting is that a lot of early.py is not covered. Only 64% is covered. I sadly have no idea how it works, so I can't say anything to it's importance.

Thanks @MegaIng  and @ctrlcctrlv for the pull request.
I made two changes you should be aware of:

I removed the use of DualLark. This feature is too minor to justify doubling the test times. But I left the class there, so we can still use it whenever we make changes to the use_bytes feature.

I changed the terminal encoding from utf8 to latin-1. It doesn't make sense to me to allow matching characters outside of \x00-\xFF for a bytes input, or to assume the encoding if always utf8. But maybe you can convince me otherwise.

It doesn't matter, but it should be ascii. We are already making sure that there are no non-ASCII characters, to prevent exactly this problem.

@erezsh At least the documentation has to be changed. latin1 will throw errors.

I thought you're already making sure there are no non-ascii characters?

@erezsh Yes, but that is not reflected in the documentation.

I'm not sure I understand. Has the behavior changed? Or was it just not documented in the first place?

You wrote this in the documentation:

use_bytes - Accept and parse an input of type bytes instead of str. Grammar should still be specified as str, and terminal values are assumed to be latin-1.

This is wrong

Oh, hold on. Why not allow latin-1?

To keep it simple and obvious. Don't make it encoding depended, latin1 doesn't support all possible byte values, so you still have to use \x anyway. Make it obvious how stuff get's loaded from files.

latin1 doesn't support all possible byte values

Really?

Well, ok it does in python, but a lot are not mapped to usable characters. (Like it should)

Let's take it from the start. There are two separate questions:

Do we want to support \x00-\xFF? I think the answer has to be yes, I don't see a reason to only support 7bit ascii, when we can support 8bits just as easily.

What's the best encoding to make it work? It seems like latin-1 does the trick, but if there's a better encoding that's fine.

Unless I'm missing something?

Of course I want to support \x00-\xFF. But to reduce confusing, my suggestion is to do this explicitly with the escape sequence instead of with an encoding.

This PR is causing an error for Python 3.4: https://travis-ci.org/github/lark-parser/lark/jobs/716103753
That's something we'll have to fix before release.


Cloning the source code of Pycon/site  and customizing it for our usecase

Helllo everyone so I and someone are currently working on this https://github.com/pythonghana/pycons-site/tree/johanan   and i think we can clone the source code and customize it. we are inn the process of converting it into a package and i think we can use it for the site. @hbutau  @ronnzw @bornie21 @Kudzmat @JustNunuz @cliff688 @tzinadah

Thanks, @JohananOppongAmoateng sounds good.

Let me go ahead and make a pr


[Feature Request] Cruft Compatibility

Cruft is a simple CookieCutter template management system. Including support for it in CCDS would (correct me if I'm wrong) allow users to pull changes from the CCDS template into their pre-existing CCDS-instantiated project. This happens by saving the initial CookieCutter arguments in a json file when the project is instantiated (say with ccds --cruft) and when running cruft update (say ccds --cruft-update) the new template is ran through CookieCutter with the cached arguments, and merging the new instantiation with the actual project with Git.
For example: CCDS V2.1 is released and contains some updated default tooling some user would like to use on their project that they already used CCDS V2.0 to create. By running something like ccds --cruft-update, the user can pull these changes without having to either add these changes by hand or re-instantiate another CCDS project.
As someone who is making their own CCDS fork, I would really like to see this added since I plan on iterating on my template often and one of the major reasons against using CCDS as a starting point was because of this lack of cruft-compatibility.
(Update: I realize this might be better as a discussion rather than issue)

I think it probably makes more sense for cruft to support ccds than the other way around (since ccds is basically cookiecutter with some adjustments for features we needed). Because we need these changes, we can't in the near term make CCDS strictly cookiecutter compatible, and it looks like running cruft probably depends on that.
Have you raised an issue there?

I haven't. I might make one soon, if so I will link it here


Feature/tofu_nft

3rd try at merging tofu NFT

https://github.com/blockchain-etl/polygon-etl/pull/184/files


[VERIFYING POLISH] Jonasgeiregat issue 547

Closing via https://github.com/spring-projects/spring-pulsar/commit/1126c468ca23df1892918e1888f2a095002b7d83
This was only for final verification before pushing.


Upgrade Gradle and AGP versions to 7.5/7.2 and migrate examples/tests

This upgrades the AGP and gradle version and migrates a subset of example+test apps to use dynamic gradle versions.
Previous gradle bump: https://github.com/flutter/flutter/pull/99723
Part of work to address https://github.com/flutter/flutter/issues/103230

Doesn't look like this is working:
02:44 +12 ~2 -1: test/integration.shard/android_plugin_example_app_build_test.dart: FFI plugin example can be built using current Flutter Gradle plugin [E]
  Exception: flutter build failed: 1

  FAILURE: Build failed with an exception.

  * What went wrong:
  A problem occurred configuring root project 'android'.
  > Could not resolve all files for configuration ':classpath'.
     > Could not find com.android.tools.build:gradle:{{agpVersion}}.
       Searched in the following locations:
         - [https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/{{agpVersion}}/gradle-{{agpVersion}}.pom](https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/%7b%7bagpVersion%7d%7d/gradle-%7b%7bagpVersion%7d%7d.pom)
         - [https://repo.maven.apache.org/maven2/com/android/tools/build/gradle/{{agpVersion}}/gradle-{{agpVersion}}.pom](https://repo.maven.apache.org/maven2/com/android/tools/build/gradle/%7b%7bagpVersion%7d%7d/gradle-%7b%7bagpVersion%7d%7d.pom)
       Required by:
           project :


python3Packages.tempora,cheroot: fix

Motivation for this change
fixes builds
closes: #91220
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] 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)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

https://github.com/NixOS/nixpkgs/pull/91322
4 packages failed to build:
bareos python27Packages.ihatemoney python37Packages.ihatemoney python38Packages.ihatemoney

35 packages built:
ceph ceph-client errbot fava flexget libceph mnemosyne python27Packages.flask-restful python27Packages.flask-restplus python37Packages.cheroot python37Packages.cherrypy python37Packages.flask-restful python37Packages.flask-restplus python37Packages.irc python37Packages.jaraco_itertools python37Packages.jaraco_logging python37Packages.portend python37Packages.pyalgotrade python37Packages.tempora python37Packages.ws4py python37Packages.zerobin python38Packages.cheroot python38Packages.cherrypy python38Packages.flask-restful python38Packages.flask-restplus python38Packages.irc python38Packages.jaraco_itertools python38Packages.jaraco_logging python38Packages.portend python38Packages.pyalgotrade python38Packages.tempora python38Packages.ws4py python38Packages.zerobin samba4Full tribler

there's an update for ihatemoney, but I have no desire to fix an over-pinned python application right now :)


[Help]

Describe the problem

Please fill in here a clear and accurate description of the problem you are experiencing.
How to reproduce this problem

Steps to reproduce this issue:

xx
xxxx
xxxxxx
xxxxxxxx

Help you need

Please fill in the help you need here.
Screenshot/Video

If possible, please attach your screenshot or video here. You can use Ctrl + V to paste the picture directly.
Your device information

System information:

Version:

Additional information

Here you can enter additional information about the help you need.

i need help my game is just graching when i try to open it

i need help my game is just graching when i try to open it

Hello, probably the game crashes due to the fact that the software has not been updated yet


Page Exception, using dockerim mode

First of all, booting the image using the host method works correctly,
(there is nothing wrong with the excluded image).
I followed the documentation and successfully started the virtual
appliance on a remote ARM server using dockerIM mode.
The adb on the server connects correctly.

When I open it through the web, the interface doesn't show up.

Are there any other necessary steps that are not listed in the
documentation
What additional information is needed to solve the problem

Sorry, I haven't seen such errors before. But at least, I highly speculate this error came from networking issue for initiating WebRTC connection between your computer and Cuttlefish device inside docker container.
Could we know if establishing SOCKS5 proxy works for you or not?
Performing SSH dynamic port forwarding should be available with here, but you also need to find proper browser setting to use SOCKS5 proxy. I'm not certain which browser you're using.

Thank you so much
Confirm that it can be opened after using the host's SOCKS5 proxy in the chrome browser
But when it is deployed locally for others to use, it cannot be opened by the user. The user needs to configure a proxy. This user experience is too bad. Can this problem be completely solved?
I tried removing the rules in iptable, but it didn't solve the problem.
Is there a better solution so that users can directly open the page for operation?

Due to the internal issue, we had no chance to verify if every scenario works without SOCKS5 proxy when running Cloud Orchestrator remotely. I'll check if this issue could be solved or not.
On the other hand, would there be any firewall or networking policy potentially causing such issues? Could you check if ping stun.l.google.com works?

On the host machine (the machine running cuttlefish)

ping stun.l.google.com
PING stun.l.google.com (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from <IP_ADDRESS> (<IP_ADDRESS>): icmp_seq=1 ttl=108 time=204 ms
64 bytes from <IP_ADDRESS> (<IP_ADDRESS>): icmp_seq=2 ttl=108 time=212 ms
64 bytes from <IP_ADDRESS> (<IP_ADDRESS>): icmp_seq=3 ttl=108 time=196 ms
64 bytes from <IP_ADDRESS> (<IP_ADDRESS>): icmp_seq=4 ttl=108 time=199 ms
64 bytes from <IP_ADDRESS> (<IP_ADDRESS>): icmp_seq=5 ttl=108 time=160 ms
64 bytes from <IP_ADDRESS> (<IP_ADDRESS>): icmp_seq=6 ttl=108 time=179 ms
64 bytes from <IP_ADDRESS> (<IP_ADDRESS>): icmp_seq=7 ttl=108 time=176 ms
64 bytes from <IP_ADDRESS> (<IP_ADDRESS>): icmp_seq=8 ttl=108 time=175 ms
64 bytes from <IP_ADDRESS> (<IP_ADDRESS>): icmp_seq=9 ttl=108 time=178 ms
64 bytes from <IP_ADDRESS> (<IP_ADDRESS>): icmp_seq=10 ttl=108 time=192 ms

On a local PC (for web access) Access.

ping stun.l.google.com
Pinging stun.l.google.com [<IP_ADDRESS>] with 32 bytes of data:
Reply from <IP_ADDRESS>: bytes=32 time=27ms TTL=114
Reply from <IP_ADDRESS>: bytes=32 time=29ms TTL=114
Reply from <IP_ADDRESS>: bytes=32 time=28ms TTL=114
Reply from <IP_ADDRESS>: bytes=32 time=28ms TTL=114

Ping statistics for <IP_ADDRESS>:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 27ms, Maximum = 29ms, Average = 28ms


Archciad/#1907 archicad connector receive does not work

We have two options to load kits dlls:

Searching and loading them from the execution processes' referenced assemblies (GetLoadedSpeckleReferencingAssemblies function) or
Loading them from the KIts folder ("C:\Users...\AppData\Roaming\Speckle\Kits\Objects") via LoadSpeckleReferencingAssemblies

The supported way is No 2, because by design the connector plugin mustn't know about the Kit is used, Kit dlls should be dynamically loaded during the conversion process.
For the Archicad Connector we have a shortcut here (because we have no Converter dlls yet), we use No 1.
The problem was that the original AppDomain.CurrentDomain.GetAssemblies only returns the assemblies loaded into memory, and at that point no Objects.dll was loaded.
Good document in this topic: https://dotnetcoretutorials.com/2020/07/03/getting-assemblies-is-harder-than-you-think-in-c/

Great find! It looks good to me, but I'd ask for a  blessing from @didimitrie, who wrote this logic in the first place


Removed test migrations. Tests will now run without them.

Changes Unknown when pulling 177f4037a13895ce7b8804ab5344fd6456453924 on czpython:feature/no-migrations-for-tests into ** on divio:develop**.

Changes Unknown when pulling 0e3734a2f6b7bff0e76a208dbc79465232e8244f on czpython:feature/no-migrations-for-tests into ** on divio:develop**.

Coverage remained the same at 82.826% when pulling 8ed2fe9401f90ed461f1aeeae9769aa96fecfd8d on czpython:feature/no-migrations-for-tests into 98405e85ac4fa808f5aa875b6d4b24570fb4af3e on divio:develop.

Coverage remained the same at 82.826% when pulling ddd8765acb27fb9a0b31127d3777528fd3ba782b on czpython:feature/no-migrations-for-tests into 98405e85ac4fa808f5aa875b6d4b24570fb4af3e on divio:develop.

Coverage remained the same at 82.826% when pulling 40b759f794519b611fa4d1401b6a9c00f80d8eeb on czpython:feature/no-migrations-for-tests into 98405e85ac4fa808f5aa875b6d4b24570fb4af3e on divio:develop.

Can't really approve or deny :D


cask-repair -b -v $VERSION $TOKEN is still interactive

specifically discovered with the following cask:
ondesoft-itunes-converter
It seems that casks which don't use string interpolation in the url (eg. no #{version} or similar) will prompt for a new URL even if the -b flag is passed.
Paste the new URL (or leave blank to use the current one)
>

edit: fixed a positive to a negative ;)

specifically discovered with the following cask:
ondesoft-itunes-converter

That cask doesn’t use string interpolation in the URL.

Yes, I mis-typed. Casks w/o string interpolation force that prompt it seems.

That’s by design. Presumably if the version changed, the URL also changed. cask-repair works fine in scripts but was primarily designed for manual updates. If you know the URL is to be kept the same, give it as an argument and take advantage of _stanza:
cask-repair --blind-submit --cask-version "${version}" --cask-url "$(brew cask _stanza url "${token}")" "${token}"

I agree with the sentiment, but in practice we have many casks with a fixed url even when we update the version so this did not operate as I expected it would (by breaking the blind-submit).
Thank you for providing a workaround with -u / --cask-url.

FWIW, I also generally try to avoid calling brew in my scripting as the overhead involved is usually much slower than parsing it from the cask myself.
Calling brew <anything will take at least a couple of seconds, whereas parsing the cask.rb is a fraction of a second, so I only do it when I can't easily repeat the functionality (such as with appcast urls, which sometimes use string interpolation for things like #{version.major}).
When I have to operate automatically on ~2000-4000 casks, a couple of brew calls can easily 2x-5x the scripts runtime.


hyprland/language | the bar contains 3 dots instead of language shortname of 2 letters

I am using Fedora 39 and 3 monitors setup. One is rotated 90 degrees. But I can see only ... in other monitors and EN in main monitor. But on startup sometimes I see ... in all monitors and when that happens i can not change the keyboard language because it reverts back to default.
My hyprlands/language configuration:
"hyprland/language": {
"format": "{}",
"format-lt": "LT",
"format-en": "EN",
"keyboard-name": "at-translated-set-2-keyboard",
"on-click": "hyprctl switchxkblayout at-translated-set-2-keyboard next"
},

I have the same issue, Fedora 39, three dots

in my case, it's because the width is too small to display all of the format.
putting these config to style.css shows the content, though I'm not sure why it doesn't automatically expand.
#language {
	min-width: 50px
}

Ok. I tried your solution and it works🙂 Thank you.


Resize fallback image

Suppose that we specify a fallback image:
<%= attachment_image_tag(@user, :profile_image, :fill, 300, 300, fallback: "default.png") %>

Is there a simple way to resize the fallback image to the specified dimensions?

No, not really. Just create a fallback image in the dimensions you want.

Isn't this an issue? Would you accept a PR that fix this behavior, resizing the fallback image to the desired attachment size?


feat!: Add Request and Unsubscribe capability. Refactor Command Client to use the new Request API.

BREAKING CHANGE: Command Client now relies on MessageBus Request API which requires ResponseTopicPrefix be set in the MessageBus configuration for requestors and responders. Any service responding to requests must publish the responses using the configured ResponseTopicPrefix with the request ID added to the end.
closes #197
Signed-off-by: Leonard Goodell<EMAIL_ADDRESS>

If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/go-mod-messaging/blob/main/.github/Contributing.md
PR Checklist
Please check if your PR fulfills the following requirements:

[ ] I am not introducing a breaking change (if you are, flag in conventional commit message with BREAKING CHANGE: describing the break)
[x] I am not introducing a new dependency (add notes below if you are)
[x] I have added unit tests for the new feature or bug fix (if not, why?)
[x] I have fully tested (add details below) this the new feature or bug fix (if not, why?)
[ ] I have opened a PR for the related docs change (if not, why?) N/A
Core Command docs for MessageBus will change when it is updated.

Testing Instructions

New Dependency Instructions (If applicable)

@cloudxxx8 , @AlexCuse , I did some additional refactoring on how the response topic prefix is handled in order to make the implementation a bit more generic. I.e. doesn't need to know the service name... Caller must add the service name to the prefix rather than passing it as a parameter.

This PR is now dependent on https://github.com/edgexfoundry/go-mod-core-contracts/pull/789

@cloudxxx8 , updated go.mod to replace the Replace with new version of core-contracts. Please re-approve, THX!


[Refactoring] getVariableCodePointer, getVariableCode must be defined…

… in BaseBackend

ping @steffengy

I'm still not quite sure if that's a good idea.
Theoretically a backend wouldn't necessarily need to define these methods,
since that's specific to zend or rather C backends, which might also
depend further on the implementation.
For now it seems appropriate though, since additional backend support seems very unlikely.

For now Zephir is using this methods from Backed
For most cases $backend property defined as BaseBackend
And this methods is needed...

For the current case I agree with you, the code base is anyways too close to Zend,
so it is anyways a wasted effort to try to separate that, while leaving the other areas
untouched.


 I tried browsing around the code to find where is it declared, but to no avail. What am I doing wrong?

One of the submodule was too old, I've just updated it, this should fix your issue

It did fix the issue!


Grammatical Errors

Fixed the grammatical errors and did minor changes

Summary

Ticket Link

Hello @Sayanta66,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.


added 'ext_roles' as a standard LTI parameter. Roles are contained in…

… this parameter.
Added full LTI role names to LTI_ROLES. Many LMS implementations will send roles this way.
Created session_roles function to return the combined roles that can come from 'roles' or 'ext_roles' launch parameters.
Added tests to accommodate for the full LTI roles.

Coverage remained the same at 100.0% when pulling d41a7dcf1d3d892af5efb1f0df8d9f7e51496f53 on kajigga:master into<PHONE_NUMBER>42b08cce4bf2a13bb20f212fcc8f98 on mitodl:master.

@amir-qayyum-khan do you think you could review this?

Hold off just yet on pulling this in. I may have found an error that wasn't caught by the tests and want to look at it.


Logging is not being setup

Log to master messages don't appear when running sortTest. We need a test for logToMaster functionality since we tend to keep breaking it.

+1

Regression from fb52bcedc1077077802988b43b5d3180d36c3f6b

Could this be affecting all logging and not just logToMaster? I'm not getting any exception tracebacks when my jobs break, except from the master failing because it detected a failed job.

Also impacting cwltoil. The branch in #813 seems to fix.

There is a fix for setting up cwltoil logging in #806


Basic Authentication

Implement Basic Authentication for solr

Basic auth can be implemented by passing in the Authorization header. See test/test-auth.js.


:sparkles: Add versioning to docs

The docs currently just contain the latest version of the documentation. I'd like us to introduce versioning, so the documentation matches the versions of the Kairos releases. This would be a better experience for the end user because they can choose the specific Kairos release they are using, and get examples and other information specific to their release. Currently, to know whether a feature or not is available, they'd need to go through the changelogs or the code itself to figure out if the feature was already available in the image they are using.
See https://www.docsy.dev/docs/adding-content/versioning/

doc versioning seems to be to copy the docs into their own dir (so docs/v2.3.0, docs/master) and having the versions marked in the config file.
A bit crude to be honest, something like readthedocs autogenerated the docs for the proper version 😭
We may be able to automate it somehow as part of cutting a new docs release, but at least a manual conversion currently in order to fix the current state (so have the v2.3.0 docs under v2.3.x and master under master) would eb a good start to see what breaks.

sounds good to me. We should also add somewhere on the navbar or other place that is very visible, which version you're looking into and when it's no version at all it says something like "edge" that way we also don't block ourselves from updating docs before releasing a feature

sounds good to me. We should also add somewhere on the navbar or other place that is very visible, which version you're looking into and when it's no version at all it says something like "edge" that way we also don't block ourselves from updating docs before releasing a feature

This comes by default with docsy if you add more than one version, pretty handy!

fantastic

had a look at this.
versioning support is pretty terrible, even if its supported out of the box.
So we should do branch versioning with netlify: https://docs.netlify.com/domains-https/custom-domains/automatic-deploy-subdomains/
And use the hugo versioning to redirect to the proper url like so:
# Add your release versions here
[[params.versions]]
  version = "master"
  url = "https://master.kairos.io/docs"

[[params.versions]]
  version = "v2.4.0"
  url = "https://v2.4.0.kairos.io/docs"

[[params.versions]]
  version = "v2.3.0"
  url ="https://v2.3.0.kairos.io/docs"

Otherwise, the actual, state of it its pretty terrible, redirects, duplicating the full docs dir and so on...and its not without issues...

@mudler can you check if with our plan, we can do branch subdomains? 1 this way we could create a branch for each release.

Mudler did some changes to have branch subdomains working on netlify. We tested it by creating one and it does trigger a build and gets published under https://subdomain-branches--kairos-io.netlify.app/ but we are still waiting for DNS propagation to see if it's actually working under https://subdomain-branches.kairos.io

checked today and is still not working. Even if the resolution time was to 2 days I think it's probably not working ... doesn't seem like any other subdomain was affected either

This came back in the retro again, checked the DNS, and it's still not working

We now have a solution right? e.g. https://kairos.io/v3.0.1/docs/
@mauromorales should we close this?


🧠 Logic: 🔑 hex_bytes/2 predicate

📝 Purpose
In the logic module, bytes can be represented as lists of integers between 0 and 255. Such lists can be converted to and from hexadecimal notation with the following bidirectional relation.
🧪 Expected behavior
hex_bytes/2 is a predicate that convert hex represented bytes to bytes and bytes to hexadecimal encoded string. The signature is as follow:
hex_bytes(+Hex, -List) is det
hex_bytes(-Hex, +List) is det

Where:

Hex is an Atom, string or list of characters in hexadecimal encoding.
List is the list of integers between 0 and 255 that represent the sequence as lost of bytes.

🎯 Example
okp4d query logic ask "hex_bytes('2c26b46b68ffc68ff99b453c1d30413413422d706483bfa0f98a5e886266e7ae', Bt)."

✅ Acceptance Criteria

[ ] The predicate is implemented according to the described behavior and examples
[ ] The predicate passes all test cases
[ ] Any related documentation is updated

🔗 Related predicates

crypto_hash/2 : #291

Great. To fully specify the predicate, I think we can add the following signature:
hex_bytes(+Hex, +List) is det

This will indicate that the Hex and List arguments can be both provided, and the predicate will return true if the Hex argument corresponds to the byte sequence specified by the List argument.


Support dates with quarters, like XXX_2016_Q1.pdf

Corner case; it's not clear what we should do with the quarter. Closing.


Question - Naughty Http Endpoints

I have a list I maintain manually and using some tools of server endpoints that are indicative of malicious intent. Requests for .env type files is a simple example.
Would a contribution of that file be welcome, or is that too out of scope?

As I see it, it's not exactly related.
It seems like strings here are generally for testing input scenarios, but usually, an http endpoint isn't determined by user input. Query params, url params, sure. But not the endpoint itself, right?
I'm going to close this because I'm leaning towards it being out of scope. I might post a full gist at some point of what I'm talking about (there's an incomplete public one on my gists right now).


Fixed CI

This PR fixes the failing github workflows.
it uses a custom container (due to the boost dependency which caused the failures) currently at gronerl/gt4py_test
Now, is there some kind of gridtools organisation on docker or something where we could put it?
Some potential issues:

The Dockerfile builds python 3.7 and 3.6 from source (this only has to happen whenever you change the container, not when you run the tests. )
I added the Dockerfile to the gt4py repo in the test folder
I added a action doing black --check, also in the same container which is a bit clunky for that purpose
The stuff with pyversion_no_dot is wrapped in a bash -c since inside the container this somehow failed (different shell or something I guess) Hints on how to do this mor nicely are welcome.


Prevent GitHub action failing when no warnings

Use find to get list of JSON files to prevent the following error (Fixes: #70).
Run<EMAIL_ADDRESS><deleted-doccker-command>
Scanning src/ with profile /sources/SecurityInspectionProfile.xml
cat: 'out/*.json': No such file or directory
Traceback (most recent call last):
  File "/code/parse.py", line 23, in <module>
    main()
  File "/code/parse.py", line 6, in main
    data = json.load(sys.stdin)
  File "/usr/lib/python3.6/json/__init__.py", line 299, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/usr/lib/python3.6/json/__init__.py", line 354, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.6/json/decoder.py", line 339, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.6/json/decoder.py", line 357, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Found issues in code
##[error]Docker run failed with exit code 1

Screenshot of the action successfully completing against my fork.


add php-cs-fixer

add php-cs-fixer

I do not get the point of adding a fixer tool in the CI; it seems rather something to be run locally before any lint is done.

This follows a discussion with @cedric-anne
Eventually, it could replace PHP CodeSniffer, as it's more powerful.
The command in the CI just does the check, not the fix.


use case of  usb blaster

I have successfully started the jtag server on 1309 using this code on HOST 1.
I would like to connect the server from altera programmer on HOST2, which require HOST1 IP(known) and password , which is unknown .
Could you please guide, how to proceed, also any other alternative to to connect to sever from HOST2 without password.
Kind regards
juy

Currently quartus support is quite limited: the protocol is undocumented, and the current code does not implement enough of that for quartus to work. So you can only use this server to use usb blaster remotely via openocd, but not quartus.

If you are interested in completing quartus jtag server support, pull requests are welcome. However, it is quite hard: although a open source version exists, but it is incomplete and hard to understand and port.

Thank you for the clarification. Could you please share the open source version available.

Thank you for the clarification. Could you please share the open source version available.

https://github.com/intel/libaji_client https://github.com/intel/aji_openocd

Hi ,  JTAGD server protocol; As I can see you are using some JTAG commands .
which client can connect to this JTAGD server and how ?

Hi , JTAGD server protocol; As I can see you are using some JTAG commands .
which client can connect to this JTAGD server and how ?

Quartus programmer is the client.

so the Quartus programmer can connect to this server ? , how ?

so the Quartus programmer can connect to this server ? you already mentioned , "the current code does not implement enough of that for quartus to work" So what I understood is that , it has JTAG commands which could be transmitted form the Quartus client, but the connection between the Quartus Client and this server is not implemented? please clarify.

Quartus can connect to this server, but then immediately errored out due to unknown reasons. If we can reverse engineer the protocol, it is possible to let quartus speak to jtag-remote-server and program FPGA over network.

ok. Thank you for the suggestion.
Could you please elaborate, how Quartus can connect, I want to try and see the error.

See https://www.doulos.com/knowhow/fpga/remote-programming-of-fpgas/


Doesn't send cookies with the request

This is a cool project!
I want to use this extension in a site, where we use authentication cookies. When I turn the extension on, it sends the request, but the Cookie header is missing, so my auth cookie not sent to the server.
If I open the URL in a separate tab, there is no problem with it, Cookie header is there.

I have to admit I hadn't thought about that. I haven't touched this codebase in quite a while, but I'd be open to a PR if you want to take a crack at it.


GA4 / "Google signals"

Dear Google Ads team,
Google Analytics (GA) is de facto the standard web campaign attribution tool in the industry, used by marketers to measure the outcome of their campaigns, even for campaigns run outside of Google.
According to GA 4 documentation, GA can make use of "Google signals", defined as "data from users who are signed in to Google" for GA to "create[s] a single user journey from all the data associated with the same identity".
As this data is only available to Google, this may lead to the following issues:
Discrepancy in Results:
If GA and the other attribution methods, such as Privacy Sandbox Reporting API, provide different results, it may lead to misunderstandings and disputes between marketers and DSPs.
Campaign optimization:
DSPs may face challenges in optimizing for marketer goals if those GA is measuring those goals in a way that is not accessible to DSPs.
Cross-Site Identification Contradiction:
The use of login data from users signed into Chrome as a cross-site identifier in GA4 contradicts Chrome's efforts to deprecate cross-site user identification (3PC deprecation) and may be contradictory with Google commitments to the CMA.
Based on this, we have the following question: considering Google's focus on eliminating cross-site identifiers, is there a plan to review GA4 use of "Google signals"?
All the best
Alliance Digitale

We can confirm that Chrome’s deprecation of third party cookies will impact Google Analytics 4, and we specifically plan to make changes to features like Google Signals. We will announce more details of these changes ahead of the planned deprecation of 3PCs in Chrome, but in the meantime can assure you that none of the Google Analytics product changes related to the deprecation of third party cookies in Chrome will influence or benefit the scaled market testing in early 2024.

Hi Matt and Google Ads team,
Thanks for your answer. GA4 adaptation to the future cookie deprecation is a welcome step for a level playing field in Ad Tech.
Regarding "data from users who are signed in to Google", could you also please:

Explain how that data is joined together across sites. Is it based on an identifier linked to the Google user identity?
If so, provide some visibility as to when this mechanism will be removed from Google Analytics.

All the best,
Alliance Digitale

Dear Alliance Digitale,
Thanks so much for your follow up question.
Google Analytics is a tool that allows website and app owners to obtain better insights into how their own users are interacting with their properties. Google Analytics does not track users across unaffiliated websites and apps, regardless of whether users are signed into their Google account or not.
Thanks
Your Google Ads Team


Ig dm issue

Whenever I send a message it always goes to the same account no matter who I send it to. I had to apologize multiple times because of the confusion it caused. Does anyone know what the problem is? If so, how can I fix it?

The last message appears in the conversation bar next to it but when it'll open or send anything you can't see these messages (the most recent ones), you can only see the oldest messages.


WIP: Improved Skip Patterns

This is currently a work in progress commit.
I'm making a draft pull request to get your feedback on the feature and its implementation.
The idea of this pull request to improve the user experience of the "Skip patterns" setting by providing more types of patterns, a better user interface for editing the patterns, and visual feedback to know if patterns are working.

New Features:

Custom settings UI for adding/removing/changing the skip patterns.

Provides feedback for patterns:
❌ --> Invalid pattern
✅ --> Valid pattern

Glob-style patterns for skip patterns.

* matches everything except directories
** matches directories
{a,b} matches either a or b

Like bash, {a} is invalid, so it literally matches {a}.

Fixed:

#168

Done

Add support for glob-style skip patterns.
Add setting component for adding and removing skip patterns.

To-Do

Show a different icon if the pattern does not match any files in the vault (⚠, maybe? or a non-green ✔)
Test that the regex created by the glob pattern compiler works as expected.
Synced skip patterns (like a .gitignore checked in to a repo)

Thank you for proposing great new features.
I think it would be very useful!
I have just seen your codes only on mobile yet, this is based on only this note, and I hope to see the details later!

Show a different icon if the pattern does not match any files in the vault (⚠, maybe? or a non-green ✔)

If we count the number of matched documents, how about indicating that?
Like: ✅ (2), ✅(0), ❌(-)
And, It might be also nice to display the beginning of the list as a tooltip of the number.

Also, is this PR dead?


Add fitScreen method for Actor

This isn't a very good fit for the API. Primarily, many (most?) people don't use viewport of dimensions Gdx.graphics.getWidth/Height() and for those, this method will be misleading and incorrect.

Agreed.


How do I listen to third party webhooks?

Description
I'm trying to listen to webhooks from a third party app (ClickUp in this case), process them and trigger slack messages. Both Bolt and ClickUp seem to want to use port 3000. I tried multiple things but I guess I'm a bit rusty. How do I do this?
What type of issue is this? (place an x in one of the [ ])

[ ] bug
[ ] enhancement (feature request)
[x] question
[ ] documentation related
[ ] testing related
[ ] discussion

Requirements (place an x in each of the [ ])

[x] I've read and understood the Contributing guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.
[x] I've searched for any related issues and avoided creating a duplicate issue.

@hliyan Hello, if you want to have other endpoints to handle requests from other services (ClickUp in your case), one reasonable way to implement is manually initializing ExpressReceiver and then accessing Express's App directly to add more endpoints. Refer to sample code at https://github.com/slackapi/bolt-js/issues/283#issuecomment-541738590
In such additional endpoints, your app can receive any types of requests and can freely call WebClient to post messages to Slack.

@hliyan Hello again, although we haven't mentioned this in the document, using ExpressReceiver#router (available since v2.1) is a bit cleaner way than ExpressReceiver#app. Check https://github.com/slackapi/bolt-js/issues/514 for details.
Also, let us know if you something further to ask here. Otherwise, would you mind closing this question?


Lexbor engine: Absence of case insensitive search by attribute value

The next example not found any node:
from selectolax.lexbor import LexborHTMLParser

html = """
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

"""

tree = LexborHTMLParser(html)
print(tree.css('meta[http-equiv="content-type"]'))

Modest was case insensitive to search attribute values.

I think you need to report it to https://github.com/lexbor/lexbor
Sorry for late response.


wait_until_stopped: increase wait time in debug mode

As seen in many debug tests, we're too quick to declare timeout on the stopping node and the core dump indicates the node is still busy flushing.
This will be more noticeable now that https://github.com/scylladb/scylla-dtest/pull/1763 is merged.
Increase the timeout to 10 minutes in debug mode to let the node have enough time to stop gracefully.
Test: cql_tracing_test.py:TestCqlTracing.tracing_startup_test (debug)
2020-11-19 11:34:08.814563 cql_tracing_test.py:TestCqlTracing.tracing_startup_test - cluster ccm directory: /local/home/bhalevy/.dtest/dtest-3jw7vgbr
2020-11-19 11:34:08.814709 cql_tracing_test.py:TestCqlTracing.tracing_startup_test - Starting Scylla cluster from directory ../scylla/build/debug
2020-11-19 11:34:08.818760 cql_tracing_test.py:TestCqlTracing.tracing_startup_test - Allocated cluster ID 8: /local/home/bhalevy/.dtest/dtest-3jw7vgbr
2020-11-19 11:34:08.873001 cql_tracing_test.py:TestCqlTracing.tracing_startup_test - Scylla mode is 'debug'
2020-11-19 11:34:08.873086 cql_tracing_test.py:TestCqlTracing.tracing_startup_test - Cluster *_request_timeout_in_ms=30000, cql request_timeout=90
2020-11-19 11:36:14.746328 cql_tracing_test.py:TestCqlTracing.tracing_startup_test - Enable tracing for all CQL requests on node1...
2020-11-19 11:36:18.253300 cql_tracing_test.py:TestCqlTracing.tracing_startup_test - CREATE COLUMNFAMILY cf (key varchar PRIMARY KEY, c1 text, c2 text) WITH comment='test cf' AND compression = {} AND read_repair_chance=0.000000
2020-11-19 11:36:20.463380 cql_tracing_test.py:TestCqlTracing.tracing_startup_test - Stopping node2...
2020-11-19 11:36:27.472447 cql_tracing_test.py:TestCqlTracing.tracing_startup_test - Checking log of node2 for assertions...
2020-11-19 11:36:27.474344 cql_tracing_test.py:TestCqlTracing.tracing_startup_test - Populating a table with 15000 keys...
2020-11-19 11:36:27.475625 cql_tracing_test.py:TestCqlTracing.tracing_startup_test - Wait for 0.5659240802493766 seconds
2020-11-19 11:36:28.042315 cql_tracing_test.py:TestCqlTracing.tracing_startup_test - Start node2...
2020-11-19 11:44:39.984019 cql_tracing_test.py:TestCqlTracing.tracing_startup_test - insertion of 15000 keys is done
2020-11-19 11:44:39.986243 cql_tracing_test.py:TestCqlTracing.tracing_startup_test - Stopping cluster
2020-11-19 11:48:55.225546 cql_tracing_test.py:TestCqlTracing.tracing_startup_test - stopping ccm cluster test at: /local/home/bhalevy/.dtest/dtest-3jw7vgbr
2020-11-19 11:48:55.273285 cql_tracing_test.py:TestCqlTracing.tracing_startup_test - Freeing cluster ID 8: link /local/home/bhalevy/.dtest/8
tracing_startup_test (cql_tracing_test.TestCqlTracing) ... ok

This shows it took the nodes ~4.5 minutes to stop gracefully on my machine in debug mode so setting the timeout to about twice that amount seems reasonable as the default, though we may need to adjust it for specific tests, or stop the cluster forcibly there.

Looks good,
did you took it for a ride in BYO ?

No, I think local run is good enough.
The machines used by BYO are much slower than the ones we use for dtest-debug anyhow.
Maybe we can try on the spot machines planned for parallel dtest.

do you think backports are needed ?
Maybe to branches into which we backport  scylladb/scylla-dtest#1763.
Otherwise, although we see it from time to time in dtest-debug, it is not crucial.

@fruch ping


Allow hyphenated BEM in CSS

The GOV.UK Frontend alpha uses a BEM convention:
https://github.com/alphagov/govuk-frontend/blob/master/docs/coding-standards/css.md
This convention encourages isolation within components.
GOV.UK Publishing Frontend (www.gov.uk) are writing components that conform to this convention. Components should be easily movable/promotable to GOV.UK Frontend when appropriate.

An extension of our original rules, hyphenated classes are still ok
Allows underscores in BEM classes only
Specifics of what is/is not allowed here: https://github.com/brigade/scss-lint/blob/d8645c43c85bae837e283b498c39af63575c8a82/spec/scss_lint/linter/selector_format_spec.rb#L539-L630

Selector
Allowed

.block
✅

.b-block
✅

.b-block-name
✅

.b-block--modifier
✅

.block_modifier
❌

.block--modifier-value
✅

.b-block-name--modifier-name-here-value-name-here
✅

.b-block__element
✅

.block--modifier-value__element
✅

.block__element--modifier-value
✅

.block__element--modifier
✅

.a_block__element--modifier
❌

.block__an_element--modifier
❌

.block__element--a_modifier
❌

This is the same as @alecgibson’s PR which had a lot of debate: https://github.com/alphagov/govuk-lint/pull/65
In February we decided not to do this here, most of those concerns have since been addressed:
https://github.com/alphagov/govuk-lint/pull/65#issuecomment-278436300

Will this cause our older CSS selectors to fail?


Consolidate setup.py, setup.cfg, pyproject.toml into pyproject.toml

@bschoening reminded me that this project still uses setup.py and setup.cfg... modern python packaging seems to be standardizing on pyproject.toml, so should migrate fully to that at some point...

@jeffwidman with the 6.2.0 release, the distro could almost be built from the Apache repo.  All it needs is to add
a)  main.py to Apache Cassandra's cqlshlib and
b) the build file(s) setup.py, setup.cfg, and pyprojct.toml.
Thus, if we can simplify and consolidate those build files, it would make incorporating them to Apache Cassandra easier.

Resolved


[DESIGN] IF statement

In the case of the IF statement, if the variable is different from 0, all the statements up to ELSE(if it exists) or END are executed, and if the variable is 0, we execute only the ones between ELSE and END ?

Yes
On Sun, 10 Mar 2019 at 15:32, diana-ghindaoanu<EMAIL_ADDRESS>wrote:

In the case of the IF statement, if the variable is different from 0, all
the statements up to ELSE(if it exists) or END are executed, and if the
variable is 0, we execute only the ones between ELSE and END ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/UPB-FILS/alf/issues/15, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACtOoVYreraoKjPMx9dZLInI7yUhQnUuks5vVQmCgaJpZM4bnQ5I
.

--
Alexandru RADOVICI
Universitatea "Politehnica" din Bucuresti
e-mail<EMAIL_ADDRESS>telefon:<PHONE_NUMBER>
www.ipworkshop.ro


Add API key env var tip

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Run tests on CI

The goal is to make sure tests pass when code is pushed or when PRs are opened and merged. Make sure to run mix compile with mix compile --warnings-as-errors to make sure there are no compilation warnings.

Hi @emilsoman I would like to take this up. I will open PR once hacktoberfest starts.

@Atul9 issue is yours!


Enhance maisi notebooks with visualization

After running inference in the maisi_diff_unet_training_tutorial.ipynb notebook, the resulting nii.gz file is saved to disk but not displayed within the Jupyter Notebook. We suggest displaying the generated 3D image in at least three views (x, y, z).

Similarly, when performing inference in the maisi_train_controlnet_tutorial.ipynb notebook, the resulting nii.gz file is saved but the generated 3D image is not displayed within the Jupyter Notebook.

The training tutorial uses synthetic data and simplified parameters to effectively demonstrate the entire process. However, it is important to note that the model will not be fully trained and may produce results resembling noise. We provide guidance on saving these results locally, enabling users to monitor the training progress as needed. Given this context, visualizing the “noise” in three different views within the tutorial notebook is not necessary.

The training tutorial uses synthetic data and simplified parameters to effectively demonstrate the entire process. However, it is important to note that the model will not be fully trained and may produce results resembling noise.

Oh yes, I forgot that, make sense to me. Thanks for quick reply.


TransactionalStorage MessageLog option to exclude elements/parts of the message

❗ please do not add sensitive information in issues, you can provide extra information via email using issue number as reference ❗
Describe the issue
Currently the messagelog either stores the complete message or nothing (depending on storeFullMessage), it is possible to mask certain parts (depending on hideRegex), but it is not easily possible to omit parts of it.
Usecase: I'm sending XML with base64 encoded files in it, and for traceability I want to store the sent XML in the messagelog but without the base64 parts to reduce storage requirements.
In this specific case I was able to work around it by storing both XMLs in separate session keys and use a SenderWrapperSender to get the full XML to the sender, but this complicates the pipeline and does not work for receiver messagelogs.
Reporter
Ricardo

To Reproduce
Steps to reproduce the behavior:

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

Screenshots
If applicable, add screenshots to help explain your problem.
Configuration
Please provide the configuration of the Pipe or Receiver with the problem.

Input
Please provide an example of the input message.
Alternatively, provide a Ladybug report.

Environment
FF! 7.8-RC3-20221206.094959: Frank4*****
Running on LPZWNL000033867 using Apache Tomcat/9.0.56
Java Version: OpenJDK Runtime Environment (1.8.0_292-b10)
Heap size: 136M, total JVM memory: 386M
Free disk space: 60GB, total disk space: 237GB
Up since: 2022-12-08 15:06:14 (18m)

Additional Environment

DBMS: [e.g. Oracle, MSSQL, MariaDB, MySql, PostgreSQL]
Browser: [e.g. Chrome, Safari, Edge, Firefox]

Additional Context
Add any other context about the problem here. (f.e. ladybug report / test adapter with larva test)

It could be an option to use the LogContextPipe to put the required part of the message in a log context key

Workaround available (we close the issue until more people need it):


Turn off the Archival Storage tab in Archivematica

For https://github.com/wellcomecollection/platform/issues/4794

Does this mean we can turn of the appropriate ES clusters?

Does this mean we can turn of the appropriate ES clusters?

Yes.


Mod is spamming errors and doesn't seem to work anymore

TooManySuits currently spams this error:
[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
TooManySuits.PluginLoader.Update () (at <434b74dca9584b6891fed93d3e2a47a3>:IL_000E)

And no longer provides pages for the suit rack

My friends use this mod while playing, and they said it only shows an error sometimes when leaving games, but it still functions fine.


Update control-user-access.md

Development indicates that trial environment is not supported for user sync here:
https://portal.microsofticm.com/imp/v3/incidents/details/328226368/home
Our customers require public facing documentation that states as such.

Docs Build status updates of commit f47a142:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

power-platform/admin/control-user-access.md
:bulb:Suggestion

Details

power-platform/admin/control-user-access.md

Line 57, Column 103: [Suggestion: preserve-view-not-set - See documentation] You've pinned this link to a specific version of content with the view parameter. It's recommended not to pin a version unless that version is A) not the default view and B) the context is about that version specifically. To proceed with pinning a version add the &preserve-view=true to the URL.  Otherwise, remove the view parameter. URL: /microsoft-365/admin/create-groups/compare-groups?view=o365-worldwide&WT.mc_id=365AdminCSH

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 866a16a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

power-platform/admin/control-user-access.md
:bulb:Suggestion

Details

power-platform/admin/control-user-access.md

Line 56, Column 103: [Suggestion: preserve-view-not-set - See documentation] You've pinned this link to a specific version of content with the view parameter. It's recommended not to pin a version unless that version is A) not the default view and B) the context is about that version specifically. To proceed with pinning a version add the &preserve-view=true to the URL.  Otherwise, remove the view parameter. URL: /microsoft-365/admin/create-groups/compare-groups?view=o365-worldwide&WT.mc_id=365AdminCSH

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Pressing the close window button on macOS makes the app unshowable.

OS:
MacOS sierra 10.12.4
Issue Descriptions:
After the latest update (yesterday), when clicking the red X button to close the screen, the app wont show again when clicking on the icon on the dock or accessing in the menu bar/window.
Steps to Reproduce:

@wilomgfx You were one of ~300 people who got a dodgy update, redownloading the latest version from the website should fix this 👍

it does ! Thanks :)

I was that lucky person too((((


html/template: panic when calling function with untyped nil

I get a panic from html/template when I reference an untyped nil within a <script> tag. I bisected, which indicates https://golang.org/cl/95215 / https://github.com/golang/go/commit/3cb54c86043a92ab080a89c06643d80015a5638e
What version of Go are you using (go version)?
$ go version
go version devel +542ea5ad91 Wed Apr 4 13:39:34 2018 -0700 darwin/amd64
$ go1.10 version
go version go1.10.1 darwin/amd64

Does this issue reproduce with the latest release?
The issue is present in tip. It is not present in go1.10.1.
What operating system and processor architecture are you using (go env)?
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/rhys/Library/Caches/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/rhys/go"
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/49/zmds5zsn75z1283vtzxyfr5hj7yjq4/T/go-build474956233=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?
I use the html/template package, and one of my templates involves referencing a data field within a <script> tag. Usually I've set the field's value to some interesting structure I'm trying to pass to a js function. But sometimes it's an untyped nil stored in an interface{} field.
package main

import (
	"html/template"
	"os"
)

func main() {
	data := struct {
		A interface{}
		B interface{}
	}{
		A: (*int)(nil),
		B: nil,
	}

	template.Must(template.New("").Parse("<script>{{.A}}+{{.B}}</script>\n")).Execute(os.Stdout, data)
}

Here's a play link, which runs successfully as expected: https://play.golang.org/p/e54VBAwyVTg
What did you expect to see?
I expected the field's value to be converted to a js-safe JSON representation.
$ go1.10 version
go version go1.10.1 darwin/amd64
$ go1.10 run /tmp/template.go
<script> null +""</script>

(Weird that the untyped nil is written as "" rather than null, but it's been that way since at least Go 1.4.)
 With text/template, it generates:
<script><nil>+<no value></script>

as expected (in fact, better than expected).

Thanks @odeke-em for the ping. I had seen this issue, but I had not realised it was directly connected to my other fix. I believe I know what the simple solution here is.

@robpike the reason that text/template does a better job at discerning the two kinds of nil is because of https://go-review.googlesource.com/c/go/+/95215. I'm sure it was also behaving in a confusing way before that CL.


A small bug in comments

🎉 Description

[X ] 🐛 This is a bug report.

In openzeppelin-solidity/contracts/token/ERC827/ERC827Token.sol in the comment to approveAndCall method it states:
* @param _data ABI-encoded contract call to call `_to` address.

It should be _spender instead of _to there as the actual argument name is _spender.
💻 Environment
Current master

Thanks @aleybovich! It was fixed in #1007.


supporting imgui_demo.d

Hello,
I'm working to support imgui_demo.d, D-lang version of imgui_demo.cpp.
It will show how to use DerelictImgui and demonstrate it works fine.
I need some arrange and bug fix of cimgui as well.
It will become available soon and let me contribute the code.
Regards, Aki.

sure go ahead! looking forward

Hello,
It seems that my proposal is difficult to be accepted.
Provably it's better to open my own project as an forked project of this?
I also planning to add another API which is suitable for D-lang.
Usually Derelict series of library is simple binding for DLL. But it is
sometimes not suitable to use with D-lang because ImGui is designed for C++.
For example, this is igInputFloat3 function provided by cimgui.
alias da_igInputFloat3                  = bool function(const char* label, ref float[3] v, int decimal_precision = -1, ImGuiInputTextFlags extra_flags = 0);
and this is one of it's usage.
static float[4] vec4a = [ 0.10f, 0.20f, 0.30f, 0.44f ];
igInputFloat3("input float3", vec4a[0..3]);
Here, igInputFloat3 wont accept vec4a because it does not match with ref float[3].
I like to provide thin wrapper for D-lang that support following call for example.
digInputFloat!3("input float3", vec4a);
Other example is igText:
alias da_igText                         = void function(const char* fmt, ...);
It calls C's formatting function. And it expects Zero-terminated string.
It's much better to provide D-lang version of igText that accepts D's formatting arguments.
void digText(Char, Args...)(in Char[] fmt, Args args) if (isSomeChar!Char);
I think I will open another project. How do you think?
Do you mind if I state it is forked project of DerelictImgui by Extrawurst?
Regards, Aki.

sorry it went unnoticed, cause it did not mention the issue.
i merged it now: https://github.com/Extrawurst/DerelictImgui/pull/13
thanks for the help!


Error creating a model from symlink table

Describe the bug
If a model is referencing a symlink delta table, dbt throws error
Caused by: java.lang.RuntimeException: s3://b/_symlink_format_manifest/manifest is not a Parquet file. expected magic number at tail [80, 65, 82, 49] but found [117, 101, 116, 10]
Steps To Reproduce
Create a delta symlink table in Glue catalog (using crawler for example)
Create a model selecting data from that table
Run dbt
Expected behavior
dbt reads data and create models
System information
The output of dbt --version:
Core:
  - installed: 1.6.0
  - latest:    1.6.0 - Up to date!

Plugins:
  - glue:  1.6.0 - Up to date!
  - spark: 1.6.0 - Up to date!

The operating system you're using:
MacOS 13
The output of python --version:
3.8.10

Ok, seems its a WIP on the Spark side
https://issues.apache.org/jira/browse/SPARK-32432
This bug can be changed into a feature request for the future


docs: add bi-weekly report (9.11-9.24)

Add: bi-weekly report (9.11-9.24)

Please rename both files' names to bi-weekly-report.


Add Team Color Config

This includes adding a new config file for color pallets and then, ingesting them into "downstream" configs

this was closed with from sVujke/add/team-color-config


Add eosio.contracts

Smart-contracts from eos/contracts are deprecated and moved to separate repository, it can be useful to sync with it

Golos is one of Dapps in CyberWay.
For CyberWay we will need system contracts.
I think it will be better to create clone of eosio.contacts and eosio.cdt and use them as git modules.
What do you think?

Agree, looks like submodule is the right way


Sortable Items position is not updated sometimes when you start dragging an item and stay still on the first item you hover

https://user-images.githubusercontent.com/16090746/136808379-c3d0cd65-38e2-4660-a2b8-b1a6d36165b0.mp4
I came across this issue and noticed that it also happens on the sortable tree example in storybook. It usually doesn't happens, but sometimes the dragged item will not push the bellow items downwards, and hide behind the hovered item

@clauderic have you seen this? I also think the title of the issue is not correct - you can drag a sortable quickly by more than one position, and the bug still occurs. Maybe 'Sortable Items position is not updated when moved too quickly after initial drag' or something like that?

The SortableContext component in the sortable package has this useEffect:
  useEffect(() => {
    const timeoutId = setTimeout(() => {
      wasDragging.current = isDragging;
    }, 100);

Removing the timeout entirely and just using wasDragging.current = isDragging; got it working smoothly for me. What is the timeout for?

I encountered this bug in two separate implementations of the Sortable preset: one vertical, one grid.  A fast grab-and-drag results in the dragged item apparently occupying the same index as the item being hovered.  After the dragged item is released, items visually re-order as expected.
It appeared after upgrading to the latest major releases.
Previous versions, without this behavior:
"@dnd-kit/core": "^3.1.1",
"@dnd-kit/modifiers": "^3.0.0",
"@dnd-kit/sortable": "^4.0.0",
Versions with this behavior:
"@dnd-kit/core": "^4.0.0",
"@dnd-kit/modifiers": "^4.0.0",
"@dnd-kit/sortable": "^5.0.0",
I have not identified which of the three results in the bug, but rolling all three back to the previous versions does cure the bug.
As previous commenters noted, to re-create, the drag has to occur within a fraction of a second following the "grab".  Because of this speed required to re-create, I'd wager the activationConstraint settings most users employ effectively mask this bug.

@combondrn The isDragging state change only occurs upon activation, so unfortunately the activationConstraint does not mask the bug.

Same issue here, and I suddenly found if call force-update in onDragOver every time, the issue is gone~
const [, forceUpdate] = useReducer(() => ({}), {});

const onDragOver = ({ active, over }: DragOverEvent) => {
    setTimeout(() => {
      forceUpdate()
    }, 100)
}


Validation icelltype npf mf6

In GitLab by @tvw11 on Aug 30, 2023, 15:04
The existence of data values in the inactive part of the idomain is checked for other data types in the npf package, but not for the icelltype. Should this be implemented?

@Manangka Link related stories


Fix two typos in readme

rpm-rs -> esp-rs
espflush -> espflash

I found these two things in the readme that I believe to be typos? I can't find anything for on cargo espflush

Thank you!


add interoperability example

Adding code examples to tengo will help people to easily adopt tengo so this interoperability example can be a start to add more examples.

This is interesting!  I'm glad you posted this.  Gives me some additional ideas on ways i can utilize it.

yeah. looks good. please merge!


Fix unexpected thunk in LgrDB

This is no space leak, but the nothunks tests tripped over it.

bors merge

bors merge


Usage of Incorrect Google API with youtube.py

When you input an incorrect Google API key in youtube.py, it will throw this error.
Traceback (most recent call last):
File "tools/youtube.py", line 266, in
main()
File "tools/youtube.py", line 257, in main
fetch_list(api_key, args.list)
File "tools/youtube.py", line 127, in fetch_list
response_dict = get_response_dict_for_play_list(query_parts)
File "tools/youtube.py", line 116, in get_response_dict_for_play_list
handle_errors(response_dict)
File "tools/youtube.py", line 110, in handle_errors
raise RuntimeError(error.get('message'))
RuntimeError: Bad Request

I can edit the script to handle this error.

I am going to close this one because the error was raised as the script intended.


Setup test for importing LINCS data

@mlwahl I setup a function for importing the LINCS data, and was surprised to find it's a vector rather than a matrix. Do you know how it is ordered for reshaping?

Oops, thought I converted to a matrix. Each inner vector should be gene measurements across all perturbations + the control so that the rows correspond to genes and columns to perturbations like with the previous data.

Oops, thought I converted to a matrix. Each inner vector should be gene measurements across all perturbations + the control so that the rows correspond to genes and columns to perturbations like with the previous data.

Ok, thanks. It's easy to reshape so I'll add that.

Ok, thanks. It's easy to reshape so I'll add that.

Hmm... the sizes still aren't matching up. For example, A375 has a list of 938 genes and 440407 numbers in the vector. But, 440407 can only be factored (reshaped) into 11 and 40037. What else am I missing?

Hmm... the sizes still aren't matching up. For example, A375 has a list of 938 genes and 440407 numbers in the vector. But, 440407 can only be factored (reshaped) into 11 and 40037. What else am I missing?


Local recording disclaimer

Make local recording configurable in the config.js.

[x] It shoud be disabled by default.
[x] Make it role based too.
[x] It shoud display a disclaimer.
[x] If the user doesn't accept it (changename, switch off media streams in recording) - Video.
[x] If the user doesn't accept it (changename, switch off media streams in recording) - Audio.
[x] Make the disclaimer work with multiple paralell recordings too (One consent for all recordings in the room).
[x] hide screenshares too
[x] Consent buttons are too close.
[x] Do not show notification after notification is accepted.
[x] Add translations
[ ] Test

Merged into develop. Closed.


I did a huge cleanup all over those files. I hope it's more obvious now which changes i made.

Hi Marc3lox,
Thanks for the pull request and the work put into porting wig to python 2.
I've updated issue https://github.com/jekyc/wig/issues/12 with a general comment on the two current pull requests. As they both solve the issue of supporting python 2 by creating completely separate classes for the python versions, I don't think that the result will be easy maintainable. I temporary suggestion could be to link to your fork in wig and the readme, just until a more permanent solution is found. Is this something you'd be interested in?
On a side note, I noticed that you're using the 'requests' lib. wig also made use of it in previous versions, but I decided to create a custom lib for it, as I ran into issues on some versions of 'requests' (can't remember which, but IIRC I think it was the version shipped with the Kali Linux distro at some point). I'd therefore prefer wig to not be dependent on any third party libs.

Hi Jekyc,
but developing a custom lib comes with higher maintenance efforts. I am using requests quite long with different versions => its clear that sometime some bugs pop in but in my opinion its better to use a well and active maintained library instead of a custom-made one.

Hey Jekyc,
even though I think "requests" would be a better decision on the long run i also managed to get a version running which supports wig on python2 without completly seperate classes and without requests. The only dependency is the pip module "futures" which enables "concurrent.futures" for python2. You can look at it in the branch called "wig-python2-support".

Hi,
While I agree that using the 'requests' lib would be nice, I don't like the idea that a distro provide version 'requests' can make wig non-functional. I might decide to go back to 'requests' lib at a later point, but for now, I think sticking to wig's 'request2' the best solution. This lib is only about 350 lines, of which a large part would still be needed if wig were to switch to 'requests'.
@Marc3lox: I like the approach, and that the changes do not require separate libs. I've compared the two versions, but it is a bit difficult because tabs are changed to spaces (I know that spaces are indeed preferred over tabs according to PEP-8 (http://legacy.python.org/dev/peps/pep-0008/#tabs-or-spaces)). Is possible for you to change them back ?

Hey,
sure! As soon as I'm free I'll convert it back to tabs.


test

https://github.com/mate-academy/devops_todolist_cicd_task_4_helm_ci/actions/runs/10181377355?pr=20


wip: Moving to Executor

The idea of the following PR is to move the transaction execution and state changes to the Executor.
It's still mising the use of cached_reads in the Executor. @mattsse  what's the best way to do that?

sorry for not proceeding with this @PlamenHristov
this was a great idea and all changes look great, however, we transitioned to the new revm API #3512 which made most of this obsolete


Provide seed value to Factory - possible solution for issue #884

Proposed solution for issue #884: https://github.com/adonisjs/adonis-framework/issues/884
This update allows a seed to be passed into a Factory blueprint for consistent seeded data.
Example of seeding a factory blueprint:
Factory.blueprint('App/Models/User', async (faker) => {
  return {
    username: faker.username(),
    password: await Hash.make(faker.password())
  }
}, {seed:1234})

Another option is to seed when generating an instance, not necessarily needed if seed is on the blueprint but this will override the blueprint seed.
const user = await Factory
  .model('App/Models/User')
  .create({}, 0, 1234)

const usersArray = await Factory
  .model('App/Models/User')
  .createMany(5, {}, 1234)

Note, the actual seed value is made up of the passed seed plus the index to handle when creating many items.

Coverage increased (+0.01%) to 96.367% when pulling ffa49f26e7946289557d39828d2598ecdbf7b5d5 on clovenspark:develop into e4442b129d3b0a440b12e72e0afca9f2103ba029 on adonisjs:develop.

Hey @clovenspark!
You need to new up the instance of chance with this seed and as I see, you aren't doing it into your code.
https://chancejs.com/usage/seed.html

@RomainLanz good catch, this update should work better. I ended up extending chance so the mixins can be included. Let me know if I need to adjust anything further.

The change is really helpful, but I believe, we can improve the user facing API.
Current API.
Factory.blueprint('name', cb, {
  seed: VALUE
})

Or
Factory.make('name', seed)

The term seed is very distracting, since it's doesn't make it clear, what exactly the seed is?
Instead we can accept a whole new instance of chancejs vs seed. Also this allows end-users to swap chancejs with something else (if they want).
Proposed API
// get brand of instance of chance
Factory.Faker(...args)

And use it as follows
Factory.blueprint('name', cb, Factory.Faker(1234))

Or
Factory.make('name', Factory.Faker(1234))

Let me know what you guys think?

Hey @clovenspark! 👋
Have you got time to review the input of @thetutlage?

@RomainLanz Is there something like in Laravel where you override the values set in the factory?


composer.json "error"

"autoload": {
        "files": ["TwitterAPIExchange.php"]
},

should be:
"autoload": {
        "classmap": ["TwitterAPIExchange.php"]
},

Files documentation

If you want to require certain files explicitly on every request then you can use the 'files' autoloading mechanism. This is useful if your package includes PHP functions that cannot be autoloaded by PHP.

On the other hand classmap:

You can use the classmap generation support to define autoloading for all libraries that do not follow PSR-0/4. To configure this you specify all directories or files(as I've done above) to search for classes.

TL;DR:   as currently specified, TwitterAPIExchange.php is being required/included on every page load whether it will be used or not.

Thanks, committed and it'll go into develop soon.


[Impeller] Vulkan playground tests aren't running on CI.

If everything in https://github.com/flutter/engine/pull/51341 passes, that means these tests are not running on CI.

It appears that we are no longer building VVL for host builds, so none of the golden CI test shards can find validation layers and as such aren't failing validation checks


Inconsistent error reporting with noImplicitAny on enum + namespace merges

TypeScript Version:  3.3.0-dev.201xxxxx

Search Terms: noImplicitAny, iterators, enum, namespace, merge
Code
enum Foo1
{
	a = "aa"
}

namespace Foo1
{
	export function *generator() // <-- Reports an error ... ok
	{
		for (const value of Object.values(Foo1))
			yield value;
	}

	export function caller(value: string) // <-- Reports an error ... ok
	{
		for (const value of generator())
			return true;

		return false;
	}
}

enum Foo2
{
	a = "aa"
}

namespace Foo2
{
	// No errors reported in this function, even though
	// the function body is identical to the above.
	export function *generator()
	{
		for (const value of Object.values(Foo2))
			yield value;
	}

	export function caller(value: string)
	{

	}
}

Expected behavior: Consistent error reporting
Actual behavior: Two otherwise equivalent code blocks are showing a discrepancy in the reporting of errors due to the presence of (what I believe is) a non-affecting code block.
Playground Link:
https://www.typescriptlang.org/play/#src=enum Foo1
{
	a %3D "aa"
}

namespace Foo1
{
	export function *generator() %2F%2F <-- Reports an error ... ok
	{
		for (const value of Object.values(Foo1))%0D%0A%09%09%09yield%20value%3B%0D%0A%09%7D%0D%0A%09%0D%0A%09export%20function%20caller(value%3A%20string)%20%2F%2F%20%3C--%20Reports%20an%20error%20...%20ok%0D%0A%09%7B%0D%0A%09%09for%20(const%20value%20of%20generator())%0D%0A%09%09%09return%20true%3B%0D%0A%09%09%0D%0A%09%09return%20false%3B%0D%0A%09%7D%0D%0A%7D%0D%0A%0D%0Aenum%20Foo2%0D%0A%7B%0D%0A%09a%20%3D%20%22aa%22%0D%0A%7D%0D%0A%0D%0Anamespace%20Foo2%0D%0A%7B%0D%0A%09%2F%2F%20No%20errors%20reported%20in%20this%20function%2C%20even%20though%20%0D%0A%09%2F%2F%20the%20function%20body%20is%20identical%20to%20the%20above.%0D%0A%09export%20function%20*generator()%0D%0A%09%7B%0D%0A%09%09for%20(const%20value%20of%20Object.values(Foo2))%0D%0A%09%09%09yield%20value%3B%0D%0A%09%7D%0D%0A%09%0D%0A%09export%20function%20caller(value%3A%20string)%0D%0A%09%7B%0D%0A%09%09%0D%0A%09%7D%0D%0A%7D%0D%0A%0D%0A%2F%2F%20Dropped%20in%20from%20lib.d.ts%2C%20can%20remove%20if%20there%0D%0A%2F%2F%20is%20some%20way%20to%20enable%20lib.es2017.object.d.ts%0D%0A%2F%2F%20in%20the%20playgroun%0D%0Ainterface%20ObjectConstructor%20%7B%0D%0A%20%20%20%20values%3CT%3E(o%3A%20%7B%20%5Bs%3A%20string%5D%3A%20T%20%7D%20%7C%20%20ArrayLike%3CT%3E)%3A%20T%5B%5D%3B%0D%0A%20%20%20%20values(o%3A%20%7B%7D)%3A%20any%5B%5D%3B%0D%0A%7D
Related Issues:

In Foo1 the type of generator depends on its yield which depends on the result of Object.values(Foo1), which depends on the types of the values of the properties of Foo1, which depends on the signature of caller, which in turn depends on its internal call to generator() (since we have to check that it's not a zero-length array which would make the block after it unreachable and the function only return false!) which is a cyclic dependency. So we issue an error and you need to break the dependency by adding a type annotation somewhere (anywhere within the cycle will do).
In Foo2, caller doesn't contain a generator call, so there's no cyclic type dependency and no issues inferring any types.

 It really did look like a bug rather than expected behavior from the standpoint of a person who isn't studying TS language semantics all day :-)


更新素材库报错

使用命令 "更新方舟素材" 报错
05-19 18:08:42 [INFO] nonebot_plugin_arktools |         - Arknights-Image downloaded: skin/char_308_swire_2b.png
05-19 18:08:42 [INFO] nonebot_plugin_arktools |         - Arknights-Image downloaded: skin/char_416_zumama_2b.png
05-19 18:08:42 [INFO] nonebot_plugin_arktools |         - Arknights-Image downloaded: skin/char_4048_doroth_2b.png
05-19 18:08:44 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_arktools.src.utils) running complete
05-19 18:08:44 [ERROR] nonebot | Running Matcher(type='message', module=nonebot_plugin_arktools.src.utils) failed.
ConnectionResetError: [Errno 104] Connection reset by peer

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File ".local/lib/python3.10/site-packages/httpcore/_exceptions.py", line 8, in map_exceptions
    yield
  File ".local/lib/python3.10/site-packages/httpcore/backends/asyncio.py", line 76, in start_tls
    raise exc
  File ".local/lib/python3.10/site-packages/httpcore/backends/asyncio.py", line 67, in start_tls
    ssl_stream = await anyio.streams.tls.TLSStream.wrap(
  File "/usr/local/lib/python3.10/site-packages/anyio/streams/tls.py", line 122, in wrap
    await wrapper._call_sslobject_method(ssl_object.do_handshake)
  File "/usr/local/lib/python3.10/site-packages/anyio/streams/tls.py", line 137, in _call_sslobject_method
    data = await self.transport_stream.receive()
  File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 1274, in receive
    raise self._protocol.exception
anyio.BrokenResourceError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File ".local/lib/python3.10/site-packages/httpx/_transports/default.py", line 60, in map_httpcore_exceptions
    yield
  File ".local/lib/python3.10/site-packages/httpx/_transports/default.py", line 353, in handle_async_request
    resp = await self._pool.handle_async_request(req)
  File ".local/lib/python3.10/site-packages/httpcore/_async/connection_pool.py", line 253, in handle_async_request
    raise exc
  File ".local/lib/python3.10/site-packages/httpcore/_async/connection_pool.py", line 237, in handle_async_request
    response = await connection.handle_async_request(request)
  File ".local/lib/python3.10/site-packages/httpcore/_async/http_proxy.py", line 286, in handle_async_request
    stream = await stream.start_tls(**kwargs)
  File ".local/lib/python3.10/site-packages/httpcore/backends/asyncio.py", line 64, in start_tls
    with map_exceptions(exc_map):
  File "/usr/local/lib/python3.10/contextlib.py", line 153, in __exit__
    self.gen.throw(typ, value, traceback)
  File ".local/lib/python3.10/site-packages/httpcore/_exceptions.py", line 12, in map_exceptions
    raise to_exc(exc)
httpcore.ConnectError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File ".local/lib/python3.10/site-packages/nonebot_plugin_arktools/src/utils/__init__.py", line 25, in _
    await ArknightsGameImage(client).download_files()
  File ".local/lib/python3.10/site-packages/nonebot_plugin_arktools/src/utils/update.py", line 207, in download_files
    await asyncio.gather(*tasks)
  File ".local/lib/python3.10/site-packages/nonebot_plugin_arktools/src/utils/update.py", line 218, in save
    content = (await self._client.get(quote(url, safe="/:"), timeout=100, follow_redirects=True)).content
  File ".local/lib/python3.10/site-packages/httpx/_client.py", line 1754, in get
    return await self.request(
  File ".local/lib/python3.10/site-packages/httpx/_client.py", line 1530, in request
    return await self.send(request, auth=auth, follow_redirects=follow_redirects)
  File ".local/lib/python3.10/site-packages/httpx/_client.py", line 1617, in send
    response = await self._send_handling_auth(
  File ".local/lib/python3.10/site-packages/httpx/_client.py", line 1645, in _send_handling_auth
    response = await self._send_handling_redirects(
  File ".local/lib/python3.10/site-packages/httpx/_client.py", line 1682, in _send_handling_redirects
    response = await self._send_single_request(request)
  File ".local/lib/python3.10/site-packages/httpx/_client.py", line 1719, in _send_single_request
    response = await transport.handle_async_request(request)
  File ".local/lib/python3.10/site-packages/httpx/_transports/default.py", line 352, in handle_async_request
    with map_httpcore_exceptions():
  File "/usr/local/lib/python3.10/contextlib.py", line 153, in __exit__
    self.gen.throw(typ, value, traceback)
  File ".local/lib/python3.10/site-packages/httpx/_transports/default.py", line 77, in map_httpcore_exceptions
    raise mapped_exc(message) from exc
httpx.ConnectError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/nb", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.10/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/nb_cli/commands/main.py", line 30, in run
    run_bot(file, app)
  File "/usr/local/lib/python3.10/site-packages/nb_cli/handlers/deploy.py", line 25, in run_bot
    nonebot.run(app=f"{module_name}:{app}")
  File ".local/lib/python3.10/site-packages/nonebot/__init__.py", line 273, in run
    get_driver().run(*args, **kwargs)
  File ".local/lib/python3.10/site-packages/nonebot/drivers/fastapi.py", line 187, in run
    uvicorn.run(
  File ".local/lib/python3.10/site-packages/uvicorn/main.py", line 569, in run
    server.run()
  File ".local/lib/python3.10/site-packages/uvicorn/server.py", line 60, in run
    return asyncio.run(self.serve(sockets=sockets))
  File "/usr/local/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File ".local/lib/python3.10/site-packages/nonebot/message.py", line 141, in _check_matcher
    await _run_matcher(Matcher, bot, event, state, stack, dependency_cache)
> File ".local/lib/python3.10/site-packages/nonebot/message.py", line 187, in _run_matcher
    await matcher.run(bot, event, state, stack, dependency_cache)
  File ".local/lib/python3.10/site-packages/nonebot/internal/matcher/matcher.py", line 732, in run
    await self.simple_run(bot, event, state, stack, dependency_cache)
  File ".local/lib/python3.10/site-packages/nonebot/internal/matcher/matcher.py", line 707, in simple_run
    await handler(
  File ".local/lib/python3.10/site-packages/nonebot/dependencies/__init__.py", line 108, in __call__
    return await cast(Callable[..., Awaitable[R]], self.call)(**values)
  File ".local/lib/python3.10/site-packages/nonebot_plugin_arktools/src/utils/__init__.py", line 22, in _
    async with httpx.AsyncClient() as client:
  File ".local/lib/python3.10/site-packages/httpx/_client.py", line 2003, in __aexit__
    await proxy.__aexit__(exc_type, exc_value, traceback)
  File ".local/lib/python3.10/site-packages/httpx/_transports/default.py", line 332, in __aexit__
    await self._pool.__aexit__(exc_type, exc_value, traceback)
  File ".local/lib/python3.10/site-packages/httpcore/_async/connection_pool.py", line 326, in __aexit__
    await self.aclose()
  File ".local/lib/python3.10/site-packages/httpcore/_async/connection_pool.py", line 312, in aclose
    raise RuntimeError(
RuntimeError: The connection pool was closed while 557 HTTP requests/responses were still in-flight.

从0开始更新就会出现这种情况。

启动插件时报错
`Traceback (most recent call last):
File "D:\PRJ\pythonPRJ\GuguguyBot\Guguguy\gocqhttp\Guguguy\bot.py", line 22, in
nonebot.run()
File "C:\Users\10953\AppData\Roaming\Python\Python310\site-packages\nonebot_init_.py", line 309, in run
get_driver().run(*args, **kwargs)
File "C:\Users\10953\AppData\Roaming\Python\Python310\site-packages\nonebot\drivers\fastapi.py", line 198, in run
uvicorn.run(
File "C:\Users\10953\AppData\Roaming\Python\Python310\site-packages\uvicorn\main.py", line 578, in run
server.run()
File "C:\Users\10953\AppData\Roaming\Python\Python310\site-packages\uvicorn\server.py", line 61, in run
return asyncio.run(self.serve(sockets=sockets))
File "C:\Program Files\Python310\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "C:\Program Files\Python310\lib\asyncio\base_events.py", line 633, in run_until_complete
self.run_forever()
File "C:\Program Files\Python310\lib\asyncio\windows_events.py", line 321, in run_forever
super().run_forever()
File "C:\Program Files\Python310\lib\asyncio\base_events.py", line 600, in run_forever
self._run_once()
File "C:\Program Files\Python310\lib\asyncio\base_events.py", line 1896, in _run_once
handle._run()
File "C:\Program Files\Python310\lib\asyncio\events.py", line 80, in _run
self._context.run(self._callback, *self._args)

File "C:\Users\10953\AppData\Roaming\Python\Python310\site-packages\nonebot\internal\driver\driver.py", line 152, in run_hook
await asyncio.gather(*coros)
File "C:\Users\10953\AppData\Roaming\Python\Python310\site-packages\nonebot\utils.py", line 158, in run_coro_with_catch
return await coro
File "C:\Users\10953\AppData\Roaming\Python\Python310\site-packages\nonebot\dependencies_init.py", line 108, in call
return await cast(Callable[..., Awaitable[R]], self.call)(**values)
File "C:\Users\10953\AppData\Roaming\Python\Python310\site-packages\nonebot_plugin_arktools\src\utils\database.py", line 433, in _init_db
await ArknightsDB.init_db()
File "C:\Users\10953\AppData\Roaming\Python\Python310\site-packages\nonebot_plugin_arktools\src\utils\database.py", line 56, in init_db
await ArknightsDB.init_data()
File "C:\Users\10953\AppData\Roaming\Python\Python310\site-packages\nonebot_plugin_arktools\src\utils\database.py", line 70, in init_data
await ArknightsDB._init_building_buff(force)
File "C:\Users\10953\AppData\Roaming\Python\Python310\site-packages\nonebot_plugin_arktools\src\utils\database.py", line 94, in init_building_buff
data = json.loads(data)
File "C:\Program Files\Python310\lib\json_init.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\Program Files\Python310\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Program Files\Python310\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)`

另外打开json文件时没有内容，只有一句“invalid input！”

所有json都无法获取到数据

未复现，请检查以下可能的导致报错的原因：

Bot 的主机无法正常访问 Github, 但没挂梯子 / 没使用代理 / 没在配置文件里改镜像地址 (ghproxy / kgithub)
Bot 的主机能正常访问 Github, 但挂了梯子 / 用了代理 / 用了镜像
网络环境不稳定

那有可能就是代理的问题了，服务器挂了代理。


An POC implementation for a wrapper on top of OpenSpiel.

Description
An POC implementation for a wrapper on top of OpenSpiel.
Motivation and Context
Why is this change required? What problem does it solve?
If it fixes an open issue, please link to the issue here.
close #2272
close #2133

[x] I have raised an issue to propose this change (required for new features and bug fixes)

Types of changes
What types of changes does your code introduce? Remove all that do not apply:

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds core functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation (update in the documentation)
[ ] Example (update in the folder of examples)

Checklist
Go over all the following points, and put an x in all the boxes that apply.
If you are unsure about any of these, don't hesitate to ask. We are here to help!

[x] I have read the CONTRIBUTION guide (required)
[x] My change requires a change to the documentation.
[x] I have updated the tests accordingly (required for a bug fix or a new feature).
[ ] I have updated the documentation accordingly.

Closing in favor of #2345


#321 - (Re-)implement template lifecycle callback.

Implements #321. Will make it so that #319 will work and so that #320 can be updated to do the bare minimum of descending through a list of elements invoking the template callback on them if we find that's the best solution. At the very least, we have an opinionated mechanism for server-side rendering in that the template callback will not be called if the element is already resolved (already templated).

I am confused as to how this plays with the new ready callback

The order with this will always be:

events
properties
created
template
callCreatedOnDescendants
ready

I am confused about the need for a 'template' function when we have created and ready. Also, naming it template might be misleading as we are now leaving it up to the developer when to template.

Going to decline this for now. I don't think it's necessary at this point.

Renamed template to render as it more clearly describes an action.

I think this should be a thing because of the fact that it will only render if the element hasn't been resolved yet. Making users worry about this concern sucks if we can provide a specific hook for it that takes care if it.


Particle Visualizer (v1.1)

The result is very different from the expected one: just a few particles showing up after a long time instead of a lot of particles appearing immediately.
http://scratch.mit.edu/projects/91651445/
http://phosphorus.github.io/#91651445
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36

Faster version: (colours are off though)
http://homepage.ntlworld.com/infinnerty/differences/UAT/itch/#91651445

Cool :) Why don't you upload your version on the scratch website?

It's the same one as your link - fixes added to the js only (related to #260).


Fix logger name

fix logger name to be aligned with the className

@tzolov
This can mislead the log analyzers

thanks for catching and fixing this @omarmahamid

rebased and merged at 6178b3dcc4db427253671a6cbe624bcddfdccbd3


The future of osiris

Osiris has had a long run and is still getting updates today, but with how valve have been reworking source 2 all cheats will need basicly a complete rewrite, atleast that's how it's looking to be. So I ask @danielkrupinski
Will osiris be updated to work with source 2.
The source 2 files have already been released and can be played offline without normal beta access.

osiris will need a complete recode, it will probably be given up on until there's more publicity for CS2

osiris will need a complete recode, it will probably be given up on until there's more publicity for CS2

more publicity??? its literally cs2, this game will break the internet on release, what we need is quicker access, ofc you can access beta for free and start developing but it will take a while before we get to the standard of csgo cheats

It will be Source Engine 2, I don't expect blackmagic.


please help

Hello, where can I find the output of the red box in the app source code? I want to intercept the logs sent from the phone. Thank you.

https://github.com/Genymobile/scrcpy/blob/cc8e6133b0c9975ef2ed16086960e822ab750404/server/src/main/java/com/genymobile/scrcpy/Ln.java#L17

https://github.com/Genymobile/scrcpy/blob/cc8e6133b0c9975ef2ed16086960e822ab750404/server/src/main/java/com/genymobile/scrcpy/Ln.java#L17

Hello, I found this location but I want to intercept it on the client side. When the server sends data to the client, I want to find this output location in the client source code. Can you help me? Thank you.

There is none, the server directly prints to stdout/stderr, the client is not aware of the server logs.

没有，服务器直接打印到 stdout/stderr，客户端不知道服务器日志。

Okay, thank you. scrcpy is the best screen projection software I have ever used.


DB Integration Support - Cockroach DB with boxplot function

During the #492, I saw the boxplot function has some syntax issue with cockroachDB, we need to see if this is supported
%sqlplot boxplot --table taxi --column trip_distance

(psycopg2.errors.SyntaxError) at or near "0.25": syntax error
DETAIL:  source SQL:
SELECT
    percentile_disc([0.25, 0.50, 0.75]) WITHIN GROUP     (ORDER BY "trip_distance") AS percentiles,
                     ^
HINT:  try \hf percentile_disc

[SQL:
    SELECT
    percentile_disc([0.25, 0.50, 0.75]) WITHIN GROUP     (ORDER BY "trip_distance") AS percentiles,
    AVG("trip_distance") AS mean,
    COUNT(*) AS N
    FROM "taxi"]
(Background on this error at: https://sqlalche.me/e/14/f405)
RuntimeError:
Ensure that percentile_disc function is available on psycopg2.

I wouldn't consider cockroachDB a major database, so it's acceptable if it doesn't work.


Unable to sync

Node stuck at hight 128474
Grandpa authority set changes at 128475
Restart doesn't help. Wipe volume then restart sometimes can fix the issue, other time stuck again on a block before authority set changes.
node based on substrate: 9edfc2441116ef89b449de99522a27bb0c2051a5
runtime built ~2 weeks ago. I can pinpoint the exact version if needed
2019-01-23 04:08:32 ImportQueue DEBUG sync  Error importing block 128475: 0x926845638ab8f00b728708a93af05ff879d2b02e0dc74e4b3d025e5063e85b29: Error(ClientImport("Incorrect base hash"), State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })

full log:
https://gist.github.com/xlc/fed0869364cef1ddec4bc56fe522f2fa
I think it is relates to grandpa finalization process that the justification somehow get lost on authority set changes. Then later when another authority set changes happen, it stops syncing because it can only handle one authority set changes at time.

Should be sorted now.


docs: Update README.md and add architecture-diagram.png

This pull-request just updates /README.md (and adds an architectural diagram).

How to review:

Read the new README.md.
Let me know if the location/naming of achitectural-diagram.png is fine.
No manual testing of the "Deploy this solution" section is necessary. I have tested the "Deploy this solution" section myself and it worked.

Thanks, @bourgeoisor, for the very quick and thorough review — as always. :)
I've incorporated all your feedback.
Merging.


Store a user's chat conversations in persistent storage

Popular AI chat tools typically store the user's past conversation history so that they can continue the conversations in the future and share them when needed.
The InstructLab UI should have the ability for users' chats to be stored such that they can be continued at a later time.
For example, consider the following popular chat tool:

Please assign this issue to me; I am working on this

@Sunnidhya Thanks for taking on this issue. You'll want to look at https://github.com/instructlab/ui/issues/13 first as it's a pre-requisite to this one.

@Sunnidhya Please feel free to ping me on Instructlab slack #ui channel if you need any help with this issues. Love to discuss any high level design that you have in mind for this integration.