Add a script to check that 'bundle console' succeeds to the CI build

Problem
We were updating dependencies in our Rails app and discovered that updating to Resque Scheduler v4.4.0 caused our builds to fail with the following error:
NameError: uninitialized constant Resque::Scheduler::Redis

Solution
It looks like the problem was fixed in this commit (thank you!); however, I am proposing an additional CI build step that will attempt to load the gem and all of its dependencies via bundle console.  I ran bundle console with v4.4.0 and saw the following backtrace:
NameError: uninitialized constant Resque::Scheduler::Redis
  /Users/joellubrano/Projects/resque-scheduler/lib/resque/scheduler.rb:18:in `<module:Scheduler>'
  /Users/joellubrano/Projects/resque-scheduler/lib/resque/scheduler.rb:12:in `<module:Resque>'
  /Users/joellubrano/Projects/resque-scheduler/lib/resque/scheduler.rb:11:in `<top (required)>'
  /Users/joellubrano/Projects/resque-scheduler/lib/resque-scheduler.rb:2:in `require_relative'
  /Users/joellubrano/Projects/resque-scheduler/lib/resque-scheduler.rb:2:in `<top (required)>'
  /Users/joellubrano/.rvm/gems/ruby-head/gems/bundler-1.17.2/lib/bundler/runtime.rb:81:in `require'

Running bundle console on the master branch succeeds as expected.
Overall, my goal is to automate some sort of verification that the gem will load all of its dependencies in an application-like environment.  Additional dependencies are required before the test suite executes, so I am not sure if the test suite alone suffices for this type of verification.  Perhaps the test suite could be modified, but this seemed like a simpler approach potentially.

@jeremy
Sorry to ping you directly, color me impatient, but is this PR of any interest?


fixing build failures

CodeIgniter tests only pass against 4.4, so update minimum (with a case insensitivity change to test)
MongoDB using a now-deprecated semconv, which can be removed (we already have the suggested replacement)
Psr16 using an old version of psalm
adding missing phan config for ServerTiming and Container detector
adding update-lowest and all-lowest Make targets to run tests against lowest installable dependencies
remove deprecated docker-compose.version
update Dockerfile to use the core one, with some contrib additions (opentelemetry, mongo)

I've left Laravel's phan complaints, because I think Chris might be working on it.

Looks like the only thing left here is @ChrisLightfootWild's Laravel tests that will get fixed subsequently.  Good to merge.


rxPortal Size Signalling

ACK responses from the rxPortal should include their current in-flight buffer size. To be used as an additional "hold-down" signal for clamping the txPortal capacity.

Refactor txPortal.capacity such that:
capacity = maxRxPortalSz - txPortalSz - rxPortalSz

And then manage maxRxPortalSz rather than increasing current txPortal.capacity. Will require a minor refactor.


[doc] Stress out that hostnames are Python regexes

Fixes #1065

Codecov Report

Merging #1097 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master   #1097   +/-   ##
======================================
  Coverage    91.7%   91.7%
======================================
  Files          81      81
  Lines       11121   11121
======================================
  Hits        10199   10199
  Misses        922     922

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 64bab9d...d8d484b. Read the comment docs.


windows window set 40*40 not work

windows window set 4040 not work
i need window size si  4040 but in windows not work ,how to get this window? help me .

I investigated this before, see https://github.com/tauri-apps/tauri/issues/6792#issuecomment-1523840871 and I couldn't find a good way to have windows smaller than this.
I'd suggest make your window transparent and only draw what you need and call https://docs.rs/tao/latest/tao/window/struct.Window.html#method.set_ignore_cursor_events when the mouse is in the transparent area.

I investigated this before, see tauri-apps/tauri#6792 (comment) and I couldn't find a good way to have windows smaller than this.
I'd suggest make your window transparent and only draw what you need and call https://docs.rs/tao/latest/tao/window/struct.Window.html#method.set_ignore_cursor_events when the mouse is in the transparent area.

Do you have a code example, please?

i get it ，use winit .

I investigated this before, see tauri-apps/tauri#6792 (comment) and I couldn't find a good way to have windows smaller than this.
I'd suggest make your window transparent and only draw what you need and call https://docs.rs/tao/latest/tao/window/struct.Window.html#method.set_ignore_cursor_events when the mouse is in the transparent area.

I don't see any way of turning the cursor events back on tho.

i get it ，use winit .

Can you tell me how to do it?


the torrent i upload to sukebei and https://anidex.info/torrent/70212

but there is a post on nyaa.pantsu.cat
https://sukebei.pantsu.cat/view/2339618
https://nyaa.pantsu.cat/view/975940

Seems like a torrent which was wrongly scrapped by previous scrapper. Do you want to delete it from nyaa and keep only the one in sukebei?

@akuma06 I found a lot of sukebei thing on nyaa.pantsu.cat
like https://nyaa.pantsu.cat/view/980159
that torrent I upload to nidex.info forget choose ‘hentai’

Yeah we had some problems with our scrapper previously which couldn't make a difference between hentai and non-hentai torrents. This have been fixed though but we still have some hentai torrents on nyaa which need to be removed.
I removed it from nyaa, the issue can be close I think.


Add schema TreeView

Adds a TreeView with all the tables listed in the manifest.json (if it exists)

Not 100% finished yet, would be nice to add data type icons to the columns - @archiewood do you know where SQLTools gets these icons from? Otherwise I can just find some others

SQLTools use mainly the VSCodeicons https://github.com/microsoft/vscode-codicons


Decorators generator

Hey Dustin,
I stumbled upon decorators today, what about to support them as generator? I think they are pretty useful if you want to add functionality to a library without forking it. I had to extend the $select Service of ngstrap.
My example:
class SelectDecorator
  constructor: ($provide)->
    $provide.decorator '$select', ($delegate)->
      $select = (element, controller, config)->
        del = $delegate(element, controller, config)
        del.$scope.$selectSeveral = (event, indices)->
          for i in indices
            del.$scope.$select i.index, event
        del.$scope.$isActiveServeral = (indices)->
          active = false
          for i in indices
            active |= del.$scope.$isActive i.index
          active
        del

      $select.defaults =
        animation: 'am-fade',
        prefixClass: 'select',
        prefixEvent: '$select',
        placement: 'bottom-left',
        template: 'select/select.tpl.html',
        trigger: 'focus',
        container: false,
        keyboard: true,
        html: false,
        delay: 0,
        multiple: false,
        allNoneButtons: false,
        sort: true,
        caretHtml: ' ',
        placeholder: 'Choose among the following...',
        allText: 'All',
        noneText: 'None',
        maxLength: 3,
        maxLengthHtml: 'selected',
        iconCheckmark: 'glyphicon glyphicon-ok'

      $select
angular
  .module('xxx')
  .config ['$provide', SelectDecorator]

Greetz
Jack

Yeah, definitely. I should have time this weekend to get this added.

cdd2adedf948d1dca7c764fed2d6a72bbef5de85 Added. Sorry for the delay.

nice, thank you :)


Fix detective acces

About the PR

Fixed detective acces
Media

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl:

fix: Fixed detective acces

someone fixed this literally 10 minutes before you sorry lmao


[Bug] WARNING: possibly wrote twice at addr

I am using the dev version of gbstudio.
My project doesn't compile whenever I add new mod files into the project.
New images were accepted without issues.
Is there are limit of how many patterns/mod tracks can be in a project?
I am not sure if this is a bug or a limitation or a system oversight.
I provided screenshots:
https://media.discordapp.net/attachments/519294501924372491/615537547917131779/unknown.png
https://media.discordapp.net/attachments/519294501924372491/615539390856560653/unknown.png
I am happy to provide more information if needed.
My project is essentially finished and now i can't compile it :<

error log.txt
Here is an error log.

I fixed it but I still want to know why it happened because it complicates my work on projects, especially when i spent a month on it :<

Not really sure, but it did say
"Output to bank: XX" when generating a song, starting at 23, but after reaching bank 30, it looped back to bank 23.
Perhaps see if your working projects ever write to bank: 23 more than once.
Randomised name hashes were implemented to try and solve issues with too many songs, but apparently you had another issue.
Next time, make sure to note what version you are using and OS.
Often for problems like this we can only investigate a zip of the project folder that produces the error.


Set up tests and continuous integration

This library is at (arguably beyond!) the point where real testing infrastructure is needed. File under "chores I've been putting off for a long, long time".

Yes, tests in 0.3.0 don't seem to pass right now.

Ah, yes...I neglected to update the existing test suite in line with the 0.3.0 release.

Done in #177.

CI done in #180.


Adding custom service doesn't work in Firefox

Environment details

Operation system: Arch Linux
Extension version: 1.12.0

Expected behavior
Able to add custom service.
Actual behavior
Custom url adds with AgenoCRM setting only.
Steps to reproduce the behavior

Try to add new custom domain url permission
Fail

I can confirm this with Firefox Developer Edition 64.0b5 (64-Bit) on a Windows 10 host. Due to this bug, AgenoCRM remains the only self hosted software the add-on can handle.

Also reported in conversations/19362847602

Same issue on Firefox 63.0.1, Mac OS 10.14

Temporary solution:

Open about:debugging
Enable extensions debugging
Find toggle button and press on "Manifest URL"
Replace "manifest.json" in address bar with "html/settings.html" and open
Add your domain
In this file: https://github.com/toggl/toggl-button/blob/6565ec50c6e4c667e81ba9fdccf53a21c55dc925/src/scripts/origins.js find key for your service (for example, it's myjetbrains.com for YouTrack)
Open inspector -> Storage -> Local storage, find "TogglButton-origins" key, replace "agenocrm.com" with the value from step 6

Thanks for your patience. Firefox permission settings, including custom URLs, will be available in the next release 🎉  It may take a few days to roll out to you.


Efs volume does not accessible for existing containers after reboot(docker-volume-netshare efs started)

Hi. i have problem with containers which use nfs volumes and should run after host reboot. Is anyone has the same problem with shares after reboot? Thank you for your help.
System info
OS - Centos 7.1 (3.10.0-327.22.2.el7.x86_64)
Docker - 1.12.0 build 8eab29e
GO - go1.6 linux/amd64
docker-volume-netshare - 0.18
HOW IT INSTALLED
INSTALLING EFS UTILS
sudo yum install -y nfs-utils
INSTALL GO
wget https://storage.googleapis.com/golang/go1.6.linux-amd64.tar.gz
tar -C /usr/local -xzf /tmp/go1.6.linux-amd64.tar.gz
ln -s /usr/local/go/bin/go /usr/local/bin/go
ln -s /usr/local/go/bin/godoc /usr/local/bin/godoc
ln -s /usr/local/go/bin/gofmt /usr/local/bin/gofmt
ADD GO PATH'S
tee ~/.bashrc <<-'EOF'
export PATH=$PATH:/usr/local/go/bin
export GOROOT=$HOME/go
export PATH=$PATH:$GOROOT/bin
EOF
INSTALL docker-volume-netshare
go get github.com/ContainX/docker-volume-netshare
cd $GOROOT/src/github.com/ContainX/docker-volume-netshare
go build
INSTALL DOCKER
sudo tee /etc/yum.repos.d/docker.repo <<-'EOF'
[dockerrepo]
name=Docker Repository
baseurl=https://yum.dockerproject.org/repo/main/centos/7/
enabled=1
gpgcheck=1
gpgkey=https://yum.dockerproject.org/gpg
EOF
Start docker
systemctl start docker
Start docker on startup
systemctl enable docker
add to autoload
sudo tee /etc/systemd/system/dockerefs.service <<-'EOF'
[Unit]
Description = Load docker plugin for efs
After = docker.service
[Service]
StartLimitInterval=5
StartLimitBurst=10
User=root
ExecStart = /root/go/bin/docker-volume-netshare efs
Restart=always
RestartSec=120
[Install]
WantedBy = multi-user.target
EOF
Start dockerefs
systemctl start dockerefs.service
Start dockerefs on startup
systemctl enable dockerefs.service
PROBLEM

After reboot docker demon can hangs, update service can't heelp. We should manually stop demon and rerun it again.  because efs mounts depended it's can't load
UPD. removed all containers service start normal
UPD. if we run container with EFS mount as demon with option restart always docker demon hang's on boot, after restart dameon we will get "Error response from daemon:
get fs-86a0XXXX: no such volume"
After reboot even if we have running netshare-efs we got "Error response from daemon: get fs-86a0XXXX: no such volume" when we start container, if we run new container with efs, previous one can start without problems.

HOW TO REPRODUCE
docker run -i -t --volume-driver=efs -v fs-86aXXXX:/tmp ubuntu /bin/bash

Starts normal, directory inside mounted, no problem after reboot. (container shouldn't start after reboot automatically)
If we start it by hand - we got problem "Error response from demon:
get fs-86a0XXXX: no such volume".
if we start another container with the save volume and start previous, no problem, and share accessible

docker run -d --volume-driver=efs -v fs-86aXXXX:/tmp --restart always nginx

Starts normal, after reboot docker demon hangs.

Just posted a new release today.  One of our contributors has been fixing up the EFS driver and these changes have made it in the 0.20 release today.   Since I don't have EFS maybe you can test your cases again using the latest version

Hi
I do not know if this is the same issue, but looks quite similar, i am running 0.20 under debian jessie.
Service is installed and started properly:
docker-volume-netshare.service                                                            loaded active running   LSB: Init for docker-volume-netshare
docker.service                                                                            loaded active running   Docker Application Container Engine

root@Deb8x64vm:/home/dalamar# systemctl status docker-volume-netshare.service
● docker-volume-netshare.service - LSB: Init for docker-volume-netshare
   Loaded: loaded (/etc/init.d/docker-volume-netshare)
   Active: active (running) since Fri 2016-09-02 18:46:26 CEST; 14min ago
  Process: 513 ExecStart=/etc/init.d/docker-volume-netshare start (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/docker-volume-netshare.service
           └─535 /usr/bin/docker-volume-netshare nfs

Sep 02 18:46:26 Deb8x64vm docker-volume-netshare[513]: Starting Docker-Volume-Netshare: docker-volume-netshare.

and the container which is using it runs perfectly if i start it manually. However, if i restart the server, when docker try to restart it, it gives the error  "no such volume"
Failed to start container bec53d9af0a16c7c3f6c478c4653c713e692189a99619a1a332fe9d18c58345f: get <IP_ADDRESS>: no such volume"
if i try to restart the container manually i get the same error
docker restart btSync
Error response from daemon: Cannot restart container btSync: get <IP_ADDRESS>: no such volume

however if i remove the container, and create it again it works perfectly.

The problem is reproducible with NFS volumes as well. The docker-volume-netshare.service is started, the docker.serviceis also started, but the NFS volumes are missing. They are not listed by docker volume ls anymore.
Containers are not able to start as their volumes are missing. To restart the containers, it is necessary to manually recreate the NFS volumes.

@r5r3 I think this is works as design, i.e., volumes are not recreated automatically when booting in docker.

Is there some way to fix this? I have the problem with the NFS volumes like @r5r3 describes, and for my specific use case it's sort of necessary..

I have the same problem, all volumes disappears after rebooting and I just don't understand why this is an expected behaviour. it's a bug for me or maybe there are some limitations in docker side. I'm taker if someone have solutions. thx


分词SDK用的是谁家的，讯飞的么？

RT

三角兽
2017-04-25 20:54 GMT+08:00 butterl<EMAIL_ADDRESS>
RT
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/SmartisanTech/packages_apps_BigBang/issues/1, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHrwN2FzhnoT8sKy5XJj-HjrTAKDQGiaks5rzezwgaJpZM4NHcHJ
.


Updates Podfile for ResultType.

I see the ResultType was added in https://github.com/JensRavens/Interstellar/commit/fd58e53a049a29f5036e2d420255c0af81dac8b7 but not the Observable+Result.swift file. I've pulled latest from your repo here, if you'd like to merge (or whatever works for you, maybe this file doesn't belong in the Core subspec?).

Yep, I've just missed yet another file :)

This might be a bit late, but what do y'all think about instead of having all the source files at one level, creating a folder for Core, and WarpDrive for the subspec.
Then instead of manually writing the files like so (in a potentially error prone fashion):
cs.source_files = ["Sources/Result.swift", "Sources/Signal.swift", "Sources/Observable.swift", "Sources/Mutex.swift", "Sources/ResultType.swift", "Sources/Observable+Result.swift"]
You'd be able to simplify it to these respectively:
 cs.source_files = ''*/Core/*.swift'
 cs.source_files = ''*/WarpDrive/*.swift'

Happy to submit a PR for it if that sounds reasonable.

Yeah, that makes sense. We've done something similar on Moya.

@mergesort Sounds like a good idea. Do we have to add some swift file on the root level to make the SPM happy? (on SPM this should still be one module so you don't constantly have to import Core and WarpDrive separately).


command-on-entry and command-on-exit wrong behavior

Hey there,
while playing around with the new flags I discovered that command-on-exit acting the same way as command-on-entry. To say both flags executing their commands on entry, not on exit.
As always thanks for reading.
WGEF 2.14.1
Spigot 1.8.8

Thanks! Had small mistake. Fixed

Well done.
Thank you once again!


Does not work for command line tool

I am getting following error, when using on a Command Line Tool project:
dyld: Library not loaded: @rpath/Zip.framework/Versions/A/Zip
Referenced from: /Users/macOS/Library/Developer/Xcode/DerivedData/Test_Zip-cjrtsqmggijipgaqvctjpbltwtxs/Build/Products/Debug/Test_Zip
Reason: image not found
(lldb)
In a Cocoa Application project it works.
PS: I used Cocoapods to create the workspace.
EDIT:
It seems, that generally this is not possible: all libraries I tried gave this error when using in a Command Line Tool project. Why is this?

Sorry for the delay.
Doesn't seem like this is a Zip issue. Closing.


Shift-jis decoding is actually one of the extensions like cp932?

Opening a file with "shift-jis" encoding actually opens it with one of the extensions (cp932?  shift-jis 2004? Windows-31J? ).
It's not clear what extension it is actually using.
Edit: Bot falsely tagged as 'extensions' because of the title.  Dunno how to remove tag.

VS Code supports a wide range of file encodings. You can see the full list when you click on the lower right status bar where the encoding is shown and then choose to either reopen the file with a specific encoding or save the file with a specific encoding:

There are two options how to configure the encoding for files
Configure the encoding as a setting for all files or files of specific type
We provide a files.encoding setting that you can use to set an encoding for all files. You can also configure this encoding for specific file types, e.g. like this:
"[markdown]": {
    "files.encoding": "utf8"
}

Configure VS Code to automatically detect the encoding when opening files
We provide a files.autoGuessEncoding setting that you can enable to let VS Code detect the encoding of every file automatically. Note that this approach is known to not be accurate in all cases. This guessing of encoding is rather a heuristic that can produce wrong results (that is also why this setting is not enabled by default).
Please also check out issues that are already reported with the files-encoding label: https://github.com/Microsoft/vscode/issues?q=is%3Aopen+is%3Aissue+label%3Afile-encoding


isBrowser returns false in the browser

Hi @Koleok,
I'm working on a new project and I don't know why but in the browser I have a process object declared. It seems to be something added by Node. (I'm using v4.6.1)

Because of that, our isBrowser function returns false. Then because of this bug, as we are not running Tracker inside setImmediate, my subscriptions stay on the "not ready" state.
We have to improve the isBrowser function, what do you think about this solution?
export const isBrowser = () => {
  try {
    return this === window;
  } catch (e) {
    return false;
  }
};

Awesome that is a lot more durable 👍

So maybe we could just tweak it like
export const isBrowser =
  () => typeof window !== 'undefined'

The only gotcha would be that jest adds in a mocked window, so it might bomb some tests

Or we can configure Jest to use the real versions of the timers? jest.useRealTimers()

The browser environment check is actually just an escape hatch after my failed attempts with useRealTimers and mockTimers, I would love if we could get that working and do away with needing this extra layer of complexity though

Ok, I'll work on it this Wednesday. But for now, I have to merge #12 and #13 to use the package.


Handle type[Any] correctly

This adds support for type[Any] and type, which represents an unknown type (not an instance of an unknown type).
Closes #14546

In addition to the additional unit tests I mentioned inline, this PR seems a good candidate to run the quickcheck property-based tests for core type algebra invariants. These don't run in CI because they are slow, but it would be good to see whether they catch any issues here. See https://github.com/astral-sh/ruff/blob/main/crates/red_knot_python_semantic/src/types/property_tests.rs

I already did this. I didn't mention it here because they are currently broken (surprise!).


jfrog repository does not exist

Describe the bug
When authenticate with an group account's access-token in the CLI the Terraform module repository cannot be found.
When i authenticate with an User token i can find the repository, the group is added on the permissions of the repo
Current behavior
00:00:00 [🚨Error] The repository '[ARTIFACTORY_REPO_NAME]' does not exist.
Reproduction steps
jf c add --access-token xxxxxx --url "https://artifactory.example.domain" --interactive=false [SERVER_ID]
jf rt ping # OK
jf terraform-config --server-id-deploy [SERVER_ID] --repo-deploy [ARTIFACTORY_REPO_NAME]
jf tf p --namespace=[NAMESPACE] --provider=[PROVIDER] --tag=[TAG]
## Output
00:00:00[🚨Error] The repository '[ARTIFACTORY_REPO_NAME]' does not exist.

Expected behavior
The repo is found and the TF module(s) are uploaded
JFrog CLI version
jf version 2.48.0
Operating system type and version
Windows 11
JFrog Artifactory version
No response
JFrog Xray version
No response

My corp did this weekend a migration to the Artifactory Cloud edition.
I tested the same configuration this morning and it functions as expected now.


test: add IAM integration test

This PR adds an integration test for the IAM Authenticator so that
we can easily run a test against the production or staging IAM server.
Checklist

[x] npm test passes (tip: npm run lint-fix can correct most style issues)
[x] tests are included
[ ] documentation is changed or added

Whoops, forgot all about this - looks good! +1

LOL - I guess I forgot about it also :joy:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Merge changes from develop branch to alt-l1 branch

:clipboard: Add associated issues, tickets, docs URL here.
Overview
Describe what your Pull Request is about in a few sentences.
Changes
Describe your changes and implementation choices. More details make PRs easier to review.

Change 1
Change 2
...

Testing
Describe how to test your new feature/bug fix and if possible, a step by step guide on how to demo this.

Codecov Report

:exclamation: No coverage uploaded for pull request base (alt-l1@844469e). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##             alt-l1     #493   +/-   ##
=========================================
  Coverage          ?   49.81%
=========================================
  Files             ?      112
  Lines             ?     4585
  Branches          ?      916
=========================================
  Hits              ?     2284
  Misses            ?     2301
  Partials          ?        0

Flag
Coverage Δ

boba-contracts
31.83% <0.00%> (?)

contracts
78.06% <0.00%> (?)

core-utils
86.80% <0.00%> (?)

data-transport-layer
31.17% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.
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.


Hello World guide

Request: a "Hello World" caliko guide, or maybe the right tests to copy code from.
I have what (I think) is a pretty straightforward 2d need, but I wasn't sure where to start.

Two fixed points, side by side (let's say at -5,0 and 5,0)
Each with an arm of length ... uh... 15.
Each can travel from 15degrees (from X axis) to 165 degrees. (wave your hands in the air like you just don't... anyway.)
Then those two arms have a second arm bone, let's say length 10.
which can travel much more, a relative -170 to 170. (like those floppy used car balloons!)
and they each come together at the same point, which joins together the two arms.

  The tests?

Ah, I found this: https://usermanual.wiki/Pdf/calikouserguide.1180712306/view Seems to be going in the right direction at page 10!

Haha, was going to say - you know there's a user guide, right? =D

Actually, I didn't! It isn't linked to from the GitHub home page. I found it by googling and hoping.

Fair enough, although it does come packaged with each SoniFight release, as well as a jar of the JavaDoc API documentation.
Anyway, added a documentation section to the README.md with a link to the docs.
Cheers!

Runs like a dream, thank you!  "Two arms each holding the same target"
val structure = FabrikStructure2D()

val armLeft = FabrikChain2D().apply {
    setFixedBaseMode(true)
    baseboneConstraintType = FabrikChain2D.BaseboneConstraintType2D.GLOBAL_ABSOLUTE
    baseboneConstraintUV = UP
    addBone(FabrikBone2D(Vec2f(-5f, 0f), Vec2f(-5f, 13f)).apply {
        clockwiseConstraintDegs = 80f
        anticlockwiseConstraintDegs = 160f
    })
    addConsecutiveConstrainedBone(UP, 24f, 160f, 10f)
}

val armRight = FabrikChain2D().apply {
    setFixedBaseMode(true)
    baseboneConstraintType = FabrikChain2D.BaseboneConstraintType2D.GLOBAL_ABSOLUTE
    baseboneConstraintUV = UP
    addBone(FabrikBone2D(Vec2f(5f, 0f), Vec2f(5f, 13f)).apply {
        clockwiseConstraintDegs = 160f
        anticlockwiseConstraintDegs = 80f
    })
    addConsecutiveConstrainedBone(UP, 24f, 10f, 160f)
}

structure.addChain(armLeft)
structure.addChain(armRight)

val target = Vec2f(-30f, 5f)
structure.solveForTarget(target)
structure.debug(target=target)

Nice one - I'm happy you're happy! =D


Custom status line in terminal mode

environment

vim: 8.2.3995-1ubuntu2.9
vim-airline: v0.11-586-g5891a3f
OS: Ubuntu 22.04
Have you reproduced with a minimal vimrc: yes
What is your airline configuration:

let g:airline_powerline_fonts = 1
let g:airline_section_z = '%p%% ☰  %l/%L, %v'
let g:airline#extensions#tabline#enabled = 1

if you are using terminal:

terminal: gnome-terminal
$TERM variable: xterm-256color
terminal columns size: 132
terminal line size: 43
color configuration (:set t_Co?): t_Co=256

if you are using Neovim: No

does it happen in Vim: Yes

actual behavior

expected behavior
Something similar to this (without the LN character):

I would like to customize this section in terminal mode and get rid if the LN character.
screen shot (if possible)
See above.

this only happens when running :term ?

@chrisbra yep. Works great in other modes.

@chrisbra why did you close it?

because it is fixed :)
use
let g:airline_section_z_term = '%p%% ☰  %l/%L, %v'

yes, it's in the documentation ;)


Value Errors every 15 minutes

2024-04-12 18:43:00.613 WARNING (MainThread) [custom_components.audiconnect.audi_models] Value for 'OIL_LEVEL_DIPSTICKS_PERCENTAGE' is missing; not appending field.
2024-04-12 18:43:00.613 WARNING (MainThread) [custom_components.audiconnect.audi_models] Value for 'ADBLUE_RANGE' is missing; not appending field.
2024-04-12 18:43:00.613 WARNING (MainThread) [custom_components.audiconnect.audi_models] Value for 'engineTypeSecondEngine' is None; not appending state.
2024-04-12 18:43:00.613 WARNING (MainThread) [custom_components.audiconnect.audi_models] Value for 'secondaryEngineRange' is None; not appending state.
2024-04-12 18:43:00.613 WARNING (MainThread) [custom_components.audiconnect.audi_models] Value for 'secondaryEngineRangePercent' is None; not appending state.
2024-04-12 18:43:00.613 WARNING (MainThread) [custom_components.audiconnect.audi_models] Value for 'stateOfCharge' is None; not appending state.
2024-04-12 18:43:00.613 WARNING (MainThread) [custom_components.audiconnect.audi_models] Value for 'chargingMode' is None; not appending state.
2024-04-12 18:43:00.613 WARNING (MainThread) [custom_components.audiconnect.audi_models] Value for 'actualChargeRate' is None; not appending state.
2024-04-12 18:43:00.613 WARNING (MainThread) [custom_components.audiconnect.audi_models] Value for 'chargingPower' is None; not appending state.
2024-04-12 18:43:00.613 WARNING (MainThread) [custom_components.audiconnect.audi_models] Value for 'chargeMode' is None; not appending state.
2024-04-12 18:43:00.614 WARNING (MainThread) [custom_components.audiconnect.audi_models] Value for 'chargingState' is None; not appending state.
2024-04-12 18:43:00.614 WARNING (MainThread) [custom_components.audiconnect.audi_models] Value for 'plugState' is None; not appending state.
2024-04-12 18:43:00.614 WARNING (MainThread) [custom_components.audiconnect.audi_models] Timestamp for 'remainingChargingTime' is None or missing; not appending state.
2024-04-12 18:43:00.614 WARNING (MainThread) [custom_components.audiconnect.audi_models] Value for 'plugLockState' is None; not appending state.
2024-04-12 18:43:00.614 WARNING (MainThread) [custom_components.audiconnect.audi_models] Value for 'externalPower' is None; not appending state.
2024-04-12 18:43:00.614 WARNING (MainThread) [custom_components.audiconnect.audi_models] Value for 'plugledColor' is None; not appending state.
2024-04-12 18:43:00.614 WARNING (MainThread) [custom_components.audiconnect.audi_models] Value for 'climatisationState' is None; not appending state.
2024-04-12 18:43:01.470 WARNING (MainThread) [custom_components.audiconnect.audi_models] Value for 'TOTAL_RANGE' is missing; not appending field.
2024-04-12 18:43:01.470 WARNING (MainThread) [custom_components.audiconnect.audi_models] Value for 'TANK_LEVEL_IN_PERCENTAGE' is missing; not appending field.
2024-04-12 18:43:01.470 WARNING (MainThread) [custom_components.audiconnect.audi_models] Value for 'UTC_TIME_AND_KILOMETER_STATUS' is missing; not appending field.
2024-04-12 18:43:01.470 WARNING (MainThread) [custom_components.audiconnect.audi_models] Value for 'MAINTENANCE_INTERVAL_TIME_TO_INSPECTION' is missing; not appending field.
2024-04-12 18:43:01.470 WARNING (MainThread) [custom_components.audiconnect.audi_models] Value for 'MAINTENANCE_INTERVAL_DISTANCE_TO_INSPECTION' is missing; not appending field.
2024-04-12 18:43:01.470 WARNING (MainThread) [custom_components.audiconnect.audi_models] Value for 'MAINTENANCE_INTERVAL_TIME_TO_OIL_CHANGE' is missing; not appending field.
2024-04-12 18:43:01.470 WARNING (MainThread) [custom_components.audiconnect.audi_models] Value for 'MAINTENANCE_INTERVAL_DISTANCE_TO_OIL_CHANGE' is missing; not appending field.
2024-04-12 18:43:01.470 WARNING (MainThread) [custom_components.audiconnect.audi_models] Value for 'OIL_LEVEL_DIPSTICKS_PERCENTAGE' is missing; not appending field.
2024-04-12 18:43:01.470 WARNING (MainThread) [custom_components.audiconnect.audi_models] Value for 'ADBLUE_RANGE' is missing; not appending field.
2024-04-12 18:43:01.470 WARNING (MainThread) [custom_components.audiconnect.audi_models] Value for 'LIGHT_STATUS' is missing; not appending field.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

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

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Logfile
How to enable audiconnect debugging?
Settings > Integrations > Audi Connect > Enable Debug Logging
Run service refresh_cloud_data
Disable Debug Logging

Will try new version 1.5.2


MSC2260: Update the auth rules for m.room.aliases events

Rendered

(if this is a WIP, please tag it in the title. If it's not, please add proposal-in-review as a label)

actually, it's clear that this is still WIP

another use case for this for trying to identify random rooms sitting on your server; the presence of an m.room.aliases event gives you more of a clue (programmatically) as to what they might be.

thanks for updating it - we've converged on the same proposal, hopefully for the best.

I think it's fair to say this is no longer WIP. There's a slight question mark over we do https://github.com/matrix-org/matrix-doc/issues/2259 first, which would make it work better, but increases the scope of the project. Otherwise I think Matthew and I are aligned on this proposal now.

well, time to propose FCP I guess:
@fcpbot fcp merge

/me fixes the bot's webhooks
@mscbot fcp merge

It seems that we are reconsidering this approach and will try something else instead.
@mscbot fcp cancel

Having implemented this, we found the following:
The core assumption was that everybody would still be able to add aliases to the list in m.room.aliases. This felt like something of an open door to spam.
Whilst this MSC opens the possibility of increasing the PL required to send an m.room.aliases event, it feels like a second-class citizen which doesn't work well. As an example: Riot would allow you to add an alias, and would show it in the "local aliases" list, but as soon as you reloaded the room settings, the new one would disappear.
We've had a bit of a rethink, and have an alternative approach, which I shall write it up as a new MSC.

@richvdh are we doubling down on https://github.com/matrix-org/matrix-doc/pull/2432 instead? If so, we might want to consider just closing this one as obsolete.


Add info to the cyclocross events in the end of October

wip?

Yes, I'll let you know when

@Restuta  ready to merge


[New Feature]: Adding an appealing background for better UI/UX.

🎮 feature Request
Feature  :
I want to contribute by adding an appealing gradient background so be more good for UI/UX.
Screenshots :

Likewise will add more appealing UI
Point down the features
feature points :

Appealing UI/UX

Better View

Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hello PA,
Can you please assign me this task ?

Please raise any other issue, i'll assign you
If you have any doubt you can directly send message on our discord (https://discord.gg/rZb46cCMmK), we have created separate channals for all projects...
Thank you :)


Initialize 2.1.2.dev0 version

Coverage remained the same at 90.115% when pulling 681338dda608bc1a1891ead26da599859b5ed498 on release/dev into 1b39ce8a3b4d933dc86ac9535e7c36c92ebe0ee3 on master.


Fix frontend dockerfile such that does not always upgrade to latest package

After forking repos, I added the command to always upgrade node_modules to the newest versions such that it would get the repos I forked.
However, this has problems, as there are now numerous issues with dependencies updating and not have backwards compatibility.
Therefore, we should remove the command to upgrade in the dockerfile and make sure to respect the yarn.lock file, which helps 'lock' in what versions of dependencies we are using.

I've gone ahead and made a commit on scratch/issue75 which should fix the compiler errors that come from updating.


Model converts to TFlite but invocation fails

System information

OS Platform: Windows, Linux:
TensorFlow 2.4.1:

Standalone code to reproduce the issue
https://colab.research.google.com/drive/1f22ow0a4p1WQLdlm7AIZ0V3DHbxI8EjG
or if you like. here is the same code as in Google Colab to reproduce the problem
from tensorflow.keras.layers import concatenate, Input, LSTM, Bidirectional, Embedding, Dense, TimeDistributed,SpatialDropout1D
from tensorflow.keras.models import Model
import tensorflow as tf
print(tf.__version__)

# Create Tensorflow model
word_in = Input(shape=(300,), name="input_wor")
emb_wor = Embedding(input_dim=1834, output_dim=16, input_length=300, mask_zero=True, name="emb_wor")(word_in)
char_in = Input(shape=(300, 20 ,), name="input_char")
emb_char = TimeDistributed(Embedding(input_dim=132, output_dim=32, input_length=20, mask_zero=True, name="emb_char"))(char_in)
char_enc = TimeDistributed(LSTM(units=32, return_sequences=False, recurrent_dropout=0.15, name="char_enc"))(emb_char)
input_pos = Input(shape=(300, 4, ), name="input_pos")
input_par = Input(shape=(300, 3, ), name="input_par")

x = concatenate([emb_wor, char_enc, input_pos, input_par])
x = SpatialDropout1D(0.1)(x)
main_lstm = Bidirectional(LSTM(units=64, return_sequences=True, dropout=0., recurrent_dropout=0.1, name="main_lstm"))(x)
inputs=[word_in,char_in, input_pos, input_par]
outputs = TimeDistributed(Dense(4, activation="softmax", name="out"))(main_lstm)
model = Model(inputs=inputs, outputs=outputs)
model.compile(optimizer="adam", loss="sparse_categorical_crossentropy")
print(model.summary())

# Convert Model to Tensorflow Lite
converter = tf.lite.TFLiteConverter.from_keras_model(model)
converter.optimizations = [tf.lite.Optimize.DEFAULT]
converter.target_spec.supported_ops = [
  tf.lite.OpsSet.TFLITE_BUILTINS, # enable TensorFlow Lite ops.
  tf.lite.OpsSet.SELECT_TF_OPS # enable TensorFlow ops.
]
converter.experimental_new_converter = True
tflite_model = converter.convert()
with open("model.tflite", 'wb') as f:
  f.write(tflite_model)

# # Install tflite_runtime
# !pip3 install --extra-index-url https://google-coral.github.io/py-repo/ tflite_runtime

use_tflite_runtime = False # If True then you need to first restart runtime before running this code
import numpy as np

if(use_tflite_runtime):
  import tflite_runtime.interpreter as tflite
  interpreter =  tflite.Interpreter(model_path="model.tflite")
else:
  import tensorflow as tf
  interpreter = tf.lite.Interpreter(model_path="model.tflite")

interpreter.allocate_tensors()

input_details = interpreter.get_input_details()
output_details = interpreter.get_output_details()

print("input_details", input_details)
print("output_details", output_details)

# Set random values
for i in range(len(input_details)):
    x = np.random.random(input_details[i]["shape"])
    interpreter.set_tensor(i, x.astype(input_details[i]["dtype"]))
    print(i, input_details[i]["name"], input_details[i]["shape"], input_details[i]["dtype"], "/", x.shape)

# Invoke
interpreter.invoke()

Provide the text output from tflite_convert
2021-04-12 13:24:02.507539: W tensorflow/python/util/util.cc:348] Sets are not currently considered sequences, but this may change in the future, so consider avoiding using them.
2021-04-12 13:24:07.691525: I tensorflow/core/grappler/devices.cc:69] Number of eligible GPUs (core count >= 8, compute capability >= 0.0): 0
2021-04-12 13:24:07.691860: I tensorflow/core/grappler/clusters/single_machine.cc:357] Starting new session
2021-04-12 13:24:07.730306: I tensorflow/core/grappler/optimizers/meta_optimizer.cc:1144] Optimization results for grappler item: graph_to_optimize
  function_optimizer: Graph size after: 447 nodes (0), 564 edges (0), time = 6.973ms.
  function_optimizer: Graph size after: 447 nodes (0), 564 edges (0), time = 6.713ms.
Optimization results for grappler item: model_bidirectional_forward_main_lstm_while_body_19625
  function_optimizer: function_optimizer did nothing. time = 0.001ms.
  function_optimizer: function_optimizer did nothing. time = 0ms.
Optimization results for grappler item: model_bidirectional_backward_main_lstm_while_cond_19891
  function_optimizer: function_optimizer did nothing. time = 0.001ms.
  function_optimizer: function_optimizer did nothing. time = 0ms.
Optimization results for grappler item: model_time_distributed_1_char_enc_while_body_19340
  function_optimizer: function_optimizer did nothing. time = 0.001ms.
  function_optimizer: function_optimizer did nothing. time = 0ms.
Optimization results for grappler item: model_bidirectional_forward_main_lstm_while_cond_19624
  function_optimizer: function_optimizer did nothing. time = 0.001ms.
  function_optimizer: function_optimizer did nothing. time = 0ms.
Optimization results for grappler item: model_time_distributed_1_char_enc_while_cond_19339
  function_optimizer: function_optimizer did nothing. time = 0ms.
  function_optimizer: function_optimizer did nothing. time = 0ms.
Optimization results for grappler item: model_bidirectional_backward_main_lstm_while_body_19892
  function_optimizer: function_optimizer did nothing. time = 0.001ms.
  function_optimizer: function_optimizer did nothing. time = 0ms.

2021-04-12 13:24:08.058077: W tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.cc:345] Ignored output_format.
2021-04-12 13:24:08.058217: W tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.cc:348] Ignored drop_control_dependency.
2021-04-12 13:24:08.086587: I tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util.cc:210] disabling MLIR crash reproducer, set env var `MLIR_CRASH_REPRODUCER_DIRECTORY` to enable.
2021-04-12 13:24:08.172281: W tensorflow/compiler/mlir/lite/flatbuffer_export.cc:1782] TFLite interpreter needs to link Flex delegate in order to run the model since it contains the following flex op(s):
Flex ops: FlexAll
Details:
	tf.All {device = "", keep_dims = false}

When I run the invocation using tflite_runtime i get this error:
RuntimeError: Regular TensorFlow ops are not supported by this interpreter. Make sure you apply/link the Flex delegate before inference.Node number 16 (FlexAll) failed to prepare.

When I run the invocation using tensorflow i get this following error
RuntimeError: external/org_tensorflow/tensorflow/lite/kernels/concatenation.cc:76 t->dims->data[d] != t0->dims->data[d] (300 != 1)Node number 37 (CONCATENATION) failed to prepare.
Node number 49 (WHILE) failed to invoke.

Either way, the invocation fails and it seems that is has something to do with the concatenate  layer.
I would highly appreciate an answer or eventually a solution. As you can see the model does convert, but the invocation doesn't run. I tested it on both Windows and Linux,. same problem and same error.

Could you try with the tf-nightly version? We have improved on the similar cases at the recent changes.

FYI, tf.all op is now a part of TFLite builtin op set in the tf-nightly.

Could you try with the tf-nightly version? We have improved for the similar cases at the recent changes.

I did try and i still get the exact same error.

If you didnt convert the model with the tf-nightly, please conduct the conversion again and re-try the model executation.

If you didnt convert the model with the tf-nightly, please conduct the conversion again and re-try the model executation.

I just did that, i tested with tf-nightly-2.6.0.dev20210412 and the error is exactly the same.
I updated the Google Colab code where you can run and it will reproduce the exact same problem as i describe   https://colab.research.google.com/drive/1f22ow0a4p1WQLdlm7AIZ0V3DHbxI8EjG

Via the above gist, I confirmed that the tf-nightly version also have the same issue.

Let me take a look at the model structure.

I confirmed that this issue is related to the pass for lowering static tensor list. Thanks for the bug report!

@haozha111 could you take a look at this bug report?

@raduslmn I landed the fix for this issue. Please make sure enable the select TF option as your conversion code and verify the fix with the tomorrow's tf-nightly version.

https://github.com/tensorflow/tensorflow/commit/a5382257ac60dc0806c2fca7efaa5a133ee24ef6 is the fix.

a538225 is the fix.

I did try today with the latest tf-nightly version and still the same error. I notice that you pushed  a538225 which should be the fix but you also pushed another commit 8b07beb that reverts the fix back to the code before the fix. Was that intentional, is there a reason for that or was it a mistake? If it was a mistake, could push again the fix as now it's still the  old code prior to the fix: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/compiler/mlir/lite/tf_tfl_passes.cc

Sorry. The above change got rollbacked. However, we landed again with the experimental flag, converter._experimental_lower_tensor_list_ops = True.
If the tflite_runtime is based on TF 2.5 or beyonds, it will work.

Sorry. The above change got rollbacked. However, we landed again with the experimental flag, converter._experimental_lower_tensor_list_ops = True.

Does it mean that we first wait for the tf-nightly version and then try run the convertion again using converter._experimental_lower_tensor_list_ops = True flag. Is that correct?

Sorry. The above change got rollbacked. However, we landed again with the experimental flag, converter._experimental_lower_tensor_list_ops = True.
If the tflite_runtime is based on TF 2.5 or beyonds, it will work.

https://github.com/tensorflow/tensorflow/commit/904b3926ed1c6c70380d5313d282d248a776baa1 is the fix.

Please disable it for your case. ````converter._experimental_lower_tensor_list_ops = False```

904b392 is the fix. I can expect that the tomorrow's tf-nightly version will have it.

The invocation works when using Tensorflow Lite from the tf-nightly==2.6.0-dev20210414 Thank you. @abattery
So this has solved only half of the problem, when I run the invocation using tflite_runtime alone I get this error:
ValueError: Op builtin_code out of range: 140. Are you using old TFLite binary with newer model?Registration failed.
on model import:
import tflite_runtime.interpreter as tflite
interpreter =  tflite.Interpreter(model_path="model.tflite")

You @abattery said that

If the tflite_runtime is based on TF 2.5 or beyonds, it will work.

Now, i used tf-nightly==2.6.0-dev20210414 when creating the model, theoretically this should work, but it doesn't load the model. If you want you can see the error or replicate the problem here  using this Google Colab code
Is there anything that could be done to make this model load and run invocation tflite_runtime? As of now the only version that i can find is tflite-runtime-2.5.0 is there any other versions that i could use which are more recent?

Since you are using tf 2.6 for conversion. The tflite-runtime should have the same TF version, 2.6 or beyonds. TF 2.6 version is too early version to have the prebuilt binaries.
For now, you need to compile your own tflite-runtime or just depend on the TF pip package.

@abattery i have now tested with the built from source tflite-runtime on Linux and Windows.
When using Tflite from the full Tensorflow library then it works, but when using the built from source tflite-runtime then it still throws get error:
RuntimeError: Regular TensorFlow ops are not supported by this interpreter. Make sure you apply/link the Flex delegate before inference.Node number 20 (FlexTensorListFromTensor) failed to prepare.
You can reproduce the same error in the Google Colab which will build from source the tflite-runtime and then  run the entire logic:  https://colab.research.google.com/drive/1f22ow0a4p1WQLdlm7AIZ0V3DHbxI8EjG
Is there anyway this can be fixed? This is actually critical for production run.  It's fine that Tflite is now working with the full TF library but that only helps during development and model training but it's useless unless we can use the tflite-runtime inference during production.

That is an intended behavior. The tflite-runtime package does not include the Select TF option. Please use the tensorflow package for your use case.

@abattery will do, thank you fixing the lower tensor problem. When will Tensorflow 2.6 which includes this fix be officially released?  By the way, this issue can be closed as it is resolved thanks to you ;)

I don't know when the 2.6 version will be released. FYI, the TF 2.5 version is still in the rc stage.

Invocation also fails in my case, 3DConvolution + 3DMaxPool, I was able eventually to convert them by specifying     converter.target_spec.supported_ops = [tf.lite.OpsSet.TFLITE_BUILTINS, tf.lite.OpsSet.SELECT_TF_OPS] prior to conversion; nevertheless invocation fails, with exit code "random integer<PHONE_NUMBER>13"

@TimbusCalin , try this:
converter.target_spec.supported_ops = [tf.lite.OpsSet.TFLITE_BUILTINS, tf.lite.OpsSet.SELECT_TF_OPS]
converter._experimental_lower_tensor_list_ops = False


Linter for Cudatext

Hi developers;
I want to ask: is it hard to make port of Linter to CudaText (uvviewsoft.com) ?
API doc is here,
http://wiki.freepascal.org/CudaText_API
Thanks

The best I can help you is to say: fork SublimeLinter3, find everywhere the sublime, sublime_plugin, etc. imports are being used and find the equivalent in the CudaText API. I can't promise it will ever work, but it's your easiest bet for trying to quickly port it over. If you do get it to work, the majority of SL-linters should work with it.
NOTE: I don't have time to go through the CudaText APIs so this is complete speculation. I saw it was python. but how the plugins are loaded and all of that I'm clueless.

Closing as this isn't something SL can do.


.today marker fixed

.today marker wasn't visible because of invalid css-syntax in border property.

I added the pull-request to here.


Cannot load such file -- socket.so while packing gem

Thank you for your work on ruby-packer. I hope it will solve some "path too long" problems we're having with Travelling Ruby on Windows. I'm trying to create a windows executable out of a gem (bundler is just the example here) on Appveyor, and I'm hitting a problem.

Steps to reproduce:

Appveyer file: https://github.com/pact-foundation/pact-ruby-cli/blob/master/appveyor.yml
Key line:
rubyc.exe --output bundle.exe --gem=bundler --gem-version=1.16.4 bundle

Expected behaviour

bundle.exe is created

Actual behaviour

https://ci.appveyor.com/project/pact-foundation/pact-ruby-cli/build/1.0.15#L180
-> cd C:/Users/appveyor/AppData/Local/Temp/1/rubyc/bundler-1.16.4
Downloading http://rubygems.org/downloads/bundler-1.16.4.gem
C:/__enclose_io_memfs__/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require':
cannot load such file -- socket.so (LoadError

From what I can see, the error is coming from the ruby inside rubyc, as __enclose_io_memfs__ seems to be a path particular to ruby-packer.
I have tried to reproduce the correct environment by copying https://github.com/pmq20/ruby-packer/blob/master/ruby/appveyor.yml but I must be missing something. Any pointers would be appreciated, as my googling has not provided anything helpful.

Ok, I've realised that my appveyor file was way over complicated and I only needed to copy what you'd done in the root appveyor file, but I get the same issue.
https://ci.appveyor.com/project/pact-foundation/pact-ruby-cli#L244

Train of thought here, I'm not sure why it's trying load an .so file on windows - it's like it doesn't know it's on windows?

It works on Linux, but yes, the main point of my exercise is to create a Windows executable.

I'm assuming that I need to build the Windows executable on Windows... being able to build it on Linux would be preferable, but strange! (Having said that, the Travelling Ruby windows executable gets built on Linux, so I guess anything is possible!)

If you assigned to windows you can use Docker Ubuntu image with rubyc to build app. )) but I am not sure I see full picture what you want.

I want to build a windows executable. Your documentation suggests that a windows executable needs to be built on windows.
rubyc --gem=bundler --gem-version=1.15.4 bundle
./a.out (or a.exe on Windows)

Do you have any example scripts that show how to build a windows executable using ruby-packer?

The same question, does anybody have any progress in this.

The same question after 1.5 year - any luck?


Question: Bind multiple Animations to a single sprite & switch between them?

Is this possible with your class that you've written? Currently Pixi doesn't have an easy way to have one sprite with different sets of frames for say, a walk animation, a punch animation, a run animation ect...
With your plugin, can I bind any set of frames I want to a single sprite, and choose at any given moment which I want to loop through?

Sorry, in the case about Bind multiple Animations to a single sprite & switch between them , my fork is as same as the original PIXI.
There is no easier way to do it.
But I think it's not difficult at all.

Not difficult? Do you know how I would do it then? Because nobody seems to have a very clear answer. :c

I do not know if that can help you, but I put interest in PixiSprinteAnimation.
You can look my hold source code here.
https://forums.rpgmakerweb.com/index.php?threads/pixi-spritesheets-animations-core-v1-0-texturepacker.83083/
In my source code, I chose to create a class to manage the spriteSheets, and sub animation are called motions.
However, I chose to switch to spine because you will maybe realize that spriteAniamtion does not allow to manage complex animation, and it also complexe to do it.
Personally, I only use it for special effects (FX) in games that require motionBlur and AfterEffect.
Hope this can help you to find your approach to build a class.
ps: you also have multiple video tutorial on how it work.

@finscn No, but you just said it wouldn't work?

@bryanwillis7   , I didn't say any thing about extensions/Animation.js .
in the first repay , I talked about AnimationSprite .
extensions/Animation.js could work.


fix(Observer): fix Observable#subscribe() signature to suggest correct usage

Description:
This was annoying me a long time already. So this patch describes better how to call the .subscribe() method, ruling out invalid combinations (like a partial observer object and an error handler).

Overloads subscribe signature for usage with an empty subscriber, PartialObserver, or next, error and complete handlers

Coverage remained the same at 97.062% when pulling 459d2a2a43cc8f5e5d3f9f675142b334ce3c1791 on awerlang:patch-subscribe into e20cdb73e9a6255d704e39c2e867b3227207b4b0 on ReactiveX:master.

LGTM
cc/ @david-driscoll @kwonoj @jayphelps can one of you confirm?

LGTM


Fix wwwtsps with null incident_ids

Issue: Find any wwwtsp with null incident_id. Replace.


Fix matching of backreferences in scalar mode

.backreference always matched in grapheme semantic mode (using matchSeq() which calls match), making this test fail
    // Backreferences in scalar mode
    // In scalar mode the backreference should not match
    firstMatchTest(#"(.+)\1"#, input: "ée\u{301}", match: "ée\u{301}")
    firstMatchTest(#"(.+)\1"#, input: "ée\u{301}", match: nil, semanticLevel: .unicodeScalar)

Fixed this by adding a bit to the payload for back references to check if it was emitted in unicode scalar mode

@swift-ci test


Share calendar across multiple projects

Hi,
How can I share a calendar across multiple projects if its possible. If not may be adding this feature can make this extension very powerful and can be used as team general calendar. Especially for teams working on multiple projects.

Hey @waheez - can you provide more detail on how you would like this to work? For example, are you asking that "free form" events be visible across multiple teams? Or iterations, days off, etc?

Hi @willsmythe Thank you for getting back to me. I will try to elaborate my idea further by showing some screenshots. Basically, I have only one team now that currently working on 3 different projects (3 repos in visual studio) simultaneously. However each project have its own calendar instance. My intention was to use this calendar as a team calendar not project calendar. So I can also record team vacation while recording important events for project lifecycle.
I have realize that calendar do reflect sprint dates and showing those dates can overlap each other if different project would have different sprint dates. A possible solution would be, if the calendar is marked as shared among two or more projects it may not show sprint dates.
Let me know if that make sense or I need to further shed light on my idea of shared calendar.

Or even better, Add a checkbox on add event dialog to share that particular event among all project's calendar. When you pick time off from add event list  check this checkbox by default otherwise uncheck by default.

Another way of looking at this might be the ability to create one or more collection-level calendars and decide which team projects are included.

To further enhance this request, what I'd like to have is the option of sharing calendar items from sub-teams up on a parent team's calendar.  We currently have our on-prem configured using the Scaled Agile Framework (SAFe) guidance and have a root portolio team, many sub-program teams, and even more sub-product teams (just hierarchies of areas linked to teams).  It'd be great to share product team calendars either with the program teams or the portfolio team.
https://www.visualstudio.com/en-us/docs/work/scale/scaled-agile-framework


Upgrading rancher istio system chart to 1.4.2

Upgrading system-chart of istio to 1.4.2.
Todo:

Adding 1.4.2 chart into system-chart.
Adding mirror images into rancher/rancher
Disable PodDisruptionBudget by default to get around with node draining issue.

QA:

Test if 1.4.2 is functional on fresh install
Test if user is able to upgrade from istio 1.3.3 to 1.4.2.

Current issue on UI:

Kiali link is hard-coded to use proxy link for certain service and port. We have to change UI to make link version diagnostic so it knows which service link to use according which istio version.
Custom questions and answers are hardcoded in UI. We have to change code in UI if we want to change default answer pairs.

UI issue https://github.com/rancher/rancher/issues/24701

Current Issues from QA:

Upgrade without force (delete/recreate resources).. This means that upgrading via Tools --> Istio won't work.
Kiali link not working means Traffic Graph does not work as well
There are no public endpoints now when enabling Istio v1.4.2 (with/without gateway enabled). We can hack this (at least for testing Gateway in current state) by setting a custom answer: "gateways.istio-ingressgateway.labels.release": "cluster-istio" which gives one public endpoint that works properly.

Current status using chart: https://github.com/StrongMonkey/system-charts.git and branch: istio-1.4.2 with ui-index: https://releases.rancher.com/ui/istio-upgrade-dev-v3/index.html
All 3 issues in the previous comment have been fixed.
Upgrade testing had one issue: Kiali and Jaeger links not showing up when enabling istio with all authenticated user and giving users Read Only access to System Project.

Above issue fixed now. First pass of the following all succeeded:

fresh install

Execute P1 Workflow using Istio v1.4.2

upgrade from v2.2.7

in v2.3.3, execute p1 workflow using Istio v1.3.3,
upgrade to v2.3.4
make sure existing istio workloads work (refer to p1 workflow)
Upgrade istio to v1.4.2
make sure existing istio workloads work (refer to p1 workflow)
Execute p1 workflow again in a new project/namespace
Execute p1 workflow in brand new cluster

Drain Nodes with Istio v1.4.2

P1 workflow involves creating a versioned workload that is accessible using Gateway, Virtual Service, and Destination Rules. We also validate pods contain sidecars and metric tools are available.
@deniseschannon @sangeethah @StrongMonkey I believe the changes can be merged into the RC. Currently requires both System Charts from StrongMonkey/system-charts branch istio-1.4.2 and ui-index from istio-upgrade-dev-v3

Working in 2.3-head and master-head commit ID: 3ae5ad9bd652. Changes from here were available in system-charts dev branch.
Verified both previous istio versions and upgrade to new istio, as well as a fresh install using the new version on kubernetes v1.17


Add category to Command Palette actions

This matches the style of most other extensions, and allows searching for Hex Casting commands in the palette without having to remember their names.

Thanks!


tests: arch: arm: fpu: arch.arm.swap.common.fpu_sharing.no_optimizations - Data Access Violation - MPU Fault

Describe the bug
The tests/arch/arm/arm_thread_swap/arch.arm.swap.common.fpu_sharing.no_optimizations fails on-target tests - Data Access Violation - MPU Fault
Observed for

nrf52dk_nrf52832
nrf5340dk_nrf5340_cpuapp
nrf52840dk_nrf52840
nrf9160dk_nrf9160

There is MPU Fault detected and system halts, no other output.
To Reproduce
Steps to reproduce the behavior:

have nrf52840dk connected
go to your zephyr dir
call ./scripts/twister -T tests/arch/arm/arm_thread_swap -p nrf52840dk_nrf52840 --device-testing --device-serial /dev/ttyACM0 -v --inline-logs
See stack trace and system halting

Expected behavior
Valid test output
Impact
Not clear
Logs and console output
ERROR   - *** Booting Zephyr OS build zephyr-v3.1.0-2138-g700de003e849  ***
Running TESTSUITE E: ***** MPU FAULT *****
E:   Stacking error (context area might be not valid)
E:   Data Access Violation
E:   MMFAR Address: 0x20003038
E: r0/a1:  0xa327a9db  r1/a2:  0x353fd279  r2/a3:  0xdffefdab
E: r3/a4:  0x01085012 r12/ip:  0xc11ddb4f r14/lr:  0x86ec0d30
E:  xpsr:  0x190d6800
E: s[ 0]:  0x00000000  s[ 1]:  0x00000000  s[ 2]:  0x00000000  s[ 3]:  0x00000000
E: s[ 4]:  0x00000000  s[ 5]:  0x00000000  s[ 6]:  0x00000000  s[ 7]:  0x00000000
E: s[ 8]:  0x00000000  s[ 9]:  0x00000000  s[10]:  0x00000000  s[11]:  0x00000000
E: s[12]:  0x00000000  s[13]:  0x00000000  s[14]:  0x00000002  s[15]:  0x00000000
E: fpscr:  0x20003080
E: Faulting instruction address (r15/pc): 0xfcef4946
E: >>> ZEPHYR FATAL ERROR 2: Stack overflow on CPU 0
E: Current thread: 0x20000328 (main)
E: Halting system

Environment (please complete the following information):

OS: Ubuntu 20.04.1 LTS
Toolchain Zephyr SDK 0.14.1
Commit SHA or Version used: zephyr-v3.1.0-2138-g700de003e849

this case is ok for mimxrt1010_evk
*** Booting Zephyr OS build zephyr-v3.1.0-2343-g7d7988d1a995  ***

    Running TESTSUITE arm_thread_swap

    ===================================================================

    START - test_arm_syscalls

    Available IRQ line: 79

    USR Thread: IRQ Line: 79

     PASS - test_arm_syscalls in 0.5 seconds

    ===================================================================

    START - test_arm_thread_swap

     PASS - test_arm_thread_swap in 0.1 seconds

    ===================================================================

    START - test_syscall_cpu_scrubs_regs

    Writing 0xDEADBEEF values into registers

    Exit from system call

     PASS - test_syscall_cpu_scrubs_regs in 0.6 seconds

    ===================================================================

    TESTSUITE arm_thread_swap succeeded

    ===================================================================

    PROJECT EXECUTION SUCCESSFUL

I did a quick test with the following command, which fails as described on the nRF53 (all I had on hand):
$ zephyr/scripts/twister \
  --test "tests/arch/arm/arm_thread_swap/arch.arm.swap.common.fpu_sharing.no_optimizations" \
  -p nrf5340dk_nrf5340_cpuapp --device-testing --device-serial /dev/tty.usbmodem0009601433755 \
  -v --inline-logs

Increasing stack size to CONFIG_MAIN_STACK_SIZE=2048 causes the test to pass:
INFO    - Using Ninja..
INFO    - Zephyr version: zephyr-v3.1.0-2460-g3f22a97c48bf
INFO    - Using 'zephyr' toolchain.
INFO    - Building initial testsuite list...
INFO    - Writing JSON report /Users/kevintownsend/Linaro/zephyr/twister-out/testplan.json

Device testing on:

| Platform                 | ID   | Serial device                  |
|--------------------------|------|--------------------------------|
| nrf5340dk_nrf5340_cpuapp |      | /dev/tty.usbmodem0009601433755 |

INFO    - JOBS: 10
INFO    - 1 test scenarios (1 configurations) selected, 0 configurations discarded due to filters.
INFO    - Adding tasks to the queue...
INFO    - Added initial list of jobs to queue

INFO    - 1 of 1 test configurations passed (100.00%), 0 failed, 0 skipped with 0 warnings in 41.37 seconds
INFO    - In total 1 test cases were executed, 0 skipped on 1 out of total 475 platforms (0.21%)
INFO    - 1 test configurations executed on platforms, 0 test configurations were only built.

Hardware distribution summary:

| Board                    | ID   |   Counter |
|--------------------------|------|-----------|
| nrf5340dk_nrf5340_cpuapp |      |         1 |
INFO    - Saving reports...
INFO    - Writing JSON report /Users/kevintownsend/Linaro/zephyr/twister-out/twister.json
INFO    - Writing xunit report /Users/kevintownsend/Linaro/zephyr/twister-out/twister.xml...
INFO    - Writing xunit report /Users/kevintownsend/Linaro/zephyr/twister-out/twister_report.xml...
INFO    - Run completed

@nordic-piks Any feedback? Seems trivial to fix all three of these related issues, but not sure where Nordic wants to increase stack size in a manageable way for these tests and across platforms. I'll just make a PR myself to close them if there isn't a reply, and presumably someone will comment there on placement of the stack size adjustments.
cc @carlescufi @joerchan

@microbuilder I can verify such PR (increasing stack size) for all platforms mentioned in the issue.
I will leave decision if this should be the solution for @carlescufi and @joerchan.
I thinks that there is still other solution possible - add filtering for this test cases based on platform's stack size, so that those tests will no be executed if platforms does not have enough stack available. Can such value be calculated for all platforms?

@microbuilder The issue appears to be the NO_OPTIMIZATIONS configuration which causes a very significant increase in the stack usage.
I could reproduce this on the mps3_an521_ns board as well so it is not just a Nordic platform issue.
Here you can see the impact this configuration has:
# mps3_an521_ns:
main                : STACK: unused 1380 usage 668 / 2048 (32 %);
# mps3_an521_ns no optimizations:
main                : STACK: unused 915 usage 1133 / 2048 (55 %);

# nrf5340dk_nrf5340_ns:
main                : STACK: unused 1308 usage 740 / 2048 (36 %);
#nrf5340dk_nrf5340_ns no optimizations:
main                : STACK: unused 756 usage 1292 / 2048 (63 %);

I used this diff to get the numbers, I had to disable FPU though since the impact on flash was huge and it didn't compile anymore.
--- a/tests/arch/arm/arm_thread_swap/src/main.c
+++ b/tests/arch/arm/arm_thread_swap/src/main.c
@@ -5,5 +5,10 @@
  */

 #include <ztest.h>
+#include <debug/thread_analyzer.h>
+static void teardown(void *fixture)
+{
+        thread_analyzer_print();
+}

-ZTEST_SUITE(arm_thread_swap, NULL, NULL, NULL, NULL, NULL);
+ZTEST_SUITE(arm_thread_swap, NULL, NULL, NULL, NULL, teardown);

nRF53:
west build tests/arch/arm/arm_thread_swap/ -- -DCONFIG_FPU=n -DCONFIG_FPU_SHARING=n -DCONFIG_NO_OPTIMIZATIONS=y -DCONFIG_IDLE_STACK_SIZE=512 -DCONFIG_MAIN_STACK_SIZE=2048 -DCONFIG_THREAD_ANALYZER=y
MPS2:
west build -b mps2_an521_ns tests/arch/arm/arm_thread_swap -DEMU_PLATFORM=qemu -DCONFIG_FPU=n -DCONFIG_FPU_SHARING=n -DCONFIG_NO_OPTIMIZATIONS=n -DCONFIG_IDLE_STACK_SIZE=512 -DCONFIG_MAIN_STACK_SIZE=2048 -DCONFIG_THREAD_ANALYZER=y -t run

#48776 Fixes the issue, thanks for help.


Add option to DynaSim to monitors to perform averaging (& other statistics)

By default, DynaSim monitors record every single cell in a population. To save space, we could instead only monitor the average across the population, and possibly higher order statistics as well (e.g., standard deviation, variance, quartiles, etc).
In cases like monitoring conductances or synaptic currents, the average across the population is all that is needed, not every single cell.
Could we add in an option to toggle between monitoring all cells versus monitoring the mean (and/or other statistics).
In addition to applying this to functions, we could also apply this to monitoring state variables, once this is implemented (see #423)

i strongly feel this should be done with a dsAnalyze function, and that one would simply turn off save_data flag.

I agree.
I got it tested and working with the following code. Next step is to modify this function to only operate on certain fields using dsSelectVariables
%% Setup Sparse Pyramidal-Interneuron-Network-Gamma (sPING)

% define equations of cell model (same for E and I populations)
eqns={
  'dv/dt=Iapp+@current+noise*randn(1,N_pop); Iapp=0; noise=0'
  'monitor iGABAa.functions, iAMPA.functions'
};
% Tip: monitor all functions of a mechanism using: monitor MECHANISM.functions

% create DynaSim specification structure
s=[];
s.populations(1).name='E';
s.populations(1).size=80;
s.populations(1).equations=eqns;
s.populations(1).mechanism_list={'iNa','iK'};
s.populations(1).parameters={'Iapp',5,'gNa',120,'gK',36,'noise',40};
s.populations(2).name='I';
s.populations(2).size=20;
s.populations(2).equations=eqns;
s.populations(2).mechanism_list={'iNa','iK'};
s.populations(2).parameters={'Iapp',0,'gNa',120,'gK',36,'noise',10};
s.connections(1).direction='I->E';
s.connections(1).mechanism_list={'iGABAa'};
s.connections(1).parameters={'tauD',10,'gGABAa',.1,'netcon','ones(N_pre,N_post)'}; % connectivity matrix defined using a string that evalutes to a numeric matrix
s.connections(2).direction='E->I';
s.connections(2).mechanism_list={'iAMPA'};
s.connections(2).parameters={'tauD',2,'gAMPA',.1,'netcon',ones(80,20)}; % connectivity set using a numeric matrix defined in script

%% Simulate Sparse Pyramidal-Interneuron-Network-Gamma (sPING)
data=dsSimulate(s,'analysis_functions',{@dsCalcAverages},'analysis_options',{'save_std',1});

Loading the resulting .mat file yields:
result =

  struct with fields:

                   labels: {'E_v'  'E_iNa_m'  'E_iNa_h'  'E_iK_n'  'I_v'  'I_iNa_m'  'I_iNa_h'  'I_iK_n'  'E_I_iGABAa_s'  'I_E_iAMPA_s'  'E_I_iGABAa_IGABAa'  'I_E_iAMPA_IAMPA'  'time'}
                     time: [10001×1 double]
        E_I_iGABAa_IGABAa: [10001×1 double]
             E_I_iGABAa_s: [10001×1 double]
                   E_iK_n: [10001×1 double]
                  E_iNa_h: [10001×1 double]
                  E_iNa_m: [10001×1 double]
 etc...
                    model: [1×1 struct]
        simulator_options: [1×1 struct]
                  E_v_std: [10001×1 double]
              E_iNa_m_std: [10001×1 double]
              E_iNa_h_std: [10001×1 double]
etc...

(Original E and I populations were of size 80 and 20 )

Once all of this is working, we can write a short guide on the Wiki...

I've added a demo of this to dsDemos. Closing the issue


GEOMESA-998 Examples for Geomesa Convert

Signed-off-by: Andrew Hulbert<EMAIL_ADDRESS>

Looks good to me. Since you posted this for people to look at (in non-pr form) a few days ago, I'm tempted to just merge it...

c4825dfe88e4c97c8af0b60d2fa61c80d7692523


Fixed duplicate label translations for secondary itemsets and use itextID for selects with choices that have media specified

Based on #467
Closes #464, #463
Why is this the best possible solution? Were any other approaches considered?
The simplest approach. Ensures that we only generate translations for choices in filtered selects in a controlled manner.
What are the regression risks?
None
Does this change require updates to documentation? If so, please file an issue here and include the link below.
None
Before submitting this PR, please make sure you have:

[x] included test cases for core behavior and edge cases in tests_v1
[x] run nosetests and verified all tests pass
[x] run black pyxform to format code
[x] verified that any code or assets from external sources are properly credited in comments

Codecov Report

Merging #468 into master will increase coverage by 0.22%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #468      +/-   ##
==========================================
+ Coverage   83.39%   83.61%   +0.22%
==========================================
  Files          25       25
  Lines        3601     3619      +18
  Branches      836      842       +6
==========================================
+ Hits         3003     3026      +23
+ Misses        454      452       -2
+ Partials      144      141       -3

Impacted Files
Coverage Δ

pyxform/question.py
92.95% <100.00%> (+0.10%)
:arrow_up:

pyxform/survey.py
92.87% <100.00%> (+1.35%)
:arrow_up:

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 50921a8...614d831. Read the comment docs.

Really liking those tests, @DavisRayM, thanks for the simplified PR! My review process is to look at the tests first, then go through the code and if I can't explain a section, comment it out and run the test suite to see what it does. I've identified two code sections that I don't understand and can currently be commented out without any tests failing. Please illustrate the cases they cover with tests if they are indeed needed.
I like the removal of the static_instance prefix but it seems possibly risky so I'd like another reviewer's thoughts on it.
One difference between your prior PR and this one is that the other one updates xform2json to read in secondary itemset translations. I generally consider xform2json experimental and unsupported so I don't think it's necessary to update. I just wanted to flag it in case that was something you intended to do.

Thanks, regarding the xform2json changes I think I'll need to research a bit more into the functionality. Currently, with these changes the secondary itemset translations don't seem to be a problem(the JSON generated version of the specify_other.xls fixture seems to be passing the test). I'll look into it though and open an issue if I spot an issue with the secondary itemset translation on that functionality.


RPRUN-215 Max ray depth parameter doesn't work (#88)

PURPOSE
Use Ray Depth property in a context.
Remove duplicated properties from settings.
EFFECT OF CHANGE
Changing of ray depth will work in the plugin

Another repo already has approved this commit.
No need to review (already done).
Note: this is merge to develop branch due to new workflow


Separate jacoco configurations to consumed and resolved ones.

Fixes #11209
Currently, Jacoco defines two configurations for resolving tools, jacocoAnt and jacocoAgent. These are "legacy" configurations as they are both consumable and resolvable, which is deprecated as per the documentation.
https://docs.gradle.org/current/userguide/declaring_dependencies.html#sec:resolvable-consumable-configs
Thanks to @jjohannes help in #12016, I learned about these different types of configurations, and a generic way of applying platforms is to make sure they're applied to non-consumable configurations. I feel this is the best solution to my earlier issue, #11209 where I found applying a platform to jacoco configurations breaks the build. withDependencies behavior is great already for consumed configurations, and platforms can be applied to resolved ones.
Need help in how to properly deprecate the legacy configurations' canBeResolved flag
Context

Removes a legacy (true, true) configuration
Allows users to apply platforms to jacoco configurations if they would like to manage jacoco tool versions using platforms

Contributor Checklist

[X] Review Contribution Guidelines
[X] Make sure that all commits are signed off to indicate that you agree to the terms of Developer Certificate of Origin.
[X] Check "Allow edit from maintainers" option in pull request so that additional changes can be pushed by Gradle team
[X] Provide integration tests (under <subproject>/src/integTest) to verify changes from a user perspective

Existing tests

[X] Provide unit tests (under <subproject>/src/test) to verify logic

Existing tests

[X] Update User Guide, DSL Reference, and Javadoc for public-facing changes

Just implementation detail

[ ] Ensure that tests pass locally: ./gradlew <changed-subproject>:check

./gradlew :jacoco:check fails on master on my machine for project is relocatable, and with this change has the same single failure

Gradle Core Team Checklist

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation
[ ] Recognize contributor in release notes

Hi @anuraaga, while you are right in general about the configurations, we are not yet at the point that we completely deprecated the "legacy" usage. We only did that in the context of the Java plugins and the configurations it adds. I am inclined to wait with a change here until there is a real benefit.
Unless there is a benefit already. Why do you think this is needed to use platforms here? Is it because of the defaultDependencies behavior? If yes, could you please share a complete example of how this change helps there.

Hi @jjohannes - thanks for the context. I agree there's no need in changing without significant benefit.
I will get a code example pushed tomorrow but to describe in words, as you've probably realized I have been on a journey trying to use platforms to solve all my dependency management needs. Your comment on this other issue
https://github.com/gradle/gradle/issues/12016#issuecomment-579177392
made me think applying to resolved, non-consumed configurations is the best practice for achieving this.

Sorry was typing on mobile and accidentally hit the close button (though feel free to close if this PR doesn't make any sense :) )

@anuraaga In a more involved setup, like the Java library plugin, the recommendation is to have configurations that are canBeResolved=false and canBeConsumed=false as buckets for dependencies (e.g. implementation, api). You should use these to declare any kind of dependencies: traditional dependencies to libraries as well as platform dependencies.
In a simple case like this one, it is still ok to use one configuration for everything. I.e. have one configuration to declare, resolve (and possible consume). If we want to refine this further, we should do the full split up into all three dependency types (consumable, resolvable, bucket). But for that this PR does not go far enough. And as said, I think it is not worth the trouble here at the moment.
If you have a concrete example/use case, where the current setup is causing a practical problem, please open a separate issue and we can discuss the best solution.


It would be awesome if we could get some sort of master blackboard or blackboard inheritance where all blackboards can share a key with one blackboard.

Could you describe the context you need this for? Just trying to work out if you want to share blackboard key values between multiple agents at runtime for communication, or just have common settings that can be overridden per agent (speed etc)

Sorry for not responding sooner. This feature would be useful to avoid duplicating information. An example of this would be when want to give all enemies on the map, the position of the player. Instead of sending the position of every single blackboard, we could send it to one master blackboard, and have every enemy inherit from that. I have already implemented a crude version of the system, which allows a behavior tree to inherit from another dummy behavior, tree which acts as the master. What makes this problem so hard is that currently to behavior tree and the blackboard are tied together at once. I can upload my implementation if you like.

I have also designed a node picture inheritance system that operates as a singleton scriptable object. It allows you to assign a picture to all nodes, a sub group, or an individual node, with each level overriding the higher one.


Please explain that "hook:<>" events exist and they allow to subscribe to the Vue component lifecycle events

What problem does this feature solve?
I've just recently learned from the 3rd sources that
vue_component.$once('hook:beforeDestroy', function () { ... } )

can be used to subscribe to the lifecycle events of individual components.
In my case this is very convenient, it enables me to automatically shut down the no longer necessary websocket connection that is used to receive real-time updates on a certain page of my SPA.
Would it be possible to mention this great fact in the official documentation? I couldn't find any reference to it anywhere. There are several mentioning of the word hook in the documentation and they all seem to connote some other unrelated things.
What does the proposed API look like?
A documentation enhancement.

It' true. Well i have finded that on code (core/instance/events.js):
const hookRE = /^hook:/
  Vue.prototype.$on = function (event: string | Array<string>, fn: Function): Component {
    const vm: Component = this
    if (Array.isArray(event)) {
      for (let i = 0, l = event.length; i < l; i++) {
        vm.$on(event[i], fn)
      }
    } else {
      (vm._events[event] || (vm._events[event] = [])).push(fn)
      // optimize hook:event cost by using a boolean flag marked at registration
      // instead of a hash lookup
      if (hookRE.test(event)) {
        vm._hasHookEvent = true
      }
    }
    return vm
  }

  Vue.prototype.$once = function (event: string, fn: Function): Component {
    const vm: Component = this
    function on () {
      vm.$off(event, on)
      fn.apply(vm, arguments)
    }
    on.fn = fn
    vm.$on(event, on)
    return vm
  }

Then i can use hook: with $on and $once. I can put a simple string or use a array with Array.isArray(event) like:
this.$on([ 'hook:mounted' , 'hook:beforeDestroy' ], () => {
  console.log('hi')
})

and when i print the hooks i have finded:
export function callHook (vm: Component, hook: string) {
  // #7573 disable dep collection when invoking lifecycle hooks
  console.log('[hook]:', hook)

[hook]: beforeCreate
[hook]: created
[hook]: beforeMount
[hook]: beforeCreate
[hook]: created
[hook]: beforeMount
[hook]: mounted

but truly i find tests just to:
this.$on('hook:created', created)
this.$on('hook:mounted', mounted)
this.$on('hook:destroyed', destroyed)

I'm not sure if this hasn't been documented because it's not considered public API. In any case, it should be in Vuejs/vuejs.org repo. I couldn't find any open issue there


chore(main): release xcm-router 1.2.0

:robot: I have created a release beep boop
1.2.0 (2024-06-30)
Features

Add support for Polkadot and Kusama bridge (0b935fe)
xcm-router: Add support for EVM signer (569f4fc)
xcm-router: Remove Mangata DEX (b601bbf)

Bug Fixes

Fix WS endpoints timing out (32f34b8)
Properly handle smaller amounts in exchanges (6004c13)
xcm-router: Fix handling small amounts before sending XCM to exchange (ae27b5b)

Miscellaneous Chores

Update Node.js to v20 LTS (4b00caa)
xcm-router: Update all dependencies (b71eaec)
xcm-router: Update README.md (0b24925)

Code Refactoring

xcm-router: Reduce unit tests code duplication & add tests for small amount error (384803d)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/paraspell/xcm-tools/releases/tag/xcm-router-v1.2.0 :sunflower:


multi-db

use https://docs.djangoproject.com/en/3.2/topics/db/multi-db/ please

Hello, can someone guide, how to achieve it? Do we need to implement routers for it?

I don't know if this is still under consideration, but basically using a nullable Int-field for actor instead of reference to the user would do the trick. That would be a great enhancement to the logging too, since deleting a user will cause actor to be set to null. (Which is something i don't think anyone wants!)
I think the content type framework can't be used either, but simply saving the natural key for the content type would be enough and achieve the same thing.
https://docs.djangoproject.com/en/3.2/topics/db/multi-db/#limitations-of-multiple-databases

I also store auth data in auth db and cannot even start server with auditlog enabled.
Please, can we have something similar to this:

class LogEntry(models.Model):
    ...
    actor_id = models.CharField(max_length=255, null=True, ...)
    ...

    @property
    def actor(self)
        try:
            return User.objects.get(pk=self.actor_id)
        except User.DoesNotExist:
            return None

For proper multi-db support, we need to consider it for actor and content_type as mentioned in @robinharms comment and https://github.com/jazzband/django-auditlog/issues/307#issue-928390684.
As the next release would be v3 which is a major release, we can introduce breaking changes if needed.
I would be happy to review a PR if someone likes to work on it


Blacklist jsoo version 3.10.0

It has a breaking bug, see https://github.com/ocsigen/js_of_ocaml/pull/1130

Thanks!


PHP Fatal error: Uncaught Http\Discovery\Exception\DiscoveryFailedException

Upgrading to https://github.com/dotmailer/dotdigital-signup-form/releases/tag/v6.0.3 causes fatal errors on sites using the plugin.
2023/06/21 07:26:21 [error] 9019#9019: *3449761 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Http\Discovery\Exception\DiscoveryFailedException: Could not find resource using any discovery strategy. Find more information at http://docs.php-http.org/en/latest/discovery.html#common-errors
- No valid candidate found using strategy "Http\Discovery\Strategy\CommonClassesStrategy". We tested the following candidates: Nyholm\Psr7\Factory\HttplugFactory, Http\Message\MessageFactory\GuzzleMessageFactory, Http\Message\MessageFactory\DiactorosMessageFactory, Http\Message\MessageFactory\SlimMessageFactory.
- No valid candidate found using strategy "Http\Discovery\Strategy\CommonPsr17ClassesStrategy". We tested the following candidates: .
in /path/to/plugins/dotmailer-sign-up-widget/vendor/php-http/discovery/src/Exception/DiscoveryFailedException.php:41
Stack trace:
#0 /path/to/plugins/dotmailer-sign-up-widget/vendor/php-http/discovery/src/ClassDiscover" while reading response header from upstream, client: <IP_ADDRESS>, server: www.example.co.uk, request: "POST /support-us/make-a-donation/single-donation/?amount=25.00 HTTP/2.0", upstream: "fastcgi://unix:/var/run/php8.1-fpm-example.sock:", host: "www.example.co.uk:23987", referrer: "https://www.example.co.uk/support-us/make-a-donation/single-donation/?amount=25.00"

I am guessing that perhaps a package is missing from your vendor directory in the published ZIP for the release?
Let me know if I can assist with tests.
Thanks

@codepuncher sorry about this. Would have come back to you sooner also, but this issue wasn't forwarded.
OK - I can't actually reproduce this using the tagged 6.0.3 files. Does it happen on widget submit?
Does it still happen for you if set this in composer.json:
"config": {
        "allow-plugins": {
            "dealerdirect/phpcodesniffer-composer-installer": true,
            "php-http/discovery": false
        }
    }

One other thing to try:

remove the vendor folder in our plugin directory
set the require like this:

"require": {
        "php": "^7.4 || ^8.0",
        "dotdigital/dotdigital-php": "2.0.0-RC1",
        "guzzlehttp/psr7": "^2.5",
        "guzzlehttp/guzzle": "^7.7",
        "php-http/curl-client": "^2.3",
        "php-http/message": "^1.16"
    },

run composer update --no-dev in the plugin folder
retry

I've pushed up the above suggestions to a new branch: https://github.com/dotmailer/dotdigital-signup-form/tree/AM/216205-package-update
Perhaps you could try this out on your system at some point? Thanks

@codepuncher Hi again - we've released a new version with namespace scoping. See https://github.com/dotmailer/dotdigital-for-wordpress/commit/a87afef79518912bfeab29d3b50d2ee1b78ba348. A namespace clash could have been responsible for your issue, based on your June 27 comment.


Devices intermittently failing to submit data to integrations. no_channel

Device ID that this was noticed on: 59eafe96-fa7b-4e9c-992a-01db8675e4e9
Over the weekend had a device drop its integrations for periods of time.
Was working fine as a mapper until I noticed it stopped showing up on the map despite the expectation that there should be signal (was boating in San Francisco Bay). Console reported “no_channel” as the integration message. (See Figure below)

The mapper device:

has two integrations, mappers and cargo
has unlimited packet purchasing turned on
briefly regained connection after initially dropping. (Visible in the screenshot below)
had uplinks received throughout the ‘dead periods’ (seen in console)

This has also been noticed by another user in the #mappers discord channel.
https://discord.com/channels/404106811252408320/730801390431240228/904905401466761237

Thanks for the reports!
I have identified 2 issues here:

The database use by Console is having issue due to load, @vicmgs  is working on a patch for this that will be deployed tomorrow.
When Console API are not returning a 200 OK Router decide to take it as an empty response which as the consequence of looking like the device is not attached to any integrations. (It was implemented that way a while back as communication between Router and Console was "perfect", now with load we need to be a little less defensive and retry if we get an error to make sure that integrations are started correctly on Router's side.)

I will be issuing a PR to fix this asap.


CWA does not stop camera session when leaving the Scan screen

Describe the bug
After scanning my QR code and leaving the scan screen, I noticed, that the camera indicator on iOS 14 is still green which means, the app does not stop the camera session correctly.
Expected behaviour
The camera session should be stopped after leaving the scan screen and the green dot should disappear.
Steps to reproduce the issue

Go to 'Informieren & helfen'
Tap on 'Weiter'
Tap on 'Dokument mit QR-Code'
Tap on 'Erlauben'
See green dot indicating that a camera session is started
Try to scan a QR code. (Mine says "Befund wurde nicht gefunden")
Leave the screen by tapping 'Abbrechen'
See the green dot is still present

Technical details

iOS Version: 14.2 beta 4
Device: iPhone XS

Possible Fix
Just stop the camera session.

Deat @trispo,
Thanks for your contribution.
Can you confirm that you are using CWA version 1.5.3?
Actually, I can reproduce your issue in version 1.5.3, and it seems that only closing and re-opening the CWA closes the camera session. I add a screenshot for documentation purposes. We will let you know here when we have opened an internal tracking ticket for the developers.
Best wishes,
DS
Corona-Warn-App Open Source Team

Yes, I confirm.

Interesting, I can't reproduce on my iPhone XR with iOS 14.1 and newest CWA version and also can't reproduce on iPhone 6s with iOS 14.2 Public Beta 4

Just updated to the iOS 14.2 GM. The issue still exists.

Not reproducible from our side.

@thomasaugsten But @dsarkar stated above that he could reproduce this...

Would it help if I provide a video how to reproduce this?

Hi this was a mistake by me I did a wrong path. Thanks for reporting this we will fix this soon.

Dear @trispo, dear community,
Thanks again for your contributions.
We have created a ticket for the bug (Internal Tracking ID: EXPOSUREAPP-3550) in the internal Jira system. The developers will look into this issue now. Any further developments will be communicated here in this Github issue.
Best wishes,
DS
Corona-Warn-App Open Source Team

This issue should be solved, just checked the latest version.

Dear @trispo, @KaiTeuber, thanks for contributing. We will close this issue in that case.
Best wishes,
DS

Corona-Warn-App Open Source Team


Hope to have vs code version

Hope to have vs code version

https://github.com/LiamMorrow/Visual-Studio-Power-Mode

^ That's for Visual Studio, not VSCode

apparently it isn't implementable currently in vscode

Rly, not working in vs code =/


Add COP28 Blog Report

Hi team,
Please could we add a PDF, exported from this Google Doc:
https://docs.google.com/document/d/113o0M98OUy7DVBPPGkIyPivs8iNCg0vqPhPtohu7E20/edit?usp=sharing
to the GO Resources page? Anywhere you think best, as it's only important that the report is linked somehow to IFRC and GO to gain credibility.
This report is to support a blog post that IFRC are putting forward for COP28. Luke approved for me today that we stick the document up there. Ideally, the document should be live as soon as possible, as they're planning on publishing the blog post soon, and this should be live before then. Apologies for adding more work on your plate!
@szabozoltan69
Many thanks,
Hamish

@LukeCaley – what should be the link text, and in which section would it be the most appropriate?
@mariam-yu – any design considerations?

The planned URL is this:
https://prddsgofilestorage.blob.core.windows.net/api/documents/cop28/COP28.pdf
If this location is not appropriate (or you know a better one), let me know. (This is the "General Document" storage on GO admin.)

Thank you, Zoltan! Please could we name it "COP28 'All About That Base' Report". Also, do you think it might be possible to have an URL leading with go.ifrc.org? Or are all resources hosted directly on the storage server for GO?

Well, basically we don't keep any .pdf files on go.ifrc.org, as far as I know.
All the surge documents are on SharePoint, and some of them are on the storage server for GO ( = prddsgofilestorage...).
In this case we can make an exception if really important. Or maybe we can create an URL on go.ifrc.org, which leads to a page containing the link.

I think directing users to the GO resources page and letting them find it among the available links is good enough, thanks @szabozoltan69

So this will be it:

– leading to https://prddsgofilestorage.blob.core.windows.net/api/documents/cop28/COP28.pdf

The Staging release was done ( https://go-stage.ifrc.org/resources – ctrl+F5 to be sure of the reload), now the Prod is coming...

Deployed to Prod nicely. https://go.ifrc.org/resources (CTRL+F5)


Integration Test - Release - 2018/07/06 15:16:46

Auto create for integration test. AnotherAuthorUpdatedArticleFlow

@PRMergerTest1 : Thanks for your contribution! The author, @v-caxian, has been notified to review your proposed change.


Leetcode Website Clone

Description
Project title
LeetCode Website Clone
Description
LeetCode is the best platform to help you enhance your skills, expand your knowledge and prepare for technical interviews.
Stack:

[x] Html
[x] CSS
[x] JavaScript
[x] ReactJS

Code of Conduct

[X] I follow Contributing Guidelines of this project.

Assigned u @SupriyaGembali

hey, @SupriyaGembali  this website clone has been found to be under plagiarised content by the team.If you  have any proof of it being genuine kindly share the proof ,otherwise this will be labeled invalid

@SupriyaGembali please give the update or we'll close the issue

@whiteHatpro already merged

@gurjeetsinghvirdee this issue was the not closed so i didn't get it right


Pass in both ".js" and ".jsx" files to Relay Compiler

With the current settings, it will only compile GraphQL fragments jsx files for dev build. With this PR, it'll do both js and jsx.

Thank you very much for noticing and fixing. Since package.json is compiled from package.part.json I will also take the script modifications you created and place them in the respective package.part.json. I will be able to do this tomorrow.


run the mungedoc tests in travis

@thockin
Let's reduce the chance of this getting merged in a non-passing state.

Does it matter whether this runs before verify-gendocs or after?

LGTM


hangs up at https://*********/signin/challenge/sl/password

i've got everything up and running but when creds are entered in to site it does not redirect to the rc.
the browser just keeps waiting for response from server

Hard for me to help with so little information. You will have to debug if this is nginx stalling the connection or a problem with web browser. Check out web developer tools in Chrome.

Failed to execute ‘postMessage’ on ‘DOMWindow’: The target origin provided (‘https://accounts.google.com’) does not match the recipient window’s origin (‘https://my.site’).

I had a problem with my ssl cert on the accounts.my.site issue resolved

Great! Glad that worked out for you.

hi, sorry for opening this issue again.
i have same as that error and all of my certs are ok. the error is:
Failed to execute ‘postMessage’ on ‘DOMWindow’: The target origin provided (‘https://accounts.google.com’) does not match the recipient window’s origin (‘https://mysite.com’).
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://accounts.mysite.com/_/common/diagnostics/?hl=en&_reqid=37518&rt=j. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).