bamfiltertech doesn't get made

Cloned latest version as instructed, typed make.
No bamfiltertech in bin/, no bamfiltertech.o in src, no noticable error messages.

Ok, so I see that src/Makefile has:

all: autoversion ../bin/freebayes ../bin/bamleftalign

So I add  bamfiltertech to the end:

all: autoversion ../bin/freebayes ../bin/bamleftalign ../bin/bamfiltertech

and now I get an error:
g++   -I../src -I../ttmath -I../vcflib/src/ -I../vcflib/smithwaterman/ -I../vcflib/multichoose/ -I../vcflib/filevercmp/ -I../vcflib/fastahack/ -I../SeqLib/htslib -I../SeqLib  -c bamfiltertech.cpp
bamfiltertech.cpp:12:26: fatal error: BamAlignment.h: No such file or directory
 #include "BamAlignment.h"
                          ^
compilation terminated.
make[1]: *** [bamfiltertech.o] Error 1
make[1]: Leaving directory `/config/source/freebayes/new/src'
make: *** [all] Error 2


UoO231 was assigned twice by oxfordBabylab

participant_id == 'UoO231' && lab_id == 'oxfordBabylab'
This participant appears twice in the eyetracking data and the demographic data - they assigned the same id to two participants.
One of them saw trial order 4 and the other one trial order 27.
It might make the most sense to fix this in the imports, as the unique id assumption gets relevant quite early in the pipeline e.g. at the resampling stage. So one of the two participants would need to be renamed in the demographic file manually, while the import script picks the corresponding appearance of the id in the raw ET data and renames it.

I have added new data of UoO611 and changed the second "UoO231" (trial order 27) to "UoO232" in the new data  @file. However, I don't have the permission to upload the new data file in the seperate oxford google file (https://drive.google.com/open?id=10rXhDUFw72ddDDNyu7EUaG0uGBjrJvFe&usp=drive_fs). @adriansteffan


docs: update structure

introduce new documentation structure https://github.com/inveniosoftware/cookiecutter-invenio-module/issues/56
document user perspective
document signals (if not done)
document example app (if not done)

Done


Update docs

See individual commits for more details. Please give this a 👍 / 👎 when you get a chance, @orta - will rebase and merge this to keep the commit message convention.

👍


Updated dates

Since lesson Oct 16 was cancelled the schedule was moved to run one extra week.

great, thanks!


check 'class' instead of 'type' for objects (Tiled 1.9)

Does the file contains Tiled version ?
Can we keep 1.8 working and still fetch 1.9 new fields ?

Yes, there is a "version" field, so we could check the new fields and keep compatibility for older versions.


Drive [gcs] is not supported

  I've done the composer install and added the section to my filesystem.php and configured my env variables but when I try to upload to it I get a message -

message: "Driver [gcs] is not supported.", exception: "InvalidArgumentException",…}
exception : "InvalidArgumentException"
file : "/app/vendor/laravel/framework/src/Illuminate/Filesystem/FilesystemManager.php"
line :  148
message :  "Driver [gcs] is not supported."

Ay ideas?  I've only set the following 2 env variables as it appears all the others are optional.
GOOGLE_CLOUD_STORAGE_BUCKET=laravel_storage
GOOGLE_CLOUD_KEY_FILE=/app/360204-c02cb6578b45.json

before you say it my entire Laravel app is in an app folder so this is not the normal Laravel /app folder that folder is found at /app/app.
Originally posted by @mobreviews in https://github.com/spatie/laravel-google-cloud-storage/discussions/48

Please ignore this.  I did a composer update and it appears to have solved the issue.  There must have been an old dependency in my lock file somewhere.


[OPENJDK-1673] use cp -p for s2i deployments

The test is preliminary, I guess it would be good to switch it to the quarkusio organisation rather than @jerboaa 's fork. I'm not sure if there's an appopriate ref in the mainline (in place of quickstart-2.16-s2i-cds); is any of the CDS stuff landed? Thanks

The test is preliminary, I guess it would be good to switch it to the quarkusio organisation rather than @jerboaa 's fork. I'm not sure if there's an appopriate ref in the mainline (in place of quickstart-2.16-s2i-cds); is any of the CDS stuff landed?

+1, but we aren't there yet. Once we have something we know works I'll propose the patch to the quarkus quickstarts repo. Then we can switch.


Replace gulp-plato with just plato

Fresh install is reporting npm WARN deprecated<EMAIL_ADDRESS>Deprecated. Just use the plato module directly.

7ec79a4d6f9b1196ea5543d680b52e83f5a52672 bd42f4b49772678e11088379a34833a28c492ecd Fixed. Thanks for bringing this up!


feat: add sample application for node-fetch

Signed-off-by: iamskp99<EMAIL_ADDRESS>This PR adds a sample app for testing node-fetch integration with keploy.

Converting PR to the draft because there is a problem in the simulate function of Keploy's SDK.


Any plan to optimize the decoding time?

Great work! However, the decoding time is about 12s for a 1080p image. The bottleneck lies in calling Hyperprior.decompress_forward, especially in prior_entropy_model.decompress (~10s).
Is there any plan to optimize the decoding time?

Yes, that definitely needs to be optimized for practical purposes. Do you have a detailed profile of the execution times for the decoding process?
The model architecture should be reasonably well optimized already, assuming you are running on GPU. Using torchscript to JIT functions in the forward pass should result in a small improvement.
The bottleneck probably lies in the actual entropy coding/decoding process. The current implementation is a vectorized rANS encoder written in numpy - which also has a small bit overhead in addition to being relatively slow, as the vectorized 'heads' must be initialized to some default value - which takes extra bits to store. Rewriting this in a lower-level language (which TF Compression and Fabian Mentzer's torchac do would definitely improve encoding/decoding times significantly. This is something I'd like to get working eventually if I can find the time to.

Thanks for your rely. Yes, the rANS decoding is quite slow. I found a c++ implementation for rANS https://github.com/InterDigitalInc/CompressAI used in pytorch. You may direcly merge this feature into this repo for improvement.


27756 - Fix Slot Elicitation Bug

🐘
This PR addresses a bug that occurs when you set maximum elicitations to
0. When you set this to zero the slot elicitation goes into an infinate
loop unless the slot has been filled
https://dev.azure.com/AMA-Ent/AMA-Ent/_boards/board/t/Red Team/Stories/?workitem=27756

@zoiec  - I've got a branch here that bumps the major version to 6.0.0. Do you want me to include this fix I'm my branch?

@jessedoyle Don't worry about the fix at this point as there is alot of test failures with this change


Escaping of backslashes in helmfile files changed in helmfile 1.0.0-rc0

Operating system
Ubuntu 24.04
Helmfile Version
1.0.0-rc0
Helm Version
3.14.3
Bug description
I wanted to prepare for the 1.0.0 release and tried out the rc0.
I noticed that backslashes in strings now get escaped.
This is an issue for me, as a use readFile to read dashboard json files for Grafana, and Grafana can't read some dashboards anymore which have \ in them (especially PromQL has a lot of \"word\")
Was this change intentional? can i work around it? not sure if it's actually a bug. Couldn't find the behaviour change in https://github.com/helmfile/helmfile/blob/main/docs/proposals/towards-1.0.md
Example helmfile.yaml

Create a Helmfile template (helmfile.yaml.gotmpl) with the following content:
apiVersion: v1
data:
  testjson: '{ "test": "test{\"escapecheck\"}" } '
kind: ConfigMap
metadata:
  labels:
    app.kubernetes.io/instance: jsonreadfiletest
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: jsonreadfiletest-raw
    app.kubernetes.io/version: 1.0.0
    helm.sh/chart: raw-2.0.0
  name: jsonreadfiletest

Render the template using Helmfile v0.163.1:
helmfile_0.163.1_linux_amd64/helmfile template -f helmfile.yaml.gotmpl

The rendered output will be:
apiVersion: v1
data:
  testjson: '{ "test": "test{\"escapecheck\"}" } '
kind: ConfigMap
metadata:
  labels:
    app.kubernetes.io/instance: jsonreadfiletest
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: jsonreadfiletest-raw
    app.kubernetes.io/version: 1.0.0
    helm.sh/chart: raw-2.0.0
  name: jsonreadfiletest

Render the template using Helmfile v1.0.0-rc.0:
helmfile_1.0.0-rc.0_linux_amd64/helmfile template -f helmfile.yaml.gotmpl

The rendered output will be:
apiVersion: v1
data:
  testjson: '{ "test": "test{\\"escapecheck\\"}" } '
kind: ConfigMap
metadata:
  labels:
    app.kubernetes.io/instance: jsonreadfiletest
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: jsonreadfiletest-raw
    app.kubernetes.io/version: 1.0.0
    helm.sh/chart: raw-2.0.0
  name: jsonreadfiletest

Error message you've seen (if any)
Just a Grafana error caused by the escaping, but error in helmfile itself.
Steps to reproduce
https://github.com/Mahagon/helmfile_json_escaping_issue
Working Helmfile Version
0.163.1
Relevant discussion
No response

just found https://github.com/helmfile/helmfile/issues/1079, might be related? :thinking:

HELMFILE_GOCCY_GOYAML=false @Mahagon have a try? set this env.

HELMFILE_GOCCY_GOYAML=false seems to work for me :)

Setting HELMFILE_GOCCY_GOYAML=false isn't a solution, it's workaround at best. At worst this is a blocker. Unless there fix available in helmfile, goccy/go-yaml shouldn't be used by default.

 I will try to optimize it.


Another new sponsor please.

NPC are a Bronze sponsor, so the same size as Nexxer and Third Sector Lab, and linking to https://www.thinknpc.org/

Closed by https://github.com/neontribe/UK-Charity-Camp/pull/87


Added support for installing podman

Type of Change

[x] New feature

Description
I added a new feature to install Podman and Podman Compose in the installation script.
Testing
I tested the script on Fedora using dnf and Ubuntu with apt and pip3. Podman and Podman Compose were installed and worked as expected.
Impact
This change allows users to install Podman and Podman Compose for those who wish to use it instead of docker
Additional Information
podman-compose is only available to the dnf package manger, for other distroes it uses the pip3 package.
Checklist

[x] My code adheres to the coding and style guidelines of the project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no errors/warnings/merge conflicts.

Please test your changes before submitting a PR. Read the Guidelines.

Also, you need to run cargo xtask docgen in the root directory.

podman-compose is available as a package in arch/extra (here, here), debian >= 12 (so also ubuntu) with apt and openSUSE >= Leap 15 with zypper. Took me one quick web search. Don't use pip.

I have updated the installation method to use the package manager instead of pip. I am sorry for  overlooking the package manager option.
I also wanted to clarify that the LLM comment was derived from the docker-setup.sh which my script is based upon.

I have updated the installation method to use the package manager instead of pip. I am sorry for overlooking the package manager option.

No problem.

I also wanted to clarify that the LLM comment was derived from the docker-setup.sh which my script is based upon.

Well, that's unfortunate. I wonder who "wrote" docker setup...... @nnyyxxxx ??

click commit on these new suggestions and this Pr should be ready to go! @Albert-LGTM


Working of http cache

Hi, wanted more information on the working of Http cache.
When a request is made, is the cached data evicted before the response is obtained or after the response is obtained.
For example:For the first time a request is made NETWORK_FIRST flag (assuming this caches data in Http cache).
The same request is made multiple times with CACHE_FIRST flag.
Sometimes it says returned data from cache and sometimes its says Failed to parse http response
So wondering of cache data is evicted sometimes before response is obtained?
Or when is cached data evicted?
Or how does http cache work?
Thanks

When the response has error, is the cache updated ?


Multiple instances of gulp-ruby-sass causes ENOENT error

If running multiple instances of gulp (for example multiple developers each running gulp instance to get different browser-sync instance), then gulp-ruby-sass errors as follows because one instance deletes the temporary container while the other one is using it:
[16:39:47] gulp-ruby-sass stderr: /usr/local/share/gems/gems/sass-3.4.11/lib/sass/exec/base.rb:182:in initialize': No such file or directory - styles.css (Errno::ENOENT) 	from /usr/local/share/gems/gems/sass-3.4.11/lib/sass/exec/base.rb:182:in open'
from /usr/local/share/gems/gems/sass-3.4.11/lib/sass/exec/base.rb:182:in open_file' 	from /usr/local/share/gems/gems/sass-3.4.11/lib/sass/exec/base.rb:171:in write_output'
from /usr/local/share/gems/gems/sass-3.4.11/lib/sass/exec/sass_scss.rb:415:in run' 	from /usr/local/share/gems/gems/sass-3.4.11/lib/sass/exec/sass_scss.rb:63:in process_result'
from /usr/local/share/gems/gems/sass-3.4.11/lib/sass/exec/base.rb:52:in parse' 	from /usr/local/share/gems/gems/sass-3.4.11/lib/sass/exec/base.rb:19:in parse!'
from /usr/local/share/gems/gems/sass-3.4.11/bin/sass:13:in <top (required)>' 	from /usr/local/bin/sass:23:in load'
from /usr/local/bin/sass:23:in `'
Setting container doesn't work because multiple instances will still use the same container argument.  Ideally, it would use a random temporary directory name for the container (eg. /tmp/gulp-ruby-sass-xyz123) so multiple instances can run without clashing.

I have the same error with only one instance of Gulp running. I have 4 CSS files to generate so I run 4 sass but I need to re-run the task several times to achieve the generation of the 4 files (because of the error above). I think it can be resolved by using globs are by being able to run tasks synchronously (which is not practical at all with Gulp way, or even run-sequence).
Here's what I am doing :
fs.readdir( './components', function( err, list ) {
	if( !err ){
		list.forEach( function( dir ) {
			if( dir.charAt(0) == '@' ) {
				var name = dir.substring( 1 ),
					path = './components/' + dir + '/' + name + '.scss';
				if( fs.existsSync(path) ) {
					sass( path, { loadPath: [ './scss/', './components/' ] } )
						.pipe( plumber() )
						.pipe( cache( 'css' ) )
						.pipe( $if( prod, uncss( { html: [ conf[ dir ] ] } ) ) )
						.pipe( $if( prod, csso() ) )
						.pipe( gulp.dest( './' ) )
						.pipe( size( { gzip: true } ) );
				}
			}
		});
	}
} );

Why does container not work? Are these multiple developers working on the
same computer, or?
On Friday, March 13, 2015, Aurélien Delogu<EMAIL_ADDRESS>wrote:

I have the same error with only one instance of Gulp running. I have 4 CSS
files to generate so I run 4 sass but I need to re-run the task several
times to achieve the generation of the 4 files (because of the error
above). I think it can be resolved by using globs are by being able to run
tasks synchronously (which is not practical at all with Gulp way, or even
run-sequence).
Here's what I am doing :
fs.readdir( './components', function( err, list ) {
if( !err ){
list.forEach( function( dir ) {
if( dir.charAt(0) == '@' ) {
var name = dir.substring( 1 ),
path = './components/' + dir + '/' + name + '.scss';
if( fs.existsSync(path) ) {
sass( path, { loadPath: [ './scss/', './components/' ] } )
.pipe( plumber() )
.pipe( cache( 'css' ) )
.pipe( $if( prod, uncss( { html: [ conf[ dir ] ] } ) ) )
.pipe( $if( prod, csso() ) )
.pipe( gulp.dest( './' ) )
.pipe( size( { gzip: true } ) );
}
}
});
}
} );
—
Reply to this email directly or view it on GitHub
https://github.com/sindresorhus/gulp-ruby-sass/issues/207#issuecomment-78884567
.

--
Rob Wierzbowski
@robwierzbowski http://twitter.com/#!/robwierzbowski
http://github.com/robwierzbowski
http://robwierzbowski.com

Container?

@pyrsmk https://github.com/sindresorhus/gulp-ruby-sass#container

Not really obvious without any example, but thanks, I'll try this!

And now, all is working as expected. Thanks a lot!

I don't think this helps my situation where there are multiple instances of the same task being run - yes, multiple developers on the same server.  If the container name could be randomised that might work.

You can randomize the container in your gulpfile by setting it to the
result of a function that returns a random string. I'm working towards
implementing Sass caching which is going to need the same container between
runs. I don't think many developers on the same remote box using the same
gulpfile is a common use case, so I probably won't add any code to support
it in the module itself.
Does that work for you?
Rob Wierzbowski
@robwierzbowski http://twitter.com/#!/robwierzbowski
http://github.com/robwierzbowski
http://robwierzbowski.com
On Fri, Mar 13, 2015 at 10:06 AM, siliconalchemy<EMAIL_ADDRESS>wrote:

I don't think this helps my situation where there are multiple instances
of the same task being run - yes, multiple developers on the same server.
If the container name could be randomised that might work.
—
Reply to this email directly or view it on GitHub
https://github.com/sindresorhus/gulp-ruby-sass/issues/207#issuecomment-78986141
.

Yup that seems to work, thanks!  Seeing as the containers are transient, why not randomise the names by default?  Wouldn't hurt would it?

@siliconalchemy that would break the Sass caching mechanism IIRC.


Split macro tests into multiple files

The MacroSystemTests file had grown into a giant test-all file. Split the tests into multiple files, grouped by the role of the macro they are testing.

@swift-ci Please test

@swift-ci Please test macOS


supabase db remote commit fails with error Error: ERROR: prepared statement "lrupsc_1_0" already exists (SQLSTATE 42P05)

Bug report
Describe the bug
When creating a local copy of my Supabase project, I get an error about a prepared statement already existing and the clone fails.
To Reproduce
I am trying to "clone" my Supabase project locally for this app. In the frontend directory, run supabase init. The process completes with the message Finished supabase init.
I then run supabase db remote set 'postgresql://postgres:<your_password>@db.<your_project_ref>.supabase.co:5432/postgres' with my details added. This successfully completes with the message Finished supabase db remote set.
I then run supabase db remote commit. The loading indicator runs for a moment, then I get the error response Error: ERROR: prepared statement "lrupsc_1_0" already exists (SQLSTATE 42P05).
Expected behavior
When running supabase db remote commit, I should get a local representation of my remote Supabase project.
System information

OS: Windows, but running WSL2 using Ubuntu 20.04.3
Version of supabase CLI: 0.17.0 (Installed using brew)

Additional context
I was able to find this similar issue but I wasn't able to find anything actionable on my end.

Just to confirm, are you using direct connection (postgresql://...:5432/postgres) instead of PgBouncer (postgresql://...:6543/postgres)?

Oh shoot. I bet that's it. I was using 6543/PgBouncer. I made the mistake of not copying that correctly when I was recreating what I typed in the terminal (so that I didn't enter my DB password). Using 5432 worked as intended.
Thank you so much for knowing exactly what the problem was.

As a follow up, if I were to open a PR to allow a user to set the remote by passing in the database ref and password separately, would you be open to that? I'm thinking supabase db remote set --host <your_project_ref> --pass <your_password> which would be interpolated into the correct connection string?

Sure! Nit: maybe --password instead of --pass.

I tried the ":5432" but it keeps saying dial error connection refused but I can do it when I change it back to 6543


Apt_reboot_required fact addition.

Simple fact to determine if a reboot is necessary after updates have been installed, along with unit tests and comment in the README.

@mhaskel This seems good to me, what do you think?

@dlactin @daenney also, when #515 gets merged it will ahve the README updates, and this may need a rebase after that :\

I will change the fact to the simplified version and create another pull request quick.

great, thanks @dlactin !


ISPN-10190 JDK 12+ fixes

https://issues.jboss.org/browse/ISPN-10190

@tristantarrant Checkstyle failure, unused imports on TestingUtil

Hehe, that class has 138 imports :) Repushed


After updating VSCode to 1.54.3

OS: win32 - x64
Error: Error
Message: EBUSY: resource busy or locked, open 'C:\Users\djong.vscode\extensions\tabnine.tabnine-vscode-3.2.10\binaries\3.3.96\x86_64-pc-windows-gnu\TabNine-deep-local.exe'
Stack: Error: EBUSY: resource busy or locked, open 'C:\Users\djong.vscode\extensions\tabnine.tabnine-vscode-3.2.10\binaries\3.3.96\x86_64-pc-windows-gnu\TabNine-deep-local.exe'

Actually, resolved itself after a few VSCode app restarts.


Dependabot private Ruby registry config: Fix indentation of replaces-base

Why:
It's silly to have things indented wrongly (not sure whether it breaks anything though).
What's being changed (if available, include any code snippets, screenshots, or gifs):
This fixes the indentation of YAML in an example.
https://docs-26538-926381.preview.ghdocs.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#rubygems-server
Check off the following:

[x] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline.

For content changes, you will also see an automatically generated comment with links directly to pages you've modified. The comment won't appear if your PR only edits files in the data directory.

[x] For content changes, I have completed the self-review checklist.

@patbl Thanks so much for opening a PR! I'll get this triaged for review :zap:


The default role should be a list not a scalar?

Is your feature request related to a problem? Please describe.
I need a default role that enhances the abilities of the gamma user. I do not want to copy all the gamma abilities and then add the extra abilities and lump them into a single role. Superset/FAB RBAC is compositional and I insist on being able to build user roles in agreement with this approach.
Describe the solution you'd like
in my superset_config.py I set:
AUTH_USER_REGISTRATION_ROLE = ["Gamma", "Gamma_extra"]
and the default user is assigned a set of roles instead of a single role.
Describe alternatives you've considered
It is certainly possible to write all the code to do this similar to https://github.com/apache/incubator-superset/issues/3419
But I think a simpler solution would be to admit that RBAC is compositional and allow for that directly from config file.

The context for this enhancement is for flask-appbuilder, please open an issue there


[RFC, WIP] Allow single expression closure with conditional compilation blocks

Fixes SR-3417
Treat closures like this as single-expression closures.
let callback: () -> Int = {
  #if os(Windows)
    windowsAPI()
  #else
    otherAPI()
  #endif
}

I moved single-expression-closure detection logic to Sema from Parse,
because we can't decide it until conditional compilation blocks are fully resolved.
As @hughbe said in #6240, I'm also not sure if this would be treated as a bugfix or a SE issue.
(under circumstances where conditional compilation block is defined as statement in the language reference).

@rintaro Do you still want to keep this open?

Stale. closing.


A type checking problem while loading a 3D model of three.js

I am trying to load a 3D model of three.js to use in my python code transcrypted. I encountered a problem in type checking of a loaded object done by "isinstance(child, three.SkinnedMesh)" in Python translated from "child instanceof THREE.SkinnedMesh" in Javascript three.js code. A problem is that the type of a javascript object is not the same to that of python after transcypted.
This is the original source file from three.js (https://github.com/mrdoob/three.js/blob/master/examples/webgl_animation_skinning_blending.html):
var url = 'models/skinned/marine/marine_anims_core.json';
...
// Load skinned mesh
new THREE.ObjectLoader().load( url, function ( loadedObject ) {
	loadedObject.traverse( function ( child ) {
		if ( child instanceof THREE.SkinnedMesh ) {    //##### THIS LINE !!!!!!!!!######
			mesh = child;
		}
	} );
	if ( mesh === undefined ) {
		alert( 'Unable to find a SkinnedMesh in this place:\n\n' + url + '\n\n' );
		return;
	}

And the following is the corresponding my python code:
url = '/models/skinned/marine/marine_anims_core.json'
mesh_loaded=undefined='undefined'

print('three.SkinnedMesh', three.SkinnedMesh)
print('type(three.SkinnedMesh)=', type(three.SkinnedMesh))

def traverse_handler(child):
    global mesh_loaded
    print('in traverse_handler(), child=', child, 'type(child)=', type(child))
    if isinstance(child, three.SkinnedMesh):  ##### THIS LINE !!!!!!!!!######
        mesh_loaded= child
        print('mesh_loaded in traverse_handler()=', mesh_loaded)

def handler_onloadSkinnedMesh( loadedObject ):
    print('in handler_onloadSkinnedMesh(), loadedObject=', loadedObject)
    global mesh_loaded
    loadedObject.traverse( traverse_handler)
    print('loadedObject=', loadedObject, 'mesh_loaded=', mesh_loaded)
    if mesh_loaded== undefined:
        print( 'Unable to find a SkinnedMesh in this place:\n\n' + url + '\n\n' )
        return
    scene.add( mesh_loaded )

# Load skinned mesh
loader.load( url, handler_onloadSkinnedMesh)

and the execution result is:
loader= [object Object]

__standard__.py:236 three.SkinnedMesh function () {
							var args = tuple ([].slice.apply (arguments).slice (0));
							return new obj (...args);
						}
__standard__.py:236 type(three.SkinnedMesh)= None

three.js:20307 THREE.WebGLRenderer 86
__standard__.py:236 after loader.load()
__standard__.py:236 in handler_onloadSkinnedMesh(), loadedObject= [object Object]
__standard__.py:236 in traverse_handler(), child= [object Object] type(child)= None
__standard__.py:236 in traverse_handler(), child= [object Object] type(child)= None
(the above line is repeated more...)
34__standard__.py:236 in traverse_handler(), child= [object Object] type(child)= None
__standard__.py:236 loadedObject= [object Object] mesh_loaded= undefined
__standard__.py:236 Unable to find a SkinnedMesh in this place:
/models/skinned/marine/marine_anims_core.json

As you can see above, three.SkinnedMesh is a function(), and the type is None (??). The loaded object, child= [object Object], and type(child) is None again (???). So the type checking doesn't work.  What can I do here?
I appreciate your help about either fixing the type checking or another way to load a  3D model of three.js in python transcrypted.

The problem seems to be twofold.

It looks like you use encapsulated versions of the THREE constructor functions, that call JavaScript's 'new' for you. Encapsulated constructors are related to the original THREE constructors as follows:

def _ctor(obj):
    def _c_(*args):
        return __new__(obj (*args))
    return _c_

three.SkinnedMesh = _ctor (THREE.SkinnedMesh)

In other words: three.SkinnedMesh behaves like a class, but is in fact function c, that does the new call for you, which in turn invokes JavaScript's new operator.

Another problem is that JavaScript isn't class based, despite the recent addition of the keyword 'class'. It is prototype based, i.e. the type of something is determined by the function that constructed it. The isinstance function currently only works for true classes, not for JavaScript objects generated by a constructor function.
Note that even if  the functionality of isinstane were expanded, it still would'nt work in checking encapsulated constructors with native constructors, since they're simply different beasts. Making instanceof recognize encapsulation functions would do no good, since in general JS libraries are used 'as is' rather than encapsulated.

The simplest way out of this dilemma is to use the original, non-encapsulated constructors in a piece of native JavaScript code;
\_\_pragma\_\_  ('js', '{}' '''
new THREE.ObjectLoader().load( url, function ( loadedObject ) {
	loadedObject.traverse( function ( child ) {
		if ( child instanceof THREE.SkinnedMesh ) {    //##### THIS LINE !!!!!!!!!######
			mesh = child;
		}
	} );
	if ( mesh === undefined ) {
		alert( 'Unable to find a SkinnedMesh in this place:\n\n' + url + '\n\n' );
		return;
	}
''')

Loading succeeded in both ways you suggested. But the loaded object is not displayed on the screen yet. I will keep working on it.
Interestingly, the loading failed on the newest three.js version downloaded from the three.org. The linked version in pysteriod demo (https://cdnjs.cloudflare.com/ajax/libs/three.js/86/three.js) worked ok. I think that transcrypt is not compatible with the newest version. Three.js is being developed fast.
Thanks a lot for your help!

Once you found out what's causing the problem, please let us know.
We 're curious because in principle any lib should just work...

I am posting the complete source so that you can test on the newest three.js library if you want. It is pretty short code, and good to test. This code works with https://cdnjs.cloudflare.com/ajax/libs/three.js/86/three.js, but not with the newest three.js version. I don't need to use the newest version  now, but I may need it sometime in the future.
three_loadobj.py:
from org import threejs as three
scene = three.Scene()
# following json file can be downloaded from
url = '/models/skinned/marine/marine_anims_core.json'
mesh_loaded=None
_pragma__('js', '{}', '''
new THREE.ObjectLoader().load( url, function ( loadedObject ) {
	loadedObject.traverse( function ( child ) {
	    if ( child instanceof THREE.SkinnedMesh ) {
		    console.log('found a SkinnedMesh', child);
			mesh_loaded = child;
		}
	} );
	console.log('mesh_loaded=', mesh_loaded)
	if ( !mesh_loaded ) {
		console.log( 'Unable to find a SkinnedMesh');
		return;
	}
	console.log('scene.add(mesh_loaded)')
	scene.add(mesh_loaded)
})
''')

To change the three.js library, you can change the comments in the script tags below.
index.html:
<html>
<body>s
    <script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/86/three.js"></script>
    <!script src="../lib/three/three.js"></script>
    <script src="__javascript__/three_loadobj.js"; charset="UTF-8"></script>
</body>
</html>

I will post the succeeded three.js demo version ported to python so that you can post in the transcrypt web site. Thanks again.

Thanks!

Good news. The animated model is being displayed on the screen. The three.js version problem disappeared.
But I still have a problem calling a member function of an object created in Javascript. The mixer object is created inside three library, and its member function mixer.update() fails to be called ("py_update() undefined error"). But some other member functions are called well (mixer.clipAction('idle')).
mixer = three.AnimationMixer(mesh_loaded)
mixerUpdateDelta = clock.getDelta()
mixer.update( mixerUpdateDelta )     #### ERROR: py_update() undefined

So I tried using direct javascript code like below. It worked ok:
__pragma__('js', '{}', 'mixer.update( mixerUpdateDelta )')
I don't think that the way using direct javascript code is the right solution in this case. The previous solution in loading an object is ok because it is a special case.  But this problem is a general case, and I have to write pragma() code every time I call the function. Is there a pythonic way to do it? or is it a bug can be fixed?
following is the complete source code:
<html>
<body>

    <script src="../lib/three/r89/build/three.js"></script>
    <script src="../lib/three/r89/examples/js/Detector.js"></script>
    <script src="../lib/three/r89/examples/js/controls/OrbitControls.js"></script>
    <script src="__javascript__/three_loadobj.js"; charset="UTF-8"></script>

<script>
##########test three.js load animated object ###########
import math
from org import threejs as three
if not Detector.webgl:
    Detector.addGetWebGLMessage()
container = document.body #document.getElementById( 'container' )
clock = three.Clock()
singleStepMode = False
sizeOfNextStep = 0
url = '/models/skinned/marine/marine_anims_core.json'
# Initialize stats (fps display)
#stats = new Stats();
#container.appendChild( stats.dom );
# Initialize scene, light and renderer
scene = three.Scene()
scene.background = three.Color( 0x333333 )
scene.add( three.AmbientLight( 0xffffff ) )
renderer = three.WebGLRenderer( { 'antialias': True } )
renderer.setPixelRatio( window.devicePixelRatio )
renderer.setSize( window.innerWidth, window.innerHeight )
container.appendChild( renderer.domElement)

mesh_loaded=None

def traverse_handler(child):
    global mesh_loaded
    __pragma__('js', '{}', '''
            if (child instanceof THREE.SkinnedMesh) {
                mesh_loaded = child;
            }
    ''')
camera=mixer=idleAction=walkAction=runAction=None
actions=[]
def activateAllActions():
    #setWeight( idleAction, settings[ 'modify idle weight' ] )
    #setWeight( walkAction, settings[ 'modify walk weight' ] )
    #setWeight( runAction, settings[ 'modify run weight' ] )
    for action in actions:
        action.play()
def handler_onloadSkinnedMesh( loadedObject ):
    global mesh_loaded, scene, camera
    loadedObject.traverse( traverse_handler)
    if not mesh_loaded:
        print( 'Unable to find a SkinnedMesh ' )
        return
    console.log('mesh_loaded=', mesh_loaded)
    # Add mesh and skeleton helper to scene
    mesh_loaded.rotation.y = - 135 * math.pi / 180
    mesh_loaded.visible=True
    # Add mesh and skeleton helper to scene
    scene.add(mesh_loaded)
    skeleton = three.SkeletonHelper(mesh_loaded)
    skeleton.visible = False
    scene.add(skeleton)
    # Initialize camera and camera controls
    radius = mesh_loaded.geometry.boundingSphere.radius
    aspect = window.innerWidth / window.innerHeight
    camera = three.PerspectiveCamera(45, aspect, 1, 10000)
    camera.position.set(0.0, radius, radius * 3.5)
    controls = three.OrbitControls(camera, renderer.domElement)
    controls.target.set(0, radius, 0)
    #controls.update()
    #__pragma__('js', '{}', 'controls.update()')
    # Create the control panel
    #createPanel();
    # Initialize mixer and clip actions
    global mixer, idleAction, walkAction, runAction, actions
    mixer = three.AnimationMixer(mesh_loaded)
    idleAction = mixer.clipAction('idle')
    walkAction = mixer.clipAction('walk')
    runAction = mixer.clipAction('run')
    actions = [idleAction, walkAction, runAction]
    activateAllActions()
    # Listen on window resizing and start the render loop
    window.addEventListener('resize', onWindowResize, False)
    animate()
# Load skinned mesh
loader = three.ObjectLoader()
loader.load( url, handler_onloadSkinnedMesh)
def onWindowResize():
    global camera
    camera.aspect = window.innerWidth / window.innerHeight
    camera.updateProjectionMatrix()
    renderer.setSize(window.innerWidth, window.innerHeight)
def animate():
    global scene, camera
    global clock, singleStepMode, mixer
    #Render loop
    requestAnimationFrame(animate)
    idleWeight = idleAction.getEffectiveWeight()
    walkWeight = walkAction.getEffectiveWeight()
    runWeight = runAction.getEffectiveWeight()
    # Update the panel values if weights are modified from "outside"(by crossfadings)"
    #updateWeightSliders()
    #Enable / disable crossfade controls according to current weight values
    #updateCrossFadeControls()
    #Get the time elapsed since the last frame, used for mixer update( if not in single step mode)
    mixerUpdateDelta = clock.getDelta()
    global sizeOfNextStep
    # If in single step mode, make one step and then do nothing (until the user clicks again)
    if singleStepMode:
        mixerUpdateDelta = sizeOfNextStep
        sizeOfNextStep = 0
    #print('mixer=', mixer, 'type=', type(mixer))
    # Update the animation mixer, the stats panel, and render this frame
    ##mixer.update( mixerUpdateDelta )
    #__pragma__('js', '{}', 'mixer.update( mixerUpdateDelta )')
    #stats.update()     # fps display
    renderer.render( scene, camera )
</script>

</body>
</html>

The following aliases are applied by default to avoid name clashes with JS:
                                                    ('js_and', 'and'),
            ('arguments', 'py_arguments'),          ('js_arguments', 'arguments'),
            ('case', 'py_case'),
            ('clear', 'py_clear'),                  ('js_clear', 'clear'),
            ('default', 'py_default'),
            ('del', 'py_del'),                      ('js_del', 'del'),
            ('false', 'py_false'),
                                                    ('js_from', 'from'),
            ('get', 'py_get'),                      ('js_get', 'get'),
                                                    ('js_global', 'global'),
            ('Infinity', 'py_Infinity'),            ('js_Infinity', 'Infinity'),
            ('isNaN', 'py_isNaN'),                  ('js_isNaN', 'isNaN'),
            ('iter', 'py_iter'),                    ('js_iter', 'iter'),
            ('items', 'py_items'),                  ('js_items', 'items'),
            ('keys', 'py_keys'),                    ('js_keys', 'keys'),
            ('name', 'py_name'),                    ('js_name', 'name'),
            ('NaN', 'py_NaN'),                      ('js_NaN', 'NaN'),
            ('new', 'py_new'),
            ('next', 'py_next'),                    ('js_next', 'next'),
                                                    ('js_not', 'not'),
                                                    ('js_or', 'or'),
            ('pop', 'py_pop'),                      ('js_pop', 'pop'),
            ('popitem', 'py_popitem'),              ('js_popitem', 'popitem'),
            ('replace', 'py_replace'),              ('js_replace', 'replace'),
            ('selector', 'py_selector'),            ('js_selector', 'selector'),
            ('sort', 'py_sort'),                    ('js_sort', 'sort'),
            ('split', 'py_split'),                  ('js_split', 'split'),
            ('switch', 'py_switch'),
            ('type', 'py_metatype'),                ('js_type', 'type'),    # Only for the type metaclass, the type operator is dealth with separately in visit_Call
            ('TypeError', 'py_TypeError'),          ('js_TypeError', 'TypeError'),
            ('update', 'py_update'),                ('js_update', 'update'),
            ('values', 'py_values'),                ('js_values', 'values'),
            ('reversed', 'py_reversed'),            ('js_reversed', 'reversed'),
            ('setdefault', 'py_setdefault'),        ('js_setdefault', 'setdefault'),
                                                    ('js_super', 'super'),
            ('true', 'py_true'),
            ('undefined', 'py_undefined'),          ('js_undefined', 'undefined'),

You can use a 'js' or a 'noalias' pragma, but you can also get by without pragma's.
Simply using js_update in your source will be translated to update. As you can see in the list, this approach works for all aliases.
Unfortunately name classes are unavoidable if we don't want to mangle all names and keep the JS readable. But this is a reasonable way out, at least that's what we mean it to be.
Other approaches are using different unicode charsets to avoid clashes, but that has to much 'magic' for us, it may be at times confusing.

I encountered another problem. accessing a THREE dictionary variable returns None (undefined). I tried to encapsulate using _ctor() and new() , but it doesn't work too.
        cubeShader = three.ShaderLib['cube']
I tried direct javascript code, it returns correctly.
        __pragma__('js', '{}', "cubeShader = THREE.ShaderLib['cube']")
How can I access a dictionary variable of Javascript in Pythonic way?

Are we talking about this JavaScript object literal:
https://github.com/mrdoob/three.js/blob/master/src/renderers/shaders/ShaderLib.js
?

Yes, the link for ShaderLib.js is what we are talking  about.  console.dir(THREE.ShaderLib) showed the right contents. console.dir (three.ShaderLib) showed c() function. Simply using the capitalized THREE solved the problem. Thanks a lot!


docker-desktop cannot build it

docker desktop version :

D:\gitpro\microservice-rust-mysql>docker compose up
[+] Running 1/1
! server Warning                                                                                21.0s
[+] Building 15.8s (6/6) FINISHED
=> [internal] load build definition from Dockerfile                                                               0.0s
=> => transferring dockerfile: 1.08kB                                                                             0.0s
=> [internal] load .dockerignore                                                                                0.0s
=> => transferring context: 2B                                                                                0.0s
=> resolve image config for docker.io/docker/dockerfile:1                                                        15.4s
=> CACHED docker-image://docker.io/docker/dockerfile:1@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cf  0.0s
=> [internal] load .dockerignore                                                                                0.0s
=> [internal] load build definition from Dockerfile                                                               0.0s
failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to solve with frontend gateway.v0: rpc error: code = Unknown desc = dockerfile parse error on line 6: unknown instruction: set (did you mean user?)
#it works after modify like below
`FROM --platform=$BUILDPLATFORM rust:1.64 AS buildbase
WORKDIR /src
RUN apt-get update && apt-get install -y
git
clang
&& rustup target add wasm32-wasi
RUN curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install.sh | bash
FROM buildbase AS build
COPY Cargo.toml orders.json update_order.json .
COPY src ./src
RUN --mount=type=cache,target=/usr/local/cargo/git/db
--mount=type=cache,target=/usr/local/cargo/registry/cache
--mount=type=cache,target=/usr/local/cargo/registry/index
cargo build --target wasm32-wasi --release
RUN /root/.wasmedge/bin/wasmedgec target/wasm32-wasi/release/order_demo_service.wasm order_demo_service.wasm
FROM scratch
ENTRYPOINT [ "order_demo_service.wasm" ]
COPY --from=build /src/order_demo_service.wasm /order_demo_service.wasm`

Hi @fanspace
Please update to the latest docker-desktop and try again.

And you will need an extra flag to workaround an issue: https://github.com/second-state/microservice-rust-mysql/commit/ac7bbed4db49ebdd18c044e4d3bdf6c51eebefa4
Then, docker compose up

I do it like this

I can not build the container either.  Even after using docker desktop with the containerd and wasm features enabled and using the correct env variable I get issues with either the container hanging when trying to build (and unable to cancel) or error response from the daemon: failed to create container: unknown.

any ideas here?

Hi @rphuber
Could you please try the latest master branch with the latest docker desktop? We fixed a DNS nameserver issue just a few hours ago.


crash when upgrading from <IP_ADDRESS> to <IP_ADDRESS>

crash-2020-03-28_20.56.09-client.txt

Hm, I may have messed something up. Thanks for the quick report!

This appears to be a conflict with another mod, I'm not sure which one though.

If necessary, you can downgrade to <IP_ADDRESS>, as the only difference is the update to Mixins.


Recommendation: Evaluate Metric name "RSquared" or "RMSE" or "MSE" is missing on the Train and Evaluate pages.

System Information (please complete the following information):
Windows OS: Windows-11-Enterprise-21H2
ML.Net Model Builder 2022: <IP_ADDRESS>1401 (Main Build)
Microsoft Visual Studio Enterprise: 2022(17.3.6)
.Net: 6.0
Describe the bug

On which step of the process did you run into an issue:
Evaluate Metric name "RSquared" or "RMSE" or "MSE" is missing on the Train and Evaluate pages for Recommendation scenario.

Data Source
https://testpass.blob.core.windows.net/test-pass-data/recommendation-ratings.csv
To Reproduce
Steps to reproduce the behavior:

Select Create a new project from the Visual Studio 2022 start window.
Choose the C# Console App (.NET Core6.0) project template.
Add model builder by right click on the project.
Select Recommendation scenario.
On Data page, select the data source and choose Rating column as label.
On the Train page, choose any metric ("RSquared" or "RMSE" or "MSE"), then click "Start training" button to complete the training.
You will see that Evaluate Metric name "RSquared" or "RMSE" or "MSE" is missing.

Expected behavior
Evaluate Metric name "RSquared" or "RMSE" or "MSE" should be displayed normally.
Screenshot

Recommendation scenario related to #2292 and #2293

The bug has been fixed on the latest main build: <IP_ADDRESS>2402


Add helpful references

Character creation (e.g. https://i.imgur.com/wyCVdCX.jpg) and range bands (https://i.imgur.com/HRjnP3H.png) should be included as Journals or something.

This is probably too close to copyrighted content. Closing.


Bug - Path Smoothing Blocked

Currently the blocking term in the path smoothing led to some weird features in path smoothing where paths diverged massively from great circles.  Originally we would only enter a new cell (max_new) if the SIC was 10% SIC better off.
We need to alter to include relative % improvements and consider if the new cell is better off from either the end or start cell. If the value of the SIC is lower than the % improvement then we should also allow this cell box addition because its below the certainty level

Corrections have been made with pull request generated


Project TS Tests [Don't Merge]

Available PR templates

Default
Version Release
Alternatively delete and start empty

@ingalls would this PR be ready to merge into project-ts?

@geohacker This is just a test, we shouldn't merge it into project-ts


Callback or event when language is loaded

Is there a way to get notified when the language is loaded?

#70


Remove redundant check for no processes

https://trello.com/c/zrq6ih4v/528-investigate-removal-of-no-processes-found-for-x-for-apps-with-a-healthcheck
This check was introduced to check we were collecting process metrics
for each app 1. We don't universally check the metrics we collect,
and we have no evidence to suggest this particular metric is a problem.
Note that we have an equivalent check for upstart, which also links
to the same documentation as this alert.

So, when I introduced this check, there were some misconfigured collectd plugins, which weren't monitoring any processes.
I think having the check is still valuable, as it should prevent getting in to that situation again in the future.

@cbaines I'm keen that we don't have redundant alerts, so I'd like to explore alternatives. We currently have 5-6 alerts that all fire when an app is down or sputtering, which is unhelpful noise. Some ideas:

If this alert is meant to monitor collectd, we should rename and re-document it as such. Note that the only explanation of its purpose is currently in the original commit message.

Is there another way we could protect against this? Since it doesn't affect the running platform, it's not ideal for it to be an alert. Could we test the configuration in Puppet, perhaps?

What's the worst case scenario if this alert didn't exist? I imagine it will still get spotted from people looking at deployment dashboards and the like, so we'd still be motivated to fix it.

What do you think?

@cbaines I'm keen that we don't have redundant alerts, so I'd like to explore alternatives. We currently have 5-6 alerts that all fire when an app is down or sputtering, which is unhelpful noise. Some ideas:

If this alert is meant to monitor collectd, we should rename and re-document it as such. Note that the only explanation of its purpose is currently in the original commit message.

Is there another way we could protect against this? Since it doesn't affect the running platform, it's not ideal for it to be an alert. Could we test the configuration in Puppet, perhaps?

What's the worst case scenario if this alert didn't exist? I imagine it will still get spotted from people looking at deployment dashboards and the like, so we'd still be motivated to fix it.

What do you think?

I'm still unsure this is redundant, is there something else in Icinga which will spot issues with the collectd process monitoring?
I think it's fine to mention that this is looking at the collectd metrics in the Icinga check description.
I'm not sure this could be tested in Puppet, because correctly configuring collectd requires writing a regex that matches the right processes by name, and we don't specify process names for all the apps in govuk-puppet.
I've had my fun fixing the broken configuration, so if we remove the check and things break again, I don't think it matters much in the grand scheme of things. I just wanted to get everything working, and keep it working, so that we'd have a more complete set of metrics.

is there something else in Icinga which will spot issues with the collectd process monitoring?

I don't think so. On balance, I'd like to remove it, but we could re-add if the config breaks again.
Would that be acceptable?


[hotfix] Fixed issue with broadcasting data to players

Closes #27

Codecov Report

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

@@           Coverage Diff           @@
##           master      #28   +/-   ##
=======================================
  Coverage   86.18%   86.18%
=======================================
  Files           2        2
  Lines         152      152
  Branches       35       35
=======================================
  Hits          131      131
  Misses         21       21

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 14a4813...28012e9. Read the comment docs.


Route inclusion/delegation security and policy implications

https://docs.google.com/document/d/1iumYQQMaB9y-PCtMsRwVfzKlZXZDejr_fO0krXn3F90/edit defines a mechanism to delegate and include routes.
There are several security and policy concerns:

what happens with attached policies, like security ? How are they merged or applied ?
for the common / recommended case - where users write label selectors using the namespace - this is equivalent with a list of namespace (but in a very verbose syntax - UX is not ideal ). If they deviate and use arbitrary labels - it becomes a security risk, and it also requires the owner of the HttpRoutes that are attaching to have namespace label edit permission, which in turn creates additional risks.
the merging semantics - where all fields/filters/attached policies may be impacted - may also introduce subtle routing or policy problems.

Also I would like some discussion if this is really a core feature that all implementations must support, or can be expressed as an optional feature - and use a separate resource and the normal policy attachment.
For example, it could be a 'example.com Delegate' CR, that is attached to a HttpRoute and defines any label selector you want, with implementations supporting this extended policy implementing what is described in the proposal, i.e. merge routes based on the labels to the main route.

Thanks for raising these points, @costinm, this is a great discussion.
Okay, easy one first.

Also I would like some discussion if this is really a core feature that all implementations must support, or can be expressed as an optional feature...

I think we can easily make this an optional feature by making the allowedPorts field on Routes have Extended support. That means that it's not necessary to support the feature, but if you do, we will mandate how the behavior works. (That's distinct from ImplementationSpecific fields, where we are saying that implementations can do whatever we want.)
I am a -1 on either having a separate CR, using another struct that allowedRoutes, or other solutions, because I think that having the Route<->Route attachment process be the same a the Gateway<->Route attachment process is such a big usability win. In fact, I would go so far as to say that Routes attaching to Gateways is functionally including the Route config inside the Gateway object, or (if the Route owner and Gateway owner are separate users) delegating control over that listener to the attached Route objects. If you think of it this way, reusing the same attachment method is very clear.
At the end of the day, all of these constructs are a way to break up a data plane configuration to make it easy for multiple personas to control different parts of it. Routes are not routing hops, they're a mechanism to ensure we meet our goals of separating roles and being able to migrate between implementations.
In terms of merging semantics for the Routes themselves, we already have merging semantics defined for the Gateway<->Route process, we can reuse the same rules to manage conflict resolution for the basic Route<->Route attachments as well.
In terms of the more complex interactions, like policy attachment, I agree that it's very possible to create conflicts in many ways. I think that we need to be clear that implementations can and should disallow attachments that produce outcomes like this. Since Policy attachment objects are currently by definition implementation specific, the handling of the behavior there must also be implementation specific. I'll grant that we could provide some better guidance in the Policy attachment documentation about what to do with sibling policies that conflict - but the policy attachment documentation is the place to do that, not here.
You didn't mention it in the above comments, but we discussed cross-namespace references in the meeting, and I think it's worth reiterating why we have this two-way handshake mechanism - explicitly it's to allow cross namespace references in as secure a way as possible. The referring object (in this case the child Route attaching to a parent, whether Gateway or Route) must specify the exact name of the thing it wants to attach to, while the parent can (and must in the case of Route<->Route attachment) specify what it will allow. It's requiring the referred object to also consent to the attachment that makes the cross-namespace references okay. (And that's why we built the ReferencePolicy object for cross-namespace references to things that we can't change the spec of, like Secret or Service.)
In terms of having an explicit list of named namespaces instead of a label selector, my concerns (and the reasons that these are not recommended in other API resources) are:

Using an explicit list can easily run up against object size limits if there are a lot of namespaces (and if we don't allow an arbitrary number, we're not serving people with very large clusters)
More importantly, using an explicit list means that adding a new namespace that a parent can accept routes from needs two operations: a cluster admin must label the namespace, and a Gateway admin must edit the object. For a busy cluster with namespace churn, being able to use namespace selectors allows this to be handled dynamically.  Absolutely. But the users that need that level of dynamic functionality will really need it).

That was a long commment, sorry.
tl;dr I think that using the same allowedRoutes construct for Gateway<->Route and Route<->Route attachment solves significantly more problems than it creates.

This is held up along with the actual inclusion work until after v0.5.0, keeping unstale.
/remove-lifecycle stale


Upgraded JRuby dependency to 1.7.24 and added integration test to asc…

…iidoctorj-distribution.
When setting the JRuby dependency to 1.7.23 the integration test will fail.
But it runs successfully with the version previously used, 1.7.21, and also with the brand new 1.7.24.

\o/

:beers:
Maybe this can save us some roundtrips we had to go in the past with the last 1.5.x releases.
Also tested locally in an integration test that plantuml diagrams work.
Unsure yet how to integrate this test so that it can be run on the CI system.
Maybe install the Windows or Linux graphviz binaries in the gradle scripts and set the PATH appropriately?

Maybe install the Windows or Linux graphviz binaries in the gradle scripts and set the PATH appropriately?

Another option is to use the Travis CI / AppVeyor configuration to install additional libraries.


无法加载图片

Which version of Blessing Skin are you using?
v6.0.0-rc.2
Which version of PHP are you using?
8.0
What browsers are you seeing the problem on?
Chrome
Which web server are you using?
Apache
What happened?

Apache 2.4.52
页面排版混乱只有文字，缓存出错
Error Logs
No response
Steps to Reproduce
在国内访问皮肤站

#410

closing as dup of #410


Please put fresh version on PyPi

Hi!
Can you please put 0.16.1 version of feast-hive on PyPi?

Hello @Felix-neko, sorry for the late reply, I will have a test and release today.

@Felix-neko Just released a new version for feast 0.17.0 with same version number

Thank you, bro!


fixed get recipe function and single recipe rendering

I made some changes to the iframe. the iframe now references "item" not "this.state"


Please add support for files drag and drop

Been loving this web app, but a very important feature in my workflow would be being able to easily drag and drop markdown files to the app window and have the file be automatically opened, instead of having to click on the open button and navigating to it manually from the popup file picker.

Sounds good to me, I added it in, let me know if that works.
It will only work on chromium browsers that support the file system API (chrome, edge, arc...). Files from VS Code are dropped as strings with the path instead of files so I couldn't get it working directly from there. But it works using Finder/File Explorer or from the desktop.

That was quick! Works great on my end (Chrome 117, Windows 11 22H2, drag & drop from Explorer).
Thank you

Great, thanks for the idea


Remove the HttpAppRouting Images

Remove the HttpAppRouting Images from the VHD caching, since the feature is deprecated and the images contain vulnerabilities.
What type of PR is this?
/kind cleanup

What this PR does / why we need it:
The images belongs to feature "Http App Routing", which is deprecated. Remove the image from VHD caching.
Which issue(s) this PR fixes:

Fixes #
Requirements:

[x] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall First build on robbiezhang-remove-http-app-routing-images at 60.655%

Totals

Change from base Build<PHONE_NUMBER>:
60.7%

Covered Lines:
2576

Relevant Lines:
4247

💛  - Coveralls


EnvScript works on client but not server

Hi,
I'm currently exploring this lib (3.2.2) with next (14.2.4).
Testing it in the app router I get undefined for my env on the server but it works on the client. This throws an hydration error...
Here is my code:
layout.tsx
import React from 'react';
import { EnvScript } from 'next-runtime-env';
import { unstable_noStore as noStore } from 'next/cache';

export default function RootLayout({ children }: { children: React.ReactNode }) {
    noStore();

    return (

                <EnvScript
                    env={{
                        NEXT_PUBLIC_FOO: 'VAL_NEXT_PUBLIC_FOO',
                    }}
                />

            {children}

    );
}

component on test route:
'use client';

import React from 'react';
import { env } from 'next-runtime-env';

const Foo = () => {
    const fooPublic = env('NEXT_PUBLIC_FOO');
    console.log('fooPublic', fooPublic);

    return
{fooPublic}
;
};

export default Foo;

You're only working with a client component not server side.

Doesn't use client mean run both on the server and on the client?

@badtant I had the same problem and with downgrading to version 3.2.1 it is fixed.


test: interchain accounts via interchaintest

Closes https://github.com/celestiaorg/celestia-app/issues/3207.
For posterity, this branch contains a messy commit history that describes issues encountered when setting up these tests.
Remaining tasks

[ ] Send balance to ICA account on Celestia and query balance on that account

We don't need to add this to the test-race Makefile cmd right?

Good question. test-race passes even though I didn't mean for it to run this test case. I'm pretty sure the other TestICA is getting invoked on test-race and not this one.
=== RUN   TestICA
--- PASS: TestICA (0.06s)

I'll rename this one to verify.

Update: looks like TestInterChainAccounts isn't getting run during test-race so we don't need to explicitly add it to the skip portion in the Makefile.

Why isn't it getting run? I thought it would

It looks like go list ./... only lists packages that are under the root level go.mod's module: github.com/celestiaorg/celestia-app/v2.  Per

A pattern containing "..." specifies the active modules whose
module paths match the pattern.

From go help list.
It doesn't list packages under github.com/celestiaorg/celestia-app/test/testground or github.com/celestiaorg/celestia-app/test/interchain
$ go list ./...
github.com/celestiaorg/celestia-app/v2/app
github.com/celestiaorg/celestia-app/v2/app/ante
github.com/celestiaorg/celestia-app/v2/app/encoding
github.com/celestiaorg/celestia-app/v2/app/errors
github.com/celestiaorg/celestia-app/v2/app/module
github.com/celestiaorg/celestia-app/v2/app/posthandler
github.com/celestiaorg/celestia-app/v2/app/test
github.com/celestiaorg/celestia-app/v2/cmd/celestia-appd
github.com/celestiaorg/celestia-app/v2/cmd/celestia-appd/cmd
github.com/celestiaorg/celestia-app/v2/pkg/appconsts
github.com/celestiaorg/celestia-app/v2/pkg/appconsts/testground
github.com/celestiaorg/celestia-app/v2/pkg/appconsts/v1
github.com/celestiaorg/celestia-app/v2/pkg/appconsts/v2
github.com/celestiaorg/celestia-app/v2/pkg/da
github.com/celestiaorg/celestia-app/v2/pkg/inclusion
github.com/celestiaorg/celestia-app/v2/pkg/proof
github.com/celestiaorg/celestia-app/v2/pkg/user
github.com/celestiaorg/celestia-app/v2/pkg/wrapper
github.com/celestiaorg/celestia-app/v2/proto/celestia/core/v1/da
github.com/celestiaorg/celestia-app/v2/test/cmd/txsim
github.com/celestiaorg/celestia-app/v2/test/e2e
github.com/celestiaorg/celestia-app/v2/test/ledger
github.com/celestiaorg/celestia-app/v2/test/packetforward
github.com/celestiaorg/celestia-app/v2/test/tokenfilter
github.com/celestiaorg/celestia-app/v2/test/txsim
github.com/celestiaorg/celestia-app/v2/test/util
github.com/celestiaorg/celestia-app/v2/test/util/blobfactory
github.com/celestiaorg/celestia-app/v2/test/util/genesis
github.com/celestiaorg/celestia-app/v2/test/util/malicious
github.com/celestiaorg/celestia-app/v2/test/util/sdkutil
github.com/celestiaorg/celestia-app/v2/test/util/testfactory
github.com/celestiaorg/celestia-app/v2/test/util/testnode
github.com/celestiaorg/celestia-app/v2/tools/blocktime
github.com/celestiaorg/celestia-app/v2/x/blob
github.com/celestiaorg/celestia-app/v2/x/blob/ante
github.com/celestiaorg/celestia-app/v2/x/blob/client/cli
github.com/celestiaorg/celestia-app/v2/x/blob/client/testutil
github.com/celestiaorg/celestia-app/v2/x/blob/keeper
github.com/celestiaorg/celestia-app/v2/x/blob/test
github.com/celestiaorg/celestia-app/v2/x/blob/types
github.com/celestiaorg/celestia-app/v2/x/blobstream
github.com/celestiaorg/celestia-app/v2/x/blobstream/client
github.com/celestiaorg/celestia-app/v2/x/blobstream/keeper
github.com/celestiaorg/celestia-app/v2/x/blobstream/types
github.com/celestiaorg/celestia-app/v2/x/minfee
github.com/celestiaorg/celestia-app/v2/x/mint
github.com/celestiaorg/celestia-app/v2/x/mint/client/cli
github.com/celestiaorg/celestia-app/v2/x/mint/client/testutil
github.com/celestiaorg/celestia-app/v2/x/mint/keeper
github.com/celestiaorg/celestia-app/v2/x/mint/simulation
github.com/celestiaorg/celestia-app/v2/x/mint/test
github.com/celestiaorg/celestia-app/v2/x/mint/types
github.com/celestiaorg/celestia-app/v2/x/paramfilter
github.com/celestiaorg/celestia-app/v2/x/paramfilter/test
github.com/celestiaorg/celestia-app/v2/x/signal
github.com/celestiaorg/celestia-app/v2/x/signal/cli
github.com/celestiaorg/celestia-app/v2/x/signal/types
github.com/celestiaorg/celestia-app/v2/x/tokenfilter


changes farewell activity to include getSpanishFarewell and remove ne…

This code changes the farewell-workflow activity so that we are changing the intent of the activity from creating a new workflow/client to adding the getSpanishFarewell activity to the existing workflow.

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


Multiple issues related to new game transition (after finishing previous one) in high latency connection

Host may send one or multiple winning hand instruction anmd it could become messy and crash / freeze the game or misplace the cards
Guest could send instruction which arrives late but host has already started a new game so it becomes an instruction during the new game
If a new multi game has started, then host's previous end game screen should not fire init action

I believe those issues related to game transition are fixed in commit ea2a89b
However #33 is still to be solved

Multiplayer Mode looks OK now, although it may need some more test


Question: Highest resolution

What is the highest resolution can we stream with this library?
or is it bound to?
rtmpCamera.getResolutionsFront();

The highest resolution depend of your device. Normally is the higher obtained by rtmpCamera.getResolutionsBack using camera2.
Remember that if your front camera doesnt support that resolution you can't switch camera (you will get an error if you do it)

Closing as inactive.


Deplorable

pip3 install xrpl-py

Closing due to lack of information. If you have more details on the issue that you have, feel free to re-open this issue and add comments.


Simplifies returning command name. Closes #2123

Simplifies returning command name. Closes #2123

Coverage remained the same at 100.0% when pulling 4b8989f974bced778a43cae404177d28454fa76a on nanddeepn:simplify-returning-command into d6d85acec993f1d43ae39f176fc194b3216294e6 on pnp:main.

Thank you! We'll go through it asap 👏

Merged manually. Thank you! 👏


Use Path module functions and properties in server and generate

Fixes #468
Motivation
We want to be more robust in our path string handling in order to not fail on various platforms.
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Local Docusaurus site testing
Related PRs
N/A

> docusaurus-build

generate.js triggered...
feed.js triggered...
feed.js triggered...
sitemap.js triggered...
fs.js:641
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                 ^

Error: EISDIR: illegal operation on a directory, open 'C:\Users\user\Desktop
\Gitlab\forks\docusaurus-example\website\build\test-site'
    at Error (native)
    at Object.fs.openSync (fs.js:641:18)
    at Object.fs.writeFileSync (fs.js:1347:33)
    at C:/Users/user/Desktop/Gitlab/forks/docusaurus-example/website/node_mo
dules/docusaurus/lib/server/generate.js:359:10
    at Array.forEach (native)
    at execute (C:/Users/user/Desktop/Gitlab/forks/docusaurus-example/websit
e/node_modules/docusaurus/lib/server/generate.js:316:9)
    at Object.<anonymous> (C:\Users\user\Desktop\Gitlab\forks\docusaurus-exa
mple\website\node_modules\docusaurus\lib\build-files.js:35:1)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)

npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\
node_modules\\npm\\bin\\npm-cli.js" "run" "build"
npm ERR! node v6.10.3
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! @ build: `docusaurus-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ build script 'docusaurus-build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the  package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     docusaurus-build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\user\Desktop\Gitlab\forks\docusaurus-example\website\n
pm-debug.log

npm-debug.log
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'run',
1 verbose cli   'build' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle @~prebuild: @
6 silly lifecycle @~prebuild: no script for prebuild, continuing
7 info lifecycle @~build: @
8 verbose lifecycle @~build: unsafe-perm in lifecycle true
9 verbose lifecycle @~build: PATH: C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin;C:\Users\user\Desktop\Gitlab\forks\docusaurus-example\website\node_modules\.bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Java\jre1.8.0_73\bin;C:\Program Files (x86)\Sennheiser\SoftphoneSDK\;%USERPROFILE%\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Go\bin;C:\Program Files\Git\cmd;C:\Program Files\Emscripten\node\0.12.2_64bit;C:\Program Files\CMake\bin;C:\ProgramData\chocolatey\bin;C:\Program Files\LLVM\bin;C:\Program Files\nodejs\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\IBM\Bluemix\bin;C:\Users\user\AppData\Local\Programs\Python\Python35\Scripts\;C:\Users\user\AppData\Local\Programs\Python\Python35\;C:\Users\user\.cargo\bin;C:\msys64\mingw64\bin;D:\alias;C:\mozilla-build\python;C:\mozilla-build\mozmake;C:\Users\user\AppData\Local\Android\android-sdk\platform-tools;"C:\Program Files\Emscripten\clang\fastcomp\build_incoming_vs2013_64\RelWithDebInfo\bin";C:\Program Files\Emscripten\node\4.1.1_64bit\bin;C:\Program Files\Emscripten\emscripten\incoming;C:\Program Files (x86)\Microsoft VS Code;C:\Program Files (x86)\Microsoft VS Code\bin;C:\Users\user\Desktop\Gitlab\Go\bin;C:\Program Files\MongoDB\Server\3.4\bin;C:\Program Files\Java\jdk1.8.0_111\bin;C:\Users\user\AppData\Roaming\npm;C:\Gradle\gradle-3.5\bin
10 verbose lifecycle @~build: CWD: C:\Users\user\Desktop\Gitlab\forks\docusaurus-example\website
11 silly lifecycle @~build: Args: [ '/d /s /c', 'docusaurus-build' ]
12 silly lifecycle @~build: Returned: code: 1  signal: null
13 info lifecycle @~build: Failed to exec build script
14 verbose stack Error: @ build: `docusaurus-build`
14 verbose stack Exit status 1
14 verbose stack     at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:255:16)
14 verbose stack     at emitTwo (events.js:106:13)
14 verbose stack     at EventEmitter.emit (events.js:191:7)
14 verbose stack     at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:40:14)
14 verbose stack     at emitTwo (events.js:106:13)
14 verbose stack     at ChildProcess.emit (events.js:191:7)
14 verbose stack     at maybeClose (internal/child_process.js:886:16)
14 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
15 verbose pkgid @
16 verbose cwd C:\Users\user\Desktop\Gitlab\forks\docusaurus-example\website
17 error Windows_NT 6.3.9600
18 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "build"
19 error node v6.10.3
20 error npm  v3.10.10
21 error code ELIFECYCLE
22 error @ build: `docusaurus-build`
22 error Exit status 1
23 error Failed at the @ build script 'docusaurus-build'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the  package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error     docusaurus-build
23 error You can get information on how to open an issue for this project with:
23 error     npm bugs
23 error Or if that isn't available, you can get their info via:
23 error     npm owner ls
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]

@Happy-Ferret is that error different than what you were getting before?
Sent with GitHawk

@JoelMarcey
I wasn't getting any errors prior to that (it just wouldn't copy the .html files to the root folder).
I highly suspect it's one of these weird Windows idiosyncrasies at play here. Probably trying to add or remove files while they're being accessed by another process.
Will see if I can debug it later.

Well, I think this may be progress at least. It is trying to do something in the right directory, this time. The question is why is it throwing an error.
I guess it is time for me to spin up a Windows VM 😄

Lol. If you do, let me be the first to welcome you to Microsoft Windows development hell.
The food is awful, there's no beer and you better get a tetanus shot.

@Happy-Ferret Using my Windows VM - which has been, um, fun 😄 - I think I fixed the issue. If you would like to double check me by testing, I would appreciate it.
The build should now produce files in both the root and en dir.

Installed your changes via npm install https://github.com/JoelMarcey/Docusaurus#use-path-functions
and then ran npm run build from website/.
Output:
> docusaurus-build

generate.js triggered...
feed.js triggered...
feed.js triggered...
sitemap.js triggered...
C:\Users\user\Desktop\git\test-doc\website\node_modules\docusaurus\lib\server\generate.js:371
      var langParts = match[1].split('/');
                           ^

TypeError: Cannot read property '1' of null
    at C:/Users/user/Desktop/git/test-doc/website/node_modules/docusaurus/lib/server/generate.js:441:25
    at Array.forEach (native)
    at execute (C:/Users/user/Desktop/git/test-doc/website/node_modules/docusaurus/lib/server/generate.js:416:9)
    at Object.<anonymous> (C:\Users\user\Desktop\git\test-doc\website\node_modules\docusaurus\lib\build-files.js:35:1)
    at Module._compile (module.js:569:30)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:503:32)
    at tryModuleLoad (module.js:466:12)
    at Function.Module._load (module.js:458:3)
    at Function.Module.runMain (module.js:605:10)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ build: `docusaurus-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above

Am I doing something wrong?

@Happy-Ferret No. I forgot something 😄
I normalized some files after globs and forgot to change a / to path.sep. https://github.com/facebook/Docusaurus/pull/490/commits/f89fdc466f8e89ef81581e0a9705d5a42ea84322
Can you try now?

Same error still and it fails at the 1, saying it's null. Doesn't even get to the sep part.

Ah right - it is because of this:
const regexLang = /\/pages\/(.*)\//;

it is using the / separator. It needs to handle both.

@Happy-Ferret Ok. https://github.com/facebook/Docusaurus/pull/490/commits/04e836fa853ca40d4bb1389bbf8ed2bd0a3850fe
🤞

  C:\Users\user\Desktop\Gitlab\forks\SMC-Docs\website\node_modules\docusaurus\lib\server\generate.js:369
      var regexLang = new RegExp(sep + 'pages' + sep + '(.*)' + sep);
                      ^

SyntaxError: Invalid regular expression: /\pages\(.*)\/: Unmatched ')'
    at RegExp (native)
    at C:/Users/user/Desktop/Gitlab/forks/SMC-Docs/website/node_modules/docusaurus/lib/server/generate.js:439:25
    at Array.forEach (native)
    at execute (C:/Users/user/Desktop/Gitlab/forks/SMC-Docs/website/node_modules/docusaurus/lib/server/generate.js:416:9)
    at Object.<anonymous> (C:\Users\user\Desktop\Gitlab\forks\SMC-Docs\website\node_modules\docusaurus\lib\build-files.js:35:1)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)

Out of curiosity: What kind of Windows VM are you testing your code on? Windows 10 with WSL (bash) or CMD? The latter should be the target, as WSL ran fine with just the regular POSIX compliant code anyways.

@Happy-Ferret it has been a while since I have used Windows - so I bet I have been using the wrong cli then. Tomorrow, I will use ‘cmd.exe’ and see what happens. I think we are close though.
Just to verify, can you run the local web server successfully still via ‘npm start’ ??
Sent with GitHawk

Yep. npm start still exhibits the correct behavior.

@Happy-Ferret Ok. I got it to build with cmd.exe. Had to escape the regular expression. https://github.com/facebook/Docusaurus/pull/490/commits/a56d6698e65ab95cd5f6426964e4ffc394e24b25

I am going to merge this. If I missed something, I can push more fixes separately. However, I think this solves a lot of the Windows issues that were happening.


Key Management: Hardcoded Encryption Key

Hardcoded encryption keys can compromise security in a way that cannot be easily remedied.
In this case, the encryption key is located at strcmp() in compression_args.cc at line 68.
the encryption key is located at in compression_args.cc at line 54.
the encryption key is located at in compression_args.cc at line 104.
the encryption key is located at strcmp() in compression_args.cc at line 41.
the encryption key is located at strcmp() in credentials.cc at line 77.
the encryption key is located at strcmp() in credentials.cc at line 143.
Reported by Fortify on demand team

I'm not sure what you're running to determine this, but there are no hard-coded encryption keys in gRPC.  And nothing in the compression code has anything to do with encryption.  I suspect that whatever tool you are using to generate this is generating false positives.


Responsiveness of heatmap

Hi,
Is there anyway to change the size of the heatmap? I really love it but unfortunately it doesn't seem to be mobile responsive.
Thanks

Hi! Apologies for the late reply, unfortunately we designed this visualization for desktop users only, back in the day. I'm not even sure how to effectively map all of the interactions onto a smaller mobile phone screen.
Closing for now, feel free to reopen if you want to investigate how this could be implemented.


Standardize docs

Applies changes noted in https://github.com/RadeonOpenCompute/rocm-docs-core/issues/330

@samjwu some merge conflicts.


BUG: cross compilation breaks CI pipeline

openssl fails to build the package due to bug in a dependency with cc crate. A bug report has been created https://github.com/sfackler/rust-openssl/issues/2184 and hopefully the fix will come soon.
Mean while apple artifacts have been disabled form the CI pipeline

Issue open with CC crate community
https://github.com/rust-lang/cc-rs/issues/984


Updating to 0.51 got hanged and could not proceed

Microsoft PowerToys version
0.51
Running as admin

[X] Yes

Area(s) with issue?
General, Installer
Steps to reproduce
I tried updating to the recent version via the button in the App Settings and it went through the installation then rebooting Windows Explorer and then nothing. The folder was empty and could not see anything running. Needed to go into Task Manager to stop the PowerToys Boostrapper process and then it picked back up. (There was also a PowerToys Update process but the Boostrapper seemed to kill that one as well. I did also try installing a new one via Releases during this time and it would also not do anything).
✔ Expected Behavior
Update should be seemless and not hang.
❌ Actual Behavior
Update hanged after rebooting Windows Explorer
Other Software
No response

There have been many problems with installation of the latest version. Hopefully - when the causes are found and fixed - there will be a hotfix. No guarantee yet, that's above my pay-grade :)

Is this still an issue with the latest version?


Vertical scrolling disabled

Hey the view pager is not showing the full contents of the view controller at index, means there is no vertical scrolling to show the full contents. Can I modify it to use Custom Views instead of UIVIewController for every page index?

@rana-asif Please fork the source and create a separate branch to modify it.


Docs: Fix heading

Description

Testing Instructions

Allow CI Workflow Run

[ ] approve CI run for commit: 9d85aba8719a37f6806e6875b740ff6999acd206

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer


Question about the design

Very cool library. Why did you chose way 1 over way 2?
1. (a, Chang a) -> (b, Change b)
Pros:

Allows more complex functions than way 2

Cons:

Performance penalty when a Change a -> Maybe (Change b) function exists

The position of a must be kept in memory or recomputed to calculate the velocity of b
The position of b is recomputed every time there is a change in a even though the velocity of b may be all that is needed

2. (a -> b, Change a -> Maybe (Change b))
Pros:

Simpler
More efficient

Cons:

Only allows simpler functions

The first option allows for composition of functions using ordinary function composition. That was the main motivation.
Note that you can also add a "no change" constructor to any change structure now, generically even, if you want to recover the usefulness of the Maybe you have there.

Is there a difference in efficiency? It appears to me that using jet functions would lead to unneeded computations being performed in certain cases. Mainly, that Jet a -> Jet b requires a and recomputes b even if Change a can be directly mapped to a Change b. Hopefully my analysis is incorrect.


[API] Add high & low to direction enum in mraa_gpio_dir

@KurtE in https://communities.intel.com/thread/58176?sr=inbox&ru=161660
Something I wonder about maybe handling in MRAA is that in the mraa_gpio_dir call for the MRAA pin associated with GPIO182 (mini board MRAA pin 0),
In that call you open the file: /sys/class/gpio/gpio182/direction
and you either write in or out to this file to set the actual direction, but I have seen examples (actually in the arduino IDE), where instead of writing the value out, you write either high or low to the file, where internally it sets the direction to out and the value to either 1 or 0...
So wondering what would happen if you made a version of mraa that allowed you to pass in either an optional value or a new value to the call like: mraa_gpio_dir(gpio, MRAA_GPIO_OUT_HIGH);

I did a minimalist fix for this, which simply added two new directions you can pass into mraa_gpio_dir.
the above values: The current stuff is checked in at:
https://github.com/KurtE/mraa/tree/gpio_in_out
This may be sufficient.  Did a simple test program on my mini-breakout board where first I did it the two step method and then did it with the new values.  I had a GPIO pin MRAA 14 go to breadboard, also with 10K PU resistor and LA hooked up.  With the old way saw where the IO pin get pulled low.  With the new way the IO pin does not...
The only questions are:
a) Do we need to handle it in other cases.  Example if one of board types does a GPIO_DIR_REPLACE I have not updated those platforms to try this.
b) If a platform does not support this, should more code be added, to  detect if the write of high or low to the direction file fails and then fall back and write out to the direction file and then call off to mraa_gpio_write with 1 or 0... Obviously easy to do...
Thoughts?  If what I did is sufficient, can easily generate pull request.

I plan on pulling this into the mainline in the next few days. Your comments around if a replace hook does not implement the HIGH and LOW aspects of the switch-cast statement don't worry me too much. As long as the default case is present.

Sounds good.  I only tested it on the Edison, but my assumption is the same thing will work on Galileo as in both cases in the Arduino IDE core sources, sysfs.c uses the values "high" or "low" when switching IO pin directions to output.

Closed with #100.


Setting default class to all opened modals

vue-final-modal: 0.21.3
vue: 2.6.12
Hello,
I am trying to put a class on every modal opened with vue-final-modal component. I am using the following example: https://vue-final-modal.org/examples/recommend
Is it possible to check if modal is currently opened in VModal.vue component?
Code:
<template>
  <vue-final-modal v-bind="$attrs" :classes="containerClasses" class="modal-open" :content-class="contentClass" v-on="$listeners">

      <slot name="header"></slot>

      <slot></slot>

      <slot name="footer"></slot>

  </vue-final-modal>
</template>

I want to put the class modal-open only if modal is opened.

Currently I managed to achieve this by passing an extra property from my child modal component. But I would like to somehow catch the v-model variable and see modal status without any extra props.

@erikas-tranauskas
As you said, the modal value can only be obtained by passing props to child components.
What do you think if we put the modal status into the scoped slot.
<vue-final-modal v-slot:default="someModalStatus">
</vue-final-modal>

Looks good I think.
Just to clarify a little, my current code VModal.vue:
 <vue-final-modal v-bind="$attrs" :class="{ 'modal-open': show }" :classes="containerClasses" :content-class="contentClass" v-on="$listeners"></vue-final-modal>
And my parent component:
   <v-modal v-model="show" :show="show" v-bind="$attrs" class="discount-modal" @cancel="cancel" @confirm="confirm"></modal>
I passed the show prop to see the status of modal on my VModal component. So if you put the modal status into v-slot, I could reach it on VModal.vue without my extra prop?

I passed the show prop to see the status of modal on my VModal component. So if you put the modal status into v-slot, I could reach it on VModal.vue without my extra prop?

Yes.
If using scoped-slot, you can only write as follows:
<vue-final-modal v-bind="$attrs" v-on="$listeners">
  <template  v-slot="{ visible }">

  </template>
</vue-final-modal>

This is still invalid:
<vue-final-modal v-bind="$attrs" :class="{ 'modal-open': visible }"  v-slot="{ visible }" v-on="$listeners">
</vue-final-modal>

This would be really cool, should I leave this topic open for now?
Thank you for your fast response btw.

Maybe you can try this for now
<template>
  <vue-final-modal v-bind="$attrs" v-on="$listeners" :class="{ 'modal-open': value }"> </vue-final-modal>
</template>

This would be really cool, should I leave this topic open for now?
Thank you for your fast response btw.

yeah
I will work on an enhancement for providing modal status in scoped-slot.
Maybe released in 2 week later


fix occasional failing test case: test_get_proof_for_current_slot

@ebma no, this is not yet final. I forgot to put it under draft.
I'm testing the CI if "protocol 20" has perf adjustments. I'm planning to keep rerunning the test. Maybe we won't need to worry once mainnet moves to protocol 20 as well.


add employee

Please send another pull request. This request wants to merge with the master repo. Please send a pull on development only.


KAFKA-9815; Ensure consumer always re-joins if JoinGroup fails

On metadata change for assigned topics, we trigger rebalance, revoke partitions and send JoinGroup. If metadata reverts to the original value and JoinGroup fails, we don't resend JoinGroup because we don't set rejoinNeeded. This PR sets rejoinNeeded=true when rebalance is triggered due to metadata change to ensure that we retry on failure.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@hachikuji Thanks for reviewing and merging. Yes, the scenario is exactly as you described. In the case of the failing test, M2 didn't contain metadata for the topic since it was received during rolling restart with a new inter-broker listener where it took some time for the metadata to stabilize. As soon as things stabilized metadata reverted to M1.


Fix Dialyzer warning

Hi! Do you have an intention to fix Dialyzer warnings? Currently they occur in a project which use this library as dependency, so it's impossible to have a warnings free project. Many thanks.

In the long term, yes, but I'm currently busy with other stuff, so I don't have time for this right now, unfortunately. But I'd happily accept a PR.

Thanks for the reply, @marcelotto!

@marcelotto Please check my PR in scope of this issue: https://github.com/marcelotto/rdf-ex/pull/6.

❤Merged. Thank you very much again, @rustra .

Hi again, @marcelotto! Please look at one more MR which fixes all the rest Dialyzer warnings: https://github.com/marcelotto/rdf-ex/pull/7.
And I would like to ask you to update library version after merging it. Thanks in advance!

@rustra I've just released v0.7.1.

Thank you so much! 🖤


how to download this file: visualgenome/VG-SGG-dicts-vgoi6-clipped.json

Ok, I think I found it here:
https://penzhanwu2.blob.core.windows.net/sgg/sgg_benchmark/vinvl_model_zoo/VG-SGG-dicts-vgoi6-clipped.json
Sorry for the false alarm.


Responsive flutter design using MediaQuery Class

Article checklist
Formatting and structure checks

[ ] Have you used the correct folder and file structure? - see Contribution Guidelines

[ ] Is your article properly formatted in Markdown? - see Github Markdown guide

[ ] Have you used our preferred heading structure? - H3 (###) and up

[ ] Does your article follow any of the suggested structure formats? - see example formats

[ ] Is your article over 750 words? - Tool: Wordcounter.net

[ ] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.

[ ] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.

[ ] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.

[ ] Have you included a hero image that is 600x400 pixels and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images

Grammar & plagiarism checks

[ ] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid - Grammarly
[ ] Please place your article through a 3rd party plagiarism checker. We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[ ] Have you checked your article for readability? - Tool: Hemmingway
[ ] Have you added sources for quotes and images that aren't yours?

Technical checks

[ ] Are your code snippets properly formatted for syntax highlighting - see Syntax guide
[ ] Have you checked your code runs correctly and you've highlighted all necessary dependencies for installation?
[ ] Are the software programs and packages you're highlighting in your article up to date, using current versions and not deprecated?

Topic suggestion this closes
This closes #3330

@somtobe I'll be reviewing your article

Upon running your article through our 3rd party plagiarism checker it seemed to raise a few flags and the % was higher than we typically accept.
Please see attached PDF - and revisit the article to ensure we are contributing wholly unique and original content.
Be sure to see our resources page to see more info on plagiarism and what is considered as such.
Responsive flutter design using MediaQuery Class

Also, please always use our template, and do NOT delete it. I edited your first comment. @okeloviolet

I have made some updates to the index file so the contents are unique.

The % is still high.
Responsive flutter design using MediaQuery Class

Most if not all the matches found as plagiarized codes are mostly boilerplate codes that are required in all flutter applications for it to run. If I remove them the reader will not be able to execute the codes whenever they try to practice the tech tutorial.
Let me review it again and try and sieve out any extraneous text that may increase the plagiarism count.

Hello, Good day.
I have taken time to make updates to the code base so it does not have any plagiarism link in it. Please do note that some of the plagiarism links ( which are very few ) are boilerplate codes that the user cannot do without in that they are what makes the application run properly

Okay, great @somtobe
Plagiarism check done ✅

@somtobe when writing articles, we should use the third person not the second person view.
Instead of saying you, say we.
Instead of saying your, say our
Please fix and ping me when done.

Hello Violet, I have made the updates as you requested.
On Tue, Sep 28, 2021 at 8:37 PM Okelo VIolet @.***>
wrote:

@somtobe https://github.com/somtobe when writing articles, we should
use the third person not the second person view.
Instead of saying you, say we.
Instead of saying your, say our
Please fix and ping me when done.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/section-engineering-education/engineering-education/pull/3852#issuecomment-929564598,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVEUDBSZZLFWAHCD2JMDT4TUEIKPFANCNFSM5ECFA6MA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

@somtobe checking it out

@okeloviolet can we get a status update on this PR.
Havent seen any update in 13 days.

cc @section-engineering-education/content-moderator-team


Form dialogs: Composer goes blank when "Dialog begins" trigger is selected from dialog tree

Describe the bug
After the form dialog has been generated, all the triggers are visible from the tree except for "Dialog begins". This trigger makes the entire Composer screen go blank, including navigation.
Version

Using the feature/form-dialogs branch, built locally 11/16.
Browser

[ ] Electron distribution
[x] Chrome
[ ] Safari
[ ] Firefox
[x] Edge

OS

[ ] macOS
[x] Windows
[ ] Ubuntu

To Reproduce
Steps to reproduce the behavior:

Install Form Dialogs by going to gear icon at the bottom the left nav, clicking Application Settings, and under Preview Features, check "Form Dialogs".

This should add the "Forms" section to the end of the side nav shown by an icon that looks like a table. Click on the Form section.

Create a new form schema by pressing the + icon under "Schemas" and giving the schema a name.

Add or Import a schema. I got this error both when I created a schema by hand and when I imported the schema from the samples here: https://github.com/microsoft/BotBuilder-Samples/blob/main/experimental/generation/docs/example-schemas/sandwich.schema

Generate the form dialog dialog by pressing the Genereate dialog button.

When the progress indicator goes away, navigate to the Design section and select the form dialog (it will have the same name as your form schema).

If you click on a trigger, the flow diagram should appear on the right, like this:

`

Select the "Dialog begins" trigger. The Composer screen goes blank:

Expected behavior

You should be able to the see the triggers and actions on the canvas as with any other trigger. Or, if there is an error that makes this impossible, an error message should appear, but the navigation should not disappear. Without the navigation, there was no way to get of this state but to edit the URL in the browser window directly.
Screenshots

Additional context

This issue is fixed in the main branch.


Install Problem

Hi
this is my config :
angular-cli: 1.0.0-beta.10
node: 4.4.7
os: win32 x64
during install these errors happened:
` ERR! message Unable to read typings for "angular-protractor". You should c
heck the entry paths in "angular-protractor.d.ts" are up to date
typings ERR! caused by Unable to connect to "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/f9c44651705f
574f6d4258fe5e1c335462bdcc19/angular-protractor/angular-protractor.d.ts"
typings ERR! caused by connect ECONNREFUSED <IP_ADDRESS>:443
typings ERR! cwd D:\project\WebProgramming\MyWorks\angualr.js\app\FirstApp
typings ERR! system Windows_NT 6.3.9600
typings ERR! command "D:\Program Files\nodejs\node.exe" "D:\project\WebProgramming\MyWorks\angualr.js\app\FisrtApp\node_modules\typings\dist\bin.js" "install"
typings ERR! node -v v4.4.7
typings ERR! typings -v 1.3.1
typings ERR! If you need help, you may report this error at:
typings ERR!   https://github.com/typings/typings/issues
<EMAIL_ADDRESS>postinstall: typings install
Exit status 1`
and after running ng serve this error happened :
The Broccoli Plugin: [Funnel] failed with:
What is the problem ?

Problem seems to be your connection to some part of typings. We've replaced typings with @types in the webpack branch as well, see https://github.com/angular/angular-cli#webpack-preview-release-update for updating instructions.