CDM detection and playback

Hi all,
So recently we noticed on Chrome Win 10 64bit that the CDM was not being downloaded.
This was solved on the device by restarting Chrome and heading to the chrome://components and manually downloading the CDM.
My understanding is that the CDM should be downloaded on demand. Then we need to check back every so often to see if CDM has downloaded and playback is possible. Is this correct, I have just headed to https://shaka-player-demo.appspot.com/ and I have not managed to get this to work.
Chrome bug or am I missing something?
Update: It seems waiting a while 10 minutes seems to help.
This is a very loose contract, any recommendations about automating this process?
Related: Given that we have some content that is Widevine encoded and some that is Playready encoded, am I correct that detecting the available mediakeys is the wrong way to detect the browsers EME capability?
Thanks in advance

RE: Missing WV CDM
On a fresh install of Chrome desktop browser, the Widevine CDM download
will kick off 6 mins later.  This shouldn't be a problem for existing
Chrome installs, only for a new Chrome installation.  We are looking at
improving this situation and have the CDM immediately available in a near
future version of Chrome.
On Wed, Feb 17, 2016 at 5:46 PM, Mark Sargent<EMAIL_ADDRESS>wrote:

Hi all,
So recently we noticed on Chrome Win 10 64bit that the CDM was not being
downloaded.
This was solved on the device by restarting Chrome and heading to the
chrome://components and manually downloading the CDM.
My understanding is that the CDM should be downloaded on demand. Then we
need to check back every so often to see if CDM has downloaded and playback
is possible. Is this correct, I have just headed to
https://shaka-player-demo.appspot.com/ and I have not managed to get this
to work.
Chrome bug or am I missing something?
Update: It seems waiting a while 10 minutes seems to help.
This is a very loose contract, any recommendations about automating this
process?
Related: Given that we have some content that is Widevine encoded and some
that is Playready encoded, am I correct that detecting the available
mediakeys is the wrong way to detect the browsers EME capability?
Thanks in advance
—
Reply to this email directly or view it on GitHub
https://github.com/google/shaka-player/issues/287.

Thanks Alex.
Ok so it is reasonable that requestMediaKeySystemAccess should tell us if the key system is supported. We don't need to attempt to play some content, to trigger the CDM to download at which point requestMediaKeySystemAccess will advertise that the CDM is available.

It seems that the CDM download in Chrome is started independent of anything that happens in JavaScript.  Also, the Player can only ask whether or not the CDM is available now, not whether it will be downloaded later.
So until the CDM is downloaded, trying to play protected content on Chrome will fail due to Widevine not yet being available.
Sorry for the inconvenience.

@joeyparrish thanks for the clarification:)


Text disappearing in Neovim

The issue occurs on MacOS, using Neovim inside of tmux. Alacritty version 0.32.
When I edit code in Neovim all text below my cursor disappears. This happens at seemingly random moments. When I move my cursor the text reappears and when I move it again it disappears again.
Please tell me if I can provide any more information on the issue.

https://github.com/jwilm/alacritty/issues/2353


APA102

Hi guys,
I am new to this and I found a few things first of all I have a 4 wire cable called Dotstar. I got the APA102. Now I want to use this script with Hypercon to make a bias and audio led strip. I installed the Adafruit dotstar and Adafruit Blinka (because apparently you need those). But I have no clue on how to get these things working. I know which GPIO pins I need but don't know how to get the software working. I got a RPI4 and RPI3b. So I can chose 1 of those. Can somebody help me out a step by step guide. Because the WS281x software (obviously doesn't work for the apa102).

If you have an apa102 library that supports setting pixel colors via r,g,b then you can import the library and replace the line at
RgbColor pixel((uint8_t)packetBuffer[i+1], (uint8_t)packetBuffer[i+2], (uint8_t)packetBuffer[i+3]);//color
With your function.

@joeybab3 Thanks for you response! As is said I am kinda nooby with this so would you mind explaining. I have successfully installed the apa102-pi library "https://github.com/tinue/apa102-pi".
In the link, they say I need to install Adafruit_Python_GPIO, but when I go to the site they say that is has been deprecated for Adafruit-Blinka. So my first question do I need to install the Adafruit_Python_GPIO or not? Secondly, how do I change it with my function and where can I find the file to change it? So my APA102 would work with a CLK and DATA wire.
Thanks in advance!

@Suspect-byte I do not own an APA102 strip so I can't really test for it. Check #162 it seems they discussed it a bit there as well.

Closing this as it's already addressed in #162, if you have more questions please ask them there.


Add ACTION_DISK_INFO and ACTION_INFO to a314fs

This update replaces the placeholder values for ACTION_DISK_INFO and ACTION_INFO with actual values from the Raspberry OS.
The values are then used by the Amiga OS to convey the amount of free and used space on the PiDisk device.

After some discussion there were more issues identified that has to be resolved before a solution can be presented. Because of this, the PR is now closed, and instead an issue will be raised detailing more about the various aspects of this feature.


Catch InvalidParameterException on registering module event listeners to work on FLIR cameras

Allow cameras to work - problem described in issue #408
FLIR  cameras seem to throw an InvalidParameterException on startup to everything except _remote_device when registering events. This seems to allow normal functionality. I don't know if there are other unintended consequences.

Chiming in to say this is a great idea, we applied it for our use as well. We'd love to see this in the actual library so we don't have to hand edit our versions.

This work for me to use FLIR cams


Browser support / compatibility

Would it be possible to list the browsers which support this package? For example can this work server-side on node or is it primarily client side focused?

Sure. Actually it should run anywhere, where tensorflow.js runs. It's primarily focused for clientside applications. Haven't tried to run this in node. Although it should be possible, I think tfjs-core stuff cannot be run on the native gpu and running this on the CPU would be pretty damn slow.


/localization-admin returns an empty html page (after 11 > 12 upgrade?)

Version: 7.5.1
CMS Version: 12.15.0
We're in the process of updating from CMS 11 to CMS 12, and noticed the DbLocalizationProvider plugin no longer works in the CMS. /localization-admin returns 200, but with an empty iframe:
''
We've re-followed the steps in getting started but to no avail

Hej, this is super strange. Do you have snippet of startup code (registrations and usage of the services)?


Remove embeded jquery and use jquery plugin

Remove embeded jquery and use jquery plugin  to avoid big memory leak in Delivery Pipeline View
Try this step to reproduce the memory leak:
Reproduce step
1- Install clean Jenkins ver. 1.625.1
2- Install all plugin update
3- Install pluging
"Job DSL",
"Build Pipeline Plugin",
"Delivery Pipeline Plugin",
"Groovy"
4- Create new FreeStyle Job with name "Seed" and this step :
*** Add Build Step for Process Job DSLs with this dsl script ***
// Start dsl script
def stages = ['Commit', 'Acceptance', 'Testing', 'Staging', 'Production']
def JOB_BY_STAGE = 5
def jobCount = 0
for(stage in stages)
{
    for (i = 0; i < JOB_BY_STAGE; i++)
    {
        jobCount++
        def jobName = "Job" + jobCount
        def nextJobName = "Job" + (jobCount + 1)
        freeStyleJob(jobName)
        {
            deliveryPipelineConfiguration(stage, jobName)
            steps {
                //systemGroovyCommand("println 'Hello world'")

                if (jobCount < (JOB_BY_STAGE * stages.size())){
                    downstreamParameterized {
                        trigger(nextJobName, 'UNSTABLE_OR_BETTER') {
                        }
                    }
                }
            }
        }
    }
}
deliveryPipelineView("TestLeak DeliveryPipelineView") {
    pipelineInstances(50)
    enableManualTriggers()
    showAggregatedPipeline()
    showChangeLog()
    showDescription()
    showPromotions()
    allowPipelineStart()
    allowRebuild()
    pipelines {
        component("Job pipeline", "Job1")
    }
}
// End dsl script

*** Add system Groovy script build step after dsl step ***
// Start groovy script
def project = jenkins.model.Jenkins.instance.getItem("Job1")
def TARGET_PIPELINE_NUMBER = 50
for (i = 0; i < TARGET_PIPELINE_NUMBER; i++)
{
    println "Starting pipeline " + (i + 1) + " / " + TARGET_PIPELINE_NUMBER
    def future = project.scheduleBuild2(0)
    def anotherBuild = future.waitForStart()
}
// End groovy script

5- Set waiting period to 0 "http://localhost:8080/configure" and executor number to 5
6- Run seed job
7- Go "TestLeak DeliveryPipelineView" View and see no leak
8- Install "extended-choice-parameter-plugin" and see big browser memory leak

Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests

Is is also possible to include the js in header.jelly only if the plugin should be displayed?

Does the merge is considered

+1! came to this plugin looking to patch exactly this, good job @pascalmartin !

:+1: , but needs an integration with the master branch


Add styling for tabs

Here is how tabs look. The active tab has a black background, the inactive ones a slightly lighter one.

Fix for https://github.com/monkeyjunglejuice/matrix-emacs-theme/issues/6


[WIP] riot-desktop: init at 1.0.4

Motivation for this change
This introduces a package for the Electron version of the Riot instant messaging client.
This PR is heavily inspired by @Ralith's https://github.com/Ralith/riot-electron-nix.
Upstream is switching from npm to yarn, so I attempted to use yarn2nix to obtain a nix expression for all the dependencies.
Yarn seems to complain about not being able to download dependencies even though they are present in the freshly-built offline cache. I'm not sure whether I've hit a bug in Yarn. It was a yarn2nix version mismatch.
New problems have been unlocked:
❯ nix-build -E 'with import <nixpkgs> { }; callPackage ./riot-desktop.nix { }'
these derivations will be built:
  /nix/store/0fd7zfkpw7bnajrwiy38v4k6g528b3l2-riot-desktop.drv
building '/nix/store/0fd7zfkpw7bnajrwiy38v4k6g528b3l2-riot-desktop.drv'...
unpacking sources
unpacking source archive /nix/store/2i6vn4zh02d1075lvhrhbg5fz4cmkw4q-source
source root is source
patching sources
configuring
building
yarn run v1.9.4
warning You don't appear to have an internet connection. Try the --offline flag to use the cache for registry queries.
warning Skipping preferred cache folder "/homeless-shelter/.cache/yarn" because it is not writable.
warning Selected the next writable cache folder in the list, will be "/build/.yarn-cache-1000".
$ yarn build:js-sdk && yarn build:react-sdk && yarn reskindex && yarn build:res && yarn build:bundle --offline --frozen-lockfile --ignore-engines --ignore-scripts
warning Cannot find a suitable global folder. Tried these: "/usr/local, /homeless-shelter/.yarn"
warning You don't appear to have an internet connection. Try the --offline flag to use the cache for registry queries.
warning Skipping preferred cache folder "/homeless-shelter/.cache/yarn" because it is not writable.
warning Selected the next writable cache folder in the list, will be "/build/.yarn-cache-1000".
$ node scripts/yarn-sub.js matrix-js-sdk start:init
warning Cannot find a suitable global folder. Tried these: "/usr/local, /homeless-shelter/.yarn"
warning You don't appear to have an internet connection. Try the --offline flag to use the cache for registry queries.
warning Skipping preferred cache folder "/homeless-shelter/.cache/yarn" because it is not writable.
warning Selected the next writable cache folder in the list, will be "/build/.yarn-cache-1000".
$ babel -s -d lib src
warning Cannot find a suitable global folder. Tried these: "/usr/local, /homeless-shelter/.yarn"
Error: EACCES: permission denied, open 'lib/ReEmitter.js.map'
    at Object.fs.openSync (fs.js:646:18)
    at fs.writeFileSync (fs.js:1299:33)
    at outputFileSync (/nix/store/x37l0acmjqws5ycixk4fvdrvgwq3vg11-riot-web-modules-1.0.3/node_modules/output-file-sync/index.js:45:3)
    at write (/nix/store/x37l0acmjqws5ycixk4fvdrvgwq3vg11-riot-web-modules-1.0.3/node_modules/babel-cli/lib/babel/dir.js:30:7)
    at handleFile (/nix/store/x37l0acmjqws5ycixk4fvdrvgwq3vg11-riot-web-modules-1.0.3/node_modules/babel-cli/lib/babel/dir.js:43:7)
    at /nix/store/x37l0acmjqws5ycixk4fvdrvgwq3vg11-riot-web-modules-1.0.3/node_modules/babel-cli/lib/babel/dir.js:61:9
    at Array.forEach (<anonymous>)
    at handle (/nix/store/x37l0acmjqws5ycixk4fvdrvgwq3vg11-riot-web-modules-1.0.3/node_modules/babel-cli/lib/babel/dir.js:59:29)
    at Array.forEach (<anonymous>)
    at module.exports (/nix/store/x37l0acmjqws5ycixk4fvdrvgwq3vg11-riot-web-modules-1.0.3/node_modules/babel-cli/lib/babel/dir.js:69:15)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
child_process.js:650
    throw err;
    ^

Error: Command failed: yarn start:init
    at checkExecSyncError (child_process.js:607:13)
    at Object.execSync (child_process.js:647:13)
    at Object.<anonymous> (/build/source/scripts/yarn-sub.js:18:15)
    at Module._compile (module.js:653:30)
    at Object.Module._extensions..js (module.js:664:10)
    at Module.load (module.js:566:32)
    at tryModuleLoad (module.js:506:12)
    at Function.Module._load (module.js:498:3)
    at Function.Module.runMain (module.js:694:10)
    at startup (bootstrap_node.js:204:16)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
builder for '/nix/store/0fd7zfkpw7bnajrwiy38v4k6g528b3l2-riot-desktop.drv' failed with exit code 1
error: build of '/nix/store/0fd7zfkpw7bnajrwiy38v4k6g528b3l2-riot-desktop.drv' failed

Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

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

❯ nix-build -E 'with import <nixpkgs> { }; callPackage ./riot-desktop.nix { }'
these derivations will be built:
  /nix/store/0fd7zfkpw7bnajrwiy38v4k6g528b3l2-riot-desktop.drv
building '/nix/store/0fd7zfkpw7bnajrwiy38v4k6g528b3l2-riot-desktop.drv'...
unpacking sources
unpacking source archive /nix/store/2i6vn4zh02d1075lvhrhbg5fz4cmkw4q-source
source root is source
patching sources
configuring
building
yarn run v1.9.4
warning You don't appear to have an internet connection. Try the --offline flag to use the cache for registry queries.
warning Skipping preferred cache folder "/homeless-shelter/.cache/yarn" because it is not writable.
warning Selected the next writable cache folder in the list, will be "/build/.yarn-cache-1000".
$ yarn build:js-sdk && yarn build:react-sdk && yarn reskindex && yarn build:res && yarn build:bundle --offline --frozen-lockfile --ignore-engines --ignore-scripts
warning Cannot find a suitable global folder. Tried these: "/usr/local, /homeless-shelter/.yarn"
warning You don't appear to have an internet connection. Try the --offline flag to use the cache for registry queries.
warning Skipping preferred cache folder "/homeless-shelter/.cache/yarn" because it is not writable.
warning Selected the next writable cache folder in the list, will be "/build/.yarn-cache-1000".
$ node scripts/yarn-sub.js matrix-js-sdk start:init
warning Cannot find a suitable global folder. Tried these: "/usr/local, /homeless-shelter/.yarn"
warning You don't appear to have an internet connection. Try the --offline flag to use the cache for registry queries.
warning Skipping preferred cache folder "/homeless-shelter/.cache/yarn" because it is not writable.
warning Selected the next writable cache folder in the list, will be "/build/.yarn-cache-1000".
$ babel -s -d lib src
warning Cannot find a suitable global folder. Tried these: "/usr/local, /homeless-shelter/.yarn"
Error: EACCES: permission denied, open 'lib/ReEmitter.js.map'
    at Object.fs.openSync (fs.js:646:18)
    at fs.writeFileSync (fs.js:1299:33)
    at outputFileSync (/nix/store/x37l0acmjqws5ycixk4fvdrvgwq3vg11-riot-web-modules-1.0.3/node_modules/output-file-sync/index.js:45:3)
    at write (/nix/store/x37l0acmjqws5ycixk4fvdrvgwq3vg11-riot-web-modules-1.0.3/node_modules/babel-cli/lib/babel/dir.js:30:7)
    at handleFile (/nix/store/x37l0acmjqws5ycixk4fvdrvgwq3vg11-riot-web-modules-1.0.3/node_modules/babel-cli/lib/babel/dir.js:43:7)
    at /nix/store/x37l0acmjqws5ycixk4fvdrvgwq3vg11-riot-web-modules-1.0.3/node_modules/babel-cli/lib/babel/dir.js:61:9
    at Array.forEach (<anonymous>)
    at handle (/nix/store/x37l0acmjqws5ycixk4fvdrvgwq3vg11-riot-web-modules-1.0.3/node_modules/babel-cli/lib/babel/dir.js:59:29)
    at Array.forEach (<anonymous>)
    at module.exports (/nix/store/x37l0acmjqws5ycixk4fvdrvgwq3vg11-riot-web-modules-1.0.3/node_modules/babel-cli/lib/babel/dir.js:69:15)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
child_process.js:650
    throw err;
    ^

Error: Command failed: yarn start:init
    at checkExecSyncError (child_process.js:607:13)
    at Object.execSync (child_process.js:647:13)
    at Object.<anonymous> (/build/source/scripts/yarn-sub.js:18:15)
    at Module._compile (module.js:653:30)
    at Object.Module._extensions..js (module.js:664:10)
    at Module.load (module.js:566:32)
    at tryModuleLoad (module.js:506:12)
    at Function.Module._load (module.js:498:3)
    at Function.Module.runMain (module.js:694:10)
    at startup (bootstrap_node.js:204:16)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
builder for '/nix/store/0fd7zfkpw7bnajrwiy38v4k6g528b3l2-riot-desktop.drv' failed with exit code 1
error: build of '/nix/store/0fd7zfkpw7bnajrwiy38v4k6g528b3l2-riot-desktop.drv' failed

From #riot:matrix.org:

Dave Official Matrix.org Team:
Notkea: so riot's build script does unconventional things in that it builds js-sdk and react-sdk too
so that when you're developin those projects stay up to date
and unfortunately I suspect that's biting you here because the nixos package build thingy is, very reasonably, not letting it write over a file from another package
so I suspect if you ran the last 3 steps of 'build' (ie. yarn reskindex && yarn build:res && yarn build:bundle ) it would work
although obviously be depending on details of the build system and therefore prone to breaking when we change stuff
also caution: it's possible we might change bit of the build process like this in the not-too-distant future

The evaluation seems to fail on ofborg: https://gist.github.com/GrahamcOfBorg/4198d18d361f0190654ab47e50e7ac3f
cannot read '/nix/store/i83lc95gk9bdmb7lmf1rfym2yhbr99bf-source/electron_app/package.json', since path '/nix/store/m4qpz1ivkbirdi34smph8jf4m0mldllm-source.drv' is not valid, at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/eval-0-gleber.ewr1.nix.ci/lib/trivial.nix:245:24

It seems to work fine on my machine using nix-build -E 'with import <nixpkgs> { }; callPackage ./riot-desktop.nix { }'.

@bachp said:

Would it be possible to share more with the riot-web package?

The riot-desktop package is already based on the riot-web expression and only builds what's necessary to wrap it.

I think this is ready to be merged.

@pacien Thanks a lot for your contribution :sparkle:


Submitting Format Changes

Reformatted the classes in the "storage/sis-storage/src/main/java/org/apache/sis/index/tree/" directory by changing the 2-space indentations to 4-space indentations.

In QuadTreeWriter:
Removed the System.out.println statements.
Removed the catch (IOException) statement and added a throws IOException in method signature instead.

Hello Kelsea
Thanks for this cleaning work! But this pull request seems to contain the addition of two files (Ex2.2.rtf and Ex5.8.circ), but I do not see changes in Java classes. Could it be that the changes have not been pushed? Can you try to execute "git log" in the directory of your SIS clone and tell us the 3 or 4 first records that you see?

Hi Martin,
That's strange. I don't know where those files came from. When I executed "git log", here were the records that I saw:
commit 29ffb6e9408fbd679aaaf7973e6db79f461087e5
Merge: 9e8701f f221355
Author: Kelsea Flores<EMAIL_ADDRESS>Date:   Mon Aug 6 20:12:57 2018 -0700
Merge https://github.com/apache/sis
Merging master branch with my local branch.

commit f2213552e7516c40a02968776bb9462ffb928c6a
Merge: 7288315 11d4e97
Author: Martin Desruisseaux<EMAIL_ADDRESS>Date:   Mon Aug 6 14:09:24 2018 +0200
Merge branch 'geoapi-3.1'.

commit 11d4e97d3ee0bc7d6afe5f081ac43081530eda1d
Merge: d281917 c028527
Author: Martin Desruisseaux<EMAIL_ADDRESS>Date:   Mon Aug 6 14:06:06 2018 +0200
Merge branch 'geoapi-4.0' into geoapi-3.1.

commit c0285273453128352190ca5c584181a4d8a987eb

Looking at the commit referenced in the log message, I did not found modifications in the index/tree files. Maybe it would be easier to restart from a fresh copy? What about the following steps?

Save somewhere the files that you modified in the storage/sis-storage/src/main/java/org/apache/sis/index/tree/ directory.
Delete the https://github.com/kelseaflores/sis repository.
Go on https://github.com/apache/sis and click on the "Fork" button in the upper-right corner.
In the popup window, select your account. This will create a new https://github.com/kelseaflores/sis repository in replacement of the one we deleted in step 2.
Overwrite the files in the storage/sis-storage/src/main/java/org/apache/sis/index/tree/ directory with the ones that you saved at step 1.

I've completed the first 4 steps, but how do I overwrite the files in the storage/sis-storage/src/main/java/org/apache/sis/index/tree/ directory with the ones I saved in step 1? I just want to make sure I'm doing it correctly.

I suggest to use the command line. Ley say that you saved your work in /home/mydirectory/backup/. Then from the directory containing the new clone:
cd storage/sis-storage/src/main/java/org/apache/sis/index/tree/
cp /home/mydirectory/backup/*.java .

The commands may be different on Windows (I think it is chdir instead of cd, maybe copy instead of cp).

I've overwritten the files and executed "git add -u", but when I execute "mvn install", the tests fail.

Can you post the error message? Not necessarily the whole Maven output, but at least the lines having the [ERROR] header.

Here are the lines with the [ERROR] header:
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/Users/kelseaflores/Desktop/summer_project/sis/storage/sis-storage/src/main/java/org/apache/sis/index/tree). Please verify you invoked Maven from the correct directory. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException

The mvn install command should be executed from the /Users/kelseaflores/Desktop/summer_project/sis/ directory. More generally, it needs to be executed from a directory containing a pom.xml file (it can be the storage/sis-storage/ sub-directory if you do not want to build the whole project).

When i ran it from /Users/kelseaflores/Desktop/summer_project/sis/, the tests still fail. Here are the error messages:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0:check (default) on project sis-storage: You have 11 Checkstyle violations. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn  -rf :sis-storage

On top of those error messages, you should have a list of files where checkstyle violations occurred. It may be minor things like trailing spaces at end of lines. It may seems exaggerated to make the build fail for such a minor thing as extraneous space at end of lines, but the reason for that is that spaces added or removed at end of line looks invisible in the editor, but are still identified by source versioning system (Git, SVN, …) as a change. So this requirement avoid to have lines falsely flagged as modified when developers commit.

I figured out what the violations were. When I was reformatting the indentations in the files from 2 spaces to 4, Eclipse made the 4 spaces into tabs. I tried changing the formatting preferences in Eclipse so that the tabs are replaced with 4 spaces, but my preference changes are not being applied to the code.

You may try to indent the code by 4 more spaces, then de-indent it. It may work.

The tests are passing now. I went to each file and manually replaced all of the tabs with 4 spaces.

You pushed at which URL? The commit that I see at https://github.com/kelseaflores/sis/commit/d55b9b85ba1988748ff18697dba49d8a8ce4b40c seems to be something else.

"Git status" says:
nothing added to commit but untracked files present (use "git add" to track)

When clicking on the "commit" button, we can see a commit named "Committing formatting changes - replacing 2 space indentations with 4 space indentations". But when clicking on that commit, what we see (the link posted in my previous comment) seems another work.
What are the untracked files listed by Git? And what is the output of git log? (only the 2 or 3 first records).

All of the untracked files were all of the other files and directories in my Desktop directory.
And the output of "git log" is:
commit d55b9b85ba1988748ff18697dba49d8a8ce4b40c
Author: Kelsea Flores<EMAIL_ADDRESS>Date:   Sun Aug 12 12:19:58 2018 -0700
Committing formatting changes - replacing 2 space indentations with 4 space indenations

commit 29ffb6e9408fbd679aaaf7973e6db79f461087e5
Merge: 9e8701f f221355
Author: Kelsea Flores<EMAIL_ADDRESS>Date:   Mon Aug 6 20:12:57 2018 -0700
Merge https://github.com/apache/sis
Merging master branch with my local branch.

commit f2213552e7516c40a02968776bb9462ffb928c6a
Merge: 7288315 11d4e97
Author: Martin Desruisseaux<EMAIL_ADDRESS>Date:   Mon Aug 6 14:09:24 2018 +0200
Merge branch 'geoapi-3.1'.

commit 11d4e97d3ee0bc7d6afe5f081ac43081530eda1d

It is strange that Git see files of your Desktop directory. Looking at the commits reported by git log, I do not see any modification in sis-storage/…/index/. I do not see modifications on https://github.com/kelseaflores/sis/tree/master/storage/sis-storage/src/main/java/org/apache/sis/index/tree neither.
Maybe we should try again in another way. From the command line:
cd <any sub-directory. Make sure you are in an empty sub-directory>
git clone https://github.com/apache/sis
cd sis
git push --force https://github.com/kelseaflores/sis

Note: this will discard your commits, but those commits seem accidental anyway. The intent is to verify that those steps work before to move to next step.

Okay, just completed those steps.

Now I suggest to open the storage/sis-storage/src/main/java/org/apache/sis/index/tree folder and copy there the classes that you modified. After the copy, the following command should give a list of modified Java files:
git status

Thanks. Then we can try:
git add -u
git commit -m "<the message>"
git push

After those command have been executed, we should see the modified files in your repository. At that point we can try a new merge request again.

When I executed "git push" it said:
remote: Permission to apache/sis.git denied to kelseaflores.
fatal: unable to access 'https://github.com/apache/sis/': The requested URL returned error: 403
So I executed "git push https://github.com/kelseaflores/sis" and it said:
Everything up-to-date
Does that mean my modified files were correctly pushed to GitHub?

I still do not see the file on GitHub. What does git branch said? Then git status?

"git branch" is saying: * master
"git status" is saying:
Untracked files:
(use "git add ..." to include in what will be committed)
QuadTree.java
QuadTreeData.java
QuadTreeNode.java
QuadTreeWriter.java

nothing added to commit but untracked files present (use "git add" to track)

In which directory are those files? Are they in the root directory (I mean, do you see LICENSE and NOTICE files in the same directory than QuadTree.java, QuadTreeNode.java, etc.)?

Yes, I see LICENSE and NOTICE files in the same directory. Are the files in the wrong directory?

Yes, the files need to be moved. You can do that with the following command:
mv *.java storage/sis-storage/src/main/java/org/apache/sis/index/tree/

Then git status should list those files as modified files (as opposed to untracked files). This is because we replaced existing files (which were already tracked) by the new ones. You can then execute git add -u, then git status again. The files should not be listed as files staged for commit. Before to commit, I suggest to run mvn install for making sure that tests pass. Then git commit and git push to your repository as you did before.

The tests passed and I was able to push my code to GitHub!

Cool! I can see your work on https://github.com/kelseaflores/sis/tree/master/storage/sis-storage/src/main/java/org/apache/sis/index/tree :) Then you can close this pull request and create a new one.

Doing that now. Thank you so much for helping me through that!

You are welcome, thanks for your contribution!
(for the record: this merge request is superseded by #10).


Incorrect output/Encoding

After the command with the "!" sign, a set of characters is output instead of text.
Input:
!git clone https://github.com/Lasttrader/DA_repo
Output:
"git" �� ���� ����७��� ��� ���譥�
��������, �ᯮ��塞�� �ணࠬ��� ��� ������ 䠩���.
How to fix it?

I solved this problem in the region settings using unicode.


Is31fl3216a

Initial driver for https://lumissil.com/assets/pdf/core/IS31FL3216A_DS.pdf

Hi @morandg,
Thanks for this driver. I'll review it during the next week.
Simon

@simonguinot thanks for your pertinant and useful feedbacks, I hope it's better now :blush:

Let's add more eyes for review here.

Alright, I hope this is better now!

I had a dream: That my awesome LED driver got merged into mainline :laughing:
Trolls apart, thanks for the constructive feedbacks, still learning new stuff :+1: !


SyntaxError:

Select a bot: 8
Traceback (most recent call last):
File "bots/misc/account-creator/account_creator.py", line 18, in
from config import *
File "./././config.py", line 5
SyntaxError: Non-ASCII character '\xe2' in file ./././config.py on line 5, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
Traceback (most recent call last):
File "start.py", line 149, in
p = subprocess.Popen([pythonCommand,'bots/misc/account-creator/account_creator.py',enp[0],enp[1],proxy_list[proxy_number]])
IndexError: list index out of range

Same issue here

Python version

Just realized I ran it using "python" (which starts python 2.7.x) instead of "python3" (my main installation of python, version 3.7.3)

Should also edit the python command in the config, I’m not sure if it works
on 3.7
On Thu, Oct 17, 2019 at 2:01 PM Alex P<EMAIL_ADDRESS>wrote:

Just realized I ran it using "python" (which starts python 2.7.x) instead
of "python3" (my main installation of python, version 3.7.3)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Merubokkusu/discord-spam-bots/issues/38?email_source=notifications&email_token=ADLAGJZ65WE37DWZCV3ONYLQPCR6NA5CNFSM4JBUZC42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBQ7XLY#issuecomment-543292335,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADLAGJ4NUN2I3QWPWI5HEE3QPCR6NANCNFSM4JBUZC4Q
.

I am having another issue, not the one mentioned, could it be possible to contact you privately as to not ruin the thread?
On 17 Oct 2019, 19:15 +0200, Liam<EMAIL_ADDRESS>wrote:

Python version
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

Okay thank you :)


Memory dataset experiments

We need comparison test to find most effective way to allocate and hold datasets in V8 memory. Try to compare: Object, Array, Set, Map, TypedArrays (Int8Array, Uint8Array, Int16Array, Uint16Array, Int32Array, Uint32Array, Float32Array, Float64Array), Linked lists. It is better to use upgrade our testing framework for performance tests and memory allocation test https://github.com/metarhia/maojian
@primeare and @DzyubSpirit  can help you I hope

Try to use Set/Map of Buffer where Buffer is a serialized object. We need no read/write to this Buffer but we can hold indexes and/or object copies to read/write. It's good for performance if we search needed buffers using different data structures and concatenate buffers then send to network. So no serialization needed only quick concatenation.

If we serialize an object into a buffer, how should we find some fields in this object / filter object without deserialization?
I created an algorithm for testing the generation of different data structures. I correctly understood the structure and method of storing an object in different data structures? https://github.com/bugagashenkj/global


Evaluate autogenerating Typescript types from GraphQL types

@rileyhgrant I looked back at my previous attempt to generate Typescript from GraphQL & yes I used the same Apollo codegen tool you described


GEODE-7849: change release urls from www.apache.org/dist/ to downloads.apache.org

As requested by Apache

Comment & question: This will affect all the links on the Geode website's Releases page (https://geode.apache.org/releases/), source https://github.com/apache/geode-site/tree/master/website/content/releases/index.html. What's the best way to coordinate changes to that page with this PR? Separate JIRA & PR, or add those changes to this PR?

@davebarnes I’ll invite you to my fork, no reason we can’t do this all together


Make software citable

Get a DOI for each release.
Refs:
[1] https://citation-file-format.github.io
[2] https://docs.github.com/en/repositories/archiving-a-github-repository/referencing-and-citing-content

We weren't intending on having releases, per se. What is your use case for having versioned DOIs for the RAIDO software, versus a single DOI that refers to all versions of RAIDO/RAIDO the service?

Note that we do plan to offer citability of raid data exports.
When a researcher wants to work with raids, it is expected that they will request a data export.
Then we'll (asynchronously) process that data export and upload it to Zenodo, which will assign a DOI for that specific data extract.  Note that we've no previous experience integrating with Zenodo.  This plan is predicated on the hope Zenodo will support and allow us to use it in this way.

That's great that you're planning regular (RAiD) data releases. In the spirit of Open Science / FAIRness, one should embraces all research assets including software (RAIDO) in addition to data and peer-reviewed articles. Please consider: https://fair-software.eu/.

In another context I have been speaking with Aleem Uddin here at the ARDC about software citation, I'll ask him...


Please, add support for Segmind Distilled diffusion models

I found ckpt versions of Segmind Distilles diffusion ( https://github.com/segmind/distill-sd, https://huggingface.co/segmind ) models:
https://huggingface.co/ClashSAN/small-sd/resolve/main/smallSDdistilled.ckpt
https://huggingface.co/ClashSAN/small-sd/resolve/main/tinySDdistilled.ckpt
I ran convert.py script from your repo to make ggml f32 quant for tinySDdistilled.ckpt. Then i tried to launch generated ggml in stable-diffusion.cpp but got this error:
[ERROR] stable-diffusion.cpp:2898 - tensor 'model.diffusion_model.output_blocks.1.0.in_layers.0.weight' has wrong shape in model file: got [1920, 1, 1, 1], expected [2560, 1, 1, 1]

@JohnClaw actually I think that to get a really small memory footprint, you can instead quantize additional layers on the already well-trained models available. It takes far less effort, and good results from dynamic shapes already available, when you use this model to generate portraits, their is a high change the faces are duplicated. An int8 post quantized model running in onnx, at 256x192 will already take 0.7gb maximum.
The models with 22% at 4bit already have good results: its no different from the f16 for small sizes. with the int8 models, it is more ugly.
looking at these results, they are already pretty good for a sticker generator or profile picture generation, maybe with a pixelization option you can fit in an rpg game.
192x128 14 steps q4_0

It's probably better to pick quantization settings for existing models than work with distilled models because they will do very similar things.

If it ever goes below 1gb, since this compiles successfully in 32bit, Tiny pictures could probably run on any digital device in existence, old androids, smart tv box, it can fit be it in apps, home assistants, whatever you can dream of!

Due to the structural differences between this model and the original one, using the weights directly could lead to errors. I'll take some time to see if it's necessary to add corresponding support.

Could you answer my other question, please? https://github.com/leejet/stable-diffusion.cpp/issues/28#issuecomment-1694486320

I have responded on another issue

If it ever goes below 1gb, since this compiles successfully in 32bit, Tiny pictures could probably run on any digital device in existence, old androids, smart tv box, it can fit be it in apps, home assistants, whatever you can dream of!

There is a project vitoplantamura/OnnxStream that can run Stable Diffusion on a Raspberry Pi Zero 2 (or in 260MB of RAM). I wonder if the same method can be applied here. Sorry if I was being annoying though.

There is a project vitoplantamura/OnnxStream that can run Stable Diffusion on a Raspberry Pi Zero 2 (or in 260MB of RAM). I wonder if the same method can be applied here. Sorry if I was being annoying though.

It's slower than stable-diffusion.cpp. On Ryzen 7 4700u 1 step needs 42-43 seconds to be done. SD.cpp needs only 27-28 seconds.

I second this request. It would be absolutely amazing to have support for distilled models. For TinySD (https://huggingface.co/segmind/tiny-sd), we have a UNET size of 617 MB, which is half of an fp16_q4_0, and it can be even smaller if quantized.
I faced significant challenges while trying to run sdcpp through Termux on my Redmi Note 8T with 4 GB of RAM. Even with flash attention at 4 bits and extensive memory swapping, I couldn't generate an image beyond a size of 64x64. At 128x128, I encountered a crash. I believe that addressing the few megabytes of missing memory could be possible by exploring support for these distilled models.


error with Use Setup for Browser(UMD)

I can't use this component with "Use Setup for Browser(UMD)", It's my code.

And now, I have a error:
vue.js:115 Uncaught TypeError: Cannot read property 'toLowerCase' of undefined     at https://unpkg.com/vue@2.5.3/dist/vue.js:115:39     at Object.isReservedTag (https://unpkg.com/vue@2.5.3/dist/vue.js:5101:28)     at Function.Vue.(anonymous function) [as component] (https://unpkg.com/vue@2.5.3/dist/vue.js:4737:46)     at Object.install (file:///Users/huangqiang/Downloads/web/js/vue-awesome-swiper.js:23:9)     at Function.Vue.use (https://unpkg.com/vue@2.5.3/dist/vue.js:4605:22)     at file:///Users/huangqiang/Downloads/web/js/jsunbabel/commodity-detail.js?v=4:31:5

I will fix this problem as soon as possible.

I encountered the same problem, please solve

same problem, please solve

It seems that the JS file doesn't package the ./src/slide.vue and ./src/swiper.vue.

Update to v3.0.0 please.
CDN Example


Set default vertex for draw polygon

Hello! How can I continue drawing on the vertices specified by software?
E.g, i remove vertex from polygon and i'll continie draw.

Hi, I’m not sure I understand what you’re trying to accomplish.
You’re in drawing mode and want to remove the last vertex you’ve drawn, then continue drawing?

I need to develop 4 cases:

Edit vertex latlng in draw mode
Edit vertex latlng in edit mode
Delete vertex with unclose polygon and continue drawing
Edit vertex latlng on edit mode with unclose polygon and continue drawing

I think redraw polygon after edit, but i can't set default latlngs for vertex in draw mode

Ok these are four completely different features.

Edit vertices during draw, I created a new issue for it: #317 - please upvote it
This is already possible
Is suggested here: #268, please upvote it
I probably won’t add this. You can do everything in edit mode, including adding new vertices. There is no need to “unfinish” a polygon and putting it back to drawing mode. If you disagree, please create a separate feature request for it 👌

I think I will tackle 3. soon.


Match zMusicUnpause

Thanks @tgsm
Also remove outdated comment and match getCurrLevelMusicEnum linkage
Tried to find more stuff to put in here but it's a tough file 💀

Integrated both of the changes


c8y_configuration_plugin doesn't receive new messages after mosquitto restarts

Describe the bug
c8y_configuration_plugin doesn't receive new MQTT messages after mosquitto restarts during the runtime of c8y_configuration_plugin.
To Reproduce
This steps are copied from here.
[Edited on 2nd of September] Updated the step1 and step2 as we changed the topic to listen.
[Precondition]

All thin-edge packages are installed in the device.
The device is already connected to c8y by sudo tedge connect c8y.
The c8y_configuration_plugin process is up. Run the binary directly (execute c8y_configuration_plugin in the shell).

[Steps]

Publish a configuration file change request MQTT message.

tedge mqtt pub 'c8y/s/ds' '524,DeviceSerial,http://www.my.url,type'

Check the output of c8y_configuration_plugin. You can see that the plugin received the message by 1).

2022-09-02T10:45:48.284185396Z ERROR c8y_configuration_plugin::download: The configuration download for 'type' failed.
2022-09-02T10:45:48.284497529Z ERROR c8y_configuration_plugin: Handling of operation: '524,DeviceSerial,http://www.my.url,type' failed with The requested config_type type is not defined in the plugin configuration file.

Stop mosquitto service.

sudo systemctl stop mosquitto

Start mosquitto service.

sudo systemctl start mosquitto

Publish the same message as 1).

tedge mqtt pub 'tedge/configuration_change/c8y-configuration-plugin' ''

Check the output of c8y_configuration_plugin. You can't see that the plugin received the new message by 5).

Expected behavior
After restarting mosquitto, still c8y_configuration_plugin can receive MQTT messages published by anywhere onto the topics c8y/s/ds.
Environment (please complete the following information):

OS [Ubuntu 20.04]
Hardware [Laptop]
System-Architecture [amd64]
thin-edge.io version [0.7.2]

Additional context
#1286 is the same bug occurred in c8y_log_plugin. Since the both plugins have quite similar implementation for MQTT clients, the fix will be the same.
tedge_mapper c8y is actually using the same MQTT crates, however, it doesn't have any issue after restarting mosquitto. I think the issue is mqtt client implementation of c8y_configuration_plugin.

steps to test this
Install the thin-edge from here: https://github.com/thin-edge/thin-edge.io/actions/runs/3015303111

subscribe to c8y/s/us using sudo tedge mqtt sub 'c8y/s/us'
sudo systemctl start c8y-log-plugin.service
Wait for some time
sudo tedge connect c8y
The subscriber that started in the step 1, should  receive 118,software-management

resolved with #1360

Tested:
`pi@raspberrypi:~ $ sudo tedge mqtt sub 'c8y/s/us'
INFO: Connected
ERROR: Mqtt state: Io error Custom { kind: ConnectionAborted, error: "connection closed by peer" }
INFO: Connected
[c8y/s/us] 114,c8y_Restart,c8y_LogfileRequest,c8y_SoftwareUpdate,c8y_UploadConfigFile,c8y_DownloadConfigFile
[c8y/s/us] 500
[c8y/s/us] 118,
[c8y/s/us] 118,software-management`
`pi@raspberrypi:~ $ sudo tedge mqtt sub 'c8y/s/us'
INFO: Connected
ERROR: Mqtt state: Io error Custom { kind: ConnectionAborted, error: "connection closed by peer" }
INFO: Connected
[c8y/s/us] 114,c8y_Restart,c8y_LogfileRequest,c8y_SoftwareUpdate,c8y_UploadConfigFile,c8y_DownloadConfigFile
[c8y/s/us] 500
[c8y/s/us] 119,c8y-configuration-plugin`


Enhancement/trade table UI

Describe your changes
Tables now use CSS definable size cells. Ranges and Leaderboard now have split CSS for defining table sizes for more finetuning.
Transactions, Limit, Range and leaderboard now can be adjusted.
Each has 4 states in the following brackets:
0-600 -> Phone view
600-1200 -> Tablet view
1200-1600 ->merged small scren view
1600+ -> big screen view(nothing hidden)
Link the related issue
Closes #2689

Should also update the bar on the left for "your" transactions (only when viewing all transactions) to be absolutely positioned so it doesn't shift the entire row to the right


Memory safety proofs for new aws_byte_buf functions

Description of changes:
We now have a set of memory safety proofs for aws_byte_buf_append_dynamic, aws_byte_buf_append_with_lookup and aws_byte_buf_reserve.
We also added guards in the functions, in order to make sure they will always operate over valid aws_byte_buf structures.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

This does not seem to be a clean branch as it includes a pre-existing commit.

The overall proofs look good.  Just a few small comments.


Add context

looks like just some conflicts to resolve then GTG

Hey @moazzem-pixel any issues you are facing?


BUG: yaml file out-of-sync w/ code

create a unit test that checks that check names all appear in the yaml/readme file.
At the moment, the Packaging check is missing from the doc.

fixed.


Provide a link to the context documentation on inputs when relevant

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onworkflow_callinputs
What part(s) of the article would you like to see updated?
When the contexts subject is referred to, it would be helpful if the relevant documentation article is hyperlinked. I'll open a PR shortly that does this.
Additional information
No response

@gbakeman Thank you for opening an issue and linking it to your PR! ✨


Items disappearing from explorer

This is the behaviour on a fresh installation of Obsidian and Made.md:
https://github.com/Make-md/makemd/assets/101579982/59571663-101e-4e68-a991-1383979db1b3
Note that

Item A disappears after closing and opening side panel
one drag operation to reorder leads to several seconds of rearranging
CPU goes up to about 100%

Plugin version 0.8.18
Obsidian version 1.5.3
Mac OS 13.4
Possibly related to the breaking changes noted in the Obsidian 1.5 changelog?

Did you try View -> Force Reload?

@limex Yes I tried that, unfortunately it doesn't help.

This issue is generally related to sync or cache indexing speed in larger vaults, a new sync strategy and optimization is being implemented in the upcoming version to fix some of these issues.


fix(hot-module-replacement): Fix and improve HMR management API

In webpack 2 check and apply return Promises.
There are more options.

Theoretically yes, but the typo is also in the source code. I try to fix it in the source.

Ah ok, want me to hold off on merging until you release a patch?


Avoid zone widget unnecessary dispose

Tried it out, and this unfortunately does not fix the z-index layering issue for me.


List of small chores for near end of v3 dev.

Here is an ongoing list of small improvements which will be easier to implement once we are all done with our feature branches.

[ ] Capitalize all classes as per JS convention.
[ ] Rename mouseToolEventDispatcher.isAwaitingMouseUp something more appropriate. (isAwaitingToolUse?).
[ ] isValidTarget should probably take evt rather than eventData?

Please feel free to comment and I'll add them to the list.

I'll do this at the review stage once all tools are in.

@JamesAPetts for capitalize all classes, how strict do you want to be? The only built-in linting rule I can find is new-cap which @swederik commented out at some point?
But that would not cover:

Class file names
When importing a class to use it as a base for another class

I agree with your isValidTarget comment. In general, I think everything can be a bit more flexible if we pass the whole event rather than just the eventData

@dannyrb, I agree anything that can be instantiated via New should be capitalized. As far as file naming goes, I think we need to discuss and go by consensus of the team. In my opinion any file that exports only one class definition should have its filename capitalized. This makes sense when you consider export default, e.g.:
MyClass.js:
export default class {
  // Blah
}

someJsFile.js:
import MyClass from './MyClass.js';

I see this style a lot in React apps etc. @swederik is also using this pattern in the OHIF Viewer (see e.g. Packages/ohif-cornerstone-settings/imports/client/lib/classes/MetadataProvider.js.
In general, I think it would be beneficial to host a meeting a little further down the line to come to consensus on all api and styling issues?

I agree with @JamesAPetts. If the eslint rule was commented out, it was probably because I was too lazy to fix the warnings at the time.

I'm going to close this for now. We have a much more developed list of issues on the vNext board.


Could not establish a connection to the server.

Whenever I try to connect to the server I get this message. "Could not establish a connection to the server. Refresh the page once you've loaded a campaign." Is there anything I can do about it? I tried to turn off anti-virus, adblockers, tried Opera and Chrome. Same thing every time. However, in-game i get the message the server is running. It may be important that i'm on Xbox GamePass version.
I posted it on Nexus as well.

Thank you for reaching out. I don't check the Nexus forums that often anymore.
I haven't tested the mod with the GamePass version. It might be doing some sandboxing of the game and preventing the connection. If that's the case, there's not much I can do apart from routing the connection through the cloud, which I don't currently plan on implementing. Im sorry that you won't be able to use the mod.

From: IAmSanyka @.>
Sent: Wednesday, September 20, 2023 5:55:56 AM
To: edgarssults/Bannerboard @.>
Cc: Subscribed @.***>
Subject: [edgarssults/Bannerboard] Could not establish a connection to the server. (Issue #5)
Whenever I try to connect to the server I get this message. "Could not establish a connection to the server. Refresh the page once you've loaded a campaign." Is there anything I can do about it? I tried to turn off anti-virus, adblockers, tried Opera and Chrome. Same thing every time. However, in-game i get the message the server is running. It may be important that i'm on Xbox GamePass version.
I posted it on Nexus as well.
—
Reply to this email directly, view it on GitHubhttps://github.com/edgarssults/Bannerboard/issues/5, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AB5Z3WQF3MXNCGDD5BKTHSLX3JLLZANCNFSM6AAAAAA47GJ7WQ.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Ok, I got it. Thanks for the reply nonetheless. Best of luck!


Update reporting-configuration-settings.rst

Remove incorrect usage of "inactive" in this page.
Inactive users are still counted as an activated users.
An "inactive user" are not the same as a "deactivated user".
Also updated the "remote users" usage relating to MS Teams and used the correct "synthetic users" terminology

Summary

Ticket Link

FYI @cwarnermm once this ticket is merged is merged, we'll also need to update the second half of the sentence: not counted towards the total number of active users
To say, "activated users".


Wrong props when nesting components

Version: 1.0.0 (beta8)
Environment: React
Type: Bug/Question

Description
Hi,
I've just started using this great library so maybe my problem is not a bug, but at the moment I don't think that the behavior works as designed.
I have a component with the following render method.
// imports...

const Page = ({ children }) => (
  <Container>

        {children}

  </Container>
);

const styles = StyleSheet.create({
  spacer: {
    padding: '40px 20px',
    marginBottom: 60,
    'pullUp=true': {
      marginTop: -130,
    },
  },
});

Page.propTypes = {
  pullUp: PropTypes.bool,
};

export default look(Page);

The  component itself is a look enabled component with stateful behavior. The <Page> component should have stateful selector, too. But it turns out, that the defined rules are not working.
I added a stateful value and logged the props. Instead of the props that get passed to the <Page> component the function receives the props from the  component.
Is there any way to get this working at the moment or am I missing something?
Thank you
Manuel

Hey,
Look enhanced Components always resolve themselve using their own props, that's why your  Component uses all the props passed to your  to resolve stateful styles.
If you want to use your <Page> props within  you either have to pass them manually or use React's context to achieve the same effect without having to pass all the props down the line.

Thanks for your answer.
I don't know if I explained it well enough, the problem is this:
There is the <Page> component which is Look enhanced. (see the div that wraps the children)
Then there is a stateful selector ('pullUp=true') which should control the classes on the div when the <Page> component receives the pullUp prop. This works when I remove the  component. This doesn't work with the  component wrapping the div because the styles are now resolved using the 's props (span, pre, post). The  component is Look enhanced as well.
Isn't this a bug? I don't want to use any parent props inside a child component, I just want to use the props on the current component inside the StyleSheet.create() function regardless of the structure inside this component.

Ah I see. Now I get what the problem is, sorry. I am aware that you consider this a bug while still I think there's nothing we can do to it actually (at least not without huge performance loss).
React itself will automatically trigger rerendering of every custom Component inside the changed one. This means rerendering <Page> automatically leads to rerendering  and as your div is inside the  it is considered its child. Even if we render all <Page> children with the correct props, we still need to render the  again itself (otherwise you might get wrong output). This also leads to resolving all the stuff inside  which would finally change our div again.
After all we would have rendered the div twice and still remain with the wrong output. That's why Look automatically stops child resolving if it iterates another Look-enhanced Component. (as those get resolved anyway).

Okay,
if it's not a bug that's fine with me, but I don't quite get the reason for this behavior. I thought the look enhancer would tie the styles in the wrapped/enhanced component to the component's props/state. Doesn't the div somehow "belong" to the '' component?
Anyway, if you are sure this is not a bug or should somehow be changed feel free to close the issue.
Thanks for the fast response. (It helps that you also live in Germany :D )

Hehe yeah, it's quite rare to find people within the same timezone :D
Well yeah, I'd call it a bug with no fixing solution (at least right now).
The problem is that React treats nested elements (Components and pure HTML tags) as children of the upper Component which makes your div belonging to  instead of <Page>. As far as I know there's nothing I can do about this right now.
Correct me if anythings wrong here, I am not a React core expert :P

@manuelmoritz1308 Would you mind if I close this issue for now? As far as I see we will not have a solution for this soon..

@rofrischmann Of course you can close this as I haven't a solution to this problem, either. Thanks for your help and the great package! We will definitely use this at our internal projects at Bitmade. So maybe I will come up with some ideas or bugs in the future 😄


Two small language fixes

I'm not a native English speaker, but would propose these changes.

Coverage decreased (-0.7%) to 58.0% when pulling ba2215cd4cfa1629320b3b7d89d732eb8937232c on akauppi:patch-2 into d247886b8dbabc362cd94cd92df64f0e3e9ca476 on zalando:master.


Sleeping Mat

Should you be able to see yourself when you sleep with the sleeping mat like on the normal bed?

Yeah i guess so, i didnt think about it.  This doesnt change anything with the players animation or position so i might have to do something the same as the bed does it.

Ok, that would be cool to be able to see yourself

I looked into this a bit, looked at how the bed works in vanilla, tried a few things. not sure how to accomplish this exactly. Ill leave it open though.

I must admit, I'm not a big fan of the "trying to sleep standing up" message (which I assume is based on this issue?). I understand why you implemented it like that and the additional bonus is that you bypass the infamous "bed bug" (I think?). Don't really know what to suggest to change it. Just my 2 cents (not worth much I know). But maybe just make the screen fade faster to black and no message at all? Whenever I see the message it just "feels" wrong and breaks my immersion somehow.

Finally got around to this.  Player will now lay down while sleeping, no more standing up https://minecraft.curseforge.com/projects/cyclic/files/2538330


FIX a drawing defect and use Geometric scheme

Fix a drawing defect

Also, note some reversible changes in the geometry of the list scheme (header 20 not 24, etc.)

I added this in the constructor of my form and got a costumized listbox.
         SeqExpl::SeqExpl              (ThDyNanaForm& tdForm)
    {
		auto& sch = _list.scheme();
		sch.header_height = 20;
		sch.ext_w         = 2;
		sch.item_height_ex= 1;  ///< Set !=0 !!!!  def=6. item_height = text_height + item_height_ex
		sch.item_height   = sch.text_height + sch.item_height_ex;
		sch.header_mouse_spliter_area_before = 4;
		sch.header_mouse_spliter_area_after = 4 ;

Hi,
I'm using this ... is OK.
But I wanted to do the same with the treebox, but there you have already some type of geometrical scheme.. I need to understand that first..


ERROR in AppInsightsModule is not an NgModule

In the latest version 0.3.0 the appinsights.module.d.ts is almost empty, is this intended?

When i try to setup as in the example  i get this error.

@Walgermo What is the error you are getting? Could you be more specific?

One consequence is that AOT compilation fails. For example when I run...
"node_modules/.bin/ngc" -p tsconfig-aot.json
I see the error...
Unexpected value 'AppInsightsModule in D:/Code/my-app/node_modules/ng2-appinsights/appinsights/appinsights.module.d.ts' imported by the module 'AppModule in D:/Code/my-app/src/app/app.module.ts'

Yes! would be nice to have an upgrade to make it AOT compatible.

Hi,
I got this  Error: (SystemJS) XHR error (404 Not Found) loading http://localhost:3997/ng2-appinsights when ever I added the below line of codeimport { AppInsightsModule } from 'ng2-appinsights'; even I mention the latest version of ng2-appinsights in package.json.
can you please see this link for more information of error what I got.
-Pradeep

BTW, the ERROR in AppInsightsModule is not an NgModule error also occurs on creating a brand new Angular CLI project and then simply adding ng2-appinsights.

Hi Everyone,
Published the version 0.5.0 of the package. This issue is fixed.
Can you verify @stuarthallows  @Walgermo ?


Switch to ServerApp from NotebookApp when passing args to Notebook

New version requires ServerApp and not NotebookApp.
New version is still backwards compatible, however we should switch to the new arg based on the version installed.

Not required, 99% ussers have zmq,
and jupyter already supports fallbacks


test(support): verify support tests results in all tested browsers

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
New tests.
What is the current behavior? (You can also link to an open issue here)
It's not tested whether browsers pass or fail specific support tests used to skip particular test blocks.
What is the new behavior (if this is a feature change)?
All browsers have verified support tests results.
Does this PR introduce a breaking change?
No.
Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#commit-message-format
[x] Tests for the changes have been added (for bug fixes / features)
Docs have been added / updated (for bug fixes / features)

Other information:

@gkalpak PR updated, tests now pass.

Why did tests previously fail?
LGTM except for supportSpec being in test/ng/ (instead of test/helpers/), as is privateMocksSpec.js for example.

The spec file moved (I missed privateMocksSpec.js previously).
The tests were failing as I didn't add results for Safari 8 so it was treated the same as Safari 10. :-)


[BUG] Bar Chart zero value when minimum ticks is 1

Expected Behavior
If the minimum ticks on the y scale is 1 and one of the data points has a value of 0, it should not be displayed. This possibly happens any time a value below minimum is provided, but I have not tested this.
Current Behavior
A small portion of the bar is displayed below the x-axis.
Steps to Reproduce (for bugs)
Here is a fiddle:
https://jsfiddle.net/rp5syxu1/1/

Set min ticks to be a number (in this case 1) and max to a number higher than min.
Provide data that is below the min (in this case 0)

Context
This hasn't really affected me as I can just substitute 0 with null and it won't display, but I just came across it and figured I should report it.
Environment

Chart.js version: 2.4.0
Browser name and version: Chrome latest
Link to your project: https://jsfiddle.net/rp5syxu1/1/

I believe this is fixed in v2.5 (soon to release). See #2873 #3491 #3506

Closing since fixed in 2.5
See https://jsfiddle.net/g4e08jtm/1/


K8S. Add configuration to existing directory on application

I try to add configuration (configmap) to application. But i need to add it to existing directory in application.
For example
I create new apllication nginx:latest. Create configuration nginx_new.conf with my new data. And in application add it in existing directory wih config /etc/nginx.
And i got a trouble. Application didn't start. Becasue all files in /etc/nginx is disapear except my new config.

This trouble i solved manualy. I created yaml file for this application with tag SUBPATH
volumeMounts:
- name: frontend
mountPath: "/etc/nginx/nginx.conf"
subPath: "nginx.conf"
And at this situation all files was in their places.
I think that trouble is portainer didn't use "SUBPATH"
K8S. 16.4
Portainer 2.0

Hi @eugenesotnikov we are checking internally about this feature

Thanks for the feature request, we'll consider it.
Just putting some notes here on what I found in the kubernetes documentation while investigating the subPath property.

Note: A Container using a ConfigMap as a subPath volume mount will not receive ConfigMap updates.

We'll have to keep this one in mind when working on this as we currently warn users about ConfigMap changes propagation when updating a ConfigMap.

Hi
when the user chose to add a file in existing directory in running pod using confimap from portainerUI, it is considered as normal volume from configmap and disables all the files in existing directory.

alternatively user has to manually update the deployment specification with subpath in volumemount to make it work

file created with subpath looks like this inside pod


run distributive consul test fails - appears to be distributive version issue

TASK: [consul | run distributive consul test] *********************************
<<IP_ADDRESS>>
<<IP_ADDRESS>> --verbosity=info
<<IP_ADDRESS>> IdentityFile=/Users/kestenbroughton/projects/mantl/.vagrant/machines/default/virtualbox/private_key ConnectTimeout=10 PasswordAuthentication=no KbdInteractiveAuthentication=no User=vagrant ControlPath=/Users/kestenbroughton/.ansible/cp/ansible-ssh-%h-%p-%r PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey StrictHostKeyChecking=no ControlMaster=auto Port=2222 ControlPersist=60s
<<IP_ADDRESS>>
<<IP_ADDRESS>> IdentityFile=/Users/kestenbroughton/projects/mantl/.vagrant/machines/default/virtualbox/private_key ConnectTimeout=10 'sudo -k && sudo -H -S -p "[sudo via ansible, key=shtdsnxxuzshdxjdxtvobilhahdwpota] password: " -u root /bin/sh -c '"'"'echo SUDO-SUCCESS-shtdsnxxuzshdxjdxtvobilhahdwpota; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1441340785.37-275394462027244/command; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1441340785.37-275394462027244/ >/dev/null 2>&1'"'"'' PasswordAuthentication=no KbdInteractiveAuthentication=no User=vagrant ControlPath=/Users/kestenbroughton/.ansible/cp/ansible-ssh-%h-%p-%r PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey StrictHostKeyChecking=no ControlMaster=auto Port=2222 ControlPersist=60s
failed: [<IP_ADDRESS>] => {"changed": true, "cmd": ["/usr/bin/distributive", "-f", "/etc/distributive.d/consul.json", "--verbosity=info"], "delta": "0:00:00.003788", "end": "2015-09-03 22:31:15.695460", "rc": 2, "start": "2015-09-03 22:31:15.691672", "warnings": []}
stderr: flag provided but not defined: -verbosity
Usage of /usr/bin/distributive:
  -a="/etc/distributive.d/": Run all the checks in the specified directory
  -f="": Use the health check located at this path
  -log-level="warn": Output verbosity level (valid values are info | debug | fatal | error | panic | warn
  -u="": Use the health check located at this URL
  -version=false: Get the version of distributive this binary was built from

FATAL: all hosts have already failed -- aborting

It looks to me like this is a version issue, but yum upgrade distributive fails and I can't find any way to find more recent rpms.

Cisco has a Bintray page from which we pull the distributive RPMs, as you can see here. If you suspect you're downloading an old version, that's a good line to check.
You can also create your own RPMs with distributive-rpm.

Not sure how, but I had distributive 0.1.1 installed on the vagrant vm after running vagrant up.
Perhaps you can check if you can reproduce with the current master or latest tagged branch
[vagrant@default ~]$ yum info distributive
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

base: linux.cc.lehigh.edu
epel: ftp.cse.buffalo.edu
extras: mirror.pac-12.org
updates: mirror.millry.co
Installed Packages
Name        : distributive
Arch        : x86_64
Version     : 0.1.2
Release     : 1.el7.centos
Size        : 5.7 M
Repo        : installed
From repo   : /distributive-0.1.2-1.el7.centos.x86_64
Summary     : Distributive was designed with Consul in mind to perform distributed health checks in datacenters
URL         : https://github.com/CiscoCloud/distributive
License     : ASL 2.0:
Description : Distributive is a tool for running distributed health checks in datacenters. It was designed with Consul in mind, but is
: platform agnostic. It is simple to configure (with JSON checklists) and easy to deploy and run. It has no dependencies, and can
: be shipped as a speedy 4MB (yes, megabytes!) binary.

I was able to resolve this with
sudo yum -y remove distributive
sudo yum install https://bintray.com/artifact/download/ciscocloud/rpm/distributive-0.2.1-5.el7.centos.x86_64.rpm
Which is exactly what the ansible task is doing, so not sure why it didn't work out of the box.
You may close this ticket.

I can't reproduce with Vagrant+master. Using yum info reports the latest version. Glad it worked out for you!


mutual information acquisition for BQ

Issue #, if available:
Description of changes:
The mutual information acquisition for BQ.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #175 into master will increase coverage by 0.04%.
The diff coverage is 95%.

@@            Coverage Diff             @@
##           master     #175      +/-   ##
==========================================
+ Coverage   89.53%   89.57%   +0.04%
==========================================
  Files          94       95       +1
  Lines        2474     2494      +20
  Branches      250      250
==========================================
+ Hits         2215     2234      +19
- Misses        215      216       +1
  Partials       44       44

Impacted Files
Coverage Δ

emukit/quadrature/loop/quadrature_loop.py
47.36% <ø> (ø)
:arrow_up:

emukit/quadrature/acquisitions/__init__.py
100% <100%> (ø)
:arrow_up:

...ukit/quadrature/acquisitions/mutual_information.py
94.73% <94.73%> (ø)

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 1cfcb85...87d9f08. Read the comment docs.


[Feature Request] Allow enable/disable of indexing while keeping Bitmagnet online for querying

[v] I have checked the existing issues to avoid duplicates
[v] I have redacted any info hashes and content metadata from any logs or screenshots attached to this issue

Is your feature request related to a problem? Please describe
Add the ability to pause indexing and tracking, but keep Bitmagnet available for querying (by Prowlarr for example). This will allow users to pause indexing and prevent the database of growing further in case their hard disks are starting to become full.
Describe the solution you'd like
A toggle inside of a settings page (maybe under the hamburger menu) which allows you to turn indexing on or off.
Describe alternatives you've considered
Stopping the Bitmagnet Docker container will prevent the database from growing and filling up disk, but it does not allow Bitmagnet to be query-able anymore.

Stopping the Bitmagnet Docker container will prevent the database from growing and filling up disk, but it does not allow Bitmagnet to be query-able anymore.

Yes it does - you can already control which workers start and run bitmagnet without the DHT crawler. Just start bitmagnet with bitmagnet worker run --keys=http_server.


NPM not found

Hey, nice simple plugin. I can't find it in NPM
I've instaled via git hub, so far so good
npm install --save https://github.com/thoughtbot/react-native-settings-url
Just giving you the heads up, maybe its in a private repo?
My regards!

I don't believe it was ever fully published to npm. At this time, we're no longer maintaining and are archiving the repo (making it read-only).


Arma Reforger config disableNavmeshStreaming syntax change with 1.2 update

With the drop of version 1.2, the current config prevents servers from starting. The new syntax is to us an array instead of boolean. The setting is not 100% needed for server operation, possibly removing as a hotfix until their documentation is updated would suffice unless someone has a source for the new syntax.

A temporary fix of removing the setting from server.json has been implemented - update your server to get the change. The setting will be re-added once it is clear on the best way to implement it for 1.2


Make docker volume list lookup plugins installed using new model.

- What I did
Make plugins installed using new plugins model show up in docker volume list
Also, updated a test in this regard.
- How I did it
Lookup should happen with the full plugin reference (not just the name) and capabilities comparison should be case-insensitive. Fixed those.
- How to verify it
Updated TestVolumePlugin with this case and test passed.
Ran "TestExternalVolumeDriver*" tests that deal with legacy volume plugins and tests passed.
Signed-off-by: Anusha Ragunathan<EMAIL_ADDRESS>

LGTM

LGTM 🐯


paperclip/attachment_fu (3rd party) integration:: ease by moving files from /extra to /lib/extra

Current instructions for paperclip integration (extra/s3_paperclip.rb) begin with, "Copy the file to: ..."
Attempting to avoid copy/paste and manual merging/synchronization with upstream:
It seems that if 'extra/s3_paperclip.rb' were in the rubygems load path instead (in /lib), that we could do this in an initializer instead:
require 'paperclip/storage/s3'   # load code to be monkey-patched require 's3/extra/s3_paperclip'  # patch
thx!

Does the paperclip integration still work? Could you please make a pull request?

I think it's better to move those "extras" to separate gems.


Pass generic header and body to validate_shanghai_withdrawals

Describe the feature
Make function generic over header type that impl H: alloy_consensus::BlockHeader and body type that impl B: reth_primitives_traits::BlockBody, so that SealedBlock<H, B>
https://github.com/paradigmxyz/reth/blob/00c5b69af46f4a781b1b15afd7587592443e91a0/crates/consensus/common/src/validation.rs#L38-L56
Additional context
No response

Hi @emhane , can you assign to me this task? Thanks


Expose underlying Listener thread handle

Using the listener construct, it would be nice to get hold of the worker thread and pin it on startup (etc) without resorting to reinterpret_cast hacks.
-Or is it that outside the intended use case for listener maybe ?
Best,

@niclar I do not completely understand your question.

Do you would like to access the underlying thread directly?
Do you would like to add tasks to the underlying thread?

What kind of problem are you trying to solve?

Yes exposing the listener working thread , the std::thread or std::thread::native_handle  would facilitate modifying the thread directly. In my case multiple listeners was allocated to the same core  but I wanted explicit allocation / pinning for lower contention / latency & I can also name the work threads via the underlying thread / thread handle.

@niclar

Yes exposing the listener working thread , the std::thread or std::thread::native_handle would facilitate modifying the thread directly.

We have already written a posix::Thread wrapper which will be used there as an underlying thread type.

I can also name the work threads via the underlying thread / thread handle for faster debugging.

With this change you wouldn't be able to acquire the native_handle but you could still set a name for the thread.

In my case multiple listeners was allocated to the same core but I wanted explicit allocation / pinning for lower contention / latency

Getting access to the thread wouldn't achieve your goal. In the end the thread in the listener just iterates over an array of events and calls the callbacks. If you would like to add more jobs to the thread you would require some active object pattern and add multiple listeners to the same object.
Something which not yet have designed and it would take a while to rewrite our architecture.
The idea of the listener was to have exactly one per core. Why do you use multiple listeners per core?

"If you would like to add more jobs to the thread"   -we're fine with dedicating a worker thread per listener.
-On a somewhat related separate note, we're hitting the maximum number of condition variables per listener limit (256), what would be recommended maximum on linux (not to decrease performance, any obvious downsides to setting it to e.g 2048? )  ?
"Why do you use multiple listeners per core" -it's unintended. The linux scheduler did that when running under core isolation and tasksets for some reason.
-As for the native thread handle. If we can get hold of it using the public interface it would be of great convenience.

@niclar

On a somewhat related note, we're hitting the maximum number of condition variables per listener limit (256), what would be recommended maximum on x64 linux (not to decrease performance, any obvious downsides to setting it to e.g 2048? ) ?

There is no real recommendation. But you have to be aware that the higher the number is the slower the waitset is. Here I would recommend to write a little benchmark with your most common use case and optimize it so that it meets your target requirements.
I think also that the performance decrease comes in steps. For instance that it decrease every additional 1024 entries and stays the same in the range from 1024 - 2047.

As for the native thread handle. If we can get hold of it using the public interface it would be of great convenience.

I would here recommend that we adjust the listener API so that we provide a builder for the listener where also settings of the underlying thread can be configured. Stuff like: cpu affinity, priority, name. @niclar would this fit your use case?
@elBoberido what do you think about a listener builder?

Yeah, for sure, sounds like real luxury :)


rate-limit individual repos

We had a significant spike in traffic earlier today, almost entirely from one repo.

We should consider limiting the impact one repo can have on the rest of the service. As it is now, one repo can easily consume the entirety of Binder. Setting an upper limit on the number of concurrent users running from a given repo would give us a knob for something like this.
On one hand, it's nice to be able to handle traffic peaks from things like the eLife announcement, or a norvig post. On another, it's an avenue for abuse of the service and can prevent others from being able to use it.

is it possible to do this w/ a whitelist of some kind? e.g., we could make a PR to a whitelist of repos in anticipation of heavy traffic on a single repo

This came up again yesterday, where one image was running ~750 containers:

We now have a blacklist (#367), but a rate limit will allow us to mitigate this in the future. I think instituting a plain rate limit for now, with the possibility of a whitelist in the future will help us out.


After installing Killer my machine was infected with Wacapew!C

After installing Killer my machine was infected with Wacapew!C
What is going on with your code?
Originally posted by @chipsoftwaretest in https://github.com/ntaraujo/killer/discussions/1#discussioncomment-533534

Hopely fixed with v0.7.3
PyInstaller bootloader binaries are now the compiled ones in/for my machine (Windows 10 64bits) instead of default ones, which I bet were largely used for viruses...
My fear is the program won't work for other windows versions and archs, but one problem at time.


StringDrop::seqs messages

lots of messages like this are generated during textDocument/publishDiagnostics:
StringDrop::seqs:
   Sequence specification (+n, -n, {+n}, {-n}, {m, n}, or {m, n, s}) expected
     at position 2 in StringDrop[pollSockets[timeout_Integer] ,
     WolframLanguageServer`TextDocument`Private`startCharacter].

The latest commit (https://github.com/kenkangxgwe/lsp-wl/commit/27f274b87128ab3cc902e0199c4fbd1ae53d9d1e) may fix this problem. The top of develop is not tested actually, several commits are pushed yesterday and really experimental. So bugs are not surprising. Thanks for the feedback but sorry that you have been the white rat.

The latest commit (27f274b) may fix this problem. The top of develop is not tested actually, several commits are pushed yesterday and really experimental. So bugs are not surprising. Thanks for the feedback but sorry that you have been the white rat.

It's ok as I switched to develop branch as it has all the activity and master branch does not work for me either (like StringJoin[Keys::usage<> expected to be a string etc).

Indeed the issue seem to be fixed in 27f274b87128ab3cc902e0199c4fbd1ae53d9d1e


AutoEquatable/Hashable for protocols uses computedVariables

closes #253

Can we use macro node from StencilSwiftKit for these additions? They look exactly the same as for not-procols, isn't it?

they do, but I never used the macro node so will have to look at it when I'm back from CraftConf


Wierd shadow using directional light

Godot version
Godot Engine v4.0.beta7.mono.official.01ae26d31
System information
AMD Radeon RX 5700
Issue description
When updating from  v4.0.beta3 to v4.0.beta7 the shadows produced by the directional light looks very funky. This was not the case before, hence something I believe to have been introduced in recent betas. I believe any use of shadow with directional light seem to cause this issue.

Steps to reproduce
Create a directional light, enable shadow and have a mesh produce shadow on another mesh.
Minimal reproduction project
RenderIssues.zip

This is expected, as a result of https://github.com/godotengine/godot/pull/68339. You need to tweak your directional shadow bias values accordingly. You'll need to increase Shadow Bias and/or Shadow Normal Bias, and find a value that resolves shadow acne without introducing too much peter-panning.


AoE form should prevent screen readers from accessing content outside of modal

Area or Component
Conduct Test
Quick Summary
Screen readers can read content outside the modal dialog.
Accessibility Violation

reading-order-browse-outside-modal

Screen readers can read content outside the modal dialog.

Action Requested

Modal should prevent screen readers from accessing content from outside modal
Dev approach TBD - per Alis - To hide an element to screen readers (and child elements), simply add the aria-hidden="true" attribute.

Original Deque Issue

https://cdc-devtools.dequecloud.com/rule-help/en/reading-order-browse-outside-modal

paired with @emmastephenson using the axe Chrome plugin to try to understand what element is triggering this violation but the tool doesn't give any indication
the only elements not tagged with aria-hidden="true" when the modal is open are empty div elements and some <script> and <noscript> elements (which don't use aria attributes). reached out to Deque and they think it might be the div elements that are triggering the violation, but these are added by the react-modal component to trap focus per https://github.com/reactjs/react-modal/issues/742
I'm unable to reproduce tabbing focus out of the modal and @nathancrtr and I also tested with a screenreader and weren't able to read anything outside of the modal so I think this is a false positive
will close this ticket and any others related to reading-order-browse-outside-modal for modals using react-modal if I don't get a helpful response from Deque within a couple days

haven't heard back from Deque, so closing per my earlier comment


Animated and Dynamic GridView

Hello!
I am working on an app, and I am a bit stuck on how to achieve a particular effect. I think what I am trying to achieve is best showcased by the Google Keep Notes app:

I need some sort of grid that animates the deletions and insertions of elements by the user. Currently, I am using a Slivergrid in an CustomScrollView to get my list of tiles, but I am having trouble with the animation. I did some research to see if I could avoid implementing this from scratch, but none of what I found seems applicable.
AnimatedLists are almost exactly what I need, but the widget only supports lists and not grids.
Animated containers looked promising, but that would require several rows to create the tiles, and I don't think animated containers support animations between rows. I got the idea from this stackoverflow post, but the question author seemed to run into the same issue.
The auto_animated package looked promising, but it only animates things being loaded in rather than insertions/deletions.
Hero animations looked interesting, but it requires page transitions which is not my use case
flutter_sidekick seemed like a package I can use for this kind of animation, but it is not official and no longer being developed.
Did I overlook anything? Any ideas on how I can achieve that deletion animation in that gif? If I wanted to make the animation from scratch, what should I look into? I am fairly new to flutter, so any pointers would be great!

Hi @Parthib
This issue doesn't seem to describe a bug or a feature request. Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow.
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you

Hm...I wrote this issue using the "I want help writing my application" category (it was one of the templates available). If we should not seek help for such things through issues, I would recommend removing that option if possible.

I don't understand why they closed that issue. I have the same question and I can't find a solution in the flutter.

@fabianogadenz
because this is not an issue with flutter, but a request for assistance on personal code
@Parthib

Hm...I wrote this issue using the "I want help writing my application" category (it was one of the templates available). If we should not seek help for such things through issues, I would recommend removing that option if possible.

done

Except there's literally a template for "I need help with writing my application" so closing it doesn't make any sense.

Except there's literally a template for "I need help with writing my application" so closing it because it's a request for assistance on personal code doesn't make any sense.

There should be another issue to remove that template and add template for bugs and feature

This can also be rolled into a feature request for AnimatedGrid which is becoming a more common use case for Flutter.

Yes AnimatedGrid would be a great feature to have.

Here it is: https://gist.github.com/lukepighetti/df460db180b9f6cb3410e3cc91ed74e6

Thanks @lukepighetti


[Feature request] possiblity to sync system clock and not have default ntp server.

Hi!
Just wanted to know if it would be possible to add an environment variable to be able to sync the system clock from the docker container?
I know it was taken off to have it as not a privilege container. But it would be great to have the option if we want.
My reason, i run chrony as both my client and server on my server, so i kinda don't want to have 2 chrony process if possible ^^'
Secondly i wanted to know if by setting a volume (read-only) to the chrony.conf, with my own conf file, if it would be overwritten with the default ntp server?
Correct me if i'm wrong but it shouldn't be able to modify it, if it is mounted as read-only right?

Also unrelated to this issue, but is the build: . variable needed on the docker compose? I'm asking because it the first time seeing it x)

hey @Gontier-Julien thanks for reaching out. see my comments inline below.

Just wanted to know if it would be possible to add an environment variable to be able to sync the system clock from the docker container?

the only way to do this would be to give the container 'privileged' access to your system. the point of this container in the first place was to run NTP without requiring privileged access and i feel strongly about not changing that position for this project. doing so is generally unsafe.

Secondly i wanted to know if by setting a volume (read-only) to the chrony.conf, with my own conf file, if it would be overwritten with the default ntp server?

setting the file system to read-only was to accomplish 2 things: 1) slightly faster startup times and (2) hardening the container.
when this container launched, the chrony.conf file is dynamically generated by the startup script, found below. any changes you might manage to make to it will not persist unless you fork and add those do this script.

https://github.com/cturra/docker-ntp/blob/main/assets/startup.sh

Also unrelated to this issue, but is the build: . variable needed on the docker compose? I'm asking because it the first time seeing it x)

only required if you want to use docker compose build ...

Seem fair and logical!
So could I make a fork of this project and/or would you be able to create a container in co existence of this one with the rtcsync capability?
It would be great for many peoples I guess, because it seem to be the only chrony container to be properly maintained (kudo and thank for that btw) ^^

thanks for your patience with my reply, i somehow missed your last message.
i would prefer not to maintain a fork of this that allows the container to run with 'privileged' access to the host since this might get confusing for users. and again, my original intentions for this project were to not require any privileged capabilities to run the clock in a container.
i'm not trying to suggest you're approach is incorrect, but it might be better to run a local ntp service on your host machine that grabs it's time from the container (and an Internet source as backup). this is actually what i do and suspect most of the millions of users this container have done the same.

no worry's !
Maybe would it be possible to have an option to disable the startup script? So a read-only volume for the config file could be mounted to it without getting overwritten?
I think i might do the same as your setup

again, coming back to the intent, this container is meant to be immutable. so configuration changes remaining after a restart would break that.
with the above said, are there particular capabilities you're looking to be able to set yourself within the chrony config? maybe they can be passed as environment variables.

That my current config without rtcsync, maxupdateskew and makestep.
I don't know if leapsectz is still needed tho
# Welcome to the chrony configuration file. See chrony.conf(5) for more
# information about usable directives.

# This directive must be commented out when using time sources serving
# leap-smeared time.
leapsectz right/UTC

# You might want the computer to be an NTP server for other computers.
#
# By default, chronyd does not allow any clients to access it.  You need
# to explicitly enable access using 'allow' and 'deny' directives.
#
# e.g. to enable client access from the 192.168.*.* class B subnet,

allow 192.x.x.x/24

# Normally, chronyd will keep track of how many times each client
# machine accesses it.  The information can be accessed by the 'clients'
# command of chronyc.  You can disable this facility by uncommenting the
# following line.  This will save a bit of memory if you have many
# clients and it will also disable support for the interleaved mode.

noclientlog

So the only thing that i seem to miss and idk how to get it on the container, is:
noclientlog , the ability to connect to nts sources, and to allow only clients from a specfic class subnet.
Ps: btw since the server doesn't sync the system clock, there is no need to  rtcsync in the config file.

this is great! thanks for the follow up.
i have proposed a change over in the noclientlog branch if you want to give it a test run for me? the idea is you can pass a NOCLIENTLOG=true environment variable to the container and it will set the chronyd configuration appropriately at launch.
quick steps to test after you've cloned this repo (and jumped into the branch) are...
# build a container image
$> ./build.sh

# update the NOCLIENTLOG option in the vars file
$> vim vars

# run the container
$> ./run.sh

# verify config
$> docker exec -ti ntp cat /etc/chrony/chrony.conf

let me know how you make out and i will get a pull request cut. also, thanks so much for your contributions @Gontier-Julien!

It work as excepted! And good to merge for me!

Now before i can close this issue, how can i get NTS working on the container?
I think it would be quite nice to have it (if it not possible in the current state) with the next update of the container.

Another suggestion is, i don't know if linux/386 is still useful to build. It now unsupported by linux anyway and i doubt there is anyone using it.

Now before i can close this issue, how can i get NTS working on the container? I think it would be quite nice to have it (if it not possible in the current state) with the next update of the container.

let's pull that into a different conversation. the basic config isn't difficult, but would pull in a bunch more requirements around certificate generation, etc. i need to think more about that.

It work as excepted! And good to merge for me!

can you please give PR https://github.com/cturra/docker-ntp/pull/57 a quick review and comment for me?

Another suggestion is, i don't know if linux/386 is still useful to build. It now unsupported by linux anyway and i doubt there is anyone using it.

fwiw - according to the stats from docker hub, the linux/386 image does get pulled. in fact, it was last pulled 33 minutes ago.

I actually didn't expect that! Interesting!

Now before i can close this issue, how can i get NTS working on the container? I think it would be quite nice to have it (if it not possible in the current state) with the next update of the container.

let's pull that into a different conversation. the basic config isn't difficult, but would pull in a bunch more requirements around certificate generation, etc. i need to think more about that.

Alright no problem!

Closing this now that #57 is added.


Make error message from universe mismatch more informative

Prerequisites

[X] Put an X between the brackets on this line if you have done all of the following:

Checked that your issue isn't already filed.

Specifically, check out the wishlist, open RFCs,
or feature requests.

Reduced the issue to a self-contained, reproducible test case.

Description
Consider the following code:
section
parameter big_type : Type 1
parameter x : big_type
parameter f {A : Type} : A → bool

def foo : bool := f x
end

The reported error at the definition of foo is
type mismatch at application
  f x
term
  x
has type
  big_type
but is expected to have type
  ?m_1

which is confusing, because we wonder why we cannot instantiate ?m_1 to big_type. The reason is that this would cause a universe inconsistency.
It would be desirable if the error message hinted at the universe mismatch.
Compare with Coq, where the equivalent code
Section Test.
Variable big_type : Type.
Variable x : big_type.
Variable f : forall (A : Set), A -> bool.

Definition foo : bool := f _ x.
End Test.

gives the error message
Error: In environment
  big_type : Type
  x : big_type
  f : forall A : Set, A -> bool
The term "x" has type "big_type" while it is expected to have type "?P"
(unable to find a well-typed instantiation for "?P": cannot ensure that "Type" is a subtype of "Set").

Versions
I am using HEAD version of Lean, Lean (version 3.2.1, commit ae5bc52d9762, Release).

I've run into this before.  I think it would be good if the expressions printed out as though pp.universes was true when type unification fails due to universe constraints.

In the case of this particular example, at least, it doesn't seem that setting pp.universes to true affects the error message.

Yes, pp.universes does not help here. I think one possible way to improve the error message is to show the type of the types. That is, we would display it as:
type mismatch at application
  f x
term
  x
has type
  big_type : Type 1
but is expected to have type
  ?m_1 : Type 0

@leodemoura That's a much more general solution, I like it!


path_find not returning paths to XRP

{
	"id": "XRP",
	"command": "path_find",
	"subcommand": "create",
	"source_account": "XXXX",
	"send_max": {
		"currency": "ETH",
		"value": "1",
		"issuer": "ZZZZ"
	},
	"destination_account": "XXXX",
	"destination_amount": "-1"
}

provided that:

XXXX has ETH balance
XXXX has trustline to ZZZZ

when i send that command through websocket, it doesn't return any paths.
Can anyone enlighten me on this?

It's hard to know exactly what the issue is without seeing the exact situation. Two possibilities:

You are looking at the immediate reply to the path creation rather than waiting for the pathfinding to complete and provide a full reply. The immediate reply only finds "obvious" paths.
There is no path that will work. For example, there may be no liquidity at all between ETH/ZZZZ and XRP.

Hello Sir, Thank you for replying.
What I'm doing is finding paths for ETH to XRP...

but "alternatives" is empty..

also on the documentation, it says

You can specify "-1" (for XRP) or provide -1 as the contents of the value field (for non-XRP currencies).

The source account does not hold any of the asset it's trying to send, nor can it borrow any.


set metaboliteType validation rule as "list like"

Based on documentation (https://sagebionetworks.jira.com/wiki/spaces/SCHEM/pages/2645262364/Data+Model+Validation+Rules#list) I think this will allow data contributors to provide a list of valid values, comma separated or otherwise, and have each of them validated against the data model. I am not sure whether this will result in multi-value annotations being applied to files in Synapse, though, so more work may need to be done.

Ok, I think this worked as expected and will now allow data contributors to enter a list of comma-separated values. The only downside is now there are no drop-downs for the various valid values, just a note to check the data standards (see screenshot).

@tmzintel we should make sure to refer them to the AD metadata dictionary app to look up the specific metaboliteType values if they need them: https://www.synapse.org/Synapse:syn25878249


Black Screen and loading

hello am using this plugin
I  found a problem in this plugin when playing a video initially it takes time to load  please  suggest to me how to reduce its initial loading time

Duplicate #9