[GCB] Speed up clang-tidy

Our clang-tidy build currently uses cmake and it takes about 20 min to do a complete build (on 32 cores), even when no files changed. We need this to be faster for our PR builds.
In our kokoro builds we use a hack in our PR builds where we only run clang-tidy on changed files:
https://github.com/googleapis/google-cloud-cpp/blob/2f0869255ecc8d49a908d946b79cd62016d02ee8/ci/kokoro/docker/build-in-docker-cmake.sh#L136-L172
We cannot do this (easily) with GCB because GCB builds do not include the .git directory so we cannot tell which files changed. I mean, we could fetch the PR and figure it out, so that is an option.
Some options, in rough order of preference:

Switch to running clang-tidy with bazel, which is better about caching results and should only run clang-tidy on changed TUs. However, there's no out-of-the-box solution for this. I've not tested this, but https://github.com/erenon/bazel_clang_tidy looks promising.
Continue using cmake + clang-tidy, but write a clang-tidy wrapper that attempts to cache the results. Very roughly I imagine the wrapping being invoked w/ the full clang-tidy command line, which includes all the compile commands, then the wrapper adds -E to dump the pre-processed output, and that gets hashed along with the contents of our .clang-tidy file, and the result cached. On a cache miss, run-clang-tidy. On a cache hit, return the cached result. It's possible that we could use ccache to do the caching for us. Note: this idea is very experimental and I have no idea if it's even possible
Try to create a working .git directory in our GCB build environment so that we can use git commands to determine which files changed, then use the same hack that I mentioned above that we use with Kokoro.

My first stab at getting https://github.com/erenon/bazel_clang_tidy to work failed due to https://github.com/erenon/bazel_clang_tidy/issues/2

I just found https://github.com/matus-chochlik/ctcache, which appears to be a new attempt at a clang-tidy cache for use with CMake, and it seems pretty nice. It's working (I think) in my first quick experiments.


fix(sdk): avoid unlinking QE library when running "prisma generate"

Don't install prisma when it is already present.
Don't install both prisma and @prisma/client if Yarn on Windows is detected, and ask the user to install them manually.
Add TODO comments for potential bugs out of scope of this PR.

Fixes https://github.com/prisma/prisma/issues/9184

Marking as draft for now because some testing is necessary

Manual testing ✅
How should we test this automatically? e2e tests?

e2e-tests repo would be the fallback, yes, if we can not do that in the tests here. As it does not need to talk to the database, but really just is about running a few commands in a specific order it does not really fit there either but we should be ok with that.

Oh, this is an intergration branch so I can actually test it on Windows 👍  Let me do that...


Session support

Should falcon support sessions in the core as as an add-on?

I vote for add-on :) We are planning to use beaker for now. Do you have other recommendations?

Beaker seems like a reasonable solution. They claim to have "fast, robust performance", but you may want to do your own testing to make sure it meets your needs.
In Falcon 1.1 (currently in beta) you can now add additional properties to the req object, so you could use a Falcon middleware method to make the session a bit more accessible, e.g.:
req.session = req.env['beaker.session']

Sounds like an add-on is the way to go.
NB: in more recent Falcon versions, it's recommended to store custom data in req.context.


MNT: Check for ACT syntax changes for ACT v2.0

Thank you for adapting PySP2 to ACT 2.0! I am approving.


image processing toolbox dependency

Need to manage viewer dependency to image processing toolbox.

[ ] replace imresize
[ ] disable ROI tools

Feel free to go forward with #330.


Incompatibility between OCF Connection and Open Metadata Types

In the Open Connector Framework (OCF), the additionalProperties property is of type Map<String, Object>.  In our open metadata types, OMRS Connector implementations, OMAS implementations and in Apache Atlas, this property is a Map<String, String>.
With the current implementation, we may have problems storing OCF objects such as Connection in an open metadata repository.  Ideally we need to change the OCF property to be Map<String, String>.
The OCF Connection object is used by the admin services.  Connectors such as the Kafka event bus connector use the additional properties to pass complex configuration properties.  So if we just change the additionalProperties type to Map<String, String> then the Kafka connector will not get its properties.
The Connection object still needs a property of type Map<String, Object>.
Java dos not property distinguish Map<String, Object> from Map<String, String> so having two methods like this is not allowed:
setAddtionalProperties(Map<String, Object> properties)
setAddtionalProperties(Map<String, String> properties)
At the same time Java will not allow an object of type Map<String, String> to be assigned to a Map<String, Object>.

This is the fix I have coded:

Add new property to Connection called configurationProperties of type Map<String, Object>.
Change the additionalProperties object in all OCF objects to be Map<String, String>.
Change the Egeria admin services to use the new configurationProperties property.
Change IGC Connector and Kafka Connector to use configurationProperties.
Add recognizedConfigurationProperties property to connectorType and updated the open metadata topic and Kafka connector providers to set this up.

This fix seems to be working ok.  The downside

The fix seems to be working well except that it is not able to read old versions of a configuration document.  It means you eithern eed to recreate the document or do a global change of additionalProperties to configurationProperties and all is well.

This is the response from the activate request if the configuration document is out of date.
POST http://{{platformURLroot}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{mdrServerName}}/instance
{
"class": "VoidResponse",
"relatedHTTPCode": 400,
"exceptionClassName": "org.odpi.openmetadata.adminservices.ffdc.exception.OMAGConfigurationErrorException",
"exceptionErrorMessage": "OMAG-ADMIN-400-018 OMAG server cocoMDS1 has been called with a configuration document that has no services configured",
"exceptionSystemAction": "The requested server provides no function.",
"exceptionUserAction": "Use the administration services to add configuration for OMAG services to the server's configuration document."
}

If you want to see the fix it is in my fork - https://github.com/mandy-chessell/egeria/tree/foundation

This begs the question, can we add versioning to the configuration document so that when breaking changes are made across versions (we had a similar breaking change due to class hierarchy refactoring a few months back) some kind of upgrade utility can be run to bring them up to date offline?

That is a good idea.  I will add it - and an exception that refuses to load an out-
of-date config file.

This is the new error ...
{
    "class": "VoidResponse",
    "relatedHTTPCode": 400,
    "exceptionClassName": "org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException",
    "exceptionErrorMessage": "OMAG-ADMIN-400-022 The configuration document for OMAG server cocoMDS1 is at version V1.0 which is not compatible with this OMAG Server Platform which supports versions [V2.0]",
    "exceptionSystemAction": "The system is unable to configure the local server because it can not read the configuration document.",
    "exceptionUserAction": "Migrate the configuration document to a compatible version (or delete and recreate it).  See https://egeria.odpi.org/open-metadata-implementation/governance-servers/admin-services/docs/user/migrating-configuration-documents.html"
}

@mandy-chessell Above error will be thrown on activating the OMAG server. Will the same error be thrown on trying to read the configurations? If so, we can use that to auto migrate existing configurations to newer version. Will egeria provide support to migrate the existing configurations. IN WKC cloud version, there can be multiple config documents saved in Cloudant. We will need to migrate those documents at the time of deploying the latest changes.

The same error will be thrown any time the out-of-date configuration document is read.  The current plan is to just document how to fix it on the Egeria site (when the PR is merged into master).
If anyone wants to contribute an auto migration script to ODPi Egeria then please supply a pull request.

Looks good from my perspective


error

if i run vscode it says access is denied and a message the app can't on this pc is displayed

This isn't enough information for us to do anything.
Please add a screenshot that shows the error.

These are screenshots below which show the error and even the vscode icon is white am also amazed

VS Code is running, the problem seems to be Python.

/extPython

It looks like this is caused by the Python extension. Please file the issue to the Python extension repository. Make sure to check their issue reporting template and provide them relevant information such as the extension version you're using. See also our issue reporting guidelines for more information.
Happy Coding!

Thanks for the concern


Write a TypeScript program to convert miles to kilometers

Description
Write a TypeScript program to convert miles to kilometers
1 mile = 1.609 kilometers
Input  : 5
Output : 8.04672

How to contribute

Save the solution in ConvertMilesToKilometers.ts file
Add ConvertMilesToKilometers.ts file in convert-miles-to-kilometers folder

!assign


Update index.js

support for use of different pressures with a drawing tablet
also different size brushes and colors.

a water glass


cmd/compile: unnecessary bounds check

go1.21.5
package p

func f(i int) {
    var t [3]int
    if i >= 0 {
        _ = t[i%len(t)]
    }
}

https://godbolt.org/z/Tda3649sv
I would assume, since i is non negative, i % len(t) should always be in bounds? But the assembly contains a panicIndex.

I'm pretty sure this is a duplicate of #63110

Closing as a duplicate of #63110. In triage we think it's pretty close to a duplicate, anyway.


Add Django-2.1 support

Django version: 2.1 https://docs.djangoproject.com/en/2.1/releases/2.1/

I'm getting the following error using the django_redshift_backend engine and configuring a list_filter on a Django Admin class:
TypeError: distinct_sql() takes 2 positional arguments but 3 were given

I guess it must have to do with this and this method expecting only a fields argument.
I reverted to using the django.db.backends.postgresql engine which is not raising the error.
The distinct_sql probably needs to be changed to something like this.


Refactor @stdlib/blas/base/sswap

Checklist

[x] update readme.md
[x] docs
[x] src
[x] include.gypi
[x] manifest.json
[x] package.json
[x] lib
[x] examples
[x] benchmark
[x] test

@kgryte

All tests and benchmarks cleared. This PR can have a review.


a bug  about   the   function   fnmatch

What steps will reproduce the problem?
on  the  centos7  install  yii2 2.0.9
when  I  installed yii2   I  access    http：//localhost/basic/web    show  this problem like  this ：’Call to undefined function yii\base\fnmatch()   in /usr/local/nginx/html/basic/vendor/yiisoft/yii2/base/ActionFilter.php line 150‘  ,
I refer to the PHP manual  this function     support to  php7  so  i do  not  kown  how  to  solve it
What is the expected result?
What do you get instead?
no
Additional info

Q
A

Yii version
2.0.9

PHP version
7.0.10

Operating system
centos7

I am afraid there is nothing I can help you with. This is definetely not Yii issue.
ActionFilter wildcard support is covered by unit test:
https://github.com/yiisoft/yii2/blob/master/tests/framework/base/ActionFilterTest.php#L141
which is correctly passing on PHP 7:
https://travis-ci.org/yiisoft/yii2/jobs/156473399
php.net docs clearly says fnmatch() function is a part of the core and should be available at PHP7.
This must be problem with your environment.

According to a comment here http://unix.stackexchange.com/questions/305639/centos-6-7-and-fnmatch-in-php#comment537104_305639 this function should be available in the php packages provided by CentOS but may not if you'd compiled it yourself.


Blazor Hybrid: Access native platform features topic

When content is provided in an issue comment here, please remove the PU member assignment and assign the issue to @guardrex 🦖. PU member will be pinged on the PR when it goes up.
aspnetcore/blazor/hybrid/access-to-platform-features.md

Let's drop this topic as @javiercn suggested.


Constant forces and Cp with different free stream velocity

Hi,
My input mesh is a .stl file with the unit of meter and the free steam velocity with m/s which should output Newton as the unit of forces. With the model of 16 meters 1:1 helicopter, the output value (Cx) is 0.1635 in the longitudinal direction. The output forces are significantly smaller than expected and did not change with different free stream velocities. Also, the Cp values also remain constant. I have tried a few sample models and the values are still constant with different free stream velocities. Please advise if I have done anything wrong. Thank you.

This is to be expected. The force outputs are non-dimensional force coefficients. Because of this, changing the freestream velocity magnitude will not affect the force coefficients. Similarly, the pressure coefficients are nondimensional, and so these should not change with freestream velocity magnitude.


Multitasking content not totally hidden after rotation

It looks like a black shade falls over the content but it doesn’t cover the bottom.
Pad Pro 11” iOS 12.3 (16F156)
Slide 3.1 Build 112
Swiping up but pausing:

Multitasking switcher card:

Actually, it happens in landscape as well. It appears to happen if you rotate while in the app and then switch.

Good find! Should be fixed now


[Bug]: Tag UI page main content not updated when changing the OS/Arch

zot version
2.0.0-rc4
Describe the bug
When changing the OS/Arch the central content tab/content (i.e. in the following screenshot, its the Layers tab) is not updated.
To reproduce

Open the UI.
Select an image.
Select a image tag (must be multi-arch).
Select a different OS/Arch.
Notice that the Layers tab content is not updated. See the highlights in the screenshot, the bottom highlight should have show arm64 instead of amd64.

Expected behavior
No response
Screenshots

Additional context
No response

@rgl Thanks for the issue. We are redesigning this page a little bit - will let you know once ready.

@rgl Thanks for reporting the bug, the issue is fixed in project-zot/zui#349 and will be in the next rc release. You can also configure zot to pull the top of main latest version of the ui.
In the future, consider reporting UI related bugs in the UI repository project-zot/zui for better visibility.


How to make button fill entire height of div

.button1{
  width: 100%;
  place-self: center stretch;
  background-color: #e63946;
}

line 57 in style.css

I want the buttons to fill up the entire area, I tried height 100% and it did not work

Awesome sauce. Well done sorting out your issue and also closing it! 🚢


"Third Screen (type.fragment, external)" does not open on Zero Screen

This might not even be a bug,
However, Third Screen (type.fragment, external) shows message ThirdScreenDetination should be ImplementationType.Fragment in a toast message.

That's correct. Nibel.newFragmentEntry will return null for screens with ImplementationType.Composable, since no fragment is generated in this case.
But I'll make the default type of a ThirdScreen to be ImplementationType.Fragment to avoid confusion. Thanks for raising this.

I just updated the app, so that ThirdScreen now uses ImplementationType.Fragment. Now the error toast should be gone and the proper navigation is performed instead.

I just updated the app, so that ThirdScreen now uses ImplementationType.Fragment. Now the error toast should be gone and the proper navigation is performed instead.


promtool reports incorrect line numbers

What did you do?
ran promtool against a file with avg(...[5m]).  The time range is invalid for avg().
What did you expect to see?
Checking /etc/prometheus/alerting.rules
  FAILED: parse error at line 3, char 167: expected type vector in aggregation expression, got matrix

What did you see instead? Under which circumstances?
Checking /etc/prometheus/alerting.rules
  FAILED: parse error at line 175, char 2: expected type vector in aggregation expression, got matrix

NOTE:  The file is 174 lines long
Environment
Ubuntu 16.04

System information:
Linux 3.13.0-95-generic x86_64

Promtool version:
wwalker@test-prom-01:~$ promtool version
promtool, version 1.3.0 (branch: master, revision: 18254a172b1e981ed593442b2259bd63617d6aca)
build user:       root@d363f050a0e0
build date:       20161101-17:06:27
go version:       go1.7.3

Alertmanager configuration file:

a smaller example with the same failure.  The erro is on line 3 at char 95
wwalker@serenity:~$ wc alerting.rules
 19 115 775 alerting.rules
wwalker@serenity:~$ promtool check-rules alerting.rules
Checking alerting.rules
  FAILED: parse error at line 20, char 2: expected type vector in aggregation expression, got matrix

# Alert if 25% of the workers are down
ALERT WorkersDown2
  IF avg_over_time(up{job='node',role='worker'}[5m]) == 0 and avg(up{job='node',role='worker'}[5m]) < 0.80
  FOR 5m
  LABELS { severity = "critical", name = "WorkersDown" }
  ANNOTATIONS {
    summary = "multiple workers {{ $labels.instance }} down",
    description = "{{ $labels.instance }} of job {{ $labels.job }} have been down for more than 5 minutes."
  }

# Alert for any instance that is unreachable for >5 minutes.
ALERT InstanceDown
  IF up{job='node'} == 0
  FOR 5m
  LABELS { severity = "critical", name = "InstanceDown" }
  ANNOTATIONS {
    summary = "Instance {{ $labels.instance }} down",
    description = "{{ $labels.instance }} of job {{ $labels.job }} has been down for more than 5 minutes."
  }

Logs:

none applicable

Sounds like a dupe of #2014


Makefile: let scons handle test_runner

otherwise make will only look at test_runner mtime and not rebuild if
dependent sources have changed

Thanks!


Error: credential propagation was unsuccessful

I get this error when trying to import a Drive from a different Google account than the one I'm logged into.

You need to use the same account for both colab and google drive, if you want to import a session, share the session's folder and use the link in the sessions cell

I'm using the same account for colab and google drive. Getting the same error.

disconnect from the runtime, refresh the page and start again, it's a gdrive error

Attempted that. Disconnected, signed out, signed back in. Still won't mount. I initially used this, then deleted the folders from my google drive a while ago. Not sure if this is why it won't let me mount now.
MessageError                              Traceback (most recent call last)
 in
1 from google.colab import drive
----> 2 drive.mount('/content/gdrive')
3 frames
/usr/local/lib/python3.8/dist-packages/google/colab/_message.py in read_reply_from_input(message_id, timeout_sec)
100         reply.get('colab_msg_id') == message_id):
101       if 'error' in reply:
--> 102         raise MessageError(reply['error'])
103       return reply.get('data', None)
104
MessageError: Error: credential propagation was unsuccessful

clear your browser cache and cookies, or simply use a different browser and see if it works


can i edit an existing pdf by pdfkit?

can i edit an existing pdf by pdfkit? And add an image into an  existing  page?

No, it is not possible.
duplicate: https://github.com/foliojs/pdfkit/issues/83


Feedback Submission - tutorials - Create your first Substrate blockchain - /tutorials/v3/create-your-first-substrate-chain

What browsers are you seeing the problem on?
No response
Feedback
According to this commit, the yarn version to use is 3.0.2. The 1.x branch of yarn is still under development and still the most popular so would be used by most people. If building requires yarn 3, it would be great to mention it explicitly in the docs.

Doc was updated to note this.


Backup of files with reserved filenames fails on windows

based on: https://forum.restic.net/t/scan-and-error-createfile-con-the-parameter-is-incorrect/2710
Output of restic version
restic (version 0.9.6) on Windows 10
How did you run restic exactly?
restic -r D:/ --verbose backup C:/Users/myusername/work
Output:
error: CreateFile \\?\\con: The parameter is incorrect.

What backend/server/service did you use to store the repository?
Not relevant
Expected behavior
restic reports the correct filename of the problematic file and/or properly backups the file.
Actual behavior
Unintelligible error message and the file is not contained in the backup.
Steps to reproduce the behavior
This turned out to be cause by some files named con.m.
Do you have any idea what may have caused this?
CON is a reserved filename on windows. This rule still applies when adding a file extension like .m.
When restic tries to normalize e.g. C:/Users/myusername/work\con.m then the computation of the absolute path yields con (I'm looking at you GetFullPathName). As restic supports paths longer than 256 characters it has to prepend \\?\ which gives us \\?\con. (btw, the correct and non-ambiguous filename for the console device would be \\.\con) I'm not sure where one of the backslashes disappeared in the error message.
Do you have an idea how to solve the issue?
The Definitive Guide on Win32 to NT Path Conversion shows that prepending \\?\ to an already absolute path seems to get rid of most weird behavior during filepath normalization. I'm just not sure whether the Go functions to process filenames can handle this.
restic should probably convert relative paths to absolute ones as early as possible and then always add \\?\ before passing the path to the windows API. fixpath in internal/fs/file_windows.go should only call filepath.Abs for relative paths.

fixpath in internal/fs/file_windows.go should only call filepath.Abs for relative paths.

#2614 does that.


Circular dependency

I have the following services:
User
module.exports = class UserService {
    static get inject () {
        return ['App/Services/Solicitation']
    }
    constructor (SolicitationService) {
        this.solicitationService = SolicitationService
    }
}

Solicitation
module.exports = class SolicitationService {
    static get inject () {
        return ['App/Services/User']
    }
    constructor (UserService) {
        this.userService = UserService
    }
}

As one service ends up injecting the other when I call my endpoints I get the following error: Maximum call stack size exceeded

Hey @ivanguimam ! 👋
Could you please create a repository with the minimum code to help us reproduce the issue?

Since Node.js doesn't allow circular dependencies, it will be hard to avoid them. IoC container can try to detect bindings and do not require them if already required, but I believe I don't want to go that path as of now.


Bundler sometimes spams one gem in Gemfile.lock

Bug #3216  return.
Version 1.9.1.
bug is alive
rvm use 2.1.5 do bundle install --path ../../shared/gems
Fetching gem metadata from http://rubygems.org/.........
Fetching version metadata from http://rubygems.org/..
Resolving dependencies....
Installing rake 10.4.2
Installing multi_json 1.11.0
..
Installing ansi 1.5.0
Using bundler 1.9.1
in Gemfile.lock i see
treetop (1.4.15)
polyglot
polyglot
polyglot
..
polyglot (>= 0.3.1)
polyglot (>= 0.3.1)
polyglot (>= 0.3.1)

Can confirm. I'll look into fixing it this weekend, thanks for the bug report @stalker37

@segiddins the treetop gem has bad data in our dependencies db see  http://api.rubygems.org/api/v1/dependencies.json?gems=treetop

Going to release 1.9.2 with the fix for this shortly.


Document custom registries and gulp.registry API

We have a new API in gulp 4.0 (gulp.registry) which hasn't been documented in the API.md file. See https://github.com/phated/undertaker#registryregistryinstance for more information.
Also, I think it would be helpful to have a custom-registries.md that reflects the information in https://github.com/phated/undertaker#custom-registries but in a more gulp-specific context.
@dinoboff would you be able to tackle this?

Looking for help on tackling this docs issue.  Anyone available?

Added some documentation to the API.md file.
I'm struggling to see how to get https://github.com/phated/undertaker#custom-registries into a more gulp-specific context. The example from https://github.com/gulpjs/gulp/issues/986 shows a good example of using this feature. Is splitting out the gulpfile into multiple registries(or files) the only use case for this feature?

It could be used to build a collection of generic tasks used across a company, from the looks of things. For example, they've got loads of projects where they use Sass, and then they run autoprefixer, RECESS, and a minifier on it—would a registry be useful there to avoid duplication of tasks in many repositories?

Example to test my understanding...
var gulp = require('gulp');

var companyTasks = require('myCompanyTasksRegistry');

gulp.registry(companyTasks);

gulp.task('one', gulp.parallel('someCompanyTask', function(done) {
   console.log('in task one');
   done();
});

In this example myCompanyTasksRegistry is and npm module that I'm using that has some predefined tasks for me. The benefit of this is that others can leverage npm to get bug fixes, the latest code, etc... without having to copy and paste over files.
the myCompanyTasksRegistry file might look like this:
var util = require('util');
var del = require('del');

var DefaultRegistry = require('undertaker-registry');

function myCompanyTasksRegistry(){
  DefaultRegistry.call(this);

this.set('clean', function(cb){
    del([buildDir], cb);
  });
this.set('someCompanyTask', function(done) {
  done()'
});

util.inherits(MyRegistry, DefaultRegistry);

module.exports = myCompanyTasksRegistry;

@callumacrae  Does this cover the use case you are talking about?
@phated Does this look like a a good addition to the gulp docs?

@SyntaxRules yeah, other than a syntax error, that looks good and right along the lines of what @callumacrae was describing.  Sorry I didn't answer the other question sooner.
Custom registries allow 3 main things:

Sharable collections of tasks (like above)
Custom behavior for your tasks (like binding metadata to the function for access with this)
Other behavior that needs to hook into the registry lifecycle (see gulp-hub)

looks good, yea.
@phated undertaker is awesome and works awesome, soon I'll commit testing runner on top of it.
quick look :)

That perfectly describes my use case :+1:

Ok, added this example to the pull request #1021 (After I made sure syntax was correct and I tested it on my machine). I also added the use cases that @phated suggested, with some modification.
Does this look good? Does anyone have any suggestions or think we need additional documentation we need for this section?

I'm out for the next week. I will review when I get back.

Pending review from @callumacrae on #1021

This has been merged.  The documentation has outlined some issues that need to be tackled in undertaker but the docs look good.  If I make any changes that need to be reflected in the docs, I will update at that time.  Closing this as done.

https://gulpjs.com/docs/en/api/registry
The "Creating Custom Registries" link does not work


php: Enable mysqlnd as default

Motivation for this change
MySQL Native Driver was implemented by PHP back in 5.3.0 and has been
default in most distributions for a very long time.
The option was added in 41cd4f2459d63c5ad19a227c3dd5d7704df6161c and I don't see any reason why it would default to false.
Overview of mysqlnd by PHP: https://secure.php.net/manual/en/mysqlnd.overview.php
Things done

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

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

cc @globin @FRidh @adisbladis @srhb @elitak @talyz

@GrahamcOfBorg build php56 php70 php71

Success on x86_64-linux (full log)
Attempted: php56, php70, php71
Partial log (click to expand)
/nix/store/c81b8ch46cdzmx707dnfn3nnf231r82p-php-7.1.19/bin/pear: interpreter directive changed from "/bin/sh" to "/nix/store/fcyxw5aslw3a82p33x5lhckj0mr6g1s4-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/c81b8ch46cdzmx707dnfn3nnf231r82p-php-7.1.19...
moving /nix/store/c81b8ch46cdzmx707dnfn3nnf231r82p-php-7.1.19/sbin/* to /nix/store/c81b8ch46cdzmx707dnfn3nnf231r82p-php-7.1.19/bin
shrinking RPATHs of ELF executables and libraries in /nix/store/mpxbzzr41xflnii2r5lwap0bbcvg8bvw-php-7.1.19-dev
strip is /nix/store/a3nk8z2i7m7wa3jdckgv710n7j3yx4b5-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/mpxbzzr41xflnii2r5lwap0bbcvg8bvw-php-7.1.19-dev
checking for references to /build in /nix/store/mpxbzzr41xflnii2r5lwap0bbcvg8bvw-php-7.1.19-dev...
/nix/store/b34n5ak3xffiq8cvpzi6qzbmip16r3g1-php-5.6.36
/nix/store/6q70yl0igb9aspdnbmh43pfi23ax10pz-php-7.0.30
/nix/store/c81b8ch46cdzmx707dnfn3nnf231r82p-php-7.1.19

I thought that the bot would build php72 as well since that's the default php. But it doesn't seem like it.
@GrahamcOfBorg build php72

Success on aarch64-linux (full log)
Attempted: php56, php70, php71
Partial log (click to expand)
/nix/store/q5m62m2k2jqcc21p5qsb36n7l5a5zcs8-php-7.1.19/bin/phpize: interpreter directive changed from "/bin/sh" to "/nix/store/n86k15k75jfjqx7k4lzprj055pm7ssjn-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/q5m62m2k2jqcc21p5qsb36n7l5a5zcs8-php-7.1.19...
moving /nix/store/q5m62m2k2jqcc21p5qsb36n7l5a5zcs8-php-7.1.19/sbin/* to /nix/store/q5m62m2k2jqcc21p5qsb36n7l5a5zcs8-php-7.1.19/bin
shrinking RPATHs of ELF executables and libraries in /nix/store/98ydmdkm5v9gg0k4a0d8qpxl84qcv4cp-php-7.1.19-dev
strip is /nix/store/a245zacjzf3qw0davhvlfarihcy2yyrc-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/98ydmdkm5v9gg0k4a0d8qpxl84qcv4cp-php-7.1.19-dev
checking for references to /build in /nix/store/98ydmdkm5v9gg0k4a0d8qpxl84qcv4cp-php-7.1.19-dev...
/nix/store/yr9fci7ar1mjf6q0608zx9sfskzvjd38-php-5.6.36
/nix/store/8izflwahbzl7zm6fgx4hhdhv82mjvnvl-php-7.0.30
/nix/store/q5m62m2k2jqcc21p5qsb36n7l5a5zcs8-php-7.1.19

Success on x86_64-linux (full log)
Attempted: php72
Partial log (click to expand)
/nix/store/zmn3m7z9gmqxwvq52qz4cli8qzz8pg8b-php-7.2.7/lib/build/config.guess: interpreter directive changed from " /bin/sh" to "/nix/store/fcyxw5aslw3a82p33x5lhckj0mr6g1s4-bash-4.4-p23/bin/sh"
/nix/store/zmn3m7z9gmqxwvq52qz4cli8qzz8pg8b-php-7.2.7/lib/build/shtool: interpreter directive changed from "/bin/sh" to "/nix/store/fcyxw5aslw3a82p33x5lhckj0mr6g1s4-bash-4.4-p23/bin/sh"
/nix/store/zmn3m7z9gmqxwvq52qz4cli8qzz8pg8b-php-7.2.7/lib/build/config.sub: interpreter directive changed from " /bin/sh" to "/nix/store/fcyxw5aslw3a82p33x5lhckj0mr6g1s4-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/zmn3m7z9gmqxwvq52qz4cli8qzz8pg8b-php-7.2.7...
moving /nix/store/zmn3m7z9gmqxwvq52qz4cli8qzz8pg8b-php-7.2.7/sbin/* to /nix/store/zmn3m7z9gmqxwvq52qz4cli8qzz8pg8b-php-7.2.7/bin
shrinking RPATHs of ELF executables and libraries in /nix/store/gpb3rxw2g127fn488q94s8q00lx01lpb-php-7.2.7-dev
strip is /nix/store/a3nk8z2i7m7wa3jdckgv710n7j3yx4b5-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/gpb3rxw2g127fn488q94s8q00lx01lpb-php-7.2.7-dev
checking for references to /build in /nix/store/gpb3rxw2g127fn488q94s8q00lx01lpb-php-7.2.7-dev...
/nix/store/zmn3m7z9gmqxwvq52qz4cli8qzz8pg8b-php-7.2.7

Success on aarch64-linux (full log)
Attempted: php
Partial log (click to expand)
/nix/store/mq49nzix08asryi8d005i4g1v633f0ii-php-7.2.7/bin/pear: interpreter directive changed from "/bin/sh" to "/nix/store/n86k15k75jfjqx7k4lzprj055pm7ssjn-bash-4.4-p23/bin/sh"
/nix/store/mq49nzix08asryi8d005i4g1v633f0ii-php-7.2.7/bin/php-config: interpreter directive changed from " /bin/sh" to "/nix/store/n86k15k75jfjqx7k4lzprj055pm7ssjn-bash-4.4-p23/bin/sh"
/nix/store/mq49nzix08asryi8d005i4g1v633f0ii-php-7.2.7/bin/phpize: interpreter directive changed from "/bin/sh" to "/nix/store/n86k15k75jfjqx7k4lzprj055pm7ssjn-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/mq49nzix08asryi8d005i4g1v633f0ii-php-7.2.7...
moving /nix/store/mq49nzix08asryi8d005i4g1v633f0ii-php-7.2.7/sbin/* to /nix/store/mq49nzix08asryi8d005i4g1v633f0ii-php-7.2.7/bin
shrinking RPATHs of ELF executables and libraries in /nix/store/qfz3prgw0zskcfjs55mk6wdpa31j92f7-php-7.2.7-dev
strip is /nix/store/a245zacjzf3qw0davhvlfarihcy2yyrc-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/qfz3prgw0zskcfjs55mk6wdpa31j92f7-php-7.2.7-dev
checking for references to /build in /nix/store/qfz3prgw0zskcfjs55mk6wdpa31j92f7-php-7.2.7-dev...
/nix/store/mq49nzix08asryi8d005i4g1v633f0ii-php-7.2.7

Success on aarch64-linux (full log)
Attempted: php72
Partial log (click to expand)
these derivations will be built:
  /nix/store/9iy5a6mb5bkn3nw0g4hjpanj76aiqkn1-php-7.2.7.drv
waiting for locks or build slots...
/nix/store/mq49nzix08asryi8d005i4g1v633f0ii-php-7.2.7

Success on x86_64-linux (full log)
Attempted: php
Partial log (click to expand)
/nix/store/zmn3m7z9gmqxwvq52qz4cli8qzz8pg8b-php-7.2.7/bin/php-config: interpreter directive changed from " /bin/sh" to "/nix/store/fcyxw5aslw3a82p33x5lhckj0mr6g1s4-bash-4.4-p23/bin/sh"
/nix/store/zmn3m7z9gmqxwvq52qz4cli8qzz8pg8b-php-7.2.7/bin/peardev: interpreter directive changed from "/bin/sh" to "/nix/store/fcyxw5aslw3a82p33x5lhckj0mr6g1s4-bash-4.4-p23/bin/sh"
/nix/store/zmn3m7z9gmqxwvq52qz4cli8qzz8pg8b-php-7.2.7/bin/pecl: interpreter directive changed from "/bin/sh" to "/nix/store/fcyxw5aslw3a82p33x5lhckj0mr6g1s4-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/zmn3m7z9gmqxwvq52qz4cli8qzz8pg8b-php-7.2.7...
moving /nix/store/zmn3m7z9gmqxwvq52qz4cli8qzz8pg8b-php-7.2.7/sbin/* to /nix/store/zmn3m7z9gmqxwvq52qz4cli8qzz8pg8b-php-7.2.7/bin
shrinking RPATHs of ELF executables and libraries in /nix/store/gpb3rxw2g127fn488q94s8q00lx01lpb-php-7.2.7-dev
strip is /nix/store/a3nk8z2i7m7wa3jdckgv710n7j3yx4b5-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/gpb3rxw2g127fn488q94s8q00lx01lpb-php-7.2.7-dev
checking for references to /build in /nix/store/gpb3rxw2g127fn488q94s8q00lx01lpb-php-7.2.7-dev...
/nix/store/zmn3m7z9gmqxwvq52qz4cli8qzz8pg8b-php-7.2.7


Wakelock API iOS 16.4 browser mode vs Add to home screen mode

Device Name: Apple
Device Version: iOS 16.4
Browser Name: Safari
Browser Version: 16.4
NoSleep.js Version: 0.12.0

Expected Behavior
NoSleep is suposed to handle iOS 16.4
Actual Behavior
When using the Wake Lock API, on Safari, in a browser mode, the Wake Lock API work properly.
On the same website, opened after have done "Add to home screen", the Wake Lock API don't work properly. The Wake Lock API seem to not be able to be acquired.
An issue has been reported to WebKit https://bugs.webkit.org/show_bug.cgi?id=205104
How Do We Reproduce?
Here the test page: https://pelord.github.io/wakeLockApiAddHomeScreen/
To test the Wake Lock API, you have to toggle the ZZZ button.
Unchecked ZZZ = Wake Lock API released
Checked ZZZ = Wake Lock API acquired
I'll try do propose a PR soon.

Here my local fix.

@pelord - this will disable the Wake Lock for both - in-browser and apps pinned to home screen, right? You could test again this as well to target just the PWAs:
window.matchMedia('(display-mode: standalone)').matches

I’m having the same issue, in-browser app works but as soon as I install it on my device, the wake lock is not acquired anymore.
Any chance to incorporate the fix a new revision of the library? I know it’s not nice but if the native functionality is broken in PWA mode, we cannot rely on that.

Still not fixed in iOS 17
https://bugs.webkit.org/show_bug.cgi?id=254545

The fix provided by @pelord works perfectly, so I would suggest to use it. When IOS will have a fix, then we will need to chance the regex to only match the bugged versions

The fix provided by @pelord works perfectly, so I would suggest to use it. When IOS will have a fix, then we will need to chance the regex to only match the bugged versions

OK but that’s requiring a change in the library, isn’t it? I mean, I’ve to insert nosleep as code instead of installing it via yarn and apply this change on the nosleep code right?

I think https://github.com/Uriopass/NoSleep.js is the most active/working
Maybe we can submit a PR to that repo to add the fix of pelord.
It seems that the owner of this repository never looks back on it :cry: .

I forked this repository and included the above fix (with @z-x's modification): https://github.com/zakj/no-sleep
It's published on npm as @zakj/no-sleep. I couldn't resist some refactoring so buyer beware, but it's working for me.

Well done, I’m going to switch to your library immediately.I see you even implemented a check to use the old-fashioned way only in the installed PWA, so on a regular browser it should use the native api right?On 13 Oct 2023, at 07:41, Zak Johnson @.***> wrote:
I forked this repository and included the above fix (with @z-x's modification): https://github.com/zakj/no-sleep
It's published on npm as @zakj/no-sleep. I couldn't resist some refactoring so buyer beware, but it's working for me.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

I forked this repository and included the above fix (with @z-x's modification): https://github.com/zakj/no-sleep
It's published on npm as @zakj/no-sleep. I couldn't resist some refactoring so buyer beware, but it's working for me.

Hey thanks for the improvement in the lib. So this should fix the issue with browsers in IOs 16 ? or I misunderstood?

Yep, it's working for me.

Here my new fix.

If the user is on IOS, on a browser, the native wakelock will work. The video playback is strictly used on standalone mode.


Optimization and Debug settings as called from tasks.json

The current build_and_debug task does properly set the  DEBUG flag to enable debugging symbols. However, it does not change the OPT setting from its default (-O2 I believe). For accurate debugging information this should be set to -O0 or -Og

Something brought up in conversation earlier as well:
The build_and_debug task doesn't seem to run the clean recipe before building. So only any changed files are getting recompiled with the DEBUG flags. This can lead to some unexpected behavior.


updated extensions json tag fixes #95 (-,omitempty didn't work)

Related issue #95

Hold on this, this is not the supported way extensions work in 0.2 and 0.3

can close because https://github.com/cloudevents/sdk-go/pull/118 implements extensions


.streamlit/config.toml not taken into account

I tried to customize color theme and added ".streamlit/config.toml" config file.
It was correctly pulled/merged but current App does not take it into account.
Any idea why?

solved by waiting ¯_(ツ)_/¯

solved by waiting ¯_(ツ)_/¯


Issue with read method in Paragraph class

Line 208 in block_token.py is line_buffer.append(next(line)). Variable "line" does not exist and crashes on that line when called. Changing line to  lines fixes this problem.

Derp, sorry about that. Should be fixed now! Release coming this week.


Add a variable to handle the allowable outlier of the ping test

Add a variable to handle the allowable outlier of the ping test.
Update shell script for variables.
Update docs for performance metrics collection.

Signed-off-by: Cherry Wang<EMAIL_ADDRESS>

Fix #224


Add Presto web connector for Tableau (Beta)

This PR adds support for a web connector for Tableau that enables running SQL queries from Tableau against Presto.

Hi Nezih!
This seems very cool! Is there any word on the web connectors supporting live mode in the future?

Kamil, unfortunately I don't have any info about it.

@cawallin What do you mean by "streaming Tableau access"? If you mean live mode then Tableau needs to make changes to their product as their web connector API only supports the extract mode right now.

@nezihyigitbasi My apologies for the post that nearly duplicated Kamil's, I didn't see it. My question was more about what was blocking connecting directly to Tableau, which would also allow live mode. This itself is great though!

@haozhun Any plans to get this merged? I have just updated this PR for the latest Tableau release (9.1).

Thank you for keeping this up to date. And sorry about the delay. There was some discussion about the URL this needs to be in, the documentation location this needs to be in, etc. But in any case, we definitely should get this merged sooner than later.

fixed another bug + cleaned up a bit.

Hi @nezihyigitbasi. I discussed about this pull request with @martint. The major concern here is about security.

Right now, Presto server is susceptible to cross-origin writes and potentially cross-origin reads. This web connector adds another endpoint where such attack can target. Have you considered putting this in a separate service? Is there any particular reason this need to be inside Presto?
If we add additional security to the presto server, will that break web connector?

Additionally, we have 1 questions:

The script currently references two external scripts. We'd like to put these scripts in Presto. For jQuery, it's simple and straightforward. For tableauwdc, is that possible and legal?

I apologize for my ignorance of tableau. Please excuse me if any of my comments don't make sense.

@haozhun @martint thanks for looking at this.

The reason I put the web connector inside Presto is two fold. One is to get rid of cross domain requests so that the web connector and Presto's REST services are in the same domain. Second, I wanted to make it available to the Presto community. What do you mean by "putting this in a separate service"? Do you mean like deploying it on a separate machine (in which case we will make cross domain requests)? We can for sure deploy the web connector somewhere else and then configure a proxy to get rid of the cors restrictions.
What kind of security are we talking about here? It may or may not depending on the answer.
Unfortunately I don't know this one. But I will check it with Tableau and update this thread.

Tableau team told me that the web connector javascript file is MIT licensed and already open source here. So I think we can include it as long as we mention that this file is MIT licensed, see the MIT license description.

@haozhun @martint Updated the PR to include the vendor files.

@haozhun Updated the PR with the following:

Added support for setting session parameters
The connector now handles failures more gracefully. Previously it was causing Tableau client to hang on exceptions. Now it fails with a descriptive error message.

I have merged this pull request.
I fixed some formatting, moved the file into a subdirectory, added copyright notes, modified document slightly, removed meta flag that would be ignored by browser anyways, and added character-encoding meta flag.
I do want to point out that using async:false is really bad. See http://stackoverflow.com/questions/1457690/jquery-ajax-success-anonymous-function-scope for how to fix it.


feat: add padding around instructions

separate out instructions screens further or add padding so that doesn't overlap with prev/next buttons
better UX in smaller browser windows/screens

#136


 Is there any way to change this behavior? For example, is it possible to make it crop and center the images instead of stretching them to fit the AvatarView?

@bezmian #27


Main Menu

What is the context of this PR?
Add a navigation app in Wagtail to manage the main menu, allowing for structured, customisable navigation.
How to review

Spin up the ONS BETA Web App Locally as normal.
Snippets -> Main Menu -> Add main menu.
Fill in the menu content -> After saving every time you should see the preview on the preview panel.
Go to Settings -> Navigation Settings ->  Choose main menu -> Choose the menu shown so it can be displayed on the website.

Loom walkthrough of the main menu: ATTACH LINK HERE
Follow-up Actions
List any follow-up actions (if applicable), like needed documentation updates or additional testing.

Thanks @sanjeevz3009 I have tested locally and it all functions well. A couple of small comments on the validation and example help text.

@helenb Will push my latest code up as I haven't done that. It should be way better =) Might resolve some of the issues raised by you. Thanks Helen, will sort out any issues not addressed already locally and then push it up.

I don't think the menu is using the styling quite as expected - compare my test with the menu settings (first screenshot) with what is in the prototype (second screenshot). I'm happy to pick that up as a follow-up task.

@helenb
Thanks for testing this. I fixed the link issues.
Now adding main menu content and it being usable on the menu on the website should be all good.

So now we are just left with alignment front-end issues.

Where if you have only 2 columns the alignment looks weird and goes out of place slightly compared to 3 columns.
If you have 3 sections and the 1st one has 5 topics and then the rest of the sections have 3 topics then the the section alignment for that column goes off as well.
So there are similar issues like the above.

Would be amazing if you could follow that up on a task. Happy to demo the front-end styling issues to you.
Thanks =)

@helenb
Thanks for testing this. I fixed the link issues.
As previously for highlights when a user selects a Wagtail page it didn't turn it into a link. Now it does. Same for the topic page.
Also fixed some other edge cases I missed out on previously, so now all should be good on that side.
Let me know if there are any further issues.
Now adding main menu content and it being usable on the website menu should be all good.

So now we are just left with front-end alignment issues.

Where if you have only 2 columns the alignment looks weird and goes out of place slightly compared to 3 columns.
If you have 3 sections and the 1st one has 5 topics and then the rest of the sections have 3 topics then the the section alignment for that column goes off as well.
So there are similar issues like the above.

Would be amazing if you could follow that up on a task. Happy to demo the front-end styling/ alignment issues to you.
Thanks =)

Thanks @sanjeevz3009 - once you've merged this PR, you could re-assign the ticket to me to do the front-end tweaks.


possible idea: ignite generate model ModelName

[x ] ignite base application
[x] ignite the cli
[x] ignite generated code

so far in the documentation, it did not have Model generation. I kind of thinking similar to Rails where base on the fields name, it will automatically generate model, screen controller and api to local database or backend for save/update.
do you think it is a good idea?
I think this one already been in roadmap version  1.1 (Gifted form, Realm etc.)

I like this.   Let's flesh out the idea.

so far here is the needs.

Social Mobile App with backend integration

need to retrieve json from backend and map to model and maybe child of the model

Survey Mobile App

create a model, that map to local database and later can be sync to backend server

Dynamic Model Generation

Given json and child relationship, automatically create model based on keys of the json.

In Rails=> rails generate model NAME [field[:type][:index] field[:type][:index]]
I think we can follow the same thing too
ignite generate model NAME [field[:type][:index] field[:type][:index]]
in Rails => rails generate scaffold HighScore game:string score:integer (this will create view, controller, assets, model, unit test, etc)
ignite  generate scaffold HighScore game:string score:integer
=> This will generate

PageView (component/container/screen)
Model
Automatic integration with local db/ RealmDB

or anything that will make a job easier for standard mobile application

What if, follow realm model api and extended it to other datastore or backend data. This might give advantages of having the model relationship done for free and extend the same api to async data store or backend
So far, from https://realm.io/news/introducing-realm-react-native/
ignite generator model Dog name:string age:int

class Dog {}
Dog.schema = {
    name: 'Dog',
    properties: {
        name: 'string',
        age: 'int',
    }
};

ignite generator model Person name:string dogs:list[Dog]

class Person {}
Person.schema = {
    name: 'string',
    dogs: {type: 'list', objectType: 'Dog'},
};

This becomes very possible with plugins in 2.0.  You can make a generator plugin now.


fix: dev random port

Codecov Report
Base: 86.48% // Head: 86.47% // Decreases project coverage by -0.01% :warning:

Coverage data is based on head (7571f17) compared to base (481ca25).
Patch coverage: 75.00% of modified lines in pull request are covered.

:exclamation: Current head 7571f17 differs from pull request most recent head fc7eaa0. Consider uploading reports for the commit fc7eaa0 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##              2.x     #311      +/-   ##
==========================================
- Coverage   86.48%   86.47%   -0.02%
==========================================
  Files          40       40
  Lines        4071     4074       +3
  Branches     1190     1193       +3
==========================================
+ Hits         3521     3523       +2
- Misses        510      511       +1
  Partials       40       40

Impacted Files
Coverage Δ

packages/cli-plugin-dev/src/index.ts
86.52% <75.00%> (-0.22%)
:arrow_down:

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

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


[Proposal] Consider estimateItemSize in addition to itemSize.

Checklist

[x] Reviewed the README and documents.
[x] Searched existing issues for ensure not duplicated.

Description
I used UICollectionViewFlowLayout to implement a collectionView where collectionView.height and collectionView.contentSize.height are equal and the width of the cell is dynamic. Then, I set estimatedItemSize on prepare () method(didn't set itemSize).
It makes UICollectionViewFlowLayoutBreakForInvalidSizes of layout error.(I called layoutIfNeeded after reloadData)
I resolved to set itemSize on prepare().
Found Carbon handle for only itemSize.
Apple Document don't say need both estimatedItemSize and itemSize.
Proposed Solution
Carbon handle both itemSize and estimatedItemSize or write doc about estimatedItemSize. (It may not be necessary because itemSize is already written 🤔 )

Hi @tomokitakahashi ,
The dynamic sizing API in UICollectionView is so delicate that it's hard to know your situation unless looking at the entire implementation.
At least it worked as far as I tried before.
FYI, when using dynamic sizing, the diffing animation in UICollectionView will glitch.
I searched for a smart solution to this bug but couldn't found.
If you want to have both dynamic sizing and diffing animation, you will need to do a legacy implementation, but that's life.

Thanks @ra1028 !
I didn't know your think !  I trying to diff animation too 👍
I'll close this issue 😄

as @ra1028 said dynamic sizing API in UICollectionView is tricky....
you can try to get the same result using autolayout to calculate the cell size for each component.
I haven't tried but this should work:

storing a View for all components
configure it in referenceSize method
use auto layout to get the compressed size
return the calculated size in referenceSize method

This is basically the old way to implement dynamic cell sizing. You need to test it because for some cases it can affect the performance (caching the calculated sizes for example in adapter can improve it)


requestUriIgnorePattern=".*.(ico|png|gif|jpg|css|js)$" is hard coded

From<EMAIL_ADDRESS>on July 30, 2013 00:34:59
What steps will reproduce the problem?

requestUriIgnorePattern=".*.(ico|png|gif|jpg|css|js)$" is hard coded as part of code.

What is the expected output? What do you see instead?
Should have read from conf.xml (configuration)

What version of the product are you using? On what operating system?
1.6.5

Please provide any additional information below.
read from configuration file

Original issue: http://code.google.com/p/memcached-session-manager/issues/detail?id=172

From martin.grotzke on July 31, 2013 08:31:53
Can you please point to the code that shows where it's hard coded? I'd say it's not ;-)
If you're running into the issue that your configuration is not used you should check relevant tomcat configuration files (server.xml and context configs).

From martin.grotzke on August 24, 2013 15:25:45
(No comment was entered for this change.)
Status: Invalid


Path Issues

Error running command. I don't know how to fix this. Can you please help?
Reading config file.
AndroidNdkDirectory: G:\Workspace\mono_rebundle\Tools\android-sdk\android-ndk-r25b
BundleApiPath: G:\Workspace\mono_rebundle\Tools\mkbundle-api.h
ToolPath: G:\Workspace\mono_rebundle\Tools\mkbundle\
SupportedAbis: armeabi-v7a
Low ValidateAndroidSdkLocation: ``, result=False
Low Looking for Android SDK...
Low ValidateAndroidNdkLocation: `G:\Workspace\mono_rebundle\Tools\android-sdk\android-ndk-r25b`, result=True
Low ValidateJavaSdkLocation: ``, result=False
Unhandled exception. System.InvalidOperationException: Could not determine Android SDK location. Please provide `androidSdkPath`.
   at Xamarin.Android.Tools.AndroidSdkInfo..ctor(Action`2 logger, String androidSdkPath, String androidNdkPath, String javaSdkPath) in G:\Mono_Rebundle\xamarin-android\external\Java.Interop\external\xamarin-android-tools\src\Xamarin.Android.Tools.AndroidSdk\AndroidSdkInfo.cs:line 23
   at Xamarin.Android.Tasks.MonoAndroidHelper.RefreshAndroidSdk(String sdkPath, String ndkPath, String javaPath, TaskLoggingHelper logHelper) in G:\Mono_Rebundle\xamarin-android\src\Xamarin.Android.Build.Tasks\Utilities\MonoAndroidHelper.cs:line 119
   at Mono_Xamarin_MkBundle.MakeBundleNativeCodeExternal.RunTask() in G:\Mono_Rebundle\MakeBundleNativeCodeExternal.cs:line 51
   at Mono_Xamarin_MkBundle.Program.Main(String[] args) in G:\Mono_Rebundle\Program.cs:line 127

The error message "Could not determine Android SDK location. Please provide androidSdkPath" indicates that the Android SDK could not be found.
To fix this error, you will need to provide the location of the Android SDK on your computer. This can be done by setting the androidSdkPath variable in the configuration file for the program that is generating the error. The location of the Android SDK will be different depending on where you installed it on your computer.
Once you have determined the location of the Android SDK, you can update the configuration file for the program to specify the correct path. This may involve modifying the AndroidSdkDirectory and/or AndroidNdkDirectory variables in the configuration file, depending on the specific program you are using.
After updating the configuration file, you should be able to run the program again without encountering the "Could not determine Android SDK location" error. However, if you are still having trouble, you may need to check the path to the Android SDK to ensure that it is correct and that the Android SDK is installed correctly on your computer.


CI debugging

https://github.com/rapidsai/kvikio/pull/379 + reverting https://github.com/rapidsai/kvikio/pull/342 + syntax-error if KVIKIO_CUFILE_FOUND isn't defined.

@madsbk I think we can close this one now, right?


Serverless Deploy

Hi, i have a question... i need to change the mail template... but i can't deploy only the serverless side... how i can deploy only the serverless without run all the cloudformation template?

I also have the same question, I need to add one additional field to the dynamoDB entries, TTL field so when transcribe is complete along with update status, I want to add one additional field for TTL.
If I make the changes and build the lambda and upload it back to the same S3 bucket - and redeploy the code in Lambda will it work?

I understand that we can use development branch. All the commands to build the solution ie., build.sh needs linux machine is there a script that I can use for windows machine?

I understand that we can use development branch. All the commands to build the solution ie., build.sh needs linux machine is there a script that I can use for windows machine?


DataGrid with ComboBoxColumn Selection Issue

Describe the bug
DataGridComboBoxColumn's behave unexpected when using them in a DataGrid the MVVM way and scrolling around trough the rows of the DataGrid after MahApps Version 2.0.1. In the first X rows the first List Entry of the ComboBoxes get's randomly selected. This change also affects the MVVM Objects behind the DataGrid. If you scroll down and up a little bit, this wrong selection is appearing and diasappearing. WIth Version 2.0.1 everything ist working as expected.
Steps to reproduce

.NET Core 3.1 Project with MahApps 2.0.1 and MahApss.Window
Create a Observable Collection containing Objects and bind it to a DataGrid
DataGrid shoud contain a bound TextBoxColumn and a ComboBoxColumn
ItemSource of the COmboBoxColumn is a StaticResource, SelectedValuePath and SelectedValueBinding are set
Fill the DataGrid and the ComboBox List with Objects during runtime (300 f.e.)
Everything works as expected (in every Row theres's nothing selected in the ComboBox, and you can select it)
Upgrade MahApps to a newer Version trough NuGet
Now there is randomly the first Value ov the ComboBox Selected in the upper 10 or 12 rows f.e.
If you scroll up- or down the DataGrid this wrong selection is appearing and disappearing

This Problem seems not to be related with any other code, Events or the MVVM Models itself. JUst replacing the MahApps Version with an older one solves the problem.
MahApps.Metro version: v2.1.0 or newer
Windows build number: Win10 2004
Visual Studio: 2019 16.8.2
Target Framework: .Net Core 3.1

## Screenshots
![problem](https://user-images.githubusercontent.com/65429097/100463961-fd88e180-30cc-11eb-826f-10ae77db6d4b.gif)

@joru1407 may I ask you to provide a sample App via github Repro showing your issue? I don't see the issue on my side right now.
Thanks and happy coding
Tim

@timunie Attached you can find a simple App showing the Problem.
Just select a value in the first row's ComboBox and scroll up and down a little bit ;-)
DataGridIssue.zip

@joru1407 I got it, it's a bug in our default ComboBox style for the DataGrid column.

@punker76 Wow, that was quick! Thank you very much, Joshua


Add natehn.com to webring.

Resubmitting! Webring link and icon are in the lower right-hand corner.

welcome to the ring :)

welcome to the ring :)


[WFLY-13771]: Adding messaging layers and some testing

https://issues.redhat.com/browse/WFLY-13771
This is #13527 updated to base on the current rev of #13524. There's a small change in the original commit to reflect the fact that the EJB layer used in the ejb+messaging tests is now called 'ejb-lite' not 'ejb3-lite'

I'm closing this. I opened it to keep moving forward while it was last Friday evening in Europe. But weekend is over, Emmanuel's driving this and his 13527 PR is the real one.


Remove harvesterhci.io/owned-by

Summary
PR Checklist

Is this a multi-tenancy feature/bug?

[ ] Yes, the relevant RBAC changes are at:

Do we need to backport changes to the old Rancher UI, such as RKE1?

[ ] Yes, the relevant PR is at:

Are backend engineers aware of UI changes?

[ ] Yes, the backend owner is:

Related Issue https://github.com/harvester/harvester/issues/5905

Occurred changes and/or fixed issues

Technical notes summary

We are removing harvesterhci.io/owned-by label from UI.
Attached VM is now calculated by iterating through the VMs volume list -> vm.spec.template.spec.volumes

Areas or cases that should be tested

Areas which could experience regressions

Screenshot/Video

@mergify backport release-harvester-v1.4


IMPOSSIBLE

Hello! I'm using Agda2hs because it's awesome for writing Haskell programs that I can also prove correct. Unfortunately, it's also a bit rough on the edges: agda2hs instructs me to report a bug.
Specifically, in the fine-types-core package of the repository/branch
https://github.com/cardano-foundation/fine-types/tree/HeinrichApfelmus/ADP-3153/agda2hs-bug/lib/fine-types-core , I get
fine-types-core % ./generate-haskell.sh
Writing ./src/haskell/Language/FineTypes/Typ.hs
Writing ./src/haskell/Data/Embedding.hs
Writing ./src/haskell/Language/FineTypes/Value/Def.hs
An internal error has occurred. Please report this as a bug.
Location of the error: __IMPOSSIBLE__, called at src/Agda2Hs/Compile/Function.hs:133:39 in main:Agda2Hs.Compile.Function

The error seemingly occurs when compiling the file ./src/agda/Language/FineTypes/Embedding.agda. The interactive mode of Agda version 2.6.3 accepts the file just fine.
I have not attempted to make the test case smaller, as the codebase is still quite small.

Thank you for the report! The bug itself is triggered by the following line: https://github.com/agda/agda2hs/blob/d8df495eb51ad4cee2fca80a34ad0515f02c4fcf/src/Agda2Hs/Compile/Function.hs#L133
It seems that somehow agda2hs is trying to compile a clause without a RHS, i.e. an absurd clause. Could you run agda2hs again with the option -v agda2hs.compile:7 and copy the (last part of) the output here?

Could you run agda2hs again with the option -v agda2hs.compile:7 and copy the (last part of) the output here?

Sure, here is the full log: compile_impossible.stdout.txt.
From the log, it appears that agda2hs chokes when compiling the to field of the source definition
distributeVal
  : ∀ {@0 A B C : Typ}
  → Embedding
      (Value ((A + B) × C))
      (Value ((A × C) + (B × C)))
distributeVal =
  record
    { to = λ
      { (Product2 (Sum2L a) c) → Sum2L (Product2 a c)
      ; (Product2 (Sum2R b) c) → Sum2R (Product2 b c)
      }
    ; …

because Agda inserts two impossible cases
to =
   λ { (Product2 (Sum2L a) c) → Sum2L (Product2 a c)
     ; (Product2 (Sum2R b) c) → Sum2R (Product2 b c)
     ; (Two ())
     ; (Product2 (Two ()) x)
     }

The source definition of Value contains the constructor
data Value : @0 Typ → Set where
  …
  Two     : ∀ {@0 A B : Typ} {@0 op : OpTwo}
          → TwoF (Value A) (Value B) op
          → Value (Typ.Two op A B)

but the type TwoF is equivalent to ⊥, mostly because I had commented out a constructor that I wanted to implement later:
data TwoF (a b : Set) : @0 Typ.OpTwo → Set where
--  FiniteMap : Map a b → TwoF a b

Judging from the above, the following is a minimal test case:
data Void : Set where
data Maybe (a : Set) : Set where
    Nothing : Maybe a
    Just : a → Maybe a

test : Maybe Void → Maybe Void
test = λ
    { Nothing → Nothing
    }

{-# COMPILE AGDA2HS test #-}

Agda2hs will choke with __IMPOSSIBLE__ when its trying to compile the case expression, because Agda has added an impossible case that was not present in the source file:
compiling term: λ { Nothing → Nothing ; (Just ()) }


Check whether long running thread code is finished or not, using channel.

(This is not bug report or enhancement :)
I tested for long running routine and found there is no way to check the thread is alive or not. Of course Thread.Running is available but it seems to be incomplete. This is simple method to check whether long running routine is finished or not, using channel.
_ch := make(chan bool)

thread := pthread.Create(func() {
    ... long running routine ...

    _ch <- true
})

<- _ch

Thanks.

closed as not an issue


(bridge) Added experimental wormhole background

This PR introduces a Three.js animated "Wormhole".
The component is completely encapsulated in packages/bridge/src/components/Wormhole.
The following dependencies are added to packages/bridge/package.json:
    "@react-three/drei": "^3.8.0",
    "react-three-fiber": "^5.3.18",
    "three": "^0.125.2",

Thanks a lot @timhagn!

@timhagn @rmshea looks like this PR is missing one file: wormhole.css can you add that?

Hi  @bartosz-lipinski,
rectified it in #8, hadn't seen that there's *.css in .gitignore beforehand % ).
Best,
Tim.


ImportError: cannot import name 'get_config'

Hi,
I got this error when i run my code with talos in a new cluster. It worked previously on another cluster with the same code.
Traceback (most recent call last):
File "main_multi_ip=cst_op=c_end_clc_clcd_cm_aoa_opt_talos.py", line 35, in
import talos
File "/home/users/nus/tslcph1/.local/lib/python3.6/site-packages/talos/init.py", line 14, in
from . import utils
File "/home/users/nus/tslcph1/.local/lib/python3.6/site-packages/talos/utils/init.py", line 3, in
from kerasplotlib import TrainingLog as live
File "/home/users/nus/tslcph1/.local/lib/python3.6/site-packages/kerasplotlib/init.py", line 1, in
from kerasplotlib.traininglog import TrainingLog
File "/home/users/nus/tslcph1/.local/lib/python3.6/site-packages/kerasplotlib/traininglog.py", line 8, in
from keras.callbacks import Callback
File "/home/users/nus/tslcph1/.local/lib/python3.6/site-packages/keras/init.py", line 25, in
from keras import models
File "/home/users/nus/tslcph1/.local/lib/python3.6/site-packages/keras/models.py", line 19, in
from keras import backend
File "/home/users/nus/tslcph1/.local/lib/python3.6/site-packages/keras/backend.py", line 36, in
from tensorflow.python.eager.context import get_config
ImportError: cannot import name 'get_config'
The version is talos 1.0, installed using "pip install talos --user"
The installation was successful though.

Hey,
same problem here. Everything was fine few weeks ago, now this error occurs...

Hello,
Anybody solved this problem?

Seems to be an issue upstream in TensorFlow. Have a look here.


Applying a border radius after a border token gives issues.

Describe the bug
When you apply a border to certain sides and afterwards apply a border radius to it, the border width is changed. See video for cases that work as expected and cases that give issues.
Expected behavior
The border width shouldn't change when you apply a border radius token to the same element.
Screenshots or Screencasts
If applicable, add screenshots to help explain your problem.
https://github.com/tokens-studio/figma-plugin/assets/109062656/4cf03dac-ec2d-4c81-8c73-211ff3363316

looks to be related to: https://github.com/tokens-studio/figma-plugin/issues/1829


[sv] possibility to turn on and off individual lights

Added possibility to turn on and off individual lights in a given area in swedish.

Do you also update the testcase responses and verify that the tests pass.

Do you also update the testcase responses and verify that the tests pass.

Yeah. I thought i'd just make a quick edit in the web ui, but family duty called after the first two files. I'll get to it later.


Bot Restart while away

I am away from home and saw that there was a drop that the bot picked up successfully. If there is a pattern, there could be another drop tonight, but I might not make it back from work in time to restart the bot.
Please add a feature to continue running the bot after a success. Perhaps it keeps checking for the item to be in stock, once the item goes out of stock again, it returns to normal, and only notifies you if it comes in stock after going back out of stock after a success. Thanks!

Just use a bat to loop it
If on Windows
:a
C:\Users\yourname\downloads\nvidia-clerk-windows.exe -region=USA -model=3080
GOTO :a

Will that notify me repeatedly for the minute things are in stock

My bot did NOT pick it up at all. I went through and checked the timestamps and it stayed OOS the entire time. Why would that be? Could it have anything to do with the fact that I'm tracking CAN and not USA? I was under the impression that they were the same store....
Realllly bummed out about this one. :(

Will that notify me repeatedly for the minute things are in stock

Yes

@ddamron88 does that solve the problem?

I want to test it before I say yes. I am concerned that the frequent popups
would affect my ability to checkout, but it could work.
On Thu, Oct 1, 2020, 4:28 PM redstone2019<EMAIL_ADDRESS>wrote:

@ddamron88 https://github.com/ddamron88 does that solve the problem?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ianmarmour/nvidia-clerk/issues/169#issuecomment-702378758,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARHBZIVK65LCJF6DLBYK423SITQ5VANCNFSM4SA3XI4Q
.

It works I use that. Closing, reopen if it has issues.

Kk
On Thu, Oct 1, 2020, 4:38 PM redstone2019<EMAIL_ADDRESS>wrote:

It works I use that. Closing, reopen if it has issues.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ianmarmour/nvidia-clerk/issues/169#issuecomment-702384307,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARHBZIQGPZN7N5UX5LSZX43SITSFNANCNFSM4SA3XI4Q
.


add simple metrics for remote storage operations

track number of operations and number of their failures

Not sure how good it is to put so many functions into an S3 wrapper

Since it is used in both pageserver and safekeeper looks like a good common place to have them :)


chore(deps): update terraform github.com/terraform-ibm-modules/terraform-ibm-observability-instances to v2.1.0

This PR contains the following updates:

Package
Type
Update
Change

github.com/terraform-ibm-modules/terraform-ibm-observability-instances
module
minor
v2.0.0 -> v2.1.0

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, click this checkbox. ⚠ Warning: custom changes will be lost.

This PR has been generated by Renovate Bot.

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


Allow use with multiple server Trellis

Overview
Using this role as-is on a Trellis setup with multiple servers is not possible because it fails when no license key is set. This PR will only run install tasks if a license key is set, but allow provisioning to complete if it isn't.
Use case
We're using Trellis with multiple servers, set up under host_vars e.g.
trellis
    └── host_vars/
        ├── server1/
        └── server2/
            ├── wordpress_sites.yml/
            └── vault.yml/

In a simplified example, we want to use New Relic on server 2 but NOT server 1. By allowing a false value to be set (or defaulting to it), the New Relic install tasks can be skipped for servers we don't want to install it on.
Feedback welcome and thanks for making this role available in the first place!

@TangRufus Happy New Year! Just politely bumping this to see if it's something worth merging in. Happy to make changes if necessary.


HI contributor question about cookies

I am wandering that may i add my cookies in the dryscrapy.session()?
or is this function still developing?
I really appreciate your answer!

See [http://dryscrape.readthedocs.io/en/latest/apidoc.html#webkit_server.Client.set_cookie]


[QC-40] Add qe-metrics init-db command

Starts qe-metrics CLI
Adds qe-metrics init-db command to CLI
Adds "common options" to be used through the CLI

--verbose to be used when user would like to see database output
--config to specify the config path
--local for when the user would like to use a local SQLite database rather than the configured one for debugging

Will add unit tests today


Create a test / spec for typescript definition

As the lib is not originally authored in typescript, the definition is written manually by hand, thus may introduce an incomplete definition, or typo, error, etc for the ts users.
Should we make some kind of type checking for the definition into the build/test step? We can do it like the type registration in DefinetlyTyped, where there is a spec only typescript file importing all the components, which purpose is only for type checking.
For example we can define the spec directory as a typescript project (put a tsconfig.json into this), then we write a ts file importing all the component, then run the tsc compiler against it. This way any contribution to typescript definition of react-toolbox will be either type checked by IDE/editor or the tsc compiler.

This would be perfect. Would you create a PR for this? It would be very helpful specially for me since I bever used Typescript

Sure, I'll get into this soon. Should I include this in #1114 ?

I'd make itnin a separate PR, I'm merging that one now


exit codes

This only exits if it times out or buildindex succeeds. There are other exit codes from the status check right? This should report whatever the exit code is, with a brief explanation (example: exit code 3, there's another job still running).
Also 300*5 isn't much time for production size indexes, not sure if it even makes sense to include a timeout here.

We know this issue and will refine the build index code ( build index code is very old logic, we just reuse it right now ).
Yes, the if use current build index code, if index build take very long time, the job will failed because time out, but that don't means the index build failed.


How to setup project at local host?

I followed the steps given in readme but couldnt start a meeting. And the error was "Unable to join the room" (everytime i click on audio only or audio and video button). Please help!
Tell me if I am missing something?

I had the same problem and managed to solve it by changing the ip there in the server settings, in WebRtcTransport for my local ip:

The code snippet looks like this:

Hey, can I know exact steps you followed? From the starting how did you setup the project.
because I am still getting the same error.

@callmemonky .
Please share your screenshot what are you getting an error?

I cloned the repo and performed all of these steps:

Then, I went to the  directory

/edumeet/server/certs

and generated a new cert and private key with the following command:
openssl req -x509 -newkey rsa:4096 -keyout privkey.pem -out cert.pem -days 365 -nodes -subj '/CN=localhost'

Generating these two files here in the certs folder

3)
Soon after, I added a turn/stun server

If using coturn, you can generate a user and key with:

$ turnadmin -k -u <username> -p <password>

For testing purposes, use this:

		{
			urls : [
				'turn:numb.viagenie.ca'
			],
			username<EMAIL_ADDRESS>			credential : 'muazkh'
		}

My final server configuration file (configs / server / config.js) looks like this:
const os = require('os');
const userRoles = require('../userRoles');

const {
	BYPASS_ROOM_LOCK,
	BYPASS_LOBBY
} = require('../access');

const {
	CHANGE_ROOM_LOCK,
	PROMOTE_PEER,
	SEND_CHAT,
	MODERATE_CHAT,
	SHARE_SCREEN,
	EXTRA_VIDEO,
	SHARE_FILE,
	MODERATE_FILES,
	MODERATE_ROOM
} = require('../permissions');

// const AwaitQueue = require('awaitqueue');
// const axios = require('axios');

module.exports =
{

	// URI and key for requesting geoip-based TURN server closest to the client
	turnAPIKey    : 'examplekey',
	turnAPIURI    : 'turn:numb.viagenie.ca',
	turnAPIparams : {
		'uri_schema' 	: 'turn',
		'transport' 		: 'tcp',
		'ip_ver'    		: 'ipv4',
		'servercount'	: '2'
	},

	// Backup turnservers if REST fails or is not configured
	backupTurnServers : [
		{
			urls : [
				'turn:numb.viagenie.ca'
			],
			username<EMAIL_ADDRESS>			credential : 'muazkh'
		}
	],
	fileTracker  : 'wss://tracker.lab.vvc.niif.hu:443',
	redisOptions : {},
	// session cookie secret
	cookieSecret : 'T0P-S3cR3t_cook!e',
	cookieName   : 'new-edutech.sid',
	// if you use encrypted private key the set the passphrase
	tls          :
	{
		cert : `/home/pier/Documentos/edumeet/server/certs/cert.pem`,
		// passphrase: 'key_password'
		key  : `/home/pier/Documentos/edumeet/server/certs/key.pem`
	},
	// listening Host or IP
	// If omitted listens on every IP. ("<IP_ADDRESS>" and "::")
	//listeningHost					: 'localhost',
	// Listening port for https server.
	listeningPort         : 3443,
	// Any http request is redirected to https.
	// Listening port for http server.
	listeningRedirectPort : 8080,
	// Listens only on http, only on listeningPort
	// listeningRedirectPort disabled
	// use case: loadbalancer backend
	httpOnly              : false,
	// WebServer/Express trust proxy config for httpOnly mode
	// You can find more info:
	//  - https://expressjs.com/en/guide/behind-proxies.html
	//  - https://www.npmjs.com/package/proxy-addr
	// use case: loadbalancer backend
	trustProxy            : '',
	// This logger class will have the log function
	// called every time there is a room created or destroyed,
	// or peer created or destroyed. This would then be able
	// to log to a file or external service.
	/* StatusLogger          : class
	{
		constructor()
		{
			this._queue = new AwaitQueue();
		}
		// rooms: rooms object
		// peers: peers object
		// eslint-disable-next-line no-unused-vars
		async log({ rooms, peers })
		{
			this._queue.push(async () =>
			{
				// Do your logging in here, use queue to keep correct order
				// eslint-disable-next-line no-console
				console.log('Number of rooms: ', rooms.size);
				// eslint-disable-next-line no-console
				console.log('Number of peers: ', peers.size);
			})
				.catch((error) =>
				{
					// eslint-disable-next-line no-console
					console.log('error in log', error);
				});
		}
	}, */
	// This function will be called on successful login through oidc.
	// Use this function to map your oidc userinfo to the Peer object.
	// The roomId is equal to the room name.
	// See examples below.
	// Examples:
	/*
	// All authenicated users will be MODERATOR and AUTHENTICATED
	userMapping : async ({ peer, roomId, userinfo }) =>
	{
		peer.addRole(userRoles.MODERATOR);
		peer.addRole(userRoles.AUTHENTICATED);
	},
	// All authenicated users will be AUTHENTICATED,
	// and those with the moderator role set in the userinfo
	// will also be MODERATOR
	userMapping : async ({ peer, roomId, userinfo }) =>
	{
		if (
			Array.isArray(userinfo.meet_roles) &&
			userinfo.meet_roles.includes('moderator')
		)
		{
			peer.addRole(userRoles.MODERATOR);
		}
		if (
			Array.isArray(userinfo.meet_roles) &&
			userinfo.meet_roles.includes('meetingadmin')
		)
		{
			peer.addRole(userRoles.ADMIN);
		}
		peer.addRole(userRoles.AUTHENTICATED);
	},
	// All authenicated users will be AUTHENTICATED,
	// and those with email ending with @example.com
	// will also be MODERATOR
	userMapping : async ({ peer, roomId, userinfo }) =>
	{
		if (userinfo.email && userinfo.email.endsWith('@example.com'))
		{
			peer.addRole(userRoles.MODERATOR);
		}
		peer.addRole(userRoles.AUTHENTICATED);
	}
	// All authenicated users will be AUTHENTICATED,
	// and those with email ending with @example.com
	// will also be MODERATOR
	userMapping : async ({ peer, roomId, userinfo }) =>
	{
		if (userinfo.email && userinfo.email.endsWith('@example.com'))
		{
			peer.addRole(userRoles.MODERATOR);
		}
		peer.addRole(userRoles.AUTHENTICATED);
	},
	*/
	// eslint-disable-next-line no-unused-vars
	userMapping           : async ({ peer, roomId, userinfo }) =>
	{
		if (userinfo.picture != null)
		{
			if (!userinfo.picture.match(/^http/g))
			{
				peer.picture = `data:image/jpeg;base64, ${userinfo.picture}`;
			}
			else
			{
				peer.picture = userinfo.picture;
			}
		}

		if (userinfo.nickname != null)
		{
			peer.displayName = userinfo.nickname;
		}

		if (userinfo.name != null)
		{
			peer.displayName = userinfo.name;
		}

		if (userinfo.email != null)
		{
			peer.email = userinfo.email;
		}
	},
	// All users have the role "NORMAL" by default. Other roles need to be
	// added in the "userMapping" function. The following accesses and
	// permissions are arrays of roles. Roles can be changed in userRoles.js
	//
	// Example:
	// [ userRoles.MODERATOR, userRoles.AUTHENTICATED ]
	accessFromRoles : {
		// The role(s) will gain access to the room
		// even if it is locked (!)
		[BYPASS_ROOM_LOCK] : [ userRoles.ADMIN ],
		// The role(s) will gain access to the room without
		// going into the lobby. If you want to restrict access to your
		// server to only directly allow authenticated users, you could
		// add the userRoles.AUTHENTICATED to the user in the userMapping
		// function, and change to BYPASS_LOBBY : [ userRoles.AUTHENTICATED ]
		[BYPASS_LOBBY]     : [ userRoles.NORMAL ]
	},
	permissionsFromRoles : {
		// The role(s) have permission to lock/unlock a room
		[CHANGE_ROOM_LOCK] : [ userRoles.MODERATOR ],
		// The role(s) have permission to promote a peer from the lobby
		[PROMOTE_PEER]     : [ userRoles.NORMAL ],
		// The role(s) have permission to send chat messages
		[SEND_CHAT]        : [ userRoles.NORMAL ],
		// The role(s) have permission to moderate chat
		[MODERATE_CHAT]    : [ userRoles.MODERATOR ],
		// The role(s) have permission to share screen
		[SHARE_SCREEN]     : [ userRoles.NORMAL ],
		// The role(s) have permission to produce extra video
		[EXTRA_VIDEO]      : [ userRoles.NORMAL ],
		// The role(s) have permission to share files
		[SHARE_FILE]       : [ userRoles.NORMAL ],
		// The role(s) have permission to moderate files
		[MODERATE_FILES]   : [ userRoles.MODERATOR ],
		// The role(s) have permission to moderate room (e.g. kick user)
		[MODERATE_ROOM]    : [ userRoles.MODERATOR ]
	},
	// Array of permissions. If no peer with the permission in question
	// is in the room, all peers are permitted to do the action. The peers
	// that are allowed because of this rule will not be able to do this
	// action as soon as a peer with the permission joins. In this example
	// everyone will be able to lock/unlock room until a MODERATOR joins.
	allowWhenRoleMissing : [ CHANGE_ROOM_LOCK ],
	// When truthy, the room will be open to all users when as long as there
	// are allready users in the room
	activateOnHostJoin   : true,
	// When set, maxUsersPerRoom defines how many users can join
	// a single room. If not set, there is no limit.
	// maxUsersPerRoom    : 20,
	// Room size before spreading to new router
	routerScaleSize      : 40,
	// Socket timout value
	requestTimeout       : 20000,
	// Socket retries when timeout
	requestRetries       : 3,
	// Mediasoup settings
	mediasoup            :
	{
		numWorkers : Object.keys(os.cpus()).length,
		// mediasoup Worker settings.
		worker     :
		{
			logLevel : 'warn',
			logTags  :
			[
				'info',
				'ice',
				'dtls',
				'rtp',
				'srtp',
				'rtcp'
			],
			rtcMinPort : 40000,
			rtcMaxPort : 49999
		},
		// mediasoup Router settings.
		router :
		{
			// Router media codecs.
			mediaCodecs :
			[
				{
					kind      : 'audio',
					mimeType  : 'audio/opus',
					clockRate : 48000,
					channels  : 2
				},
				{
					kind       : 'video',
					mimeType   : 'video/VP8',
					clockRate  : 90000,
					parameters :
					{
						'x-google-start-bitrate' : 1000
					}
				},
				{
					kind       : 'video',
					mimeType   : 'video/VP9',
					clockRate  : 90000,
					parameters :
					{
						'profile-id'             : 2,
						'x-google-start-bitrate' : 1000
					}
				},
				{
					kind       : 'video',
					mimeType   : 'video/h264',
					clockRate  : 90000,
					parameters :
					{
						'packetization-mode'      : 1,
						'profile-level-id'        : '4d0032',
						'level-asymmetry-allowed' : 1,
						'x-google-start-bitrate'  : 1000
					}
				},
				{
					kind       : 'video',
					mimeType   : 'video/h264',
					clockRate  : 90000,
					parameters :
					{
						'packetization-mode'      : 1,
						'profile-level-id'        : '42e01f',
						'level-asymmetry-allowed' : 1,
						'x-google-start-bitrate'  : 1000
					}
				}
			]
		},
		// mediasoup WebRtcTransport settings.
		webRtcTransport :
		{
			listenIps :
			[
				// change <IP_ADDRESS> IPv4 to your server's IPv4 address!!
				{ ip: '<IP_ADDRESS>', announcedIp: null }

				// Can have multiple listening interfaces
				// change 2001:DB8::1 IPv6 to your server's IPv6 address!!
				// { ip: '2001:DB8::1', announcedIp: null }
			],
			initialAvailableOutgoingBitrate : 1000000,
			minimumAvailableOutgoingBitrate : 600000,
			// Additional options that are not part of WebRtcTransportOptions.
			maxIncomingBitrate              : 1500000
		}
	}
	// Prometheus exporter
	/*
	prometheus: {
		deidentify: false, // deidentify IP addresses
		numeric: false, // show numeric IP addresses
		port: 8889, // allocated port
		quiet: false // include fewer labels
	}
	*/
};

Try to retrace my steps and see if it solves your problem

@pierguinzani damn man!  It worked now.

@pierguinzani how do I make changes into app, mainly UI of conference screens(w hot reloading) ?
I tried but everytime I had to build again.

@callmemonky
cd app
npm start

cd server
npm start
Now you will get hot reloading.

@sraza295 so I did that, but I can get past that Room Screen.
How am i suppose to make changes to the conferences screen, I mean customizations and even add features

Adding to above comment.
This is the console log.

To be able to have hot reloading work and do testing you have to accept the server certificate for the websocket. Usually the app starts on port 4443 for testing, and in the screenshot above the server is listening on port 3443. You need to visit the server directly on port 3443 once, and accept the certificate there as well, then the socket connection will go through.

@havfo can you be more specific to the above solution?
When I am going to the 3443 port, it says "Site can't be reached", then how am I suppose to accept the server certificate?

A simple way of doing it is doing a npm run build of the app, and then run the server. You should then be able to visit the server like you tried.

I'm glad I helped solve your problem. I think it would be interesting to close the issue and open another one with this topic that you mentioned :)

@pierguinzani how do I make changes into app, mainly UI of conference screens(w hot reloading) ?
I tried but everytime I had to build again.

I'm glad I helped solve your problem, @callmemonky.  I think it would be interesting to close the issue and open another one with this topic that you mentioned :)

Hey btw....did you deploy it on virtual private server?
I have opened another issue, maybe you can help.

Hi,
Im getting this error when i start the server.

after following @pierguinzani 's guide, i ended up here, cant continue from here, when i visit localhost:3443 i get localhost didn’t send any data. what am i missing?

after following @pierguinzani 's guide, i ended up here, cant continue from here, when i visit localhost:3443 i get localhost didn’t send any data. what am i missing?

Hey, @asim47. Try to open the address https: // localhost: 443

after following @pierguinzani 's guide, i ended up here, cant continue from here, when i visit localhost:3443 i get localhost didn’t send any data. what am i missing?

Hey, @asim47. Try to open the address https://localhost:443

I get This site can’t be reached

listeningHost					: 'localhost',
// Listening port for https server.
listeningPort         : 3443,
// Any http request is redirected to https.
// Listening port for http server.
listeningRedirectPort : 8080,
Im using these ports

Make sure the file app/public/config/config.js follows these settings

Make sure the file app/public/config/config.js follows these settings

app/public/config/config.js file is exactly as you provided.
the server/config/config.js is

and now when i visit https://localhost:3443 i get this

I have generated new cert.pem and privkey.pem.
Thanks,

Just do it now

The problem is im not getting a Proceed to site 💯

Fixed it following this article
https://medium.com/@dblazeski/chrome-bypass-net-err-cert-invalid-for-development-daefae43eb12

new issue

I'm getting trouble with something, i've follow the steps to run with the correct config, but when I join the room, after about 1 second i get the notification "Unable to Join Room" and get redirected to root page.

Follow these steps https://github.com/edumeet/edumeet/issues/529#issuecomment-683737840 and see if it solves your problem.

@pierguinzani  Working fine now, Thank you

An alternative to solve this problem is to add this function to the
server/config/config.js
function getListenIps() {
  const interfaces = os.networkInterfaces();
  const addresses = [];

  Object.keys(interfaces).forEach((netInterface) => {
   interfaces[netInterface].forEach((interfaceObject) => {
    if (interfaceObject.family === 'IPv4' && !interfaceObject.internal) {
     addresses.push({ ip: interfaceObject.address, announcedIp: null });
    }
   });
  });
  return(addresses);
 }

and call the function instead of setting it manually

I think here is no open question so I conclude as it is solved and close it. Please open a new issue if any open question left here.
Thanks!

Hi,
I am getting error  "Unable to join the room". Please help!
Tell me if I am missing something?


fix: update gender creation during install

Update install fixtures file

Pull Request Test Coverage Report for Build 913

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.005%) to 51.912%

Files with Coverage Reduction
New Missed Lines
%

frappe/utils/change_log.py
3
21.53%

Totals

Change from base Build 912:
-0.005%

Covered Lines:
21703

Relevant Lines:
41807

💛  - Coveralls

Added to existing PR upstream : https://github.com/frappe/frappe/pull/9607

Made upstream to hotfix and develop.


No clipboard copy at my MacBook pro, while working good at my mac mini

Hi, Thanks for a good tool,
I've tried this app for my MacBook pro for awhile, but couldn't make it working.

The very same version of the app is just working great at my mac mini.
Could you please let me know what kind of things I can check?

Maybe you have it turned off? Check Preferences -> Advanced settings.

Hi, Thanks to checking up this thread.
I didn't change anything at the preferences, is there anything possible to prevent reading my clipboard?

I'm using flycut due to this issue of maccy at my MBP, and it works well (but this app doesn't support image copy)

There should be nothing that would prevent Maccy from reading the clipboard. Can you record a simple video showing how you copy text and it shows in Flycut but not in Maccy?

Hrm, can you try reinstalling Maccy from scratch? Remove the app completely, run the following in Terminal.app:
rm -rf ~/Library/Containers/org.p0deje.Maccy

And then reinstall Maccy.

Thanks it works after the remove and reinstalling!
I tried before for the reinstall but at the time, no additional action at terminal with "rm -rf ~/Library/Containers/org.p0deje.Maccy".
Now it works perfectly, Thanks a lot!!

Glad it worked!


[EFR32] Commissioning fails when Apple home pod mini is present on the network

Problem

expected behavior:
Commissioning should work with the presence of Apple home pod mini.

actual behavior:
Commissioning failing when Apple home pod mini is present on the network, but after taking the home pod mini offline the commissioning works fine.
<error > [DIS] Failed to reply to query: 3000001

steps to reproduce: Connect/Disconnect the apple home pod mini and get respective failure/success.

system configuration: Apple home pod mini (MODEL: MY5G2LL/A, VERSION: 15.6) and EFR32MG12 + RS911x, Ubuntu PC running chip-tool.

logs:
chip-tool.01.log
jlink-rtt-client.01.log
chip-tool.02.log
jlink-rtt-client.02.log

Proposed Solution
TBD

@rosahay-silabs That's very strange.  Is the homepod related to the Matter fabric involved in any way?

@rosahay-silabs That's very strange. Is the homepod related to the Matter fabric involved in any way?

Honestly, that is what I am trying to figure out. The Apple homepod is running as a thread border router, with a nanoleaf light(essentials a19 bulb). I have another apple homepod mini with me (MJ2C3HN/A), which is not causing any problem. The only difference between the two is the operation as thread router.

After resetting the homepod mini which was running as thread border router, the commissioning started working. So, the issue is between homepod mini running as thread border router and a MATTER Wi-Fi device being on the same subnet.

After resetting the homepod mini which was running as thread border router, the commissioning started working. So, the issue is between homepod mini running as thread border router and a Wi-Fi device being on the same subnet.

Retested this seems to be working fine now.


Responsive table breaks on small screens

Hey,
The is an issue with the responsive tables on small screens.

I think the culprit is the additional
.table-responsive {
  overflow-x: inherit !important;
}

in the Table.css.
Weirdly this seems to be fixed in the current version of the live preview, but not on the code. I will do a pull request for it, but I have the feeling you already fixed it yourself :-).

Sorry, its not fixed on https://tabler.github.io/tabler-react/ I was checking the main website.

It is now!


APP-4654 feat(SelectionInput): accept node as label

Prevent to have the following warning when passing a node to the label prop
"Warning: Failed prop type: Invalid prop `label` of type `object` supplied to `Checkbox`, expected `string`.

Fix lint issue


Nan mIoU on "voc 19-1 step1" task under "Sequential" setting

Hello, thanks for your innovative method and such a good work!
Sorry to bother you. I got a similar result as yours under the disjoint setting, but when I try to reproduce the 'Sequential' tasks, I got a weird nan mIoU and class loss 0.0 on the validation of  "voc 19-1 step1".
I noticed the .npy files have the same image indexes between "voc/19-1/" and"voc/19-1-oldclICCVW2019"，
I train the step1 model using just the same step0 model trained on 'disjoint 19-1 step0' settings, and my command is:
python -u -m torch.distributed.launch 1> 'outputs/19-1/output_19-1_step1_LWF_seq.txt'  2>&1 --nproc_per_node=1 run.py --batch_size 8 --logdir logs/19-1/ --dataset voc --name LWF_seq --task 19-1 --step 1 --lr 0.0001 --epochs 30 --debug --sample_num 10 --where_to_sim GPU_windows --method LWF --step_ckpt 'logs/19-1/19-1-voc_FT/19-1-voc_FT_0.pth' --no_mask
the loss during training seems working normally but the validation outputs is:
INFO:rank0: Validation, Class Loss=0.0, Reg Loss=0.011368847452104092 (without scaling)
INFO:rank0: Done validation on Val set
INFO:rank0: End of Validation 15/30, Validation Loss=0.011368847452104092, Class Loss=0.0, Reg Loss=0.011368847452104092
INFO:rank0:
Total samples: 74.000000
Overall Acc: nan
Mean Acc: nan
FreqW Acc: 0.000000
Mean IoU: nan
Class IoU:
class 0: X
class 1: X
class 2: X
class 3: X
class 4: X
class 5: X
class 6: X
class 7: X
class 8: X
class 9: X
class 10: X
class 11: X
class 12: X
class 13: X
class 14: X
class 15: X
class 16: X
class 17: X
class 18: X
class 19: X
class 20: X
Class Acc:
class 0: X
class 1: X
class 2: X
class 3: X
class 4: X
class 5: X
class 6: X
class 7: X
class 8: X
class 9: X
class 10: X
class 11: X
class 12: X
class 13: X
class 14: X
class 15: X
class 16: X
class 17: X
class 18: X
class 19: X
class 20: X
I didn't modified your code. Could you give me some comments？Thank you very much!

Hi, thank you for pointing this out. There was indeed a mistake in the way data was processed and the labels were all 255. Please download the last version.
The only file that changes is: dataset/voc.py
Kind regards

I see, thanks a lot!

Hello,
Sorry to bother you. I can't get a similar result as the article under the disjoint setting of voc 15-5s tasks. Would you please tell me what command you run? My commands are as follows:
python run.py
--batch_size 8
--logdir logs/15-5s/
--dataset voc
--name FT
--task 15-5s
--step 0
--lr 0.001
--epochs 30
--debug
--sample_num 10
--unce
--loss_de_prototypes 1
--where_to_sim GPU_windows
python run.py
--batch_size 8
--logdir logs/15-5s/
--dataset voc
--name SDR1
--task 15-5s
--step 1
--lr 0.0001
--epochs 30
--debug
--sample_num 10
--where_to_sim GPU_windows
--method SDR
--step_ckpt 'logs/15-5s/15-5s-voc_FT/15-5s-voc_FT_0.pth'
python run.py
--batch_size 8
--logdir logs/15-5s/
--dataset voc
--name SDR2
--task 15-5s
--step 2
--lr 0.0001
--epochs 30
--debug
--sample_num 10
--where_to_sim GPU_windows
--method SDR
--step_ckpt 'logs/15-5s/15-5s-voc_SDR1/15-5s-voc_SDR1_1.pth'
python run.py
--batch_size 8
--logdir logs/15-5s/
--dataset voc
--name SDR3
--task 15-5s
--step 3
--lr 0.0001
--epochs 30
--debug
--sample_num 10
--where_to_sim GPU_windows
--method SDR
--step_ckpt 'logs/15-5s/15-5s-voc_SDR2/15-5s-voc_SDR2_2.pth'
python run.py
--batch_size 8
--logdir logs/15-5s/
--dataset voc
--name SDR4
--task 15-5s
--step 4
--lr 0.0001
--epochs 30
--debug
--sample_num 10
--where_to_sim GPU_windows
--method SDR
--step_ckpt 'logs/15-5s/15-5s-voc_SDR3/15-5s-voc_SDR3_3.pth'
python run.py
--batch_size 8
--logdir logs/15-5s/
--dataset voc
--name SDR5
--task 15-5s
--step 5
--lr 0.0001
--epochs 30
--debug
--sample_num 10
--where_to_sim GPU_windows
--method SDR
--step_ckpt 'logs/15-5s/15-5s-voc_SDR4/15-5s-voc_SDR4_4.pth'

Hi, the commands look fine to me. But at this time I don't have access to any GPU to test them. I will get back to you once I can test the commands on the proper open issue.

Hello, the results I reproduced of the voc 15-5s task are not fine.  Would you like to share all logs of voc-15-5s task. Thanks a lot.

Hi, let's continue the discussion on the proper issue #8

Sorry, I didn't try the '15-5s' task yet, I'll share the results with you when I test it.

Okey. Thanks a lot.
On 12/07/2021 17:18, SSSKYue wrote:
Sorry, I didn't try the '15-5s' task yet, I'll share the results with you when I test it.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.


labthings.github.io redirects to labthings.org but wont load

I just get a problem loading page message.

DNS records are still propagating. Site content is drastically incomplete anyway so not too worried for now. Closing.