Do not add advanced prop on submit

Description

maps option colors with default ones
does not set advanced prop on submit

Fixes #432
Type of change

[x] Bug fix (added a non-breaking change which fixes an issue)
[ ] New feature (added a non-breaking change which adds functionality)
[ ] Updated documentation (updated the readme, templates, or other repo files)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

How Has This Been Tested?

[x] Tested locally with a valid username
[x] Tested locally with an invalid username
[x] Ran tests with composer test
[ ] Added or updated test cases to test new features

Checklist:

[x] I have checked to make sure no other pull requests are open for this issue
[x] The code is properly formatted and is consistent with the existing code style
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

Screenshots
N/A

In my opinion, it looks better without the default option and the red color helps it stand out so it's easier to tell which attribute was added.
I think a simpler solution to the issue would be to just add the type="button" attribute to all the buttons to make them not treated as submit on Enter.

I hope I got your right, I have tried the following and it didn't work:
- <input class="btn" type="submit" value="Open Permalink">
+ <input class="btn" type="button" value="Open Permalink">

With the change above, pressing Enter when working with form still adds advanced properties.
I have tried following two changes and they worked:

add event listener to form to prevent default behaviour when Enter is pressed

diff --git a/src/demo/js/script.js b/src/demo/js/script.js

 document.addEventListener("click", () => preview.update(), false);
+document.querySelector("form").addEventListener("keydown", (event) => {
+  if (event.key === 'Enter') event.preventDefault();
+});

add onkeydown handler to form element

diff --git a/src/demo/index.php b/src/demo/index.php

Properties

-            <form class="parameters">
+            <form class="parameters" onkeydown="return event.key != 'Enter';">
                 Username*

@DenverCoder1 please let me know what you think.

The reason it adds a property is because Enter triggers a form submit so it finds the first button that does not have the type="button" attribute or an input that has type="submit". In this case, the Add Property button is the first button in the form so it is used as the "submit" action since it does not have type="button".
Since it is not meant to submit the form, the add property button and remove property buttons should have type="button". The copy button doesn't really need it since it's not inside a form, but it can't hurt to have the attribute just to signify that it is not a submit action. The Open Permalink button could be a submit action, but I don't know if it's really necessary to have it submit, so I think it's fine either way.
Prevent add property buttons from submitting:
--- a/src/demo/index.php
+++ b/src/demo/index.php

-                        <button class="plus btn" onclick="return preview.addProperty();">+</button>
+                        <button type="button" class="plus btn" onclick="return preview.addProperty();">+</button>

Prevent remove property buttons from submitting:
--- a/src/demo/js/script.js
+++ b/src/demo/js/script.js

       minus.innerText = "−";
+      minus.setAttribute("type", "button");
       minus.setAttribute("data-property", propertyName);

Not required -- Prevent "open permalink" from submitting and signify semantically that copy is not a submit:
--- a/src/demo/index.php
+++ b/src/demo/index.php

-                <input class="btn" type="submit" value="Open Permalink">
+                <input class="btn" type="button" value="Open Permalink">

-                <button class="copy-button btn tooltip" onclick="clipboard.copy(this);" onmouseout="tooltip.reset(this);" disabled>
+                <button type="button" class="copy-button btn tooltip" onclick="clipboard.copy(this);" onmouseout="tooltip.reset(this);" disabled>

Let me know if you think this makes sense. I've tested it and it works for me.

@DenverCoder1 thank you for the detailed feedback! 🚀 I appreciate that.
I skipped adding type to:

copy button - since it is not associated with any form
permalink button - since it will prevent it from opening the page with all the props passed in URL

Let me know what you think.


Player crashes with some music files

The current version segfaults with some music files. What’s the best way to help you with this, should I just attach the respective files? :)

Attach the files would be great :)

Ok, seems all of the files I ran into crashes so far are ymst files, I attached a specimen (had to zip it as git doesn’t seem to like the filetype)!
buffalobill.ymst.zip

Found another file type that crashes (.mon):
chinese chess (ingame).mon.zip

Thanks! I will take a look

Seems that both of these files make something go bad inside UADE. I will have to investigate more deeper as other files for UADE works.

Built the gitversion of UADE and tested with their player and seems to work on the files that breaks in Hippo. Might be that it has been fixed in a later version so will have to try to upgrade it.
I have some local changes in UADE which makes merging some work (some specific code to make it work on Windows) but it should all be doable.

Found another problematic file, this one throws lots of uade errors, making the player crash eventually
Lightyear.SymMOD.zip

Thanks! I will try to take look this week.

I looked into the Lightyears file. The format of the file is Symphonie and UADE doesn't support that format, but because it's name .mod it thinks it can play it. I will have to look closer at it, but current that format isn't supported right now

Another one, this one makes the player crash with:
terminate called after throwing an instance of 'openmpt::exception'
  what():  error loading file

MeloDance.zip

Thanks! I have investigated this new file, but I'm unsure what format it is. First the file is PowerPacked, but openmpt will unpack it bun then it doesn't know what the the format actually is.
Do you know any player that can play this file?

Plays fine in DeliPlayer 2.50, it’s identified as a MED file there.

Thanks! openmpt supports MED so it might actually be a bug in openmpt then

Some fixes for the first files in 0.1.5 https://github.com/emoon/HippoPlayer/releases/tag/0.1.5

I had a look at MeloDance.zip and I was able to identify an issue in OpenMPT's PP20 depacker. It has been fixed upstream.

I have upgraded to libopenmpt 0.5.4 in hippo 0.1.20 so this issue should be solved now (and verified it locally) I will close this issue for now, but open it again if it still doesn't work

Here’s another file that crashes the player. First double click on the file unpacks 5 tracks, second double click (on the first track) crashes the play with the following error:
thread '<unnamed>' panicked at 'called `Option::unwrap()` on a `None` value', src/lib.rs:236:70
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 5
/usr/bin/hippoplayer: line 3: 82732 Aborted                 (core dumped) ./hippo_player

paradroid 90.sc68.zip

Managed to repro here. Log
12:14:25.217 [sc68 0.0.1          ] ERROR Failed to process /home/emoon/Music/paradroid 90.sc68
12:14:44.979 [openmpt 0.0.2       ] DEBUG Unsupported: /home/emoon/Music/paradroid 90.sc68
12:14:44.979 [stsound 0.0.1       ] DEBUG Unsupported: /home/emoon/Music/paradroid 90.sc68
12:14:44.979 [flac 0.0.1          ] DEBUG Unsupported: /home/emoon/Music/paradroid 90.sc68
12:14:44.979 [SID 1.0.0           ] DEBUG Unsupported: /home/emoon/Music/paradroid 90.sc68
12:14:44.979 [oggvorbis 0.0.1     ] DEBUG Unsupported: /home/emoon/Music/paradroid 90.sc68
12:14:44.979 [Game Music Emu 0.0.1] DEBUG Unsupported: /home/emoon/Music/paradroid 90.sc68 (Wrong file type for this emulator)
12:14:44.979 [VGM 0.0.1           ] DEBUG Unsupported: /home/emoon/Music/paradroid 90.sc68
12:14:44.979 [Hively 0.0.1        ] DEBUG Unsupported: /home/emoon/Music/paradroid 90.sc68
12:14:44.980 [mp3 0.0.1           ] DEBUG Unsupported: /home/emoon/Music/paradroid 90.sc68
12:14:44.980 [wavpack 0.0.1       ] DEBUG Unsupported: /home/emoon/Music/paradroid 90.sc68
12:14:44.980 [ayfly 0.0.1         ] DEBUG Unsupported: /home/emoon/Music/paradroid 90.sc68
12:14:44.988 [adplug 1.0.0        ] DEBUG Unsupported: /home/emoon/Music/paradroid 90.sc68
12:14:44.988 [tfmx 1.0.2          ] DEBUG Unsupported: /home/emoon/Music/paradroid 90.sc68
12:14:44.988 [mdx 0.0.1           ] DEBUG Unsupported: /home/emoon/Music/paradroid 90.sc68
12:14:44.988 [sc68 0.0.1          ] INFO  Supported: /home/emoon/Music/paradroid 90.sc68
12:14:44.988 [sc68 0.0.1          ] ERROR Failed to process /home/emoon/Music/paradroid 90.sc68
12:14:44.989 [asap 0.0.1          ] DEBUG Unsupported: /home/emoon/Music/paradroid 90.sc68
12:14:44.989 [core                ] WARN  No playback plugin found for: /home/emoon/Music/paradroid 90.sc68|0
thread '<unnamed>' panicked at 'called `Option::unwrap()` on a `None` value', src/lib.rs:236:70
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 5

So it seems that sc68 is unable to play the file, then hippo (for whatever reason) thinks it can next time around. Do you know if this file works in some other player?

DeliPlayer 2 (which is my usual benchmark in this regard) at least is not able to recognize and play it.

I see. It's kinda weird because it first figures out all the sub songs and then crashes. I will have to debug this one. Thanks for finding all of these crashing cases, helps me fix stuff :)

Glad to help, I downloaded the whole Modland archive at one point containing roughly 450,000 files, so I have plenty of obscure file formats (and probably many broken files) I regularly throw at Hippo ^^

Nice :) Yeah I have everything locally as well, but I guess I haven't tried to many bad files yet :D


Docs Reorg: Reputation

These two pages are very similar and should be combined into one new page that follows our style guide, called Reputation Monitoring that lives in the Glossary - make sure the new page has the important information from both pages
https://sendgrid.com/docs/ui/sending-email/reputation/
https://sendgrid.com/docs/glossary/reputation-monitoring/
[edit: fixing broken link]

The first page is a 404

broken link is fixed - thanks for the PR @pushkyn! we will get to it in the next day or so

I'd like to take up this issue!


Either: get / extract / unbox

Hi, I'am quite new to FP and as far as I've read, extracting value from any type of monad is not favored. That's ok in the long run, however, for a smooth transition I am expecting to be able to extract the value from the Either monad. Can't I, really ? :)

You can't, you should use fold, getOrElse or getOrElseL which are safe.
However you can easily define your own unsafe get
const get = <L, A>(fa: Either<L, A>): A =>
  fa.getOrElseL(() => {
    throw new Error('get called on Left')
  })

(I don't recommend it though)

Oh ok. So when do you use isRight() ? Even if you become sure that it is a right, you cant extract the value
Is there any easy-to-follow code examples, like a tutorial or a small project I can understand the mindset?

isRight (both the method and the function) is defined as a custom type guard so you can do
declare const fa: Either<string, number>
if (fa.isRight()) {
  // const n: number
  const n = fa.value
}

since TypeScript is able to refine fa. IMO it must be used sparingly because that way you are not forced to handle the failing case.

Oh that's interesting, if isRight() returns true, value property is just there.
Well, I've read so many articles/books that favor that to reach the boxed value directly, so I will try my best. Thanks

.value no longer exists in Right<T>; other ways to unpack the value?

Note: the first answer from @gcanti above can be used in pipe like
const getSomeValue = pipe(
 yourFunctionWhichProduceEither(),
 //or you had a type change, lets say from IOEither to TaskEither, then you run this Task and got Either<A,B>
 getOrElseL(() => {throw new Error('get called on Left')})
);

//...

const value = getSomeValue();

something like that


Use ?sql=xxx:signature instead of signed values

URLs to SQL queries currently look like this:
https://simonwillison.net/dashboard/?sql=InNlbGVjdCAlKG5hbWUpcyBhcyBuYW1lLCB0b19jaGFyKGRhdGVfdHJ1bmMoJ21vbnRoJywgY3JlYXRlZCksICdZWVlZLU1NJykgYXMgYmFyX2xhYmVsLFxyXG5jb3VudCgqKSBhcyBiYXJfcXVhbnRpdHkgZnJvbSBibG9nX2VudHJ5IGdyb3VwIGJ5IGJhcl9sYWJlbCBvcmRlciBieSBjb3VudCgqKSBkZXNjIg%3A1lLfRD%3AvFP_m0s3BxRS2qyiWtlMlE1KRa2qoKItofP1vvK7hdY&sql=InNlbGVjdCBib2R5IGFzIGh0bWwgZnJvbSBibG9nX2VudHJ5IGxpbWl0IDEi%3A1lLfRD%3AEK0KOXcGgYdgD4Yzglbodf806GnbmrdtPridp8m0hlY
The problem here is that if the Django secret is reset these become broken links - there's no easy way to recover the SQL.
Instead, if the signatures do not match, how about populating the forms but NOT executing the SQL queries, and showing a warning message at the top of the page?
The ?sql= parameters could then become ?sql=SELECT ...::oKItofP1vvK7hdY where oKItofP1vvK7hdY is a signature but the rest of the query is in plain text.

Another reason this is useful: if you have a staging environment and a live environment with different secrets you can still modify the URL of one to the hostname of the other and still edit and re-submit the queries on the new host.

I'm going to add code to detect the old style of ?sql= and redirect it to the new style, since there are already dashboard links out there in the wild that I'd like to continue working.

I can still use most of Django's signing code for this. The only difference is that I'll be using sign and unsign directly, instead of sign_object and unsight_object (which are called for me by .dumps() and loads(): https://github.com/django/django/blob/59552bea5790c97be0da0a6f16ccd0189857c7a7/django/core/signing.py#L93-L119)

I'm really uncomfortably about the idea of accepting a random weird looking string, unsigning it, finding the signature is invalid, then saying "it might be base64 encoded JSON", attempting to decrypt THAT (from an already untrusted source) and showing that end result back to the user.
I think it can be done securely, but there's enough weirdness going on there that I don't want to try.
So instead I'm going to say that the "decode old signed strings" part of this will only work if the signature DOES pass. I'm not going to attempt to decode a JSON/base64 string that wasn't protected by a signature.

So there are three parts to this:

Switch to signing SQL directly rather than doing the JSON/base64 thing we're doing at the moment
Have an optional upgrade path (controlled by a setting, off by default) where if a signed ?sql= string appears to be a base64 encoded JSON object with a valid signature we decode that and redirect to the new-style raw SQL URLs
For raw SQL urls only, if the signature fails we show the user the SQL and let them chose to execute it or not (so that upgraded secrets won't completely invalidate existing links, but instead will prevent them from being executed without user interaction)

I might include clickjacking prevention here: if you load the dashboard with a ?sql=xxx which doesn't have a valid signature, set a 5 second countdown before the execute query buttons will work to prevent clickjacking.
Actually no. If I care about clickjacking I should use the Content-Security-Policy: frame-ancestors 'self' header.

Here's how SQL that is missing the signature will be displayed:

I'm splitting out the handling of old signed values into a separate ticket.


MongoDB integration

User story

As a developer
I want / need to have the backend functionalities moved to the database

Acceptance criteria

Push firmware metadata into the database

Definition of done

Code review from peers has been completed and passed

Code is fully implemented and commented
Adheres to coding guidelines
Commits are not squashed
Code is checked into the repository

Unit tests for backend have been written and are passing
Manual performance tests on the browser are passing
No critical bugs are open

After the call the Michael. I got to know:

MongoDB needs to be installed on host
We need to add one more step to our setup documentation
This is the step where user needs to run installer.sh on host before building containers

Ticket closed on 12.05.2021


modify double np.hstack to single np.ravel

# before
np.hstack(np.hstack(x))

# after
np.stack(x)

When I tested the time with 880,591 x 1 series data,
the running time improved from almost 2.5 seconds to within 1.0 second.
I thought the usage of double np.hstack was for StateType.sequence_numerical. In this case, np.stack will be fine. But if there is something I missed, please let me know.

oh, there were something I missed. I will check and re-try to PR


[DS-3031] Remove maven warning "Cannot include project artifact ..." in the assembly step

https://jira.duraspace.org/browse/DS-3031

@KevinVdV: This is such a tiny change, I'd say "just merge it" assuming it's working well for you.

+1 confirmed working via a cherry-pick to my 5.4-based fork of DSpace. A very welcome change.


Update free-programming-books.md

Ruby on Rails link update (Ruby on Rails Tutorial: Learn Rails By Example)

:+1:

Thanks!


Dynamically compute OpenID redirectUri from proxy HTTP headers

Description
The OpenID redirectURI can be dynamically computed from proxy HTTP headers (X-Forwarded-*) if its new specific parameter is turned on in the configuration file (opensearch_security.openid.trust_dynamic_headers).
Category
Enhancement
Why these changes are required?
My company hosts one Opensearch Dashboards shared by many users (with tenants). We have a federated IAM based on OpenID configuration. The Opensearch Dashboards is behind a reverse proxy. We have a specific URL for each client that points to the same Opensearch Dashboards, thus we need to set dynamically the redirectURI.
Opensearch Dashboards should have a new option allowing dynamic configuration of the redirectURI, based on information sent by a reverse proxy.
What is the old behavior before changes and new behavior after changes?

Old behavior: redirectURI is hardcoded in Opensearch Dashboards configuration file.
New behavior: same as old behavior, plus redirectURI computed from X-Forwarded-* headers if new configuration option says so; default "no" to not break anything.

Testing
manual testing:

trust_dynamic_headers: FALSE
trust_dynamic_headers: TRUE

base_redirect_url: UNDEF
scheme://host:port
X-Forwarded-Proto://X-Forwarded-Host if defined in HTTP headers

base_redirect_url: "VALUE"
"VALUE"
"VALUE"

Check List

[x] New functionality includes testing
[ ] New functionality has been documented
[x] Commits are signed per the DCO using --signoff

Documentation: I will document the new parameter in https://github.com/opensearch-project/documentation-website/blob/main/_security-plugin/configuration/openid-connect.md#configuration-parameters as soon as you are OK with my PR.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #929 (acda05c) into main (fc7b8cc) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #929   +/-   ##
=======================================
  Coverage   71.98%   71.98%
=======================================
  Files          87       87
  Lines        1906     1906
  Branches      247      242    -5
=======================================
  Hits         1372     1372
  Misses        480      480
  Partials       54       54

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 fc7b8cc...acda05c. Read the comment docs.

@peternied I've added the unit tests you asked me. Do not hesitate to ask me if I need to do anything else.

@peternied For faster processing, I've directly created a PR on the documentation project: opensearch-project/documentation-website#499. Tell me know if it's OK or if I need to do anything else.

@opensearch-project/security Could we get another reviewer to take a look at this PR?

With Opensearch dashboards v2.2.1, On access of UI, redirection is not considering value set for server.basePath and opensearch_security.openid.base_redirect_url as it is redirecting to "/" after authentication with openid.
Please check  if this bug is introduced as part of this change and it has impacted url routing.


Bug: Timeout cannot be passed in as zero

https://github.com/percolate/redset/blob/master/redset/locks.py#L60
Because self.timeout is evaluated as timeout or 10, if timeout is passed in as 0, 0 is a false-y value, and incorrectly gets set to 10.

Let's just say an int of 0 or a float of 0.0 is an empty list/tuple/dict/set, an empty string or byte, a None (or in this case 0) are all falsy in Python, meaning they are evaluated as false.
This rule is fairly general. None, 0, [], {}, empty containers in general, etc., are all "falsey", while anything else is "truthy".
In [6]: bool(None)
Out[6]: False

In [7]: bool([])
Out[7]: False


[BUG] Automated tests may give false negative result for PGAudit

Describe the bug
Test Checking if the Elasticsearch logs contain queries from the PostrgeSQL database occasionally fails (randomly) .
To Reproduce

Use config with enabled PGAudit.
Create cluster.
Run tests for postgresql group many times (eoicli test with -g postgresql).

Expected behavior
Tests should pass.
OS:

RHEL7

Cloud Environment:

AWS

Additional context
n/a

The tests work fine after the fix is made.


Reddit Source no longer working

I am trying to display images from a reddit source, but they don't actually ever get pulled in. Here is the basic config file:
{
	module: 'MMM-Wallpaper',
	position: 'fullscreen_below',
	config: {
		source: "/r/cityporn",
		crossfade: false,
		slideInterval: 3 * 60 * 1000
	}
},

I've followed the documentation but it doesn't look like any images ever get pulled in. Any advice would be great. Thanks!

I just tried locally with this exact config, and it worked just fine.  Do you see any errors in your browser console or in the terminal where the magicmirror server is running?


Add 'Running site locally' section into Contributing guide

When trying to run website/docs site locally with latest hugo, site is broken. Users noticed this already three years ago.
I'm not sure if there are any plans to migrate docs/website to the latest hugo version, but hopefully this description will save time in figuring out that latest version of hugo is not supported.

I am currently in favor of migrating the documentation to Paradox, so there are no dependencies outside the JVM.  I'm sinking my time into the Dotty and CE3 releases first, but a documentation push should be our next big effort.
The Nix shell sets up a working version of Hugo, but most of our users aren't running Nix, nor is it an expectation.  I think this a good interim note until we modernize it. :+1:


add pm2 and build scripts

I've done this a million times, hopefully the last.

adds build script for circle to create artifact
took watch out of the default grunt tasks as it's a dev task
add healthcheck endpoint
add pm2 for process management on server

Merging to start testing build.


TypeError: Cannot destructure property 'createComponentInstance' of 'r.ssrUtils' as it is null.

Version
3.0.7
Reproduction link
https://github.com/carlosmaniero/vue-create-component-instance-error
Steps to reproduce

Clone the project: https://github.com/carlosmaniero/vue-create-component-instance-error
Build the project

yarn
yarn start

Open http://localhost:8080/
Look at the browser console.

More info:
There is also this webpack warning:
WARNING in<EMAIL_ADDRESS>96:63-70
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
<EMAIL_ADDRESS> @ ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/HelloWorld.vue?vue&type=template&id=b9167eee&scoped=true
 @ ./src/components/HelloWorld.vue?vue&type=template&id=b9167eee&scoped=true
 @ ./src/components/HelloWorld.vue
 @ ./main.js
 @ ./browser.js

What is expected?
To have SSR working 😀
What is actually happening?
TypeError: Cannot destructure property 'createComponentInstance' of 'r.ssrUtils' as it is null.

If I remove this line from webpack server config:
https://github.com/carlosmaniero/vue-create-component-instance-error/blob/master/webpack.server.js#L14
I have the same error from server.
Also, I'm using the webpack configuration provided by @vue/cli-service. All I did was about to remove some stuff I didn't want to use.
There is this workaround:
resolve: { mainFields: ['main', 'module'] }

Extracted from: https://github.com/vuejs/vue-next/issues/2244#issuecomment-707366281
However, it increases significantly the build time beyond that it also result in an empty hydration result.

You should use createSSRApp in browser.js:
createSSRApp(Main()).mount(document.getElementById('app'))

For that workaround, yes, that’s because the default behavior of webpack is that the module field has a higher priority.

@HcySunYang How does using createSSRApp in browser.js help with the server render (in server.js)?
I am trying to get SSR working in Vue 3 with Webpack, and running into the same error:
> node public/js/ssr.js

/Users/jonathan/Sites/inertia-ssr-vue3/public/js/ssr.js:15239
const { createComponentInstance, setCurrentRenderingInstance, setupComponent, renderComponentRoot, normalizeVNode } = vue.ssrUtils;
        ^

TypeError: Cannot destructure property 'createComponentInstance' of 'vue.ssrUtils' as it is null.
    at<EMAIL_ADDRESS>(/Users/jonathan/Sites/inertia-ssr-vue3/public/js/ssr.js:15239:9)
    at __webpack_require__ (/Users/jonathan/Sites/inertia-ssr-vue3/public/js/ssr.js:44399:42)
    at<EMAIL_ADDRESS>(/Users/jonathan/Sites/inertia-ssr-vue3/public/js/ssr.js:16007:20)
    at __webpack_require__ (/Users/jonathan/Sites/inertia-ssr-vue3/public/js/ssr.js:44399:42)
    at /Users/jonathan/Sites/inertia-ssr-vue3/public/js/ssr.js:44472:78
    at /Users/jonathan/Sites/inertia-ssr-vue3/public/js/ssr.js:44531:3
    at Object.<anonymous> (/Users/jonathan/Sites/inertia-ssr-vue3/public/js/ssr.js:44533:12)
    at Module._compile (node:internal/modules/cjs/loader:1092:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1121:10)
    at Module.load (node:internal/modules/cjs/loader:972:32)

Any tips? 😬

Hello @reinink!
In order to make it working on server webpack config I needed to externalize dependencies:
https://github.com/carlosmaniero/vue-create-component-instance-error/blob/master/webpack.server.js#L14

@carlosmaniero THANK YOU SO MUCH. That worked! 🙌


Lotka-Volterra example

I am doing https://turing.ml/dev/tutorials/10-bayesiandiffeq/
I didn't to any data augmentation yet, just doing conjugate step and a point estimate for the dispersion
in iteratively. There is so enough data that it essentially convergence after 3 steps, the bias from not doing data augmentation seems small.

Codecov Report

Merging #75 (07973cc) into main (5bccf7a) will decrease coverage by 1.39%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main      #75      +/-   ##
==========================================
- Coverage   90.42%   89.03%   -1.40%
==========================================
  Files           8        8
  Lines         512      520       +8
==========================================
  Hits          463      463
- Misses         49       57       +8

Impacted Files
Coverage Δ

src/regression.jl
84.72% <0.00%> (-10.60%)
:arrow_down:

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 5bccf7a...07973cc. Read the comment docs.


Make units consistent with text

Follow-up to https://github.com/cockroachdb/docs/pull/3565.

This change is

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/8253a2339c3e1f52db752d109a91a243128c547d/


installation is stuck at building wheel

Expected behaviour
I expected to module to install very fast.
Actual behaviour
Building wheel for opencv-python (PEP 517) takes forever to run.
Steps to reproduce

OS - ubuntu 18.04 LTS
architecture - x86
opencv-python version - <IP_ADDRESS>

Issue submission checklist

[ ] This is not a generic OpenCV usage question (looking for help for coding, other usage questions, homework etc.)

[x] I have read the README of this repository and understand that this repository provides only an automated build toolchain for OpenCV Python packages (there is no actual OpenCV code here)

[x] The issue is related to the build scripts in this repository, to the pre-built binaries or is a feature request (such as "please enable this additional dependency")

[x] I'm using the latest version of opencv-python

@Abhranta ok so coincidently I too faced the similar issue just now 👇

When I checked on pypi.org, I came to know that, people who all are installing openCV they are installing the latest version that is released just 3 hours back 👇

TEMPORARY SOLUTION ✅
So for now you can download the previous version (i.e opencv-python <IP_ADDRESS>) and it will work fine and your job gets done.

Hope this helps 😊
Do drop a like if your issue gets solved by this.
Thank you 🙏

hi @TheDudeThatCode ,
i tried installing the older version as you said but i am getting the same error still.
i am running on ubuntu 18.04, arm64.
python3.7 -m pip install opencv-python==<IP_ADDRESS>
Defaulting to user installation because normal site-packages is not writeable
Collecting opencv-python==<IP_ADDRESS>
Using cached opencv-python-<IP_ADDRESS>.tar.gz (88.9 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Requirement already satisfied: numpy>=1.14.5 in ./.local/lib/python3.7/site-packages (from opencv-python==<IP_ADDRESS>) (1.19.2)
Building wheels for collected packages: opencv-python
Building wheel for opencv-python (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3.7 /home/farbot/.local/lib/python3.7/site-packages/pip/_vendor/pep517/in_process.py build_wheel /tmp/tmp2mtq9r3
cwd: /tmp/pip-install-88qrptpk/opencv-python
Complete output (9 lines):
File "/tmp/pip-build-env-xque07ot/overlay/lib/python3.7/site-packages/skbuild/setuptools_wrap.py", line 560, in setup
cmkr = cmaker.CMaker(cmake_executable)
File "/tmp/pip-build-env-xque07ot/overlay/lib/python3.7/site-packages/skbuild/cmaker.py", line 95, in init
self.cmake_version = get_cmake_version(self.cmake_executable)
File "/tmp/pip-build-env-xque07ot/overlay/lib/python3.7/site-packages/skbuild/cmaker.py", line 82, in get_cmake_version
"Problem with the CMake installation, aborting build. CMake executable is %s" % cmake_executable)
Traceback (most recent call last):
Problem with the CMake installation, aborting build. CMake executable is cmake
ERROR: Failed building wheel for opencv-python
Failed to build opencv-python
ERROR: Could not build wheels for opencv-python which use PEP 517 and cannot be installed directly

You can't install the packages because the builds were (and still are) in progress. Please pin your dependencies as @TheDudeThatCode wrote above. When builds are finished, you can safely upgrade (the new release contains only bug fixes and drops Python 3.5 support). The releases are usually ready when there are release notes at https://github.com/skvark/opencv-python/releases.
Build progress: https://ci.appveyor.com/project/skvark/opencv-python and https://travis-ci.com/github/skvark/opencv-python/builds
@siddharthcb This project does not support ARM platforms. Therefore your installation will always fail. Source build fails because cmake has issues with ARM platforms also.

@skvark is it possible to build from source for arm64?
what approach do you recommend for arm64?

If you manage to get the cmake dependency working (in pyproject.toml) then this project should build fine on arm64. Please see https://github.com/skvark/opencv-python/issues/366 for more info. Cmake is provided via this project: https://github.com/scikit-build/cmake-python-distributions

Met the same problem, solving by upgrade pip before install opencv, pip install --upgrade pip

Met the same problem, solving by upgrade pip before install opencv, pip install --upgrade pip

Met the same problem, solving by upgrade pip before install opencv, pip install --upgrade pip

thanks bro, this worked for me

just:
pip install opencv-python==<IP_ADDRESS>

it works fine for me.

Thanks man!
I spend my last 4-5 days and some nights to find the solution.
I need the OCV to my thesis.

just:
pip install opencv-python==<IP_ADDRESS>

it works fine for me.

just:
pip install opencv-python==<IP_ADDRESS>

it works fine for me.

You save my life

just:
pip install opencv-python==<IP_ADDRESS>

it works fine for me.

Weekend saved. Thanks

I'm getting this with <IP_ADDRESS>.
Building wheel for opencv-python (pyproject.toml) ... has been going for over an hour

just:
pip install opencv-python==<IP_ADDRESS>

it works fine for me.

thank you! it also works for me
As blew is what l have done:

conda create -n name python=3.8 someone said python3.8 is necessary
pip3 install opencv-python==<IP_ADDRESS>

just:
pip install opencv-python==<IP_ADDRESS>

it works fine for me.

thank you! it also works for me As blew is what l have done:
1. `conda create -n name python=3.8` someone said python3.8 is necessary

2. `pip3 install opencv-python==<IP_ADDRESS>`

<IP_ADDRESS> does install very quickly however I get this error when running my script
Traceback (most recent call last):
File "/home/obd/.local/lib/python3.9/site-packages/numpy/init.py", line 135, in
raise ImportError(msg) from e
ImportError: Error importing numpy: you should not try to import numpy from
its source directory; please exit the numpy source tree, and relaunch
your python interpreter from there.
Traceback (most recent call last):
File "/home/obd/DRDS/main.py", line 18, in
import cv2
File "/home/obd/.local/lib/python3.9/site-packages/cv2/init.py", line 5, in
from .cv2 import *
ImportError: numpy.core.multiarray failed to import


feat: introduce VirtColumnToggle

This introduces a simple command to toggle the virtual column for a buffer.
I chose to implement this because I felt like it was simple enough to implement and would provide functionality to users who wouldn't necessarily have the experience to implement it themselves.
Fixes: #9

Thanks for this awesome plugin!


[Misc] token revocation

Hi!
I want to know if you have something about token revocation? I know that is a task for the authentication server but when a revoke a token i can still use it against the API because there is not any communication between the fhir server and the auth server.
Thanks

Hi @liquid36,
We currently do not have token revocation implemented.

Okey, thank you!
For now, i created an AWS Authorizer to get the job done.


tests depend on prod servers

should be replaced with mocking probably. blocks #10

let's mock em https://crates.io/crates/mocktopus


Allow for chain and asset KEYWORDS?

Adding keywords could make searching for certain chains and assets could make dApp usage more effective.
The idea comes from an Issue submitted on Osmosis Assetlist.
Add keywords array to chain.json keywords for the chain, and another within each asset in assetlist.json.
Example use cases:

e.g., searching 'terra' could point you to USTC, KRTC, LUNC, LUNA, ANC, MIR, etc., because 'terra' would be a keyword for both terra blockchains, but also foremost a keyword for USTC and KRTC.
Searching for old names on things could show assets. e.g., 'switcheo' can show assets from Carbon chain. Searching for 'matic' can show Polygon assets.
searching for chain ids could show assets from the related chain, e.g., colombus for terra classic, or phoenix for terra2
searching for utility could result in certain assets. e.g., searching 'cloud' could result in Akash assets. 'staked atom' could result in PSTAKE.  'NFTs' from STARS and MNTL. 'stable' for USTC, USDC, DAI, EEUR, etc.

Perhaps there should be limitations to this. How do we make sure chains don't spam their keyword list with a million popular unrelated terms just to try to show up first on every search? Should we put a limit to the number of keywords, say, 20 words?
e.g.,
for Secret Network:
"keywords": {"privacy", "secret", "sefi", "SCRT", "sSCRT", "snip", "snip20", "supernova", "sienna", "shade"}

as keywords is also a feature in npm package.json files, seems like a pretty standard field we should include. Totally agree.

I like "keywords" 👍


Check required keys in smurfs

Situation
For smurfs-files, the smurf files listed in the dict under the key "entities" are loaded. For smurfs files from MARS 1, the key may actually be called "smurfs". If "entities" is not defined in the smurfs-file, there is no file loaded.
Task

Decide whether naming the key "smurfs" instead of "entities" should be supported
If not, give an error message, if "smurfs" is defined in the smurfs-file but "entities" is not or generally if "entities" is not defined.

I think we have so many old repositories where we have "smurfs" keys. I think for mars2 , it will be quick to adapt those files with new key "entities". In the meantime, we would update the old repositories by doing that.

I think we have so many old repositories where we have "smurfs" keys. I think for mars2 , it will be quick to adapt those files with new key "entities". In the meantime, we would update the old repositories by doing that. :)

Hey Priyanka, thanks for the insight.
If "smurfs" is still used broadly, I think it'd be best to allow "smurfs" as well as a key if the key "entities" is not present and infroming the user about this. Is this what you meant by "adapt" or would you also automatically update the key in the smurfs-files?


Add ia1 support

This PR pending changes to n64img.
I believe the definition for ia4 in n64img needs to be duplicated and renamed to ia1. Then change the final arithmetic from // 2 to // 8
There may also be a bug with n64img not supporting 13x14 textures (which is the boot font)
This would be a nice have for mk64 as it uses this file type for the crash screen font.

I suggest calling this texture type i1, since for the RDP texture types ia4/8/16 the i and a refer to different color channels. In a 1-bit-per-pixel image there is no concept of more than one color channel, so ia1 as a name is inconsistent with the existing texture format names.

I was going by the naming in mk64. I will update the name to i1.
n64img is not a public repo.

whoops! It's public now

Ready for review

looks fine, but we'll need to merge https://github.com/decompals/n64img/pull/1 first and then release a new version of that, and then bump the minimum n64img version in splat to be that version

looks fine, but we'll need to merge decompals/n64img#1 first and then release a new version of that, and then bump the minimum n64img version in splat to be that version

Is version bumping done manually? I'll add that to my PR if so

nah I think I just have to push a tag. I can take care of it. thanks though

oh, but in this PR we will need to change requirements.txt to require a new minimum version. so yeah after I release it, I'll tell you the version and you can change it there if you don't mind

@MegaMech would you mind bumping the min n64img version in requirements.txt and comment back when you've done so? then I'll merge


product module api test cases and code issue resolved

Hi @ageddesi, Kindly review this PR for the requested issue #123.

Hi @darkl1ght Just seems to be a couple of conflicts. If you can resolve them please this will get pulled in :)

Hi @darkl1ght , thank you for the hard work on this 👍 Happy hacktoberfest :)

hi @ageddesi I am getting not-accepted status on my hacktober fest page

Could you please check this once?


How to use this with react-native-navigation V2

As of recent, Wix's react-native-navigation suggests that we start using their V2 branch: https://github.com/wix/react-native-navigation#important
The installation guide on this library is for V1 and there seems to be no activity anymore on this library.
Will the documentation be updated? Or should we move to a different library?

I'm facing the same issue.
NotificationsLifecycleFacade is outdated.

@diegolmello I figured it out, you basically just need to ignore the GIST for RNN. V2 extends MainActivity correctly so there is no need to change it.

@ItsNoHax Thanks for letting me know.
There is no need to implement AppLifecycleFacade, but everything else stays the same?


Unable to migrate on MySQL with utf8mb4

The migration 0001_initial errors out with

django.db.utils.OperationalError: (1071, 'Specified key was too long; max key length is 767 bytes')

I suspect this is because stripe_id is 255 characters long, and 255 characters gets encoded as about 1024 bytes in MySQL's utf8mb4.
I think 255 characters might be a little bit overkill -- could we consider halving that? What's the maximum length of stripe IDs people have seen in the wild?

Closed via #350 :)


The conformance test "code+id_token:OP-claims-essential" is not working

TODO
=> Add some UT for the class "ConsentHelper"
=> Add the conformance testing result


Cal gas estimate

What does this PR do?
Closes #159
Note: For estimating gas fee an RPC operation is executed which requires the operation to be signed by the wallet private key.
In case of calling withdraw & putting_bot_on_sale entry points since it can only be executed by the owner of the token_id we would require users to make an additional request to the wallet for checking the estimated gas fee which hinders the UX.

@bhaskarSingh have you gotten in touch with Temple Wallet team/Tezos dev for this issue?
If Metamask can fetch this for the user without requiring an additional transaction, by first principles that same mental model would be applicable on Tezos.

I have reached out to the taquito telegram group.
On Tue, 23 Mar, 2021, 4:16 pm Prastut Kumar, @.***>
wrote:

@bhaskarSingh https://github.com/bhaskarSingh have you gotten in touch
with Temple Wallet team/Tezos dev for this issue?
If Metamask can fetch this for the user without requiring an additional
transaction, by first principles that same mental model would be applicable
on Tezos.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/buidl-labs/crypto-code-school-inside-tezos/pull/306#issuecomment-804801702,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD6YAT77IASB4MEDLHHSTYLTFBWRRANCNFSM4ZU4OGGA
.


Any browser on Windows 10 does not connect SSL enabled websites

What happened:
Windows10 VM cannot connect to any SSL enabled website with any browser. The same VM works outside Kubevirt hosted on KVM hypervisor. Networking is fine and DNS is working fine.
What you expected to happen:
When you connect through a proxy server (public and private), the SSL connection is established and we are able to connect.
How to reproduce it (as minimally and precisely as possible):
Take Windows 10 ISO from Microsoft website and created an image, run on kubevirt and you can see the behavior.
Anything else we need to know?:
The issues does not exists with any other OS. We can connect from the pod itself to the SSL enabled websites. The issue seems to be very specific to Windows VM settings in Kubervirt.
Environment:

KubeVirt version (use virtctl version):
Client Version: version.Info{GitVersion:"v0.10.0", GitCommit:"6ddf4f4e2db4924ac0725676db72bb78acc6cca2", GitTreeState:"clean", BuildDate:"2018-11-08T13:47:51Z", GoVersion:"go1.10", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{GitVersion:"v0.10.0", GitCommit:"6ddf4f4e2db4924ac0725676db72bb78acc6cca2", GitTreeState:"clean", BuildDate:"2018-11-08T13:47:51Z", GoVersion:"go1.10", Compiler:"gc", Platform:"linux/amd64"}
Kubernetes version (use kubectl version):
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.11", GitCommit:"637c7e288581ee40ab4ca210618a89a555b6e7e9", GitTreeState:"clean", BuildDate:"2018-11-26T14:38:32Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.4", GitCommit:"5ca598b4ba5abb89bb773071ce452e33fb66339d", GitTreeState:"clean", BuildDate:"2018-06-06T08:00:59Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}
VM or VMI specifications:
Windows 10 VM
Cloud provider or hardware configuration:
32GB instance on GCP
OS (e.g. from /etc/os-release):
NAME="Ubuntu"
VERSION="16.04.5 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.5 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial
Kernel (e.g. uname -a):
Linux statestreet-poc 4.15.0-1024-gcp #25~16.04.2-Ubuntu SMP Tue Oct 30 14:14:10 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Install tools:
Others:

Today morning Sebastian Scheinkman helped me troubleshoot the issue and after looking at network traffic  through tcpdump, narrowed it to MTU mismatch between Windows settings and pod settings. Windows should take the MTU setting from pod configuration.
Thanks to Sebastian for working on this for many hours today

Hi @anubhav888 Thanks for the details!
To check the MTU on the windows vm and change it we used this command
Start -> Run -> PowerShell (Must Run as Administrator)
netsh int ipv4 show subinterface
netsh int ipv4 set subinterface "Local Area Connection" mtu=1410 store=persistent


Many links that I run across show a big 404 but get redirected to the right location

e.g. http://kubernetes.io/v1.1/docs/getting-started-guides/docker.html
If we can redirect, we should remove the 404

Yep, I totally hate this too.  Unfortunately, it's how the site is currently built.
Anything with a .html or .md extention 404s before redirecting.  I can't seem to fix it. @thockin


Unread argument styling

I've added support for #98 , but it probably needs some better styling (the blue BG is a bit "in your face")

Made some more improvements, now using a more subtle border


Fix SimpleMDE quote reply (#9757)

Backport #9757

@sapk need lgtm and milestone 1.11.0

@sapk can you add milestone here too?


OAS-5791 | Add helper for JSON messages in replication/v1

@nikita-vanyasin yes, that makes sense. I have made the change 👍🏻


Add UI alternative to dialoguer (gyscos/cursive)

Use an alternative for user input (alternative to dialoguer).
Default option should be as is. Enable UI mode with --ui flag.

Implemented this in the issues/#3 branch. Added following things:

Feature flags backend::cli (default) and backend::ui - this feature is behind the backend::ui flag
Experimental application level argument - Publicly unstable features and commands can now be marked as experimental which means that they are in fact not part of the public API that is meant to be stable and therefore not considered when applying the server rules. These features SHOULD only be used for testing / messing around.

Merged with #4


Remove Tink CLI image from assets list

Backport of #3428 to release-0.11 branch.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve


Conflicts with ubuntu package joe

The program name conflicts with the editor joe, installable by ubuntu package joe (http://packages.ubuntu.com/trusty/joe).

Sorry, this issue was already reported.


Bug-BlockGlitch-WoolRooms

There is a bug i can BlockGlitch and i can enter to my own wool room

This is known. Filters and applied regions are not yet implemented. They are on the to-do list.

ahhh


Amazon Linux 2023 no tunnel interfaces

Oddly enough this was working previously and when I started automating it seems to have broke.
I cannot figure out why it's happening, to be sure I tested with main and the dev branch, but both seem to give the same result.
The userdata used to prepare the instance for the NAT-tunnel is as follows:
dnf groupinstall "Development Tools" -y
dnf install iptables-services cmake3 -y

systemctl enable iptables

cd /root
git clone https://github.com/aws-samples/aws-gateway-load-balancer-tunnel-handler.git
cd aws-gateway-load-balancer-tunnel-handler
cmake3 .
make

cat <<EOF > /root/create-nat.sh
#!/bin/bash

echo "==> Setting up two-armed NAT"
echo Mode is \$1, In Int is \$2, Out Int is \$3, ENI is \$4

iptables -F
iptables -t nat -F
iptables -t nat -A POSTROUTING -o ens5 -j MASQUERADE
iptables -A FORWARD -i \$2 -o ens5 -j ACCEPT

echo 1 > /proc/sys/net/ipv4/ip_forward
echo 0 > /proc/sys/net/ipv4/conf/all/rp_filter
echo 0 > /proc/sys/net/ipv4/conf/\$2/rp_filter
EOF
chmod 700 /root/create-nat.sh

cat <<EOF > /usr/lib/systemd/system/gwlbtun.service
[Unit]
Description=AWS GWLB Tunnel Handler

[Service]
ExecStart=/root/aws-gateway-load-balancer-tunnel-handler/gwlbtun -c /root/create-nat.sh -p 6081
Restart=always
RestartSec=5s
EOF

systemctl daemon-reload
systemctl enable --now --no-block gwlbtun.service
sleep 5
systemctl start gwlbtun.service

aws ec2 modify-instance-attribute --instance-id=$(ec2-metadata -i | awk '{print $2}') --no-source-dest-check

As can be seen the create-nat.sh is basically the one from the examples (and tested working previously) with the exception of the interface name since AL2023 add a ens5 instead of a eth0 interface.
Tried running the command with debug options on but the only thing the application prints out is this (and the health-check requests will continue forever as long as it runs):
/root/aws-gateway-load-balancer-tunnel-handler/gwlbtun -c /root/create-nat.sh -p 6081 -dx
2024-09-04 07:00:45.408: UDP receiver setting up on port 6081
2024-09-04 07:00:46.076: Processing a health check client for ::ffff:<IP_ADDRESS>
2024-09-04 07:00:46.076: GeneveHandler check running
2024-09-04 07:00:51.197: Processing a health check client for ::ffff:<IP_ADDRESS>
2024-09-04 07:00:51.197: GeneveHandler check running

When checking which interfaces exists through ip addr or something, it only gives the local loopback device + ens5, whilst I would expect 2 extra gwi-* interfaces to be present.
Hope somebody can help me out debugging this problem, thanks in advance!

At first glance, since you're not getting a log message showing the tunnels are being created, I would say your appliance hasn't received traffic yet. The interfaces get created on the first GENEVE packet (i.e. actual payload) being received. You have health checks appearing though - I'm assuming those are GWLB itself and not something you're probing yourself?
Also note the -p 6081 has the health check running on TCP 6081, while GENEVE comes in on UDP 6081. This will work though.
I would perhaps check your security groups to ensure UDP 6081 is being allowed in.

Thank you so much for the response!
After trying some more stuff & things out, it turns out that my route-table wasn't properly updated and therefore initial traffic didn't start out.  Was under impression that the tunnel would be created after the first health-checks came in.
Now playing around to get the securitygroups a bit more strict, but at least the base principal is working now :D


Using XWJOY with GOG XWCD leaves me unable to create or select pilot

While using XWJOY for the first time, I noticed that I was unable to even create or select a pilot at the registration desk. I was playing the CD edition from GOG and using a Logitech Extreme 3D Pro. The attached video will demonstrate the behavior displayed at the registration desk.
https://user-images.githubusercontent.com/123152615/213651401-5bc91f42-bb74-421e-9d97-f90e95541790.mp4

Thanks for the video -- it's very helpful.  Looks like it's detecting throttle movement?  Might try:

Move the joystick throttle to a different location, and see if the phantom input stops.
Recalibrating; just move data/xwjoy.cal out of the directory, and generate a new one.
Taking a look at dosbox configuration (I'm using timed=false, though I haven't noticed any difference between the modes).

That did the trick. All is mostly well, except that I can’t twist to roll. I can do it the old way (hold the 2 button and move stick left or right), but I want to roll by twisting the stick. Any ideas?
From: pagej97 @.>
Sent: Friday, January 20, 2023 12:09 PM
To: pagej97/xwjoy-redux @.>
Cc: Barraken @.>; Author @.>
Subject: Re: [pagej97/xwjoy-redux] Using XWJOY with GOG XWCD leaves me unable to create or select pilot (Issue #1)
OK; I think I reproduced your issue. I suspect it's reading your rudders as throttle input.
Try this.

Set swap34=true in dosbox_xwingcd.conf:

[joystick]
swap34=true

Delete xwjoy.cal.
Relaunch game and calibrate throttle when prompted.

—
Reply to this email directly, view it on GitHub https://github.com/pagej97/xwjoy-redux/issues/1#issuecomment-1398681856 , or unsubscribe https://github.com/notifications/unsubscribe-auth/A5LSRZ6YS5LVU4OXF5RDE6LWTLBDTANCNFSM6AAAAAAUBIIHVY .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/A5LSRZ6UNTP6R5OGJCJALGTWTLBDTA5CNFSM6AAAAAAUBIIHV2WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSTLYYQA.gif Message ID: @.*** @.***> >

Re. rolling with joystick rudder axis:
I took a look, and the rudder axis is supported by DOSBox, but I'm looking at the keyboard references for X-Wing and for Tie Fighter, and I don't see any control for roll other than holding button two while yawing.  If the game offered a keyboard control for rolling, we could use DOSBox's "Mapper" to map axis 4 to the appropriate keys, but I don't see one.  I think this is just a limitation of the game, and I don't see an easy & satisfactory fix.

Glad swapping joystick axes via dosbox_xwingcd.conf (+ recalibrating) worked.

Glad swapping joystick axes via dosbox_xwingcd.conf (+ recalibrating) worked.

It’s supposed to be CTRL + the arrow keys, depending on the direction of the roll.
From: pagej97 @.>
Sent: Friday, January 20, 2023 6:42 PM
To: pagej97/xwjoy-redux @.>
Cc: Barraken @.>; Author @.>
Subject: Re: [pagej97/xwjoy-redux] Using XWJOY with GOG XWCD leaves me unable to create or select pilot (Issue #1)
Re. rolling with joystick rudder axis:
I took a look, and the rudder axis is supported by DOSBox, but I'm looking at the keyboard references for X-Wing and for Tie Fighter, and I don't see any control for roll other than holding button two while yawing. If the game offered a keyboard control for rolling, we could use DOSBox's "Mapper" to map axis 4 to the appropriate keys, but I don't see one. I think this is just a limitation of the game, and I don't see an easy & satisfactory fix.
—
Reply to this email directly, view it on GitHub https://github.com/pagej97/xwjoy-redux/issues/1#issuecomment-1399078909 , or unsubscribe https://github.com/notifications/unsubscribe-auth/A5LSRZZIZ62IQNM2PNLTY53WTMPEZANCNFSM6AAAAAAUBIIHVY .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/A5LSRZ4WMZW5ZN4S7LTGTKTWTMPEZA5CNFSM6AAAAAAUBIIHV2WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSTMQ772.gif Message ID: @.*** @.***> >


action_type vs actionType in URL

Hi,
look at this problem i have (v2.0.1):
$router->add('/admin_crm/{w:controller}/{a:action_type}/ajax/{a:action}', 'GET', function ($controller, $action_type, $action) { ... }
arguments in url, controller, action_type, action.
After i dump this route in RouteResolver i got this:
Szenis\Routing\Route Object
(
    [method:Szenis\Routing\Route:private] => Array
        (
            [0] => GET
        )

    [url:Szenis\Routing\Route:private] => admin_crm\/([0-9a-zA-Z-_]++)\/([a-zA-Z]++)\/ajax\/([a-zA-Z]++)
    [action:Szenis\Routing\Route:private] => Closure Object
        (
            [parameter] => Array
                (
                    [$controller] =>
                    [$action_type] =>
                    [$action] =>
                )

        )

    [arguments:Szenis\Routing\Route:private] => Array
        (
            [0] => controller
            [1] => action
        )

)

with no action_type argument in Arguments but if i change argument name from
action_type TO actionType, it works. There may be some problem with underscore variable.

I check the RouteFactory and maybe there is missing _ (underscore)
preg_match_all('~{(n:|a:|an:|w:|*:|?:)?([a-zA-Z0-9]+)}~', $url, $matches);
preg_match_all('~{(n:|a:|an:|w:|*:|?:)?([a-zA-Z0-9**_**]+)}~', $url, $matches);   - works good

@riso348
That was the probleem indeed, I updated the code. It should work now in version 2.0.2

yes now it works, thank you :-)


Add broadcasting

Set an id on each socket
Allow the server to be configured to broadcast action received to other clients

I see small issues in using socket.id = Math.random() * (9999999) on the server-side.
1/ It is a side effect and short-lived, and makes the restore of a state impossible, as the user will change their socketId randomly at connect time. It makes it an id only for transport with no logical implementation possible without mapping it to a more sticky id.
2/ math.random has known collisions on <5.0 version.
I don't care that much about 2/ but 1/ is unfortunate. As soon as we have to persist those ids, it comes with its security concerns etc.
I agree it is totally needed. I don't know if it can go without a more sticky senderId I'm afraid. Any feedback?

I agree, senderId was a short-term solution that should not have been implemented (at least this way).
We just need to add a method to add a onConnection listener.
As for the socketId, it should be a sha1, and it should not be propagated in the action by default.


Upgrade to 0.8.0

Please can you upgrade this to the latest version?

Hey! Sure I will update to v0.8.0 once they release it.
For now they only released candidates: https://github.com/golemfactory/yagna/releases
I'm subscribed to their release notifications but don't hesitate to ping me here again once it's out.

Sorry, it seemed it was a final release...


linksrus - did you manage to deploy 03-linksrus-monolith from chapter 10 hands on software engineering with go?

I am experimenting with book's code and recently was faced with challenge of deploying monolith to k8s.
I use slightly updated minikube version: link as the version in the book was not working in my case.
My version of 03-linksrus-monolith.yaml
Direct docker deployment with in-memory db etc. went fine, however when I try to deploy StatefulSet, I receive the error:
 | Error from server (BadRequest): error when creating "03-linksrus-monolith.yaml": admission
webhook "validate.nginx.ingress.kubernetes.io" denied the request: host "_" and path "/" is
already defined in ingress linksrus/linksrus-ingress
make: *** [Makefile:58: deploy] Error 1

more details here
Did you mange to deploy this version?

yeah, it's been a while, but I don't remember having any issues deploying both monolith and microservices. your problem seems to be related to duplicate definition of ingress resource in different namespaces.


Just developed a new hotword detector

Hi , I developed a new hotword detector named EfficientWord-Net , it works on One-Shot Learning
Very similar to face recognition . One needs to provide just a few positive samples of the hotword
to make it start detecting hotwords
Just like Google Assistant's hotword detector, the engine performs the best when samples are
directly collected form the target user
Hope that it will be of help to Rhasspy
Github Repo : https://github.com/Ant-Brain/EfficientWord-Net

Hello there!
I was trying to implement your wake word engine in rhasspy 'cause it seems very interesting.
I'm using the "custom command" option but I'm struggling on make it work even with the basic example (just an .sh with sleep() and then exit)
So about EfficientWord-Net right now I removed the dependency on pyAudio and create this dockerfile on top of rhasspy:
FROM rhasspy/rhasspy

RUN 	mkdir -p /var/cache/apt/amd64/archives/partial && \
	apt-get autoclean && \
	apt-get update && apt-get install -y gnupg2 git && \
	echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" | tee /etc/apt/sources.list.d/coral-edgetpu.list && \
	curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - && \
	apt-get update && apt-get install -y python3-tflite-runtime && \
	pip3 install git+https://github.com/nefastosaturo/EfficientWord-Net.git

COPY test.py test.py
COPY test.sh test.sh

RUN chmod +x test.py test.sh

Then I just used two very dummy executables to understand if the command was executed/working
test.sh contains:
#!/usr/bin/env bash

# Available environment variables
# -------------------------------
# Base directory of Rhasspy: ${RHASSPY_BASE_DIR}
# Name of current profile: ${RHASSPY_PROFILE}
# Profile directory: ${RHASSPY_PROFILE_DIR}

# Pretend to wait for wake word, but just sleep for 10 seconds
sleep 10

# Output should be text
echo 'default'

from the log the only thing that is realated to this is this line:
[DEBUG:2021-12-15 16:55:31,864] rhasspyremote_http_hermes: ['/test.sh']
So then I tried using the python one to get some sort of output:
#!/usr/bin/env python3

from time import sleep
import logging,sys

log = logging.getLogger("rhasspyserver_hermes")

log.error("HELLO THERE")
sleep(10)
print()

and then I just get this
[DEBUG:2021-12-15 16:55:31,864] rhasspyremote_http_hermes: ['/test.py']
Then with nodered I setup some MQTT and ws nodes to listen on hotwords endpoint (eg rhasspy/hotword/hotwords, ws://localhost:12101/api/events/wake) but still haven't got any progress.
@synesthesiam may I ask you what can I do to do more debugging?

I saw your fork, looks like the pyaudio dependency wasn't actually removed, pyaudio is extensively used in streams.py, you can check the docs though, decided to go with pyaudio for microphone streaming purposes. May I know why you wanted to remove pyaudio dependency?
Using a library other can be easily achieved by extending the CustomAudioStream class from streams.py , forgot to add the docs link in README https://ant-brain.github.io/EfficientWord-Net/

Hi @TheSeriousProgrammer , I tested a little bit your work on google colab. When I import HotwordDetector, it calls "import pyaudio" that in colab didn't work for some not-working dependecy with portaudio.
Also the pyaudio import in engine.py is not needed for the HotwordDetector but is used in the main part .
In Rhasspy there is no need to install pyaudio so I just remove that single line and create that Dockerfile :)
Sadly I'm still unable to make work any custom wake word script in Rhasspy as I said before.

There are a few issue with colab, since the notebook runs in a different computer inside google servers, the detector running there wont be able to capture your mic audio, that notebook in the repository was a testing environment for the ML modeld created prior to the library itself so it might lack some features


[RFC] Better icon scaling

How do you envision this feature/change to look/work like?
We're just using image-js to get it done, so no strong opinion there. The key idea is to have it plainjs, no imagemagick etc... perhaps the configuration we are using for image-js is not producing the best resizing, so maybe someone can play around with it
What is the purpose of this change/feature? Why?
The downscaled icons (i.e. from 512px -> 128px) are badly pixelated.
(OPTIONAL) Example implementations
No response
(OPTIONAL) Contact Details
No response
Verify canary release

[X] I verified that the issue exists in plasmo canary release

Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate problems.

This project seems to be good: https://github.com/lovell/sharp
I'll try it out today

I am so upset yesterday, no matter what resolution i set for "icon512.png" , the image resize by " image-js " is always blurry like mosaic.....
Luckily, thanks to the interface left to overriding-the-manifest, i can temperarilyt fixed it
 "manifest": {
    "icons": {
      "16": "url:~/assets/icon16.png",
      "48": "url:~/assets/icon48.png",
      "128": "url:~/assets/icon128.png"
    },
    "action": {
      "default_icon": {
        "16": "url:~/assets/icon16.png",
        "48": "url:~/assets/icon48.png"
      }
....
....
    },

A quick solution would be:

[ ] Use dev provided smaller icons if available


Create immutable core ILayoutEngine classes

[x] Create IImmutableLayoutEngine
[x] Implement core IImmutableLayoutEngines

[x] ColumnLayoutEngine
[x] BaseProxyLayoutEngine

[X] Remove the following:

[X] IsReadOnly
[X] Clear
[X] CopyTo

[x] Prevent the use of the misleading collection initialization syntax - it doesn't call the returned instance from IImmutableLayoutEngine Add(IWindow window)
[x] Tests

Closed by #428


Document “Facets” published by Astro SDK

Please describe the feature you'd like to see
Document “Facets” published by Astro SDK, refer to https://astronomer.slack.com/archives/C03868KGF2Q/p1666103801280069?thread_ts=1666103605.783669&cid=C03868KGF2Q
Describe the solution you'd like
A clear and concise description of what you want to happen, if possible with code examples.
Are there any alternatives to this feature?
Is there another way we could solve this problem or enable this use-case?
Additional context
Add any other context about the feature request here.
Acceptance Criteria

[ ] All checks and tests in the CI should pass
[ ] Unit tests (90% code coverage or more, once available)
[ ] Integration tests (if the feature relates to a new database or external service)
[ ] Example DAG
[ ] Docstrings in reStructuredText for each of  methods, classes, functions and module-level attributes (including Example DAG on how it should be used)
[ ] Exception handling in case of errors
[ ] Logging (are we exposing useful information to the user? e.g. source and destination)
[ ] Improve the documentation (README, Sphinx, and any other relevant)
[ ] How to use Guide for the feature (example)

Added a doc to document the facets which are exposed from load file to Open Lineage: https://docs.google.com/document/d/1bdvS8iXTQmh3vGogEhAjgp2NheCHYmOndqvJ1tDpoWw/edit#


Weather info is sometimes not displayed

In the logs I see:
04.12.20 09:58:14 (+0100)  main  INFO:root:Retrieving weather forecast
04.12.20 09:58:14 (+0100)  main  ERROR:root:HTTP Error 403: Forbidden

We need to understand why this happens and workaround 403 issues.

I'm having the same issue. I tried CURLing the logged URL from inside the container and I get a response just fine.

same here

I figured out the problem here. Weather API that Inkyshot uses started applying restrictions on the calls. Quote from the weather API provider here

You must identify yourself with contact information in the User-Agent request header. Whereas requests without any such header or just a generic string (e.g. "okhttp/3.12.4") until now has been throttled, new products will return a 403 Forbidden instead.

Fixing it by adding a user agent to the API calls.


SW-5081 Participants list view with mock data and search

added list view
wired up with search and sort
added cohort filter but currently not functional (later with BE integration perhaps)
cleaned up types, made some assumptions
could not leverage useParticipants at this time, using the Table with search filters component with has a dispatch property
extracted out TextTruncated to avoid more boilerplate

Looks to me, thanks for using TableWithSearchFilters 🙏

TableWithSearchFilters is super cool 🙌 , btw noticed that searchAndSort doesn't work on array values, do I need something special there?


Derivation Index Persistence Framework

This draft exists as a way to get early feedback on the design direction of the derivation index persistence piece. We need some way to keep track of which index to derive addresses with from our hierarchical deterministic wallets, and this is it!
tagging @pdyraga for some review
I'm looking for feedback around where this code should live, whether or not this needs to be more or less abstract, and the approach itself

I updated the implementation to be the append-based design where each extended pubkey gets its own folder and we write the wallet address to a file named by the index
beaushinkle@Beaus-MBP ~/example-storage> tree
.
└── derivation_indexes
    └── extendedPublicKey
        └── 6
beaushinkle@Beaus-MBP ~/example-storage> cat derivation_indexes/extendedPublicKey/6
btcAddress⏎

Is what gets written to my local after running the included tests

@pdyraga how are we lookin'?

👀

Alrighty - seems like the core approach is looking good. I'll rebase these commits, add more tests, clean up the api, etc and then ping you when it's ready to be a real PR

Ready for another look!

Alrighty, ready for another round

Any clues on what could be going on with the permission failures?

=== Failed
=== FAIL: pkg/extensions/tbtc/recovery TestDerviationIndexStorage_BadPermissions/execute_only (0.00s)
    --- FAIL: TestDerviationIndexStorage_BadPermissions/execute_only (0.00s)
        storage_test.go:244: unexpected error
            expected: cannot read from the storage directory
            actual:   <nil>

=== FAIL: pkg/extensions/tbtc/recovery TestDerviationIndexStorage_BadPermissions/write_only (0.00s)
    --- FAIL: TestDerviationIndexStorage_BadPermissions/write_only (0.00s)
        storage_test.go:244: unexpected error
            expected: cannot read from the storage directory
            actual:   <nil>

=== FAIL: pkg/extensions/tbtc/recovery TestDerviationIndexStorage_BadPermissions/write_and_execute (0.00s)
    --- FAIL: TestDerviationIndexStorage_BadPermissions/write_and_execute (0.00s)
        storage_test.go:244: unexpected error
            expected: cannot read from the storage directory
            actual:   <nil>

=== FAIL: pkg/extensions/tbtc/recovery TestDerviationIndexStorage_BadPermissions/read_only (0.00s)
    --- FAIL: TestDerviationIndexStorage_BadPermissions/read_only (0.00s)
        storage_test.go:244: unexpected error
            expected: cannot write to the storage directory
            actual:   <nil>

=== FAIL: pkg/extensions/tbtc/recovery TestDerviationIndexStorage_BadPermissions/read_and_execute (0.00s)
    --- FAIL: TestDerviationIndexStorage_BadPermissions/read_and_execute (0.00s)
        storage_test.go:244: unexpected error
            expected: cannot write to the storage directory
            actual:   <nil>

=== FAIL: pkg/extensions/tbtc/recovery TestDerviationIndexStorage_BadPermissions/read_and_write (0.00s)
    --- FAIL: TestDerviationIndexStorage_BadPermissions/read_and_write (0.00s)
        storage_test.go:244: unexpected error
            expected: cannot write to the storage directory
            actual:   <nil>

=== FAIL: pkg/extensions/tbtc/recovery TestDerviationIndexStorage_BadPermissions (0.00s)

They all work locally<EMAIL_ADDRESS>Judging from the error, it would seem like the workflow build is perfectly okay with me reading/writing from directories that have been chmod'd to prevent that.
I would also think that if the chmod didn't go through, then this would fail:
			err = os.Chmod(dir, os.FileMode(testData.mode))
			if err != nil {
				t.Fatal(err)
			}

Update: the permission tests were failing because the docker that runs the workflow test builds/runs go as root, and root ignores any set permissions.
I added a commit that builds the docker as a non-root user, which hopefully fixes this!

good for another look!

Okay - got approval and it's green. @pdyraga or @Shadowfiend do you want to do the honors?


Stray characters in generic.xaml

Moving an issue from the docs repo
https://github.com/MicrosoftDocs/windows-uwp/issues/2571
looks like a merge issue left a stray close brace "0}" in a couple of styles (AppBar and CommandBarWithoutRevealStyle)
AppBar display mode states.
 <VisualTransition From="HiddenOpenUp" To="HiddenClosed" GeneratedDuration="0:0:0.167">

                                        <Storyboard>
                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="ExpandButton" Storyboard.TargetProperty="VerticalAlignment">
                                                <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="Stretch" />
                                            </ObjectAnimationUsingKeyFrames>
                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="HighContrastBorder" Storyboard.TargetProperty="Visibility">
                                                <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="Visible" />
                                            </ObjectAnimationUsingKeyFrames>
                                            <DoubleAnimationUsingKeyFrames Storyboard.TargetName="ContentTransform" Storyboard.TargetProperty="Y">
                                                <DiscreteDoubleKeyFrame KeyTime="0:0:0" Value="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.HiddenVerticalDelta}" />
                                                <SplineDoubleKeyFrame KeyTime="0:0:0.167" KeySpline="0.1,0.9 0.2,1.0" Value=**"0}"** />
                                            </DoubleAnimationUsingKeyFrames>
                                        </Storyboard>
                                    </VisualTransition>

The linked PR does not yet fix the stray "}" character issue in the AppBar control template. We should track this in a separate issue if we close this one with the linked PR so we won't lose track of it. We can fix the AppBar control template specific issue when bringing over its styles to WinUI then.


Registering a monitor target

⚠ Please verify that this feature request has NOT been suggested before.

[X] I checked and didn't find similar feature request

🏷 Feature Request Type
API
🔖 Feature description
It would be very convenient if monitor registration is possible through API.
✔ Solution
It would be nice if the API had required and optional parameters, and a method that could register the monitor target through http request was applied.
❓ Alternatives
I would like to be able to upload a csv file or register multiple monitor targets in a csv format on the web in bulk.
📝 Additional Context
No response

I achieve this via Ansible with:
https://github.com/lucasheld/ansible-uptime-kuma
Ultimately I am defining each monitor in yaml e.g.
uptime_kuma_http_monitors:
  - name: "website1.com"
    url: "https://website1.com"
    tag: "prod"
    state: "present"
  - name: "website2.co.uk"
    url: "https://website2.co.uk"
    tag: "prod"
    state: "present"
  - name: "website3.co.uk"
    url: "https://website3.co.uk"
    tag: "dev"
    state: "present"

thank you for the answer first
but it's not working.
please help me.
An error occurs when I enter the command below.
ansible-galaxy collection install git+https://github.com/lucasheld/ansible-uptime-kuma.git
ERROR! Invalid collection name 'git+https', name must be in the format .. Please make sure namespace and collection name contains characters from [a-zA-Z0-9_] only.

I had that issue too. That is related to the ansible version as far as I remember. Installing a collection from a git repo source was added in more recent version of ansible. I am using 2.14.3 if that helps.


delete edge resulted in NULL recode and graphdb structure corrupt.

OrientDB Version:
community v2.2.15 (build 2.2.x@rebf7b80c08613e871633edeb39c5c985e26b176c; 2017-01-19 07:39:00+0000)
Java Version:
openjdk version "1.8.0_112"
OpenJDK Runtime Environment (build 1.8.0_112-b16)
OpenJDK 64-Bit Server VM (build 25.112-b16, mixed mode)
OS: FreeBSD amd64.
Expected behavior
Delete edge  from two vertices  should delete edge correctly and graphdb structure should not corrupted.
Actual behavior
When sending command to delete edge from two vertices at the same time ( our application is multi thread and concurrency approach) graph database sometimes result with corrupted database and we should login to console and using command "repair database --fix-graph" to repair.
Steps to reproduce for example
begin
create edge from vertexA to vertexB. (assume we get edge E1)
create edge from vertexA to vertexC. (assume we get edge E2)
delete edge from vertexA to ( select statement that return vertexB and vertexC )
commit.
then send above command to thread-1 and thread-2 at the same time.
sometimes results from these step if we query vertexA we still get E1 or E2 show in record, but actually these edges are disappeared, and we get null if we try to load them or query them.
Below is Orientdb error log showing to us when we try to query from vertexA, which has broken link.
2017-02-09 15:32:01:538 SEVER Internal server error:
com.orientechnologies.orient.core.exception.OCommandExecutionException: expression item 'type' cannot be resolved because current record is NULL
DB name="FTO-Structure-2.0" [ONetworkProtocolHttpDb]
for more information
Our application use javascript command to send command to OrientDB.
Ex.
var graph = orient.getGraph();
...
...
...
var id = "#14:1658";
....
....
graph.command(new com.orientechnologies.orient.core.command.script.OCommandScript("sql","delete edge from " + id + " to (select from items where name in ['inbox',
'share'] and owner in " + userslist + " )")).execute();
......
graph.commit()

So, another question is if we use this graph command with "orient.getGraph()" this should create transactional operation to database for us on the fly or not?
If yes, why our application sending this script at the same time to OrientDB, the database should return failed or at least not corrupt? Please correct me if I missed understand some point and OrientDB usage.
If you have any questions or need more informations don't hesitate to contact me.
Thank you for great product.
Thanks,

After waiting for a long time. I notice that this issue maybe relate to #7118?

hi @hazzasym,
Yes we had an issue on delete with graph in 2.2.15 and we fixed in in 2.2.16.
Regards

Sure, I will close this issue and then check this problem again with latest release.
Best Regards,


Corrected GitHub Deployment Instructions

Thanks for adding this! Makes the setup a lot more clear.

Thanks! I couldn't figure out how to deploy my website on GitHub pages.


one card - multiple shutters

hello there is possible to manage multiple shutters by one shutter card ? could someone show me configuration ?

Check out the documentation here: https://www.home-assistant.io/integrations/cover.group/
In short you just need to add the shutters you want to control as "one" to a group. You will then get a new entity that controls all of them.
In configuration.yaml:
cover:
  - platform: group
    name: all shutters
    entities:
      - cover.qubino_zmnhod1_flush_shutter_dc_level
      - cover.qubino_zmnhod1_flush_shutter_dc_level_2

In lovelace-ui:
type: 'custom:shutter-card'
title: All shutters
entities:
  - entity: cover.all_shutters


Cannot resolve JMC dependencies

[ERROR] Failed to execute goal on project flamegraph-output: Could not resolve dependencies for project com.github.chrishantha.jfr:flamegraph-output:jar:0.0.3-SNAPSHOT: The following artifacts could not be resolved: com.jrockit.mc:com.jrockit.mc.common:jar:<IP_ADDRESS>852, com.jrockit.mc:com.jrockit.mc.flightrecorder:jar:<IP_ADDRESS>852: Could not find artifact com.jrockit.mc:com.jrockit.mc.common:jar:<IP_ADDRESS>852 in repo (file:///home/andriy/Projects/com/github/chrishantha/jfr-flame-graph/repo) -> [Help 1]

Did you run install-mc-jars.sh script as mentioned in the README?

where is this install-mc-jars.sh file in repo ?


Can you make the same for Escam pt200?

Can you make the same for Escam pt200?
This is the camera:
http://www.escam.cn/product/223-en.html
https://www.banggood.com/ESCAM-PT200-2MP-1080P-5G-Dome-WIFI-IP-Camera-Mobile-Tracking-Coud-Storage-Bidirectional-Voice-Night-Vision-Home-Security-CCTV-Monitor-p-1948164.html?cur_warehouse=CN&p=6B232338637912016021&utm_campaign=22331227_1874&utm_content=3547&ID=47757

Try to make a backup of the cam.
If it works, maybe I can try to support this cam.

Okay. I'll try it and upload if it works.

I tryed to upload the backup .sh files, but camera starts and after 50 sec it reboots and it repeats. So if the card is in, the camera will rebooting constantly.

The reboot happens if i copy the backup files to the sd. If its blank, the camera starts normal

Maybe a problem with this card?
Please try another sd or try to reformat it.

It is a brand new card. If its blank, the cam put some folders and files when it starts. (recordings folder, a .db file). I tryed to reformat. When i put the backup files to the card, camera bein to restarting.

So the card is probably working.

tryed with 2 more cards and no luck :(

Even if the cam restarts, is the backup created?

No, unfortunately. :(

Which OS are you using?
Which unzip program are you using?
Make sure that the sh file is a linux file and not a windows file.

I'm using windows and 7zip.

I tryed to delete the dd lines from config.sh. The change is faster restarts :)
With original config.sh:

Start cam
Wait 20-30 seconds
Restart
Repeat

With modifyed config.sh (deleted the dd lines):

Start cam
Wait 5 seconds
Restart
Repeat

Its not solwed. What needs to do to make forward with this?

I tryed to delete the dd lines from config.sh. The change is faster restarts :)
With original config.sh:
* Start cam

* Wait 20-30 seconds

* Restart

* Repeat

With modifyed config.sh (deleted the dd lines):
* Start cam

* Wait 5 seconds

* Restart

* Repeat

This means that dd commands are executed.
But the output file are not saved inside the sd card and I don't know why.
Probably the fw is different and the mount point is not /tmp/sd
I don't know how to fix this problem.


WIP: GKE resource quotas handling and tweak priority classes

Description
This is still very WIP but opening to get an early opinion.
A few changes proposed in this PR:

In GKE, resource quotas are set up in a way that pods with priority classes system-node-critical and system-cluster-critical are only schedulable if they are in the kube-system namespace. This PR adds resource quota for the calico-system namespace which should unblock this.
Re-introduce the calico-priority priority class so that fluentd will continue having the older behavior. I am not sure if this should be considered just adding priority class for fluentd is correct or should this be present for other Enterprise components.

For PR author

[ ] Tests for change.
[ ] If changing pkg/apis/, run make gen-files
[ ] If changing versions, run make gen-versions

For PR reviewers
A note for code reviewers - all pull requests must have the following:

[ ] Milestone set according to targeted release.
[ ] Appropriate labels:

kind/bug if this is a bugfix.
kind/enhancement if this is a a new feature.
enterprise if this PR applies to Calico Enterprise only.

Closing this and proposing #1523 instead.


rootDirs should merge outputs

Suggestion
🔍 Search Terms
rootDirs merge output
Related: https://github.com/microsoft/TypeScript/issues/9875
✅ Viability Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

⭐ Suggestion
rootDirs should merge outputs instead of emitting to the folders listed in rootDirs. This would be consistent with rootDir.
📃 Motivating Example
Starting point: single root
Let's say I start with a project with a src/ folder:
.
└── src
    ├── index.ts
    ├── lib
    │   └── lib.ts
    └── test
        └── test.ts

It has one rootDir and this config:
{
  "compilerOptions": {
    "outDir": "./",
    "rootDir": "./src",
  },
  "include": ["src/**/*.ts"],
  "exclude": []
}

When I compile, the output goes to ./ and mirrors the structure of ./src:
.
├── lib
│   └── lib.js
├── src
│   ├── index.ts
│   ├── lib
│   │   └── lib.ts
│   └── test
│       └── test.ts
└── test
    └── test.js

All well and good.
Friction point: add generated files
Now I want to add some generated .ts files to my project and keep them outside of src/ for easier source control.
I put a .graphql source file in my src/ tree, and set up the generator to output to gen/:
.
├── gen
│   └── lib
│       └── schema.ts
└── src
    ├── index.ts
    ├── lib
    │   ├── lib.ts
    │   └── schema.graphql
    └── test
        └── test.ts

Now I want the same output structure as before, but I want to compile the sources in gen/ and output them as if I had "rootDir": "./gen".
The first thing I try is to replace "rootDir": "./src" with "rootDirs": ["./src", "./gen"]:
{
  "compilerOptions": {
    "outDir": "./",
    "rootDirs": ["./src", "./gen"],
  },
  "include": ["src/**/*.ts", "gen/**/*.ts"],
  "exclude": []
}

but this unfortunately defaults rootDir to ./, putting src/ and /gen in the output paths and writing .js files as siblings to their .ts sources:
.
├── gen
│   └── lib
│       ├── schema.js
│       └── schema.ts
└── src
    ├── index.js
    ├── index.ts
    ├── lib
    │   ├── lib.js
    │   ├── lib.ts
    │   └── schema.graphql
    └── test
        ├── test.ts
        └── test.ts

This is very much not what I want or expect, and a big difference from the behavior of rootDir.
What I expect is that rootDirs acts like a multi-value rootDir, and for each input the root dir that it's in is stripped from the output path.
One additionally confusing aspect of rootDir vs rootDirs is that "rootDir": "./src" is not equivalent to "rootDirs": ["./src"]. The former will cause output files to be siblings to inputs.
It looks like to work around this we need to set "outDir": "./build", and then add an additional build step just to copy the files from ./build/src and ./build/gen into ./. This obviously can work but it's more of a complication than just a simple step: --watch will no longer work correctly unless you wire up the copy step to automatically run when ./build files change. For a project with simple build scripts, this is a pretty big leap in complexity.
Starting package.json:
  "scripts": {
    "build": "tsc --build"
  },

Desired addition of a generator:
  "scripts": {
    "build": "npm run build:graphql && npm run build:ts",
    "build:ts": "tsc --build",
    "build:graphql": "graphql-codegen"
  },

Actual addition of a generator, with broken --watch:
  "scripts": {
    "build": "npm run build:graphql && npm run build:ts && npm run build:copy",
    "build:ts": "tsc --build",
    "build:graphql": "graphql-codegen",
    "build:copy": "cp -r build/{src,gen}/*"
  },

Actual addition of a generator, with working --watch:
🤷♂ I have to go figure this out still. Also, I'm not sure if this will badly interact with a monorepo, composite projects, and --build. The cross-package import paths are going to be different from the compiler output.
Potential workaround
I tried setting "rootDir": "./(src|gen)", hoping to tell tsc to strip those paths from the output. No luck as that path isn't interpreted as a pattern. That could potentially be a non-breaking way to add merging.
💻 Use Cases
Compiling generated files into a common output tree.

Also, I'm not sure if this will badly interact with a monorepo, composite projects, and --build. The cross-package import paths are going to be different from the compiler output.

Well, so far it does look like adding the copy steps interferes with composite projects.
To test I made a change to a shared project that causes a break in a project that references it while I was running tsc --build --watch in the dependent project.
When I make the change to the source file, tsc recompiles, but with no errors. (Because the files actually imported by the dependent project are the copies and they haven't changed yet?) If I run the copy step the imported files do change, but the .tsbuildinfo file hasn't, so tsc doesn't see a change still.

Stating the obvious, probably: We can't just change this and break everyone's existing builds, so there'd have to be some new opt-in
Less obvious, perhaps: This is tricky. We'd start to have to deal with what to do with conflicting output names. It's also unclear how relative-path module specifiers should work in this world -- does importing "./foo" mean we'd scan every directory at the same relative point in the hierarchy, or would you only be able to import relative filenames from the input-side path despite there being a larger set of paths that would actually work at runtime?

Yeah, changing rootDirs would be a breaking change, I was assuming there'd need to be an opt-in.
I think there are good answers to the questions you raise:

Conflicting output names should be disallowed
Relative imports should resolve within the merged folder hierarchy

This is how other src/gen overlay systems I've used work. It makes imports behave as if the generated files were generated directly into the source folders, which has the essential benefit of abstracting away whether a file is checked-in or generated.


Tick connection on want_datagram_write

I've been experimenting with lsquic's DATAGRAM support recently and hit a snag. In an application that is sending only DATAGRAM frames (no streams), I found that calling lsquic_conn_want_datagram_write did not result in lsquic raising an on_dg_write callback to my application when I next tried to process the connection(s).
I found that if I had DATAGRAM frames ready to transmit immediately when the handshake completed, then the library worked and issued me those callbacks. However, if the handshake completed before any data was ready to be sent, then I could not send any DATAGRAM frames at all.
This pull request is how I managed to fix it for my application. Is this the correct way of doing this, or have I misunderstood something about the library interface?

Thanks for the pull request.
I think it will trigger sending DATAGRAM packets in a tight loop regardless the congestion control status of the connection.
Have you tested your patch with slower connections? can use netem to simulate, or do the test over wifi.
Make sure the sending process does not hog the CPU all the time. It should stop signaling application to send more if connection is congested, resume when it is no longer congested.

Thanks for the response. I'll add that check in and do some testing with netem while watching the CPU utilisation and update this pull request with my findings.

Hello again,
Apologies for the very delayed response, but testing this fix led me down a rabbit hole or two. I initially couldn't find any particular difference in CPU usage with or without your suggested fix, although I did end up using flamegraph and verifying a slight decrease in time spent in lsquic code when adding a call to lsquic_send_ctl_can_send before doing add_conn_to_tickable.
However, this is where I started digging much deeper, as I noticed that after a short period of time, regardless of whether lsquic_send_ctl_can_send was being added, datagrams just stopped being received at the receiver, even when the sender was still trying to payload them. I started doing some digging, and I eventually worked out that they were never being acknowledged by the receiver (which in this instance, is the server).
Section 5.2 of draft-ietf-quic-datagram-04 states that DATAGRAM frames are ACK-eliciting within the max_ack_delay window. lsquic doesn't seem to give me any control of the max_ack_window transport parameter, but I can verify from the debug output from the library that both endpoints negotiate a default 25ms value for this transport parameter. However, I do not see any acknowledgement packets being sent:

To test a theory, I added some extra code to send occasional small STREAM frames, under the assumption that these would then acknowledge the DATAGRAM frames that were being sent. This worked, and I'd get ACKs after exactly 25ms which my their very nature then acknowledged all the DATAGRAM frames sent thus far and then my sending of DATAGRAM frames is unblocked and can continue without issue:

Is this expected behaviour, and that it's my understanding of the DATAGRAM draft that is incorrect? Or have I perhaps not configured something correctly? Either way, doing it this way definitely feels like a bodge and not what I want to be doing going forward.
In case it helps, these are the values that I'm setting in the lsquic_engine_settings struct that is supplied to lsquic_engine_new:

es_datagrams = 1
es_init_max_data = LSQUIC_DF_INIT_MAX_DATA_SERVER | LSQUIC_DF_INIT_MAX_DATA_CLIENT
es_init_max_streams_bidi = 1
es_init_max_streams_uni = 1
es_init_max_stream_data_bidi_remote = LSQUIC_DF_INIT_MAX_STREAM_DATA_BIDI_REMOTE_SERVER |       LSQUIC_DF_INIT_MAX_STREAM_DATA_BIDI_REMOTE_CLIENT
es_init_max_stream_data_bidi_local = LSQUIC_DF_INIT_MAX_STREAM_DATA_BIDI_LOCAL_SERVER | LSQUIC_DF_INIT_MAX_STREAM_DATA_BIDI_LOCAL_CLIENT
es_max_streams_in = 0
es_delayed_acks = 0

I've tried playing with delayed acks turned on and off, and it doesn't seem to make any difference to the ACKs for DATAGRAMs.

The DATAGRAM ACK issue has been addressed in those pull requests:
https://github.com/litespeedtech/lsquic/pull/325
https://github.com/litespeedtech/lsquic/pull/327

Ah, I'd missed those. I'll pull those in and re-test.


crashes on downloading images

What steps will reproduce the problem?
1.search some tags on gelbooru
2.pressed get all
3.and then download all

What is the expected output? What do you see instead?
it crashes after about 900 (about 9000 to go).

What version of the product are you using? On what operating system?
V4.0.5 on Windows 8.1 Pro

Please provide any additional information below if necessary.
also i have found out that it fills up my ram memory to about 2 gigs (my system
has 8 gb)

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 1 Mar 2015 at 1:53

I just updated from 3.5 (no crashes whatsoever) to 4.1.
If you click download all, crashes. Download selected (like 10 images), crashes.
That basically makes the whole program unuseable. Back to 3.5 I go.

Which system?
Which source?
Which search?
Which download? (.lnk file?)

Here's a "log" of the crashes (I sent you 3 crash reports before btw, I dunno why it stopped asking me).
Still running Windows 7, could replicate the same thing on Windows 8 though.
https://drive.google.com/file/d/0B4qnAW9zCJYLUlR6MVlkRlZCaEE/view?usp=sharing
Here's the whole process multiple times. It's 32 Megabytes in size.

Version 4.1.3 should fix this issue.
While I reproduced the crash you show here using 4.1.2 it's gone on 4.1.3 (185 images properly downloaded). I also updated the translations, feel free to tell me if any is still missing.

Crash documented and posted in new issue.


Added "Go to Home Page" button in Get Started page

Description:
Closes #294

The navigation bar links issues in the "Get Started" page issue is solved by the inclusion of back to home button to facilitate users in returning to the main page issue is solved
Instead of nav bar links in the Get Started page, I've added the "Go to home" button from where we can access all those nav links.

Test:
The code is tested by me, and there is no issue in this code.
Screenshots/Video:
https://github.com/abhay-raj19/FitBody/assets/123291594/c96ede3d-f333-43ab-a39b-5f35c9c18486
I follow the Code of Conduct and Contributing Guidelines.

Kindly check this PR and add level labels

Raise up the new PR !