Open the specified browser but do not perform any automated actions afterwards

After modifying file tagui.cmd , it is possible to open the specified browser。
The browser I am opening is also based on the Chromium engine
print start  same as ""start" "C:\Program Files\fxbrowser2\fxbrowser.exe" --act-id=0000  --user-data-dir=C:\Users\Admin\AppData\Local\fxbrowser\platform\0000   --remote-debugging-port=9222 about:blank --window-size=1366,842"


fix(css/parser): parsing media query

Description:
From spec:

 =

The  production does not include the keywords only, not, and, or, and layer.

BREAKING CHANGE:
Yes
Related issue (if exists):
No

@kdy1 By spec yes, because we will can reuse it in future in other grammar, also ehre fix - https://github.com/swc-project/swc/issues/5615

@kdy1 Rebased and fixed, CI fail is not related to my changes...


cidr variable and quotes

Description
I'm using the module with GitLab CI and am defining the CIDR block as follows:
module "vpc" {
  source             = "terraform-aws-modules/vpc/aws"
  version            = "3.19.0"
  name               = var.vpc_name
  cidr               = var.vpc_cidr_block

The variable is defined as follows:
variable "vpc_cidr_block" {
  type = string
}

If I define the variable in GitLab with a value of "<IP_ADDRESS>/17" it fails during plan with the following error:
│ Error: Error: expected cidr_block to contain a valid Value, got: "<IP_ADDRESS>/17" with err: invalid CIDR address: "<IP_ADDRESS>/17"
│
│   with module.networking.module.vpc.aws_vpc.this[0],
│   on .terraform/modules/networking.vpc/main.tf line 23, in resource "aws_vpc" "this":
│   23:   cidr_block          = var.use_ipam_pool ? null : var.cidr
│

If I remove the quotes from the variable, the plan completes successfully.  Likewise, if I change the variable as follows, plan also completes successfully:
variable "vpc_cidr_block" {
  type    = string
  default = "<IP_ADDRESS>/17"
}

I have a solution; removing the quotes from the variable, but I thought I would report here.

[x] ✋ I have searched the open/closed issues and my issue is not listed.

Versions

Module version: 3.19.0

Terraform version: 0.15

Provider version(s):

gitlabhq/gitlab v15.9.0

hashicorp/aws v4.59.0

Reproduction Code [Required]

Steps to reproduce the behavior:
As mentioned in the issue description, simply putting quotes around the variable reproduces the error.
I have not been able to check if this is exclusive to the GitLab integration.

Expected behavior

I'd expect to be able to put quotes around the string variable.
Actual behavior

For the cidr value, quotes around the variable causes the failure.
Terminal Output Screenshot(s)

Additional context

Your gitlab variable is being interpreted as a string already, thus there's no need for the quotes there.
My guess is gitlab probably takes your variable and goes export VAR="${your_var}" thus double quoted.
Don't think this is really a module issue. I'd guess you'd run into this on any string var inserted the same way.


Enh/class parachute

Pull request type
Please check the type of change your PR introduces:

[X] Code base additions (bugfix, features)
[ ] Code maintenance (refactoring, formatting, renaming, tests)
[ ] ReadMe, Docs and GitHub maintenance
[ ] Other (please describe):

Pull request checklist
Please check if your PR fulfills the following requirements, depending on the type of PR:

ReadMe, Docs and GitHub maintenance:

[ ] Spelling has been verified
[ ] Code docs are working correctly

Code base maintenance (refactoring, formatting, renaming):

[ ] Docs have been reviewed and added / updated if needed
[ ] Lint (black rocketpy) has passed locally and any fixes were made
[ ] All tests (pytest --runslow) have passed locally

Code base additions (for bug fixes / features):

[ ] Tests for the changes have been added
[ ] Docs have been reviewed and added / updated if needed
[X] Lint (black rocketpy) has passed locally and any fixes were made
[X] All tests (pytest --runslow) have passed locally

What is the current behavior?

Currently parachutes are types inside class Parachute.
What is the new behavior?

Now, there is a separated class for parachutes.
Does this introduce a breaking change?

[ ] Yes
[X] No

Other information

Enter text here...

@FranzYuri just following-up, it's your turn,
please let me know if you need any help ;)
@Projeto-Jupiter/public-relations-outreach , tests are failling, doeas "build errored" mean that the problem is regarding the constructor?

In the test log, available here, we can see what the build error actually was: https://app.travis-ci.com/github/Projeto-Jupiter/RocketPy/builds/242391123

This means the style isn't following black. So we need to run black and commit again.

Tks Gio!!
@FranzYuri it's a simple formatting problem, do you remeber how to run black foratting? If not please contact us or the @Projeto-Jupiter/back-end team and we definitely can help

Of course. But about that, I had already talked with Kierulff about how for
some reason even running black.py this error is occurring. I will run it
again and see if this issue is still occurring.
On Wed, Jan 5, 2022, 08:07 Guilherme Fernandes Alves <
@.***> wrote:

Tks Gio!!
@FranzYuri https://github.com/FranzYuri it's a simple formatting
problem, do you remeber how to run black foratting? If not please contact
us or the @Projeto-Jupiter/back-end
https://github.com/orgs/Projeto-Jupiter/teams/back-end team and we
definitely can help
—
Reply to this email directly, view it on GitHub
https://github.com/Projeto-Jupiter/RocketPy/pull/113#issuecomment-1005547092,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUUG5QEDAC4DBEWP7BL3GDDUUQJ73ANCNFSM5IXWNVVQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

Indeed, thank you.
On Thu, Jan 6, 2022, 16:15 Patrick Sampaio @.***> wrote:

@.**** commented on this pull request.
In rocketpy/Parachute.py
https://github.com/Projeto-Jupiter/RocketPy/pull/113#discussion_r779758158
:

):

   """Initializes Parachute class.

   Parameters

   ----------

   name : string

       Name of the parachute.

   CdS : float

       CdS of the parachute.

   Trigger : function

       Trigger function.

   samplngRate : float

       Sampling rate, in hertz, for the Trigger function.

   lag : float

       Time, in seconds, between the parachute ejection system is triggered and the

   parachute is fully opened.

   noise : tuple, list, optional

Shouldn't the noise be optional? I think it is missing a:
noise=(0, 0, 0)
—
Reply to this email directly, view it on GitHub
https://github.com/Projeto-Jupiter/RocketPy/pull/113#pullrequestreview-845918224,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUUG5QEMGZBCAACCV5JANVDUUXL4ZANCNFSM5IXWNVVQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>


bad variable name issue with ./start.sh

./start.sh is throwing this error:
Loading azd .env file from current environment
./start.sh: 9: export: : bad variable name
please, help

That operating system and version are you running?

I am using the main branch

*Correction: when I run ./start.sh

What's the output of /bin/sh --version on the machine you're getting the error?


mobile not recognizing forceHeight: false

Working on a responsive site that uses skrollr. Looks great on desktop but I can scroll infinitely past the footer on mobile and tablet. Any hints?

Yo guyz, just found a quick fix for this if someone still needs.
Just add this to each query for every screen size:
html,body {           height: 100%;       } #skrollr-body {           width: 100%;           height: 100%;           float: left;       }
As well on your index.html you need to modify the script init a little bit so first will read the screen size before running.
Simply add:
`
        if ( $(window).width() > 768) {
            var s=skrollr.init({forceHeight: false});
        }
        else {
            var s=skrollr.init({forceHeight: true,
                                smoothScrolling: false,
                                mobileDeceleration:0.004,
                                skrollrBody:'skrollr-body'});
        }

`
Hope it helps, for me is working fine. Tested on desktop and multiple mobile devices.


usage of hmmearch

Hello Mustafa-guler,
Thanks for making this binding, so for usage all we need is to just call the hmmsearch function right. A little bit confused for how to use it in rust.
Thanks,
Jianshu
Jianshu

Hi Jianshu,
There is no such function in this library. These are very thin wrappers around the public interface of libhmmer and libeasel from the hmmer repository. They provide only the building blocks for implementing the final HMMER binaries like hmmsearch but no actual final entrypoint. The idea is these could be used to rebuild the final binaries from HMMER as a rust library without redoing all the hard work of the HMMER team. However, unfortunately I haven't had time to do that.
There are few options if you'd like to execute HMMER from a rust crate:

Run it as a subcommand (without this library)
Use the functions exposed in this library to rebuild the HMMER methods you're interested in (most likely by referencing relevant *.c files) inside of rust. For hmmsearch you could replicate (roughly) hmmer/src/hmmsearch.c from the submodule in this repo.

Hi both,
You can now run hmmsearch from Rust using hmmer-rs without going unsafe (at least on the surface). i.e. I implemented option (2) above.
I pushed the first version of hmmer-rs to https://crates.io/crates/hmmer-rs - hopefully that will be useful here and as a starting point for exposing more of the HMMER API.
ben

Hello ben，
Many thanks for making this！This is extremely useful. We now have both rust hmmer and python hmmer bindings！
Jianshu

Hello Mustafa-guler,
I found that hmmer does compile on ARM64/aarh64 platforms if using the develop branch, which is here: https://github.com/EddyRivasLab/hmmer/tree/h3-arm
and the easel is here: https://github.com/EddyRivasLab/easel/tree/develop
Since both are not released yet. I am wondering whether you could update to use this new branch so that we can use it on any platforms.
Thanks,
Jianshu

Hello Ben,
Since Mustafa-guler is not active any more (according to our previous communication), I think we can do it by updating the libhmmer-sys to allow compiling on ARM64/aarch64, I imagine it is very easy, just replace the @hmmer folder to the h3-arm branch (also easel) because all function are exactly the same except sse2neon was used when detecting an arm64/aarch64 platform info.
Thanks,
Jianshu

@jianshu93
I don't want to update this library to use non main-branched parts of HMMER. If your ARM requirements are because of one of the newer Macs you can use a x86-64 rust target via rustup and Rosetta will handle all the SIMD calls in HMMER.


UseRef might fix the previous bug that notifications were appearing m…

…ultiple times

Okay, tested this out, notifications should work much better


Open reading view links in-app

Feature request: open all links in reading view in-app instead of launching out to Safari

Seems like a good setting. I did request feedback from some people and they all seemed to prefer links in the browser. I was concerned that some people prefer in-app. Should be pretty simple to have a switch in settings that allows a preference to be chosen

Thanks! 😁


kmeshctl dump failed

Task description:
kmeshctl dump failed to execute becasuse rename of Kmesh mode from ads & workload to kernel-native & dual-engine
root@dev:~/kmesh# kmeshctl dump kmesh-ctq7d dual-engine
404 page not found

Solution:
The mode in the url should also be updated:
https://github.com/kmesh-net/kmesh/blob/main/pkg/status/status_server.go#L53-L57
friendly ping @codesmith25103 if you're interested :)
If no one claims this for a while, I will do it myself, because this subcommand is very commonly used in the dev process
Who can join or take the task:
The good first issue is intended for first-time contributors to get started on his/her contributor journey.
After a contributor has successfully completed 1-2 good first issue's,
they should be ready to move on to help wanted items, saving the remaining good first issue for other new contributors.
How to join or take the task:
Just reply on the issue with the message /assign in a separate line.
Then, the issue will be assigned to you.
How to ask for help:
If you need help or have questions, please feel free to ask on this issue.
The issue author or other members of the community will guide you through the contribution process.

@codesmith25103 you can also support dump bpf map, through adding a new flag like --bpf :)

yeah sure... I am working on it. Thank you @Okabe-Rintarou-0

/assign

I have free hard disk of only 30 gb right now. Can this be result for "failing for resources"?

Yes, first check the reason why the pod is in the pending state.

I have resolved the issue which i was getting earlier, now after building the kmesh using make docker, i am not able to load that image into my clusture.

I have resolved the issue which i was getting earlier, now after building the kmesh using make docker, i am not able to load that image into my clusture.

Are you able to describe the problem you're experiencing in more detail?
Is your cluster a kind cluster?
Can't load image. Have you tried the kind load docker-image <image_name> command?

yes i have made the cluster using kind.

but even after this step when i am going into nodes i am not finding image in it

why load kmesh-build?
This is the image that provides the compilation env.
And can you provide the result of this commend: docker exec -it ambient-control-plane crictl image

@LiZhenCheng9527 sorry for mistake. So i have successfully build the image and loaded into kmesh. but on next command sankalp@sankalp-HP-Laptop-14s-dq1xxx:~/openSource/kmesh$ kubectl edit ds kmesh -n kmesh-system Error from server (NotFound): namespaces "kmesh-system" not found
I encounter this error

@LiZhenCheng9527 Sorry for mistake. I have build new image

image repository is kmesh and tag is latest with image id  91bef16e249a,  then i have loaded the image using
kind load docker-image kmesh:latest --name ambient and got the following output

and after running this command docker exec -it ambient-control-plane crictl image
I got following result

Thank you @LiZhenCheng9527. I have successfully build the image and load it into the cluster. But as given in the document the next command which kubectl edit ds kmesh -n kmesh-system which is giving following error Error from server (NotFound): namespaces "kmesh-system" not found.

Meanwhile when trying to replicate the issue   sudo kmeshctl dump kmesh-ctq7d dual-engine  time="2024-11-06T21:43:54+05:30" level=error msg="failed to start port forwarder for Kmesh daemon pod kmesh-ctq7d: failure running port forward process: building port forwarded: failed retrieving: Get \"http://localhost:8080/api/v1/namespaces/kmesh-system/pods/kmesh-ctq7d\": dial tcp <IP_ADDRESS>:8080: connect: connection refused in the \"kmesh-system\" namespace" subsys=kmeshctl/dump time="2024-11-06T21:43:54+05:30" level=error msg="failed to make HTTP request: Get \"http://localhost:0/debug/config_dump/dual-engine\": dial tcp <IP_ADDRESS>:0: connect: connection refused" subsys=kmeshctl/dump. I got this

Thank you @LiZhenCheng9527. I have successfully build the image and load it into the cluster. But as given in the document the next command which kubectl edit ds kmesh -n kmesh-system which is giving following error Error from server (NotFound): namespaces "kmesh-system" not found. Do i have to create namespace named "kmesh-system"?

Which document are you referring to? You can refer to this to deploy kmesh.
If you want to build a new image to test, you can run make docker TAG=1.2.3.
After you deploy kmesh and load docker image into kind cluster, use kubectl edit daemonset kmesh -n kmesh-system change Kmesh image version latest to 1.2.3. Just wait for kmesh pod to finish rebooting.

I successfully built the Docker image with the tag 1.2.3, loaded the image, and updated the kmesh version to 1.2.3. I was able to replicate the issue and will now work on resolving it. Thank you, @LiZhenCheng9527.

Hey @LiZhenCheng9527 @Okabe-Rintarou-0, just checking—do I need to rebuild the code, load it into the pod, update the Kmesh version in the pod, and rerun it every time I want to test?

Hey @LiZhenCheng9527 @Okabe-Rintarou-0, just checking—do I need to rebuild the code, load it into the pod, update the Kmesh version in the pod, and rerun it every time I want to test?

You need to rebuild the code and load it into the pod to find the problem.
If you've identified what's wrong and proceeded to change the function and want to test the function's functionality, you can use go's ut test for verification.
But if you change the c code you can only verify it in the real environment after compiling the image.
The kmesh version is dont need update everytime. If you use 1.2.3 tag, you just need to make sure that your compiled image always has this tag. loading a new image into kind will replace the old one.

@codesmith25103 any progress

@hzxuzhonghu Yes I am working on it.

Hello @YaoZengzeng and @LiZhenCheng9527,
I attempted to resolve the issue by modifying the mode in the URL in status_server.go. Additionally, I explored potential changes that might address the issue, but unfortunately, I have not been successful.
Could you kindly provide some guidance on how I might proceed?

I attempted to resolve the issue by modifying the mode in the URL in status_server.go. Additionally, I explored potential changes that might address the issue, but unfortunately, I have not been successful.
Could you kindly provide some guidance on how I might proceed?

so, can you describe your problems?

I made the required changes. When I ran the command kmeshctl dump kmesh-ctq7d dual-engine, I received the following result:

However on running kmeshctl dump kmesh-ctq7d kernel-native, I am reciving following error

I made the required changes. When I ran the command kmeshctl dump kmesh-ctq7d dual-engine, I received the following result:

However on running kmeshctl dump kmesh-ctq7d kernel-native, I am reciving following error

It's OK, this is the result we want.

That's good to know. I have open the PR request which will close this issue.


Aidstream Allowed Publication of Two Transactions Without Transaction Dates

The activity file published by Aidstream (https://www.aidstream.org/files/xml/ablechildafrica-activities.xml) for AbleChildAfrica currently reports two errors via the IATI Validator. On investigation it appears that two transactions have been published that do not contain a now mandatory (at V2.01) transaction date. The transaction both have a reference of 'DFID GPAF Y2 Q4 CHILD TO' and are for 868.33. (and we will also need to check if they are in fact duplicates?)
However, please can you  investigate the Aidstream validation to see if an amendment is required?
See also http://iatistandard.org/201/activity-standard/overview/transactions/ as transaction-date, value, value-date and transaction-type are now all mandatory?

The same error is also reported for
Africa Educational Trust - http://www.aidstream.org/files/xml/aet-activities.xml

Same as https://github.com/younginnovations/aidstream/issues/135#issuecomment-167989277


Quarterly EPS

Hi everyone,
I have noticed that yfinance doesn't support quarterly EPS but only annual within the ticket object, is there a way to retrieve the quarterly EPS that is required to calculate important ratios

@kkafkas did you get a solution?


Slicing Disabled - Slicing Profile dropdown empty.

I installed version 1.0.3 on OctoPrint 1.10.3 (OctoPi 1.0.0cam), installed the PrusaSlicer, exported the config.ini file from PrusaSlicer 2.8.1, and imported the profile on my RPi 4B. The profile did get named correctly (issue #3) but after uploading a small 5x5x5mm cube .stl file, I got the Slicing Disabled... message and the dropdown for the Slicing Profile is empty. I hope I have attached all the relevant files but let me know if you need anything else. Note: The LulzBot TAZ 6 is not currently connected to the RPi 4B. It is attached to an RPi 3B.
config.zip

octoprint-systeminfo-20241117083647.zip

I have the same issue thought I had done the configs wrong.
Hope this gets fixed looks to be a useful resource.


Test current master on all IE version

With newest modifications (performance improvements) we should make sure that current master is still working for all browsers.

There are problems on IE 11 & Edge when thigs aren't visible, see https://www.pentik.com/en/vrt10000504 Add to cart -buttons. When the plate size is changed 24 cm cannot be added to cart for some reason. Resizing the window or causing repaints in other ways 'fixes' this.

@jyrkij already tracked at https://github.com/marcj/css-element-queries/issues/46

This is different from #46 as we hack around it with not setting display: none; and setting height etc. to 0 instead. As you can see some of the Add to cart -buttons do work. What seems to work (hack again) is to set e.g. z-index to some random value to trigger ResizeSensor and after a few hundred milliseconds reset it.

So the differences is it is invisible through height=0? Does it work with height=1? Is this directly relateed to this issue #86 => master branch, or does it work with v0.3.2?

3/4 seem to work initially. The on that doesn't work with 0 height doesn't work with height: 1px;. And v0.3.2 doesn't work neither. So I think I hijacked the wrong thread after all. Sorry for that!

Mh interesting, if you find new information/clues please let me know, so I can start addressing it without doing it from scratch :)


Workflow doesnt take url into consideration

edit: to be clear im talking about an url from the same repo and not from another repo

This is working as intended. Since cross-repo support is impossible/impractical (https://github.com/Levi-Lesches/blocking-issues/issues/3), I chose to keep the required string as #XXX. This 1) forces you to refer to the same repository and 2) makes the comment resistant to changes in the repository/owner name. Allowing a URL implies cross-repo support, and the code will need to check if the repository is not the same and output a new error message users will have to look out for instead of simply not recognizing the URL.
Closing, but feel free to reopen or continue with more feedback.


Microsoft.ServiceFabric FabricClient error

Service Fabric Runtime Version: 7.2.445
Environment: Standalone
Description: Programmatic connection with FabricClient to the server fails with error:
System.InvalidCastException: 'Unable to cast COM object of type 'System.__ComObject' to interface type 'IFabricClusterManagementClient12'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{3EE688D1-4DB0-49BE-A636-981AED93120F}' failed due to the following error: No such interface supported (0x80004002 (E_NOINTERFACE)).'
This is a complete working example, only the certificate date has to be changed to suit one's own environment: https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-connect-to-secure-cluster#connect-to-a-secure-cluster-using-a-client-certificate-1
This is a regression. With nuget package Microsoft.ServiceFabric 7.1.458 it works fine.
Screenshot:

Observed behavior: exception
Expected Behavior: retrieve data from the cluster
OS(Windows/Linux): Windows
If this is a regression, which version did it regress from? Microsoft.ServiceFabric 7.1.458

Assignees: /cc @microsoft/service-fabric-triage

This issue was resolved by updating to the new NuGet SF packages.
https://www.microsoft.com/web/handlers/webpi.ashx?command=getinstallerredirect&appid=MicrosoftAzure-ServiceFabric-CoreSDK


Fix desired precision for test_ndarray.py:test_reduce

Description
Hi, there.
I change the testing precision for test_ndarray.py:test_reduce, to make the CI happy.
I have tested it for more than 900 times.
Related Test: http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/mxnet-validation%2Funix-cpu/detail/master/1349/pipeline
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[x] tiny change. The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[x] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at https://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[x] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[x] Change the testing precision for test_ndarray.py:test_reduce

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

Hi @apeforest , could you please help take a review? Thank you!


After neko-rooms creates a room, must restart docker before you can enter the room

Hello, when I use the tutorial to install neko-rooms in the intranet environment, I have to restart docker to enter the room, this is my env file.
TZ=Asia/Shanghai
NEKO_ROOMS_EPR=59000-59100
NEKO_ROOMS_NAT1TO1=<IP_ADDRESS>
NEKO_ROOMS_TRAEFIK_DOMAIN=test.com
NEKO_ROOMS_TRAEFIK_ENTRYPOINT=websecure
NEKO_ROOMS_TRAEFIK_NETWORK=neko-rooms-traefik
NEKO_ROOMS_TRAEFIK_CERTRESOLVER=lets-encrypt
NEKO_ROOMS_NEKO_IMAGES=m1k1o/neko:firefox m1k1o/neko:chromium m1k1o/neko:google-chrome
我在本地hosts文件中添加映射<IP_ADDRESS>  test.com

You mean restarting docker daemon? Seems like an issue with docker installation, that it is probably not setting up network properly. I never heard of such issue, with other containers it works without restarting?

Could you compare room logs (docker ps, find room, docker logs <container-name>) before and after restart? Whats different there. Also check neko-rooms logs if there is anything relevant. Make sure to have set NEKO_DEBUG=1 env variable and NEKO_ROOMS_DEBUG=1 for neko rooms to get verbose logs.

neko_debug.log
This is the complete log of my actions after creating a room. Could you please help me take a look

I do have the same issue.
When i create a new room with an, in my case, Intel iGPU and start it.
It fails to start, i need to stop it and start it again, then it works and continues to work.


font: complete migration of font subpackage to separate repo

This PR completes the migration of the font subpackage to separate tinygl-font repo.

This PR is ready @aykevl

Reminder to @aykevl please :smile:


Make Web pages responsive across android and i pad devices

Changes to be made:

Add hamburger menu button for android device and  a beautiful navbar.
properly size boxes and font size for small devices.
update footer and narbar ( better appearence)
Make the contact form responsive

Hey @4darsh-Dev !!!
Can you please assign this issue to me under GSS0C?

@kusumdesai sorry for the delay but our project got registered with gssoc yesterday,
so you can now work on this issue .
keep updating your progress and issues

Hey @4darsh-Dev
I too want to work on this issue. Please assign it to me.

@Komalpreet-Kaur112 , under gssoc assignment is on first come first serve basis,
so I can assign it to you if she has not responded  over 5+days,
Or if you want to collaborate with him, talk to him and divide the work.
I will assign it to both of you.

@kusumdesai  any work update ?

@Komalpreet-Kaur112  do you still want to work on it ?

@4darsh-Dev
Yes, I do want to work on this issue but will need some guidance as this will be my first contribution on this platform.

okay @Komalpreet-Kaur112,
But first let me know are you familiar with html, css and js ?
especially css media queries and all to make it responsive and user friendly.

@4darsh-Dev
Yes, I have worked in these all.

okay assigned to you @Komalpreet-Kaur112

@4darsh-Dev
Thank you for assigning me this task.
I have started working on it.

Hey @4darsh-Dev
I am unable to get those changes (django-web-app) on my system. I have tried fetching origin several times but still it hasn't worked to get those changes.
So, I tried working on the previous code. But I had some doubts regarding mobile phone responsiveness . So can you please provide me with the exact breakpoints for setting up the mobile responsive design ?

I would like to contribute on this issue under Gssoc'24. Please assign me the issue.

@Komalpreet-Kaur112  you have to use css media queries , you can choose breakpoints

max-width ( 480 to 320)
480 - 900
900 - 1300
1300 - 1980 ..
acutally you need breakpoints for mobile device range, i pad ios devices and , laptops screens

@Komalpreet-Kaur112  any work update?

Hey @4darsh-Dev
Thank you for sharing the details about the breakpoints.
I have created a hamburger menu, just a few settings left and about to finish responsiveness across ipad.
Currently, I have my exams going on until next week which is why I don't get enough time to work on the project. But I ensure you to get it all done sooner after my exams.

@Komalpreet-Kaur112 i've updated the frontend code in a separate project with folder named django-web-app, which is also live make your changes in that. If you've found any issues settting up project locally tell me.
Please help me know where to start from now as there are so many files in django-web-app. Maybe the base.html is file to start with but there is no css file actually connected to these(not working).

Please share these details ,so that I can get it done sooner.

you've not setup the project correctly, take reference from the readme, or follow tutorials to setup a django project

@4darsh-Dev  assign me i will create whole responsive everypages

assigned to you @anurag6569201 ,
check notice pinned in issues and readme for setting project on local device.
do it soon, others also working on this .

@4darsh-Dev can you do it for level 3 !!

@anurag6569201 make the changes, if it seems that it require level up then I will add level3 .

Hey @4darsh-Dev ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


feat(cb2-8168): amend VIN

CB2-8168: amend VIN - using patch to technical-record/{systemNumber}/{createdTimestamp}

I think the name of this file is confusing as there's a couple of other functions that are going to be patches, can this be renamed?

I think the name of this file is confusing as there's a couple of other functions that are going to be patches, can this be renamed?

We may... may... change this. We're unsure, so leave as is for now and if it needs changed in a future PR it can be done


AMF0:connect test is fixed

By using new String(data.array()) I find out all properties are present, the only problem is to parse them out.
Here: https://en.wikipedia.org/wiki/Real_Time_Messaging_Protocol#Connect I found the structure
Then I corrected the test to get all necessary values
hope it will help :)

Thank you for your diligence on this, I really appreciate the help!

glad to help :)
It is easier for me to fix tests, so please let me know if you have any new broken tests :)


Where is the mopidy log ?

Hi,
I installed jasper and configurated mopidy with your explication in your doc but where is the log of mopidy ?
I have a bug and I would like to see the log.
I don't have a fil in /var/log/mopidy/
Thanks

check mpd config file /etc/mpd.conf for log_file   param
log_file    "</path/to/mpd.log>"


Library to create Bloc elements & Toplo widgets

Hi @Nyan11,
I'm considering the library panel for creating elements (when click on + button of the tree).
I would like to propose a similar architecture to the "Pharo Settings", based on a pragma in methods.
Thus, all declared pragma should offer contents for the library (or catalog) similar to how classes offer Settings content.
It can be provided by active plugins or static classes. I'm not sure, but I think using plugins is more coherent with Pyramid principles.
This content can be a tree organized as menu or Tree Settings with a dedicated structure.
We can start from actuel PyramidLibraryElement to add these features.
The need is:

To provide basics BlElements prepared with shapes or properties (text, square, circle, image, etc.)
To offer Toplo Widgets, organized into categories (action, list, pane, etc.).

What is you opinion?

Currently, you have to write a BlocClosure that create a new BlElement to add it to the library list.

based on a pragma in methods

We can also imagine a solution based on the subclasses of BlElement. I do not like the class solution because there is a lot of subclasses of BlElement. The pragma solution remove the need to have any plugins because the pragma will automatically be detected.

It can be provided by active plugins or static classes.

plugins. This way we will have a plugin for Bloc and one for Toplo. Because Pragma are automatically detected, there will be a plugin that do not bring any modificaiton to Pyramid, it will just contains the Pragma for the library.
Later we could add a plugin with logos and icons.

This content can be a tree organized as menu

We should brainstorm all the elements we need in the library, and then organize them. It will be easier to make the different section and decide if the catalog model is a tree, a list or something else.

We can even imagine a system where each plugins bring it's on catalog.
For example the BlocLibrary plugin will be a list and the ToploLibrary plugin will be a menu with different categories.


Bug Report (Submitted by 4167)

Description
Card pack missing
Reproduction Steps
Bought two ruby packs. One opened great then trying to open other pack and it errored.  Now it says no packs avails to open, latest packs shows just one ruby pack, and bank shows 2 purchases.
No idea how to recreate
Operating System
iPhone
Browser
Safari
Device
Mobile

https://cdn.discordapp.com/attachments/675507660715589643/1322589531962343536/image.png?ex=67716cfc&is=67701b7c&hm=ddfceb8379f4919c788c64330ef46b13e8c85a40cda3981ba693085046a9eeff&
https://cdn.discordapp.com/attachments/675507660715589643/1322589532285308958/image.png?ex=67716cfd&is=67701b7d&hm=313c17a9db2623818324ca769ba60952eeb4c151813225d18703bdeb2eee361e&
Only saw thief buy 1 ruby pack

confirmed non issue


Build error: type ‘struct OpHlg’ violates the C++ One Definition Rule [-Werror=odr]

Hello,
this was discovered by Gentoo Linux developers: https://bugs.gentoo.org/875617
I am able to reproduce the problem with following compiler flags: -Werror=odr -flto
/var/tmp/portage/media-libs/libjxl-9999/work/libjxl-9999/lib/jxl/render_pipeline/stage_from_linear.cc:66:8: error: type ‘struct OpHlg’ violates the C++ One Definition Rule [-Werror=odr]
   66 | struct OpHlg {
      |        ^
/var/tmp/portage/media-libs/libjxl-9999/work/libjxl-9999/lib/jxl/render_pipeline/stage_to_linear.cc:62:8: note: a different type is defined in another translation unit
   62 | struct OpHlg {
      |        ^
/var/tmp/portage/media-libs/libjxl-9999/work/libjxl-9999/lib/jxl/render_pipeline/stage_from_linear.cc:78:11: note: the first difference of corresponding definitions is field ‘hlg_ootf_’
   78 |   HlgOOTF hlg_ootf_;
      |           ^
/var/tmp/portage/media-libs/libjxl-9999/work/libjxl-9999/lib/jxl/render_pipeline/stage_to_linear.cc:79:11: note: a field of same name but different type is defined in another translation unit
   79 |   HlgOOTF hlg_ootf_;
      |           ^
/var/tmp/portage/media-libs/libjxl-9999/work/libjxl-9999/lib/jxl/dec_tone_mapping-inl.h:132:7: note: type ‘struct HlgOOTF’ defined in anonymous namespace cannot match across the translation unit bounda          ry
  132 | class HlgOOTF {
      |       ^
/var/tmp/portage/media-libs/libjxl-9999/work/libjxl-9999/lib/jxl/render_pipeline/stage_from_linear.cc:88:8: error: type ‘struct OpGamma’ violates the C++ One Definition Rule [-Werror=odr]
   88 | struct OpGamma {
      |        ^
/var/tmp/portage/media-libs/libjxl-9999/work/libjxl-9999/lib/jxl/render_pipeline/stage_to_linear.cc:89:8: note: a different type is defined in another translation unit
   89 | struct OpGamma {
      |        ^
/var/tmp/portage/media-libs/libjxl-9999/work/libjxl-9999/lib/jxl/render_pipeline/stage_from_linear.cc:89:15: note: the first difference of corresponding definitions is field ‘inverse_gamma’
   89 |   const float inverse_gamma;
      |               ^
/var/tmp/portage/media-libs/libjxl-9999/work/libjxl-9999/lib/jxl/render_pipeline/stage_to_linear.cc:90:15: note: a field with different name is defined in another translation unit
   90 |   const float gamma;
      |               ^
/var/tmp/portage/media-libs/libjxl-9999/work/libjxl-9999/lib/jxl/render_pipeline/stage_from_linear.cc:25:8: error: type ‘struct PerChannelOp’ violates the C++ One Definition Rule [-Werror=odr]
   25 | struct PerChannelOp {
      |        ^
/var/tmp/portage/media-libs/libjxl-9999/work/libjxl-9999/lib/jxl/render_pipeline/stage_to_linear.cc:25:8: note: a different type is defined in another translation unit
   25 | struct PerChannelOp {
      |        ^
/var/tmp/portage/media-libs/libjxl-9999/work/libjxl-9999/lib/jxl/render_pipeline/stage_from_linear.cc:34:6: note: the first difference of corresponding definitions is field ‘op’
   34 |   Op op;
      |      ^
/var/tmp/portage/media-libs/libjxl-9999/work/libjxl-9999/lib/jxl/render_pipeline/stage_to_linear.cc:34:6: note: a field of same name but different type is defined in another translation unit
   34 |   Op op;
      |      ^
/var/tmp/portage/media-libs/libjxl-9999/work/libjxl-9999/lib/jxl/render_pipeline/stage_from_linear.cc:88:8: note: type ‘struct OpGamma’ itself violates the C++ One Definition Rule
   88 | struct OpGamma {
      |        ^
/var/tmp/portage/media-libs/libjxl-9999/work/libjxl-9999/lib/jxl/render_pipeline/stage_to_linear.cc:89:8: note: the incompatible type is defined here
   89 | struct OpGamma {
      |        ^
/var/tmp/portage/media-libs/libjxl-9999/work/libjxl-9999/lib/jxl/render_pipeline/stage_to_linear.cc:68:8: warning: type of ‘Transform’ does not match original declaration [-Wlto-type-mismatch]
   68 |   void Transform(D d, T* r, T* g, T* b) const {
      |        ^
/var/tmp/portage/media-libs/libjxl-9999/work/libjxl-9999/lib/jxl/render_pipeline/stage_from_linear.cc:72:8: note: ‘Transform’ was previously declared here
   72 |   void Transform(D d, T* r, T* g, T* b) const {
      |        ^
/var/tmp/portage/media-libs/libjxl-9999/work/libjxl-9999/lib/jxl/render_pipeline/stage_from_linear.cc:72:8: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
lto1: some warnings being treated as errors
lto-wrapper: fatal error: /usr/bin/x86_64-pc-linux-gnu-g++ returned 1 exit status
compilation terminated.
/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: error: lto-wrapper failed

I can reproduce this problem at v0.7.0 with
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DCMAKE_C_FLAGS="-Werror=odr -flto" -DCMAKE_CXX_FLAGS="-Werror=odr -flto" ..

At current head this problem does not exist anymore, it apparently has been fixed by #1920, more specifically
https://github.com/libjxl/libjxl/pull/1920/commits/cac43b80e6eb29ad182599b31c61cfaf783f0fe0


Allow network buffers to work directly with peripheral memory

The above diagram shows how memory is copied from peripheral memory into system memory before it is again copied by the transport layer into the final message data passed to applications. It should be possible to allow a platform to expose the peripheral memory directly to the transport layer using the media layer as an abstract memory view. This will require an abstract means for safely sharing this memory so there's some careful design that has to occur first.

Superseded by https://github.com/OpenCyphal-Garage/libcyphal/issues/225
Implementation in https://github.com/OpenCyphal-Garage/libcyphal/pull/407


[Feature] Replace template buttons in left panel with functional one

Description
Replace template buttons in left panel with:

Categories, for example Smartphones, Computers and Laptops, TV

And this buttons should change out center panel

Stale.


[Docs] implement small docs changes about compatibility, plotly express and versioning

Description
Addresses https://github.com/McK-Internal/vizro-internal/issues/444

[x] add to docs that not refer to front-end changes as breaking changes
[x] add to docs about browser support (that support Chrome, and other browsers may work but are not officially supported)
[x] Make more apparent when px charts need capture or not, see context: https://quantumblack.slack.com/archives/C02HQNRQYF2/p1707404245314859

Screenshot
Notice

[x] I acknowledge and agree that, by checking this box and clicking "Submit Pull Request":

I submit this contribution under the Apache 2.0 license and represent that I am entitled to do so on behalf of myself, my employer, or relevant third parties, as applicable.
I certify that (a) this contribution is my original creation and / or (b) to the extent it is not my original creation, I am authorized to submit this contribution on behalf of the original creator(s) or their licensees.
I certify that the use of this contribution as authorized by the Apache 2.0 license does not violate the intellectual property rights of anyone else.
I have not referenced individuals, products or companies in any commits, directly or indirectly.
I have not added data or restricted code in any commits, directly or indirectly.

Great! Do we want to keep the new Compatibility page under the Explanation or move it to the Contribute section?

So I felt it was better placed here, as this is independent of contributing, but rather a general explanation about our product. Curious to see what @stichbury thinks

I like it! I think you're right to keep the compatibility separate from the contribution content. I also think the explanation section is probably the best right now. I'm leaning towards creating an FAQ page in the Get Started section where this content would probably fit best, and other FAQs would come out of the explanation page (ideally we will scrap that page entirely in due course and relocate the content). The contributor FAQs should stay where they are in that section.
Let's leave where you've placed it for now but we can be mindful that it may move. Sound reasonable? @maxschulz-COL @antonymilne @huong-li-nguyen ?


Incorrect filename in Content-Disposition header

Fixes of #167, #124, #225 and #285 only mask the error, but never generate the correct Content-Disposition header.
With those fixes:
when rfc6266 is installed, we get TypeError as reported in #274.
when rfc6266 is not installed, we get incorrect filename in Content-Disposition header. For example, if the filename is hello.c, instead of Content-Disposition: attachment; filename=hello.c, we get Content-Disposition: attachment; filename=b'hello.c'. This may explain #333.
With incorrect filenames, Tika's content detection may return different file types. Use the same hello.c as an example, with Content-Disposition: attachment; filename=hello.c, Tika content detection returns text/x-csrc, while with Content-Disposition: attachment; filename=b'hello.c', Tika returns text/plain, because Tika thinks the file name is b'hello.c'.

Interesting. Please propose a patch to fix this if you have time. Thanks @tongwang I will take a look if you submit a PR and in the next release.


Fix for ObjectDisposedException on Android

I was getting an ObjectDisposedException on Android when using SlideOverKit for root level navigation.

Thanks for your contribution.


Limit concurrency to avoid duplicate entries.

Per personal use – there are sometimes dozens of entries of papers dumped. This seems indicative that one of two routes needs to be taken to avoid it:

Prevent GitHub Actions from running in parallel.
Before each "create" – query the Notion database for the article.

(1) could be problematic because it might lead to extensive turnaround times on propagating updates to the Notion database, but based on concurrency, this might work. (2) would really drive up the number of API requests, which could be problematic – need to investigate this further.

Added concurrency key to the .github/workflows/sync.yml in the template repository.


How to write custom component?

I want to implement a custom component by following this guide.
Unfortunately, I feel there are many details missing in the documentation.
First of all, is it possible to write the component in any language?  This was my first confusion in the step 2 :

Copy component files from the reference component to your component directory

All following steps are then related to 'GO".
It would be helpful to provide a few more conceptual details in different languages (I personally prefer C#).
Thanks in advance
RELEASE NOTE: UPDATED instructions mentioning custom components are written in Go lang.

As the components are imported and loaded into the main daprd (over in https://github.com/dapr/dapr) which is written in Go, this means all components have to be written in Go also

Any plans to change this limitation? We have today few enterprise approved languages and platforms. Go might be ok, but it is still does not play a role in enterprises. For the case that it never becomes important part of enterprise application development, it would be reasonable to provide other options.
Independent on this, if dapr a polyglot platform, then it should also be polyglot in its core.

@ddobric please refer to this related issue and explanation of the current limitations in the go plugin model: https://github.com/dapr/dapr/issues/739

Hopefully #706 addresses at least the ambiguity of Go being used as the language for implementing components. Please reopen otherwise.


I need more accuracy

Please make sure that this is a feature request. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:feature_template
System information

TensorFlow version (you are using):
1.13 and 2.0
Are you willing to contribute it (Yes/No):
Yes

Describe the feature and the current behavior/state.
Tensorflow has been used to compute images but I want to use Tensorflow to compute Biological Models. However, the biological model requires big division and this causes numerical instability. I want to have tensorflow that supports more numerically stablility.
Will this change the current api? How?
I don't know
Who will benefit with this feature?
A biologist who wants to use tensorflow as a means to compute gene expression models with high degree of accuracy.
Any Other info.
This is based on my recent work in
https://www.biorxiv.org/content/10.1101/655639v1

This is not Build/Installation or Bug/Performance issue. Please post this kind of support questions at Stackoverflow. There is a big community to support and learn from your questions. GitHub is mainly for addressing bugs in installation and performance. Thanks!


FE-142: inverted index UI

Scope & Purpose
Adds the inverted index addition screen

[x] :pizza: New feature

Checklist

[x] Tests

[x] Manual tests

[ ] :book: CHANGELOG entry made

Related Information

[x] GitHub issue / Jira ticket: https://arangodb.atlassian.net/browse/FE-142

[x] https://jenkins01.arangodb.biz/job/arangodb-ANY-jslint/27857/


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-source-version-target/pull/90 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-source-version-target.git

Docs Build status updates of commit 0a62042:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-UserAccountBuildPermissionInsufficientError] Owner v-alji no longer has Read permission of the repository https://github.com/opstest2/docs-archive-test-source. It might be due to recent GitHub changes on SSO. Please ask the owner v-alji to logon to Docs Portal https://ops.microsoft.com once again. If it is not the case, please ask anyone of Admin permission of the repo to assign a new owner via Docs Portal https://ops.microsoft.com

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


YAML validation error when using aliases

I'm evaluating portainer and tried to re-use our stack yaml files. In most cases it works fine with one exception:
Bug description
When using alias extensions the validation fails when using more then one extension although it is correct yaml.
Means:
services:
  db:
    image: postgres:10
    <<: *restart_policy
    stop_grace_period: "3s"

is fine.
but
  proxy:
    <<: *image
    <<: *restart_policy
    ports:
      - "${PORT:-8080}:80"

fails.
I searched a while and I always read, multiple extensions with << are correct yaml.
Expected behavior
Multiple << alias extensions in compose yaml should be accepted and used like docker-compose, docker swarm and any other yaml-reader does.
Technical details:

Portainer version: 2.6.3
Docker version (managed by Portainer): 20.10.2, build 2291f61
Platform (windows/linux): Linux
Browser: Chrome/Firefox
Use Case (delete as appropriate): Using Portainer at Home, Using Portainer in a Commerical setup.
Have you reviewed our technical documentation and knowledge base? Yes

Additional context
I detected this behavior while porting a long time used stack configuration to portainer. Eg., configuration always worked with docker stack deploy .... and I had to rewrite it so it was usable with portainer.

It looks like it's using yaml v 1.10.0 to validate the input:
https://github.com/portainer/portainer/blob/d911c50f1baf24021032b991bcc45e093ac4a679/package.json#L107
And it's validating without the merge flag:
https://github.com/portainer/portainer/blob/d911c50f1baf24021032b991bcc45e093ac4a679/app/portainer/helpers/stackHelper.js#L30
Which would be needed as per:
https://github.com/eemeli/yaml/issues/21
Meaning that this will work:
version: '3.4'
x-image:
  &image
  image: nginx:latest
x-restart_policy:
  &restart_policy
  restart_policy:
    condition: on-failure
services:
  nginx-extension-field:
    <<: *image
    deploy: *restart_policy

But this won't:
version: '3.4'
x-image:
  &image
  image: nginx:latest
x-restart_policy:
  &restart_policy
  deploy:
    restart_policy:
      condition: on-failure
services:
  nginx-extension-field:
    <<: *image
    <<: *restart_policy

mmm, https://www.npmjs.com/package/yaml - v1.1.0 is from 3 years ago, and it goes to v1.10, and there's a new v2.0.0-8 to consider.

@Messinger I've created an internal ticket for this.
Sounds like you're doing some interesting stuff though. How has the rest been going?

Sorry, forgot to reply...
most things are fine. But one next problem with multiple ports, I'll create a new ticket for this because it is a bit more complicated.

I'm still waiting to fix this issue.

https://github.com/portainer/portainer/blob/d1a1832654b43a85bf30d54ea26b01270a3d5e12/package.json#L142
This package is really old. Do we have plan for upgrading it?

Merge Keys are only part of YAML 1.1 which is deprecated, not part of YAML 1.2 nor 1.0. That means that Merge Keys are born deprecated. - https://ktomk.github.io/writing/yaml-anchor-alias-and-merge-key.html

Would be awesome to have the yaml version upgraded to the latest version. I got the exact same problem as @Messinger and were able to solve it by adding below lines to the head of my yaml file when deploying a new stack. :)
%YAML 1.1
---

Still an issue. Since 2.16.1 even more, cause it's checking on existing stacks now as well. Even tho it is no part of YAML 1.2 anymore Docker supports it and so should Portainer IMHO. Or at least give me an option to overwrite the check.

I too am having this issue. Using BE 2.18.3.


Yii2 API Rest not returning JSON when the method is not allowed[405]

What steps will reproduce the problem?
I built a structure for API Rest in Yii2 (Version 2.0.10).
I have this situation:
Class Even with relative modelClass:
namespace app\api\modules\v1\controllers;
class EvenController extends OddController
{
    public $modelClass = 'app\api\modules\v1\models\Even';
}

Class Odd that extend \yii\rest\ActiveController:
namespace app\api\modules\v1\controllers;
class OddController extends ActiveController
{
public function behaviors()
    {
        $behaviors = parent::behaviors();
        $behaviors['verbFilter'] = [
            'class' => VerbFilter::className(),
            'actions' => $this->verbs(),
        ];

        return $behaviors;
    }

    public function actions()
    {
        $actions = parent::actions();
        $actions['foo'] = [
            'class' => 'app\api\modules\v1\actions\FooAction',
            'modelClass' => $this->modelClass,
            'checkAccess' => [$this, 'checkAccess'],
        ];

        return $actions;
    }

    public function verbs()
    {
        $verbs = parent::verbs();
        $verbs['foo'] = ['GET', 'HEAD'];

        return $verbs;
    }
}

Class FooAction that extend \yii\rest\Action:
namespace app\api\modules\v1\actions;
class FooAction extends Action
{
    public function run()
    {
        if ($this->checkAccess) {
            call_user_func($this->checkAccess, $this->id);
        }

        return ['mydatareturned']);
    }
}

Component UrlManager in config:
'urlManager' => [
            'showScriptName' => false,
            'enablePrettyUrl' => true,
            'enableStrictParsing' => true,
            'rules' => [
                [
                    'class' => 'yii\rest\UrlRule',
                    'controller' => [
                        'v1/even',
                    ],
                    'pluralize' => false,
                    'tokens' => [
                        '{id}' => '<id:\\w+>',
                    ],
                    'except' => ['delete', 'create', 'update'],
                    'extraPatterns' => [
                        'foo' => 'foo'
                    ]
                ],
            ],
        ],

What is the expected result?
I use POSTMAN, when i call my API Rest named "api.localhost.dev" the result is this, look few example:

 Request URL: api.localhost.dev/even
 Method: GET
 Status: 200
 Response:  JSON with data table of model Even

 Request URL: api.localhost.dev/even/foo
 Method: GET
 Status: 200
 Response:  JSON with my data returned by "run"

 Request URL: api.localhost.dev/even
 Method: POST
 Status: 405
 Response:  EMPTY!!!!

 Request URL: api.localhost.dev/even/foo
 Method: POST
 Status: 405
 Response:  JSON with information error 405 catched

What do you get instead?
Why using default actions implemented in yii\rest the response is EMPTY? If i want use APIs in a client frontend app with a call in javascript it would be useful to have the response JSON over only status.
Now I debug through yii class and i found in class yii\filters\VerbFilter this method:
    public function beforeAction($event)
    {
        $action = $event->action->id;
        // $action is always =='options' when use default rest action, why??
        if (isset($this->actions[$action])) {
            $verbs = $this->actions[$action];
        } elseif (isset($this->actions['*'])) {
            $verbs = $this->actions['*'];
        } else {
            return $event->isValid;
        }

        $verb = Yii::$app->getRequest()->getMethod();
        $allowed = array_map('strtoupper', $verbs);
        if (!in_array($verb, $allowed)) {
            $event->isValid = false;
            // http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.7
            Yii::$app->getResponse()->getHeaders()->set('Allow', implode(', ', $allowed));
            throw new MethodNotAllowedHttpException('Method Not Allowed. This url can only handle the following request methods: ' . implode(', ', $allowed) . '.');
        }

        return $event->isValid;
    }

If i debug action id in case of a call to default implemented action is always "options", instead in case of a call to my custom action the action id is correct(name of my action), so the MethodNotAllowedHttpException not throwed.
Additional info
I think is becouse the default url settings provide by UrlManager is this:
    'PUT,PATCH even/<id>' => 'even/update',
    'DELETE even/<id>' => 'even/delete',
    'GET,HEAD even/<id>' => 'even/view',
    'POST even' => 'even/create',
    'GET,HEAD even' => 'even/index',
    'even/<id>' => 'even/options',
    'even' => 'even/options',

But, my question is:
Are there no methods to avoid this? Thank you for your help.
Alberto

Q
A

Yii version
2.0.10

PHP version
5.5.38

Operating system
Linux CentOS7

For fix now? Can you help me @samdark?

First of all, try updating to <IP_ADDRESS> then, if it doesn't work try code from master branch. Then report back.

Grazie, thank you! Tomorrow i try it...

I update to <IP_ADDRESS> version but doesn't work.

Seems you need to adjust your URL manager config a bit:
[
        'class' => 'yii\rest\UrlRule',
        'controller' => ['1.0/even' => 'api1/even'],
        'only' => ['index', 'view'], // THIS
        'prefix' => 'api',
    ],

Sorry @samdark but that does not work.

How exactly it does not work?

Look at (3.) in "What is the expected result?" paragraph:
3.
Request URL: api.localhost.dev/even
Method: POST
Status: 405
Response:  EMPTY!!!!
Now the response code is 404, instead 405 (and the response continues to be empty).

Well, 404 is expected. Empty is not. Are you in debug or in production mode? Have you customized error handler?

Response is not empty, my wrong.
Constant YII_ENV is set to "dev".
Constant YII_DEBUG is set to true.
In config i removed the component "errorHandler", but in the construct of base/Application the default core component errorHandling class is registered and is "yii\web\ErrorHandler". So i not customized error hander.

Response is not empty, my wrong.

What it is then?

Default html code of 404 error.

Then it's all fine, isn't it? You've limited actions to 'index', 'view' and getting 404 for an action which is not in the list.

Or... maybe I don't understand what the issue is all about...

If i limited actions to 'only' => ['index', 'view'] (or 'except' => ['delete', 'create', 'update']) .
I expect that the response of this request:
curl -i -H "Accept:application/json" -XPOST "http://api.localhost.dev/api/v1/even"
is an 405 MethodNotAllowedException with JSON response not empty against a 404 NotFoundException.
Look (3.) and (4.) of paragraph named "What is the expected result?".
The issue is visible in the response of (3.) and (4.), but I try to explain again. If i call a default action implemented in Yii with not allowed method the response code is correct(405) but the json response is empty.
In case of i call a custom action the returned code is correct(405) and json response work great, is not empty.
Why this difference? I think is an issue.

Ah... if you need method no allowed then you should not modify URL rules but instead use VerbFilter in the controller.

Need to check about JSON response...

//i ovveride this for specify my custom action's allowed methods
public function verbs()
{
        $verbs = parent::verbs();
        $verbs['foo'] = ['GET', 'HEAD'];

        return $verbs;
}

You mean I have to override this completely and specify 'index', 'view' allowed methods?

Yes.

Ok, I tried with this configuration of verbs filter:
public function verbs()
{
        $verbs = [
            'foo' => ['GET', 'HEAD'],
            'index' => ['GET', 'HEAD'],
            'view' => ['GET', 'HEAD']
        ];

        return $verbs;
}

Nothing change.
And now I noticed that if i use 'only' => ['index', 'view'] and try to make a DELETE the code returned is a 404 and not go inside beforeAction($event) of yii\filters\VerbFilter .
But if i use 'except' => ['delete', 'create', 'update'] go inside beforeAction($event) of yii\filters\VerbFilter and $event->action->id is 'options'.

I carried out the controls through the Yii classes. The problem is due to a lack in the method "parseRequest" of the class web\UrlRule.
This method attempts to find a match between the request and the url rules. The problem is that the method does not retain the "route" of the request but overwrite with another. This is because the control of the verb returns "false" in parseRequest. Look at comments.
Class web\UrlRule:
public function parseRequest($manager, $request)
    {
        if ($this->mode === self::CREATION_ONLY) {
            return false;
        }

        if (!empty($this->verb) && !in_array($request->getMethod(), $this->verb, true)) {
            // there is a problem, when try to parse an a not allowed method this return false,
            // this method match 'options' action (not correct) and parse with it and use the options route insted original route.
            return false;
        }

        $suffix = (string)($this->suffix === null ? $manager->suffix : $this->suffix);
        $pathInfo = $request->getPathInfo();
        $normalized = false;
        if ($this->hasNormalizer($manager)) {
            $pathInfo = $this->getNormalizer($manager)->normalizePathInfo($pathInfo, $suffix, $normalized);
        }
        if ($suffix !== '' && $pathInfo !== '') {
            $n = strlen($suffix);
            if (substr_compare($pathInfo, $suffix, -$n, $n) === 0) {
                $pathInfo = substr($pathInfo, 0, -$n);
                if ($pathInfo === '') {
                    // suffix alone is not allowed
                    return false;
                }
            } else {
                return false;
            }
        }

        if ($this->host !== null) {
            $pathInfo = strtolower($request->getHostInfo()) . ($pathInfo === '' ? '' : '/' . $pathInfo);
        }

        if (!preg_match($this->pattern, $pathInfo, $matches)) {
            return false;
        }
        $matches = $this->substitutePlaceholderNames($matches);

        foreach ($this->defaults as $name => $value) {
            if (!isset($matches[$name]) || $matches[$name] === '') {
                $matches[$name] = $value;
            }
        }
        $params = $this->defaults;
        $tr = [];
        foreach ($matches as $name => $value) {
            if (isset($this->_routeParams[$name])) {
                $tr[$this->_routeParams[$name]] = $value;
                unset($params[$name]);
            } elseif (isset($this->_paramRules[$name])) {
                $params[$name] = $value;
            }
        }
        if ($this->_routeRule !== null) {
            $route = strtr($this->route, $tr);
        } else {
            $route = $this->route;
        }

        Yii::trace("Request parsed with URL rule: {$this->name}", __METHOD__);

        if ($normalized) {
            // pathInfo was changed by normalizer - we need also normalize route
            return $this->getNormalizer($manager)->normalizeRoute([$route, $params]);
        } else {
            return [$route, $params];
        }
    }

Consequently it is explained why the $action->id is always 'options':
Class yii\filters\VerbFilter:
    public function beforeAction($event)
    {
        $action = $event->action->id;
        // $action->id is always 'options' when use default rest action, becouse default implemented action /
        //with not allowed method return only 'options', 'options' not has verb
        //filter and not throw the exception.
        if (isset($this->actions[$action])) {
            $verbs = $this->actions[$action];
        } elseif (isset($this->actions['*'])) {
            $verbs = $this->actions['*'];
        } else {
            return $event->isValid;
        }

        $verb = Yii::$app->getRequest()->getMethod();
        $allowed = array_map('strtoupper', $verbs);
        if (!in_array($verb, $allowed)) {
            $event->isValid = false;
            // http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.7
            Yii::$app->getResponse()->getHeaders()->set('Allow', implode(', ', $allowed));
            throw new MethodNotAllowedHttpException('Method Not Allowed. This url can only handle the following request methods: ' . implode(', ', $allowed) . '.');
        }

        return $event->isValid;
    }

Hey @samdark can you help me? Sorry but i I need to know if you fix it.

It's scheduled to after 2.0.12 release. Will dig into it then.

ok thank you

where did you configured your errorAction? mostlikely the exception is been thrown before the error action is configured. i solved it on a library like this
https://github.com/tecnocen-com/yii2-roa/blob/master/src/modules/ApiContainer.php#L60
maybe we can make a module behavior to do this

@alvarofvr I tried your idea protected function verbs() { and its working but how to set this as a global. so that i don't have to write in every controller file.


Multiple workers with live + auto_push + exec_pull not working?

So we have (roughly) the following config:
worker_processes 4;
rtmp_auto_push on;

/* Other config for HTTP */

rtmp {
        server {
                listen x.y.z.u:1935;

                application rtmplive {
                        record off;
                        live on;
                        exec_pull /usr/bin/media_rtmp_wrapper "$name" "$args";
                        exec_kill_signal term;

                        on_play http://myhost.com/rtmponplay/;

                        # Logging
                        access_log /var/log/rtmp.log combined;

                        # Allow playing from everywhere, but publishing only from our local IP
                        allow play all;
                        allow publish x.y.z.u;
                        deny publish all;
                }
        }
}

The rtmp wrapper starts an ffmpeg which streams a livestream from another source to the RTMP URL.
If I have worker_processes 4 (or anything > 1), I can randomly not get the stream to play.
Using rtmpdump it then hangs on receiving data.
If I try some more times, it does work.
When I only have 1 worker process, everything always works.
Auto push is enabled, but I do seem to be getting errors in my debug log:
2016/07/01 15:12:50 [debug] 26950#0: *411 auto_push: reconnect
2016/07/01 15:12:50 [debug] 26950#0: *411 auto_push: connect slot=0 pid=26949 socket='unix:/tmp/nginx-rtmp.0' name='account=zr5gPuXJQ9kS.livestream=3osAsaVZf8q2'
2016/07/01 15:12:50 [debug] 26950#0: *411 auto_push: connect slot=2 pid=26951 socket='unix:/tmp/nginx-rtmp.2' name='account=zr5gPuXJQ9kS.livestream=3osAsaVZf8q2'
2016/07/01 15:12:50 [debug] 26950#0: *411 auto_push: connect slot=3 pid=26952 socket='unix:/tmp/nginx-rtmp.3' name='account=zr5gPuXJQ9kS.livestream=3osAsaVZf8q2'
2016/07/01 15:12:50 [debug] 26950#0: *411 auto_push: stat() failed: slot=4 pid=26953 socket='unix:/tmp/nginx-rtmp.4'url='' name='account=zr5gPuXJQ9kS.livestream=3osAsaVZf8q2'
2016/07/01 15:12:50 [debug] 26950#0: *411 auto_push: stat() failed: slot=5 pid=26954 socket='unix:/tmp/nginx-rtmp.5'url='' name='account=zr5gPuXJQ9kS.livestream=3osAsaVZf8q2'
2016/07/01 15:12:50 [debug] 26950#0: *411 auto_push: pushed=3 total=4 failed=0
2016/07/01 15:12:51 [debug] 26950#0: *414 auto_push: disconnect slot=3 app='' name='account=zr5gPuXJQ9kS.livestream=3osAsaVZf8q2'

Am I correct in thinking that it uses the wrong slots? I.e. it disconnects from slot 3, but pushes to slot 0, 2 and 3. What happened to slot 1?

Or maybe because app is empty?

multi-worker  with auto-push  is not stable， it's a well-know issue.  And Author always tell us "DO NOT USE IT IN PRODUCTION".

i have the same trouble without the "auto-push", only live and hls on;.
if i increase the workers upper than 1, the stream don't work. (i can push, but i can't watch).
My computer is dual-core, and i would like use 2 workers to increase the fps.

Worker number has nothing to do with fps here. Nginx will handle traffic on
one core and I think you will first hit bandwidth limit. Encoder should use
multiple cores, but server don't have to.

I am with @darktar
The stream is not stable after I increase worker number to 2 from 1.
I use ffmpeg to record the stream. But the process will hang there after recoding a few minutes.

hey can any one explain me what is   worker_processes and worker_connections  ?


Copy and paste Geometry => Geometry SRID (0) does not match column

System information:
Windows 10
DBeaver version 21.0.3
POSTGIS="3.0.3 6660953" [EXTENSION] PGSQL="120" GEOS="3.9.1-CAPI-1.14.2" PROJ="7.2.1" LIBXML="2.9.1" LIBJSON="0.11" LIBPROTOBUF="1.0.2" WAGYU="0.4.3 (Internal)"
Connection specification:

psql (PostgreSQL) 12.2

Describe the problem you're observing:
SQL Error [22023]: ERROR: Geometry SRID (0) does not match column SRID (3395)
ERROR: Geometry SRID (0) does not match column SRID (3395)
ERROR: Geometry SRID (0) does not match column SRID (3395)
Steps to reproduce, if exist:
When copy-pasting from the right-column in the screenshot above to the left column.
Dbeaver recognizes both column types correctly (Geometry(POINT,3395)).
It saves correctly if I copy to vs-code and append SRID=3395; to the front of the wkt, paste into the left column, and Ctrl+S.
Similar tickets:
https://github.com/dbeaver/dbeaver/issues/5881
https://github.com/dbeaver/dbeaver/issues/4461

Thank you for the report.


Scrollable within PanController

Thanks for making this little module!
I'm trying to implement some functionality but can't seem to get it to work correctly. What I essentially want is a scrollable pane which can be enlarged. When first opened, it would be 50% of the viewport height, but you can drag it upward and it will reach 100% of the viewport height. Once at 100% viewport height (ie. it is the entire viewport), you could scroll the contents. You could downsize it back to being 50% of the viewport by scrolling back to the top and dragging down.
Does that make sense? Is it possible to do this using PanController?
My trouble comes with the interaction between the ScrollView and the PanController—the ScrollView never takes over, so you can't scroll its contents.

Hi @morgante
Thanks for your question... I still haven't really "released" this component yet, so there are still some things that that I have left to implement and might not work correctly...
With that out of the way, let me see if I can understand what you are trying to do...
Using a ScrollView inside the PanController will likely never be possible. The PanController is meant to emulate things like the ScrollView (and additional behavior like you are wanting).
If I understand what you are trying to do, this should be pretty easy. Is there an app that already does this where you are trying to emulate the behavior?  If you can post a gif of the UI, I can try and emulate it for you.  If not, here is what I would recommend doing:

Use the PanController to emulate the scrollview entirely. This can be done by simple enabling the vertical option and passing in an Animated.Value to the panY.
Create a translateY interpolated value from your panY value like so:

var translateY = this.state.panY.interpolate({
  inputRange: [0, breakpoint, breakpoint+1],
  outputRange: [0,0,1]
})

Apply this value to the translateY of the inner view
Create a height interpolated value from your panY value like so:

var height = this.state.panY.interpolate({
  inputRange: [0, breakpoint, breakpoint+1],
  outputRange: [starting_height, screen_height, screen_height]
})

Apply the height value to the height of the inner view.
You'll probably also have to tweak some things like the height of the container using the  measure API. This is one of the things I have left to abstract out into the PanController component, but for now you'll have to do this manually.

Note: my ScrollView implementation would be a good starting point: https://github.com/lelandrichardson/react-native-pan-controller/blob/master/lib/ScrollView.js

Thanks for the pointers. I think that makes sense, but how do you handle the transition from scrolling within the pane to scrolling the pane down (decreasing its size).
The effect I'm trying to achieve can be seen in the Facebook Paper app. The cards at the bottom of the screen can be dragged left and right, or up, which increases their size until they take over the screen and become scrollable.

@morgante can you record a gif?  The transition should be able to be handled through proper use of interpolation

@morgante is it something like this https://github.com/olivierlesnicki/react-native-switcher you're trying to achieve?
I've only just discovered react-native-pan-controller and I'm currently thinking about using it for the example above.

The more I think of it, the less I think it's possible. You'd need a way to compute an Animated value based on the values of the panX and panY (looks like a good example for Animated.Formula)
I'm actually trying to achieve the same thing:
var React = require('react-native');
var PanController = require('react-native-pan-controller').PanController;

var Switcher = React.createClass({

  getDefaultProps() {
    return {
      scroll: new React.Animated.Value(0),
      zoom: new React.Animated.Value(0),
    };
  },

  getInitialState() {
    return {
      width: 0,
      height: 0,
    };
  },

  layout(e) {
    this.setState({
      width: e.nativeEvent.layout.width,
      height: e.nativeEvent.layout.height,
    });
  },

  render() {

    var children = this.props.children.map ? this.props.children : [this.props.children];

    return (
      <React.View
        onLayout={this.layout}
        style={{
          flex: 1,
        }}
      >
        <PanController
          momentumDecayConfig={{
            decceleration: 0.1,
          }}
          horizontal={true}
          overshootX='spring'
          snapSpacingX={this.state.width}
          xBounds={[-this.state.width * (this.props.children.length - 1), 0]}
          panX={this.props.scroll}
          panY={this.props.zoom}
          style={{
            flex: 1,
          }}
        >
          {children.map((child, i) => {

            var delta = this.props.scroll.interpolate({
              inputRange: [-this.state.width * (i + 1), -this.state.width * i],
              outputRange: [-1, 0],
            });

            var translateX = delta.interpolate({
              inputRange: [-1, 0, 0.5, 1],
              outputRange: [-this.state.width / 8, 0, this.state.width / 4 , 2 * this.state.width / 3],
            });

            var scale = delta.interpolate({
              inputRange: [0, 1],
              outputRange: [0.73, 0.75],
            });

            return (
              <React.Animated.View
                key={i}
                style={[{
                  position: 'absolute',
                  top: 0,
                  left: 0,
                  right: 0,
                  bottom: 0,
                  transform: [
                    {translateX},
                    {scale},
                  ],
                },]}>
                {child}
              </React.Animated.View>
            );
          })}
        </PanController>
      </React.View>
    );
  }
});

module.exports = Switcher;

I'd like to add the ability to zoom-in the card and expand them full-width. Once they reach full-width, I want them to scroll without overlapping (like a normal scrollview).

@olivierlesnicki Yup, that's pretty much the same effect I was trying to go for.
I ended up writing the code myself directly using React Native.

@morgante Can you show me what you did  please ? I'm stuck with the same issue.

@morgante @bulby97 @olivierlesnicki  I'm going to start working on this project again, so I might be able to help you...
That react-native-switcher is pretty slick. i think this can be accomplished using the PanController.
Within the next week I hope to release some updates to this module which will include Android compatibility, and several working examples.
Hopefully with that example you may be able to extrapolate to your own needs?

Good job! Look forward to it @lelandrichardson

Nice work @lelandrichardson. Any progress regarding Android support?


🚧 SASL auth

Implementing SASL auth for #46

I have no clue what I'm doing, but this seems to work. We probably want to implement a use_sasl flag in the DB to trigger this behavior.
I'd appreciate a review since I'm pretty unfamiliar with this code and Go in general.

Thanks for the reviews @jwheare @grawity & @DanielOaks!
A couple more questions since you all obviously know more about this than I do :)

Is the current test to send the pass safe across different servers?isAskingForSaslPass := theLine.User == "" && strings.ToUpper(theLine.Command) == "AUTHENTICATE" && theLine.Args[0] == "+"

Am I safe to always send CAP req request and assume that servers that don't support it will fallback to authenticating via NickServ (how we previously did it)?

Servers which don't support CAP will ignore the request entirely, and the "regular" user/nick/NickServ process happens.
Servers which support CAP but not SASL will return a CAP … NAK.

No worries, we work on ircv3.net where the CAP and SASL specs are hosted and maintained:
http://ircv3.net/specs/core/capability-negotiation-3.1.html
http://ircv3.net/specs/extensions/sasl-3.1.html
• You might want to check the len(theLine.Args) == 1 for isAskingForSaslPass as well
• Sending CAP REQ without checking it's supported is probably fine in your case, servers that don't support it might send an error numeric, but you can ignore it. Your NickServ fallback should continue to work ok.
• You could add a check for CAP NAK for servers that support CAP but not SASL to abort the process early instead of waiting for the server to timeout. Something like:
isCapNak := strings.ToUpper(theLine.Command) == "CAP" && len(theLine.Args) == 2 && strings.ToUpper(theLine.Args[1]) == "NAK"
if (isCapNak) {
    sendSaslEnd()
    return
}

Actually, some servers will respond with an empty CAP ACK in that case, so you could try:
isCapAck := strings.ToUpper(theLine.Command) == "CAP" && len(theLine.Args) == 2 && strings.ToUpper(theLine.Args[1]) == "ACK"
isCapNak := strings.ToUpper(theLine.Command) == "CAP" && len(theLine.Args) == 2 && strings.ToUpper(theLine.Args[1]) == "NAK"
isAskingForSasl := false
if (isCapAck) {
    if (theLine.Content == "sasl") {
        isAskingForSasl = true
    } else {
        isCapNak = true
    }
}

if (isCapNak) {
    sendSaslEnd()
    return
}

Empty CAP ACK server to test: irc.unrealircd.org:6667
CAP NAK server to test: irc.geekshed.net:6667

Actually, some servers will respond with an empty CAP ACK in that case

That sounds like an ircd bug to me. Do they also respond with a NAK?

No NAK, and yeah looks like a bug, so I guess maybe working around it in this bot's code isn't worth it.
I'll file a bug with unrealircd about it if necessary.


Pass mypy pipeline

With an update to turtlemd and hopefully this branch, we should pass the mypy pipeline

https://github.com/python/mypy/issues/8944

mypy runs fine now! :partying_face:


Hotfix: fix rejectors retrieval

Fixes the rejectors retrieval: replacement transactions should have attribute isExecuted: true

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

4 of 5 (80.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.04%) to 92.287%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/domain/flush/flush.repository.ts
0
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.04%

Covered Lines:
4243

Relevant Lines:
4495

💛  - Coveralls


error in 4.1 section

KeyErrorTraceback (most recent call last)
 in ()
----> 1 auth_url = credentials_1['auth_url']+"/v3"
2 container = credentials_1['container']
3 IBM_Objectstorage_Connection = swiftclient.Connection(
4     key=credentials_1['password'], authurl=auth_url, auth_version='3', os_options={
5         "project_id": credentials_1['project_id'], "user_id": credentials_1['user_id'], "region_name": credentials_1['region']})
KeyError: 'auth_url'

i din't get any option to choose "swift based api" after signup. i am trying to compile sample program which has been provided in correlation topic

This pattern has been updated with a modified notebook that uses the COS based IBM Cloud Object Storage. Closing issue. Please open a new issue if required.


Chat doesn't work

Chat is empty

Ok I realised that you need to click on TwitchNoSub extension, go into settings and turn on chat.
Still it would be nice if it got mentioned in readme file


chore: updated storybook styles

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 82.159%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
8023

Relevant Lines:
8943

💛  - Coveralls


[SPARK-44105][PS] LastNonNull should be lazily resolved

What changes were proposed in this pull request?
LastNonNull should be lazily resolved
Why are the changes needed?
to fix https://github.com/apache/spark/pull/41670/files#r1234805869
Does this PR introduce any user-facing change?
no
How was this patch tested?
existing GA and manually check

manually check:
(spark_dev_309) ~/Dev/spark (interpolate ✗) bin/pyspark --remote "local[*]"
Python 3.9.16 (main, Mar  8 2023, 04:29:24)
Type 'copyright', 'credits' or 'license' for more information
IPython 8.13.2 -- An enhanced Interactive Python. Type '?' for help.
Setting default log level to "WARN".
To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use setLogLevel(newLevel).
23/06/20 15:53:54 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Welcome to
      ____              __
     / __/__  ___ _____/ /__
    _\ \/ _ \/ _ `/ __/  '_/
   /__ / .__/\_,_/_/ /_/\_\   version 3.5.0.dev0
      /_/

Using Python version 3.9.16 (main, Mar  8 2023 04:29:24)
Client connected to the Spark Connect server at localhost
SparkSession available as 'spark'.

In [1]: import pyspark.pandas as ps

In [2]: import numpy as np

In [3]: psser = ps.Series([1, np.nan, 3], name="a")

In [4]: psser.interpolate()
/Users/ruifeng.zheng/Dev/spark/python/pyspark/sql/connect/expressions.py:945: UserWarning: WARN WindowExpression: No Partition Defined for Window operation! Moving all data to a single partition, this can cause serious performance degradation.
  warnings.warn(
Out[4]: 23/06/20 15:54:06 WARN WindowExec: No Partition Defined for Window operation! Moving all data to a single partition, this can cause serious performance degradation.
23/06/20 15:54:06 WARN WindowExec: No Partition Defined for Window operation! Moving all data to a single partition, this can cause serious performance degradation.
23/06/20 15:54:06 WARN WindowExec: No Partition Defined for Window operation! Moving all data to a single partition, this can cause serious performance degradation.
23/06/20 15:54:06 WARN WindowExec: No Partition Defined for Window operation! Moving all data to a single partition, this can cause serious performance degradation.
23/06/20 15:54:06 WARN WindowExec: No Partition Defined for Window operation! Moving all data to a single partition, this can cause serious performance degradation.
23/06/20 15:54:07 WARN WindowExec: No Partition Defined for Window operation! Moving all data to a single partition, this can cause serious performance degradation.
23/06/20 15:54:07 WARN WindowExec: No Partition Defined for Window operation! Moving all data to a single partition, this can cause serious performance degradation.
23/06/20 15:54:07 WARN WindowExec: No Partition Defined for Window operation! Moving all data to a single partition, this can cause serious performance degradation.
23/06/20 15:54:07 WARN WindowExec: No Partition Defined for Window operation! Moving all data to a single partition, this can cause serious performance degradation.

0    1.0
1    2.0
2    3.0
Name: a, dtype: float64

cc @HyukjinKwon @itholic

@dongjoon-hyun @HyukjinKwon thank you for reviewing

Late review. Nice fix, thanks :-)


openContentViewControllerForMenu

Hey @arturdev! I am using your slide menu on my current project. When I open the different content view controller from the content view controller, it works. Okay. This is good but there is no animate between transition. Are there any suggests to add animate in this scenario? Thanks already!

Check #18


docs: add vitepress docs

Added VitePress to create the documentation website of nuxt-mock-server

Closes #39

@rubensilva3 you need to iodar this to use pnpm

We need to rebase it & contemplate the pnpm change


Cache SwiftPM library deployment targets

This should avoid repeated shelling out to determine these versions.
rdar://114095947

@swift-ci please test


Add validation wrapper for PatternPrompt class

Summary

Due to https://github.com/facebook/jest/issues/7382
Test plan

@SimenB please check the algorithm of my fix.
I had not add  tests because I'm not sure if my code fit the jest code styleguide.

@natealcedo, I am waiting for review now

@SimenB @rickhanlonii @rogeliog screenshots:

@SimenB  @rickhanlonii
I've add e2e tests.
Like I understand , unit tests of PatternPrompt are in  jest-cli/src/tests/watch_filename_pattern_mode.test.
But I don't know how to configure them.
I will appreciate for any help. Thank you

Like I understand , unit tests of PatternPrompt are in jest-cli/src/tests/watch_filename_pattern_mode.test
Yes, and in watch_test_name_pattern_mode.test. You could for example copy the test case "Pressing P enters pattern mode" and modify it so that it types an invalid pattern and tries to press enter, and then assert that Jest does not try to rerun with the invalid pattern.

@jeysal thank you for your tip. Can you check please my unit test?

btw, @SerhiiBilyk can you rebase your work to master? jest-watcher was recently converted to TypeScript

@jeysal thank you for your tip. Can you check please my unit test?

Looking good, that's what I thought of 👍
As @thymikee said, the TypeScript migration unfortunately causes a few conflicts for existing PRs so you'll have to rebase, then we can give it a final review :)

Don't worry too much about the conflict, we can resolve that ourselves before merging 🙂

@thymikee @jeysal @SimenB branch is rebased

Is it still relevant ?

Yeah, I'd say so! Would you mind rebasing?

I agree, this is still relevant

I think it would be better if I will checkout from latest master and then made my changes again. Rebasing is too long and too dificult

@SimenB @thymikee Sorry, but I will have no time to do thi PR until September. So, feel free to reassign this PR to other people


tg_owt: unstable-2021-09-15 -> unstable-2021-10-21

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for tdesktop is: "Telegram Desktop messaging app"
meta.homepage for tdesktop is: "https://desktop.telegram.org/"
meta.changelog for tdesktop is: "https://github.com/telegramdesktop/tdesktop/releases/tag/v3.1.9"
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
/nix/store/fn45x370j2v8mli045g1ngnbgxs4az8c-telegram-desktop-3.1.9/bin/telegram-desktop passed the binary check.
Warning: no invocation of /nix/store/fn45x370j2v8mli045g1ngnbgxs4az8c-telegram-desktop-3.1.9/bin/.telegram-desktop-wrapped had a zero exit code or showed the expected version
0 of 2 passed binary check by having a zero exit code.
1 of 2 passed binary check by having the new version present in output.
found 3.1.9 with grep in /nix/store/fn45x370j2v8mli045g1ngnbgxs4az8c-telegram-desktop-3.1.9
found 3.1.9 in filename of file in /nix/store/fn45x370j2v8mli045g1ngnbgxs4az8c-telegram-desktop-3.1.9

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
tdesktop

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/fn45x370j2v8mli045g1ngnbgxs4az8c-telegram-desktop-3.1.9 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A tdesktop https://github.com/r-ryantm/nixpkgs/archive/b753fb92a545174ed856401d1980daacc49d16f8.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/fn45x370j2v8mli045g1ngnbgxs4az8c-telegram-desktop-3.1.9
ls -la /nix/store/fn45x370j2v8mli045g1ngnbgxs4az8c-telegram-desktop-3.1.9/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

tdesktop

Maintainer pings
cc @oxalica @primeos @VergeDX for testing.

I guess it's probably best to just close this.
@ryantm maybe a check for the bot should be added to test if the old and new versions differ? In theory there might be some cases where this could make sense (important fixes for dependencies) but the commit message shouldn't be something like tdesktop: 3.1.9 -> 3.1.9 anyway.


Is there a plan for new version?

Are you planning to make new elastix release with ITK5 support?

This version can build with ITK5.0.0, but cant build with ITK4.13.0 in my PC

This version can build with ITK5.0.0, but cant build with ITK4.13.0 in my PC

I'm asking about official release. Last one (4.9.0) was on Mar 20, 2018.

We are working on it :-)

Here it is: https://github.com/SuperElastix/elastix/releases/tag/5.0.0


Chris/zh tw improvement

@ben-lin @ichernev
To replace #3075

Looks good. @ben-lin?

Looks good to me.

Thanks! Staging for the next release.

Merged in 6c65ffaf63d1dd5edb95e310fa5ea8e65fb8e930


jit: support for integer truncation from floats

This PR completes the baseline implementation of float operations.

OK done with signed 32/64 ints from 32/64 floats! Left is unsigned int targets..

GOOOOOOOOO

Thank you for the reviews as always!


Repo documentation

Feature request
Ive generated this docs for the repo. Would love to make them the official docs if you find them useful. We can further enhance them.
They are generated with AI so it will always be up to date and a Changelog is fed with changes.
Motivation
contribute to the community!
Your contribution
Ive made them already here!
docs

Thanks a lot!
We have a official docs in go-zero.dev

Great! Is there any specific feedback that we could receive to enhance the quality of the docs we are generating to make them valuable for the community?

Not sure for that. But thanks anyway!


Implements force-update option for link method

Bower is depreacted and we don't accept new features


Persist LNURL-pay comment sent to the recipient

We want to persist and expose the comment the user sends to the recipient when using LNURL-pay. Do you like this approach?

I think this is a good way to do it.
I would note the PR still needs:

the bindings UDL file updating so the field is exposed to the generated bindings
a table migration adding to the database


After append new items to ui-scrool and then scroll up and down there is gap on the bottom

Hi,
I have a problem with appending items to ui-scroll.
During adding a new item via adapter.append, and send it to a server and then when I scroll up and down, and the new item has been fetched from the server, and then there is a gap on the bottom of ui-scroll. Looks like ui-scroll keeps space for item wich has been added via the adatper.append but doesn't consider new item taken from the server as the same item. What is a rule here?

@adybionka I believe that your use-case is covered by this demo: https://rawgit.com/angular-ui/ui-scroll/master/demo/append/append.html.
$scope.append = function () {
	var newItem = Server.appendItem(' (new)*');
	if ($scope.adapter.isEOF()) {
		$scope.adapter.append([newItem]);
	}
};

Here we have a synchronous approach of Server.appendItem call. But the main idea (the "rule") is that the newItem appended to the viewport via adapter should be the same as the newItem returned by our Server during datasource.get work.
If it doesn't work for, please build your own demo... I have also a plunker version of the discussed sample https://embed.plnkr.co/yNpY0K/ -- feel free to fork it.


Bump the latest carbon identity framework version

Bump carbon identity framework version after fixing #14501

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/2789540507

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/2790215150

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/2789540507
Status: success

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/2790215150
Status: failure