Mat/Pat - Bug - Parental leave start date validation

The validation message keeps changing
wrong validation message as well if you pick a date thats more than 2 months in advance

Validation message  keeps changing
video - https://bcgov.sharepoint.com/:v:/r/teams/03991/Shared Documents/Maternity and Parental Leave/Test Screenshots %26 Recordings/Screen Recording 2023-11-14 at 4.09.32 PM.mov?csf=1&web=1&e=9PPiZL
Wrong message  -
Private Zenhub Image

Validation message updated! Thank you, Andrew!

We are still seeing this issue. Steps to reproduce - select a child's birth date 2-3 years ago and select todays date or date in the future. The validation message sometimes incorrectly changes to "you cannot select a dat ein the past"

now you will see all of the errors for the field. If you immediately select a date that is invalid, the messages will be a bit weird until you select a valid date.

Not able to reproduce the issue after trying Fazil's steps

@Stella-Archer Are we okay to close this one or would you like to test with me this aft?


AttributeError: 'NoneType' object has no attribute 'isatty'

When importing lvsfunc or vsaa i get error
AttributeError: 'NoneType' object has no attribute 'isatty'
The full traceback
Traceback (most recent call last):
File "src\cython\vapoursynth.pyx", line 2890, in vapoursynth._vpy_evaluate
File "src\cython\vapoursynth.pyx", line 2891, in vapoursynth._vpy_evaluate
File "F:\test.vpy", line 6, in import lvsfunc
File "C:\Program Files\Python310\lib\site-packages\lvsfunc\__init__.py", line 12, in
from . import (aa, comparison, deblock, dehalo, dehardsub, deinterlace, exceptions, fun, helpers, mask, misc, noise,
File "C:\Program Files\Python310\lib\site-packages\lvsfunc\aa.py", line 7, in
from vskernels import Bicubic, Box, Catrom, Point
File "C:\Program Files\Python310\lib\site-packages\vskernels\__init__.py", line 15, in
from . import exceptions, kernels, util
File "C:\Program Files\Python310\lib\site-packages\vskernels\exceptions.py", line 5, in
from vstools import CustomValueError, FuncExceptT
File "C:\Program Files\Python310\lib\site-packages\vstools\__init__.py", line 1, in
from .enums import * # noqa: F401, F403
File "C:\Program Files\Python310\lib\site-packages\vstools\enums\__init__.py", line 1, in
from .base import * # noqa: F401, F403
File "C:\Program Files\Python310\lib\site-packages\vstools\enums\base.py", line 6, in
from ..exceptions import NotFoundEnumValue
File "C:\Program Files\Python310\lib\site-packages\vstools\exceptions\__init__.py", line 1, in
from .base import * # noqa: F401, F403
File "C:\Program Files\Python310\lib\site-packages\vstools\exceptions\base.py", line 40, in
class CustomError(Exception, metaclass=CustomErrorMeta):
File "C:\Program Files\Python310\lib\site-packages\vstools\exceptions\base.py", line 32, in __new__
if sys.stdout.isatty():
AttributeError: 'NoneType' object has no attribute 'isatty'

I've updated lvsfunc, vsaa and vstools from git passing the --upgrade flag to pip.

Thanks for the error report.
Apparently stdout can sometimes not be connected, and it'll result in it being None.
Even print internally has a check for it.
https://github.com/python/cpython/blob/3.11/Python/bltinmodule.c#L2000-L2003
Fixed it in https://github.com/Irrational-Encoding-Wizardry/vs-tools/commit/adaa2fddf549d70a853fe14e21296aec72814072


Python MBTiles extract from CSV files

Resolves #293 and #294.
Had to rewrite the bash stuff in Python. Knew this eventually is going to happen:
Now we also support rendering the extracts with parallel processes and you can use cities and country CSV files (cities from Mapzen Metro) that can be easily edited in GitHub directly.

Thats great, finally more city extracts 🎉


Add more filters to align with twister v1 testing scope selection

Twister v1 loads all the test configurations from a given location and then applies dozens of filters to end up with a list of selected and discarded tests. The same functionality is already provided in twister v2, however, not all filters are implemented yet. The goal is to implement all the rest of twister v1 filtering options but with the convention used in twister v2.

Example of some more important filters:
https://github.com/zephyrproject-rtos/twister/issues/10
https://github.com/zephyrproject-rtos/twister/issues/12
https://github.com/zephyrproject-rtos/twister/issues/13
https://github.com/zephyrproject-rtos/twister/issues/14

#108


Q: Pipe CSV to file?

Hi Chris
I really like the client!  I have a pretty simple question - and apologies in advance if it seems totally trivial -   how can I pipe csv output to a file?
I tried various combinations of "|" and ">>" to no avail...
Thanks,
Michael

It should work in a normal fashion, e.g.:
% neo4j-client --version
neo4j-client: 1.0.0
libneo4j-client: 1.0.0
% echo 'MATCH (n:Person) RETURN n;' | neo4j-client neo4j://neo4j:test@localhost > out.csv
% head -3 out.csv
"n"
"(:Person:Post{born:1957,name:""Kelly McGillis""})"
"(:Person:Post{born:1959,name:""Val Kilmer""})"
%

I just ran the above on my macbook, so it should work for you also. If not, let me know more detail about your environment?
Cheers,
Chris


[ARIES-2159] fix NPE when DatabaseMetaData wants to get connection from DummyDataSource

ARIES JPA issue https://issues.apache.org/jira/browse/ARIES-2159

Hi @jbonofre , would you be able to look into this PR?

@glimmerveen it's on my todo not yet started.


About the experiment setting.

Hi, Muhammad, I recently have read your paper. It's easy to follow and interesting. And I am currently trying to reproduce some results in your paper. But I encounter some problem with the 'iNat 2017' experiment. I use the same settings you described in your paper, but I can only obtain accuracy 47.5% in epoch 100 for the baseline 'Cross Entropy Loss'. (Settings I used: ResNet50 pretrained on ImageNet, learning rate 0.01, SGD optimizer)

Hi, for the baselines, we mostly follow Class-Balanced loss paper (https://github.com/richardaecn/class-balanced-loss) and classifier balancing (https://github.com/facebookresearch/classifier-balancing). You might want to increase the batch size because in our paper, we used a distributed system with multiple workers having the batch size of I guess 64. You should also train for more epochs.

Hi, for the baselines, we mostly follow Class-Balanced loss paper (https://github.com/richardaecn/class-balanced-loss) and classifier balancing (https://github.com/facebookresearch/classifier-balancing). You might want to increase the batch size because in our paper, we used a distributed system with multiple workers having the batch size of I guess 64. You should also train for more epochs.

Thanks for replying, I actually also used the distributed training with the total batch size 512 (on 4 GPUs). But I still wondering should I decay the learning rate during training? Or keeping the learning rate 0.01 till the end of the training?

Just for the baseline results, you do have to decay the learning rate during training. You can follow either of the links. I found cosine learning rate scheduler in classifier-balancing works better.

Just for the baseline results, you do have to decay the learning rate during training. You can follow either of the links. I found cosine learning rate scheduler in classifier-balancing works better.

Thanks! I will use the cosine scheduler with a initial learning 0.01 (described in your paper) to train 200 epochs. Is this settings correct?

If you want to use cosine scheduler, then you can use LR of 0.2 decayed to 0. Let me know if you still face difficulty in it.

If you want to use cosine scheduler, then you can use LR of 0.2 decayed to 0. Let me know if you still face difficulty in it.

Got it, I will try the new settings. 👍 Thanks again!


[requires.io] dependency update on master branch

Why does it insert your account for the pull request? :smile:

fyi this is auto-generated by the requires.io service.


Added Logo and Favicon to the web page

Logo Added

please rephrase the issue by considering the react js technology and if you didn't joined onboarding group please do join
Developers needs to onboard to opensource community for easy information flow along with admins, please join with this link Curious Developers Community - Hacktoberfest


Public - Content update re: holding passes

Description:
Update wording on the booking page and home page to notify visitors of the new timer feature
Acceptance Criteria:
[Note: Use 'Given/When/Then' format if it makes sense to. Otherwise, a simple checklist that can be tested.]
Development Checklist:

[ ] ...
[ ] ...
[ ] ...

Dependencies

Blocked by
Blocking

Relevant documentation as reference
Definition of Ready

[ ] Acceptance criteria are included
[ ] Wireframes are included (if applicable)
[ ] Design / Solution is accepted by Product Owner (if applicable)
[ ] Dependencies are identified (technical, business, regulatory/policy)
[ ] Story has been estimated (under 13 pts)

Definition of Done

In progress:

[ ] Acceptance criteria are tested (Functionality meets the acceptance criteria defined in the ticket)
[ ] UI meets accessibility requirements
[ ] Unit tests are written
[ ] Work is traceable in GitHub
[ ] PR linked to ticket number
[ ] If needed/required - Dev adds flag/label to highlight any migration steps necessary prior to PROD deployment

Code review:

[ ] Code is peer reviewed and has passed CI/CD tests

QA:

[ ] Acceptance criteria are tested (Functionality meets the acceptance criteria defined in the ticket)
[ ] Code is potentially shippable to the production environment
[ ] Functional features have been tested and passed by QA
[ ] UI components tested by designer
[ ] Code is deployed to PROD when moved to 'done' column (unless requested otherwise by PO)

PO Review:

[ ] Acceptance criteria are tested (Functionality meets the acceptance criteria defined in the ticket)
[ ] Reviewed and approved by Product Owner

Notes:

We'll need to chat with Marshall to get this content. cc @JLWade @ndelraye

Added to #338 - will archive this ticket


Collapse dont work as expected if somewhere in document is a element with class "mix"

Bootstrap v4.2.1
I have found a problem with collapse. If somewhere is a class in document named mix then collapse also close this one. I cant find any informations about this. so i think its a bug...
Just to inform ;)

Please provide a reduced test case. Also, please check using 4.5.2 as 4.2.1 is now quite outdated

I realized that the problem was because another script we have implemented in our project: https://www.kunkalabs.com/mixitup/
So this can be closed :)


Feature request - use scenario tags in hooks

Current behavior
Inside before() hooks in support/index.js or globalBefore.js there is no way to get the current scenario tags in order to be able to run hooks specific to a scenario. If I use
Before({ tags: "@123" }, () => {

The hook will run for all scenarios
Desired behavior
In old frameworks I used to build with Protractor + Cucumber I would create before and after hooks for specific tags, like
Before({ tags: "@123" }, () => {
    const spec = Cypress.mocha.getRunner().test;
    console.log(spec)
})

I haven't been able to find a way to create this "selective" hooks with Cypress and Cypress-Cucumber-Preprocessor in order to execute some specific hook for a given scenario
Versions

Cypress version: 4.12.1
Preprocessor versin: 2.5.0
Node version: 12.16.3

I have the same need

Due to personal reasons, the previous maintainers of this package are stepping down and handing the reigns over to me, a long-time contributor to the project and a user of it myself. This is a responsibility I'm very excited about. Furthermore, I'd like to thank @lgandecki ++ for all the work that they've done so far.
Read more about the transfer of ownership here.
The repository has however moved and all outstanding issues are being closed. This is not a reflection of the perceived importance of your reported issue. However, if after upgrading to the new version, you still find there to be an issue, feel free to open up another ticket or comment below. Please make sure to read CONTRIBUTING.md before doing so.


Being able to duplicate a theme by id

First off, great work on the tooling. Without your kit developing for a multisite Shopify platform would be a pain.
We are already pretty efficient in deployment using theme kit.
However, one thing would speed things up even more and that is being able to duplicate a theme (based on id).
The command could look something like this: theme duplicate --env=stage --id=1239293293
How do you guys feel about releasing this feature in the future?
Keep up the good work!

Hey @paulhuisman, thanks for the suggestion, I will think about the best way to do this. Currently, you can run theme new while you are in a directory with the files of another theme, and it will not overwrite existing files (you may get some extra files but those can be removed) That should help for now, but I will think about adding an option to theme new to make a copy

Hey @paulhuisman, thanks for the suggestion, I will think about the best way to do this. Currently, you can run theme new while you are in a directory with the files of another theme, and it will not overwrite existing files (you may get some extra files but those can be removed) That should help for now, but I will think about adding an option to theme new to make a copy

Thanks for getting back to me so fast. Would be great if you could have a look! In the mean time i will look into theme new.

Thanks for getting back to me so fast. Would be great if you could have a look! In the mean time i will look into theme new.


Amazing work! + Feature requests

Just found out about this. Really nice work! I've genuinely been worried I'd have to type these in somewhere and naturally left it. There is a version of this that only really works well on CDJs with an ethernet port when using them with USB and you have totally covered everyone working on controllers/home systems which is - by far - more users.
I'm not remotely into coding and have barely heard of Github except to add something to OBS once before. I'm over the moon that you have made this with all the different ways to connect to kuvo / other computers.
I have some feature requests:

Font changer for each line built in. Ability to choose Capitalization, Bold, Italic.

Ability to add album Artwork (and change the size it appears)

Left Justify, Right Justify, Centre Justify

Ability to Specify where the text appears (1 line, 2 line)

I've written this out how various DJs might love using this.
e.g.
1 line  version
Artist - Title (Remix) [LABEL]
2 line version
Artist - Title (Remix)
LABEL
3 line version
ARTIST - TITLE
(REMIX)
LABEL
4 line version
ARTIST
TITLE
(REMIX)
LABEL

The Kuvo method is a bit smashed up* because of an issue at Kuvo's end I think. If you can somehow get Unbox to listen to what's sending info from Rekordbox to Kuvo at an earlier stage, that might fix it because their website isn't working correctly in Live mode (either doesn't start, or after 10-15 minutes stops working) and we appreciate you have no control over Kuvo.

*technical term
I am also going to donate as I'm super grateful for the effort this must have taken just to get to version 1.
Really happy, thank you so much.

Thanks! Yeah the first four requests are definitely coming so stay tuned, as for the hook into what’s being sent to KUVO, you can do this now on windows if you use the real-time mode. Any chance you’re on windows?
Thanks for the donation! Glad this is useful for you!

I'm DJing on Mac but streaming from Windows (for NVENC graphics).

Hey, just wondering if an update might be coming this side of the weekend? I've got a show on Sunday and would like to debut my use of this on that show. No real pressure, just something I am musing.

No update planned, any particular feature you're looking for before your stream?

Just fonts and left, centre, right justify :)

Gotcha, do you know the font / layout / justification you want? I can send over a custom layout that you can use.

I think I’d like:

One that does Asot details but all in one line

ASOT, right justified

Font family Niveau Grotesk where the Artist and Title are bold, remixer is in brackets, followed by // Label UPPERCASE
Ie.
Artist - Title (Name Remix) // LABEL

Let me know if you can do any of these :)

Hey sorry ended up being away from my computer and wasn't able to get to this, I'll be sure to get this out to you soon though. I don't have the font btw, looks like that's an adobe font which could just be imported and added using pure CSS in OBS.

It’s okay. I ended up in a conundrum and couldn’t get it to work.
Question:
I connect my streaming windows laptop to the internet via 4g LTE for
streams. The landline broadband isn’t good upload speed here.
I use rekordbox on the MacBook Pro which uses the landline broadband.
Today I couldn’t get this to work because I realised they need to be
connected to the same network and the 4g is different all together to our
home network.
Is there a solution to this you can think of? I tried connecting them both
to the phone but annoyingly the MacBook decided it couldn’t talk to it.
Kuvo is out of the question it is broken at their side.
Is there a way for a 4g mobile phone connection to talk to Unbox? Like
creating some kind of ‘fake’ network just to get them talking through a
tunnel over the web somehow?
I think there is a solution but my head hurts and I need sleep!
On Sun, 21 Mar 2021 at 19:31, erikrichardlarson @.***>
wrote:

Hey sorry ended up being away from my computer and wasn't able to get to
this, I'll be sure to get this out to you soon though. I don't have the
font btw, looks like that's an adobe font which could just be imported and
added using pure CSS in OBS.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/erikrichardlarson/unbox/issues/24#issuecomment-803628622,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATFIE5L2BWO67IH5RO45OHDTEYUQTANCNFSM4Y5JZMWA
.

--
Nasser Moffat
Mob  |  WhatsApp  |  +44 7949 613 820

If you connect to both 4g and landline at the same time, it should work.

@Nass86 Yeah you can download ngrok to do this: https://ngrok.com/download
You can run this command from your mac terminal, just replace with the path of your ngrok download: /Users/erik.larson/Downloads/ngrok http 8080
It will give you a url that you can use in your OBS browser source like: http://ac1b18d1d212.ngrok.io/asot.html

This is genius. Except it works at first then freezes on the first track. Says its trying to connect too many times inside one minute (35 connections in the last 60 seconds when the limit is 20 connections a minute unless you start paying).
Can you reduce your connections down to 18 or 20 or something on unbox? Or can I manually make that so?

I think if you sign up for an account you get more connections per minute, I'd try that and let us know if you still get errors.
If you do, you can try this instead of ngrok: https://theboroer.github.io/localtunnel-www/

Great I'll give this a shot.
PS - I've only just realised now, the REMIXER field in Rekordbox is missing from all types of output.
So it will display
Artist
Title
[LABEL]
When it should always be
Artist
Title
(Remixer)
[LABEL]

Hmmm it worked in my testing, and I’ve seen it work on some Twitch channels, can you send me the track info on a track it didn’t work on?

Here you go. When you download an MP3 I think the Remixer field gets added to the Track field so it all looks good. This is Beatport Link, and Beatport link has a second field and it doesn't hit the Track Name field.

I think if you sign up for an account you get more connections per minute, I'd try that and let us know if you still get errors.
If you do, you can try this instead of ngrok: https://theboroer.github.io/localtunnel-www/

Thanks - in the end I've had success with www.openport.io


Use existing method Field.sub_type

It is purposed exactly for this.

It is weird to label my own work with fine/no.
I guess, there is first time for everything. 🦐


Update nsgt on PyPI

Would be cool to upload nsgt 0.18 to PyPI. Right now it's still at 0.17, and a pip3 install nsgt will give a version that doesn't work in Python 3. (It can of course be circumvented with pip3 install https://github.com/grrrr/nsgt/archive/0.18.zip.) Cheers!

Thank you, done!
https://pypi.org/project/nsgt/

Amazing! many thanks @grrrr

Wow, that was fast! :stopwatch: Thanks!


Add vernacular name and breed

@sarahcd, for the Digitanimal trackers we are using to follow livestock in nature reserves, the scientific name is not sufficient to identify the animal. We also need:

vernacular name: e.g. Equus caballus could be horse or pony
animal breed: West-vlaams roodbont, Galloway, Koniks

I've currently mapped this information into animal-comments:

animal-taxon
animal-comments

Bos taurus
rund: Aberdeen

Bos taurus
rund: Galloway

Bos taurus
rund: Oost-Vlaams Witrood

Bos taurus
rund: West-vlaams roodbont

Equus asinus
ezel: Cotentin Flamande

Equus caballus
paard: huis-tuin-keuken versie

Equus caballus
paard: Konik

Equus caballus
pony: Fjord

But I was wondering if there is (a use case for) a better field?

What about this?
http://vocab.nerc.ac.uk/collection/MVB/current/MVB000025/


rm 7zip from docker files

Its probably harmless that its there but we don't need it any more and removing dependencies is probably a good thing.


Address R testthat incompatibility; re-enable rixmp tests

r-lib/testthat#1035 was identified via #279. Code which runs from Python, or from R, causes segfaults when run within an R 'testthat' test suite. The cause lies somewhere along the R–reticulate–Python–JPype–ixmp_source chain.
As a temporary mitigation, the rixmp tests were temporarily disabled in #327.
As soon as the upstream issue is diagnosed and a fix identified, the R tests should be re-enabled.
In the meantime, manual testing of rixmp can be done by @adrivinca @guofei2016, and other R users.

The r-lib devs marked r-lib/testthat#1035 as "wontfix", i.e. they won't provide any help to diagnose or fix the upstream issue.
One possibility is that we abandon running the R tests through the ixmp test suite, and instead add a step to our CI workflow that runs the rcmdcheck::rcmdcheck() function, which seems to be the standard in the R ecosystem, e.g.: https://github.com/r-lib/actions/blob/4d3df54ef55ac1aecec81efb51c953edc092a271/examples/check-standard.yaml#L69-L73
However, this requires improvements to our packaging, since rixmp currently does not pass these checks.


feat: watch examplde dev

auto run example:dev when build file changes
it also can be set in the root package.json, up to you 😄

Thanks!


WASAPI: Address COM initialization issues

As part of debugging a crash occurring with exclusive mode WASAPI streams (PR #415), it was discovered that the cause was libcubeb's inconsistent approach to COM initialization.
The current code uses auto_com to initialize COM on the stack (with RAII handling uninitialization) in each libcubeb API call.  In the case of the exclusive mode crash, it turned out that the IAudioClient held an reference to the COM apartment, which was destroyed at the end of wasapi_stream_init by the auto_com destructor, resulting in a UAF crash.
Shared mode streams don't seem to trigger this particular issue, and it's likely that libcubeb's approach to COM initialization is rescued by the fact that calling threads (e.g. within Gecko) have already initialized COM at some other level and result in auto_com simply bumping a refcount and never actually triggering (un)initialization.
It seems like the best approach may be to remove COM initialization from libcubeb and simply document that the caller must initialize COM in MTA mode in any threads that expect to call in to libcubeb.  That would avoid the apartment lifetime issue revealed by the exclusive mode PR.

It seems like the best approach may be to remove COM initialization from libcubeb and simply document that the caller must initialize COM in MTA

That sounds like the best approach to me.

Fixed by #424.


ruby-clock only starting up once SIGTERM is sent

Hi @jjb
Trying to use ruby-clock for a clock process on Heroku.
I've got the Procfile setup to execute the runner command, and can see the dyno boot up, but I don't get the Starting ruby-clock with x jobs message until I kill the dyno, at which point I get that log message immediately followed by Shutting down ruby-clock 🐈 👋
Ruby 2.5.3
Rails 6.1.4
ruby-clock 0.7.0
Appreciate any help!

@danhunter you may want to try v0.8.0.rc1, it has some nice improvements https://github.com/jjb/ruby-clock/blob/v0.8.0.rc1/CHANGELOG.md

Appreciate the offer, but unfortunately not. It's all in their hands now.

@danhunter I just released 0.8.0.rc3 which no longer requires terrapin https://github.com/jjb/ruby-clock/pull/14


Github Description

Please add a Github description so other tools like https://github.com/luebken/awesome-crossplane-providers can pull what this provider is about.

Good, idea. Thanks for pointing that out, @luebken.
To be consistent with other providers, I changed the description to Crossplane Provider for Styra.


Bug with django-verify-email

Describe the bug

Expected behavior

To Reproduce

My Platform

Additional context

I write to notify on the bug I've found on the django-verify-email app.
as shown in the app disription, when the app is imported in the view as follows

from verify_email.email_handler import send_verification_email

and used as follows

inactive_user=send_verification_email(request, form)

The inactive_user is not surposed to be type bool, but it is returning type bool
Thank you

Hi, this issue tracker is for issues with the codebase behind https://pypi.org itself, not the projects hosted on PyPI.
You should report this issue to the tracker for the project in question instead.


Public log on variant publication/deletion

Idea: Variant Changelog table

Better idea: use discord webhoot and discord uid saved in social associations to tag users on a public channel


[XS] Fix README cd

The previous command made it look like examples/examples/llm was the path

examples/examples/llm is the path :) the first examples is the repo, the second examples is the package. I tried to make this clear with the inline comments, but clearly did not succeed. Any suggestion for how to make it more clear?


Update SS part to accommodate  last CLI changes

Update all places where "management_network" binding and others are used according to #1331

Done


fix(readme): removes unnecessary discussion

The discussion of potential timing bugs caused by requestAnimationFrame use, while interesting, was factually deficient, and only serves to distract from the point being made.

@runspired I think readers would be interested in more information regarding what was factually deficient (and why) before this change could possibly be accepted.

@runspired can you elaborate? This PR has gotten pretty old


Feature request: Add option to retry configuration validation after set time

I am running cross-seed in a docker on Unraid with prowlarr.
When all of my dockers are stopped and then started again, cross-seed is able to start before prowlarr can, so the configuration validation fails with the following errors, and cross-seed doesn't start.
info: Validating your configuration...
warn: Failed to reach http://<IP_ADDRESS>:9696/5/api?apikey=[REDACTED]
warn: Failed to reach http://<IP_ADDRESS>:9696/7/api?apikey=[REDACTED]
warn: Failed to reach http://<IP_ADDRESS>:9696/3/api?apikey=[REDACTED]
warn: Failed to reach http://<IP_ADDRESS>:9696/8/api?apikey=[REDACTED]
warn: Failed to reach http://<IP_ADDRESS>:9696/9/api?apikey=[REDACTED]
warn: Failed to reach http://<IP_ADDRESS>:9696/11/api?apikey=[REDACTED]
warn: Failed to reach http://<IP_ADDRESS>:9696/13/api?apikey=[REDACTED]
error: no working indexers available

Would it be possible to add an option to allow cross-seed to retry its validation after a few seconds if it fails initially?
Or if you see any other potential work-around to avoid this,  I would appreciate the advice.
Thanks.

Yes that would be nice 👌 but in meantime you can use depends on option to start the cross seed once prowlarr is up and running.
I hope that help for time being.

Yes that would be nice 👌 but in meantime you can use depends on option to start the cross seed once prowlarr is up and running.
I hope that help for time being.

Unfortunately Unraid doesn't have startup dependency support as far as I can tell, but I did just learn that you can alter the order the containers start up in simply by dragging them around in the Docker page. Up until new I had them in alphabetical order because I didn't know the order they were listed had any bearing on functionality. I'll try dragging cross-seed to the very bottom and see if that fixes it. You can also set a wait time for the container to start.
I think with these two options this should fix my issue.


&block calls render content twice

Steps to reproduce

1. Use `yield block` in `link_to_feed_discussion` helper
2. Provide a `block` argument when calling helper
3. Note that "Join discussion" string renders twice
Expected behavior

"Join discussion" string should only render once
Actual behavior

"Join discussion" string renders twice
System configuration
Rails version:
"7.0.0.alpha2.016f6c8"
Ruby version:
ruby 2.7.4p191 (2021-07-07 revision a21a3b7d23) [x86_64-linux-gnu]
Gem version:
gem "primer_view_components", "0.0.60"

Shot in the dark here, but I'd wager this is happening because you're calling yield block instead of passing the block to link_to like so:
link_to("/#{repo.name_with_owner}", classes: classes, data: data, &block)

I think yield block would call and run the block, which link_to would internally capture to ensure that its output ends up inside the link tag, but since yield is not called, the return value of the block would not be rendered. Let me know if that works for you!

ahhh indeed. Okay, that makes sense! I ended up using a different implementation anyway, so we can probably close this issue, but that is good to know for the future. thanks!


Character encoding maybe?

When trying to find songs with special characters e.g. José Gonzáles it stopped with the following dump...
2015-01-18 10:47:18 [1] [ERROR] base.py:231:handle_uncaught_exception Internal Server Error: /portify/transfer/start
Traceback (most recent call last):
File "/ve/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/ve/local/lib/python2.7/site-packages/pyportify/views.py", line 113, in transfer_start
transfer_playlists(lists)
File "/ve/local/lib/python2.7/site-packages/pyportify/views.py", line 168, in transfer_playlists
print "(%s/%s) Found '%s' in Google Music" % (i+1, track_count, search_query)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 18: ordinal not in range(128)

That's exactly what it was, fixed by 625e27c80673e7364bfd5a58f9cf993d02ac9a6a.  Thanks for the report.


fix: Card pictures position and border-radius

Fixes:
Pictures in cards have border-radius set at the bottom instead of top (changed the respective bootstrap class):

Pictures now stick to the bottom of the card instead of its previous sibling, moving whitespace at the bottom of smaller cards of a row, to the space between the picture and the text:

On fold-like sizes, cards are centered like other biggers sizes (was left aligned):

Thank ou @EttSimon for the contribution.


Create listing, Photo not always reloading from filesystem

When creating a listing, the Client is intermittently not re-reading the photo (PNG image, in this instance) file from the filesystem.
Operating System (OS and version): Ubuntu Linux 14.04
OpenBazaar version: 1.1.5
Hardware: Asus Laptop S400 dual core, (with encrypted filesystem)
Reproducible: Almost Always
Steps to reproduce:

Create files whitebox.png, blackbox.png.
$ cp whitebox.png box.png
$ eog &
This launches the imageviewer tool.  Open box.png (so we can prove that the filesystem has updated the file).
In OB Client, Create a Listing.
From shell, $ cp whitebox.png box.png
In OB Client, click "Select photos" button and add box.png
From shell, $ cp blackbox.png box.png
Wait for imageviewer to automatically update, reflecting that the file contents changed.
In OB Client, click "Select photos" button and add box.png

Observed Behavior:
Even though the imageviewer showed a black box, OB Client added another white box.
Expected Behavior:
Expected that the second photo added would have been the black box.
This was somewhat intermittent.  If I repeat steps 5 and 6, or 7 through 9, I get the results I'm reporting at least once.  e.g., maybe 33% of the time it loads a stale image (i.e., fails to re-load the file from the filesystem), so do the full procedure 5-9 twice and it is sure to happen.  Eventually on subsequent attempt to Select photo (e.g., repeat step 9), with no changes at the filesystem, the OB client will start loading the fresh image.
It doesn't appear to be a certain duration or a certain number of reload attempts before correcting itself so I'm not even going to try to speculate as to what might cause this behavior.   I didn't try testing with any other image format (e.g., JPG, SVG, etc.)   Additionally, I tried where I would click the X to remove the current image displayed but it would still load a stale image, so it doesn't appear to be a reference count issue occurring only when the image is still loaded.
Additional info (links, images, etc go here):
I've attached whitebox.png and blackbox.png for use in reproducing this issue.

I'm not able to reproduce this one. @jjeffryes @morebrownies Can either of you?

I can't reproduce this either. It's possible that when a file name was turned into a hash and saved locally that identical file names would pick up the old hash even though they were new images.
I think the latest image code refactor should have fixed that.

I've pulled the latest from the OB Client repository (master) from today and tried again and the problem persists for me.
Not sure why this would behave differently on my system.  I didn't use the installer but instead installed first
$ npm install electron-prebuilt
And then
$ npm install $ npm start
Anyway, ... it's a very minor issue that resolves itself by simply repeating the same action (i.e., reload the same image another time or two and eventually it will show the right one.)
Thanks for taking a look.

Weird. I'll reopen this and see if we can get anyone else to reproduce it.
It could be a Linux issue, we haven't tried it yet on that. @SamPatt can you see if you can replicate this?

We haven't been able to reproduce this issue. @sgornick are you still experiencing this problem?

I have the same problem. Used completely different pictures, changed the size to small and very small... always the same problem. German to english translated message: "we cant upload your photo".
I am using win10

Found out: Its the source or pathname of the file
C:\Users\rbmil\OneDrive\Bilder#löschen\HiPr\IMG_0345.JPG - is not working
C:\Users\rbmil\OneDrive\Bilder\IMG_0345.JPG - is working

Is this a case of Windows not recognizing the file page due to the German characters in it?
We rely on the OS to handle the path to the image, if it doesn't like the path then it would show an error.

Same problem with this path:
C:\Users\rbmil\OneDrive\Bilder#loeschen\HiPr\IMG_0345.JPG
but not with:
C:\Users\rbmil\OneDrive\Bilder\löschen\HiPr\IMG_0345.JPG
Problem is "#" not "ö"

PS: github deletes the "" before "#"

Pound signs are a reserved character in Chromium. We'll look into it and see if there's a way we can get around that.
https://bugs.chromium.org/p/chromium/issues/detail?id=397838

Is OB based on chromium? Like i.e. brave browser?

The OB client uses Electron, which uses Chromium.


Feature request:  extend vim-devicons instead of duplicating the icons?

With current duplication icon approach, how the plugin is gonna track vim-devicons updates? Wouldn't it be better to depend on vim-devicons and apply colors to the currently tracked but still get new uncolored icons on vim-devicons updates?

The main point of this plugin is to not depend on vim-devicons. Are there any updates in vim-devicons that i'm not aware of?
If you really want to depend on it, you can use https://github.com/mhartington/defx-devicons

@kristijanhusak No updates afaik, just talking in hypothetical terms. About the other plugin, this issue came up because I learned of that one, I didn't switch because no colors there :)

I feel this may be a wontix for the purpose of this one, but I dunno. Feel free do close if you consider it's out of scope.

Yeah it's wontfix. Mhartington created initial version before me that depends on the vim-devicons, but that solution didn't suit me, so i created this one. One dependency less, and the result is the same.
If i miss some updates in vim-devicons, let me know, i'll keep this up to date with it.

OK, sadly for me removing vim-devicons as dep isn't advantage since I use it at other places regardless :-/

Hi @kristijanhusak thanks for this great source. Despite not depending on vim-devicons is it possible to read it's configuration? i.e in my vimrc I have the following:
or override individual additional filetypes
if !exists('g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols')
    let g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols = {}
endif
let g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols = {'tex': '',
            \ 'bib':'', 'gitcommit': ''}

" Add or override individual specific files
if !exists('g:WebDevIconsUnicodeDecorateFileNodesExactSymbols')
    let g:WebDevIconsUnicodeDecorateFileNodesExactSymbols = {}
endif
let g:WebDevIconsUnicodeDecorateFileNodesExactSymbols = {'.gitconfig': '',
            \ '.gitignore': '', 'bashrc': '', '.bashrc': '',
            \ 'bash_profile': '', '.bash_profile': ''}
if !exists('g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols')
    let g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols = {}
endif
let g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols['r'] = 'ﳒ'

which allows me to add custom glyphs for specific filetypes/file. Can defx-icons read this config and override icons accordingly? Thanks!!

hi @petobens,
no, i don't plan to support anything related to vim-devicons. You can override icons in here also, just check the plugin file.
For example, to override .gitconfig, you would have something like this in your vimrc:
let g:defx_icons_exact_matches = {'.gitconfig': { 'icon': 'YOURICON', 'color': 'FFFFFF' } }


unrecognized import path "hash/maphash and unrecognized import path "embed" :  import path does not begin with hostname

package hash/maphash: unrecognized import path "hash/maphash" (import path does not begin with hostname)
package embed: unrecognized import path "embed" (import path does not begin with hostname)

Hi @alaskacanyon, can you tell me which version of Go you're using? That package was introduced in 1.14 or 1.15 I believe. Also, Ale requires 1.16 because it is using the new //embed feature.

As the minimum required Go version is represented in the go.mod file, I'm going to close this issue for now.


Update mailspring to 1.10.3

Description of changes
https://github.com/Foundry376/Mailspring/releases/tag/1.10.3

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

@toschmidt  @doronbehar
Any idea of how can i get a hash for the new update. I used nix-prefetch-url but seems like the hash doesn't match

@toschmidt  @doronbehar
Any idea of how can i get a hash for the new update. I used nix-prefetch-url but seems like the hash doesn't match

Use https://github.com/Mic92/nix-update .


[BUG] Edit ConfigMap With RancherUI

like this “https://github.com/rancher/rancher/issues/43125#issue-1936924558”

Also see rancher/dashboard#10066

Closing as duplicate of issue in description


Dynamic partition bug: overwrite the origin partitions

Describe the bug
UT org.apache.doris.alter.AlterTest#testConflictAlterOperations may failed in
https://github.com/apache/incubator-doris/blob/09eb40e3560bd23ed2609f1878cb7fb33aa8b94e/fe/src/test/java/org/apache/doris/alter/AlterTest.java#L178
java.lang.NullPointerException
	at org.apache.doris.alter.AlterTest.testConflictAlterOperations(AlterTest.java:178)

Because p1 is null, show the tbl partitions
I get
partition_id: 10085; name: p20200429; partition_state.name: NORMAL;
partition_id: 10150; name: p3; partition_state.name: NORMAL;
partition_id: 10143; name: p20200430; partition_state.name: NORMAL;

So dynamic partiton overwrited the origin partitions, p1 & p2 disappeared.
To Reproduce
Infrequently.

This bug may lead to data loss?
@morningman @WingsGo should investigate this issue.

This bug may lead to data loss?
@morningman @WingsGo should investigate this issue.

OK,I will try to reproduce the bug.

This is strange, there should not be any logic that can "overwrite" a partition...
I run this UT many times locally but it can not reproduce...But seems that the CI process
always met this bug.

Oh, I see. It is not "overwrite", the partition p1 and p2 are dropped by the DynamicPartitionScheduler.
Because the date 2020-02-01 and 2020-03-01 is "out of the range" of dynamic partition.
I will rewrite the UT to avoid this.


Add AlphaMissense to web VEP (e111)

ENSVAR-6261
Fix for https://github.com/Ensembl/public-plugins/pull/777: same changes but based on postreleasefix/111

Changing it as a release/111 only commit.


USB HID instead of MSD?

Would it be possible to use HID instead of MSD? What would I need to modify?

Hey,
you're better off using or modifying microchips bootloader which uses HID. My code for MSD bootloader wouldn't be of any use for HID.. Head over to here and download the latest MLA. When you've downloaded it, install MLA with USB apps selected, go to the directory apps>usb>device>bootloaders and find information, the firmware and utilities for programming there.
Hope that helps :).


Web design #91

Added text on image

Hello KwickerHub/WebCraftifyAI,
Thank you for the time to approve my pull requests.
I would kindly request you to please consider going through my other pull
requests to approve:
Web design #59 #756
Web design #63 #754
Web design #69 #814
Thanks & Regards
Praneetha
On Sat, Nov 25, 2023 at 7:39 AM github-merge-queue[bot] <
@.***> wrote:

Merged #725 https://github.com/KwickerHub/WebCraftifyAI/pull/725 into
dev.
—
Reply to this email directly, view it on GitHub
https://github.com/KwickerHub/WebCraftifyAI/pull/725#event-11060655398,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5UEDKMNREOVJRBQ3MLABJTYGHRHRAVCNFSM6AAAAAA7QW5J3GVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRGA3DANRVGUZTSOA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Inclease maximum length of tls_ciphers

The length of tls_ciphers parameter in xrdp.ini is limited up to 63 characters.
This is due to xrdp_client_info struct has a member tls_ciphers and its length is hardcoded as 64.
struct xrdp_client_info
{
  (snip)
  int disableSSLv3; /* 0 = no, 1 = yes */
  char tls_ciphers[64];
  (snip)
};

To fully configure TLS cipher suites not using aliases such as HIGH, MEDIUM or LOW, the current maximum length is not enough.
Here's an example of cipher suites (for web servers):
https://mozilla.github.io/server-side-tls/ssl-config-generator/

@speidy @proski can this be shipped to v0.9.2? What is the impact of increasing size of tls_ciphers?
Will it be safe? I think 1023 is long enough to specify even complex cipher suite.
https://github.com/neutrinolabs/xrdp/blob/devel/common/xrdp_client_info.h#L151

Yes, I believe it can be extended to 1024 bytes. The field is located in the "safe to change" part of struct client_info.
We could use some kind of inheritance to hide the extended fields from the backends. If the backends still compile, it would ensure that they won't be broken by the change.

I see that struct xrdp_client_info has two very different roles. One is the data that is read from xrdp.ini. Another is the data that is passed to the backends. The fix would be to have two structures, one for config, another for passing data. That's a lot of changes. It may be too much for 0.9.2.
But at least I understand now why tls_ciphers was added to struct xrdp_client_info. The only reason is because it's read from the config, not because it needs to be send to the backends.

I remember you said that xrdp_client_info is becoming a god's object which knows everything before. I agree with cleaning it up after 0.9.2 release.

I'm actually more specific now. But I don't have a simple fix for that. Even if we split the structure, the protocol for communication with the backends would remain fragile.

Since tls_ciphers is not used by the backends, we can use a pointer and allocate memory dynamically. That way, there would be no size limit and no wasted memory.

The client info is a bit of a mess.  As a rule I was only adding items to the bottom, never add one in the middle and never increase an items size.  That second use, passing it to the modules(and if the module wants, to the backend) is what causes the problems.  Trying to support older modules with newer xrdp and vise versa is what the "add to end" rule was for.

Ah, I already changed existing item in xrdp_client_info by #542.  int disableSSLv3 has been changed to long ssl_protocols.

I created #677 for review.

Do you agree this should be fixed before v0.9.2?

I agree. I hope to have more time for XRDP next week. I'll try to make a better patch.

Done by #680.


In the fitted model equation for lm, added a hat to the response variable and also hide the epsilon term.

library(equatiomatic)
ctl <- c(4.17,5.58,5.18,6.11,4.50,4.61,5.17,4.53,5.33,5.14)
trt <- c(4.81,4.17,4.41,3.59,5.87,3.83,6.03,4.89,4.32,4.69)
group <- gl(2, 10, 20, labels = c("Ctl","Trt"))
weight <- c(ctl, trt)
lm.D9 <- lm(weight ~ group)
extract_eq(lm.D9, use_coefs = FALSE)

[
\operatorname{weight} = \alpha + \beta_{1}(\operatorname{group}_{\operatorname{Trt}}) + \epsilon
]
extract_eq(lm.D9, use_coefs = TRUE)

[
\operatorname{\widehat{weight}} = 5.03 - 0.37(\operatorname{group}_{\operatorname{Trt}})
]
Created on 2020-08-28 by the reprex package (v0.3.0)

Thanks @thomas-fung! I think this makes a lot of sense! I'm in favor of merging this in. Thoughts @andrewheiss?

Also, @thomas-fung, if you wouldn't mind adding one additional commit to modify the DESCRIPTION file to (a) add yourself as a contributor and (b) modify the NEWS.md to reflect this change that would be excellent!

I like it!

Okay, awesome! @thomas-fung if you can make that one additional commit with the pieces mentioned above we'll get this merged in. I'm taking off for the weekend here in a bit and won't have internet but Andrew can merge it in if you don't get to it before I leave.

Thanks @datalorax and @andrewheiss! All done.

Oops. These changes should probably go into a different (or may be even multiple) pull request.

Fixed the problem that error terms keep showing up in the model equation. Adding class(model) to class(lhs) doesn't quite work so create_eq (the default one) is used all the time. I moved the model argument to the first position and that seems to be able to fix the problem.

library(equatiomatic)
set.seed(1234)
df <- data.frame(outcome = sample(0:1, 300, replace = TRUE),
                 categorical = rep(letters[1:3], 100),
                 continuous_1 = rnorm(300, 100, 1),
                 continuous_2 = rnorm(300, 50, 5))

model_logit <- glm(outcome ~ ., data = df,
                   family = binomial(link = "logit"))

extract_eq(model_logit)

[
\log\left[ \frac { P( \operatorname{outcome} = \operatorname{1} ) }{ 1 - P( \operatorname{outcome} = \operatorname{1} ) } \right] = \alpha + \beta_{1}(\operatorname{categorical}{\operatorname{b}}) + \beta{2}(\operatorname{categorical}{\operatorname{c}}) + \beta{3}(\operatorname{continuous_1}) + \beta_{4}(\operatorname{continuous_2})
]
Created on 2020-08-30 by the reprex package (v0.3.0)
2. The distribution assumption for the logistic regression is technically a Bernoulli instead of a binomial as binomial implies that the trails are all iid. Do you think the following notation would work better?
library(equatiomatic)
set.seed(1234)
df <- data.frame(outcome = sample(0:1, 300, replace = TRUE),
                 categorical = rep(letters[1:3], 100),
                 continuous_1 = rnorm(300, 100, 1),
                 continuous_2 = rnorm(300, 50, 5))

model_logit <- glm(outcome ~ ., data = df,
                   family = binomial(link = "logit"))

extract_eq(model_logit, show_distribution = TRUE)

[
\begin{aligned}
\operatorname{outcome} &\sim Bernoulli\left(\operatorname{prob}{\operatorname{outcome} = \operatorname{1}}= \hat{P}\right) \
\log\left[ \frac { \hat{P} }{ 1 - \hat{P} } \right]
&= \alpha + \beta{1}(\operatorname{categorical}{\operatorname{b}}) + \beta{2}(\operatorname{categorical}{\operatorname{c}}) + \beta{3}(\operatorname{continuous_1}) + \beta_{4}(\operatorname{continuous_2}) + \epsilon
\end{aligned}
]
Created on 2020-08-30 by the reprex package (v0.3.0)
3. Now support basic glm eqn display for all distributions as well as support for the offset term. I removed the P() notation from link_formula.
library(equatiomatic)
set.seed(1234)
df <- data.frame(outcome = sample(0:15, 300, replace = TRUE),
                 categorical = rep(letters[1:3], 100),
                 continuous_1 = rnorm(300, 100, 1),
                 continuous_2 = rnorm(300, 50, 5),
                 offset = rep(1, 300))

model_log <- glm(outcome ~ categorical +
                   continuous_1 + offset(offset), data = df,
                   family = poisson(link = "log"))

extract_eq(model_log)

[
\log ({ E( \operatorname{outcome} ) })  = \alpha + \beta_{1}(\operatorname{categorical}{\operatorname{b}}) + \beta{2}(\operatorname{categorical}{\operatorname{c}}) + \beta{3}(\operatorname{continuous_1}) + \operatorname{offset(offset)}
]
Created on 2020-08-30 by the reprex package (v0.3.0)

Fixed the issue that log is also a pattern match to "logistic" and "logit"
Fixed the issue that "link" should be saved in "info" instead of "family" for clm objects.

Also notice that in the "Distribution-based equations work" part of text-glm.R, there are whitespaces at the end of lines 70 and 76 so that it matches the function output. As one of the project options in RStudio is to strip trailing horizontal whitespace when saving which means these things could be changed accidentally and failed the test.

Thanks @thomas-fung! I think this all looks great. I'm okay with keeping these all in the same PR but it would be nice to have separate PRs in the future. I've given it all a quick scan but need to dig into it a bit more. I feel fairly confident it's good to go though and will likely merge later today.

So one thing I'm just noticing - it looks like the subscripts for the betas are being dropped after the first one. In other words, it should be showing up as \beta_{2} instead of \beta{2}. Not sure why this is happening.

Hi @datalorax, I am happy to make the changes. Will take a look at them today. Thanks!

Thanks! Merging in now.


SetSublimeLayered.exe is not found

After install and restart on ST3 (Win 7)

I am having the same issue as VTalyh. After install of the plugin and restart I receive the same error window. I have removed and reinstalled both Sublime Text 3 and the transparency plugin. still gives the same error. Using Win10x64

I recently have been getting the same error upon restart of sublime text 3. Initially this plugin did work though. I'm on Win10x64

Even I have the same issue.
Win 10 Enterprise / 64 bit / Sublime Text 3.1.1 Build 3176

I'm also having this issue.

same issue

Its 2022, and I'm also having this issue, I don't use McAfee, does anyone know how to fix this permanently?


Countdown Timer transition 00:00:20 -> 00:00:19

Thanks for this library, I think I will be able to do great things with it.  Sadly I am greedy and would like another feature:
It would be nice if the numbers did not count up when going from 0->9 when the overall number is getting smaller.  Not sure if there is a way to do this.
My character list is:
static char[] characters = new char[]{TickerUtils.EMPTY_CHAR, ':', '9', '8', '7', '6', '5', '4', '3', '2', '1', '0'};

As you can see when the ticker goes from 07:53:20 to 07:53:19, the ticker does a huge animation when all I want it to do is go from 9 to 0 and 2 to 1, however I can only specify one character list.

Yeah I was thinking about this shortly after releasing the library (exactly for the purposes of implementing a countdown timer or even just a clock). Unfortunately it's not super trivial to do with the current architecture.
I am planning a major version bump in the near future with breaking API changes so you can better specify the animation behavior from character to character. It involves a somewhat significant amount of work that I don't quite have time for at the moment. I'll try to prioritize it as best as I can - hopefully within the next month or so.


Home page renders twice, one below the other.

Have you read the Contributing Guidelines on issues?

[X] I have read the Contributing Guidelines on issues.

Prerequisites

[X] I'm using the latest version of Docusaurus.
[X] I have tried the npm run clear or yarn clear command.
[X] I have tried rm -rf node_modules yarn.lock package-lock.json and re-installing packages.
[X] I have tried creating a repro with https://new.docusaurus.io.
[ ] I have read the console error message carefully (if applicable).

Description
The home page renders twice, one below the other. This happens only when I use the absolute path for example - https://docusaurus.io/index.html. The search and theme change button becomes unresponsive for the page rendered on top.  This happens on the initial load only.
Reproducible demo
No response
Steps to reproduce
Check this URL - https://docusaurus.io/index.html
Expected behavior
The home page should render the content once.
Actual behavior
The home page renders content twice.

Your environment

Public source code:
Public site URL:
Docusaurus version used: 3.2.1
Environment name and version (e.g. Chrome 89, Node.js 16.4):  18.13.0
Operating system and version (e.g. Ubuntu 20.04.2 LTS): Windows 10

Self-service

[ ] I'd be willing to fix this bug myself.

Thanks, this has been reported multiple times before and is not really a bug because the page should not be accessed through that URL but through its canonical variant, and your host can be configured to do a server redirect.
However this has been reported quite often in the past and I agree it's confusing and we should try to fix it:

https://github.com/facebook/docusaurus/pull/10059
https://github.com/facebook/docusaurus/issues/9916
https://github.com/facebook/docusaurus/issues/9552

I have a working solution (https://github.com/facebook/docusaurus/pull/10059) but I'll delay merging this to Docusaurus v4


HTTP Request Body JSON Array is converted to JSON Object with index as keys

I am trying to hit a backend REST API (Method: PATCH) that accepts the following JSON array as body:
[
  {
    "op": "replace",
    "path": "/dueDate",
    "value": "${user.control_assignment_due_date}"
  }
]

However, when I view the emulator's trace, I see that the body is transformed into a JSON object like below, which is not accepted by our backend service.
content:"{"0":{"op":"replace","path":"/dueDate","value":"12/31/2021"}}"
I am facing the same issue with yet another POST API where I need to send a JSON array as body.
Please help me in resolving this issue.
About my Bot Framework Composer:
Version:  2.0.0
Electron: 8.2.4
Chrome: 80.0.3987.165
NodeJS: 12.13.0
V8: 8.0.426.27-electron.0

Hi @RamkumarManavalan,
I attempted to reproduce your issue, and I was able to send a JSON array to an endpoint. I created a simple C# test bot in Composer 2.1.1 and sent an array payload in the request body to Postman Echo to verify functionality.
In the following image, you can see the implementation in Composer:

Make sure when you implement the HTTP request action, that you select array as the body type.
Here you can see the bot running and getting a response back:

Finally, here's an image of the trace in the Emulator. As you can see, the array structure is preserved.

Let me know if this solves your issue. If not, can you please provide more details regarding your bot and the implementation of your HTTP requests?

What version of Composer are you running?
What type of bot is this? C# or Node?
What bot runtime is this? Web App or Functions?

Thank you Anish for your response. Yes, I have selected array only. But it is still converted to json object.

Below is the emulator screenshot:

About my Bot Framework Composer:
Version: 2.0.0
Electron: 8.2.4
Chrome: 80.0.3987.165
NodeJS: 12.13.0
V8: 8.0.426.27-electron.0
I have chosen Node, but I have not written any custom code/extension.
My runtime settings:
"runtime": {
"command": "npm run dev --",
"customRuntime": true,
"key": "adaptive-runtime-js-webapp",
"path": "../"
}

I upgraded to 2.1.1, but am still facing the issue.
Version:  2.1.1
Electron: 8.2.4
Chrome: 80.0.3987.165
NodeJS: 12.13.0
V8: 8.0.426.27-electron.0

Perhaps the JsonStringify method might help you achieve this. https://github.com/microsoft/botbuilder-js/search?q=JsonStringify
It makes use of the standard JSON Stringify method.

Let me try that. However, I was able to get rid of the issue, just a while ago, by selecting string and just specifying the array directly. Please see below.

Since we have a functional workaround, I am going to go ahead and close this issue. If you have further difficulties regarding this item, please comment and we can reopen it.


photo is not updated when changed

I'm changing the shield text on my server side but GitHub doesn't refresh the shield itself.
when I open the path in a new tab, I get the new image. But on GitHub, I get the old one.
I thought it might be caching, so I added all the headers I know of that disable caching, but still no success.
app.get('/achievementsBadge', function(req, res) {
  badge.loadFont('./Verdana.ttf', function(err) {
    badge({ text: ["achievements", _.keys(achievements).length], colorA: "#894597", colorB: "#5d5d5d", template: "flat" },
      function(svg, err) {
        res.setHeader('Content-Type', 'image/svg+xml;charset=utf-8');
        res.setHeader('Pragma-directive', 'no-cache');
        res.setHeader('Cache-directive', 'no-cache');
        res.setHeader('Cache-control', 'no-cache');
        res.setHeader('Pragma','no-cache');
        res.setHeader('Expires','0');
        res.send(svg);
      });
  });
});

Any hints on how to solve this problem?
Thanks :-)

Does this help?

Yes, the header you sent a reference to did help and made our shield update :-)
Sorry it took some time. testing cache required some waiting time haha
thanks a lot for the help!
closing this issue as solved

No worries!


Access to all returned data of dataTable query on server

Summary of problem or feature request
First, thanks for this awesome package.
I want to calculate the sum of one columns of filtered data on my dataTable and send it to the client as an extra parameters. To make it more clear, assume that the selected column is price of an item and the extra parameter is the summation of price of all available items that is changed based on the requested search parameters.
As mentioned in dataTable docs, we can pass more extra parameters by the "with" method to the client. My problem is that how we can access all data on server.
Also note that this task can not be done in client-side because for a specific search parameters, only a portion of data are returned to the client based on the predefined pagination and the extra parameter (in my case "total price") is fixed for these search parameters.
Thanks.
System details

Operating System: macOS High Sierra
PHP Version: 7.1.10
Laravel Version: 5.6.20
Laravel-Datatables Version: 8.6.0

There is a less document api that you can use to get the filtered query. See https://github.com/yajra/laravel-datatables/blob/8.0/CHANGELOG.md#added and https://github.com/yajra/laravel-datatables/issues/1068 for ref.
$dataTable = Datatables::of(App\User::query());
$response  = $dataTable->toJson();
$total = $dataTable-> getFilteredQuery()->sum('total');
// TODO: append queried total to JsonResponse.
return $response;

Thanks a lot.

Hey, I just released a better way of doing this on #1758. Kindly give it a try. See also docs for some ref. Thanks!


Make sure to configure properties on polymer elements that do not have property effects

Reference Issue
Fixes #3446

LGTM


Create haystack-us-2023.markdown

Description
Add Haystack US 2023
Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the BSD-3-Clause License.

thanks @flaxsearch  - looks like there was a small edit to the filename needed, and DCO wasn't coming through so I've resolved that myself as part of PR https://github.com/opensearch-project/project-website/pull/1475


Select options are invisible on Android with a material design

As it mentioned in the topic  content is not visible on an Android device.
No other styles are included. Material theme is applied.
Looks as follows:
In browser with a device emulation looks just fine.

Could you please expand you point?
Consider pointing code snippets here, on Codepen or on JSFiddle.
Make sure you have read the documentation correctly and followed any instructions it may give.

Unfortunately the code is not available for me anymore. So I cannot add more information. Thank you!


Introduced AndFinally behavior to Try

Motivation is to provide java try's finally behavior independent from the result of the Try.

Current coverage is 97.48% (diff: 75.00%)

Merging #1841 into master will decrease coverage by 0.01%

@@             master      #1841   diff @@
==========================================
  Files            87         87
  Lines         11314      11322     +8
  Methods           0          0
  Messages          0          0
  Branches       1875       1875
==========================================
+ Hits          11031      11037     +6
- Misses          169        171     +2
  Partials        114        114

Powered by Codecov. Last update 951e4e0...45cf1dd

Great addition, kose and tests look good 👍🏼

Thank you!

Any time ;-)


Support php 8.0 constructor property promotion

https://wiki.php.net/rfc/constructor_promotion
Note that PHP 8.0 will parse visibility modifiers on all parameters,
but it will be a compile-time error to use them anywhere except
a __construct method.
Fixes #323

Thanks! Is this good to be merged even though PHP 8 is not released? Is that proposal stable?

I'd consider it to be stable. The php-src PR linked in https://wiki.php.net/rfc/constructor_promotion#php_rfcconstructor_property_promotion was already merged to the 8.0-dev(master) branch, and there's no discussion of changing it on the mailing list. The release managers plan to release 8.0.0 in November 2020 (https://wiki.php.net/todo/php80#timetable)


Fix to get header certainly

I'd like to inform to you first that I'm not familiar with sound programming for Windows. If you think that this PR is nonsense, please reject.
Hi, I'm going to switch a player of pollydent from homemade player to your sound player library 'oto'. But oto does not play a sound completely sometimes. As far as I investigate it, this issue occurs when headerToWrite in player_windows.go is nil in playing the sound. I added for loop for getting header certainly. Then, this issue does not occur. I think if player is still playing, Getting header need to wait. But this loop needs CPU power. So I think there are better solution than my solution like callback function. But I don't know how I can solve this issue with callback function. I'm sorry for that.

Thank you for the PR! Unfortunately I'm not familiar with Windows sound programming, neither :-)

As far as I investigate it, this issue occurs when headerToWrite in player_windows.go is nil in playing the sound.

How big the buffer passed to oto.NewPlayer is? I guess the buffer size is not enough.

But this loop needs CPU power.

The fix seems almost fine, but CPU usage is my concern. How about inserting time.Sleep in the new for loop with, for example, the time for 1024 bytes?
Using calling backs seems the way to go, but I don't think Go function address can be passed to winmm world without cgo, and I'd like avoid using cgo as much as possible.

Thank you very much for your advice. if I expand the buffer which is passed to oto.NewPlayer, the player play a sound completely. So this PR does not make sense.


Improvement on pages structure

I did some reorganization on how the project currently organized. Please take a look if you have time

@andykog can you take a look, please. I did some restructuring in the project to make it easy to comprehend

@SuperManEver, looks good, thanks!


Edge fuzzing and shadowing

Implements the edge fuzzing from glower, also added a shadow styling option which sets the canvas shadowBlur. Fixes #1

thanks @gusmacaulay!  I refactored a little bit, added a shadow color (defaults to fill color) and changed the default shadow to 0 so that it is disabled by default.


Docs should be updated to reference correct npm library

For example in https://zopauk.github.io/react-components/#/Introduction:
import { GlobalStyles } from 'zopa-react-components'
should be:
import { GlobalStyles } from '@zopauk/react-components'

:tada: This issue has been resolved in version 1.1.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Cannot read property '$$testability' of undefined

In Protractor 5.1.1 if your Angular app has a root element other than <body>, you'll see the error Cannot read property '$$testability' of undefined. This is because browser.angularAppRoot() is expected to return the current value of app root if a value isn't passed to it, but currently returns undefined.

Do we have an ETA on when this will be pushed into the npm package for an easy npm update?

ooohhhhh....that's why I can't create an issue using the protractor test app (v1 angular)!  Because the test app has the ng-app attribute on the html element.
http://www.protractortest.org/testapp/ng1/#/form
I'd think you could add some regression tests in the protractor suite against protractortest.org website, to help avoid issues like these in the future.  Good luck!
+1 on getting a 5.1.2 release (so that we can create more issues for you to review!  Thanks Protractor team, you're doing a great job!!!!)

Is there any update on implementing this into the next version? Or at least a fix we can make on our end while we wait for it to be pushed?

We're planning to do a 5.1.2 tomorrow that should include this fix.

@heathkit Thank you very much!!

5.1.2 isn't out yet. can you please let me know when will this be fixed

When is the release of 5.1.2 and why is this issue closed. I keep getting this error all the time.. :(
Can the contributor kindly look into this?

@avinashs15 You can build from source by following these directions. After you run npm install you'll have a binary at bin/protractor that will work with non-body-tag-based AngularJS apps.

I updated to 5.1.2 and still have the issue.
$ protractor --version
Version 5.1.2

If anyone is still seeing this issue in 5.1.2, could you please reopen with an example that reproduces the problem? Thanks.

Hi Contributors,
Any updates around this issue . Using protractor version 5.1.2 doesn't resolve this issue.
Thank you for your help.

Using Protractor 5.1.2 we also have 'Error while waiting for protractor to sync with the page: "Cannot read property $$testability of undefined."'
(We are using ng-upgrade and all our AngularJS tests are now timing out because the inherent wait for Angular seems to be broken.)

For those of you still seeing this problem, please post your Protractor config. I'm specifically interested in whether you set rootElement. A github repo or plunkr that demonstrates the problem would be very helpful.

Protractor config, as requested:
`exports.config = {
seleniumAddress: 'http://localhost:4444/wd/hub',
// framework: 'jasmine2',
getPageTimeout: 200000,
allScriptsTimeout: 200000,
//ng12Hybrid: true,
rootElement: 'body',
params: {
    login: {
        url:  'https://localhost:8443/docp/public/LoginContainer.jsp'
    }
},

specs: [
   'approveSpec.js'
],

onPrepare: function () {
},

multiCapabilities: [
    {
      browserName: 'chrome' //'chrome', 'internet explorer', 'firefox'
    }
]

};`
Bootstrapping using upgrade module like this:
`import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { UpgradeModule } from '@angular/upgrade/static';
import { AppModule } from './app.module';
angular.element(document).ready(() => {
platformBrowserDynamic().bootstrapModule(AppModule).then(platformRef => {
console.log('Bootstrapping hybrid app with Upgrade Module');
const upgrade = platformRef.injector.get(UpgradeModule) as UpgradeModule;
    upgrade.bootstrap(document.body, ['receipt']);
});

});
`

Hi Contributors,
Posting protractor.config file as requested -
const port = process.env.SUB_APP_PORT ? ':' + process.env.SUB_APP_PORT : '';
const baseUrl = `${process.env.SUB_APP_BASE_URL}${port}${process.env.SUB_APP_PATH_PREFIX}/`;

 exports.config = {
   allScriptsTimeout: 11000,
   suites: {
    smoke: ['./e2e/uiSpecs/subscriber-login-spec.ts']
  },
   specs: ['./e2e/uiSpecs/*-spec.ts'],
   capabilities: {
    'browserName': 'chrome',
    'acceptSslCerts': true,
    'chromeOptions': {
      'args': ['no-sandbox']
     }
   },
  directConnect: true,
  baseUrl: baseUrl,
  framework: 'jasmine',
   jasmineNodeOpts: {
    showColors: true,
    defaultTimeoutInterval: 30000,
    print: function() {}
   },
  };

Thanks for your help.

Using Protractor 5.1.2 i have 'Error while waiting for protractor to sync with the page: "Cannot read property $$testability of undefined."'

Also facing the same issue.

Those who have responded since this issue has been resolved have either:

Had your rootElement defined as body, in which case you have a different problem.
Had your rootElement is undefined, meaning it is defaulting to body, in which case you have a different problem.
Have not provided a config.

This issue was specifically related to $$testability being undefined when the rootElement is not the <body> tag, which has been fixed. It is likely you have a different configuration issue.

Hi @benharold
Thank you for your response.
Is there any separate thread that is tracking this issue when root element defaults to body ?
I have posted my protractor.config file in the thread above. There isn't anything fancy field in the config file which could make me believe that i have a configuration issue.
Any thoughts ?Thanks again.

@tarunkumbnani It looks like this pull request may be related to the issue.

Hi @benharold I'm still experiencing this problem while using<EMAIL_ADDRESS>I have explicitly set the root element in the config and still get the problem. My config is below:
`
"use strict";
exports.config = {
allScriptsTimeout: 200000,
directConnect: true,
specs: [
"../flights/**/*.js"
],
rootElement: ".ng-app",
multiCapabilities: [
    {
        "browserName": "chrome",
        "shardTestFiles": true,
        "maxInstances": 4,
        "commandTimeout": 600,
        "idleTimeout": 500,
        "getPageTimeout": 20000
    }
],
jasmineNodeOpts: {
    defaultTimeoutInterval: 200000,
    print: function() {
    }
},
framework: "jasmine2",
onPrepare: function() {
    var SpecReporter = require("jasmine-spec-reporter");

    var reporterOptions = {
        displayStacktrace: true, // display stacktrace for each failed assertion
        displayFailuresSummary: true, // display summary of all failures after execution
        displaySuccessfulSpec: true, // display each successful spec
        displayFailedSpec: true, // display each failed spec
        displayPendingSpec: false, // display each pending spec
        displaySpecDuration: false, // display each spec duration
        displaySuiteNumber: false, // display each suite number (hierarchical)
        colors: {
            success: "green",
            failure: "red",
            pending: "cyan"
        },
        prefixes: {
            success: "✓ ",
            failure: "✗ ",
            pending: "- "
        },
        customProcessors: []
    };

    jasmine.getEnv().addReporter(new SpecReporter(reporterOptions));
}

};
`
In my suite of 62 tests some pass and some fail. It appears to be random which ones pass and which fail. The error messages are:
Failed: Error while waiting for Protractor to sync with the page: "Cannot read property '$$testability' of undefined"
Any advice?

I'm guessing that .ng-app is not a valid root element. You likely need something along the lines of div[ng-app]. It needs to be a CSS selector that exactly matches only the root element of your app.

Hi - Is this still an issue for some people?
If you are having issues with Protractor and your hybrid app, can you post the following from Chrome devtools console for your app?

window.getAllAngularTestabilities
window.getAngularTestability
window.angular.version

window.getAllAngularTestabilities
undefined
window.getAngularTestability
undefined
window.angular.version
{full: "1.5.9", major: 1, minor: 5, dot: 9, codeName: "timeturning-lockdown"}

Running protractor 5.1.2. I am getting error
Error while waiting for Protractor to sync with the page: "Cannot read property '$$testability' of undefined"
// Protractor configuration file, see link for more information
// https://github.com/angular/protractor/blob/master/lib/config.ts

const { SpecReporter } = require('jasmine-spec-reporter');
var TfsReporter = require('jasmine-tfs-reporter');

exports.config = {
    jvmArgs: ["-Dwebdriver.ie.driver=" + __dirname + "\\node_modules\\protractor\\node_modules\\webdriver-manager\\selenium\\IEDriverServer3.4.0.exe"],
    allScriptsTimeout: 300000,
    getPageTimeout: 300000,
    specs: [
        './e2e/**/*.e2e-spec.ts'
    ],
    multiCapabilities: [
        {
             'browserName': 'chrome'
        },
        {
            'browserName': 'internet explorer',
            'version': 11,
            'nativeEvents': true,
            'unexpectedAlertBehaviour': 'accept',
            'enablePersistentHover': false,
            'disable-popup-blocking': true,
            'ignoreZoomSetting': true
        }
    ],
    directConnect: false,
    baseUrl: process.env.BASE_URL,
    framework: 'jasmine',
    jasmineNodeOpts: {
        defaultTimeoutInterval: 300000,
        includeStackTrace: true
    },
    beforeLaunch: function () {

    },
    onPrepare() {
        jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));
        browser.ignoreSynchronization = false;
        jasmine.getEnv().addReporter(new TfsReporter());
        require('ts-node').register({
            project: 'e2e/tsconfig.e2e.json'
        });
    },
    useAllAngular2AppRoots: true
};

@webdeveloperninja no I haven't resolved this problem. I'm only seeing it intermittently on my tests which is very annoying

ha get that

@webdeveloperninja
Can you provide us with an example project in which you also have the scripts to reproduce this issue? I'm working with Protractor 5.1.2 and Angular 4.x and don't have any problems

Hi there,
I'm also seeing similar issue with in my tests: Error while waiting for Protractor to sync with the page: "Cannot read property '$$testability' of undefined"
protractor version: 5.1.2
Config file:
exports.config = {   seleniumServerJar: 'seleniumServer/selenium-server-standalone-3.5.0.jar',   getPageTimeout: 15000,   allScriptsTimeout: 50000,   defaultTimeoutInterval: 15000,   includeStackTrace: true,   rootElement: 'body',   framework: 'custom',   frameworkPath: require.resolve('protractor-cucumber-framework'),   specs: [     'Tests/Features/*.feature'   ],   cucumberOpts: {     require: [       'Tests/Steps/*.js' // accepts a glob     ],     format: ['json:reports/results.json', 'pretty'],     profile: false,     'no-source': true   },   capabilities: {     'browserName': 'Chrome'/*,     chromeOptions: {       args: ["--headless", "--disable-gpu", "--window-size=800x600"]     }*/   },   params:{     environment: 'test',     environments:{       dev:{         mainPage: 'http://google.com',         dashboardPage: 'https://angular.io/'       },       test:{         mainPage: 'http://google.com',         myITpage: 'https://angularjs.org/',         dashboardPage: 'https://angular.io/'       },       prod:{         mainPage: 'http://google.com',         myITpage: 'https://angularjs.org/',         dashboardPage: 'https://angular.io/'       }     }   } };
window.getAllAngularTestabilities
undefined
window.getAngularTestability
undefined
window.angular.version
{full: "1.6.4", major: 1, minor: 6, dot: 4, codeName: "phenomenal-footnote"}
Is there anything else I need to provide?

@PE-test
You are using rootElement: 'body' in your config. I thought that wasn't needed when you use AngularJS. Can you please remove it and check again?

@wswebcreation, I'm getting the same error with removed rootElement: 'body'.

@PE-test
Can you past a demo project with your config and specs? The pages you mention in your config are no-angular, angularJS and angular. Which one is failing?

@wswebcreation, it is failing on https://angularjs.org/, when trying to get the page for the second time.
You can find project here.

@PE-test
Tnx, Will check it later today. What's the command you use to run Protractor in this project

@wswebcreation
protractor conf.js
Plus you may need to add selenium server standalone (please check conf.js).

@PE-test
Got half of it working on my machine (Mac OSX 10.12.6) but my internet connection is not that good (not at home). Will take look at it again next week when I'm home. The first tests, on the angularJS site works.
Only difference what I can see now (not that it is the core of the problem) is that I have Protractor as a project dependency and based on your provided project it is a global dependency.

 You log and return promises before they are resolved, and there are some undefined errors in your script.
Example:
In your angularJS.js-PO, this breaks, see the comments
  getPlaceholderText: function(){
    var angular = this.angularHomepage;
    var placeholderText;
    // angular.inputField => is undefined
    angular.inputField.getAttribute('placeholder').then(function (placeholder){
      placeholderText = placeholder;
    });
    console.log("Debug: "+placeholderText);
    // Already returned before the Promise is resolved
    return placeholderText;
  }

I get the error you have with Error while waiting for Protractor to sync with the page: "Cannot read property '$$testability' of undefined", but when I run the tests 1 by one there is not issue.
My guess is that your script is causing the errors, and would advice you to recheck and fix all the errors in your script. Start at the beginning and first place all the code you have in in your steps files and remove the usage of the PO's, because there the most errors are.
I don't have enough time to debug the complete script but I hope it helps you

Hi, having the same problem with version 5.1.2. My config:
exports.config = {
  specs: [
    './scenarios/**/*'
  ],
  capabilities: {
    'browserName': 'chrome'
  },
  baseUrl: 'http://<IP_ADDRESS>:8080',
  framework: 'jasmine',
  directConnect: true
};

I found that changing specs to single files instead of a glob, the error goes away:
  specs: [
    './scenarios/spec1.js',
    './scenarios/spec2.js'
  ],

Hope this helps!

This worked for me :
browser.ignoreSynchronization = true;
browser.waitForAngular();
browser.sleep(5000);
browser.ignoreSynchronization = false;

It seems like Angular isn't initialised properly yet. I initially added the above code to get rid of the error:

Error: Error while waiting for Protractor to sync with the page: "window.angular is undefined. ...

but had to increase browser.sleep to get rid of

Cannot read property '$$testability' of undefined

I had to add the following code to get rid of

Error: Error while waiting for Protractor to sync with the page: "window.angular is undefined.

browser.ignoreSynchronization = true;
browser.waitForAngular();
browser.sleep(500);
browser.ignoreSynchronization = false;

then had to increase browser.sleep
browser.sleep(5000);
in order to fix

"Cannot read property '$$testability' of undefined"

So it seems like Angular isn't initialised properly yet

Facing the issue with version 5.1.2

Hi All,
Am using protractor 5.1.2 version, bit still getting the error ** Failed: Error while waiting for Protractor to sync with the page: "Cannot read property '$$testability' of undefined"**. Could any one please let me know how to reslve. My Config is very simple and basic .

We are getting similar kind of errors related to testabililirt api.
In previous version of our app, for the elements in pages it is like;
window.getAngularTestability(document.querySelector('#name')).isStable();
true
But after latest versions we are getting a "false" for the method above and protractor somehow lose the interactions with objects.
We can operate on pages via using "browser.ignoreSynchronization = true;" on those pages. But we dont want to use this because of it is aganist control flow and async approach. So we try to figure out which changes one test enviroment result to this.
If you have any i glad to hear. Thanks in advance.

some times i am facing error of 'cannot read property click of undefined' while executing protractor scripts .can someone please guide that what is the cause of this error?


DSPY Copro Tutorial for Hotpot QA doesn't work with Bedrock Claude Sonnet Model

I word for word copied the tutorial for using DSPY Copro to optimize the hotpot example on the dspy website, but it didn't work.
from dsp import AWSAnthropic
import dspy
from dspy.datasets import HotPotQA
from dspy.evaluate import Evaluate
from dspy.teleprompt import COPRO

dataset = HotPotQA(train_seed=1, train_size=20, eval_seed=2023, dev_size=50, test_size=0)

trainset, devset = dataset.train, dataset.dev
print(trainset)
print(devset)
sonnet = AWSAnthropic(
    aws_provider = dspy.Bedrock(region_name="us-west-2"),
    model="anthropic.claude-3-sonnet-20240229-v1:0",
)
dspy.configure(lm=sonnet)
class CoTSignature(dspy.Signature):
    """Answer the question and give the reasoning for the same."""

    question = dspy.InputField(desc="question about something")
    answer = dspy.OutputField(desc="often between 1 and 5 words")

class CoTPipeline(dspy.Module):
    def __init__(self):
        super().__init__()

        self.signature = CoTSignature
        self.predictor = dspy.ChainOfThought(self.signature)

    def forward(self, question):
        result = self.predictor(question=question)
        return dspy.Prediction(
            answer=result.answer,
            reasoning=result.rationale,
        )

def validate_context_and_answer(example, pred, trace=None):
    answer_EM = dspy.evaluate.answer_exact_match(example, pred)
    return answer_EM

NUM_THREADS = 5
evaluate = Evaluate(devset=devset, metric=validate_context_and_answer, num_threads=NUM_THREADS, display_progress=True, display_table=False)
cot_baseline = CoTPipeline()

devset_with_input = [dspy.Example({"question": r["question"], "answer": r["answer"]}).with_inputs("question") for r in devset]
evaluate(cot_baseline, devset=devset_with_input)
kwargs = dict(num_threads=64, display_progress=True, display_table=0) # Used in Evaluate class in the optimization process
teleprompter = COPRO(
    metric=validate_context_and_answer,
    verbose=True,
)
compiled_prompt_opt = teleprompter.compile(cot_baseline, trainset=devset, eval_kwargs=kwargs)

Here is the error message I received.
Traceback (most recent call last):
  File "/Users/esthersu/workplace/p-chatbot-ws/src/P-Chatbot-Bedrock/src/p_chatbot_bedrock/sample_prompt_engineering.py", line 55, in <module>
    compiled_prompt_opt = teleprompter.compile(cot_baseline, trainset=devset, eval_kwargs=kwargs)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/esthersu/workplace/p-chatbot-ws/src/P-Chatbot-Bedrock/src/p_chatbot_bedrock/path/to/venv/lib/python3.12/site-packages/dspy/teleprompt/copro_optimizer.py", line 171, in compile
    instruct = dspy.Predict(
               ^^^^^^^^^^^^^
  File "/Users/esthersu/workplace/p-chatbot-ws/src/P-Chatbot-Bedrock/src/p_chatbot_bedrock/path/to/venv/lib/python3.12/site-packages/dspy/predict/predict.py", line 61, in __call__
    return self.forward(**kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/esthersu/workplace/p-chatbot-ws/src/P-Chatbot-Bedrock/src/p_chatbot_bedrock/path/to/venv/lib/python3.12/site-packages/dspy/predict/predict.py", line 103, in forward
    x, C = dsp.generate(template, **config)(x, stage=self.stage)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/esthersu/workplace/p-chatbot-ws/src/P-Chatbot-Bedrock/src/p_chatbot_bedrock/path/to/venv/lib/python3.12/site-packages/dsp/primitives/predict.py", line 113, in do_generate
    completions: list[Example] = [template.extract(example, p) for p in completions]
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/esthersu/workplace/p-chatbot-ws/src/P-Chatbot-Bedrock/src/p_chatbot_bedrock/path/to/venv/lib/python3.12/site-packages/dsp/templates/template_v2.py", line 152, in extract
    raw_pred = raw_pred.strip()
               ^^^^^^^^^^^^^^
AttributeError: 'list' object has no attribute 'strip'

Hi @suesther , does this work now with the latest commits in the repo. Just merged #843 that impacts AWS providers/models, which was in the backlogs

No, it unfortunately has the same error.

No, it unfortunately has the same error.

@suesther can you specify which version of DSPy you used when you tried it again?

I ran this command:
pip install git+https://github.com/stanfordnlp/dspy.git

@lebsral @arnavsinghvi11 Do you guys have any ideas for what could be the issue?

I have no idea.  But if I was going to go about trying to figure it out I would probably start with "how is the wrong data type, a list instead of a string ending up at this point?"
https://github.com/stanfordnlp/dspy/blob/55510eec1b83fa77f368e191a363c150df8c5b02/dsp/templates/template_v2.py#L152

This issue still persists. Any plans on fixing this?

What version of Python ?
Virtual env?
Conda?
Poetry?
Spell out what you seeing now please

Python 3.11
Pip list:
aiobotocore                       2.12.4
aiohappyeyeballs                  2.4.0
aiohttp                           3.10.5
aioitertools                      0.11.0
aiosignal                         1.3.1
alembic                           1.13.2
annotated-types                   0.7.0
anyio                             4.4.0
attrs                             24.2.0
backoff                           2.2.1
beautifulsoup4                    4.12.3
blinker                           1.8.2
boto3                             1.34.106
botocore                          1.34.106
botocore-stubs                    1.35.5
Brotli                            1.1.0
certifi                           2024.7.4
cffi                              1.17.0
charset-normalizer                3.3.2
click                             8.1.7
colorlog                          6.8.2
ConfigArgParse                    1.7
cryptography                      42.0.8
dataclasses-json                  0.6.7
datasets                          2.14.7
defusedxml                        0.7.1
dill                              0.3.7
distro                            1.9.0
dspy-ai                           2.4.13
Events                            0.5
execnet                           2.1.1
fastapi                           0.110.3
filelock                          3.15.4
Flask                             3.0.3
Flask-Cors                        4.0.1
Flask-Login                       0.6.3
frozenlist                        1.4.1
fsspec                            2023.10.0
gevent                            24.2.1
geventhttpclient                  2.3.1
greenlet                          3.0.3
gunicorn                          21.2.0
h11                               0.14.0
httpcore                          1.0.5
httpx                             0.27.0
huggingface-hub                   0.24.6
idna                              3.8
iniconfig                         2.0.0
itsdangerous                      2.2.0
Jinja2                            3.1.4
jmespath                          1.0.1
joblib                            1.3.2
jsonpatch                         1.33
jsonpointer                       3.0.0
langchain                         0.1.20
langchain-community               0.0.38
langchain-core                    0.1.52
langchain-text-splitters          0.0.2
langsmith                         0.1.104
locust                            2.29.1
loguru                            0.7.2
lxml                              5.1.1
Mako                              1.3.5
MarkupSafe                        2.1.5
marshmallow                       3.22.0
msgpack                           1.0.8
multidict                         6.0.5
multiprocess                      0.70.15
mypy-extensions                   1.0.0
numpy                             1.26.4
openai                            1.31.2
opensearch-py                     2.6.0
optuna                            3.6.1
orjson                            3.10.7
packaging                         23.2
pandas                            2.2.2
pip                               24.2
pluggy                            1.5.0
psutil                            6.0.0
pyarrow                           17.0.0
pyarrow-hotfix                    0.6
PyAthena                          3.8.3
pycparser                         2.22
pydantic                          2.5.0
pydantic_core                     2.14.1
PyJWT                             2.8.0
pytest                            8.3.2
pytest-html                       4.1.1
pytest-metadata                   3.1.1
pytest-repeat                     0.9.3
pytest-xdist                      3.6.1
python-dateutil                   2.9.0.post0
python-dotenv                     1.0.1
pytz                              2024.1
PyYAML                            6.0.2
pyzmq                             26.2.0
regex                             2024.7.24
requests                          2.32.3
requests-aws4auth                 1.2.3
s3transfer                        0.10.2
setuptools                        72.1.0
six                               1.16.0
sniffio                           1.3.1
soupsieve                         2.6
SQLAlchemy                        2.0.32
starlette                         0.37.2
structlog                         24.4.0
tenacity                          8.5.0
tqdm                              4.66.5
types-aiobotocore                 2.13.3
types-aiobotocore-bedrock-runtime 2.13.3
types-awscrt                      0.21.2
typing_extensions                 4.12.2
typing-inspect                    0.9.0
tzdata                            2024.1
ujson                             5.10.0
urllib3                           2.2.2
uvicorn                           0.29.0
Werkzeug                          3.0.4
wheel                             0.43.0
wrapt                             1.16.0
xxhash                            3.5.0
yarl                              1.9.4
zope.event                        5.0
zope.interface                    7.0.1

I am initializing the bedrock provider as follows:
bedrock = dspy.Bedrock(region_name="us-east-1")
bedrock_claude_sonnet = dspy.AWSAnthropic(bedrock, model="anthropic.claude-3-haiku-20240307-v1:0")
dspy.settings.configure(lm=bedrock_claude_sonnet)

I'm getting the same error for different claude models as well just fyi

The following change to AWSModel.call appears to fix it, but still begs the question as to why it is necessary:
        generated = self.basic_request(prompt, **kwargs)
        if type(generated) is list:
            return generated
        return [generated]

if you reinstall dspy-ai with
pip install git+https://github.com/stanfordnlp/dspy.git
Does that change anything for you?

Nope, that ended up with exactly the same issue.

+1 running into the exact same issue and error

I'm also seeing the exact same error with Anthropic Haiku, Mistral Small, and Meta-llama2 models as well utilizing the dspy.AWSMistral, dspy.AWSAnthropic, dspy.AWSMeta objects


Design/redmeat

updated font to match the one used in original design

Reviewed, merged to master, and deployed to production! Thanks!


Cannot upload to Teams, general error

Made the edits to manifest still not uploading. Anyone help me out please?

Additional info, i user app studio to validate the app, fails for small icon

Hi,
Thanks for the tip on using App Studio, that helped me work out what the issue was.
I just resized the small icon using MSPaint from the 20x20 pixels it comes with in the package to 32x32 and sorted.
regards
Simon


Custom extension is not working

Filament Version
v3.2.45
Plugin Version
v.3.2.25
PHP Version
8.2
Problem description
Custom extension is not work correctly.

Expected behavior
Must be worked tiptap extension: https://tiptap.dev/docs/editor/api/nodes/mention
Steps to reproduce
Init custom extension in /resources/js/tiptap/extensions.js
import Mention from "./mention.js";
window.TiptapEditorExtensions = {
mention: [Mention]
}
/config/filament-tiptap-editor.php
'extensions_script' => 'resources/js/tiptap/extensions.js',
'extensions_styles' => null,
'extensions' => [
[
'id' => 'mention',
'name' => 'Mention',
'button' => 'mention',
'parser' => \App\TiptapExtensions\Mention::class,
]
],
Reproduction repository
No response
Relevant log output
No response

You might need to set your app's package.json to use 'module'.
The plugin just loads the file through Vite.
Seems like your script isn't getting processed during the build.

You might need to set your app's package.json to use 'module'.
The plugin just loads the file through Vite.
Seems like your script isn't getting processed during the build.

The package.json has module

Only other issues i've seen like this is that it doesn't work with npm run dev but does work with npm run build.
If you can provide a reproduction repo I can investigate further when I get some time.

I encountered the same issue.
The script tag is not correctly add to the page html source:
`

`
As you can see the type=module is missing.
I think the problem was in the vendor/awcodes/filament-tiptap-editor/src/FilamentTiptapEditorServiceProvider.php line 41:

if I add the ->module(true) the script tag will be injected correctly
$assets[] = Js::make('tiptap-custom-extension-scripts', Vite::asset(config('filament-tiptap-editor.extensions_script')))->module(true);

If you are running it through Vite though the module shouldn’t matter. I am successfully using it on apps with out module.

Feel free to PR the change and I'll be happy to review it further though.

@awcodes can the PR be merged please? I Have the same issue

as a temporary fix I just removed the script from filament-tiptap-editor.php:
//    'extensions_script' => 'resources/js/tiptap/extensions.js',
and then in my AppServiceProvider:
FilamentAsset::register([Js::make('tiptap-custom-extension-scripts', Vite::asset('resources/js/tiptap/extensions.js'))->module()], 'awcodes/tiptap-editor');
Thank you so much btw  @barkoczi, I wasted a lot of time trying to figure out wtf is going on.


node|cmd: Rework the Node's Dev type.

I like the idea of Dev mode and it makes total sense. Regarding the implementation design though, I have some objections to raise.
First, Dev shouldn't be a Node Type/Mode and instead every Type/Mode should have a Dev sub-mode. The further we go, the more functionality of full-node and light-node will diverge and we simply won't be able to have one Dev Mode/Type to cover both Full and Light dev/test needs.
Then, the first point also affects CLI UX, so instead of having another root dev command, we should add a generic --dev flag to cmd.Start which forces the Node of any type to be run in a Dev mode. We may also hide the --dev flag from help, so regular users won't see it, as they don't need to.
Lastly, we should make --dev functionality being part of node package API, like it is right now, but with different API. I propose node.New to have funtional options, like .., ...Option) with the first one as node.Dev, which just says to build a node for development/testing purposes as in this PR(Later on, lots of other functional options will be added). Those who will embed our Node will also be able to run it in the Dev mode with the option.
Also, it might make sense to run a Dev Node on the extising/custom Config and not only on default as it is done in the PR.
Originally posted by @Wondertan in https://github.com/celestiaorg/celestia-node/issues/131#issuecomment-945750707

we will no longer need a dev mode for the foreseeable future


ArcGIS access client now allow default client id.  Also, oauth2 endpoint validation will be ignored if a CORS error occurs.

it's now possible to setup a default enterprise ClientId by passing an empty string as the serviceBaseUrl.  When looking up a enterprise clientId, if no match is found, the default one will be picked.
Also, when validating an oauth2 endpoint, if a CORS errors occurs, we will assume the endpoint is valid.  Some portal server are not correctly setup for CORS, but that should not prevent the Oauth2 process.

@Mergifyio backport release/3.4.x

setup a default enterprise ClientId

@mdastous-bentley how does someone set a default? (FYI haven't reviewed the code thoroughly yet)

Please run rush lint.

@calebmshafer

@aruniverse Can you please have a look?

@calebmshafer