how-to: SQL User Management using postgres’ users and passwords

As discussed in #562, here is a suggestion for a how-to on "SQL User Management using postgres’ users and passwords", without a dedicated users table and dedicated passwords.
It all boils down to implementing SCRAM-SHA-256 password verification in PL/pgSQL and verifying against pg_authid.rolpassword .
Debatable choices are:

There are quite many references to the main docs article, leading to wordings as "As described in ...", "Analogous to ..."
The extensive testing section - but I think this can help understanding what happens; and it even is a small security test.
SQL keywords upcased for better readability?
The whole thing: Are a PBKDF2 function taken from stackoverflow plus some self-engineered function check_user_pass secure enough?

Please review; thank you!

Very interesting!

The whole thing: Are a PBKDF2 function taken from stackoverflow plus some self-engineered function check_user_pass secure enough?

You know I'm not sure either. How about adding a warning at the top mentioning that this auth way is "experimental"? (similar to this one)

There are quite many references to the main docs article, leading to wordings as "As described in ...", "Analogous to ..."
The extensive testing section - but I think this can help understanding what happens; and it even is a small security test.
SQL keywords upcased for better readability?

Those look fine, I was able to read it well.

Very interesting!

The whole thing: Are a PBKDF2 function taken from stackoverflow plus some self-engineered function check_user_pass secure enough?

You know I'm not sure either. How about adding a warning at the top mentioning that this auth way is "experimental"? (warning similar to this one)

Warning added.

Cool. If no more changes I think you can undraft the PR. It's looking good to merge.
Also, you can rebase to to clear the conflicts.

Cool. If no more changes I think you can undraft the PR. It's looking good to merge.
Also, you can rebase to to clear the conflicts.

Done.


Bind _retry to the component instance

Since _retry is never overwritten or changed it doesn't need to be stored in state. By just binding it to the instance in the constructor you avoid any cost associated with state updates.

This would be a right thing, but my goal was to introduce as few differences to the standard RelayRenderer as possible for maintenance reasons:
https://github.com/facebook/relay/blob/v0.9.2/src/container/RelayRenderer.js#L145
Can you send the same PR for RelayRenderer to https://github.com/facebook/relay? In case the PR is accepted there I will merge it here.


ARROW-1578: [C++] Run lint checks in Travis CI much earlier at before_script stage to fail faster

Pretty unsure why https://travis-ci.org/apache/arrow/jobs/277763849 failed


Any way to install it on Win 8.1 or rebuild for it?

What feature or improvement do you think would benefit Files?
Any way to install it on Win 8.1 or rebuild for it?
Requirements
Any way to install it on Win 8.1 or rebuild for it?
Files Version
x
Windows Version
8.1.1
Comments
Any way to install it on Win 8.1 or rebuild for it?

Unfortunately not, the WinAppSdk framework is only supported from Windows 10 onwards.


Create Prompt Template.txt

Zero-shot prompt

This looks good Nino. I would prefer if you added comments though. Since this prompt self explanatory, I'll give it a pass


bad documentation URL in github enterprise

I'm trying to publish a microsite in a Github Enterprise repo and when I call the method https://github.com/47degrees/github4s/blob/9c18225cc61f756aace9ddcb5d134720c882edb0/github4s/shared/src/main/scala/github4s/algebras/GitData.scala#L42 I get the following error:
Caused by: NotFoundError(Not Found, https://docs.github.com/enterprise/3.4/rest)
Should update to<EMAIL_ADDRESS>

That URI is coming directly from the GitHub API response.


[Bug] [dolphinscheduler-api]  "cannot deserialize from Object value" because org/apache/dolphinscheduler/api/utils/PageInfo.java has no default constructor

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
json string to Result<PageInfo>  using  org.apache.dolphinscheduler.common.utils.JSONUtils.parseObject(jsonStr,clazz);
com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of org.apache.dolphinscheduler.api.utils.PageInfo (no Creators, like default constructor, exist): cannot deserialize from Object value (no delegate- or property-based Creator)
What you expected to happen
add this to  PageInfo.java
public PageInfo() {
}
will solve this problem
How to reproduce
json string to Result<PageInfo>  using  org.apache.dolphinscheduler.common.utils.JSONUtils.parseObject(jsonStr,clazz);
com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of org.apache.dolphinscheduler.api.utils.PageInfo (no Creators, like default constructor, exist): cannot deserialize from Object value (no delegate- or property-based Creator)
Anything else
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

done.


Thaumatorium doesn't work

Thaumcraft beta 20
Forge 2746
The new thaumatorium GUI looks great, but I can't select anything.  It's like something else is selected and it won't let me un-choose it.
I get the little buzzing sound when I click something, but no essentia is drawn and it never highlights.

I have the same issue when connected to a remote dedicated server (not in singleplayer). Thaumatoria created and configured in BETA19 or earlier retain their configuration, and previously configured recipes continue to work, but I'm unable to select new recipes or deselect old ones; the sound plays but nothing changes.
Thaumcraft 6.1.BETA20
Forge <IP_ADDRESS>07
(A number of other mods as well; I can list them if necessary.)

B20 same to us two playing on my server. singleplayer working well, but not server. Same not working, only buzzing sound, and can produce only thaumium ingots selected before in B19

I can't confirm that things were working before, but I'll add my experience that this is broken in B20 on our server.


Question about the length of annotated NLRs

Hi sir.
I find that the annotated genome sequences are all shorter than 1000bp, is that normal?
Looking forward to your reply.

Hi,
Yes, the annotations are of the protein domains so they will be relatively short. Or if you mean the whole scaffold sequence that will depend on the quality of the genome assembly because these regions can be difficult to assemble.


VSCode extension: Client pylyzer: connection to server is erroring. Shutting down server.

Cannot use extention
[Error - 12:57:04 AM] Client pylyzer: connection to server is erroring. Shutting down server.
[Error - 12:57:04 AM] Stopping server failed
Error: Client is not running and can't be stopped. It's current state is: starting
	at b.shutdown (/home/username/.vscode-server/extensions/pylyzer.pylyzer-0.1.7/dist/extension.js:1:104625)
	at b.stop (/home/username/.vscode-server/extensions/pylyzer.pylyzer-0.1.7/dist/extension.js:1:104206)
	at b.stop (/home/username/.vscode-server/extensions/pylyzer.pylyzer-0.1.7/dist/extension.js:1:266220)
	at b.handleConnectionError (/home/username/.vscode-server/extensions/pylyzer.pylyzer-0.1.7/dist/extension.js:1:110713)
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[ERR] ERG_PATH not found
[Error - 12:57:09 AM] Client pylyzer: connection to server is erroring. Shutting down server.
[Error - 12:57:09 AM] Stopping server failed
...
Error: Client is not running and can't be stopped. It's current state is: starting
	at b.shutdown (/home/username/.vscode-server/extensions/pylyzer.pylyzer-0.1.7/dist/extension.js:1:104625)
	at b.stop (/home/username/.vscode-server/extensions/pylyzer.pylyzer-0.1.7/dist/extension.js:1:104206)
	at b.stop (/home/username/.vscode-server/extensions/pylyzer.pylyzer-0.1.7/dist/extension.js:1:266220)
	at b.handleConnectionError (/home/username/.vscode-server/extensions/pylyzer.pylyzer-0.1.7/dist/extension.js:1:110713)
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Resolved by disabling then enabling extention


'sh' step errors don't provide much insights

Feature Request
Pipeline Shell Step errors are not very meaningful. Could we enable logs correlation ? Or capture stderr?

cc @kuisathaverat

Yeah it would be extra useful but keep in mind it might expose some sensitive data like tokens or passwords.
In general I have a big hope to use this plugin to quick detect problems with pipelines in big Jenkins setup.
So we want to get answers for:

Which stage fails the most of the time
Which step in stage causes this and why
Pipeline status (FAILED, UNSTABLE and so on)
What's shared libraries version is in use
...

All these should be labeled with 'project name ' and 'branch' at least. So we could use Kibana to build some queries per project, branch, agent_name and so on.

Good catch @ipleten . We could focus on collecting build logs with OpenTelemetry combined with the existing capability of trace exploration products to visualize logs associated with traces. Thanks to this, the security permission mechanisms of the trace explorer handles the problem of sensitive data.

Hi @kuisathaverat @cyrille-leclerc , Is there a specific timeline to get this enhancement? This will really helpful for us. Please do share, If there are any quick alternatives that we could do to get this shell failure cause information is available in trace. Thanks in advance!

spans and logs correlation is there the trace.id and spand.id are the same so showing the context of the error is a task for the backend.


Modify the Date format used in Album controller

Right now the Album Controller is using a format of "dd/mm/yyyy" and should be using "yyyy-mm-dd".

Resolved in
501d909b9b0fe32c7ea0ce46550c41eae4ac0bab

Hi @jheredia in AlbumController, line 91 :
Date release_date = df.parse(req.queryParams("release_date"));
someone made a modification and the project broke.
:+1:

Fixed in:
26b5121f4464bbd76db105a20ba622a0caaf71c8


Add new zebra-eyre crate

Is your feature request related to a problem? Please describe.
As part of our zebrad application we'd like to be able to control exactly what context we carry with our error reports and how they're formatted. Right now we've been using color-eyre which provides a lot of good defaults that have mostly covered our needs, but it still restricts us to working with types that are defined in common crates, and mostly with going through the error trait.
Describe the solution you'd like
We should export our own error reporting hooks, based initially on those defined in color-eyre. By having our error reporting definitions be downstream in the crate graph of the rest of our libraries we can react to concrete types in our error reporting. This will make it easier to capture context that isn't necessarily covered by the error trait, and will let us add new error reporting features that we need quickly rather than needing to iron them out well enough to merge them into a more widely used upstream crate.
Additional context

based on this https://github.com/ZcashFoundation/zebra/pull/1041#discussion_r510332887

TODO

[ ] Handle sled errors with nice user friendly error messages consistently in sled_state https://github.com/ZcashFoundation/zebra/pull/1198#discussion_r510531326

I'm not sure if we will ever do this task.


[ci skip] adding user @charliermarsh

Hi! This is the friendly automated conda-forge-webservice.
I've added user @charliermarsh as instructed in #5.
Merge this PR to add the user. Please do not rerender this PR or change it in any way. It has [ci skip] in the commit message to avoid pushing a new build and so the build configuration in the feedstock should not be changed.
Please contact conda-forge/core to have this PR merged, if the maintainer is unresponsive.
Fixes #5
References:

suggested on https://github.com/astral-sh/uv/issues/2084#issuecomment-1972165925

@charliermarsh thanks for uv. As the Forms Must Be Observed, Just drop a little note here that you're okay with this, and we'll get it merged up.

Awesome, thanks @bollwyvl, and thanks for kicking this off!


bugfix: fix invalid nil pointer when trying to record Store.SlownessStat.

Description
This pr is a bugfix pr, used to fix the panic issue when trying to record Store.SlownessStat if rpcCtx.Store == nil.
Related issue: https://github.com/pingcap/tidb/issues/47531

/cc @cfzjywxk PTAL.

/run test

/test

Why the DCO stucks..

Why the DCO stucks..

...It's successful again after I just pick one new tiny pr...

@LykxSassinator Please also update the dependency in mod of tidb repo.


Support log-path opt for json-file logging driver

Support specifying log-path when using json-file logging driver.
Signed-off-by: Bingmang<EMAIL_ADDRESS>

could you please add a unit test.

The test seems to be unstable. :(

Thanks

Thanks for reviewing too


Lightswitch first render issues

Current Behavior
On initial page load the icon in the switch doesn't render until after an interaction and it defaults into the Light mode even if the user system preference is set to Dark mode.
Steps To Reproduce
Brave and Safari in private mode
Open Theme drop down menu

Anything else?
No response

There was two issues for this:

The theme colors were not being applied consistently because the state was not set properly for the defaults (system preference)
The LightSwitch store value was not being updated until interacted with, so by default when using the system preference, the value was undefined rather than a boolean.

Both have been fixed and will go live with the QA branch I've created.

Something similar is still happening. I'm using this in a tauri application.
$: {
    console.log($storePrefersDarkScheme);
    console.log($storeLightSwitch);
}

will log true for both.
The visualization I get after starting:

with the light theme in the full application applied.
Clicking once the switch fixes the visualization of the switch (switch button is left, sun icon is showing). Clicking twice activates the dark theme. At this point the switch works perfectly fine.

Something similar is still happening. I'm using this in a tauri application.
$: {
    console.log($storePrefersDarkScheme);
    console.log($storeLightSwitch);
}

will log true for both.
The visualization I get after starting the application:  with the light theme in the full application applied.
Clicking once the switch fixes the visualization of the switch (switch button is left, sun icon is showing). Clicking twice activates the dark theme. At this point the switch works perfectly fine.

did you ever find a fix for this secondary issue? seems to still be around in tauri projects.

@cappscolton you might read through this PR and the related issue. Seems like this might fix this?
https://github.com/skeletonlabs/skeleton/pull/1440


Salt-Rim Logs

Salt-Rim is working great, but I'm unable to locate its logs, the console just shows nothing as output.  Is there a ENV variable that needs to be set to enable this?
I'm running under Kubernetes not Docker, but there is nothing special about logging it works the same, just different CLI commands:
Salt Rim - no log output:
$ kubectl logs -n bar-assistant bar-assistant-salt-rim-64b6cffd-kndh9

# nothing

However, no issues with Bar Assistant logs:
$ kubectl logs -n bar-assistant bar-assistant-54474569bd-rwvgj

--------------------------------------------------------------------
 ____                             ____  _     _        _   _
/ ___|  ___ _ ____   _____ _ __  / ___|(_) __| | ___  | | | |_ __
\___ \ / _ \  __\ \ / / _ \  __| \___ \| |/ _` |/ _ \ | | | |  _ \
 ___) |  __/ |   \ V /  __/ |     ___) | | (_| |  __/ | |_| | |_) |
|____/ \___|_|    \_/ \___|_|    |____/|_|\__,_|\___|  \___/| .__/
                                                            |_|

Brought to you by serversideup.net
--------------------------------------------------------------------

🙌 To support Server Side Up projects visit:
https://serversideup.net/sponsor

-------------------------------------
ℹ Container Information
-------------------------------------

OS:            Debian GNU/Linux 12 (bookworm)
Docker user:   www-data
Docker uid:    33
Docker gid:    33
OPcache:       ✅ Enabled

(init-webserver-config): Processing /etc/nginx/nginx.conf.template → /etc/nginx/nginx.conf...
(init-webserver-config): Processing /etc/nginx/site-opts.d/http.conf.template → /etc/nginx/site-opts.d/http.conf...
(init-webserver-config): Processing /etc/nginx/site-opts.d/https.conf.template → /etc/nginx/site-opts.d/https.conf...
ℹ NOTICE (init-webserver-config): Enabling NGINX site with SSL "off"...
[BAR-ASSISTANT] Enabling database WAL mode...
[29-Sep-2024 17:23:29] NOTICE: fpm is running, pid 124
[29-Sep-2024 17:23:29] NOTICE: ready to handle connections

Nginx Web Server logs:
$ kubectl logs -n bar-assistant bar-assistant-web-server-576d89fdcd-8r8dx

/docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
/docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
/docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
10-listen-on-ipv6-by-default.sh: info: can not modify /etc/nginx/conf.d/default.conf (read-only file system?)
/docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh
/docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
/docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
/docker-entrypoint.sh: Configuration complete; ready for start up
2024/09/29 17:22:58 [notice] 1#1: using the "epoll" event method
2024/09/29 17:22:58 [notice] 1#1: nginx/1.27.1
2024/09/29 17:22:58 [notice] 1#1: built by gcc 13.2.1 20240309 (Alpine 13.2.1_git20240309)
2024/09/29 17:22:58 [notice] 1#1: OS: Linux 5.15.0-106-generic
2024/09/29 17:22:58 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2024/09/29 17:22:58 [notice] 1#1: start worker processes
2024/09/29 17:22:58 [notice] 1#1: start worker process 21
2024/09/29 17:22:58 [notice] 1#1: start worker process 22
2024/09/29 17:22:58 [notice] 1#1: start worker process 23
2024/09/29 17:22:58 [notice] 1#1: start worker process 24
2024/09/29 17:22:58 [notice] 1#1: start worker process 25
2024/09/29 17:22:58 [notice] 1#1: start worker process 26
2024/09/29 17:22:58 [notice] 1#1: start worker process 27
2024/09/29 17:22:58 [notice] 1#1: start worker process 28
2024/09/29 17:22:58 [notice] 1#1: start worker process 29
2024/09/29 17:22:58 [notice] 1#1: start worker process 30
2024/09/29 17:22:58 [notice] 1#1: start worker process 31
2024/09/29 17:22:58 [notice] 1#1: start worker process 32
<IP_ADDRESS> - - [29/Sep/2024:17:23:28 +0000] "GET /bar HTTP/1.1" 301 169 "-" "kube-probe/1.29" "-"

Meilisearch Logs:
$ kubectl logs -n bar-assistant bar-assistant-meilisearch-659d4d6bd7-29nrb

888b     d888          d8b 888 d8b                                            888
8888b   d8888          Y8P 888 Y8P                                            888
88888b.d88888              888                                                888
888Y88888P888  .d88b.  888 888 888 .d8888b   .d88b.   8888b.  888d888 .d8888b 88888b.
888 Y888P 888 d8P  Y8b 888 888 888 88K      d8P  Y8b     "88b 888P"  d88P"    888 "88b
888  Y8P<PHONE_NUMBER>8 888 888 888 "Y8888b. 88888888 .d888888 888    888      888  888
888   "   888 Y8b.     888 888 888      X88 Y8b.     888  888 888    Y88b.    888  888
888       888  "Y8888  888 888 888  88888P'  "Y8888  "Y888888 888     "Y8888P 888  888

Config file path:       "none"
Database path:          "./data.ms"
Server listening on:    "http://<IP_ADDRESS>:7700"
Environment:            "production"
Commit SHA:             "0df84bbba7db46680e83843dd6454257161a282f"
Commit date:            "2024-06-27T12:47:08Z"
Package version:        "1.9.0"
Anonymous telemetry:    "Disabled"

A master key has been set. Requests to Meilisearch won't be authorized unless you provide an authentication key.

Check out Meilisearch Cloud!    https://www.meilisearch.com/cloud?utm_campaign=oss&utm_source=engine&utm_medium=cli
Documentation:                  https://www.meilisearch.com/docs
Source code:                    https://github.com/meilisearch/meilisearch
Discord:                        https://discord.meilisearch.com

2024-09-29T17:23:05.786104Z  INFO actix_server::builder: starting 6 workers
2024-09-29T17:23:05.786132Z  INFO actix_server::server: Actix runtime found; starting in Actix runtime
2024-09-29T17:23:13.179661Z  INFO HTTP request{method=GET host="<IP_ADDRESS>:7700" route=/health query_parameters= user_agent=kube-probe/1.29 status_code=200}: meilisearch: close time.busy=3.87ms time.idle=32.0µs
2024-09-29T17:23:13.464467Z  INFO HTTP request{method=GET host="<IP_ADDRESS>:7700" route=/health query_parameters= user_agent=kube-probe/1.29 status_code=200}: meilisearch: close time.busy=74.6µs time.idle=15.2µs
2024-09-29T17:23:23.175564Z  INFO HTTP request{method=GET host="<IP_ADDRESS>:7700" route=/health query_parameters= user_agent=kube-probe/1.29 status_code=200}: meilisearch: close time.busy=144µs time.idle=18.8µs
2024-09-29T17:23:23.175564Z  INFO HTTP request{method=GET host="<IP_ADDRESS>:7700" route=/health query_parameters= user_agent=kube-probe/1.29 status_code=200}: meilisearch: close time.busy=142µs time.idle=15.1µs

Hello,
currently there is nothing really to log in salt-rim so logs are empty.

Hah! OK, I was reading the FAQ and it implied salt-rim had logs:

You could add some initialization info, the written by info and license information.  :)


Added test suite for sample requests

Added integrated test suite for requests listed in the Postman file.
The tests require a running emulator.
Notes

I didn't implement the DELETE test because it's public.

Wow, impressive work! 🙌🚀


swap rem values for px values

closes #1103
This PR should swap every rem value that is not associated with typography. Also any rem value that used decimals, I just rounded to the nearest px value.
Next steps:

do a similar clean up on RS
possibly add some linting to prevent using rem on margin/padding/height/width etc.?
socialize with the team the updates and standards

What do you think about also taking this opportunity to define some clear spacing vars for these values?
--space-unit: 4px;
--space-1: --space-unit;
--space-2: calc(var(--space-unit) * 2);
// etc perhaps up to 12?

That way when we socialize it we can simultaneously socialize our 4px grid system as well a bit, and point to clear variables that easily grokked

I'm game for getting our spacing vars in order. Probably will want to do that in a follow up PR since this is just meant to clean up all the rem.


Update mbedtls-sys-auto dependency

The current mbedtls-sys-auto dependency won't allow us to upgrade to version 2.26.0.
cc: @jethrogb

This PR doesn't make sense to me.


guake: init at 0.8.3

After starting Guake it will give the error message "Guake can not init! Gconf Error. Have you installed guake.schemas properly?", which will have to be resolved manually, because I have not found a way to automate this, without being impure.
If you have Guake installed, you can use nix-build -A gnome3.guake to get the path to the build directory in the nix store, which then can be used in the following command to install the schemas file of Guake:
gconftool-2 --install-schema-file /path/returned/by/nix-build/share/gconf/schemas/guake.schemas
It can be removed again by the following command:
gconftool-2 --recursive-unset /apps/guake

cc @lethalman

I really have no idea what to do about gconf. However I will take a look...

@lethalman is there a reason to put this package below gnome-3/?

It shouldn't be under gnome3 package set. It uses gconf and gtk2. It works on gnome3, but definitely not a piece resembling gnome3 or bound to any of the gnome3 packages at all.

The libutemper fails to download its source.

@lethalman It is now under pkgs/applications/misc, just like terminator.
@vcunat Since the original source is down, I have used the original source archive used by Ubuntu.

So, just the gconf error is remaining, right? (It prevents start for me.)

OK, I somehow missed the work-around. Pushed with that comment, but I assume you'll (soon) improve it not to require gconf, as mentioned on IRC.


OpenCV Error: Failed Assertion

Receiving the following error: OpenCV Error: Assertion failed (scn == 3 || scn == 4) in cvtColor, file /home/pi/opencv-3.1.0/modules/imgproc/src/color.cpp, line 8000
Traceback (most recent call last):
File "/home/pi/rpotter.py", line 138, in FindWand
old_gray = cv2.cvtColor(old_frame, cv2.COLOR_BGR2GRAY)
cv2.error: /home/pi/opencv-3.1.0/modules/imgproc/src/color.cpp:8000: error: (-215) scn == 3 || scn == 4 in function cvtColor
Using the Pi NoIR.  Still searching for a solution.

Are you running this under a virtual environment?  If you try running it
outside of a virtual environment does the error change?
ᐧ
On Wed, Mar 15, 2017 at 6:26 PM, Jason Teeple<EMAIL_ADDRESS>wrote:

Receiving the following error: OpenCV Error: Assertion failed (scn == 3 ||
scn == 4) in cvtColor, file /home/pi/opencv-3.1.0/modules/imgproc/src/color.cpp,
line 8000
Traceback (most recent call last):
File "/home/pi/rpotter.py", line 138, in FindWand
old_gray = cv2.cvtColor(old_frame, cv2.COLOR_BGR2GRAY)
cv2.error: /home/pi/opencv-3.1.0/modules/imgproc/src/color.cpp:8000:
error: (-215) scn == 3 || scn == 4 in function cvtColor
Using the Pi NoIR. Still searching for a solution.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/sean-obrien/rpotter/issues/2, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABQi5Vjm2nyJKj1Oj_hhQOMH9Fl9rnbDks5rmHOMgaJpZM4MeqDG
.

I am running in the virtual environment.
I just tried outside of the virtual enviroment and now get a different error:
warnings.filterwarnings("ignore", category=np.VisibleDeprecationWarning)
AttributeError: 'module' object has no attribute 'VisibleDeprecationWarning'

Can you check your numpy version both inside and outside the virtual environment?
python -c "import numpy; print numpy.__version__"

I am also having the same issue as TEEPLE31. And I am also in virtual environment when trying. I will also check my numpy versions.

I have 1.8.2 in both environments

1.12.0 in both.

Initializing point tracking
START switch_pin ON for pre-video test
OpenCV Error: Assertion failed (scn == 3 || scn == 4) in cvtColor, file /home/pi/opencv-3.1.0/modules/imgproc/src/color.cpp, line 8000
Error: /home/pi/opencv-3.1.0/modules/imgproc/src/color.cpp:8000: error: (-215) scn == 3 || scn == 4 in function cvtColor
START incendio_pin ON and set switch off if video is running
OpenCV Error: Assertion failed (scn == 3 || scn == 4) in cvtColor, file /home/pi/opencv-3.1.0/modules/imgproc/src/color.cpp, line 8000
No points found
Tracking Error: <type 'exceptions.NameError'>
(Raspberry Potter:1189): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(Raspberry Potter:1189): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Tracking Error: <type 'exceptions.NameError'>

Ok - I'm rebuilding so I can dig into this...  right now I'm thinking this is related to the virtual environment and the OpenCV python bindings...

Thanks so much for the help.
Sent from my iPhone

On Mar 18, 2017, at 12:08 PM, sean-obrien<EMAIL_ADDRESS>wrote:
Ok - I'm rebuilding so I can dig into this... right now I'm thinking this is related to the virtual environment and the OpenCV python bindings...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Everything I am reading is that OpenCV and PiCamera do not play well together.

Something to try...
What version do you get when you run this outside the virtual env :
$ python

import cv2
cv2.version

ᐧ
On Sat, Mar 18, 2017 at 3:16 PM, Jason Teeple<EMAIL_ADDRESS>wrote:

Everything I am reading is that OpenCV and PiCamera do not play well
together.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/sean-obrien/rpotter/issues/2#issuecomment-287571805,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABQi5Za46GvanktPXJkecnfWkHfcd2W1ks5rnDuSgaJpZM4MeqDG
.

3.1

Import error no module named cv2.

Problem solved for me.  Need to make sure I am running python2.7 in virtual env.

I am running 2.7.9 in both environments. Still have the problem though.
Sent from my iPhone

On Mar 20, 2017, at 6:39 PM, Jason Teeple<EMAIL_ADDRESS>wrote:
Problem solved for me. Need to make sure I am running python2.7 in virtual env.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

pi@raspberrypi:~ $ python
Python 2.7.9 (default, Sep 17 2016, 20:26:04)
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.

import cv2
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named cv2

[1]+  Stopped                 python
pi@raspberrypi:~ $ source ~/.profile
pi@raspberrypi:~ $ workon cv
(cv) pi@raspberrypi:~ $ python
Python 2.7.9 (default, Sep 17 2016, 20:26:04)
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.

Try:
$ sudo modprobe bcm2835-v4l2

Meant to say:
$ source ~/.profile
$ workon cv
---assuming you are now in virtual env---
$ sudo pigpiod
$ sudo modprobe bcm2835-v4l2
$ python2.7 rpotter.py

Yah buddy. You the man. Thanks so much for the help.
Sent from my iPhone

On Mar 20, 2017, at 7:49 PM, Jason Teeple<EMAIL_ADDRESS>wrote:
Meant to say:
$ source ~/.profile
$ workon cv
---assuming you are now in virtual env---
$ sudo pigpiod
$ sudo modprobe bcm2835-v4l2
$ python2.7 rpotter.py
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

I am also getting a similar error.
Initializing point tracking
OpenCV Error: Assertion failed (scn == 3 || scn == 4) in cvtColor, file /home/pi/opencv-3.2.0/modules/imgproc/src/color.cpp, line 9748
Error: /home/pi/opencv-3.2.0/modules/imgproc/src/color.cpp:9748: error: (-215) scn == 3 || scn == 4 in function cvtColor
OpenCV Error: Assertion failed (scn == 3 || scn == 4) in cvtColor, file /home/pi/opencv-3.2.0/modules/imgproc/src/color.cpp, line 9748
Traceback (most recent call last):
File "rpotter.py", line 204, in
TrackWand()
File "rpotter.py", line 133, in TrackWand
old_gray = cv2.cvtColor(old_frame, cv2.COLOR_BGR2GRAY)
cv2.error: /home/pi/opencv-3.2.0/modules/imgproc/src/color.cpp:9748: error: (-215) scn == 3 || scn == 4 in function cvtColor
sudo modprobe bcm2835-v4l2 fixed the first error, but I am not sure what to do about the 2nd error.
Anyone have any other ideas on how to fix it?

What version of python do you have installed for the VM?
On Fri, Apr 21, 2017 at 5:53 PM sallyliest<EMAIL_ADDRESS>wrote:

I am also getting a similar error.
Initializing point tracking
OpenCV Error: Assertion failed (scn == 3 || scn == 4) in cvtColor, file
/home/pi/opencv-3.2.0/modules/imgproc/src/color.cpp, line 9748
Error: /home/pi/opencv-3.2.0/modules/imgproc/src/color.cpp:9748: error:
(-215) scn == 3 || scn == 4 in function cvtColor
OpenCV Error: Assertion failed (scn == 3 || scn == 4) in cvtColor, file
/home/pi/opencv-3.2.0/modules/imgproc/src/color.cpp, line 9748
Traceback (most recent call last):
File "rpotter.py", line 204, in
TrackWand()
File "rpotter.py", line 133, in TrackWand
old_gray = cv2.cvtColor(old_frame, cv2.COLOR_BGR2GRAY)
cv2.error: /home/pi/opencv-3.2.0/modules/imgproc/src/color.cpp:9748:
error: (-215) scn == 3 || scn == 4 in function cvtColor
sudo modprobe bcm2835-v4l2 fixed the first error, but I am not sure what
to do about the 2nd error.
Anyone have any other ideas on how to fix it?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sean-obrien/rpotter/issues/2#issuecomment-296314115,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJwyYvPhIGFhmNXRFRYMr9au_FhIHCGwks5rySVBgaJpZM4MeqDG
.

Python 2.7
Is it a problem with the version?

Anyone figure out this issue, same as sallyliest over here

A friend of mine figured it out and we got it to work.
I just had to comment out line 250: cam.release()
I also did what teeple3 said to do.
Also make sure you use the code that's in the ollivanderslamp folder.
I ran into a couple other issues with linking the python modules so if you had a problem with that just lmk.

I've been working on this damn lamp for so long, and have finally gotten far enough to even understand how to follow your instructions.  I have just gotten picture and tracking marks up on the pi via ssh and and pretty proud of myself, but of course I could have done none of it without you sharing your knowledge and experience.  Thanks to you, my daughter will have her harry potter lamp under the tree this xmas.


[Coverity CID: 182886] Error handling issues in /subsys/bluetooth/controller/hal/nrf5/ticker.c

Static code scan issues seen in File: /subsys/bluetooth/controller/hal/nrf5/ticker.c
Category: Error handling issues
Function: hal_ticker_instance0_sched
Component: Bluetooth
CID: 182886
Please fix or provide comments to square it off in coverity in the link: https://scan9.coverity.com/reports.htm#v32951/p12996

*** CID 182886:    (CHECKED_RETURN)
/subsys/bluetooth/controller/hal/nrf5/ticker.c: 67 in hal_ticker_instance0_sched()
61     			static memq_link_t link;
62     			static struct mayfly m = {0, 0, &link, NULL,
63     						  ticker_worker};
64
65     			m.param = instance;
66

CID 182886:    (CHECKED_RETURN)
Calling "mayfly_enqueue" without checking return value (as is done elsewhere 17 out of 19 times).

67     			mayfly_enqueue(TICKER_MAYFLY_CALL_ID_TRIGGER,
68     				       TICKER_MAYFLY_CALL_ID_WORKER,
69     				       chain,
70     				       &m);
71     		}
72     		break;
/subsys/bluetooth/controller/hal/nrf5/ticker.c: 113 in hal_ticker_instance0_sched()
107     			static memq_link_t link;
108     			static struct mayfly m = {0, 0, &link, NULL,
109     						  ticker_worker};
110
111     			m.param = instance;
112

CID 182886:    (CHECKED_RETURN)
Calling "mayfly_enqueue" without checking return value (as is done elsewhere 17 out of 19 times).

113     			mayfly_enqueue(TICKER_MAYFLY_CALL_ID_JOB,
114     				       TICKER_MAYFLY_CALL_ID_WORKER,
115     				       chain,
116     				       &m);
117     		}
118     		break;

@cvinayak can this be fixed by Friday?

Intentional, return value does not need to be checked. Commented in Coverity.


onDuration returns null for HTML5 player

onDuration will return null if you programmatically set playing={true} immediately after the component mounts. The video will still play. This problem doesn't exist for youtube sources.
I assume this is because onDuration is being called before the video has fully loaded because putting playVideo() in a timeOut will fix the problem.

I've just taken a look and it looks like the oncanplay HTML5 player event is being called after the onplay event when you set playing={true} like you describe. I guess we need a better way of knowing when duration is ready (the call has already moved from onReady to onPlay in 8ef84fb67236 to fix an issue with Youtube)

Fixed in 0.7.2


enable message filtering of firehose data to stream specific type of events

Firehose today streams all types of events. If only specific type of events is needed, the user still has to get all from firehose and do filtering by him/herself.   For large scale deployment, this will cause huge network traffic along the path doppler->trafficcontroller->firehose nozzle.
Propose to have an API  to stream only specific type of events, something like following
/events/EVENT_TYPE/SUBSCRIPTION_ID : Opens a websocket connection that streams the given type of events. Connections with the same subscription id will get an equal portion of the data.

+1
I could also use this for the Administration UI.  Though in that case, it would desirable to be able to retrieve both ContainerMetrics and ValueMetrics with one websocket connection.

@boyang9527 and @rboykin - this is a great feature suggestion and validates some assumptions we have about the usefulness of the firehouse.

@ahevenor I did not see a story in our icebox to track this so I created one: https://www.pivotaltracker.com/story/show/138250011
I think it would be valuable to reduce network traffic between D -> TC and from TC -> client.

This functionality is planed for the v2 loggregator API. We'll keep this issue open until this available for general use.

@ahevenor, any ideas on when v2 API will be available?

This functionality has started to be added to the v2 gRPC API. Not only will this work need to be completed but we will need to have the gorouter support http2.

We now have a story to enable this capability in the websocket (v1) API: https://www.pivotaltracker.com/story/show/142851601

@boyang9527 @rboykin - we have added some basic filtering to be released in the next Loggregator version. It currently only supports two filter types logs or metrics.
See the documentation here

@ahevenor Thank you.  In which cf-release do you expect this function to appear?

@boyang9527 - httpstarstop is included in the metrics version. It's grouped as logs, not logs.
@rboykin I would guess cf262. I'll drop a note in here when it is confirmed included.

This is now available in the latest cf-release. Marking this item as delivered.

It looks like all the expected functionality has been delivered. I'm going to close this issue.


Non-interactive mode not working

Summary
I try the following with GoPass 1.10.1 on MacOS Catalina:
gopass --yes insert --force secrets/test username: test password: test
and i receive the following error message:
Incorrect Usage. flag provided but not defined: -yes
I remember in older versions the flag --yes worked fine. Was there any change?
Expected behavior
Inserting secrets non interactively!
Environment

OS: MacOS X Catalina
OS version: 10.15.6
gopass Version: gopass 1.10.1 go1.15 darwin amd64
Installation method: brew

Additional context

That might be a regression. We'll investigate.

I confirm, it was dropped by mistake. I'll add it back in a minute.
But what is the expected behaviour of this line?
It does not respect the syntax that insert is expecting, which is: gopass insert name/of/entry nameofkey.
I just tested it and it seems to work if we use this syntax:
gopass insert name/of/entry nameofkey:valueofkey without space after the colons.

I confirm, it was dropped by mistake. I'll add it back in a minute.
But what is the expected behaviour of this line?
It does not respect the syntax that insert is expecting, which is: gopass insert name/of/entry nameofkey.
I just tested it and it seems to work if we use this syntax:
gopass insert name/of/entry nameofkey:valueofkey without space after the colons.

The expected bevaiour is to insert (externally) generated password automatic.
The actual behaviour is, that even if i do:
gopass insert secrets/test username:test password:test
GoPass asks me for a password to be inserted in the entry.

@dominikschulz We might want to update the documentation about how insert behaves, I guess xD


Bump Goreleaser to support darwin_arm64 arch

Feature Request
Describe the problem you need a feature to resolve.
Asked myself if you plan to bump Go to 1.16.x and then bump Goreleaser to v0.156.0 to support/build darwin_arm64 as a release. 😄
Describe the solution you'd like.
A brew cask darwin_arm64 to prevent the Go dependency install from brew.

@estroz thanks for the change. IMO your PR answer part of the issue.
Maybe we shall let it open waiting a bump of Go version + darwin_arm64 as target in Goreleaser?

 Can you retitle the issue to say something about go 1.16 + darwin_arm64 support and reopen the issue?

#4828 captures the go 1.16 bump.

@estroz sorry for the late answer, I just did it! Btw I can't re-open the issue on my side.


Describe symlinking strategy for nextflow workflows

Making symlinks to relevant data and references inside the workflow directories allows config to point to relative paths instead of absolute paths.  This use, the impact, and expectations needs to be in a readme for each workflow.

process_vcf addressed by 9ee7958f
coverage addressed by 23c9d3dc
sequences addressed by 1db2ef5e


Fix development warnings

- Summary
First, thanks for your app, it is really usefull !
I wanted to remove warnings that I saw while browsing the example and building my config.yml.
Here are the results:

remove localforage.js warning (This seems to be a pre-built javascript file)
warnings/proptypes: use oneOfType to support object and string
warnings/widgets: forID is not required (can be undefined) + typo
warnings/map>key related warnings + typo

- Test plan
To test this PR, you can browse the example and look at the console, this PR removes most of warnings
- Description for the changelog
fix development warnings (proptypes, keys in map, prebuild javascript + typos

Fell free to modify my changes if you want to merge some of it.


ios compile error for cloud_firestore

Hi
I am getting the following errors on compiling cloud_firestore on ios:
=== BUILD TARGET cloud_firestore OF PROJECT Pods WITH CONFIGURATION Debug ===
/Users/nagik/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.10.1/ios/Classes/CloudFirestorePlugin.m:275:29:
error: no known class method for selector 'fieldValueForDoubleIncrement:'
return [FIRFieldValue fieldValueForDoubleIncrement:value.doubleValue];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/nagik/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.10.1/ios/Classes/CloudFirestorePlugin.m:279:29:
error: no known class method for selector 'fieldValueForIntegerIncrement:'
return [FIRFieldValue fieldValueForIntegerIncrement:value.intValue];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
This issue was closed earlier but I am using the latest cloud firestore - 0.10.1 and I am still getting these compile errors. Please help.

It looks like you need to update your CocoaPods. Does running "pod update" in the iOS folder help?

Hi
Yes it works after updating the pods. Thank you.
--
Thanks and with regards,

Nagi

Nagaraj Kanniah
Creative Micro Systems
No. 300-B, 5th Main, 4th Phase
Peenya Industrial Area
Bengaluru - 560 058
Karnataka, India
Ph:  +91-80-2837-7812 / 14
Fax: +91-80-2837-7812
Cell: +91-98451-65949
Email<EMAIL_ADDRESS>On Tue, May 7, 2019 at 6:45 PM Collin Jackson<EMAIL_ADDRESS>wrote:

It looks like you need to update your CocoaPods. Does running "pod update"
in the iOS folder help?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/32195#issuecomment-490073809,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGHNRPTGTTCMSFCRJZF5TJTPUF6GNANCNFSM4HLIBOYQ
.

@nagik23
This issue has been moved to https://github.com/FirebaseExtended/flutterfire/issues/380. Any further collaboration will be done there.


snakemake parse a wrong int like parameter.

Snakemake version
7.32.2
Describe the bug
when run snakemake using --config s_id="2023023902_2", snakemake got "20230239022"。
Logs

Minimal example
a Snakefile is:
s_id = config['s_id']

print(s_id)

run it using:
snakemake --cores --config s_id="2023023902_2"

the terminal output is "20230239022".

(To me) It's not a bug, it's a feature! See https://peps.python.org/pep-0515/
If you want to keep the "_ " (and get a type str instead of an integer) you can run the pipeline using:
--config s_id="'2023023902_2'"

(To me) It's not a bug, it's a feature! See https://peps.python.org/pep-0515/ If you want to keep the "_ " (and get a type str instead of an integer) you can run the pipeline using:
--config s_id="'2023023902_2'"

This is my fault. I haven't mastered this Python feature, thank you for pointing it out.


refactor browser launching logic and use better process forking

pkg/browser has become a bit messy. The module contains code for several different purposes, including:

browser path detection
browser configuration and setup wizards
launching browsers
handling the AWS federated auth login flow to get a browser URL

In addition to this there are a bunch of nested function calls and control flow which is difficult to understand, as well as enums that are only being used in one or two places.
This PR shifts browser launching logic to pkg/launcher and removes a lot of the nested function calls which were making the 'assume' command code difficult to read. Logic relating to retrieving console URLs via federated login is moved to pkg/console.
Additionally, it implements better process forking, so that pressing Control+C in a terminal after you've run assume -c will no longer close your browser window.
This will require acceptance testing across MacOS/Linux/Windows to verify it hasn't caused any regressions, as I've changed the structure of things when I've simplified the code. Manually tested and working well on MacOS with Firefox, Stdout, and FirefoxStdout browsers.

Fixes #84


Auto-generate version index file for NodeJS.

cc/ @swcloud @bjwatson

Current coverage is 82.70% (diff: 100%)

Merging #889 into master will increase coverage by 0.01%

@@             master       #889   diff @@
==========================================
  Files           332        332
  Lines         12804      12815    +11
  Methods           0          0
  Messages          0          0
  Branches       1688       1689     +1
==========================================
+ Hits          10588      10599    +11
  Misses         1786       1786
  Partials        430        430

Powered by Codecov. Last update 6c353d6...48eb40c

The generator changes LGTM.

@landrito PTAL


check-ttf.py: check_METADATA_Ensure_all_TTF_references_are_valid implementation error

Seems an error was introduced in the check added to 1378e2f48a26271ff938666f90780529aae725a1
traceback on all families:
Traceback (most recent call last):
  File "bin/fontbakery-check-ttf.py", line 538, in <module>
    'coverage': args.coverage
  File "bin/fontbakery-check-ttf.py", line 333, in fontbakery_check_ttf
    checks.check_METADATA_Ensure_all_TTF_references_are_valid(fb, family)
AttributeError: 'module' object has no attribute 'check_METADATA_Ensure_all_TTF_references_are_valid'

Hmmm... Try re-installing FontBakery with:
python setup.py install

That should fix the problem for you, I think.

Thanks, my bad. Closing


Uploading the args.pkl used to build the modelbest.ckpt

Hi, I would like to use the model checkpoint and fine tune it on my data. However, I am unable to load the state dictionary, merge_model, because I don't know what args.pkl is used to construct the modelbest.ckpt. Is it possible for the args.pkl to be uploaded as well? Thank you so much!

The pretrained model can be loaded using the default arguments provided in args.py . This is shown in src/demo.ipynb.

Got it! Thanks for your help, great work :)


Disallow basic types as keys in context.WithValue()

Fixes https://github.com/golang/go/issues/17293.
I was asked to move this check into golint instead of go vet.
Here's the original CL: https://go-review.googlesource.com/c/30084.
After addressing @adonovan's comments, I performed some minor tweaks to make it work with golint instead.
However I am not certain about, and would appreciate suggestions on:

The "certainty" float parameter
A link to a style guide explaining that using basic types as keys is a bad idea.

EDIT: CI was broken, but with minor modifications, this change now works with Go 1.5, 1.6, and 1.7.1.
CC @bradfitz @robpike @adonovan @dsymonds

LGTM

Merged as c6242afa6ced3be489e1184eb80bc2d85f1f5e7b

There has to be a way to turn off this check... where is it? Code fixes for this linting error are causing various subtle issues in web implementations that are from trivial to fix, with apparently little benefit (I personally don't see anything wrong with using strings as key type, which is perfectly supported by go).

I personally don't see anything wrong with using strings as key type, which is perfectly supported by go

You really don't want to use strings as the keys. That means there's no isolated namespaces between packages, so different packages can collide and use the same keys, since everybody has access to the string type. But by requiring people to use their own types, there can't be conflicts.

Problem is that something inserted into a context in one package with one key, can only fetched from that context with the exact same key instance  in another package... only exact same one, and not a new one. This works fine with primitives, and not really with structs.

Any package using context.WithValue and defining key types should either:

export their context key type
provide a constructor for it
provide some other helper func which does the context.WithValue behind the scenes.

Two packages should not both be using context.WithValue using the same type, unless it's exported by another package.

This doesn't work too well if the package where key is defined (and calls context withValue) instantiates child package where context keys are used to fetch values from context using .Value(), leading to cyclical dep issues/compilation issues and ultimately need to define a third package where such exported context keys are really defined as constants.
Anyway, my question is where is the flag to turn off this lint check? Maybe this check is useful to some, but not to all.

We don't plan to provide a flag to disable this check. We strongly believe you should not misuse context in such a way.

Misuse? Huh. Oki, thanks.

That we consider it misuse shouldn't come as a surprise. We wouldn't have added a lint rule otherwise.

Just to reiterate - enforcing this rule leads to bugs in code that doesn't use keys defined as const instances of stucts, across packages. I understand the issue this check is trying to solve regarding  name collision on primitive keys, however it's nothing new to most developers since it's present in most other context/session management frameworks in other languages. However the subtlety of struct keys - and their equivalence for purposes of key in context is difficult to get right, and is complex to implement. Thus this rule should be configurable and individual teams should be able to decide on whether to use it.

  I've started using contexts and I think they are great.  I noticed something interesting.  The linter warns for use of primitive types as keys for WithValue, however it does not warn when using ctx.Value(key) when key is string
Strings are not identified there.  I like the idea of having a warning there as well.
HFC


Stops working in about a day, works again if reinstalled

This happens with certain hosting providers, but not the others. Clients connect successfully to the server first, for about a day, but then stop. Removing old clients' configurations and adding new clients doesn't help. If you uninstall Wireguard and then install it again following ./wireguard-install.sh prompts, all works again.
Any ideas why something like that can happen and how to fix it? Thanks.

Similar issue, on AWS's Lightsail

Yes, this happens on all AWS EC2 instances for me as well. And I encountered the same issue with other, smaller hosting providers.

I noticed the same with OCI hosted VMs, and only for some clients. No handshake and no internet connectivity.

Anyone got any more data for this? I have exactly the same problem on a Ubuntu Linode.

we are also having this for only some clients. no internet connectivity for them. when I restarted the wire guard, its started to work for them.


Crash while using anvil

After adding a couple enchantments to gear in an anvil I get this crash: (this happened twice)
crash-2022-12-28_05.54.47-client.txt
crash-2022-12-28_05.40.26-client.txt

okay, i figured out what causes the crash, so when shift clicking an item into the anvil, it leaves a ghost item in the inventory, after you've enchanted the item and exit the anvil inventory, if the ghost item was in your hotbar it'll move the newly anvil book enchanted item to where that ghost item was in the hot bar, causing the crash.


allow sorting with fields inside properties

Addresses #1119

@atosh502 can you add tests and a demo video? See here for example (https://github.com/restarone/violet_rails/pull/1103 -- controller / model tests + demo)

Yes @donrestarone, I'll add them soon, just wanted to push the changes for a quick review

https://user-images.githubusercontent.com/19350071/192568284-c8c0e8f1-d777-45f0-9847-4b3131af99fb.mp4


Vimeo videos no longer downloading forbidden 403

Checklist

[X] I'm reporting a broken site
[X] I've verified that I'm running yt-dlp version 2022.04.08 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
USA
Description
Vimeo protected files master.mpd is no longer working. tried all suggestions from reddit https://www.reddit.com/r/youtubedl/wiki/errors-403forbidden
still forbidden
Verbose log
yt-dlp.exe "https://162vod-adaptive.akamaized.net/exp=*****/master.mpd" --no-check-certificate --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36" --add-header "Origin: https://player.vimeo.com" --cookies-from-browser chrome --referer "https://player.vimeo.com" --verbose
[debug] Command-line config: ['https://162vod-adaptive.akamaized.net/exp=*******/master.mpd', '--no-check-certificate', '--user-agent', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36', '--add-header', 'Origin: https://player.vimeo.com', '--cookies-from-browser', 'chrome', '--referer', 'https://player.vimeo.com', '--verbose']
[Cookies] Extracting cookies from chrome
[debug] Extracting cookies from: "C:\Users\CLL\AppData\Local\Google\Chrome\User Data\Default\Network\Cookies"
[Cookies] Extracted 3209 cookies from chrome
[debug] cookie version breakdown: {'v10': 3209, 'other': 0, 'unencrypted': 0}
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, err utf-8, pref cp1252
[debug] yt-dlp version 2022.04.08 [7884ade] (win_exe)
[debug] Python version 3.8.10 (CPython 64bit) - Windows-10-10.0.19044-SP0
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 2020-12-06-git-2aab42bc40-full_build-www.gyan.dev, ffprobe 2020-12-06-git-2aab42bc40-full_build-www.gyan.dev
[debug] Optional libraries: brotli, certifi, Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
[debug] [generic] Extracting URL: https://162vod-adaptive.akamaized.net/exp=******/master.mpd
[generic] master: Requesting header
WARNING: [generic] Falling back on generic information extractor.
[generic] master: Downloading webpage
[generic] master: Extracting information
[debug] Identified a DASH manifest
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] master: Downloading 1 format(s): video-044c65e1+audio-bb7f1b15
[debug] Invoking downloader on "https://162vod-adaptive.akamaized.net/exp=*****/044c65e1.mp4?r=dXM%3D"
ERROR: unable to download video data: HTTP Error 403: Forbidden
Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 3120, in process_info
  File "yt_dlp\YoutubeDL.py", line 2846, in dl
  File "yt_dlp\downloader\common.py", line 457, in download
  File "yt_dlp\downloader\http.py", line 369, in real_download
  File "yt_dlp\downloader\http.py", line 128, in establish_connection
  File "yt_dlp\YoutubeDL.py", line 3601, in urlopen
  File "urllib\request.py", line 531, in open
  File "urllib\request.py", line 640, in http_response
  File "urllib\request.py", line 563, in error
  File "urllib\request.py", line 502, in _call_chain
  File "urllib\request.py", line 755, in http_error_302
  File "urllib\request.py", line 531, in open
  File "urllib\request.py", line 640, in http_response
  File "urllib\request.py", line 569, in error
  File "urllib\request.py", line 502, in _call_chain
  File "urllib\request.py", line 649, in http_error_default
urllib.error.HTTPError: HTTP Error 403: Forbidden

Pass the actual vimeo URL, or if it is an embedded player, pass the embedding page's URL. Then share with us the UNREDACTED log


Readback

TODO:

[ ] Handle table[func] || in rt::CTR | rt::FUN arm.
[ ] Implement arms that use stacks.

Hey, just wanted to thank you for this. Very hard work. Immensely helpful.
May I ask why you're contributing to the project?

@MaiaVictor Hey no worries. I've been following your work sporadically ever since you posted your blog posts about optimal beta reductions and the abstract algorithm a while ago. I'd always endeavoured to write safe software even before reading your posts; at the time, I was trying to learn Rust, which I thought was most suitable means to that end, but those posts of yours introduced me to and sparked my interest in dependent type theory and formal verification, and had convinced me that these were the way to write truly safe programs.
Back then, I wasn't too comfortable in contributing to your projects as I was very much still a beginner programmer with very little spare time due to university studies. But now that I've gained a little more experience (now I'm just slightly less of a beginner 😅) and have graduated, I thought it'd be a great opportunity for me to give back something to your team for helping to discover that interest, and simultaneously improve my own skills and consolidate my knowledge by putting these into practise.
I hope that's ok with you, as I'd very much like to continue contributing to your projects. If so, please let me know if you have any tasks that I could help you guys out with! That said, and I hope I'm not being too forward, I think that posting an issue in the repository containing something like a TODO list would be a great way to let potential contributors know what areas of your projects they'd be welcome to help with, in addition to helping you keep track of your project's progress.


Soft launch Qiskit migration guides

Part of https://github.com/Qiskit/documentation/issues/213.
This allows accessing the migration files at:

http://localhost:3000/api/migration-guides/qiskit-quantum-instance
http://localhost:3000/api/migration-guides/qiskit-algorithms-module
http://localhost:3000/api/migration-guides/qiskit-opflow-module

But we don't add the files to _toc.json or to the index, so the user needs to know to look for those URLs.
Soft launching will allow us to better make sure we're doing the migration correctly.

To code review, you can check out these links:

https://qiskit-docs-preview-pr-237.1799mxdls7qz.us-south.codeengine.appdomain.cloud/api/migration-guides/qiskit-algorithms-module
https://qiskit-docs-preview-pr-237.1799mxdls7qz.us-south.codeengine.appdomain.cloud/api/migration-guides/qiskit-opflow-module
https://qiskit-docs-preview-pr-237.1799mxdls7qz.us-south.codeengine.appdomain.cloud/api/migration-guides/qiskit-quantum-instance


mkimage-raw-efi: use unsquashfs for squash rootfs.

On Mac builds you can't seem to be able to mount squashfs in Docker. Use squashfs tools to extract GRUB instead.

I was wondering why this would be fundamentally different than linuxkit mkimage-raw-efi, which is just fine, but it appears we (eve) have added stuff to the end of the file.
That having been said, it seems strange that you cannot mount the loopback in Docker on the Mac. It is running in a minimal VM?

I can't remember exactly the history behind this pariticular package, especially what was the need to originally depart from lk's mkimage-raw-efi. Also I am not entirely up to date on how that container has evolved in the past year or so.
Having said that, this container didn't originally need this mount squashfs IIRC, @rvs was just explaining how this made life for aarch64 much easier. He should be able to comment more.
I am not sure why my Docker refuses to mount squashfs. I am somehow not sure I want to get into that. Most probably I am running a vetust version of docker CE -- just updated. In any case, I still think this is still useful as it removes dependency from the host or linux vms when building EVE.


request-ocs-fyre-play fails when run against a Linux/Z fyre openshift cluster (4.6.16)

I provisioned a cluster through fyre and it comes with no default storage provider so I tried to install one using the request-ocs-fyre-play playbook. It fails to complete "noobaa storageclass never became available". This is on Linux/Z and I need to try Linux/P sometime too. The same instructions work fine on Linux/X
To Reproduce
  # Change to the playbook to install ocs
  cd community-automation/ansible/request-ocs-fyre-play
  # We are on the inf node so oc is local, set up simple inventory
  cp examples/inventory_local inventory
  sudo /usr/local/bin/ansible-playbook  -i inventory request-ocs-fyre.yml 2>&1 | tee ${WORKSPACE}/ocs_install.log

Expected behavior
Expected OCS storage classes to become available (they do when the same playbook is run on Linux/X).
Additional context
playbook.log

@jasonedm have you found an alternative?
There was no testing outside of x86_64 clusters.
we would need someone to signup for testing and debugging.

@jasonedm would have been nice to have that added into the community.  I suspect others would use it too.  We are still promoting contribution by anyone interested.  However I know there are a pile of automation solutions out there.
Can you close this issue out?

@jasonedm  OCS requires 48 CPU's on workers.  I was trying to test a P cluster but 48 is over the limit.

@jasonedm I am working to resolve this.  I've has some success now getting OCS installed on Z platform.  The automation needs some work tho.  I opened issue #241 to track this work.


Fix history with native openflow

run skydive-functional-tests-backend-orientdb

run skydive-cdd-overview-tests


Confused And Need Help!!!

What is the id of the inbox server? Where so I find it?

You can create one yourself, i.e. a new server to act as inbox.

Oh ok Thank You! Pokopie


[WIP] Improved flow and legibility for calculator

Set of changes for #294

If my PR https://github.com/microcovid/microcovid/pull/326 is approved, which adds a button, please incorporate it into your changes too.

Moved to #334


Can't apply sorting to dynamic columns

Hey,
We're trying to make a table with dynamic headers.  The documentation states to sort by using "key: [column-name]".  If a key is "a string with the name of the column it will sort by" then by using the Aurelia convention you should be able to apply string interpolation like so:
<th repeat.for="col of headers" aut-sort="key: ${col}">
This resulted in an error message saying that key was null.
Is there something we're doing wrong or do you think this is something that will be supported in the future?
Thanks,
Eric

Hello Eric.
This is a use case I have not considered before. I will see what can be done about it.

You were very close in your syntax. I just did some testing and this will work:
<th repeat.for="col of headers" aut-sort="key.bind:col">
Cheers

Yeah that worked!
Thanks alot man!

You are welcome :)


add washington state university to harvesters

added harvester, test, and favicon for washington state university.

Hm - ok, I'll look into it

Can you clarify? To me, it looks like its working and pulling articles (according to what it pulled into the test and my localhost)

Cool - let me know if you need me to change anything else!

:+1:


Create change dropdown submenu open style at hover to click

hi every one
i need change my submenu dropdown open style at hover to click
i changed :hover in css file to :click and not work it
after changed :hover to :click and click on submenu my page just refreshed
how to change this style to click please help me
i attached my files
http://sazeaftab.ir/sx.zip

This is not possible it's made for desktop mouse, touch and keyboard acessibility. Hover is done by javascript. You can somehow deactivate the hover effect but not turn it into click-open. Use the area with the arrow to open it by click.
There's no CSS pseudo selector :click

hi this is my file
http://sazeaftab.ir/sx.zip
it's html
please check it and help me to change at hover to click

Sorry, no time to accept new orders at present.

@sa33dxx1 404  it's not Found ..???


Server readOnly properties are applied to responses instead of requests

Hi,
See example below with the readonly property TestObject.bar:
---
  swagger: "2.0"
  schemes:
    - http
  consumes:
    - application/json
  produces:
    - application/json
  paths:
    /test:
      get:
        operationId: testGet
        responses:
          200:
            schema:
              $ref: "#/definitions/TestObject"
      post:
        operationId: testSet
        parameters:
          - name: body
            in: body
            schema:
              $ref: "#/definitions/TestObject"
        responses:
          200:
            description: OK
  definitions:
    TestObject:
      type: object
      properties:
        foo:
          type: string
        bar:
          type: string
          readOnly: true

The server code generated from this removes the readOnly properties from responses when encoding as JSON (in definitions/TestObject.scala), and does not perform any validation on incoming request objects. Is this the wrong way round? As I understand it, readOnly properties are allowed on response objects and forbidden on request objects (https://github.com/swagger-api/swagger-spec/blob/master/versions/2.0.md#schemaReadOnly).
I guess it's straightforward to remove the code that removes readOnly properties from encoded responses, but I'm not sure how to add validation and error reporting if a request contains one of the properties.
Any advice much appreciated, thanks!

Ah, this is actually because readOnly was written for clients first, and was never revisited for servers. Good catch!


Hanging att prerequisits install

Hanging att prerequisits install. Found all the missbeaving prerequisits, disabled UAC and still hanging.
SPInstallPrerequisits
Windows Server 2016 Standard Edition (Deskstop Experence)
SharePoint 2016
DSC is latest of today
If i manualy reboot target servers the next forced Start-DscConfiuguration works, sometime.
Any help appriciated. // Ilian

Are you installing form a Shared location or are the files local on the server?

They are on a share. I could add the share servers address to trusted sites, but why does it work when i forcefully restart machines and Start-DscConfiguration again?

Well, some of the prerequisites (i.e. .NET) may introduce a pending reboot. If you run Get-DSCLocalConfigurationManager, what are the values for properties RebootNodeIfNeeded and ActionAfterReboot ?

The are set to $True and continue after reboot. How ever. I have now discarder DscResource xPendingReboot and xUAC and run a prescript over all farm nodes (Disable-UAC.ps1 script by Vincent BootsI), and also …
### Enable double hop kerberos authentication via delegation to machines roled OpsDsc
$FarmNodes | ? { $_.Role -eq "OpsDsc" } |
    % { Set-ADComputer -Identity $_.Node -PrincipalsAllowedToDelegateToAccount @(
        $FarmNodes | ? { $_.Role -ne "OpsDsc" } |
            % { Get-ADComputer -Identity $_.Node } ) }

### Set other than OpsDsc roled machines to trust OpsDsc roled machines
$FarmNodes | ? { $_.Role -ne "OpsDsc" } |
    % { Invoke-Command -ComputerName $_.Node -ScriptBlock {
            param([array]$FarmNodes)
            $FarmNodes | ? { $_.Role -eq "OpsDsc" } |
                % { Set-Item -Path "WSMan:\localhost\Client\TrustedHosts" -Value $_.Node -Concatenate -Force -Verbose }
            } -ArgumentList (,$FarmNodes) -Verbose }

Then rebooted nodes, and then it works on Windows Server 2016, for SharePoint 2016
I'm just trying to get to the goal, so I just may overwork things. But it is working in a repetable matter now.
Thanks for your efforts and support.

Closing the issue per previous comment


Add client side js boilerplate

Resolves #8

@SteveBarnett ready for review.

As we discussed, :+1: for this PR, and we'll look at doing something funky with Double Ajax in another PR.


Fix running tests from other repos; bump workflow deps

The build step is only needed for build that target a beta build of GraphQL.NET, and so is not generally needed.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>5
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 94.576%

Totals

Change from base Build<PHONE_NUMBER>9:
0.02%

Covered Lines:
1875

Relevant Lines:
1934

💛  - Coveralls


Point light culling volume

Creates a culling volume from the point light bounding sphere which fixes the globe update and simplifies the primitive culling. Updates the globe for each face of the shadow cube map, but can possibly be better.

@lilleyse can you please review and merge?

@lilleyse I'm going to address those comments other PRs. The globe culling comment will be done in the fix-shadow-globe-update branch and I'll do the point light camera culling in a separate PR. Is there any other comments?

Sounds good, no other comments.

Oh, should I still merge these changes for now?

Oh, should I still merge these changes for now?

Yeah, this is an incremental improvement; otherwise, point lights are broken.


Signalling Layout Triage

[x] 1. Scale both compartment region height and width based on number of nodes and edges it contains
[x] 2. Reduce contrast of edges (globally reduce edge opacity, on hover event for edges) or hover on node and highlight the neighbours of the node
[ ] 3. Compartment nesting to model the cellular structure better (nest compartments when they seem to belong to another compartment)
[ ] 4. Re-layout a single compartment only -- user button / option (remove bridge edges, run layout, re-attach edges)
[ ] 5. Expand Collapse -- reset position before expand, to be where the parent currently is

(experimental + lower priority + more uncertainty + work)
a. Compartment jitter to reduce edge ambiguity (translate compartment position-x)
b. Template / components for nodes / stereotyped arrangement
c. Align non compartment nodes to the compartment level of their target

a. Compartment jitter to reduce edge ambiguity (translate compartment position-x)

Before

After

@jvwong do you think early_endosome_membrane should be nested inside a endosome compartment or should it just go inside the cytosol?

i.e add the endosome compartment to the cytosol and then add the early_endosome_membrane to the endosome compartment

My interpretation is that 'early_endosome_membrane' is the outer boundary of an endosome. An endosome is like a bubble inside the cytoplasm.

So it should be early_endosome_membrane contains the endosome?

Technically early_endosome_membrane would be 'part-of' an endosome

I think part-of relations can only be represented with nesting since there is no same level neighborhood representation possible.

https://github.com/eisbm/libsbgn.js we now use this library to parse and write sbgnml in our tools. You might want to use it as well.

Thanks @ugurdogrusoz I will watch that package.  It would be nice to have consistent sbgn parsing / generation

b. Template / components for nodes / stereotyped arrangement

Note: This is restricted to  intra-compartment nodes
Some more detail required: Todo
Before

After

In my opinion this will have lower priority than the other stuff on this list because:

As we learned yesterday this template approach is not going to be as compatible with using force directed layouts as we would like.

It seems like we will be starting a layout from scratch which is what we want to avoid.  It might look good and easy to do it with signalling by bmp but that is only 1 signalling network.

If we want to go down this path (start from scratch), I think it is very important that we first come up with a way to classify pathways so that we know which pathways can be considered signalling pathways.
Firstly, I think it is very easy for us to fall in the trap of fine tuning all of these tweaks to make 1 network look good and end up having many signalling networks that look worse (and not just in the sense that there will be increased edge crossings; there are many ways that tweaking node positions can make the graph look less readable).
Secondly, if we can classify pathways (which is something we will probably have to do anyways), then we can take a more methodical approach and perform mass image generation of pathways to see how our layout changes can look.  Then we will be able to make a more informed answer to these types of questions i.e does this tweak make signalling pathways look better in general, etc.

the label 'cell membrane' actually is an alias for 'plasma membrane'

the label 'extracellular' is an alias for 'extracellular region'
https://www.ebi.ac.uk/QuickGO/GTerm?id=GO:0005576


some country page flag .svg files are 3 letters rather than 2

The [id].tsx file filters through the images in client/assets/countryPageFlags/svgs and searches for the closest match to a countries 2 letter iso code. For example:
Australia's URL is http://localhost:5173/country/au
The  [id].tsx file will try to load the image with the closest matching letters to the URL. so au.svg will appear because it matches the URL. but if au.svg did not exist the file [id].tsx will choose the next closest match which would be the aut.svg

Completed in #197


⚠ Bofrost.es has degraded performance

In abc2168, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1548 ms

Resolved: Bofrost.es performance has improved in a8e9042 after 6 minutes.


React Static Site

Inception react-static to have live docs & examples hosted by react-static

@tannerlinsley I would be happy to help with this, but I can't do anything likely for the next 2 weeks. I presume you would elect to do hosting via js.org?


Add quic_client_stats_impl.h to QUICHE platform implementation

Description:
Add quic_client_stats_impl.h to QUICHE platform implementation, with everything being no-op.
Risk Level: minimal: code not used yet
Testing: bazel test test/extensions/quic_listeners/quiche/platform:quic_platform_test --test_output=all
Docs Changes: none
Release Notes: none
[Optional Fixes #Issue]
[Optional Deprecated:]

/assign @mpwarres

/retest

Please merge master to pick up https://github.com/envoyproxy/envoy/pull/5827.

Please merge master to pick up #5827.

Done.


typeof Observer Polymer/polymer#1236

I applied :)

Thanks for the PR! We recently made a major change to the master branch of this repo with the 0.9 release - would you mind re-submitting a PR here rebasing from the latest master? Thanks!


Add MIT license

I'd like to add a proper license to this to open source it.

Closed by @eyarz in #3  👍


Inheritance of @IonicPage components breaks the livereload for the parent page

Short description of the problem:
When using an inheritance between @IoincPage components, the livereload breaks - changes done to the html of the parent page are not reflected. Only changes does to the ts and scss are reflected.
What behavior are you expecting?
Changes done to the html of the parent page should be reflected by the livereload.
Steps to reproduce:

Create a parent @IonicPage
Create a child @IonicPage that extends from the parent page
Run ionic serve with livereload
Make changes to the html of the parent page

insert any relevant code between the above and below backticks

Which @ionic/app-scripts version are you using?
cli packages: (C:\Users\xxx\AppData\Roaming\npm\node_modules)
@ionic/cli-utils  : 1.19.1
ionic (Ionic CLI) : 3.19.1

global packages:
cordova (Cordova CLI) : not installed

local packages:
@ionic/app-scripts : 3.1.8
Cordova Platforms  : android 6.4.0 browser 5.0.3
Ionic Framework    : ionic-angular 3.9.2

System:
Android SDK Tools : 26.0.2
Node              : v8.10.0
npm               : 5.6.0
OS                : Windows 7

Environment Variables:
ANDROID_HOME : xxx

Misc:
Workaround:
Create an abstract component that has the base functionality that is common to the child and parent an have the child and parent pages extend that component.
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)

I've the same issue: if I change the html, it displays the reload bar on top of the page but the changes are not reflected (served) to the browser. My workaround is to change the module or related .ts file to force a reload which one will this time take into consideration the updated HTML.


Kuai Usage Summary From Acceptance Team

This summary is from Lin Guopeng.
Compile
When he build the Kuai, the error sizzele error comes out. To solve this problem, he added the dom to the tsconfig.json in cli package.
DefinitelyTyped/DefinitelyTyped#52383
npm run build

><EMAIL_ADDRESS>build
> npm run build:lib

><EMAIL_ADDRESS>build:lib
> lerna run build

lerna notice cli v7.3.0

    ✔  @ckb-js/kuai-typeorm:build (2s)
    ✔  @ckb-js/kuai-common:build (4s)
    ✔  @ckb-js/kuai-docker-node:build (2s)
    ✔  @ckb-js/kuai-core:build (4s)

    ✖  @ckb-js/kuai-cli:build
       ><EMAIL_ADDRESS>build
       > tsc

       ../../../../node_modules/@types/sizzle/index.d.ts(14,82): error TS2304: Cannot find name 'Document'.
       ../../../../node_modules/@types/sizzle/index.d.ts(14,93): error TS2304: Cannot find name 'DocumentFragment'.
       ../../../../node_modules/@types/sizzle/index.d.ts(15,44): error TS2304: Cannot find name 'Document'.
       ../../../../node_modules/@types/sizzle/index.d.ts(15,55): error TS2304: Cannot find name 'DocumentFragment'.
       ../../../../node_modules/@types/sizzle/index.d.ts(41,58): error TS2304: Cannot find name 'Document'.
       npm ERR! Lifecycle script `build` failed with error:
       npm ERR! Error: command failed
       npm ERR!   in workspace<EMAIL_ADDRESS>       npm ERR!   at location: /Users/guopenglin/test_kuai/kuai/packages/cli

    ✔  @ckb-js/kuai-io:build (4s)

 ——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————

 >  Lerna (powered by Nx)   Ran target build for 9 projects (14s)

    ✔    5/6 succeeded [0 read from cache]

    ✖    1/6 targets failed, including the following:
         - @ckb-js/kuai-cli:build

Deploy the Node
There is something wrong in Mac.

kuai node start
<jemalloc>: MADV_DONTNEED does not work (memset will be used instead)
<jemalloc>: (This is the expected behaviour if you are running under QEMU)

node:internal/process/promises:288
            triggerUncaughtException(err, true /* fromPromise */);
            ^
AxiosError: socket hang up
    at connResetException (node:internal/errors:720:14)
    at Socket.socketOnEnd (node:_http_client:525:23)
    at Socket.emit (node:events:529:35)
    at endReadableNT (node:internal/streams/readable:1368:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  code: 'ECONNRESET',
...

Deploy the Contract

The version of capsule in capsule.toml is 0.9.0 which is generated in running kuai init. So maybe it is necessary to tell users to upgrade the capsule to the version 0.9.0.

cargo install ckb-capsule --git https://github.com/nervosnetwork/capsule.git --tag v0.9.0

The ckb-cli should be installed before deploying the contract, and the private key should be imported to the ckb-cli.

ckb-cli account import  --privkey-path  ac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80.json
Password:
address:
  mainnet: ckb1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsq2ml7ehvnfcm86xc8xjezyvcnvu5w576rgmcuk83
  testnet: ckt1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsq2ml7ehvnfcm86xc8xjezyvcnvu5w576rg42hedf
address(deprecated):
  mainnet: ckb1qyq9hlanwexn3k05dswd9jyge3xeegafa5xs7nt0dl
  testnet: ckt1qyq9hlanwexn3k05dswd9jyge3xeegafa5xsrk4spr
lock_arg: 0x5bffb3764d38d9f46c1cd2c888cc4d9ca3a9ed0d

It is not easy for most fresh users to build the contract.json by the transaction hash which is returned from the transcation of contract deployment.

{
  "kuai-mvp-contract": {
    "depType": "code",
    "outPoint": {
      "txHash": "0x005a153ec6a35adbc8d82544ae11d8c6f8c0601fc9059f8a872e01f638fc9f62",
      "index": "0x0"
    },
    "script": {
      "codeHash": "0x1a3de2a61b454e8492a775cf438748e362e71930170bec90c4e6b79e4dd7ea3c",
      "hashType": "type",
      "args": "0x"
    }
  }
}

The MVP

the npm run dev could exist caused by the timeout of calling ckb.

npm run dev

><EMAIL_ADDRESS>dev
> ts-node src/main.ts

kuai app listening to http://<IP_ADDRESS>:3000
Registry `find` catch error Error: No matching bindings found for serviceIdentifier: local://0xf329effd1c475a2978453c8600e1eaf0bc2087ee093c3ee64cc96ec6847752cb/type/0x01f39fd6e51aad88f6f4ce6ab8827279cfffb9226600/record
    at _validateActiveBindingCount (/Users/guopenglin/test_kuai/kuai/node_modules/inversify/src/planning/planner.ts:113:15)
    at _getActiveBindings (/Users/guopenglin/test_kuai/kuai/node_modules/inversify/src/planning/planner.ts:91:3)
    at _createSubRequests (/Users/guopenglin/test_kuai/kuai/node_modules/inversify/src/planning/planner.ts:146:22)
    at plan (/Users/guopenglin/test_kuai/kuai/node_modules/inversify/src/planning/planner.ts:240:5)
    at /Users/guopenglin/test_kuai/kuai/node_modules/inversify/src/container/container.ts:623:25
    at Container._get (/Users/guopenglin/test_kuai/kuai/node_modules/inversify/src/container/container.ts:574:37)
    at Container._getButThrowIfAsync (/Users/guopenglin/test_kuai/kuai/node_modules/inversify/src/container/container.ts:580:25)
    at Container.get (/Users/guopenglin/test_kuai/kuai/node_modules/inversify/src/container/container.ts:325:17)
    at Registry.<anonymous> (/Users/guopenglin/test_kuai/kuai/packages/models/lib/actor/registry.js:25:87)
    at Registry.findOrBind (/Users/guopenglin/test_kuai/kuai/packages/models/lib/actor/registry.js:50:85)
Registry `find` catch error Error: No matching bindings found for serviceIdentifier: local://0x01f39fd6e51aad88f6f4ce6ab8827279cfffb9226600/omnilock
    at _validateActiveBindingCount (/Users/guopenglin/test_kuai/kuai/node_modules/inversify/src/planning/planner.ts:113:15)
    at _getActiveBindings (/Users/guopenglin/test_kuai/kuai/node_modules/inversify/src/planning/planner.ts:91:3)
    at _createSubRequests (/Users/guopenglin/test_kuai/kuai/node_modules/inversify/src/planning/planner.ts:146:22)
    at plan (/Users/guopenglin/test_kuai/kuai/node_modules/inversify/src/planning/planner.ts:240:5)
    at /Users/guopenglin/test_kuai/kuai/node_modules/inversify/src/container/container.ts:623:25
    at Container._get (/Users/guopenglin/test_kuai/kuai/node_modules/inversify/src/container/container.ts:574:37)
    at Container._getButThrowIfAsync (/Users/guopenglin/test_kuai/kuai/node_modules/inversify/src/container/container.ts:580:25)
    at Container.get (/Users/guopenglin/test_kuai/kuai/node_modules/inversify/src/container/container.ts:325:17)
    at Registry.<anonymous> (/Users/guopenglin/test_kuai/kuai/packages/models/lib/actor/registry.js:25:87)
    at Registry.findOrBind (/Users/guopenglin/test_kuai/kuai/packages/models/lib/actor/registry.js:50:85)
[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "AxiosError: timeout of 30000ms exceeded".] {
  code: 'ERR_UNHANDLED_REJECTION'
}
npm ERR! Lifecycle script `dev` failed with error:
npm ERR! Error: command failed
npm ERR!   in workspace<EMAIL_ADDRESS>npm ERR!   at location: /Users/guopenglin/test_kuai/kuai/packages/samples/mvp-dapp

Unit test should be added to the MVP project.
It is not timely for model to update the chainData when call the api /meta/:address.
Is it necessary to explain how does the model update the data?
It is convenient for users to learn how to write unit tests by adding a valid address of /load:address` in mvp unit tests.
Users may need to learn the moleculec which is used in the MVP contract.
The MVP contract may use the moleculec, but I did not see any serializing and deserializing in the project. Is it a json string?

Something more in kuai/models

Comments should be added into the Store class to explain the meanings of the parameters.

https://github.com/ckb-js/kuai/blob/879251ffabb010064c1631acbf4f7c60c5c777a6/packages/models/src/store/store.ts#L52-L74

How to use this module I cannot understand anything in this demo


Added Audit logging to new user creation

Fixes BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1602136
Raises an audit event when new external logins are auto-created for the first time.
Creates the following audit message:
User creation successful for User: Bob Builderson with ID: bob

TODO Fix tests

@jvlcek @Fryguy I've got the tests passing for http auth https://github.com/ManageIQ/manageiq/pull/17852/files#diff-d367fc51a358614f7b1d4e0dced7d0f4, but what I don't understand in my tests is my user creation audits need to be in lowercase, whereas the other tests are mixed case.
example
            expect(AuditEvent).to receive(:success).with(
              :event   => 'authorize',
              :userid  => 'bob',
              :message => "User creation successful for User: Bob Builderson with ID<EMAIL_ADDRESS>            )
            expect(AuditEvent).to receive(:success).with(
              :event   => 'authenticate_httpd',
              :userid  => 'bOb',
              :message => "User bob successfully validated by External httpd",
            )

@juliancheal The tests were updated to include mixed case to ensure the auth code correctly handles mixed case. I'm not sure why your tests need the userid in mixed case but I'd be glad to pair up and try to figure it you, if you'd like.

👍 LGTM

@gtanzillo @Fryguy We ok to merge?

@miq-bot add_label gaprindashvili/yes


feat(SNP-1717): Add tailor - ThemeExtension generator

Changes

Add tailor
Remove color palette

Codecov Report
Attention: Patch coverage is 33.33333% with 8 lines in your changes missing coverage. Please review.

Project coverage is 24.97%. Comparing base (339c48c) to head (6750952).
Report is 21 commits behind head on main.

Files
Patch %
Lines

lib/common/mixin/theme_wm_mixin.dart
0.00%
2 Missing :warning:

...tures/debug/presentation/ui_kit/ui_kit_screen.dart
0.00%
2 Missing :warning:

...k_queue/presentation/default_snack_controller.dart
0.00%
2 Missing :warning:

lib/uikit/colors/app_color_scheme.dart
80.00%
1 Missing :warning:

lib/uikit/text/app_text_scheme.dart
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #121      +/-   ##
==========================================
- Coverage   26.39%   24.97%   -1.42%
==========================================
  Files          55       61       +6
  Lines         917      973      +56
==========================================
+ Hits          242      243       +1
- Misses        675      730      +55

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

We also need to update the AppThemeData class according to the migration guide
https://docs.flutter.dev/release/breaking-changes/new-color-scheme-roles#migration-guide

Waiting for successful CI build
cicd script was successfully executed


LUN-13: Refactor css for screens fixes

This pull request belongs to an issue on our bugtracker.
You can find it there by looking for an issue with the key which is mentioned in the title of this pull request.
It starts with the keyword LUN.

Why are the fixes in separate PRs?

Why are the fixes in separate PRs?

@YasminNajar told me you told them to do them in a separate PR 😅

Why are the fixes in separate PRs?

@SteffiStuffel We were informed by Aya that it's better to do a new branch for it, and Aya I think misunderstood something Steffi said, so I also thought that Steffi told Aya. It might have been a big misunderstanding


Output es2015 instead of es5

Jest requires a node engine of >=6; this means es2015 in terms of node engines and tsconfig targets.

Coverage decreased (-0.09%) to 95.098% when pulling d5b74c5b0d771229d19d4c9f8a1ec62f873486e6 on es2015 into c8e116661d088fae52882ad31b38e78343898da5 on 2.0.


bump github release related workflows go and ko versions

Bump github release related workflows go and ko versions + kinde2e workflow yaml ko and go versions update too
Using go 1.15.x (as it is now)

Using go 1.17.x

Almost a 10% reduced size on Sources files and probably more performant code

Codecov Report

Merging #346 (74b0444) into main (738b299) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #346   +/-   ##
=======================================
  Coverage   80.57%   80.57%
=======================================
  Files          20       20
  Lines         767      767
=======================================
  Hits          618      618
  Misses        135      135
  Partials       14       14

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 738b299...74b0444. Read the comment docs.

Can you please update the title/description of this PR as ko is not touched here at all.


Support for root scrolling element other than document.scrollingElement

Describe the problem
Provide a way to support scroll restoration in other element than the root element.
Sometimes you have the main scrolling element deeper in your layout than the document.scrollingElement
Describe the proposed solution
Add a config entry to svelte.config.js named "scrollingElementSelector" that, if specified, will be used by sveltekit to restore scroll position to and from this element.
The change won't be a breaking one because it can use the current behaviuor if left unspecified.
Alternatives considered
I'm currently using patch-package to achieve this behaviour
Importance
would make my life easier
Additional Information
No response

Closing in favour of https://github.com/sveltejs/kit/issues/5478 — the solution to this will be to read and write the scroll position in navigation lifecycle functions


save intermediate results of the likelihood function in parallelization

Hi Johannes! I want to plot the posterior model predictions.
When calculating the likelihood, we need to calculate the model predictions first. So I was wondering if there is a way to save the model prediction results each time calling the likelihood function. I want to collect the model prediction results into one file.
I am using MPI.pool() now to parallelize the neural network and sampling part as indicated in the tutorial. Is there a way to save the intermediate model prediction results into one file when calling 'sampler' and 'sampler.run()'? Otherwise, I'll have to repeat calculating the model predictions which is quite time-consuming.

Hi Jane, I think what you're describing can be solved with blobs. Have a look at the documentation page and let me know if anything is unclear. You should be able to save such intermediate results using this feature.

Problem solved. Many thanks!!!


Make preferred chain configurable

Been using umputun/nginx-le:latest for a few years, and recently getting some scanner complaints about
|-Subject   : O=Digital Signature Trust Co./CN=DST Root CA X3
|-Not After : Sep 30 14:01:15 2021 GMT

This hasn't resolved over a few renewals. I presume this is related to https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/ somehow. IIUC for a long tail transition period there is still some kind of benefit in maintaining, or at least not disallowing, the "long chain" which ties to the X3 root. But in the long term the X1 / ISRG root would be preferrable.
I modified le.sh amending --preferred-chain "ISRG Root X1", ran it, copied new key/cert/chain files in place, stop+started container. At least the complaint about 2021 expired CA went away, though this created some other issues; full chain was not included by default, R3 intermediary listed as "Extra download".
I am not entirely sure if shifting from the long chain to short chain / ISRG Root X1 would even entail some change in the way the key/cert/chain are copied, or if something that works for me could break things for others, hence not making a pull request.
But thought it might be worthile to open an Issue / feature request. Could there be something like a default variable with override capability
export LE_PREFERRED_CHAIN="ISRG Root X1"
...
certbot certonly ...  --preferred-chain "${LE_PREFERRED_CHAIN}" ...

?
Or if there's some way to do this already that I didn't think of, please advise and then let's close this Issue.

The better way is to add LE_ADDITIONAL_OPTIONS, which would allow anything, rather than specifying that option. Feel free to send the PR with the change.

Aye, just need to figure out is my sh really this rusty or something else going on when trying to feed anything whitespace delimited
/ # export LE_ADDITIONAL_OPTIONS='--version --version'
/ # echo certbot "${LE_ADDITIONAL_OPTIONS}"
certbot --version --version
/ # $(echo certbot "${LE_ADDITIONAL_OPTIONS}")
certbot 1.16.0
/ # certbot "${LE_ADDITIONAL_OPTIONS}" 2>&1 | tail -1
certbot: error: unrecognized arguments: --version --version

Presuming you'd want the last form for the PR and that specifically errors out regardless if it's the --prefererd-chain or --version or anything else. /usr/bin/certbot only touches sys.argv[0] not the others so probably not related. Will test more when rate limit has ended.

@paskal now had a chance to look at this properly, and unfortunately I'm struggling to make this work with more complex arguments that may contain whitespace like the ISRG root X1 case. Tried various set -- approaches, mangling IFS and so on. And haven't even gotten around to consider other people's use cases.
Just to double check, is it expected that the additional options come from a single whitespace delimited environment variable? Like in the example here:
https://github.com/nginx-le/nginx-le/compare/master...junousi:nginx-le:addtl_opts?expand=1
Pondering would it be more robust to pass these e.g. from a \n delimited string (or file). I'd like to avoid making a PR from anything based on eval if possible.

I think certbot certonly -t -n --agree-tos --renew-by-default --email "${LE_EMAIL}" --webroot -w /usr/share/nginx/html -d ${LE_FQDN} ${LE_ADDITIONAL_OPTIONS} should be enough. No need to check if that variable is present and non-zero.


HTTPS Live website

Hey, I'm using outdated-browser, I've noticed that visiting the HTTPS version of the website is causing an error, whereas the HTTP version still works. I thought a GH ticket would be the best way of informing you about this. :)

@burocratik I would love to link my visitors to your beautiful service but will not do so when you are still using HTTP :(

Unmaintained issue board, I'm clearing out my raised but unfixed/untouched issues. Someone else is free to raise this issue again but as their own, if the issue still persists.


Unable to query running model on deepspeed-mii.

Hi Team,
I am trying to run databricks/dolly-v1-6b model with deepspeed-mii on AWS EC2 g5.48x machine. And I am able to successfully run this with below snippet by running python dolly-v1-6b-mii.py:
# dolly-v1-6b-mii.py

import mii
mii_configs = {"tensor_parallel": 8, "dtype": "torch.float16"}
mii.deploy(task="text-generation",
           model="databricks/dolly-v1-6b",
           deployment_name="dolly-v1-6b",
           mii_config=mii_configs)

output:
...
...
[2023-04-20 08:24:34,131] [INFO] [server_client.py:118:_wait_until_server_is_live] server has started on 50050

But I am unable to query it with below script by running python query.py -d dolly-v1-6b. Can someone please advice what is missing here ?
#query.py

# Copyright (c) Microsoft Corporation.
# SPDX-License-Identifier: Apache-2.0

# DeepSpeed Team
import mii
import argparse

parser = argparse.ArgumentParser()
parser.add_argument('--deployment',
                    '-d',
                    type=str,
                    required=True,
                    help="deployment_name set in the MII deployment")
args = parser.parse_args()

generator = mii.mii_query_handle(args.deployment)
result = generator.query({'query': ["DeepSpeed is the", "Seattle is"]})
print(result.response)
print("time_taken:", result.time_taken)

Error:
Traceback (most recent call last):
  File "/home/ubuntu/.local/share/virtualenvs/api-4_HwkVju/lib/python3.10/site-packages/mii/server_client.py", line 275, in _request_async_response
    response = await self.stubs[stub_id].GeneratorReply(req)
  File "/home/ubuntu/.local/share/virtualenvs/api-4_HwkVju/lib/python3.10/site-packages/grpc/aio/_call.py", line 290, in __await__
    raise _create_rpc_error(self._cython_call._initial_metadata,
grpc.aio._call.AioRpcError: <AioRpcError of RPC that terminated with:
        status = StatusCode.UNKNOWN
        details = "Exception calling application: 'Parameter' object has no attribute 'scale'"
        debug_error_string = "UNKNOWN:Error received from peer  {created_time:"2023-04-20T08:30:06.422291205+00:00", grpc_status:2, grpc_message:"Exception calling application: \'Parameter\' object has no attribute \'scale\'"}"

Thanks

It's working :) Issue was with my gpu config.


Allow not only string variables in config files

Add support to bool, int, float variables in "variables" in "metadata" config section.
At the moment only string config variables are supported. This feature may be useful when non-string parameters are the same for several components.

Resolved in #806