assertion for Config map exists

Added configmap assertion based on eventuallyDeployment assertion
Used in Splunk forwarder operator test.

cat glad to see the PR! Few small things.
Also, are you noticing that the configmap (assuming lock-file?) doesn't exist at the time tests are ran, but it eventually does? I'm fine with the feature being added regardless but I would also like to confirm that we can't just Get the configmap immediately like other resources +1

Get + polling + timeout loop is clunkier than this, don't you think? I think we can replace all those with the cleaner "eventually".. what's the downside?

I think there are two ways we can think about these requests we make, as assertions (Expect) and asynchronous assertions (Eventually). In most cases, we don't want to actually poll over a period of time and wait for something. If it doesn't exist initially, then 1. we are either way too early to be executing tests (nothing has been synced yet, everything will fail regardless) or 2. something has gone terribly wrong and it won't be coming up. Defaulting everything to Eventually seems like we aren't confident the resources will exist when we are running the tests. The specific use case of a configmap lockfile not existing yet makes sense because the operator creates that when it is active, so really it would be after the EventuallyDeployment check to wait for the deployment to be available.
That is not to say we can't develop assertions the same way we are developing asynchronous assertions!
This also begs the question of what the healthcheck is already determining before us (will we ever see a failed EventuallyDeployment check if the healthcheck passed?) but just food for thought


Multiple  Issue

I have a page with multiple  elements, with their own name and value etc, but php-html-parser seems to only retrieve 1 when I use $dom->find('input').  If I manually increase the selector number to $dom->find('input', 1') etc, then it will move onto the next one.  I would expect to be able to loop over them like you can with table rows etc.

My mistake, you can


Vulkan: fix memory range flush alignment

Currently the memory range is not properly aligned which causes validation message and potentially incorrect cash flush.

Duplicate of #313


only tools/packaging/test262.py force using python2.

JerryScript-DCO-1.0-Signed-off-by: Yonggang Luo<EMAIL_ADDRESS>

It looks good, just a note, it depends on #4381


[Beam-3208] Add Distinct PTransform to mirror Java SDK

The Java SDK introduced a Distinct PTransform to replace the RemoveDuplicates PTransform.
But, the Python SDK still had the RemoveDuplicates PTransform.
A new Distinct PTransform was added which does the same thing as RemoveDuplicates. RemoveDuplicates is now an alias to the Distinct PTransform and is deprecated.
JIRA Issue: https://issues.apache.org/jira/browse/BEAM-3208

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Choose reviewer(s) and mention them in a comment (R: @username).
[X] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[X] If this contribution is large, please file an Apache Individual Contributor License Agreement. (N/A)

Post-Commit Tests Status (on master branch)

Lang
SDK
Apex
Dataflow
Flink
Gearpump
Samza
Spark

Go

---
---
---
---
---
---

Java

Python

---

---
---
---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

Run Portable_Python PreCommit

Run RAT PreCommit

Run Portable_Python PreCommit

R: @pabloem @aaltay

@ttanay is this ready for review? (There is still WIP in the title.)

Thanks for checking this out @aaltay.
I realized there is a better way to do the same.
Hence, switched to WIP.
Need to make that change. Will let you know post that. :)

Run Python_pytest PreCommit

Python_pytest is failing with message:

Task 'pytest' not found in root project 'beam'. Some candidates are: 'goTest', 'test'.

Did something change?

Hi Tanay. The pytest thing showed up only today. I don't know where it came from, but it should be safe to ignore for now.

@udim might have an idea about the pytest.

Sorry, that is a test job of mine. It shouldn't be running automatically. :man_shrugging:

Hi Tanay. The pytest thing showed up only today. I don't know where it came from, but it should be safe to ignore for now.

Cool. :rocket:
@aaltay @pabloem This is ready for review now.

Hello Tanay. Happy to work on this PR together.
I like how you used the appropriate Beam deprecation marker for the old transform. That's great.
I believe that this new utility that you're adding is complex, and will be easy to misuse. Furthermore, the transform is quite simple. Would you consider using a different method to do this? (e.g. subclassing distinct, or having removeduplicates expand into distinct?) - we'd love to add the least complexity possible.
If you're in the ASF slack, feel free to ping me directly to chat.

Hey @pabloem
I made the changes.
Thank you for helping out!

Hi @ttanay - this is great. Would you please squash the commits so we can merge? - This LGTM

Hi @ttanay - this is great. Would you please squash the commits so we can merge? - This LGTM

@pabloem Should I change the deprecation version? It is currently "2.11" here:
https://github.com/apache/beam/pull/7918/files#diff-50f2e48308c52f12d0c907b571032195R206

Since 2.11 is released already, yeah, I'd think you want to set it to 2.12

Since 2.11 is released already, yeah, I'd think you want to set it to 2.12

Cool. I'll make the change.

@pabloem Squashed commits, changed deprecation version to "2.12":
https://github.com/apache/beam/pull/7918/files#diff-50f2e48308c52f12d0c907b571032195R206
PTAL

Thanks Tanay!


Add: Global skips feature.

Fixes #62

I got the first email, but I forgot to come here and respond. Looks good :) 👍


⚠ Bofrost.fr has degraded performance

In dcbb8ac, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1228 ms

Resolved: Bofrost.fr performance has improved in b6aec75 after 3 hours, 2 minutes.


Upgrade cwltool version to something from 2021

Currently the container being used seems to be stuck in 2018 (!!)
Verified with cwltool version 1.0.20180525185854

I built a new docker image that upgraded the cwltool to version 3.0 and started a docker container with it. I tested a random URL from https://view.commonwl.org/workflows and was able to parse the workflow from my local without encountering any problem.
Attached here is a screenshot of the parsed workflow

We should run the tests before upgrading production
mvn clean cobertura:cobertura coveralls:report
--
Michael R. Crusoe
On Fri, Apr 9, 2021, 20:22 oceenachi @.***> wrote:

I built a new docker image that upgraded the cwltool to version 3.0 and
started a docker container with it. I tested a random URL from
https://view.commonwl.org/workflows and was able to parse the workflow
from my local without encountering any problem.
Attached here is a screenshot of the parsed workflow
[image: image]
https://user-images.githubusercontent.com/44432472/114224277-ca066f80-9968-11eb-8fb0-319bf15c32cf.png
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/common-workflow-language/cwlviewer/issues/306#issuecomment-816872059,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKE4CALHWMMW7ZYDGR7SVDTH5AXHANCNFSM42E6BSFA
.

OKay. So I should run this right?

OKay. Do I run this?

I think you have done everything you need to.
One of the other team members should run that command ( or fix our continuous integration to do it for us)

Okay great. I guess I'll pick another ticket then.

After looking into this I think the issue is that production uses the docker image rather than the master branch of the codebase.
Hence it is stuck on that version.
If every time a merge is done on the master branch the code isn't rebuilt and deployed as prod then even changes being added won't be seen in - As is the current case(Merged PR don't show up on prod).
Right now only the test pipeline gets run on GitHub but it never actually gets updated in prod.
I believe to solve this issue the docker-compose file has to be set to build rather than an image on the docker hub
or there should be a pipeline that updates the docker hub image as soon as the master branch is updated.

@cure What's the status on improving the deployment of CWL viewer?

This was done


Separate CI images

Currently there is a single image that is used when running the CI. It's used for all C* version and DSE. However, it's like 5GB in size. this is because all target versions are initialized using the CCM.
We could optimize this by creating a dedicating images for each C* target versions. We would get way smaller images, that are easier to update and less heavy when needed to be downloaded in the CI running nodes.
gcr.io/stargateio/stargate-builder            v1.0.6                         99fc860aee88   3 months ago     4.63GB
gcr.io/stargateio/stargate-builder            v1.0.7                         5c666d75c516   19 minutes ago   5.13GB

@ivansenic We can probably close this since we're migrating away from using GCB, right?

Yes, and even if we would not move, I am not sure if it really pays off to invest here.


Metrics: add string constants to be referenced by other packages.

/kind good-first-issue
/kind cleanup
/area monitoring
In metrics pkg there are some places we use string literals to refer fields in config, and then use the same strings in other packages.
For example:  https://github.com/knative/pkg/blob/8ae01327905dab7dc0afe9319d8c91ccd2485f4b/metrics/config_observability.go#L90
and then the field is referenced in serving.
We should convert the strings into exported consts to avoid typo and make it easier to refactor/rename.
Additional Info

Another example is https://github.com/knative/pkg/blob/8ae01327905dab7dc0afe9319d8c91ccd2485f4b/metrics/config_observability.go#L84
and https://github.com/knative/pkg/blob/8ae01327905dab7dc0afe9319d8c91ccd2485f4b/metrics/config_observability.go#L87
Maybe we should just convert this whole block.

@jjzeng-seattle sir, can you give up a code-sample so that I can work on. (I'm new to open source)


Bug fix of multilevel menu in the small mode.

When the sidebar is in the small mode, there is a bug of multilevel menu. When I cliked the Level-One menu which has some Level-Two menus, those Level-Two menus will not be shown, even that Level-One menu will be closed. Refering to the code, it is because all the menus of $SIDEBAR_MENU has been closed. I assume that the orginal idea is to close those opened menu in the parent level for example the Level-One which has several Level-Two menus.

Could I be a contributor for further contribution.


chore: Update GitHub pages to redirect to readthedocs

Previously was #12212 and #12362
Relates to #12360
Motivation
Change each GitHub page to utilize meta tag to redirect to new location on readthedocs
Since we don't host our previous documentation we can't do a real HTTP redirect.  Meta tag is the next best thing
https://www.w3.org/TR/WCAG20-TECHS/H76.html
Modifications

[x] setup redirects to readthedocs + previus page suffix (once #12360 merges and builds)

Python script used to update the files

I made the mistake of recreating the branch and force pushing #12362 hence the PR closing.  My bad.

thanks!

Having the same CSS from https://github.com/argoproj/argo-workflows/pull/12362#discussion_r1433264020 is a pretty nice experience; it looks like basically the same thing to me in the half a second before I get redirected from https://argoproj.github.io/argo-workflows/ 🙂

Also @terrytangyuan can you change the "About" link on GitHub to point to the new docs as well?
Right now it's still pointing to GH Pages:

done


Update Chinese language names to fix "language zh does not exist"

Because of names, users would suffer "not exists" errors.

This PR should be able to fix it.

@softwarerero China community is complaining about it. Should be landed asap.


[Story] Set up basic infrastructure

Epic: #10
Description
As an organization, Examplium needs some very basic infrastructure set up for communication and documentation.
Tasks

[x] #12
[x] #13
[x] Add/update expenses documentation.

Note: Domain name and email hosting can cost money.
This needs to be included in expenses/budget/financial documentation.

Domain name registration, email setup, and documentation are completed.


Configure eslint and prettier for the UI application

Configure eslint and prettier for the UI application
The UI application should have a lint and prettier configuration which will
keep the code in one format (for e.g. proper spacing, etc) and will make
the code look preetier as well

Configuring eslint and preetier and executing the commands like
npm run lint and npx prettier --write . will give the warnings/errors
which the developers can fix before the code is submitted

@PuneetPunamiya Would you like to work on this issue?

@aavishkarmishra  Yes will you please assign it to me

@aavishkarmishra   would you mind if I also submit a patch which fixes the lint errors because after this pr get's merged it would break the application

@aavishkarmishra would you mind if I also submit a patch which fixes the lint errors because after this pr get's merged it would break the application
You can include both changes in a single pull request, and I will increase the level the of issue.


Is SwapChainPanel supported in xaml islands?

Hello,
I have two questions regarding xaml islands:

I have a xaml user control that consists of a grid containing a swapchainpanel. I host this xaml control in a win32 window with xaml islands. I notice that I'm unable to render anything to this swapchainpanel (even a simple test like painting some solid color to the swapchainpanel doesn't render). Is what I'm doing valid and are swapchainpanels supported? If so, is there any way I can debug this further?

Is it possible to retrieve a xaml user control from a win32 window?

Thank you,
Vibha

@Austin-Lamb @codendone fyi

I can confirm that at least CanvasSwapChainPanel (from win2d) does work in xaml islands

SwapChainPanel should work, and it is great @lhak confirmed it works in at least that scenario.
For debugging, if you set a background color on the grid containing the SwapChainPanel, does that background draw correctly?  Have you confirmed that your swapchain is being created at the correct size?  If you setting a scale on the swapchain, is the scale value correct?

Is it possible to retrieve a xaml user control from a win32 window?

Is your goal to be able to take an HWND value and get to a XAML element from that?  I don't believe there is any automatic way to do this.  You could theoretically store a lookup somewhere, including potentially using SetProp on the HWND to point to whatever object you're interested in (just be careful to clear this out when the target object gets destroyed, of course).

@vibkumar I think the questions have been answered, so I'm closing this. Please let me know if you have more here.


fix: gRPC: Remove AWS URL validation

Here we are removing AWS url validations for all the languages.

This code does not seem to compile:
Error while processing /var/local/git/grpc/test/core/security/credentials_test.cc.
/root/.cache/bazel/_bazel_root/d2dc70c3d9da3fab488ba0dcbbd35051/execroot/com_github_grpc_grpc/test/core/security/credentials_test.cc:3251:7: error: use of undeclared identifier 'invalid_aws_external_account_creds_options_credential_source_missing_role_name'; did you mean 'valid_aws_external_account_creds_options_credential_source_ipv6'? [clang-diagnostic-error]
      invalid_aws_external_account_creds_options_credential_source_missing_role_name);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      valid_aws_external_account_creds_options_credential_source_ipv6
/root/.cache/bazel/_bazel_root/d2dc70c3d9da3fab488ba0dcbbd35051/execroot/com_github_grpc_grpc/test/core/security/credentials_test.cc:254:12: note: 'valid_aws_external_account_creds_options_credential_source_ipv6' declared here
const char valid_aws_external_account_creds_options_credential_source_ipv6[] =
           ^
Suppressed 9160 warnings (9053 in non-user code, 107 NOLINT).
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
Found compiler error(s).


deploy_mysql_1‘s state always be restarting

docker version 1.11.2 docker-compose version 1.7.1
docker_mysql.log:
Aug  9 14:47:28 <IP_ADDRESS> docker/mysql[1100]: 2016-08-09 06:47:28 0 [Note] mysqld (mysqld 5.6.32) starting as process 1 ...
Aug  9 14:47:28 <IP_ADDRESS> docker/mysql[1100]: 2016-08-09 06:47:28 1 [Note] Plugin 'FEDERATED' is disabled.
Aug  9 14:47:28 <IP_ADDRESS> docker/mysql[1100]: mysqld: Table 'mysql.plugin' doesn't exist
Aug  9 14:47:28 <IP_ADDRESS> docker/mysql[1100]: 2016-08-09 06:47:28 1 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
Aug  9 14:47:28 <IP_ADDRESS> docker/mysql[1100]: 2016-08-09 06:47:28 1 [Note] InnoDB: Using atomics to ref count buffer pool pages
Aug  9 14:47:28 <IP_ADDRESS> docker/mysql[1100]: 2016-08-09 06:47:28 1 [Note] InnoDB: The InnoDB memory heap is disabled
Aug  9 14:47:28 <IP_ADDRESS> docker/mysql[1100]: 2016-08-09 06:47:28 1 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
Aug  9 14:47:28 <IP_ADDRESS> docker/mysql[1100]: 2016-08-09 06:47:28 1 [Note] InnoDB: Memory barrier is not used
Aug  9 14:47:28 <IP_ADDRESS> docker/mysql[1100]: 2016-08-09 06:47:28 1 [Note] InnoDB: Compressed tables use zlib 1.2.8
Aug  9 14:47:28 <IP_ADDRESS> docker/mysql[1100]: 2016-08-09 06:47:28 1 [Note] InnoDB: Using Linux native AIO
Aug  9 14:47:28 <IP_ADDRESS> docker/mysql[1100]: 2016-08-09 06:47:28 1 [Note] InnoDB: Using CPU crc32 instructions
Aug  9 14:47:28 <IP_ADDRESS> docker/mysql[1100]: 2016-08-09 06:47:28 1 [Note] InnoDB: Initializing buffer pool, size = 128.0M
Aug  9 14:47:28 <IP_ADDRESS> docker/mysql[1100]: 2016-08-09 06:47:28 1 [Note] InnoDB: Completed initialization of buffer pool
Aug  9 14:47:28 <IP_ADDRESS> docker/mysql[1100]: 2016-08-09 06:47:28 1 [ERROR] InnoDB: auto-extending data file ./ibdata1 is of a different size 0 pages (rounded down to MB) than specified in the .cnf file: initial 768 pages, max 0 (relevant if non-zero) pages!
Aug  9 14:47:28 <IP_ADDRESS> docker/mysql[1100]: 2016-08-09 06:47:28 1 [ERROR] InnoDB: Could not open or create the system tablespace. If you tried to add new data files to the system tablespace, and it failed here, you should now edit innodb_data_file_path in my.cnf back to what it was, and remove the new ibdata files InnoDB created in this failed attempt. InnoDB only wrote those files full of zeros, but did not yet use them in any way. But be careful: do not remove old data files which contain your precious data!
Aug  9 14:47:28 <IP_ADDRESS> docker/mysql[1100]: 2016-08-09 06:47:28 1 [ERROR] Plugin 'InnoDB' init function returned error.
Aug  9 14:47:28 <IP_ADDRESS> docker/mysql[1100]: 2016-08-09 06:47:28 1 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
 Thanks~
Q: 1) When you found this issue? New install or already run sometimes?
2) What's your install environment? Ubuntu, Debain or someelse?
3) Did you change install script? Please post modify part.
4) docker runtime infomation (docker ps)
5) host process information (ps -A|grep mysql)
Analysis your posted info, maybe your MYSQL data locked by other process.

@yhua123
1)New Install.I just knew the code updated.
2)Centos7.2
3)No.I changed nothing except the "hostname" in harbor.cfg.
4)Only those containers is running:
CONTAINER ID        IMAGE                    COMMAND                  CREATED             STATUS                         PORTS                                      NAMES
c84dc72eda69        library/nginx:1.9        "nginx -g 'daemon off"   About an hour ago   Up 10 seconds                  <IP_ADDRESS>:80->80/tcp, <IP_ADDRESS>:443->443/tcp   deploy_proxy_1
27bfaa9dd852        deploy_jobservice        "/go/bin/harbor_jobse"   About an hour ago   Up 10 seconds                                                             deploy_jobservice_1
368c2ac17493        deploy_ui                "/go/bin/harbor_ui"      About an hour ago   Up 11 seconds                  80/tcp                                     deploy_ui_1
c1b004557aba        deploy_mysql             "docker-entrypoint.sh"   About an hour ago   Restarting (1) 2 seconds ago   3306/tcp                                   deploy_mysql_1
42da74f0b80e        library/registry:2.4.0   "/bin/registry serve "   About an hour ago   Up 10 seconds                  5000/tcp, <IP_ADDRESS>:5001->5001/tcp           deploy_registry_1
cb2a151d7fc7        deploy_log               "/bin/sh -c 'cron && "   About an hour ago   Up 12 seconds                  <IP_ADDRESS>:1514->514/tcp                      deploy_log_1
5)This command got nothing.
There was no problem with running harbor before.But after I update the code and reinstall,the problem has emerged. Before reinstall, I deleted all images and files about harbor including "/data/*".

While deploy_mysql_1‘s state always be restarting,if I run docker login myip:
Error response from daemon: Get http://myip/v2/: received unexpected HTTP status: 502 Bad Gateway

Hi Zht,
I tried this issue in our lab,  but can't reproduce.
We use CentOS version: CentOS Linux release 7.2.1511 (Core).
docker ps:
CONTAINER ID        IMAGE                    COMMAND                  CREATED             STATUS              PORTS                                      NAMES
f1301f6782dd        library/nginx:1.9        "nginx -g 'daemon off"   2 minutes ago       Up 2 minutes        <IP_ADDRESS>:80->80/tcp, <IP_ADDRESS>:443->443/tcp   deploy_proxy_1
7ad47dc22dc8        deploy_jobservice        "/go/bin/harbor_jobse"   2 minutes ago       Up 2 minutes                                                   deploy_jobservice_1
c5aeab925e09        library/registry:2.4.0   "/bin/registry serve "   2 minutes ago       Up 2 minutes        5000/tcp, <IP_ADDRESS>:5001->5001/tcp           deploy_registry_1
b5abd7c559a0        deploy_ui                "/go/bin/harbor_ui"      2 minutes ago       Up 2 minutes        80/tcp                                     deploy_ui_1
a8a38ea993f6        deploy_mysql             "docker-entrypoint.sh"   2 minutes ago       Up 2 minutes        3306/tcp                                   deploy_mysql_1
7c50a868f5cc        deploy_log               "/bin/sh -c 'cron && "   2 minutes ago       Up 2 minutes        <IP_ADDRESS>:1514->514/tcp                      deploy_log_1
Can you check the disk free space? Sometime no use docker images will left on your disk.
my server df status:
Filesystem              1K-blocks    Used Available Use% Mounted on
/dev/mapper/centos-root  52403200 8402836  44000364  17% /
devtmpfs                  3995400       0   3995400   0% /dev
tmpfs                     4005732       0   4005732   0% /dev/shm
tmpfs                     4005732    8964   3996768   1% /run
tmpfs                     4005732       0   4005732   0% /sys/fs/cgroup
/dev/mapper/centos-home  43617476   32928  43584548   1% /home
/dev/sda1                  508588  156796    351792  31% /boot
tmpfs                      801148       0    801148   0% /run/user/0
Another problem is you can't use docker login.
Harbor supports HTTP by default and Docker client trys to connect to Harbor using HTTPS first, so if you encounter an error as below when you pull or push images, you need to add '--insecure-registry' option to  /etc/sysconfig/docker. And then restart the docker service.

@yhua123
I also guess is the old version of the harbor led to the problem.I successfully installed a new version of harbor on another machine.I will try your advice.

@yhua123
I found that the disk /dev/mapper/VolGroup-LogVol01 is full, and then I expand it.Now:
Filesystem                    1K-blocks     Used Available Use% Mounted on
/dev/mapper/VolGroup-LogVol01 459225264 25265572 415005360   6% /
devtmpfs                        1872308        0   1872308   0% /dev
tmpfs                           1887736        0   1887736   0% /dev/shm
tmpfs                           1887736     9212   1878524   1% /run
tmpfs                           1887736        0   1887736   0% /sys/fs/cgroup
/dev/sda2                      20511312    45080  19401272   1% /usr/log
/dev/sda1                        194235   119633     60266  67% /boot
tmpfs                            377548        0    377548   0% /run/user/0
I run docker rmi deploy_XXX and rebuild them , but the problem still exists.

sorry, missing your new comments.
after remove deploy_xxx, do you delete the directory of date? [/data]. mySQL put some database files under this directory.

@yhua123 I remember that I did [/data]rm * -rf before updating the code of harbor. After seeing your answer, I did it again. And then there was a miracle. Maybe I forgot to delete the data before.
The problem is solved. Thank you very much.


⚠ ClamAV has degraded performance

In 332f44f, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 447 ms

Resolved: ClamAV performance has improved in 3fc3afb.


This is my gulp task
gulp.task('sprite', function () {
    var spriteData = gulp.src([
        pub.images + "/**/*.png",
        pub.images + "/**/*.gif",
        pub.images + "/**/*.jpg",
        pub.images + "/**/*.jpeg"
    ]).pipe(spritesmith({
        imgName: '_sprite.png',
        imgPath: "../_sprite.png", // path for sass styles
        cssName: '_sprite.scss',
        cssVarMap: function (sprite) {
            sprite.name = 'image_' + sprite.name;
        },
    }));
    spriteData.img.pipe(gulp.dest(pubRoot)); // should not be within a src folder!
    spriteData.css.pipe(gulp.dest(src.sass));
});

This is likely being caused by the JPG/JPEGs which are lossy and have better compression for some content than PNGs (which are lossless). Can you tell me how many of each file format type you have and their respective sizes?

JPG: 9 files with a total size of 5,48 MB
GIF: 3 files with a total size of 50,5 KB
PNG: 19 files with a total size of 318 KB

Yep, this issue is definitely caused by converting large JPGs into PNGs. The compression is different and the PNGs can't compress as well. I'd suggest creating 2 spritesheets; 1 for the JPGs (generating a new JPG spritesheet) and 1 for the GIF/PNGs (generating a new PNG)
Although, it's probably best to not bundle the JPGs at all and consider something else as sending 5MB of content to users isn't a great practice =/


fix: loading spinner not being centered

This pull request addresses the issue of the loading spinner not being centered correctly on the screen. The fix includes a combination of Flexbox, position, and backdrop filter to ensure the spinner remains perfectly centered and visually appealing.
Key changes:

Applied position: fixed to the spinner container, ensuring it stays fixed in the center of the viewport regardless of scroll.
Used Flexbox with items-center and justify-center to vertically and horizontally center the spinner.
Added a backdrop-filter: blur(sm) to the spinner container for a subtle blur effect, improving visual focus on the spinner.
Ensured smooth transitions with transition-all and duration-300 when the spinner appears or disappears.

Hope this update addresses the centering problem effectively and improves the overall visual experience.

make commit to the issue which i have created and the modifications are not reflecting the issue resolution which you have mentioned.


[NextPluggableDevice] Disable alignment check for AsyncValueTensor

This PR is to disable alignment check for AsyncValueTensor, the reason why I didn't use AsyncValueTensor* AsyncValueTensor::FromOpaquePointer() to check whether the pointer is AsyncValueTensor is    async_value_tensor.h include tensor.h, I can;t include the decleartion(async_value_tensor.h) in tensor.h , and async_value_tensor and tensor.h(core/framework) has cycle dependency, so I didn't find a good way to handle this, and just hardcode to check the whether the last bit is 1 or not to indicate whether it is an AsyncValueTensor.

@jyingl3  can you have a look? thanks

Hi Zhoulong, I'm wondering if you could provide some concrete motivation on disabling the alignment check? We didn't run into any trouble in our internal usage so just wondering. Thanks!

Thanks Zhoulong! Do you think we should make kTag = 0x1ULL declared in tensor.h, and let async_value_tensor.h use it? then it will make sure they will check the same value. But I am also fine with keeping this change as-is if the suggestion does not seem appropriate for tensor.h.
@chuanhaozhuge @qqfish FYI.

@jyingl3 If the async_value_tensor.h use this kTag, this kTag needs to be defined as a global variable in tensor,h, it may have issue if .h defines a global variable,  all the .cc file which includes the tensor.h will have a copy definition of this kTag, that may cause some duplicate definition if it has the same definition, such as in xla_tensor.cc, it also defined this kTag

@jzhoulon Thanks for explanation Zhoulong. If I understand right, the use case is to pass AsyncValueTensor to a regular TF Kernel (like this example). I'm wondering do you plan to update the kernel further so that the tensor can be interpreted as AsyncValueTensor? If so maybe FromTensor will be good for the use case?

@jzhoulon Thanks for explanation Zhoulong. If I understand right, the use case is to pass AsyncValueTensor to a regular TF Kernel (like this example). I'm wondering do you plan to update the kernel further so that the tensor can be interpreted as AsyncValueTensor? If so maybe FromTensor will be good for the use case?

@chuanhaozhuge Thanks for the suggestion, I think it is a good solution for those regular kernels using FromTensor to retrive the AsyncValueTensor. I will think how to refactor the code, however, in current stage, I think the change may be big, beacuse lots of code is like:  convert tensor to Eigen Tensor through flat, shaped  in common path first, then dispatch to backend implmentation, such as cpu, gpu, pluggable device. modify the common path code is unclean and since PluggableDevice device type can only get through runtime, so I can't write another kernel with template for it.
for example,the following code is in common path.
        inputs_flat.emplace_back(new typename TTypes<T, 2>::ConstMatrix(            const_cast<const Tensor&>(zeros).shaped<T, 2>(                 {1, zeros.NumElements()})));
 auto output_flat = output->shaped<T, 2>({1, output->NumElements()});
https://github.com/tensorflow/tensorflow/blob/3ac5290c3c5bab0fca6bb769840102ae5952f735/tensorflow/core/kernels/list_kernels.h#L248
        }
        inputs_flat.emplace_back(new typename TTypes<T, 2>::ConstMatrix(
           const_cast<const Tensor&>(zeros).shaped<T, 2>(
                {1, zeros.NumElements()})));
      }
    }
  auto output_flat = output->shaped<T, 2>({1, output->NumElements()});

#if GOOGLE_CUDA || TENSORFLOW_USE_ROCM
    if (std::is_same<Device, Eigen::GpuDevice>::value) {
      ConcatGPU<T>(c, inputs_flat, output, &output_flat);
      return;
    }
#endif  // GOOGLE_CUDA || TENSORFLOW_USE_ROCM
    if (IsPluggableDevice(c)) {
      ConcatPluggableDevice<T>(c, inputs_flat, &output_flat);
    } else {
      ConcatCPU<T>(c->device(), inputs_flat, &output_flat);
    }
  }

Thanks for the explanation Zhoulong. I do still think that code like auto ptr = se::DeviceMemoryBase(tensor.flat<T>().data(), tensor.TotalBytes()); won't work even with alignment check disabled (perhaps will crash?) on AsyncValueTensor (since the void* data_ in TensorBuffer is AVT). I don't have intention to block this PR though, just in case you have further development to resolve this issue.

yes, StreamExecutor based API won't work in here for NextPluggableDevice. As we discussed before, we may have PjRt C API or NextPluggableDevice C API which provides memcpy/memzero/memset functionality. pjrt device context's CopyInSameDevice also need an C API provides memcpy . @jyingl3 @chuanhaozhuge

Let's take a step back - If the method IsAlign is not meaningful when AsyncValueTensor (NextPluggableDevice) is used, can we disable it?
How to handle StreamExecutor based API is not finalized yet. Will the decision of how to handle StreamExecutor based API affect whether to disable IsAlign?

Let's take a step back - If the method IsAlign is not meaningful when AsyncValueTensor (NextPluggableDevice) is used, can we disable it?
How to handle StreamExecutor based API is not finalized yet. Will the decision of how to handle StreamExecutor based API affect whether to disable IsAlign?

@jyingl3 @chuanhaozhuge   for the second question, I think the StreamExecutor based API handle(backend specific) will not affect those common path(convert tensor to Eigen Tensor through flat), so I think it is better to disable IsAlign, or do you have another design choice? thanks
  auto output_flat = output->shaped<T, 2>({1, output->NumElements()});

#if GOOGLE_CUDA || TENSORFLOW_USE_ROCM
    if (std::is_same<Device, Eigen::GpuDevice>::value) {
      ConcatGPU<T>(c, inputs_flat, output, &output_flat);
      return;
    }
#endif  // GOOGLE_CUDA || TENSORFLOW_USE_ROCM
    if (IsPluggableDevice(c)) {
      ConcatPluggableDevice<T>(c, inputs_flat, &output_flat);
    } else {
      ConcatCPU<T>(c->device(), inputs_flat, &output_flat);
    }
  }

Discussed with @chuanhaozhuge. Let's proceed with this change to disable IsAlign. Thanks Zhoulong!


Plugin sends incorrect flags to refmt

If I press Cmd-S I see such error:

And obviously no reformatting occurs.

fixed in 0.11.
always use refmt with double dash


[Material] Update the Slider and RangeSlider to the latest Material spec

Description
Update the Slider and RangeSlider to the latest Material spec. This introduces an updated track, updated thumbs, updated tick marks, and a new value indicator shape. The old paddle value indicator shape is also updated so that text scaling works consistently.
Full details of this change can be found here: https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/flutter-announce/69dmlKUL5Ew/tQh-ajiEAAAJ
Tests
I added the following tests:

Updated all affected tests in slider_test, range_slider_test, and slider_theme_test
Also kept the original paddle value indicator tests and added a new test for the new default rectangular shape.

Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?

[x] Yes, this is a breaking change (Please read Handling breaking changes).

https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/flutter-announce/69dmlKUL5Ew/tQh-ajiEAAAJ

[ ] No, this is not a breaking change.

Also if you can include a gif of the changes, that would be helpful

This is causing a lot of breakages in Google, beyond golden file updates.  I'm going to revert for now while we investigate.


Outputting png without loggo produces messed up image source text instead of actual image string

I have this simple testing code:
		$qr = QrCode::create("test");
		$writer = new PngWriter();
		$result = $writer->write($qr);
		header('Content-Type: '.$result->getMimeType());
		echo $result->getString();

and instead of the image the browser outputs
�PNG  IHDR@@B�2� pHYs���+IDATx���An�@A+����< /��:I����|~~~���?�7�?C��!L�&`0� �a�0C��!L��}����3zw؝9����s��ov�>��&`0� �a�0C��!L�&`0� �a��H����21=31�s��������a�0C��!L�&`0� �a�0C��!��i�s�;r�t9w�,�k�KN`0� �a�0C��!L�&`0� �a���i�7��_���}sK�qC��!L�&`0� �a�0C��!L�&`0��Fڱ�ˇk8�!L�&` ...

however, when i add some random dummy logo like
$logo = Logo::create(public_path('test.png'))->setResizeToWidth(50)->setPunchoutBackground(true);
and output it via
$writer->write($qr, $logo);
i do get an actual image

Hi @verybigelephants that's strange. It looks like the content-type header is not set correctly.  What is the output of your $result->getMimeType() and what Content-Type header string do you see in your browser?

hello, thank you for the quick response!
the getMimeType() outputs image/png
iam pretty sure there is no other output before the code, as i have these 2 code-blocks (one with builder, one with QrCode::create), and while i use the Builder one it outputs without logo correctly, but when i uncomment the codeblock with the QrCode::create i get the messed up output, here are the full contents of my method in a testing controller:
	public function test(Request $request){
		/*
		//method 1
		$qr = QrCode::create("test");
		$writer = new PngWriter();
		$result = $writer->write($qr);
		header('Content-Type: '.$result->getMimeType());
		echo $result->getString();
		/**/

		/*
		//method 2
		$result = Builder::create()
			->writer(new PngWriter())
			->writerOptions([])
			->data('Custom QR code contents')
			->encoding(new Encoding('UTF-8'))
			->errorCorrectionLevel(new ErrorCorrectionLevelHigh())
			->size(800)
			->margin(10)
			->roundBlockSizeMode(new RoundBlockSizeModeMargin())
			->validateResult(false)
			->build();

		header('Content-Type: '.$result->getMimeType());
		echo $result->getString();
		/**/
	}

try it yourself, just copypaste the code in any controller: i can't figure out which part of //method 1 generation does something that the browser always gets Content-Type: text/html; charset=UTF-8 instead of header('Content-Type: '.$result->getMimeType());, even when i write header('Content-Type: image/png'); like this below:
i even tried doing it like this
		$qr = QrCode::create("test");
		$writer = new PngWriter();
		$result = $writer->write($qr);
		header('Content-Type: image/png');
		echo $result->getString();

commenting out exactly this block and using the second block instead works, so there is no other output

JM2C: Wouldn't it make sense to set the content-type and result into your Response object (I guess there's such) instead of echoing and sending the header in your controller method?

@verybigelephants I did paste the code block but on my side I don't get any unexpected results or incorrect headers.
@JanSlabon that would be better indeed. The Symfony bundle provides a QrCodeResponse for this purpose.

don't get me wrong, i can create a functional qr code with the Builder method provided in the exapmle, and of course, building a manual response header like this worked
		$response = Response::make($result->getString());
		$response->header('Content-Type', $result->getMimeType());
		return $response;

i was trying to report that there is something buggy/fishy going on when doing it without a logo like this
		$qr = QrCode::create("test");
		$writer = new PngWriter();
		$result = $writer->write($qr);
		header('Content-Type: '.$result->getMimeType());
		echo $result->getString();

because when i either 1) use the method 2 (with the same header/echo) or 2) replace line $result = $writer->write($qr); with $writer->write($qrCode, $logo); it does work as expected and sets the correct header, which would suggest that when the library is calling writer->write($qr) without the $logo parameter it in it maybe throws something/echoes some parameter undefined warning under the hood

If you work with a framework that handels requests and responses for you, just use them. Any echo or header call will bypass the framework or will end in an output-buffer... it's not clean to work against the request/response concept. I guess that the framework simply "overwrites" the header() with its default header. The difference between a raw qr code and a qr code with an image could be that the one with the image will end in a bigger result, that flushes the output-buffer and is immediately send to the client while the one without a logo will not get flushed and the framework response logic takes place.
In any case you should check your error reporting and logs for details.

of course i've checked and there's no errors/logs
and as i mentioned, the headers are correct when i either use the logo with method 1 or use the builder when no logo is included, so it's not gonna be framework overwriting header with default one because of the content size.
anyways, from the comments i guess there is no clear way to find out what is the library doing with method 1 that forces laravel to overwrite the headers so i think we can close it

Just trying to help but I cannot reproduce it on this side with the examples you provided, so it's just guessing from here. Still, if you find the cause and it is a bug in this library, please let me know and I will create a corresponding test case and fix it. Good luck!


Search while typing broken (Search tab)

Only searches when tapping search

Bug Report Dump (Auto-generated)

Version 1.11.0 (2092)
Device: iPhone 7 Plus (iOS 11.0.3)
TestFlight: true

This actually never worked 😊 didn’t feel like dealing with race conditions and stuff yet. App Store only searches once you hit search, figure I can get away with it for a while.
Sent with GitHawk

But @joerocca says the opposite in #569. Do we want this eventually or is it a non-goal?

I'm only referring to notifications/issues/pr searching in #569.
The repo search only searches when hitting search so the done return key does not apply there :)

Well, ignore me in that case. 😅


Issue with starting up backuppc

Summary
BackupPC Web GUI is showing...
Software error:
Not an ARRAY reference at /usr/local/BackupPC/lib/BackupPC/CGI/Lib.pm line 468.
For help, please send mail to this site's webmaster, giving this error message and the time and date of the error.
Relevant logs and/or screenshots
(2023-03-11.02:08:03 [STARTING] ** [backuppc] [48] Starting BackupPC 4.4.0 2023-03-11.02:08:04 [STARTING] ** [backuppc] [49] Starting BackupPC 4.4.0 2023-03-11.02:08:06 [STARTING] ** [backuppc] [50] Starting BackupPC 4.4.0 2023-03-11.02:08:07 [ERROR] ** [backuppc] POTENTIAL RUNWAY DETECTECTED: Disabling 20-backuppc service because it has tried restarting '50' times )
Environment
Running in homelab production
Deployed in Docker

Image version / tag:  latest
Host OS: Unraid Latest

Closing this issue since there is already an open issue related to same error.
Not an ARRAY reference #16


Exception when an https request is made and proxy agent is configured (Node version <=8.x )

Using node version v8.11.1

Configured a global proxy (pointing to Burb sniffer)
require('proxying-agent').globalize('http://<IP_ADDRESS>:8080');
Created an HTTPS request
Got the following exception

Error: Protocol "https:" not supported. Expected "http:"
at new ClientRequest (_http_client.js:131:11)
at request (http.js:38:10)
at Object.http.request (/Users/roieuziel/dev/new-capriza/connectors/mocky-invoice/node_modules/proxying-agent/lib/proxying-agent.js:380:16)
at request (https.js:239:15)
at Object.https.request (/Users/roieuziel/dev/new-capriza/connectors/mocky-invoice/node_modules/proxying-agent/lib/proxying-agent.js:394:16)
at RedirectableRequest._performRequest (/Users/roieuziel/dev/new-capriza/connectors/mocky-invoice/node_modules/follow-redirects/index.js:128:24)
at new RedirectableRequest (/Users/roieuziel/dev/new-capriza/connectors/mocky-invoice/node_modules/follow-redirects/index.js:54:8)
at Object.wrappedProtocol.request (/Users/roieuziel/dev/new-capriza/connectors/mocky-invoice/node_modules/follow-redirects/index.js:252:14)
at dispatchHttpRequest (/Users/roieuziel/dev/new-capriza/connectors/mocky-invoice/node_modules/axios/lib/adapters/http.js:132:25)
at new Promise ()

This does not happen with latest node version (v9.2.0)

@ycarmel can also reproduce this issue :-)

@roieu Are you doing require('https') or require('http') for making the http request?

I am using axios


Allowing opensearch-x-content lib as dependency to other libs

Description
Currently, only opensearch-core and opensearch-common libs are allowed as dependency to other libs. Allowing opensearch-x-content lib to be used as a dependency in other libs as this lib has different types of XContent parsers. FOr ex: JsonXContentParser would be commonly needed to parse Json content.  Otherwise each lib will have to write a duplicate implementation of AbstractXContentParser or introduce external library dependencies. opensearch-x-content doesn't has a dependency on other libs and only depends on some Jackson library hence it won't create cyclic dependencies or bring in unnecessary dependencies.
Related Issues
Resolves: None

Check List

[X] Functionality includes testing.
[ ] API changes companion pull request created, if applicable.
[ ] Public documentation issue/PR created, if applicable.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@Aayush8394 Can you fix the spotless and DCO checks?
To automatically apply spotless rules use ./gradlew spotlessApply. When creating a commit, make sure to signoff the commits using --signoff. fe git commit -m "Message here" --signoff.


[ Fix  ] : After Authentication redirect back to ci.mayadata.io

Description :

While access ci.mayadata.io  without authentication, the page will redirect to account.mayadata.io , On successful authentication page redirect back to OEP Page (ci.mayadata.io) .

Issue :

Some times After Authentication Page redirecting to UserPortal ( portal.mayadata.io ) instead of ci.mayadata.io .

Note :

In Incognito/private mode redirecting back to ci.mayadata.io from account.mayadata.io .

Tested-Browsers:

[x] Chrome
[ ] Firefox
[ ] Safari
[ ] internet explorer

If it is being served by nginx
Try adding these configs for nginx headers. Basically they tell your browser to cache the stuff for 10hours and check with the origin servers everytime it is requested by the browser for changes. Currently it isn't set to always validate with the server.
https://redbot.org/?uri=https%3A%2F%2Fci.mayadata.io%2F
See mayadata-account for example
https://redbot.org/?uri=https%3A%2F%2Faccount.mayadata.io
https://github.com/openebs/openebs-docs/pull/611

the issue is not related to ngnix or cache.
Here issue related to Localstorage,
when user access ci.mayadata.io  help.mayadata.io/login  portal.mayadata.io as a first time in his browser the page will redirect to account.mayadata.io for authentication.
account.mayadata.io contains Browsers LocalStorage to save URL that from which page it redirects back.
ContinueTo is the key storing the URL (reffererURL) in Localstorage .

Bug  :
After successful authentication LocalStorage continueTo  field is not Resetting .
If first tab user access ci.mayadata.io In another tab user access portal.mayadata.io both tabs redirect to account page and contains the continueTo value as ci.mayadata.io in localstorage .

#208 https://github.com/mayadata-io/website-account/pull/137

It continues to break.. we need an formal RCA for the issue. @bhaskarhc , can you update what changes have been merged and why? and why do we now think those changes are not helping?

@ibreakthecloud fixed the issue , but still the Redirection not happening correctly .The isssue not only for ci.mayadata.io , all mayadata origin websites have issue after Authentication .

@ibreakthecloud @bhaskarhc  Its a long pending issue. We need to fix it.


using fileprovider uri

android added a file provider where we can pick directories, files etc.
Can you add the ability for fetch to download to the URI'(directory in this case)

@duncanokeyo I am currently polish some of Fetch's Api's. I will update this post with more information soon.

@duncanokeyo Just released Fetch version 2.1.0-RC14. To provide your own download location/ outputStream for a request url, create a custom downloader class that extends the HttpUrlConnectionDownloader or OkHttpDownloader class. Then override the  getRequestOutputResourceWrapper(request: Downloader.ServerRequest): OutputResourceWrapper? method. The method allows you to provide Fetch a Wrapper object that wraps an OutputStream or any other stream that can save to the file.
Java doc info for method.
    /**
     * This method is called by Fetch to request the OutputResourceWrapper that will be used to save
     * the download information too. If null is returned, Fetch will provide the OutputResourceWrapper.
     * This method is called on a background thread.
     * @param request The request information for the download.
     * @return OutputResourceWrapper object. Fetch will call the close method automatically
     *         after the disconnect(response) method is called. Can return null. If null,
     *         Fetch will provide the OutputResourceWrapper.
     * */
fun getRequestOutputResourceWrapper(request: ServerRequest): OutputResourceWrapper?

Example:
    class CustomDownloader extends OkHttpDownloader {

        public CustomDownloader(@Nullable OkHttpClient okHttpClient) {
            super(okHttpClient);
        }

        @Nullable
        @Override
        public OutputResourceWrapper getRequestOutputResourceWrapper(@NotNull Downloader.ServerRequest request) {
            try {
                return new OutputResourceWrapper() {
                    RandomAccessFile randomAccessFile = new RandomAccessFile(request.getFile(), "rw");

                    @Override
                    public void write(@NotNull byte[] byteArray, int offSet, int length) throws IOException {
                        randomAccessFile.write(byteArray, offSet, length);
                    }

                    @Override
                    public void setWriteOffset(long offset) throws IOException {
                        randomAccessFile.seek(offset);
                    }

                    @Override
                    public void flush() throws IOException {

                    }

                    @Override
                    public void close() throws IOException {
                        randomAccessFile.close();
                    }
                };
            } catch (Exception e) {
                return null;
            }
        }

    }


Single Horizontal Layout like the Pair Horizontal Layout

I'd love to see the option for a Single Horizontal Layout that is like the upper half of a pair Horizontal Layout. In other words, the numeric legend below the bar graph, the label above and to the left, and the value above and to the right. Just like the top half of a pair layout.

The dashboard itself is on the way of fade out due the end of support of underlying tecnology it is bulded on. I don't see any good reason to keep developnig widgets for it.
Of course you can do it by yourself by cloning the repository and then manage the positions of texts and bars. I can help on that if you go on that route and then have dedicated questions.


Fixed disabled not working

Because of this typo, a disabled checkbox button was still clickable.

Thanks for contributing!


Correctly center slider

Ensure the slides are centered if slideCount is less than slidesToShow.
(This is only the unminified version, haven't the time to do anything other than fix this issue!)

@niaccurshi could you please provide a JS fiddle for before and one for after? Then I can test and merge.

Sorry that I never got back to this, as I mentioned in my other comment I was a little rushed/busy and so only wanted to provide something to highlight a route forward. Is there anything else you need from me on this at this stage?

Any updates on the PR?

...never mind, I see that the issue was fixed and merged in #2118.

wfm, thanks


[stable/datadog] bump dependency kube-state-metrics 0.2.2

/ok-to-test

@mgoodness Right, I left this PR because helm dependency update changed the lock file, so this appeared to be out of date. I was trying to think about what we want to do in these cases, and it seemed to me that we may want to ensure the lock file is updated. Thoughts?

@mgoodness @prydonius from Slack it sounds like because the SHA has changed from helm dep update then the lock file must have been out of sync before this.
The question now is, should we merge these 3 PRs to level-set the lock file, or just wait until the dependency version has it’s next update?

/lgtm


Fix config write again

ok

Hey, @Kryslynn23, We are not merging in this branch ATM since we will be doing a major update to the CLI shortly. This version should be published to NPM


there is some trouble

when I run python quantize.py --type cifar10 --quant_method linear --param_bits 8 --fwd_bits 8 --bn_bits 8 --gpu 0. It prints Traceback (most recent call last):
File "quantize.py", line 64, in
sf = bits - 1. - quant.compute_integral_part(v, overflow_rate=args.overflow_rate)
File "/home/hjs/pytorch-playground-master/utee/quant.py", line 14, in compute_integral_part
v = v.data.cpu().numpy()[0]
IndexError: too many indices for array
I am looking for your help

seem the dimension does not fit.
you could remove the last "[0]" at Line 14 of utee/quant.py
v = v.data.cpu().numpy()[0]   -> v = v.data.cpu().numpy()
then you have to check whether it works correctly

pdb.set_trace() before the line that gave you the error. print out the dimension of v to check.


Test activity start and complete between workflow schedule and start

User reported a history that has the following events in order: WorkflowTaskScheduled, ActivityTaskStarted, ActivityTaskCompleted, then WorkflowTaskStarted and it gave the:

lookup failed for scheduledEventID to activityID: scheduleEventID: 109, activityID: 108

As can happen in unexpected orders. Attempt to replicate.

I was unable to successfully replicate a bug, but I could replicate that series of events. PR opened at https://github.com/temporalio/sdk-features/pull/5.


Undocumented API

Issue
The CF CLI makes a request for GET /v2/service_instances/<SERVICE_INSTANCE_ID>/service_keys which is an undocumented API.
Context
While tracing the cf service-keys command against PWS (2.53.0), I noticed the following request sequence:
GET /v2/spaces/<SPACE_ID>/service_instances?return_user_provided_service_instances=true&q=name%3A<SERVICE-INSTANCE-NAME>&inline-relations-depth=1
GET /v2/services/<SERVICE_ID>
GET /v2/service_instances/<SERVICE_INSTANCE_ID>/service_keys

The final request is not documented.
Steps to Reproduce
CF_TRACE=true cf set-keys <SERVICE-INSTANCE-NAME>

Hi @nebhale,
Thanks, nice catch. We added docs in this commit. The docs should be updated soon.
-- @adowns01 && @simonleung8, CAPI Team Members

@SocalNick I'm not sure this quite complete.  Reviewing the release-candidate docs, it does not appear that the name filter parameter is documented.

Re-opened tracker issue

Verified: http://apidocs.cloudfoundry.org/release-candidate/service_instances/list_all_service_keys_for_the_service_instance.html

Hey @nebhale,
This seems to be documented now. Thanks for bringing up this issue. We are closing this now, feel free to reopen if you experience any other problems.
Thanks,
CAPI Community Pair - @jberkhahn & @michaelxupiv


Updated index file

@thilina999  contribute here https://github.com/Ishaan28malik/Get-Dev-Resources


slightly reduce allocations when searching

instead of making one allocation per word of the query only makes one allocation.
could be reduced to zero allocations if make_ascii_lowercase() would be acceptable
also updated the dependencies.

That's smart! Thanks. 😎
As you said, ASCII is tricky because we like to support all input languages, but the current version for sure is great improvement already.


fix label timeout

Removing label from the workedr node is timing out on a 120 node environment. Instead of using one command to remove labels on all worker nodes, we iterate through each worker node and remove label on it.

Related Issue #585
Closes #585

With this fix we had a succeful benchmark run and it took 1 minute for removing labels from all 120 node. So 30 seconds which we had is not sufficient.
[2023-07-02, 14:29:23 UTC] {subprocess.py:93} INFO - Sun Jul  2 14:29:23 UTC 2023 Removing node-density=enabled label from worker nodes
[2023-07-02, 14:30:22 UTC] {subprocess.py:93} INFO - Sun Jul  2 14:30:22 UTC 2023 benchmark


dom/met signature: row-by-row

Current dependencies on/for this PR:

main

PR #648

PR #618

PR #674

PR #675

PR #676

PR #678

PR #682

PR #684

PR #645

PR #604

PR #687   👈

This comment was auto-generated by Graphite.


cannot specify projector logo

The look is important. Therefore I requested the feature to change easily the projector logo.
In OS 2.2b1 I see no in the projector settings this hint:

"You can replace the logo by uploading an image and set it as the "Projector logo" in "files"."

Therefore I uploaded an image but cannot find a way to make this the projector logo, neither in the Files nor the Settings menu.

@donovaly Please retest it with 2.2b2. Old databases should migrate now that a admin use has already the required permission to  manage logos.

Please retest it with 2.2b2.

I did, but now there is no longer a permission group for admins:

Despite that I am logged in as admin, I cannot set the logo. I used a fresh OS 2.2 setup and copied there my database I used to write the docs for OS 2.1

@donovaly Please retest with next beta (2.2b3). Migration should be fixed.

Thanks, the migration of permissions is now done.


Should we drop LOINC from KG2?

The LOINC UMLS source seems to take a very long time to ETL (last report was 29 hours). Unclear what benefit it brings, given the huge time cost to ETL it. Considering dropping it from the KG2.8.5pre build and beyond. We can discuss here.

@edeutsch wrote:

I don't think the SRI Node Normalizer has LOINC identifiers, so we probably won't get LOINC identifiers in queries. But I don't know what kinds of edges it might have that are useful.

@dkoslicki wrote:

I don't know of places where it's vital either; not to say it isn't, I just don't see LOINC stuff that often (which likely speaks to its useful/lessness)

We have decided to drop LOINC starting with KG2.8.4.

The report comparison step noted that all of LOINC was removed in KG2.8.4pre, so I am going to close out this issue.

Farewell, LOINC!


Schedule Chiado testnet Deneb fork (Jan 31)

Description
Chiado Dencun fork is scheduled
+DENEB_FORK_VERSION: 0x0400006f
+DENEB_FORK_EPOCH: 516608 # Wed Jan 31 2024 18:15:40 GMT+0000

https://github.com/gnosischain/configs/pull/26

Some config values differ from mainnet
MAX_REQUEST_BLOCKS_DENEB: 128
# MAX_REQUEST_BLOCKS_DENEB * MAX_BLOBS_PER_BLOCK
MAX_REQUEST_BLOB_SIDECARS: 768
# `2**14` (= 16384 epochs, ~15 days)
-MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS: 4096
+MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS: 16384
# `6`
BLOB_SIDECAR_SUBNET_COUNT: 6

No preset values differ from mainnet
FIELD_ELEMENTS_PER_BLOB: 4096
# `uint64(2**12)` (= 4096)
MAX_BLOB_COMMITMENTS_PER_BLOCK: 4096
# `uint64(6)`
MAX_BLOBS_PER_BLOCK: 6
# `floorlog2(get_generalized_index(BeaconBlockBody, 'blob_kzg_commitments')) + 1 + ceillog2(MAX_BLOB_COMMITMENTS_PER_BLOCK)` = 4 + 1 + 12 = 17
KZG_COMMITMENT_INCLUSION_PROOF_DEPTH: 17

https://github.com/gnosischain/specs/blob/master/consensus/preset/gnosis/deneb.yaml

What about MAX_PER_EPOCH_ACTIVATION_CHURN_LIMIT, this seems to be lower on gnosis 2 vs. 8 on mainnet
mainnet/config.yaml#L77-L78
# [New in Deneb:EIP7514] 2*
MAX_PER_EPOCH_ACTIVATION_CHURN_LIMIT: 2

Updated PR diff and upstream Chiado config, it's was not fully up to date sorry about that! Now it's good to go

It might be better if we extend the chiado config from the gnosis config instead of mainnet in Lodestar, I have to give this another review but I am assuming both networks override the same values
https://github.com/ChainSafe/lodestar/blob/551fd8e4553d07c835e31e2b7939ab5f18c5f95f/packages/config/src/chainConfig/networks/chiado.ts#L7-L8

It might be better if we extend the chiado config from the gnosis config instead of mainnet in Lodestar

That's a great idea and could save against some edge cases


Drag and Drop options like menu builder to setup widgets

Laravel Version: 5.4.*
Voyager Version: 0.11
PHP Version: 7.0.4
Database Driver & Version: mysql, 5.0.12

Description:
I have already used wordpress widgets.
I saw a drag and drop functionality there.
I need a similar functionality of drag and drop with voyager
I noticed voyager used drag and drop for menu builder.
How can I use a widget builder like that?
Steps To Reproduce:

Check #994

Wordpress is a monstrosity of PHP code.  Please don't compare us with that.
What exactly are you trying to do with this "drag and drop" functionality?

Closing due to inactivity.


Monitoring

A task that spans everything. But we need to ensure we have the following data available as metrics:

[x] How many items in storage
[x] How many items in index
[x] How many items to be indexed
[x] How many items failed to index
[x] Number of successful API requests, both consume and produce
[x] Number of failed API requests, both consume and produce
[x] Ingestion rates
[x] Ingestion latency
[x] Consume latency
[x] (If cache) cache hit rates.
[x] Storage consumption
[x] Index size
[x] Consumption rates

Relevant: https://quickwit.io/blog/observing-rust-app-with-quickwit-jaeger-grafana

Done

https://monitoring.trustification.dev


publish packs/samples on update

Add a builder.toml file to the root of buildpack/samples
When I push a change to buildpack/samples master branch
Then travis builds and publishes a new packs/samples
##Notes

should use pack create-builder and the builder.toml from the repo root
lifecycle travis should no longer publish packs/samples

Given I have pushed a new publish tag to buildpack/lifecycle
When  travis has successfully built and pushed a new packs/build image
Then the buildpack/samples travis build is triggers and a new packs/samples image is built and publish using the updated packs/build as the base image
##Questions

as written this would imply that any changes to master are published, are we okay with that?
do we want this build to validate that the new packs/samples image works with pack cli (e.g. pack build --path <sample-app> --no-pull succeeds) before publishing?

now that there are real builders for folks to use, I don't think we should publish image


Unable to install (error Couldn't find package<EMAIL_ADDRESS>

yarn add surrealdb.node results in the following error
error Couldn't find package<EMAIL_ADDRESS>required by "surrealdb.node" on the "npm" registry.

I'm on macOS Big Sur (11.7.10) and unfortunately can't upgrade due to 3rd party ssd 🥲
Anything I can do? I wan't to embed ideally via file (I guess RocksDB) and potentially memory

Any chance someone could help me figure this out? 😇

Got it working 🥳

Clone into yarn workspace
yarn install within surrealdb.node dir
changed Cargo.toml to

[package]
name = "surrealdb_node"
version = "0.4.0"
edition = "2021"

[lib]
crate-type = ["cdylib"]

[dependencies]
dmp = "0.2.0"
napi = { version = "2", features = ["async", "serde-json"] }
napi-derive = "2"
serde = "1.0.188"
serde_json = "1.0.105"
surrealdb = { version = "1.0.0", features = ["kv-mem", "kv-rocksdb"] }

[build-dependencies]
napi-build = "2.0.1"

[features]
rocksdb = ["surrealdb/kv-rocksdb"]

[profile.release]
lto = true

# [target.x86_64-pc-windows-msvc.dependencies]
# surrealdb = { version = "1.0.0", features = ["kv-mem", "kv-rocksdb"] }
# [target.x86_64-unknown-linux-gnu.dependencies]
# surrealdb = { version = "1.0.0", features = ["kv-mem", "kv-rocksdb"] }
# [target.aarch64-linux-android.dependencies]
# surrealdb = { version = "1.0.0", features = ["kv-mem", "kv-rocksdb"] }
# [target.armv7-linux-androideabi.dependencies]
# surrealdb = { version = "1.0.0", features = ["kv-mem", "kv-rocksdb"] }
[target.aarch64-apple-darwin.dependencies]
surrealdb = { version = "1.0.0", features = ["kv-mem", "kv-rocksdb"] }

yarn build in surrealdb.node dir
add "surrealdb.node": "0.4.0" to main project's package.json
yarn install in project root
yarn dev 🚀

Now I'm wondering why those lines where disabled, anything I should watch out for?
Tho in production it would build and run on Linux

Has development of this library been discontinued?

Thanks for your help. I follow your step to install surrealdb.node on my Macbook Air with M2 chip. Everything is OK. However, when I run the official example, as below, I encounter this error: [Error: Select either namespace or database to use] error at the line await db.use({ ns: "test", db: "test" });.
import {Surreal} from 'surrealdb.node';
const {Surreal} = require('surrealdb.node');

const db = new Surreal();

// use in-memory database
await db.connect('memory');

// Select a specific namespace / database
await db.use({ ns: "test", db: "test" });

// Create a new person with a random id
let created = await db.create("person", {
    title: "Founder & CEO",
    name: {
        first: "Tobie",
        last: "Morgan Hitchcock",
    },
    marketing: true,
    identifier: Math.random().toString(36).substr(2, 10),
});

I hope and don't think it has been discontinued just too many other priorities are the moment I guess 🥲
Though I'm also desperately waiting for it to continue & improve 🥹

Okay so the installation problem, at least in my case, was due to yarn v1, as I switched our project to pnpm couple of days ago I just tried again and installation worked though I think rocksdb might not work, also deployed in Docker didn't seem to work on first try

Looks like this issue is being ignored... I "fixed" this by publishing the missing surrealdb.node-linux-arm-gnueabihf and surrealdb.node-win32-arm64-msvc as blank packages to prevent install errors. Cheers.

Hey @alexgorbatchev and @CanRau, so sorry for the late response here! I've mainly been very busy which is unfortunately holding me back from fixing these issues. I will be focusing on some welcome improvements to the JS ecosystem the coming time again and will also make sure to tackle this issue!

Hey @kearfy thanks for the heads up really appreciated 🙌🏼
Just to understand the situation a little better do you have a rough estimate on when you'll have the time to work on surrealdb.node? Like next week, month, later or unknown? 😇

The issue I'm having seems to be similar.
Error: node_modules/surrealdb.node-linux-x64-gnu/surrealdb.node.linux-x64-gnu.node: undefined symbol: __libc_single_threaded
    at Module._extensions..node (node:internal/modules/cjs/loader:1473:18)
    at Module.load (node:internal/modules/cjs/loader:1207:32)
    at Module._load (node:internal/modules/cjs/loader:1023:12)
    at Module.require (node:internal/modules/cjs/loader:1235:19)
    at require (node:internal/modules/helpers:176:18)
    at Object.<anonymous> (/workspaces/User-API/node_modules/surrealdb.node/index.js:190:31)
    at Module._compile (node:internal/modules/cjs/loader:1376:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
    at Module.load (node:internal/modules/cjs/loader:1207:32)
    at Module._load (node:internal/modules/cjs/loader:1023:12) {
  code: 'ERR_DLOPEN_FAILED'
}


Library isn't Null Safe

As title says, is there any way to get around this or a timeline to make Null Safe

@slee106 @Talgat777
Null Safety is now supported https://pub.dev/packages/flutter_flurry_sdk
Please use $ flutter pub add flutter_flurry_sdk to install in your projects.
Thanks for your supports!


[URGENT] Rework Education Tab

We don't have a tab that has our current semester offerings, which is social events on Tuesdays and technical events on Thursdays. The Education tab used to have this info, but the reading group and the beginner workshop series are now defunct. We should still have this info somewhere as an archive (and the content should be displayed better), but this section of the website should be replaced with Fall 2023 content.
Maybe a calendar?

https://github.com/ML-Purdue/ml-purdue.github.io/commit/07bb7687d8cfb036b243d684f762ba3799bc97d4


Bring Secondary Server page in line with latest language

Is your feature request related to a problem? Please describe.
#227 changed 'secondary' and 'secondary server', but we still have a whole page titled Secondary Server
Describe the solution you'd like
Rename the page atServer and edit contents accordingly.

Ok, got it.


bump version to v0.6.3

bump version to v0.6.3

Coverage increased (+8.6%) to 92.024% when pulling 5f4805db372743b60c3c28538b210dc886e35678 on dev into 703e941c5ed9c14b44deb1e674801ec866eb1941 on master.


Fixed not compiling for i686-pc-windows-msvc

I was trying to compile this crate for the i686 arch and id did not seem to compile, because a import was missing, (maybe someone did not try to compile for all targets.) I added the import in an extra line, so you can see how you will proceed with this.
Kind regards

Fixes #93. Was positive I had x86 builds in CI, but looks like they're missing after CI changes a while back


failed to create symbolic link

Initial run of latest docker-oracle-12c version from 10 days ago Fails with the following error message:
ln: failed to create symbolic link '/u01/app/oracle/product': Permission denied
Docker runs with former versions with the following command worked properly:
docker run -d --name apex -p 8080:8080 -p 1521:1521 -v /volume/docker/apex:/u01/app/oracle -e DBCA_TOTAL_MEMORY=4096 -e sath89/oracle-12c:latest
I did not made any changes in my docker setup. Do you have any idea?
By the way, great work! I really appreciate your efforts.
Cheers,
Kai

This issue was noticed anly on Centos
More detailed about storage drivers:
https://docs.docker.com/storage/storagedriver/select-storage-driver/#docker-for-mac-and-docker-for-windows


Hi author, can you provide a direct copy of the Waymo SOT dataset that has been processed?

Hi author, can you provide a direct copy of the Waymo SOT dataset that has been processed? I am confused about which version of the data is available on the official website and the subsequent processing of the data.

Sorry, we are not allowed to provide a copy of the dataset according to Waymo policies. We use version 1.2, but other versions should work as well.


Update existing instance

I'm facing an issue trying to update an existing object in my DB.
Let's say I have a User with certain columns with information (first name, last name, birthday).
When I go to a specific activity, I send a request to the server, which responds with a User object (with the same PK), but only with the column image_url (no first name, last name, birthday this time).
What I'd expect to happen if I did user.save() was to get a User containing first name, last name, birthday and image_url, however I'm ending up with a User with only image_url (and all other columns set as NULL).
Is there a way to update only the new non-null columns on a object? The real case-scenario has some nested models that are received, which is why calling .save() actually saves more objects to the DB.
Thanks in advance

If I am understanding your question correctly, you are saying that the server response looks like this:
{
  id : 12345,
  image_url : "https://some.image.url/12345"
}

From the above json you can see that missing fields should be skipped, but the deserializing library is filling in the blanks and interpreting it as:
{
  id : 12345,
  first_name : null,
  last_name : null,
  image_url : "https://some.image.url/12345"
}

Without knowing more specifics I can't aid in a path to fixing the issue but if the above is correct the issue is most definitely in your deserialization step not your persistance step.

Thanks Trevor, that's exactly the issue. I'll check out if GSON is doing what you're proposing, which would make sense why it's adding null values to existing instances. I'll give an update as soon as I find out if that was the issue.
Thanks again!

I gave it a shot, but I think I'm not following what should happen with the object created when parsing the server response. I'm currently using Retrofit with GSON converter, which generates a User object when I parse it.
Since it's an Object, if the JSON only contained "image_url" the object generated will obviously only contain this attribute as a non-null value, however, all other attributes of the class will be null (as they were never initialized when the object was created).
Am I missing something here? I'm not sure what's supposed to happen in order to "merge" both users. The first thing that comes to mind is first to perform a Search by the PK of the model, however I don't feel this is the correct way to proceed.
Is there a way to just "merge" both users and ignore null values?

I think any way you proceed you will need to do some of the merging manually since you are the only one that will understand what that particular null means.
If you have both instances it may be as simple as just saying member1.image_url(member2.image_url())
If not you could do a special query for just this.
SQLite.update(Member_Model.class)
      .set(Member_Model_Table.image_url.eq(member.image_url()))
      .where(Member_Model_Table.id.eq(member.id()))
      .execute();

That query will update only that field on the object. If you want to immediately consume it it may be easier to fetch the local instance, update it, call save. then return the updated instance.

Thanks Trevor,
the thing that has drawn my attention is in the docs, the following appears:
Automobile venza = new Automobile(); venza.vin = "499499449"; venza.make = "Toyota"; venza.model = "Venza"; venza.year = 2013; venza.save(); // inserts if not exists by primary key, updates if exists.
The thing is, how can the automobile only update the "new" values? If it's an object it will obviously contain all the non initialized values as null. Wouldn't this mean every update will update the old record, and be replace with the new "object" (not only the values that were set in the example).

Draw your eyes over to the generated code in what would be Automobile_Adapter in the above. Then look at the bindToInsertValues method along with the getInsertStatementQuery method.
You can hopefully start to see how the result of bind to insert values will be paired to the sql provided by get insert statement.
You can then hopefully see that "update if exists" means that it will update the in database version with the exact state of the in memory version. So long as it doesn't validate any integrity constraints that is.

Thank you very much, I see what you mean now. I think I've got a good idea on how to handle things from now on.
Thank you again


Fixed TinyThread++ link.

Official page: https://tinythreadpp.bitsnbites.eu/
GitHub repo: https://github.com/mbitsnbites/tinythreadpp

Oh, good point. Perhaps we could remove the C++ recommendation altogether? C++11 seems fairly universally available on the desktop now.

You are right, C++11 is widely supported these days. Closing this pull request since there isn't much point to it :)


Missing Helm Chart Testing

The last release contains a broken Helm chart. Time to setup a Github Action workflow to test the chart
e.g.
helm template
helm lint
ref to include a test: https://helm.sh/docs/topics/chart_tests/

https://github.com/eumel8/otc-rds-operator/pull/22


Compiler features - Completion

Ok we have it here http://haxe.org/manual/cr-completion.html, fixed by https://github.com/HaxeFoundation/HaxeManual/pull/89
What about the BOM?

Indeed the BOM should at least be mentioned.

I have no idea how to describe this, can you help?

I guess we should just say that the reported offsets are byte position, not char position.


How to no display popup when click task.

I don't want to show popup when I click on a task.

I have been adding an empty custom popup:
custom_popup_html: function(task) {
return ``;
}

@JonesM87 it still show arrow

For anyone else looking, the below worked for me to get rid of the arrow
'.gantt-container .popup-wrapper .pointer': { borderColor: 'transparent' }


How aws_demo.h can #include "iot_demo_runner.h" ?

Hi, First of all, this is not a bug. It is a question about amazon freertos code.
I'm just studying with amazon_freertos Demo
in main.c
line 229   DEMO_RUNNER_Rundemos();
this line execute 'mqtt_demo play' successfully. So I just tried to find how main.c call this function.
main.c  includes 'aws_demo.h' in line 44.
yes, now it is aws_demo.h
in line 56 void DEMO_RUNNER_RunDemos( void );
there is a declaration.
this function located in 'iot_demo_runner.c'
here is my question. how aws_demo.h includes iot_demo_runner.c very well?
even if I erase line 26 , line 27 (#include "platform/iot_network.h", #include "platform/iot_ ethreads.h") , the function (DEMO_RUNNER_RunDemos()) link to iot_demo_runner.c very well
I would be very appreciate if you help me. thank  u.

I just have an idea that when it is located in same folder (include) , it complies without #include ~ ?

Hello,
In order to make the Amazon FreeRTOS demos configurable and provide a uniform demo entry point even when not all demos are supported by all platforms, demo function control is split between a few files.  Below is an overview of those files and some important items inside of them:

As you've pointed out in your post, the starting point is main.c, which calls DEMO_RUNNER_RunDemos
DEMO_RUNNER_RunDemos is implemented in iot_demo_runner.c, where the demo task is set by setting a function pointer to DEMO_entryFUNCTION and creating a task runDemoTask

void DEMO_RUNNER_RunDemos( void )
{
    /* These demos are shared with the C SDK and perform their own initialization and cleanup. */
    static demoContext_t mqttDemoContext =
    {
        .networkTypes                = democonfigNETWORK_TYPES,
        .demoFunction                = DEMO_entryFUNCTION,
        .networkConnectedCallback    = DEMO_networkConnectedCallback,
        .networkDisconnectedCallback = DEMO_networkDisconnectedCallback
    };

    Iot_CreateDetachedThread( runDemoTask,
                              &mqttDemoContext,
                              democonfigDEMO_PRIORITY,
                              democonfigDEMO_STACKSIZE );

DEMO_entryFUNCTION is defined in iot_demo_runner.h.

#if defined( CONFIG_MQTT_DEMO_ENABLED )
    #define DEMO_entryFUNCTION              RunMqttDemo

The control for which DEMO_entryFUNCTION is used is located in aws_demo_config.h

#define CONFIG_MQTT_DEMO_ENABLED

RunMqttDemo lives in iot_demo_mqtt.c
The demoContext.demoFunction is invoked by runDemoTask in iot_demo_freertos.c

        /* Run the demo. */
        status = pContext->demoFunction( true,
                                         clientcredentialIOT_THING_NAME,
                                         pConnectionParams,
                                         pCredentials,
                                         pNetworkInterface );

Does this answer your question about how we get from main.c to the demo code?
Alexa

Thank you for your detailed explanation!
I was confused for basic C skill


Gender Equality Initiative

Hi All!
First things first! Here is the proposal
As we know, we've talked quite a bit about the gender inequality present in the student population of the Academy so we are going to address it with the attached proposal. Trigger warning, there is a quota mechanism in there. However, please do take the time to read it and understand that the quota is only as a deterrent. Success is defined as achieving the number that the quota calls for without having to use the quota and for this reason is set at a challenging yet very doable 30%.

Before I emit an opinion on this I would like to know how much of a difference would this have made if it was implemented on batch 2?

Hey everyone,
While I do believe quotas can be an important measure to ensure equality I do believe the theoretical goal should be not to have a quota and have organic growth in equality and to achieve that some more measure should exist.
I would say this initiative should be a bit more fleshed out in how to increase interest before the quota is needed. I'm not sure what the current marketing plan is but some measures I've seen having success in the past are:

Workshops targeted to women;
Talks on this issue;
Specific market specially on areas that have a larger female population. I.e. if the marketing is too focused on computer scientists it won't attract as many women, due to the gender inequality on that sector.

In regards to the quota itself I agree with @Rasmnev and would like to know the effect on batch 2 (and 1 for that matter) but I am abstractly supportive of such a measure.

I am by principle against any type of quota system. I think quotas are unfair, condescending and discriminatory in themselves and I cannot in good conscious support this type of measure. If you feel like the selection process/marketing is discriminatory in any sense we should definitely correct that, but I don't think discriminating against men is the way to go in order to correct discrimination against women or to solve the inability to reach the goals we set for the organisation

Following @manuelfcreis comment, there are some coding workshops targeted to women here in Portugal (e.g. https://shecodes.io/). Maybe we can promote the academy in these type of events to get a bit more reach in this demographic.

While I typically dislike quotas, I think having this goal (and having the purpose of achieving it without forcing a quota) is very nice. I definitely agree with trying to tackle it through finding better channels to get to prospective candidates, and in this context I can suggest a few things that I might actually be able to help with:

asking to Women in Tech to spread the word  (I know some people involved in this community, I can try to talk with them)
shecodes (that @rafaascensao already mentioned) might also be a good idea (I know a girl that is teaching some topics there)
trying to use our own networks to get to other channel

I obviously can't guarantee anything but at least I can try to contact some people :)
I have a few questions though, regarding the last batch process. Do we have any idea if the low percentage is because:

women did not apply at all?
women applied to late (50 candidates were already selected)?
women applied early enough but did not pass the test
women applied early enough and passed the test but gave up their places

Additionally do we have distributions regarding total numbers:

how many men and women applied
from which how many tried the tests
from which how many completed the tests
from which how many passed the test

I am not just curious about these, but I also think these questions can lead us to better understanding of possible strategies to get to the nice 30% goal without actually enforcing quotas.

Hi all,
Thanks for the thoughts on the matter and taking the time to write them down. Firstly, I would like to reiterate once more that I would consider the initiative a failure if we end up having to use the quota. All energies and strategies will be put into achieving 30% without the use of the quota.
I'll group the responses and respond as best as I can to them but first
It is unfair
Most reactions that use the terms "unfair" or "against men" fall into this category so the response here applies to all of them.
This argument usually makes the assumption that the system with the quota is more unfair than without the quota which I do not think is the case. The reason is that there is no option for a fair system because a community that is dominated by one particular group develops lots of explicit and implicit biases over the time that it is. It may eventually self-correct and has been shown to in some cases but the process is usually very slow. Since there is no option for a fair system and waiting for the system to correct is very slow, I, and many others, argue that a temporary stopgap measure is necessary to speed up the course correction.
All that being said, this argument is the most difficult and subjective one to make which is why quotas must be viewed as a stopgap measure that cannot last for long.

Rather than a quota, we should concentrate on other things such as Marketing and Advocacy
We absolutely will and the quota is mostly a scare tactic to motivate this. The reason that it is set at a very doable 30% and not something higher is because I believe that it can be reached without having to use the quota. Nobody wants to use the quota and all of the suggestions mentioned in this type of response are tactics that should definitely employ to ensure that we don't.
You are all right to focus on this and if we do a good job with it, we should be able to start up Batch3 with at least 15 women without having to fall back on the quota mechanism.
I need to know about what the effects on the last batch would have been
This quota mechanism would have made precisely zero difference on Batch2 because we did not get enough women to pass the test. Note that as part of the conditions of the initiative, nobody may enter the academy as a student without passing the same test that everyone else is required to pass.
In terms of ALL the applications it looked like this:

So we had 27% female applications and then a 15% acceptance rate. However, as mentioned, the quota would not have made any difference in this situation because there were just not enough women to take and pass the test. It's not going to be enough just to get more women to apply, we need some thoughtful advocacy in some key places. Maybe some python tutorials at female-centric meetups with an academy pitch at the end?

I think Sam has made the case very close to perfection.
A) Statements I believe most people can agree with:

having an extremely skewed gender imbalance is problematic
we have a number of tools other than quotas at our disposal that can and should be used
only people who pass all criteria to enter (test) can enter
the entrance criteria is not a rank (top X grades) but a threshold (anyone over Y grade up to Z people)

B) More statements I expect most people would agree with:

quotas are a form of discrimination, and that makes their use undesirable
there are other types of imbalance (e.g. race, disability) which could be corrected
we would all prefer to have a non-gender-imbalanced Academy without needing the quota to kick in

C) Statements that are more contentious:

the quota-backstop (the threat of a quota automatically kicking in) will motivate all of us to think of the gender imbalance problem as part of everything we do during the marketing to students
If all else fails, it is best to have the quotas kick in than to move forward with an extremely gender imbalanced class
A reasonable number for this automatic trigger would be 30%

On a personal level, having observed two full Academies by now, I am strongly convinced that having a quota backstop (i.e. an admittedly undesirable but less-of-both-evils provision that kicks in if all else fails) is necessary. I would not feel comfortable teaching a class which is almost entirely of a single gender, nor do I think that creating and maintaining a community (which is the mission) which has only men aligns with my values.
At the end of the day this is a values question, which is what makes it so deeply personal to everyone, be they for or against the quota-backstop.
Having though long and hard about the pros and cons, and accepting that there is no perfect solution, I am firmly in favor of having a quota-backstop. And I'll be among those fighting to avoid triggering it.

What happens now?

I'll go ahead and mark this closed and we can move to the other issue that you've opened about what to do about it next.


Theme name

what is theme name that show in atom.io homepage

That's One Dark UI and One Dark Syntax - they ship with Atom and have been the default themes since 0.188.0.

I believe those screenshots might be based on the special high contrast branch.
For future reference, please consider using either https://discuss.atom.io/ or Slack for these types of questions :bow:


Tweak homepage tile content

Tweak homepage tile content to:

change ‘New referral’ tile to describe action the user is taking with a verb (like we have with ‘View referrals')
edit description in the new referral tile to specify that new referrals are for HDC applicants only

Trello ticket 724
Release checklist
As part of our continuous deployment strategy we must ensure that this work is
ready to be released at any point. Before merging to main we must first
confirm:
Pre merge checklist

[ ] Are any changes required to the e2e tests?
[ ] If you've added a new route, have you added a new
auditEvent? (see server/routes/apply.ts for examples)
[ ] Are there environment variables or other infrastructure configuration which needs to be included in this release?
[ ] Are there any data migrations required. Automatic or manual?
[ ] Does this rely on changes being deployed to the CAS API?

Post merge checklist
Once we've merged it will be auto-deployed to the dev environment.
Find the build-and-deploy job in CircleCI.
Should a release fail at any step, you as the author should now lead the work to
fix it as soon as possible.

Accidentally added a commit, will redo this. Sorry!

Update: redid this change in another PR https://github.com/ministryofjustice/hmpps-community-accommodation-tier-2-ui/pull/398


Segfault on julia 1.6.5

Hi, I am getting a segfault on Julia 1.6.5 when using TriangularSolve:
https://gist.github.com/j-fu/03d66b7a48a592516c14001f3f132113
This doesn't happen neither with 1.6.4, nor with 1.7.0.

Interesting.
Can you try ThreadingUtilities.jl?


ref(crds): Rename CRD's in OSM

Description:
Renamed CRD's in OSM
Signed-off-by: Sneha Chhabria<EMAIL_ADDRESS>Affected area:

Functional Area

Other
[X]

Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project? no

Did you notify the maintainers and provide attribution?

Is this a breaking change? no

Codecov Report

Merging #3810 (a74572e) into main (ab48487) will decrease coverage by 0.93%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #3810      +/-   ##
==========================================
- Coverage   68.35%   67.42%   -0.94%
==========================================
  Files         189      198       +9
  Lines       10767    10926     +159
==========================================
+ Hits         7360     7367       +7
- Misses       3358     3510     +152
  Partials       49       49

Flag
Coverage Δ

unittests
67.42% <ø> (-0.94%)
:arrow_down:

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

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


Include request/response details in mapped error, when possible

Summary
This allows RestKit consumers to perform an error mapping on the response, but still inspect the HTTP status code of the response, or any other properties of the request and response objects.
Details
When a non-200-series HTTP status code is received and there is no object mapping set up to handle it, an NSError is generated that includes the response string, the request's URL, and the request and response objects themselves. This allows consumers of RestKit to inspect these objects (for instance, to find out the
status code) in order to determine the correct course of action. (See RKHTTPRequestOperation's error method)
When an object mapping does exist for non 200-series status codes, the NSError object does not include this information - it only includes the mapped error(s) and a localized description. This leaves RestKit consumers no idea of what the HTTP status code was, which is usually important information when determining how to react to an error.
This commit adds URL, request, and response to the NSError's userInfo, but does not add responseString, because the same information is conveyed by the mapped error object(s) (which are stored in userInfo[RKObjectMapperErrorObjectsKey].
We maintain backwards compatibility by implementing this functionality in a new function, which is invoked using nil for request and response when the old function is called. (There are no internal calls to the old function, but it is listed in a .h file so some RestKit consumers may be calling it.)

Just realized this never got test coverage :/ If you add that, I can merge.


Missing command generate and arguments

Hey,
a few commands are still missing in the extension.
One important for me is:
strapi generate
and also that arguments are passed onto the next command, eg.:
nx r strapi-app:serve --watch-admin is just executing npx strapi develop instead of npx strapi develop --watch-admin
Some more commands:
strapi admin:create-user
strapi templates:generate
strapi routes:list
all the commands are listed here: https://docs.strapi.io/developer-docs/latest/developer-resources/cli/CLI.html

Hi,
Could you create a PR for those?

I'll gladly have a look 🙂

I would also be interested in a more complete integration.
Did you already started something @stefanbinder ?

Hey @JohnnyDevNull
I was working on it, but so far I just was able to improve the serve command.
Integrating the interactive generate command is not working that easily - no input is going through.
You can try to solve it, what I did was writing a very small node-script what would start the process.
First I tried with the already in use shelljs:
const shelljs = require('shelljs');
shelljs.exec('npx strapi generate');

Just the output is displayed, but no further stdin is going through (I tried many options).
Then I tried directly with node's child_process:
let cp = require('child_process');
let child = cp.spawn('npx', ['strapi', 'generate']);

child.stdout.on('data', function (data) {
  console.log('stdout: ' + data);
});

child.stdin.end();

Maybe you find a good way to move all the input through to the generate child-process.

@stefanbinder (late reply I know 😅), shelljs does not support that, see how the Pulumi plugin does it, that one passes down input.


add Date support

This adds Date type support

Hi @minedeljkovic,
AFAIK Dates already work:
function foo(d: Date) {}

foo(1) // throws [tcomb] Invalid value 1 supplied to d (expected a Date)

Did you find some issues?

Interesting, cause I first created tests and they failed.
Anyway, here is my motivating example from app I am working on:
Flow:
type DelatnostPreview = {
  id: number,
  version: number,
  kreiraoVreme: Date,
};

Before adding Date support:
var DelatnostPreview = _tcomb3.default.interface({
  id: _tcomb3.default.Number,
  version: _tcomb3.default.Number,
  kreiraoVreme: Date,
}, 'DelatnostPreview');

After adding Date support:
var DelatnostPreview = _tcomb3.default.interface({
  id: _tcomb3.default.Number,
  version: _tcomb3.default.Number,
  kreiraoVreme: _tcomb3.default.Date,
}, 'DelatnostPreview');

Every irreducible type defined using instanceof (e.g. Date, Error, etc...) should work by default, no need for additional support (see https://github.com/gcanti/tcomb/blob/master/lib/is.js#L8)

I see, but I also need this for runtime introspection, not only type checking.

Not sure why you need t.Date for runtime type introspection. Now you'd get Date instead of t.Date, what's you use case? Could you explain why this is a problem? (t.Date, t.Error, t.RegExp may be considered legacy after generic class support has been added).
Example: there is no t.Promise but you can get type checking and runtime type introspection nevertheless
function foo(p: Promise) {}

foo(1) // throws [tcomb] Invalid value 1 supplied to p (expected a Promise)

type MyType = {
  p: Promise
};

type MyType = {
  p: Promise
};

const ReifiedMyType = (({}: any): $Reify<MyType>)
console.log(ReifiedMyType.meta.props.p) // => Promise
console.log(t.is(1, ReifiedMyType.meta.props.p)) // => false
console.log(t.is(Promise.resolve(1), ReifiedMyType.meta.props.p)) // => true

My use case is Date deserialization using fromJSON. I think this is extremely common use case, which you also used as an example here. The type is also reified flow type.
Now, I see 2 options to go without t.Date support:

Add fromJSON static method to Date constructor (I think this is bad practice)
Write my own fromJSON runtime introspection that handles Date as a special case

Well, now I understand, the problem is fromJSON.
Another option would be to fix fromJSON, which currently doesn't handle constructors https://github.com/gcanti/tcomb/pull/230.
Then you will have 2 choices:

define your own static function (Date.fromJSON)
leverage the default behavior (new Date(<your-serialization-format>))

leverage the default behavior (new Date(<your-serialization-format>))

I am ok with this option  👍

Ok, closing this. I'll release that fix asap


Added the Gamerscore and Tier of the account.

Description:
Added the Gamerscore and Tier of the account.
The tier is the subscription type of the Xbox Live account, so Silver (which is now called Free) or Gold (paid).
Checklist:

[x] The code change is tested and works locally.

Hi @kevintuhumury,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!


Uninstall boot2docker on OSX El Capitan

I try to uninstall boot2docker on OSX, using the shell script in this repo.
At end, it prints "All done". But after reboot. the DOCKER_HOST DOCKER_TLS_VERIFY still exists.
I cannot unset it.  These's no ~/.bash_profile, ~/.bashrc . I checked all the possible  location , still cannot find who set that env variable automatically.
How can I prevent these variables being set automatically?

Sorry, this repository is long-since deprecated in favor of Docker Toolbox (whose usage is now also discouraged in favor of Docker for Windows and Docker for Mac).