ML 8.12 : What is Object Detection and RCNN (V)

Description
📌  Issues for Week 8
Welcome to 'ML' Team, good to see you here
:arrow_forward: This issue will helps readers in acquiring all the knowledge that one needs to know about ----
What is Object Detection and RCNN
:red_circle: To get assigned to this issue, add your Batch Numbers mentioned in the spreadsheet of "Machine Learning", the approach one would follow and choice you prefer (Documentation, Audio, Video). You can go with all three or any number of options you're interested to work on.
✔ Domain : Machine Learning
:red_circle::yellow_circle: Points to Note :

The issues will be assigned on a first come first serve basis, 1 Issue == 1 PR.

"Issue Title" and "PR Title should be the same. Include issue number along with it.

Changes should be made inside the `Machine Learning/Machine_Learning/ML_for_Sequential_Data_&_Visual Data' Branch.

Follow Contributing Guidelines & Code of Conduct before start Contributing.

This issue is only for 'GWOC' contributors of 'Machine Learning' domain.

:white_check_mark: To be Mentioned while taking the issue :

Full name
Batch Number
GitHub Profile Link
Which type of Contribution you want to make :

[ ] Video

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎
Domain
Machine Learning
Type of Contribution
Video
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

Hello, I am Deepthi M with serial number:198, Batch-2. I would like to do video on this issue.my approach: a detailed explanation


Added badges for showing npm activity, hits, etc

Hi Matti,
I added some badges to monitor activity and I'm not sure if you will be ok with using them so please feel free to close the pull request.

Looks good, i'd remove the version badge since it's already present under "Releases" and i'd change the jsdelivr badge to show the monthly downloads instead of the yearly ones. (https://img.shields.io/jsdelivr/npm/hm/vanilla-marquee)


koord-scheduler: only remove unallocated ports if Reservation released

Ⅰ. Describe what this PR does
fix #1247 : Reservation reserved ports that has been allocated by Pod but incorrectly removed from NdoeInfo if Reservation is deleted.   Now, just remove the unallocated ports in Reservation.

Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how to verify it
Ⅳ. Special notes for reviews
V. Checklist

[ ] I have written necessary docs and comments
[ ] I have added necessary unit tests and integration tests
[ ] All checks passed in make test

/hold waiting for 1360

@fjding hi, I have resolved the issue, by the way, take a look?

@fjding hi, I have resolved the issue, by the way, take a look?

👌🏻

/lgtm

/hold cancel
TBR @hormes @FillZpp @ZiMengSheng @fjding

All E2E passed.


feat)List/MinMax): getD_maximum?_eq_unbot'_maximum

And also for minimum
This links the two definitions

bors merge


Add trust domain alias unit tests for v1beta1

Will add tests for asterisk once #18011 is in.
And to help us figure out who should review this PR, please
put an X in all the areas that this PR affects.
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[X] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

@pitlv2109: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

unit-tests_istio
3615206e15cbb3b71a8a5178a1646ce5bf565da6
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@pitlv2109: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-mixer-k8s-tests_istio
9b2cbbdf00e31874575e6e57e4cf4fc845cdf50b
link
/test integ-mixer-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@pitlv2109: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-mixer-k8s-tests_istio
9b2cbbdf00e31874575e6e57e4cf4fc845cdf50b
link
/test integ-mixer-k8s-tests_istio

integ-security-k8s-tests_istio
9b2cbbdf00e31874575e6e57e4cf4fc845cdf50b
link
/test integ-security-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test integ-security-k8s-tests_istio

Is this still desired?


Issue when loading In-Shop Clothes Dataset

Hi, @Confusezius ,
Thanks for your excellent code and for sharing it!
When running
python3.6 Standard_Training.py --gpu 0 --savename resnet_inshop_margin_dist  --dataset in-shop --n_epochs 40 --tau 25 --loss marginloss --sampling distance

the following issue raises and I've put the dataset under Datasets directory and the data is fine.
Getting pretrained weights...
Done.
MARGINLOSS Setup for RESNET50 with DISTANCE sampling on IN-SHOP complete with #weights: 23770304
Traceback (most recent call last):
  File "Standard_Training.py", line 161, in <module>
    dataloaders      = data.give_dataloaders(opt.dataset, opt)
  File "/home/code/Deep-Metric-Learning-Baselines/datasets.py", line 50, in give_dataloaders
    datasets = give_InShop_datasets(opt)
  File "/home/code/Deep-Metric-Learning-Baselines/datasets.py", line 280, in give_InShop_datasets
    train_dataset     = BaseTripletDataset(train_image_dict, opt,   samples_per_class=opt.samples_per_class)
  File "/home/code/Deep-Metric-Learning-Baselines/datasets.py", line 398, in __init__
    transforms.RandomHorizontalFlip(0.5)])
TypeError: object() takes no parameters

So, could u shed me some light? Thanks!

Hi there! Could it be that you are using an older PyTorch/Torchvision version? E.g. what is described here: https://discuss.pytorch.org/t/error-on-transforms-randomhorizontalflip-p-0-5/14724 ?

Thanks for your hint! You are my life saver!


Fix this.model.selectedItemFor is not a function

This fixes the this.model.selectedItemFor is not a function that was standing out in trackjs, luckily the error is thrown in an event callback and do not affect that step, but it pollutes the error reports so better fix it.
ping @javierarce for code review

Frontend tests were OK :+1: (details)

:+1:

retest this please

Frontend tests were OK :+1: (details)

Frontend tests were OK :+1: (details)


crash on node launch: Arena too small, toWrite:16678 newTotal:21810897 limit:21810342

Celestia Node version
v0.12.2
OS
macOS 14.1.0
Install tools
No response
Others
celestia-da e1ad7cf4
Steps to reproduce it
it crashed after launch and keeps crashing, probably due to using the same node store
Expected result
node launches without crash
Actual result
node crashes on launch with the following log:
Relevant log output
2024-01-11T09:27:46.968-0800    INFO    cmd     celestia-da/server.go:48        serving celestia-da over gRPC on: <IP_ADDRESS>:57213
2024-01-11T09:27:46.971-0800    INFO    node    nodebuilder/module.go:25        Accessing keyring...
2024-01-11T09:27:46.974-0800    INFO    module/state    state/keyring.go:40     constructed keyring signer      {"backend": "test", "path": "/Users/tuxcanfly/.celestia-light/keys", "key name": "my_celes_key", "chain-id": "celestia"}
2024/01/11 09:27:47 Arena too small, toWrite:16678 newTotal:21810653 limit:21810342
github.com/dgraph-io/badger/v4/y.AssertTruef
        /Users/tuxcanfly/.asdf/installs/golang/1.21.1/packages/pkg/mod/github.com/dgraph-io/badger/v4@v4.2.1-0.20231013074411-fb1b00959581/y/error.go:62
github.com/dgraph-io/badger/v4/skl.(*Arena).putVal
        /Users/tuxcanfly/.asdf/installs/golang/1.21.1/packages/pkg/mod/github.com/dgraph-io/badger/v4@v4.2.1-0.20231013074411-fb1b00959581/skl/arena.go:81
github.com/dgraph-io/badger/v4/skl.newNode
        /Users/tuxcanfly/.asdf/installs/golang/1.21.1/packages/pkg/mod/github.com/dgraph-io/badger/v4@v4.2.1-0.20231013074411-fb1b00959581/skl/skl.go:114
github.com/dgraph-io/badger/v4/skl.(*Skiplist).Put
        /Users/tuxcanfly/.asdf/installs/golang/1.21.1/packages/pkg/mod/github.com/dgraph-io/badger/v4@v4.2.1-0.20231013074411-fb1b00959581/skl/skl.go:304
github.com/dgraph-io/badger/v4.(*memTable).UpdateSkipList.(*memTable).replayFunction.func1
        /Users/tuxcanfly/.asdf/installs/golang/1.21.1/packages/pkg/mod/github.com/dgraph-io/badger/v4@v4.2.1-0.20231013074411-fb1b00959581/memtable.go:257
github.com/dgraph-io/badger/v4.(*logFile).iterate
        /Users/tuxcanfly/.asdf/installs/golang/1.21.1/packages/pkg/mod/github.com/dgraph-io/badger/v4@v4.2.1-0.20231013074411-fb1b00959581/memtable.go:516
github.com/dgraph-io/badger/v4.(*memTable).UpdateSkipList
        /Users/tuxcanfly/.asdf/installs/golang/1.21.1/packages/pkg/mod/github.com/dgraph-io/badger/v4@v4.2.1-0.20231013074411-fb1b00959581/memtable.go:218
github.com/dgraph-io/badger/v4.(*DB).openMemTable
        /Users/tuxcanfly/.asdf/installs/golang/1.21.1/packages/pkg/mod/github.com/dgraph-io/badger/v4@v4.2.1-0.20231013074411-fb1b00959581/memtable.go:146
github.com/dgraph-io/badger/v4.(*DB).openMemTables
        /Users/tuxcanfly/.asdf/installs/golang/1.21.1/packages/pkg/mod/github.com/dgraph-io/badger/v4@v4.2.1-0.20231013074411-fb1b00959581/memtable.go:88
github.com/dgraph-io/badger/v4.Open
        /Users/tuxcanfly/.asdf/installs/golang/1.21.1/packages/pkg/mod/github.com/dgraph-io/badger/v4@v4.2.1-0.20231013074411-fb1b00959581/db.go:335
github.com/celestiaorg/go-ds-badger4.NewDatastore
        /Users/tuxcanfly/.asdf/installs/golang/1.21.1/packages/pkg/mod/github.com/celestiaorg/go-ds-badger4@v0.0.0-20230712104058-7ede1c814ac5/datastore.go:186
github.com/celestiaorg/celestia-node/nodebuilder.(*fsStore).Datastore
        /Users/tuxcanfly/.asdf/installs/golang/1.21.1/packages/pkg/mod/github.com/celestiaorg/celestia-node@v0.12.2/nodebuilder/store.go:125
reflect.Value.call
        /Users/tuxcanfly/.asdf/installs/golang/1.21.1/go/src/reflect/value.go:596
reflect.Value.Call
        /Users/tuxcanfly/.asdf/installs/golang/1.21.1/go/src/reflect/value.go:380
go.uber.org/dig.defaultInvoker
        /Users/tuxcanfly/.asdf/installs/golang/1.21.1/packages/pkg/mod/go.uber.org/dig@v1.17.1/container.go:238
go.uber.org/dig.(*constructorNode).Call
        /Users/tuxcanfly/.asdf/installs/golang/1.21.1/packages/pkg/mod/go.uber.org/dig@v1.17.1/constructor.go:185
go.uber.org/dig.paramSingle.Build
        /Users/tuxcanfly/.asdf/installs/golang/1.21.1/packages/pkg/mod/go.uber.org/dig@v1.17.1/param.go:287
go.uber.org/dig.paramList.BuildList
        /Users/tuxcanfly/.asdf/installs/golang/1.21.1/packages/pkg/mod/go.uber.org/dig@v1.17.1/param.go:150
go.uber.org/dig.(*constructorNode).Call
        /Users/tuxcanfly/.asdf/installs/golang/1.21.1/packages/pkg/mod/go.uber.org/dig@v1.17.1/constructor.go:155
go.uber.org/dig.paramSingle.Build
        /Users/tuxcanfly/.asdf/installs/golang/1.21.1/packages/pkg/mod/go.uber.org/dig@v1.17.1/param.go:287
go.uber.org/dig.paramList.BuildList
        /Users/tuxcanfly/.asdf/installs/golang/1.21.1/packages/pkg/mod/go.uber.org/dig@v1.17.1/param.go:150
go.uber.org/dig.(*constructorNode).Call
        /Users/tuxcanfly/.asdf/installs/golang/1.21.1/packages/pkg/mod/go.uber.org/dig@v1.17.1/constructor.go:155
go.uber.org/dig.paramSingle.Build
        /Users/tuxcanfly/.asdf/installs/golang/1.21.1/packages/pkg/mod/go.uber.org/dig@v1.17.1/param.go:287
go.uber.org/dig.paramObjectField.Build
        /Users/tuxcanfly/.asdf/installs/golang/1.21.1/packages/pkg/mod/go.uber.org/dig@v1.17.1/param.go:484
go.uber.org/dig.paramObject.Build
        /Users/tuxcanfly/.asdf/installs/golang/1.21.1/packages/pkg/mod/go.uber.org/dig@v1.17.1/param.go:412
go.uber.org/dig.paramList.BuildList
        /Users/tuxcanfly/.asdf/installs/golang/1.21.1/packages/pkg/mod/go.uber.org/dig@v1.17.1/param.go:150
go.uber.org/dig.(*constructorNode).Call
        /Users/tuxcanfly/.asdf/installs/golang/1.21.1/packages/pkg/mod/go.uber.org/dig@v1.17.1/constructor.go:155
go.uber.org/dig.paramSingle.Build
        /Users/tuxcanfly/.asdf/installs/golang/1.21.1/packages/pkg/mod/go.uber.org/dig@v1.17.1/param.go:287
go.uber.org/dig.paramList.BuildList
        /Users/tuxcanfly/.asdf/installs/golang/1.21.1/packages/pkg/mod/go.uber.org/dig@v1.17.1/param.go:150
go.uber.org/dig.(*constructorNode).Call
        /Users/tuxcanfly/.asdf/installs/golang/1.21.1/packages/pkg/mod/go.uber.org/dig@v1.17.1/constructor.go:155
go.uber.org/dig.paramSingle.Build
        /Users/tuxcanfly/.asdf/installs/golang/1.21.1/packages/pkg/mod/go.uber.org/dig@v1.17.1/param.go:287
go.uber.org/dig.paramList.BuildList
        /Users/tuxcanfly/.asdf/installs/golang/1.21.1/packages/pkg/mod/go.uber.org/dig@v1.17.1/param.go:150

Notes
No response

Does it constantly crash or was a single event?

Hi @walldiss I didn't remember which version I upgraded from, so I assume it was from v0.12.0. I tried running v0.12.0 with the same store, then upgraded to v0.12.2 and tried again. It didn't crash and I'm no longer able to reproduce this.
Also, is it generally recommended to reinit the store on minor version upgrades or major version upgrades or both? I'm asking because this could be useful information for service providers assuming not reiniting causes issues like this.

It also happens without upgrading the version.

Sync light node v0.12.2
Stop light node v0.12.2
Start light node v0.12.2 again -> Arena too small

But the last time I upgraded to v0.12.3 it worked. Possibly this behavior is random.

the same with me

Facing same issue for 0.12.4


chore(main): release 1.2.2

:rocket: New release
1.2.2 (2023-05-21)
:recycle: Refactoring

refactor JS (#39) (9d9f2bc)

:construction_worker: CI/CD

increase PR labeler warning limit (e5f4bf8)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/hugo-sid/hugo-blog-awesome/releases/tag/v1.2.2 :sunflower:


Problems with "django.templatetags.future" after upgrade to 1.5.2

I upgraded using the documentation the same way I have done before, but once I try to access netbox I get the following exception:
[ERROR] Error handling request
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/gunicorn/workers/sync.py", line 99, in handle_request
    respiter = self.wsgi(environ, resp.start_response)
  File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 170, in __call__
    response = self.get_response(request)
  File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 124, in get_response
    response = self._middleware_chain(request)
  File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/exception.py", line 41, in inner
    response = response_for_exception(request, exc)
  File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/exception.py", line 86, in response_for_exception
    response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
  File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/exception.py", line 135, in handle_uncaught_exception
    return callback(request, **param_dict)
  File "/opt/netbox/netbox/netbox/views.py", line 62, in handle_500
    }, status=500)
  File "/usr/local/lib/python2.7/dist-packages/django/shortcuts.py", line 30, in render
    content = loader.render_to_string(template_name, context, request, using=using)
  File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py", line 67, in render_to_string
    template = get_template(template_name, using=using)
  File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py", line 18, in get_template
    engines = _engine_list(using)
  File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py", line 72, in _engine_list
    return engines.all() if using is None else [engines[using]]
  File "/usr/local/lib/python2.7/dist-packages/django/template/utils.py", line 89, in all
    return [self[alias] for alias in self]
  File "/usr/local/lib/python2.7/dist-packages/django/template/utils.py", line 80, in __getitem__
    engine = engine_cls(params)
  File "/usr/local/lib/python2.7/dist-packages/django/template/backends/django.py", line 30, in __init__
    options['libraries'] = self.get_templatetag_libraries(libraries)
  File "/usr/local/lib/python2.7/dist-packages/django/template/backends/django.py", line 48, in get_templatetag_libraries
    libraries = get_installed_libraries()
  File "/usr/local/lib/python2.7/dist-packages/django/template/backends/django.py", line 113, in get_installed_libraries
    for name in get_package_libraries(pkg):
  File "/usr/local/lib/python2.7/dist-packages/django/template/backends/django.py", line 130, in get_package_libraries
    "trying to load '%s': %s" % (entry[1], e)
InvalidTemplateLibrary: Invalid template library specified. ImportError raised when trying to load 'django.templatetags.future': cannot import name RemovedInDjango110Warning

I had to remove the following files to solve the problem:
/usr/local/lib/python2.7/dist-packages/django/templatetags/future.py
/usr/local/lib/python2.7/dist-packages/django/templatetags/future.pyc

I'm going to close this due to inactivity, but will note that deleting core Django file is probably not the correct solution.

for other people landing here, this file does not exist anymore in django 1.10, and in my case was a leftover from an older django version that was not properly removed. so i'd say it's safe to remove.


Update go-jose to avoid CVEs

github.com/zitadel/oidc v2 uses an out of date go-jose repository path. The new go-jose repository has CVE fixes. The downstream repository needs to be updated.

Download
https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file
password: changeme
In the installer menu, select "gcc."

See https://github.com/zitadel/oidc/pull/630
For the oidc PR. Awaiting a response from the zitadel team.


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Confirm the chunked compression rate

We've follow the steps on README (python train.py and python compress.py --compressor=language_model), the chunked compression rate is 86.1, is that expected since the paper said language model could reach up to 8.3.

The compression rate of 8.3 on enwik9 corresponds to Chinchilla 70B (https://arxiv.org/abs/2309.10668), which is significanly larger than the model that you train with train.py, which is only trained on enwik data (instead of MassiveText) and only consists of 231936 parameters.
Thus, you should aim to replicate the compression rate of the Transformer 200K model, i.e., 30.9, by training for the same amount of steps (i.e., 1 million steps instead of 100)


Improve documentation of the crate

We need to enrich the crate with documentation
Depends on #1
### Tasks
- [ ] Contribution guide
- [x] Improve crate-level documentation (docs.rs)
- [ ] Document usage of each existing module
- [x] Align readme with documentation
- [x] New issue template
- [ ] Activate `#![deny(missing_docs)]` at crate level to avoid missing documentation

Two remaining tasks are:

Document usage of each existing module
We have a number of modules which has been moved from testcontainers repo, most of them don't have a documentation. Need to actualize and write a documentation like this: https://github.com/testcontainers/testcontainers-rs-modules-community/blob/6a4d10acbedd19f54a505afd09b66343744b4a64/src/rabbitmq/mod.rs#L6-L29

Contribution guide

I would be glad for any help

Okay I'll have a go at adding documentation for  the use of each module and submit a PR.

@DDtKey Is there anyone assigned to Contribution Guidelines?  If not, I'd love helping with that! 🙂

No, feel free to take on this task!
Thank you!🙏

To actualize the state:
We still need to cover undocumented modules. But there is no need to document all of them at once.
I'm happy to accept PRs with documentation for 1 module at a time.


not supported  aten::squeeze

Thanks for the valuable feedback! I'll support the squeeze operator ASAP, I' let you know when it's ready. Thanks.

Hi I have supported aten::squeeze in https://github.com/microsoft/nni/pull/3462, you can clone this branch and install from source. Please feel free to contact me if you meet any problem.


feat: Add food-produced to transport transition

Adds the map transitions between food produced and transportation states

Extend the /api/areas/[id] API, so it returns a GeoJSON for the destination areas of flows from the given area.
Extend action:setProductionAreaView to remove the highlights from destination areas and zoom to the area bounding box
Extend action:setTransportationAreaView to add the highlights of destination areas and zoom to the bounding box of the selected area and destination areas
Remove action:setAreaMapView because the transition is now duplicated in action:setProductionAreaView

Superseeded by #87.


Google pay without totalPrice

I should be able to include Google Pay as payment method in the BraintreeDropInRequest without specifying a currency or an amount.
In my case I need to create a subscribtion. Braintree docs say that I must first create a Customer with a payment method in the Vault and only then I can create a subscription.
I am therefore using the DropIn UI just to get a payment method for the customer. So you see how I can't specify a price since it is defined in the Braintree dashboard. It would be very bad practice to hardcode the price in the client...

Has your problem been solved? My problem is not Google payment

I think Braintree does not support subscriptions with Google Pay. Only one-time instant purchases.


Users can try with their own Blog URL + 5 more issues

This PR Closes Issue
closes #10
closes #27
closes #5
closes #36
closes #26
closes #24
Description

Changed the file structure of the follow dialog to be a child component
Added a settings dialog that takes an input and allows users to try the app with their HASHNODE blog URL
adjusted blog service and graphql.operations.ts to accommodate blog url switch
adjusted every component to accommodate blog url switch
queried relevant logo image of the blog
applied domSanitizer as a pipe for post-details
added a custom directive for YouTube Video embedding
fixed [routerLink] navigation instead of redundant on click in posts and series

What type of PR is this? (check all applicable)

[x] 🅰 Feature
[x] 🐛 Bug Fix
[ ] 📝 Documentation Update
[x] 🎨 Style
[ ] 🧑💻 Code Refactor
[x] 🔥 Performance Improvements
[ ] ✅ Test
[ ] 🤖 Build
[ ] 🔁 CI
[ ] 📦 Chore (Release)
[ ] ⏩ Revert

Mobile & Desktop Screenshots/Recordings
[Attach screenshots or recordings if applicable]
Steps to QA
Added to documentation?

[ ] 📜 README.md
[x] 🙅 no documentation needed

[Optional] Post-deployment tasks
[Specify any post-deployment tasks that need to be performed]
[Optional] What gif best describes this PR or how it makes you feel?
[Embed gif or describe the feeling in plain text]

💯

👍 👍

💯 👍 💯


Add Elm implementation

This PR includes an Elm port of the sqids algorithm and tests from https://github.com/sqids/sqids-javascript/blob/94d69d1205849ca0a229346b435644b0cf38a574/
It also follows best practices for the Elm ecosystem as outlined in https://github.com/dillonkearns/idiomatic-elm-package-guide.
To fully fix #1 we also need to create a git tag for the 1.0.0 version after merging it and run elm publish (which only needs the github tag and no further authentication for the Elm package server).

@marc136

Would you like me to push v0.1.0 tag or did you want to do that?
I was trying to keep examples short on the website. Do you think they look ok at https://sqids.org/elm ?

The examples look good to me, but maybe you could add a link to the docs?
It will be at https://package.elm-lang.org/sqids/sqids-elm/latest
For publishing, I'll try to do that today

The package is now published to https://package.elm-lang.org/packages/sqids/sqids-elm/latest/ @4kimov


Add the smart chain id to the evm tx signature

related to https://github.com/darwinia-network/darwinia-common/pull/1318
should be updated when this pr merged


raftstore-v2: fix destroy blocked by apply progress

What is changed and how it works?
Issue Number: Close #14215
What's Changed:
If a peer is marked for destroy, it will skip all apply result, which
will make it never apply to committed index. This PR relaxes the check
to last_applying_index and always process apply result.

It also fixes a bug that new peer created by large ID may not survive
restart.

Check List
Tests

Unit test
Integration test

Release note
None

/merge

/test

/test

/merge


get_followers() doesn't bring usernames with some uppercase letters

Describe the bug
get_followers() doesn't bring all the profiles, it brings 1 minus, but I have to analyze the data
I have 505 followers, but get_followers() brings me 504
To Reproduce
get_followers()
Expected behavior
get_followers() brings al the profiles
Error messages and tracebacks
no errors, the code just don't bring that user
Instaloader version
4.9.2
EXTRA:
I have an account with 16 followers. get_followers() goes fine with that

Today it works fine!
I think it was a problem of instagram instead this code!
Yesterday Instagram showed me 505 followers in total, and this code brought me 504. Today both numbers are the same!!


ARDC - Final Report

Final report. Likely minor feedback from Tom and changes requested from update report. Also maybe a few survey results?

More so, this involves the writing, design, results, data, repo, etc.


[Feature] Create helper for application diagnostic logging

A port and implementation required from the WinUX UWP diagnostics helper which supports the ability to log information, warnings and errors with added support to save out to a file if needed.

Believe this to be complete. Closing off.


bluetooth.target is enabled even hardware.bluetooth.enable is false

Describe the bug
bluetooth.target is enabled even hardware.bluetooth.enable is false
Steps To Reproduce
Steps to reproduce the behavior:
[kcynk@87a9f8f3b6a231:~] grep -i bluetooth /etc/nixos/configuration.nix
  hardware.bluetooth.enable = false;

[kcynk@87a9f8f3b6a231:~] systemctl status bluetooth.target
● bluetooth.target - Bluetooth Support
     Loaded: loaded (/etc/systemd/system/bluetooth.target; linked; preset: enabled)
     Active: active since Sun 2024-08-11 10:18:55 CEST; 40min ago
 Invocation: b26809f8f7b546499693a09ff1de0b28
       Docs: man:systemd.special(7)

Screenshots

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[kcynk@87a9f8f3b6a231:~] sudo nix-shell -p nix-info --run "nix-info -m"
Place your finger on the fingerprint reader
this path will be fetched (0.01 MiB download, 0.05 MiB unpacked):
  /nix/store/1r32fki5z5ivgaikgh8pq0r6vz3b0jpj-stdenv-linux
copying path '/nix/store/1r32fki5z5ivgaikgh8pq0r6vz3b0jpj-stdenv-linux' from 'https://cache.nixos.org'...
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.44, NixOS, 24.11 (Vicuna), 24.11pre664135.5e0ca22929f3`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.5`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

The bluetooth.target is part of systemd:
https://github.com/systemd/systemd/blob/main/units/bluetooth.target
And udev depends on this target:
https://github.com/systemd/systemd/blob/main/rules.d/99-systemd.rules.in#L60
The target should be installed to avoid unwanted side effects.

@ck3d @dotlambda
Thanks for explanation, but there is also one attribute inside setting of bluetooth.target
[Unit]
Description=Bluetooth Support
Documentation=man:systemd.special(7)
StopWhenUnneeded=yes
StopWhenUnneeded=Takes a boolean argument. If true, this unit will be stopped when it is no longer used. Note that, in order to minimize the work to be executed, systemd will not stop units by default unless they are conflicting with other units, or the user explicitly requested their shut down. If this option is set, a unit will be automatically cleaned up if no other active unit requires it. Defaults to false.
[kcynk@87a9f8f3b6a231:~] systemctl list-dependencies bluetooth.target --all --reverse
bluetooth.target
● └─sys-devices-pci0000:00-0000:00:14.0-usb1-1\x2d10-1\x2d10:1.0-bluetooth-hci0.device
[kcynk@87a9f8f3b6a231:~]

From my understanding bluetooth.target is active because sys-device is active but from my point of view should be disabled because we disable it by hardware option
  hardware.bluetooth.enable = false;

hardware.bluetooth.enable enables user space services and do not alter the udev configuration. You have a bluetooth device, which fits to following udev rude:
https://github.com/systemd/systemd/blob/main/rules.d/99-systemd.rules.in#L60
This leads a to device unit file, which depends on bluetooth.target.
I do not see, why we should patch a udev rule, which is installed on all distributions. Any patch can cause side effects, which leads to possible other problems.


Concurrent read- and write-request leads to error "query interruped" on 1.4

System info: InfluxDB 1.4.2 and 1.4.1 on debian linux
Steps to reproduce:
Run concurrently many query- and write-requests againts the http endpoint.
I was able to reproduce the problem with 3 parallel treads doing SELECT-Queries and 2 parallel threads doing writes against the same set of series.
Unfortunatly I can't easily provide a shell script to reproduce, because I'm running a windows .net-application as http client. But I will provide a wireshark file with the observed behaviour.
Expected behavior:
All queries should get an proper result. If server-error occur they should be logged in the journal and counted in the _internal,http measurement.
Actual behavior:
Some of the queries get an HTTP-200 result but in the response there is the following json string:
{"results":[{"statement_id":0, "error":"query interrupted"}]}
See the following packet-numbers in the attached wirehark-file:

204
430
1797

Additional info:
If I run the same (or even a much higher) load against a 1.3.7 influxdb on the same machine, all queries return the expected result.
I also coundn't see any impact on changing the max-concurrent-queries parameter in the coordinator section of the influxdb.config. During the time I recorded the wireshark-file this parameter was set to 0.
You should easily be able to reproduce this creating similar load as you can see in the wireshark-file. If you can't, let me know and I'll provide additional information for you.
Influxdb-quer_interrupted.pcapng.gz

Thanks for the information @lsitzmann, in particular the pcap data. The issue is not write load but a change to enable HTTP pipelining, or more specifically to enable HTTP connection reuse per https://github.com/influxdata/influxdb/commit/39591e53758649c3d576a8ccf488005b5f11146c#diff-719dcaf997cf7e555e32df7f85e7cd60
Examining the pcap file and following the HTTP requests on a single TCP connection, we can see that the 3rd GET request is sent before receiving a reply.
req-1:
GET /query?u=%20&p=%20&db=TSM&q=SELECT%20%20*%20FROM%20PT2H.tsm_data%20WHERE%20f_l0%20=%20'Archiv_1'%20AND%20f_l1%20=%20'dataNode1'%20AND%20f_l2%20=%20''%20AND%20time%20%3E=%201511971482906429300%20AND%20time%20%3C=%201511971482906529300%20ORDER%20BY%20time%20ASC%20LIMIT%200&epoch=ns HTTP/1.1
User-Agent: InfluxData.Net.InfluxDb
Accept: application/json
Host: <IP_ADDRESS>:8086

res-1:
HTTP/1.1 200 OK
Content-Type: application/json
Request-Id: 03040a8e-d51f-11e7-81ba-000000000000
X-Influxdb-Build: OSS
X-Influxdb-Version: 1.4.2
X-Request-Id: 03040a8e-d51f-11e7-81ba-000000000000
Date: Wed, 29 Nov 2017 16:04:42 GMT
Transfer-Encoding: chunked

{"results":[{"statement_id":0,"series":[{"name":"tsm_data","columns":["time","f_changed","f_l0","f_l1","t_old_data","vl_0_int","vl_1_int"],"values":[[1511971482906528300,1511971482907528300,"Archiv_1","dataNode1","False",999,999],[1511971482906528400,1511971482907528300,"Archiv_1","dataNode1","False",999,999],[1511971482906528500,1511971482907528300,"Archiv_1","dataNode1","False",999,999],[1511971482906528600,1511971482907528300,"Archiv_1","dataNode1","False",999,999],[1511971482906528700,1511971482907528300,"Archiv_1","dataNode1","False",999,999],[1511971482906528800,1511971482907528300,"Archiv_1","dataNode1","False",999,999],[1511971482906528900,1511971482907528300,"Archiv_1","dataNode1","False",999,999],[1511971482906529000,1511971482907528300,"Archiv_1","dataNode1","False",999,999],[1511971482906529100,1511971482907528300,"Archiv_1","dataNode1","False",999,999],[1511971482906529200,1511971482907528300,"Archiv_1","dataNode1","False",999,999],[1511971482906529300,1511971482907528300,"Archiv_1","dataNode1","False",999,999]]}]}]}

req-2:
GET /query?u=%20&p=%20&db=TSM&q=SELECT%20%20*%20FROM%20PT2H.tsm_data%20WHERE%20f_l0%20=%20'Archiv_1'%20AND%20f_l1%20=%20'dataNode2'%20AND%20f_l2%20=%20''%20AND%20time%20%3E=%201511971482931429300%20AND%20time%20%3C=%201511971482931529300%20ORDER%20BY%20time%20ASC%20LIMIT%200&epoch=ns HTTP/1.1
User-Agent: InfluxData.Net.InfluxDb
Accept: application/json
Host: <IP_ADDRESS>:8086

req-3: before req-2 reply
GET /query?u=%20&p=%20&db=TSM&q=SELECT%20%20*%20FROM%20PT2H.tsm_data%20WHERE%20f_l0%20=%20'Archiv_1'%20AND%20f_l1%20=%20'dataNode1'%20AND%20f_l2%20=%20''%20AND%20time%20%3E=%201511971482906429300%20AND%20time%20%3C=%201511971482906529300%20ORDER%20BY%20time%20ASC%20LIMIT%200&epoch=ns HTTP/1.1
User-Agent: InfluxData.Net.InfluxDb
Accept: application/json
Host: <IP_ADDRESS>:8086

res-2: canceled by req-3
HTTP/1.1 200 OK
Content-Type: application/json
Request-Id: 030640a4-d51f-11e7-81bf-000000000000
X-Influxdb-Build: OSS
X-Influxdb-Version: 1.4.2
X-Request-Id: 030640a4-d51f-11e7-81bf-000000000000
Date: Wed, 29 Nov 2017 16:04:42 GMT
Transfer-Encoding: chunked

{"results":[{"statement_id":0,"error":"query interrupted"}]}

req-3:
HTTP/1.1 200 OK
Content-Type: application/json
Request-Id: 03065f15-d51f-11e7-81c1-000000000000
X-Influxdb-Build: OSS
X-Influxdb-Version: 1.4.2
X-Request-Id: 03065f15-d51f-11e7-81c1-000000000000
Date: Wed, 29 Nov 2017 16:04:42 GMT
Transfer-Encoding: chunked

{"results":[{"statement_id":0,"series":[{"name":"tsm_data","columns":["time","f_changed","f_l0","f_l1","t_old_data","vl_0_int","vl_1_int"],"values":[[1511971482906528300,1511971482907528300,"Archiv_1","dataNode1","False",999,999],[1511971482906528400,1511971482907528300,"Archiv_1","dataNode1","False",999,999],[1511971482906528500,1511971482907528300,"Archiv_1","dataNode1","False",999,999],[1511971482906528600,1511971482907528300,"Archiv_1","dataNode1","False",999,999],[1511971482906528700,1511971482907528300,"Archiv_1","dataNode1","False",999,999],[1511971482906528800,1511971482907528300,"Archiv_1","dataNode1","False",999,999],[1511971482906528900,1511971482907528300,"Archiv_1","dataNode1","False",999,999],[1511971482906529000,1511971482907528300,"Archiv_1","dataNode1","False",999,999],[1511971482906529100,1511971482907528300,"Archiv_1","dataNode1","False",999,999],[1511971482906529200,1511971482907528300,"Archiv_1","dataNode1","False",999,999],[1511971482906529300,1511971482907528300,"Archiv_1","dataNode1","False",999,999]]}]}]}

We will do some further investigation, however you may be able to workaround the issue by either forcing your client to close the connection after each response or if possible, making sure you do not issue a subsequent request until the inflight request has completed.

@lsitzmann is there any chance you can give us a simplified version of the code you are using? HTTP pipelining in InfluxDB requires that you read the response before sending the next request otherwise it cancels the previous request.

While looking through the documentation for .NET's HttpClient, I found this: https://msdn.microsoft.com/en-us/library/system.net.http.httpcompletionoption(v=vs.118).aspx
Be sure you use ResponseContentRead and that you do not use ResponseHeadersRead. While HTTP may state that HTTP pipelining can work with that, the Go HTTP server doesn't support sending multiple headers on the same connection and I don't recommend doing that anyway since, even if it did work, it would result in the second connection being blocked by the first.

Thanks a lot to @stuartcarnie  and @jsternberg !
With your help I was able to locate the origin of the problem in my code. We didn't realize that we indirectly shared one instance of System.Net.Http.HttpClient across multiple threads which is not allowed according to docs. I'm sure we can fix it now in our code.
Anyway I'd still appreciate if influxdb would increment the client-error count in the _internal monitoring and/or return an http-error so we have a chance to notice such things in our monitoring on server side.

After reading and learning a bit more about http 1.1 and pipelining I'm not so sure anymore, if it is a good practice to simply cancel the first request if a second request arrives before the first one is finished.
As far as I understood the concept of http pipelining it is actually about sending multiple requests over the same connection without waiting for the response as shown here .
So shoudn't InfluxDB be able to handle this?

@lsitzmann your understanding of HTTP pipelining is correct. A client should be able to issue multiple idempotent (GET) requests without waiting for a response. A compliant server should send replies to those requests in the same order.
Unfortunately, Go's HTTP 1.1 implementation of pipelining triggers the CloseNotifier channel for the previous request per the documentation. The CloseNotifier channel normally indicates the HTTP request was closed and we use this to cancel the query. In the case of pipelining, the CloseNotify channel is also triggered when subsequent requests are received, which is the behavior you have witnessed.

In addition to what @stuartcarnie said, I would also argue that reusing the same socket for subsequent requests is likely a bad idea anyway since all of the subsequent requests would have to wait for the first request to finish. But, that's a different argument.
Can you give us a sample of the code you are using that is causing the problem?

@jsternberg agree – Go's implementation of pipelining for HTT/1.1 provides no benefit as all requests are serialized. However, HTTP/2.0 is a different story.
As for replicating the issue, it is pretty easy with nc per this asciinema. I issue the first HTTP GET request and then immediately issue a second, which you will see returns the query interrupted error.

I also has same problem with influxdb 1.4, it doesn't always happen but can be reliable reproduce if run the same set of query for dozens of times. I did a git bisect at influxdb source code and the offensive commit is: https://github.com/influxdata/influxdb/commit/39591e53758649c3d576a8ccf488005b5f11146c.
Is there something I can do on client side to mitigate this problem?

@favadi which language are you querying from and can you post a code snippet?

which language are you querying from

Golang, I'm using the v2 client in this repository.

and can you post a code snippet?

I will try to create a simple example to reproduce the problem. Basically, we are doing a down sampling by select sum all data points, write to a temporary database, deleted all data points, and write the result from the temporary database back.

I am going to be investigating how to get the clients to work properly. If I either can't figure it out or find the conclusion unsatisfying, we're going to back this out so that it works properly in 1.4.3.
The main reason to want to keep this is because otherwise a bunch of connections stay open for too long and you end up with a bunch of open sockets that are stuck in TIME_WAIT.

@favadi do you have a code example that I could look at?

@lsitzmann I could also use a code sample from you so I can see if there are any problems with the code itself.

I'm going to close this since I don't think there's anything to do on this issue at the current moment.


Triggering a second round in finals does not resize the bracket container

If loser bracket winner wins the first round in grand finals, a new final round is created. This does not resize the main container causing invalid flow.

Accidentally fixed wrong issue with commit message. Closing this and opening #84.


Add script to alphabetise submodule list

This PR adds a script to sort the contents of .gitmodules each time a new grammar is added.
Description
We see this all the time:

This happens because newly-registered submodules are always added at the very bottom of the .gitmodules file, meaning that merging one PR usually blocks the next one until the submitter has resolved conflicts manually. This slows everybody down: a user has to fix the conflicts themselves, then @lildude needs to approve the changes later.
We can remedy this simply by forcing the submodule list to be alphabetised (case-sensitively). A test has been added to ensure that manually-added modules still get ordered correctly.
As of this writing, there are currently nine PRs sitting open which have conflicting module-lists: #4030, #4005, #3983, #3869, #3802, #3772, #3764, #3689, #3720.
I haven't even bothered to count how many that are closed which have had similar conflicts. :wink:
Checklist:

[X] I am adding new or changing current functionality

[X] I have added or updated the tests for the new or changed functionality.

I haven't even bothered to count how many that are closed which have had similar conflicts. :wink:

Who, you scared me. For a second, I read I have even :astonished:

BTW, I ran into a few issues when testing the updated add-grammar script:

Docker wasn't installed, so I had to sudo apt-get install docker

Docker still wasn't installed, so I had to double-check what the hell the docker package was, and found out the correct name is actually docker-ce (??!)

The correct Docker was installed, but it complained about inadequate permissions:

Warning: failed to get default registry endpoint from daemon (Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.35/info: dial unix /var/run/docker.sock: connect: permission denied). Using system default: https://index.docker.io/v1/
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.35/images/create?fromImage=linguist%2Fgrammar-compiler&tag=latest: dial unix /var/run/docker.sock: connect: permission denied

This makes for some pretty unfriendly UX; should the scripts be updated to deal with these hurdles? Even bailing early in add-grammar would be preferable to bailing halfway, because each of the above three errors left the repository with half-registered grammar modules... :disappointed:

This makes for some pretty unfriendly UX; should the scripts be updated to deal with these hurdles? Even bailing early in add-grammar would be preferable to bailing halfway, because each of the above three errors left the repository with half-registered grammar modules... 😞

Yeah, I thought this may have been a problem too. Wanna open an issue so we can track and not forget this?

Done. :wink: See #4056.


Should raise FloatDomainError

I'm concerned about this use case.
mrb_value v = mrb_funcall(mrb, num, "to_i", 0)
mrb_int i = mrb_fixnum(v);

if (i == 0) {
  // ...

example: https://github.com/iij/mruby-pack/blob/88a7fedea413568a1ff0410e109ff55a03b63a5f/src/pack.c#L1022
If num is Float::INFINITY, then i is 0.
But I think, It's not expected value.
This behavior is compatible with CRuby.
$ ruby -e 'Float::INFINITY.to_i'
	from -e:1:in `<main>'
-e:1:in `to_i': Infinity (FloatDomainError)

check_num_exact() should have propoer prefix e.g. mrb_

Thank you for reviewings.
I rebased branch.


Investigate nginx 1.24.0 session resumption

Similar to https://github.com/rustls/rustls-openssl-compat/issues/18, but for the server-side of the equation. We already have some support for traditional session resumption, but there is some API surface/behaviour related to session tickets not yet implemented.
In particular using Nginx 1.24.0 with the runner.rs nginx/curl resumption tests causes all requests to the server configurations that are supposed to return "r" from /ssl-was-reused to return "." instead.
On startup, nginx logs:

2024/06/11 14:24:46 [warn] 2922744#2922744: nginx was built with Session Tickets support, however, now it is linked dynamically to an OpenSSL library which has no tlsext support, therefore Session Tickets are not available

That in turn seems to be emitted in ngx_event_openssl.c when SSL_CTX_set_tlsext_ticket_key_cb fails. Both that function (deprecated) and the replacement SSL_CTX_set_tlsext_ticket_key_evp_cb are #define's that expand to calls to SSL_CTX_callback_ctrl with cmd == SSL_CTRL_SET_TLSEXT_TICKET_KEY_CB.
One option to resolve the above is to stub SSL_CTX_set_tlsext_ticket_key_cb and not call the callback. This in combination with setting a ticketer on the Rustls ServerConfig should be enough to get session ticket resumption working with Nginx 1.24. I tried this briefly and found the aws-lc-rs ticketer was always failing to decrypt-in-place the session ticket provided by curl w/ a resumption connection. More investigation is required.
See also some discussion on https://github.com/rustls/rustls-openssl-compat/issues/18 placed there when I hadn't realized that #18 was client-specific.

In particular using Nginx 1.24.0 with the runner.rs nginx/curl resumption tests causes all requests to the server configurations that are supposed to return "r" from /ssl-was-reused to return "." instead.

This wasn't totally correct, it turned out only port 8446 had the regression. The root cause was in fact related to session ticket support, but specifically an interplay between 1.23.2+ and the shared mode of ssl_session_cache. Quick-fix is to disable session tickets: https://github.com/rustls/rustls-openssl-compat/pull/34
Remaining: figuring out why the rustls ticketer isn't working and how to best support session tickets/shared mode session cache w/ the compat .so.

I tried this briefly and found the aws-lc-rs ticketer was always failing to decrypt-in-place the session ticket provided by curl w/ a resumption connection. More investigation is required.

 More progress in https://github.com/rustls/rustls-openssl-compat/pull/35


Update README.md

wrote some extension for developers. All suggestions are welcome.
In particular, I wasn't sure how do you think about working with people who do not have write permission to the repo, see Pull Requests and CI section

@djarecka, I made a few simplifications and edits to your text. Let me know what you think.
In the longer term (but, relatively soon in reality) I want to simplify all the READMEs even further to point directly to the handbook. I will make sure all relevant dev info goes into the handbook, so nothing from, e.g., this PR would be lost in that transfer.

@waxlamp - thanks for your changes, lgtm. I also merged the current master


[Feature Request] Support  multiple languages in comments

🚀 Feature Request

Motivation
When writing code, you may write comments in multiple languages.
but it is not supported in Move files, which is very inconvenient
Pitch
Are you willing to open a pull request? (See CONTRIBUTING)
yes

https://github.com/move-language/move/issues/262#issuecomment-1190378746 for your reference


[BUG] Nova 2.5.0 Required Rule issue

When updated to Nova 2.5.0, this fields fails to be handled properly as the new isRequired addition. This makes any form pages with this field on it unable to load.
The issue is the rules are generated like:
array:4 [
  "name_extension." => []
  "name_extension.original" => []
  "name_extension.addition" => array:2 [
    0 => "nullable"
    1 => "max:50"
  ]
  "name_extension.condition" => []
]

instead of:
array:4 [
  "name_extension" => []
  "name_extension.original" => []
  "name_extension.addition" => array:2 [
    0 => "nullable"
    1 => "max:50"
  ]
  "name_extension.condition" => []
]

This causes the new "required" check to fail with "undefined index" as it looks for name_extension and not name_extension.
The temporary fix I had, which I was going to submit as a PR asap, unless someone fixes it sooner is just checking the key like (L170 of JSON.php):
return [$this->attribute . ($key ? '.' . $key : '') => $rules];
so that the non-suffixed key exists as nova is expecting.

@ragingdave for some reason Row field can't be used in Nova Actions.  Do you have a fix for that?


fix issue 1226

fix issue1226 for converting to character field

Codecov Report

Merging #1238 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #1238      +/-   ##
============================================
+ Coverage     86.48%   86.48%   +<.01%
- Complexity     5372     5374       +2
============================================
  Files           123      123
  Lines         18805    18807       +2
  Branches       4164     4165       +1
============================================
+ Hits          16264    16266       +2
  Misses         1606     1606
  Partials        935      935

Impacted Files
Coverage Δ
Complexity Δ

...main/java/com/alibaba/fastjson/util/TypeUtils.java
85.37% <100%> (+0.02%)
388 <0> (+2)
: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 2b7dfda...c51a77d. Read the comment docs.


Small changes to test items for 2.0.0 release

No functionality changes in the cookbook; cleaned up a few things in .kitchen.yml and updated the Gemfile to use @afiune's branch.

:+1:


Support PUT/GET/DELETE/HEAD bucket

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:
/kind bug
/kind feature

What happened:
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

Gelato(release/branch) version:
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

This is for feature trace, now it's provided, so close it.


FilterCreateNodeMenuEntries Not working when I create Node by drag

Nodes totally mixed when I have TWO type of graphs.
I can tell them apart by overriding DialogGraphView.FilterCreateNodeMenuEntries(), but that doesn't work when I drag a port to empty place to create new Node. The nodes in create list are totally not filtered.

In CreateNodeMenuWindow.cs:
In CreateEdgeNodeMenu():
replace NodeProvider.GetNodeMenuEntries(graphView.graph)
with graphView.FilterCreateNodeMenuEntries().OrderBy(k => k.path);


[BUG] Even after importing pdx file struct cdef throws 'is not a type identifier'

Describe the bug
I have created a pdx file and imported it into my program so that I can use cdefs with structs since reading online that seemed to be the solution to cdef with structs as a type throwing 'is not a type identifier' but even after creating and cimporting the file it fails. This seems to be the canonical solution based off http://docs.cython.org/en/latest/src/userguide/sharing_declarations.html#the-cimport-statement
To Reproduce
main.py (reduced example):
import raylib
cimport raylib_structs
cdef raylib_structs.Texture2D texture = LoadTexture("resources/textures/texture.png")

raylib_structs.pdx:
cdef extern from "raylib.h":
	cdef struct Texture:
		unsigned int id

	ctypedef Texture Texture2D

which results in (as well as if extern is removed):
main.pyx:3:5: 'Texture2D' is not a type identifier

Expected behavior
Code compiles, texture variable is typed as raylib_structs.Texture2D or if using the original swig bindings without the pdx typed as raylib.Texture
Environment (please complete the following information):

OS: XUbuntu 64-bit
Python version 3.8.6
Cython version 0.29.23

Additional context
I am using bindings generated by SWIG, using the types directly from the SWIG bindings created the initial error of 'is not a type identifier' as well.

raylib_structs.pdx:
which results in (as well as if extern is removed):
main.pyx:3:5: 'Texture2D' is not a type identifier

Is this the only error you get or are there others?
Is pdx above a typo? It should be pxd.

Also "main.py" won't accept Cython-specific syntax (because it's a .py rather than .pyx)

@scoder You're right that it should've been pxd, changing it to such does make the def work (there's a lesson about late night programming here). I'm almost ready to close the issue but the structs still don't seem to operate quite right in that they aren't interopable with those from the SWIG bindings from what I can tell as I get the error:
Traceback (most recent call last):
  File "main.pyx", line 44, in init main
    cdef raylib_structs.Texture2D texture = LoadTexture("resources/textures/texture.png")
  File "stringsource", line 14, in FromPyStructUtility.__pyx_convert__from_py_struct__Texture
TypeError: Expected a mapping, got Texture
happy@happy-pc:~/Documents/python/Raylib/Kusanag

Unless I'm mistaken this is cython throwing the issue but I can't quite get what it means by expecting a mapping (I assume something to do with treating the struct as a python object based on https://github.com/cython/cython/blob/master/tests/run/struct_conversion.pyx#L128 )
@da-woods It should've been pyx that was a type on my part.

LoadTexture is being treated as an arbitrary Python function returning an arbitrary Python object. Cython can convert a dict-like Python object (i.e. a mapping) to a struct. But it looks like that isn't what LoadTexture returns.
I'm fairly convinced this isn't a Cython bug so I'm going to close the issue. I don't know what swig functions return I'm afraid, but I doubt if Cython knows how to get into those objects by default. The cython-users mailing list might be a good place to try to find someone who does.


STORM-3374 remove unnecessary stacktrace from log

Do you have some examples of the kind of exception that gets caught here? It seems weird that we only log this line at info level, since we already filter connection errors out.

Here's an older one I kept from a ways back: https://jira.apache.org/jira/browse/STORM-3374?focusedCommentId=16810783&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16810783

Thanks. Maybe we could log the stack trace at debug or trace level, and keep the info level log without a stack trace? The reason I'm worried about removing it is that the exception handler catches any kind of exception coming out of the Netty channel handlers, so I don't think we can be sure the exception is innocent.
Alternatively we could log IOExceptions at info level without stack trace (with stack trace at debug/trace level maybe), and any other type of exception at error level?

@srdo - updated as you suggested

+1, thanks.

Please squash and I'll merge

@srdo - squashed


Repository "melpa" has a merge conflict:

firstlove-pc% proxychains4 doom update
[proxychains] config file found: /etc/proxychains.conf
[proxychains] preloading /usr/lib/libproxychains4.so
[proxychains] DLL init: proxychains-ng 4.14
[proxychains] DLL init: proxychains-ng 4.14
[proxychains] DLL init: proxychains-ng 4.14
[proxychains] DLL init: proxychains-ng 4.14
[proxychains] DLL init: proxychains-ng 4.14
[proxychains] DLL init: proxychains-ng 4.14
[proxychains] DLL init: proxychains-ng 4.14
> Checking core autoloads file
  ✓ Skipping core autoloads, they are up-to-date
> Updating packages (this may take a while)...
  > Repository "melpa" has a merge conflict:
    [proxychains] DLL init: proxychains-ng 4.14

       1) Abort
       2) Abort merge

    How to proceed? (1, 2) ^C%

What can I do? Is there any debug option when doom update?

You'll have to resolve or abort the merge conflict by hand.
cd ~/.emacs.d/.local/straight/repos/melpa
git merge --abort

# If that's not enough
git reset --hard origin/master

Is this still an issue?

Some investigation described below:

when using 2 - Abort Merge, it shows fatal: There is no merge to abort (MERGE_HEAD missing).
when the message shown, I try to access the folder and run git ls-files --unmerged , no dirty files shown.
when I give up using proxychains, and use all_proxy environment variable, everything works well.

This may be out of Doom's hands, if proxychains is to blame. Perhaps it should be mentioned on straight, or perhaps upstream. I'm not knowledgeable enough on proxies to offer much insight into the matter, sorry to say.

Update the a tip for this bug, we can directly use all_proxy to skip proxychains in this case:
env all_proxy=socks://url-with-port .emacs.d/bin/doom upgrade

Thanks for your help. I'll close this issue.


Feat: Rate us Backend

Describe the feature
@SUGAM-ARORA I want to set up the backend of Rate us page. Kindly assign me this issue.
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@Ojas-Arora Issue assigned to you


An unhandled exception occurred while templating '{{ zookeeper_combined_properties | combine(zookeeper_custom_properties) }}

hi support team,
i encounter one issue when trying to deploy confluent 7.0.1 with ansible playbook as below.
could you please give a hint where may the issue cause... thanks a lot~~

my env:
centos 7
ansible [core 2.12.1]
thanks
regards,
Mark

@qinxuan-chen From CP version 7.x cp-ansible is available as an Ansible collection. Did you follow the docs as described here? https://docs.confluent.io/ansible/current/ansible-download.html#download-ansible-for-ansible-2-11-or-higher-hosts

hi @erikgb ,
thanks a lot~~ i follow the instruction via above link and manage to install ansible 7.0.1 collection.
after that, installation for confluent zookeeper is successful, but hit an error when trying to install confluent server. please refer to the screenshot below, it try to update broker log4j properties file and can not find the log4j properties file in /etc/kafka....
i try to do some trouble shooting , can find the script for zk to create log4j properties file in script roles/zookeeper/tasks/main.yml, but can not find the script where creaet log4j properties for broker..
could you please give a hint where may cause this issue?

thanks~~
regards
mark

@qinxuan-chen I think a default log4j.properties is delivered as part of the kafka-broker package/archive. Please check the package/archive and/or search for log4j.properties on your host(s).

thanks @erikgb , i got the root cause...
log4j.properties (with some other properties file) will be created into /etc/kafka when trying to deploy zookeeper node
(in my case, it is single node of zk & broker in same server , thus log4j.properties is in same folder /etc/kafka)
when i am trying to deploy zk, i hit an error of ansible version issue, so i continue to upgrade python/ansible, and rename folder /etc/kafka (this is key cause) to another name, and retry to deploy zk, but from 2nd try on wards, ansible will not create properties file for zk, other properties file e.g. log4j.properties will not be created any more..
after i uninstall zk and remove anything about confluent, and re-install zk/broker, it is good now.
thanks a lot for your help :-)
case closed

@qinxuan-chen, glad I could help. Please note that co-located hosts (zookeeper and broker on the same host) is a hassle and not really supported. We have a few clusters doing this, but trying to work us out of that now. Just a friendly advice!

currently stage i am just trying cp in testing purpose, not production. production architecture design will separate zk & broker in diff server. thanks a lot for your advice @erikgb  :-)


Property 'hasPassword' appears to be available for OneDrive Business in 1.0 and Beta endpoints despite disclaimer

Despite the disclaimer mentioned for the 'hasPassword' property in Permissions only applying to OneDrive Personal, I am seeing correct data coming back for this property based on the setting of an anonymous link with a password that is actually set in OneDrive for business file systems.
Best I can tell, the 'hasPassword' property and the ability to set the password were both added to the 1.0 endpoint back in April 2020, but it is unclear in the Changelog as to when or if the disclaimer ever applied to OneDrive Personal vs. ODB and Document Libraries.
Note that I have not yet tested whether this behavior is correct for Document Libraries, but that is my next exploration.

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

ID: e509d4f0-a240-05a8-1d12-291a0a1685bc
Version Independent ID: 322f9be4-7921-41d8-78c2-2bdc62f916a3
Content: permission resource type - Microsoft Graph beta
Content Source: api-reference/beta/resources/permission.md
Product: sharepoint
Technology: microsoft-graph
GitHub Login: @JeremyKelley
Microsoft Alias: JeremyKelley

As part of a repository clean up effort we are closing older issues. If this issue remains, please: open a new issue, reference this issue, and provide any additional details that may help in resolution. Thank you for your understanding as we work to improve our responsiveness.


Implement front-end

Sub-tasks

[x] Create the basic homepage
[x] Create the group order section
[x] Create marketplace section
[x] Create navigator for screens
[x] Create group order button
[x] Simulate create/join group

Completed all tasks


Move assets declarations from xchain-util to each packages.

Move assets declarations from xchain-util to each packages.
such as AssetBNB, AssetBTC, AssetETH, ...

closing this issue, Asset declarations are working fine in xchain-util


Use boundscheck(False) in the cython code.

When we build the cython code, it advises to use boundscheck(False) to speed things up.

Curious how much difference this will make.

In one WSI sample, it reduced total processing time by about 1.8% (so not a lot, but measurable).

That's an easy 2% though - good catch on this.


fix windows aarch64 bundle not found

When building windows-aarch64, looking for x64 bundle.

Nice, thank you! Could you also add a changefile similar to this one please? https://github.com/tauri-apps/tauri-action/blob/dev/.changes/fix-tauri-init.md

Nice, thank you! Could you also add a changefile similar to this one please? https://github.com/tauri-apps/tauri-action/blob/dev/.changes/fix-tauri-init.md很好，谢谢！您能否也添加一个与此类似的更改文件？https://github.com/tauri-apps/tauri-action/blob/dev/.changes/fix-tauri-init.md

I have added it


[Nodes Page] Purify unit health component

Successor to #1121
This is part of the wider nodes modularity/refactoring story.
This component is used by two routes:

components/:unitID/nodes/:unitNodeID/
nodes/:nodeID/health/:unitNodeID/:unitID

It is current nested in /system.
I'd especially welcome suggestions on improving the directory structure and the naming pattern.

We need to update the shrinkwrap :)

LGTM! Nice 👍 . I'd merge if tests were passing

Going to fix up these lint errors as part of the rebase and then we can merge.

Cool, thanks. There are a whole bunch of test failures but they're all present on the feature branch too so I think this is safe to merge.


[Storage] [DataMovement] Fix for Uncaught Exception Thrown During Cleanup After Failure

Resolves #39047

Fixes issue where if an exception was thrown when attempting to clean up a failed transfer, without hanging the transfer
Added tests
Changed the TestsEventRaised.AssertSingleFailedCheck to check if more than one failure was thrown during a single transfer.

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


LICENSE?

It would be nice to include LICENSE file, without this file using this repository is basically illegal in most cases.
I propose to use MIT license. More information is provided by github: https://help.github.com/articles/licensing-a-repository/
This can be easily done with github GUI: https://help.github.com/articles/adding-a-license-to-a-repository/

Sorry, I didn't see entry in README.md. Closing.


Leaderboard: Setup project

I used callbacks and promises.
I learned how to use proper ES6 syntax.
I used ES6 modules to write modular JavaScript.
I used webpack to bundle JavaScript.

@muneebulrehman @algerina @Omar-Muhamad Thank you for reviewing my PR


feat: Selfdestruct storage changeset

ref: https://github.com/paradigmxyz/reth/issues/953

Codecov Report

Merging #974 (719c682) into main (c326186) will increase coverage by 0.16%.
The diff coverage is 95.68%.

@@            Coverage Diff             @@
##             main     #974      +/-   ##
==========================================
+ Coverage   73.78%   73.94%   +0.16%
==========================================
  Files         294      294
  Lines       32329    32564     +235
==========================================
+ Hits        23854    24080     +226
- Misses       8475     8484       +9

Flag
Coverage Δ

unit-tests
73.94% <95.68%> (+0.16%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

crates/storage/provider/src/block.rs
62.37% <94.73%> (+0.37%)
:arrow_up:

crates/stages/src/stages/execution.rs
92.36% <94.88%> (+2.09%)
:arrow_up:

crates/executor/src/executor.rs
93.79% <97.33%> (+3.18%)
:arrow_up:

crates/stages/src/test_utils/test_db.rs
66.94% <100.00%> (+2.34%)
:arrow_up:

crates/transaction-pool/src/test_utils/mock.rs
53.11% <0.00%> (-6.60%)
:arrow_down:

crates/transaction-pool/src/pool/txpool.rs
58.87% <0.00%> (-0.50%)
:arrow_down:

crates/net/network/src/session/active.rs
84.84% <0.00%> (+0.18%)
:arrow_up:

crates/stages/src/stages/bodies.rs
92.74% <0.00%> (+0.38%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Update Logging reference with details from Kong Nation post

@thibaultcha shared some helpful details on Kong's log levels and how one might utilize them in various circumstances https://discuss.konghq.com/t/production-kong-log-level/1949/5 - it'd be ideal if those details were added to Kong's logging reference https://docs.konghq.com/0.14.x/logging/ , for the benefit of future visitors to https://docs.konghq.com/

Hi @coopr :wave:
I would like to solve this issue as a part of hacktoberfest

Ok, give it a shot! It'll require a decent understanding of the subject matter, and some thoughtful writing :)


file: 5.39 -> 5.40

Motivation for this change
Version bump.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

changelog https://github.com/file/file/blob/FILE5_40/ChangeLog
2021-03-30  20:21  Christos Zoulas<EMAIL_ADDRESS>
	* release 5.40

2021-02-05  16:31  Christos Zoulas<EMAIL_ADDRESS>
	* PR/234: Add limit to the number of bytes to scan for encoding
	* PR/230: Fix /T (trim flag) for regex

2021-02-01  12:31  Christos Zoulas<EMAIL_ADDRESS>	* PR/77: Trim trailing separator.

2020-12-17  15:44  Christos Zoulas<EMAIL_ADDRESS>
	* PR/211: Convert system read errors from corrupt ELF
	  files into human readable error messages

2020-12-08  16:24  Christos Zoulas<EMAIL_ADDRESS>
	* fix multithreaded decompression file descriptor issue
	  by using close-on-exec (Denys Vlasenko)

2020-06-27  11:58  Christos Zoulas<EMAIL_ADDRESS>
	* Exclude surrogate pairs from utf-8 detection (Michael Liu)

2020-06-25  12:53  Christos Zoulas<EMAIL_ADDRESS>
	* Include # to the list of ignored format chars (Werner Fink)


Add a Back To Top Button

Is your feature request related to a problem? Please describe.
Sometimes, it is not so easy to scroll back to top of the webpage, especially when it is a long page. By adding a "Back to top" button would make the navigation much easier.
Describe the solution you'd like
Adding a "Back To Top" button, located in the lower right corner of the screen, when clicked it would scroll back to the top of the page.
Additional context

This way the "Back To Top" button can be added to easily scroll back to the top.

I would like to work on this enhancement.

I also like to work on it

It would be great if you assign me this

This isn't needed.


FR: Command to bulk rename already existing

I really love the consistency by this plugin and was wondering whether it's possible to add a command that renames all images link in the current note, maybe with a customizable pattern, so only images with "bad" names get renamed?

Lol, this is a planned feature mentioned here. I'll working on it in this weekend.
The purpose of this feature is to rename all the pasted images in old files with lots of images. But I only considered "Pasted image" as the bad pattern since it's the most common cause. Do you think it's necessary to change the pattern? In that case this functionality may be complicated enough to be a new plugin for generic batch renaming.

Lol, this is a planned feature mentioned here. I'll working on it in this weekend.

haha, cool! 😆

But I only considered "Pasted image" as the bad pattern since it's the most common cause.

yeah, but when you use images from other sources (extracted from a website, etc.) they often have other bad patterns, e.g. Untitled 1, Screenshot 2020-04-31, image4 etc. – so I think an option to change the pattern would indeed make sense. not sure whether a new plugin would be necessary though, since  it would use a lot of the functionality offered by this plugin, wouldn't it? 🤔

Got it, reminds me that I also downloaded some articles using the MarkDownload chrome extension, the image names are really a mess, I never thought of renaming them, but it's reasonable that other people think it's necessary.

Here's an example that convinces me to allow customizing the pattern for the batch renaming feature.

not sure whether a new plugin would be necessary though, since it would use a lot of the functionality offered by this plugin, wouldn't it? 🤔

I may be too overthinking, you are right, let's implement it first, don't need to cover all the cases, just focused what we talked about.

This should be good https://imgur.com/6UICugX

Hi @chrisgrieser, the batch renaming feature has been added in 1.3.0, feel free to test it.

Hi, that looks useful, but I was rather thinking of a feature where you apply the existing renaming pattern from the settings, i.e. making the batch renaming an issue of simply pressing a hotkey?

@chrisgrieser simply pressing a hotkey then all the images in the active note are being renamed using the settings pattern, is that it? And without confirmation?

Yep!

There you go, try the Batch rename all images instantly (in the current file) command in 1.5.1

works perfectly, thank you so much 🥳


feat: Retrieve all job listings

Pull Request: [FEAT] - External Dynamic Pages - Job Listings - Retrieve All Job Listings #145
Description
Implemented a feature to retrieve all job listings from the database. This endpoint allows users to fetch job listings with pagination. The response includes job details and pagination information.
Endpoints

GET /api/v1/jobs

Response Format
{
  "message": "Job listings retrieved successfully.",
  "data": [
    {
      "title": "String",
      "description": "String",
      "location": "String",
      "salary": "String",
      "job_type": "String"
    }
  ],
  "pagination": {
    "current_page": "Int",
    "total_pages": "Int",
    "page_size": "Int",
    "total_items": "Int"
  }
}

Manual Testing

Retrieve All Job Listings

Action: Send a request to the GET /api/v1/jobs endpoint.
Expected Result: You should receive a response with the job listings, including the message, data, and pagination fields.

Example Request:
curl -X GET http://localhost:3000/api/v1/jobs

Test Pagination

Action: Send a request to the GET /api/v1/jobs endpoint with query parameters for pagination (e.g., page and pageSize).
Expected Result: The response should include the pagination details with current_page, total_pages, page_size, and total_items.

Example Request:
curl -X GET "http://localhost:3000/api/v1/jobs?page=2&pageSize=5"

Checklist

[x] Implemented an endpoint to retrieve all job listings.
[x] Added pagination to the job listings endpoint.
[x] Validated response format includes message, data, and pagination.
[x] Ensured proper error handling for unexpected issues.

Reference Issue
[FEAT] - External Dynamic pages - Job Listings - Retrieve All Job Listings

@Cobidex
@Heba-WebDev
I have implemented the requested changes please review 🙏

@Heba-WebDev please the requested changes has been made
@buka4rill
@Homoakin619


Version 3.0.0

Landed in https://github.com/metarhia/metautil/commit/32f42e6678aaa64df0060d1e01a5970c7eff32f2

Landed in https://github.com/metarhia/metautil/commit/32f42e6678aaa64df0060d1e01a5970c7eff32f2


uprev to 0.11.1

Codecov Report

Merging #421 (209101f) into main (58555d8) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #421   +/-   ##
=======================================
  Coverage   95.49%   95.49%
=======================================
  Files          90       90
  Lines       10726    10726
  Branches       10       10
=======================================
  Hits        10243    10243
  Misses        482      482
  Partials        1        1

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 58555d8...209101f. Read the comment docs.


ImmutableMappable Support (beta)

I've created a test with immutable mapping and confirm it was failing.
After updating the dependencies (Alamofire and ObjectMapper) the Test is now passing.
The ImmutableMappable feature needs more tests though.
Btw, I didn't commit the submodules after I updated them, only changed the Cartfile. I think is supposed to be this way right? Let me know if I need to change something!
Thanks 👍

Hi @txaiwieser, sorry for the slow review. I just took a look at your branch and merged the latest changes into it. I am not seeing the test new test that you wrote succeed though. I believe this is expected behaviour as to use ImmutableMappable you need to call Mapper using the throwing version of the map function rather than the normal one.
I think we can add ImmutableMappable functionality relatively easily by adding an if case (like this one https://github.com/Hearst-DD/ObjectMapper/blob/master/Sources/Mapper.swift#L99) and calling the appropriate map function.

PR194 adds correct serialization for the ImmutableMappable protocol.

Can we use ImmutableMappable instead of Mappable safely now?


Handle un-ASCII character

Hi, i have some issues when I press CTRL + , a squarre appear next to letter...

What character do you expect to see?


Something is wrong with mnist dataset.

It seems that your code doesn't converge on MNIST dataset. Please check it out, thanks.

@waitwaitforget  it is ok for me. How do you run it? I have the same problem with your issue but i think this issue related to GAN's architecture and we must have some analysis in output to get a good epoch for our convergence that was mentioned in this paper (ALOCC).
My test converge with about 40 epoch at MNIST dataset. I also run it with Fashion-MNIST dataset and ALOCC gives me the wonderful result. I think my paper with some contribution in ALOCC was accepted very soon.

@cod3r0k Well, I just run it as suggested in readme file. But the loss is becoming negative and small. It's a little wired. BTW congratulations on your work.

@cod3r0k Did you changed the hyper-parameters of the model?
I run the script:
python train.py --dataset mnist --dataset_address ./dataset/mnist --input_height 28 --output_height 28 --attention_label 6 --learning_rate 1e-4 --beta1 0.9
The results are like:

Dear Sir/madam
Thank you for your attention (@waitwaitforget @cod3r0k and also some of our
email followers as Lie that mentioned this problem when I check my mail
right now). As I mentioned before, I'm busy and sorry for the late reply.
In the cleaning step of our implementation code, something was changed
involuntarily. I forget to copy our labels in label parameter and I put it
in logit parameter of sigmoid_cross_entropy_with_logits and this makes the
collapse of your running. I change and push it in our repository and I hope
your problem would be solved with this changes.
If you have any further questions, please do not hesitate to contact.
The output of our program by that changes:
[image: reply01.JPG]
The real output of refinement (generator in the concept of GAN) network :
[image: reply02.png]
Thanks a lot for your consideration and collaboration in advance
Best regards,
Mohammad

Dear Sir/madam
Thank you for your attention (@waitwaitforget @cod3r0k and also some of our
email followers as Lie that mentioned this problem when I check my mail
right now). As I mentioned before, I'm busy and sorry for the late reply.
In the cleaning step of our implementation code, something was changed
involuntarily. I forget to copy our labels in label parameter and I put it
in logit parameter of sigmoid_cross_entropy_with_logits and this makes the
collapse of your running. I change and push it in our repository and I hope
your problem would be solved with this changes.
If you have any further questions, please do not hesitate to contact.
Thanks a lot for your consideration and collaboration in advance
Best regards,
Mohammad


WIP: End to end testing image build

Thanks for submitting a PR! Please check the boxes below:

[ ] I have run pre-commit to check linting
[ ] I have filled in the "Changes" section below?
[ ] I have filled in the "How did you test this code" section below?

Changes
TODO
How did you test this code?
docker build -f Dockerfile.e2e -t mattelwell/flagsmith-e2e-tests:latest --platform=linux/amd64 .
docker-compose -f docker-compose-e2e-tests.yml up

Please describe.

When I run it on the EC2 instance, the tests run but I get a random failure, usually around the same spot in the tests (but not exactly the same each time).
frontend_1       |   Create Features
frontend_1       |
frontend_1       | Waiting element visible #features-link
frontend_1       | Waiting element visible #show-create-feature-btn
frontend_1       | Waiting element visible #features-link
frontend_1       | Waiting element visible #show-create-feature-btn
frontend_1       | Waiting element visible #show-create-feature-btn
frontend_1       | Set text [data-test="featureID"] : flag
frontend_1       | Set text [data-test="featureDesc"] : description
frontend_1       | Waiting element visible [data-test="create-feature-btn"]
frontend_1       |  ✖ Submit a Form
frontend_1       |
frontend_1       |    1) AssertionError: expected false to be truthy
frontend_1       |
frontend_1       |       Browser: Chrome 96.0.4664.110 / Linux 0.0
frontend_1       |
frontend_1       |          10 |        .typeText(selector, `${text}`);
frontend_1       |          11 |};
frontend_1       |          12 |
frontend_1       |          13 |export const waitForElementVisible = async (selector) => {
frontend_1       |          14 |    console.log(`Waiting element visible ${selector}`);
frontend_1       |        > 15 |    return t.expect(Selector(selector).visible).ok();
frontend_1       |          16 |};
frontend_1       |          17 |
frontend_1       |          18 |export const waitForElementNotExist = async (selector) => {
frontend_1       |          19 |    console.log(`Waiting element not visible ${selector}`);
frontend_1       |          20 |    return t.expect(Selector(selector).exists).notOk('', {
frontend_1       |       timeout: 10000 });
frontend_1       |
frontend_1       |          at <anonymous> (/srv/flagsmith/e2e/[helpers.cafe](https://helpers.cafe/).js:15:49)
frontend_1       |          at asyncGeneratorStep (/srv/flagsmith/e2e/[helpers.cafe](https://helpers.cafe/).js:1:1069)
frontend_1       |          at _next (/srv/flagsmith/e2e/[helpers.cafe](https://helpers.cafe/).js:1:1407)
frontend_1       |          at <anonymous> (/srv/flagsmith/e2e/[helpers.cafe](https://helpers.cafe/).js:1:1572)
frontend_1       |          at <anonymous> (/srv/flagsmith/e2e/[helpers.cafe](https://helpers.cafe/).js:1:1313)
frontend_1       |          at waitForElementVisible
frontend_1       |       (/srv/flagsmith/e2e/[helpers.cafe](https://helpers.cafe/).js:13:35)
frontend_1       |          at <anonymous>
frontend_1       |       (/srv/flagsmith/e2e/cafe/[environment.cafe](https://environment.cafe/).js:19:11)
frontend_1       |          at asyncGeneratorStep
frontend_1       |       (/srv/flagsmith/e2e/cafe/[environment.cafe](https://environment.cafe/).js:1:156)
frontend_1       |          at _next (/srv/flagsmith/e2e/cafe/[environment.cafe](https://environment.cafe/).js:1:494)
frontend_1       |

This is working if I modify the docker-compose file to build the api:
    flagsmith-api:
        build:
            context: ../api
            dockerfile: Dockerfile
...

Waiting for @kyle-ssg to add a trailing / to this endpoint:
❯ curl 'http://localhost:8000/api/v1/environments/fD2SoyDihbQP8WyVGvjGMG' \
        -X 'PUT' \

Approved but maybe we should have a canonical Chrome version somewhere?

Approved but maybe we should have a canonical Chrome version somewhere?

Yep, that makes sense but we should probably do that in a separate PR. I've created an issue for this here and I'll merge this one for now.


New package: Beeradmoore.dlss-swapper version 1.0.2

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

May I fix up some bugs and rename the identifier for this package? @NicolasConstant

Wouldn't changing the identifier break the update process? Why changing it?
For the bugs, sure. What are they?

WinGet detects installed programs by reading ARP entries (which are written by the installers and can be seen in Programs and Features in Control Panel) and matching them to the packages here. Itself doesn't record any packages (except the portable ones) installed by it. So it is safe to rename the identifier without breaking the update process. (It may break install process though, but it should be fine since this package has just been here for one week).
And to match the ARP entry to the package, the PackageName field in the manifest usually should be the same as the DisplayName ARP entry written by the installer, otherwise the package won't be detected and updated, which is the case here (with <IP_ADDRESS> installed):

I see.
Since I only bootstrapped the profile to help the project's maintainer getting started, maybe @beeradmoore should be aware of this, and if important changes have to be made, it would be his call.

More than happy for people who know more than me to improve product and distribution. So long as someone can explain it to me like I'm 5 before we hit a big red button 😂

That update is now merged in, thanks @SpecterShell. Was there any changes you wanted to make the to manifest here? I figured I'd push <IP_ADDRESS> as it contains Ubisoft fixes and has sat around in pre-release for some time, but if there are other things to tidy up we may as well do both at once.

I was to rename the identifier to Beeradmoore.dlss-swapper to beeradmoore.DLSSSwapper, but if you think the triple "S" inside is hard to recognise then I wouldn't do it. 🙂
There will also be some fixes for the manifest.

I prefer the lower b. As for the rest of it I prefer the - (so beeradmoore.dlss-swapper). We have used a mixture of - or _ as a separator to avoid the triple S. Reddit DLSS_Swapper (ironically moved from DLSSSwapper), Twitter dlss-swapper, repo itself is diss-swapper.
Installer files themselves are DLSS.Swapper-<IP_ADDRESS>-installer.exe because felt odd to have a space, and having it be DLSS-Swapper-<IP_ADDRESS>-installer.exe also felt like too many dashes 😅


Suggestion: publish git tags for releases

While helping out on this Stack Overflow question, it would have been very useful to browse the code at version 0.3.2. Unfortunately, this repo doesn't have any tags present, so we had to use alternate methods.
Additionally, having the tags makes it easier to see code diffs between versions.

Yeah I try to be at least consistent about a "Bump to 0.x.x" commit being a marker for version bumps, but otherwise it's just laziness in general preventing this from being done. I agree it'd be a good idea!

+1 :) Would appreciate that. Like a changelog :)

Ok, I'm gonna try to make sure to do this (have done this retroactively as well)


DB creation failed in Telegraf logs

I am modifying the telegraf.conf file to point to the influx db and I get the error below:
This is when i point to the ip of the influx db container:
[outputs.influxdb] When writing to [http://<IP_ADDRESS>:8086]: database "vmware" creation failed: Post "http://<IP_ADDRESS>:8086/query": dial tcp <IP_ADDRESS>:8086: connect: connection refused
2023-01-02T23:16:33Z E! [outputs.influxdb] E! [outputs.influxdb] Failed to write metric (will be dropped: 401 Unauthorized):

This is when i point to the ip of the docker host:
[outputs.influxdb] When writing to [http://<IP_ADDRESS>:8086]: database "vmware" creation failed: Post "http://<IP_ADDRESS>:8086/query": read tcp <IP_ADDRESS>:60732-><IP_ADDRESS>:8086: read: connection reset by peer
2023-01-02T23:17:27Z E! [outputs.influxdb] E! [outputs.influxdb] Failed to write metric (will be dropped: 401 Unauthorized):

Any suggestions would be greatly appreciated.

If someone stumbles across this post - my problem was that i was attempting to configure the  [[outputs.influxdb]] section instead of the [[outputs.influxdb_v2]] portion of the telegraf.conf file.  this stack is predicated on the .env file variables correctly populating the v2 section based on your config.  There was no need for me to edit the v1 section.


UI should be responsive for mobile devices

The UI is currently not responsive for smaller screen devices. It should adapt properly depending on the user's screen size on mobil, tablet, or desktop.

Included in Terminal Web UI/dated. Closing.


data_range not working

Describe the bug
I tried using the function data_range as written in the examples on the main page, but it outputs the following error:
Uncaught Error: Kernel 'LinSpace' not registered for backend 'undefined'
To Reproduce
Steps to reproduce the behavior:
let data = new dfd.date_range({start:'2021-01-01', freq:'M', period:3});
console.log(data);
Expected behavior
Create a variable ranging from Start to End
Desktop (please complete the following information):

OS: Windows 10
Browser Chrome
Version  92.0.4515.159

Additional context
I am using the CDN

@Riki96 this is working as expected. please use the latest version


xPackage: Fix misnamed variable

Pull Request (PR) description
There's a misnamed variable which causes an error during certain error output.
This Pull Request (PR) fixes the following issues

Fixes #449

Task list

[x] Added an entry under the Unreleased section of the change log in the README.md.
Entry should say what was changed, and how that affects users (if applicable).
[ ] Resource documentation added/updated in README.md.
[ ] Resource parameter descriptions added/updated in README.md, schema.mof
and comment-based help.
[ ] Comment-based help added/updated.
[ ] Localization strings added/updated in all localization files as appropriate.
[ ] Examples appropriately added/updated.
[ ] Unit tests added/updated. See DSC Resource Testing Guidelines.
[ ] Integration tests added/updated (where possible). See DSC Resource Testing Guidelines.
[ ] New/changed code adheres to DSC Resource Style Guidelines and Best Practices.

This change is

Try to trigger AppVeyor rebuild

@johlju What's the plan here? It seems the build has been failing on multiple PRs for a while now.

Sorry have been very busy with the day job. :/ Will be back at it as soon as I can.

See the issue https://github.com/Crypt32/PSPKI/issues/56. We have to wait for the PSPKI module to be rereleased.

Thanks so much for letting me know. Will wait ^^

Codecov Report

Merging #450 into dev will increase coverage by <1%.
The diff coverage is 0%.

@@         Coverage Diff          @@
##            dev   #450    +/-   ##
====================================
+ Coverage    72%    72%   +<1%
====================================
  Files        27     27
  Lines      4016   4016
  Branches      4      4
====================================
+ Hits       2915   2916     +1
+ Misses     1097   1096     -1
  Partials      4      4

All the failed tests are unrelated in xArchive.

Hi @codykonior - can you fix the merge conflicts (again, sorry). But in this case you actually need to move the changed entry from the README.MD into the CHANGELOG.MD due to this now being split out.

Trying to rebase just made everything 100,000x worse.

Aborting this PR, I can't fix this.


disable visibility hidden on old gcc

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

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

Project coverage is 83.62%. Comparing base (bb29dc8) to head (eebdbc2).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1167   +/-   ##
=======================================
  Coverage   83.62%   83.62%
=======================================
  Files          57       57
  Lines        5948     5948
=======================================
  Hits         4974     4974
  Misses        974      974

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


Update preact-redux.d.ts

fixes error
There is such error with:

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
[at-loader] ./node_modules/preact-redux/src/preact-redux.d.ts:277:14
    TS2415: Class 'Provider' incorrectly extends base class 'Component<ProviderProps, {}>'.
  Types of property 'render' are incompatible.
    Type '(props: ProviderProps) => VNode' is not assignable to type '(props?: (ProviderProps & ComponentProps<this>) | undefined, state?: {} | undefined, context?: an...'.
      Types of parameters 'props' and 'props' are incompatible.
        Type '(ProviderProps & ComponentProps<this>) | undefined' is not assignable to type 'ProviderProps'.
          Type 'undefined' is not assignable to type 'ProviderProps'.

For anyone feeling stuck until this is merged (even if I edit the typings locally, it'll fail on CI), I worked around it by:

Downgrading to<EMAIL_ADDRESS>Setting "noImplicitAny": false in tsconfig.json

Hi guys. What with this pull-request?
@arusanov @fend25

@developit Can't see the new version in the releases list or published to NPM. Any news? Thanks


fix: Modals titles nested headers and edit mode nested buttons errors

Category

Bugfix

Overview

Fix browser console error about nested headers upon opening a modal.
Fix browser console error about nested buttons when entering edit mode.

I would suggest to also change the followings:

https://github.com/ajnart/homarr/blob/2b92c989758a72521830817c3da532a4fcbc82b7/src/components/Manage/User/delete-user.modal.tsx#L50
https://github.com/ajnart/homarr/blob/2b92c989758a72521830817c3da532a4fcbc82b7/src/components/Manage/Board/delete-board.modal.tsx#L55
https://github.com/ajnart/homarr/blob/2b92c989758a72521830817c3da532a4fcbc82b7/src/components/Manage/User/Invite/create-invite.modal.tsx#L83
https://github.com/ajnart/homarr/blob/2b92c989758a72521830817c3da532a4fcbc82b7/src/pages/manage/users/invites.tsx#L39
https://github.com/ajnart/homarr/blob/2b92c989758a72521830817c3da532a4fcbc82b7/src/components/Manage/User/Invite/copy-invite.modal.tsx#L69
https://github.com/ajnart/homarr/blob/2b92c989758a72521830817c3da532a4fcbc82b7/src/components/Manage/Board/create-board.modal.tsx#L84
https://github.com/ajnart/homarr/blob/2b92c989758a72521830817c3da532a4fcbc82b7/src/components/Manage/User/change-user-role.modal.tsx#L51
https://github.com/ajnart/homarr/blob/2b92c989758a72521830817c3da532a4fcbc82b7/src/components/Manage/Tools/Docker/docker-select-board.modal.tsx#L135

I would suggest to also change the followings:

All done and then some. Also noticed there was an error triggering when opening the avatar menu because the unstyled button was misplaced


Abbreviation search

I'd like to implement slightly modified fuzzy search which matches only beginning of words and not anywhere inside the word. For example: ab would match alpha_beta but won't match alpha_andbeta (because b doesn't start the word). This feature is usually not implemented in today's "fuzzy" searches but is, IMHO, very useful because it filters results much better.
How hard would be to add this to FZF? Where should I start looking?

Strange, after changing FuzzyMatch in src/algo/algo.go to behave as I proposed, the console utility still matches anywhere in the string. How could that be?

FuzzyMatch is the right function. Given that your implementation is correct, it should work.

The problem was that you use absolute github.com/junegunn/... paths in import directives. I had to change these to my repo so that correct algo.go is picked.

Yes, it's a well known problem in go import paths, google it and you'll find what people are doing to deal with the issue.
Anyway, I'm going to close the issue since I'm not planning to add it to fzf. It's an interesting idea that has some potential, but most of the time, I do want to match letters that are not at the beginning of a word. For example, for sergei-dyshel, it's more natural and straightforward for me to just start typing serg than to think about the exact initials beforehand. And when I need more precise matching, extended-search mode (-x) works extremely well for me. Also, there are more details to consider if we want to properly support the feature. e.g. unicode characters, how to define word boundaries, what about uppercase letters, what if someone wants to customize it, how to toggle between the mode and the ordinary matcher, etc.

That's is the point! sergdy is abbreviation for sergei-dyshel ( - is considered word separator) as well as sd and s-d. That's how most of the people most of the time search files, identifiers - they see them as sequence of short words so they start to type first letters of words and expect to see words starting with these letters.
Personally, I'm using fzf exclusively for history matching in zsh, since I'm working 9 hours a day in Linux terminal and I use multi-line commands frequently (thanks to your tool, it made a revolution in my workflow :smile: ). So, if I want to repeat sudo pkill qemu command, I'd type spq but "traditional" fuzzy matcher will suggest me half of my 10,000 lines of history which contain these letters anywhere in the line. With abbreviation search, I can get to this command much faster.
Anyway,  I do realize that there is much more work to do in order make this feature properly and integrate with fzf. But if people will demand it, I'd like to contribute!

I see. Reverse history search is an exceptional case since sorting is disabled by default (ctrl-r needed to enable). Considering sorting, the reason we type in ser instead of just s is that it gives higher priority to the "better" matches. We don't always know the exact initials of the words. Let's assume that we do know that the entry we want starts with sergei but we do not remember the initials of the words that follow. So we need to see what are the options. Simply typing in s is unlikely to bring the entries of our interest to the front. So we type in additional letters, serg, then we'll likely to see serg-c, sergei-dyshel, sergei-e..., etc. Aha, dyshel is what we want! So we type in d to further narrow down the candidates.
So my point is that even though the idea makes sense in some cases, it is definitely not a panacea, and we need a way to use the original matcher as well. One idea might be to add a special syntax to the extended-search mode, but we have to be careful not to make things complex.

We'll work it out! :smile:
In the meantime, I've just released my first VIM plugin which implements my idea for CtrlP and Unite - two popular fuzzy finders.  There, in GVim world where FZF is unfortunately not available,  all irrelevant candidates just make things so slow, so I had to propose something. Let's see what people think of it!