TLS issue when CNAME for www.synshop.org is in place

While trying to do the go live on Oct 1 2023, I put a CNAME In place such that dig www.synshop.org +short showed:
   synshop-org.pages.dev.
   <IP_ADDRESS>
   <IP_ADDRESS>

Then going to https://www.synshop.org in a browser I get Error code: SSL_ERROR_NO_CYPHER_OVERLAP.  This is what curl -v https://www.synshop.org shows:
curl -v https://www.synshop.org/
*   Trying <IP_ADDRESS>:443...
* Connected to www.synshop.org (<IP_ADDRESS>) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
* TLSv1.0 (OUT), TLS header, Certificate Status (22):
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.0 (IN), TLS header, Unknown (21):
* TLSv1.3 (IN), TLS alert, handshake failure (552):
* error:0A000410:SSL routines::sslv3 alert handshake failure
* Closing connection 0
curl: (35) error:0A000410:SSL routines::sslv3 alert handshake failure

As a stop gap measure we changed DNS of synshop.org and www.synshop.org to new-lagos (<IP_ADDRESS>) and then setup Caddy with:
``
synshop.org {
root * /srv/synshop.org
file_server
}
www.synshop.org {
#root * /srv/synshop.org
#file_server
redir https://synshop.org/{uri}
}

And then put a copy of all the static HTML in `/srv/synshop.org` which was generated locally on @munroebot's workstation and copied up into `/srv/synshop.org`

I believe this is expected behavior. Cloud flare takes care of tls/ssl at
their point of entry entirely and as long as you are entering them fresh
everything should be fine and in, but if you go to a Web server beforehand
that redirect there I believe it’s going to trigger the error because you
started off on a different server
On Sun, Oct 1, 2023 at 18:06 Ashley @.***> wrote:

While trying to do the go live on Oct 1 2023, I put a CNAME In place such
that dig www.synshop.org +short showed:
synshop-org.pages.dev.
<IP_ADDRESS>
<IP_ADDRESS>
Then going to https://www.synshop.org in a browser I get Error code:
SSL_ERROR_NO_CYPHER_OVERLAP. This is what curl -v https://www.synshop.org
shows:
curl -v https://www.synshop.org/

Trying <IP_ADDRESS>:443...
Connected to www.synshop.org (<IP_ADDRESS>) port 443 (#0)
ALPN, offering h2
ALPN, offering http/1.1
CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
TLSv1.0 (OUT), TLS header, Certificate Status (22):
TLSv1.3 (OUT), TLS handshake, Client hello (1):
TLSv1.0 (IN), TLS header, Unknown (21):
TLSv1.3 (IN), TLS alert, handshake failure (552):
error:0A000410:SSL routines::sslv3 alert handshake failure
Closing connection 0
curl: (35) error:0A000410:SSL routines::sslv3 alert handshake failure

As a stop gap measure we changed DNS of synshop.org and www.synshop.org
to new-lagos (<IP_ADDRESS>) and then setup Caddy with:
``
synshop.org {
root * /srv/synshop.org
file_server
}
www.synshop.org {
#root * /srv/synshop.org
#file_server
redir https://synshop.org/{uri}
}
And then put a copy of all the static HTML in /srv/synshop.org which was generated locally on @munroebot's workstation and copied up into /srv/synshop.org
—
Reply to this email directly, view it on GitHub
https://github.com/synshop/synshop.org/issues/36, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAALDF3GQ62C2BPDFPRXRGDX5IHPPANCNFSM6AAAAAA5OXCFSU
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

hrm - that doesn't sound right to me though: curl is stateless and has never been to any site before, so every site is fresh, right?
I was able to restart Caddy and and when it saw it had a new domain, it immediately got the new cert.  Maybe Cloudflare didn't have time to generate a new cert?  Is there a way we can hit the "check for synshop.org and www.synshop.org DNS entries and get certs right now" button if that's the case?

Ahh i figured the issue out, will follow up in discord. Long story short we didn't finish the config deploy on the CF side fully for the subdomain and it wasnt set to handle that yet.

While this ticket is closed, it captures the set up for the static config.  I make a minor improvement to get 404s working and updated the body of this ticket with the current Caddy config.
As well I fixed the contact 404 in #38 with a sym link to /about:
root@new-lagos:/srv/synshop.org# pwd
/srv/synshop.org

root@new-lagos:/srv/synshop.org# ln -s about contact

root@new-lagos:/srv/synshop.org# ls -ahl
total 88K
drwxr-xr-x  9 krux krux 4.0K Oct  2 11:31 .
drwxr-xr-x  3 root root 4.0K Oct  1 17:27 ..
-rw-r--r--  1 krux krux 4.9K Oct  1 17:24 404.html
drwxr-xr-x  2 krux krux 4.0K Oct  2 11:42 about
drwxr-xr-x  6 krux krux 4.0K Oct  1 17:24 assets
-rw-r--r--  1 krux krux  634 Oct  1 17:24 banner.js
lrwxrwxrwx  1 root root    5 Oct  2 11:31 contact -> about
-rw-r--r--  1 krux krux  514 Oct  1 17:24 Dockerfile
drwxr-xr-x  2 krux krux 4.0K Oct  1 17:24 donate
drwxr-xr-x 19 krux krux 4.0K Oct  1 20:24 equipment
drwxr-xr-x  2 krux krux 4.0K Oct  1 17:24 events
-rw-r--r--  1 krux krux 5.4K Oct  1 17:24 favicon.ico
-rw-r--r--  1 krux krux 1.2K Oct  1 17:24 feed.xml
drwxr-xr-x  2 krux krux 4.0K Oct  1 17:24 hours
-rw-r--r--  1 krux krux 9.2K Oct  1 17:24 index.html
drwxr-xr-x  2 krux krux 4.0K Oct  1 20:08 membership
-rw-r--r--  1 krux krux 1.1K Oct  1 17:24 minimal-mistakes-jekyll.gemspec
-rw-r--r--  1 krux krux   22 Oct  1 17:24 robots.txt
-rw-r--r--  1 krux krux 2.4K Oct  1 17:24 sitemap.xml


Hide the name of the active item in the menu bar

To make the bottom menu more compact, I'd like to make it smaller. More experienced users don't need to see the name of the active tab, and such an option could free up space some on some screens, such as the ruler. In some cases, this may be critical.

Good idea, I'll look into adding a compact mode under settings (default to off)

Hi @kylecorry31,
I would like to help with this improvement.
Before I start working on it I would like to understand the desired:
Is the goal simply to have a smaller bottom navbar but with the same amount of buttons? If so, will the setting be activated from the 'Theme' tab with a switch button?

Hi @kylecorry31, I would like to help with this improvement. Before I start working on it I would like to understand the desired: Is the goal simply to have a smaller bottom navbar but with the same amount of buttons? If so, will the setting be activated from the 'Theme' tab with a switch button?

Thank you, I will gladly accept a contribution for this issue. As @nvllz mentioned, the original goal of this was to have a way to hide the text labels, which in theory will make the navbar smaller because it no longer needs to allocate room for the text. Optionally, it could also be a reduction of the padding of the bottom bar so it more closely matches the height of the icons without text (if that doesn't automatically happen when the text label is removed).
A switch button in the theme section of the settings would be good (default to off / not compact), and yes the same amount of buttons (with the expectation that there will be up to 5 buttons present in the future).

@kylecorry31, @nvllz thank you for the explanation!
What do you think of the result?
https://github.com/kylecorry31/Trail-Sense/assets/34175360/c7153842-307b-4a5e-a67e-2a132a07f3ad
@kylecorry31 Some code clarifications:

To readjust the bottom bar size (optional part you mentioned) I had to exploit a workaround because by default the BottomNavigationView element does not readjust the height of the component if you remove the labels associated with the icon items. The workaround is simply to set the height via layoutparams programmatically to a fixed size (obviously based on the pixel density of the specific device) when the compact mode is set.
What do you think about this approach?

I have now used the "palette" icon, which is also used for dynamic colours. Which icon should I use for the functionality in settings?

Apart from these points if you like the result I can start opening the specific PR.

Thanks, that looks really good. I agree it can probably be a bit smaller if possible - if not, I'll accept that as is.
As for the icon, I think this will work: https://pictogrammers.com/library/mdi/icon/page-layout-footer/
(I already have the license in Licenses to this icon pack, so you can just download the android drawable file)

I also wouldn't worry too much about the scroll position - I have more work around that (it does the same thing when changing theme and backup/restore). Unless you have the time to resolve that as well (which would be awesome)

Thanks for the feedback, I have added the indicated icon and reduced the bottom bar, I attach video:
https://github.com/kylecorry31/Trail-Sense/assets/34175360/89139803-3d89-47a3-b343-63294d3d03f3
@kylecorry31 I opened the PR: https://github.com/kylecorry31/Trail-Sense/pull/2212
Regarding the improvement of the screen position storage, I have seen the following issue open: https://github.com/kylecorry31/Trail-Sense/issues/1750
I can try to take care of this in the next few days as well, but since they are two unrelated improvements I propose to treat it as a different PR.

Thanks for the feedback, I have added the indicated icon and reduced the bottom bar, I attach video:
Screen.Recording.2024-02-10.at.17.36.17.mp4
@kylecorry31 I opened the PR: #2212
Regarding the improvement of the screen position storage, I have seen the following issue open: #1750 I can try to take care of this in the next few days as well, but since they are two unrelated improvements I propose to treat it as a different PR.

Thanks, that sounds good - and I'm fine with those being two PRs. I left a comment on your PR about potentially not needing to recreate the activity, which I believe would resolve the losing of scroll position there.

I confirm that removing the recreation of the activity also solved the scroll position problem for this case. I have updated the PR.

Your PR has been merged and this will be included in the February release, thank you!


Fix Polars 0.13.58 build and newer.

Fix Polars 0.13.58 build and newer:

Update rust from 1.61.0 to 1.63.0.
Update maturin to =0.13,<0.14 which does not
build source distributions by default anymore.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Somehow it doesn't take rust nightly.
   Compiling arrow2 v0.12.0 (https://github.com/jorgecarleitao/arrow2?rev=c720eb26d426f7c3e1d1ea9e5650efcb83019732#c720eb26)
error[E0554]: `#![feature]` may not be used on the stable release channel
  --> $BUILD_PREFIX/.cargo/git/checkouts/arrow2-8a2ad61d97265680/c720eb2/src/lib.rs:12:39
   |
12 | #![cfg_attr(feature = "simd", feature(portable_simd))]
   |                                       ^^^^^^^^^^^^^

error: aborting due to previous error

@Maxyme Do you know how we can set the nightly compiler?

With the first commit, it was building ok (or at least 50 minutes) except for MacOS (due to an outdated image), before I pushed the second patch which installs rust_linux-64 (1.61.0 available) instead of rust[subdir=linux-64] (1.63.0 available). Not sure why there are so many different rust packages and why they are not linked.

Thanks a lot @ghuls. That fixes all builds, save from macos arm. I will merge this as that is a lot better than the current state.

Did you bump the build number as specified in the PR instructions?

Did you bump the build number as specified in the PR instructions? When you open a PR there are a sequence of instructions that you should take care to follow.

Nope, I shall follow up with a PR on that.

No need, as there are later versions that should work now it will only be a temporary problem until a new version is merged


 This will have to be queried using Github api

outdated PR so closing.


[release] prepare for 1.8.6-SNAPSHOT

1.8.5 -> 1.8.6-SNAPSHOT

Codecov Report

Merging #6002 into 1.8.x will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##            1.8.x    #6002      +/-   ##
==========================================
- Coverage   40.66%   40.63%   -0.03%
==========================================
  Files        2673     2673
  Lines       80441    80441
  Branches    10901    10901
==========================================
- Hits        32709    32691      -18
- Misses      44768    44782      +14
- Partials     2964     2968       +4

Impacted Files
Coverage Δ

...vercorp/pinpoint/rpc/packet/ServerClosePacket.java
52% <0%> (-16%)
:arrow_down:

...vercorp/pinpoint/rpc/packet/ClientClosePacket.java
55.55% <0%> (-11.12%)
:arrow_down:

...rp/pinpoint/rpc/server/PinpointServerAcceptor.java
84.93% <0%> (-4.8%)
:arrow_down:

...ofiler/sender/StandbySpanStreamDataSendWorker.java
80.59% <0%> (-2.99%)
:arrow_down:

...navercorp/pinpoint/rpc/common/SocketStateCode.java
82.92% <0%> (-2.44%)
:arrow_down:

...corp/pinpoint/rpc/stream/StreamChannelManager.java
70.68% <0%> (-1.73%)
:arrow_down:

...java/com/navercorp/pinpoint/rpc/DefaultFuture.java
72.5% <0%> (-1.67%)
:arrow_down:

...orp/pinpoint/rpc/server/DefaultPinpointServer.java
79.51% <0%> (-1.05%)
:arrow_down:

...point/rpc/client/DefaultPinpointClientHandler.java
72.15% <0%> (+0.31%)
:arrow_up:

...om/navercorp/pinpoint/rpc/codec/PacketDecoder.java
63.82% <0%> (+2.12%)
:arrow_up:

... and 2 more

Continue to review full report at Codecov.

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


Support CSV Input

I'd really like to see the option of CSV input rather than an sqlite file. This would allow hardware trackers such as using an ESP32 with a GPS to more easily output MAC address, RSSI and Lat/Lon data

Great idea!


Update datediff-transact-sql.md

the value of y passed in to datediff is for year and not dayofyear
i.e. correction to doco

@allanford17 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#label:"aq-pr-triaged"


$warhead_detonated does not display correctly

As you can see in this screenshot, I'm using $warhead_detonated in my server name and it does display when the warhead goes off, but the symbols draw as ? instead of ☢. I have other Unicode drawing in my server name, so it doesn't seem to be a Unicode issue.

The text was input wrong in the code, I'll re-upload the latest release with that fixed

Done, re-download the release from https://github.com/Grover-c13/MultiAdmin/releases/tag/SM1.7.5 and it should be fixed

Thanks!


Feat: Back to Top Arrow Button

Describe the feature

I would like to create a back to top arrow button on the website.
This will help in reach out to the head of the website in one click.
With moving arrow animations.
Adding hovering effect with matched color as of the website
To create a best ui

Add ScreenShots
Please assign Back to Top arrow Button to create for the website
Record

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

@MonalikaPatnaik please assign this task to me

@MonalikaPatnaik @Mansi168 please assign this issue to me


[Improve][Core] Unified the parallelism config key

Purpose of this pull request

Unified the parallelism config key
Does this PR introduce any user-facing change?

No
How was this patch tested?

Existed test cases
Check list

[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update change log that in connector document. For more details you can refer to connector-v2
Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist

[ ] Update the release-note.

reference
https://github.com/apache/seatunnel/pull/6003


ERR_CONNECTION_REFUSED

Hello 👋,
I know that's a duplicate issue, but I've searched for everything concerning : hotel.localhost, hotel.dev, ERR_CONNECTION_REFUSED, and couldn't find any solution.
✅ http://localhost:2000 works fine, but ❌ http://hotel.localhost doesn't.
I've tried to use another browser, Firefox ("Unable to connect"), use https over http, set my proxy settings to 'Automatic' and with http://localhost:2000/proxy.pac as configuration url, but nothing seems to works.
Here's the content of ~/.hotel/daemon.log:
20:00:41 - Watching /home/ludal/.hotel/servers
20:00:41 - /home/ludal/.hotel/servers/aikido-roncq.json added
20:00:41 - Add server aikido-roncq
create /home/ludal/.hotel/daemon.pid 55298
20:00:41 - Reading self-signed certificate in ~/.hotel
Exiting
Stop daemon
Remove pid file
events.js:292
      throw er; // Unhandled 'error' event
      ^

Error: listen EADDRINUSE: address already in use :::2001
    at Server.setupListenHandle [as _listen2] (net.js:1313:16)
    at listenInCluster (net.js:1361:12)
    at Server.listen (net.js:1447:7)
    at ProxyServer.listen (/home/ludal/.nvm/versions/node/v12.18.0/lib/node_modules/hotel/node_modules/http-proxy/lib/http-proxy/index.js:136:16)
    at Object.<anonymous> (/home/ludal/.nvm/versions/node/v12.18.0/lib/node_modules/hotel/lib/daemon/index.js:46:7)
    at Module._compile (internal/modules/cjs/loader.js:1138:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
    at Module.load (internal/modules/cjs/loader.js:986:32)
    at Function.Module._load (internal/modules/cjs/loader.js:879:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
Emitted 'error' event on Server instance at:
    at emitErrorNT (net.js:1340:8)
    at processTicksAndRejections (internal/process/task_queues.js:84:21) {
  code: 'EADDRINUSE',
  errno: 'EADDRINUSE',
  syscall: 'listen',
  address: '::',
  port: 2001
}

The content seems to be the same as #300, and #323 .

If anyone has an idea, please don't hesitate.
Thanks in advance. 😊
Specificiations
Ubuntu 20.04.1 LTS
Google Chrome 86.0.4240.111
Mozilla Firefox 82.0
Hotel 0.8.7

EDIT
After running sudo lsof -i:2001, I found that the port 2001 (which caused an error, logged in daemon.log) was used by a node process (which I thought was deriving from hotel).
I killed the process using sudo kill, and tried to restart hotel (hotel stop && hotel start), and now here's how my daemon.log look like:
20:42:29 - Watching /home/ludal/.hotel/servers
20:42:29 - /home/ludal/.hotel/servers/aikido-roncq.json added
20:42:29 - Add server aikido-roncq
create /home/ludal/.hotel/daemon.pid 58932
20:42:29 - Reading self-signed certificate in ~/.hotel
20:42:29 - Server listening on port <IP_ADDRESS>:2000
20:42:29 - /home/ludal/.hotel/servers/aikido-roncq.json added
20:42:29 - Add server aikido-roncq
20:43:13 - Resolve aikido-roncq
20:43:13 - aikido-roncq has started

However, I'm still unable to reach http://hotel.localhost (on both Chrome and Firefox)

Edit 2
Setting :
{
  "tld": "local"
}

in .hotel/conf.json seemed to fix my problem. I can now access to hotel.local (but still not hotel.localhost).

Edit 2
Setting :
{
  "tld": "local"
}

in .hotel/conf.json seemed to fix my problem. I can now access to hotel.local (but still not hotel.localhost).

@iamludal coming back a couple years later to say that this also fixed the issue for me! Thanks!

@everettblakley Wow, I didn’t even remember I’d created this issue. Glad to see that I helped you anyway!


OSM organized editing

@kr4lt points out in https://github.com/EqualStreetNames/equalstreetnames-munich/issues/1 :

Your effort may possibly be considered organised editing (https://wiki.osmfoundation.org/wiki/Organised_Editing_Guidelines)

So should this project be added to https://wiki.openstreetmap.org/wiki/Organised_Editing/Activities ?

Good point, thanks @kr4lt !
EqualStreetNames project has been added to https://wiki.openstreetmap.org/wiki/Organised_Editing/Activities


Add import statement

Add import statement for WithDynamicModelSerializerMixin
The example for DREST-ifying Existing Serializer does not have an import statment.
New developers with the package would have to lookup the module for WithDynamicModelSerializerMixin.

:+1: nice catch!


States in Conflict Review listing of AD Dashboard are not in the right order

Describe the issue
In the "Conflict Review State Counts" table of the AD Dashboard (https://datatracker.ietf.org/doc/ad), the counts of conflict per state are listed.  The columns, each representing a state, should be in the progression by which the states are used.  A conflict starts with "Needs Shepherd" --> "AD Review" --> "IESG Evaluation", etc.  To that end, "Needs Shepherd" should come before "AD Review" (i.e., swap the order of these two columns).
Code of Conduct

[X] I agree to follow the IETF's Code of Conduct

code should be leveraging this:
>>> State.objects.filter(type="conflrev").order_by("order").values_list("slug","order")
<QuerySet [('needshep', 1), ('adrev', 2), ('iesgeval', 3), ('defer', 4), ('appr-reqnopub-pr', 5), ('appr-noprob-pr', 6), ('appr-reqnopub-pend', 7), ('appr-noprob-pend', 8), ('appr-reqnopub-sent', 9), ('appr-noprob-sent', 10), ('withdraw', 11), ('dead', 12)]>


Coreelec Plug-in for coreelec 21

Feature request

What problem does this feature solve?
The addon for corelec 20 doesnt work with 21
What does the proposed API look like?
How should this be implemented in your opinion?
Are you willing to work on this yourself?
no

Hi
You can take this commit https://github.com/awawa-dev/CoreELEC/commit/bf72df901e3dd48cc01cbe04ce78c7e7081c3405 (optionally: update HyperHDR version similar way like https://github.com/awawa-dev/CoreELEC/commit/398dc9b79a4ba402a0aecdc304fd95777341908e) apply it to the coreelec 21 and try to build it yourself. Since the package is working for current version corelec version 20, I dont plan further work until version 21 is released.


GKE WLI send wrong ID for JWT signing

Preflight Checklist

[X] I have searched the issue tracker for an issue that matches the one I want to file, without success.
[X] I am not looking for support or already pursued the available support channels without success.
[X] I agree to follow the Code of Conduct.

Vault Secrets Webhook Version
1.21.0
Installation Type
Official Helm chart
Bank-Vaults Version
No response
Kubernetes Version
1.29.6
Kubernetes Distribution/Provisioner
GKE
Expected Behavior
The authentication is to happen via sending the GKE WLI KSA's GSA to sign a JWT request
Actual Behavior
it is sending the WLF pool for the GKE
Steps To Reproduce

install webhook via the helm chart
configure it to use Vault and gcp-iam auth method

env:
  VAULT_SKIP_VERIFY: "true"
  VAULT_ADDR: "https://X:8200"
  VAULT_ROLE: "read_all_secrets"
  VAULT_AUTH_METHOD: gcp-iam
  VAULT_PATH: gcp

deploy an app that requires a secret

Configuration
No response
Logs
time=X level=ERROR msg="failed to request new Vault token" app=vault-env err="unable to sign JWT for authenticating to GCP: unable to sign JWT: rpc error: code = InvalidArgument desc = Invalid form of account ID PROJECT_ID.svc.id.goog. Should be [Gaia ID |Email |Unique ID |] of the account"

Additional Information
I was able to sign in externally using a SA key directly, so. vault and the GCP auth method works
(note: the SA KEY is the same GSA used for WLI in GKE's KSA)
a note, inside the pod I tried login with debug mode via vault CLI, I got this error, which is weird
/tmp # vault login -method=gcp role="read_all_secrets" jwt_exp="15m"
Error authenticating: Error making API request.

URL: PUT https://X:8200/v1/auth/gcp/login
Code: 400. Errors:

* role requires that service account JWTs expire within 900 seconds

@ramizpolic any idea?

issue still exists


Cant update topic policies more than once

Describe the bug
Cannot update topic policies more than once
It seems that broker failed to write to the __change_events internal topic. (From error logs)
To Reproduce
Steps to reproduce the behavior:

Create a pulsar multi cluster with topic policies enabled
Create tenant, namespace, topic
Update topic publish rate
Update it again
Wait for internal server error 500 to the admin client
Look at broker error logs for "Failed to create producer" to __change_events topic

Expected behavior
I should be able to update topic policies more than once
Screenshots
Broker Error logs:

Desktop (please complete the following information):

OS: redhat 7.8

Additional context
My cluster is using JWT authentication and the broker is configured to use it with brokerClientAuthenticationParameters in order to be able to publish and read from __change_events topic

I'm working with Daniel on this and we realized this happens because preciseTopicPublishRateLimiterEnable=true sets everything to 0 but only takes effect after the first message, which is why we were able to write one message (change the policy once).


client: component - cart item

CART ITEM
NOTES:

displays items bought, picture, price, quantity
allows to remove from cart and update cart quantity(via trash can or number in modal - see Stripe activity)
will map into Cart for each item added.


libc/semaphore:sem_init change defult protocol

Semaphores are generally used in two ways, one is to count resources or notify event, the other is to use as a mutual exclusion lock
In Nuttx, the default behavior of semaphores is mutual exclusion lock. I think it is better to change the default behavior to count resources or notify event, and it will be more general in Linux programs.
Why would I do this:
In porting some programs which confirm POSIX standard, the semaphore is used to notify event, but its default behavior is a mutual exclusion lock(nuttx): One thread post the semaphore to indicate something happen, another thread gets the semaphore and exits. when the first thread post the semaphore again which will cause a crash when CONFIG_PRIORITY_INHERITANCE is enable, because htcb field in semholder_s point to a freed memory.
so, it's better to change the default sem behavior to no priority inheritance.

This is a massive breaking change. Please do not merge this until there is time after the holidays to get proper feed back from the reviews listed.

Yes, this is a partial change to show the issue and potential modification. If the community agree the fix after review, all [nx]sem_init need review and modify.

This will also break many things for downstream projects using NuttX.
We need to make sure the wider community notices this proposed change so it can be reviewed properly. I will post on the mailing list, but there are other venues, so to everyone frequenting them, please help draw attention to this there, too.
To be clear, I am in favor of standards-compliance, provided this is in line with NuttX's Inviolables:

If it is standard POSIX behavior to do as this change proposes, then we should do so, but only after making sure it is reviewed properly.
If this is Linux behavior and is in contradiction to POSIX, then we should not do it.

Also, if this change is implemented, we need to increment the major version number. It will have to be NuttX 11.x.

This will also break many things for downstream projects using NuttX.

Only when the project enable CONFIG_PRIORITY_INHERITANCE, otherwise no difference before and after apply this patch.

We need to make sure the wider community notices this proposed change so it can be reviewed properly. I will post on the mailing list, but there are other venues, so to everyone frequenting them, please help draw attention to this there, too.

Sure.

To be clear, I am in favor of standards-compliance, provided this is in line with NuttX's Inviolables:

If it is standard POSIX behavior to do as this change proposes, then we should do so, but only after making sure it is reviewed properly.

As far as I know, POSIX never mention the priority inheritance in spec, so it's the special behavior implemented by NuttX to improve the real time capability. But, sem_init without sem_set_protocol(SEM_NONE) activate the priority inheritance by default which make the follow common POSIX complaint program crash after the second post:
sem_t g_sem;

void *thread1_cb(void *arg)
{
  sem_wait(&g_sem);
  return NULL;
}

void *thread2_cb(void *arg)
{
  sleep(2);
  set_wait(&g_sem);
  return NULL;
}

void *thread3_cb(void *arg)
{
  sleep(1);
  sem_post(&g_sem);
  sleep(2);
  sem_post(&g_sem);
  return NULL;
}

int main(int argc, char *argv[])
{
  sem_init(&g_sem);

  thread1 = pthread_create(thread1_cb...);
  thread2 = pthread_create(thread2_cb...);
  thread3 = pthread_create(thread3_cb...);

  pthread_join(&thread1);
  pthread_join(&thread2);
  pthread_join(&thread3);

  sem_destroy(&g_sem);
}

So, it's very dangerous to enable priority inheritance without explicit indicator(e.g. a function call or an initial flag).

If this is Linux behavior and is in contradiction to POSIX, then we should not do it.

Of course.

Also, if this change is implemented, we need to increment the major version number. It will have to be NuttX 11.x.

Sure.

Drivers that use the semaphores for signaling  should not be involved with priority inheritance (when enabled). That use case was assumed to be the non default.
It seams to me this change can be done with adding an Kconfig option for the default and leave it as it was. But allow the default to be changed if someone is using Linux code semantics.

Drivers that use the semaphores for signaling should not be involved with priority inheritance (when enabled). That use case was assumed to be the non default.
It seams to me this change can be done with adding an Kconfig option for the default and leave it as it was.

Kconfig is good to disable/enable the optional feature, but it isn't a good solution here. Do you want sem_t change it's behavior by an option? And all place which call sem_init/nxsem_init need check the option and call nxsem_set_protocol with the different value.

But allow the default to be changed if someone is using Linux code semantics.

First, it isn't Linux semantics. Second, my demo show that isn't a minor issue because the program will crash the system.

Seems that disabling priority inheritance by default seems to be the right way of doing things. My arguments are that by default priority inheritance is used to struggle with resource guarding issue (mutual exclusion use case) and does not have much sense in case of event signaling use case. The POSIX semaphores however have have more wide range then mutual exclusion use case and it is more a coincidence that phtread_mutexs are implemented on top of POSIX semaphores in NuttX (I just want to emphasize that phtread_mutexs could have their own implementation as an alternative and are not tight together with semaphores in general). pthread_mutexs are will still have priority inheritance enabled by default and that is fine because I truly believe that when NuttX user enables priority inheritance that is the exactly use case that needs to be handled by this feature.
Summarizing above: my vote is to change the default protocol for POSIX semaphores and proceed with this change.

This will also break many things for downstream projects using NuttX.

Only when the project enable CONFIG_PRIORITY_INHERITANCE, otherwise no difference before and after apply this patch.

We need to make sure the wider community notices this proposed change so it can be reviewed properly. I will post on the mailing list, but there are other venues, so to everyone frequenting them, please help draw attention to this there, too.

Sure.

To be clear, I am in favor of standards-compliance, provided this is in line with NuttX's Inviolables:

If it is standard POSIX behavior to do as this change proposes, then we should do so, but only after making sure it is reviewed properly.

As far as I know, POSIX never mention the priority inheritance in spec, so it's the special behavior implemented by NuttX to improve the real time capability. But, sem_init without nxsem_set_protocol(SEM_PRIO_NONE) activate the priority inheritance by default which make the follow simple POSIX compliant program crash after the second sem_post:
#include <pthread.h>
#include <semaphore.h>
#include <unistd.h>

static sem_t g_sem;

static void *thread1_cb(void *arg)
{
  sem_wait(&g_sem);
  return NULL;
}

static void *thread2_cb(void *arg)
{
  sleep(2);
  sem_wait(&g_sem);
  return NULL;
}

static void *thread3_cb(void *arg)
{
  sleep(1);
  sem_post(&g_sem);
  sleep(2);
  sem_post(&g_sem);
  return NULL;
}

int main(int argc, char *argv[])
{
  sem_init(&g_sem);

  thread1 = pthread_create(thread1_cb...);
  thread2 = pthread_create(thread2_cb...);
  thread3 = pthread_create(thread3_cb...);

  pthread_join(&thread1);
  pthread_join(&thread2);
  pthread_join(&thread3);

  sem_destroy(&g_sem);
  return 0;
}

After successfully sem_wait, the task becomes the semphore's holder. Then the task exit, but not be removed from the semphore's holder list, so it will crash if visit this holder in the future.
I will do a commit to fix this problem.

So, it's very dangerous to enable priority inheritance without explicit indicator(e.g. a function call or an initial flag).

If this is Linux behavior and is in contradiction to POSIX, then we should not do it.

Of course.

Also, if this change is implemented, we need to increment the major version number. It will have to be NuttX 11.x.

Sure.

As mentioned elsewhere, there are likely other parts of our tree that need review/changes.
Regarding whether we should do this or not, I cannot offer an opinion until I re-read POSIX details regarding semaphores to see if this is correct per our Inviolable Principles.

Ok, let's wait your research.

@zhaoxiu-zeng how do you plan to fix this? I was looking into the code as well and was looking for a solution, but didn't found a lightweight solution. The code only idea that I had was to create a global list of semaphores that have at least one holder and iterate that list on task exit in order to find a semaphore that contain task in the holder list or create a list of semaphores in task control block and add semaphore to that list when task is added as a semaphore holder. But both seems to me quite "heavy" in terms of both memory and performance.

@anjiahao1 has a simple fix which change tcb_s to pid, so we can detect the abnormal case and remove the orphan node easily,

@xiaoxiang781216 changing tcb_s to pid adds at least some reliability, but still seems to be not bulletproof. In such case I would suggest to store both tcb_s and pid, so we can use next mechanism to improve validity check: if (pholder->htcb == nxsched_get_tcb(pholder->pid)).

Here is a case: https://github.com/apache/incubator-nuttx-apps/pull/960

Another real case: https://github.com/apache/incubator-nuttx/pull/5170, both case will generate hard fault.

I have pushed the modificaiton, let's discuss in the PR.
https://github.com/apache/incubator-nuttx/pull/5171

@pkarashchenko I have push the modification, let's discuss in the PR.
https://github.com/apache/incubator-nuttx/pull/5171

Another real case: #5170, both case will generate hard fault.

I run ostest with https://github.com/apache/incubator-nuttx/pull/5171, no such assertions were found.
I think priority inheritance should only be valid for mutex, so there is only one holder per semphore at most.
The current implementation still cannot avoid priority flipping completely.
For example, there are 3 tasks t2 > t1 > t0, t0 held sem1, t1 held sem2 and wait sem1, then t2 wait sem2. In this case, only t1's priority is raised.
If multiple holders are supported, this problem is very difficult to solve, which is the O(n^2) level.
If only one holder is supported, many things can be simplified.

Another real case: #5170, both case will generate hard fault.

I run ostest with https://github.com/apache/incubator-nuttx/pull/5171, no such assertions were found.
I think priority inheritance should only be valid for mutex, so there is only one holder per semphore at most.
The current implementation still cannot avoid priority flipping completely.
For example, there are 3 tasks t2 > t1 > t0, t0 held sem1, t1 held sem2 and wait sem1, then t2 wait sem2. In this case, only t1's priority is raised.
If multiple holders are supported, this problem is very difficult to solve, which is the O(n^2) level.
If only one holder is supported, many things can be simplified.

The semaphores are the building blocks for the pthread mutexes and here is some description for pthread mutexes:

When a thread makes a call to pthread_mutex_lock(), the mutex was initialized with the protocol attribute having the value PTHREAD_PRIO_INHERIT, when the calling thread is blocked because the mutex is owned by another thread, that owner thread shall inherit the priority level of the calling thread as long as it continues to own the mutex. The implementation shall update its execution priority to the maximum of its assigned priority and all its inherited priorities. Furthermore, if this owner thread itself becomes blocked on another mutex with the protocol attribute having the value PTHREAD_PRIO_INHERIT, the same priority inheritance effect shall be propagated to this other owner thread, in a recursive manner.

Another real case: #5170, both case will generate hard fault.

I run ostest with #5171, no such assertions were found.
I think priority inheritance should only be valid for mutex, so there is only one holder per semphore at most.
The current implementation still cannot avoid priority flipping completely.
For example, there are 3 tasks t2 > t1 > t0, t0 held sem1, t1 held sem2 and wait sem1, then t2 wait sem2. In this case, only t1's priority is raised.
If multiple holders are supported, this problem is very difficult to solve, which is the O(n^2) level.
If only one holder is supported, many things can be simplified.

The semaphores are the building blocks for the pthread mutexes and here is some description for pthread mutexes:

I mean when the semphore is used as mutex. If not, priority inheritance is not necessary.

When a thread makes a call to pthread_mutex_lock(), the mutex was initialized with the protocol attribute having the value PTHREAD_PRIO_INHERIT, when the calling thread is blocked because the mutex is owned by another thread, that owner thread shall inherit the priority level of the calling thread as long as it continues to own the mutex. The implementation shall update its execution priority to the maximum of its assigned priority and all its inherited priorities. Furthermore, if this owner thread itself becomes blocked on another mutex with the protocol attribute having the value PTHREAD_PRIO_INHERIT, the same priority inheritance effect shall be propagated to this other owner thread, in a recursive manner.

I started similar pthread mutex related activity in https://github.com/apache/incubator-nuttx/pull/5180

Related to https://github.com/apache/incubator-nuttx/issues/6084

@anjiahao1 let rebase this patch and fix the conflict.

@pkarashchenko @hartmannathan @masayuki2009 this is the last step to correct the default value of priority inheritance, please review this patch and https://github.com/apache/incubator-nuttx/pull/7344.

How is this PR related to PR #7344 ? Should they be combined to a single PR?

How is this PR related to PR #7344 ? Should they be combined to a single PR?

ok,i will use single PR and add documentation later

this is the last patchset to fix the default value of priority inheritance, please review them, @hartmannathan @davids5 @masayuki2009 @pkarashchenko

Before, mutual exclusion semaphores had priority inheritance enabled by default; now it is opt-in.
So I wonder if the opposite of commit 48d8383 ("sem:remove sem default protocl") should be done also: Locate all mutual exclusion semaphores and call (nx)sem_set_protocol(..., SEM_PRIO_INHERIT)?

it's done by converting all mutual exclusion semaphores to mutex lock in this PR https://github.com/apache/incubator-nuttx/pull/6320

#6965  this path repaced all sem use as lock with mutex

#6965  this patch repaced all sem use as lock with mutex

Great! This is a much cleaner design. Thank you!

@xiaoxiang781216
I think we need to merge https://github.com/apache/incubator-nuttx-apps/pull/1358 as well.

I have documented the mitigation entry for the next release's Release Notes here: https://cwiki.apache.org/confluence/display/NUTTX/NuttX+11.1.0#NuttX11.1.0-DefaultSemaphoreProtocolChanged
Please check and let me know if there are any mistakes!

The description looks good, @hartmannathan thanks.


bun install errors

Remove @rrd/ from the example

I reopened the issue, as I am not sure we really have to this.
According to jsr it needs the prefix.
But Zampa on discord said he was not able to install the package with bun and the prefix. I was not at my computer so I was not able to test it.
Can you try to install it with bun using the prefix?

on it

For NPM it doesnt work with the prefix but it does without it:

For JSR with or without doesnt work:

Ok. So something is missing from JSR.
Should I take this or you want to explore?

Oh you can take it! I just wanted to send a few commits to start the day correctly 🙌
In my commit I only remove the prefix from the NPM section


No Transcription Recording only with VAD

Hello Everyone 🤗.
I have been working on an app where i need to implement VAD (Voice Activity Detection) wheen user starts speaking 🗣 i want to record the audio and send it to the server. I found this package which is able to transcribe when user starts speaking but instead of transcript what i want is the audio only. I have also read about the recording property in the package but it supports only Android 13+. Is there any way to only get the audio with VAD on lower android versions too?

Hey @shahzaib78631, unfortunately the Android 12 and lower SpeechRecognition APIs don't allow us to use a custom microphone source for the recognition. I may be able to use a workaround to at least get the underlying recognized buffers, however even if I do implement this, Android 12 and lower don't support continuous speech recognition which is probably a requirement here if you're building a communications app.
This library is probably not the best fit for VAD either if you're not interested in the voice transcripts (due to the tight integration with the underlying APIs). I'd rather consider looking in to the following libraries:

react-native-voice-processor
expo-audio
react-native-audio

Each of these libraries give you a way to access real time frame chunks which you can use to check if there's voice activity. Perhaps implementing a gain filter could be appropriate for your use cases. Otherwise you may want to use a model to process those frames.

Hey @jamsch,
Thank you for the detailed explanation and quick response. For now if possible and not a time consuming task could you provide the workaround to get the underlying recognized buffers ?.
I appreciate your recommendations for alternative libraries and I'll definitely look into them.
Thank You.

Hey @shahzaib78631, I'm not exactly sure if it's going to even be worth implementing the audio capture workaround for Android 12 and lower due to it not supporting continuous recognition, i.e. you'll have to manually start speech recognition again each time it stops (which will need to happen at least 10 times per minute).
I think for cases like VAD you shouldn't need such a resource intensive process as speech recognition and instead you'd want to opt for something that can process the audio frame (using one of the libraries I mentioned above) and then either applying a gain filter to it (which is generally straightforward), or sending it to an API, or using on-device model like Cobra: https://github.com/Picovoice/cobra

Thank You bro


1.0.0: Show directives inside of FieldDoc.

Directives are not exposed in the introspection schema (discussion here: https://github.com/graphql/graphql-spec/issues/300). Nevertheless, if GraphiQL is supplied with an SDL schema, it can access AST directives for fields. It would be useful to show field directives in Doc Explorer for that case.

@folone they are exposed in introspection schema in graphql 15! this is fantastic thank you


Feature: when holding shift, jump and select text

I would like to be able to:

Press ctrl + q q
When the letters show up, hold shift and type it
Jump the cursor to the new position, but making a selection between cursor starting and ending position

An example of the behavior:
https://user-images.githubusercontent.com/85039990/154717766-e8ad3663-d5df-4a5f-b81c-e1e925f9cc65.mp4

Press ctrl + q q
alt q q*

@igoracmelo Hi, thanks for the feature request, selecting by pressing shift is currently not supported, you could use  Select to the Start of a word and Select to the End of a word as alternatives.


3.9.0 Hotbar Save State Issue

General information
Project issue is for:
Server
Thanks to SGMJanus for reporting this and providing the steps to replicate!
Hotkeying an item, putting it back into stash, going into raid and then alt+f4ing/crashing will still show that item on the hotbar even though it is in stash. If the user uses a compass with this, it will then softlock them when they go into raid and the only input you can do is the ingame console and f12 menu.
How to reproduce

Put any hotbar-able item in your player inventory
Hotkey that item.
Put the item back into stash.
Load into raid and ALT+F4
Load up SPT again. Items are still in Hotbar, not in player inventory, but you can see the hotkey numbers in stash
If item is a compass and when you load into next raid it will softlock your character. Only way to fix this is to replace the hotkeyed compass with a new item in stash screen. Provided a screenshot of the pre-raid hotbar state and in raid softlock.

Attachments

2024.07.09_22-35-47_<IP_ADDRESS>.30626 traces.log (57 KiB)
server-2024-07-09.log (66 KiB)
LogOutput.log (11 KiB)
Preraid after first steps.png (3514 KiB)
inraid softlock.png (4426 KiB)

Originally written by HB

Added note:
The softlock is a result of the compass .bundle not being loaded as expected because it's on the hotbar and not actually on your player.

Originally written by acidphantasm

This can be remedied in many ways, here's an example confirmed working by patching TarkovApplication.method_47. I suspect this being a base game bug but have not confirmed. Should be fairly easy to implement somewhere else where it's cleaner, this was just a sketch.
Profile profile = __instance.GetClientBackEndSession().Profile;
GClass2533 fastAccess = profile.Inventory.FastAccess;
IEnumerable<Item> allItems = profile.Inventory.AllRealPlayerItems.Where(x => x.Parent.ContainerName != "hideout"); // In this stage of the game, this will also return the stash, so filter
List<EBoundItem> toRemove = [];

foreach (KeyValuePair<EBoundItem, Item> item in fastAccess.BoundItems)
{
    if (!allItems.Contains(item.Value))
    {
        toRemove.Add(item.Key);
    }
}

ConsoleScreen.Log("About to remove " + toRemove.Count);

if (toRemove.Count > 0)
{
    foreach (EBoundItem item in toRemove)
    {
        fastAccess.BoundItems.Remove(item);
    }
}

Might also have to consider the parent of parent in the filter, in case it's in a container. This is why I recommend looking for a better place to do this.

Attachments

image.png (7 KiB)

Originally written by Lacyway

Retested with 3.10, EFT 32291, still an issue (tested with BE build 8aafd0, released 24/09/02)

Originally written by MadByte

From what i can tell from this, this is only possible with an alt-f4 / Crash? if so we can just do a check in the ProfileFixerService in the server?
Assuming noones found a way to get this to happen without a game restart?
i've started making a fix for that but want to check their isnt another way of getting this to happen.

Originally written by CWX

From what i can tell from this, this is only possible with an alt-f4 / Crash? if so we can just do a check in the ProfileFixerService in the server?
Assuming noones found a way to get this to happen without a game restart?
i've started making a fix for that but want to check their isnt another way of getting this to happen.

I think I've seen this happen after extracting and then starting a new raid.. can test again after work..

Originally written by MadByte

From what i can tell from this, this is only possible with an alt-f4 / Crash? if so we can just do a check in the ProfileFixerService in the server?
Assuming noones found a way to get this to happen without a game restart?
i've started making a fix for that but want to check their isnt another way of getting this to happen.

I think I've seen this happen after extracting and then starting a new raid.. can test again after work..

please do, ill hold off commiting a fix till then

Originally written by CWX

please do, ill hold off commiting a fix till then

I've tried a bunch, but couldn't replicate what I thought happened.. So might be only Alt+F4 / crash related.. 👍

Originally written by MadByte

May be fixed with: https://github.com/sp-tarkov/server/commit/f3e3594e1b7ee387e80f5474c2a66d8c05ecbfe7

Originally written by chomp


Python Anywhere Error

Coming Soon!
This is going to be another great website hosted by PythonAnywhere.
this message appear when a try to login to my account

It started after the last downtime of the bancho services
https://twitter.com/osustatus/status/1353162176849035265
That made the integration to logout and after it returned started showing that, i will try asking peppy if maybe is something on his side

It started after the last downtime of the bancho services
https://twitter.com/osustatus/status/1353162176849035265
That made the integration to logout and after it returned started showing that, i will try asking peppy if maybe is something on his side

Thanks for letting me know. The page is hosted for free on pythonanywhere.com and I need to reactivate it manually every few months. Forgot this time.
Try now.

Thanks for letting me know. The page is hosted for free on pythonanywhere.com and I need to reactivate it manually every few months. Forgot this time.
Try now.


nixos/filesystems: init overlayfs

Description of changes
This adds an abstraction to conveniently create writable and read only overlays.
We use functionality like this in multiple places in Nixpkgs:

In qemu-vm.nix to mount the host nix store
In the ISO image to mount the nix store from a squashfs
In perlless activation to mount /etc

In further PRs we can replace all of these with the new abstraction. However, these require different levels of care to not break tests etc. so we shouldn't change them all at once.
Shoutout to @lheckemann for helping in the final stages of the design.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Added the overlay kmod in the initrd and changed wantedBy of the fs from default.target to local-fs.target.

@ofborg test filesystems-overlayfs

A few minor notes, but other than that it looks nice :+1:

@ofborg test filesystems-overlayfs

@ofborg test filesystems-overlayfs

See #287523 for the dependency issue


serde support?

It will be very useful if the compressed vec can be serialized using serde, which is beneficial when the vector needs to be transferred over limited bandwidth network for example.

That's a good idea, will look into it....
On Fri, Jul 17, 2020 at 2:41 PM L1AN0<EMAIL_ADDRESS>wrote:

It will be very useful if the compressed vec can be serialized using
serde, which is beneficial when the vector needs to be transferred over
limited bandwidth network for example.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/velvia/compressed-vec/issues/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIDPW4ZNZM2HJNTDWZOIZ3R4DAR5ANCNFSM4O65XX5A
.

--
If you are free, you need to free somebody else.
If you have some power, then your job is to empower somebody else.
--- Toni Morrison
Now is the time to understand more, so that we can fear less.  --Marie Curie


the website showed my ip

it showed my ip this is a ip logger!!

ok

sad

D:

😭 😭 😭 😭 😭 😭 😭 😭 😭 😭 😭 😭 😭 😭 😭 😭 😭 😭 😭 😭 😭 😭 😭 😭

This should now be fixed by https://github.com/WaviestBalloon/MyNameIsWalterHartwellWhite/commit/be95668144000c20e9e618a294985f080602d8ef

how do i unsubscribe to emails

You don't


Update homepage

### Tasks
- [ ] remove guidelines card
- [ ] Place news card on the left side (check design)
- [ ] Place button getting started for designers and developer underneath hero text
- [ ] animate news visual

try to make the badge on the component detail page a link to the release


no internet connection view now on Feed, Liked, PostHistory, Search, …

…

I just want to clarify that we haven't merged this in because you're taking a new approach to this correct? Just wondering if we should close this or not?

BackendNotConnectedProtocol .swift should be named BackendNotConnectedProtocol.swift (no space)

Sorry about the extra comments after commit. Just things I didn't catch first time through. Once these are handled I'll take a final look over and then merge it in. Thanks @natashaarmbrust!

There are still issues to be addressed with aspects of this. It's a rather complex problem and restoring from a lost internet connection from the start shows a lot of issues with the application outside of just this feature. Closed in d0c3c81


Added Campaign, Mailer classes. Fixed README. Wrote tests.

I've added 3 main classes and a couple of factory functions to enable creating objects of those types. The classes are described below. Tinu will use the CampaignFactory function to create a Campaign object, and will then call send/preview as per the arguments given.

Mail - A dummy object, just to contain all the attributes needed by the Mailer object. Could have been simply a dictionary, however, I've used a class to make sure that Mailer gets a well defined interface to deal with Mail objects.

Mailer - The object that will handle sending of the mails. Requires SMTP authentication information.

Campaign - Used to create mail objects easily. Two types of campaigns exist - BulkMailCampaign (for bulk mails) and TransactionMailCampaign (for personalised mails). Use the CampaignFactory to create a Campaign object. Call the send or preview methods on these objects.

TODOs:
Nearby goals:

Handle cases where the preview location isn't empty.
Opening a preview mail in browser
Warning the user when the template file contains references to variables not defined in the variables file.
Test the code.

Distant goals:

Adding attachment support.
Embedding images in the mail (or should a server be used? Server will help in tracking if a mail was opened)

Have you tested this?
Good job on the clean PR, but next time try to split the PRs into smaller ones so that we can catch bugs/bottlenecks earlier :)

Nope. Yet to be tested.
And, I'll have smaller PRs from next time! :D

@thakkarparth007 Please test before sending a PR.

I've written the tests, and the code seems to be working fine.
What is left however is the Mailer class. I'm unable to test the send() method in the Mailer class because I'm unable to deal with SMTP server as of yet. I'll talk to Kousik Sathish, as I was told by @ssundarraj, and get that resolved within a day or two.
The rest of the code is tested, except for the previewOneInBrowser() method of the Campaign class. This method is yet to be implemented, and currently just raises an NotImplementedError.
Most of the code is auto-tested. However, previewing requires to manually check the output files for correctness. Will probably make this automatic too in future.

@thakkarparth007 check out https://mailtrap.io/

Thanks. This will be useful!

You have quite a few lint errors:
************* Module deltamail.campaign
C: 91, 0: Unnecessary parens after 'raise' keyword (superfluous-parens)
C:151, 0: Trailing whitespace (trailing-whitespace)
W: 73, 0: Anomalous backslash in string: '/'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
C:  1, 0: Missing module docstring (missing-docstring)
W:  4, 0: Relative import 'mail', should be 'deltamail.mail' (relative-import)
C: 10, 0: Old-style class defined. (old-style-class)
C: 20, 4: Invalid method name "_createMailObjects" (invalid-name)
C: 20, 4: Invalid argument name "mailingList" (invalid-name)
C: 20, 4: Invalid argument name "templateStr" (invalid-name)
C: 20, 4: Invalid argument name "globalVars" (invalid-name)
C: 27, 4: Invalid argument name "mailingList" (invalid-name)
C: 27, 4: Invalid argument name "templateStr" (invalid-name)
C: 27, 4: Invalid argument name "globalVars" (invalid-name)
C: 41,12: Invalid variable name "m" (invalid-name)
C: 81, 4: Invalid method name "previewOneInBrowser" (invalid-name)
W: 90, 8: Unreachable code (unreachable)
W: 91,12: Raising a string exception (raising-string)
W: 96, 0: Method 'previewOneInBrowser' is abstract in class 'Campaign' but is not overridden (abstract-method)
W:126, 0: Method 'previewOneInBrowser' is abstract in class 'Campaign' but is not overridden (abstract-method)
R:167, 0: Too many local variables (17/15) (too-many-locals)
C:167, 0: Invalid function name "CampaignFactory" (invalid-name)
C:167, 0: Invalid argument name "mailingList" (invalid-name)
C:167, 0: Invalid argument name "templateFile" (invalid-name)
C:167, 0: Invalid argument name "globalVarsFile" (invalid-name)
C:195, 4: Invalid variable name "templateStr" (invalid-name)
C:209, 4: Invalid variable name "globalVars" (invalid-name)
C:218, 8: Invalid variable name "mailingListFile" (invalid-name)
C:245, 8: Invalid variable name "mailConstructor" (invalid-name)
C:248, 8: Invalid variable name "mailConstructor" (invalid-name)
************* Module deltamail
C:  1, 0: Missing module docstring (missing-docstring)
W:  1, 0: Relative import 'main', should be 'deltamail.main' (relative-import)
************* Module deltamail.mailer
C:  1, 0: Missing module docstring (missing-docstring)
C:  5, 0: Old-style class defined. (old-style-class)
W: 16,52: Redefining name 'email' from outer scope (line 2) (redefined-outer-name)
W: 33, 8: Unreachable code (unreachable)
R:  5, 0: Too few public methods (1/2) (too-few-public-methods)
************* Module deltamail.mail
C:  1, 0: Missing module docstring (missing-docstring)
C: 20, 8: Invalid attribute name "mailingList" (invalid-name)
C:  4, 0: Old-style class defined. (old-style-class)
C:  8, 4: Invalid argument name "mailingList" (invalid-name)
R:  4, 0: Too few public methods (0/2) (too-few-public-methods)
C: 24, 0: Invalid function name "MailFactory" (invalid-name)
C: 24, 0: Invalid argument name "mailingList" (invalid-name)
C: 24, 0: Invalid argument name "templateStr" (invalid-name)
C: 38, 4: Invalid variable name "subjectTempl" (invalid-name)
W: 39,14: Used * or ** magic (star-args)
C: 41, 4: Invalid variable name "bodyTemplate" (invalid-name)
W: 42,11: Used * or ** magic (star-args)
************* Module deltamail.main
C:  1, 0: Missing module docstring (missing-docstring)
C:  1, 0: Missing function docstring (missing-docstring)
R:  5, 0: Abstract class not referenced (abstract-class-not-used)
Please use a lint tool like http://docs.pylint.org/. You don't have to fix everything(at least for now), but it's good practice to use a lint tool from the very beginning.

I'm using the Anaconda plugin (for Sublimetext) for the linting. It didn't show any messages for the code (whatever it showed, I had fixed it). I'll make the necessary changes. :)

Btw, I'm using camel casing, however the linter output seems to suggest that one shouldn't use that. I hope that isn't an issue.

CamelCase is more like java.
Consider following https://www.python.org/dev/peps/pep-0008/

The Campaign.send() function is working now (tested using mailtrap.io, that was suggested by @vigneshmanix). Only thing left now is implementing the previewOneInBrowser method. However, I'm confused regarding the preview functionality.
There are 2 alternatives.

I can have a preview(location="") method that creates a folder email-preview in the current directory or the specified location, where all the mails being sent will be stored as separate html files. Besides this, I can have another previewOneInBrowser() that'll fire up the browser and show a mail in that (since mail is just an html page). The mail file will be a temp file. The folder created by preview method will, however, be permanent.

The other alternative is, have a single method for previewing, that'll open up browser too. The browser will list all the mail files being sent (same as the preview preview method, except that we open the browser directly and set its url to the folder where the preview files are stored).

However, the folders must be permanent. That sucks, because no one really wants to store preview mails on his disk. Any suggestions for this?
Other than this, once Tinu does his part, we can have version 1 out. My part is now done completely for version 1. (I will handle the preview-in-browser in next version :P)

https://www.python.org/dev/peps/pep-0257/
Use standard Python docstrings.


Switch to AssumeUTXO

When Bitcoin Core 26.0 is released, switch Bails to use AssumeUTXO.
This will reduce initial time to use from hours or days to minutes, even on slower computers or flash drives.
It will however require a higher minimum USB size than 16GB as there will be two copies of the chainstate folder (now up to 7GB), 32GB will be the new minimum size to support this feature. It won't be worth allowing 16GB to sync without it as they have less than 1GB of free space for blocks at this time and also, 32GB USB flash drives are cheaper than 16GB on Amazon.

Marked high priority as I've had two testers need more than week to sync due to 4GB of RAM and a slow USB stick.

https://github.com/bitcoin/bitcoin/blob/master/doc/design/assumeutxo.md#generating-a-snapshot

@epiccurious have you tried the new commands in v26.0 to sync with AssumeUTXO, it involves hardcoding some chainstate snapshot mirrors or onion services. (I guess I could host one, to keep track of how many people are using this.) Currently there's no P2P for distributing the snapshot. But the checksum of the snapshot is hardcoded into Bitcoin Core so any option works.
Since it's a huge download I would probably want to display a progress bar for the users since it is happening outside of Bitcoin Core.

I consider this a Beta required feature. Otherwise dozens of people are going to be downloading for days and maybe most wont finish and certainly most won't recommend this to others due to the long time until being useful.

This will be the first of the 3 headline BETA features worked on.
Remember to account for double the assumed_chainstate size when initially setting prune.
After the node catches up, we can increase the prune setting at that time for better future performance.


Add generated paginators for clouddirectory

Codecov Report

Merging #1647 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop    #1647   +/-   ##
========================================
  Coverage    92.39%   92.39%
========================================
  Files           53       53
  Lines         9797     9797
========================================
  Hits          9052     9052
  Misses         745      745

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 4c1679c...2b7646b. Read the comment docs.


a bug maybe with sine_init.

from modules.py  at line62, the sine_init is
m.weight.uniform_(-np.sqrt(6 / num_input) / 30, np.sqrt(6 / num_input) / 30)

but I think is:
m.weight.uniform_(-np.sqrt(6 / num_input) * 30, np.sqrt(6 / num_input) * 30)

follow is my test code with 101 sin layers, the std of outputs is stability equals 0.7 when * 30，
and when I replace  * factor with / factor, the std of output  reduced to 0.
import torch
import numpy as np

dim = 1000
factor = 30
alpha = 1
x = torch.Tensor(np.zeros(dim, dtype=np.float32)).reshape([dim, 1])
w = torch.Tensor(np.zeros([dim,dim], dtype=np.float32))

inputs = torch.nn.init.normal_(x, 0, 1)
weights = torch.nn.init.uniform_(w, -alpha/dim, alpha/dim)

outputs = torch.sin(alpha*factor * weights@inputs)
print(torch.mean(outputs), torch.std(outputs))

weights = torch.nn.init.uniform_(w, -np.sqrt(6 / dim) * factor / alpha, np.sqrt(6 / dim) * factor / alpha)

for _ in range(100):
    outputs = torch.sin(alpha*weights@outputs)
    print(torch.mean(outputs), torch.std(outputs))

I misunderstood the paper


refactored fix for #76

Delegates solution candidate PoW calculation to the TPCOperationsComp. It has part1/part3 precalculated.
I doubt if we could use TPCOperationsComp.Bank to evaluate SafeBox.GetActualTargetHash in there. If it possible then _targetPoW and PoW comparison could be isolated too
PS:  done some code cleanup of UPoolMining.pas

I've rolled back #76
Please, use pull requests on development branch for future references


Add an RFP for delegation

Request for Proposals
Abstract
Busy Polkadot users should be able to delegate their nomination power to their trusted account (friend/fund manager/smart contract) and not have to worry about periodically checking their nominations
Checklist

[x] I have checked the open and implemented RFPs to make sure this is not a duplicate.
[x] I have read and followed the RFP Suggestion instructions.

Thanks for the RFP, but this is actually already supported at least to a certain degree via the proxy module and the staking proxy type. See also the wiki. You would set up a controller and for this controller you would give another person staking proxy rights (potentially including a time delay). However we could definitly need a better UI for it and someone who potentially even creates a service around this feature. You can also use this together with a governance proxy etc.

Ah that's true. I never viewed the proxy as a means for delegation to someone else, but rather for your own account (like controlling the validator's own funds via another account).
Seems silly obvious now 🙂
Thanks for the feedback, I'll close this one


Options from sql variable

I am trying to pass my fdw an option who's value is a variable. My instinct is to do it like this, but it says that there is a syntax error at x abc. What do I need to do to get this to work?
`DO $$
DECLARE abc varchar :='hi';
Begin
drop server partner cascade;
create server partner foreign data wrapper multicorn options(
wrapper 'multicorn.fdw.Fdw'
);
create foreign table partner_accounts(
	name text
) server partner options(
x abc
);

END $$;`

There is some code in the multicorn_alchemy_test file that does something like this. Maybe take a look there. (excerpt pasted below).
create or replace function create_foreign_server() returns void as $block$
  DECLARE
    current_db varchar;
  BEGIN
    SELECT into current_db current_database();
    EXECUTE $$
    CREATE server multicorn_srv foreign data wrapper multicorn options (
        wrapper 'multicorn.sqlalchemyfdw.SqlAlchemyFdw',
        db_url 'postgresql://$$ || current_user || '@localhost/' || current_db || $$'
    );
    $$;
  END;
$block$ language plpgsql;
select create_foreign_server();


Add production configuration to unity-py

Once deployed to unity-prod, populate the configration file with the appropriate cloudfront url and application token.

@anilnatha needs sprint assigned

needs the info from finishing: https://github.com/unity-sds/unity-project-management/issues/107

I actually added this in the current STAC work we are doing. once that's merged, we'll have the appropriate operational configuration for production.

part of https://github.com/unity-sds/unity-py/pull/73

@rtapella looks like you guys worked that as part of https://github.com/unity-sds/unity-py/pull/73 and @mike-gangl approved that PR.  Is there anything else left to do for this ticket?


Messages don't send unless I modify the Mail/Transport.php file

Upon requiring bogardo/mailgun-magento2 with composer, I have to edit the Mail/Transport.php file included with the plugin and change line 97 from:
foreach ($message['to'] as $to) {
to:
foreach ($this->message->getRecipients() as $to) {

Had to do the same. Requested the file change in repo. Thanks for the code fix.

I'm having the same issue, PR fixed it.


Can't connect to NZBHydra from Radarr/Sonarr etc

I've tried to add NZBHydra as an indexer in Radarr but I get this in my Radarr logs;
HTTP Error - Res: [GET] https://nzbhydra.mydomain.com/api?t=caps&apikey=(removed) 401.Unauthorized
401 Unauthorized

If I visit the URL (with my API key) in a browser I get what looks like valid XML but Radarr just fails and throws the error. I'm using the following info in Radarr;
Custom newznab
Name: NZBHydra
Enable RSS Sync: yes
Enable Search: yes
URL: https://nzbhydra.mydomain.com/
API Key: my-api-key-from-nzbhydra

Wondering how others are getting this to work. Thanks.

You're seeing this as you're accessing the external password protected endpoint and providing no password.
Instead, use the container name and port. For adding hydra as an indexer it'll just be http://nzbhydra:5076. Similar applies for other services accessing one another, such as Sabnzbd in Radarr.

Thanks. That was it. Appreciate the help.


Add Universal Analytics tracking for beta service

So that user journeys can be tracked from GOV.UK to the new beta service, we want to enable UA linking across the domains.
This has been mostly copied from the UA service tracking code in frontend.
Finishes off https://www.pivotaltracker.com/n/projects/1261204/stories/89799300.
@edds or others: should this maybe become a component so the code can be shared between frontend and here?

Looking at it I feel it could possibly be added to our new analytics tracker code to make this super simple. Something like GOVUK.analytics.addLinkedDomain({ga-code}, {domain}).

:+1: good call


Error during typescript compilation

I am getting the following error when running npm run prepare
lib/tempview.ts:3:26 - error TS2307: Cannot find module '@codemirror/view' or its corresponding type declarations.
I think it is related to recent removal of peer dependencies for @codemirror/view and @codemirror/state, because it was working fine before that.

I guess you'll just have to install them manually until someone figures out how to set this up in a way that npm won't choke on.

Running into similar issue - when I bump the deps to latest codemirror packages the prepare script fails

This issue still exists. Have anyone found any solutions?


Amend documentation

note:
source/requirements.rst lists some options like image_import_plugins and image_import_opts which i was unable to lookup in the current yoga documentation maybe somebody with deeper knowledge can confirm that those are still available


refactor: re-work local spec implementation

This PR is to address this issue. This PR is still in progress. So, further implementation will be applied later along with the detailed description of this PR.
Tracker:

[x] read write job spec from and to yaml file + assets
[x] read write resource spec from and to yaml file
[x] convert job spec to proto
[x] convert resource spec to proto
[ ] integrating with cmd
[ ] clean up unused code

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 50 (0.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.4%) to 77.347%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

client/local/local.go
0
2
0.0%

client/local/job_spec.go
0
24
0.0%

client/local/resource_spec.go
0
24
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.4%

Covered Lines:
7785

Relevant Lines:
10065

💛  - Coveralls

NB: we removed the cli render, since to achieve render process, we need to create render api on server side, which is out of this PR's scope. The capability of render process will be taken care on other PR


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from  to before v5.16.5",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=5c968affa804ba98c3c603f37ffea6fba618025e"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "5c968affa804ba98c3c603f37ffea6fba618025e",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "Bluetooth: refactor malicious adv data check\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.16.5 by commit 5c968affa804ba98c3c603f37ffea6fba618025e. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2022-1000600


I see that only latest browsers are targetted, how about switching to flexbox for the css?

The css easily breaks if the input is not structured the same way you have in your example page. Flexbox is a nicer, simpler alternative for the autocomplete results IMO. Would you accept a PR making this change?
Nice job with the library thus far btw! I like its simplicity!

I agree with you that's why I had on the Roadmap under "Usability" the Styles & Interactions are getting ongoing support in order to keep enhancing them and show new different designs for inspiration.
You're more than welcome please do!
Thank you so much, I'm glad you like it and hope it comes in handy for you.


Footer in login page

[x] feature request

create a feature request

[x] Have an idea for a feature?
[x] Provide screenshots where appropriate

Detailed Description
The footer is not there in login page which makes UI bad so I want to add footer in login page.
Possible Implementation
Adding same footer as home page in login page
Screenshot

there no need for footer in login page.


WhatsApp unable to install as it cannot write to C:\ProgramData

Brief description of your issue
When trying to install WhatsApp from the winget command, it is able to download the executable but then it fails with the following error message:

At the same time you'll run into this error message on command line:
An unexpected error occurred while executing the command:
remove: Access is denied.: "C:\Users\<User>\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\TempState\WinGet\WhatsApp.WhatsApp.2.2019.8.exe"

Steps to reproduce
Open Windows Terminal, then run command 'winget install whatsapp', the app will download but fail to install
Expected behavior
WhatsApp should download properly and install
Actual behavior
The app is able to download, hash is properly verified but fails to install in Windows
Environment
[winget --info]
Windows Package Manager v0.1.41331 Preview
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19041.264
Package: Microsoft.DesktopAppInstaller v1.0.41331.0

Any other software?
Not applicable

Do you have admin rights on the system you are testing on?

@jedieaston I do, in fact if I try to run winget as administrator and try to install WhatsApp that way, the app refuses to install anyway

This is the same issue as #254
Remove the low integrity level from the installer and it'll successfully install:
icacls WhatsApp.WhatsApp.2.2019.8.exe /setintegritylevel M

Duplicate of #254

@dmex Thanks for tracking down the duplicate.


[don't-merge] test vk deserialization

This code tests vk serialization and deserialization with the hack fix https://github.com/scroll-tech/halo2/pull/52.
vk1 = pk.get_vk();
raw_vk2 = serialize(vk1);
vk2 = read_vk(raw_vk2);

Log and compare vk1 and vk2, then use vk2 for further verification.

Merge into https://github.com/scroll-tech/scroll-prover/pull/160


Various CI fixes re. user manual

Decommission dzomo's everbld email address in git commit messages
Upgrade the standalone.Dockerfile CI to Ubuntu 23.10, to match the version used by hierarchic.Dockerfile from existing F* CI image (see FStarLang/FStar#3273)

Thank you!


fix: do not emit "error" events

Forcing users to handle "error" events is useless since there is no
interesting way to handle them (no retry, for example).
Before:
io.adapter(createAdapter(pool));

poll.on("error", (err) => {
  // client disconnection
});

io.of("/").adapter.on("error", () => {
  // needed so that no exception is thrown
});

After:
io.adapter(createAdapter(pool));

poll.on("error", (err) => {
  // client disconnection
})

Superseded by https://github.com/socketio/socket.io-postgres-adapter/commit/ec1b78cf132147960f05402f6ae9b75ec77e1dd6.


A new Detailed Icon for the page for a better COVID representation.

Is your feature request related to a problem? Please describe.
A Graphical representation is very important, hence I have come up with a more detailed image to show the icon for the webpage
Describe the solution you'd like
Please see the attached image for the new reference package

Thanks for your icon design. However, don't you think a minimal flaticon is good enough?
Closes #1102


Modify some loop using stream API

Modify some loop using stream API.

This PR was closed by asfgit, not sure why. Did I miss something? It's appreciated if someone could tell me what's wrong. :)

Coverage increased (+0.4%) to 90.948% when pulling 8a45758483957b3f084abe229b94974f94c7e027 on PeterAlfredLee:useStream into 0d937abf8ca9878aadc1b4e62e333976e74e8942 on apache:master.


Download Progress

I am having a look into this repository, and I will definitely try my best to add a progress bar for downloads. Thanks.

Thank you! Will be very helpful

@luisflorido I have added the Progress bar, although I have not added the functioning and visuals because the main window has no place to show the progress bar. Firstly, I think it's better to add a status bar then add the rest of the items.

This weekend I'll look into that, thank you man!

I used your PR and finished the functionality, thank you!


How to use nbhood functions?

Hi,
I try to use the "nbhood" functions in IMPROVER, and have
some questions:
1) If I want to calculate the neighborhood probabilities, do I
have to use the threshold function to get binary fields?
2) If calculating the neighborhood percentiles, the input cube
is the original data or thresholded data?
3) So far, do "nbhood" functions support the ‘‘neighborhood maximum
ensemble probability’’ (NMEP) (Schwartz et al, 2017)?
4) Is there any plan to support the neighborhood probability
with ensemble agreement scale (Blake et al, 2018)
Thanks very much.
Dave

Hello @NMC-DAVE. Thanks for your questions.

If I want to calculate the neighborhood probabilities, do I
have to use the threshold function to get binary fields?

Yes, this is the only method for converting data in diagnostic-space into probability-space.

If calculating the neighborhood percentiles, the input cube
is the original data or thresholded data?

The input data must be thresholded first.

So far, do "nbhood" functions support the ‘‘neighborhood maximum
ensemble probability’’ (NMEP) (Schwartz et al, 2017)?

IMPROVER does support NMEP. This is defined as an occurrence-in-vicinity - for example, to calculate the probability of heavy precipitation occurring within 10km of a point. As this is related to the threshold, it is the improver threshold command that contains these options, not improver nbhood.

Is there any plan to support the neighborhood probability
with ensemble agreement scale (Blake et al, 2018)

Yes, this is something that we would like to support. We have a plan to use inter-member comparisons (Fraction Skill Score) to determine the local neighbourhood radius. At the moment, we do not have the resources to work on this.
Regards.
Stephen

Thanks very much.


How to build libyaml on Windows?

Prerequisites:

Download Visual Studio Installer
From Visual Studio Build Tools, install Visual C++ build tools. Select the following components

Visual C++ Build Tools core features
VC++ 2017 version 15.9 v14.16 latest v141 tools
Visual C++ 2017 Redistributable Update
Windows 10 SDK (10.0.17763.0)
Visual C++ tools for CMake
Testing tools core features - Build Tools

Install Cmake

Build:

Clone the repository (the bundled tgz missing some files)
Find the actual build steps to build a static library in the CI files: appveyor.ymlcmake .
cmake --build . --config Release --clean-first
ctest -C Release

This will generate Release/OFF.lib

Fix the output library name
The following diff shows how to fix output library name generated by cmake
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,9 +6,9 @@ set (YAML_VERSION_MAJOR 0)
 set (YAML_VERSION_MINOR 2)
 set (YAML_VERSION_PATCH 2)
 set (YAML_VERSION_STRING "${YAML_VERSION_MAJOR}.${YAML_VERSION_MINOR}.${YAML_VERSION_PATCH}")
+set (YAML_STATIC_LIB_NAME "yaml")

 option(BUILD_SHARED_LIBS "Build libyaml as a shared library" OFF)
-option(YAML_STATIC_LIB_NAME "base name of static library output" yaml)

 #
 # Output directories for a build tree

Build DLL
cmake -DBUILD_SHARED_LIBS=ON .
cmake --build . --config Release --clean-first
ctest -C Release

Prerequisites:
* Download Visual Studio Installer

* From Visual Studio Build Tools, install Visual C++ build tools. Select the following components

  * Visual C++ Build Tools core features
  * VC++ 2017 version 15.9 v14.16 latest v141 tools
  * Visual C++ 2017 Redistributable Update
  * Windows 10 SDK (10.0.17763.0)
  * Visual C++ tools for CMake
  * Testing tools core features - Build Tools

* Install Cmake

Build:
* Clone the repository (the bundled tgz missing some files)

* Find the actual build steps to build a static library in the CI files: [appveyor.yml](https://github.com/yaml/libyaml/blob/master/appveyor.yml)
  ```
  cmake .
  cmake --build . --config Release --clean-first
  ctest -C Release
  ```

* This will generate `Release/OFF.lib`

Fix the output library name
The following diff shows how to fix output library name generated by cmake
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,9 +6,9 @@ set (YAML_VERSION_MAJOR 0)
 set (YAML_VERSION_MINOR 2)
 set (YAML_VERSION_PATCH 2)
 set (YAML_VERSION_STRING "${YAML_VERSION_MAJOR}.${YAML_VERSION_MINOR}.${YAML_VERSION_PATCH}")
+set (YAML_STATIC_LIB_NAME "yaml")

 option(BUILD_SHARED_LIBS "Build libyaml as a shared library" OFF)
-option(YAML_STATIC_LIB_NAME "base name of static library output" yaml)

 #
 # Output directories for a build tree

Build DLL
cmake -DBUILD_SHARED_LIBS=ON .
cmake --build . --config Release --clean-first
ctest -C Release

By default it's 32 bits or 64 bits? How do you set an specific tag to compile to 32 or 64 bits?


segmentation fault in custom_financial_model from nan in generation

Add meaningful title here

How to reproduce

Run Reference Plant Example 01 using the below HOPP config info:
HOPP Config info:

lat: 34.872
lon: -100.972
year: 2013
hub_height: 115
wind is true, solar and wave are false
120 turbines, using lbw_6MW turbine, same floris files from reference plant 01 example. simulate with floris
grid interconnection size is 720 MW

Relevant output

Output: Segmentation fault (core dumped)

error occurs when trying to set system_pre_curtailment_kwac in power_source.simulate_financials() for Grid object (error is in value() of custom_financial_model.py)
The above error arises because of a nan in the power_farm floris output (example: at hour 493 there is a nan in the wind plant generation profile). At hour 493, there is a wind speed of 0.0 m/s.
Quick fix: in execute() of floris.py add these lines after line 132:

power_farm = np.nan_to_num(power_farm)
power_turbines = np.nan_to_num(power_turbines)

HOPP version

greensteel-eco-sync

System Information

OS: macOS 13.6.9
Python version: 3.8.12
Library versions

FLORIS: 3.5

@elenya-grant Can you confirm if this is still an issue since we have updated to FLORIS v4?


Choosing installation directory

So far I really like Atom 1.0 - it's got a long way to go, but it will get there. We needed an editor like this.
Anyway: the only thing bothering me was how quickly it installed itself (Windows 8.1, 64 bit). Even though that might sound like a good¨thing, it isn't. When I double-click the installer I get no options, no information whatsoever. Only a screen "Atom is installing and will launch when ready." For some people this might be the best approach, but for a whole lot of others it isn't.
Some options would be great. I am thinking: file association, installation directory, packages to include with installation (I for one don't need all packages that are included on default install) and so on. I could understand that file association and package control aren't included (though I'd really like that) but why not the ability to choose your own installation directory?

Closed -- is duplicate


opae-nlb-demo: switch to Ubuntu 22.04

This should hopefully fix libjson-c issue #904

change seems good, and CI failure is unrelated to this change? I think  the scanner tool will not see new image before the change is merged, so we cant verify the vulnerability impact easily before merge.

we agreed with @bart0sh to use debian:unstable-slim for this release.

Codecov Report

Merging #978 (f2e6d9b) into main (bac24e1) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head f2e6d9b differs from pull request most recent head 625ba64. Consider uploading reports for the commit 625ba64 to get more accurate results

@@           Coverage Diff           @@
##             main     #978   +/-   ##
=======================================
  Coverage   53.29%   53.29%
=======================================
  Files          40       40
  Lines        4325     4325
=======================================
  Hits         2305     2305
  Misses       1893     1893
  Partials      127      127

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


No recommendations seen though notification says "Duration Based Recommendations Available"

No recommendations seen though notification says "Duration Based Recommendations Available". This is seen when the 96th result data is posted and recommendations is seen from 97th.
 "recommendations": {
                            "notifications": [
                                {
                                    "type": "info",
                                    "message": "Duration Based Recommendations Available"
                                }
                            ],
                            "data": {
                                "2023-04-23T11:46:12.152Z": {
                                    "duration_based": {
                                        "short_term": {
                                            "pods_count": 0,
                                            "confidence_level": 0.0,
                                            "notifications": [
                                                {
                                                    "type": "info",
                                                    "message": "There is not enough data available to generate a recommendation."
                                                }
                                            ]
                                        },
                                        "medium_term": {
                                            "pods_count": 0,
                                            "confidence_level": 0.0,
                                            "notifications": [
                                                {
                                                    "type": "info",
                                                    "message": "There is not enough data available to generate a recommendation."
                                                }
                                            ]
                                        },
                                        "long_term": {
                                            "pods_count": 0,
                                            "confidence_level": 0.0,
                                            "notifications": [
                                                {
                                                    "type": "info",
                                                    "message": "There is not enough data available to generate a recommendation."
                                                }
                                            ]
                                        }
                                    }
                                },

Recommendations json for reference
recommendations.zip

Hello @chandrams and @dinogun,
Just an thought - Along with notification type, will it be possible to introduce something like messageType as key with keyword as value? In my opinion, it is helpful instead of message string comparison.
For any minor change in string, condition will start to fail.
Thoughts?

Currently if kruize has exact 24 hrs of data it is not able to give out recommendations due to a boundary condition issue which was mentioned by @chandrams and @kusumachalasani .
@msvinaykumar found that the issue is with the way Recommendation engine is getting the start time.
Kruize is having the check for sum of duration minutes at the start of iteration, so if the list has exact number of entries as it can't iterate more the check doesn't happen in the last iteration. Hence kruize is not generating the recommendation if it has exact entries for a duration. Which will be fixed in #827

Fixed in #827


[Ctrl + an unmapped key] combination crashes neoray

Resulting in error message "Invalid scancode"

neoray-win64.exe 'latest' release c421526

Update: sorry, it wasn't Caps Lock, but keycode + for a disabled key (00_00).
I pressed Ctrl + Win where Win is an unmapped key in Windows Registry.

Hey @andis-sprinkis the last release has to fix this issue. Please try and let me know if it was fixed.

Seems to be fixed on 0.0.7 neoray-win64, not experiencing the issue on this version.

Thanks for your support @andis-sprinkis. Please reopen this issue if you encounter again.


Back button issue on deno.land/x?

Use latest Firefox on latest macOS
Go to https://deno.land/posts/registry2
Click on https://deno.land/x/oak/mod.ts
Get redirected to<EMAIL_ADDRESS>Click back button
See this:

Expected:
Clicking the back button takes me to the blog post.
(Love the project!)

Similarly if you're at deno.land/x and click any module, you can't use back button to return to the list.


URL schema not passing correct input

So I'm working on a URL shortening service where I'm trying to validate the user input and also generate an encoded URL using a third party service. But, for reason the schema always returns an invalid input no matter what I type (i.e www.google.com) which is a pretty valid URL.
import SimpleSchema from 'simpl-schema';
import { Tracker } from 'meteor/tracker';
// Required AutoForm setup
SimpleSchema.extendOptions(['autoform']);

Links = new Mongo.Collection("links");

LinksSchema = new SimpleSchema({
  url: {
    type: String,
    label: 'Input',
    regEx: SimpleSchema.RegEx.Url,
     autoform: {
      afFieldInput: {
      type: "url",
      placeholder: "Place your links here...",
    }
    }
  },
  encodedUrl: {
    type: String,
    autoValue(doc) {
      return Meteor.call('getBitlyUrl', doc.url);
    }
  }
}, { tracker: Tracker });

Links.attachSchema(LinksSchema);

My fault, sorry! Turns out regEx: SimpleSchema.RegEx.Url requires the communication protocol (i.e. https:// or http://). So, www.google.com won't be accepted but https://www.google.com would be.


Add the assemble module for ilib-assemble to use

This doesn't get used in the module itself, but it is loaded by ilib-assemble to gather together all of the locale data files necessary to support a list of locales.

hm.. I see. each ilib package could have  assemble.mjs and it does  step3 work which returns locale data.
then where step4 and step5 work happen? because it should merge and create js file which includes all various locale data..
Are you going to create a new package for this?

I had made a PR for the new package, ilib-assemble. That is the one I was talking about in our last meeting. Instead of modifying ilib-scanner, I made this new one ilib-assemble. The code that is there in that PR works basically, but it still needs documentation so people know how to use it, more unit tests, and some code clean-up. I made the PR so you could see it. It should have been a draft PR. Please do not approve it yet.


Filter: Search results, based on location(country), are not sorted as per time.

Login into STG/PROD "fightpandemics.com"
Navigate to Helpboard and apply location filter = 'United States'

Issue: You will observe that 6 months old posts are displayed on the top for the selected location.
But when you keep scrolling, you will see recent post for the searched location.
So search results are as per location but they are not sorted as per time when they are posted.
Expected Result: When user apply location filter -> the latest posts for the selected location should be displayed as per the age i.e. latest on top and so on.
See below screenshots/GIFs

Please note, This issue is related to #2053
Some Exceptions need to be verified while fixing this issue:

When we search on the base of country, this issue always exist, but when user expand the search location i.e. city/state/country, results are better. Please see this in GIF.

If I search 'United States' 'United Kingdom' 'Spain' 'Barcelona, Spain' the results are NOT accurate.
Note: So, the locations are not matched properly when broader location is searched for.

PR #2155 completed web view modification, mobile view is to be updated

PR #2155 completed web view modification, mobile view is to be updated

the PR is ready to review, please see if anything to improve @rabbi08 @CamilaArias

the PR is ready to review, please see if anything to improve @rabbi08 @CamilaArias

will be covered by issue #2171 , close this one


Update mesh plot in a single window

Hi!
Is there any function that supports updating mesh plot in a single window (similar to updateTrace) instead of creating a new window for mesh plot every time? It could be very useful if we wanna check out the status of synthesized mesh output.
Thanks a lot!

You can do this by using the same win id when you make the mesh plot call.

Got it! It works, thanks!
Btw, how to tune the default view angle of the mesh plot?

I may have missed it, but Plotly doesn't seem to have an option for that at the moment: https://plot.ly/python/reference/#mesh3d

Okay, got it! Thanks!


Support directed graphs

Currently, Jaal doesn't support Directed graph. This functionality should be fairly easy to add, as for starters we just need to have directed edges.

just to add an example of how to do this,
Jaal(edge_df, node_df).plot(directed=True)


Remove "basic" from supported API auth methods

This was removed in v1.19.

Thanks for taking a look!

we're gonna need an approval from someone from SIG Auth before we can merge this

Do I need to tag SIG Auth here, or should I just wait? (please excuse my inexperience, I've only sent a couple of PRs and was never sure when I should be pinging people)

Can you please also link to where it's documented that "HTTP basic auth" is no longer supported?

https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.19.md#:~:text=Support for basic authentication

https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.19.md#:~:text=Support for basic authentication

Thanks!
I've applied the sig label so we should wait for a few days for them to take a look at this. If not then please feel free to ping in the #sig-auth channel on the Kubernetes slack for a review :)
/sig auth

Page preview:
https://deploy-preview-30288--kubernetes-io-main-staging.netlify.app/docs/reference/access-authn-authz/authentication/#authentication-strategies

For review, /cc @liggitt @deads2k

/lgtm

/approve


[optimization] Do not add a list of entities into DOM if "selector: hide"

Based on this comment: https://github.com/alexarch21/history-explorer-card/issues/109#issuecomment-1350350206
Suggest NOT to add the entities list into DOM when selector is hidden.
Currently the list is added:
type: custom:history-explorer-card
defaultTimeRange: 24h
graphs:
  - type: timeline
    entities:
      - entity: sun.sun
uiLayout:
  toolbar: hide
  selector: hide

Makes sense.

Added to V1.0.41.


[RESOLVED] High ICMP ping response time

Problem started at 16:08:29 on 2023.04.27
Problem name: High ICMP ping response time
Host: HP_iLO
Severity: Warning
Operational data: Value: 499ms
Original problem ID: 20094
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23268&eventid=20094

Problem has been resolved in 32m 0s at 16:40:29 on 2023.04.27
Problem name: High ICMP ping response time
Host: HP_iLO
Severity: Warning
Original problem ID: 20094


fixed a spelling in screenshot and updated readme to include vault install

…stall

@mister-ken -- whenever you get a sec to merge this