udocker support

What feature would you like to be added?
Hello,
seems it only works with docker, is there udocker support ?
Why is this needed?
this allows magnetic one to work on more systems.
udocker is a basic user tool to execute simple docker containers in user space without requiring root privileges. Enables download and execution of docker containers by non-privileged users in Linux systems where docker is not available

We don't have plans currently of built in support for udocker, if there is enough interest this could be revisited.
However, if you or anyone else would like to build a code executor to support this and publish it as a community extension then that would be great! The existing docker executor might be a good template to start from. You can find more info about community extensions here.


Improve/configure support of NX Workspace

[x] I'm sure this issue is not a duplicate.

Hi.... I'm working with a Nx Project with some Angular and some NestJS apps, at least for now, i don't have React apps...
I'm getting this message...

Is possible to setup which folders are Angular apps, and which one are NestJS to get the proper icons in each of them?

See https://github.com/vscode-icons/vscode-icons/issues/1925#issuecomment-476273935

Also, duplicate of #1939 but who cares.

@JimiC well... is not a duplicated of #1939, I'm just asking about the possibility of configure the icon preset in a folder scope level instead a global workspace, not about a restart loop 😄...
I think this issue should be open again

I corrected my comment about the duplicate. The reference to the comment I made in #1925 is your answer.

@gperdomor I like to apologize for my bluntness yesterday. I had an issue that got on my nerves at the time but this is not an excuse to be blunt to others.
To the point, vscode has tech limitations when it comes to icons themes. You see, it does not have any mechanism to determine the icon to use other than the file extension or the filename itself (and the languageid when it comes to 3rd party vscode extensions).
In NX Workspace projects, Angular and Nest file extensions, for some files, are the same and therefore we can enable only one or the other icon set. Never both. The only trick I could find was explained in https://github.com/vscode-icons/vscode-icons/issues/1925#issuecomment-478358795.
I hope you got the explanation you were seeking and forgive me.


This is wrong, right?

Yeah, @colah needs to update the arrow

And make sure to make a new image, not overwrite the old one!
On Tue, Dec 8, 2015 at 11:27 AM Vijay Vasudevan<EMAIL_ADDRESS>wrote:

Yeah, @colah https://github.com/colah needs to update the arrow
—
Reply to this email directly or view it on GitHub
https://github.com/tensorflow/tensorflow/issues/448#issuecomment-162989238
.


chore: Enable regression testing of the v1 driver implementation on the v2 driver build and container

…river build and container.

What type of PR is this?
/kind cleanup

What this PR does / why we need it:
This PR enables testing of the v1 driver implementation using the v2 driver build and containers. Use the ADDITIONAL_E2E_HELM_OPTIONS environment variable to select the version of driver to setup for e2e tests.
To run e2e tests against the v1 implementation on the v2 binary:
$ BUILD_V2="true" ADDITIONAL_E2E_HELM_OPTIONS="--set azuredisk.useV2Driver=false" make e2e-test

To run e2e tests against the v2 implementation on the v2 binary, omit the new environment variable or change the setting to true:
$ BUILD_V2="true" ADDITIONAL_E2E_HELM_OPTIONS="--set azuredisk.useV2Driver=true" make e2e-test

Which issue(s) this PR fixes:

Requirements:

[X] uses conventional commit messages

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

Special notes for your reviewer:
Release note:
none

Pull Request Test Coverage Report for Build 625502623

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 78.603%

Totals

Change from base Build 625115034:
0.0%

Covered Lines:
1756

Relevant Lines:
2234

💛  - Coveralls


[Fix #950] : Apps landing page improvements

Summary
This PR aims to solve #950 by adding zoomed-in images for features and making Apps landing page more consistent with names.
Ticket Link
Fixes https://github.com/mattermost/mattermost-developer-documentation/issues/950

Hello @haardikdharma10,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

Thank you for your time on this @justinegeffen! I really appreciate it. I have applied your suggestions and committed them. What do you think about the zoomed-in feature images?

Thank you very much @haardikdharma10 :tada:


Executor: delete pod when tasksetup fail

What would you like to be added: We would like to add automatic deleting of the pod when the task setup fail
Why is this needed: when for example the init container don't find the image, or we have reached the docker  rate limits, the pod init fail(and fail the task) but the pod is not deleted; it remain in ImagePullBackOff status

My idea is to add a status field in the Pod interface.
I think we have to convert the k8s/docker status in an agola type string, I investigate what status value return k8s and docker driver.
Using the podsCleaner routine we can delete the pod if the status is "failed"


notes

1.the minimax function - did you make it or is it already built in or did you pull it from somewhere else?
* 2. how do you know whats the best move for a given team whats best and whats worst?


For Uttaradit rajabhat University

For Uttaradit rajabhat University
This is official website http://www.uru.ac.th/

@beebrain I have to close this request without merging, because you requested to add a non-existent domain to this repository: ;; connection timed out; no servers could be reached Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for understanding!


OpenAI models does not support multi modal?

I tried the multimodal code example with gpt-40 and the output has no relation to the provided image while the code does not raise any error.

Hi @MiladInk, yes multimodal inputs are currently disabled, but we're in the process of revamping our multimodal support (including images) in the near future! We'll update this issue when we have images (and other input modalities) working on OpenAI and other providers again :).
@nking-1

Hi @Harsha-Nori .  Please, can you tell if this is effectively abandoned, and if yes, what was it abandoned in favor of?  Is there another library that can do it better?

I've implemented a workaround that enables image support when using vLLM/OpenAI inference -
https://github.com/guidance-ai/guidance/issues/1077


Need a way to copy content from pdf file

Need a way to copy content from pdf file

@SergeShkurko  any update on this

I'm not working on it


update support for torch dynamo compile

What does this PR do?

update support for torch dynamo compile

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


[System Settings] [UX] No reason to use two separate tabs for updates and history

There is no reason why the update availability check with update button cannot be on the same tab with the previous update history. Right now this requires two operations by the user while waiting. When users land on the menu item for "System Settings"-->"Updates" users have to wait until the check occurs to even see the update history. If both were together on a single tab then that would save the user time and another click.
Also you should not initiate a check for updates right away. The user should press a check for updates button. If the update is present there should be information about the new update provided. This information is good for the user to make a decision about whether or not they want to upgrade. Then the user can either abandon upgrading or proceed to press an upgrade button to continue to upgrade.

Done


About Submit Code

Describe the bug
I find that I can't submit code when I use Chrome during the recent HuaWei Contest . I Ctrl+C my code, but can't Ctrl+V in the submit page.
Screenshots

System (please complete the following information):

OS: [Windows]
Browser: [Chrome]
Version: [72.0.3626.121]

Sorry about that but we can't reproduce the situation, the general solution is to check Chrome update, NOJ may require Chrome 62 and later to work properly but you are using Chrome 72 already.
The error display is a bug, it actually means your submission didn't pass the validator, which in this case, did not submit your code. Please let me know if you solved the problem.

Sorry about that but we can't reproduce the situation, the general solution is to check Chrome update, NOJ may require Chrome 62 and later to work properly but you are using Chrome 72 already.
The error display is a bug, it actually means your submission didn't pass the validator, which in this case, did not submit your code. Please let me know if you solved the problem.

Then I use IE to solve this problem. Thanks.


BottomBar shadow error in prellollipop

hi .
this is bottom bar output in lollipop device :

and this is output in preLollipop device:

and there is no shadow in older device.

There is a shadow, but it's shifted too much to actually be seen. From time to time I'm tweaking shadows a bit to make them look like on Lollipop, but it's difficult due to differences between my implementation and the original one.

fixed


[feature request]  I/B/P sequence, GOP length of H.264 files

Could it be possible to clearly display the I/B/P sequence and the GOP length of an H.264 file?
this would help us better understand the compactness vs beauty compromises of a given compression choice..

Waiting for the tweak here is a simple method ; ffmpeg being installed, enter the following line in the CLI terminal
ffprobe -show_frames /(path to the file) | grep pict_type
you get a list of all frames with their i p b type, hence the evolutive GOP length.

@Cantar4 Just curious if maybe we could use it to get the GOP length of H.265 files?


Plugin manager

Lots of refactoring, changes that come to mind include:

Using constants for the model row types
Moved the default catalog URL into the config
Removed some unnecessary short functions
Documentation string grammar fixes
Moved private namedtuples to be class attributes instead of instance attributes
Flattened some lines that could be kept under the 120 char width guide

Thank you for the review and refactoring


Telemetry legacy event is sending duration in native_time instead of millisecond

The duration previously sent in the legacy telemetry returned a millisecond duration and now it sends as native_time.
It seems that the snippet below should fix the issue, but for some weird reason my telemetry system is not working properly with this change. May be another bug elsewhere in my code or this doesn't properly fix it. I'm sending the code as it can be helpful.
    defp emit_legacy_event(duration, result) do
      duration_ms = System.convert_time_unit(duration, :native, :millisecond)
      if !@disable_legacy_event do
        :telemetry.execute(
          [:tesla, :request],
          %{request_time: duration_ms},
          %{result: result}
        )
      end
    end

The previous version used :timer.tc/3 which reports time in microseconds, the new one uses System.monotonic_time/0 which indeed reports time in native units.
@bryannaegele Would you mind taking a look?
@3duard0 Thanks for the report 🙇


Consider to Stop Hotlinking Hashes.org Files

Full disclosure, I'm not affiliated with Hashes.org.
Every visitor of Hashes.org can read the following disclaimer on their website

We host Hashes.org out of our own pockets. Even a small donation can really help!

In your README.md file you are hotlinking a rather large (2.9 GB) file from their server.
Please consider to change this hyperlink to the homepage of Hashes.org, instead of pointing directly to the file.  Otherwise you can be sure that the great places to find those will soon be gone.
Cheers!

Thank you for this :) I've mirrored the LinkedIn file from Hashes.org and am serving it from GitHub now via the releases page. I've also included a note highlighting that Hashes.org appreciates donations. I definitely didn't mean to leech from Hashes.org as I greatly appreciate what they are doing. Thank you for bringing this to my attention and providing a suggestion to change the hotlink.
Happy holidays :smile_cat:


Namespace delimiter clarification and improvements

Need to clarify delimiters on namespaces in data tab:
Add buttons for:

NONE: no delimiter between namespace, e.g. renders as [NAMESPACEIDENTIFIER] i.e. TCM2020_01
SINGLE SPACE: single space between namespace and identifier, e.g. renders as [NAMESPACE IDENTIFIER] i.e. TCM 2020_01
CUSTOM: enter any delimiter combination, e.g. renders as [NAMESPACE"CUSTOMDELIMITER"IDENTIFIER] i.e. TCM-----2020_01

Make sure this is very clear in the data entry sheet.

@jlpereira Need some old school Javascript here, this is the modification:

Can this be documented on the create new namespace page?


strings.FieldFunc crash with different condition for count of fields

See<EMAIL_ADDRESS>Most easy way to fix is:
diff --git a/src/strings/strings.go b/src/strings/strings.go
index 919e8c8..df1530e 100644
--- a/src/strings/strings.go
+++ b/src/strings/strings.go
@@ -333,7 +333,7 @@ func FieldsFunc(s string, f func(rune) bool) []string {
 			fieldStart = i
 		}
 	}
-	if fieldStart >= 0 { // Last field might end at EOF.
+	if na < n && fieldStart >= 0 { // Last field might end at EOF.
 		a[na] = s[fieldStart:]
 	}
 	return a

I don't have strong opinion whether fixing this or not because I think that this is wrong usage of the strings.FieldsFunc.

Well, I feel this function bits inefficiency. How about store []bool for the index?

As I read it, that blog post is just explaining a line from the documentation about which the reader might be curious. Given that this limitation is already documented, however, and since this is not a coherent use of the function, I don't see a need to change anything to try to avoid the panic.

package main

import (
	"fmt"
	"strings"
)

func fieldsFunc(r rune) bool {
	// implement something here
}

func main() {
	fmt.Println(strings.FieldsFunc("foo", fieldsFunc))
}

If we will implement this, I wonder we will consider the function will be called twice, and it should be retuned same condition always.

I'd say it doesn't matter. The documentation is clear: The function must return consistent results.

Ah, I missed it in the document.

No prob. I am going to close this issue. Feel free to comment if you think it should be reopened.


Translation : amqp-dev-services.adoc.po

Hello everyone,
I would like to inform you that I am working on the translation of the file:
l10n/po/pt_BR/_guides/amqp-dev-services.adoc.po

translation completed.

Let's keep it open until #3 is merged


Creating submodular reactions on python using Antimony

Hi, I have been trying to create submodular reaction on Python with Antimony using the syntax showed on this page https://tellurium.readthedocs.io/en/latest/antimony.html but I always get the following error message : Exception: Antimony: Error in model string, line 3:  syntax error, unexpected '('.

Please provide the concrete example, i.e. post the code you use to create the model. Without seeing the model string this cannot be debugged.

Here is the code I am using. Thank you for your time.
y1 = '''
model side_reaction1
-> y1; bpy1;
bp = 0.9;
y1 -> ; ampiy3y1;
ampi=0.5;
y1 -> y2; bspy1pow(y5,ns)/(pow(y5,ns)+pow(Ts,ns));
bsp=10;
ns=4;
Ts=1;
y2 -> y1; awpay4y2;
awpa = 0.14;
y1 -> ; apiy1;
api=2;
y2 -> ; ampay3y2;
ampa=1.4;
-> y3 ; bmiy3;
bmi=0.2;
y3 -> ; asm2y3y5;
asm2 = 0.1 ;
y3 -> ; amy3;
am=1;
y4 -> ; awy4 ;
aw=0.7 ;
-> y5 ; bs2(damage-c);
bs2=5.5 ;
c=0;
damage=1;
y5 -> ; as*y5;
as=7.5;
y1=1;
y2=1;
y4=1;
y3=1;
y5=1;
end
'''
y2 with delay 1
y2_1 = '''
model side_reaction2
-> y3; bm*y2
end
'''
#y2 with delay delay 2
y2_2='''
model side_reaction3
-> y4;bw*y2
end
'''
model3= '''
model total
A: side_reaction1();
B: side_reaction2();
C: side_reaction3();
end
'''
r=te.loada(model3)
r.simulate(0, 50, 100)
r.plot()

@MikalD I could reproduce the issue. I think it has something to do with the ordering of your elements in the model definition. I would always make a clear separation into parameters, species and  reactions sections. And clearly define what are species. Just the reordering solved the issue for me.
I.e. use the following instead of your order
import tellurium as te

y1 = '''
model side_reaction1

    bp = 0.9;
    ampi = 0.5;
    bsp = 10;
    ns = 4;
    Ts = 1;
    awpa = 0.14;
    api = 2;
    ampa = 1.4;
    bmi = 0.2;
    asm2 = 0.1;
    am = 1;
    aw = 0.7;
    bs2 = 5.5;
    c = 0;
    damage = 1;
    as = 7.5;

    -> y1; bp*y1;
    y1 -> ; ampi*y3*y1;
    y1 -> y2; bsp*y1*pow(y5,ns)/(pow(y5,ns)+pow(Ts,ns));
    y2 -> y1; awpa*y4*y2;
    y1 -> ; api*y1;
    y2 -> ; ampa*y3*y2;
    -> y3 ; bmi*y3;
    y3 -> ; asm2*y3*y5;
    y3 -> ; am*y3;
    y4 -> ; aw*y4 ;
    -> y5 ; bs2*(damage-c);
    y5 -> ; as*y5;

    species y1 = 1;
    species y2 = 1;
    species y4 = 1;
    species y3 = 1;
    species y5 = 1;
end
'''
r = te.loada(y1)

You can use markdown and backslashes for code blocks here on github. Your code will be much easier to read. I edited this on your comment above.
Best M

The problem reported already exists in the model y1. Reordering solved the
issue with the model y1.
On Thu, Apr 7, 2022, 18:42 Lucian Smith @.***> wrote:

The problem is not the ordering of elements, the problem is that the
model3 string has no idea what the three side reactions are, because
they're stored in completely separate strings. Antimony needs to know about
all of them at once for it to work.
If you join them all together, it is parsed correctly, and then you get
new error messages about missing initial values for parameters. Adding
those in as '1', you get:
import tellurium as te
y1 = '''
model side_reaction1
-> y1; bpy1;
bp = 0.9;
y1 -> ; ampiy3y1;
ampi=0.5;
y1 -> y2; bspy1pow(y5,ns)/(pow(y5,ns)+pow(Ts,ns));
bsp=10;
ns=4;
Ts=1;
y2 -> y1; awpay4y2;
awpa = 0.14;
y1 -> ; apiy1;
api=2;
y2 -> ; ampay3y2;
ampa=1.4;
-> y3 ; bmiy3;
bmi=0.2;
y3 -> ; asm2y3y5;
asm2 = 0.1 ;
y3 -> ; amy3;
am=1;
y4 -> ; awy4 ;
aw=0.7 ;
-> y5 ; bs2(damage-c);
bs2=5.5 ;
c=0;
damage=1;
y5 -> ; as*y5;
as=7.5;
y1=1;
y2=1;
y4=1;
y3=1;
y5=1;
end
model side_reaction2
-> y3; bm*y2
bm = 1
y2 = 1
end
model side_reaction3
-> y4;bw*y2
bw= 1
y2 = 1
end
model total
A: side_reaction1();
B: side_reaction2();
C: side_reaction3();
end
'''
r=te.loada(y1)
r.simulate(0, 50, 100)
r.plot()
This still needs work, since you need to connect the elements of your
three submodels. But at least it's parsed correctly.
—
Reply to this email directly, view it on GitHub
https://github.com/sys-bio/tellurium/issues/556#issuecomment-1091970479,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAG33OQFTHJR7AUX6TBIQP3VD4GA3ANCNFSM5SZENJPA
.
You are receiving this because you commented.Message ID:
@.***>

Model y1 worked as written for me.  What version of antimony/rr are you using?

Thank for your answers. @luciansmith, your solution works for me (however when I modify my code instead of copy+paste what you wrote, I get : syntax error, unexpected '('). Here are the info version info of antimony on my computer :
[('tellurium', '<IP_ADDRESS>'),
('roadrunner', '2.0.5'),
('rrplugins', '2.0.4'),
('antimony', '2.12.0'),
('libsbml', '5.19.3'),
('libsedml', '2.0.29'),
('phrasedml', '1.1.1')]

I would recommend upgrading roadrunner, but I'm glad it works!  Closing this issue, but feel free to re-open or create a new one i you have more questions.


[Bug][found-during-qa]: Allow secure connection with CA certificate - container registry issues. skopeo plugin failing.

📜 Description
Allow secure connection with CA certificate container registry issues. skopeo failing.
👟 Reproduction steps

configure skopeo plugin for a container using CA certification for connection.

👍 Expected behavior
Image should get pushed into the container registry with skopeo plugin.
👎 Actual Behavior
Image not getting pushed.
☸ Kubernetes version
latest
Cloud provider

Azure

🌍 Browser
Chrome
🧱 Your Environment
No response
✅ Proposed Solution
No response
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find any similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

AB#9792

Potential duplicates:

[#5101] [Bug][found-during-qa]: Allow secure connection with CA certificate container registry issues. Deployment failing  (84.79%)

Potential duplicates:

[#5101] [Bug][found-during-qa]: Allow secure connection with CA certificate container registry issues. Deployment failing  (84.79%)


Correct gallery styles locally, but not on RTD

Creating a gallery works fine locally, but the appearance is off when deployed to readthedocs, see https://imagecat.readthedocs.io/en/latest/gallery.html to see what I mean - the image thumbnail sizes are much larger than for the local build.
My conf.py includes
extensions = [
    "nbsphinx”,
    "sphinx_gallery.load_style”,
    ...
]

and requirements.txt includes
nbsphinx
sphinx-gallery
...

Is there something else I need to add to get it working?  It looks to me like the readthedocs deployment is missing the CSS styles for the gallery, am I supposed to add them manually to the configuration somewhere?
Thanks in advance,
Tim

Is there something else I need to add to get it working?

No, that should be it.

am I supposed to add them manually to the configuration somewhere?

Nope, that's what sphinx_gallery.load_style is supposed to do.
This normally causes gallery.css to be included in your HTML file, see for example the HTML source of https://nbsphinx.readthedocs.io/en/0.8.0/subdir/gallery.html.
In you example, that's not the case.
I guess this is because you are manipulating the html_context (https://github.com/shead-custom-design/imagecat/blob/7f445a4a0886b172138ff53b18d2f427b772022b/docs/conf.py#L86-L91), which is not the proper way to add CSS files.
The proper way is to use html_css_files, see https://nbsphinx.readthedocs.io/en/0.8.0/custom-css.html#For-All-Pageshtml_css_files.

@mgeier - hmm, that block of code came from the original install instructions for the RTD theme.  I see now that those instructions have changed a lot; cleaning-up conf.py and using the up-to-date instructions solves the problem.  Sorry to bug you.
Many thanks,
Tim


Insert angular 4 httpclient on rest services of my thai star

Included on this pull request is also a small patch that needs a bigger fix on the routing module. In this commit, all rest calls now use the httpclient implementation from angular 4.3. Also, the interceptor module has been created and inserts the token in server calls from the client if a token is available.
TODO:

Check router fix (current fix should only be a temporary patch)
Currently, httpclientmodule is loaded in the app module. Perhaps the correct approach would be that each rest module should have their own httpclientmodule import, in order for them to be more modular.

Please, fix a small typo in angular/src/app/app-routing.module.ts file. The line commented includes the ]; characters that close the array.


"Expleo" company - an error pops up in production (404 File not found)

URL: https://admin.peviitor.ro/
Browser: Chrome
Device: Laptop
OS: Windows 11
STEPS TO REPRODUCE:

Open the URL https://admin.peviitor.ro/ in the browser.
Search for "Expleo" company.
Validate one job.
Go to "www.peviitor.ro".
Click on "Cauta" button.
Search for "Expleo" company.
Click on "Catre site"

EXPECTED RESULTS:
The scraper runs without issues and the link should redirect you to the job.
ACTUAL RESULTS:
An error pops up.

FIXED!


Rebases 'async' branch on master

Rebased on master

What's the status of the 'async' branch. Is it ready to merge into master any time soon?

I have not worked on it in awhile, I know there has been at least one broker API change since I last touched it.

@krujos Are you talking about the parameters API? Or are you talking about a change to the Async API that this has not implemented yet? If the former, once my PR is merged this could be rebased on top?

I'm talking about the former, there was an API change (related to status I think, but I've not looked in awhile). I don't have any problem with a rebase.

After merging this rebase PR, master is still ahead of this branch due to the parameters API changes made on master. Instead of rebasing master again, we could merge this async branch onto master and go from there. It appears that the async and parameters API support is backward compatible WRT the service broker API, so merging would appear to be safe.
Thoughts @spgreenberg @krujos @nakomis @robertgmoss?

Ok with me.  I typically make all changes on a version branch and merge the
latest version into master.
On Wed, Aug 5, 2015 at 4:40 PM, Scott Frederick<EMAIL_ADDRESS>wrote:

After merging this rebase PR, master is still ahead of this branch due to
the parameters API changes made on master. Instead of rebasing master
again, we could merge this async branch onto master and go from there. It
appears that the async and parameters API support is backward compatible
WRT the service broker API, so merging would appear to be safe.
Thoughts @spgreenberg https://github.com/spgreenberg @krujos
https://github.com/krujos @nakomis https://github.com/nakomis
@robertgmoss https://github.com/robertgmoss?
—
Reply to this email directly or view it on GitHub
https://github.com/cloudfoundry-community/spring-boot-cf-service-broker/pull/30#issuecomment-128172170
.

@nakomis I was looking at the history now, and looking at re-basing again on the latest master. When doing this, git wants to pull all your rebased changes in again. How did you do your rebase that I merged with this PR? Did you do git checkout async; get rebase -i master or something different?


ResNet/CNN backbone experiments?

Do the authors have any experiments with training or distilling other backbones, e.g. ResNets?

No we don't.

why not


Add server implementation of temperature-control cluster.

Changes:

Add server implementation of temperature-control cluster.
Zap generated for all-clusters-app with temperature control server cluster.

Testing:

Tested all-clusters-app commissioning and cluster control

Note for reviewers: This is a follow-up PR of #26548. I'll rebase this once #26548 got merged.

@jadhavrohit924 @dhrishi there is overlap between what you guys are doing and what others are doing for the temperature control cluster.  This cluster was defined by the appliance tiger team and members of that team have created an implementation.  Additionally #26560 defines the XML for the cluster, which you guys have done also in another PR.
Who are you guys with and why are you working on this cluster?  We should avoid duplicate work and potentially conflicting implementations.

Who are you guys with and why are you working on this cluster? We should avoid duplicate work and potentially conflicting implementations.

@rbultman We are working with the appliance manufacturer who is assigned (as per the SDK v1.2 tracking document) with the implementation of both the clusters (refrigerator alarm and temperature control)

Who are you guys with and why are you working on this cluster? We should avoid duplicate work and potentially conflicting implementations.

@rbultman We are working with the appliance manufacturer who is assigned (as per the SDK v1.2 tracking document) with the implementation of both the clusters (refrigerator alarm and temperature control)

I see. Thanks for responding!

@jadhavrohit924 Please address the comments and check why the CI is failing

@bzbarsky-apple What am I missing in clusters tests? CI failing at same point continuously. It is failing at command SetTemperature command. I'm sending SetTemperature command with TargetTemperatureLevel arg but in the logs command field is empty.

Hi @bzbarsky-apple @andy31415, do you guys know why Tests / REPL Tests - Linux and Darwin Tests / Test Suites - Darwin (no-ble-asan-clang) keeps failing. For darwin it looks like some code is not being generated in zap-regen. I don’t know how can we trigger that generation.

do you guys know why Tests / REPL Tests - Linux and Darwin Tests / Test Suites - Darwin (no-ble-asan-clang) keeps failing.

For Darwin, the temperature control cluster is not enabled in Matter.framework yet.  Please add the relevant test to the "disable" section in examples/darwin-framework-tool/templates/tests/ciTests.json.  You can see existing examples there for other not-yet-exposed clusters.
I don't know what the REPL issue is.

Thank you @bzbarsky-apple

I tried to look at REPL test outputs and they do not seem to be very debuggable: large output and see a:
2023-07-17T07:39:43.9398386Z 2023-07-17 07:39:43 461aa510370a root[31986] ERROR Test script exited with error 1
2023-07-17T07:39:43.9403425Z 2023-07-17 07:39:43 461aa510370a root[31986] WARNING Stopping app with SIGINT

however interleaving of logs does not help me figure out what the fauilure was at all. I believe trying the test locally would be more likely to show the error than trying to debug based on CI logs. also REPL logs should be improved as just one large dump of everything is not useful.

I also see:
2023-07-17T07:39:43.8949324Z [2023-07-17 07:39:43.894211][APP ][STDOUT]CHIP:DMG: <RE> Sending report (payload has 1005 bytes)...
2023-07-17T07:39:43.8949771Z [2023-07-17 07:39:43.894473][APP ][STDOUT]CHIP:ATM: Failed to add field: examples/common/tracing/TraceDecoder.cpp:99: CHIP Error 0x0000002F: Invalid argument

which looks unusual.

Locally all tests PASSED.
[2023-07-18 15:27:16.506634][TEST][STDOUT][MatterTest] 07-18 15:27:16.506 INFO -
{"test_name": "test_global_attributes_present_on_each_cluster",
"location": {"endpoint_id": 1, "cluster_id": 5, "attribute_id": 7},
"severity": "WARNING",
"problem": "Found a failure to read/decode Attribute RemainingCapacity (7, 0x0007) on Endpoint 1, Cluster Scenes (5, 0x0005) when it was claimed as supported in AttributeList ([0, 1, 2, 3, 4, 5, 6, 7, 65528, 65529, 65530, 65531, 65532, 65533]): ValueDecodeFailure(TLVValue=None, Reason=InteractionModelError(<Status.Failure: 1>))",
"spec_location": "AttributeList Attribute"}

[2023-07-18 15:27:16.506734][TEST][STDOUT][MatterTest] 07-18 15:27:16.506 INFO -
{"test_name": "test_global_attributes_present_on_each_cluster",
"location": {"endpoint_id": 1, "cluster_id":<PHONE_NUMBER>, "attribute_id": 49},
"severity": "WARNING",
"problem": "Found a failure to read/decode Attribute GeneralErrorBoolean (49, 0x0031) on Endpoint 1, Cluster UnitTesting<PHONE_NUMBER>, 0xFFF1FC05) when it was claimed as supported in AttributeList ([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 48, 49, 50, 16384, 16385, 16386, 16387, 16388, 16389, 16390, 16391, 16392, 16393, 16394, 16395, 16396, 16397, 16398, 16399, 16400, 16401, 16402, 16403, 16404, 16405, 16406, 16407, 16408, 16409, 16414, 16420, 16421, 16422, 16423, 16424, 16425, 16426, 65528, 65529, 65530, 65531, 65532, 65533]): ValueDecodeFailure(TLVValue=None, Reason=InteractionModelError(<Status.InvalidDataType: 141>))",
"spec_location": "AttributeList Attribute"}

[2023-07-18 15:27:16.506813][TEST][STDOUT][MatterTest] 07-18 15:27:16.506 INFO -
{"test_name": "test_global_attributes_present_on_each_cluster",
"location": {"endpoint_id": 1, "cluster_id":<PHONE_NUMBER>, "attribute_id": 50},
"severity": "WARNING",
"problem": "Found a failure to read/decode Attribute ClusterErrorBoolean (50, 0x0032) on Endpoint 1, Cluster UnitTesting<PHONE_NUMBER>, 0xFFF1FC05) when it was claimed as supported in AttributeList ([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 48, 49, 50, 16384, 16385, 16386, 16387, 16388, 16389, 16390, 16391, 16392, 16393, 16394, 16395, 16396, 16397, 16398, 16399, 16400, 16401, 16402, 16403, 16404, 16405, 16406, 16407, 16408, 16409, 16414, 16420, 16421, 16422, 16423, 16424, 16425, 16426, 65528, 65529, 65530, 65531, 65532, 65533]): ValueDecodeFailure(TLVValue=None, Reason=InteractionModelError(<Status.Failure: 1>))",
"spec_location": "AttributeList Attribute"}

Saw some of these warnings.


Improve the UI of testimonials

Only a single testimonials in a page would not look great.
The actual testimonials was like this ->
Now the testionials->

I would like to change it like this ->

I would like to work on it.

Assigned @sharmi4590


Create radix_sort.py

Pull Request Template
What have you Changed(must)
Write here what you have changed in the codebase
Issue no.(must) -
Pr will be closed and marked as spam. If the issue number not found or the issue was assigned to someone else.
Marking as spam can block your account from HacktoberFest.
Self Check(Tick After Making pull Request)

[x] This issue was assigned to me if not it will be marked as spam.
[x] My file is in the proper folder.
[x] I am following clean code and Documentation.
[ ] I have added the title and what program will do first in the file.

README - How to Contribute

You've just closed my pull request without any communication from you. That's wrong


Fix rpi tests

fixes #31

@rm-hull when this build succeeds it should get a release and then https://github.com/rm-hull/luma.examples/pull/20 should become green as well.


test2

Close because you haven't activated the action

Close because I didn't activate the action


issue 116: Generate test posterior samples

This PR closes #116.
This is a simple PR that tidies up the local fit loop utility, and creates a test directory which can be aimed at with loop_fit.sh. .pickle files are ignored so a test run with unit tests should start with this step.

Can we nudge this PR toward https://github.com/CDCgov/pyrenew-hew/issues/57 ? I think we could start to put together tests not in the nssp_demo directory?

Can we nudge this PR toward #57 ? I think we could start by putting tests not in the nssp_demo directory?

I'd rather not guess what structure we want. Happy to hold this until we resolve #57 .

This works with the new directory structure now.

updated test folder priors.py to track changes in code base.

Closed as superseded by #148


apps: wait each app on graceful

Pull Request Test Coverage Report for Build 67

0 of 9 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.3%) to 50.818%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

apps.go
0
9
0.0%

Totals

Change from base Build 64:
-0.3%

Covered Lines:
404

Relevant Lines:
795

💛  - Coveralls

Pull Request Test Coverage Report for Build 67

0 of 9 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.3%) to 50.818%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

apps.go
0
9
0.0%

Totals

Change from base Build 64:
-0.3%

Covered Lines:
404

Relevant Lines:
795

💛  - Coveralls


Document the update flow - when entities should be updated and which fields

There's a lack of documentation and examples of use cases - when the entities should be updated, and which fields are updatable.
For example, can a port of a service be updated? replicas number of a rep.controller be reduced? containers section of a pod changed to have another containers than the original?

it would be ideal if this was called out in the api doc generated by swagger - I believe that was proposed here https://github.com/GoogleCloudPlatform/kubernetes/pull/2282 but not yet implemented

@smarterclayton , generating means it's supposed to be documented somewhere, right? So any docs/explanation here regarding update concept will be beneficial.

Proposal to tag readonly fields: #2970.
Yes, we should also document which fields cannot be updated -- most can. I'd also use tags that could be converted to some kind of properties exposed via swagger for that.

Let's use #1728 for which fields can be updated and which ones can't.
#3112 is for documenting PUT semantics.
#3086 is for documenting use of resourceVersion in PUT and /watch.
This issue should be for providing high-level guidance about what flavor of update to use in what situation. Also, since most users will use kubectl, we should start with docs in terms of kubectl. When to use kubectl update, --patch, rollingupdate, resize, label, delete/create, etc.

There is some guidance here:
https://github.com/GoogleCloudPlatform/kubernetes/issues/1702#issuecomment-117839206

Fixed by #11071


iOS app crashing after integrating shared_preferences package in Flutter module

I'm working on an iOS app that uses Flutter as a module, and I recently added the shared_preferences: ^2.1.1 package to my Flutter module's pubspec.yaml file.
After running pod install --repo-update or pod install for the iOS native project, I noticed that a plugin called shared_preferences_foundation (version 0.0.1) was installed.
However, when I build the iOS app, it launches and then immediately crashes, showing me the errors in the screenshots below.
Expected results
The iOS should lunch and display a button to lunch the Flutter module.
Actual results
A black screen appears.
Code sample
 ViewController.swift file where I lunch the Flutter module

import UIKit
import Flutter

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        let button = UIButton(type: UIButton.ButtonType.custom)
        button.setTitle("Open Subz", for: UIControl.State.normal)
        button.frame = CGRect(x: 80.0, y: 210.0, width: 160.0, height: 40.0)
        button.center = self.view.center
        button.backgroundColor = UIColor.black
        self.view.addSubview(button)

        button.backgroundColor = UIColor.red
        button.addTarget(self, action: #selector(showFlutter), for: .touchUpInside)
        self.view.addSubview(button)
    }

    // When this function is called, CacheVC will be presented to the view
    @objc private func tapButton() {
        let vc = CacheVC()
        present(vc, animated: true)
    }

    // Defining Function To Show Flutter
    @objc func showFlutter() {
        let flutterEngine = (UIApplication.shared.delegate as! AppDelegate).flutterEngine
        let flutterViewController = FlutterViewController(engine: flutterEngine, nibName: nil, bundle: nil)
        flutterViewController.modalPresentationStyle = .fullScreen
        present(flutterViewController, animated: true, completion: nil)

        let hostIOSValue: String = "Congratulations"
        let hostIOSHeading: String = "Data Passed"
        let color: String = "green"

        // Channel for communicating with the Flutter Client
        let hostIOSChannel = FlutterMethodChannel(name: "app.factory/ios", binaryMessenger: flutterViewController.binaryMessenger)

        // Sending data from channel to Flutter Client
        let jsonObject: NSMutableDictionary = NSMutableDictionary()

        // Setting keys and values
        jsonObject.setValue(hostIOSValue, forKey: "heading")
        jsonObject.setValue(hostIOSHeading, forKey: "title")
        jsonObject.setValue(color, forKey: "color")

        var convertedString: String? = nil

        do {
            let data1 = try JSONSerialization.data(withJSONObject: jsonObject, options: JSONSerialization.WritingOptions.prettyPrinted)
            convertedString = String(data: data1, encoding: String.Encoding.utf8)
        } catch let myJSONError {
            print(myJSONError)
        }

        // This method is invoked on the UI thread.
        hostIOSChannel.invokeMethod("fromHostIOSToFlutterClient", arguments: convertedString)
    }
}

Screenshots
Pod Install Error

Xcode build errors

Logs
Xcode logs
objc[551]: Class PodsDummy_libwebp is implemented in both /private/var/containers/Bundle/Application/72D4D811-6F78-4EA8-B3C5-914BBC93C4DF/ios-native.app/Frameworks/libwebp.framework/libwebp (0x108078238) and /private/var/containers/Bundle/Application/72D4D811-6F78-4EA8-B3C5-914BBC93C4DF/ios-native.app/Frameworks/GiphyUISDK.framework/GiphyUISDK (0x1070a25d0). One of the two will be used. Which one is undefined.
2023-05-14 14:01:55.379365+0300 ios-native[551:12915] Warning: Unable to create restoration in progress marker file
2023-05-14 14:01:55.534639+0300 ios-native[551:12915] Metal API Validation Enabled
2023-05-14 14:01:55.708817+0300 ios-native[551:12915] GrMtlCommandBuffer: WARNING: Creating MTLCommandBuffer while in background.
2023-05-14 14:01:55.710231+0300 ios-native[551:12915] GrMtlCommandBuffer: WARNING: Creating MTLCommandBuffer while in background.
2023-05-14 14:01:55.764097+0300 ios-native[551:12915] <SKPaymentQueue: 0x2823e8590>: No observers found that respond to "paymentQueue:shouldAddStorePayment:forProduct:", will not check for purchase intents
2023-05-14 14:01:55.816235+0300 ios-native[551:13271] flutter: The Dart VM service is listening on http://<IP_ADDRESS>:49612/dsHbhucrhZ8=/
2023-05-14 14:01:55.867103+0300 ios-native[551:13245] 10.7.0 - [FirebaseMessaging][I-FCM001000] FIRMessaging Remote Notifications proxy enabled, will swizzle remote notification receiver handlers. If you'd prefer to manually integrate Firebase Messaging, add "FirebaseAppDelegateProxyEnabled" to your Info.plist, and set it to NO. Follow the instructions at:
https://firebase.google.com/docs/cloud-messaging/ios/client#method_swizzling_in_firebase_messaging
to ensure proper integration.
2023-05-14 14:01:55.875097+0300 ios-native[551:13245] 10.7.0 - [FirebaseAnalytics][I-ACS023007] Analytics v.10.7.0 started
2023-05-14 14:01:55.875238+0300 ios-native[551:13245] 10.7.0 - [FirebaseAnalytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
(lldb)

Flutter Doctor output
Doctor output
[!] Flutter (Channel stable, 3.7.12, on macOS 13.3.1 22E772610a darwin-arm64 (Rosetta), locale en-PS)
    • Flutter version 3.7.12 on channel stable at /Users/khader/fvm/versions/3.7.12
    ! Warning: `dart` on your path resolves to /usr/local/Cellar/dart/2.18.3/libexec/bin/dart, which is not inside your current Flutter SDK checkout at /Users/khader/fvm/versions/3.7.12. Consider adding /Users/khader/fvm/versions/3.7.12/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4d9e56e694 (4 weeks ago), 2023-04-17 21:47:46 -0400
    • Engine revision 1a65d409c7
    • Dart version 2.19.6
    • DevTools version 2.20.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at /Users/khader/Library/Android/sdk
    • Platform android-33, build-tools 33.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] Android Studio (version 2021.3)
    • Android Studio at /Users/khader/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] VS Code (version 1.78.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.64.0

[✓] Connected device (3 available)
    • Khader Murtaja’s iPhone (mobile) • 00008110-001C38183609801E • ios            • iOS 16.4.1 20E252
    • macOS (desktop)                  • macos                     • darwin-arm64   • macOS 13.3.1 22E772610a darwin-arm64 (Rosetta)
    • Chrome (web)                     • chrome                    • web-javascript • Google Chrome 113.0.5672.92

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

Please provide the code where you are calling the plugin registrant.

Please provide the code where you are calling the plugin registrant.

@stuartmorgan I just added it as a dependency within the pub spec.yaml file.

I'm referring to the call to [Generated plugin registrant register with registry]. That's not a plugin, it's native code that you are calling in the crashing stack; we need to see that code since it looks like you are calling it incorrectly.

@stuartmorgan, I'm using the AppDelegate.swift file, here ⬇
AppDelegate.swift
import UIKit
import Flutter
import FlutterPluginRegistrant
import Firebase
import UserNotifications
import Shared

@main
class AppDelegate: FlutterAppDelegate, MessagingDelegate {

    // The FlutterEngine serves as a host to the Dart VM and the Flutter runtime
    lazy var flutterEngine = FlutterEngine(name: "Flutter Call")

    override func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
        // Override point for customization after application launch.

        // Running Flutter Engine
        flutterEngine.run()

        FirebaseApp.configure()

        // [START set_messaging_delegate]
        Messaging.messaging().delegate = self
        // [END set_messaging_delegate]

        // Register for remote notifications. This shows a permission dialog on first run, to
        // show the dialog at a more appropriate time move this registration accordingly.
        // [START register_for_notifications]
        UNUserNotificationCenter.current().delegate = self
        let authOptions: UNAuthorizationOptions = [.alert, .badge, .sound]
        UNUserNotificationCenter.current().requestAuthorization(options: authOptions) { _, _ in
            // NOTE: Add textfield to reply directly in notification popup
            let replyAction = UNTextInputNotificationAction(
                identifier: ReplyActionId,
                title: "Reply to the message",
                textInputButtonTitle: "Send",
                textInputPlaceholder: "Type reply here"
            )

            let pushNotificationButtons = UNNotificationCategory(
                identifier: MessageNotificationCategory,
                actions: [replyAction],
                intentIdentifiers: [],
                options: []
            )

            UNUserNotificationCenter.current().setNotificationCategories([pushNotificationButtons])
        }

        application.registerForRemoteNotifications()

        GeneratedPluginRegistrant.register(with: flutterEngine)
        GeneratedPluginRegistrant.register(with: self)

        return super.application(application, didFinishLaunchingWithOptions: launchOptions)
    }

    func messaging(_ messaging: Messaging, didReceiveRegistrationToken fcmToken: String?) {
        messaging.token { token, _ in
            guard let token = token else {
                return
            }
        }
    }

    // MARK: UISceneSession Lifecycle

    override func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration {
        // Called when a new scene session is being created.
        // Use this method to select a configuration to create the new scene with.
        return UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role)
    }

    override func application(_ application: UIApplication, didDiscardSceneSessions sceneSessions: Set<UISceneSession>) {
        // Called when the user discards a scene session.
        // If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions.
        // Use this method to release any resources that were specific to the discarded scenes, as they will not return.
    }
}

        GeneratedPluginRegistrant.register(with: flutterEngine)
        GeneratedPluginRegistrant.register(with: self)

Calling GeneratedPluginRegistrant.register with a FlutterAppDelegate is only valid if your root view controller is a FlutterViewController. If it's not, then there's no way for the app delegate to locate the engine, and plugins will receive a nil registry (and thus almost certainly crash).
If your intent is to have two different engines, one that you manage directly and one that's managed by a FlutterViewController, (which is the only reason I can think of to call this twice), you'll need to configure your application differently to allow calling with: self, or you'll need to replace self with an explicit reference to the other engine.
Closing as the issue here is with the add-to-app code, not Flutter.


New UI implementation for Selection Session

Create a 'New UI' version of the Selection Session - including searching.
Original description:

LMS Selection sessions pages need to be updated to the new search UI

Still being worked on


Add German translations

Feel free to review the strings in locize or via the PR Server.

Nice, thanks @namoscato -- my friend recently texted me about this. I sent him the Render review app to do a final check if he wants!


Multi-tenancy over different dbs

Hi, as first thank you for sharing this valuable piece of code!
I'm evaluating to use cleanarchitecture as core building block of a project having multi-tenancy concept delivered by different physical DBs (each tenant in its db) and I wonder how I can adapt your solution to my case without incurring in problems related to ORM warm-up or db session/connection handling.
May be swap EF with Dapper would make life easier in this context?

Maybe we start with the simplest pattern (F) for now, see:
https://docs.microsoft.com/en-us/azure/sql-database/saas-tenancy-app-design-patterns.
I know @lucaarpaia wants (D) - a separate db per tenant.
Ayo (aka CodeStencil)

To solve having multi-tenancy in a single database you would need to:

Pull in the tenant ID from the route of each request (or from a cookie/header/querystring/etc)
Add the tenant ID to any database query you performed. EF Core has a feature to support this*.
Add the tenant ID to all entities that need to be tenant-specific

*Global Query Filters

This is probably a good idea to use as a separate sample that I could fork in another GitHub repository and link to from here.

Closing for this repo. If someone implements a good sample forking off of this repo I'll be happy to link to it in the README.


feat(pages): write pages with .html permalink to corresponding file

To create a custom 404 page with GitHub pages, you must add a file at /404.html.
So far, adding permalink: /404 or permalink: /404.html to the frontmatter would result in writing the page at /404/index.html or /404.html/index.html.
With this PR, every page that has a permalink with .html extension is written directly to that file.
I guess you would want to make the extensions that you accept here configurable, this way you could also disable it completely (which could be the default as well).

This looks great, thanks!
Another way to do this is to put the 404.html file in the extras directory, and it'll just copy those files over into the built site as is. (This however won't use your layouts and markdown, etc)


checkout command showing error

I am trying to execute checkout command and its showing this error. Is it ok to use windows or should i switch to ubuntu
$ defects4j checkout -p Lang -v 1b -w /tmp/lang_1_buggy
/tmp/lang_1_buggy: No such file or directory at /c/Users/Aditya/defects4j/framework/core/Utils.pm line 77.
Compilation failed in require at /c/Users/Aditya/defects4j/framework/bin/defects4j line 155.

can any one help please

Hi @nehagupta12,
Defects4J should run out-of-the-box on any Unix system (e.g., Ubuntu Linux or Mac OSX). Defects4J should run on Windows as well, but we haven't tested it, so you may run into some issues.
Regarding the error itself, your file system most likely does not have a /tmp directory, which is why you are seeing this error. Can you try to provide a different directory to the -w flag? Running your experiments on a Unix system is probably the easier way to go, but running on Windows is not impossible.
Thanks,
René

@nehagupta12, can we close this issue?
Thanks,
René


Parsing a simple time always fails with "detector failed to find the suitable language"

I am writing a simple timeclock application for my own use, and ran into an interesting issue that I figured I should report.
Every time I try to parse a simple time (such as 1:20PM) it fails with "detector failed to find the suitable language". This lead to a lot of attempts to force the language to see if I could get another error or make it work. (Spoiler, SearchWithLanguage did the job.)
The first thing I tried was putting the language in the config:
_, times, err := dateparser.Search(&dateparser.Configuration{
	CurrentTime: time.Now().Local(),
	Languages: []string{"en"},
	DefaultLanguages: []string{"en"},
	Locales: []string{"en-US"},
}, whole)

At first, I only tried DefaultLanguages, but the other keys were quickly added when that didn't work.
When that failed, I tried adding a custom DetectLanguagesFunction that did nothing but return "en". This also failed.
After all that failed to get rid of the language detection error, I tried SearchWithLanguage, which finally worked.
All this messing about leads me to think there is something wrong with the language detection code, maybe it is improperly ignoring the config somehow? I would have expected at least one of the things I tried (before just nuking it from orbit with SearchWithLanguage) to have worked.

After looking around, apparently the main reason for this issue is the Search function ignore DefaultLanguages config.
When the string is as short as 1:20PM, most language detector will fail because it doesn't have enough data to detect languages. Normally when that happen DefaultLanguages will be used as fallback. However I've made mistake which make DefaultLanguages ignored by Search.
It should be fixed by d877098.


Detect timeout when reading from USB HID device

The return value from HidDevice::read_timeoutwas not checked, so we did not detect when a timeout occured.
With the changes in this PR, it should be possible to try multiple reports when connecting to a CMSIS-DAP probe, as is planned in #721.

bors retry

Perhaps we could make the macos (and ubuntu and windows) CI tests no longer required for the protected branch in GitHub settings, but add macos to the bors config (it's not there currently)? I think the problem here is that GitHub requires macos check to have passed before it will merge to master, but bors is not configured to wait for the macos check, so it tries to merge its staging commit before it passes and github blocks it.
If we tell GitHub to makes bors the required check instead of all the other ones, then it can only merge through bors - and we can configure bors to require macos. Otherwise, we should at least add macos to bors' config to stop it trying to merge too early.

bors retry
Should work now, macOS tests are now part of the bors config.

I think you'll need to rebase this to get the bors change?

I think I just got lucky that the macos check was finished earlier 😅


Add the PowerShell Part

Add the PowerShell part to unblock the customers who don't have valid Azure Subscription or not easy to register free trial subscription (say, Mooncake).

Hi @ostrich75, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (larryzh). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

#sign-off

@ostrich75 - Thanks for this contribution!
@ErikjeMS  - Could you please review this contribution and let me know if I can merge it?


⚠ Jenkins Plugins Artifactory has degraded performance

In 31b181a, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1659 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 3cfdd56.


Build issues after upgrading to latest package version

I am seeing the following errors after upgrading to the latest package version, and trying to build the project with Webpack. I was previously using version "@microsoft/omnichannel-chat-widget": "0.1.0-main.89c6531" and tried upgrading to version "@microsoft/omnichannel-chat-widget": "0.1.0-main.47ede4d". Can you please take a look and help fix these build errors?
ERROR in<EMAIL_ADDRESS>4:0-102
Module not found: Error: Package path ./package.json is not exported from package C:\repos\AzRP\src\Services\Chat\Chat.Web\Client\LiveChat\node_modules@microsoft\omnichannel-chat-components (see exports field in<EMAIL_ADDRESS><EMAIL_ADDRESS>40:0-78 72:4-28
<EMAIL_ADDRESS>5:0-85 19:38-60
<EMAIL_ADDRESS>4:0-87 4:0-87
@ ./src/liveChatWidget.tsx 33:0-68 121:111-125
ERROR in<EMAIL_ADDRESS>41:37-51
Can't import the named export 'version' (imported as 'chatSdkVersion') from default-exporting module (only default export is available)
<EMAIL_ADDRESS>40:0-78 72:4-28
<EMAIL_ADDRESS>5:0-85 19:38-60
<EMAIL_ADDRESS>4:0-87 4:0-87

This has been fixed with latest version, you would also need to include chatSdkVersion and other version numbers in import. Please refer the readme.md for details.


'AutoSchema' object has no attribute 'get_link'

Hello, i got this configuration on my urls.py
from django.urls import path, include
from django.conf.urls import url
from rest_framework import routers
from .views import EnderecoViewSet
from rest_framework_swagger.views import get_swagger_view

router = routers.DefaultRouter()
router.register(r'enderecos', EnderecoViewSet)

schema_view = get_swagger_view(title='Pastebin API')

urlpatterns = [
    url(r'^$', schema_view),
    path('', include(router.urls)),
    path('api/', include('rest_framework.urls', namespace='rest_framework'))
]

However i get this error 'AutoSchema' object has no attribute 'get_link' when i visit localhost:8000/
heres the trace:
Traceback (most recent call last):
  File "C:\projects\pocs\python-pi\venv\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
    response = get_response(request)
  File "C:\projects\pocs\python-pi\venv\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "C:\projects\pocs\python-pi\venv\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "C:\projects\pocs\python-pi\venv\lib\site-packages\django\views\decorators\csrf.py", line 54, in wrapped_view
    return view_func(*args, **kwargs)
  File "C:\projects\pocs\python-pi\venv\lib\site-packages\django\views\generic\base.py", line 71, in view
    return self.dispatch(request, *args, **kwargs)
  File "C:\projects\pocs\python-pi\venv\lib\site-packages\rest_framework\views.py", line 497, in dispatch
    response = self.handle_exception(exc)
  File "C:\projects\pocs\python-pi\venv\lib\site-packages\rest_framework\views.py", line 457, in handle_exception
    self.raise_uncaught_exception(exc)
  File "C:\projects\pocs\python-pi\venv\lib\site-packages\rest_framework\views.py", line 468, in raise_uncaught_exception
    raise exc
  File "C:\projects\pocs\python-pi\venv\lib\site-packages\rest_framework\views.py", line 494, in dispatch
    response = handler(request, *args, **kwargs)
  File "C:\projects\pocs\python-pi\venv\lib\site-packages\rest_framework_swagger\views.py", line 32, in get
    schema = generator.get_schema(request=request)
  File "C:\projects\pocs\python-pi\venv\lib\site-packages\rest_framework\schemas\coreapi.py", line 153, in get_schema
    links = self.get_links(None if public else request)
  File "C:\projects\pocs\python-pi\venv\lib\site-packages\rest_framework\schemas\coreapi.py", line 140, in get_links
    link = view.schema.get_link(path, method, base_url=self.url)
AttributeError: 'AutoSchema' object has no attribute 'get_link'
[17/Jul/2019 11:43:53] "GET / HTTP/1.1" 500 17187

what am i doing wrong?

I ran into the same issue, the fix is described here: https://www.django-rest-framework.org/community/3.10-announcement/
To summarize, Django 3.10 (released a few days ago) deprecated the CoreAPI based schema generation, and introduced the OpenAPI schema generation in its place.  Currently to continue to use this as is you need to enable the CoreAPI schema generation by adding the following config to the settings file:
REST_FRAMEWORK = {   ...   'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema' }

Actually it looks like this project is deprecated so the better answer might be to switch to drf_yasg, this looks to work fine without the additional config.

@jhonatanTeixeira Last activity seems to be 9 months ago... so seems like this wont be updated anymore.
@bmildren Thanks for the info in drf_yasg. Seems to work right out of the box without issues!

@jhonatanTeixeira could you adjust the title to say something about DRF >=3.10? Thank you!


Add integration tests

Currently there are no tests for this repository. In order to integrate a proper CI, we need to add some kind of integration for the slm executable so that we have the features of this project continue to function.
I think we should focus on:

Initialization and build
Dependency management and realization

Tracking in Linear


Missing Documentation for Exports Wrapped in Higher-Order Components

Search terms
higher-order, hoc, components, wrapper, context
Question
TypeDoc does not seem to generate documentation for exports wrapped in higher-order components. Is this functionality supported with special configurations, or is there a different way I would need to export my modules to get them to generate docs?
Example
Standard exports (generate docs fine):
export default App;
Wrapped exports (do not generate docs):
export default withAuthReq(App);
We use a lot of HOC's in our company code base and it appears only modules exported this way are missing from our TypeDoc generated docs. I've tried various plugins like typedoc-plugin-not-exported or typedoc-plugin-missing-exports but they either don't produce docs for the component in question, or make more of a mess than without.

For anyone else running into this issue, here's the fix/work-around (depending on how you see things).
You can export your class/function/variable upon declaration, and then export default the same thing wrapped in an HOC.
Example:
export function App() {
  return (

Hello World!

  );
}

export default withHOC(App);

TypeDoc will see the first export and document it correctly, however your imports in other files will use the default.

If no docs are generated at all, as in an empty module, this sounds like a bug to me...


code: [encoded data, 65590 characters]
size: 32795

I think this is the max negative test

@shemnon Can you post geth's commit SHA? this will be useful to reduce the test cases and write an EEST test to cover these

2e2bb7b6c198ccb1387c4ad2d9765d09463d6fa1
Off of an omnibus of fixes I'm getting ready for Marius when he's back from vacation - https://github.com/shemnon/go-ethereum/tree/eof/remove-txcreate

Geth stack check on LT -  https://github.com/shemnon/go-ethereum/tree/eof/remove-txcreate@ 2e2bb7b6c198ccb1387c4ad2d9765d09463d6fa1
besu: EOF Code Invalid : Operation 0x10 requires stack of 2 but may only have 1 items
geth: OK
evm1: err: stack_underflow
code: ef0001010004020001001404000000008000025f6000e100086080e10007e000055fe000001000
size: 39

revm - accepts initcode
besu: Code is initcode, not runtime
geth: err(0): incompatible container kind
evm1: err: incompatible_container_kind
revm: OK
code: ef000101000402000100060300010014040000000080000260006000ee00ef000101000402000100010400000000800000fe
size: 50

@rakita is revme bytecode ef000101000402000100060300010014040000000080000260006000ee00ef000101000402000100010400000000800000fe the best way to do fuzzing with revm?

How can I add EthereumJS to this fuzzing process? Should I provide an entrypoint?

Here's the interface besu, geth, and evm1 conform to:

a CLI that accepts a loop of input.
input will be a hex string that is a program to be validated.
For each input one line of output

If the input is in all ways valid the line starts with "OK" (and is maybe just "OK"
If invalid, for any reason, starts with "err" and ideally gives an invalid reason.

Ok, great, I will implement such interface and will report back :smile:

Do you have a code example of such interface, or a full description of this interface? Such that we can add EthereumJS in one-go without having to go back and forth a lot to fix any interface bugs :smile:

https://github.com/bluealloy/revm/pull/1677

@shemnon could you check if this works? :smile: https://github.com/ethereumjs/ethereumjs-monorepo/pull/3553

ethjs from https://github.com/ethereumjs/ethereumjs-monorepo/pull/3553 @ 1973edfa633fffe893441fd740f1ea48f3c785e3
besu: EOF Code Invalid : Operation 0xE7 requires stack of 21 but may only have 20 items
revm: err validation: Stack requirement is above smallest stack items
etjs: OK
evm1: err: stack_underflow
code: ef0001010004020001002b040000000080001460016001600160016001600160016001600160016001600160016001600160016001600160016001e71300
size: 62

ethjs from https://github.com/ethereumjs/ethereumjs-monorepo/pull/3553 @ 1973edfa633fffe893441fd740f1ea48f3c785e3
besu: EOF Code Invalid : No RETF or qualifying JUMPF
revm: err validation: Non returning section is returning
etjs: OK
evm1: err: invalid_non_returning_flag
code: ef000101000802000200040007040001000080000000000000e3000100e00000e0000000ef
size: 37

besu upgraded to 2ddfc2cbfb0ed9e5dd151c7e7df385d1aceafd18 and all reported issues are fixed.

Geth from https://github.com/MariusVanDerWijden/go-ethereum/commit/2ffab55c7f1263d2de9df615b4dfb7e9636d5349
geth: OK
this: err: EOF Code Invalid : jumpf_destination_incompatible_outputs target  2 with more outputs 3 than current section's outputs 0
evm1: err: jumpf_destination_incompatible_outputs
revm: err validation: JUMPF needs more outputs
code: [encoded data, 4194 characters]
size: 2097

Covered by unit tests in https://github.com/ethereum/execution-spec-tests/pull/789

Geth from https://github.com/MariusVanDerWijden/go-ethereum/commit/2ffab55c7f1263d2de9df615b4dfb7e9636d5349
geth: OK
this: err: EOF Code Invalid : stack_height_mismatch backwards RJUMPV from 18 to 10, min 4 != 3
evm1: err: stack_height_mismatch
revm: err validation: Backward jump has different smallest stack item
code: ef000101000402000100170400000000800005650000e100025f5f5f5f6000e10001506000e200fff400
size: 42

Covered by unit tests in https://github.com/ethereum/execution-spec-tests/pull/789 - also inspired RJUMPV variant

geth issue in initcode mode:
ef0001
010004
0200010007
0300010015
04000000
00800002
6160006000ee00

subcontainer:
ef0001
010004
0200010001
04000000
00800000
00
41  <-- extra byte

I had thought that https://github.com/ethereum/execution-spec-tests/blob/8da6e5dd2c37fafa3aac10608eb53885c1e4240a/tests/prague/eip7692_eof_v1/eip3540_eof_v1/test_section_size.py#L102 would have tested it, but those appear to only be section size matching header size, and not including "dangling data."  Since subcontainer is the only one that is fully contained this is the only one it would be seen in.

Was EthereumJS added to your fuzzer @shemnon ?

It can run it.  Any CLI launched client that supports the tx fuzz protocol for eof validation can be used.
https://github.com/hyperledger/besu/blob/main/testfuzz/build.gradle#L99-L104

I'm closing this because all the issues found / test cases have been sent to EEST. Open new issue if there are more things from fuzzing in the future.


"The document could not be saved"

Hey,
when i create a new document in my nextcloud and onlyoffice opens it the following message appears

I just installed the latest Version of this app and pulled the latest docker image of onlyoffice.
Do i have to take some configurationsteps to fix this issue?
Thank you

Hello @FlorianTaut
Please describe in details how did you install Document Server and Onlyoffice. What command did you use? Also tell how did you connect OnlyOffice to ownCloud. What instruction did you follow? What is Document Server version?

I have the same problem, also NextCloud (12 to be exact). Pulled the latest version from Docker and followed your instructions. The error shows up when opening an existing document and when another user opens the file. However everything's fine when I create a very new document within Nextcloud.

Hi Together
I think I had a similar problem disabling, use apache2 as proxy disabling HTTPS2.0 with
Protocols  http/1.1
in the <VirtualHost> section of Onlyoffice solved the Problem for me.

Worked for me, too. Thanks

Same problem
where do i exactly disable HTTPS2.0 with
Protocols http/1.1
Thank you

@JohnPerkin I'm also seeing this issue when installing with the VM scripts.
In browser I see this
office.domain.se/2017-08-11-08-40/web-apps/apps/spreadsheeteditor/main/app.js:8 Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.
https://office.domain.se/2017-08-11-08-40/web-apps/apps/spreadsheeteditor/main/app.js Failed to load resource: the server responded with a status of 404 (Not Found)(anonymous function) @ office.domain.se/2017-08-11-08-40/web-apps/apps/spreadsheeteditor/main/app.js:8
https://office.domain.se/2017-08-11-08-40/web-apps/apps/spreadsheeteditor/main/app.js Failed to load resource: the server responded with a status of 404 (Not Found)_get @ office.domain.se/2017-08-11-08-40/web-apps/apps/spreadsheeteditor/main/app.js:8
WebSocket connection to 'wss://office.domain.se/2017-08-11-08-40/doc/7251811504081093/c/766/qwbpeeuy/websocket' failed: Error during WebSocket handshake: Invalid status line

Setting protocols in the Apache Vhost didn't help.
Can you please help?

@ftaut
Could you please specify if the problem recurs or we can close the topic.


Feat/refactor

Related issue
fixes #38
fixes #43
Description
Refactor the plugin to process multiple outputs. This refactoring removes the need for rollup-plugin-filesize plugin and generates the proper compression sizes directly using reliable packages.

:tada: This PR is included in version 1.4.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Start facilitating coefficient splitting

This PR starts the process of facilitating slicing the feature axis of either the model coefficients, or of the design matrix.
In particular it introduces in Basis:

label parameter: name the variable, write only. Label of AdditiveBasis and MultiplicativeBasis combines the labels of 1d basis.
n_basis_input parameter: name the variable, write only, the shape of axis 1 of a 2D input to basis. This happens in convolve, for example when we convolve the counts of a neural population.
_get_feature_slicing: a recursion that returns a dictionary of slices, that can be applied to the feature axis. Labels (or combination of labels) are used as keys.

This methods are for internal use, but will make our life very easy, for example we could use a  jax.tree_utils.tree_map to apply the slicing to an array, and get automatically a dictionary, well labeled in a meaningful way, containing the coefficients.
It will also facilitate creating a "FeaturePytree" from an input in array or TsdFrame form.
Example
>>> import nemos as nmo

>>> bas1 = nmo.basis.RaisedCosineBasisLinear(3, mode="conv", n_basis_input=2, window_size=5, label="position")

>>> bas2 = nmo.basis.MSplineBasis(4, mode="conv", n_basis_input=3, window_size=5,  label="velocity")

>>> bas3 = bas1 + bas2 + bas1 * bas2

>>> # slice each individual input, default behavior.
>>> bas3._get_feature_slicing()[0]
{'position': {'0': slice(0, 3, None), '1': slice(3, 6, None)},
 'velocity': {'0': slice(6, 10, None),
  '1': slice(10, 14, None),
  '2': slice(14, 18, None)},
 '(position * velocity)': slice(18, 90, None)}

>>> # slice each additive component instead.
>>> bas3._get_feature_slicing(split_by_input=False)[0]
{'position': slice(0, 6, None),
 'velocity': slice(6, 18, None),
 '(position * velocity)': slice(18, 90, None)}

[NOTE]
The use of parentheses guarantees that the label fully specifies the order of operation in a composite basis.

Note to myself, if the number of output features is pre-computed, we avoid a nested recursion,  and we can get rid of the method for computing the number of outputs.

Codecov Report
Attention: Patch coverage is 80.35714% with 11 lines in your changes missing coverage. Please review.

Project coverage is 96.60%. Comparing base (ccaf877) to head (f611905).

Files with missing lines
Patch %
Lines

src/nemos/basis.py
80.35%
11 Missing :warning:

Additional details and impacted files
@@               Coverage Diff               @@
##           development     #247      +/-   ##
===============================================
- Coverage        97.09%   96.60%   -0.49%
===============================================
  Files               20       20
  Lines             1857     1913      +56
===============================================
+ Hits              1803     1848      +45
- Misses              54       65      +11

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

I'm confused by the behavior of split_by_feature:
* Why does it return 3d arrays? If I look at the example in the docstring, it returns arrays of shape (20,1,5) and (20,1,6). What's the middle dimension? This is also the behavior for a single basis or multiplicative basis.

Basis in conv mode allow for mutlidimensional inputs (intended for counts which are a TsdFrame in pynapple). The extra dimension. Example below,
>>> import nemos as nmo
>>> import pynapple as nap
>>> import numpy as np
>>> counts = nap.TsdFrame(t=np.arange(100), d=np.random.poisson(size=(100, 2)))
>>> basis = nmo.basis.BSplineBasis(5, mode="conv", window_size=50)
>>> X = basis.compute_features(counts)
>>> X.shape
(100, 10)
>>> basis.split_by_feature(X, axis=1)["BSplineBasis"].shape
(100, 2, 5)

* This method only really make sense for the additive basis right? Otherwise it doesn't do anything but add the middle dimension? In that case, should it exist for the other bases objects? Or am I missing something?

I prefer that any basis should have the method for consistency. I can see a case in which one create the additive basis in a script, but the number of component is variable, from 1 to N, if you have the method, you can use the same exact code to process a regular basis ( 1 component) and the rest.

I also don't think the tutorial we have on identifiability constraints right now is sufficient. Might not need to be addressed here, but should be added to the docs project if not. Should explain why it's bad to be rank-deficient, show what you gain from being full rank, etc.

Yes, totally


build(HMS-4078): bump golang1.21

Update golang dependencies to use go1.21
Update base container to use go1.21
Update make to use go1.21
Update pipeline to use go1.21

Checking by:
$ go clean -modcache -cache
$ rm -rf tools/bin
$ make tidy install-tools
$ make clean build container-build

And relaunching the pipeline on github.

:+1: thanks I didn't realize about them


Order simple search results (from homepage) by date if there is a query

On the simple search results (from the homepage), the search results should be
ordered by:

Relevance if there is a query
Date if there is not a query

Caveat: if an order param is passed in, we should respect it.
Trello: https://trello.com/c/81UiEmFs

Interesting to note that order=-relevance and order=relevance give the same results...!


Implement TerminalCommand and Terminal command mode

This change implements a new mode called TERMINAL. In this mode, the server, right after starting the script, writes initial commands that are responsible for collecting environment variables, which will be added or deleted to the current session.
The TERMINAL mode is supported only in the v2alpha1 runner.
Fixes https://github.com/stateful/runme/issues/551

@adambabik probably makes sense to disable that the failing tests on Windows?

@sourishkrout ah yes, sorry I missed that. Tests using pty do not work on Windows. I rebased on main and force pushed.


Add Socket::IPAddress.valid?

This patch adds utility methods IPAddress.valid? as well as .valid_v4? and .valid_v6? which enable testing whether a string describes a valid IP address.
A practical use case is validation of a cookie's Domain attribute which can either be a domain name or an IPv4 address. I'm sure it can be useful for other purposes as well.
The implementation actually tries to parse the string into an InAddr or In6Addr and returns true if that was successful. This can probably be more performant with a custom implementation, but for now I've just adapted what was already used for the constructor.

I realized there is already Socket.ip? which is essentially equivalent to the new Socket::IPAddress.valid?.
Should we stick with the existing name, i.e. rename valid_v4? and valid_v6? to ip4?, ip6? and move them to Socket namespace?
Or do we keep the proposed names and deprecate Socket.ip?.
Socket.ip? is definitely shorter and still pretty unambiguous. Socket::IPAddress.valid? is more explicit, though.

@straight-shoota I think it'd make more sense to have them on the actual IPAddress type.

@straight-shoota Any plans on revisiting this?

I think we should go with the proposed action to add the new IPAddress.valid? methods and deprecate Socket.ip? (I added a commit for that).
This PR just needs a review.

Hi, when run my new shards https://github.com/zw963/myip, i get following error come from std-lib.
In /home/zw963/Crystal/share/crystal/src/openssl/ssl/socket.cr:15:11

 15 | {% if LibSSL.has_method?(:ssl_get0_param) %}
      ^
Warning: expanding macro

There was a problem expanding macro 'macro_140443166686832'

Called macro defined in /home/zw963/Crystal/share/crystal/src/openssl/ssl/socket.cr:15:11

 15 | {% if LibSSL.has_method?(:ssl_get0_param) %}

Which expanded to:

    1 |
    2 |             param = LibSSL.ssl_get0_param(@ssl)
    3 |
 >  4 |             if ::Socket.ip?(hostname)
    5 |               unless LibCrypto.x509_verify_param_set1_ip_asc(param, hostname) == 1
    6 |                 raise OpenSSL::Error.new("X509_VERIFY_PARAM_set1_ip_asc")
    7 |               end
    8 |             else
    9 |               unless LibCrypto.x509_verify_param_set1_host(param, hostname, 0) == 1
   10 |                 raise OpenSSL::Error.new("X509_VERIFY_PARAM_set1_host")
   11 |               end
   12 |             end
   13 |
Warning: Deprecated Socket.ip?. Use `IPAddress.valid?` instead

A total of 1 warnings were found.


Support setting image digests in all testkube images

Some images support setting the digest with image.digest while others do not.
https://github.com/kubeshop/helm-charts/pull/409

hi @michael-barker,
global.images.image template doesn't allow us to set an image tag to chart's appVersion which we're currently doing. I suggest we extend each chart's template and include adding digest there, like
https://github.com/kubeshop/helm-charts/pull/412
Merged the PR. Please upgrade TK version to the latest one and enjoy :)


Question: change the nothing selected text?

Is there any means to change the nothing selected text?

Hi ganySA,
yes you can. You have to use the nyaBsConfigProvider for that:
For example (Brazilian Portuguese):
angular.module('YourApp').config(function (nyaBsConfigProvider) {
 nyaBsConfigProvider.setLocalizedText('pt-br', {
        defaultNoneSelection: 'Selecione...',
        noSearchResult: 'Pesquisa sem resultados',
        numberItemSelected: '%d itens selecionado(s)'
    });
    nyaBsConfigProvider.useLocale('pt-br');

Hi
Sorry i was hoping for something per drop down e.g
Please select a fruit
Please select your title
etc.

use title or title-tpl attribute on nya-bs-select directive

great thanks!

This should go into the .md or wiki section !!

FYI, title also changes the tooltip when mousing over the select box (even while something is selected). So @ganySA would see "Please select a fruit" when mousing over the select, even if "Apple" was already selected.


Feat/auth test

Ticket Link

Related Links

Description

Steps to Reproduce / Test

Request

Response

Codecov Report

Merging #62 (6afffaf) into master (d1dc247) will increase coverage by 5.14%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master      #62      +/-   ##
==========================================
+ Coverage   47.77%   52.91%   +5.14%
==========================================
  Files          18       18
  Lines         651      652       +1
==========================================
+ Hits          311      345      +34
+ Misses        314      275      -39
- Partials       26       32       +6

Impacted Files
Coverage Δ

internal/middleware/auth/auth.go
50.00% <66.66%> (+50.00%)
:arrow_up:

Continue to review full report at Codecov.

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


Old reminders which did not feature timezone information crash the bot

Need to convert these to timezone aware when pulling them out of the database before processing.

Fixed by https://github.com/anoadragon453/matrix-reminder-bot/commit/ea56e30bd5982729f52509ca8a4ac7d9b2d5f468


False Order of Videos

Describe the bug
The Order buttons "Newest first" and  "Oldest first" dont work properly.
Oldest first  : shows the oldest video of the newest Month at first.
Newest first : shows the newest video of the oldest Month at first.
To Reproduce
Steps to reproduce the behavior:
Sort the Videos by Oldest first or Newest first
Expected behavior
Oldest first  --> show the oldest video of the oldest Month at first.
Newest first --> show the newest video of the newest Month at first.
Screenshots
Screenshots of a Summersemestercourse:

Desktop (please complete the following information):

OS: Windows 11
Browser chrome
Version 115.0.5790.173 (Offizieller Build) (64-Bit)

Thanks for the issue! Should be fixed once #1145 is merged.


WIP: Add cuda-platform-rest for easier cuda testing

What changes were proposed in this pull request?
Adds cuda platform redist for all tests so it's easier to test multiple cuda versions no matter which cuda version is installed.
(Please fill in changes proposed in this fix)
Also fix test runner issues with cuda backend. Includes fixes for multi threading, disabling some tests to be fixed in a separate PRs to come.
Removes junit-platform.properties and replaces it with a parallel profile we can dynamically enable.
junit-platform.properties superseded properties we were passing to surefire. This should mitigate that risk now.
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
Quick checklist
The following checklist helps ensure your PR is complete:

[X ] Eclipse Contributor Agreement signed, and signed commits - see IP Requirements page for details
[ X] Reviewed the Contributing Guidelines and followed the steps within.
[X ] Created tests for any significant new code additions.
[X ] Relevant tests for your changes are passing.

Closing and splitting changes out in to individual PRs


Added ScaleAroundPoint and RotateAroundPoint transform extensions

What is the current behaviour?
What is the new behaviour?
Added ScaleAroundPoint and RotateAroundPoint transform extensions
What issues does this resolve?
What PRs does this depend on?

None

Does this introduce a breaking change?

[ ] Yes
[x] No

Tests added—the RotateAroundPoint test was suffering a rounding error, giving false negative results, but a custom Vector3 comparer with 10e-7 margin of error fixed it.


Update frontend to match current API

Fixes what has been broken in #77.

Maybe, could you, please, add some description how to run that script? I should have executed that script by myself and fix those issues.

@martin-majlis later, later… ;)


[FEATURE] Add a footer

Description
I wil be adding a responsive footer to your code and incorporating the major details in there such as logo and contact details
Screenshots

Additional information
No response

What exactly you wanted to add ??

I will add a responsive footer with the details. It needs a fixed footer at the end.

If you can provide some demos and if project admin agrees then only i will assign this issue

Somethings like this.

@apoorvaron

@abrehan2 shorty doesn't need this too much detail in footer.
Please find an another issue or choose another issue from issue section ( Label : up for grab)


Feature Request - of type

Can you add selectors for *-of-type? They are usually working more as expected than child selectors. Described on css-tricks.com
Something simple like :exactly-of-type would be good.

ping @pascalduez

ping @pascalduez

Hi,
could you describe a bit more the use-cases and give a few examples?
I'm not having a clear picture about how this could be related to quantities.

Hi,
could you describe a bit more the use-cases and give a few examples?
I'm not having a clear picture about how this could be related to quantities.

Foo
Bar
For this code work both
 - p:nth-child(2) - select paragraph if it's second child
- p:nth-of-type(2) - select second paragraph
But when you add one element
Foo
Bar
Baz
With this code :nth-child selects first paragraph, :nth-of-type still selects second. Add one tag before paragraphs and :nth-child selects nothing.
I am using quantities in design where I sometimes need to add some spans when pseudo elements are insufficient and child selectors are breaking that.

Foo
Bar
For this code work both
 - p:nth-child(2) - select paragraph if it's second child
- p:nth-of-type(2) - select second paragraph
But when you add one element
Foo
Bar
Baz
With this code :nth-child selects first paragraph, :nth-of-type still selects second. Add one tag before paragraphs and :nth-child selects nothing.
I am using quantities in design where I sometimes need to add some spans when pseudo elements are insufficient and child selectors are breaking that.

I see what you mean now.
So out of the blue this would give something like:
:at-least-of-type(count) { ... }
:at-most-of-type(count) { … }
:between-of-type(start, end) { … }
:exactly-of-type(count) { … }

Won't be implemented before the WIP refactor for #8 is done.


It should be possible to exclude (temporary) database jobs while generating DDL.

On a client site temporary database jobs (dbms_scheduler) are run while DDL generation is running. This leads to object not found errors since the (temorary) PROCOBJ objects are created and destroyed a little later.

There is a facility to add a filter for object type. Currently this allows only for filtering on an object type (inclusive). This should turn into all but this object type. The easiest way to do this is to add a negation mark (!) in front of the parameter.

You can now exclude objects, see It must be possible to use a schema object id for specifying the object to (NOT) generate DDL for..


Update/Fix fdg pieces

This PR does a few things:

FDG modules return a status along with the result. This status wasn't passed up as part of the overall fdg return, now it is. I also added an option to the fdg<-->nova connector that allows you to use this status instead of the real returned value.
I added the ability to pass in custom headers in the curl module, as well as a toggle for attempting to decode json from the result.
The splunk_fdg_return didn't specify a default sourcetype. I added it as hubble_fdg.
Fixed a small bug in xpipe. It was bassing in the full chained value instead of the iteration each time.

Comments welcome

The only place I actually needed it was in the curl module. If I curl against a host that doesn't exist, I don't know exactly what error is going to come back. The error is then converted to a string and returned as the result. When cast to a bool, you can't tell whether or not the request was successful. I figured that since the curl module was reporting both a true/false status as well as a result, that I could just use the status in my Nova check. But that meant I needed to return the status from the fdg module. I had to add it in to all the other module functions because it was going to be passed in from the _fdg_execute function. Technically I could have just made sure they all had **kwargs at the end and that would have been fine. But you explicitly pass in chained, so I figured I'd pass in the status variable too.
tl;dr I don't USE it anywhere, but I want to report the status outside of the fdg module. Coercing the result to a boolean (as is done in the fdg<-->nova connector wouldn't work in my case.


Cannot destructure property 'ipcRenderer' of 'window.electron' as it is undefined.

Describe the bug
I'm using react template and it works well in electron app, however in browser i got this error message:
Cannot destructure property 'ipcRenderer' of 'window.electron' as it is undefined.
in app.tsx i do import ipcRenderer from window.electron
const { ipcRenderer } = window.electron
and here is my preload script:
if (process.contextIsolated) {
try {
contextBridge.exposeInMainWorld('electron', electronAPI)
contextBridge.exposeInMainWorld('api', api)
} catch (error) {
console.error(error)
}
} else {
// @ts-ignore (define in dts)
window.electron = electronAPI
// @ts-ignore (define in dts)
window.api = api
}
and main.ts is the same as template with no changes
Electron-Vite Version
1.0.23
Electron Version
25.2.0
Vite Version
4.3.9
Validations

[X] Follow the Code of Conduct.
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.

electron module(preload script) cannot  work in a browser.


Update Server.php

Checksum Extension is optional. When no checksum is sent by the client this did break b/c checksum is null

Hi @mstaack You can always pass null or empty string in $checksum for it to be ignored. Could you please explain what are you trying to fix here? May be I missed something.

hmm i might be wrong but checksum seems to be null.
later on this is called:
https://github.com/ankitpokhrel/tus-php/blob/master/src/Tus/Server.php#L468
and
https://github.com/ankitpokhrel/tus-php/blob/master/src/Tus/Server.php#L476
which did break for me...


Bible book

Click here if you want to create code_sniffer's auto-correct Pull Request

See the documentation if you want to get more information about auto-correct.
Document


Korean translation - final revision in ko.yml and ko.json

Changes:

added translation on updated parts (except for screen reader guideline & specific pages to featured showcase projects)
edited typos, etc.

:) almost done!

looking great!


Deluxe Referee Scripts

Create scripts for referee devices with full IWF support + additional features:

referee-confirmation: Confirmation LEDs
referee-vibration: Vibration warning
referee-deluxe Confirmation LEDs + vibration warning

Vibration is a good feature to add for summoning as well.

Yeah, the "warning" label above is intended to include decision reminders and summoning. Basically any time the buzzer would be used, the vibration would be used as well.

No additional scripts will be added since there's no need for predefined configurations in the open source module.


[EditText] css bug

Describe the bug
[EditText] seems to have css compile error. In project code, renderContainer has paddingVertical: 8 when decoration is boxed.

But In my node_modules, It compiles to paddingTop: 8.

I'm currently using "dooboo-ui": "^0.2.0-rc.6".
Additional context
Add any other context about the problem here.

Anyone who try to remove unwanted paddingTop,  add container style like below.
<EditText
  decoration="boxed"
  styles={{container: {paddingTop: 0}}}
/>

Looks like the original code is paddingTop: 8. Closing due to invalid.

However, this looks like paddingTop should be 8 only when label is provided. Will fix this.

Fixed in 071e299cacffb5fed379f615410ad854eea9bd21


update dropwizard 1.3.26 to fix vulnerability

@gs-bracej does it mean we might have to upgrade to dropwizard@2?

@akphi You just need to upgrade the jetty version. See, e.g., this: https://github.com/finos/legend-sdlc/pull/38

Agree with @kevin-m-knight-gs . We do also need to upgrade to DW2, thats going to be a bigger piece of work though. I've created https://github.com/finos/legend-shared/issues/62 for that.


PFFieldOperation Crash More Prominent

Hey,
I'm noticing a more frequent crash. I'll try to include as much info as I can gather. This has happened in 13 out of the past 30 days

Hey @acegreen,
This happens due to the fact that you are trying to apply a remove operation on an object that has an operation that is different from Set/Remove (most likely an Add) operation pending for the same key.
I would recommend structuring your code in a way that will enforce the object to be saved in between these operations, which will remove the crash.
We had few discussions on how we could provide both Add and Remove support for a given key without requiring round-trips to the server and back, but this most likely only going to happen in the world of Parse Server.
Let me know if this helps in any way or you think there might be something else involved here.

I'm still experiencing this crash and the above description doesn't seem to apply here. Can we reopen this.
Take a look at the screenshots above, the last function called on my side is the registerUserChoice()
    class func registerUserChoice(chart: Chart, and object: PFObject?, with choice: Constants.UserChoices) {

        guard (PFUser.currentUser() != nil) else { return }

        var removeFromKey: String!
        var addToKey: String!

        switch choice {

        case .LONG:
            removeFromKey = Constants.UserChoices.SHORT.key()
            addToKey = Constants.UserChoices.LONG.key()

        case .SHORT:
            removeFromKey = Constants.UserChoices.LONG.key()
            addToKey = Constants.UserChoices.SHORT.key()

        default:
            break
        }

        if let object = object {

            object.removeObject(PFUser.currentUser()!, forKey: removeFromKey)

            if object.objectForKey(addToKey) != nil {

                object.addUniqueObject(PFUser.currentUser()!, forKey: addToKey)

            } else {

                object.setObject([PFUser.currentUser()!], forKey: addToKey)
            }

            object.saveEventually({ (success, error) -> Void in
            })
        }

        print("\(choice)", object)
        print("Chart:", chart.searchDescription)

        saveIntoCoreData(chart, userChoice: choice)

    }

I don't perform two operation on the same object

@nlutsenko any additional thoughts on this? code snippet above


Update CODEOWNERS

Adding Satya(PM) and Sebastian
Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

/check-enforcer override


Update tests

Codecov Report
Patch and project coverage have no change.

Comparison is base (caf9c28) 100.00% compared to head (6142ea9) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #44   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           29        29
  Lines          443       443
  Branches        22        22
=========================================
  Hits           443       443

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


Add application generation script to contrib

Script will generate a simple "hello world" hosted+native EbbRT application

@BetsyRT try

:hourglass: Trying commit ba9c134 with merge f701737...

:sunny: Test successful - runtests
State: approved= try=True

@BetsyRT r+

:pushpin: Commit ba9c134 has been approved by jmcadden

@BetsyRT r+

:bulb: This pull request was already approved, no need to approve it again.

:pushpin: Commit ba9c134 has been approved by jmcadden

@BetsyRT r+

:bulb: This pull request was already approved, no need to approve it again.

:pushpin: Commit ba9c134 has been approved by jmcadden

@BetsyRT try

:hourglass: Trying commit 5b37e59 with merge 08ba26a...

:sunny: Test successful - runtests
State: approved= try=True