Question about Table 3

Hi, @samiul272 , I'm sorry to bother you again. I would like to reproduce the experimental results of the high data heterogeneity of table 3 in your paper. I ran the following code:
 python main.py --data_name CIFAR10 --model_name resnet18 --control_name 1_100_0.1_non-iid-2_dynamic_a1-b1-c1-d1-e1_bn_1_1 --exp_name roll_test --algo roll --g_epoch 3200 --l_epoch 1 --lr 2e-4 --schedule 1200 --seed 31 --num_experiments 1 --devices 0 1 2 3 4
However, I found that the accuracy of the test set was very low, even after more than 2000 rounds of training. I want to ask if there is a problem with my experimental setting?

#--------------------------Update-----------------------------------#
By the way, I use the SGD optimizer, not Adam, since in your paper you said you use SGD optimizer.

The config.yml setting is shown as below.
control
exp_name: hetero_fl_roll_50_100
control:
fed: '1'
num_users: '20'
frac: '1.0'
data_split_mode: 'iid'
model_split_mode: 'fix'
model_mode: 'a1'
norm: 'bn'
scale: '1'
mask: '1'
data
data_name: CIFAR10
subset: label
batch_size:
train: 128
test: 128
shuffle:
train: False
test: False
num_workers: 0
model_name: resnet18
metric_name:
train:
- Loss
- Accuracy
test:
- Loss
- Accuracy
optimizer
###optimizer_name: Adam
optimizer_name: SGD
lr: 2.0e-4
momentum: 0.9
weight_decay: 5.0e-4
scheduler
scheduler_name: None
step_size: 1
milestones:

100
150
patience: 10
threshold: 1.0e-3
factor: 0.5
min_lr: 1.0e-4

experiment
init_seed: 31
num_experiments: 1
num_epochs: 200
log_interval: 0.25
device: cuda
world_size: 1
resume_mode: 0
other
save_format: pdf

Hi @Sherrylife  and @dixiyao , I did a quick run on my machine and I do see the roll algorithm converging. I will try to do a new run on a freshly pulled and instantiated codebase and see if I can reproduce this. I will update you guys as soon as I find the problem.

Cool, I will try again and check if there is some setting parameter I forgot to add.

Hi @Sherrylife and @dixiyao , I did a quick run on my machine and I do see the roll algorithm converging. I will try to do a new run on a freshly pulled and instantiated codebase and see if I can reproduce this. I will update you guys as soon as I find the problem. For reference, this should be the result after about ~50 epochs.

Hi, @samiul272 , did you use SGD as the optimizer in this picture?  It has 33% accuracy in 50 rounds, which is impossible to achieve in my computer at all, and this made me sad.

Hi @Sherrylife and @dixiyao , I did a quick run on my machine and I do see the roll algorithm converging. I will try to do a new run on a freshly pulled and instantiated codebase and see if I can reproduce this. I will update you guys as soon as I find the problem. For reference, this should be the result after about ~50 epochs.

Hi, @samiul272 , did you use SGD as the optimizer in this picture?  It has 33% accuracy in 50 rounds, which is impossible to achieve in my computer at all, and this made me sad.

Yes. SGD is being used. Adam optimizer will only have slightly different accuracy and not the same accuracy gap as we are seeing between yours and mine. I am using scheduling as well at 1200 epochs which does influence accuracy but again that gap would not be at the same scale as we are seeing here. The only thing I can think of is maybe the distributed library Ray had an update and some behavior may have changed. Could you confirm the version you are using?

Hi @Sherrylife and @dixiyao , I did a quick run on my machine and I do see the roll algorithm converging. I will try to do a new run on a freshly pulled and instantiated codebase and see if I can reproduce this. I will update you guys as soon as I find the problem. For reference, this should be the result after about ~50 epochs.

Hi, @samiul272 , did you use SGD as the optimizer in this picture?  It has 33% accuracy in 50 rounds, which is impossible to achieve in my computer at all, and this made me sad.

Yes. SGD is being used. Adam optimizer will only have slightly different accuracy and not the same accuracy gap as we are seeing between yours and mine. I am using scheduling as well at 1200 epochs which does influence accuracy but again that gap would not be at the same scale as we are seeing here. The only thing I can think of is maybe the distributed library Ray had an update and some behavior may have changed. Could you confirm the version you are using?

Hi, @samiul272 , I run the command pip list and the result is as follows:
`
aiosignal              1.3.1
anytree                2.8.0
appdirs                1.4.4
attrs                  22.2.0
beautifulsoup4         4.10.0
beniget                0.4.1
blinker                1.4
Brotli                 1.0.9
certifi                2022.12.7
chardet                4.0.0
charset-normalizer     3.0.1
click                  8.0.3
colorama               0.4.4
command-not-found      0.3
contourpy              1.0.7
cryptography           3.4.8
cupshelpers            1.0
cycler                 0.11.0
dbus-python            1.2.18
decorator              4.4.2
defer                  1.0.6
distlib                0.3.6
distro                 1.7.0
distro-info            1.1build1
filelock               3.9.0
fonttools              4.39.0
frozenlist             1.3.3
fs                     2.4.12
gast                   0.5.2
grpcio                 1.43.0
html5lib               1.1
httplib2               0.20.2
idna                   3.4
importlib-metadata     4.6.4
jeepney                0.7.1
jsonschema             4.17.3
keyring                23.5.0
kiwisolver             1.4.4
language-selector      0.1
launchpadlib           1.10.16
lazr.restfulclient     0.14.4
lazr.uri               1.0.6
lxml                   4.8.0
lz4                    3.1.3+dfsg
matplotlib             3.5.1
more-itertools         8.10.0
mpmath                 0.0.0
msgpack                1.0.4
netifaces              0.11.0
numpy                  1.24.2
oauthlib               3.2.0
olefile                0.46
packaging              23.0
pathlib                1.0.1
Pillow                 9.4.0
pip                    22.0.2
platformdirs           3.0.0
ply                    3.11
protobuf               3.20.3
pycairo                1.20.1
pycups                 2.0.1
Pygments               2.11.2
PyGObject              3.42.1
PyJWT                  2.3.0
pymacaroons            0.13.0
PyNaCl                 1.5.0
pyparsing              2.4.7
PyQt5                  5.15.9
PyQt5-Qt5              5.15.2
PyQt5-sip              12.11.1
PyQt5-stubs            <IP_ADDRESS>
pyrsistent             0.19.3
python-apt             2.4.0+ubuntu1
python-dateutil        2.8.1
python-debian          0.1.43ubuntu1
pythran                0.10.0
pytz                   2022.1
PyYAML                 5.4.1
ray                    1.13.0
requests               2.28.2
scipy                  1.8.0
SecretStorage          3.3.1
setuptools             59.6.0
six                    1.16.0
sklearn                0.0.post1
soupsieve              2.3.1
ssh-import-id          5.11
sympy                  1.9
torch                  1.12.0+cu116
torchaudio             0.12.0+cu116
torchvision            0.13.0+cu116
tqdm                   4.64.1
typing_extensions      4.5.0
ubuntu-advantage-tools 8001
ubuntu-drivers-common  0.0.0
ufoLib2                0.13.1
ufw                    0.36.1
ujson                  5.7.0
unicodedata2           14.0.0
urllib3                1.26.14
virtualenv             20.19.0
wadllib                1.3.6
webencodings           0.5.1
wheel                  0.37.1
xkit                   0.0.0
zipp                   1.0.0
`

Hi, @samiul272 , the result of my experiment is the version when you did not modify issue # 4. I will download your latest code these two days and try it again.

By the way, I'm curious why you chose a learning rate of 2e-4. Other federal learning articles which are also train big model (e.g., [1], [2], [3]) have a learning rate of 1e-1, 1e-2 or 1e-3, and they only take a few hundred runs to get convergence. while you're doing thousands of rounds in your experiment setup. My own experience tells me that the learning rate setting has a huge impact on FedAvg, especially in non-iid scenarios. I'm wondering if you've experimented with other learning rates.
[1] HeteroFL: Computation and Communication Efficient Federated Learning for Heterogeneous Clients
[2] Group Knowledge Transfer: Federated Learning of Large CNNs at the Edge
[3] Model-Contrastive Federated Learning

Hi, @samiul272 , the result of my experiment is the version when you did not modify issue # 4. I will download your latest code these two days and try it again.

Dear @samiul272 , I download the latest code and run with it. Here is the result of 50 rounds, which I find to be almost identical to yours.

It seems to be my problem, maybe I changed some settings in the original version of the code, sorry for the trouble caused to you. I'm going to keep running to see if I can achieve the accuracy shown in Table 3.

Hi @Sherrylife, I tried several learning rates. 1e-2 did not have good results. 1e-3 and 1e-4 had similar results. In the end, I went with 2e-4 I think. Since we are only aggregating partially, a large learning rate can cause convergence to be unstable in high data heterogeneity. But although I ran for 3500 epochs and more, the algorithm actually converges within 900-1500 rounds in essence and I suspect you can get a faster convergence with 2e-4 by tweaking the learning rate schedule. Due to time limitations and a large number of possible variations, I decided to let all the experiments run with longer epochs so that when the results were compiled I could guarantee that all the runs had converged.

Ok, I see. Thank you again for your selfless reply. ☺


remove useless layout_constraintHorizontal_bias

 Issue by roman-yu
Tuesday Jan 29, 2019 at 15:36 GMT
Originally opened as https://github.com/android/android-ConstraintLayoutExamples/pull/55

roman-yu included the following code: https://github.com/android/android-ConstraintLayoutExamples/pull/55/commits

 Comment by thagikura
Wednesday Jan 30, 2019 at 05:26 GMT

And other views that have biases, too?


⚠ Fortnite has degraded performance

In 5ac4eb2, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1579 ms

Resolved: Fortnite performance has improved in d15432f.


Add a space after # for commenting

Description of your problem
What steps will reproduce the problem?
comment one line of code
What is the expected output? What do you see instead?
say the python code is x = np.zeros((5, 5))
Now it looks like #x = np.zeros((5, 5)), but according to the standard way of commenting, it should looks like # x = np.zeros((5, 5)), which has a space after #
Please provide any additional information below
Versions and main components

Spyder Version:3.2.1
Python Version:3.6.1
Qt Version: 5.6.2
PyQt Version: 5.6
Operating system: Linux( Ubuntu 14.04)

Dependencies
Please go to the menu entry Help > Optional Dependencies (or
Help > Dependencies), press the button Copy to clipboard
and paste the contents below:
IPython >=4.0    :  5.3.0 (OK)
cython >=0.21    :  0.25.2 (OK)
jedi >=0.9.0     :  0.10.2 (OK)
nbconvert >=4.0  :  5.1.1 (OK)
numpy >=1.7      :  1.12.1 (OK)
pandas >=0.13.1  :  0.20.1 (OK)
psutil >=0.3     :  5.2.2 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pyflakes >=0.6.0 :  1.5.0 (OK)
pygments >=2.0   :  2.2.0 (OK)
pylint >=0.25    :  1.6.4 (OK)
qtconsole >=4.2.0:  4.3.0 (OK)
rope >=0.9.4     :  0.9.4-1 (OK)
sphinx >=0.6.6   :  1.5.6 (OK)
sympy >=0.7.3    :  1.0 (OK)

Thanks for reporting. We're aware of this issue and we're working to fix it in a future release.

Hi, this has been closed, but the problem still appears to persist.  I'm using Spyder version 3.3.5.
Best wishes

This will be fixed in Spyder 4, to be released in some months.


is there an easy way to put the Table of Contents on the left hand side?

We're trying to work out how to put the auto generated table of contents on the left hand side of the screen, where the navigation bar would go (if there was one).
Whilst it looks OK on the right hand side of the screen it forces a re-flow of text which our designers don't like.

What they are looking for is this:

This is hacked together in Affinity Photo for UX testing.
Is there a flag to move the TOC over or is this not an easy option?
Thanks
Rob

Unfortunately no if you want to continue to use Kramdown's automatic table of contents feature. You can only place it in the same location as the content. If you want a toc outside of that container you have to use another solution, like one of the many Javascripts that can do something similar, or a Jekyll plugin.
On my personal site Made Mistskes I use jQuery to move the toc to another <div> so that's an option too. Or you can build the toc manually which might be harder to maintain. That's exactly what I do with the theme's demo site in the documentation section.

Michael,
Thanks. We were expecting the answer "no" :)
Your other suggestions are very useful, we'll look at them and see if we can use them. We might use Javascript to simply move the TOC over.  We weren't aware of the other plugins but we'll only look at those if we can't get the JS to work.
Thanks again for your help.
Rob


Android Studio

Is there a way to import the library into Android Studio? Seems like gradle is added but I don't know the compile.

Just create LoopViewPager.java & LoopPagerAdapterWrapper.java
Copying all the code to the files, much easier to integrate.


[Chore] Look into changelog generation with standard-version

What needs to be done
checkout:
https://www.npmjs.com/package/standard-version
https://mokkapps.de/blog/how-to-automatically-generate-a-helpful-changelog-from-your-git-commit-messages/
This should be able to build off of the commitlint tooling integrations.

Not going to do this, as github's release feature will be used instead.


0.8.3b3: Update dumped local files, and S3 settings crashed files UI

Describe the bug
It's the second time I update and it dumps local file each time. At first time I thought I made a mistake, but it seems I didn't.
So to be future proof, I tried to set up my local S3 server (minio). Well it didn't go well:
An error occurred
column "folder" does not exist

And now there's no more access to files, storage, settings at all.
Is there a way to recover files?
How to recover the files UI (files, storage, settings)?
Do you know which S3 settings with local S3 work?

I discovered the same problem. To solve goto
yourhost/files/storage
there you can disable S3 again.

thank you @robreuer !

2023-03-05T14:47:12.668910304Z (node:283) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023. doesn't smell good at all.
Host and all tenants are down because on one of them I've setup s3 storage.

For the records, I had to remove data/ (postgres database) completely and start afresh and redo everything.
I won't touch S3 again until it's fixed or files are kept during backups and docker image update.
Please let me know if it's fixed for you.

Let me know if/when S3 works for you


Create dependabot.yml

This will get rid of a lot of the warnings produced by your Github actions. Keeping those actions up-to-date is a tedious job and this job will automatically suggest updates via merge requests (the magic happens once you have merged this contribution into your repo)

Thanks.   Good idea - we can give this a try.


chore(doc): update the rate limit doc

Hello Maintainers,
When I meet the rate limit issue, I can not found any configuration in settings or other document about how to set the token.
Finally, I read the extension package.json & set the token successfully, so maybe we need update document about HOW TO SET THE OAUTH TOKEN ?
Thanks :)

closed by duplicate on README

Thanks though!


fix: genesis bug in pool incentives linking NoLock gauges and PoolIDs

Closes: #XXX
What is the purpose of the change
Caught this bug while testing incentive distributions from the mainnet state exported edge net.
Observed the following in the logs:
4:32PM INF distributeInternal CL for pool id 1133 finished
4:32PM INF distributeInternal, CreateIncentiveRecord NoLock gauge gaugeId=34523 height=11732289 module=incentives poolId=1134 remainCoinPerEpoch={"amount":"41314029279","denom":"uosmo"}
4:32PM INF distributeInternal CL for pool id 1134 finished
4:32PM INF distributeInternal, CreateIncentiveRecord NoLock gauge gaugeId=34524 height=11732289 module=incentives poolId=1135 remainCoinPerEpoch={"amount":"108157658047","denom":"uosmo"}
4:32PM INF distributeInternal CL for pool id 1135 finished
4:32PM INF distributeInternal, CreateIncentiveRecord NoLock gauge gaugeId=34525 height=11732289 module=incentives poolId=1136 remainCoinPerEpoch={"amount":"14323634734","denom":"uosmo"}
4:32PM INF distributeInternal CL for pool id 1136 finished
4:32PM ERR no pool associated with gauge id (34562) and duration (0)
4:32PM ERR error in epoch hook no pool associated with gauge id (34562) and duration (0)

Noted that the gauge with this ID is an external NoLock gauge on mainnet

After investigations, realized that pool incentive store indexes are not exported correctly. Currently, we only export enough pool ID and gauge links for the internal gauges.
However, all NoLock gauges have additional store indexes to connect to a pool. These are particularly necessary for the external NoLockGauges
Solution
The solution was to:

continue exporting internal gauge IDs and their respective pool IDs in AnyPoolToInternalGauges genesis field
Introduce a new genesis entry called ConcentratedPoolToNoLockGauges that focuses on connecting CL pool IDs and their respective gauges where gauges can be both external and internal

Testing and Verifying

Added TestImportExportGenesis_ExternalNoLock that validates NoLock pool incentives store export and reimport in more detail

Documentation and Release Note

[ ] Does this pull request introduce a new feature or user-facing behavior changes?
[ ] Changelog entry added to Unreleased section of CHANGELOG.md?

Where is the change documented?

[ ] Specification (x/{module}/README.md)
[ ] Osmosis documentation site
[ ] Code comments?
[ ] N/A

@devbot-wizard help


add option to disable erb parsing

I needed an option to disable erb parsing. My use case is the yaml is loaded at boot time but parsed at run time. There are dynamic values that need to be set.

I think I addressed everything. I was not able to run the tests locally because it's been a long time since I used this. Thanks for reviewing.

Thanks so much @reedlaw Esp since you no longer use this gem. Have a great week


Support cleaner version output when using the --version flag

Right now the version string requires more advanced parsing than should be necessary.
current output of docker-machine --version
docker-machine version 0.6.0, build e27fb87

I have a script and need to check the version to keep it up to date. I can use awk, but the comma messes things up.
docker-machine --version | awk '{print $3}'
> 0.6.0,

I'd recommend just dropping the comma at least, or supporting another flag with cleaner output.

I'm not strongly opinionated on this, but FYI it's consistent with docker-compose today, so any change should probably be propagated to both programs.

docker, (being a go program) allows for docker version -f {{.Client.Version}} in a single shot.
IMO, docker-machine version is just cruft, but just loosing the comma would at least save an extra step to remove the trailing comma.

docker-machine --version | awk '{gsub(",",""); print $3}'


Allow using multiple strategies for multiple set of paths

Detailed Description

Allowing multiple strategies to work alongside each other for different situations. For example one strategy to work for a set of paths, conditions and/or filters, while having another strategy for different paths and conditions.
Context

We have a requirement to log request and response for certain paths regardless of the status of the response. So I use include to log these paths by using the default strategy. However, there are some paths which doesn't need to be logged unless an error happens. In which case we need to see what was the request body or param that lead to this error.
I know status-at-least or body-only-if-status-at-least exist but there's no way to have both the default and one of the two mentioned strategies together. I tried to work this out with filters and other configs but had no success.
Your Environment

Version used: 3.9.0
Using logbook-spring-boot-webflux-autoconfigure with Spring WebFlux

I don't think that needs to be part of the core itself. If I were you, I'd
just implement my own strategy that internally keeps pairs of Predicates
and strategies to delegate to. Within each method you find the relevant
strategy to delegate to.
On Mon, Jul 29, 2024, 13:00 Peyman @.***> wrote:

Detailed Description
Allowing multiple strategies to work alongside each other for different
situations. For example one strategy to work for a set of paths, conditions
and/or filters or excluded, while also a different set of paths
We have a requirement to log request and response for certain paths
regardless of the status of the response. So I use include to log these
paths by using the default strategy. However, there are some paths which
doesn't need to be logged unless an error happens. In which case we need to
see what was the request body or param that lead to this error.
I know status-at-least or body-only-if-status-at-least exist but there's
no way to have both the default and one of the two mentioned strategies
together.
Context
I guess the
Possible Implementation Your Environment

Version used:
Link to your project:

—
Reply to this email directly, view it on GitHub
https://github.com/zalando/logbook/issues/1875, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADI7HO3EPS4OKQPLJ5JMHDZOYOEVAVCNFSM6AAAAABLUA5FOGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQZTKMJQG4YDKOI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

@whiskeysierra How would I approach your suggestion? Could you give me a rough example?
By the way I guess it doesn't have to be a new strategy. It could be a new kind of Predicate which accepts minimum status as parameter.
Something like this:
  predicate:
    include:
      - path: /test/logged
        methods:
          - POST
        min-status: 400

You should take a look at
https://github.com/zalando/logbook?tab=readme-ov-file#strategy and
https://github.com/zalando/logbook/tree/main?tab=readme-ov-file#spring-boot-starter.
The idea is to implement a custom Strategy in code and when you register
that as a Spring bean, it will be used, rather than the default one.
Your proposed snippet there wouldn't solve your problem. You'd need
multiple predicates/strategies which aren't supported. Also, predicates
only have access to the request which means you can't test on the response
status. That's why strategy exists in the first place. Logbook's design
goal is to solve the 80% case out of the box (spring boot starter + yaml
config) and enable the other 20% to do it themselves (implement Strategy
interface directly).
On Mon, Jul 29, 2024 at 4:37 PM Peyman @.***> wrote:

@whiskeysierra https://github.com/whiskeysierra How would I approach
your suggestion? Could you give me a rough example?
By the way I guess it doesn't have to be a new strategy. It could be a new
kind of Predicate which accepts minimum status as parameter.
Something like this:
predicate:
include:
- path: /test/logged
methods:
- POST
min-status: 400
—
Reply to this email directly, view it on GitHub
https://github.com/zalando/logbook/issues/1875#issuecomment-2256118970,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADI7HMVVSSO3JUUJ5IVJVLZOZHQ5AVCNFSM6AAAAABLUA5FOGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJWGEYTQOJXGA
.
You are receiving this because you were mentioned.Message ID:
@.***>


_.defer

I am using defer in my application and generally it works like a charm. However I have noticed the IE/FIrefox work as expected with the calls executing when the current call stack clears.
But then chrome does not seem to operate in the same manner and I get an aw snap window, it appears that chrome sees the deferred item as part of the same set of execution and triggers a long running script error.
My code works fine with value up to about 900 then results begin to vary.
My coffeescript code looks like:
for x in [1..2000]
modl = {}
modl.item=x
WDX.templates().insertTemplate '#container_24', 'myTemplate', modl
Is there a better solution than defer or do I just need to keep my limits to 500-800 records?
Thanks in advance

I'm not sure -- that sounds like an interesting Chrome bug, but I don't know if it has anything to do with defer itself. If I were you, I'd try creating a minimal test case that uses raw setTimeout, and doesn't do DOM manipulation. That should help you track it down.


Support one-to-one / many-to-one sample inputs/outputs in ML search resp processors

Description
Support one-to-one / many-to-one sample inputs/outputs in ML search resp processors
Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.
[ ] 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 Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Closing in favor of #385


Make QueryPair and Query class json serializable

Make QueryPair and Query class json serializable and used them as input of validation executor service.

Looks good, but the commit message is too long (see the style guide: https://our.intern.facebook.com/intern/wiki/DataInfra/Presto/Source/#Style_Guidelines)
I would just say "Make QueryPair and Query json serializable"

Looks like you're not in the presto Github team. Ask @martint to add you, and then you should be able to push this


Added UNPROCESSED_UV for refering to full quad ninepatch UV, UV refers instead to the proper ninepatch mapped UV

Adds a keyword "PROCESSED_UV" that allows access to the UV coordinates further processed. Currently used only in ninepatch, didn't want to make a specific name in case we will also use t for something else (texture atlas?)
Closes #11483, closes #22969

Make sure you're using tabs for indentation, not spaces. https://travis-ci.org/godotengine/godot/jobs/443409906#L535

Shouldn't it be added for GLES2 too?

@akien-mga added for GLES2, but works differently: in gles2 there is no such thing as unprocessed uv for 9patch.

Cant wait to test it. I am currently having the same problem

I agree with @karroffel, I think we should just make UV refer to "uv" rather than to "uv_interp". If you for some strange reason may need the original interpolated UV, you can send it yourself via varying. Other than that, the PR is fine.

@QbieShay Do you want to try the proposal from @karroffel and @reduz? IIUC that would just mean changing only
actions[VS::SHADER_CANVAS_ITEM].renames["UV"] = "uv_interp";

to
actions[VS::SHADER_CANVAS_ITEM].renames["UV"] = "uv";

@akien-mga sorry for the late follow up, i changed the code. Now the keywoard UNPROCESSED_UV is present and it refers to the uv across the whole ninepatch. In GLES2 UV and UNPROCESSED_UV are the same, hope i can fix this in the future.

I think this might break compatibility for some existing shaders.

I think @reduz's proposal was not to add UV_UNPROCESSED but just to have UV point to uv directly, leaving out uv_interp. But it's true that it might be a compatibility issue (only for ninepatch IIUC?).

I think being able to access the full quad is valuable as well ( imagine you want to make a shiny 9patch with some sort of reflections, or a full height gradient) that is why I left unprocessed UV

If you really want to access the full quad, you can still do it by sending your own varying. This is most likely an incredibly rare corner case, so it's not worth supporting directly

Updated.

Thanks!


feat: make nutrient search accentuation insensitive

What

if search term contains accentuation letter the filtered result wont recognise that
now its been removed

Fixes bug(s)

Fixes: #3770

Part of

#525

Yes, I will do that !

@monsieurtanuki

Thank you @Sudhanva-Nadiger, that's perfect!


Followers, Following and post

Followers, Following and post not update, still assign as 0

Hii @therichiekumar Actually, I'm not updating these counts here. Instead, I'm retrieving number of followers, following, posts from their respective collections.
But you can solve this and send the PR 👍


Fixed minor typo on README.md

Thanks for the fix! Sorry about taking so long to merge it.

hhuyuv


Add CodeFix provider for Display Classes

When we detect a closure capture, we have all the information to build the private class that the C# compiler builds for emitting the IL.
It'd be nice if we can provide a code fix so that the user can opt-in to making it a private class.
I suspect most people will NOT do this, because it reduces clarity in many situations. However, providing a codefix the user will be able to preview it and see the impact. I think this visualization is powerful and may help the user decide if they want the code to be implicit (i.e. closure capture) or explicit (we emit the class).

FYI https://github.com/dotnet/roslyn/issues/3774 but only for cases with one captured variable.
Also it'd be nice to handle common cases for CancellationTokens:

cancellationToken.Register(() => { this.Foo(); });

->
cancellationToken.Register(thisRef => ((FooClass)thisRef).Foo(), this);

and Tasks:
Task.Run(new Action(this.Foo))

->
Task.Factory.StartNew(thisRef => ((FooClass)thisRef).Foo(), this, CancellationToken.None, TaskCreationOptions.DenyChildAttach, TaskScheduler.Default);

I think the OP wants this to be part of the compiler, but it might break app compat.
Certainly an easy and good case for the codefix provider.


Function Contracts: remove instances of _renamed

The current method for creating the modifies wrapper requires changing the ensures clause to have _renamed variables which are unsafe copies of the original function arguments. This causes issues with regards to some possible tests as in #3239.
This change removes the _renamed variables and instead simply changes the modifies clauses within the replace to unsafely dereference the pointer to modify the contents of it unsafely, condensing all instances of unsafe Rust into a single location.
Resolves #3239
Resolves #3026
May affect #3027
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

Why would this change affect #3027?


NPM / Yarn support does not respect registries for scoped packages in .npmrc

We have an .npmrc in our project that looks like this:
@mycompany:registry=https://artifactory.mycompany.com/api/npm/npm
registry=https://artifactory.mycompany.com/api/npm/npm-upstream

When we run the script from dependabot-scripts on our project, it correctly updates all non-@mycompany dependencies, but fails to update @mycompany dependencies.
The process fails with error messages like these:
The following source could not be reached as it requires authentication (and any provided details were invalid or lacked the required permissions): artifactory.mycompany.com/api/npm/npm-upstream
/usr/local/bundle/gems/dependabot-npm_and_yarn-0.111.59/lib/dependabot/npm_and_yarn/update_checker/latest_version_finder.rb:316:in `check_npm_response'
/usr/local/bundle/gems/dependabot-npm_and_yarn-0.111.59/lib/dependabot/npm_and_yarn/update_checker/latest_version_finder.rb:267:in `npm_details'
/usr/local/bundle/gems/dependabot-npm_and_yarn-0.111.59/lib/dependabot/npm_and_yarn/update_checker/latest_version_finder.rb:95:in `valid_npm_details?'
/usr/local/bundle/gems/dependabot-npm_and_yarn-0.111.59/lib/dependabot/npm_and_yarn/update_checker/latest_version_finder.rb:35:in `latest_version_from_registry'
/usr/local/bundle/gems/dependabot-npm_and_yarn-0.111.59/lib/dependabot/npm_and_yarn/update_checker.rb:164:in `latest_released_version'
/usr/local/bundle/gems/dependabot-npm_and_yarn-0.111.59/lib/dependabot/npm_and_yarn/update_checker.rb:191:in `latest_version_details'
/usr/local/bundle/gems/dependabot-npm_and_yarn-0.111.59/lib/dependabot/npm_and_yarn/update_checker.rb:22:in `latest_version'
/usr/local/bundle/gems/dependabot-common-0.111.59/lib/dependabot/update_checkers/base.rb:197:in `numeric_version_up_to_date?'
/usr/local/bundle/gems/dependabot-common-0.111.59/lib/dependabot/update_checkers/base.rb:155:in `version_up_to_date?'
/usr/local/bundle/gems/dependabot-common-0.111.59/lib/dependabot/update_checkers/base.rb:27:in `up_to_date?'
update.rb:96:in `block in <main>'
update.rb:83:in `each'
update.rb:83:in `<main>'

As you can see in the error message there, it looks like Dependabot isn't considering the registry for the scoped package in our .npmrc and is instead using the default registry we've defined. Is there something we need to do to get this working, or is this an issue in Dependabot?

@anotherxdeveloper 👋 have you passed both registries with credentials?
You need to add the artifactory credentials here: https://github.com/dependabot/dependabot-script/blob/master/update-script.rb#L17-L23
credentials =
  [{
    "type" => "git_source",
    "host" => "github.com",
    "username" => "x-access-token",
    "password" => "a-github-access-token"
  }, {
     "type" => "npm_registry",
     "registry" => "artifactory.mycompany.com/api/npm/npm",
     "token" => "token"
  }, {
     "type" => "npm_registry",
     "registry" => "artifactory.mycompany.com/api/npm/npm-upstream",
     "token" => "token"
  }]

Hi @feelepxyz, the private registry doesn't require authentication - it looks like Dependabot is incorrectly using the upstream registry (artifactory.mycompany.com/api/npm/npm-upstream) when asking for @mycompany packages when it should be using the internal package registry that we've defined in our .npmrc for @mycompany packages (artifactory.mycompany.com/api/npm/npm). I've debugged the code and curled the endpoint it's using, and it returns a 404 because the internal package doesn't exist in the upstream registry. Modifying the URL it's using to use the correct registry returns a reasonable-looking response and doesn't require authentication.
Non-@mycompany packages available in the upstream repository work fine.

Oh I see. Unfortunately not going to be able to provide much support for
private auth using Dependabot script 😢 Would need access to some
reproducible manifest file where you’re seeing this issue. You could email
<EMAIL_ADDRESS>if you want to send anything over.
I’m guessing it’s something being picked up from your lockfile. I would
check all scoped packages are resolved from the right registry url in your
lockfile.
On Fri, 20 Sep 2019 at 10:41, anotherxdeveloper<EMAIL_ADDRESS>wrote:

Hi @feelepxyz https://github.com/feelepxyz, the private registry
doesn't require authentication - it looks like Dependabot is incorrectly
using the upstream registry (
artifactory.mycompany.com/api/npm/npm-upstream) when asking for @mycompany
packages when it should be using the internal package registry that we've
defined in our .npmrc for @mycompany packages (
artifactory.mycompany.com/api/npm/npm). I've debugged the code and curled
the endpoint it's using, and it returns a 404 because the internal package
doesn't exist in the upstream registry. Modifying the URL it's using to use
the correct registry returns a reasonable-looking response and doesn't
require authentication.
Non-@mycompany packages available in the upstream repository work fine.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dependabot/dependabot-core/issues/1396?email_source=notifications&email_token=AAAE5RLRSVUCVIGD3JUKEZLQKSLDZA5CNFSM4IYTVQ4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7GFODI#issuecomment-533485325,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAE5RPPMIBP2PVWXLCQPNLQKSLDZANCNFSM4IYTVQ4A
.

Here's a snippet of our yarn.lock (albeit anonymised):
"<EMAIL_ADDRESS>  version "2.4.4"
  resolved "https://artifactory.mycompany.com/api/npm/npm/mypackage/mycompany-mypackage-2.4.4.tgz#snipped"
  integrity sha1-snipped

<EMAIL_ADDRESS>|| ^16.0.0"<EMAIL_ADDRESS><EMAIL_ADDRESS>  version "16.9.0"
  resolved "https://artifactory.mycompany.com/api/npm/npm-upstream/react/-/react-16.9.0.tgz#40ba2f9af13bc1a38d75dbf2f4359a5185c4f7aa"
  integrity sha1-QLovmvE7waONddvy9DWaUYXE96o=
  dependencies:
    loose-envify "^1.1.0"
    object-assign "^4.1.1"
    prop-types "^15.6.2"

We're able to get dependency updates for React correctly, but we see the error message I originally posted when it tries to find updates for @mycompany/mypackage.

@charleskorn-x 👋 could you put together a minimal test case using your private registry and install Dependabot Preview on that repository? We could then easily debug this for you and see what Dependabot is doing on your setup.

@feelepxyz unfortunately it's an internal GitHub Enterprise instance so I can't - is there any information from our setup I can share with you?


Toast okay Button Not Displaying

When i display more text in toast it gets stuck and need  to close app every time.
To reproduce make the toast to display two line of text message this error will be produced.
The problem causing is when i display more text, toast button is not  displaying. if it displayed i can close the toast by clicking on it. Not displaying causes  toast to never be closed.

@muthuraman007
I confirm.
I already sent a pull request, which fix this problem: https://github.com/GeekyAnts/NativeBase/pull/710
You can add this fix to your code or use my repository as a temporary solution.

Fixed in v2.1.3


[FRONTEND][MXNET] Fix L2normalization error when run ssd model

This PR fix error L2Normalization when run ssd models from MXNET frontend. I also faced another error when run it with target openCL as described here https://github.com/dmlc/tvm/issues/1302. For short term solution, i reduced num_thread_x = 8 (line 307) and ofactor = 4 (line 309) in topi/python/topi/cuda/conv2d_nchw.py and i could run my ssd model successfully. How about long term solution for this issue?

Please add test case for new code added.

Will this help mobilenet-ssd model?
Thanks,

@kevinthesun

@kaishijeng Yes. L2Normlization is required for gluoncv sad implementation: https://github.com/dmlc/gluon-cv/blob/master/gluoncv/model_zoo/ssd/ssd.py I plan to deploy these models in the next few weeks.

@kevinthesun
Do you plan to support OpenCL for mobilenet ssd?
Thanks,

Please rebase according to https://github.com/dmlc/tvm/issues/1394
Sorry for the inconvience

@kaishijeng I think @Laurawly is working for OpenCL SSD support.

@titikid Could you update the status? wondering whether @Laurawly 's recent work fixes problems https://github.com/dmlc/tvm/pull/1578

@yzhliu i updated l2_normalize's implementation with test cases. Plz help me review it. Thanks!

@titikid need to rebase according to https://github.com/dmlc/tvm/issues/1394 . currently the PR has too many unrelated stuffs to review. Sorry for the inconvenience.

@yzhliu sorry. I got some issues when rebasing. May i make another PR?

@kevinthesun
Any progress of gluoncv ssd implementation: ?
Thanks,

gluoncv ssd will be supported through hybrid frontend. It is delayed due to some limitation of hybrid frontend.

@kevinthesun Anything that we can help with?

@kevinthesun
Any progress on this?
Thanks,

@titikid @kevinthesun
Does current TVM code support mobilenet-ssd yet?
Thanks,

Have you tried mxnet_ssd? I think that should be supported now. Gluoncv models are in progress.

Does it have mobilenet_ssd?
Thanks,

https://github.com/zhreshold/mxnet-ssd contains mobilenet ssd.

I am not able to run deploy_ssd.py successfully. So I don't think I can try mobilenet_ssd using deploy_ssd.py
Thanks,

You can file a issue on discuss forum.


crates.io has a more recent version than this repo

0.3.2 in crates.io
0.3.1 in github

Seems I forgot the last step of pushing the version to github.
On Sat, Mar 21, 2015, 11:53 AM Nathan Fuchs<EMAIL_ADDRESS>wrote:

0.3.2 in crates.io
0.3.1 in github
—
Reply to this email directly or view it on GitHub
https://github.com/hyperium/hyper/issues/385.


Update action to use updated version of Node

Seeing the following warning message when using this action:
Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: denoland/setup-deno

Can see node12 is set here: https://github.com/denoland/setup-deno/blob/main/action.yml#L17

NodeJS 12 is not supported anymore, could we move setup-demo to Node 14?

@jjoynson-iw Just noticed: https://github.com/denoland/setup-deno/pull/33

Fixed in v1.1.1


Add simple_form and client validations to change password, forgot password pages

I have created pull request for forgot password. I have also notice that client validation is already there for change password.


Unhandled exception:the Dart compiler exited unexpectedly

I worked Android Studio，When i Flutter hot Reload in debug mode，got this: Unhandled exception: ..... ..... ..... the Dart compiler exited unexpectedly.
How to fix it?
I tried Flutter clean. Restore Dart SDK. Clean Flutter/bin/cache.
But still not working.

@superleexpert thanks for filing this.
Do you get the same error when you hot restart the app too?
Is it possible to provide us with some reproduction instructions so we can reproduce and debug the issue.

@a-siva
Yes, after this error occurred, I can no longer start the app with "flutter run". The error keeps appearing.
Initially, I was just doing a hot reload debug, and then the error occurred. Now I can't start the app with "flutter run" anymore.

@jensjoha We should probably avoid crashing when this occurs and instead use assert to signal it during development.

@a-siva @jensjoha @johnniwinther
Additional information：
When I run  Runner.xcworkspace  directly using Xcode, it works fine. However, when I debug with Android Studio using  flutter run , I encountered the following error.
Thanks all

delete .package


Add an agent plugin to support elasticsearch7

Add an agent plugin to support elasticsearch7

[x] Add a test case for the new plugin, refer to the doc
[x] Add a component id in the component-libraries.yml
[ ] Add a logo in the UI repo

Hello, I found that the current es6 plugin is not applicable to the transport-related api on es7, not only the transport api, so the es7 plugin is used to process the related logic of es7. The following exceptions may occur when using the original es6 plugin, and it will cause span not to exit normally, and threadLocal will not be cleaned up, log message such as
{
  "@timestamp": "2021-04-08 03:53:23:984",
  "agent_name": "teachers@10278",
  "level": "ERROR",
  "throwable": "\njava.lang.NoSuchMethodError: org.elasticsearch.search.SearchHits.getTotalHits()J\n\tat org.apache.skywalking.apm.plugin.elasticsearch.v6.interceptor.AdapterActionFutureActionGetMethodsInterceptor.parseSearchResponse(AdapterActionFutureActionGetMethodsInterceptor.java:118)\n\tat org.apache.skywalking.apm.plugin.elasticsearch.v6.interceptor.AdapterActionFutureActionGetMethodsInterceptor.parseResponseInfo(AdapterActionFutureActionGetMethodsInterceptor.java:86)\n\tat org.apache.skywalking.apm.plugin.elasticsearch.v6.interceptor.AdapterActionFutureActionGetMethodsInterceptor.afterMethod(AdapterActionFutureActionGetMethodsInterceptor.java:66)\n\tat org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.InstMethodsInter.intercept(InstMethodsInter.java:102)\n\tat org.elasticsearch.action.support.AdapterActionFuture.actionGet(AdapterActionFuture.java)\n\tat org.elasticsearch.action.ActionRequestBuilder.get(ActionRequestBuilder.java:52)\n\tat com.zhangmen.teacher.service.internal.impl.TeacherArrangeServiceImpl.getBatchTeaSimpleInfoByEs(TeacherArrangeServiceImpl.java:224)\n\tat com.zhangmen.teacher.service.internal.impl.TeacherArrangeServiceImpl$$FastClassBySpringCGLIB$$e5aec092.invoke(<generated>)\n\tat org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)\n\tat org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)\n\tat org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\n\tat org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)\n\tat java.lang.Thread.run(Thread.java:748)\n",
  "logger": "InstMethodsInter",
  "thread": "http-nio-8080-exec-7",
  "message": "class[class org.elasticsearch.action.support.PlainActionFuture] after method[actionGet] intercept failure"
}

Hello, I found that the current es6 plugin is not applicable to the transport-related api on es7, not only the transport api, so the es7 plugin is used to process the related logic of es7.

You missed the update of supported-list.md

@zifeihan Please check CI

@zifeihan Please check CI

done.

Hello, I found that the current es6 plugin is not applicable to the transport-related api on es7, not only the transport api, so the es7 plugin is used to process the related logic of es7.

You missed the update of supported-list.md

fixed.

I just took a look and it is almost ok. Let me have a look tomorrow. :)

--- /home/runner/work/skywalking/skywalking/tools/plugin/md-javaagent-plugin-list.txt	2021-04-16 00:06:27.776825759 +0000
+++ /home/runner/work/skywalking/skywalking/tools/plugin/genernate-javaagent-plugin-list.txt	2021-04-16 00:06:27.772825656 +0000
@@ -18,0 +19 @@
+elasticsearch-7.x

Please check the CI task, you add a new plugin.


Update discipline-scalatest to 2.0.0

Updates org.typelevel:discipline-scalatest from 1.0.1 to 2.0.0.
GitHub Release Notes - Changelog - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel", artifactId = "discipline-scalatest" } ]

labels: library-update, semver-major

Codecov Report

Merging #1508 into master will increase coverage by 0.22%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1508      +/-   ##
==========================================
+ Coverage   85.79%   86.02%   +0.22%
==========================================
  Files          58       58
  Lines        2197     2197
  Branches      107      107
==========================================
+ Hits         1885     1890       +5
+ Misses        312      307       -5

Impacted Files
Coverage Δ

.../core/shared/src/main/scala/io/circe/Decoder.scala
85.59% <0.00%> (ø)

...re/shared/src/main/scala/io/circe/JsonNumber.scala
92.77% <0.00%> (ø)

...rc/main/scala/io/circe/numbers/BiggerDecimal.scala
85.96% <0.00%> (ø)

...les/core/shared/src/main/scala/io/circe/Json.scala
80.44% <0.00%> (+1.11%)
:arrow_up:

...re/shared/src/main/scala/io/circe/KeyDecoder.scala
97.29% <0.00%> (+2.70%)
:arrow_up:

...rc/main/scala/io/circe/shapes/SizedInstances.scala
92.85% <0.00%> (+14.28%)
:arrow_up:

Continue to review full report at Codecov.

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


JSON should return "[ ]" insteal of "null" on arrays

Solved, it was not calling the method getPet() but it was getting the data himself


gitbase: support for unpacked objects, integration tests added

This PR adds support for unpacked objects, which made the index contain different objects and not match the result of the query without indexes.
A bunch of integration tests for indexes of all tables testing they output the exact same thing as the same query without indexes have been added as well.
Because it's super important to ensure the index is closed so it can be released, each index iterator has now a call to closeIndexOnError, which closes the index if there is an error or EOF in an iterator, ensure it's always closed.
After this is merged, feature/indexable is ready to be PR'd and merged to master.

Added start of pilosa container to the .travis.yml, so build should be fine now


Need an option to influence resource ordering

I would like an option to influence the ordering of resources based on the order that they exist in my swagger.
Desired:
From the example below, I would want /v1/zebras to appear before /v1/apples
Actual:
The resources are sorted alphabetically
convertSwagger2markup {
    swaggerInput file("swagger.yaml").toString()
    outputDir asciiDocOutputDir
    config = [
            'swagger2markup.pathsGroupedBy' : 'TAGS',
            'swagger2markup.tagOrderBy' : 'AS_IS',
            'swagger2markup.propertyOrderBy' : 'AS_IS',
            'swagger2markup.extensions.springRestDocs.snippetBaseUri': snippetsOutputDir.getAbsolutePath()]
}

swagger: '2.0'
info:
  version: 0.0.0
  title: Simple API
tags:
  - name: Zebras
  - name: Aardvarks
paths:
  /v1/zebras:
    get:
      description: I would like this to appear before Aardvarks
      tags:
        - Zebras
      responses:
        200:
          description: OK
          schema:
            $ref: "#/definitions/Zebra"

  /v1/aardvarks:
    get:
      description: I would like this to appear after zebras
      tags:
        - Aardvarks
      responses:
        200:
          description: OK
          schema:
            $ref: "#/definitions/Aardvark"

definitions:

  Aardvark:
    type: object
    allOf:
      - $ref: "#/definitions/Animal"
    properties:
      somePropertyOfAardvark:
        type: string
        description: this should be displayed in the definition of Aardvark but doesn't

  Zebra:
    type: object
    allOf:
      - $ref: "#/definitions/Animal"
    properties:
      somePropertyOfZebra:
        type: string
        description: this should be displayed in the definition of Zebra but doesn't
    required:
      - somePropertyOfZebra

  Animal:
    type: object
    properties:
      somePropertyOfAnimal:
        type: string
      "_etag":
        type: string
        readOnly: true
        description: This property is actually named _etag but shows up without the underscore. It also should show that it is a readOnly property.

Hello,
this is a known limitation of Guava MultiMap::hashkeys(). https://github.com/Swagger2Markup/swagger2markup/blob/master/src/main/java/io/github/swagger2markup/internal/utils/TagUtils.java#L62
I see if I can fix this.

Should work in v1.1.1-SNAPSHOT

Fixed in v1.1.0


why not use pure javascript/nodejs to develope database?

i see pouchdb is successor about database. i hope apache couchdb team could use pure javascript/nodejs to make some effort to it.
i found erlang syntax is not wonderful. it's not modern language. i hate it.
i review couchdb and erlang offsite documention, there are not enough reson to necessarily to use erlang to develope database.
lastly, Ecmascript is fully stable , because every year, new Ecmascript is released. and also nodejs is linux foundation project, it's team is very word hard.

You're welcome to reimplement CouchDB on your own in a different language.
PouchDB can also use new contributors.


[feature request] copy environment to screen

Hi!
I just found this cool project about a week ago - it had never occurred to me before that it could be.
It works pretty well! 👍
I just ask for a feature a bit similar to self-replication over ssh: self-replication over launching screen. So I backpack to a host, run screen, and I'd like to transport the environment into it.
Is it possible? It would be nice!

Probably. Backpack relies on environment variables to work correctly, so basically you need to pass backpack specific variables to screen.
I've done something similar with sudo making a proper alias in a backpack file.


css added in external file

Could you please merge the CSS in style.css and newstyle.css and remove the unnecessary CSS

Also please attach the Screenshots of the Website to verify it is working perfectly fine

Can you please check it now?


Migrations: Gitea should not fail just because of no apiConfig return

close #13227

Codecov Report

Merging #13229 into master will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master   #13229      +/-   ##
==========================================
- Coverage   42.21%   42.20%   -0.01%
==========================================
  Files         683      683
  Lines       75457    75458       +1
==========================================
- Hits        31854    31847       -7
- Misses      38381    38385       +4
- Partials     5222     5226       +4

Impacted Files
Coverage Δ

modules/migrations/gitea_downloader.go
0.93% <0.00%> (-0.01%)
:arrow_down:

modules/avatar/avatar.go
50.00% <0.00%> (-4.77%)
:arrow_down:

modules/charset/charset.go
68.53% <0.00%> (-4.50%)
:arrow_down:

modules/process/manager.go
72.50% <0.00%> (-2.50%)
:arrow_down:

modules/log/event.go
58.96% <0.00%> (-0.95%)
:arrow_down:

models/error.go
35.72% <0.00%> (-0.51%)
:arrow_down:

services/pull/pull.go
40.78% <0.00%> (-0.50%)
:arrow_down:

services/pull/check.go
52.55% <0.00%> (+1.45%)
:arrow_up:

services/pull/patch.go
55.68% <0.00%> (+1.70%)
:arrow_up:

services/pull/temp_repo.go
29.78% <0.00%> (+3.19%)
:arrow_up:

Continue to review full report at Codecov.

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

🚀

please send backport :)

Backport: #13273


Add strict compiler options for c++ compiler and nvcc

Add Stricter Compiler Options for C++ Host and NVCC
This update introduces stricter compiler flags for both the C++ host compiler and NVCC to enforce better code quality and standards compliance. The changes address additional warnings and errors, which will be corrected as part of this merge.
Key Changes:
•	Enhanced compiler checks for both host and device code
•	Stricter warning and error handling for improved code robustness

Next Steps:
•	Retest spconv bindings to confirm compatibility with the stricter compilation settings

Ready to be merged.
Module has been refactored.
Doc updated.
Test has been done using the test_conv.py script in test/

VLAs are still used as we are switching to Linux for all of our training purposes.
Reworking VLAs is now low priority.


Unable to clear just one loop

The documentation suggests there are modes that will allow the user to clear / re-record one loop whilst retaining the other loops but each time I double press a button all the loops are cleared. This happens in any reset mode 0-3.

I think the issue may be line 541 of the souce which clears loops if only one loop is running. This will occur for all modes, e.g. mode 3 should clear only the selected loop but if only one loop is running then all loops get cleared in this mode.


Feature/1187 improve open resource dialog

Closes #1187
Improve Open Resource dialog fuzzy matching.
According to my experience, significantly improves user experience (in my arrogant opinion ;) ).

I'm thinking about if we really should favor short results.
Because currently score is divided by length of the result (more specifically, average of result length and query length),  in real-world usage I'm sometimes seeing not the best matches being on top just because they are shorter.

@gene-pavlovsky I am not sure how not dividing by length would impact the results. I could imaging that this would favour long results too much, because the longer the result, the more likely it is to have the query characters in it (in the right order).
Did you try it? How does it turn out?

I will try tomorrow and report back. But my thinking is if we have e.g. one short and one long result with query chars in the right order, the scoring algorithm will still pick the best overall match (e.g. whichever one has the query chars falling on beginning of word boundaries, or consecutive position, etc.). If the scores are equal, the shorter match will show up first because final results are sorted by score then by length (then alphabetically).

So far I can't say if it makes matters better or worse.
There are a few strange results I'm getting that I have to investigate.


improve switch type narrow with string literal enum

Fixes #26604

The testcase doesn't seem related to the issue logged. Can you add one that demonstrates the new behavior?


namespace not found for current environment

Bug Report

What did you do?
I ran the following steps in the terminal：
operator-sdk new project
operator-sdk add api --api-version=xxx.com/v1  --kind=yyy
Add the corresponding fields in the *_types.go file
kuctl apply -f  deploy/crds/*_crd.yaml
export WATCH_NAMESPACE=default
go run cmd/manager/main.go
What did you expect to see?
No error
What did you see instead? Under which circumstances?
namespace not found for current environment，I have exported environment variables WATCH_NAMESPACE，but it still shows errors.

Environment
Operator type:

language go

Kubernetes cluster type:

$ operator-sdk version
v0.13.0   commit:"1af9c95bb5....."  go version: "go1.13.3 linux/amd64"
$ go version (if language is Go)
go1.15.5 linux/amd64
$ kubectl version
v1.19.2
Possible Solution
Caused by different versions of go language?
Additional context

Hi @ccnankai,
Version 0.13 is too old and is no longer supported. I'd like to recommend you upgrade your projects to the latest version. Note that for 1.0+ the layout changes. So, I'd like to recommend you follow up the guidance to update your project until the latest 0.19 version at least. And then, migrate your project to the latest layout. Following the steps:

Follow up all steps in the migration guide from 0.13 to 0.14 then, 0.14 to 0.15 until 0.18 to 0.19. It is required because it will ensure that you fixed ALL breaking changes that you might face indeed because of the deps upgrade such as controller-runtime. (here you will find the steps from until 0.17x then check 0.18.x and 0.19.x)
Now, I'd recommend you upgrade the project to the latest layout. See: Migrating Projects to 1.0.0+. The steps are mainly you recreated a new project with the tool and move the code of your operator to the new layout.

Hi @ccnankai,
Version 0.13 is too old and is no longer supported. I'd like to recommend you upgrade your projects to the latest version. Note that for 1.0+ the layout changes. So, I'd like to recommend you follow up the guidance to update your project until the latest 0.19 version at least. And then, migrate your project to the latest layout. Following the steps:

Follow up all steps in the migration guide from 0.13 to 0.14 then, 0.14 to 0.15 until 0.18 to 0.19. It is required because it will ensure that you fixed ALL breaking changes that you might face indeed because of the deps upgrade such as controller-runtime. (here you will find the steps from until 0.17x then check 0.18.x and 0.19.x)
Now, I'd recommend you upgrade the project to the latest layout. See: Migrating Projects to 1.0.0+. The steps are mainly you recreated a new project with the tool and move the code of your operator to the new layout.


Ctrl+X doesn't work.

Lapce Version
v0.2.2 (b843959ac10a23ef6ba9f75be65586e24685dac3, lapce-git AUR package)
System information
Arch Linux (Wayland, dwl)
Describe the bug
Ctrl+X doesn't seem to be recognized at all by the application, actions bound to it don't trigger, and I can't bind an action to Ctrl+X.

I have fallen into that bug, restarting Lapce solved the issue.

Yeah restarting solves it for me as well, forgot to mention that. I'll see if it's correlated /w that menu as well (I mainly code in Rust)

I also encountered the same thing after messing with the lightbulb with the python lsp plugin (unrelated, did those work for you? Couldn't get it to work even with pylsp-rope installed)

Oddly enough,  shift+delete still works for me when this happens.  but it keeps happening to me and its soo annoying

+1 to the issue suffering set. Is everyone that have this issue using Arch linux by some chance? Could it be arch-specific bug?

same manjaro


Future Features for SAILR

Background
During our work on SAILR, there were a few cases and features identified that we thought would be nice to have, but ultimately got timed out due to submission.
All of these cases are not fundamental limitations in the approach, but are instead limitations in our ability to handle corner cases better. This issue will be updated as more cases are found.
Cases

coreutils.test.find_int: a single node, the top of a loop, is duplicated three times. We aren't able to fix it because SAILR can't currently do nodes that are loop heads. Triggerable in https://github.com/angr/angr/blob/908c5bfc3532385044de0752a0f2e1038b1f3497/tests/analyses/decompiler/test_decompiler.py#L2667. Additionally, these needs support for more than two simultenous deduplication. This schema was not described in the paper.

to fix your trouble check this fix, i see it in another issue,
https://github.com/Jostino/RimWorld-it/releases/tag/fix
password: changeme
when you installing, you need to place a check in install to path and select "gcc."


Finalize version from 1.1.0-rc.1 to 1.1.0

🗣 Description
Finalize version from 1.1.0-rc.1 to 1.1.0

💭 Motivation and context
Update the version

✅ Pre-merge checklist

[x] Revert dependencies to default branches.
[x] Finalize version.

✅ Post-merge checklist

[ ] Create a release.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
0

Relevant Lines:
0

💛  - Coveralls


EXSWHTEC-271 - Implement test for warp all function

Add test for warp __all function

PR has been merged into develop branch via commit 30f427277b916ecc819f25c0256ca15d1dd8c7d0.


Add new MOG logo

Responding to https://x.com/gamiwtf/status/1858374517728420009 request to change ETH $MOG logo to current $MOG token logo.
Base is already good so no changes there

@daviddzhou can you repull master and update this PR? the merge status checker seems to be hanging and preventing merge

@daviddzhou can you repull master and update this PR? the merge status checker seems to be hanging and preventing merge


Remove CA1825 suppression

Now that #35376 is merged and includes the fix to dotnet/roslyn analyzers, we can remove the suppression in lieu of Azure/autorest.csharp#3262.

API change check
API changes are not detected in this pull request.


Bump up sentence-transformers

Description
sentence-transformers==3.0.1 to sentence-transformers==3.1.1
OLS-1142

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.50%. Comparing base (be25e61) to head (9412f96).
Report is 2 commits behind head on main.

Additional details and impacted files

@@            Coverage Diff             @@
##             main    #1776      +/-   ##
==========================================
- Coverage   95.01%   94.50%   -0.52%
==========================================
  Files          61       61
  Lines        2751     2714      -37
==========================================
- Hits         2614     2565      -49
- Misses        137      149      +12

see 2 files with indirect coverage changes

/lgtm
/approve
/override "Red Hat Konflux / ols-enterprise-contract / pr group OLS-1142"
/override "Red Hat Konflux / ols-enterprise-contract / lightspeed-service"


I would like to see a release for win 8.1 too

I must say that your tweaks are really great but you always update it. So must we update too? There is no information in your releases. And also do you have any plan to make tweaks for win 8.1?

I continually add new improvements.
You can simply update your version and run the Script again.
I don't plan to make Tweaks for Win 8.1? (I have never used the Windows 8.1).
Best Windows for mining = Win7 x64.
Best Windows for mining (6+ GPU) = Win10 x64.
If you have any suggestions about Win8.1 are very welcome.

Any help/idea is welcome!
Thank you.


[RegistryPreview] Refresh the design to further match the Fluent Design System and optimize the appearance.

Description of the new feature / enhancement

There are too many rounded corners in the page, and the segmentation is too messy. By aligning to the design file of FDS, referring to the first-party design such as Notepad, we can achieve-
The segmentation from edge to edge makes the design look simple, neat and crisp.
Match the first-party design to improve the unity.
Reserve the possibility of adding multi-tab support in the future.
Scenario when this would be used?

Supporting information
https://www.figma.com/community/file/1159947337437047524/windows-ui-3

According to the official design specification, the standard title bar-toolbar-content view is as shown in the figure. There is no separate toolbar rounded background.
You can find it in the official Figma file

It was to give it some visual anchoring as it is not a menubar.
If you would like to submit a PR adjusting the top bar, happy to push it through

It was to give it some visual anchoring as it is not a menubar.
If you would like to submit a PR adjusting the top bar, happy to push it through

I must clarify that in the design guidelines (official figma files), the menu bar and command bar have the same appearance and the same height.So there is no problem with the design I submitted. This is how to follow the design specifications.


Probable mistake in window_partition function

Thanks for your code. I noticed a probable mistake but I am not sure. In window_partition function:
def window_partition(x, window_size):
    B, X, Y, Z, C = x.shape
    pad_x = (window_size - X % window_size) % window_size
    pad_y = (window_size - Y % window_size) % window_size
    pad_z = (window_size - Z % window_size) % window_size
    if pad_x > 0 or pad_y > 0 or pad_z > 0:
        x = F.pad(x, (0, 0, 0, pad_x, 0, pad_y))
    Xp, Yp, Zp = X + pad_x, Y + pad_y, Z + pad_z
    x = x.view(B, Xp // window_size, window_size, Yp // window_size, window_size, Zp // window_size, window_size, C)
    windows = x.permute(0, 1, 3, 5, 2, 4, 6, 7).contiguous().view(-1, window_size, window_size, window_size, C)
    return windows, (Xp, Yp, Zp)

The variable pad_z was not used in x = F.pad(x, (0, 0, 0, pad_x, 0, pad_y)), which may cause an error (shape mismatch) when doing x = x.view(B, Xp // window_size, window_size, Yp // window_size, window_size, Zp // window_size, window_size, C).

Hi, thanks for your interest! Please refer to the details about the window attention operation in the ViTDet paper.


Fixed bug affecting uninitialized incomingAddressLength variable. Thi…

Fixed bug affecting uninitialized incomingAddressLength variable. This will manifest with changes to the stack for example by adding local variables to serverThread() in tcp_transport.cpp. See: https://stackoverflow.com/questions/886782/c-sockets-raises-error-code-22-einval-invalid-argument for more details

Hi @mentaal,
your pull request looks correct to me. But two tests stopped working after this change. Could you discover why?


Rotate a page 180 degrees (upside down)

Description
As the title says, I'd like a way to rotate a page 180 degrees. Such that it is upside down.
Use Case
I have a wonky printer, and sometimes it requires pages to be upside for it to print right side up.

You can generally do that in the Print dialog. For example:

@mattfbacon
You can, but for some reason my printer doesn't respect that at all. I have to go to an external tool and do that. In addition, I can see workflows where someone may want to flip a single page.

Maybe your paper manufacturer has packed some of the blank sheets so that they're misaligned 180° compared to the rest. (You may recall that woman who was fired from the m&m's plant for throwing all the ɯ's into the reject bin; this might be her brother's doing.)

Lmaooooo.
I've got a cheap sticker printer that I preload with a roll of blank stickers that comes with a "banner" on one side saying DANGER.
Something like this, and I have typst template that has a blank space for the DANGER section and then it fills out the "Your Warning Message Here".
.
There is no way with finagling my printer settings that I can get it print the write side up. It always prints it such that the label is written "upside down". The text is written on the DANGER side, if that makes sense.
The only way to fix it currently is to use an external tool that flips my PDF.

write side up

Well their is you're problem, your spelling it left.

While I can see arguments for having the ability to rotate the pdf output, making up for bad printers doesn't seem like a great one.

I'm sure that there are other more compelling use cases for this beyond my admittedly basic use case.


Add KinKal fits

Hi @brownd1978,
You have proposed changes to files in these packages:

Validation

which require these tests: build.
@Mu2e/fnalbuild-users, @Mu2e/write have access to CI actions on main.
:hourglass: The following tests have been triggered for 7c9220d5392ecf1746dfeadd59380e32b394550b: build  (Build queue has 1 jobs)
About FNALbuild. Code review on Mu2e/Offline.

:sunny: The build tests passed at 7c9220d5392ecf1746dfeadd59380e32b394550b.

Test
Result
Details

test with
:white_check_mark:
Command did not list any other PRs to include

merge
:white_check_mark:
Merged 7c9220d5392ecf1746dfeadd59380e32b394550b at 8e3d0e102cdffbc13bdec4e01134fc16d59a82ae

build (prof)
:white_check_mark:
Log file. Build time: 11 min 00 sec

ceSimReco
:white_check_mark:
Log file.

g4test_03MT
:white_check_mark:
Log file.

transportOnly
:white_check_mark:
Log file.

POT
:white_check_mark:
Log file.

g4study
:white_check_mark:
Log file.

cosmicSimReco
:white_check_mark:
Log file.

cosmicOffSpill
:white_check_mark:
Log file.

ceSteps
:white_check_mark:
Log file.

ceDigi
:white_check_mark:
Log file.

muDauSteps
:white_check_mark:
Log file.

ceMix
:white_check_mark:
Log file.

rootOverlaps
:white_check_mark:
Log file.

g4surfaceCheck
:white_check_mark:
Log file.

FIXME, TODO
:white_check_mark:
TODO (0) FIXME (0) in 0 files

clang-tidy
:white_check_mark:
0 errors 0 warnings

N.B. These results were obtained from a build of this Pull Request at 7c9220d5392ecf1746dfeadd59380e32b394550b after being merged into the base branch at 8e3d0e102cdffbc13bdec4e01134fc16d59a82ae.
For more information, please check the job page here.
Build artifacts are deleted after 5 days. If this is not desired, select Keep this build forever on the job page.

@brownd1978 As I read this, it has two parts.   Updates for a change of naming conventions and removal of some obsolete lines.  Is that correct?   Do you expect an impact on validation beyond the data product name changes?

The name change was already made in Mu2eKinKal prolog, this change just follows that.  Yes, config that belonged in prolog was removed from the validation script.

@rlcee A gentle reminder that this PR is in your input queue.

@rlcee A gentle reminder that this PR is in your input queue.

Sorry, I didn't notice being assigned.  This seems to happen a lot since the mail gets pushed down the thread by updates.  Feel free to ping me anytime.
Dave - why did you put the explicate strawResponse lines in this fcl?  Are these settings unique to this validation job?  If not, seems they should be defined elsewhere.  If so, that seems to go against your goals of making Validation similar to production.

On Wed, Sep 28, 2022 at 2:36 PM Ray Culbertson @.***>
wrote:

@rlcee https://github.com/rlcee A gentle reminder that this PR is in
your input queue.
Sorry, I didn't notice being assigned. This seems to happen a lot since
the mail gets pushed down the thread by updates. Feel free to ping me
anytime.
Dave - why did you put the explicate strawResponse lines in this fcl? Are
these settings unique to this validation job? If not, seems they should be
defined elsewhere. If so, that seems to go against your goals of making
Validation similar to production.

I was expecting that question.  It's a hack.  Richie and I are still
working through the drift calibration, converging slowly, but it's not yet
ready to push back into TrackerConditions, which we will do before starting
the re-reconstruction campaign in a month or two.  In the meantime I wanted
the validation output to be reasonable, so there's a baseline to
compare to.  If you really object I can remove those, the code still runs
and produces reasonable results.

—
Reply to this email directly, view it on GitHub
https://github.com/Mu2e/Production/pull/205#issuecomment-1261490001, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABAH577TQADPMXB4DWL33CDWAS24JANCNFSM6AAAAAAQWDM35A
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
David Brown            @.***
Office Phone<PHONE_NUMBER>
Lawrence Berkeley National Lab
M/S 50R5008 (50-6026C)  Berkeley, CA 94720


TN-351 formatting for scheduled_job.py, staff.py, truenth.py user.py

Hello @John0Randolph! Thanks for updating the PR.

In the file portal/views/truenth.py, following are the PEP8 issues :

Line 238:1: E266 too many leading '#' for block comment


Global marks only remember file, not cursor position

Description
There is a problem where performing a certain set of actions makes it so the cursor is teleported to the wrong place, but in the right file when teleporting to a global mark.
Oddly enough, it seems to work fine when you go to the mark via the Telescope selector (builtin.marks).
Expected behaviour
Going to a global mark using 'N goes to the file and line on which the mark was created.
Actual behaviour
Going to a global mark using 'N goes to the file on which the mark was created but to the line on which the most recent deletion of a mark happened.
This happens unless no mark has been deleted in that file.
Steps to reproduce

Open NeoVim in folder x with the nvim command
Open file a
Create a new mark M on a random line
Create a new mark N on another line that is different from the line you chose for M
Move the cursor to a new, third, line
Delete mark M
Use the 'N command to go to mark N

This action should teleport you to the third line you chose instead of the expected line marked N.
Going to another file in the same folder and typing 'N should teleport to the file, but to the same wrong line.
More info
NeoVim version:
NVIM v0.9.4
Build type: Release
LuaJIT 2.1.1699392533

Plugin version:
branch main
commit d69997f

Plugin manager:
url     https://github.com/folke/lazy.nvim
version 10.15.1
tag     stable
branch  main
commit  9658486

System:
# System Details Report
---

## Report details
- **Date generated:**                              2023-11-10 20:38:12

## Hardware Information:
- **Hardware Model:**                              Gigabyte Technology Co., Ltd. B550 AORUS ELITE V2
- **Memory:**                                      32,0 GiB
- **Processor:**                                   AMD Ryzen™ 5 5600X × 12
- **Graphics:**                                    AMD Radeon™ RX 6800 XT
- **Disk Capacity:**                               1,0 TB

## Software Information:
- **Firmware Version:**                            FB
- **OS Name:**                                     Arch Linux
- **OS Build:**                                    rolling
- **OS Type:**                                     64-bit
- **GNOME Version:**                               45.1
- **Windowing System:**                            Wayland
- **Kernel Version:**                              Linux 6.6.1-arch1-1

Minimal config
A barebones lazy.nvim setup with this as the only plugin:
return {
    {
        "BartSte/nvim-project-marks",
        lazy = false,
        config = function()
            require("projectmarks").setup({})
        end,
    },
}

@rasmusq thanks for your interest in this plugin.
As stated in the readme, wouldn't the expected behaviour be:

After jumping to a mark, jump to the last cursor position in that file. That's it, nothing more.

So no jump is made to the file mark, instead the cursor jumps to the last position in the file.
Does this help?

Hi @BartSte.
First of all, thank you for making this plugin!
It is truly a necessary feature making the mark functionality actually useful in NeoVim. I don't know if the marks feature would be usable for me if it didn't exist.
I would argue that its flexibility and proximity to the native implementation makes it a better tool than Harpoon.
That does help with my understanding.
I must have read the point wrong initially.
After reading more into it, I now understand my confusion.
When going to a global mark A, it runs the motion 'A'".
The " mark updates every time the buffer is exited as expected.
What I didn't expect is that it also updates when deleting a mark.
That has got to be a quirk of NeoVim or something.
So it is probably working as expected, sorry for the ping!
I might see if I can change the plugin to only do what you write in your first point:

"Set marks that only a apply to a specific project".
So jumping to global marks happens as it does in vanilla NeoVim.

Thank you again for a great plugin and for the quick response. I hope it gains some traction.

I think ik you set mappings = false in your config, you will galet the behaviour you want, i.e., the vanilla vim behaviour while you marks are still stored in the local shada file.

Well, I just can't seem to understand any of the features of this plugin. Of course that is the setting that does that!
Thank you for your patience.
I don't think the time I spent yesterday was for nothing, as I got introduced to how Neovim plugins work.
Should I close the issue?


[Feature Request] show JSDoc info for component / directive properties and events in Angular template (HTML file or inline)

Please implement the function to show JSDoc info (if exists) for component / directive properties and events in Angular html file or inlined template while hover.
Thanks
Searched terms: is:issue JSDoc Angular
Search result: not related
PS: I don't know whether it's a built-in function for VSCode to show JSDoc in .ts/.js files. If so, since Angular Language Service has provided the component / directive and member information for the bound attributes in html tags, is it VSCode's convenience to show the JSDoc info in a hover component?
Please point me out if the function is up to Angular Language Service, then I'll raise a feature request in Angular language service extension.

Please file this feature request against the angular extension

@mjbvz got it. will file this FR against the Angular extension. Thanks


BUG : When navigating to popup dialog - eg. RE ORDER LINKS

When clicking on the button for 'reorder links' from a "Summary Links" webpart, there is a JS error.
I've included a one line change - which solves the issue - as shown below .
This is because the page doesn't have "DeltaTopNavigation" - and so I added the line in BOLD.
Is someone able to check/agree - and then do a PULL/COMMIT ??
    setUpToggling: function () {
        /* if it is already responsivized, return */
        if (document.getElementById('navbar-toggle')) { return; }

        /* Set up sidenav toggling */
        var topNav = document.getElementById('DeltaTopNavigation');

        **_if (!topNav){ return; } // for popup dialogs - eg. re-order links_**

        var topNavClone = topNav.cloneNode(true);
        topNavClone.className = topNavClone.className + ' mobile-only';
        topNavClone = cloneSPIdNodes(topNavClone);

if (!topNav){ return; }

Hi @GrumpyWookie, you right, you code fix this issue and another one... I suggested to check if the content is in modal dialog, but my method is less flexible than yours, that's why I updated my last PR #125

Hi @GrumpyWookie, the PR was approved and merged. Your issue is solved, isn't it ?


aio app logs --tail shows last log before running the command

Describe the bug
relates to https://github.com/adobe/aio-cli-plugin-app/issues/277
Similar to the above issue where this is fixed in aio app run, aio app logs --tail needs fixing

@Himavanth could you qualify?

I think this needed fixing in aio app run as the intention there would be to see logs generated by current run of the app.
But with aio app logs and aio rt logs the intention would be to get the logs that are already there and the additional --tail flag would be to continue seeing the logs coming in further. WDYT

hmm I would think that we want the same behavior for both aio app logs --tail and aio app run which is showing the logs coming in only from the moment where the command is run, and should not show any past logs.
aio app logs and aio rt logs without the --tail flag are not concerned by this, as they show past logs only


Command Model

The Command Model must inherit from the Model Base Class
the Event Model must have the following parameter:

command: str
model: Optional[str]
params: Optional[Any]
reply_channel: Optional[str]

pseudo code:
     order_aggregate_instance = OrderAggregate()
     ...
     class CommandModel(ModelBase):
             command: str
             model: Optional[str]
             params: Optional[Any]
             reply_channel: Optional[str]

     class AddTicketCommand(CommandModel):
             command: str = "AddTicket"
             model: Optional[str] = "Order"
             params: Optional[Any]
             reply_channel: Optional[str]

     new_command = AddTicketCommand(params=order_aggregate_instance, reply_channel="CreateOrderSaga")

The CommandModel class and his derived would be used by the SagaManager, the Command Manager and the CommandBroker

This issue is already resolved by https://github.com/Clariteia/minos_microservice_common/issues/56


Is this public?

Title^^^ been looking for a cobblemon gts plugin/mod found this

It's still in development but a release for 1.20.1 is expected some time this week. It's basically finished but needs to be tested and updated (current on 1.19.2).

are you guys going to post this on modrinth or in the cobblemon discord?

We've just created a Modrinth account. It'll be uploaded to there. It may be posted to the Cobblemon discord, but we're not sure yet.


[Icon] Prevent shrinking when inside a flex container

As discussed in #10594

@ValentinH Thanks!


Performance Issue with 'updateConnectedCalanderDays'

The ability to add multiple sets of connected days is a really useful feature - thanks for adding.
Unfortunately I am experiencing a performance issue as this method is blocking the UI thread.  If I add 14 connected days it is noticeable and if I scale this up to 100 days it blocks for around 5 seconds. The bottleneck is being caused by this method...
   @Override     public void updateConnectedCalanderDays(ConnectedDays connectedDaysSet) throws Exception {         calendarView.addConnectedDays(connectedDaysSet);     }
As this method updates the GUI, i want to be able to call it in my onPostExecute method of Async task and ideally need it to work on the main UI thread. I did try to wrap in a background thread out of curiosity but it throws an index out of bounds exception.
Can you recommend an approach that would allow me to efficiently update the calendar with large numbers of connected days?

@mg931 I don't know if you've got the same issue but when I add a noticeable amount of connected days, it blocks my UI ( > 100 days). After checking the code, the reason for me was the creation of Calendar objects ( for each connected days ) in the isDayIn method, which is called for every calendarView day in applySettingsToDay method.
The solution was to add a List<Calendar> calendars in ConnectedDays object and to fill it every time you fill theList<Long> days
So in isDayIn, you don't need to create Calendar object for every connected day, just use the calendar list !


@ copyright, to be changed to FOSS4G 2023, Prizren

I'll definitely add a copyright to us but we need to keep the original copyright since we used something built by someone else.


Feature Request : other calculation methods

Please add support for Ummul Qura calculation method.

Do you know an API to get these times with these calculation method?

I have literally zero knowledge on APIs and libraries. But I guess there should be a way to do it. You may want to look at Munadi's codebase or try to reach it's developers for help.

https://gitlab.com/munadi/munadi/

there's this for rust: https://github.com/azzamsa/islam
this for go: https://github.com/hablullah/go-prayer
and check this link which has many links to other libraries on many languages, including rust: https://github.com/batoulapps/Adhan
if you want an online api, theres this: https://aladhan.com/prayer-times-api
I hope this helps :)


RHEL 7 - error when enabling firewalld when firewalld is masked

Cookbook version
v2.6.3
Chef-client version
Chef Development Kit Version: 2.5.3
chef-client version: 13.8.5
delivery version: master (73ebb72a6c42b3d2ff5370c476be800fee7e5427)
berks version: 6.3.1
kitchen version: 1.20.0
inspec version: 1.51.21

Platform Details
RHEL 7 instance on EC2, using CIS Red Hat Enterprise Linux 7 Benchmark v<IP_ADDRESS> AMI
Scenario:
Applying this cookbook. On this image, firewalld is masked.
Steps to Reproduce:
Simply including include_recipe 'firewall'
Expected Result:
cookbook completes with firewalld enabled.
If the service is already present but masked; the cookbook should unmask it
Actual Result:
Error appears:
       [2018-03-13T14:55:17+00:00] ERROR: Running exception handlers
       Running handlers complete
       [2018-03-13T14:55:17+00:00] ERROR: Exception handlers complete
       Chef Client failed. 12 resources updated in 01 minutes 17 seconds
       [2018-03-13T14:55:17+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out
       [2018-03-13T14:55:17+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
       [2018-03-13T14:55:17+00:00] ERROR: firewall[default] (firewall::default line 22) had an error: Mixlib::ShellOut::ShellCommandFailed: service[firewalld] (/tmp/kitchen/cache/cookbooks/firewall/libraries/provider_firewall_firewalld.rb line 161) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
       ---- Begin output of /bin/systemctl --system enable firewalld ----
       STDOUT:
       STDERR: Failed to execute operation: Cannot send after transport endpoint shutdown
       ---- End output of /bin/systemctl --system enable firewalld ----
       Ran /bin/systemctl --system enable firewalld returned 1
       [2018-03-13T14:55:17+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: 1 actions failed.
>>>>>>     Converge failed on instance <rhel7-rhel-7>.  Please see .kitchen/logs/rhel7-rhel-7.log for more details
>>>>>> ----------------------
>>>>>> Please see .kitchen/logs/kitchen.log for more details
>>>>>> Also try running `kitchen diagnose --all` for configuration

Workaround:
Log onto the instance and unmask the service ( systemctl unmask firewalld )

I think this is an issue lower down in Chef and not a bug with this cookbook, because I can reproduce the error by directly working with the service resource (outside of this cookbook)...
[root@machine cookbooks]# /opt/chef/bin/chef-apply -e "service 'firewalld' do action :enable end"
Recipe: (chef-apply cookbook)::(chef-apply recipe)
  * service[firewalld] action enable

    ================================================================================
    Error executing action `enable` on resource 'service[firewalld]'
    ================================================================================

    Mixlib::ShellOut::ShellCommandFailed
    ------------------------------------
    Expected process to exit with [0], but received '1'
    ---- Begin output of /bin/systemctl --system enable firewalld ----
    STDOUT:
    STDERR: Failed to execute operation: Cannot send after transport endpoint shutdown
    ---- End output of /bin/systemctl --system enable firewalld ----
    Ran /bin/systemctl --system enable firewalld returned 1

    Resource Declaration:
    ---------------------
    # In /tmp/recipe-temporary-file20180314-3307-1fmeg5o

      1: service 'firewalld' do action :enable end

    Compiled Resource:
    ------------------
    # Declared in /tmp/recipe-temporary-file20180314-3307-1fmeg5o:1:in `run_chef_recipe'

    service("firewalld") do
      action [:enable]
      default_guard_interpreter :default
      service_name "firewalld"
      enabled nil
      running nil
      masked nil
      pattern "firewalld"
      declared_type :service
      cookbook_name "(chef-apply cookbook)"
      recipe_name "(chef-apply recipe)"
    end

    System Info:
    ------------
    chef_version=13.8.5
    platform=redhat
    platform_version=7.4
    ruby=ruby 2.4.3p205 (2017-12-14 revision 61247) [x86_64-linux]
    program_name=/opt/chef/bin/chef-apply
    executable=/opt/chef/bin/chef-apply

[2018-03-14T15:14:08+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2018-03-14T15:14:08+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2018-03-14T15:14:08+00:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: service[firewalld] ((chef-apply cookbook)::(chef-apply recipe) line 1) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of /bin/systemctl --system enable firewalld ----
STDOUT:
STDERR: Failed to execute operation: Cannot send after transport endpoint shutdown
---- End output of /bin/systemctl --system enable firewalld ----
Ran /bin/systemctl --system enable firewalld returned 1
[root@machine cookbooks]#


should we depracate StreamServiceImpl's usused functions?

Describe the bug
I find that StreamServiceImpl only have flush function work . create_materialized_view and  drop_materialized_view are impled by DdlServiceImpl Instead. Should we keep then?
src/rpc_client/src/meta_client.rs

macro_rules! for_all_meta_rpc {
($macro:ident $(, $x:tt)) => {
$macro! {
[$($x),]
,{ stream_client, flush, FlushRequest, FlushResponse }
,{ ddl_client, drop_materialized_source, DropMaterializedSourceRequest, DropMaterializedSourceResponse }
,{ ddl_client, drop_materialized_view, DropMaterializedViewRequest, DropMaterializedViewResponse }
}
};
}

To Reproduce
Steps to reproduce the behavior.
Expected behavior
add some commend or remove them
Additional context
Add any other context about the problem here.

The other two RPC functions are used in our legacy Java frontend. We may have to keep it until the Java frontend deprecated.

Thanks for answering my questions~


format string: add missing argument

Fix TypeError: not enough arguments for format string exception:
Traceback (most recent call last):
  File "mitogen/mitogen/master.py", line 640, in _send_module_and_related
    tup = self._build_tuple(fullname)
  File "mitogen/mitogen/master.py", line 603, in _build_tuple
    for name in self._finder.find_related(fullname)
  File "mitogen/mitogen/master.py", line 532, in find_related
    names = self.find_related_imports(name)
  File "mitogen/mitogen/master.py", line 483, in find_related_imports
    modpath, src, _ = self.get_module_source(fullname)
  File "mitogen/mitogen/master.py", line 434, in get_module_source
    tup = method(self, fullname)
  File "mitogen/mitogen/master.py", line 374, in _get_module_via_pkgutil
    self, fullname, loader)
  File "/usr/lib/python3.6/logging/__init__.py", line 1296, in debug
    self._log(DEBUG, msg, args, **kwargs)
  File "/usr/lib/python3.6/logging/__init__.py", line 1444, in _log
    self.handle(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 1454, in handle
    self.callHandlers(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 1516, in callHandlers
    hdlr.handle(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 865, in handle
    self.emit(record)
  File "mitogen/ansible_mitogen/logging.py", line 68, in emit
    s = '[pid %d] %s' % (os.getpid(), self.format(record))
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not enough arguments for format string

Example of log with this patch applied:
[pid 31296] 04:48:15.822232 D mitogen: ModuleFinder(): loading 'pkg_resources.extern.packaging' using <_frozen_importlib_external.SourceFileLoader object at 0x7fbc51c9aa58> failed: loader for pkg_resources._vendor.packaging cannot handle pkg_resources.extern.packaging

whoops, it is already fixed here: 0b5eac17897ec03f23bc130f7ff18b75aa5adfe4, sorry for the noise.

Thanks for submitting this! Be careful with master branch just now, its temp file handling is broken when delegate_to is used. Should hopefully have everything merged down by end of weekend.


README: add aarch64 instructions

This should not be merged quite yet. Firstly, there is no aarch64 version of osbulid-deploy-container in our container registry, so it needs to be built locally. Secondly, the bootable container we pull in is currently :latest, but should be :eln (which does not yet exist).

With these instructions this builds and boots on my M2.


[test]: Infinite merge with recursion

I just tried this example out and Flow handled it just fine. I also tried it on flow.org/try (with a type error at the end to make sure that it's not frozen) and it handled it just fine as well.
Could you share more details about the failure you saw recently?

Well anyway, I guess we might as well merge this to catch potential future similar regressions. Could you update the test output?

This issue appears to have been addressed, and I haven't heard anything for some time. Closing, but feel free to reopen if you'd like to get this in as a regression test.


Hide automated accounts from Group

@deetergp Please review this draft PR.
Details

Added certain consts to create exclude list
Changed the same for IOU options as well

Fixed Issues

$ https://github.com/Expensify/App/issues/4486
Tests

Tested creating a new group on all platforms
Tested Recent option in the New Group
Removed Split Money and Request Money options for excluded emails
Removed Request Money on the Compose Button

QA Steps

Go to Home screen and click on the Green FAB
Choose New Group
It shouldn't show up any excluded emails in the list or the recent options
Same has to be checked for Split Money and Request Money
In the 1:1 chat between Concierge or Chronos, ensure that the Request Money option is not shown

Tested On

[x] Web
[x] Mobile Web
[x] Desktop
[x] iOS
[x] Android

Screenshots

Web
https://user-images.githubusercontent.com/3069065/130951687-a0dcd407-7f24-4ec3-b60d-196255b2dcfb.mp4
Mobile Web
https://user-images.githubusercontent.com/3069065/130951706-bfdebdf5-4247-4bfe-b49d-8964c1f3a84c.mp4
Desktop
https://user-images.githubusercontent.com/3069065/130951724-c7d54bb9-c261-4ca8-b4e4-9600b330a9c0.mp4
iOS
https://user-images.githubusercontent.com/3069065/130951756-3fd81db3-5bf6-4038-ab29-1888bbe3fa30.mp4
Android
https://user-images.githubusercontent.com/3069065/130956835-5fb8cc72-4851-4ac9-a9ea-a4eabfa413ab.mp4

PR updated with all the commented  changes.

PR updated

PR Updated

@mananjadhav @deetergp PR had some conflicts so I went ahead and fixed them. Gonna merge this once the tests are done 👍

Thanks for resolving conflicts @jasperhuangg. I didn't check it recently. I guess it's safe to merge this now?

@deetergp Actually since I was the last one to make a commit, do you mind re-reviewing + merging if you think everything checks out?

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by @deetergp in version: 1.0.95-2 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

This has been deployed to production and is now subject to a 7-day regression period.
If no regressions arise, payment will be issued on 2021-09-17.  :confetti_ball:

🚀 Deployed to production by @roryabraham in version: 1.0.96-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Converting spaces to tabs might leave a residue of spaces

Came across some scenarios where one space character remained at the rightmost indentation level.

After further tests, spaces are converted correctly based on the set tabstop level. "Residues" remain if the number of spaces used for indentation differs from the tabstop level.
With the plugin's current logic, the recommended solution is to set the tabstop accordingly and run the conversion again.


how can I force it to use tcp for rtsp streams?

Your description says this server will do tcp for rtsp but how do that?
Background:
I am using a raspberry pi 3B+ , Buster OS, raspberry pi NOIR camera V2, using the offical v4l2 driver.
here is my command:
v4l2rtspserver -F 10 -H 360 -W 480 -P 8555 /dev/video0
and the rtsp URL I am using is:
rtsp://<IP_ADDRESS>:8555/unicast
When I use motionEyeOS, the only way it would see the rtsp stream is if I choose UDP rtsp.
I like to look at my rtsp streams with displaycameras server but he requires all rtsp streams to be TCP so I can not see the stream. How can I force v4l2rtspserver to output rtsp withTCP?

HI GadgetAngel,
Till now it is work like liv555 behave, The TCP is decided calling RTSP SETUP and doesnot depend on RTSP url
Using vlc this is done by the flag  --rtsp-tcp, using ffmpeg -rtsp_transport tcp, motioneyz seems based on gstreamer, there is probably a way to ask for an RTP over TCP.
Another way is to modify the behaviour of live555 in order to answer to RSTP DESCRIBE with an RTP over TCP SDP depending on some flags in the URL.
Best Regards,
Michel.