'cap = cv2.VideoCapture(trmp_url)' The loop prints an error

When I'm pulling the video stream with the code 'cap = cv2.VideoCapture(rtmp_url)', The error "[h264@00000181af45eac0] missing picture in access unit with size 56" has been reported. This rtmp can be played normally through VLC, may I ask how to solve it?
opencv-python: <IP_ADDRESS>

Hi, I have the same problem.
How did you solve it?


maven: 3.9.8 -> 3.9.9

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/maven/versions.
meta.description for maven is: Build automation tool (used primarily for Java projects)
meta.homepage for maven is: https://maven.apache.org/
Updates performed

Version update

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 3.9.9 in filename of file in /nix/store/r03sizwgjly6l4ccb2phwdr0vvzvsj7p-maven-3.9.9

Rebuild report (if merged into master) (click to expand)

47 total rebuild path(s)

47 package rebuild(s)

First fifty rebuilds by attrpath

apgdiff
bytecode-viewer
certificate-ripper
commafeed
cryptomator
dependency-track
digital
exificient
forge-mtg
gephi
global-platform-pro
gol
h2
java-language-server
jd-cli
jetbrains.idea-community
jetbrains.idea-community-bin
jetbrains.idea-community-src
jetbrains.idea-ultimate
jetbrains.pycharm-community
jetbrains.pycharm-community-src
jnr-posix
joularjx
jugglinglab
kotlin-interactive-shell
kotlin-language-server
ktfmt
lemminx
mariadb-connector-java
maven
maven3
microsoft-identity-broker
ns-usbloader
openrefine
protege
quark-goldleaf
runelite
s3proxy
scenebuilder
schemaspy
slipstream
sonarlint-ls
tabula-java
tika
vatprism
verapdf

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/r03sizwgjly6l4ccb2phwdr0vvzvsj7p-maven-3.9.9 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A maven https://github.com/r-ryantm/nixpkgs/archive/7c0dffaec3cf174e0156a6fc01fa30e528b1a416.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/7c0dffaec3cf174e0156a6fc01fa30e528b1a416#maven

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/r03sizwgjly6l4ccb2phwdr0vvzvsj7p-maven-3.9.9
ls -la /nix/store/r03sizwgjly6l4ccb2phwdr0vvzvsj7p-maven-3.9.9/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:white_check_mark: 44 packages built:

apgdiff
bytecode-viewer
certificate-ripper
commafeed
cryptomator
dependency-track
digital
exificient
forge-mtg
gephi
global-platform-pro
gol
h2
h2.doc
java-language-server
jd-cli
jetbrains.idea-community (jetbrains.idea-community-src)
jetbrains.idea-community-bin
jetbrains.idea-ultimate
jetbrains.pycharm-community (jetbrains.pycharm-community-src)
jnr-posix
joularjx
jugglinglab
kotlin-interactive-shell
kotlin-language-server
ktfmt
lemminx
mariadb-connector-java
maven
microsoft-identity-broker
ns-usbloader
openrefine
protege
quark-goldleaf
runelite
s3proxy
scenebuilder
schemaspy
slipstream
sonarlint-ls
tabula-java
tika
vatprism
verapdf

Maintainer pings

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

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

https://github.com/NixOS/nixpkgs/pull/348864 was merged instead.


Auth Token Passed in GET URI

During security assessment we found that 'When logged into the StackStorm WebUI, the user's auth token is passed in the URI of a number of GET requests to the API.
By including sensitive data, such as an auth token, in the URI of a GET request, there is an increased chance that the auth token's value is inadvertently disclosed and/or discovered by an attacker. The GET URI string will be stored in the web server's log files as well as those of HTTP proxies.
Proposed solution was to avoid sending the auth token in the URI of any GET requests, instead relying on headers to transmit authentication and authorization values for validation by the server.

The reason we're sending it as query parameter is that for some types of content, you simply can not set headers associated to the request. In our case, it's images and SSE stream. The only option for us at that point is to start supporting cookies as another mean of authentication on top of existing headers and query parameters. It was not an option when we initially designed the system due to no longer existing limitations. It has its own security implications too.
And although this is not an excuse, I just want to point out that reference deployment we're proposing implies connecting to WEB UI though SSL which protects this information from getting intercepted on route. The two remaining places that can be compromised are your NGINX server terminating SSL and your browser. A possibility of malicious access to any of two makes the rest of security assumptions largely irrelevant.

Actually, no, let me retract my previous statement. Using cookies for authentication is still an issue in situation when user wants to run st2api and st2auth on a different hosts or ports. We had numerous support requests from users trying to deploy st2 inside docker containers and such.


[Error: ETIMEDOUT] code: 'ETIMEDOUT'

My bot on bitfinex crashes once in a while, at random intervals. 'Forever' will restart it, but it leaves old orders hanging and it's not active - I need to click the red button (is there an autostart function?).
Crash log:
info: 9/3/15 05:53:49,503       [tribeca:gateway:BitfinexHTTP]  Error returned: url= https://api.bitfinex.com/v1/book/btcusd err= {
[Error: ETIMEDOUT] code: 'ETIMEDOUT', connect: false }
error: Terminating! uncaughtException { [Error: ETIMEDOUT] code: 'ETIMEDOUT', connect: false } Error: ETIMEDOUT
    at null._onTimeout (/tribeca/node_modules/request/request.js:818:15)
    at Timer.listOnTimeout (timers.js:119:15)
Terminating! uncaughtException { [Error: ETIMEDOUT] code: 'ETIMEDOUT', connect: false } Error: ETIMEDOUT
    at null._onTimeout (/tribeca/node_modules/request/request.js:818:15)
    at Timer.listOnTimeout (timers.js:119:15)
error: Terminating! exit 1
Terminating! exit 1
error: Forever detected script exited with code: 1
error: Script restart attempt #348

Anything could be done about it?

This is a genuine timeout coming from Bitfinex. Sometimes their request/responses take > 5 seconds, which is insanely bad. I can up the timeout/make it configurable. Even when it's 15 seconds, I've had timeouts.
Humans trading on the NYSE floor can trade faster than Bitfinex. They're terrible from a tech standpoint.

Fair enough. Longer timeout doesn't seem good enough, connection drop can happen for many reasons.  Would be better to handle it in graceful manner - clean orders, start again etc.

I have the same problem ,crash once in a while


Add Devise (Authentication)

Hello and welcome to this PR! 👋🏻
This branch was developed collaboratively with @fatima-najafi
This branch was developed following the requirements of Blog app: add devise lesson.
General requirements:

there are no linter errors;
correct flow Gitflow is used;
work is documented in a professional way.

Project requirements:
We removed the current_user method in ApplicationController;
We installed and set up devise.
We modified the views in devise for registration and login to match the wireframes from the Sneak Peek and our styling.
The users can:

Register themselves in the app. The application asks for confirmation of the email.
Re-require the email confirmation message.
Confirm their email by clicking on a link in the received email. A hashed password is then stored in the database.
Log in with a combination of email and password.
Reset password.

We used mailcather gem for viewing the confirmation emails. Please run gem install mailcatcher to be able to use it.

Thank you @thecodechaser for reviewing our PR 🙏🏻


Can't install with python 3.12

Hello.
I would like to install the package, but I couldn't pip install Numbalsoda since it demands python version 3.9.
Is there a way to over ride this requirement? Cause I have got another package like SALib which needs a 3.11 or higher to use.

You can install a version that works with Python 3.11 with conda install -c conda-forge numbalsoda


Remove recursion to prevent stack overflow

Was running AFL on this library and found that large but bad inputs could cause stack overflows.  Switched the Tokenizer's read_until_whitespace and next to use a non-recursive implementation.
This has the side effect of improving performance.  On my Ubuntu VM, cargo bench runtime reduced by 18% on parse small and 60% on parse big.

bors r+


Gracefully handle pod monitor exceptions

For all exceptions, catch the exception, log it, and gracefully exit.
For known likely HTTP::ConnectionError exceptions, skip logging the backtrace.
For other StandardError exceptions, log the backtrace.
Resolves the needless repetitive logging of backtraces for http connection errors seen in:
https://github.ibm.com/IBMPrivateCloud/CP4MCM/issues/13815
A snippet from that issue is below:
[----] I, [2020-10-05T19:17:15.313691 #8:8017fff928]  INFO -- : MIQ(MiqServer#ensure_pod_monitor_started) Waiting for the Monitor Thread to exit...
[----] E, [2020-10-05T19:17:15.314062 #8:8017fff928] ERROR -- : MIQ(MiqServer#monitor) error reading from socket: Could not parse data
[----] E, [2020-10-05T19:17:15.314437 #8:8017fff928] ERROR -- : [HTTP::ConnectionError]: error reading from socket: Could not parse data  Method:[block (2 levels) in <class:LogProxy>]
[----] E, [2020-10-05T19:17:15.314827 #8:8017fff928] ERROR -- : /opt/IBM/infrastructure-management-gemset/gems/http-4.4.1/lib/http/response/parser.rb:31:in `add'
/opt/IBM/infrastructure-management-gemset/gems/http-4.4.1/lib/http/connection.rb:214:in `read_more'
/opt/IBM/infrastructure-management-gemset/gems/http-4.4.1/lib/http/connection.rb:92:in `readpartial'
/opt/IBM/infrastructure-management-gemset/gems/http-4.4.1/lib/http/response/body.rb:30:in `readpartial'
/opt/IBM/infrastructure-management-gemset/gems/http-4.4.1/lib/http/response/body.rb:36:in `each'
/opt/IBM/infrastructure-management-gemset/gems/kubeclient-4.9.0/lib/kubeclient/watch_stream.rb:25:in `each'
/var/www/miq/vmdb/app/models/miq_server/worker_management/monitor/kubernetes.rb:64:in `watch_for_pod_events'
/var/www/miq/vmdb/app/models/miq_server/worker_management/monitor/kubernetes.rb:53:in `block in monitor_pods'
/var/www/miq/vmdb/app/models/miq_server/worker_management/monitor/kubernetes.rb:48:in `loop'
/var/www/miq/vmdb/app/models/miq_server/worker_management/monitor/kubernetes.rb:48:in `monitor_pods'
/var/www/miq/vmdb/app/models/miq_server/worker_management/monitor/kubernetes.rb:22:in `block in start_pod_monitor'
[----] I, [2020-10-05T19:17:15.315059 #8:8017fff928]  INFO -- : MIQ(MiqServer#monitor) Reconnecting to database after error...
[----] I, [2020-10-05T19:17:15.699967 #8:8017fff928]  INFO -- : MIQ(MiqServer#monitor) Reconnecting to database after error...Successful
[----] I, [2020-10-05T19:17:15.700513 #8:8017fff928]  INFO -- : MIQ(EvmServer#monitor) Server Monitoring Complete - Timings: {:server_dequeue=>0.0916588306427002, :worker_monitor=>19.808377981185913, :total_time=>20.286657333374023}
[----] I, [2020-10-05T19:17:21.412568 #8:8017fff928]  INFO -- : MIQ(MiqServer#heartbeat) Heartbeat [2020-10-05 19:17:21 UTC]...
[----] I, [2020-10-05T19:17:21.606795 #8:8017fff928]  INFO -- : MIQ(MiqServer#heartbeat) Heartbeat [2020-10-05 19:17:21 UTC]...Complete

Note, I included this module into a made up TestThisThing class, so you'll see that in the logging below.
Example logging of non-HTTPConnectionError:
[----] I, [2020-10-14T14:40:38.794775 #99395:3ffcf12b6de8]  INFO -- : MIQ(TestThisThing#start_pod_monitor) Started new monitor thread of 3 total
[----] E, [2020-10-14T14:40:38.795169 #99395:3ffcf12b6de8] ERROR -- : MIQ(TestThisThing#start_pod_monitor) Exiting monitor thread after uncaught error
[----] E, [2020-10-14T14:40:38.795314 #99395:3ffcf12b6de8] ERROR -- : [ArgumentError]: Token file /run/secrets/kubernetes.io/serviceaccount/token does not exist  Method:[block (2 levels) in <class:LogProxy>]
[----] E, [2020-10-14T14:40:38.795450 #99395:3ffcf12b6de8] ERROR -- : /Users/joerafaniello/.gem/ruby/2.6.6/gems/kubeclient-4.9.1/lib/kubeclient/common.rb:621:in `validate_bearer_token_file'
/Users/joerafaniello/.gem/ruby/2.6.6/gems/kubeclient-4.9.1/lib/kubeclient/common.rb:93:in `initialize_client'
/Users/joerafaniello/.gem/ruby/2.6.6/gems/kubeclient-4.9.1/lib/kubeclient.rb:27:in `initialize'
/Users/joerafaniello/Code/manageiq/lib/container_orchestrator.rb:88:in `new'
/Users/joerafaniello/Code/manageiq/lib/container_orchestrator.rb:88:in `raw_connect'
/Users/joerafaniello/Code/manageiq/lib/container_orchestrator.rb:75:in `kube_connection'
/Users/joerafaniello/Code/manageiq/lib/container_orchestrator.rb:66:in `watch_pods'
/Users/joerafaniello/Code/manageiq/app/models/miq_server/worker_management/monitor/kubernetes.rb:75:in `watch_for_pod_events'
/Users/joerafaniello/Code/manageiq/app/models/miq_server/worker_management/monitor/kubernetes.rb:63:in `block in monitor_pods'
/Users/joerafaniello/Code/manageiq/app/models/miq_server/worker_management/monitor/kubernetes.rb:57:in `loop'
/Users/joerafaniello/Code/manageiq/app/models/miq_server/worker_management/monitor/kubernetes.rb:57:in `monitor_pods'
/Users/joerafaniello/Code/manageiq/app/models/miq_server/worker_management/monitor/kubernetes.rb:25:in `block in start_pod_monitor'
[----] I, [2020-10-14T14:40:41.798410 #99395:3ffcf12b6028]  INFO -- : MIQ(TestThisThing#start_pod_monitor) Started new monitor thread of 3 total
[----] E, [2020-10-14T14:40:41.798789 #99395:3ffcf12b6028] ERROR -- : MIQ(TestThisThing#start_pod_monitor) Exiting monitor thread after uncaught error

After this, the server would then do it's other work and come back to the code to restart the monitor thread on the next iteration of the monitor loop.
For an expected HTTP connection error:
[----] I, [2020-10-14T14:42:27.422499 #99460:3fd15440ad84]  INFO -- : MIQ(TestThisThing#start_pod_monitor) Started new monitor thread of 3 total
[----] W, [2020-10-14T14:42:27.422600 #99460:3fd15440ad84]  WARN -- : MIQ(TestThisThing#start_pod_monitor) Exiting monitor thread due to [HTTP::ConnectionError]: blah
[----] I, [2020-10-14T14:42:30.427914 #99460:3fd154412660]  INFO -- : MIQ(TestThisThing#start_pod_monitor) Started new monitor thread of 3 total
[----] W, [2020-10-14T14:42:30.428134 #99460:3fd154412660]  WARN -- : MIQ(TestThisThing#start_pod_monitor) Exiting monitor thread due to [HTTP::ConnectionError]: blah
[----] I, [2020-10-14T14:42:33.432603 #99460:3fd15441b0e4]  INFO -- : MIQ(TestThisThing#start_pod_monitor) Started new monitor thread of 3 total

@jrafanie do you know the root cause of the 'Could not parse data' error?  Is it something that we want to be ignoring or indicative of an underlying issue, e.g. we had https://bugzilla.redhat.com/show_bug.cgi?id=1743865 which was caused by short LB timeouts

@jrafanie do you know the root cause of the 'Could not parse data' error? Is it something that we want to be ignoring or indicative of an underlying issue, e.g. we had https://bugzilla.redhat.com/show_bug.cgi?id=1743865 which was caused by short LB timeouts

@agrare in the case of the https://github.ibm.com/IBMPrivateCloud/CP4MCM/issues/13815 we were getting other errors reaching the kube api endpoint soon after those errors so either the api was closing connections or otherwise not allowing connections.
In the terms of this PR, we won't ignore the errors, their error class and message will be logged  as a warning but we suppress the backtrace since it doesn't really matter if we're asking for get_pods or watch_pods or iterating over the watch if the api server is rejecting/closing connections.  We can make them errors and keep the backtrace but the latter seemed doesn't seem useful.  What do you think?

Can we make them errors and not put the backtrace?

Can we make them errors and not put the backtrace?

DONE

@jrafanie Should this be jansa/yes?


Converting ReactStarter API and Admin to mySQL + Tomcat

Hi Broadleaf guys,  I am currently working with the ReactStarter and converting it to use mySQL and Tomcat for the Admin and API applications.  I am finding that the site/pom structure of the React Starter is a little different from the regular Broadleaf Demo and running into some issues.  After I get through these steps I plan on writing up some detailed instructions that I can commit back to you guys for the community.
Basically what is happening at the moment, that when building in IntelliJ for some reason Apache Solr blows up.  I have the mySQL tables connected in IntelliJ and I can view everything.  I will post the error from Solr below, and then all the steps I have done thus far (I am assuming that the /site directory plays no part at all in configuring, as it is served with webpack/node)
First Question

I see in the build for admin that the site starts Tomcat.  Was wondering if you guys already ported this code over to use Tomcat as the default instead of Jetty?

Tomcat initialized with port(s): 8444 (https) 8081 (http)
Starting service [Tomcat]
Starting Servlet Engine: Apache Tomcat/8.5.27

*** Solr ***
The problem is mostly likely related to me improperly configuring mySQL The error is part of a long java stack trace:
Not found in 'org.owasp.esapi.resources' directory or file not readable: /Users/rgeisman/Development/broadleaf-react/admin/ESAPI.properties
*** Steps I took in setting up mySQL ***
The root pom.xml actually doesn't have a reference to the HSQL database like the regular Heat Clinic demo does.  The exporting of the schema fails until I add it.  The instructions differ also between the Heat Clinic Demo and just the general moving to mySQL instructions.   These are the steps I have taken so far:

Added mySQL connector to root pom.xml

<dependency>
     <groupId>mysql</groupId>
     <artifactId>mysql-connector-java</artifactId>
     <version>5.1.46</version>
     <type>jar</type>
     <scope>compile</scope>
</dependency>

In both of the pom.xml files for /admin, and /api I added:

<dependency>
    <groupId>com.broadleafcommerce</groupId>
    <artifactId>broadleaf-boot-starter-database</artifactId>
    </dependency>
    <dependency>
    <groupId>mysql</groupId>
    <artifactId>mysql-connector-java</artifactId>
</dependency>

In the common-shared.properties file at core/src/main/resources/runtime-properties I added the mySQL connectors and commented out the HSQL ones:

blPU.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
blCMSStorage.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
blSecurePU.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
blEventPU.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect

In the common-shared.properties file at core/src/main/resources/runtime-properties I removed the settings that cause mySQL errors:

blPU.hibernate.hbm2ddl.import_files_sql_extractor=org.broadleafcommerce.common.util.sql.importsql.DemoHsqlSingleLineSqlCommandExtractor
#
blSecurePU.hibernate.hbm2ddl.import_files_sql_extractor=org.broadleafcommerce.common.util.sql.importsql.DemoHsqlSingleLineSqlCommandExtractor
# blCMSStorage.hibernate.hbm2ddl.import_files_sql_extractor=org.broadleafcommerce.common.util.sql.importsql.DemoHsqlSingleLineSqlCommandExtractor
# blEventPU.hibernate.hbm2ddl.import_files_sql_extractor=org.broadleafcommerce.common.util.sql.importsql.DemoHsqlSingleLineSqlCommandExtractor

Next, In the common-shared.properties file at core/src/main/resources/runtime-properties I added my database connection properties:

# your local database username, just a user that has readwrite permissions
database.user=rgeisman
# local database password
database.password=***********
database.driver=com.mysql.jdbc.Driver
# this connection URL assumes that it is connecting to a schema called broadleaf
database.url=jdbc:mysql://localhost:3306/broadleaf?useUnicode=true&characterEncoding=utf8

Installed mySQL on my local machine, with a user as rgeisman, and granted all privileges, and also created a database called: broadleaf

Then in my ~/rgeisman directory, I created a file called .my.cnf Inside the file I placed these contents:

[mysqld]
lower_case_table_names=1
character-set-server=utf8
collation-server=utf8_general_c

When I set up the database configuration in IntelliJ to look at the tables, it requested that I needed to download the connector.  So I did.  The connector .jar file 5.1.46 matches the version in the root pom.xml.  I then tested the connection in IntelliJ and it is successful.

I don't think I am missing anything...  but both the /admin, and /api fail to build when relating to Solr.  All the tables are created in MySQL.  Any hints guys?  Like I was saying, after I get it all ironed out I can write some detailed instructions to contribute to the React/Broadleaf initiative.  It's amazing.
*** An observation ***

If I do mvn spring-boot:run in the /api, or /admin directory, I get a different set of errors than when running the build configuration in IntelliJ (perhaps I have only the JDBC configured in IntelliJ, but this may be a lead:

2018-10-19 14:32:18.296  WARN 8300 --- [ost-startStop-1] o.a.tomcat.jdbc.pool.PooledConnection    : Not loading a JDBC driver as driverClassName property is null.
2018-10-19 14:32:18.310 ERROR 8300 --- [ost-startStop-1] o.a.tomcat.jdbc.pool.ConnectionPool      : Unable to create initial connections of pool.

java.sql.SQLException: The url cannot be null

Have successfully converted over to mySQL and documented.  Tomcat next with .WAR deployment for /core, /admin, and /api

Have successfully converted over to generating WAR file with standalone tomcat instance.  Compiling instructions.

Have successfully generated full broadleaf React environment running inside a Vagrant Ubuntu Box.  Compiling instructions for vagrant box setup and port forwarding.


Simple fix to the recommendation/bookmark confusion

Suggestion: Change the icons for either or both these concepts.

Use the user-check FontAwesome5 icon. See zeplin: https://zpl.io/beLgK1W (ignore the stars at the bottom)


Showing multiple tags for a location - one of which is the wrong location

Have a bug here in Kanata, Ontario, Canada.
The tag ("1") has the right store name (Loblaws), but the address is for a different store (WalMart), which is many kilometers away. I see why, the Canadian Postal code is wrong (K2T 1B6 is wrong. The postal code should be K2S 1B6 (T->S)). Looks like incorrect information somewhere in the data.
The tag ("2") is correct (store, address, etc.)
Attaching screen shots with "1" and "2" identified

Thank you for report me this issue.
I will dig into it and let you know.


Services Channel Autopilot

I got some coins in my wallet and I wanted to activate the channel autopilot. But everytime I hit enter, I got the following screen:

I also did a restart. Maybe I read the documentation wrong, but do I need to open a channel first?
Regards,
Max

did you used space before enter to activate autopilot?
Am So., 17. Feb. 2019, 11:43 hat Max<EMAIL_ADDRESS>geschrieben:

I got some coins in my wallet and I wanted to activate the channel
autopilot. But everytime I hit enter, I got the following screen:
[image: screenshot 2019-02-17 at 11 41 30]
https://user-images.githubusercontent.com/39312833/52911789-1b46d700-32a9-11e9-915e-253c0aa3b283.png
I also did a restart. Maybe I read the documentation wrong, but do I need
to open a channel first?
Regards,
Max
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rootzoll/raspiblitz/issues/325, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACW5IcF3QiTHLG2iQNcScN-Tor_XJag2ks5vOTJJgaJpZM4a_fQ5
.

wow, can't tell ya how dumb I feel now...

You were not the first reporting this .. added more text info about that in
coming v1.0 release.
Am So., 17. Feb. 2019, 13:08 hat Max<EMAIL_ADDRESS>geschrieben:

Closed #325 https://github.com/rootzoll/raspiblitz/issues/325.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/rootzoll/raspiblitz/issues/325#event-2144655915, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACW5IaNelAs3az01IgotPoQL008eEnbxks5vOUZUgaJpZM4a_fQ5
.


Mechanism for using static library on Android?

I can install my dynamic library libopus.so into my Flutter project by placing it in the android/src/main/jniLibs/arm64-v8a folder.  That works fine and DynamicLibrary.open() finds it.
However, if I try to use a static library, "libopus.a" that fails.
Where do I put the ".a" file on Android?  And how do I lookup the symbol?
This is the Dart/Flutter code I am using:

final DynamicLibrary lib_opus_native = DynamicLibrary.process(); // This fails on symbol lookup
//final DynamicLibrary lib_opus_native = DynamicLibrary.open("libopus.a");  // This fails immediately
//final DynamicLibrary lib_opus_native = DynamicLibrary.open("libopus.so");  // This succeeds but is pulling in dynamic not static

final int Function(int channels) opus_encoder_get_size = lib_opus_native
    .lookup<NativeFunction<Int32 Function(Int32)>>("opus_encoder_get_size")
    .asFunction();  // This worked for the dynamic library

Thanks.

Hi @buzmeg
It seems you are asking for assistance on personal code. Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you

Perhaps.  But you will note that the case of "Static Library For Android" is missing from:
"Binding to native code using dart:ffi"
https://flutter.dev/docs/development/platform-integration/c-interop
And, having already looked rather extensively through both Google and StackOverflow, it seems like nobody who asked this question actually got any solution.
At minimum, this is a documentation fault.  At maximum, this can't be done and is a genuine bug.
I know that I certainly don't have enough knowledge about Flutter to determine which category this falls into.
So, I'd at least like this issue to stay open until we determine this much.
Thanks.


Multiprocessing: cut down class computation times

Investigate multiprocessing and/or other multithreading options to optimize class compute time

cannot implement without if __name__ == 'main' guard clause due to Python GIL.


Generation of docs in Gitlabs CI/CD docker image does not work

Hi Timothy,
Sorry bothering you again. I try to setup a CI/CD pipeline on Gitlab to automatically generate the docs as_html output. However, it does not work with the error:
"Auto generating reference documentation using pdocs
Error import src/rero/init.py: no module named 'rero' ".
The generation of the docs works locally on my PC with the same settings but not in the docker image setup by Gitlabs CI/CD image. The module i try to document is located in ./src/rero and i set this up in the .toml file as
[tool.portray]
modules = ["src/rero"]
It seems to me that the copy process to the temporary folder does not work... but i am not sure. Is there a possibility to switch the generation of a temporary folder off?

Solved it! My own fault, I forgot to install the module in the docker image (which is required since pdocs reads the doc strings from the installed module).

@PanRe Glad you were able to solve it! Sorry I didn't get back to you sooner, was busy finishing up my next project: https://timothycrosley.com/

Hi Timothy,
Never mind! You are highly productive as it seems. Nice projects!


How to enable on SysV?

It doesn't show up on the services list, and I'm pretty new to SysV, I would appreciate it if somebody gives me instructions for enabling ly on SysV

You'll need to write a service script for it

so basically make the script /etc/init.d/ly
and in ly put #!/bin/bash sudo ly exit 0 is what i did?

Any update on this? I would like to write a service for Venom Linux that uses SysV


No module named 'pyfiglet'

Hello I have some problem to run DNSWatch.
/usr/local/lib/python3.10/site-packages/scapy/layers/ipsec.py:471: CryptographyDeprecationWarning: Blowfish has been deprecated and will be removed in a future release
  cipher=algorithms.Blowfish,
/usr/local/lib/python3.10/site-packages/scapy/layers/ipsec.py:485: CryptographyDeprecationWarning: CAST5 has been deprecated and will be removed in a future release
  cipher=algorithms.CAST5,
Traceback (most recent call last):
  File "/home/myuser/github/DNSWatch/dnswatch.py", line 8, in <module>
    from source.dnsfiglet import dnsfiglet
  File "/home/myuser/github/DNSWatch/source/dnsfiglet.py", line 1, in <module>
    import pyfiglet
ModuleNotFoundError: No module named 'pyfiglet'

I tried to install pyfiglet with $ pipx install pyfiglet but seems that the script is not callable as module:
$ pipx install pyfiglet
  installed package pyfiglet 1.0.2, installed using Python 3.10.14
  These apps are now globally available
    - pyfiglet
done! ✨ 🌟 ✨

and
$ python3.10
Python 3.10.14 (main, Apr 13 2024, 11:52:53) [Clang 16.0.6 ] on openbsd7
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyfiglet
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'pyfiglet'

but exist as program
$ pyfiglet "Hello World!"
  I don't know why it's blocked even as normal user that should not make any conflicts. It only works pipx, but with pipx I can't install libraries.

Ok I solved installing it on virtualenv.

Hello, if I run as user it works, if I run as root does not work.
But if I run as user doesn't work because scapy wants root, but if I run as root does not work because root has not figlet installed. Can I bypass figlet ?

Frankly, I have never encountered such an error before, but if you have coding knowledge, you can of course easily remove figlet, and if you want, you can join our discord server
https://discord.gg/productionbrain

it's a bit more complicate because I'm openbsd and seems a bit different. I run dnswatch with doas that is something like sudo on *bsd and can't see pyfiglet installed. So I installed sudo and now it works.


Change default user

Please describe your issue:
How to I change what user is the default user?
What do I mean by that?
Right now, when I run sudo startmate, it starts Ubuntu MATE as qaqak (My default user).
How do I change it so that when I run sudo startmate, Ubuntu MATE starts as root

The startmate script & the mate desktop are not standard crouton built-in scripts or targets so I can't answer that without knowing more about your startmate script. But, all sanctioned crouton start* scripts support the -u [USERNAME] option, see below:
startlxde -h

enter-chroot [options] [command [args...]]

Enters an installed Debian-based chroot for running alongside Chromium OS.

By default, it will log into the primary user on the first chroot found.
You can specify a command and parameters to run instead of an interactive shell.

Options:
    -b          Fork and run the specified command silently in the background.
    -c CHROOTS  Directory the chroots are in. Default: /mnt/stateful_partition/crouton/chroots
    -l          Make the command part of a login. Parameters are passed directly
                to the chroot command, and a call to su is appended.
    -k KEYFILE  Override the auto-detected encryption key location.
    -n NAME     Name of the chroot to enter. Default: first one found in CHROOTS
    -t TARGET   Only enter the chroot if it contains the specified TARGET.
    -u USERNAME Username (or UID) to log into. Default: 1000 (the primary user)
    -X XMETHOD  Override the auto-detected XMETHOD for this session.
    -x          Does not log in, but directly executes the command instead.
                Note that the environment will be empty (sans TERM).
                Specify -x a second time to run the /prepare.sh script.

So if your start script follows that scheme then just append -u root on the command-line when you launch your desktop.
Big warning here though: It is NOT a good idea to launch your desktop as root, bad things can happen with permissions that are not easily undone.
Hope this helps,
-DennisLfromGA

This is the article that I used
I needed to login as root so I could update the system
How do I give user qaqak root permissions?
PS. The startmatescript stopped working because of /bin/sh 0: Illegal operator: -`, so I am trying to use Ubuntu Eoan.
Thanks for the help!

Eoan did not work. I am using the article again, but the error came again
Closing issue


Compare different approaches

Hi Vesa,
Long time ago I asked @mausch if we can add Lenses to F#+ and he told me he was more interested in Polymorphic Lenses.
Last year I was researching this area and came up with a similar solution which I added to F#+.
I need to analyse in detail what's the difference with your solution but I think you avoided to use a generic map by using a single Functor which combines both ID and Const whereas I used map and also the Profunctor abstraction from FsControl but later I found that from Profunctor the most used instance is the one for functions so I simplified it a bit.
I wonder if we can join forces and come up with a reasonable solution for this type of optics. What do you think?

I'm happy to discuss ideas!  I'm not yet happy with the results (in this repository) and my understanding of the topic.
I think you articulated one of the basic ideas exploited here correctly.  The other idea was to eliminate higher-rank polymorphism using mutation.  The idea has been to try and see whether types that are not well supported in F# could be eliminated using alternative approaches.  It should be possible to do a more or less "faithful" encoding of the Haskell approach (e.g. Higher), but it becomes quite complex and possibly expensive (object allocations and virtual functions).

I agree that it will be nice to eliminate or at least reduce the higher order types simulated through member constraints. If you take the approach of Higher you would move the overhead from compile-time to run-time, if you ask me I would prefer to keep it at compile time.
Regarding the compile-time performance I think the F# compiler still has room to improve it but also noted that if you use the |> operator it helps type inference a lot.
The other problem I faced was that the Lens Haskell library is huge and I wanted to keep it simple.
Another problem still not solved is how to abstract over folds while keeping it optimal, I mean not having to traverse the whole structure if it's not necessary, which in Haskell happens naturally.


Get-Help could not find about_SnipeitPS in a help file in this session

When I type Get-Help about_SnipeitPS as suggested in the Readme file I get this error:
PS> Get-Help about_SnipeitPS -Verbose
Get-Help : Get-Help could not find about_SnipeitPS in a help file in this session. To download updated help topics type: "Update-Help". To get help online, search for the help topic in the TechNet library at https:/go.microsoft.com/fwlink/?LinkID=107116.
At line:1 char:1
+ Get-Help about_SnipeitPS -Verbose
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ResourceUnavailable: (:) [Get-Help], HelpNotFoundException
    + FullyQualifiedErrorId : HelpNotFound,Microsoft.PowerShell.Commands.GetHelpCommand

I'm using version 1.4.125 of the module with powershell 5.1
PS> Get-Module
ModuleType Version    Name                                ExportedCommands
---------- -------    ----                                ----------------
Script     1.4.125    SnipeItPS

PS> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.19041.906
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.19041.906
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

Yes,
I did run Update-Help, both as a standard user and as admin: I get a couple of errors, but they are not related to this module.

It seems  build process does not currently create help files correctly.


django_irods reference

@pkdash - This should have the updated pre download file signal required for your branch. Feel free to merge if all looks good and passes the Jenkins tests.

+1


Limit xray-fuzz input to reasonable size.

Commit Message: Limit xray-fuzz input to reasonable size.
Additional Description:
The fuzzer's input size is now limited to 4k to prevent timeouts
due to asan overhead.
Signed-off-by: Andre Vehreschild<EMAIL_ADDRESS>Risk Level: Low
Testing: n/a
Docs Changes: n/a
Release Notes: n/a

@adisuissa , @yanavlasov and @mattklein123 here is the fix as aggreed upon.


Bug: Get "Cluster already exists" when adding cluster with similar chars

When adding a cluster that contains the same characters of an already existing cluster BUT ALSO  is shorter in length than the already existing cluster the user is unable to create the new cluster. Confusing right???
Example:
If a cluster FOOBAR already exists and the user wants to create any of the following clusters:
F
FOO
BAR
AR
B
or any of those chars....
the user will NOT be able to create the cluster
but if the user enters BARBAZ or a cluster with the same chars that is equal too or greater than the string FOOBAR in length it will work as intended.

Problem is occurring in proc OST_CHECK_IF_CLUSTER_EXISTS. It seems that using strings.contains() the way that I am is causing the issue. Not too sure. Fun stuff...........

Fixed in https://github.com/Solitude-Software-Solutions/OstrichDB/commit/becec12ea7325104f2f27f627c3ccf6abbc978ef on development branch. Forgot to checkout bug fix branch but not a big deal


Add vm_ready_time and vm_start_time to vm_image_age_receiver.

This PR refactors the vm_image_age_receiver to be more generically the vm_age_receiver, which exports metrics relating to time (VM image age, VM ready time). The way that the new metrics are calculated and exported is similar to vm_image_age: the sidecar starts with two files passed in with data about the VM start time and ready time (which were recorded during VM startup), and the sidecar reads these files to write the metrics to Stackdriver.

This PR has now integrated the file renames so that the diffs are properly showing. It is ready for review.


simpNF should use dsimp for lemmas proved by rfl

The @[simp] attribute is used by both simp and dsimp, so it is possible for a rfl lemma to have a proof by simp but not one by dsimp, and so this is a false positive. The linter should check if the current declaration is a rfl lemma and if so restrict its attention to dsimp proofs.

I've just updated the links in mathlib4 pointing to mathlib4#5081 to point to this issue instead.
This link searches for references to this issue in the mathlib4 source code.


Make error type compatible with anyhow lib

Adding additional constraints for Error type would allow to easily convert from bracket-lib::Error to anyhow::Error like so:
    let context = BTermBuilder::simple80x50()
        .with_title("Title")
        .build()
        .map_err(|e| anyhow!(e))?;

I had to apply the same change to Berror (helper type), but otherwise it works. Merging. Thanks!


[BUG] Space Station Assembler cant build

[Please fill out the form below and delete the sections in square brackets after reading them]
Version of Advanced Rocketry
1.7.0.-231
Have you verified this is an issue in the latest unstable build
N
Version of LibVulpes
0.4.2-75
Version of Minecraft
1.12.2
Does this occur without other mods installed
N/A
Crash report or log or visualVM (if applicable)
no crash
Description of the problem
the space station assembler can not seem to detect any blocks on the launch pad

building just deletes the items

Why is this important?
If we cannot reproduce the problem, we probably cannot fix it at all.]

So either this is intended, as it may just happen outside of the overworld, or is fixed by dim switching.

Try making the pad bigger?


Gallery page shows more images than on assets folder

Hi,
I have an issue with the gallery page on my organizations web (https://thefluxions.github.io/gallery). It shows the pics I added to the pexels folder, but I deleted your pics from the folder and still shows. I checked gallery.md file and gallery.html file and still couldn't find the reason why happens.
By the way, it's a great and flexible design.
Thanks so much in advance :)
Originally posted by @buenourbano in https://github.com/sylhare/Type-on-Strap/issues/17#issuecomment-623219707

When I run your website locally I get to see only your two images:

So maybe Github Page does not display the last version, in that case check if you received any message of Github saying so.
Or you maybe you have multiple branches, check which one you choose to be displayed.
If you still have issues, try forking the theme again, or use it as a remote theme 😉

Seems to be fixed, after forking the project, I'll close it 👍

Hi sylhare, yes it worked after fork it again and setting it up. I forgot to write here. Thanks so much!


Map OSD Not Loading into Googles V2 (.bin messages)

My Goggles V2 and DJI Air Unit are on DJI Firmware V01.00.0606

I've rooted my Goggles V2, installed wtfos and installed map osd (I have triple-checked that it's rooted, installed and map osd installed)

I have rooted my DJI Air Unit, installed wtfos and installed map osd (Again I've triple-checked and it's all definitely on there!)

I have connected my FC, checked my ports and MSP is on 'UART2', then went to SLI and typed:
set osd_displayport_device = MSP
set displayport_msp_serial = 1

I have made sure that my OSD settings in Betaflight are all configured correctly by setting the video format to 'PAL' and hit save. (If a disconnect my FC and reconnect all the settings have saved fine)

When booting up my quad and Goggles V2, the map osd isn't loading but I do get some strange .bin messages on the Goggles - I have attached a video of the issue.

I have connected my FC, checked my ports and MSP is on 'UART2', then went to SLI and typed::
set osd_displayport_device = MSP
set displayport_msp_serial = 1
It's worth mentioning that my FC firmware is on BF 4.3.2
Betaflight configurator is firmware 10.8.0
Any ideas on what I can do to get past this issue?!
https://user-images.githubusercontent.com/122650218/212470054-f0a4e65a-1de0-4bdc-a0a6-eff42e0e5cfd.MOV

From your description I can't tell what might be wrong.
The messages you get at startup are normal and indicate that msp-osd is working fine on the Goggles side.
It will be easier to troubleshoot if you join the #osd-support channel on our Discord: https://discord.gg/3rpnBBJKtU
I'll close this ticket for now, if need be please re-open on the msp-osd repo here: https://github.com/fpv-wtf/msp-osd


updated version constraints in docs

IMHO 1.1 is a real requirement now

Yes! Thanks.

@schmunk42 Thanks!


Update build tools version

Contributes to https://github.com/Banno/Grip2-Android/issues/682

:+1:


Airbyte v40

Description
Moving to Airbyte 0.40.9
Also:
Fixes #197
Fixes #288
TODO:

[ ] Add the other sources besides the main 4
[ ] documentation links need to be changed as the IDs are not fixed anymore
docker extension upgrade (separate PR, once the new init is released

Type of change

Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to not work as expected)
This change requires a documentation update

Checklist

[x] Have you checked to there aren't other open Pull Requests for the same update/change?
[x] Have you lint your code locally before submission?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you successfully run tests with your changes locally?

If we plan on upgrading k8s deploy - this needs to be changed as well

If we plan on upgrading k8s deploy - this needs to be changed as well

Fixed


[BUG] Board members avatar size

Description
As a user I should be able to easily identify board members
Current behavior
Text on the user's avatar is too big, should be size 12 instead of 16
Current

Fix

Fixed after #998 🗝


Better Test Runner

Right now we have this TestRunner project which just runs unit tests (https://github.com/nick-thompson/blueprint/blob/master/examples/TestRunner/Source/Main.cpp). The only unit tests we have are a couple of tests on the EcmascriptEngine to verify that our interface on top of Duktape works correctly.
This is helpful, but... not that helpful. I think what would be more useful is the following:

Convert the TestRunner project to CMake (it's not already, I believe)
Write the Main.cpp such that it just spins up an EcmascriptEngine and evaluates a javascript bundle passed to it via args as a CLI (e.g. testrunner path/to/bundle.js) and asserts that there are no errors in evaluating that bundle.
During our CI, we'll cmake build all projects, then run through GainPlugin's npm install/npm run build flow, then finally test that the resulting bundle runs without error in Duktape by invoking our new testrunner GainPlugin/jsui/build/main.js.

The only gotcha here is that we'll have to make sure that BlueprintBackend.js can successfully shim the native functions that we would expect to have been installed by ReactAppRoot (the rendering backend funcs). But, that should be totally doable.

Yeah excellent. I think this will add real power and confidence to the CI checks.

I was thinking about this when dealing with the css macro properties, where unit tests for asserting that a particular string produces a particular matrix would be very useful.  To run unit tests for react-juce through EcmaScriptEngine would be great - i.e. instead of node running something like jest, which will glob for test files and assemble suites, we build a test bundle using webpack and run that with our test runner.  To keep the workflow simple like this (you just write myUnit.test.ts somewhere in the react-juce source and it will get included in the test bundle) I think would be very cool. @nick-thompson do you think that's worth doing and easy enough to do?

I was thinking about this when dealing with the css macro properties, where unit tests for asserting that a particular string produces a particular matrix would be very useful. To run unit tests for react-juce through EcmaScriptEngine would be great - i.e. instead of node running something like jest, which will glob for test files and assemble suites, we build a test bundle using webpack and run that with our test runner. To keep the workflow simple like this (you just write myUnit.test.ts somewhere in the react-juce source and it will get included in the test bundle) I think would be very cool. @nick-thompson do you think that's worth doing and easy enough to do?

Ahh neat, that's a great idea. Yea, I think that sounds easy enough + definitely worth it

Had a proper read of the requests and concepts in here - totally agree with all of it...
I think I have a solid idea on how to tackle all of this with the efforts focused on usability and flexibility.

Excellent @jrlanglois! I think we can split this into two pieces of work: one for the refactor + running the GainPlugin bundle, and then if you want to tackle a follow up pull request for @olidacombe's test bundle that's awesome. That latter one will likely involve some good webpack nudging, which I think is a bit of "scope creep" if we try to fit that all into one effort.
I'll go ahead and assign your name here so as to prevent duplicate work if someone else finds the issue and feels like trying it

A task to add would be changing from the Projucer project to the cmake project.

A task to add would be changing from the Projucer project to the cmake project.

Agreed! 100%


feat: Added routeType type

Description
Added a new user-defined type called routeType.
Updating an existing module

[ ] This is a bug fix:

[ ] Someone has opened a bug report issue, and I have included "Closes #{bug_report_issue_number}" in the PR description.
[ ] The bug was found by the module author, and no one has opened an issue to report it yet.

[ ] I have run brm validate locally to verify the module files.
[ ] I have run deployment tests locally to ensure the module is deployable.
[x] I have read the Updating an existing module section in the contributing guide and updated the version.json file properly:

[ ] The PR contains backwards compatible bug fixes, and I have NOT bumped the MAJOR or MINOR version in version.json.
[x] The PR contains backwards compatible feature updates, and I have bumped the MINOR version in version.json.
[ ] The PR contains breaking changes, and I have bumped the MAJOR version in version.json.

[x] I have updated the examples in README with the latest module version number.

@AlexanderSehr Do you want me to test the change using a deployment?

@AlexanderSehr Do you want me to test the change using a deployment?

Hey @johnlokerse, in general, for any module changes, that would be much appreciated, yes :)

Small trick @johnlokerse  ;)

Can be found in your pipeline via the 3 small ... on the top right

Small trick @johnlokerse ;)
Can be found in your pipeline via the 3 small ... on the top right.
Adding it to your PR description.

That's great! Will do that the next time. Thanks for sharing :)


Easier starting waystones

on a line of three charcoal blocks, a block of enderpearls (which is 4) in the center, and three stone bricks in an arc over that.

Easy enough to implement. I got most of it written, but I can't find the ID for the block of ender pearls to finish the recipe.


Update examples-of-bulk-import-and-export-of-xml-documents-sql-server.md

Added a third example to offer a template for inserting data into a multi-column table.
In this case, the column names for the target table and the results of the OPENROWSET are explicitly indicated.

@DanielAdeniji Thank you. I'll include this in an internal PR. The underlying article is in need of refreshing.

Thank You,
Daniel

From: Randolph West MSFT @.>
Sent: Wednesday, June 21, 2023 9:38 AM
To: MicrosoftDocs/sql-docs @.>
Cc: Daniel Adeniji @.>; Mention @.>
Subject: Re: [MicrosoftDocs/sql-docs] Update examples-of-bulk-import-and-export-of-xml-documents-sql-server.md (PR #9094)
@DanielAdenijihttps://github.com/DanielAdeniji Thank you. I'll include this in an internal PR. The underlying article is in need of refreshing.
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/sql-docs/pull/9094#issuecomment-1601172199, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABAR6DETYE2DFF7ROU5WVVLXMMPSBANCNFSM6AAAAAAZO77OWA.
You are receiving this because you were mentioned.Message ID: @.***>

Upon review, I don't see the need for an entirely new example, because it is an alternative to Example A, with columns specified.
I will add a variation of your code sample under Example A.
Thanks again for your contribution.

Randolph:-
I think Example A lacks broad-based application.
It only covers a single-use code.  That of adding data to a table with a single column.
Example b follows behind on how to update that single column.
Example B updates records where IntCol is 1
WHERE IntCol = 1;
But, none of the examples have IntCol equal to 1.
That is:-

IntCol is not explicitly defined as "not null" column
IntCol is not defined as an identity column

I think setting IntCol to 1 within the insert statement will further readability.
Thank You,
Daniel

From: Randolph West MSFT @.>
Sent: Wednesday, June 21, 2023 9:53 AM
To: MicrosoftDocs/sql-docs @.>
Cc: Daniel Adeniji @.>; Mention @.>
Subject: Re: [MicrosoftDocs/sql-docs] Update examples-of-bulk-import-and-export-of-xml-documents-sql-server.md (PR #9094)
Upon review, I don't see the need for an entirely new example, because it is an alternative to Example A, with columns specified.
I will add a variation of your code sample under Example A.
Thanks again for your contribution.
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/sql-docs/pull/9094#issuecomment-1601221267, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABAR6DCMJ7SFIF3UPPUAZLTXMMRKHANCNFSM6AAAAAAZO77OWA.
You are receiving this because you were mentioned.Message ID: @.***>

I agree setting the INT column as IDENTITY is a good idea, and have done that.


feat: new isolated test 930100-4 (930100 PL1) (Christian Folini)

Status page test. See https://github.com/coreruleset/coreruleset/issues/3351

Confirmed that the test itself works as expected.

Oops: race condition caused an automated 980xxx test to fail. Re-running…

Test passed on second run.
Merging now.


Provide simple instructions for getting development started

Could be as simple as:

Create a venv
Activate the venv
python scripts/dev_setup.py
testall/testall.bat

That's what this is: https://github.com/Azure/azure-cli/blob/master/doc/configuring_your_machine.md

Oh, great! Didn't find that while I was poking around. Is it linked to in a more prominent location in the project that I overlooked?

I don't think so because we assume most people will install it to use rather than develop for it. But we can add it to the main README

Or maybe CONTRIBUTING.md? That way it's still in a top-level file that people who want to contribute can find but it doesn't muck with the README for most users who will just want to use the CLI?

Actually we have an issue for this #889.

Darn, my search didn't find it (sorry about that). I'll close this in favour of the other issue.


[2Xpt] Write unit and integration tests. Team member #3

Write unit tests using Rspec
Write integration tests with capybara gem

Completed


Notification of available update is ok, but second prompt (update ready for installation) never appears

My Setup

Operating System: Windows 10 Version 1909

App Version: 2.17.0 -> 2.17.1 (see below)

Installation type: EXE

[x] I have tested with the latest version

[ ] I can simulate the issue easily

Description
Since a couple of versions (no exact data available), Rocket Chat notifies me that a new version is a available and offers to download and notifies again when it is ready for installation. However, the second notification (ready to install) never comes. I have an unrestricted Internet connection, so there are no restrictions that prevent RocketChat access to the Internet for downloads. I have full admin privileges on my PC. My PC is not a member of a Windows domain, and there are no group policies that could interfere with RocketChat.
Current Behavior
Update is either now downloaded or something fails before the prompt "ready for installation" appears.
Expected Behavior
Update downloads and installs without problems.

When I get the New Version 2.17.1 prompted for installation but when I click on Install update, the new version does not get upgraded and no notification pops up when the installation is ready.
My Windows version - 10
Server version - 2.2.1
Current Rocket.chat version - 2.15.5

The only workaround I've found for the time being, is to just "install" it again with the latest download available.  So:

Quit the Rocket.Chat application (via the systray icon)
Download and install the latest build from rocket.chat/install
Run the installer

Also, this is likely linked to #1399

This has plagued us for a year now- Ever since 2.15.2.  There have been several issues opened up about this and it never seems to get resolved.  If it can't be fixed, then maybe the button/option just needs to be removed?

Please test if the latest release did solve this. If not please reopen the issue or create a new one and tell us. I will be closing this one for now.
Thank you!

I can confirm that this has been resolved!


added on:eventname:undelegated support

@gbj What'd I miss here? I see CI is failing to pull this?

Sorry this is the CI, not you... sometimes it fails because it already has cargo-all-features installed which I haven't quite been able to understand. I'll check out your copy and run the CI.
My only concern has to do with parse_event — I think the requirement to be on:event or on:event:undelegated is too strict. For example, greglibrary:my-event is a valid (and sometimes even recommended) custom event name, which this would panic on.
How about using String::strip_suffix instead, such that any attribute name starting with on: and ending with :undelegated would be force_undelegated, and any other attribute name starting on: is an event that's not force_undelegated?

Sorry, I didn't see the rest of this message, only the CI part!
Yeah, totally fine by me! I didn't know that : could be used in event names!

Alrighty, we should be good to go now.
The only concern I have now is that if the user adds a typo, they won't get the event they want...ideally, we would emit a warning if the name is close, but not exactly sure on how to go about doing this, and the tolerances, on top of not knowing how to support silencing the warning
We can get around this if we add modifiers before on:, so undelegated:on:blah-lah-lah

Great: thanks! Yeah, we can think about how to guard against this kind of typo in general, I guess, but it's a little hard...

It is hard if we do it the way it was committed here, but not if we mave the modifiers before the on keyword.
view! { cx,
  <button undelegated:on:click=|_| {} />

  // This won't compile, because undeligated is not a valid modifier
  <button undeligated:on:click=|_| {} />
}

Well it's a little awkward because undeligated:on:click is a valid HTML attribute name, right? So we'd have to make the choice that any attribute name that contains :on: can only be an event listener with modifiers.

That is a very good point...we don't have many parsing options for this, as syn-rsx is currently limitted here :(
we could potentially create our own parsing logic with the following syntax, because syn-rsx supports arbitrary expressions within {} on attribute positions, but it looks ugly, imho
view! { cx,
  <button {on:click|undelegated} />
}

or whatever other syntax we would want

Actually, now that I come to think of it, on:eventname is also a valid attribute...I say it may be fine to assume :on: in an attribute means it's an event listener. The user can always add it the attribute in manually if this is not the case.


Single-line TextFields allow multi-line text

Steps to Reproduce
On all platforms

Select text that includes a newline and copy it.
Paste into a single-line text field. e.g., the Name field in the Gallery Text fields demo.

Text overflows down the screen. Expected behaviour is that the text is inserted with newlines replaced with spaces.
On iOS only

Open Flutter Gallery on an iOS device and open the Text fields demo.
Tap in the Name field. Keyboard pops up.
Tap the return key.

A newline is inserted. For single-line textfields, we should probably set returnKeyType to UIReturnKeyDone.
Flutter Doctor
[✓] Flutter (on Mac OS X 10.12.4 16E195, channel master)
    • Flutter at /Users/cbracken/src/flutter/flutter
    • Framework revision c12c019bcc (3 hours ago), 2017-04-11 13:48:04 -0700
    • Engine revision 5d9a642257
    • Tools Dart version 1.23.0-dev.11.6

@cbracken are you still the right owner for this (I know I've asked you to do many other things). :)

If someone else can grab this, I'd be forever grateful. If no one gets to it before I'm done with current commitments, I'm happy to take a look.

The yak farmer in me thinks whether we should just bite the bullet for the broader problem now. Filed #9515.
returnKeyType is an easy independent fix though

Agreed. There are several other related behaviours that all trace back to lack of validation in text fields:

can paste text into fields that specify a numeric keyboard (phone number)
can paste newlines into single-line fields
can type insert newlines into single-line fields
etc.

Seems like this doesnt' block M2?

main() {
var multiline = "Flutter\nrocks";
var singleline = multiline.replaceAll("\n", " ");
print(singleline);
}


Cleanup regex_expressions.rs to remove _regexp_match function

Which issue does this PR close?
Closes #9106
Rationale for this change
Code cleanup.
What changes are included in this PR?
Code removal, minor code cleanup, toml file updates.
Are these changes tested?
Yes
Are there any user-facing changes?
No.

Thank you @Omega359  and @viirya  🚀


requirement xtcocotools>=1.6

hello:
when I run this command "pip install -r requirements.txt",I encountered the error as bellow:
ERROR: Could not find a version that satisfies the requirement xtcocotools>=1.6 (from -r requirements/runtime.txt (line 11)) (from versions: none)
ERROR: No matching distribution found for xtcocotools>=1.6 (from -r requirements/runtime.txt (line 11)).
I checked that xtcocotools rely on mmpose. can help me how to solve this problem?

Is this a windows training problem?,do you solve it?


Regarding wifi adapter and metasploit

Sir I am unable to connect the wifi adapter to the pwn phone
I don't understand how to connect can you please guide how to connect the wifi adapter to the phone
Sir and also my metasploit is not working it's giving me an error i am not able to solve it

first, check whether your phone has Broadcom's wifi chipset or not? if yes, you can use monitor mode on your phone's internal wifi chip.. but if you want to use a wifi adapter then obviously use one that supports monitor mode.. connect it with your phone using OTG cable then turn on monitor mode iwconfig wlan1 mode monitor. that's it.. you are good to go.. I use TP Link wn722n version 1 and works very well.
kindly share the error logs of metasploit.. i think your metasploit installation didn't go very well try to re-install and also re-install ruby as well.

@thehackingsage Does not connect, you need some drivers or software to make the external WiFi adapter connect to the phone, and no one knows how to install it.


Merge to core repo clone

@luccalb We've had a look at the code and are happy to see great progress. One point is we want to discuss is the current folder structure for the components. We can use our session tomorrow to go through this and we would love to see a demo of some of the functionalities.

TODO: Move everything from data_wranglers into monitoring/data_manipulation

The folder structure was fixed here: https://github.com/amosproj/amos2024ws01-rtdip-data-quality-checker/pull/81

@TugceOzberkYener @Amber-Rigg all changes should now be present in this PR. Could you check again if your comments have been resolved and approve the PR if that's the case?


CRUD for items in Ember

This is very much a work-in-progress, there are no Ember tests yet and all help is greatly appreciated.

[x] List of items
[ ] Pagination
[ ] Show item details (none are available yet, but anyway)
[ ] Delete an item
[ ] Create a new item

@rachid @RoelN @eirvandelden @bazzel feel free to check out the feature branch, your code, input and help is greatly appreciated!

@ariejan Do you want to add pagination by default instead of waiting until we actually need it?

The API does not support it yet, but I don't think downloading the entire set of items is a good idea. Maybe endless scrolling, or some other solution is also possible. We might just leave it for this PR.


Upping mhctools dependency version, also topiary version for release.

This change is

Coverage remained the same at 91.566% when pulling 910b04a796f8c713706cea029fabaca86beedffa on update-mhctools-version into ec81e75b8860401c9f808d599430757216687912 on master.

Coverage remained the same at 91.566% when pulling 33303220abdc006946cecd3accea92ab64c9d0e2 on update-mhctools-version into ec81e75b8860401c9f808d599430757216687912 on master.


Use keyword arguments when decorating request_response

This fixes Ruby 2.7 'Using the last argument as keyword parameters is deprecated' warnings. More: https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/

Hi @asux, thanks for submitting this. We'll take a look and get it merged in soon.
Are you using this fork over the main GCR repo? If others are finding this useful I will aim to get our changes merged in.

Hi @qnm, yes, I use this branch in our project. I use fork from your repo.

@qnm I split these changes with separate PRs #2, #3. You may merge them if looks useful to you.


Make StopPodSandbox RPC idempotent

Similar to sandbox removal, the stop of a sandbox should be a noop if the sandbox has not been found.
Found during: https://github.com/kubernetes-sigs/cri-tools/pull/1535

/cherrypick release/1.6

/cherrypick release/1.7


X509Certificate Extension / AsnEncodedData

I don't know if the powershell github repo is the right place for this bug.
I choose the powershell Repo, because i have the problem with powershell.
i use powershell.core on debian linux at an lxc container.
The Host for the lxc is proxmox 5.4-13 wich is basend on debian stretch with an customized kernel.
the lxc container is debian 9.12.
the installed powershell version is:

The issue is a difference behavior with the "System.Security.Cryptography.AsnEncodedData" object between windows and linux.
the reference windows client is an windows 10 1909 with powershell 5.

i confirmed the windows behavior on multiple windows server os from windows 2012r2 upwards.
on windows, when i use the format method of an System.Security.Cryptography.X509Certificates.X509Extension with the oid <IP_ADDRESS>.<IP_ADDRESS>.1the output is an string with all enumerations of the oid.

when i make the same format on the powershell for linux, i only get the first enumeration of the oid

the powershell commands to reproduce the issue:
$Cert = [System.Security.Cryptography.X509Certificates.X509Certificate2][X509Certificate]::new((iwr http://cert.stg-int-x1.letsencrypt.org/).Content)
$Cert.Extensions.Item("<IP_ADDRESS>.<IP_ADDRESS>.1").format($true)

if you need futher information please let me know, or if its the wrong github repo.
Regards
Chris

It looks like .Net Core issue. Please move the report to .Net Core Runtime repo https://github.com/dotnet/runtime


public BWS is down? "couldn't fetch unspent output"

Hi,
I'm getting this error from Copay wallet.
is the server down?
Thanks

Same here

This was for testnet only, bitcoind instances went locked with
"Safe mode: Warning: The network does not appear to fully agree! Some miners appear to be experiencing issues.

it is fixed now.

Again same issue.
Request
curl -H "Content-Type: application/json" -X POST -d '{ "addrs": "2N6rBp9SEocRzZZig89AXS9PSr3SMhRns" }' https://test-insight.bitpay.com/api/addrs/utxo

sometimes returns Server not yet ready. Sync Percentage:NaN

@troggy That one (https://test-insight.bitpay.com/api/addrs/utxo) is not the BWS server, but the public insight testnet insight. Those are not related. Anyways, the public testnet Insight server is up now, you can check the status at:
http://stats.pingdom.com/dm8bfk2t3v6b

@matiu Yes, sorry.. I knew that it's Insight. Next time will raise the issue in Insight repo.
Anyway, can you please confirm that the following is working for you?
curl -H "Content-Type: application/json" -X POST -d '{ "addrs": "2N6rBp9SEocRzZZig89AXS9PSr3SMhRns" }' https://test-insight.bitpay.com/api/addrs/utxo

It works from time to time for me.

there is a load balancer in top of that api, one of the backend server was
still syncing. If is fixed now. Thanks for the report.
On Mon, Aug 3, 2015 at 11:02 AM, Kosta Korenkov<EMAIL_ADDRESS>wrote:

It works from time to time for me.
—
Reply to this email directly or view it on GitHub
https://github.com/bitpay/bitcore-wallet-service/issues/230#issuecomment-127250244
.

--
Matías Alejo Garcia
@ematiu
Roads? Where we're going, we don't need roads!


QuestionPool questions should be soft deleted

Currently deleting a question from the question pool table will cascade and delete all question evaluations referencing that question. The delete endpoint should soft delete questions by setting a field is_deleted to true, so existing evaluations are not affected but the question no longer shows up in searches. This will also require filtering search results for questions to ignore entries with is_deleted = true.
This may also apply to some other tables.

Should this be applied to other domains as well?

I agree for soft deletes because we will want to run reports.
Suggestions for other domains?

I think it is important for subject as well for the same reason. For other domains it's more optional. There won't be any side effects of hard-deleting an evaluation since only the question evals and comments depend on it, not the trainee or batch. Deleting a trainee or a batch would cascade delete all evaluations of that person/batch, but that also makes sense. I think it would just be a question of whether we want to permanently delete trainees/ batches/ evals or just hide them.

Soft delete all domains.

I agree with @eeolivas.
Soon we'll have security and every request will have to have a JWT. We could provide a hard delete option for higher privileged requests.

Are we still looking at being able to hard delete on higher-level requests from the API? Re-worked Person domain for soft CRUD- which means all hard-deletes would have to be done from the DB itself.
I may wait for security to be merged,  so I can allow hard-deletes from the API - if that is how we want to go about it. Your call @tjkemper & @cmatheny .

I think it'd be okay to work on both soft and hard delete functionality before security is finalized.
If we clearly separate the endpoints, it should be straightforward to further secure the hard delete endpoints.  For example, keeping the hard delete endpoints in their own controller.


Fix link to vendoring deps

Link was broken to vendoring deps.
Signed-off-by: Steve Sloka<EMAIL_ADDRESS>

Other links in same file are broken. See PR #319. Having issues atm getting the syntax right for both gh-pages and links in repository files. Tracking down, please hold.

OK, cleanest approach (not the fix in #319), is different from the one in this PR. And in fact, this PR would break the gh-pages docs site next time we generate it. I have a reliable fix for this and some other broken links in another commit (needed to test on site and GH), so if it's OK with y'all I'll close this one, add some more commits to fix more links in my branch, and then submit another PR.

I don't want to break other items like docs, so we can close, no problem. =)


Why the Vector Map Builder didn't work like the introduction video?

I used that tool. But I found that when I imported my PCD file, it didn't work like that video.
Tool: https://tools.tier4.jp/feature/vector_map_builder/
Video

Mine

I want to know how to solve the problem. Thanks.
Mouri.

Thanks for using Autoware and for your question. However the issue tracker is for posting confirmed bugs and feature requests.
We ask that you please ask questions on the Autoware Discourse category following our support guidelines: https://github.com/CPFL/Autoware/wiki/Support-guidelines. Please pay particular attention to the information we ask you to provide.

fwiw, using a tool like pcl_convert_pcd_ascii_binary to convert the pcl file to binary or ascii solves the issue.


Practitioner Guide Topic (1 - 3 words)
Responsiveness
Primary Metrics (2 - 4 metrics)
Change Request Closure Ratio, Time to First Response, Time to Close
Why is this topic important? How will this help people improve their open source project and / or community? Who will benefit from this guide?
Responsiveness metrics are important for new contributor recruitment and retention of existing contributors. Contributors can become discouraged when they don’t receive a timely and appropriate response to a contribution but can be encouraged when they get a quick and helpful resolution to their contribution. When projects are responsive, it can make people want to contribute more or continue contributing. Timely, thoughtful, and kind responses to contributors indicate that you appreciate their work.
Responsiveness can also impact overall project operations, especially regarding change requests (pull requests / merge requests). The longer a change request sits around without being merged, the more merge conflicts accumulate to the point where it may become too difficult or impossible to accept. Sometimes, a contribution may never be included due to incompatibilities, conflicts with overall project direction, or other considerations. In those cases, it’s better to let someone know in a kind and thoughtful manner why their contribution won’t be accepted rather than keep them guessing and increase their frustration with a lack of response. You can reduce technical debt, decrease maintainer workload, and improve contributor retention by being responsive and keeping up with contributions.
How would you like to see this guide developed?
I have the experience and time available to write the first draft
Additional Notes
This is already started. You can find the WIP document at https://docs.google.com/document/d/1bRe7m-kIr208H_MaubbU87QIJZJ18wc_g0mN_cEXO_c/edit

We have a solid first version of this guide that people can continue to review.

This has been published. Future suggestions / can be made as PRs on https://github.com/chaoss/wg-data-science/blob/main/practitioner-guides/responsiveness.md

Here's an academic paper that can help support this: https://arxiv.org/pdf/2304.08426


Underconstrained div and mod

When we compute div and mod we use the non-deterministic equation a = b.div + mod, and we constraint mod < b. However, in the field we can easily (if non-zero b) compute div = (a - mod)*inv(b), then an attacker could choose any mod he wants, and set div as before. What is wrong? We also need to check div and mod are u64, and this check is lacking in the old circuit.
Implement a gadget that attests correct u64 range showing a non-deterministic 64-bit decomposition.

This must also be fixed in the old circuit.

No longer relevant in LEM


Fix require() typo

Approved. Can we edit the title to match the commit guidelines, like style: fix require() typo or something like that?


Spot prices for GPU instances in pipeline

Need to incorporate spot instance pricing > now available for GPU instances!
Example of spot price retreival code:
https://github.com/arithmetric/awespottr

Spot prices work - just need to incorporate restarting if job is killed


fixing api-luna to api

api-luna does not exists or is not public

Docs Build status updates of commit 579003c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-365/security/defender-endpoint/get-remediation-exposed-devices-activities.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 3765616:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-365/security/defender-endpoint/get-remediation-exposed-devices-activities.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


reload! - undefined method

Using pry-rails (0.1.2) causes reload! to no longer work in Rails 3.2. with Ruby 1.9.3.
If I remove the pry-rails gem and use irb, it works as expected.
Exact Message:
Loading development environment (Rails 3.2.0)
[1] pry(main)> reload!
NoMethodError: undefined method `reload!' for main:Object
Thanks,
Scott
P.S. I also noticed the app variable is no longer available.

same problem.  please document a workaround or add these helpers.  Thanks.

A short term fix is to do this in the console:
self.send(:include, Rails::ConsoleMethods)
I have a pull request coming which does this as well....although it feels a little dirty.

Is there a way to add this to the 'rails c' startup sequence?

@Tomtomgo  - Grab the latest version of the gem. The fix has been merged in.

Nice one.

if defined?(Rails) && Rails.env
if defined?(Rails::ConsoleMethods)
extend Rails::ConsoleMethods
else
def reload!(print=true)
puts "Reloading..." if print
ActionDispatch::Reloader.cleanup!
ActionDispatch::Reloader.prepare!
true
end
end
end

thanks @umuro .

.pryrc checked into my project root
require 'rails/console/app'
include Rails::ConsoleMethods

that did the trick @deadlyicon :+1:


Tests are not executed anymore but skipped!

This seems like a dealbreaker and we shouldn't merge any more PRs until we have this one fixed. Looking at the history in Travis it seems like this build was the first one that didn't execute any tests: https://travis-ci.org/arturbosch/detekt/builds/264664547
That translates to the update to Kotlin v1.1.4 in this commit https://github.com/arturbosch/detekt/commit/7f7ecd4aef713030d14f7abe09a37980908ffda6

What can we do here? Should we set the kotlin compiler back to the old one?

Sorry for missing the comments - just noticed. I expected it to be a junit/spek issue and by upgrading to the newest version it now works again.

Ah, good to see it fixed. Was it only those tests that were red? That's pretty good for almost a month without tests I'd say.
Sorry for breaking this and not paying closer attention to the build 😞  And sorry for writing those broken rules that you now had to fix. Awesome work @arturbosch

One month without tests is crazy :D
Np, we are in the same boat, happens when using working with software in development. Does just mean that the process is not optimal.
Seems like we need a RC4-3 with more fixes (and new rules :P)


Include golang version in docs.

If you install the wrong version of golang ko will throw a very obscure error.

Changes

Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:

[ ] Includes tests (if functionality changed/added)
[x] Includes docs (if user facing)
[x] Commit messages follow commit message best practices
[x] Release notes block has been filled in or deleted (only if no user facing changes)

See the contribution guide for more details.
Double check this list of stuff that's easy to miss:

If you are adding a new binary/image to the cmd dir, please update
the release Task to build and release this image.

Reviewer Notes
If API changes are included, additive changes must be approved by at least two OWNERS and backwards incompatible changes must be approved by more than 50% of the OWNERS, and they must first be added in a backwards compatible way.
Release Notes
NONE

What was the ko error when you had an older Go installed? Perhaps ko should catch that and give a better error?

/kind cleanup
/area documentation
/lgtm

/approve
/meow


Improve spelling

README.md scanned for typos and misspellings.

[ ] Check the commit's or even all commits' message styles matches our requested structure.
[ ] Check your code additions will fail neither code linting checks nor unit test.

Short description of what this resolves:
Corrected a few spelling mistakes here and there.
👍 Thank you!

Thank you @zackharley for these corrections! Dumb mistakes 😅.


Add section about configuring JS console to show debug messages

In this branch, I added a section to the README in which I tell the reader how they can configure their JavaScript console to display messages sent to it via console.debug().
Related issue: https://github.com/debug-js/debug/issues/808#issuecomment-1027529456
CC: @Qix-

This is a bit verbose, perhaps just adding the image (using ![this format](https://...) instead of an HTML tag) directly below the section about localStorage would be the best since that's where readers will be anyway.
Does that work?

Hi @Qix- , that works for me. I'll make it more concise tomorrow (getting a little late in the day for me here).
The reason I used the HTML tag is that I saw that the other screenshots in the file were embedded using that same tag. It also allowed me to specify a width for the image.

By the way, I'm also OK with you making changes to the branch directly, in case you want to wrap this up before I get to it tomorrow.

No worries, whenever works :) I'm not a computer right now anyway.
Good point about the image, feel free to keep it as a tag then.

I rewrote it so it is more concise.


Upgrade pgbouncer to 1.23

Issue #, if available:
#87
Description of changes:
Reapplies the pgbouncer-fast-switchover patch on top of the current stable 1.23 pgbouncer release (1.23.1). The most notable motivation for upgrading is that pgbouncer 1.21 and later has prepared statements support.
The following problem must be corrected:
When specifying user for a database, parse_database triggers a crash because of the changes introduced in 8056484c816899fc97f2f3a3f2dff1ff11393ddf. Since 1.20, a varcache system has been implemented which only gets initialized in init_caches, but because parse_database is called prior to that, it can trigger a null pointer deference for var_list_cache in new_pool. Reordering init_caches to come before load_config causes its own set of problems.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This seems to be failing with segmentation fault when I try to connect to rds.
pgbouncer version: 1.23.1
Error logs (verbose):
2024-11-13 10:49:18.734 UTC [81791] DEBUG parse_ini_file: [pgbouncer]
2024-11-13 10:49:18.734 UTC [81791] DEBUG parse_ini_file: 'listen_port' = '6432'
2024-11-13 10:49:18.734 UTC [81791] DEBUG parse_ini_file: 'listen_port' = '6432' ok:1
2024-11-13 10:49:18.734 UTC [81791] DEBUG parse_ini_file: 'listen_addr' = '*'
2024-11-13 10:49:18.734 UTC [81791] DEBUG parse_ini_file: 'listen_addr' = '*' ok:1
2024-11-13 10:49:18.734 UTC [81791] DEBUG parse_ini_file: 'logfile' = '/tmp/pgbouncer.log'
2024-11-13 10:49:18.734 UTC [81791] DEBUG parse_ini_file: 'logfile' = '/tmp/pgbouncer.log' ok:1
2024-11-13 10:49:18.734 UTC [81791] DEBUG parse_ini_file: 'pidfile' = '/tmp/pgbouncer.pid'
2024-11-13 10:49:18.734 UTC [81791] DEBUG parse_ini_file: 'pidfile' = '/tmp/pgbouncer.pid' ok:1
2024-11-13 10:49:18.734 UTC [81791] DEBUG parse_ini_file: 'ignore_startup_parameters' = 'extra_float_digits,TimeZone'
2024-11-13 10:49:18.734 UTC [81791] DEBUG parse_ini_file: 'ignore_startup_parameters' = 'extra_float_digits,TimeZone' ok:1
2024-11-13 10:49:18.734 UTC [81791] DEBUG parse_ini_file: 'pkt_buf' = '32768'
2024-11-13 10:49:18.734 UTC [81791] DEBUG parse_ini_file: 'pkt_buf' = '32768' ok:1
2024-11-13 10:49:18.735 UTC [81791] DEBUG parse_ini_file: 'pool_mode' = 'statement'
2024-11-13 10:49:18.735 UTC [81791] DEBUG parse_ini_file: 'pool_mode' = 'statement' ok:1
2024-11-13 10:49:18.735 UTC [81791] DEBUG parse_ini_file: 'routing_rules_py_module_file' = './routing_rules.py'
2024-11-13 10:49:18.735 UTC [81791] DEBUG parse_ini_file: 'routing_rules_py_module_file' = './routing_rules.py' ok:1
2024-11-13 10:49:18.735 UTC [81791] DEBUG parse_ini_file: 'rewrite_query_py_module_file' = './rewrite_query.py'
2024-11-13 10:49:18.735 UTC [81791] DEBUG parse_ini_file: 'rewrite_query_py_module_file' = './rewrite_query.py' ok:1
2024-11-13 10:49:18.735 UTC [81791] DEBUG parse_ini_file: 'rewrite_query_disconnect_on_failure' = 'true'
2024-11-13 10:49:18.735 UTC [81791] DEBUG parse_ini_file: 'rewrite_query_disconnect_on_failure' = 'true' ok:1
2024-11-13 10:49:18.735 UTC [81791] DEBUG parse_ini_file: 'server_tls_sslmode' = 'verify-full'
2024-11-13 10:49:18.735 UTC [81791] DEBUG parse_ini_file: 'server_tls_sslmode' = 'verify-full' ok:1
2024-11-13 10:49:18.735 UTC [81791] DEBUG parse_ini_file: 'server_tls_ca_file' = 'root.crt'
2024-11-13 10:49:18.735 UTC [81791] DEBUG parse_ini_file: 'server_tls_ca_file' = 'root.crt' ok:1
2024-11-13 10:49:18.735 UTC [81791] DEBUG parse_ini_file: [databases]
2024-11-13 10:49:18.735 UTC [81791] DEBUG parse_ini_file: '{redacted}' = 'host={redacted} port=5432 dbname={redacted} user={redacted} password={redacted}'
2024-11-13 10:49:18.735 UTC [81791] DEBUG pktbuf_dynamic(128): 0x198cf180
2024-11-13 10:49:18.735 UTC [81791] DEBUG creating pool for {redacted}
Segmentation fault (core dumped)

pgbouncer.ini:
[pgbouncer]
listen_port = 6432
listen_addr = *
auth_type = md5
auth_file = users.txt
logfile = /tmp/pgbouncer.log
pidfile = /tmp/pgbouncer.pid
admin_users = pgbouncer
ignore_startup_parameters = extra_float_digits,TimeZone
pkt_buf = 32768
pool_mode = statement
routing_rules_py_module_file = ./routing_rules.py
rewrite_query_py_module_file = ./rewrite_query.py
rewrite_query_disconnect_on_failure = true

server_tls_sslmode = verify-full
server_tls_ca_file = root.crt

[databases]
{redacted} = host={redacted} port=5432 dbname={redacted} user={redacted} password={redacted}

Have tried with pgbouncer-example.ini -> which seems to work fine. but when I try with above config it fails.

This seems to be failing with segmentation fault when I try to connect to rds.
pgbouncer version: 1.23.1 Error logs (verbose):
2024-11-13 10:49:18.734 UTC [81791] DEBUG parse_ini_file: [pgbouncer]
2024-11-13 10:49:18.734 UTC [81791] DEBUG parse_ini_file: 'listen_port' = '6432'
2024-11-13 10:49:18.734 UTC [81791] DEBUG parse_ini_file: 'listen_port' = '6432' ok:1
2024-11-13 10:49:18.734 UTC [81791] DEBUG parse_ini_file: 'listen_addr' = '*'
2024-11-13 10:49:18.734 UTC [81791] DEBUG parse_ini_file: 'listen_addr' = '*' ok:1
2024-11-13 10:49:18.734 UTC [81791] DEBUG parse_ini_file: 'logfile' = '/tmp/pgbouncer.log'
2024-11-13 10:49:18.734 UTC [81791] DEBUG parse_ini_file: 'logfile' = '/tmp/pgbouncer.log' ok:1
2024-11-13 10:49:18.734 UTC [81791] DEBUG parse_ini_file: 'pidfile' = '/tmp/pgbouncer.pid'
2024-11-13 10:49:18.734 UTC [81791] DEBUG parse_ini_file: 'pidfile' = '/tmp/pgbouncer.pid' ok:1
2024-11-13 10:49:18.734 UTC [81791] DEBUG parse_ini_file: 'ignore_startup_parameters' = 'extra_float_digits,TimeZone'
2024-11-13 10:49:18.734 UTC [81791] DEBUG parse_ini_file: 'ignore_startup_parameters' = 'extra_float_digits,TimeZone' ok:1
2024-11-13 10:49:18.734 UTC [81791] DEBUG parse_ini_file: 'pkt_buf' = '32768'
2024-11-13 10:49:18.734 UTC [81791] DEBUG parse_ini_file: 'pkt_buf' = '32768' ok:1
2024-11-13 10:49:18.735 UTC [81791] DEBUG parse_ini_file: 'pool_mode' = 'statement'
2024-11-13 10:49:18.735 UTC [81791] DEBUG parse_ini_file: 'pool_mode' = 'statement' ok:1
2024-11-13 10:49:18.735 UTC [81791] DEBUG parse_ini_file: 'routing_rules_py_module_file' = './routing_rules.py'
2024-11-13 10:49:18.735 UTC [81791] DEBUG parse_ini_file: 'routing_rules_py_module_file' = './routing_rules.py' ok:1
2024-11-13 10:49:18.735 UTC [81791] DEBUG parse_ini_file: 'rewrite_query_py_module_file' = './rewrite_query.py'
2024-11-13 10:49:18.735 UTC [81791] DEBUG parse_ini_file: 'rewrite_query_py_module_file' = './rewrite_query.py' ok:1
2024-11-13 10:49:18.735 UTC [81791] DEBUG parse_ini_file: 'rewrite_query_disconnect_on_failure' = 'true'
2024-11-13 10:49:18.735 UTC [81791] DEBUG parse_ini_file: 'rewrite_query_disconnect_on_failure' = 'true' ok:1
2024-11-13 10:49:18.735 UTC [81791] DEBUG parse_ini_file: 'server_tls_sslmode' = 'verify-full'
2024-11-13 10:49:18.735 UTC [81791] DEBUG parse_ini_file: 'server_tls_sslmode' = 'verify-full' ok:1
2024-11-13 10:49:18.735 UTC [81791] DEBUG parse_ini_file: 'server_tls_ca_file' = 'root.crt'
2024-11-13 10:49:18.735 UTC [81791] DEBUG parse_ini_file: 'server_tls_ca_file' = 'root.crt' ok:1
2024-11-13 10:49:18.735 UTC [81791] DEBUG parse_ini_file: [databases]
2024-11-13 10:49:18.735 UTC [81791] DEBUG parse_ini_file: '{redacted}' = 'host={redacted} port=5432 dbname={redacted} user={redacted} password={redacted}'
2024-11-13 10:49:18.735 UTC [81791] DEBUG pktbuf_dynamic(128): 0x198cf180
2024-11-13 10:49:18.735 UTC [81791] DEBUG creating pool for {redacted}
Segmentation fault (core dumped)

pgbouncer.ini:
[pgbouncer]
listen_port = 6432
listen_addr = *
auth_type = md5
auth_file = users.txt
logfile = /tmp/pgbouncer.log
pidfile = /tmp/pgbouncer.pid
admin_users = pgbouncer
ignore_startup_parameters = extra_float_digits,TimeZone
pkt_buf = 32768
pool_mode = statement
routing_rules_py_module_file = ./routing_rules.py
rewrite_query_py_module_file = ./rewrite_query.py
rewrite_query_disconnect_on_failure = true

server_tls_sslmode = verify-full
server_tls_ca_file = root.crt

[databases]
{redacted} = host={redacted} port=5432 dbname={redacted} user={redacted} password={redacted}

Have tried with pgbouncer-example.ini -> which seems to work fine. but when I try with above config it fails.

@TheNaman047  Right, as per my PR message the crash introduced when specifying user for a database needs to be fixed, which is a side-effect of how the fast switchover changes were written that make 1.23 migration difficult. For my use case I have both this option and password unset, meaning that pgbouncer will use the same credentials it received from the client to connect to the database. I'll see if I can find a solution for this but it's a low priority for me given that the branch fulfills my current needs, so it's hard for me to justify allocating the time. Worst case scenario, maybe there can be a pgbouncer-rr fork that keeps things simple and only aims to offer the query routing functionality (that I would expect is the primary use case)

Appreciate your input. Makes sense.
We are mostly planning to shift to pgcat instead. though there is a performance hit but it gets the job done for us.

Appreciate your input. Makes sense.
We are mostly planning to shift to pgcat instead. though there is a performance hit but it gets the job done for us.

Note that pgcat doesn't currently support asynchronous clients such as Python's asyncpg; that's my primary motivation for upgrading to pgbouncer 1.23


security/tor: wrong description for the "Bridge" option

The help of the "Bridge" option (in the Relaying tab) says: "A bridge is a private relay. It is not visible in the public directory. Check this if you want to become a relay (public)." It should be: "don't check this if you want to become a relay", or "check this if you want to become a bridge".

I can do the changes, but @fabianfrz would know better what to write.


⚠ Bofrost.de has degraded performance

In 08dd053, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 967 ms

Resolved: Bofrost.de performance has improved in a611094.


ENH: tubeShrinkWithBlendingImage wrapped in Python

As part of this process, an ITK compliant API of itktubeShrinkWithBlendingImageFilter
has been created (tubeShrinkWithBlendingImage). The filter ShrinkWithBlendingImage is
available in the package itk.TubeTKITK when ITK is built with ITK_WRAP_PYTHON set to ON.

@fbudin69500 you can now use these macros in the shadow class.

Awesome!


is any timeline for releasing source code?

Thanks for your question, we will release the source code at the end of December.


[Question] Validate rule to allow only dry-run requests

Problem Statement
Hello,
Is there a way to inspect query parameters to filter requests?
I would like to create a validate rule to allow only dry-run requests and ad mentioned in Kubernetes API doc dry-run is triggered by setting the dryRun query parameter.
Solution Description
I don't have a solution, I'd be glad if anyone has a lead :)
Example "Good" Resource
No response
Example "Bad" Resource
No response
Other Comments
No response
Slack discussion
No response
Troubleshooting

[X] I have read and followed the documentation AND the troubleshooting guide.
[X] I have verified the policy does not exist in the samples library.

You can use the request.dryRun field for this purpose. Here's an example:
apiVersion: kyverno.io/v2beta1
kind: ClusterPolicy
metadata:
  name: demo-policy
spec:
  validationFailureAction: Enforce
  rules:
  - name: demo-rule
    match:
      any:
      - resources:
          kinds:
          - Pod
          selector:
            matchLabels:
              app: nginx
    validate:
      message: "Must use dry run to do this."
      deny:
        conditions:
          all:
          - key: "{{request.dryRun}}"
            operator: Equals
            value: false


Remove never-worked githubPush trigger

Closes #26561 ; Part of #26479

Increase Sickbay PostCommit trigger interval from 6h to daily

Increase Java RunnerV2 VR interval from 6h to 8h (the streaming test already runs 7h)

Please add a meaningful description for your change here

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

run seed job

run seed job

Verified the schedule change works:

Run Python_Xlang_Gcp_Direct PostCommit

Run Python_Xlang_Gcp_Dataflow PostCommit

R: @ahmedabu98

Thanks for this change! The xlang GCP dataflow test time really did get cut in half; and direct now only takes a few minutes to run

Run Python_Runners PreCommit


Two Stack in an Array

Description
Implement two Stack in a single Array , and the size of  Stack should not be fixed, which means you can not fix Stack1 size from  0 to arr.length/2 .
Domain
DSA
Type of Contribution
Documentation
Code of Conduct

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

@Danish-Belal Can I work on this issue??
Priyanshu Vaishnavi
DSA Batch 3

/assign


convert adaptive-flow to esbuild

Description
Introduces esbuild to main composer build pipelines.

uses esbuild-loader and minifier for client build
uses esbuild for server build (using build-package.js script)
uses esbuild for adaptive-flow and typescript project references for editor tooling

The purpose of this PR is to demonstrate how to use esbuild in various contexts in the Composer project. I will create a longer form document to go over some specifics in more detail.
Task Item
#minor

Coverage remained the same at 55.048% when pulling d9ce4e23d5aed904d3cfeb0f8ab4819a36934cc7 on abrown/esbuild-loader into fcad8c631280f741d3ee980785b8303df90d756e on main.


Can you share sample android studio project?

Hello,  Can you share sample android studio project?

yes use Chogan its good for  you


Automatically detect license

In the Git repositories, maybe with the help of some tool like https://github.com/pivotal/LicenseFinder or other similar stuff.
In the end, compare with the stored information and display a diff.

Compare with the stored information in the database.

For a detection tool see https://github.com/nexB/scancode-toolkit


feat: add raw tx formatter in rpc result formatters

Add a method to accept raw tx in snake_case and turn it into
camelCase

Codecov Report

Merging #582 (3deae40) into develop (40e2337) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff            @@
##           develop     #582   +/-   ##
========================================
  Coverage    96.30%   96.31%
========================================
  Files           50       50
  Lines         1571     1575    +4
  Branches       306      307    +1
========================================
+ Hits          1513     1517    +4
  Misses          58       58

Impacted Files
Coverage Δ

packages/ckb-sdk-rpc/src/resultFormatter.ts
100.00% <100.00%> (ø)


Applied Accessibility challenge fixes.

Pre-Submission Checklist

[ ] Your pull request targets the staging branch of FreeCodeCamp.
[x] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[ ] All new and existing tests pass the command npm run test-challenges. Use git commit --amend to amend any fixes.

Type of Change

[x] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[x] Tested changes locally.
[ ] Closes currently open issue (replace XXXX with an issue no): Closes #XXXX

Description

Updates the applied accessibility .json file - fixed typos and several assert tests that weren't working. Slight re-order of one challenge.

I resolved the minor conflicts my file had against the feature/curriculum-expansion branch, and am going to squash and merge into that branch.