added localisation for student dashboard, fixed issues from initial pull request

Checklist

[x] I run yarn run webpack:build:main: the project builds without errors.
[x] I run yarn lint: there project builds without code style warnings.
[x] I removed unnecessary whitespace changes in all related files.
[x] I updated the documentation and models.
[x] I tested the changes and all related features on the test server https://artemistest.ase.in.tum.de.
[x] I added (end-to-end) test cases for the new functionality.

Motivation and Context
In the initial pull request for the student dashboard some issues where left open
Description
added localisation for the student dashoard, fixed issues with linting
addressed issues from https://github.com/ls1intum/ArTEMiS/pull/154#issuecomment-467422615
Steps for Testing

Log in to ArTEMiS
Navigate to the new student course dashboard
Check if the localization is working
check if issues from https://github.com/ls1intum/ArTEMiS/pull/154#issuecomment-467422615 are resolved

Screenshots

It seems good to me, but of course I haven't reviewed the German translations!
Anyhow, just a stylistic question: I'd stick to just one style between |translate and jhiTranslate for translations


[RFE] better apm parsing

need to deep parse the apm.profile.access entries, which points to the apm.policy.access-policy details\ (also deep parse)
I'm fairly certain this is a 1:1 relationship.
Display the profile access in vscode-f5 as a list and provide all the details from there.

fully parsed the "apm profile access", but not the 'apm policy access-policy' since it gets complicated really quick and there is no information we need from it at this time.  Mainly since it should be covered by any policy export/conversion process in the future.  With the current situation, at least we can see virtual/access-profile relationships and high level profile settings, which is the goal at this time.
This has been completed with pending v1.1.0 release


In Admin: build_attrs() got an unexpected keyword argument

Python 3.6.1 - Django 1.11 - Windows 10 - Package version: 1.3.3
I'm not really sure what's going on, but whenever I try to open an object in my admin panel, I get the following error:
TypeError at /admin/Events/event/17/change/ build_attrs() got an unexpected keyword argument 'name'
Exception is located at:
C:\Users\Adam\Envs\otherlane_2\lib\site-packages\sortedm2m\forms.py in build_attrs, line 35
This is the start of the function. This last line seems to be the issue:
    def render(self, name, value, attrs=None, choices=()):
        if value is None: value = []
        has_id = attrs and 'id' in attrs
        final_attrs = self.build_attrs(attrs, name=name)

It seems CKEditor had a similar problem and had to undergo a revision:
https://github.com/django-ckeditor/django-ckeditor/pull/364/files

Same here. Django 1.11 causes this.

Ran into this same TypeError, too. Django 1.11, python 3.5, sortedm2m 1.3.3
Error during template rendering
/lib/python3.5/site-packages/django/contrib/admin/templates/admin/includes/fieldset.html, error at line 19
Traceback (partial):
lib/python3.5/site-packages/sortedm2m/forms.py in build_attrs
35.  build_attrs(attrs, **kwargs)

I made a pull request that fixes this problem.

I believe this was also addressed in #104 by @fdintino
Unfortunately we haven't heard back from @gregmuellegger about the issue or PR in question

This is addressed by #104. I emailed @gregmuellegger a week ago and he responded that he's aware of the pull request and that, though he's busy, he'll look into it when he can.

Hey, thank you all for the reports, comments and contributions! I just merged #104 and released 1.4.0 including a fix for this. Can you please test and confirm that this also fixes this issue?

Confirmed that this resolves the issue for me. Thank you kindly for your excellent work!


Can't edit text due to an attempt to load non-existent js file, but only when running in production (port 80)

Very strange: when I am running on a server with port 8000, all is well.  When in production on port 80 (or localhost port 80), I am getting this 404 error when trying to edit a text plugin:
[26/Aug/2017 20:35:20] "GET /static/djangocms_text_ckeditor/ckeditor/plugins/copyformatting/lang/en.js?t=H0CG HTTP/1.1" 404 147
As a result, text editor does not load properly and text can't be edited.
this file does not exist at the path given above, and when running on :8000, there is no request for that URL at all.  Any ideas?....
Update: I stumbled onto this: https://stackoverflow.com/questions/15786690/django-escaping-javascript-when-debug-false and tried the workaround they suggested, and it helped, which was doing this in settings:
EXCLUDE_FROM_MINIFYING = ('^admin/', '^en/admin/')

i am getting the same error

figured out the error. Its the way static files were setup. The best possible solution to get rid of the error is to do
./manage.py collectstatic -c

the -c flag would clean the static files first. The above is a dangerous command. So make sure the project STATICFILES_DIR is setup correctly, or else it will clean everything and then do the setup.

Having the same error, in my case the missing file is:
/static/djangocms_text_ckeditor/ckeditor/plugins/copyformatting/lang/pl.js?t=H8DA
I looked at the s3 bucket where my static files are collected, this file is missing.
It is not being requested when I'm running in the Debug mode (the editor actually loads then).
Looking at the static folder in this project, this file is not there, either.
Is there some setting I'm missing or have misconfigured?

Same here. This is not a good solution but it helps:
I manually copied https://github.com/ckeditor/ckeditor-dev/tree/4.7.3/plugins/copyformatting/lang folder to corresponding static folder of this project.
@vxsx is there any reason why those files are missing from this repo?

@darbula because we don't use development version of ckeditor, we use a compiled one, so the translations for this plugin are here: https://github.com/divio/djangocms-text-ckeditor/blob/master/djangocms_text_ckeditor/static/djangocms_text_ckeditor/ckeditor/lang/pl.js

@vxsx thank you, it seems that now that file is not requested anymore.

@vxsx why would the browser request these files then? This error happens with DEBUG = False, is there a specific setting in djangocms-text-ckeditor to control the version of ckeditor?

@krisb78 I have no idea, haven't seen it before. Normally version of ckeditor is controlled by https://github.com/divio/djangocms-text-ckeditor/blob/master/djangocms_text_ckeditor/widgets.py#L19
errors may happen if you upgrade from old version where widget html contained a reference to a file and the html file is still in the project
i would have to debug the js calls leading to incorrect requests to figure out what is the problem

@vxsx I finally found the root cause of the issue. I have my static assets collected to s3, and file:
djangocms_text_ckeditor/static/djangocms_text_ckeditor/ckeditor/lang/pl.js was not getting updated in s3 I upgraded the ckeditor plugin, because the collectstatic command didn't believe it has changed.
collectstatic compares mtime of files to determine whether to update them or not, and there is something wrong with the logic there, at least when s3 is used for staticfiles storage.
This is why ./manage.py collectstatic -c solves this.


Use DynamicCastMessage instead of dynamic_cast to downcast protos in …

🦟 Bug fix
Summary
The UserCommands system uses built-in dynamic_cast to downcast proto messages. However the currently recommended cast method for protos is DynamicCastMessage: https://github.com/protocolbuffers/protobuf/blob/40ffd46cec1291e1320e46a134c47dd23a74ff43/src/google/protobuf/message_lite.h#L1018
Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

The version of protobuf we use in Ubuntu Jammy and Noble doesn't have this function.

The version of protobuf we use in Ubuntu Jammy and Noble doesn't have this function.

This was pushed to protobuf's main branch 3 weeks ago in https://github.com/protocolbuffers/protobuf/commit/18da465815e609732b902d8cbc79d2d12e90686d. It looks like that renamed the API from DynamicCastToGenerated to DynamicCastMessage, but it has not yet had a stable release. It was not included in v27.1, so I think we could assume it will be in v28.0. We could add an #ifdef based on the protobuf version to select between these APIs instead of dynamic_cast.

Yep, seems that way. Its ok, I'll add the methods to copybara when sync'ing to the internal repo for now and drop the PR. We can revisit it in a year. Adding an ifdef everywhere will really hamper code readability.

Adding an ifdef everywhere will really hamper code readability.

we could potentially define a type alias with using inside an ifdef in one place instead of using ifdefs all over, so it could still be readable

Adding an ifdef everywhere will really hamper code readability.

we could potentially define a type alias with using inside an ifdef in one place instead of using ifdefs all over, so it could still be readable

actually DynamicCastMessage isn't a class, so I don't think we could do a template type alias. I think we'd probably have to use a macro, which isn't ideal


Add color palettes examples [REQUEST]

Is your feature request related to a problem?

Colors is one of the design elements for our UI. Right now we only have examples for Typography and Shadows in Storybook.

Describe the solution you'd like
I'd like to add color palettes examples under System

Are you able to assist bring the feature to reality?
Yes. I'll implement this myself to get familiar with storybook 6.0 and added features/recent changes in react-labs

Love this!!


Inscription not found error, when the inscription exists

Describe the bug
I am trying to retrieve inscription information, and for the following inscription both Hiro's ordinal explorer returns an error and so does the api.
To Reproduce
Here are some relevant links:
https://api.hiro.so/ordinals/v1/inscriptions/9cb341c53d7be958d18531161e1ea0b5d21f0ec4589f5a396b821157bf300fe8i0
https://ordinals.hiro.so/inscription/9cb341c53d7be958d18531161e1ea0b5d21f0ec4589f5a396b821157bf300fe8i0
https://ordinals.com/inscription/9cb341c53d7be958d18531161e1ea0b5d21f0ec4589f5a396b821157bf300fe8i0
https://ordiscan.com/inscription/70016741
Expected behavior
Should return the inscription with the relevant information
Desktop (please complete the following information):

OS: Windows 11
Chrome

Hi, an instance of an improperly assigned owner if not an incorrect inscription.
would appreciate a swift resolution to these issues, thanks.
https://ordinals.hiro.so/inscription/c5a7a9e8535a88999509a2e4c0c174f33b1ea43291c5808b06325638fb3c15eei645
https://api.hiro.so/ordinals/v1/inscriptions/c5a7a9e8535a88999509a2e4c0c174f33b1ea43291c5808b06325638fb3c15eei645
https://ordinals.com/inscription/c5a7a9e8535a88999509a2e4c0c174f33b1ea43291c5808b06325638fb3c15eei645

another mismatched inscription/inscription owner
https://ordinals.hiro.so/inscription/c5a7a9e8535a88999509a2e4c0c174f33b1ea43291c5808b06325638fb3c15eei1267
https://ordinals.com/inscription/c5a7a9e8535a88999509a2e4c0c174f33b1ea43291c5808b06325638fb3c15eei1267

@razr22: Apologies for the delay; please know that the team is actively looking into resolving it.

Ok, will have to look to other API providers for a solution until then.

Ok, will have to look to other API providers for a solution until then.

Sorry you feel that way. FWIW PR #300 will also fix this issue and is actively being tested, so we're very close.

I can see that the sequences are now aligned, thank you for your patience @razr22 🙏
Closing this issue.

I can see that the sequences are now aligned, thank you for your patience @razr22 🙏 Closing this issue.

Awesome! Will take a look.


Update SqlStatementExecution

Description
Update the SQL statement execution project as it was missing some properties.
References

#0000

Codecov Report

Merging #221 (ce4ed4b) into main (fb9c438) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #221   +/-   ##
=======================================
  Coverage   71.12%   71.12%
=======================================
  Files         195      195
  Lines        3550     3550
  Branches      442      442
=======================================
  Hits         2525     2525
  Misses        881      881
  Partials      144      144

Flag
Coverage Δ

databricks
80.74% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


feat(Calendar): implement component

🔗 Linked issue

Resolves https://github.com/nuxt/ui/issues/1137 and half https://github.com/nuxt/ui/issues/2524
❓ Type of change

[ ] 📖 Documentation (updates to the documentation or readme)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality)
[x] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

UDatepicker component to use nuxt-ui is sorely lacking. This is the first step towards implementing a UDatepicker. I'll be doing this in my spare time, so it might be a bit of a stretch.
📝 Checklist

[x] I have linked an issue or discussion.
[x] I have updated the documentation accordingly.

@benjamincanac do you think UCalendar is part of UForm? Or is it an independent component that only becomes part of UDatepicker?
I'm asking to see if I need to get the props part from useFormField

No need to make it work in a form, it's a separate component indeed! Also, it should handle ranges:

https://www.radix-vue.com/components/calendar.html
https://www.radix-vue.com/components/range-calendar.html

@benjamincanac at the moment it looks like this. It remains to solve the typing problem and write documentation.

I was going to do that originally. But I thought that typing on dynamic components might break.
But since you recommend it, I'll do it like this

@benjamincanac radix uses @internationalized/date for calendars, which internally creates a class. When Vue wraps this class in ref, it hides some of the private properties. The solution to this situation is to use shallowRef.

There is an issue where this problem was discussed: https://github.com/vuejs/core/issues/2981#issuecomment-1831724017, but the workaround looks quite unappealing.
I would suggest switching to standard new Date in the models.
Example:
export type DateRange = {
-    start: DateValue | undefined;
-    end: DateValue | undefined;
+    start: Date | undefined;
+    end: Date | undefined;
};

What do you think about this?

@benjamincanac you can check 🙃

@benjamincanac I think we should transform this component into DatePicker and DateRangePicker at once. I don't think the calendar itself is necessary.

Yeah, you're right.
Then to implement Datepicker we will need to take https://www.radix-vue.com/components/date-range-field.html so that you don't have to write a date validator yourself

Can you make the example in this PR? This would look like https://www.shadcn-vue.com/docs/components/date-picker.html

@benjamincanac done. Also returned the flex styles for body, needed for 2 or more calendars

@benjamincanac I switched from the standard new Date to using @internationalized/date. I think this approach is more appropriate.
Pros:

It reduced the amount of code
All props/events can be used

Cons:

v-model needs to be wrapped in shallowRef, as mentioned here: https://github.com/nuxt/ui/pull/2618#issuecomment-2476133898

I don't plan to add or modify the code anymore. You can review it, and if everything looks good, go ahead and merge it 😊

Awesome! Will try to make a final review tomorrow and merge it :) In both datepickers examples, would you mind formatting the dates as such: Jan 20, 2022 - Feb 9, 2022? 😬

Done, additionally added some usage examples

Is this released yet?

Is this released yet?

No, but you can test it by updating your @nuxt/ui in your package.json like this:
"dependencies": {
  "@nuxt/ui": "https://pkg.pr.new/@nuxt/ui@2e9aeb5",
},


[FEATURE REQUEST] Using the left side bar for server stats?

Huge ST and LD fan so I love the aesthetic. Well done!
I was thinking the negative space on the left side under the title would be a perfect spot for some server stats? I used glances and this unraid specific tool, but I'd understand making something more generic so it can accept more kinds of servers.
https://github.com/joweisberg/docker-glances
https://github.com/NebN/unraid-simple-monitoring-api
What do you think? If you are keeping it blank to prevent clutter I totally get it.

Thanks for the message, I'm a big Lower Decks fan too, obviously.
Unfortunately, though intentionally, the server code for Starbase 80 doesn't support this kind of functionality. It's a very simple static HTML site by design. No JavaScript.
Perhaps in the future I'll look to build Starbase 81 (or Douglas Station) and make something more complicated.


HTTPS Add urlacl example incorrect

For example, if the service account for Microsoft Dynamics NAV Server has the domain ABC and the user name xyz, and then the command for the SOAP web service is as follows:
netsh http add urlacl url=https://+:7047/nav_server_instance user="NT AUTHORITY\NETWORKSERVICE"
Should be
netsh http add urlacl url=https://ABC:7047/nav_server_instance user="xyz"

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 12542a36-9b14-c85d-6f6e-15ab6666ccc7
Version Independent ID: 177a81a7-dfeb-97c0-e66c-4bb715f56682
Content: Walkthrough: Configuring Web Services to Use SSL (SOAP and OData) - Dynamics NAV
Content Source: dynamics-nav/Walkthrough--Configuring-Web-Services-to-Use-SSL--SOAP-and-OData-.md
Product: dynamics-nav-2018
GitHub Login: @jswymer

Thanks for the feedback! We have updated the content and the changes will available soon, the next time we publish.


High Score Character Limit Error

When attempting to add a high score to a machine of 20 characters or more you receive the error: "Request failed: internal server error 500"

Do any machines have scores in the quintillions? If not, then it's fine that the number doesn't submit. The problem, then, is that the error should be more descriptive. Something like: "Number is too large. Please enter a valid score."

An ActiveRecord::StatementInvalid occurred in machine_score_xrefs#create:
PG::NumericValueOutOfRange: ERROR:  value "1258523369885224477442255888752556699" is out of range for type bigint
: UPDATE "machine_score_xrefs" SET "score" = $1, "updated_at" = $2, "user_id" = $3 WHERE "machine_score_xrefs"."id" = 2584
app/controllers/api/v1/machine_score_xrefs_controller.rb:44:in `create'
9223372036854775807 is our current limit. I'll work on getting a better error message.

"You are too good at pinball. You broke our app."

This should do it: https://github.com/scottwainstock/pbm/commit/2ffeffda043d66455e1b795fde59d72fdc0ded15
I was able to handle this on the server side.

I am now seeing multiple duplicates of previous high scores I entered within the app.

It seems as though every time you force close the app on iOS, reopen the profile it copies all the high scores all over again without deleting previous scores.

I see duplicates as well on the profile. I didn't realize that you were seeing them only on the profile page.
Also, the high scores on the profile page are not in order by date.

Removing "pending" label for this. Sorry, I forgot to earlier.

@RyanTG I say this not out of anger, but concern for the project.. can we make new issues for the "also" and "as wells" that we see in existing issues? It makes it easier to track on my side. No need to update anything we already have entered... just something to keep in mind in the future. Lots of smaller tasks are better than one big one with lots of functional changes.

Sort high scores on profile page by date created: https://github.com/scottwainstock/pbm-ios/commit/785c06fd59ccc929d93689b4b6092a4f62240102

Sorry about that. I'll close this, since the original issue is resolved.


Add milliseconds in the tracing formatting

In #254, we had an initial log format added.
However, that doesn't include support for milliseconds, which are useful in a GUI system because it allows getting a first approximation of latency. I'm adding this now because of the startup latency issues first observed in #381 (#masonry > Slight Startup Time Regression)

LGTM.
As long as we're not going to nanosecond level, that's an acceptable level of verbosity.


RuntimeError: CUDA error: no kernel image is available for execution on the device

Dear Author
Thank you very much for your excellent and amazing work:
I tried to replicate the demo file but got a flowing error.

configuration is :
1)Nvidia / cuda11.30-deve-ubuntu 20.94 (docker container)
2) torch-1.8.0+cu111

Did you manage to resolve the issue? If not, have you tried reinstalling the conda environment? I've seen this message when reusing pre-built binaries after I've updated my cuda version.

Hi,
not yet unfurtentelly. I have tried different ubuntu versions as well as the Cuda version, moreover, I have  reinstalled conda environment but the issue still remained

I was able to reproduce the problem on a Tesla K80, but I wasn't able to find a solution unfortunately.
It looks like lietorch needs pytorch>=1.7, but this pytorch version can cause the aforementioned issue on this particular graphics card.
This issue doesn't seem to happen on a GTX-1080 or any newer cards. I'll keep looking and update this thread if I find a solution.

ok thank you very much

do you have a solution?

not yet unfurtentelly.

not yet unfurtentelly.

Have you used APEX?I encountered this error after using APEX. I fixed it by  creating  a new environment with RTX3090, CUDA 11.6, Python 3.7, and Torch 1.12.now it can work.

no , since I have just access to  Tesla K80 GPU

Excuse me, has anyone encountered this problem?
(cir) bimlab@bimlab-server:~/pporzz/Coupled-Iterative-Refinement$ python demo.py --obj_models lmo --scene_dir /home/bimlab/pporzz/Coupled-Iterative-Refinement --load_weights model_weights/refiner/ycbv_rgbd.pth
/home/bimlab/miniconda3/envs/cir/lib/python3.8/site-packages/torchvision/io/image.py:13: UserWarning: Failed to load image Python extension: '/home/bimlab/miniconda3/envs/cir/lib/python3.8/site-packages/torchvision/image.so: undefined symbol: _ZN3c104warnERKNS_7WarningE'If you don't plan on using image functionality from torchvision.io, you can ignore this warning. Otherwise, there might be something wrong with your environment. Did you have libjpeg or libpng installed before building torchvision from source?
warn(
terminate called after throwing an instance of 'std::bad_alloc'
what():  std::bad_alloc
Aborted (core dumped)


add blockade based chaos test scenario

Hi,
this is the first step towards some chaos testing using the blockade tool. The PR includes a Vagrantfile, Dockerfile and an examplary blockade configuration + test script to get started as fast as possible.
Cheers,
Gregor

Awesome technical and documentation work @kongo2002, thanks a lot for this PR. Just had some minor documentation comments. LGTM for merging to master after having worked on the comments.


Support IPv6 VPC

Is your feature request related to a problem?
Currently it does not seem possible to create a VPC with IPv6 subnets. The IPv6 CIDR is allocated automatically for the VPC by AWS at the time of creation therefore you cannot deterministically know what the subnet CIDR ranges should be to define the Subnet resource.
Describe the solution you'd like
Some way to reference the VPC IPv6 CIDR in the Subnet resource. There also seems like some thought needs to be put into how the Subnet CIDR ranges will be calculated. In Terraform this can be done using the cidrsubnet() function but I don't see an existing equivalent in ACK.
Describe alternatives you've considered
I also looked at using IPAM to allocate IPv6 addresses but ran into the same kinda issue as you do not know ahead of time what CIDR range IPAM will allocate to your VPC.

Currently it does not seem possible to create a VPC with IPv6 subnets.

Not quite sure what you mean by this... the Subnet resource Kind has a spec.ipv6CIDRBlock field that you can use to create an IPv6 subnet. The Status resource's spec.vpcRef field is used to refer to the VPC resource in which the subnet lies.
The VPC resource also has the spec.ipv6CIDRBlock, and spec.ipv6NetmaskLength fields which, instead of manually specifying IPv6 subnets, you can use to influence the automatic IPv6 IPAM behaviour.
Terraform's cidrsubnet function is a helper utility that can be used to generate an IP address from a CIDR string and an offset (from the CIDR's base address). This helper utility doesn't interact with AWS or any other cloud provider. To use something similar with ACK, you'd want to synthesize your YAML manifests using a tool like Kustomize or Helm and generate such IP addresses using a template function. After synthesizing your YAML, you feed it to ACK using kubectl apply


seamless orbit slider loading

adjusting the orbit.css as per the playground section "Glorious, Seamless Loading State" hides the entire slider.
Downloaded the current zip, added a simple slider to index.html, changed the orbit.css as follows.  Made no other changes to index.html from what is contained in the zip other than adding the slider.
orbit.css as follows:
#orbitDemo {
width: 1000px;
height: 210px;
background: #fff url('../images/orbit/loading.gif') no-repeat center center;
overflow: hidden; }
#orbitDemo>img,
#orbitDemo>div,
#orbitDemo>a { display: none; }
HTML for Slider is exactly the same as in the orbit.php file in the docs folder.
Script launch as follows:

#orbitDemo { background: #fff url('../images/orbit/loading.gif') no-repeat center center; }
Try just adding that line since the Foundation Orbit is responsive, also, are you using the Orbit included with Foundation or the one from the website?

Thanks so much for the suggestion, will try it soonest. I'm using the orbit included with foundation downloaded from github, like the one used in the docs folder. That version seems to be a higher/later version than the kit just for orbit (1.3 in foundation vs 1.2.3 standalone).  I have tried changing jquery, orbit js, protected mode, etc.  I guess for the page in question I could try the standalone version and strip out all the other js.
Thanks again!
Sent via Mobile Device......
On Nov 23, 2011, at 7:26 AM, xazinji<EMAIL_ADDRESS>wrote:

#orbitDemo { background: #fff url('../images/orbit/loading.gif') no-repeat center center; }
Try just adding that line since the Foundation Orbit is responsive, also, are you using the Orbit included with Foundation or the one from the website?

Reply to this email directly or view it on GitHub:
https://github.com/zurb/foundation/issues/116#issuecomment-2848089

You started me down the right path.  In the end, here's what worked....
#featured {
background: #fff url('../images/orbit/loading.gif') no-repeat center center;
height: 307px;
margin-bottom: 20px;
width: 1159px;
}
#featured.orbit { height: auto; }
#featured img, #featured div { display: none; }
#featured.orbit img, #featured.orbit div { display: block; }
Here's what's called for in the playground....

The playground css didn't work for me, still can't explain why.
Many thanks for your assistance!
Brian
On Nov 23, 2011, at 7:26 AM, xazinji wrote:
#orbitDemo { background: #fff url('../images/orbit/loading.gif') no-repeat center center; }
Try just adding that line since the Foundation Orbit is responsive, also, are you using the Orbit included with Foundation or the one from the website?

Reply to this email directly or view it on GitHub:
https://github.com/zurb/foundation/issues/116#issuecomment-2848089

Hi,
To don´t use a loading image and don´t see all image before js is loaded to start use the slider I just setup a  arround slider div and give it height:400px and overflow:hidden, with this the nav buttons (next/after) dissaper, any idea of how to fix it?

when using just content (text with an image on the side).. the slider went wrong... the text from all the slides was shown on the top of the other... to solve this i enter this css rule
#featured.orbit div { background: #fff url('../images/Blank.JPG') repeat; }
on each slider i put a white image so it covers the back content :P


为什么obj1_roi的dim是3*5

check了10v_attention里面deploy_10v_attention.prototxt
obj1_roi obj2_roi obj3_roi obj4_roi的形状是3*5，那岂不是一共就是12个object了？

We have 4 objects for each image. The first dimension of obj1_roi indicates the number of persons, rather than the number of objects. To be specific, we copy each object for 3 times for 3*4 human-object pairs. Code is here.

OK. Thanks.


Expose configuration to opt-out for specific route names.

It is a fairly common practice to add globbing catch-all style routes to your Router.map to handle invalid links and whatnot. Since these catch-all routes will always match, ember-href-to's link handler will happily transition into the 404 route.
In deployments where a given root is fully owned by the Ember app, this is a totally fine assumption to make.  However, in scenarios where things outside of your Ember app also live on the same domain (i.e. you are transitioning from server render pages to Ember app pages) you actually want to ignore the 404 route when deciding if a given link click is handleable.
Would you be open to adding support for a blacklist (an array of route names) to opt-out of the internal transition behavior?
PS: I love this addon, thank you for working on it!

@rwjblue is it just catchall routes that you want to ignore? If so, it would be nice if we could detect those and ignore (possibly by default, possibly by a simple config switch). There was some previous discussion about it here, at the time is seemed that it wasn't possible to detect catchall routes.
If that option proves unfruitful, I think a blacklist of route names is fine, albeit a less elegant solution.


BUGFIX: Allow createNumberMask suffix to contain numbers

This PR introduces a fix for cases where the createNumberMask#suffix contains numbers.
Fixes #397

LGTM!


Try put fast boradcadt and dont materialize

https://github.com/YingboMa/FastBroadcast.jl

The Linearsolve of the new x is the bottleneck


[ENH] Allow vector DICS source estimates

Part of https://github.com/mne-tools/mne-python/pull/10920.

@wmvanvliet, would you have a minute to review this?

I think the math is correct, but could you remind me what was the reason that we want to mess with applying DICS weights to an Evoked (a plain timecourse, so not a TFR) again? In my universe, DICS weights are applied to TFR's, whereas LCMV weights are applied to timecourses.
We've had this function for a long time, from before @britta-wstnr, @larsoner and I started touching the DICS code in the big beamformer project. We chose to attach the big scary warning label to warn people against applying DICS weights to timecourses and trying to interpret the results.

I don't think this PR has to do with this, it's just computing a vector source estimate from anything (most traditionally being a single time point across frequencies but with a vector solution instead of max power).

Let's do this early in the 1.2 cycle so we can work out any bugs and @wmvanvliet has time to think/respond. We're going to cut 1.1 today I think

(but @wmvanvliet feel free to merge if you do get to it before we branch 1.1)

@wmvanvliet and @larsoner, is there a reason why we never supported this before?
One tiny alarm bell that starts to ring in my head is realted to the whole rotationally-invariant business with the unit-noise-gain beamformer. I have no idea how this would translate with a complex filter.
(regarding this, BTW, note that we took a position on this in our beamformer paper now, where we advise against the usage of the Sekihara version of the unit-noise-gain vector beamformer and the usage of the not rotationally invariant array-gain beamformer - should I open an issue about this?)
Another thought: what happens with a complex filter and the vector case - can we end up with different phase shifts per orientation for one source? Would that be meaningful / biologically plausible (i.e. would the phase match the alignment of the source)?
I don't have an exhaustive overview of how the DICS beamformer is used in the literature - I feel most cases I come across is plain power or connectivity (i.e. using complex filters) but with one orientation. What is your impression, @wmvanvliet ?
Last point: @wmvanvliet I agree that this old apply_dics_evoked function is not good - also mentioned that lately in a dev meeting. Would we want to deprecate?

I'm not sure you could interpret phase in different directions but you could use it to compute power so I think that's the idea.

I'm not sure you could interpret phase in different directions but you could use it to compute power so I think that's the idea.

But for that you would not need a complex filter :-) so it is not really the question I was wondering about, which is: is there any possible problems with complex-valued vector DICS beamformers.
I can have a look at the FieldTrip code one of the days and see what they do, @larsoner @wmvanvliet

But for that you would not need a complex filter :-) so it is not really the question I was wondering about, which is: is there any possible problems with complex-valued vector DICS beamformers.

I believe @agramfort was saying was that he recommended transforming to source space using complex phase amplitude first and then taking power because of the non-linearity of the power operation.

I believe @agramfort was saying was that he recommended transforming to source space using complex phase amplitude first and then taking power because of the non-linearity of the power operation.

DICS beamformers are formulate for non-complex filters as well and work well like that. For more info on this, see e.g. the seminal paper by Gross et al. 2001, or the paper I referenced for you on our Discord conversation (Westner, Dalal, Gramfort et al., 2022).
If I may quote from the latter: "Application of the complex-valued CSD matrix in Eq. (16) yields a complex-valued spatial filter, which does not have a valid biophysical interpretation."

Finally had a chance to look at this more in-depth.

Thanks for the review! I just had a quick question above, then I'll implement the changes you suggested.

Ok, I think this should be good now.

Almost there! We just need to expand the test_apply_dics_ori_inv function in the test_dics.py file. We already test a couple of orientations there, you can just add 'vector' to the list. Then on line 398 you want to change to want_norm = 3 if pick_ori in (None, 'vector') else 1

Ah okay, sorry I misunderstood that that was still needed.

Thanks @alexrockhill!


cmd/asm: constant MOVQ transformed to MOVL, but MOVL upper bit zeroing not guaranteed

What version of Go are you using (go version)?

$go version
go version devel go1.20-6001c043dc Fri Aug 19 03:32:27 2022+0000 linux/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GOARCH="amd64"
GOOS="linux"

What did you do?
When 64bit immediate that can be fit into 32bit immediate is used as argument of MOVQ instruction, the compiler assembler transforms it to MOVL. On X86_64 platform the test shows that upper that upper 32bits of RAX are zeroed after MOVL of 32bit constant (tested on Xeon 6230N CPU). But there is no such statement in SDM so this behavior should be classified as 'non-documented' and can be easily changed by the platform owner without any announcement.
test.sFile
TEXT main·test(SB), 4, $0
    MOVQ    $0xFFFFFFFE, AX
    MOVQ    AX, ret+8(FP)
    RET

Commands that I run:

$ go tool asm test.s
$ go tool objdimp -gnu test.o

What did you expect to see?

test.s:4 0x332 48b8feffffff00000000 MOVQ $0xfffffffe, AX // mov $0xfffffffe,%rax
test.s:7 0x33c<PHONE_NUMBER> MOVQ AX, 0x10(SP) // mov %rax,0x10(%rsp)
test.s:8 0x341 c3 RET // retq

What did you see instead?

test.s:4 0x332 b8feffffff MOVL $-0x2, AX // mov $-0x2,%eax
test.s:7 0x337<PHONE_NUMBER> MOVQ AX, 0x10(SP) // mov %rax,0x10(%rsp)
test.s:8 0x341 c3 RET // retq

CC @golang/compiler

This is specified in the SDM, vol 1 section <IP_ADDRESS>.

32-bit operands generate a 32-bit result, zero-extended to a 64-bit result in the destination general-purpose register.

In addition, other compilers assume this, e.g. gcc.


Not functioning with dotnet core 5.0

can you please update this for dot net core 5.0. The current version does not function with current released versions of software. Current repo will not run with dotnet core 5.

@CySpiegel I could try :) have you tried to adjust the code yourself?

Yes, i have followed the website tutorial you have posted using the most up to date versions but i could not get it to work. Even checked the code against the repo and tried to run the current repo to no avail. I went to the deve page for the Electron plugin youre using and got the message to send from React to C# but it will not work in reverse.


Check spelling 0.0.22

Summary of the Pull Request
Upgrades check-spelling to v0.0.22
References and Relevant Issues
Detailed Description of the Pull Request / Additional comments

refreshes workflow

enables dependabot PRs to trigger CI (so that in the future you'll be able to see breaking changes to the dictionary paths)

refreshes metadata
built-in handling of \n/\r/\t is removed -- This means that the patterns/0_*.txt files can be removed.
this specific PR includes some shim content, in allow/check-spelling-0.0.21.txt -- once it this PR merges, it can be removed on a branch and the next CI will clean out items from expect.txt relating to the \r stuff and suggest replacement content.
talking to the bot is enabled for forks (but not the master repository)
SARIF reporting is enabled for PRs w/in a single repository (not across forks)
In job reports, there's a summary table (space permitting) linking to instances (this is a poor man's SARIF report)
When a pattern splits a thing that results in check-spelling finding an unrecognized token, that's reported with a distinct category
When there are items in expect that not longer match anything but more specific items do (e.g. microsoft vs. Microsoft), there's now a specific category with help/advice
Fancier excludes suggestions (excluding directories, file types, ...)
Refreshed dictionaries
The comment now links to the job summary (which includes SARIF link if available, the details view, and a generated commit that people can use if they're ok w/ the expect changes and don't want to run perl)

Validation Steps Performed

the branch was developed in https://github.com/check-spelling-sandbox/terminal/actions?query=branch%3Acheck-spelling-0.0.22
ensuring compatibility with 0.0.21 was done in https://github.com/check-spelling-sandbox/terminal/pull/3
this version has been in development for a year and has quite a few improvements, we've been actively dogfooding it throughout this period 😄

PR Checklist

[ ] Closes #xxx
[ ] Tests added/passed
[ ] Documentation updated

If checked, please file a pull request on our docs repo and link it here: #xxx

[ ] Schema updated (if necessary)

AHH, I'm so excited!
We might-could need to revert the changes under dep/ and oss/. I'll noodle on that.
Thank you for doing this!

Okay, wow, I 100% didn't notice that you had done the oss/ and dep/ things. Dang it github! Force pushes are pushes too!
I'll review and summarily merge

Ugh, I shouldnae've merged main.


Question about mAP evaluation on TAL task

Thanks for your amazing work! I have two questions regarding your implementation on the TAL task.

The TAL tasks require the model not only to predict the start/end times of candidate predictions but also the action category. However, in Mr.Blip, the action category is provided as known information in the text prompt on TAL. I wonder, is this appropriate?
When I use your released checkpoint to infer on TAL, I can reproduce your results, which is around 51.11 mAP under this codebase. However, when I use the predicted JSON file val_epochbest.json and evaluate it under other standard TAL evaluation code, such as here and here, I can only get 25.93% mAP. This indicates a difference between your implementation and previous TAL implementations. Can you check what the issue might be to ensure the correct evaluation on the TAL task?

The output file from Mr.Blip I use is val_epochbest.json, and the converted JSON file (combined with the GT category) is mrblip_converted_detection.json.
The following is the evaluation result.
Number of predictions: 5115
Fixed threshold for tiou score: [0.5, 0.55, 0.6, 0.65, 0.7, 0.75, 0.8, 0.85, 0.9, 0.95]
Average-mAP: 25.93 (%)
mAP at tIoU 0.50 is 41.20%
mAP at tIoU 0.55 is 37.96%
mAP at tIoU 0.60 is 35.12%
mAP at tIoU 0.65 is 32.25%
mAP at tIoU 0.70 is 29.06%
mAP at tIoU 0.75 is 25.80%
mAP at tIoU 0.80 is 21.81%
mAP at tIoU 0.85 is 17.25%
mAP at tIoU 0.90 is 12.40%
mAP at tIoU 0.95 is 6.45%

Hi @sming256, thank you for the feedback!

You are right. Assuming the action class as given and using it as input is a mistake. I sincerely apologize for overlooking this (significant) detail... I have already updated the leaderboard on Papers with code, will update the code base accordingly, rerun the experiments under the correct TAL setting, and report the updated numbers.
For the mAP implementation, I leverage the official implementation for QVHighlights. Since the TAL task is different, and requires a different mAP implementation, the reported numbers will be wrong/ not comparable.

I misunderstood the TAL task when reading the UnLoc paper and now understood what they did when looking deeper into their code.
I sincerely apologize for this mistake...
Thank you for pointing it out!

Thank you for your quick reply!
I appreciate your clarification, and I am amazed by the results on the other moment retrieval tasks. Great work!

Thank you very much!
We will hopefully soon be able to report the correct numbers on TAL :)

We have updated the paper and will soon update the code base!
Thank you for your interest in our work and for pointing out this bug.


Run experiments for presentation

I will close the issue for now but leave the branch unmerged in my repo for future reference


How does the audio route in AKS sample ?

I have a look at the AKS sample for bot recording and I could not understand how the audio will get to the pod(bot).
I could see the settings below
AzureSettings__InstancePublicPort=RESERVED_PORT ## TCP
AzureSettings__CallSignalingPort=LOCALHOST_HTTP_PORT ## 9441
AzureSettings__InstanceInternalPort=LOCALHOST_TCP_PORT ## 8445
They are TCP ports for signaling and media server. The audio does not go to that port. The audio is using UDP port.
Also the requirement of public IP address does not change that means each pod need to have a public IP address ? so how come could we have 2 pods in same VM or node ?

Hey @vonguyen1982,
We do have a doc detailing how the AKS sample works in docs/deploy/aks.md.
Looking at that doc you will find the following diagram:

Referring to the diagram, you will see a SVC icon labeled LoadBalancer sitting inside the ingress-nginx namespace to the left. This in the entry point to the cluster and has a range of ports open to allow HTTP traffic and media to flow through to our pods.
This is where the public IP address sits. There's only one public IP address needed and can be set using public.ip when deploying the bot using the Helm chart. This IP address is what you'll map your domain to so cert-manager can create your SSL certificate, the domain you would have used when setting up your Bot Channel Registration and is something you'll need to setup separately. When you deploy the bot, you'll need to set this domain using host. The bot uses that domain in a number of places but is basically used to tell Teams where to send media traffic to. This value is read in from AzureSettings__ServiceDnsName.
In terms of how audio flows to the pods, each pod that's deployed basically has their own dedicated port on the LoadBalancer as mentioned above (more info). Each pod has their own dedicated service (the SVC icons labeled as Media in the diagram - more info) and using NGINX, we have a configmap (see TCP Pod Port Mapping in the diagram - more info) to map the external ports to the corresponding services.
When you set AzureSettings__InstancePublicPort, you're telling Teams which port to send media. This port is exposed to the public on the external loadbalancer as mentioned here.
AzureSettings__InstanceInternalPort instructs the bot which port to listen to for media. This value is used by the media services mentioned above (the SVC icons labeled as Media in the diagram).
So looking at the diagram above, where you see that green arrows, those represent the flow of audio from Teams to the bot.
I think where the confusion might be is where it says TCP when referring to the flow of audio. I think the reason why the documentation says TCP over UDP is because the ports that we open on the loadbalacer to allow audio to flow is using the TCP protocol. I might update the docs to make that a little more clear.
I hope that answers your question.

@JasonTheDeveloper : Thank you very much for explanations very details.
In the AzureConfiuration (https://github.com/microsoftgraph/microsoft-graph-comms-samples/blob/master/Samples/V1.0Samples/LocalMediaSamples/PolicyRecordingBot/WorkerRole/AzureConfiguration.cs)
            MediaPlatformInstanceSettings = new MediaPlatformInstanceSettings()
            {
                CertificateThumbprint = defaultCertificate.Thumbprint,
                InstanceInternalPort = mediaInstanceInternalPort,
                InstancePublicIPAddress = publicInstanceIpAddress,
                InstancePublicPort = mediaInstancePublicPort,
                ServiceFqdn = serviceFqdn,
            }

By default I think MediaPortRange is from 48K to 65K if not specify. With AKS do we still use that MediaPortRange ? if Yes then how the UDP mapping from loadbalancer  to pod because all pods will have the same MediaPortRange (48k to 65K).  I did not see any where mention about mapping MediaPortRange. We only mapping TCP port which I think only using for connection handshaking not for audio transfer. The MediaPortRange is the UDP port for bot received audio packet. Am I correct ?

@vonguyen1982 I'm not too familiar with how the MediaPortRange works, if I'm being completely honest. Someone from the graph team will need to answer that. From my understanding though, the MediaPortRange specifies the range of ports Teams can send media through to the bot. This could be port 3000 to 4000, for example.
MediaPortRange is optional however, as specified in MediaPlatformInstanceSettings. From the AKS sample stand point though, you're right in that we're not specify the MediaPortRange. We don't specify the port range because we have a dedicated port for each pod deployed, meaning each pod listens to just one port. That port is specified by setting InstancePublicPort.
Have you tried deploying the sample?

Thanks for clarify. I have not tried to deploy it because I am try to find the pros and cons before decided to move forward.

@JasonTheDeveloper : I have a chat with Aditya. The  InstancePublicPort mapping to  InstanceInternalPort you mentioned is not for receiving audio. Also if you don't specify MediaPortRange it still needs UDP ports to receive audio packet. I still believe that we are missing mapping UDP port here :) Do you mind to clarify with your team please? Does the AKS sample work with your development environment and can record audio ?

You don't need to specify UDP Port because over the tcp connection the bot gets information about where to connect to receive media and after it received this information the Bot initiates the udp connection towards the endpoint that was specified somwhere in the MediaPlatform TCP messages, I think this MediaPortRange setting is Optional to tell the Microsoft Servers which Port range is open on your firewall for outgoing udp connections, I hope you guys understand what I'm talking about. If not feel free to ask.

@vonguyen1982 - apologies for the late reply but to add to @1fabi0's comment, if you need more info about what's happening under the hood, check out this comment https://github.com/microsoftgraph/microsoft-graph-comms-samples/issues/51#issuecomment-474014222

Thanks


Invalid WARNING message when function has a parameter with a hyphen in VSCode

Description:
$Subject
Steps to reproduce:
Add the below code to the VSCode.
import ballerina/io;

public function main() {
    error e = error("bad sad");
    foo(e);
}

# + 'error - The error struct to be logged
function foo(error 'error) {
    io:println('error);
}

It would have a warning message like below.

Affected Versions:
SLAlpha3
OS, DB, other environment details and versions:
MacOS
Related Issues (optional):
https://github.com/ballerina-platform/ballerina-lang/issues/29076

This is fixed in Swan Lake Beta1.


refactor: upgrade project

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


Remove "registry export sheet" command

Fixes #869

https://github.com/apigee/registry-experimental/issues/121


Controlling number of vAMMs deployed

At the moment we have:

minimum vAMM commitment amount in quantum; this works as spam protection and if it was to be increased existing vAMMs stay, new ones have to meet the new minimum.

Clearly there will be an upper limit on how many vAMMs we can support in a performant manner (even if the upper bound is high). Several options seem available:

update the behaviour of the minimum to also remove those vAMM commitments that don't meet the new, increased minimum quantum. The danger is that cancelling parties' commitments isn't especially nice.

add a network wide parameter setting the maximum number of vAMMs allowed. This one maps the most cleanly to whatever performance impact large number of vAMMs may have

add a per market parameter maximum number of vAMMs allowed; advantage of having capability to add new markets with passive liquidity, disadvantage is that this number will either be low, limiting popular markets, or high but then it may not provide the required control of perf impact.

a network parameter setting (minPerMarket, maxTotal) interpreted as: if a party submits vAMM and the total across the network is below maxTotal it goes through. If the total across network is above maxTotal we check which market it goes to, if that market has fewer than minPerMarket then it goes through. Otherwise reject.

Question: do we still need this since the "number of empty ticks between bounds in vAMM commitment" restricts the smallest size anyway and we're proposing to control this: https://github.com/vegaprotocol/specs/pull/2358/

See benchmarks for performance impact.


Modification of README.md file(Design), & Creation of dedicated Contributing.md file and LICENSE.

Related Issue

Fixes:  #311

Description
1. Modifications in README.md file
1) Added animated line separators
2) Modified the Contributors section [Automated the contributor addition].
NOTE: However, the looks have changed (video attached below for reference). Please do not manually add Contributors anymore. Focus that time of reviewing PRs and visiting the Issue sections incase any Contributor needs you.
3) Added a Team section
2. Add a dedicated Contributing.md
Also added a redirect to Contributing.md from README.md
3. Added MIT LICENSE
Adding a LICENSE file is a best practice for open-source projects.

Type of PR

[ ] Bug fix
[X] Feature enhancement
[X] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
https://github.com/user-attachments/assets/d28814f2-399a-4236-8ca2-485a5fa8ab96
Checklist:

[X] I have made this change from my own.
[ ] I have taken help from some online resources.
[X] My code follows the style guidelines of this project.
[X] I have performed a self-review of my own code.
[X] I have commented my code, particularly in hard-to-understand areas.
[X] I have made corresponding changes to the documentation.
[X] My changes generate no new warnings.
[X] I have tested the changes thoroughly before submitting this pull request.
[X] I have provided relevant issue numbers and screenshots after making the changes.

@PriyaGhosal Please review the PR and please assign level2 on the PR since I have updated and modified a lot of things, making your repository more accessible and readable.

Please read this message!
Incase you face a merge conflict by the time you review this PR, do not close this PR!
There is a very high chance of having a conflict. Just let me know and wait a bit. I will resolve it in this PR itself and please merge it henceforth.

@rajdeepchakraborty-rc Your pull request has been successfully merged! Don't stop here—continue contributing by addressing more issues and aiming to become a top contributor. Exclusive swag awaits for those who go the extra mile!
Great contribution to GSSOC'24 EXTENDED! 🎉

@PriyaGhosal Thanks for reviewing the PR.

@PriyaGhosal Please update the level on the issue #311


Can't retry after authentication failure - need to restart

If authentication against the ftp server fails, the user must restart Brackets in order to try again.
Clicking "Server Setup", then clicking "Ok" should trigger another attempt.

Yea, that's a real problem.


[dv/otp_ctrl] tie otp_test_ctrl pin to 0

This PR ties the otp_test_ctrl pin to 0 as requested in the proprietary
repo.
Signed-off-by: Cindy Chen<EMAIL_ADDRESS>

Hey @dkabely-ot, could you take a look and see if this is what you need ?


getLyrics() returns an empty array

Issue
The getLyrics() method returns an empty array instead of null for certain songs.
Steps to reproduce
Set these as the options for search:
{ apiKey: 'APIKEY',   title: 'DESPACITO',   artist: 'LUIS%20FONSI%20FT.%20JUSTIN%20BIEBER',   optimizeQuery: true }
Details
getLyrics() works for many other songs that I try, including the example song shown in the readme. So far, this is the only song that has gone through the method to have returned an empty array instead of a string or a null value.

@Garlicvideos I found the problem. Genius seems to be returning the link to a weird webpage that the package can't parse. So it returns an empty string, not an array.
What the package expects: https://genius.com/Luis-fonsi-despacito-lyrics
OR https://genius.com/Luis-fonsi-and-daddy-yankee-despacito-remix-lyrics
What Genius api returns: https://genius.com/Fuis-lonsi-despacitwo-lyrics
I'll patch it and push a release in the morning so that it returns null in such cases.


Migration

Need to check the removed dependency and code changes.

@Tratcher - did you make the IAppDiscriminator change as yet?

@pranavkm no, this PR can't be merged without breaking DP. I'll work on that after Http.Sys

Can't merge this until DataProtection's dependency is resolved.

:shipit:


On reloading the content inside my one cell of grid change its size

Describe the bug

I have created a card which is resizable and dragable,The above picture shows i have adjusted my card to this size, and the content is taken this shape,
But when i reload the page, the cards content has changed
This is after i reload

These cards are dynamically generated
`
  <>
  {data?.length>0 && <>

    <button className="mt-4 px-4 py-2.5 border border-gray-300 rounded-lg shadow-xs  gap-[10px]   bg-[#FFFFFF]  text-sm font-semibold text-gray-700 " onClick={() => resetLayout()}>Reset Layout</button>

    <ResponsiveReactGridLayout
      useCSSTransforms={false}
      draggableHandle=".drag-handle"
      className="layout w-full"
      // margin={[10,10]}
      cols={{ lg: 24, md: 20, sm: 12, xs: 8, xxs: 4 }}
      // containerPadding={[30,30]}
      rowHeight={30}
      layouts={state.layouts}
      onLayoutChange={(layout, layouts) => onLayoutChange(layout, layouts)}
      >
      {console.log(state.layouts)}
      {/* {console.log('Charts',data)} */}
      {/*
 */}
        {data?.map((el,index) => {

          return (

              <NautoChart
                id={el.id}
                chartData={el.chart}
                chartName={el.chartTitle} //string
                chartDataModel={el.dataModel} //string
                chartCountField={el.countField} //string
                chartFilter={el.filter} //array of objects  [{ key: 'model', value: '12345678', _id: '651fa046a28530c26c8fcc65' },...]
                options={options}
                setShowModal={setShowModal}
                setShowEditChartModal={setShowEditChartModal}
                handleDelete={handleDelete}
                passValuesToChartDisplay={handlePassValuesToNautoInventory}
              />

          );
        })}
      {/*
 */}
    </ResponsiveReactGridLayout>

  </>`

My functions inside this component
`
const ResponsiveReactGridLayout =  useMemo(() => WidthProvider(Responsive), []);
  const getFromLS=(key)=> {

   let ls = {};
   if (typeof window !== "undefined" && window.localStorage) {
   try {
     ls = JSON.parse(window.localStorage.getItem("rgl-Inventory")) || {};
   } catch (e) {
     console.log(e);
   }
  }
 return ls[key];
  };

  //Set to local storage- layout
   const saveToLS = (key, value) => {
   if (typeof window !== "undefined" && window.localStorage) {
      window.localStorage.setItem(
        "rgl-Inventory",
         JSON.stringify({
            [key]: value,
         })
     );
   }
 };

  const [state, setState] = useState({
    layouts: getFromLS("layoutsInventory") || {},
  });

  useEffect(() => {
    setState({ layouts: getFromLS("layoutsInventory") || {} });
  }, []);

 const resetLayout = () => {
    setState({ layouts: {} });
  };

   const onLayoutChange = (layout, layouts) => {
    if(!isLoading){

     // console.log(layouts)
      saveToLS("layoutsInventory", layouts);
     // console.log('Lauyots' ,layouts);
      setState({ layouts });
     }
  };`

Some imports
        import { WidthProvider, Responsive } from "react-grid-layout";        import "react-grid-layout/css/styles.css";        import "react-resizable/css/styles.css";
Your Example Website or App
N/A
Steps to Reproduce the Bug or Issue
Create a card whose content can be dynamically scaled, when resizing the card container
Store and fetch your layouts from Local Storage
Resize: SHrink the card container
Reload the page
Expected behavior

react-grid-layout library version
^1.3.4
Operating System Version
Windows
Browser
Chrome
Additional context
No response
Screenshots or Videos
No response

https://github.com/react-grid-layout/react-grid-layout/assets/133643704/2a3eff27-79fb-4967-9778-49ca85dc444a

I started having this issue with a silent bump of the react-grid-layout version, for me I think it was multiple factors.

Having a minimum width for your container can help stop the first load from trying to make your items smaller
The documentation doesn't clearly explain that onLayoutChange is called on mount and on change to the layout prop

Combined what would happen is the first load would see a container too small for my items and would take it upon itself to resize the elements before emitting an onLayoutChange event which then updated my persistent state.

@balbatross What are ur takeaways to fix this?
Can u share all the factors?
With fixes if possible
That would be great

@balbatross Can u help me in figuring the problem?

@ObaidAshiq Sorry been busy at work lately, if you can share a reproduction of the issue I can have a go at finding a fix for your use case, because the fix involves some css changes I'm not sure if there's a one size fits all fix yet.
I'm not a contributor to this repo yet either so I can only help on the implementation end.

@balbatross
Sorry,  for disturbing
I got it fixed, as u said it might have been a slight bump(for me it wasn't)
I tried to go from 1.3.4 top above versions, but these versions are bugged as the resize handle isn't working this time
The issue seemed to be with w-auto in one of the div, i changed it to w-full (using tailwind CSS)
I am not sure what the problem is with using w-auto
This is the new code
<Doughnut
options={options}
data={chartInfo}
// className='w-auto max-h-full '  - OLD ONE
className=" w-full max-h-full " >

I will close this issue after I see a proper explanation


Space gray color bug

Describe the bug
The fonts in the space gray theme appears with black color instead white, in all the navigators.
Theme Install Method (Don't skip)

Stylus Config

Application Info (Don't skip)

Branch

To Reproduce
Steps to reproduce the behavior:
-Install the theme and test it
Screenshots

Desktop (If applicable) (please complete the following information):

Browser [e.g. chrome, safari,firefox]

Smartphone (If applicable) (please complete the following information):

Browser [e.g. stock browser, safari]

And clear cloudflare cache if you use that.

I have the same problem with Dark Theme. I followed your directions but to no avail :(

I have the same problem with Dark Theme. I followed your directions but to no avail :(

Try incognito and another browser.

You are correct. I thought I cleared my cache. Thanks.

private tab, cache cleared
sabnzb black theme

private tab, cache cleared
sabnzb black theme

Still think its cache.

naah, i look into it, someone removed the override of sabs default btn color and i had gitter night theme from sab active.
sab default night btn color is #E4E4E4 (white/grey).
gitter auto/night are not not compatible anymore.

now feedback btn (beta only?) unreadable

/*
dont use it hsla/transparent (from default btn color), or the inner text if open is not readable
*/
#feedback-slider{
	background: hsl(0,0%,20%);
}


Update various backend dependencies

lodash, moment, boom, jed, etc.
Likely requires #1156

Closing, new services are being taken care of, old ones are beyond repairs


Documentation issues

This issues thread will be used to keep track of erronous documentation that needs amending, as well as documentation that does not yet exist but needs to be written.
When a particular documentation issue has been fixed, the pertaining comment will be deleted.

The PDF documentation for the extra/compSolovev.jl script needs to be updated

The in-script function descriptions for the os2COM() collection of functions in extra/dependencies.jl need to be updated to reflect the fact that they can now be used to transform distributions from (E,pm,Rm) to (E,mu,Pphi;sigma). They use automatic differentiation to compute the Jacobi matrix from (E,pm,Rm) to (E,mu,Pphi;sigma)

The PDF documentation for the apps/orbitWebApp.jl web application needs to be updated to include the option of displaying an animation of the fast-ion orbit

Due to the need for the Julia version to be at v1.8, or below, for the orbit-integrating functions to work (in GuidingCenterOrbits.jl), the formulation in the PDF documentation 'howToInstall...pdf' needs to be changed from 'The newer the better' to 'A maximum of Julia v1.8 needs to be ensured'

The PDF needs to be slightly modified, instead of uncompressing a zip, the PDF should recommend users to clone the code via git, which is always better for version control that a random zip

Mac docs makes reference to windows installation


Create CODE_OF_CONDUCT.md

Hi,
I thought I would add a code of conduct for this repo.
I think this will help make the repo safe.
Thanks you should prob change the email.
Of course if you dont think this fits in that's fine.
Thanks

@dominicrann61 Thank you for your effort. The Coding Train has already a Code of Conduct. https://github.com/CodingTrain/Code-of-Conduct
Does it make sense to refer to that in the README of this repo?

No worries.
Yes I think it would be good to refer to that repo in the readme file because other users may not be able to find it otherwise.
Thanks


docker-for-win: provide an xvfb to xpra

The same way x11docker/kaptain is used to execute x11docker-gui if kaptain is not available on the host, I suggest providing a image named x11docker/xvfb which contains only the required resources to run Xvfb and/or Xdummy. Then, use the container as a fallback when none of Xvfb, Xorg or Xdummy are available on the host.
On the one hand, as commented in #117, all xpra needs is an X11 server with the composite and damage extensions. So, by ensuring that x11docker is able to provide an Xvfb server, at least, recipes in the wiki can work on GNU/Linux, MSYS2, Cygwin, and WSL. Furthermore, it would allow binaries for Windows to be built with xpra server enabled (--use-display being forced to true).
On the other hand, it can also allow mode --xpra on any GNU/Linux server without X.

Just a thought: IIRC xpra contains an Xvfb server. If xpra server can be compiled on Windows and provides Xvfb on its own, it can provide it to x11docker. x11docker could use it with --hostdisplay.
E.g something like this could work:
xpra start :100 --start-child 'x11docker --hostdisplay imagename'
On Linux this setup works fine.

Correct: you could theoretically run a seamless xpra server on mswindows if you could run an xvfb of any kind (either Xvfb or Xdummy).
I have seen patches for building X11 with MSYS2, so it should be doable: https://github.com/jtanx/fontforgebuilds

Currently I see the following possibilities to provide an invisible X frame buffer to xpra:

Using Xvfb and xpra server in WSL. That should already work ootb.
A script that runs Xvfb in a container and provides it to xpra. (Not within code of x11docker as proposed above, but the script could use x11docker.)
A native Xvfb.exe on Windows. Compare Xvfb in Cygwin #123 and @totaam's proposal of building X11 with MSYS2. A custom Xvfb.exe would need maintaining, though.
Using Xwin in Cygwin/X #122 and find a way to hide the Xwin windows. Maybe asking the developers for a sort of -hide option.
Fixing the issues with VcXsrv and asking the developer for some sort of -hide option.

My favorite is VcXsrv. It is actively maintained and the developer gives friendly and helpful response.
It provides some sort of GPU acceleration (iglx). It can be used with MSYS2, Cygwin and WSL.
xpra might be able to use mmap as server and client could run together on the same system.
We could investigate the VcXsrv bug with xpra seen in https://github.com/mviereck/x11docker/issues/117#issuecomment-459980981 and ask the developer for help in fixing it.

Using Xvfb and xpra server in WSL. That should already work ootb.

I just tried and it does not work 😢. I installed xvfb, xpra and python-cryptography. xpra starts without relevant errors. But, when I open the client to connect to it I get:
[Errno 10061] No connection could be made because the target machine actively refused it

If I open a browser and visit localhost:8080, I get: disconnect: invalid packet format, not an xpra client?. So the xpra server is responding.

A script that runs Xvfb in a container and provides it to xpra. (Not within code of x11docker as proposed above, but the script could use x11docker.)

How could the script use x11docker, without creating the X server with it? I'm really interested in a x11docker-friendly solution to this scheme.

A native Xvfb.exe on Windows. Compare Xvfb in Cygwin #123 and @totaam's proposal of building X11 with MSYS2. A custom Xvfb.exe would need maintaining, though.

What advantage would provide this compared to Xvfb in Cygwin?

Using Xwin in Cygwin/X #122 and find a way to hide the Xwin windows. Maybe asking the developers for some sort of -hide option.

This should probably need some tweaks in xpra too, as xpra does not explicitly hide any window ATM: https://github.com/mviereck/x11docker/issues/122#issuecomment-460153280

Fixing the issues with VcXsrv and asking the developer for some sort of -hide option.

I'd use it if the issue is fixed, even without the -hide option. It is the only reasonable native alternative for MSYS2...

My favorite is VcXsrv. It is actively maintained and the developer gives friendly and helpful response.

We could investigate the VcXsrv bug with xpra seen in #117 (comment) and ask the developer for help in fixing it.

How do you reach him, tho? The tracker in sourceforge seems to have very little activity. Also https://github.com/ArcticaProject/vcxsrv#why-this-repo-and-these-builds-exist.

[Errno 10061] No connection could be made because the target machine actively refused it

9 times out of 10, that's a firewall blocking the connection.

If I open a browser and visit localhost:8080, I get: disconnect: invalid packet format, not an xpra client?

Is websockify missing?

What advantage would provide this compared to Xvfb in Cygwin?

Not requiring cygwin.

How could the script use x11docker, without creating the X server with it?

An example is given in #125. I encounter an issue with xpra client, but that is probably a different issue. Setup of Xvfb and xpra server works.

[VcXsrv developer] How do you reach him, tho?

I once opened a bug ticket on sourceforge: https://sourceforge.net/p/vcxsrv/bugs/
The github repo is just an unmaintained fork.

Feel free to re-open if this is of interest again.


DO cluster stuck in "removing" state(waiting on controller.cattle.io/cluster-scoped-gc) for ever.

**Rancher versions: v2.0.0-alpha21
Steps to reproduce the problem:
Had created a cluster with 1 DO host.
Had created many projects and deployed few workloads on them.
Noticed that there were 2 hosts at some point , 1 in "Unavailable" state and 1 in "active" state.
Removed this cluster.
Node is stuck in "removing" state forever with error message - "waiting on controller.cattle.io/cluster-scoped-gc"

2018-03-08T04:38:55.065149958Z 2018/03/08 04:38:55 [ERROR] problem retrieving user for CRTB map[removed:2018-03-08T04:38:54Z annotations:map[lifecycle.cattle.io/create.cluster-crtb-sync_cluster-pxlwv:true lifecycle.cattle.io/create.mgmt-auth-crtb-controller:true] clusterId:cluster-pxlwv .removed:true namespaceId:cluster-pxlwv state:removing type:/v3/schemas/clusterRoleTemplateBinding creatorId:user-ck2dj uuid:e15f74c7-2268-11e8-a124-0242ac110002 id:cluster-pxlwv:clusterroletemplatebinding-hl5j7 roleTemplateId:cluster-member transitioning:yes transitioningMessage:waiting on controller.cattle.io/mgmt-auth-crtb-controller created:2018-03-08T00:37:28Z name:clusterroletemplatebinding-hl5j7 userId:user-frzrq] from cache during CRTB transformation: user.management.cattle.io "user-frzrq" not found
2018-03-08T04:38:55.074021074Z 2018/03/08 04:38:55 [ERROR] problem retrieving user for CRTB map[name:clusterroletemplatebinding-k4gpm namespaceId:cluster-pxlwv clusterId:cluster-pxlwv roleTemplateId:cluster-owner creatorId:user-ck2dj id:cluster-pxlwv:clusterroletemplatebinding-k4gpm transitioningMessage:waiting on controller.cattle.io/mgmt-auth-crtb-controller state:removing transitioning:yes uuid:0cd0ad28-2269-11e8-a124-0242ac110002 userId:user-qvllk created:2018-03-08T00:38:41Z removed:2018-03-08T04:38:54Z annotations:map[lifecycle.cattle.io/create.cluster-crtb-sync_cluster-pxlwv:true lifecycle.cattle.io/create.mgmt-auth-crtb-controller:true] .removed:true type:/v3/schemas/clusterRoleTemplateBinding] from cache during CRTB transformation: user.management.cattle.io "user-qvllk" not found
2018-03-08T04:38:55.080870225Z 2018/03/08 04:38:55 [ERROR] problem retrieving user for CRTB map[removed:2018-03-08T04:38:55Z type:/v3/schemas/clusterRoleTemplateBinding clusterId:cluster-pxlwv state:removing name:clusterroletemplatebinding-lk9b7 creatorId:user-bb8rl uuid:28769a96-2268-11e8-a124-0242ac110002 roleTemplateId:cluster-member id:cluster-pxlwv:clusterroletemplatebinding-lk9b7 transitioning:yes created:2018-03-08T00:32:18Z .removed:true annotations:map[lifecycle.cattle.io/create.cluster-crtb-sync_cluster-pxlwv:true lifecycle.cattle.io/create.mgmt-auth-crtb-controller:true] userId:user-mqtmq transitioningMessage:waiting on controller.cattle.io/mgmt-auth-crtb-controller namespaceId:cluster-pxlwv] from cache during CRTB transformation: user.management.cattle.io "user-mqtmq" not found
2018-03-08T04:38:55.088399268Z 2018/03/08 04:38:55 [INFO] cluster [cluster-pxlwv] provisioning: [hosts] Removing cleaner container on host [<IP_ADDRESS>]
2018-03-08T04:38:55.100849588Z 2018/03/08 04:38:55 [ERROR] problem retrieving user for CRTB map[state:removing uuid:170d0cdd-2269-11e8-a124-0242ac110002 type:/v3/schemas/clusterRoleTemplateBinding namespaceId:cluster-pxlwv id:cluster-pxlwv:clusterroletemplatebinding-m84kr name:clusterroletemplatebinding-m84kr roleTemplateId:cluster-member creatorId:user-qvllk transitioning:yes removed:2018-03-08T04:38:55Z annotations:map[lifecycle.cattle.io/create.mgmt-auth-crtb-controller:true lifecycle.cattle.io/create.cluster-crtb-sync_cluster-pxlwv:true] clusterId:cluster-pxlwv userId:user-f68cj .removed:true transitioningMessage:waiting on controller.cattle.io/mgmt-auth-crtb-controller created:2018-03-08T00:38:58Z] from cache during CRTB transformation: user.management.cattle.io "user-f68cj" not found

I also have this issue. This was a brand new cluster. It had had no workloads or containers ever deployed to it.

@sangeethah do you recall if you ever removed users from this rancher deployment?

Should be fixed with @nathan-jenan-rancher's user clean up code that was merged.
If you repro again, please keep the setup around for me to investigate

@cjellick This issue is still reproducible . But i dont see the error messages relating to  " problem retrieving user for CRTB map" . I had this cluster that was stuck in "updating" state because of this issue - https://github.com/rancher/rancher/issues/12220. When I tried to remove this cluster , It gets stuck in "removing" state for the same reason "waiting on controller.cattle.io/cluster-provisioner-controller"

@sangeethah seems like it's a different controller - cluster provisioner -removal process holding up the removal now. I'll look into it

There were a couple of issues fixed on RKE side for connections not timing out. That theoretically could have caused cluster being stuck in Removing state:
https://github.com/rancher/rke/pull/446
https://github.com/rancher/rke/pull/445
@sangeethah if this issue happens again, could you include rancher logs from the moment cluster.remove command was issued? And reopen the issue.

Looks like the "waiting on controller.cattle.io/cluster-provisioner-controller" issue is being tracked in https://github.com/rancher/rancher/issues/12254, closing this bug for now as initial issue waiting on controller.cattle.io/cluster-scoped-gc is not seen anymore


Add exporter subcommand

Towards https://github.com/thegreenwebfoundation/grid-intensity-go/issues/25
This moves the exporter code from grid-intensity-exporter and adds the WattTime provider.
Also the grid_intensity_carbon_actual metric is renamed to grid_intensity_carbon_average and the units are added.
go run . exporter -r ES
Using provider "ember-climate.org" with region "ES"
Metrics available at :8000/metrics

curl -s http://localhost:8000/metrics | grep grid
# HELP grid_intensity_carbon_average Average carbon intensity for the electricity grid in this region.
# TYPE grid_intensity_carbon_average gauge
grid_intensity_carbon_average{provider="ember-climate.org",region="ES",units="gCO2 per kWh"} 193.737

For the WattTime provider both the marginal and relative metrics are output if they are present.
go run . exporter -p watttime.org -r CAISO_NORTH
Using provider "watttime.org" with region "CAISO_NORTH"
Metrics available at :8000/metrics

curl -s http://localhost:8000/metrics | grep grid
# HELP grid_intensity_carbon_marginal Marginal carbon intensity for the electricity grid in this region.
# TYPE grid_intensity_carbon_marginal gauge
grid_intensity_carbon_marginal{provider="watttime.org",region="CAISO_NORTH",units="lb CO2 per MWh"} 911
# HELP grid_intensity_carbon_relative Relative carbon intensity for the electricity grid in this region.
# TYPE grid_intensity_carbon_relative gauge
grid_intensity_carbon_relative{provider="watttime.org",region="CAISO_NORTH",units="percent"} 71

Otherwise just the relative intensity is output.
go run . exporter -p watttime.org -r ES
Using provider "watttime.org" with region "ES"
Metrics available at :8000/metrics

curl -s http://localhost:8000/metrics | grep grid
# HELP grid_intensity_carbon_relative Relative carbon intensity for the electricity grid in this region.
# TYPE grid_intensity_carbon_relative gauge
grid_intensity_carbon_relative{provider="watttime.org",region="ES",units="percent"} 20

I'm really happy with this PR Ross, thanks! Please merge in at your convenience 👍


Properly handle game pause in VideoPlayer

Fixes #33702

Rebased and reworked. I added paused_from_tree variable, which is set to true when the player is playing and gets paused from scene tree. I couldn't test if it works though, because VideoStreamPlayer doesn't seem functional, idk

Tested and it works correctly.

Thanks!


Issue 2021

Makes compiled output deterministic, when doing tuple unpacking to set multiple vars in a single {% set ... %} call.
fixes #2021

Please rename this with a descriptive title. The issue number is already linked in the body.


:penguin: Add rocky linux to matrix

Relates to https://github.com/kairos-io/kairos/issues/766

Codecov Report

Merging #241 (e8c8ea5) into main (204e918) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##             main     #241   +/-   ##
=======================================
  Coverage   10.92%   10.92%
=======================================
  Files          15       15
  Lines         879      879
=======================================
  Hits           96       96
  Misses        758      758
  Partials       25       25

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Missing custom arrows from API documentation

I'm mostly developing using the API docs as the main source to understand this lib.
One of the things that I was worried about is that I couldn't customize arrow components. There were only mentions about dotsClass, none about previous and next buttons. So I chose to not show arrows altogether.
Fortunately, I discovered that it is possible when browsing the demo section. I thought it was only misdocumented at first, but then I implemented at the playground and it worked :smile:
I think it would be a lot easier for newcomers to understand the lib if all the props were properly documented. I searched for some related issues and it seems I'm not the only one confused about this.
https://github.com/akiran/react-slick/issues/111
https://github.com/akiran/react-slick/issues/1374
This documentation improvement would resolve issues before they appear, and make it easier for this lib to be used.

Just want to add a +1 here. These are extremely useful props. Only after digging into the source code with plans to fork the repo did I notice that those props were indeed available. I double-checked the documentation and indeed nextArrow and prevArrow are not in there.

@andre-matulionis-ifood Does your implementation of custom arrows also apply if you want to use svg icons? I'm gonna try that out.


S48 1126 r d automation of webhook triggered http functions

Webhook functions (functions to be called in response to a BC webhook) are detected from an extra field in runtimeConfig (see https://github.com/Space48/cloud-seed/pull/60/files#diff-9e6a582601a54be0e321add0b96361303ccf3d471b1d6350daf364c6b96a6667)
A list of all webhook scopes and a shared destination url is written to bigcommerce-webhooks.json in the .build directory
A gcp function which recieves all webhooks (https://github.com/Space48/cloud-seed/pull/60/files#diff-4b68c93145858e6d2c119507368d45ff475ae5f2916f258a2d434f33bb9a8817) is automatically bundled into the build files
This function pushes to a different pubsub topic depending on the webhook scope
Topics for webhooks are deduced from runtimeConfig and created in https://github.com/Space48/cloud-seed/pull/60/files#diff-4010ac73a1f341ac1142bee6d535810260b82f6c051bc2c4538085c73f3cf7be

Current limitations: doesn't reliably handle hook in form foo/bar/*


Error when running Example 1. Please help!

Hi, I tried to run example 1 but returned with error. Could you please help? Many thanks!
Please see below.

C:\Users\liusi\Desktop\glassdoor-review-scraper-master-matt>python main.py --headless --url "https://www.glassdoor.co.uk/Overview/Working-at-Well
s-Fargo-EI_IE8876.11,22.htm" --limit 1000 -f wells_fargo_reviews.csv
2020-07-02 20:08:41,025 INFO 416    :main.py(4100) - Configuring browser
DevTools listening on ws://<IP_ADDRESS>:51703/devtools/browser/37f604c9-f5f4-4325-ac1d-a1b5514cff80
2020-07-02 20:08:43,379 INFO 458    :main.py(4100) - Scraping up to 1000 reviews.
2020-07-02 20:08:43,397 INFO 395    :main.py(4100) - Signing in to<EMAIL_ADDRESS>Traceback (most recent call last):
File "main.py", line 500, in
main()
File "main.py", line 462, in main
sign_in()
File "main.py", line 408, in sign_in
submit_btn.click()
File "C:\Users\liusi\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\remote\webelement.py", line 80, in click
self._execute(Command.CLICK_ELEMENT)
File "C:\Users\liusi\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\remote\webelement.py", line 633, in _execut
e
return self._parent.execute(command, params)
File "C:\Users\liusi\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "C:\Users\liusi\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check
_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.ElementClickInterceptedException: Message: element click intercepted: Element ... is not clickable at point (387, 488). Other element would receive the click: ...
(Session info: headless chrome=83.0.4103.116)

Same issue here,
`
Traceback (most recent call last):
File "main.py", line 500, in
main()
File "main.py", line 462, in main
sign_in()
File "main.py", line 408, in sign_in
submit_btn.click()
File "/Users/kingf.wong/.conda/envs/FinanceML/lib/python3.7/site-packages/selenium/webdriver/remote/webelement.py", line 80, in click
self._execute(Command.CLICK_ELEMENT)
File "/Users/kingf.wong/.conda/envs/FinanceML/lib/python3.7/site-packages/selenium/webdriver/remote/webelement.py", line 633, in _execute
return self._parent.execute(command, params)
File "/Users/kingf.wong/.conda/envs/FinanceML/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "/Users/kingf.wong/.conda/envs/FinanceML/lib/python3.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.ElementClickInterceptedException: Message: element click intercepted: Element ... is not clickable at point (400, 488). Other element would receive the click: ...
(Session info: headless chrome=85.0.4183.102)
`

pretty sure predefining window size would fix it. Could you try adding the configurations, it should look similar to something like this. Let me know if this worked so I can make a pull request.
chromeOptions: {
    args: ['headless', 'window-size=1920,1080']
}


feat(install): allow to install and skip certain browser

Fixes #52

Looks right to me. I initially wondered if any input validation should be done on the new Browsers option, but it looks like the Playwright driver already validates browser types on its own:
$ ./playwright.sh install test
Invalid browser name: 'test'. Expecting 'chromium', 'firefox' or 'webkit'.

Thanks for the quick response on this!


fix(create-cloudflare): update to Analog 1.9.0 w/latest template

Fixes #[insert GH or internal issue link(s)].

Updates Analog to use latest upon installation
Removes installation of @ngtools/webpack
Removes Analog e2e test from quarantine.

Tests

[ ] TODO (before merge)
[ ] Tests included
[x] Tests not necessary because: E2E tests already exist

E2E Tests CI Job required? (Use "e2e" label or ask maintainer to run separately)

[ ] I don't know
[ ] Required
[x] Not required because: E2E tests already exist

Public documentation

[ ] TODO (before merge)
[ ] Cloudflare docs PR(s):
[x] Documentation not necessary because: Documentation already exists

thank you so much @brandonroberts for creating this PR ♥ 🙏 . It seems that the analog e2e tests are still failing with the same fetch error :(. I wonder if it's the same issue we're seeing on https://github.com/cloudflare/workers-sdk/pull/6975 🤔

@CarmenPopoviciu no problem! I'm digging into and trying to run the E2E tests locally. I think its not resolving the current working directory when scaffolding the application in a temp directory, so its not building the application correctly.


Zip file doesn't contain the latest merged PR

This PR (https://github.com/awslabs/aws-lambda-ddns-function/pull/6) is in the union.py file but not the union.py.zip file, can you guys update that?

Thanks.  I will upload a new version of the zip tomorrow.

I re-zipped and upload the file.


Store limited Brew History in Local Storage

This experimental PR saves a limited brew history in local storage, under the key HOMEBREWERY-HISTORY-{shareId}-{n}, where n is in the range 1-5.
This will resolve #3070.
Delay between history updates is controlled by the following array:
const HISTORY_SAVE_DELAYS = [
	1,			// 1 minute
	30,			// 30 minutes
	60,			// 60 minutes
	24 * 60,		// 24 hours
	5 * 24 * 60		// 5 days
];

Every time the Edit Page autosave function runs, the following takes place:

If the key does not exist, the brew's title, text, style, and the current time are combined into an object, JSON.stringified, and saved in the key.
If the key does exist, the encoded object is parsed and the current time is checked against the savedAt value + the relevant delay value. If the delay has expired, the stored key is updated with the current values.

To Dos

[x] UI interface

[ ] view stored data
[x] overwrite current values with stored data

[x] garbage collection/expiry
[x] consider adding a minimum version differential, instead of or in conjunction with time

Because it seemed like a good idea, I have also added a version differential requirement to the update function. In the previous iteration, returning to the document that you were working on yesterday could immediately wipe out 80% of all stored data. By adding a minimum number of version changes as well, the stored data will not update unless the version has also changed by a minimum number, so returning to edit yesterday's document will only overwrite the historical versions once the user actually starts making changes.

Sample Local Storage keys:

returning to the document that you were working on yesterday could immediately wipe out 80% of all stored data.

Ideally, if the check finds that any entries are expired, only the oldest entry will be cleared, and all others will move up to the next time delay slot so only one entry expires at a time.
So in your example, if you return the next day, item in slot 4 (24 hours) would expire, but slot 3 would take its place; you would still have 3 entries from the previous day.

[ ] Check if any slot has expired:

[ ] Check from oldest to newest (i.e. from slot 5 to 1) for expiry time vs current time
[ ] If the slot is expired, remove it, and stop checking for expiry of any other slots (expire only one slot at a time)

[ ] Check if there is any empty slot and fill it:

[ ] Check from oldest to newest (i.e., from slot 5 to 1) for an empty slot.
[ ] If an empty slot is found:

[ ]  If any newer slot above is already filled, graduate the next newest slot in line to fill the empty slot
[ ] If no newer slot above is already filled, create a new entry from the current brew in the empty slot
[ ] However the slot was filled, reset the expiry date for that entry based on its new slot position, even if it was already expired

[ ] continue checking for the next empty slot and repeat (i.e. cascade all slots down as needed until no empty slot remains, resetting their expiry timers for any entry that was moved)

I have added a garbage collection function; when the function is called and a set period of time has passed without the data in local storage being updated, the history data will be removed.

If you can't tell, I'm very excited about this one.

Data, propagating through local storage:

Current state of the UI:

Currently the UI re-uses the snippetGroup and snippet styling to dropdown menus.
Hovering over a History item shows the timestamp (UTC) of when that item was saved.
Currently clicking the menu items does not have an effect.

This is currently functional.
At this point, there's no method of viewing the stored data before overwriting the document in the editor, BUT the change is stored in the Undo history, so users can CTRL+Z (or whatever their preferred Undo method is) to get back to their current document.

Okay, so this still saves the document in mongo/Drive, but keeping older versions in localStorage, right?

can we process the time data to be showed in an appropiate unit? Minutes, days, months...

It goes from v1 to v6? what is the number related to?

Okay, so this still saves the document in mongo/Drive, but keeping older versions in localStorage, right?

Correct, this does not change the process of saving to Mongo or Google Drive; this is in addition to, not instead of.

can we process the time data to be showed in an appropiate unit? Minutes, days, months...

snippetbar.jsx:L169-171 does exactly this; if it's more than 60 minutes, changes to hours; if more than 24 hours, changes to days.
Currently, garbage collection is set at 28 days, so it should clean out old entries before they get too far into "months" territory.

If no version is saved, should all those appear?
How many changes or time does it need to create a new version? Like, does it not create a new one until 30 minuts have passed from the previous?

DEFAULTS:

Currently, slot 0 is not used.
After the first time a save process runs - autosave or otherwise - the local history slots are checked, from slot 5 (with the longest period before expiry) to slot 1 (with the shortest period to expiry). In this scenario, there is no stored data, so they are all considered expired.
The content of slot 5 is discarded, and the content of slot 4 moved into 5; then 3 into 4; 2 into 3; and then 1 into 2. Finally, the current data is written into slot 1. In this scenario, there is no data in slots 1 through 4, so current data is used instead, resulting in the current data occupying all five available history slots.

How many changes or time does it need to create a new version? Like, does it not create a new one until 30 minuts have passed from the previous?

@5e-Cleric Let me try to explain as well: A new version is saved every 2 minutes (the shortest delay value). However, we only hold on to a total of 5 versions, so if we expired the oldest one every two minutes, we would only have a total of 10 minutes of history. Instead, version we store has a different delay before it expires. The oldest one won't be thrown out until 2 days have passed. The next oldest will stay for 12 hours, etc. So every two minutes when a new version comes, we expire the oldest one we can that is past its threshold, but all the other ones survive. This means most of the time the 2-minute slot will be just overwritten again and again until one of the older spaces below opens up a space and all the others can slide down to fill the space.
In this way, after 12 hours, we can guarantee we have a backup somewhere between 12 hours and 2 days in slot 5, another backup between 1 hour and 12 hours in slot 4, etc.

Before merging I just want to double-check the behavior. Just testing from the deployment I'm not sure the slots are expiring as I expect:
Slot 3 is over 3 hours old, but it's not expiring when I make a new save (should expire when 1 hour old); it just overwrites slot 1. Similarly slot 2 is over 40 minutes old but it's also not expiring (should expire after 10).

When home I will double-check with custom config values to make sure I'm not seeing things.

Before merging I just want to double-check the behavior. Just testing from the deployment I'm not sure the slots are expiring as I expect:
Slot 3 is over 3 hours old, but it's not expiring when I make a new save (should expire when 1 hour old); it just overwrites slot 1. Similarly slot 2 is over 40 minutes old but it's also not expiring (should expire after 10).

When home I will double-check with custom config values to make sure I'm not seeing things.

Expiry is set from the moment that the slot is updated, while the saved time is always the time that the data was first saved. Also, the update function only runs when the save function is called; if the document is not being updated, then the function is not being called, so infrequent document updates may cause the data to persist much longer in it's slot than otherwise expected.
As a debugging feature, we could add the slot expiry time to the UI, so we can see exactly when the slot will expire and ensure it matches expectations.

Ok, my concerns have been assuaged. Merging now.
Thanks @G-Ambatte ! 💯 ⭐ 🎉


Finalize checkpoint/restore

At the moment, we have one checkpoint, but we've never tested whether restoring it works. The saving pipeline returns files, but it's uncertain whether loading it works equally flawlessly.
This issue is about testing the existing code and potentially fixing problems as they appear.

Solved by #27


Upgrade Twine.app to v2.0.10

Thank you for the contribution. It needed some fixes, so they were made in bdeda09a9b08a0463ce13de9839e966e733eb68d. Your contribution is still included (and still credited to you), with the appropriate modifications. Please feel free to ask about any of the changes.


Unable to start language server

What happened?
I setup the plugins executable to a local environment and set the running mode option to lsp4ij but then I got this error:
com.redhat.devtools.lsp4ij.server.CannotStartProcessException: Unable to start language server: ProcessStreamConnectionProvider [commands=[/Users/lorisgir/Talkkit/backend/src/venv/bin/pyright-langserver, --stdio], workingDir=/Users/lorisgir/Talkkit/backend/src]
    at com.redhat.devtools.lsp4ij.server.ProcessStreamConnectionProvider.ensureIsAlive(ProcessStreamConnectionProvider.java:88)
    at com.redhat.devtools.lsp4ij.LanguageServerWrapper.lambda$start$0(LanguageServerWrapper.java:243)
    at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
    at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:507)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1491)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:2073)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:2035)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:187)

Steps to reproduce
Just setup the plugin executable paths and then i get the error
Relevant log output or stack trace
No response
Operating system
MacOS

Here's the output:
`
internal/modules/cjs/loader.js:905
throw err;
^
Error: Cannot find module 'node:util'
Require stack:

/Users/lorisgir/.cache/pyright-python/1.1.379/node_modules/pyright/dist/pyright-langserver.js
/Users/lorisgir/.cache/pyright-python/1.1.379/node_modules/pyright/langserver.index.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
at Function.Module._load (internal/modules/cjs/loader.js:746:27)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:92:18)
at Object.7975 (/Users/lorisgir/.cache/pyright-python/1.1.379/node_modules/pyright/dist/pyright-langserver.js:1:559)
at o (/Users/lorisgir/.cache/pyright-python/1.1.379/node_modules/pyright/dist/pyright-langserver.js:1:1145)
at Object.4111 (/Users/lorisgir/.cache/pyright-python/1.1.379/node_modules/pyright/dist/vendor.js:2:781539)
at o (/Users/lorisgir/.cache/pyright-python/1.1.379/node_modules/pyright/dist/pyright-langserver.js:1:1145)
at Object.3009 (/Users/lorisgir/.cache/pyright-python/1.1.379/node_modules/pyright/dist/pyright-internal.js:1:1484269)
at o (/Users/lorisgir/.cache/pyright-python/1.1.379/node_modules/pyright/dist/pyright-langserver.js:1:1145) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/Users/lorisgir/.cache/pyright-python/1.1.379/node_modules/pyright/dist/pyright-langserver.js',
'/Users/lorisgir/.cache/pyright-python/1.1.379/node_modules/pyright/langserver.index.js'
]
}
`

Is there any package I need to install first?

Ok so the problem was in fact nvm, the default version was 14. Now the output of that command is as you wrote earlier.
One more question, is it possibile to analyze with pyright the whole project and not going every single file?
I'd like to have the red underline under the file names in the project tree that have errors so I can fix them.

When using the plugin on a Linux machine, I saw issues with the PATH priority. Somehow the system node was used instead of the one installed via nvm although it has lower priority in the PATH setting.
Uninstalling the system's node resolved the issue. Especially Ubuntu has some rather ancient node.

@InSyncWithFoo You are right, sorry for my erroneous comment. The plugin works flawlessly here.
It has been a while that I used nvm + npx. My personal nvm installation seems to be broken as it is not in ~/.profileand thus PyCharm only had the correctPATH` when starting from a shell.
Additionally I was unaware that npx is just a js script using the system node:
~/.nvm/versions/node/v23.5.0/bin/npx pyright

still uses the wrong node version.
One would need to provide absolute paths to the node binary and the pyright/pyright-langserver script.
@InSyncWithFoo Thanks for your quick reply and sorry once again for wasting your time. Happy holidays and thanks for the work you put in this repo!