Raw/Serde payloads in context client

We currently have an internal method ctx.invoke that lets people invoke services with raw payloads. On the ingress side, we have an option raw that allows people to achieve the same goal.
It would be nice to let people write some code like ctx.serviceClient(greeter).transcribeAudio(new Uint8Array([1, 2, 3])), or something along the same lines, and also unify such experience across ingress and context client.

Discord thread https://discord.com/channels/1128210118216007792/1262172487366606878

Solved by https://github.com/restatedev/sdk-typescript/commit/38fa97cfca0b3aaa970ce843c15f918c9541b718


refactor(clean): clean snapshots - msw serveruse - clean enum - fix d…

delete some snapshots
delete enums
perform msw customRender, use serverUse of msw
fix disabled option of oidc
refactor custom Loader
catch fetch error server (when server not respond)

Types of changes

[ ] Update npm packages
[x] Bug fix (non-breaking change which fixes an issue).
[ ] New feature (non-breaking change which adds functionality).
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected).
[ ] Performance improvement
[x] Refactoring (so no functional change)
[ ] Other (docs, build config, etc)

Checklist:

[x] I've added tests for my code. (most of the time mandatory)
[ ] I have added an entry to the changelog. (mandatory)
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

Codecov Report

Merging #68 (614338f) into main (1c59d34) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #68   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          151       151
  Lines         7250      7300   +50
  Branches       695       702    +7
=========================================
+ Hits          7250      7300   +50

Files
Coverage Δ

src/App/FetchProvider/FetchProvider.helpers.ts
100.00% <100.00%> (ø)

src/App/FetchProvider/FetchProvider.tsx
100.00% <100.00%> (ø)

.../App/NotificationProvider/NotificationProvider.tsx
100.00% <100.00%> (ø)

src/App/NotificationProvider/Notifications.hook.ts
100.00% <100.00%> (ø)

...ifications/Notification/Notification.container.tsx
100.00% <100.00%> (ø)

...ovider/Notifications/Notification/Notification.tsx
100.00% <100.00%> (ø)

...Provider/Notifications/Notifications.container.tsx
100.00% <100.00%> (ø)

...tificationProvider/Notifications/Notifications.tsx
100.00% <100.00%> (ø)

src/App/Routes/RouteSecure/RouteSecure.tsx
100.00% <100.00%> (ø)

src/App/Routes/Routes.tsx
100.00% <100.00%> (ø)

... and 19 more


Fixed unused variable warning from gcc.

This makes it so that ntcore builds with -Wextra -Werror

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

@frcjenkins test this please

@frcjenkins retest this please


Kotlin 1.9.22 / Compose compiler 1.5.7 support

Hi,
could you support Kotlin 1.9.22 / Compose compiler 1.5.7?
Thanks!

Hi, thanks for reporting. I'm om vacation until end of month and can't publish until then unfortunately, I can make a PR when I have some time to spare though, and you could build from that branch in the meantime if that works?

meanwhile the combination
kotlin 1.9.22
compose compiler 1.5.8
popped up (see https://developer.android.com/jetpack/androidx/releases/compose-kotlin)
would be good to support that instead.

Sorry about the wait @vassilisimon @robert-schuster-rtl. I've published 0.7 now. It support Kotlin 1.9.22 and Compose compiler 1.5.8


feat: allow to specify Go version

This PR adds -go flag to specify Go version. This is needed for golangci-lint to skip running tenv if the Go version is lower than 1.17. Because T.Setenv was added in go1.17.

Hello @sivchari,
I hope this message finds you well. When you have a moment, could you please review this? Your feedback would be greatly appreciated. Thank you in advance!

Hello @alexandear
Sorry, I've missed your commits. I'll check it this week.
Thank you for your best contribution.

Hi, @alexandear
Do you have a time to work on this ?

How about extracting the Go version from go.mod ? If the options is passed, tenv use it, but if not set, it does search from go.mod.

Loading the Go version from go.mod is not straightforward.
For example, the gosec team did this in https://github.com/securego/gosec/pull/1119. However, this led to a performance problem, as seen in https://github.com/golangci/golangci-lint/issues/4735.


SH try to place unexisting controllers

with the oculus CV1 (no controlers but a remote), the gamepad api generate controllers associated to a hand, without position and orientation.
Causing Superhand to generate 2 fake touch controlers spining on themself, or in the same position without moving at all or a gearvr controler;  (every case depend on the use case)

I think this is the same as #128 . Please reopen if you experience this while using A-Frame v0.8.2

On this picture, the CV1 is detected.
My suggestion is to detect "gamepads[i].pose.hasOrientation != false" before  adding the controler if it is not already done.

Thanks for the update. super-handsdoes not handle the gamepad api directly, so this appears to be an issue with the oculus-touch-controls component in A-Frame. Please report it there https://github.com/aframevr/aframe/issues
If you just want to support the rift without controllers, you can remove progressive-controls and use super-hands directly instead


Feature Request: Rich Markers

Add support for DOM-based markers.
Based on this NPM package:
https://www.npmjs.com/package/js-rich-marker

PR's welcomed!

Good implementation here: https://github.com/istarkov/google-map-react/blob/master/src/google_map_markers.js

Any update on this?


Replace $(TYPEDSIGNATURES) with function definition in all files

Since we decided to not depend on DocStringExtensions.jl anymore, all instances of $(TYPEDSIGNATURES) need to be replaced by the function definitions.

[ ] replace definitions
[ ] remove dependency

Fixed in #38


Update Bazel to 7.1.0

This update finally allows us to check in the MODULE.bazel.lock file.

This change is

Still doesnt work. Will send another one.


build stopped: subcommand failed. (IDFGH-5073)

idf.py build,failed.

@1289737137 Thanks for reporting. Would you please help provide more details as suggested in the issue template? Information like elf, sdk configuration, backtrace, log outputs, commit ID, hardware and etc. would help us debug further. Thanks.

Thanks for reporting, will close due to short of feedback, feel free to reopen with more details. Thanks.


stop displaying "-30744" after completion

Example:
foo.mp4 100% [####################] -30744

this seems to come from the Progress library directly when using eta, as I see it happening on their example https://github.com/craigfe/progress/blob/main/examples/download.ml


[cli] add multiple filter conditions support

The existing cli command cannot filter multiple conditions.
For example,
python -m ccfddl --sub ai # supported
python -m ccfddl --sub ai cg # not supported
python -m ccfddl --sub db --conf cvpr vr sigmod # not supported

I will new a PR to fix this.

Another enhancement could be the human-centric way of days left.
Current output:
CVPR2024            │ AI    │ A      │ 55 days, 9:48:33.058982   │ https://cvpr.thecvf.com/Conferences/2024

Maybe we could do like this:
CVPR2024            │ AI    │ A      │ in 2 days   │ https://cvpr.thecvf.com/Conferences/2024
CVPR2024            │ AI    │ A      │ in 55 days   │ https://cvpr.thecvf.com/Conferences/2024
CVPR2024            │ AI    │ A      │ in 1 year   │ https://cvpr.thecvf.com/Conferences/2024

maybe output can be colorized according to how much left, but let's fix this first.


Istio 1.4 - Ingressgateway pods keep connect to the terminated upstream endpoints

Bug description
I've been using istio v1.4.9 for a few months on many GKE clusters without issues, but this is the first time I got thousands of error 503 after deploying application. The deployment happens to scale up number of pods to x2 then scale down, it supposed to be no errors during this time. But in some Istio ingressgateway pods, they kept connections to the terminated upstreams pod for about 15 minutes. I've checked the errors duration is 15m after the deployment finished.
Istio wasn't have debug enabled, so I don't know is there any way to debug this kind of error?
[ ] Docs
[ ] Installation
[x] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Expected behavior
Istio ingressgateway drop connections of unhealthy upstreams
Steps to reproduce the bug
Version (include the output of istioctl version --remote and kubectl version and helm version if you used Helm)
control plane version: 1.4.9
data plane version: 1.4.9 (12 proxies)

How was Istio installed?
Helm chart
Environment where bug was observed (cloud vendor, OS, etc)
GKE 1.15

This issue happened once. I'll reopen if there's more details.


Update all mentions of "person(s)" / "contact(s)" to "student(s)"

Closing because this is extremely involved and can make our codebase very confusing. The word "Person" is all over the place, with multiple classes all around. Not a worthy endeavor.
	modified:   docs/DeveloperGuide.md
	modified:   docs/tutorials/RemovingFields.md
	modified:   docs/tutorials/TracingCode.md
	modified:   src/main/java/seedu/address/commons/core/Messages.java
	modified:   src/main/java/seedu/address/logic/Logic.java
	modified:   src/main/java/seedu/address/logic/commands/FindCommand.java
	modified:   src/main/java/seedu/address/logic/commands/ListCommand.java
	modified:   src/main/java/seedu/address/model/ReadOnlyAddressBook.java
	modified:   src/main/java/seedu/address/model/person/Person.java
	modified:   src/main/java/seedu/address/model/person/UniquePersonList.java
	modified:   src/main/java/seedu/address/model/person/exceptions/DuplicatePersonException.java
	modified:   src/main/java/seedu/address/storage/JsonSerializableAddressBook.java
	modified:   src/main/java/seedu/address/ui/PersonListPanel.java
	modified:   src/test/data/JsonAddressBookStorageTest/invalidAndValidPersonAddressBook.json
	modified:   src/test/data/JsonAddressBookStorageTest/invalidPersonAddressBook.json
	modified:   src/test/data/JsonSerializableAddressBookTest/duplicatePersonAddressBook.json
	modified:   src/test/data/JsonSerializableAddressBookTest/invalidPersonAddressBook.json
	modified:   src/test/data/JsonSerializableAddressBookTest/typicalPersonsAddressBook.json
	modified:   src/test/java/seedu/address/logic/commands/AddCommandTest.java
	modified:   src/test/java/seedu/address/testutil/TypicalPersons.java


Issues with Wallet Connect: 1inch swap tx link broken

Overview
Listing different issues found when connecting Shapeshift to another dApp using Wallet Connect
References and additional details
Attempting a swap using native wallet connect to 1inch (usdc to eth). Signed tx in app.shapeshift and then 1inch said the transaction was sent but if you check the etherscan it gives the link below. getting console errors on shapeshift.
https://etherscan.io/tx/0xf9012f8202e9847356851083029cde941111111254eeb25477b68fb85ed929f73a96058280b8c80502b1c5000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000001312d00000000000000000000000000000000000000000000000000002b0b5291691efa0000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000140000000000000003b6d03403aa370aacf4cb08c7e1e7aa8e8ff9418d73c7e0fe26b997726a010231f660de006004a62c17fb87a4636a5337e69f8fc46e8f93cecba50ebbb86a0634f40d4013ccd9437d2831f8bdf0f40bd35564005b30563d7a707df325aa869

Acceptance Criteria
Should be able to sign and complete transaction in connected dApps
Need By Date
No response
Screenshots/Mockups
No response
Ownership

[X] If my bounty needs engineering or needs product I have added the respective labels on the right
[X] As the sponsor of this bounty I will review the changes in a preview environment (ops/product) or review the PR (engineering)

Estimated effort
No response
Sponsor / Stakeholder
No response
Bounty Hunters

Join our discord
Include an expected timeline for you to complete work in the work plan when you apply for this bounty!
Please refer to this link for some basic info
Please do not start work on this issue until you are approved in Gitcoin.

RE point 6 - this is 1inch, not us. They generate that buggy url:

https://etherscan.io/tx/0xf9014d2a8468acc4f183033298941111111254eeb25477b68fb85ed929f73a96058280b8e80502b1c5000000000000000000000000c770eefad204b5180df6a14ee197d99d808ee52d00000000000000000000000000000000000000000000000564ddb92db418a32800000000000000000000000000000000000000000000000000000000001f8c4f0000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000280000000000000003b6d0340470e8de2ebaef52014a47cb5e6af86884947f08c00000000000000003b6d034026642be81ffd799b8588a5602758d1f34e9ff7bae26b997725a035d725da1540d4a7d125f05b67cd50a41d6e319d3829c6b55ea0ce78538053c4a014c852a62b133d627a2ecdf1a1c141a3781a1d1f030b94696ff16064a642a109

closing as commented, not something on our side

will double check with trust wallet

trust wallet working - this issue is on our side


How to reallize 3D CNN with Keras to learn spatio-temporal Features from Video sequence?

Hi, I am interested in that how to use the existed Keras to realize 3D-CNN to learn spatio-temporal Features from Video sequence, as described in following papers? the key step is how to realize 3D-Convoution and 3D-pooling.
3D convolutional neural networks for human action recognition-2013-ICMI;
Learning Spatiotemporal Features with 3D Convolutional Networks_2015-ICCV
Could you please give an answer?

I found it in a pull request : #718

I encoutered the same error when the inputs are 5D tensor:
Exception: ndim too large: 5
Then I add the two lines code at File "build/bdist.linux-x86_64/egg/keras/backend/theano_backend.py", line 55, in placeholder as following:

elif ndim == 5:
return T.TensorType('float32', (False,) * 5, name=name)
Then it raises another error:
Traceback (most recent call last):
File "C:\Anaconda\dl_modules\keras\examples\simple_test.py", line 23, in
model.compile(optimizer='sgd', loss='mse')
File "c:\anaconda\dl_modules\keras\keras\models.py", line 420, in compile
train_loss = weighted_loss(self.y, self.y_train, self.weights, mask)
File "c:\anaconda\dl_modules\keras\keras\models.py", line 82, in weighted
score_array = fn(y_true, y_pred)
File "c:\anaconda\dl_modules\keras\keras\objectives.py", line 7, in mean_squared_error
return K.mean(K.square(y_pred - y_true), axis=-1)
TypeError: unsupported operand type(s) for -: 'TensorVariable' and 'TensorType'
How to fix it ?


Unicam timing out - RPiCam not publishing

Which version are you using?
v i.d.k aler9/rtsp-simple-server:latest-rpi pulled 04/04/23
Which operating system are you using?

[ ] Linux amd64 standard
[ ] Linux amd64 Docker
[ ] Linux arm64 standard
[ ] Linux arm64 Docker
[ ] Linux arm7 standard
[ ] Linux arm7 Docker
[ ] Linux arm6 standard
[:zero:] Linux arm6 Docker
[ ] Windows amd64 standard
[ ] Windows amd64 Docker (WSL backend)
[ ] macOS amd64 standard
[ ] macOS amd64 Docker
[ ] Other (please describe)

Describe the issue
When I'm running the latest-rpi docker image I get a warning about a mismatch between Unicam and CamHelper, and when I go to view the stream in my browser I get a 404 page not found. I also noticed when I go back to the log after requesting stream in the browser it's saying [muxer cam] destroyed (no one is publishing to path 'cam'). I turned on the legacy interface for the RPiCam and ran vcgencmd get_camera and the pi shows the cam supported and detected. Went back and turned off the legacy interface restarted the Pi and reran the docker image to only still got the same error.
Describe how to replicate the issue

start the RPi
run the container image
"docker run --rm -it
--network=host
--privileged
--tmpfs /dev/shm:exec
-v /run/udev:/run/udev:ro
-e MTX_PATHS_CAM_SOURCE=rpiCamera
aler9/rtsp-simple-server:latest-rpi"
Did you attach the server logs?

yes

Did you attach a network dump?

no

Hello, what is the output of command libcamera-still ?

https://i.imgur.com/6HS9k6M.png
https://i.imgur.com/5DnC0ck.png
https://i.imgur.com/MacvIkq.png
ran the libcamera-still with and without the docker container running to show both outputs.
Other steps I've tried:

Changing the PI config to specify IMX219 for the rpiCamv2
turning off camera-auto-detect in the config, both setting it to =0 and # commenting out the line entirely
enabling glamor
setting the GL driver to GL (Full KMS)

If libcamera-still or libcamera-vid don't work with your specific camera, there's nothing that can be done in the server, since the server uses the same backend (libcamera). When adding support for the camera into the server, we chose to use the libcamera backend since the legacy one is deprecated.
Contact the maintainers of libcamera and describe your issue.


Downgrade untrusted label definitions

Is your feature request related to a problem? Please describe.

Moderation services have the ability to create new labels that are set to hide content by default.
This poses a serious risk as a new user testing out an (untrusted) moderation service could see parts of their feed hidden away from them without notice, and they'd have no idea until they noticed the label in question.
Describe the solution you'd like

Hide-by-default label definitions should be downgraded to warn-by-default.
There should be a toggle to "trust this moderation service" where it disables that downgrade functionality.
Describe alternatives you've considered

I would've just removed hide-by-default entirely but given that it mainly exists for Bluesky's own moderation service it's not really an option I suppose.
Additional context

N/A

It feels to me like the baseline is having apps/clients draw attention to "hide" defaults when signing up. Adding friction to labelers which intend to hide content (eg, abusive/harmful content) feels like unwanted friction to me.
A biggest concern to me, one that we discussed but I don't think ended up implementing yet, is preventing labelers from updating their declaration records in a way that expands their impact. Eg, a "badge-only" labeler could add a new label with default-hide behavior, and start hiding content. In that situation users wouldn't even realize they had granted permissions. I think that kind of update specifically should be treated like a mobile app requesting a change of permissions: get a notification/alert and need to approve (with option to un-subscribe or change settings) before the changes take effect.

This is sort of why I'm proposing an all-or-nothing preference where you can trust the labeler and allow their defaults.
It would be nice if we have diffs where you can review over the changes for sure, but I'm wary this could also be a little overwhelming? depends on how often labelers change their definitions.
I don't know how Bluesky app is implementing preferences for this but it's also not clear whether the preference for a specific label is the "default" or user-set.


add pagination for perms/lists

This should fix https://trello.com/c/RT5VNWi9/125-issue-113-w-rp-doesn-t-shows-list-of-permissions-sometimes


Update docs.md

超接失效，貌似应该指向这个链接

Thanks a lot for your contribution. @Pandoraemon
I am afraid conflict happens. Could you help to rebase the branch? And then we can definitely move this on.


Add env and extra_params to reload_kedro() line magic

Description

Identical to https://github.com/quantumblacklabs/kedro/pull/664 - trying to get CI to run.
Development notes

Checklist

[x] Read the contributing guidelines
[ ] Opened this PR as a 'Draft Pull Request' if it is work-in-progress
[ ] Updated the documentation to reflect the code changes
[ ] Added a description of this change and added my name to the list of supporting contributions in the RELEASE.md file
[ ] Added tests to cover my changes

Notice

[x] I acknowledge and agree that, by checking this box and clicking "Submit Pull Request":

I submit this contribution under the Apache 2.0 license and represent that I am entitled to do so on behalf of myself, my employer, or relevant third parties, as applicable.

I certify that (a) this contribution is my original creation and / or (b) to the extent it is not my original creation, I am authorised to submit this contribution on behalf of the original creator(s) or their licensees.

I certify that the use of this contribution as authorised by the Apache 2.0 license does not violate the intellectual property rights of anyone else.

Resolved via linked PR.

Resolved via linked PR.


The library doesn't work with multipple modules.

Hello Dear,
The lib doesn't support multipple SPI LoRa modules.
When i create a multipple SX126x() objects all seams to work. But in reality it works with only 1 module.
Here what i modified in the library and now it is all works:
Removed this:
spi = spidev.SpiDev()
Added this:
self._spi = spidev.SpiDev()
to def setSpi function of the object.
Please confirm it is right. And may be add to the lib. So people can use multiple modules.

Hello dear,
Actually you can use multiple SX126x object to transmit and receive.
You just need call setActive() method on the object before call beginTransmission() or request() method.

Dear @chandrawi
I think you are talking about Arduino SPI work.
I am running your library on RPi.


Added /dsm endpoint for node.js

Description

Motivation

Additional notes

@ida613  Could you resolves conflicts  before I can review it please ?

There is too much code to rebase, I'm gonna create a new fork and manually add the changes there


MySQL OperationalError: (1093, "You can't specify target table 'wagtailimages_rendition' for update in FROM clause")

This is just the fresh install migrations of wagtail==0.8.5 Django==1.7.5 and MySQL  5.6.19-0ubuntu<IP_ADDRESS> and
Keep in mind this error doesn't happen with neither PostgreSQL nor SQLite.
what seems to be wrong here? and how to solve it?
Applying wagtailimages.0004_make_focal_point_key_not_nullable...Traceback (most recent call last):
File "manage.py", line 17, in
execute_from_command_line(sys.argv)
File "/home/is7yx/.virtualenvs/lux/local/lib/python2.7/site-packages/django/core/management/init.py", line 385, in execute_from_command_line
utility.execute()
File "/home/is7yx/.virtualenvs/lux/local/lib/python2.7/site-packages/django/core/management/init.py", line 377, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/is7yx/.virtualenvs/lux/local/lib/python2.7/site-packages/django/core/management/base.py", line 288, in run_from_argv
self.execute(*args, **options.dict)
File "/home/is7yx/.virtualenvs/lux/local/lib/python2.7/site-packages/django/core/management/base.py", line 338, in execute
output = self.handle(*args, **options)
File "/home/is7yx/.virtualenvs/lux/local/lib/python2.7/site-packages/django/core/management/base.py", line 533, in handle
return self.handle_noargs(**options)
File "/home/is7yx/.virtualenvs/lux/local/lib/python2.7/site-packages/django/core/management/commands/syncdb.py", line 27, in handle_noargs
call_command("migrate", **options)
File "/home/is7yx/.virtualenvs/lux/local/lib/python2.7/site-packages/django/core/management/init.py", line 115, in call_command
return klass.execute(*args, **defaults)
File "/home/is7yx/.virtualenvs/lux/local/lib/python2.7/site-packages/django/core/management/base.py", line 338, in execute
output = self.handle(*args, **options)
File "/home/is7yx/.virtualenvs/lux/local/lib/python2.7/site-packages/django/core/management/commands/migrate.py", line 161, in handle
executor.migrate(targets, plan, fake=options.get("fake", False))
File "/home/is7yx/.virtualenvs/lux/local/lib/python2.7/site-packages/django/db/migrations/executor.py", line 68, in migrate
self.apply_migration(migration, fake=fake)
File "/home/is7yx/.virtualenvs/lux/local/lib/python2.7/site-packages/django/db/migrations/executor.py", line 102, in apply_migration
migration.apply(project_state, schema_editor)
File "/home/is7yx/.virtualenvs/lux/local/lib/python2.7/site-packages/django/db/migrations/migration.py", line 105, in apply
operation.database_forwards(self.app_label, schema_editor, project_state, new_state)
File "/home/is7yx/.virtualenvs/lux/local/lib/python2.7/site-packages/django/db/migrations/operations/special.py", line 117, in database_forwards
self.code(from_state.render(), schema_editor)
File "/home/is7yx/.virtualenvs/lux/local/lib/python2.7/site-packages/wagtail/wagtailimages/migrations/0004_make_focal_point_key_not_nullable.py", line 12, in remove_duplicate_renditions
""")
File "/home/is7yx/.virtualenvs/lux/local/lib/python2.7/site-packages/django/db/backends/schema.py", line 103, in execute
cursor.execute(sql, params)
File "/home/is7yx/.virtualenvs/lux/local/lib/python2.7/site-packages/django/db/backends/utils.py", line 65, in execute
return self.cursor.execute(sql, params)
File "/home/is7yx/.virtualenvs/lux/local/lib/python2.7/site-packages/django/db/utils.py", line 94, in exit
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/home/is7yx/.virtualenvs/lux/local/lib/python2.7/site-packages/django/db/backends/utils.py", line 65, in execute
return self.cursor.execute(sql, params)
File "/home/is7yx/.virtualenvs/lux/local/lib/python2.7/site-packages/django/db/backends/mysql/base.py", line 129, in execute
return self.cursor.execute(query, args)
File "/home/is7yx/.virtualenvs/lux/local/lib/python2.7/site-packages/MySQLdb/cursors.py", line 205, in execute
self.errorhandler(self, exc, value)
File "/home/is7yx/.virtualenvs/lux/local/lib/python2.7/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
raise errorclass, errorvalue
django.db.utils.OperationalError: (1093, "You can't specify target table 'wagtailimages_rendition' for update in FROM clause")

This is a known issue: https://github.com/torchbox/wagtail/issues/541
MySQL is currently not support :(

This specific bug has been fixed in #827. As @m-sanders says, there's still no official MySQL support, but git master (and the forthcoming 0.9) have no known blocking MySQL bugs.

Thanks @m-sanders  and @gasman. planning to PostgreSQL is a good idea I believe


fixed issue#365 with design guidelines

Pull Request Template

Please provide all of the details below. Pull requests missing any of the information below will be closed!
Providing the issue number/url helps us identify the problem being solved and keep the issues tab clean and tidy

What issue does this fix?
Summarize what this PR fixes:- Changed the company logos to white added desctiption to the company-banner according to the design guidelines and changed the background to --purple variable described in global.css
What issue is it attached to?
Fixes #365
Checklist
(Add an x between the brackets to check the items)

[x] I have summarize what this PR fixes above
[x] I have provided the issue ID/URL above
[x] I have not added Bootstrap or jQuery and used correct styling guide.
[x] This PR fixes only the issue mentioned above (create separate PRs for separate issues)
[x] I was the first one to claim the issue or I created the issue

@NavjotBansal this looks great, unfortunately, someone else claimed this first. I will give them 24 hours to complete, otherwise, I'll pull this in.

Closing this one, since the original person completed the issue.


Show friendly/added names in app

I really love your app, but I have one slight problem with this app: it does not show "friendly names" in the query logs. The names, however, show up in the web interface.

Is there any possibility that the ability to show friendly names can be added to the app?

Hi. Go to Settings > General Settings and enable Show name and time on logs.

Thanks so much @JGeek00 that worked


Read-only access to remotely owned volumes

Replaced by https://clusterhq.atlassian.net/browse/FLOC-375
The plan for accessing data that is remotely owned has been to use a "branching" operation (which is effectively free in ZFS) which we're planning on adding in a future release. So you would branch a remotely owned volume and now you have your own local copy you can both read and write to.  However, once you've branched you stop getting updates to this branch.
It would be useful to have a read-only continuously updated access to a remote volume, for e.g. a web server serving files.
One way to do this is just mount the volume read-only. I have observed that mounting in ZFS often seems to actually end up writing some data, and therefore diverging from the origin, even if you haven't written any data to the filesystem. So at that point what you have is no longer a clean replica and further incremental pushes (pending #46) become problematic. We should figure out out why this is (atime maybe? any ideas @avg-I ?), and it may be that mounting read-only will fix this.
Alternatively the ZFS clone mechanism could be used to simulate read-only volumes if the mounting-mutates-ZFS-dataset problem is not solvable.

We are moving our development planning to JIRA. This issue is now being tracked at https://clusterhq.atlassian.net/browse/FLOC-375. You are welcome to file additional issues in GitHub if that's easier for you.


Add the ability to verify the availability of locale available for installation

Will be available in version 4.1.0


Ajax passed data with the same id but updated text is not updated.

What steps can be used to reproduce the issue?

Just type a new value that the ajax processor returns as not found in database, with a placeholder id (eg: "custom_request"), like "bomb".
The data array returned to the select2 is: ['id'] => 'custom_request' ; ['text'] => 'bomb'
Type a new value instead of the old one, that returns the same placeholder id "custom_request", but with a new text, like "dabomb".
At this point, the data array returned to the select2 is: ['id'] => 'custom_request' ; ['text'] => 'dabomb'
You select it from the list, but the text is not updated (in the gif I tried another value ("what") with the same result: "bomb" remains selected.

A gif of the issue:

What is the bug and what is the expected outcome?
I'm expecting the text to be updated (ajax processor correctly passes new text values to the select2)
What browser(s) and Operating System have you tested with?
Windows 7 sp1 64bit, google chrome and firefox
Does the bug happen consistently across all tested browsers?
Yes
What version of jQuery are you using? And what version of Select2?
I'm using jQuery 2.1.4 and Select2 4.0.1
Are you using Select2 with other plugins?
jQuery UI Datepicker is loaded in the same page

+1 I have the same issue


tiny typo in debugger-launchjson.md

Remove a stray asterisk.
Does not look intentional, and does not work as it was.

@qayshp Thanks for fixing this!


drivers: display: ssd1306: do not re-declare errno

errno is a reserved macro. Use ret instead.
Fixes a bug introduced with commit bfb541ccbe811af8a0e676c472bd7a42f08b938a / PR #74885
Fixes #76751.

Not sure why this wasn't caught in CI -- maybe something that's specific to Xtensa toolchain or something, as the compilation error doesn't occur for e.g a Cortex-M target.

Not sure why this wasn't caught in CI -- maybe something that's specific to Xtensa toolchain or something, as the compilation error doesn't occur for e.g a Cortex-M target.

I might be wrong but Xtensa does not seem to have thread local storage support (ARCH_HAS_THREAD_LOCAL_STORAGE). So picolibc sets errno to z_errno_wrap function and the error in the linked issue is encountered when errno is used like a variable.
https://github.com/zephyrproject-rtos/picolibc/blob/main/meson.build#L1343-L1347
elif errno_function == 'zephyr'
  if thread_local_storage
    errno_function = 'false'
  else
    errno_function = 'z_errno_wrap'
  endif
endif

You are doing more than fixing the issue. I only introduced int errno in ssd1306_set_iref_mode, not in ssd1306_write_bus_spi. I think we should not rush that and try to reproduce the issue and add a test (twister compile or something) to ensure that this doesn't happen again.
I will try to investigate a bit, in the meantime I am adding DNM. @kartben if you disagree with me or have more understanding of the issue, feel free to remove it :slightly_smiling_face:

This is a good enough fix. I am removing the DNM as the underlying issue can be investigated later.


Path-based sub-package dependencies are unknown

Problem
This dub.json file build:
https://github.com/d-gamedev-team/gfm/blob/master/examples/simplehttp/dub.json
but this one does not:
https://github.com/d-gamedev-team/gfm/blob/master/examples/simplegl/dub.json
How are they different? The second one relies on a sub-package which has itself a dependency on a fellow sub-package.
If I add all tree dependencies explicitely in the dub.json, then it works, but it's only a work-around.
Output
Error executing command run:
Unknown dependency: gfm:core

Problem still persists?

Yep.
How to reproduce
Use a clean DUB install (tested with version 1107b465bc963899b87d57bf60e7f68319cc88af).
Build that project:
https://github.com/d-gamedev-team/gfm/blob/master/examples/simpleshader/dub.json
The interesting part is that it depends on path based package gfm:opengl which depends itself on gfm:math (they are in the same parent package).
Output with DUB
C:\Users\ponce\github\gfm\examples\simpleshader>dub
Fetching logger 0.3.3 (getting selected version)...
Placing logger 0.3.3 to C:\Users\ponce\AppData\Roaming\dub\packages...
Fetching colorize 1.0.5 (getting selected version)...
Placing colorize 1.0.5 to C:\Users\ponce\AppData\Roaming\dub\packages...
Fetching derelict-util 1.9.0 (getting selected version)...
Placing derelict-util 1.9.0 to C:\Users\ponce\AppData\Roaming\dub\packages...
Fetching derelict-sdl2 1.2.8 (getting selected version)...
Placing derelict-sdl2 1.2.8 to C:\Users\ponce\AppData\Roaming\dub\packages...
Fetching derelict-gl3 1.0.6 (getting selected version)...
Placing derelict-gl3 1.0.6 to C:\Users\ponce\AppData\Roaming\dub\packages...
Error executing command run: Unknown dependency: gfm:math
Expected
gfm:math is a dependency of gfm:opengl which is in the same parent package hence I expect it to be found at the same path.
A work-around is to specify gfm:math explicitely it in the dub.json but this breaks locality of dependencies.

I've the same error when trying to split up vibe.d into multiple sub packages. Can you verify that this fixes your specific case, too?

It is fixed here. Thanks a lot for your work!

Fix looks good, I also arrived at the same location when debugging this.


Documented simulate method results in error

overview
Our documented method to use the simulate function per API documentation results in an error.

current behavior
The documented method for simulating protocols at the following link results in an error: Simulating Your Scripts in Python
Running runlog = opentrons.simulate.simulate(protocol_file) results in the following error: TypeError: simulate() missing 1 required positional argument: 'file_name'
Running print(format_runlog(runlog)) results in the following error: NameError: name 'format_runlog' is not defined

steps to reproduce
Save the following script as a .py on your computer:
from opentrons import labware, instruments

tiprack = labware.load('opentrons_96_tiprack_300ul','1')

pipette = instruments.P50_Single(mount='right',tip_racks=[tiprack])
plate = labware.load('corning_96_wellplate_360ul_flat', '2')

pipette.pick_up_tip()
for well in plate.wells():
	pipette.mix(3, 30, well)

Then open an interactive python shell and use the method outlined in the link above, written below for convenience
import opentrons.simulate
protocol_file = open('/path/to/protocol.py')
runlog = opentrons.simulate.simulate(protocol_file)
print(format_runlog(runlog))

expected behavior
Running the assignment to runlog and the print() statement should not result in errors, and furthermore, the print statement should output something similar to when the same file is run through the command line with opentrons_simulate file.py
Ex:
Picking up tip from well A1 in "1"
Mixing 3 times with a volume of 30.0 ul
	Aspirating 30.0 uL from well A1 in "2" at 1.0 speed
	Dispensing 30.0 uL into well A1 in "2" at 1.0 speed
	Aspirating 30.0 uL from well A1 in "2" at 1.0 speed
	Dispensing 30.0 uL into well A1 in "2" at 1.0 speed
	Aspirating 30.0 uL from well A1 in "2" at 1.0 speed
	Dispensing 30.0 uL into well A1 in "2" at 1.0 speed
Mixing 3 times with a volume of 30.0 ul
	Aspirating 30.0 uL from well B1 in "2" at 1.0 speed
	Dispensing 30.0 uL into well B1 in "2" at 1.0 speed
	Aspirating 30.0 uL from well B1 in "2" at 1.0 speed
	Dispensing 30.0 uL into well B1 in "2" at 1.0 speed
	Aspirating 30.0 uL from well B1 in "2" at 1.0 speed
	Dispensing 30.0 uL into well B1 in "2" at 1.0 speed

Current workaround to get the runlog statement running correctly is to instruct users to run the following sequence of commands as opposed to the documented sequence:
file_name = "path/to/file.py"
file = open(file_name)
runlog = opentrons.simulate.simulate(file, file_name)

Running print(format_runlog(runlog)) results in the following error: NameError: name 'format_runlog' is not defined
Running print(opentrons.simulate.format_runlog(runlog)) results in the following error: TypeError: list indices must be integers or slices, not str
Current workaround is to run a for loop:
for text in runlog[0]:
    print(text['payload']['text'])

However, workaround doesn't output with indented formatting


Pkg linting issues

Fixing several small linting issues in /pkg:

Public comments
Inconsistent slice declaration
Useless parenthesis
Useless type conversion

Checklist

[ ] When introducing a new scaler, I agree with the scaling governance policy
[x] I have verified that my change is according to the deprecations & breaking changes policy
[ ] Tests have been added
[ ] Changelog has been updated and is aligned with our changelog requirements
[ ] A PR is opened to update our Helm chart (repo) (if applicable, ie. when deployment manifests are modified)
[ ] A PR is opened to update the documentation on (repo) (if applicable)
[x] Commits are signed with Developer Certificate of Origin (DCO - learn more)

Fixes #

Relates to #

/run-e2e internal


Week 1 doesn’t exist in student view

Closing, duplicate of https://github.com/CUL-DigitalServices/grasshopper-ui/issues/175


Speed up linalg.dot

The current linalg.combinators.dot uses np.linalg_multi_dot which does some fancy calculations to figure out the correct order to apply the dot product.  Since, most of the time, we are just multiplying matrices of the same size (2x2 or 4x4), there is no optimal order and we should just dot them in order.  This new function just does this and gets rid of the multi_dot call.
I have kept the old functionality in case anyone needs it.
Here is the new output from https://github.com/quantumlib/Cirq/issues/2326 (shows over 100x improvement):
n: 0 time: 0.00013518333435058594
n: 100 time: 0.004878044128417969
n: 200 time: 0.00897073745727539
n: 300 time: 0.013186454772949219
n: 400 time: 0.018898725509643555
n: 500 time: 0.022220134735107422
n: 600 time: 0.02526688575744629
n: 700 time: 0.029251575469970703
n: 800 time: 0.034186601638793945
n: 900 time: 0.03860616683959961

Automerge cancelled: A status check is failing.


Add no mTLS guides, update bot use creation, reorder side panel

Added guides for connectivity to APIs and DBs without mTLS
Updated bot user creation to use API
Reordered side panel

@DevMandy for 'Configure Site-to-Site Connectivity for APIs' update the start tunnel code at the end of the guide without using 'proto: tls' and 'terminate_at'
EXAMPLE:
curl -H "Content-Type: application/json" \
-X POST https://agent.customer1.{YOUR_DOMAIN}/api/tunnels \
-d '{"name":"EXAMPLE","proto":"http", "addr":"{PORT}", "domain":"api.customer1.{YOUR_DOMAIN}"

curl -H "Content-Type: application/json" \
-X POST https://agent.customer1.configurable-domain.com/api/tunnels \
-d '{"name":"EXAMPLE","proto":"http", "addr":"3000", "domain":"api.customer1.configurable-domain.com",}'


How to find the context of a key?

When I use "credstash get" on a key it gave me the following
credstash get myapp.db2.prod
KMS ERROR: Could not decrypt hmac key with KMS. The encryption context provided may not match the one used when the credential was stored.
credstash list doesn't show the context either
credstash list
myapp.db.prod    -- version<PHONE_NUMBER>000000000
myapp.db.prod    -- version<PHONE_NUMBER>000000001
myapp.db.staging -- version<PHONE_NUMBER>000000000
myapp.db2.prod   -- version<PHONE_NUMBER>000000000
So if I forgot about the context, where can I look it up?

credstash doesn't store the context. you need to either have it be something that's determined by what data you're looking up (for example, if you're encrypting an EBS volume, the context could be the volume-id), or you need to store it.

going to close this. Feel free to re-open if you aren't set.

Whooa fancy to see you here, Alex


Youtube video does not support setSrc

As simple as that. I can browse through my videos by using setSrc like this:
function changeSrc(newSrc) {
$('video, audio').each(function() {
$(this)[0].player.pause();
$(this)[0].player.setSrc(newSrc);
$(this)[0].player.play();
});
}
This suddenly gets broken if I use youtube links instead of mp4.

was this issue ever resolved? still can't use setSrc with YouTube :(

I don't think so. I'm going to need to rewrite this and decide whether or
not to leave in legacy Flash support...
On Thu, Apr 30, 2015 at 9:17 AM, JavaScriptNinja<EMAIL_ADDRESS>wrote:

was this issue ever resolved? still can't use setSrc with YouTube :(
—
Reply to this email directly or view it on GitHub
https://github.com/johndyer/mediaelement/issues/381#issuecomment-97934184
.

--
John Dyer - http://j.hn/

Closing issue since #1829 solves this and it's merged already


FIX IMMEDIATELY

Old AR version.
YOU ARE THE WORST
Can NOT Update
(Using Forge App)

I locked the issue for a REASON. UPDATE, stop bringing it to us. There is a major version change you have not done. Update to 2.0.0-257 and stop opening new issues. I would like to ask you how I you think it will get fixed if you don't update to the code containing the bugfix? This issue will be locked too. Go to the discord if you need more update help than below.
You need to be on the latest beta. You need to change your release preferences in the settings to "beta" and then you should be able to see them.


Do not convert file path to lowercase

This fixes a random integration test error caused by invalid lowercase filepaths.
Example:
Go creates a random working directory
/tmp/tmp.HjvjKQ29GM/integrations/...
IsMigrateURLAllowed uses the lowercase path for its test which fails on case sensitive filesystems
/tmp/tmp.hjvjkq29gm/integrations/...

Good catch. As of https://github.com/gobwas/glob/issues/37 the needle could be lowered just for the check.

it's my fault for not dropping the lowercasing in the original PR and dealing with this properly then.


Work with editor code formatters

Most editors can invoke an external command to format a file, but they don't expect the file to change out from under them.
The simplest would be to support a --stdin flag, that would read the file in stdin, and output the formatted file to stdout.
FWIW, I was able to get it to work with Neovim & conform.vim using the tempfile feature. I'm not sure how many other editors make that possible, though.
formatters = {
  ruboclean = {
    condition = function(ctx)
      return vim.fs.basename(ctx.filename) ~= ".rubocop.yml"
    end,
    command = "ruboclean",
    args = { "$FILENAME", "--preserve-comments", "--preserve-paths", "--silent" },
    stdin = false,
  },
},
formatters_by_ft = {
  yaml = { "ruboclean" }
}

Hi @paul 👋
Thanks for your input, I appreciate it.
I don't use neovim (or alike), so I may not entirely understand what's going on there. 🙃
Your idea is to add another way to feed in the YAML data, STDIN instead of reading from a file, and then write the result (the processed YAML) to STDOUT, is that right?

@lxxxvi Yes, exactly. Similar to how rubocop has a --stdin flag: https://docs.rubocop.org/rubocop/usage/basic_usage.html#command-line-flags


Use generics instead of any

@Knaque dear sir, by my humble request I propose you to add a label "hacktoberfest-accepted" to this PR.


Proximity API

Started working to resolve #14. Opened the draft PR to assign myself this task.

I have implemented the API and made an example app to test it, but I found out that the microbit does not have a proximity sensor. What else should I use for testing?

Opened  PR tock/libtock-rs#462

Merged into master.


Do not merge: Attempt to force Waiting on Contributor to clear on push

Description

Related Issue

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

[ ] I have read the CONTRIBUTING document.
[ ] I have run the pre-merge tests locally and they pass.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[ ] All commits have been signed-off for the Developer Certificate of Origin.

can we close this @tpowell-progress


Dialogflow Intent with multiple parameters / prompts

Hi @christophrumpel !!
I am developing a Facebook-Dialogflow chat bot with your code.
I got it work but I have one problem.
I created an Dialogflow intenet with multiple parameters.
Every parameter has, at least, one prompt question to get it value.
The problem, is that when this intent is reached, only the first "Prompt" question is showing and after answering it, the "Default Fallback" intent is triggering.
It seems like the chatbot doesnt follow the parameters flow of the intent.

can u help me @christophrumpel  ?

Sry I forgot to come back here. Ok I see where this is going. I would recommend using BotMan. Have checked that already? It is a great PHP framework for chatbots and provides much more features like my boilerplate. This boilerplate is just for experimenting and to make yourself familiar with chatbots. I could some more features, but then it gets difficult where to stop.

Hey, sorry I didn't get that. It works in BotMan but you don't want to use it? Or do you got there another problem where you need help? Or do you want to make it work with my boilerplate?

Hi @christophrumpel  !!
This one --> Or do you got there another problem where you need help?
I have tried Botman. This issue didnt appear using it, but now I got an other problem.
I dont know if you have some  influence there, but here is the link of my new issue
https://github.com/botman/botman/issues/769
Thanks !!

Ah I see. Marcel is right now very busy, this is why he hasn't responded yet. I can try to look into this problem this week, but I'm busy as well. I would also try coming to the BotMan Slack team https://slack.botman.io/.

@christophrumpel thanks !!
If you can help me I will be very grateful cause I have stopped my development  for this

Hello , Can somebody help me with how to call multiple intents of dialog flow and how we can call in conversation of botman


Cannot set filter to stream

I am using stream API to get streams from tweepy.
When I do simple call,
stream = tweepy.Stream(auth, l)
stream.filter(track=['programming'])
I am getting following error. -
Traceback (most recent call last):
File "C:\Python34\lib\threading.py", line 920, in _bootstrap_inner
self.run()
File "C:\Python34\lib\threading.py", line 868, in run
self._target(_self._args, *_self._kwargs)
File "C:\Python34\lib\site-packages\tweepy-3.4.0-py3.4.egg\tweepy\streaming.py", line 286, in _run
raise exception
File "C:\Python34\lib\site-packages\tweepy-3.4.0-py3.4.egg\tweepy\streaming.py", line 255, in _run
self._read_loop(resp)
File "C:\Python34\lib\site-packages\tweepy-3.4.0-py3.4.egg\tweepy\streaming.py", line 298, in _read_loop
line = buf.read_line().strip()
File "C:\Python34\lib\site-packages\tweepy-3.4.0-py3.4.egg\tweepy\streaming.py", line 171, in read_line
self._buffer += self._stream.read(self._chunk_size)
TypeError: Can't convert 'bytes' object to str implicitly
It has been hours since I tried every combination and nothing works. Please help me out here!

Refer #615

Duplicate of #615


feat: change amplify delete prompt default value from yes to no

Issue #, if available:
#4579
Description of changes:
After running $ amplify delete, an "are you sure you want to continue" prompt appears. This PR proposes to change that prompt's default response value from "yes" to "no."
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@nchaloult Good job following through. This might not be apparent but there are tests under /packages/amplify-e2e-tests/src/tests/. That test this functionality. Can you run those tests and see if they fail?
I suspect there are instances when we don't really send a 'yes' to the command line but rather just a carriage return

Can you run those tests and see if they fail?

The tests in packages/amplify-e2e-tests/src/__tests__/delete.test.ts passed on my machine 👍
It looks like a 'y' is sent to stdin by deleteProject() in packages/amplify-e2e-core/src/init/deleteProject.ts :
...
.wait('Are you sure you want to continue?')
.sendLine('y')
.sendCarriageReturn()
...

LGTM!


Error after installing plugin

Hey, thanks so much for making this plugin. I'd really like to use it however I am getting an error after installing it. Please advise. TIA!
Warning: unlink(plugins/Customizer/Assets/css/userthemes/.gitignore): Permission denied in /var/www/kanboard/plugins/Customizer/Plugin.php on line 28
Warning: session_set_save_handler(): Cannot change save handler when headers already sent in /var/www/kanboard/app/Core/Session/SessionManager.php on line 41
Warning: session_set_cookie_params(): Cannot change session cookie parameters when headers already sent in /var/www/kanboard/app/Core/Session/SessionManager.php on line 92
Warning: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time in /var/www/kanboard/app/Core/Session/SessionManager.php on line 96
Warning: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time in /var/www/kanboard/app/Core/Session/SessionManager.php on line 97
Warning: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time in /var/www/kanboard/app/Core/Session/SessionManager.php on line 100
Warning: session_name(): Cannot change session name when headers already sent in /var/www/kanboard/app/Core/Session/SessionManager.php on line 49
Warning: session_start(): Cannot start session when headers already sent in /var/www/kanboard/app/Core/Session/SessionManager.php on line 50
Warning: Cannot modify header information - headers already sent by (output started at /var/www/kanboard/plugins/Customizer/Plugin.php:28) in /var/www/kanboard/app/Core/Http/Response.php on line 222
Warning: Cannot modify header information - headers already sent by (output started at /var/www/kanboard/plugins/Customizer/Plugin.php:28) in /var/www/kanboard/app/Core/Http/Response.php on line 222
Warning: Cannot modify header information - headers already sent by (output started at /var/www/kanboard/plugins/Customizer/Plugin.php:28) in /var/www/kanboard/app/Core/Http/Response.php on line 222
Warning: Cannot modify header information - headers already sent by (output started at /var/www/kanboard/plugins/Customizer/Plugin.php:28) in /var/www/kanboard/app/Core/Http/Response.php on line 222
Warning: Cannot modify header information - headers already sent by (output started at /var/www/kanboard/plugins/Customizer/Plugin.php:28) in /var/www/kanboard/app/Core/Http/Response.php on line 222
Warning: Cannot modify header information - headers already sent by (output started at /var/www/kanboard/plugins/Customizer/Plugin.php:28) in /var/www/kanboard/app/Core/Http/Response.php on line 222

My first guess would be permissions to the plugin folder.

The thing is this is the only plugin getting that error message. I have a whole bunch of other plugins in the same folder that are working fine.

It's the only plugin that's reading and writing in that folder. Is it not working at all, or your just getting an error message but its semi working?

It's the only plugin that's reading and writing in that folder. Is it not working at all, or your just getting an error message but its semi working? Try removing the .gitignore manually, see what happens.

Looks to be working now. May I ask how to move the login note up a little or all the way to the top? Or below the logo?
Right now the note exists far below the login button and you need to scroll down a lot to be able to see it.

Screenshot?

Screenshot?

See the spacing between login form and the login note text below?

I'm not seeing the div box around it, so im kindof confused. Can you screenshot the whole note for me and then see if you can replicate on my test server @ projects.nachostudio.ml
admin/admin

Yours doesn't seem to have that much space between the login form and the note. Anyway, that's not my biggest concern.  Just wondering if it's possible to move things around and be able to customize it like a note in the header (below the logo) a note in the footer etc.

It's possible, but not unless you know the code. If I get time I'll try to add something.

Also, curious, what theme is yours?

Also, curious, what theme is yours?

I'm just using the default theme. This theme seems to look and work the best :)

I'm just trying to figure out what makes your setup appear different, I can tell by your screenshot, the font in particular, that something is different.

It's the Greenwing plugin :)
It's not changing the spacing I was telling you about though because I tried deactivating the Greenwing plugin and the big gap/spacing is still there. Though that is not my concern, it'd be nice to have a more customizable login form :)

Greenwig plugin is most likely not compatible with Customizer, since it is more than just css, and it has a lot of overrides that may conflict. I have no intention of supporting other theme plugins, but it's possible that author could Customizer, may want to ask them.
The big gap spacing should not be there on a standard install, with no conflicts, i.e., I know it wont be there, I'm not guessing.
If I get time, I can add a hook to the top of the login screen, and give a choice, but would ask for separate feature request, since your error is resolved, I am closing this issue.

It's the only plugin that's reading and writing in that folder. Is it not working at all, or your just getting an error message but its semi working? Try removing the .gitignore manually, see what happens.

@creecros
Think not really permission problem but when I downgrade my PHP version to 7.3 warnings go away!!
Incompatibility to php 7.4!!!
Thanks

@djidji01 #115


URL names that contain /_/ get incorrectly parsed

I want to write out a URL like this:
[https://hub.docker.com/_/python](https://hub.docker.com/_/python)

but, the output is:
[https://hub.docker.com//python](https://hub.docker.com//python)

# ^ It automatically strips the _ in the anchor name.

however, as a compromise this works for now:
[https://hub.docker.com/-/python](https://hub.docker.com/_/python)

but, it's a little silly having to do this because the written anchor name is no longer matching the URL.

Can you try
\url{https://hub.docker.com/_/python}
?

On Apr 16, 2016, at 3:48 PM, Nick Janetakis<EMAIL_ADDRESS>wrote:
I want to write out a URL like this:
https://hub.docker.com/_/python
but, the output is:
https://hub.docker.com//python
^ It automatically strips the _ in the anchor name.
however, as a compromise this works for now:
https://hub.docker.com/-/python
but, it's a little silly having to do this because the written anchor name is no longer matching the URL.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub https://github.com/softcover/softcover/issues/158

--

You might need to escape it out, like this:
[https://hub.docker.com/\_/python](https://hub.docker.com/_/python)

Does that work?

@chkwon,
That produces this: https://hub.docker.com//python, but the URL itself works.
@mhartl,
That works, thanks. Kind of unfortunate that we need to escape it, but it works in the end.


Use Erlang 26

Blocked by logflare_logger_backend which is blocked by etso.

I have tested with OTP 26 on #368 branch. Works fine there (but I haven't tried release mode yet).


update to bevy 0.11

Hi @etam, thanks for contributing! Everything seems to be working!
Can you change your target branch to https://github.com/sburris0/bevy_flycam/tree/bevy_0.11 instead?
I wanna try to merge this with #32 & #33


feat: Created ImageUtils class and moved all Utility classes to Utility Folder

I know why a gaussian blur could be useful, but it's not something I would have though of prior to see you define a method for it.


Can ALBERT run NER?

Is it can, where is the script? I couldn't  find it anywhere.

Stefan-it used to have a fork with it for HF transformers. Never tried it and it seems to be removed. If you want to use someones implementation and just run training I can think of some alternatives. Deepset seems to have code ready for ner. https://github.com/deepset-ai/FARM. Maybe Spacy with their transformers embeddings, or just do a port of HF ner from any of the other models.


[Bug]: Using tensor-parallel-size 4 fails for some models with pyo3_runtime.PanicException: The global thread pool has not been initialized.: ThreadPoolBuildError {"Resource temporarily unavailable" })

Your current environment
Collecting environment information...
PyTorch version: 2.3.0+cu121
Is debug build: False
CUDA used to build PyTorch: 12.1
ROCM used to build PyTorch: N/A

OS: SUSE Linux Enterprise Server 15 SP5 (x86_64)
GCC version: (SUSE Linux) 7.5.0
Clang version: Could not collect
CMake version: version 3.29.5
Libc version: glibc-2.31

Python version: 3.10.12 (main, Jul  5 2023, 18:54:27) [GCC 11.2.0] (64-bit runtime)
Python platform: Linux-5.14.21-150500.55.49-default-x86_64-with-glibc2.31
Is CUDA available: True
CUDA runtime version: 12.4.131
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration:
GPU 0: NVIDIA A100-SXM4-40GB
GPU 1: NVIDIA A100-SXM4-40GB
GPU 2: NVIDIA A100-SXM4-40GB
GPU 3: NVIDIA A100-SXM4-40GB

Nvidia driver version: 535.154.05
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Architecture:                       x86_64
CPU op-mode(s):                     32-bit, 64-bit
Address sizes:                      48 bits physical, 48 bits virtual
Byte Order:                         Little Endian
CPU(s):                             64
On-line CPU(s) list:                0-63
Vendor ID:                          AuthenticAMD
Model name:                         AMD EPYC 7543P 32-Core Processor
CPU family:                         25
Model:                              1
Thread(s) per core:                 2
Core(s) per socket:                 32
Socket(s):                          1
Stepping:                           1
BogoMIPS:                           5589.55
Flags:                              fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 invpcid_single hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr rdpru wbnoinvd amd_ppin brs arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold v_vmsave_vmload vgif v_spec_ctrl umip pku ospke vaes vpclmulqdq rdpid overflow_recov succor smca fsrm
Virtualization:                     AMD-V
L1d cache:                          1 MiB (32 instances)
L1i cache:                          1 MiB (32 instances)
L2 cache:                           16 MiB (32 instances)
L3 cache:                           256 MiB (8 instances)
NUMA node(s):                       4
NUMA node0 CPU(s):                  0-7,32-39
NUMA node1 CPU(s):                  8-15,40-47
NUMA node2 CPU(s):                  16-23,48-55
NUMA node3 CPU(s):                  24-31,56-63
Vulnerability Gather data sampling: Not affected
Vulnerability Itlb multihit:        Not affected
Vulnerability L1tf:                 Not affected
Vulnerability Mds:                  Not affected
Vulnerability Meltdown:             Not affected
Vulnerability Mmio stale data:      Not affected
Vulnerability Retbleed:             Not affected
Vulnerability Spec rstack overflow: Mitigation; Safe RET
Vulnerability Spec store bypass:    Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1:           Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:           Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP always-on, RSB filling, PBRSB-eIBRS Not affected
Vulnerability Srbds:                Not affected
Vulnerability Tsx async abort:      Not affected

Versions of relevant libraries:
[pip3] numpy==1.26.4
[pip3] nvidia-nccl-cu12==2.20.5
[pip3] torch==2.3.0
[pip3] triton==2.3.0
[conda] numpy                     1.26.4                   pypi_0    pypi
[conda] nvidia-nccl-cu12          2.20.5                   pypi_0    pypi
[conda] torch                     2.3.0                    pypi_0    pypi
[conda] triton                    2.3.0                    pypi_0    pypiROCM Version: Could not collect
Neuron SDK Version: N/A
vLLM Version: 0.4.2
vLLM Build Flags:
CUDA Archs: Not Set; ROCm: Disabled; Neuron: Disabled
GPU Topology:
GPU0	GPU1	GPU2	GPU3	CPU Affinity	NUMA Affinity	GPU NUMA ID
GPU0	 X 	NV4	NV4	NV4	24-31,56-63	3		N/A
GPU1	NV4	 X 	NV4	NV4	16-23,48-55	2		N/A
GPU2	NV4	NV4	 X 	NV4	8-15,40-47	1		N/A
GPU3	NV4	NV4	NV4	 X 	0-7,32-39	0		N/A

Legend:

  X    = Self
  SYS  = Connection traversing PCIe as well as the SMP interconnect between NUMA nodes (e.g., QPI/UPI)
  NODE = Connection traversing PCIe as well as the interconnect between PCIe Host Bridges within a NUMA node
  PHB  = Connection traversing PCIe as well as a PCIe Host Bridge (typically the CPU)
  PXB  = Connection traversing multiple PCIe bridges (without traversing the PCIe Host Bridge)
  PIX  = Connection traversing at most a single PCIe bridge
  NV#  = Connection traversing a bonded set of # NVLinks

How you are installing vllm
pip install -e .

I see the following error when I make a request to the API server and I use tensor-parallel 4 for models like  mistralai/Mistral-7B-v0.1

(2024-04-29/vllm_v050_env) atanikanti@x3005c0s1b1n0:/grand/datascience/atanikanti> python3 -m vllm.entrypoints.api_server --model mistralai/Mistral-7B-v0.1 --tensor-parallel-size 4 --enforce-eager
/grand/datascience/atanikanti/envs/vllm_v050_env/lib/python3.10/site-packages/huggingface_hub/file_download.py:1132: FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`.
  warnings.warn(
2024-06-14 20:46:29,301	INFO worker.py:1753 -- Started a local Ray instance.
INFO 06-14 20:46:30 config.py:623] Defaulting to use mp for distributed inference
INFO 06-14 20:46:30 llm_engine.py:161] Initializing an LLM engine (v0.5.0.post1) with config: model='mistralai/Mistral-7B-v0.1', speculative_config=None, tokenizer='mistralai/Mistral-7B-v0.1', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, rope_scaling=None, rope_theta=None, tokenizer_revision=None, trust_remote_code=False, dtype=torch.bfloat16, max_seq_len=32768, download_dir=None, load_format=LoadFormat.AUTO, tensor_parallel_size=4, disable_custom_all_reduce=False, quantization=None, enforce_eager=True, kv_cache_dtype=auto, quantization_param_path=None, device_config=cuda, decoding_config=DecodingConfig(guided_decoding_backend='outlines'), seed=0, served_model_name=mistralai/Mistral-7B-v0.1)
/lus/grand/projects/datascience/atanikanti/llm-inference-service/vllm/vllm/vllm/executor/multiproc_gpu_executor.py:41: UserWarning: Failed to get the IP address, using <IP_ADDRESS> by default.The value can be set by the environment variable VLLM_HOST_IP or HOST_IP.
  get_ip(), get_open_port())
INFO 06-14 20:46:32 selector.py:150] Cannot use FlashAttention-2 backend due to sliding window.
INFO 06-14 20:46:32 selector.py:51] Using XFormers backend.
(VllmWorkerProcess pid=4010462) INFO 06-14 20:46:33 selector.py:150] Cannot use FlashAttention-2 backend due to sliding window.
(VllmWorkerProcess pid=4010462) INFO 06-14 20:46:33 selector.py:51] Using XFormers backend.
(VllmWorkerProcess pid=4010463) INFO 06-14 20:46:33 selector.py:150] Cannot use FlashAttention-2 backend due to sliding window.
(VllmWorkerProcess pid=4010463) INFO 06-14 20:46:33 selector.py:51] Using XFormers backend.
(VllmWorkerProcess pid=4010461) INFO 06-14 20:46:33 selector.py:150] Cannot use FlashAttention-2 backend due to sliding window.
(VllmWorkerProcess pid=4010461) INFO 06-14 20:46:33 selector.py:51] Using XFormers backend.
(VllmWorkerProcess pid=4010462) INFO 06-14 20:46:34 multiproc_worker_utils.py:215] Worker ready; awaiting tasks
(VllmWorkerProcess pid=4010463) INFO 06-14 20:46:34 multiproc_worker_utils.py:215] Worker ready; awaiting tasks
(VllmWorkerProcess pid=4010461) INFO 06-14 20:46:34 multiproc_worker_utils.py:215] Worker ready; awaiting tasks
(VllmWorkerProcess pid=4010462) INFO 06-14 20:46:34 utils.py:637] Found nccl from library libnccl.so.2
INFO 06-14 20:46:34 utils.py:637] Found nccl from library libnccl.so.2
(VllmWorkerProcess pid=4010462) INFO 06-14 20:46:34 pynccl.py:63] vLLM is using nccl==2.20.5
INFO 06-14 20:46:34 pynccl.py:63] vLLM is using nccl==2.20.5
(VllmWorkerProcess pid=4010461) INFO 06-14 20:46:34 utils.py:637] Found nccl from library libnccl.so.2
(VllmWorkerProcess pid=4010461) INFO 06-14 20:46:34 pynccl.py:63] vLLM is using nccl==2.20.5
(VllmWorkerProcess pid=4010463) INFO 06-14 20:46:34 utils.py:637] Found nccl from library libnccl.so.2
(VllmWorkerProcess pid=4010463) INFO 06-14 20:46:34 pynccl.py:63] vLLM is using nccl==2.20.5
INFO 06-14 20:46:35 custom_all_reduce_utils.py:179] reading GPU P2P access cache from /home/atanikanti/.config/vllm/gpu_p2p_access_cache_for_0,1,2,3.json
(VllmWorkerProcess pid=4010462) INFO 06-14 20:46:35 custom_all_reduce_utils.py:179] reading GPU P2P access cache from /home/atanikanti/.config/vllm/gpu_p2p_access_cache_for_0,1,2,3.json
(VllmWorkerProcess pid=4010463) INFO 06-14 20:46:35 custom_all_reduce_utils.py:179] reading GPU P2P access cache from /home/atanikanti/.config/vllm/gpu_p2p_access_cache_for_0,1,2,3.json
(VllmWorkerProcess pid=4010461) INFO 06-14 20:46:35 custom_all_reduce_utils.py:179] reading GPU P2P access cache from /home/atanikanti/.config/vllm/gpu_p2p_access_cache_for_0,1,2,3.json
(VllmWorkerProcess pid=4010463) INFO 06-14 20:46:35 selector.py:150] Cannot use FlashAttention-2 backend due to sliding window.
INFO 06-14 20:46:35 selector.py:150] Cannot use FlashAttention-2 backend due to sliding window.
(VllmWorkerProcess pid=4010463) INFO 06-14 20:46:35 selector.py:51] Using XFormers backend.
INFO 06-14 20:46:35 selector.py:51] Using XFormers backend.
(VllmWorkerProcess pid=4010461) INFO 06-14 20:46:35 selector.py:150] Cannot use FlashAttention-2 backend due to sliding window.
(VllmWorkerProcess pid=4010461) INFO 06-14 20:46:35 selector.py:51] Using XFormers backend.
(VllmWorkerProcess pid=4010462) INFO 06-14 20:46:35 selector.py:150] Cannot use FlashAttention-2 backend due to sliding window.
(VllmWorkerProcess pid=4010462) INFO 06-14 20:46:35 selector.py:51] Using XFormers backend.
INFO 06-14 20:46:36 weight_utils.py:218] Using model weights format ['*.safetensors']
(VllmWorkerProcess pid=4010461) INFO 06-14 20:46:36 weight_utils.py:218] Using model weights format ['*.safetensors']
(VllmWorkerProcess pid=4010462) INFO 06-14 20:46:36 weight_utils.py:218] Using model weights format ['*.safetensors']
(VllmWorkerProcess pid=4010463) INFO 06-14 20:46:36 weight_utils.py:218] Using model weights format ['*.safetensors']
INFO 06-14 20:46:39 model_runner.py:160] Loading model weights took 3.3804 GB
(VllmWorkerProcess pid=4010461) INFO 06-14 20:46:39 model_runner.py:160] Loading model weights took 3.3804 GB
(VllmWorkerProcess pid=4010462) INFO 06-14 20:46:39 model_runner.py:160] Loading model weights took 3.3804 GB
(VllmWorkerProcess pid=4010463) INFO 06-14 20:46:39 model_runner.py:160] Loading model weights took 3.3804 GB
INFO 06-14 20:46:41 distributed_gpu_executor.py:56] # GPU blocks: 57502, # CPU blocks: 8192
INFO:     Started server process [4006635]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://<IP_ADDRESS>:8000 (Press CTRL+C to quit)
INFO 06-14 20:46:47 async_llm_engine.py:564] Received request eeb1b44a10da483bb2417d6d6065645f: prompt: 'San Francisco is a', params: SamplingParams(n=4, best_of=4, presence_penalty=0.0, frequency_penalty=0.0, repetition_penalty=1.0, temperature=0.0, top_p=1.0, top_k=-1, min_p=0.0, seed=None, use_beam_search=True, length_penalty=1.0, early_stopping=False, stop=[], stop_token_ids=[], include_stop_str_in_output=False, ignore_eos=False, max_tokens=128, min_tokens=0, logprobs=None, prompt_logprobs=None, skip_special_tokens=True, spaces_between_special_tokens=True, truncate_prompt_tokens=None), prompt_token_ids: None, lora_request: None.
thread '<unnamed>' panicked at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rayon-core-1.12.1/src/registry.rs:168:10:
The global thread pool has not been initialized.: ThreadPoolBuildError { kind: IOError(Os { code: 11, kind: WouldBlock, message: "Resource temporarily unavailable" }) }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Exception in callback functools.partial(<function _log_task_completion at 0x14e9c95009d0>, error_callback=<bound method AsyncLLMEngine._error_callback of <vllm.engine.async_llm_engine.AsyncLLMEngine object at 0x14ea58371c00>>)
handle: <Handle functools.partial(<function _log_task_completion at 0x14e9c95009d0>, error_callback=<bound method AsyncLLMEngine._error_callback of <vllm.engine.async_llm_engine.AsyncLLMEngine object at 0x14ea58371c00>>)>
Traceback (most recent call last):
  File "uvloop/cbhandles.pyx", line 63, in uvloop.loop.Handle._run
  File "/lus/grand/projects/datascience/atanikanti/llm-inference-service/vllm/vllm/vllm/engine/async_llm_engine.py", line 42, in _log_task_completion
    return_value = task.result()
  File "/lus/grand/projects/datascience/atanikanti/llm-inference-service/vllm/vllm/vllm/engine/async_llm_engine.py", line 532, in run_engine_loop
    has_requests_in_progress = await asyncio.wait_for(
  File "/grand/datascience/atanikanti/envs/vllm_v050_env/lib/python3.10/asyncio/tasks.py", line 445, in wait_for
    return fut.result()
  File "/lus/grand/projects/datascience/atanikanti/llm-inference-service/vllm/vllm/vllm/engine/async_llm_engine.py", line 491, in engine_step
    await self.engine.add_request_async(**new_request)
  File "/lus/grand/projects/datascience/atanikanti/llm-inference-service/vllm/vllm/vllm/engine/async_llm_engine.py", line 295, in add_request_async
    processed_inputs = await self.process_model_inputs_async(
  File "/lus/grand/projects/datascience/atanikanti/llm-inference-service/vllm/vllm/vllm/engine/async_llm_engine.py", line 270, in process_model_inputs_async
    prompt_token_ids = await tokenizer.encode_async(
  File "/lus/grand/projects/datascience/atanikanti/llm-inference-service/vllm/vllm/vllm/transformers_utils/tokenizer_group/tokenizer_group.py", line 64, in encode_async
    ret = tokenizer.encode(prompt)
  File "/grand/datascience/atanikanti/envs/vllm_v050_env/lib/python3.10/site-packages/transformers/tokenization_utils_base.py", line 2654, in encode
    encoded_inputs = self.encode_plus(
  File "/grand/datascience/atanikanti/envs/vllm_v050_env/lib/python3.10/site-packages/transformers/tokenization_utils_base.py", line 3062, in encode_plus
    return self._encode_plus(
  File "/grand/datascience/atanikanti/envs/vllm_v050_env/lib/python3.10/site-packages/transformers/tokenization_utils_fast.py", line 583, in _encode_plus
    batched_output = self._batch_encode_plus(
  File "/grand/datascience/atanikanti/envs/vllm_v050_env/lib/python3.10/site-packages/transformers/tokenization_utils_fast.py", line 511, in _batch_encode_plus
    encodings = self._tokenizer.encode_batch(
pyo3_runtime.PanicException: The global thread pool has not been initialized.: ThreadPoolBuildError { kind: IOError(Os { code: 11, kind: WouldBlock, message: "Resource temporarily unavailable" }) }

@atanikan Did you solve this problem? I had the same issue when calling llm.generate("San Franciso is a").

@Jye-525 Although I don't see it anymore in the newer version the fix was I had to export the following environment variables.
export RAYON_NUM_THREADS=4
export VLLM_WORKER_MULTIPROC_METHOD=fork


Cannot Turn Off Automatic Account Merging

Describe the bug
Supabase automatically merges different provider accounts by email address.
To Reproduce

Create an account using Supabase Auth with GitHub as provider, where the GitHub account has the email address<EMAIL_ADDRESS>Log out.
Log in again, but this time using Twitter as the provider. The Twitter account has the same email address<EMAIL_ADDRESS>When the user comes back, they now get the GitHub login information, not the Twitter information.

Expected behavior
Couple of different options - Firebase has a flow for this scenario, but it's a bit complicated IMHO:
https://firebase.google.com/docs/auth/web/account-linking
Suggestion:
Create a switch in Supabase UI that defaults to off - "Allow Account Merging". If it's off logging in with different providers creates different accounts - the end.

If Account Merging is set to true, if a sign in with a duplicate is detected generate a new event "request account link" with a flow similar to a password reset.
Add an auth query to request linked profiles.
Add an auth operation to unlinked profiles.

Hi everyone, we currently don't have plans to support manual linking of accounts in the near future. Currently, GoTrue only supports automatic linking of accounts based on the user's email.
We will revisit on the future though, so feel free to follow along on #313


Relative coordinates behave strangely

On some components (e.g slider, switch), the relative coordinates are based on the 'interactable' spheres. This gives different coordinates based on the state (on/off etc.). Possible solution: Coordinates should be based on the container holding the component.

Fixed in 34d3c28


Current QuickUMLS (simstring) has different bytes per character on Windows vs POSIX

At various times, @burgersmoke and @turbosheep have noticed that if you generate QuickUMLS resources on a POSIX system (i.e. MacOS, Linux, etc) and then try to load those resources for QuickUMLS extraction on a Windows machine (or vice versa), then the library will run and throw no exceptions but there will be no extraction.
Back in Dec 2020, @burgersmoke figured out that the version of simstring currently used by QuickUMLS makes some bad assumptions about bytes per character between Windows and POSIX.  This leads to a situation where "each character on the Windows data is encoded with 2 bytes whereas the Mac version encodes each character as 4 bytes".  @burgersmoke  had to track this down with a hex editor to get this screenshot:

I'll post more technical details in the next comment, but the short summary is:
"The implementation of simstring  looks different between the quickumls_simstring implementation from GeorgetownIR (QuickUMLS people) and the original."

For more detail, below is what @burgersmoke figured out while comparing the versions of simstring between QuickUMLS and the original.
For example, the quickumls_simstring looks like this: (see: https://github.com/Georgetown-IR-Lab/simstring/blob/master/quickumls_simstring/export.cpp)
#if defined (WIN32)
#define __SIZEOF_WCHAR_T__ 2
#endif

and also
std::vector<std::string> reader::retrieve(const char *query)
{
    reader_type& dbr = *reinterpret_cast<reader_type*>(m_dbr);
    std::vector<std::string> ret;

    switch (dbr.char_size()) {
    case 1:
        retrieve_thru(dbr, query, this->measure, this->threshold, std::back_inserter(ret));
        break;
    case 2:
#if defined(__APPLE__) || defined(WIN32)
#if __SIZEOF_WCHAR_T__ == 2
        retrieve_iconv<wchar_t>(dbr, query, UTF16, this->measure, this->threshold, std::back_inserter(ret));
#else
assert(0);
#endif
#else
        retrieve_iconv<uint16_t>(dbr, query, UTF16, this->measure, this->threshold, std::back_inserter(ret));
#endif
        break;
    case 4:
#if defined(__APPLE__) || defined(WIN32)
#if __SIZEOF_WCHAR_T__ == 4
        retrieve_iconv<wchar_t>(dbr, query, UTF32, this->measure, this->threshold, std::back_inserter(ret));
#else
assert(0);
#endif
#else
        retrieve_iconv<uint32_t>(dbr, query, UTF32, this->measure, this->threshold, std::back_inserter(ret));
#endif
        break;
    }

    return ret;
}

Meanwhile, the current version of the "base" simstring implementation (later then the GeorgetownIR fork) looks like this (see: https://github.com/chokkan/simstring/blob/master/swig/export.cpp)
std::vector<std::string> reader::retrieve(const char *query)
{
    reader_type& dbr = *reinterpret_cast<reader_type*>(m_dbr);
    std::vector<std::string> ret;

    switch (dbr.char_size()) {
    case 1:
        retrieve_thru(dbr, query, this->measure, this->threshold, std::back_inserter(ret));
        break;
    case 2:
#if defined(__apple_build_version__)
        throw std::runtime_error("UTF16 not supported in macOS, due to compatibility issues with libc++.");
#else
        retrieve_iconv<uint16_t>(dbr, query, UTF16, this->measure, this->threshold, std::back_inserter(ret));
#endif
        break;
    case 4:
#if defined(__apple_build_version__)
        throw std::runtime_error("UTF32 not supported in macOS, due to compatibility issues with libc++.");
#else
        retrieve_iconv<uint32_t>(dbr, query, UTF32, this->measure, this->threshold, std::back_inserter(ret));
#endif
        break;
    }

    return ret;
}

I really, really wanted to fix this one with our own medspacy fork of QuickUMLS 2.6 and with medspacy 1.0.0, but I was not able to fix this one yet.

After we release medspacy 1.1.0 (hopefully by EOD today), I will re-test this with pysimstring to see if there is still a difference between Windows and other platforms where one writes as 2 bytes and the other as 4.  If so, we can release just one version of QuickUMLS resources.  It's unclear as I look at this if fixed in the export.cpp which is here:
https://github.com/percevalw/pysimstring/blob/master/pysimstring/export.cpp


Update url when filtering plugins

Description
What did you change and why?
Jira ticket
Filter plugins based on the anchor and update the filters accordingly.
Testing instructions
All plugins
Konnect plugins
Third party
Checklist

[x] Review label added
[x] PR pointed to correct branch (main for immediate publishing, or a release branch: e.g. release/gateway-3.2, release/deck-1.17)

@fabianrbz , this looks great - my only request is to rename the URL results from /#konnect-cloud to just /#konnect , please and thanks.

subscription tiers fixed


Better Icon

I believe it is better because it keeps some of the signature Atom green, used the logo, and is more elegant.
Requirements

Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
All new code requires tests to ensure against regressions

Description of the Change

Alternate Designs

Why Should This Be In Core?

Benefits

Possible Drawbacks

Applicable Issues

Thanks for the contribution. As stated in response to a previous submission, we won't be accepting brand-related pull requests because of the murky nature of authorship. Changing your own personal icon is totally legit as far as the license goes so have at it if you so choose, but we're going to keep the official brand updates to GitHub staff only.


Create shaded jar for pinot-core module

Description
This PR creates shaded jar for pinot-core module. This shaded jar is useful if two different versions of dependencies (like guava) have to be used in the same process at runtime.
This PR also adds the com.google.common.base path to pinot-common module.
Upgrade Notes
Does this PR prevent a zero down-time upgrade? (Assume upgrade order: Controller, Broker, Server, Minion)

[ ] Yes (Please label as backward-incompat, and complete the section below on Release Notes)

Does this PR fix a zero-downtime upgrade introduced earlier?

[ ] Yes (Please label this as backward-incompat, and complete the section below on Release Notes)

Does this PR otherwise need attention when creating release notes? Things to consider:

New configuration options
Deprecation of configurations
Signature changes to public methods/interfaces
New plugins added or old plugins removed

[ ] Yes (Please label this PR as release-notes and complete the section on Release Notes)

Release Notes
If you have tagged this as either backward-incompat or release-notes,
you MUST add text here that you would like to see appear in release notes of the
next release.
If you have a series of commits adding or enabling a feature, then
add this section only in final commit that marks the feature completed.
Refer to earlier release notes to see examples of text
Documentation
If you have introduced a new feature or configuration, please add it to the documentation as well.
See https://docs.pinot.apache.org/developers/developers-and-contributors/update-document

Codecov Report

Merging #6697 (7dea09c) into master (1beaab5) will decrease coverage by 23.01%.
The diff coverage is 42.93%.

@@             Coverage Diff             @@
##           master    #6697       +/-   ##
===========================================
- Coverage   66.44%   43.42%   -23.02%
===========================================
  Files        1075     1391      +316
  Lines       54773    67583    +12810
  Branches     8168     9794     +1626
===========================================
- Hits        36396    29351     -7045
- Misses      15700    35759    +20059
+ Partials     2677     2473      -204

Flag
Coverage Δ

integration
43.42% <42.93%> (?)

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

Impacted Files
Coverage Δ

...ot/broker/broker/AllowAllAccessControlFactory.java
100.00% <ø> (ø)

...t/broker/broker/BasicAuthAccessControlFactory.java
0.00% <0.00%> (ø)

.../helix/BrokerUserDefinedMessageHandlerFactory.java
52.83% <0.00%> (-13.84%)
:arrow_down:

...org/apache/pinot/broker/queryquota/HitCounter.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...che/pinot/broker/queryquota/MaxHitRateTracker.java
0.00% <0.00%> (ø)

...ache/pinot/broker/queryquota/QueryQuotaEntity.java
0.00% <0.00%> (-50.00%)
:arrow_down:

...ker/routing/instanceselector/InstanceSelector.java
100.00% <ø> (ø)

...ceselector/StrictReplicaGroupInstanceSelector.java
0.00% <0.00%> (ø)

...roker/routing/segmentpruner/TimeSegmentPruner.java
0.00% <0.00%> (ø)

...roker/routing/segmentpruner/interval/Interval.java
0.00% <0.00%> (ø)

... and 1418 more

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 2d0d2ac...7dea09c. Read the comment docs.


⚠ Processors has degraded performance

In 3b14200, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 51 ms

Resolved: Processors performance has improved in 98a7449.


LPAL-903/LPAL-925 Content amendments

Purpose
LPAL-903
LPAL-925
Approach
Rolled two issues into one branch as they only touch HTML.
Learning
n/a
Checklist

[X] I have performed a self-review of my own code
[X] I have updated documentation (Confluence/GitHub wiki/tech debt doc) where relevant
[X] I have added tests to prove my work
[X] I have added mandatory tags to terraformed resources, where possible
[X] If I have a new OPG component dependency, I have updated the metadata.json with the repo location.
[X] If I added a package.json or composer.json, I also made sure this is included in the script in .github/workflows/dependabot-update.yml
[ ] The product team have tested these changes

Apologies @johnnolan I had to back out the LPAL-924 changes as I noticed Amy had commented that the text changes hadn't been finalised.

I've now re-integrated LPAL-924 as Amy has confirmed the content.


Added container ID to post-deploy as last arg.

I needed container ID for my post-deploy hook so here is a pull that adds $id as the last arg (so as not to mess anyones current apps up) to post-deploy.
Thoughts?

A few things:

I hate that we have positional arguments to pluginhooks and not named ones :(
This needs docs
Can we maybe turn the retrieval of the ID into a helper method in common instead?

:+1: on a common helper function

What would we want to return if we are unable to get container id?
I'll deprecate the check-deploy $id arg?

No docs yet. Check out plugins/common/functions.
With regards to not getting a container id, we do things like this now.
https://github.com/progrium/dokku/blob/53f9974f6f905de5ec99163cc691f2493e6048e3/plugins/ps/commands#L31-L32
However, we may just want to return nothing and let the caller handle the blank response?

@dubcanada bump :)

@dubcanada: Why don't you just get the container id from $DOKKU_ROOT/$APP/CONTAINER instead of changing the pluginhook call?

Yeah that's probably a better call, given that by the time post-deploy runs, $DOKKU_ROOT/$APP/CONTAINER is up to date. Closing.


simulate mainnet gov obj sync conditions on testnet

This should change RequestGovernanceObjectVotes to fetch ~5000 votes per node per request (which is number of masternodes on mainnet + some margin). Should give us some idea about the load this will produce on mainnet.

If you want to merge this I think you should add a check so that this only runs on testnet.
Also we don't expect 1000 proposals on mainnet so this would actually go way beyond the expected mainnet load.

@tgflynn yes 1000 proposals would cost 5000 Dash which would be ~70% of the budget itself meaning most proposers would be out of pocket, so irrational and highly unlikely (but not impossible)

@andyfreer In any case since we're turning off sentinel voting on the validity signal, they wouldn't likely get many votes.

add a check so that this only runs on testnet.

On mainnet with 4K+ masternodes this int nMaxObjsRequestsPerNode = std::max(1, std::min(40, int(nProjectedVotes / mnodeman.size()))); evaluates to 1, so it should already work fine.

Also we don't expect 1000 proposals on mainnet

testnet is ~40x smaller than mainnet (which is where 40 comes in the formula above) meaning that 1000 testnet proposals are equivalent to 1000/40 = 25 mainnet proposal in vote count which is pretty normal. True that many MNs don't vote at all however, so total vote count is much lower, smth like 21K for proposals right now. nProjectedVotes = 1000 would probably be a closer approximation to current situation, but I guess a higher threshold could help us to find issues before they arise on mainnet. Maybe smth like nProjectedVotes = 2000 then?

closing in fav of #1305


Unsecure, insecure, unsecured

AFAICT, "unsecure" (used in https://github.com/solid/community-server/search?q=unsecure ) isn't a word ( https://english.stackexchange.com/questions/19653/insecure-or-unsecure-when-dealing-with-security ). I suggest consider changing it to "insecure" or "unsecured"  - whichever is intended depending on context.

Not a native speaker, but it's in the Oxford dictionary:
https://www.lexico.com/definition/unsecure

Interesting that a comment in SE claims OED lists "unsecure" as obsolete. So of course I went to oed.com to verify and hit a subscription wall. Solid is taking so long because some dictionary is not open access. /me flips table.
I don't quite understand lexico's corpus wrt OED but the examples seem recent.
Keep it as is I suppose.

Frustrating! Let us know if you want it changed and we will.


Release on PECL

Please consider making your code available through PECL.
Thank you.

+1

+1

+1

+1

I'd love to get phpiredis into PECL but I'm not familiar with the process (well it'd be more accurate to say that I don't even know where to start :smile:).
Is there anyone up to the task?

+1

@nrk, I can probably help you with making a pecl release.
Start with https://pecl.php.net/account-request.php
So you need to subscribe to pecl-devel ML and introduce this new extension.
Then (after some time/feedback), apply an account to publish it.

Thanks @remicollet, then I'll start by subscribing to the pecl-devel mailing list in order to introduce this extension as soon as I merged your changes.

Any news here? :)

@dzuelke I sent an introduction for phpiredis on the pecl-dev mailing list for now, we'll see how it goes :)

Account request for publishing phpiredis has been approved, which means we are a step closer from having this extension on PECL 🎉

Hi! is there any update? Thanks!

Did you manage to get this going? Thanks.

@thclev not yet unfortunately, as usual life kicked in unexpectedly and I had almost no time left for my opensource projects (not just phpiredis) but things should get better in this sense once December comes.

Any updates in 2018?

any updates in 2020?

Any updates in 2021?

Any updates in 2022?

Any updates in 2023?

+1


Fix so that SocialLoginLink supports onClick property

Fixes so that the SocialLoginLink component supports the onClick event property.
How to verify
Use the SocialLoginLink and attach a onClick property as shown below:
onLoginLinkClick(e) {
  console.log('Social login link was clicked!');
}

<SocialLoginLink onClick={this.onLoginLinkClick.bind(this)} />

Note: Remember to set the perserve log in your developer tools console. If you don't set that, then the console.log() might be cleared when the browser navigates to the provider login page.
Fixes #123

Fix looks good. However, a question about the logic of the wrapping function (_onClick) - As far as I can see, once you click, it will never get enabled again, even if it fails due to some reason and does not redirect. Is this intentional? Not specifically tied to this fix, but related, so thought it might be worth to ask.

@Tweety-FER
Just noticed this comment when going through PRs to review.
That's a good point. It's out of the scope for this PR, but I'm going to create a new issue that states that links should be able to recover from failure. E.g. if there's a temporary network error, it shouldn't just disable the link and write to console. It should be re-enabled after the failure so it's possible to try again.

Merging this PR in.


Some suggestion of go-sdk and components

After simple use of go-sdk, I have found the following "problems".
reference to #213
1. The hello function haven't support Name
In the hello components, the Hello function allows client to send Name field. And the proto file supports this field as well.
But in go-sdk, it only allows ServiceName which is used to get hello instance but not the Name field.
The hello components
https://github.com/mosn/layotto/blob/6fd80a081074b4a0847b64954539418910a47bbf/components/hello/helloworld/helloworld.go#L66-L74
The grpc server
https://github.com/mosn/layotto/blob/6fd80a081074b4a0847b64954539418910a47bbf/spec/proto/runtime/v1/runtime_grpc.pb.go#L89-L96
The grpc request struct
https://github.com/mosn/layotto/blob/6fd80a081074b4a0847b64954539418910a47bbf/spec/proto/runtime/v1/runtime.pb.go#L1671-L1682
The go-sdk request struct
https://github.com/mosn/layotto/blob/6fd80a081074b4a0847b64954539418910a47bbf/sdk/go-sdk/client/hello.go#L25-L42
The useage of go-sdk and  row grpc.

// with go-sdk. I can only set the ServiceName field, but not the Name field.
func main() {
	cli, err := client.NewClient()
	if err != nil {
		log.Fatal(err)
	}

	defer cli.Close()

	//say hello
	res, err := cli.SayHello(context.Background(), &client.SayHelloRequest{
		ServiceName: "hellowrld",
	})
	if err != nil {
		log.Fatal(err)
	}

	fmt.Println(res.Hello)
}

/*
output: greeting
*/

// with grpc connection
func main() {
	conn, err := grpc.Dial("<IP_ADDRESS>:34904", grpc.WithInsecure())
	if err != nil {
		fmt.Printf("conn build failed,err:%+v", err)
		panic(err)
	}
	c := runtimev1pb.NewRuntimeClient(conn)
	req := &runtimev1pb.SayHelloRequest{
		ServiceName: "helloworld",
		Name:        "yeebing",
	}

	hello, err := c.SayHello(context.Background(), req)
	if err != nil {
		log.Fatal(err)
	}

	fmt.Println(hello.Hello)
}

/*
output: greeting, yeebing
*/

2. Some interfaces are not yet supported by the Go SDK.
For example, go-sdk haven't support file module. (I'm not sure if it's because of not familiar enough with the program, but I couldn't find the corresponding file interface in the go-sdk, and the demos also use gRPC connections to operate the file interface.)
So, if I need to use such interface, I need to init a row grpc connection to layotto.
https://github.com/mosn/layotto/blob/6fd80a081074b4a0847b64954539418910a47bbf/demo/file/client.go#L66-L76
If I need to use go-sdk with the same row grpc conn, I can use thit function to get a wrap client.
https://github.com/mosn/layotto/blob/6fd80a081074b4a0847b64954539418910a47bbf/sdk/go-sdk/client/client_generated.go#L57-L78
I think that why not have the go-sdk provide a function that returns the RuntimeClient.
Here is a function for a proposed solution, along with a demo showcasing its usage.
// the new function
func (g *GRPCClient)GetRuntimeClient() v1.RuntimeClient {
	conn := g.connection
	c := v1.NewRuntimeClient(conn)
	return c
}

useage demo， which  is modifying the following function.
https://github.com/mosn/layotto/blob/6fd80a081074b4a0847b64954539418910a47bbf/demo/file/client.go#L26-L62
func TestClientGet(fileName string) {
	cli, err := client.NewClient()
	if err != nil {
		fmt.Printf("conn build failed,err:%+v", err)
		panic(err)
	}

	c := cli.GetRuntimeClient()
	// Make a request to get a file
	req := &runtimev1pb.GetFileRequest{StoreName: storeName, Name: fileName}
	res, err := c.GetFile(context.Background(), req)
	if err != nil {
		fmt.Printf("get file error: %+v", err)
		panic(err)
	}

	// Receive data from the server and store in pic
	pic := make([]byte, 0)
	for {
		resp, err := res.Recv()
		if err != nil {
			if err.Error() != "EOF" {
				fmt.Println("recv file failed")
				panic(err)
			}
			break
		}
		pic = append(pic, resp.Data...)
	}

	// Print the result of the GetFile request
	fmt.Println("GetFile successfully. Result:")
	fmt.Println(string(pic))
}

I added the function to the go-sdk and modified some parameters in demo/file/client.go to test the local type, which resulted in the correct output.
cyb@DESKTOP-6AOA5PJ:~/project/ospp/layotto/demo/file$ ./client put hello world
[./client put hello world]
cyb@DESKTOP-6AOA5PJ:~/project/ospp/layotto/demo/file$ ./client get hello
[./client get hello]
GetFile successfully. Result:
world
cyb@DESKTOP-6AOA5PJ:~/project/ospp/layotto/demo/file$ ./client get-cli hello
[./client get-cli hello]
runtime client initializing for: <IP_ADDRESS>:34904
GetFile successfully. Result:
world

So that, users can use default configurations to init a gRPC connections with go-sdk. Additionally, obtaining the corresponding gRPC client can provide certain expandability in cases where go-sdk updates are not available yet.
These two are very small problems, I can't weigh whether it is necessary to modify.

You are right. In theory, golang-sdk should shield the user from the pb changes of the underlying grpc, including the changes of the grpc client you mentioned. To give a simple example, if you use the grpc client directly. Once the definition of Layotto's pb file changes, users need to modify their own code to adapt to the changes in layotto (these adaptations should be done by golang sdk), so your idea is right, you can use golang -sdk for further abstraction and encapsulation.

You are right. In theory, golang-sdk should shield the user from the pb changes of the underlying grpc, including the changes of the grpc client you mentioned. To give a simple example, if you use the grpc client directly. Once the definition of Layotto's pb file changes, users need to modify their own code to adapt to the changes in layotto (these adaptations should be done by golang sdk), so your idea is right, you can use golang -sdk for further abstraction and encapsulation.

Yes. I have found that layotto have packaged the runtimeAPI, but still use the request and response struct from grpc. And dapr write a new struct in go-sdk, which helps users save the complexity of grpc. I think it's a great way to update our go-sdk.
https://github.com/mosn/layotto/blob/6fd80a081074b4a0847b64954539418910a47bbf/sdk/go-sdk/client/client.go#L107-L114
https://github.com/dapr/go-sdk/blob/main/client/client.go#L62-L191

Should I solve the two tiny problems, I think he is insensitive to users

Should I solve the two tiny problems, I think he is insensitive to users

Any improvements you think will help the project are welcome. 😊