Removed between-kit

Last commit is older than 2 years ago

Project URL

https://github.com/ice3-software/between-kit
Category

/IO
Description

A robust drag-and-drop framework for iOS.

          1 Warning

:warning:
Found 1 link issue, a project collaborator will take care of these, thanks :)

Link issue by awesome_bot

Line
Status
Link

2876
302
http://www.ios-blog.co.uk/ redirects tohttp://www.ios-blog.co.uk/cgi-sys/suspendedpage.cgi

  Generated by :no_entry_sign: Danger

Thx


Upgrade to spring security 5.0.x

Appreciate any update on this front.
Looks like the spring security oauth2 client (5.0+) does not like spring-cloud-starter-oauth2, as later expects spring mvc to be present on the classpath
Cloud gateway uses webflux & spring webflux does not work well with spring mvc.
Any idea on when the support for cloud gateway can be expected with this?

@dsyer

See #141


swap s2geometry-node (C++) for s2-geometry (pure javascript)

All necessary changes for implementing s2-geometry in pure javascript.
Tested in known locations and compared to s2geometry-node results

https://github.com/coolaj86/s2-geometry-javascript/blob/master/tests/prev-next.js
https://github.com/coolaj86/s2-geometry-javascript/blob/master/tests/example.startup.txt

Addresses issues #147 #96 #70 #63 #64 #60
@cokeeffekt @d-pollard @breandr @hunterjm @dotomaz @billyriantono @Armax
Try it out now
Pre-packed instructions that even your sister can figure out (probably):

https://github.com/Daplie/pokemap-webapp
help wanted someone please test the windows batch script

Simple copy-paste instructions for techies, like you:

https://github.com/Daplie/node-pokemap

Legend

Really Cool 👍

That library doesn't produce the correct cell for me.
-43.5261282,172.6561085
produces the cell:
8678661352471920640
which is in the middle of the pacific ocean according to s2map.com. It should be around this location.

I'm using this PR and works for me. Thanks!
On Fri, 29 Jul 2016, 05:18 Toeler<EMAIL_ADDRESS>wrote:

That library doesn't produce the correct cell for me.
-43.5261282,172.6561085
produces the cell:
8678661352471920640
which is in the middle of the pacific ocean according to s2map.com. It
should be around this location
http://s2map.com/#order=latlng&mode=point&s2=false&points={
lat:-43.5261282,
lng:172.6561085
}
.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Armax/Pokemon-GO-node-api/pull/165#issuecomment-236165934,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABy6lwL6cl94tKc0CfHqCWipsT9dHrjhks5qae-XgaJpZM4JW6cR
.

s2geometry-node produces '7868221231537848320' '3/122120301030023' '-43.525166,172.655096'
s2-geometry v1.2.1 produces '8678661352471920640' '7/00320121210021'
It's either a padding bug or an issue with the GPS conversion (an overflow or wrap perhaps). 7 isn't a valid face.
I've opened an issue here https://github.com/coolaj86/s2-geometry-javascript/issues/6 and I'll probably be able to find and fix it very shortly.
Thanks for the report! :D

The good news is that there was a very simple padding issue, fixed here:
https://github.com/coolaj86/s2-geometry-javascript/commit/e461dcfd5c2adf543a90b7e5a4b8cf0ecbfe8392
The bad news is that there's also an issue with the Lat/Lng conversion, which is a little deeper, down in code that I didn't write.
I'll see what I can do. :)

@Toeler Can you use another library to figure out what the IJ, UV, and ST values should be at that location?
I get 32243,13474 for ij. If that's not correct, that's probably our problem. If it is correct, I'd have to see the UV and ST and compare those.
I was able to see that the Face and XYZ conversion is consistent with s2geometry-node, so those aren't the problem.

I don't have any other S2 libraries that work, just your javascript one.

Using npm install I still see s2geometry-node, is it because of the issue with s2-geometry?

@raz3r There is an issue though https://github.com/coolaj86/s2-geometry-javascript/issues/8 and I would like some help with it.
It's something any code monkey can solve, it just requires the endurance of console.log() and referencing an implementation that works.

@coolaj86 hey there. Im curious, if the "implementation that works" that you linked to before (https://github.com/golang/geo/blob/master/s2/cellid.go), if this code works perfectly fine, can we not just import that as a library and execute that code directly from node?
By using something like this (theres probably other ways of doing it too): https://www.npmjs.com/package/gonode

@cokeeffekt @Toeler @Armax @billyriantono @breandr I fixed the bug in my library. This should be ready to merge as of v1.2.6.
I've exhaustively tested every location on earth at level 15 and all generated values exactly match with s2geometry-node:
https://github.com/coolaj86/s2-geometry-javascript/blob/master/tests/exhaustive.js

This was the fix: https://github.com/coolaj86/s2-geometry-javascript/commit/68274eb677be0338984b0c7d59290ec323c47e67
Aside from the original padding error, it can essentially be boiled down to a very simple change:
// Faces 0,2, and 4 start at 'a'
// Faces 1,3, and 5 start at 'd'
var initialSquare = (face % 2) ? 'd' : 'a';
var currentSquare = initialSquare;

@coolaj86 i just tried your s2-geometry fork and it seems to work! Is it ready to use??
Good job!! :D

@segura2010 Yes, this is ready to merge.
The only bug reports I've gotten since the update were people using old versions.

@syrys the point is to get away from C++ complied code and use pure JavaScript to reduce complexity of the install. Otherwise using s2geometry-node is fine.

@coolaj86 just for clarification - this will completely remove the need for the C++ dependency for pure javascript (tested and working)? Would like to know before I swap out for my repo

@d-pollard it does, we already use it here https://github.com/stoffern/pokemongo-api and it works completely fine.
The only problem left is the calculation of neighbour cells, it gets wrong cells. as we have the right ones.

I totally vote for it!
please merge and let's get rid of non native one

@stoffern check the new README and see if that usage of S2.latLngToNeighborKeys(lat, lng, level); works for you now. If not, please open an issue at https://github.com/Daplie/s2-geometry.js.

We have our own calculation for getting the neighbour cells

What's the holdup on getting this merged in?
All necessary functionality has been implemented
(the neighbor cell calculation is an additional feature which does not affect this project)

your commit is conflict need to resolve first 😄

Would be easier to just send new PR

Big +1 on getting this merged. I'm working to get this 100% client-side compatible. It requires users to install a small browser extension to bypass CORS and set Origin header to 'niantic', but seeing as we've already seen Niantic block the major cloud providers, it's likely they'll soon continue with blocking the smaller ones. I have it working to the point of the second request in the PTC auth flow, but this is returning a 200 with no location header as opposed to the 302. If anyone has any ideas on that issue, I'd love to hear it. :)

Oh, it looks like the branches got crossed. It's showing commits from my other PR.
Here it is: https://github.com/Armax/Pokemon-GO-node-api/pull/222

I also just did a force push to the original PR which also fixed the merge conflict.

@breandr do you have a repo for the browser-only fork? Or is it commercial?

Can't remember if this includes all the latest? I was just hacking, waiting for this PR to get merged as it's obviously a big part of it.
https://github.com/breandr/pokemon-go-extension
https://github.com/breandr/pokemon-go-client
https://github.com/breandr/pokemon-go
Once this is merged, I will clean up and send PR to this repo (need to get auth working as well). I'll need to find an alternative to fetch which I don't think works with Node (and request doesn't work with client).


[regression] changes overwritten after sync with prebuild

The sync with prebuild has reverted some changes applied on prebuild-install like the removal of check for invalid tarfile, as can be seen on the unpack(). This fixes should be re-added, and a solution should be searched to prevent this overwrittes in the future, being the more practical one the removal of duplicated code between both projects.

The sync with prebuild has reverted some changes applied on prebuild-install like the removal of check for invalid tarfile, as can be seen on the unpack().

Sorry for that. I assumed that prebuild is up to date but https://github.com/mafintosh/prebuild/pull/111 wasn't merged so I missed this one.

This fixes should be re-added

Done in #25

a solution should be searched to prevent this overwrittes in the future, being the more practical one the removal of duplicated code between both projects.

Done in https://github.com/mafintosh/prebuild/pull/160

Sorry for that. I assumed that prebuild is up to date but mafintosh/prebuild#111 wasn't merged so I missed this one.

Ok, maybe this is the kind of things it was told that both prebuild and prebuild-install source code where diverging...

This fixes should be re-added
Done in #25

Thanks dude! :-)

a solution should be searched to prevent this overwrittes in the future, being the more practical one the removal of duplicated code between both projects.
Done in mafintosh/prebuild#160

Cool :-) Maybe we should re-sync to be sure there's nothing left? I could be done after it got merged to prevent any other missed commit there...

I have just review it and commits https://github.com/mafintosh/prebuild-install/commit/09eb7805108b9e2cef8c99e52001604448b2090c and https://github.com/mafintosh/prebuild-install/commit/eff516c54252c25123e6a4f38e89664eed93f3ab have been overwritten too, It was 3AM when I opened the issue and forgot to review this things. I'm not sure if other things from other contributors would have been missed too, these are just mine ones, maybe it would be good to do a review of the commit that introduced the regression to look for other missed things...

I have just review it and commits 09eb780 and eff516c have been overwritten too

Fixed in #26

I'm not sure if other things from other contributors would have been missed too

I've gone through the old PRs on prebuild-install and checked that no other changes have been overwritten.

I have just review it and commits 09eb780 and eff516c have been overwritten too

Fixed in #26

I'm not sure if other things from other contributors would have been missed too

I've gone through the old PRs on prebuild-install and checked that no other changes have been overwritten.

Thank you :-) When they could be published on npm? Maybe after the review of the other pull-request?

Thank you :-) When they could be published on npm? Maybe after the review of the other pull-request?


Support projects with only a Package.resolved file but no manifest

Is there an existing issue for this?

[X] I have searched the existing issues

Feature description
In the Swift world, some projects use a Package.resolved lockfile, but no Package.swift manifest.
As specified at https://github.com/dependabot/dependabot-core/issues/1245#issuecomment-1631572077:

Swift Apps (iOS, macOS)

Have a *.xcodeproj/project.pbxproj file defining dependency version rules (among other project stuff)
Have a *.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved file with the "pins" for specific package versions actually used
Interactions are mostly through Xcode manually editing version rules and clicking at Update to Latest Package Versions

Also suggested below:

I think you can automate this part as well by using the xcodebuild -resolvePackageDependencies command with some further options.

Last suggestion sounds promising but my understanding is that it would require using a MacOS native tool, which seems problematic since our updater images are linux-based.
Another idea would be to create a temporary Package.swift file that adds all Package.resolved dependencies as direct dependencies, and then use SwiftPM to manage the updates like we do now. I think that would work, but may break those "dependency version rules" defined at *.xcodeproj/project.pbxproj.
So, I think first of all we'd need a specification for these dependency version rules.

@caiofbpa has also suggested a Ruby library that can read & write .xcodeproj bundles, so that's very promising too!

Gem: https://github.com/CocoaPods/Xcodeproj
Specific class that deals with SwiftPM dependencies and versions: https://www.rubydoc.info/gems/xcodeproj/Xcodeproj/Project/Object/XCRemoteSwiftPackageReference

I don't think the support should be for "no manifest" but rather supporting .xcodeproj bundles as manifest instead of Package.swift.
You can manipulate Xcode project bundles with the following gem:
Gem: https://github.com/CocoaPods/Xcodeproj
Specific class that deals with SwiftPM dependencies and versions: https://www.rubydoc.info/gems/xcodeproj/Xcodeproj/Project/Object/XCRemoteSwiftPackageReference

Hi,
This GitHub action take care of detecting dependencies to be updated in Xcode projects or workspaces. Maybe you could get some idea from it!
https://github.com/getsidetrack/action-xcodeproj-spm-update
Looking forward to get dependencies automatically updated in Xcode projects!!
Thank you very much,
Carlos

👋🏼 I'm the creator of the Swift version of XcodeProj. Note that changing the references to packages in Xcode projects is only one side of the equation, and for that you can use XcodeProj libraries. It's very important that you use a library that's mature enough so that writes to disk don't produce diffs, otherwise developers will dislike the experience using Dependant. This is something that doesn't require a macOS environment at all.
The second piece to the equation is updating the lock file to reflect the changes in the dependencies. The lockfile lives at: *.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved. xcodebuild is able to resolve the dependencies and update the lock files running xcodebuild -resolvePackageDependencies, but that unfortunately requires a macOS environment. If this is a no-go, you might consider creating a Package.swift with the same dependencies listed in the Xcode project, just as a means to obtain a Package.resolved, and then move that one to the right location inside the Xcode project. Xcode must be using Swift Package Manager's API internally.

Does anyone have a workaround for this issue?

Lots of apps also do not commit their xcodeproj and instead generate it using a tool like Xcodegen. In this case, they only commit their Package.resolved—you can see this example in the usage documentation. Ideally there would be solution that would handle those cases as well. In that case, there are no special dependency rules to parse from the project.pbxproj, as it is not committed.

Hi @deivid-rodriguez, I hope you are doing well. Could please give us an update on this? Thanks!

Any update on this?

updates?

Since I was pinged recently, I'll just say that:

I'm no longer maintaining Dependabot, so have no updates myself.
The team is usually communicative when they plan to work on something. If there are no updates posted by the maintainers team, it usually means no updates. I recommend to 👍 the issue instead explicitly asking for updates. See https://github.com/dependabot/dependabot-core/tree/f0715dfc0e91be090253d0c5db425992e63d9f80?tab=readme-ov-file#no-1-comments.


installing enderio

When i put it in my mods folder, and open the game... after clicking "play" on the launcher, it goes..as it should BUT the game interface never pops up.  I have sat and waited for over an hour.

Going to need some screenshots and a log file.


merge: dev to stage

merge: dev to stage

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


Add sonarcloud configurations

Add sonarcloud configurations.

Codecov Report
Base: 73.84% // Head: 73.83% // Decreases project coverage by -0.01% :warning:

Coverage data is based on head (6623a49) compared to base (3f5af8f).
Patch has no changes to coverable lines.

Additional details and impacted files
@@             Coverage Diff              @@
##               main      #18      +/-   ##
============================================
- Coverage     73.84%   73.83%   -0.02%
+ Complexity     1431     1430       -1
============================================
  Files           154      154
  Lines          5889     5889
  Branches        670      670
============================================
- Hits           4349     4348       -1
  Misses         1261     1261
- Partials        279      280       +1

Flag
Coverage Δ

unittests
73.83% <ø> (-0.02%)
:arrow_down:

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

Impacted Files
Coverage Δ

...ain/java/com/hufudb/onedb/mpc/elgamal/Elgamal.java
83.11% <0.00%> (-1.30%)
:arrow_down:

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

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


Testing fix of #6 via #24

This comment should not resurrect the issue card into the "Needs Triage" column

Good morning!

Good morning to you as well

Hello!

Thanks, folks!

This should not resurrect the issue

G'Night!

Testing successful!


Exception Handling in map

The current implementation of map takes a Function:
        @Override
        public <U> Try<U> map(Function<? super T, ? extends U> mapper) {
            return Try.apply(() -> mapper.apply(value));
        }

This means map can not do Exception Handling for checked Exceptions:
 public String throwingAnException() throws IOException {
    return "foo";
  }

  public void testMap() {
    Try<String> myTry = Try.apply(() ->  "start");
    myTry.map(this::throwingAnException);
//                       ^^ Unhandled Exception IOException
}

If you'd use "FailableFunction" similair to the FailableSupplier in this Project it would increase the usability of Try.

With this API you already have the failable function concept. If you think about it, a failable function is something like:
Function<? super T, ? extends Try<U>>

That is a function that goes from T to Try<U>, that is it may fail.
Note that you already have a combinator for such a function and its name is flatMap. Here's its signature:
public abstract <U> Try<U> flatMap(Function<? super T, ? extends Try<U>> mapper);

TL;DR: rewrite your testMap this way:
public void testMap() {
    Try<String> myTry = Try.apply(() -> "start");

    myTry.flatMap(s -> Try.apply(this::throwingAnException));
}

Thanks for your reply. While I understand that a  Function<? super T, ? extends Try<U>> can be seen as implementation of the concept of a failable function I believe there is a huge difference in the usability. My example contained a Checked Exception.  For  unchecked exceptoin a innocent looking:
someTry.map(someBadFunction())](url)
can throw unexpected Exceptions as well as a
someTry.flatMap(someOtherBadFunction())](url)
I beliebe this comes as a surprise to the reader/writer as the idea of Try is to map Exceptions to explicit values/types. It basically means you have to guard any usage of map and flatMap with another Try which is quite ugly.
By comparison Scalas Try catches Exceptions within both map and flatMap (https://github.com/scala/scala/blob/v2.9.3-RC1/src/library/scala/util/Try.scala#L205,https://github.com/scala/scala/blob/v2.9.3-RC1/src/library/scala/util/Try.scala#L198)

Could you, please, provide an example of using map and flatMap where the functions they use throw an unchecked exception and this library don't trap it within a Try? Have a look at this:
public class MapAndFlatMapExample {
    static String throwingAnException() throws IOException {
        return "foo";
    }

    static void workingWithCheckedEx() {
        Try<String> myTry = Try.apply(() -> "start");

        Try<String> result = myTry.flatMap(s -> Try.apply(MapAndFlatMapExample::throwingAnException));

        result.forEach(System.out::println);
    }

    static String throwingUncheckedExWithinMap(String s) {
        throw new IllegalStateException("ops!");
    }

    static Try<String> throwingUncheckedExWithinFlatMap(String s) {
        throw new IllegalStateException("ops!");
    }

    static void workingWithUncheckedEx() {
        Try<String> myTry = Try.apply(() -> "start");

        Try<String> result = myTry.map(MapAndFlatMapExample::throwingUncheckedExWithinMap);

        Try<String> result2 = myTry.flatMap(MapAndFlatMapExample::throwingUncheckedExWithinFlatMap);

        result.forEach(System.out::println);

        result2.forEach(System.out::println);
    }

    public static void main(String[] args) {
        workingWithCheckedEx();

        workingWithUncheckedEx();
    }
}

You are absolutely right. It just works for Unchecked Exceptions and making the try explicit for checked exceptions is also fine. Many thanks for your patience and sorry for the noise.

You're more than welcome. Thank you for using this library.


Move ORCID identifiers to new table

Move the existing 'valid' ORCIDs from the users.orcid_id table to the new user_identifiers table and insert ORCID into the identifier_schemes table post migration.

Debating whether this should be part of the DCC MVP since we have added the ORCID functionality in already.
It won't harm anything if we don't do it, users would just need to reconnect themselves manually. That may not be a bad thing since there can be a lot of garbage in that field in the table (e.g. email addresses. numbers that do not follow the ORCID conventions, etc.).

Rake task is in place in current code.


Cfn_rules

How to add custom cfn_nage rules in lambda?
I have my custom rule ready but don't know where to add it.
it would be helpful for my org to use cfn_nag @PaulDuvall

@foobar123-del in 0.5.5 of the release in SAR.... you can specify a rule bucket name and a prefix at deployment time.  Any object in the bucket that matches prefix/*Rule.rb will be loaded as a custom rule.


check k8s version for synchronization of completions and parallelism

What type of PR is this?
/kind feature

What this PR does / why we need it:
Check k8s version and change condition for batch/job.completions with parallelism in case of partial admission
Which issue(s) this PR fixes:

Fixes #970
Special notes for your reviewer:
This is the second step fixing #970.
Does this PR introduce a user-facing change?

NONE

/assign

/ok-to-test

/retest

/retest
#1021


Bug: folder name with dot not found by PyQt5

Hi @achille-martin,
It's me! Opening a new issue is for the convenience of others who encounter the same problem to query.
Thank you so much again. pyqt-crom is very simple and user-friendly.
Description
When I run my own app, python package file copying failed. I found the reason is that some folder names contain " . ", such as "Models.2" . But when copying, it will be replaced with " / ". TO BE HONEST, I feel strange. Because the demo ran successfully and also included the pyqt5 package. If you know how to solve it, please let me know.
Issues
----- REVIEWING COMMAND-LINE ARGS -----

[INFO] The .pdt path received is: /home/gw/LYH/androidDepoly/QTgui/config.pdt
[INFO] The number of jobs received is: 1
[INFO] The qmake path received is: /home/gw/Qt/5.15.2/android/bin/qmake
[INFO] The request to reload the sysroot is: False
[INFO] The request to disable progress messages is: False
[INFO] The request to enable verbose progress messages is: True

----- INITIALISING AND COLLECTING VARIABLES -----

[INFO] Pdt directory location is: /home/gw/LYH/androidDepoly/QTgui. This is the reference directory.
[INFO] The sysroot path received is: /home/gw/LYH/androidDepoly/QTgui/sysroot.toml
[INFO] Setting application name to: imageClass
[INFO] The app entrypoint name received is: classifier
[INFO] The app package path received is: /home/gw/anaconda3/envs/androidDeploy/lib/python3.10/site-packages
[INFO] The app release dir is set to: /home/gw/anaconda3/envs/androidDeploy/lib/python3.10/site-packages/../releases/2024_05_17-15_42_36

----- BUILDING TARGET SYSROOT -----

Verifying host architecture 'linux-64'...
Verifying target architecture 'android-64'...
zlib: verifying...
zlib: determining installed version from '/home/gw/Android/Sdk/ndk/21.4.7075529/sysroot/usr/include/zlib.h'.
zlib: verified v1.2.7.
Qt: verifying...
Running '/home/gw/Qt/5.15.2/android/bin/qmake -query'.
Qt: verified v5.15.2.
Python: verifying...
WARNING: Python: v3.8.19 is untested.
Python: verified v3.8.19.
SIP: verifying...
Running 'sip-module --version'.
SIP: verified v6.7.12.
PyQt: verifying...
PyQt: verified v5.15.2.
Creating /home/gw/LYH/androidDepoly/QTgui/sysroot-android-64/build.
Deleting /home/gw/LYH/androidDepoly/QTgui/sysroot-android-64/build.

----- BUILDING THE PYQTDEPLOY PROJECT -----

Verifying host architecture 'linux-64'...
Verifying target architecture 'android-64'...
zlib: verifying...
zlib: determining installed version from '/home/gw/Android/Sdk/ndk/21.4.7075529/sysroot/usr/include/zlib.h'.
zlib: verified v1.2.7.
Qt: verifying...
Running '/home/gw/Qt/5.15.2/android/bin/qmake -query'.
Qt: verified v5.15.2.
Python: verifying...
WARNING: Python: v3.8.19 is untested.
Python: verified v3.8.19.
SIP: verifying...
Running 'sip-module --version'.
SIP: verified v6.7.12.
PyQt: verifying...
PyQt: verified v5.15.2.
Cleaning /home/gw/LYH/androidDepoly/QTgui/build-android-64.
Creating /home/gw/LYH/androidDepoly/QTgui/build-android-64.
Traceback (most recent call last):
  File "/home/gw/anaconda3/envs/androidDeploy/bin/pyqtdeploy-build", line 8, in <module>
    sys.exit(main())
  File "/home/gw/anaconda3/envs/androidDeploy/lib/python3.10/site-packages/pyqtdeploy/pyqtdeploybuild_main.py", line 82, in main
    builder.build(args.opt, args.resources, args.clean, args.build_dir)
  File "/home/gw/anaconda3/envs/androidDeploy/lib/python3.10/site-packages/pyqtdeploy/builder/builder.py", line 168, in build
    resource_names = self._generate_resources(parts, job_writer,
  File "/home/gw/anaconda3/envs/androidDeploy/lib/python3.10/site-packages/pyqtdeploy/builder/builder.py", line 316, in _generate_resources
    self._write_python_modules(project.application_package.parts,
  File "/home/gw/anaconda3/envs/androidDeploy/lib/python3.10/site-packages/pyqtdeploy/builder/builder.py", line 594, in _write_python_modules
    self._write_python_module(name, part, parts, part_root_dir,
  File "/home/gw/anaconda3/envs/androidDeploy/lib/python3.10/site-packages/pyqtdeploy/builder/builder.py", line 585, in _write_python_module
    shutil.copy2(src_path, dst_path)
  File "/home/gw/anaconda3/envs/androidDeploy/lib/python3.10/shutil.py", line 434, in copy2
    copyfile(src, dst, follow_symlinks=follow_symlinks)
  File "/home/gw/anaconda3/envs/androidDeploy/lib/python3.10/shutil.py", line 254, in copyfile
    with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: '/home/gw/anaconda3/envs/androidDeploy/lib/python3.10/site-packages/PyQt5/Qt5/qml/QtQml/Models/2/plugins.qmltypes'

Hi @stone-cloud, Thank you for your persistence (and for opening a new issue).
I am not exactly sure that I understand your problem.
Can you send me a very minimal example of your app so that I can test on my end (reproduce the error)?
Can you explain as well:

What you are trying to do (that generates the problem)
What you expect

Ok, I am building an app, the repo address is classdemo.  It can select a picture and perform classification prediction, then return and print the classification results. The program will use Python packages opencv onnxruntime numpy pyqt5. When I run my program, I get the error.

Ok, I am building an app, the repo address is classdemo.  It can select a picture and perform classification prediction, then return and print the classification results. The program will use Python packages opencv onnxruntime numpy pyqt5. When I run my program, I get the error.

@stone-cloud, thank you for sharing.
I had a look at the code: do you have an issue with PyQt5 or any python dependency then? (that means you don't have an issue with pyqtdeploy or PyQt-CroM right?)
If that is the case, then I will set the priority as low and come back later if I can!
Besides, a little warning: I am still trying to figure out how to "cleanly" add non-standard python packages (like numpy) into the Android app (reference: https://github.com/achille-martin/pyqt-crom/issues/32). This means that for now you might not be able to port your app to Android just yet. Unless you figure things out before I do!

I am not exactly sure that I understand what you mean. I am confused because my demo and the demo in PyQt-CroM both include the Python packagePyQt5, but it is not working in my demo.

Ok, let's take a step back then because there is mutual confusion there.

Have you tried running the demo app first? (this one -> https://github.com/achille-martin/pyqt-crom/tree/main/examples/demo/demo_project/demo_pkg)

If no -> try it
If yes -> great

Does the demo app run on both Linux and Android?

If no -> let's see what is going on
If yes -> great

Does your custom app run on Linux?

If no -> you'll have to debug that first
If yes -> great

Does your custom app run on Android?

According to the initial message, it does not.
To narrow the problem down: which module is the source of the problem?
I suggest that you remove the "imported modules" (and associated functions) one by one until you figure out which one is the problem.
For instance, run your app with only PyQt5, then PyQt5 + numpy, and so on, until the problem appears.

I will try it and am excited for the next version. Thank you.


Allows customizing index paths to calculate offset after update

Current coverage is 74.34%

Merging #75 into dev will not affect coverage as of c8137e7

@@              dev     #75   diff @@
=====================================
  Files          14      14
  Stmts         768     768
  Branches        0       0
  Methods         0       0
=====================================
  Hit           571     571
  Partial         0       0
  Missed        197     197

Review entire Coverage Diff as of c8137e7

Powered by Codecov. Updated on successful CI builds.


Add ability to parse datetime string into LocalDateTime object

We can use the parseDateTime method of ParserUtil to parse a String datetime into a LocalDateTime object.
The current datetime format accepted is yyyy-MM-dd HH:mm.

Codecov Report

Merging #93 (eaa372c) into master (a63296d) will decrease coverage by 0.06%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master      #93      +/-   ##
============================================
- Coverage     41.94%   41.88%   -0.07%
  Complexity      477      477
============================================
  Files           101      101
  Lines          2730     2734       +4
  Branches        348      348
============================================
  Hits           1145     1145
- Misses         1463     1467       +4
  Partials        122      122

Impacted Files
Coverage Δ

src/main/java/unibook/logic/parser/ParserUtil.java
34.37% <0.00%> (-1.50%)
:arrow_down:

Continue to review full report at Codecov.

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


Enhanced Ukrainian translation of index page

I noticed that the Ukrainian translation of the index page lacked a section on middleware, so I added it.
I was wondering if there are any ongoing translation efforts in this repository. If so, I would be happy to contribute further to the Ukrainian translation.

thanks @GeorgeShvab


Dolt.schema_import should support a dataframe, {}, and [] interface

We should support DataFrames, lists and dictionaries as supported input to schema_import. We should also allow the user to control replace, create, etc.

I think this is a good idea for DataFrames, they have a schema and translating that to a SQL schema should be straight forward. I believe Pandas may already implement this.
For lists and dictionaries it's a little complicated, but I basically see four logical things to support:

List of lists (column major): each element of the outer list represents a column, and holds a list of values, to type inference we have to scan each column-list of values and choose a super type
List of lists (row major): each element of the outer list represents a row, and holds a list of values, one for each column. Again we have to scan each column and choose the super type of the elements, and map it to SQL.
List of dicts (row major): each element of the outer list represents a row, and each row is a dict mapping column name to value. To do type inference we scan the rows, and find the super type for each column.
Dict of lists (column major): dict maps column names to lists of values, we scan each list and infer the super type.

A quick and dirty version of this would be to simply try and convert the users' data to Pandas, and then use the resulting DataFrame to infer schema.

Duplicate of #15


RPi_Cam_Web_Interface_with_ServoBlaster_pan_tilt

just sth I didnt find already made and the only solution I found to use pan-tilt without extra hardware in Raspberry Pi Model 2

Hi Skalad, I have ServoBlaster running and have installed your git on my Pi-B. I didn't get the normal Apache/ Nginx menu on install that I get on the standard RPi-Cam install, and didn't get anything on my web browser on reboot. So I installed Apache using part of the script in the Installer. Apache is now on the web browser but not connected with RPI-Cam files in /var/www. A file is being updated in /dev/shm/mjpg so i'm not far away. What file do I need to edit? any ideas would be useful

mmmmm
Is the camera enabled?
sudo raspi-config
Use the cursor keys to move to the camera option, and select enable. On exiting raspi-config, it will ask to reboot.

What is exactly appearing in the web/browser? probably is just apache configuration?.... apache sites available, sites enabled and all this configuration files. and it depends if it is apache or apache2 it should be done different,  is php module enabled? install libapache2-mod-php5. I dont know exactly what is happening. and long time without using this project but ill try to help

The other factor here is whether this was installed on Wheezy or Jessie version of Rasbian. Jessie changed around quite a bit of stuff which broke a lot of the install on the base RPI_Cam

Hey thanks for the speedy response guys.
I am on Jessie, I did wonder if I should drop back to Wheezy or further?
I have also been experimenting with the Linux RPI_Cam version which shows the menu with no problem. I have run... Installer autorun but that didn't take effect. If I run .sh start then a file is updated in /dev/shm/mjpeg. As Apache is mention in the script then I find it hard to imagine that it was missed on install.
Yes the browser now shows an Apache Index page. I have got further than this with the normal Git, but fail again at the direction arrows, they are there in blue, but not active but I didn't have the control in servoblaster as good as I have at the moment, but i'm sure I could suss how or why that is the case.
In the RPI Git install running .sh install in terminal or the Gui desktop, brings me back to the choices menu, not as in the picture.

Update: Auto doesn't work, start generates a file in mjpeg and it is constantly updated, browser is still on Apache index.

It would be better to separate it in 2 parts to find and fix the problems,
1 RPi_Cam_Web_Interface https://github.com/silvanmelchior/RPi_Cam_Web_Interface
I would start triying this alone.
2 Pan/tilt controls Web Interface
Once RPi_Cam_Web_Interface works propperly without pan titl controls the only thing my fork makes is adding a Web_pantilt_control frame in /var/www/index.php
 this is the original 1 web cam interface page
    this is the pan/tilt 2 control web page
the only thing the second frame control-child.php makes is showing the green control arrows and when they are clicked it calls a bash scripts with exec ('sh /var/www/script.sh') this bash scripts use servoblaster to move the pan/tilt and keep a journal of the servos position in a txt file.

I am as I type just running apt-get dist upgrade on my way to installing Servoblaster and the Linux RPI base git on another card. It's the config menu that didn't show on install and I couldn't access it in the gui desktop either, all a bit odd. I have mentioned before, I have had the placeholders for the buttons on a previous attempt and have shot an IR timelapse, i'm sure I can get back to that point.

I agree it is best to separate the issues here.
The base RPi install has an alternative install method available which has had more work done it to make it Jessie compatible. See wiki for details

So far so good, picture is updating, config menu works for start and stop, now to activate the buttons?

A new day, autostart has been enabled, I have control of the servos with SB but not in the browser.

If using my fork, Try executing the scripts that are beeing callled by the php code like up.sh down.sh, etc... in order to do that, go to the /var/www/ path and execute them directly in the command line. If they work, chmod them to any user acces them, probably what happens is that the php application server server form nginx/apache needs special rights for it. If not... check that php exec is working and calling the script when triggered in the php page. regards...

Much later in the day, files deleted and some renamed and now I have limited movement in the browser. One click in either direction plus its return.
https://youtu.be/qThpZBMLHWU

A late night after re-installing your fork. In Terminal and GUI I can access left.sh and right but up and down do nothing, the two file's don't even double click?. In the browser I am still stuck on the Debian Apache start html file which is in /var/www/html/. I have searched this problem before, it's mentioned in lots of places but there's no answers. It has been so common an occurrence on numerous forks  I am amazed I haven't got it nailed. Yesterday pipan_off and pipan_on and servo_off and servo_on where all in the folder together, After leaving it at servo_on and pipan_off the RPI_Cam fork came into life with some limited movement in the browser. I don't have a servo_ in this fork so pipan_on is in force.

Not clear which fork you are talking about.
I would start not with a fork but instead install the root version here which does work with Jessie. The alternate install instructions as per the wiki are also a bit more Jessie friendly.
Once you have that fully working Ok then start the pan/tilt stuff either by making the skalad mods or by enabling the support here using pipan_on or servo_on files.

Yes I have two on the go. The Linux RPi_Cam I have up and running, but with very limited movement on the servo via the browser. I'm not sure why.
This morning has been a Skalad fork attempt, I have just ./...sh remove.sh and rebooted after a normal install got me to the Apache Debian html (different from below) then ./...sh install.sh
and rebooted and i'm at the Apache start html. The camera is on autostart and working but not feeding into the browser or the correct browser isn't being loaded.

By Linux RPi Cam I assume you mean the standard one here.
I don't think the skalad fork is fully Jessie aware. There were some significant changes in Jessie compared to Wheezy which broke a lot of the install including the Apache web server settings and will lead to the problems you are seeing.
I would continue with the one you have working but concentrate on why you are getting limited movement on the pan / tilt. What do you mean by that? Not all buttons working? Range of movement is  restricted? Those things are probably easier to check out.

Hi Robert, thanks for the interest. I have a video posted above which shows the limit of my movement in the base distro. It allows one movement in either direction and then its return.
If I access l&r and u&d .sh in Gui desktop by double clicking, left and right seem to work ok. The up and down files will highlight and nothing else.
If I access them by the terminal l&r work ok even though they return a permission denied quoting line 14 and 15 respectively. U&d return a no such file or directory. All very odd.

Assuming you are using servo_blaster mode (servo_on file present, but no pipan_on) present then this is supposed to work as follows.

The local browser pan / tilt are set to 100,100

Clicking on buttons can cause a request to be made to pipan.php on server. This should just have an action keyword and a value of left, right, up, down. The command is only sent if the local pan / tilt is between 10 and 190 to limit movement. If the command is sen then the pan / tilt get 10 added or subtracted.

pipan.php reads the servo_on file to extract the current x,y co-ordinates or assumes they are 165,165 if they don't exist.

It then adds or subtracts 10 to the relevant co-ordinate and writes this into the servoblaster pipe at /dev/servoblaster

To see why this is not working for you there are several things you can do.
a) Turn on Development tools in browser. This will show the actions requests being sent to the browser.
b) Check the contents of the servo_on file after button presses. It should be updating.
Also check permissions on the servo_on file. It should be owned by www-data and have read/write permissions. If not then try sudo chown www-data:www-data servo_on

Hi Robert

There is nothing inside the servo_on file and nothing happens during button presses :-(

The only other thing I did was permissions and it is now working ok

I just got home... I have the RPi here. This week I´ll play with RPi to install the silvanmelchior/RPi_Cam_Web_Interface with servos, servoblaster and camera. long time without using it... I didnt know it had servoblaster support already. looks nice...

i installed servoblaster before RPi on both attempts. I hadn't noticed it already had a SB file in the folder

I don't think there is much wrong with the Skalad fork. My initial re-install of Apache was only down to me thinking it hadn't been installed as I couldn't access config through the installer like I do in the base distro.

Which is how I normally install it, stop it and start it. To re-install Apache, I cut the code out of the install script and it installed ok. It over wrote the Apache page shown above with a Debian version.
Skalad is running but not on auto even though I have set it more than once. Mjpeg is being updated, Servoblaster is installed but there is no servo_on in the folder, which probably explains why i'm stuck on the Apache page shown above.
Looking in the Base Distro servo_on file it was empty, Can I make one and set permissions etc?
In the quest for sexy green buttons I can just copy the files over I suppose?

I don't think the skalad fork uses the servo_on file.
The base distribution has files called pipan_off servo_off as by default the pan tilt support is off.
To use with original pipan mechanism one just renames pipan_off to pipan_on.
To use with servoblaster one just renames servo_off to on (leaving pipan_off alone)
The servo_on is initially empty but on first use is populated with x,y 165,165 and is then updated as movements are made. Its permissions should be www-data r/w which is the permissions of the servo_off as distributed.
When installing the base distribution one can use ./install.sh instead of the previous script. This does the config and install all in one go.

Hi Robert
yes I tried both ways yesterday on the base distro and your little list including setting permissions got me off the Debian index page and up and running. Is the permissions problem responsible for not loading the correct html page on initial reboot? I have seen this in forums, and experienced it myself many times. I have had numerous attempts since last year to get this running and have always given up and gone experimenting with other camera distro's. With yours and Skalads help i'm up and running in three days. A big thanks to you both.
I'm now going to format a card, install Jessie, don't install Servoblaster  and see how it goes.
Noted servo_on is un-populated until your running (populated today) and servo_on not being present on Skalads fork
Ignore my thoughts on copying the green buttons over, looking in the html, the base arrows aren't jpg's.

I followed Silvans git, didn't install servoBlaster rebooted and landed on the Debian page above.
In Gui desktop, double click Installer, pick open in terminal, pick update and upgrade cam in config menu, set auto start, reboot.

Are you installing into a subfolder of the web DocumentRoot (/var/www)? If so then the url should contain the subfolder. E.g. if you install into rpi then this goes into /var/www/rpi and the url should be http://hostname/rpi  This was the popular method with wheezy as it allowed having multiple different web sites under apache selectable just by adding the subfolder onto the url
This is a confusing area as with Jessie the default DocumentRoot is now /var/www/html. The ./install.sh method resets this back to /var/www so it behaves similarly to Wheezy. I think with the previous install script you must configure html as a subfolder for the install and then you use http://hostname

An interesting morning, had to remove and install servoblaster first (possibly) before RPi. I was incorrectly wired on the breadboard so it may not have needed it. Having missed it out on Silvans install. I installed it afterwards but didn't get it to work, not double checking wire I removed RPi in Gui rebooted and re installed when I noticed the wire. After a servo test, all was well after renaming servo_off.
I am in default setting, any myriad of reasons are possible as to why I've failed so many times before, but I am much happier in Terminal than I was say three months ago.
Would changing the name of servo_on, hold the page without a permissions change, I forgot to find out, does mv take that info with it?

I've just realised we are in Skalads fork and I've now written over the sdcard so I suppose we are closed.
Skalads fork was working apart from making the final connection


19 sentence coordinates json file

tei_to_json.py file is changed to have sentence coordinates included in the json file. Main change is in the process_paragraph method, where the return text dictionary is of the format {text: [ {sentence :str, coords: str} ], cite_spans: List, ref_spans: List, eq_spans: List, section: List}
The json file is then read and converted to a df with columns new_row = {'file': input_file, 'section': para['section'], 'sentence': s['sentence'], 'prev_sentence': '', 'next_sentence': '', 'tokenized_sentence': tokenized_sentence, 'coordinates': s['coords']}  and written to a csv file.
Fixes #19 #20

Published to hub.ncsa.illinois.edu/clowder/extractors-pdf2text:0.8.0 . Works fine in deployed instance.

Drop columns  'prev_sentence': '', 'next_sentence': '', 'tokenized_sentence': from df.

Change extractor info to reflect it uploads a csv file to clowder.

Drop columns  'prev_sentence': '', 'next_sentence': '', 'tokenized_sentence': from df. No need to write these columns in csv file

done. The only columns are 'file', 'section', 'sentence', 'coordinates'

Change extractor info to reflect it uploads a csv file to clowder.

done. extractor info is changed.

Pushed and deployed. extractors-pdf2text:0.8.2

Merging to main.


Point cluster controller presubmit job to CLI repo

Issue #, if available:
Description of changes:
Since we are moving the eksa controller to CLI repo, we need to move this presubmit job to trigger on changes in the CLI repo
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/ok-to-test

/lgtm

/unhold

/lgtm cancel

/hold

/lgtm

/unhold


Allow of in await using declarations in for-of loops

fixes https://github.com/microsoft/TypeScript/issues/55555

Note that 5.3 is cut; not sure if you intended for this to be in 5.3 or not.

I did. This was a bugfix for a grammar error.

With this change, for (await using of x) ; is an error but for await (await using of x) ; is now not an error (a change in behavior from TS 5.2). In addition, the emit for for await (await using of x) ; has an extra space in it which implies to me that TypeScript's internal AST contains an empty variable declaration list, which would be invalid. Babel treats both as a syntax error (see this and this), which also leads me to believe that this is a bug in TypeScript.
Was that an intentional aspect of this change or was that a regression?

@evanw thanks for this information - I'll take a look at this soon.


Add watermark in IdleWindowScaner

fire idleWindow according to watermark and windowEnd

I am ok with that, but the sessionTimeOut is work with the session window, this kind of window has not windowEnd.

I did some simple tests, and the windowEnd will change with the arrival of data.
Here the sessionTimeout of sessionWindow is 5 seconds. Each message sent causes it to keep updating windowEnd. Pause for 4 seconds after each message is sent, a total of 5 pieces of data are sent, and it takes 4 * 4 + 5 = 21 seconds.
public class UserProducer {
    private static final String topic = "windowCount";
    private static final Random random = new Random();
    public static void main(String[] args) throws Exception {

        DefaultMQProducer producer = new DefaultMQProducer("Pro_Group");

        producer.setNamesrvAddr("localhost:9876");

        producer.start();

        long time =<PHONE_NUMBER>000L;

        for (int i = 0; i < 5; i++) {
            User user = new User("小红" + i, 13, time + 4000*i);
            byte[] body = JSON.toJSONBytes(user);
            Message msg = new Message(topic, "", body);
            SendResult sendResult = producer.send(msg);
            System.out.printf("%s\n", user);
            Thread.sleep(4000);
        }

        //Shut down once the producer instance is not longer in use.
        producer.shutdown();
    }
}

User{name='小红0', age=13, timeStamp=4000000000000}
User{name='小红1', age=13, timeStamp=4000000004000}
User{name='小红2', age=13, timeStamp=4000000008000}
User{name='小红3', age=13, timeStamp=4000000012000}
User{name='小红4', age=13, timeStamp=4000000016000}

// AccumulatorSessionWindowFire.fire
                logger.info("fire session,windowKey={}, search keyPrefix={}, window: [{} - {}]",
                        windowKey, state.getKey().toString(), Utils.format(windowBegin), Utils.format(windowEnd));

2023-07-11 00:27:49.121 [ScanIdleWindowThread_1] INFO  o.a.r.s.c.window.fire.AccumulatorSessionWindowFire - fire session,windowKey=sessionWindowCount-ROCKETMQ-COUNT-00004@SessionWindowAccumulatorProcessor&&31a7fab88e791062b8f7a30640648be6&&1689006466145&&1689006445131, search keyPrefix=13, window: [2023-07-11 00:27:25 - 2023-07-11 00:27:46]

// PrintSupplier.process
                String template = "(key=%s, value=%s)";

                Data<Object, T> result = new Data<>(this.context.getKey(), data, this.context.getDataTime(), header);
                String format = String.format(template, result.getKey(), data.toString());

                System.out.println(format);

[2023-07-11 00:27:25 - 2023-07-11 00:27:46](key=13, value=5)


[Test-Only] Add test config and capabilities endpoints

Add HTTP api test for

GET /cloud/capabilities
GET /config

 Here is an overview of what got changed by this pull request:

Clones added
============
- pkg/server/http/svc_test.go  21

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Clones added
============
- pkg/server/http/svc_test.go  21

See the complete overview on Codacy

There is some problem with cloud.drone.io last night. It is not starting new jobs.

Moved to https://github.com/owncloud/ocis/pull/635


requiredText can't be empty

In commit https://github.com/surveyjs/surveyjs/commit/d71906247e7575f1eec714f281e814bc68865606 this line was added:
https://github.com/surveyjs/surveyjs/blob/d71906247e7575f1eec714f281e814bc68865606/src/base.ts#L129
Before that it was possible to set requiredText to an empty string, but now if I do that , *  is displayed, which is not surprising given the above line.
My workaround to hide the asterisk  is  setting requiredText to the unicode character 'ZERO WIDTH SPACE' (U+200B).
However given the line below, an unnecessary space is added anyway, which causes an ugly little indent in a required question's title.
https://github.com/surveyjs/surveyjs/blob/ec7837d4b123339f0ea617a318d09f77385ce3d9/src/question.ts#L121
My suggestion is to add a showRequiredText parameter which  when set to false, hides the asterisk and the extra space character.

@balping Yes, I see the issue.
Could you use the follwoing code: survey.questionTitleTemplate = "{no}. {title}:";
Thank you,
Andrew

This works, thank you.


Pull Request Generator: Add Support for Bitbucket

Similar to https://github.com/argoproj/applicationset/issues/570, Bitbucket needs love too...

Hello!
to add some information:
Should be less work to do as it has been added as SCM generator recently with this issue/PR :)
And a PR from @mlosicki already exists with Bitbucket Server implementation for PR generator.


fcos training get nan loss

hi, guys
thanks for your great job. When I try to make a test about fcos with "python tools/train.py configs/fcos/fcos_center-normbbox-centeronreg-giou_r50_caffe_fpn_gn-head_4x4_1x_coco.py --work-dir output/", I got a nan loss only after  250 iterations, like this
2020-12-31 21:47:04,494 - mmdet - INFO - Epoch [1][50/29317]    lr: 3.987e-03, eta: 2 days, 4:20:34, time: 0.536, data_time: 0.154, memory: 5679, loss_cls: 1.2290, loss_bbox: 0.7894, loss_centerness: 0.6860, loss: 2.7043
2020-12-31 21:47:26,052 - mmdet - INFO - Epoch [1][100/29317]   lr: 4.653e-03, eta: 1 day, 23:12:41, time: 0.431, data_time: 0.054, memory: 5708, loss_cls: 1.4720, loss_bbox: 0.5644, loss_centerness: 0.6886, loss: 2.7251
2020-12-31 21:47:46,457 - mmdet - INFO - Epoch [1][150/29317]   lr: 5.320e-03, eta: 1 day, 20:45:23, time: 0.408, data_time: 0.015, memory: 5717, loss_cls: 1.5323, loss_bbox: 0.5674, loss_centerness: 0.6745, loss: 2.7742
2020-12-31 21:48:09,300 - mmdet - INFO - Epoch [1][200/29317]   lr: 5.987e-03, eta: 1 day, 20:43:02, time: 0.457, data_time: 0.079, memory: 5717, loss_cls: 1.5484, loss_bbox: 0.5734, loss_centerness: 0.6843, loss: 2.8061
2020-12-31 21:48:28,971 - mmdet - INFO - Epoch [1][250/29317]   lr: 6.653e-03, eta: 1 day, 19:27:13, time: 0.393, data_time: 0.015, memory: 5717, loss_cls: 13794.6467, loss_bbox: nan, loss_centerness: nan, loss: nan
I didn't modify anything with code except the data path, so what's wrong with this or am I missing  anything?  thanks much

The learning rate seems to be not changed according to your smaller batch size. You may also check the solution in FAQ.

The learning rate seems to be not changed according to your smaller batch size. You may also check the solution in FAQ.


feat(frontend): redact sql option in log

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
This PR might be reverted in the future, once the more universal secure store solution is prepared.
This PR redacts SQL options when recording CREATE queries in the log.

For queries that can be successfully parsed, it redacts the strongly typed SQL options within the parsed Statement.
For queries that can not be successfully parsed, such as those with syntax errors, it employs a conservative regex-based method.
Find the unit tests for both examples.

Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added test labels as necessary. See details.
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[ ] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[ ] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

Some examples from log:
Result of a successful CREATE TABLE:
2024-05-21T17:02:03.498556+08:00  INFO handle_query{mode="simple query" session_id=0 sql=CREATE TABLE t_large_ckpt (k BIGINT, v CHARACTER VARYING) WITH (connector = [REDACTED], fields.v.length = [REDACTED], datagen.rows.per.second = [REDACTED], datagen.split.num = [REDACTED], fields.k.kind = [REDACTED], fields.k.min = [REDACTED], fields.k.max = [REDACTED]) FORMAT NATIVE ENCODE NATIVE}: pgwire_query_log: status="ok" time=51ms

Result of a failed CREATE TABLE caused by duplicate name:
2024-05-21T17:02:11.650234+08:00 ERROR handle_query{mode="simple query" session_id=0 sql=CREATE TABLE t_large_ckpt (k BIGINT, v CHARACTER VARYING) WITH (connector = [REDACTED], fields.v.length = [REDACTED], datagen.rows.per.second = [REDACTED], datagen.split.num = [REDACTED], fields.k.kind = [REDACTED], fields.k.min = [REDACTED], fields.k.max = [REDACTED]) FORMAT NATIVE ENCODE NATIVE}: pgwire::pg_protocol: error when process message error=Failed to run the query: Catalog error: table with name t_large_ckpt exists
2024-05-21T17:02:11.650359+08:00  INFO handle_query{mode="simple query" session_id=0 sql=CREATE TABLE t_large_ckpt (k BIGINT, v CHARACTER VARYING) WITH (connector = [REDACTED], fields.v.length = [REDACTED], datagen.rows.per.second = [REDACTED], datagen.split.num = [REDACTED], fields.k.kind = [REDACTED], fields.k.min = [REDACTED], fields.k.max = [REDACTED]) FORMAT NATIVE ENCODE NATIVE}: pgwire_query_log: status="err" time=1306ms

Result of a failed CREATE TABLE caused by syntax error:
2024-05-21T17:02:16.932854+08:00 ERROR handle_query{mode="simple query" session_id=0 sql=create tableXX t_large_ckpt (k bigint, v varchar) [REDACTED]}: pgwire::pg_protocol: error when process message error=Failed to run the query: sql parser error: Expected an object type after CREATE, found: tableXX at line:1, column:15
Near "create"
2024-05-21T17:02:16.932918+08:00  INFO handle_query{mode="simple query" session_id=0 sql=create tableXX t_large_ckpt (k bigint, v varchar) [REDACTED]}: pgwire_query_log: status="err" time=5ms

example:
The log below was redacted. abctokenabc was redacted because it contained keyword token.
2024-05-23T16:10:00.243564+08:00  INFO handle_query{mode="simple query" session_id=0 sql=CREATE TABLE tomb (v1 INT) WITH (connector = 'datagen', fields.v1.kind = 'sequence', datagen.rows.per.second = '1', abctokenabc = [REDACTED]) FORMAT PLAIN ENCODE JSON}: pgwire_query_log: status="ok" time=70ms
The log below was not redacted because the statement failed to parse.
2024-05-23T16:10:07.48916+08:00 ERROR handle_query{mode="simple query" session_id=0 sql=CREATE TABLEXXXXX tomb (v1 int)
WITH (
  connector = 'datagen',
  fields.v1.kind = 'sequence',
  datagen.rows.per.second = '1',
  abctokenabc = '222'
)
FORMAT PLAIN
ENCODE JSON;}: pgwire::pg_protocol: error when process message error=Failed to run the query: sql parser error: Expected an object type after CREATE, found: TABLEXXXXX at line:1, column:18


Double red diff decoration

Notice how when a line is deleted, the red decoration appears stronger, but only after the line number. While when a line is simply modified, the red decoration is OK.

Oh, this is as expected:


change submodule remote from https:// to git@

Better to do this via .gitconfig so that the API repo can clone for people without github accounts.
[url<EMAIL_ADDRESS>    insteadOf = https://github.com/


can't get issues.list options to work

this returns the same regardless of what I put in the options object:
var options = {
    state:'closed',
    since : '2015-04-00T00:00:00Z'
};
issues.list(options, function(err, issues) {});

Any idea what I am doing wrong?

@clayreimann Can you have a look at this issue?

@MarceloEmmerich Can you provide more information on where you're seeing this issue? Web vs node, if browser which and what version? What user/repo are you querying?

Closed by e0666fd

@MarceloEmmerich v1.0.0 is out, are you still affected?

sorry for delay in response, moved away to another solution as I needed results... will try v1.0.0 now and let you know how it goes

No problem, it took a while to fix the issue. If you're not using the library then don't worry about it (unless you're going to come back).


Added filter_size option for Convolution2D and tests of this new feature

Added a filter_size option to Convolution2D
By default [None,None] it keeps the filter_size to nb_row,nb_col,
but now you can specify a different filter size.
The filter size option can be understood there:
http://cs231n.github.io/convolutional-networks/

?

When you apply a convolution network, the filters can have a size different
from the original image.
If your original image has a size [9,9] , you can apply filter of size
[2,2] , [3,3] or whatever size you want.
In your default set-up the filter size was set to [9,9]
2015-07-29 10:08 GMT+02:00 François Chollet<EMAIL_ADDRESS>
?
—
Reply to this email directly or view it on GitHub
https://github.com/fchollet/keras/pull/458#issuecomment-125876279.

Hi,
Sorry to disturb you again,
but you do not want to merge because you don't think that the filter size
should be flexible?
2015-07-29 10:16 GMT+02:00 François Chollet<EMAIL_ADDRESS>
Closed #458 https://github.com/fchollet/keras/pull/458.
—
Reply to this email directly or view it on GitHub
https://github.com/fchollet/keras/pull/458#event-368084673.

What you mean by "filter size" is in fact configurable via the nb_row and nb_col parameters.

Oh sorry.
I was thinking that it was the size of the input image.
2015-07-29 10:24 GMT+02:00 François Chollet<EMAIL_ADDRESS>
What you mean by "filter size" is in fact configurable via the nb_row and
nb_col parameters.
—
Reply to this email directly or view it on GitHub
https://github.com/fchollet/keras/pull/458#issuecomment-125878878.


[DOC] Comparative Analysis of EDOT vs. Elastic APM Agent: Features and Compatibility

EDOT vs. Elastic APM Agent: Could comprehensive documentation be created to compare the features and compatibilities of both agents, including frameworks, application servers, and other relevant aspects?
Such documentation would significantly aid in the decision-making process for selecting the appropriate agent to deploy across various scenarios.

We're working on that. The priority at the moment is getting to dynamic config and central config capability in the EDOT agent as this is the biggest gap between the agents. After that we'll be able to give a valid feature comparison. I'll leave this issue open as a reminder to us

Thank you for the quick feedback @jackshirazi.

Thanks folks!


closes #12

This is still not working, not sure why: https://github.com/assignUser/simstudy/runs/5007245762?check_suite_focus=true#step:3:1266


Upload visual tweaks

:eyeglasses: @keybase/react-hackers

The commits b32aee958505...9f5b7778c6e0 introduce visual changes on linux. :mag_right: 1 changed

Changed: Attachment_Message-Basic_Uploading (before) (after)


www redirect issue different domain multiple sites

I encountered the same issue as described here- https://community.easyengine.io/t/remove-www-to-non-www-redirect/11840
In short, once I added the 4th site, www redirects of other sites seem to go to the 4th site.
e.g. site 3 - domain3.com
If I navigate to www.domain3.com/resource it redirects to domain4.com/resouce (which obviously does not exist).
Can EE not handle more than 3 sites? Also, should you create www sites as well? I would think this is unnecessary?
I have created a new vps and migrated all sites over copying only the database files and wp-content folders. Sites are also using cloudflare on basic settings.
+-------------------+----------------------------------------------------------------------------------+
| OS                | Linux 4.15.0-1029-gcp #31~16.04.1-Ubuntu SMP Fri Mar 22 13:06:42 UTC 2019 x86_64 |
| Shell             | /bin/bash                                                                        |
| PHP binary        | /usr/bin/php7.2                                                                  |
| PHP version       | 7.2.17-1+ubuntu16.04.1+deb.sury.org+3                                            |
| php.ini used      | /etc/php/7.2/cli/php.ini                                                         |
| EE root dir       | phar://ee.phar                                                                   |
| EE vendor dir     | phar://ee.phar/vendor                                                            |
| EE phar path      | /home/denisobrienjhb                                                             |
| EE packages dir   |                                                                                |
| EE global config  | /opt/easyengine/config/config.yml                                                |
| EE project config |                                                                                |
| EE version        | 4.0.12                                                                           |
+-------------------+----------------------------------------------------------------------------------+
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.5 LTS
Release:        16.04
Codename:       xenial
Client:
Version:           18.09.5
API version:       1.39
Go version:        go1.10.8
Git commit:        e8ff056
Built:             Thu Apr 11 04:44:24 2019
OS/Arch:           linux/amd64
Experimental:      false
Server: Docker Engine - Community
Engine:
Version:          18.09.5
API version:      1.39 (minimum version 1.12)
Go version:       go1.10.8
Git commit:       e8ff056
Built:            Thu Apr 11 04:10:53 2019
OS/Arch:          linux/amd64
Experimental:     false
docker-py version: 3.7.2
CPython version: 3.6.8
OpenSSL version: OpenSSL 1.1.0j  20 Nov 2018

This appears to be an ssl issue, disable cloudflare ssl, delete site, recreate site.


Remove Angular 1 requirement?

Currently this is the best javascript OData library I've found and have been very happy with it's capabilities, so much so I'd love to use it on non-Angular 1 projects (server side, Angular 2, React, etc).
Have you considered removing the Angular 1 dependencies (angular.module, $http, etc)?
I know it would be a big undertaking, and I've considered forking and going down this path myself (as it should be a different package name) but didn't know if you had it on your roadmap.

Hi techniq,
No this is not planned but I agree, it would be awesome to have the same library, but with no dependencies.

@devnixs thanks for the quick reply.  When time allows, I might take a stab at this, although I just did a quick search and found a few other odata libraries that might be worth investigating (when I'm not using Angular 1)

https://github.com/bodia-uz/odata-filter-builder
https://github.com/gallayl/angular2-odata
https://github.com/janhommes/o.js

Also, you might want to take a look at http://www.getbreezenow.com/breezejs

Thanks. I had a few months back but it didn't look to support v4, which
we're using.
On Fri, May 20, 2016, 4:04 PM Raphael ATALLAH<EMAIL_ADDRESS>wrote:

Also, you might want to take a look at
http://www.getbreezenow.com/breezejs
—
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub
https://github.com/devnixs/ODataAngularResources/issues/71#issuecomment-220705376


Fix integration tests

Integration tests now fail because for some reason files are written to GCS a bit slower than expected. This commit:

Increases the wait timeout.
Instead of unconditional wait, use periodic checks with Awaitility.

CI is green and PR was approved, I did not review but I'm merging.


Update public Playground instance to 1.11

Still shows 1.10

yes, we will release it this week

Released v0.3.5 today with Kyverno 1.11.1
Beause of some dependency issues I was not able to update to v1.11.3, will do so as soon as possible.


DDPG axis swap causes issues in test function

the [3], [1] swap order is not necessarily correct and may need to be adjusted w.r.t the environment vectorization etc.
https://github.com/AgileRL/AgileRL/blob/998f4d9d50e3961bcaf359f0745e7504737fd491/agilerl/algorithms/ddpg.py#L478

Another issue in the same function, it looks like the reset condition only cares about the first environment:
https://github.com/AgileRL/AgileRL/blob/998f4d9d50e3961bcaf359f0745e7504737fd491/agilerl/algorithms/ddpg.py#L483

Thanks, fixed in #222.


Spot Instances

Follow up of #430
With additional enhancements:

spot instance is started with same options as on-demand instance, so it's possible to setup device mapping, IAM instance profile and so on
user interruption is correctly handled and after spot fulfilment instance is terminated
if spot_max_price is not defined average price is computed

Fix #32, #338, https://github.com/KariusDx/vagrant-aws/pull/2

@mitchellh Is it time to merge this?

@mitchellh Having this merged would make my life (and my student's life) so much easier.

Very good, but my instance does not get ip public even adding aws.associate_public_ip = true, any tips?


Implement list interface for filedb

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

/hold cancel

Here you go.
/lgtm

Here you go!
/approve


Update inscriptions.json

BTW, do you know the follwoing person?

I don't know this guy, why he could update my collection?

He upload many NFTs and sold them all at very low price, what can I do now


WinUI 2.6 - please don't round navigation view pane

In WinUI 2.6, I noticed that the navigation view pane itself is rounded. Please don't do this as it's usually used as a top level control and having rounded edges leaves some empty spaces that aren't symmetrical and doesn't fit well into the design. The items inside should be rounded but don't round the pane itself. If you do round the pane, have some margin for it by default.

@chigy FYI

@gabbybilka FYI

In WinUI 2.6, I noticed that the navigation view pane itself is rounded. Please don't do this as it's usually used as a top level control and having rounded edges leaves some empty spaces that aren't symmetrical and doesn't fit well into the design. The items inside should be rounded but don't round the pane itself. If you do round the pane, have some margin for it by default.

Isn't this only for the Overlay mode?

It seems to be rounded in left expanded mode as well for me

Yep, I noticed this too. In May preview version of WinUI 2.6 with V2 styles, menu corners are round. Another doubtful change is that new styles add padding and you have to set negative margin when it's required to stretch some page.

We've noticed this CornerRadius bug with the pre-release NavigationView Pane styles in Files too.
Also, @omikhailov. If I understand your issue correctly, you should be able to simply set this resource to remove the added padding around NavigationView rather than use a negative margin. It worked for us
<Thickness x:Key="NavigationViewContentPresenterMargin">0,0,0,0</Thickness>

Why hasn't this been fixed yet as WinUI 2.6 has been released? Also in the XAML Controls Gallery app, I see the pane extends to the rest of the title bar with the same background but I don't know how to do the same. I tried to add a grid there with the same background as the pane however I notice some space between the pane and my grid and I couldn't get it properly rounded.

The rounded corners should only affect the right side (left side when using Right to Left locale) with the other end set to be flush.
The windows themselves in Windows 11 take care of the rounding for you for the window edges.

It shouldn't be rounded on any side except when extended to the rest of the title bar because it doesn't necessarily need to be top-level. If you want to be rounded for a non-top level navigation view, can round the entire control instead of rounding the pane.

This shouldn't be needed. Window will be automatically rounded on Windows Sun Valley and won't be on Windows 10 so it shouldn't be done. Also, it's not always rounded like in maximized or full screen mode.

The rounded corners should only affect the right side (left side when using Right to Left locale) with the other end set to be flush.
The windows themselves in Windows 11 take care of the rounding for you for the window edges.

I think this makes sense. In Windows 11, the rounding of the window will take care of it and windows 10 it will not have the clipping issue.
I think NavigationView being the root of the page is the most common scenario. For other cases, this can be customized using the theme resource.

Wouldn't it be more consistent to have all corners be square? I can't find anything else in Windows 11 or WinUI 2.6 with rounded corners touching an edge.

All of the new UI is designed with this simple rule: if a corner touches an edge it will be squared, otherwise it will be rounded.

I think that the idea is that the pane isn't touching that edge, its floating over it, hence the shadow.

For anyone looking for a quick fix to get rid of the corner radius, this line in my App.xaml (Application.Resources > ResourceDictionary section) worked. It might be a bit of a drastic solution, as it will affect the entire application, but it suits my needs very nicely.
<CornerRadius x:Key="NavigationViewContentGridCornerRadius">0</CornerRadius>


Update blind signing workflow

fixes #83 .

Probably don't want to merge main into this branch? a rebase would be better?

Yes, doing a rebase now.


feat: Add data sources

Implements #84
Overview
This PR is to add support for Terraform Data Sources for Hookdeck's resources

[x] Source
[ ] Destination
[ ] Connection
[ ] Transformation
[ ] Source verification (optional - not sure if this is necessary given it's not a dedicated Hookdeck resource)

Implementation
Within our provider, we need to implement Terraform's data source logic for each of the above resources. Currently, only source is implemented here.
The logic for each data source is relatively straightforward, so we should be able to finish a naive implementation within an hour or two.
Some considerations:
1. Improved identification DX
The most straightforward way to use data source is via id. For example, this would be a valid way to utilize data source:
+ data "hookdeck_source" "source" {
+   id = "src_abcdef"
+ }

resource "hookdeck_destination" "destination" {
  name = "destination"
}

resource "hookdeck_connection" "connection" {
  name           = "connection"
  source_id      = data.hookdeck_source.source.id
  destination_id = hookdeck_destination.destination.id
}

With this, the source src_abcdef is not managed by Terraform but we can use this source to create connections and other resources that are managed by Terraform.
Since Hookdeck source is identifiable via name as well, we can potentially replace id with name for better DX:
data "hookdeck_source" "source" {
-  id = "src_abcdef"
+  name = "human_readable_name"
}

With that said, this may worth a bigger discussion because this can improve DX but it may not be viable because other resources don't have the same identification patterns:

Connections & destinations can have the same name
There can be duplicate connections pointing from the same source & destination

So all in all, it seems Hookdeck source is the only one that can be identified with something else but id. Other resources must always be identified by id.
2. Copied-pasted schema
Currently, every resource already has a dedicated schema.go file that works with Terraform Resources. When implementing Data Sources, we need to also provide a schema that works for Terraform Data Sources. These schemas are mostly the same shape with typings from different Terraform's packages. We have 2 ways to go about this:

Copy and paste resource schemas & manually update them to work with data source typings
Write a generic schema that can be parsed into Resource schema & Data Source schema

With option 1, it's much simpler to implement now but we will have to maintain 2 different data structure that looks mostly the same.
With option 2, we need to figure out a good way to implement this logic. It doesn't seem very straightforward at the moment, especially since Go typing is quite strict, so it can be a bit of a challenge.
Personally, I lean towards option 1 to ship quickly and we can consider the refactor later if the maintenance has proved to be a problem.

@alexluong - my take:

Go with id for consistency
Got with your recommendation, option 1.

@leggetter this is ready for review, can you help take a look?


Using PaddleDetection-trained PPYOLOE model with PaddleX evaluation

Hi everyone,
I'm encountering some challenges with model evaluation across PaddleDetection and PaddleX. Here is what I have tried:

I initially trained a PPYOLOE model using PaddleDetection
When using PaddleDetection's eval.py for evaluation, it only provides results for a few classes (mAP for 7/19 classes)
I was recommended to try PaddleX for more comprehensive evaluation results

My question is: Can I directly use a model trained with PaddleDetection in PaddleX?
When I try to evaluate using PaddleX:
python main.py -c paddlex/configs/object_detection/PP-YOLOE_plus-L.yaml \
    -o Global.mode=evaluate \
    -o Global.dataset_dir=/path/to/dataset \
    -o Evaluate.weight_path=/home/PaddleDetection/output-1-test/best_model/model.pdparams
I get this error:
FileNotFoundError: [Errno 2] No such file or directory: '/home/user/Documents/PaddleX/paddlex/repo_manager/repos/PaddleDetection'

I have changed the weight_path and dataset_dir in the PP-YOLOE_plus-L.yaml to point to the dataset i want to evaluate on and also the model path in the PaddleDetection error.
Could you please guide me on the correct way to set this up?
Thank you  so much in advance for any help.

Some more info:
PaddlePaddle: 3.0.0-beta1
PaddleX: 3.0.0.beta2
OS: Ubuntu20.04
Python 3.9.19
CUDA Version: 12.6
CUDA Build Version: 12.6.77

Hello, this issue seems to be caused by the PaddleX plugin not being installed. You can fix the problem using the following command: paddlex --install PaddleDetection. For more detailed installation instructions, you can refer to the following link: https://paddlepaddle.github.io/PaddleX/latest/en/installation/installation.html#21-get-paddlex-based-on-docker, specifically the section 2.2 “Custom Installation of PaddleX”.


Linkfix: ASP.NET (2021-06)

This PR is the result of running a Link Repair script on the included content. This script is primarily being run to cleanup links to function correctly in Air Gapped Clouds (AGC). Here's a breakdown of what the script that generated the changes in this PR fixes:

docs.microsoft.com Fully Qualified Domain Name (FQDN) Links to either Relative (if in same Repo/DocSet/ContentSet) and Site Relative if not
azure.microsoft.com/documentation/articles that reflect to Docs to either Relative (if in same Repo/DocSet/ContentSet) and Site Relative if not
All known flavors of MSDN/TechNet domains (we know of 8 or 9 now) that reflect to Docs to either Relative (if in same Repo/DocSet/ContentSet) and Site Relative if not

This also includes cleanup of the appended query string for MSDN (redirectedfrom=MSDN).

Fixes articles that are redirected in .openpublishing.redirection.json and updates the link to the current final location (this has a lot of customer usability fixes).

Please note the Contributor Guide: Links has been updated with the following link-type preference order:
By order of preference, links hosted on Docs should be Relative if they are in the same repository and docset. If they are in a different docset, even if in the same repository, they should be Site Relative. Links to content hosted on Docs shouldn't use a complete URL, otherwise known as Fully Qualified Domain Names (FQDN). Using a complete URL from Docs to other content on Docs will cause that link to be non-functional in air-gap environments.

@v-kents ... We can't merge this. Most (all?) of these are in readme.md files that load on the GH domain. Relative links will break from there. I recommend that you provide an exception for readme.md files.

I think all of the files here are readme.md files; therefore, there's nothing to fix. This is a won't-fix scenario.
WRT the link tooling in use tho: I recommend filtering out readme.md files and writing it to replace with XREF-UIDs. Anyway, that's not germane to the PR. It's just a side suggestion.

closing per @guardex's comments. I'll see about getting the tool to ignore readme files in the future (at the very least for this repo)


Update man-lpadmin.html to document -E as option

Added -E before -x -p -d as documented option.
Added example with description of usage of -E as enabled and -E for enforced encryption.

I didn't end up adding an example, just documentation for the option and a note about the double meaning.
[master d5d647780] Update lpadmin man page (Issue #5369)
[branch-2.2 b42427212] Update lpadmin man page (Issue #5369)


backtest example error: cannot import name 'complete_to_chordal_graph'

An error happened when copy and run the backtest example from https://zipline-trader.readthedocs.io/en/latest/backtest.html. Error details is:

(zipline-trader) C:\src\lycn\zipline-trader-start>python main.py
Traceback (most recent call last):
File "main.py", line 9, in
from zipline.utils.calendars import get_calendar
File "c:\src\lycn\conda-environments\zipline-trader\src\zipline-trader\zipline_init_.py", line 29, in
from .utils.run_algo import run_algorithm
File "c:\src\lycn\conda-environments\zipline-trader\src\zipline-trader\zipline\utils\run_algo.py", line 30, in
from zipline.pipeline.data import USEquityPricing
File "c:\src\lycn\conda-environments\zipline-trader\src\zipline-trader\zipline\pipeline_init_.py", line 8, in
from .graph import ExecutionPlan, TermGraph
File "c:\src\lycn\conda-environments\zipline-trader\src\zipline-trader\zipline\pipeline\graph.py", line 6, in
import networkx as nx
File "C:\Users\arisl\anaconda3\envs\zipline-trader\lib\site-packages\networkx_init_.py", line 61, in
import networkx.generators
File "C:\Users\arisl\anaconda3\envs\zipline-trader\lib\site-packages\networkx\generators_init_.py", line 16, in
from networkx.generators.intersection import *
File "C:\Users\arisl\anaconda3\envs\zipline-trader\lib\site-packages\networkx\generators\intersection.py", line 5, in
from networkx.algorithms import bipartite
File "C:\Users\arisl\anaconda3\envs\zipline-trader\lib\site-packages\networkx\algorithms_init_.py", line 79, in
import networkx.algorithms.tree
File "C:\Users\arisl\anaconda3\envs\zipline-trader\lib\site-packages\networkx\algorithms\tree_init_.py", line 6, in
from .decomposition import *
File "C:\Users\arisl\anaconda3\envs\zipline-trader\lib\site-packages\networkx\algorithms\tree\decomposition.py", line 5, in
from networkx.algorithms import moral, complete_to_chordal_graph, chordal_graph_cliques
ImportError: cannot import name 'complete_to_chordal_graph'

Python: 3.6
zipline-trader: 1.6.0
OS: windows 10

Should be pip package issue, wasn't able to import networkx in python. Not related to zipline-trader.


Upgrade to Chromium 84.0.4147.125

Addresses #1127. Chromium 84.0.4147.125 contains 15 security fixes. I will let you know once I have a successful build.

I've had a successful build on aarch64, x86_64 still ongoing. The aarch64 build seems to work fine, from a cursory test at least.

✔ Compiled and running on my system (Gentoo 64)

My build succeeded and is running well. Feel free to merge.


Added detecting dev version of the CLI to the telemetry

Currently, in the telemetry we make no distinction between the production and dev version of the CLI which gives us skewed metrics. This PR contains a fix that adds the flag -dev to the version logged in the telemetry when the CLI is ran locally.

Coverage decreased (-0.02%) to 99.979% when pulling d13427a5e7d7fad0f4c7c795d7fe929227913a4a on waldekmastykarz:enh-telemetry-dev into 38ad176f7450e692b910f4ecae2401eeace14b28 on SharePoint:dev.

Coverage remained the same at 100.0% when pulling 48d4ee8aae81d39ba1dc7dba59cb3a46101f1ebf on waldekmastykarz:enh-telemetry-dev into 38ad176f7450e692b910f4ecae2401eeace14b28 on SharePoint:dev.

Merged manually


feat: add Rust/wasi_tokio_httpd

Add simple http server with tokio.
Signed-off-by: Harald Hoyer<EMAIL_ADDRESS>

hmm, maybe needs a License file and notes of the source


Fix Azure Script Extension log path

Hi @gabrielweyer, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;

@neilpeterson Please review these proposed changes. Thanks.

@gabrielweyer thanks. #sign-off


Updated test to suppress stdout output

The parsing of write_deadline may produce a warning to stdout
since there is no logger set at this stage.
Updated the test to suppress stdout to not polute the tests output.

Coverage increased (+0.05%) to 91.314% when pulling 923735ac747e20538b2d8a9a7bf294d84087fd10 on suppress_write_deadline_parsing_warning_in_test into 5a1ab910f7cfc3a565cb1cd013659536ea9171e6 on master.


Fixup GPU docs

This fixes up some typos and formatting. Also the recommended profile list config failed validation when I tried over in #1967, so I fixed it up.

I opened https://github.com/2i2c-org/infrastructure/issues/1985 because I'm not sure why docs are failing to build


Is297 deletar evento

Adicionando a função real de deletar.

Pull Request Test Coverage Report for Build 397780325

1 of 4 (25.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.5%) to 97.064%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

schedule/views.py
1
4
25.0%

Totals

Change from base Build 397566196:
-0.5%

Covered Lines:
529

Relevant Lines:
545

💛  - Coveralls


fix feed UI alignment issues

Noticed some mis-alignment of feed item components the other day and decided to fix it quickly. Screenshots below, iOS looks good too, have not tested on Android (need to fix my env apparently).
To fix these, I basically rearranged the components to create new layout containers. That way, instead of absolute positioning, we can let things flex and move based on the height of surrounding content.
For review, have a quick scroll through some of your feeds and confirm there aren't any edge cases I missed.
Before -> After

Oh, thought it looked weird initially but I agree now that I see it. Blew right through chesterton's fence on that one hehe
Fixed 👍


Spellcheck Feature

Do I need to add list of words for spellcheck manually ?  How many can it support ? If it is over 100,000 words , Does it affect on performance ?

it is backed by a trie data structure which is extremely efficient for prefix lookups so hits should be very fast regardless of the corpus size. misspelled word performance will vary depending on the acceptable edit distance but i imagine with 100k words it will experience some slowdown but i dont really have a quantification for it


per-workspace storage PVC size calculation is incorrect when no volumes defined & mountSources used

Description
If a devworkspace uses per-workspace storage, has mountSources: true but has no volumes defined, the calculated PVC size will erroneously be 0.
How To Reproduce

Apply the following devworkspace that has no volumes & uses per-workspace storage:

kind: DevWorkspace
apiVersion: workspace.devfile.io/v1alpha2
metadata:
  name: plain-per-workspace
spec:
  started: true
  routingClass: 'basic'
  template:
    attributes:
        controller.devfile.io/storage-type: per-workspace
    components:
      - name: web-terminal
        container:
          image: quay.io/wto/web-terminal-tooling:next
          memoryRequest: 256Mi
          memoryLimit: 512Mi
          mountSources: true
          command:
           - "tail"
           - "-f"
           - "/dev/null"

The DevWorkspace will fail with the following error:

Error provisioning storage: Failed to sync storage-workspace8723f4cb2dfa4922 PVC to cluster: PersistentVolumeClaim "storage-workspace8723f4cb2dfa4922" is invalid: spec.resources[storage]: Invalid value: "0": must be greater than zero

Expected behavior
If a devworkspace which does not define any volumes but has mountSources enabled, then the default PVC size should be used when using the per-workspace storage strategy.

The original PR aiming to resolve this issue has been closed as I didn't get a chance to continue my work on it (low priority), but the solution I wanted to use for this issue is described in this comment:


pkg/blobserver/remote: staticcheck

Closing this, see my comment here:

https://github.com/perkeep/perkeep/pull/1405#issuecomment-894727096


Menu item is not marked as active

Link to reproduction
No response
Payload Version
3.0.0-beta-71
Node Version
20.15.1
Next.js Version
15.0.0-canary.53
Describe the Bug
The menu item is not marked as active when you navigate to that specific collection
Reproduction Steps

Open the payload app
Navigate to Users collection
See that the menu item is not highlighted. The active class is not added to the a element

Adapters and Plugins
No response

Looks like the active class is not added to the LinkElement component in the DefaultNavClient component.
See this line: https://github.com/payloadcms/payload/blob/beta/packages/next/src/elements/Nav/index.client.tsx#L89


DNS: fix checking for required DNS records

I have no idea why those two CI checks fail. Locally they pass for me. As it's just lint, I propose to ignore them and merge this PR nonetheless.


The theme engine error handler debug output isn't used for Exceptions in the code that pulls colors from XML.

This needs to be used there, but not right now as it's late at night.

Basically this part where the Exception is caught:
#Region "Button BackColor"
        ' Only pull the Button BackColor element from XML if it exists.
        If themeSheet.SelectSingleNode("/UXL_Launcher_Theme/Theme_Colors/Button/BackColor[1]", themeNamespaceManager) IsNot Nothing Then
            Try
                colorButtonBackColor = ColorTranslator.FromHtml(themeSheet.SelectSingleNode("/UXL_Launcher_Theme/Theme_Colors/Button/BackColor[1]", themeNamespaceManager).InnerText)
                debugmodeStuff.updateDebugLabels()
                ' If the element isn't a valid HTML color, just replace it with the default.
            Catch ex As Exception
                colorButtonBackColor = Color.Transparent
            End Try
        Else
            ' If the element doesn't exist, overwrite it with the Default theme's value.
            colorButtonBackColor = Color.Transparent
        End If
#End Region

Actually, is this really that important to have it go into the debug output?

Guess this isn't going on the changelog.


Dev

@kviljoen awesome work!  I think we should make this the official repo, if that works for you.  If so can we add an 'Issues' tracker for this (we've found a few in the original HPCBio version).

Hi Chris,
Thanks, and thanks for letting us use your pipeline! The most up to date
version is merged with uct-cbio/16S-rDNA-dada2-pipeline (master). Happy to
make it the official repo - it seems to be running ok but I haven't tested
it that thoroughly and it is setup for our high performance cluster
currently with -profile 'uct_hex' - I guess other users can add their own
profiles..I've also had to package the R packages as a singularity image to
work on our cluster (the docker file from which this was made is included
on the repo).
On Wed, Jun 20, 2018 at 2:28 AM, Chris Fields<EMAIL_ADDRESS>wrote:

@kviljoen https://github.com/kviljoen awesome work! I think we should
make this the official repo, if that works for you. If so can we add an
'Issues' tracker for this (we've found a few in the original HPCBio
version).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/uct-cbio/16S-rDNA-dada2-pipeline/pull/2#issuecomment-398586486,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AI0ssLMnsc-ZVZFafwYZiMJIHb3dtn06ks5t-ZcogaJpZM4URr7k
.

--
Katie
Bioinformatician
Division of Computational Biology
Institute of Infectious Diseases & Molecular Medicine
University of Cape Town
South Africa
+27 21 406 6176<EMAIL_ADDRESS>


Fallback option to try next tool in list

It would be sweet with a feature that fall back to the next tool in the tools list when the first one fails or have no matches.
My use case is that I prefer to use git grep over ag but when not in a git dir I want ag to do the searching since git grep fails and ag is the next tool in my tools list.

A fallback on no found matches is a bit extreme. :) But I see the problem.
Since I don't know what other tools people add on their own, I'd prefer a general solution. An option, e.g. g:grepper.fallback = 1, that simply retries the second tool in g:grepper.tools if the the primary tool returns something != 0 would be both simple to implement and easy to grasp.
Unfortunately I'm a busy today since I plan a trip for this week, so this won't happen before Saturday. But it will happen.
Thanks for the proposal!

Sorry, but this feature won't happen. The main problem is that by only inspecting the return value, there's no way to distinguish between an error happened and nothing found.
The total hacky and fragile way would be to parse the output for certain text that can happen to be different for different shells.. typical rabit hole programming. It would also add quite a lot of grep tool-specific code.
Putting it in a nutshell, I'd like to keep the code simple.

Can't this be done by just checking whether the current directory is in a git repository? For example:
let tmp = system("git rev-parse --is-inside-work-tree")
let is_git_repo = v:shell_error == 0

@manasthakur
The "problem" is that I want to keep the plugin as general as possible. Thus I'd like to avoid tool-specific code.
But.. due to popular demand, I might add an autoload function that somehow reuses the recently added b:grepper to dynamically add/remove 'git' to/from the tool list.
Then something like this could be used:
autocmd BufAdd * call grepper#check_for_git()


Nuxt typescript. Ignore vuex *.ts files on store folder

Version
v2.10.2
Reproduction link
https://github.com/loha/nuxt_2.10.2_vuex_bug
Steps to reproduce

Clone github repository: https://github.com/loha/nuxt_2.10.2_vuex_bug;
yarn install or npm isntall;
yarn run dev or npm run dev.

What is expected ?
Nuxt correctly working with *.ts and *.js files in /store folder. Vuex work correctly. Project work like in https://github.com/nuxt-community/typescript-template.
What is actually happening?
If add in nuxt typescript project backend framework like koa.js of express.js nuxt ignore *.ts files in /store folder. Sometimes ignore *.js files too. For example, took the project https://github.com/nuxt-community/typescript-template and added the framework koa.js.
Additional comments?
OS: Ubuntu 16.04 LTS
Node.js: v12.13.0

This bug report is available on Nuxt community (#c10012)

Try adding this to your nuxt.config:
  build: {
    additionalExtensions: ['ts', 'tsx'],
  },

...and sort out your store definitions along the lines of the link I posted earlier - but you'll now get Nuxt errors telling you what to do.

I have the same problem. In addition to build.additionalExtensions, I also had to set extensions. Without it, the .ts suffix wouldn't get removed from the module name.
{
  extensions: ['ts', 'tsx'],
  build: {
    additionalExtensions: ['ts', 'tsx']
  }
}

Could this be made default, please? Also, is the difference between the two settings documented somewhere? Why are there two anyway?

@nuxt/typescript-build should be registering these options in nuxt.config (reference).
@kevinmarrec Does this raise an issue with @nuxt/typescript-build, or is this a peculiarity with programmatic use of Nuxt?

@danielroe Thank you very much for your reply. Indeed, when adding additionalExtensions: ['ts', 'tsx'] , everything works. It would be nice if the Nuxt developers fixed it and that would be the default. When using the package @nuxt/typescript of an earlier version Nuxt(2.8.1), such problems do not arise.


[SPARK-32018][SQL][2.4] UnsafeRow.setDecimal should set null with overflowed value

backport https://github.com/apache/spark/pull/29125

cc @dongjoon-hyun

Merged build finished. Test PASSed.

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

Thank you, @cloud-fan !

Test build #126030 has started for PR 29141 at commit 3210002.

Test build #126030 has finished for PR 29141 at commit 3210002.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/126030/
Test FAILed.

Retest this please.

Test build #126037 has started for PR 29141 at commit 3210002.

Merged build finished. Test PASSed.

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

Test build #126037 has finished for PR 29141 at commit 3210002.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

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

I'm reverting it from 2.4, see https://github.com/apache/spark/pull/29448#issuecomment-674723823

Got it. I understand the situation. Thank you for the decision, @cloud-fan .