Cant launch discurses after installing  from pip Ubuntu ARM

Title pretty much describes it. Ive installed it in an chrooted ubuntu. Cant launch it from terminal, command doesent exist
~/.config> python3 -m discurses                      /usr/bin/python3: No module named discurses.__main__; 'discurses' is a package and cannot be directly executed

I just execute it as discurses, did you try that?

If you installed via pip as your user, it probably created a directory in $HOME/.local/bin/  and dropped the file there.
Try this to get it into your path.
export PATH=$PATH:$HOME/.local/bin
if discurses shows up, now you have your answer, edit your conf in either $HOME/.profile or $HOME/.bashrc to add the $HOME/.local/bin to your users path.


bins not adjusting if if condition used

See example below for France NUTS3 regions:
geoplot ///
	(area nuts3_shp y_MEDAGEPOP if CNTR_CODE=="FR", level(8))  ///
	(line nuts1_shp if CNTR_CODE=="FR", lc(black) lw(0.1) ) ///
	, legend(pos(2))

The bins should adjust to the range of values for France.

I believe this is now fixed.

I checked and the issue still persists for France only! Other countries are working fine. This is because France has an island territory FRY50 that exists in the data but has been dropped from the shapefile.

So the cut-offs are being generated based in the main data file, but plotting is limited to areas available in the shapefile. One would be to merge check data against the shapefile and discard entries for which boundaries don't exist.

oh, interesting problem; yes, I guess I should make sure that only units are used which also appear in the shape file

It is clear to me how this can happen when working with linked frames (the new approach). However, it seems you are working on the shape file with aliases above (i.e. geoframe attach). In this case FRY50 should not be taken into account if it does not exist in the shape file. Or may it be that FRY50 does exist in the shape file, but the coordinates have been set to missing or so?

I checked and it exists as an empty shapefile with just one row.

This was probably left in there when cleaning up the shapefiles in QGIS. But single row shape should be flagged or dropped by spshape2dta. Another thing to keep in mind...

One possibility would be to provide some geoframe commands for common tasks such as removing empty shapes...

I modified geoplot such that it no longer (a) plots shapes of units that appear in the shapefile but do not exist in the attributes file (if plotting the attribute file in plottype area or line) and (b) excludes units that have empty shape data (again in area and line). Shape data is "empty" if there is only one row in the shape file for that unit and in that row all coordinate variables are equal to missing). The above issue should be solved by (b).
I probably should also exclude units with missing coordinates/centroids in the attributes file if such a file is plotted using point (or pcarrow etc). Currently, these units will still be used in point when categorizing colors or when determining the scale of markers. But I am not fully sure; this would deviate from the normal behavior of twoway scatter which uses all obs within if and in and does not exclude obs that have missings (so that their weights will be included in calculation of markers sizes)...

This works now perfectly for areas at least:
geoplot ///
	(area nuts3 y_MEDAGEPOP if CNTR_CODE=="FR", level(8) color(, reverse))  ///
	(line nuts1 if CNTR_CODE=="FR", lc(black) lw(0.1) ) ///
	, legend(pos(2))
``

![geoplot_test3](https://github.com/benjann/geoplot/assets/38498046/059dd4d6-6ee6-4392-8220-47c5de5ba2fc)


Replace ChatterBot's "sessions" with "Conversations"

This pull request is currently a work-in-progress.
For #811 to create consistent sessions that are tracked in the database instead of in memory.
Closes #513 by replacing it.

💯


rust-analyzer: 2020-11-09 -> 2020-12-21

Motivation for this change
New version.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

CC @oxalica @jonringer

vscode-extensions.matklad.rust-analyzer failed to build for me.
node_rust-analyzer> > tsc && rollup -c
node_rust-analyzer> sh: tsc: command not found

Do you forget to update package.json and node-packages simultaneously?
You can reset to master and run pkgs/development/tools/rust/rust-analyzer/update.sh, which will update all of them.

@ofborg eval

Result of nixpkgs-review pr 107347 run on x86_64-linux 1

1 package failed to build:

vscode-extensions.matklad.rust-analyzer

2 packages built:

rust-analyzer
rust-analyzer-unwrapped

vscode-extensions.matklad.rust-analyzer failed to build for me.
node_rust-analyzer> > tsc && rollup -c
node_rust-analyzer> sh: tsc: command not found

Do you forget to update package.json and node-packages simultaneously?
You can reset to master and run pkgs/development/tools/rust/rust-analyzer/update.sh, which will update all of them.

Ahh did not tried this. I just have seen that the vscode version is too old.

Ahh did not tried this. I just have seen that the vscode version is too old.

I would be fine if this would be bumped in this PR.


make send asset a modal

New feature:
Make send asset a modal

Add a send asset button on the account added
When clicking on the Send button, the send asset modal will be open
Modal can be closed now
Remove Send assets from side nav

need to fix Lint & build errors.. code lgtm

need to fix Lint & build errors.. code lgtm

Karishma, this was immediately fixed, there is no error anymore


Relax overly strict IoContext checking for ReadableStreams

Previous fix broke ability to create a ReadableStream outside of an IoContext.

Mostly nits

What are the new expected behaviors? Could authors use ReadableStreams created at the global scope to communicate between requests?

Indeed they can. I expanded the tests on the internal PR to demonstrate some of it. They can create ReadableStream at the global scope and if you're using only the js promises then it would across requests. However, if you create a RS within a request it can only be used in that request, and you cannot respond with or pipe from a global scope RS. It's .. a bit complicated.

Is this really the right approach, vs. ensuring that IoOwn is used correctly to wrap all KJ I/O objects?
The inconsistency between a ReadableStream created at the global scope vs. in a request seems odd. If someone was broken because they created ReadableStreams at the global scope, doesn't it seem plausible that someone else will be broken because they create them in a request?

Well, it was an attempt to make it easier to reason about the flow through these streams but yeah, it's going to be too restrictive. I've pulled most of the requireCurrentOrThrowJs() guards on the methods back out, keeping them only for the pump to loop which is directly interacting with kj i/o.


Install Sentry

If NEXT_PUBLIC_SENTRY_DSN is not defined then what is the behaviour?

From the doc

If that variable also does not exist, the SDK will just not send any events.

https://docs.sentry.io/platforms/javascript/guides/nextjs/configuration/options/#dsn


Detecting Ice Lake CPUs

:tada: This PR is included in version 4.1.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[1.0.4] Publisher not closing

Hello.
I was trying to get a feel of the performance of sneakers/rabbitmq, so I first tried to fill up a queue (to try to simulate worst case scenarios) with some messages by using the Publisher class provided by sneakers, as follows:
500_000.times do
 Sneakers::Publisher
   .new(exchange: 'sneakers_bus', exchange_type: 'topic', heartbeat: 5)
   .publish('some message for queue yoh', routing_key: 'test_worker')
end

Running this, after publishing some messages it stops, displaying the message:
2015-06-05T09:39:16Z p-12941 t-ovid3fj4s DEBUG: Sending a heartbeat, last activity time: 2015-06-05 10:39:13 +0100, interval (s): 1
I understand this is a message from bunny, but if I replicate your code, and close the connection in the end all goes well (sure the rate of messages published takes a dive). So my question is, wouldn't it be safer to close the connection?
Thanks

If I read your code correctly you're creating 500k publisher instances and publishing 1 message with each. Creating each Publisher means creating a fresh Bunny connection, and you're making 500k of those. The Publisher class is probably only intended to be instantiated a few times in a process as it does not allow for cleanup, effectively leaking a connected Bunny instance for instantiation where you call .publish.  The code is (I think, intentionally) naive, and mostly intended as an example of how to wire things together to get a message out the door.
In any case, do you see the same behaviour if you just reuse a single publisher?

Using a single publisher works great. Also I ended up using bunny directly to feel the difference between publishing all messages using a single open connection vs opening a connection and closing after sending a message.
My question is more in the sense of the risk of not closing this connection, since by keeping the connection open it will (at some point in time) reach the same number of open connections that I reached and stop publishing. I guess the connection will be closed when the referencing object gets destroyed but... Just wanted to hear some opinion about this.

The "officialest" documentation on this is in the wiki: https://github.com/jondot/sneakers/wiki/Publishing-messages - as I read it, the idea is to build your own publishing as there's no real consensus as to how this should be structured and how the lifecycle should be managed. It very much "depends".
To make this ticket actionable, I think it would be a neat idea to add comments to the publisher stating it's just an example, and you probably don't want to use this directly in production as there is currently no way to properly clean up created instances.

Yes I agree that a heads up in the wiki would be neat, even though it was more of a doubt that I had so I'm ok in just closing this issue. Since I don't know if you want to make anything from this issue I'll keep it open and pass the responsibility of closing to you, if it is ok.
Thanks for the clarifications.

Yup, @rud is completely on the spot! some historical context here - since publishing usually doesn't involve much logic, in my case it usually was a "bare" bunny connection, and better yet - a different process in a different language (Golang) that is just used as a simple 'sink'.
This way, you defer all of the work to, well, your workers.
Having said that, the story is different when you're on a monolith Rails app. In that case, exactly like @rud mentioned you do want to use a Sneakers-flavored publisher, in which case you'd be keeping a single publisher, just like keeping a single Redis connection, DB connection and so on.
I think this thread is an excellent discussion - I will link it to the Wiki page.


Updating guidance for phone number assignment in GCCH & DoD

Change the recommended parameter to use.

Copy review - @JensTrier, kindly commit the minor suggested change. Many thanks.

Thanks Johan & done!


how to exit immediately?

WithExitWaitTime(0)?
it's currently waiting 5s to exit

refer to https://www.cloudwego.io/docs/hertz/tutorials/basic-feature/graceful-shutdown/ or use engine.Run instead of engine.Spin

it's not easy to find example of engine.Run in hertz.
when i terminate the process, it needs to wait 5 seconds.
how to do engine.Run? possible to provide an example? thx

it's not easy to find example of engine.Run in hertz.
when i terminate the process, it needs to wait 5 seconds.
how to do engine.Run? possible to provide an example? thx

I don't think this needs an example because it's a simple method substitution, but some students did write this document.


Conversion of ONNX End-to-End

I added some simple functionality to convert and end-to-end pipeline to ONNX.
It works for ONNX, but coreml is giving me some issues with unsupported ops.

You can use SAM Exporter to export Encoder and Decoder separately: https://github.com/vietanhdev/samexporter.

Thanks for your interest in our work. My team members have implemented ONNX conversion and now this branch has conflicts. Therefore, we decide to not integrate it. Thanks for your interest again~~

No problem, I'll take a look at the new implementation. Thank you for sharing this excellent work.


undefined symbol: __atomic_exchange_8 on Raspberry Pi

What version of gRPC and what language are you using?
1.36.1
What operating system (Linux, Windows,...) and version?
Raspian Bullseye on Raspberry Pi 4
What runtime / compiler are you using (e.g. python version or version of gcc)
$ gcc --version
gcc (Raspbian 10.2.1-6+rpi1) 10.2.1 20210110

$ python --version
Python 3.9.1+

$ cython --version
Cython version 0.29.22

$ pip list
Package       Version
------------- -------
coverage      5.5
Cython        0.29.22
grpcio        1.36.1
pip           20.3.4
pkg-resources 0.0.0
protobuf      3.15.6
setuptools    44.1.1
six           1.15.0
wheel         0.36.2

What did you do?
First I installed grpc via pip install. Both global and in a venv. Then I did the installation from source as described here (also in a venv). Importing grpc gives the following error
Python 3.9.1+ (default, Feb  8 2021, 22:09:01)
[GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import grpc
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/pi/develop/speech-to-text/venv_gprc2/lib/python3.9/site-packages/grpc/__init__.py", line 23, in <module>
    from grpc._cython import cygrpc as _cygrpc
ImportError: /home/pi/develop/speech-to-text/venv_gprc2/lib/python3.9/site-packages/grpc/_cython/cygrpc.cpython-39-arm-
linux-gnueabihf.so: undefined symbol: __atomic_exchange_8

What did you expect to see?
In Python, import grpc  should work
What did you see instead?
undefined symbol: __atomic_exchange_8
Furthermore
ldd cygrpc.cpython-39-arm-linux-gnueabihf.so

didn't show any traces of libatomic
Anything else we should know about your project / environment?
There are many reported issues with regards to atomic. A notable one in Ruby #24249 claims to have it fixed for python. Fix merged in #20414 But this fix doesn't seem to work for me anymore in Bullseye
Please note that this worked out without issues on Raspian Buster. The issue appeared on Bullseye only

As an ugly workaround, the setup.py can be forced to always include libatomic (worked for my case, but is not a solution of course)
diff --git a/setup.py b/setup.py
index edbafe7654..fa6b937904 100644
--- a/setup.py
+++ b/setup.py
@@ -169,6 +169,7 @@ ENABLE_DOCUMENTATION_BUILD = os.environ.get(

def check_linker_need_libatomic():
+    return True
     """Test if linker on system needs libatomic."""
     code_test = (b'#include <atomic>\n' +
                  b'int main() { return std::atomic<int64_t>{}; }')
diff --git a/tools/distrib/python/grpcio_tools/setup.py b/tools/distrib/python/grpcio_tools/setup.py
index a316038d05..75c1e2c413 100644
--- a/tools/distrib/python/grpcio_tools/setup.py
+++ b/tools/distrib/python/grpcio_tools/setup.py
@@ -73,6 +73,7 @@ BUILD_WITH_CYTHON = os.environ.get('GRPC_PYTHON_BUILD_WITH_CYTHON', False)

def check_linker_need_libatomic():
+    return True

Another quick and dirty way of fixing this for those that do not want to rebuild everything from source would be to cd into the grpc installation path (for me that was ~/.local/lib/python3.9/site-packages/grpc/_cython), cd into _cython, make a backup of cygrpc.cpython-39-arm-linux-gnueabihf.so and run the following command:
$ patchelf cygrpc.cpython-39-arm-linux-gnueabihf.so --add-needed /lib/arm-linux-gnueabihf/libatomic.so.1

That will add a link to libatomic and grpc will not crash anymore:
pi@raspberrypi:~/.local/lib/python3.9/site-packages/grpc/_cython $ ldd cygrpc.cpython-39-arm-linux-gnueabihf.so
	linux-vdso.so.1 (0xbef46000)
	/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so => /usr/lib/arm-linux-gnueabihf/libarmmem-v7l.so (0xb693a000)
	/lib/arm-linux-gnueabihf/libatomic.so.1 (0xb6921000)
	libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0xb68e2000)
	libstdc++.so.6 => /lib/arm-linux-gnueabihf/libstdc++.so.6 (0xb675a000)
	libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xb66eb000)
	libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb6597000)
	/lib/ld-linux-armhf.so.3 (0xb6f1d000)
	libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0xb656a000)

Hopefully my pull request (or any other fix) will get merged and we won't need this hackery anymore


[DNM] just testing

It appears that I can't summon the CI bot in this repo, but can in the swift repo. Just testing it out here.

ok so it works here, but for some reason it doesn't work for #3811...


Progressive jpegs will also take a quality param

Small doc update to be more precise.

Dig it, thanks!


Ping doesnt work in stealth mode on osx

To confirm the vm can communicate with nanobox we ping the host. This will not work if you rnetwork is in stealth mode.

You may be able to check by opening a connection to nanobox's server on the host instead of pinging

That was what I had in mind.
just have nanobox server start a echo server when it starts


python3Packages.loguru: unbreak

Motivation for this change
Pull in a patch from upstream to fix loguru, which was failing on hydra, and add myself as a maintainer.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 117381 at 9f945e9a run on aarch64-linux 1

5 packages failed to build:

flexget
python39Packages.aria2p
python39Packages.loguru
python39Packages.notify-py
python39Packages.toggl-cli

5 packages built successfully:

mpdevil
python38Packages.aria2p
python38Packages.loguru
python38Packages.notify-py
python38Packages.toggl-cli

Note that build failures may predate this PR, and could be nondeterministic or hardware dependent.
Please exercise your independent judgement.

The tests for python39Packages.loguru fail.

What do you think the best way to fix this is? Upstream doesn't support python3.9 in this release, but do in master, and there are ~3+ patches I think in the git history with commit messages suggesting that they add support. If it were just one commit, I'd pull it in as a patch, but I think we mind as well wait for the next release? (Upstream is very active.) Not sure though.

We should set disable = isPy27 || pythonAtLeast "3.9".

FWIW python38Packages.loguru builds happily on macos 10.14


Error trying to get a vocabList

I had the same problem with the JPDB Anki Note Creator, so, there is a big chance that there is something wrong with my system.
Python version: 3.11.6
Anki 24.04 (429bc9e1)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: Windows-10-10.0.22631

Traceback (most recent call last):
  File "urllib3.connectionpool", line 467, in _make_request
  File "urllib3.connectionpool", line 1099, in _validate_conn
  File "urllib3.connection", line 653, in connect
  File "urllib3.connection", line 806, in _ssl_wrap_socket_and_match_hostname
  File "urllib3.util.ssl_", line 465, in ssl_wrap_socket
  File "urllib3.util.ssl_", line 509, in _ssl_wrap_socket_impl
  File "ssl", line 501, in wrap_socket
  File "ssl", line 1074, in _create
  File "ssl", line 1343, in do_handshake
ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:1129)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "urllib3.connectionpool", line 793, in urlopen
  File "urllib3.connectionpool", line 491, in _make_request
urllib3.exceptions.SSLError: EOF occurred in violation of protocol (_ssl.c:1129)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "requests.adapters", line 486, in send
  File "urllib3.connectionpool", line 847, in urlopen
  File "urllib3.util.retry", line 515, in increment
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='jpdb.io', port=443): Max retries exceeded with url: /textbook/9/minna-no-nihongo-i/vocabulary-list (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\pdc18\AppData\Roaming\Anki2\addons21\kuma\widget.py", line 232, in run
    entries = self.get_all_entries_from_vocab_list(self.url)
  File "C:\Users\pdc18\AppData\Roaming\Anki2\addons21\kuma\widget.py", line 241, in get_all_entries_from_vocab_list
    jpdb_soup = load_url(vl_url)
  File "C:\Users\pdc18\AppData\Roaming\Anki2\addons21\kuma\jpdb.py", line 22, in load_url
    return BeautifulSoup(requests.get(url).content, "html.parser")
  File "requests.api", line 73, in get
  File "requests.api", line 59, in request
  File "requests.sessions", line 589, in request
  File "requests.sessions", line 703, in send
  File "requests.adapters", line 517, in send
requests.exceptions.SSLError: HTTPSConnectionPool(host='jpdb.io', port=443): Max retries exceeded with url: /textbook/9/minna-no-nihongo-i/vocabulary-list (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)')))

===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
'' ['kuma', 0, 'None', '']
Beautify-Anki 20 mizmu ['1116770498', 2023-10-31T18:51, 'None', mod]
Japanese Pitch Accent ['148002038', 2023-05-07T14:01, 'None', '']
Kanji Colorizer stroke order diagrams ['1964372878', 2024-01-08T17:48, 'None', mod]
Quick Colour Changing ['2491935955', 2023-10-19T04:15, 'None', '']
Review Heatmap ['1771074083', 2022-06-30T02:43, 'None', '']
Straight Reward ['957961234', 2023-11-01T14:11, 'None', '']

===IDs of active AnkiWeb add-ons===
1116770498 148002038<PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER> 957961234

===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])

Error from the command runned direct from terminal
Creating new list minna-no-nihongo-i_vocabulary-list
Traceback (most recent call last):
  File "C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py", line 467, in _make_request
    self._validate_conn(conn)
  File "C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py", line 1099, in _validate_conn
    conn.connect()
  File "C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connection.py", line 653, in connect
    sock_and_verified = _ssl_wrap_socket_and_match_hostname(
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connection.py", line 806, in _ssl_wrap_socket_and_match_hostname
    ssl_sock = ssl_wrap_socket(
               ^^^^^^^^^^^^^^^^
  File "C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\util\ssl_.py", line 465, in ssl_wrap_socket
    ssl_sock = _ssl_wrap_socket_impl(sock, context, tls_in_tls, server_hostname)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\util\ssl_.py", line 509, in _ssl_wrap_socket_impl
    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\ssl.py", line 455, in wrap_socket
    return self.sslsocket_class._create(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\ssl.py", line 1042, in _create
    self.do_handshake()
  File "C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\ssl.py", line 1320, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLEOFError: [SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1000)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py", line 793, in urlopen
    response = self._make_request(
               ^^^^^^^^^^^^^^^^^^^
  File "C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py", line 491, in _make_request
    raise new_e
urllib3.exceptions.SSLError: [SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1000)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\requests\adapters.py", line 486, in send
    resp = conn.urlopen(
           ^^^^^^^^^^^^^
  File "C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py", line 847, in urlopen
    retries = retries.increment(
              ^^^^^^^^^^^^^^^^^^
  File "C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\util\retry.py", line 515, in increment
    raise MaxRetryError(_pool, url, reason) from reason  # type: ignore[arg-type]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='jpdb.io', port=443): Max retries exceeded with url: /textbook/9/minna-no-nihongo-i/vocabulary-list (Caused by SSLError(SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1000)')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\pdc18\Downloads\app\jpdb-anki\jpdb_anki\__main__.py", line 75, in <module>
    app.run(main)
  File "C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\absl\app.py", line 308, in run
    _run_main(main, args)
  File "C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\absl\app.py", line 254, in _run_main
    sys.exit(main(argv))
             ^^^^^^^^^^
  File "C:\Users\pdc18\Downloads\app\jpdb-anki\jpdb_anki\__main__.py", line 58, in main
    vocab_entries = db.get_list(FLAGS.vocablist)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\pdc18\Downloads\app\jpdb-anki\jpdb_anki\database.py", line 117, in get_list
    vocab = get_all_vocab_entries(url)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\pdc18\Downloads\app\jpdb-anki\jpdb_anki\scraping.py", line 23, in get_all_vocab_entries
    jpdb = load_url(root_url)
           ^^^^^^^^^^^^^^^^^^
  File "C:\Users\pdc18\Downloads\app\jpdb-anki\jpdb_anki\scraping.py", line 8, in load_url
    return BeautifulSoup(requests.get(url).content, "html.parser")
                         ^^^^^^^^^^^^^^^^^
  File "C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\requests\api.py", line 73, in get
    return request("get", url, params=params, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\requests\api.py", line 59, in request
    return session.request(method=method, url=url, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\requests\sessions.py", line 589, in request
    resp = self.send(prep, **send_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\requests\sessions.py", line 703, in send
    r = adapter.send(request, **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\requests\adapters.py", line 517, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='jpdb.io', port=443): Max retries exceeded with url: /textbook/9/minna-no-nihongo-i/vocabulary-list (Caused by SSLError(SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1000)')))

I tried in linux too, had the same error... Is there any idea about what could be causing this problem?

Hi! Thank you for testing this addon
Concerning your issue, it might be related to the security protocol.
Can you replace the definition of load_url in the file jpdb.py and let me know if it works ?
def load_url(url: Url) -> BeautifulSoup:
    return BeautifulSoup(requests.get(url, verify=False).content, "html.parser")

If that does the trick I will add an option to deactivate the security (and remove the warnings in the console)

The same error.
Strange that the first time I did run after the fix, it continued to run until 2%, then gave me another error, but after that, same connection pool error

It seems that the issue comes either from the inner requests package, or maybe from jpdb itself.
One issue I had with jpdb is that they seem to restrict access when there are too many requests, that is why I could not make the creation of decks faster. Maybe you could try again with a different network?
I have joined to this comment the result of the first step of the deck creation. You can drop this json in addons21/kuma/vocab_lists/ folder after removing the .json at the end of the name, then retry creating a new vocabulary list.
It should skip the search of new cards and directly start creating them.
minna-no-nihongo-i.json
If it is a server issue, you may be able to create the deck bit by bit since the second part skips cards that already exist in the database.
Also, can you check if it happens when searching for a word in the JPDB tab, like 熊 for instance :smile:

now I was able to replicate the problem I said before
**Generating Package.:   0%|                                                                     | 0/979 [00:00<?, ?it/s]C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'jpdb.io'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
Generating Package.:   2%|█                                                           | 18/979 [00:00<00:17, 55.24it/s]C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'jpdb.io'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'jpdb.io'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'jpdb.io'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'jpdb.io'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'jpdb.io'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'jpdb.io'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
Generating Package.:   2%|█▍                                                          | 24/979 [00:01<01:11, 13.34it/s]C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'jpdb.io'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'jpdb.io'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'jpdb.io'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
Generating Package.:   3%|█▋                                                          | 27/979 [00:02<01:33, 10.19it/s]C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'jpdb.io'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'jpdb.io'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
Generating Package.:   3%|█▊                                                          | 29/979 [00:02<01:46,  8.94it/s]C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'jpdb.io'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'jpdb.io'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
Generating Package.:   3%|█▉                                                          | 31/979 [00:02<02:00,  7.88it/s]C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'jpdb.io'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
Generating Package.:   3%|█▉                                                          | 32/979 [00:03<02:07,  7.45it/s]C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'jpdb.io'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
Generating Package.:   3%|██                                                          | 33/979 [00:03<02:16,  6.95it/s]C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'jpdb.io'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
Generating Package.:   3%|██                                                          | 34/979 [00:03<02:27,  6.42it/s]C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'jpdb.io'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
Generating Package.:   4%|██▏                                                         | 35/979 [00:03<02:33,  6.14it/s]C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'jpdb.io'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
Generating Package.:   4%|██▏                                                         | 36/979 [00:03<02:37,  5.98it/s]C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'jpdb.io'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
Generating Package.:   4%|██▎                                                         | 37/979 [00:04<02:42,  5.79it/s]C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'jpdb.io'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
Generating Package.:   4%|██▎                                                         | 38/979 [00:04<02:50,  5.51it/s]C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'jpdb.io'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
Generating Package.:   4%|██▍                                                         | 39/979 [00:04<02:56,  5.33it/s]C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'jpdb.io'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
Generating Package.:   4%|██▍                                                         | 40/979 [00:04<02:59,  5.24it/s]C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'jpdb.io'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
Generating Package.:   4%|██▌                                                         | 41/979 [00:04<03:02,  5.13it/s]C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'jpdb.io'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
Generating Package.:   4%|██▌                                                         | 42/979 [00:05<03:06,  5.04it/s]C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'jpdb.io'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
Generating Package.:   4%|██▋                                                         | 43/979 [00:05<03:03,  5.09it/s]C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'jpdb.io'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
Generating Package.:   4%|██▋                                                         | 44/979 [00:05<03:02,  5.11it/s]C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'jpdb.io'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
Generating Package.:   5%|██▊                                                         | 45/979 [00:05<03:01,  5.14it/s]C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'jpdb.io'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
Generating Package.:   5%|██▊                                                         | 46/979 [00:05<03:06,  5.00it/s]C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'jpdb.io'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
Generating Package.:   5%|██▉                                                         | 47/979 [00:06<02:59,  5.19it/s]C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'jpdb.io'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
Generating Package.:   5%|██▉                                                         | 48/979 [00:06<02:55,  5.30it/s]C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'jpdb.io'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
Generating Package.:   5%|███                                                         | 49/979 [00:06<02:53,  5.36it/s]C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'jpdb.io'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
Generating Package.:   5%|███                                                         | 50/979 [00:06<02:55,  5.28it/s]C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'jpdb.io'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
Generating Package.:   5%|███▏                                                        | 51/979 [00:06<02:55,  5.28it/s]C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'jpdb.io'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
Generating Package.:   5%|███▏                                                        | 52/979 [00:06<02:57,  5.24it/s]C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'jpdb.io'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
Generating Package.:   5%|███▏                                                        | 53/979 [00:07<03:04,  5.03it/s]C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'jpdb.io'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
Generating Package.:   6%|███▎                                                        | 54/979 [00:07<03:04,  5.03it/s]C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'jpdb.io'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
Generating Package.:   6%|███▎                                                        | 54/979 [00:07<02:09,  7.13it/s]
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\pdc18\Downloads\app\jpdb-anki\jpdb_anki\__main__.py", line 75, in <module>
    app.run(main)
  File "C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\absl\app.py", line 308, in run
    _run_main(main, args)
  File "C:\Users\pdc18\AppData\Local\Programs\Python\Python312\Lib\site-packages\absl\app.py", line 254, in _run_main
    sys.exit(main(argv))
             ^^^^^^^^^^
  File "C:\Users\pdc18\Downloads\app\jpdb-anki\jpdb_anki\__main__.py", line 59, in main
    db.write_apkg_from_list("output.apkg", vocab_entries)
  File "C:\Users\pdc18\Downloads\app\jpdb-anki\jpdb_anki\database.py", line 143, in write_apkg_from_list
    deck.add_note(AnkiNote.from_note(self.get_note(e), model=self.model))
                                     ^^^^^^^^^^^^^^^^
  File "C:\Users\pdc18\Downloads\app\jpdb-anki\jpdb_anki\database.py", line 101, in get_note
    note_ = note.Note.from_jpdb(url, pitch_dictionary=self.pitch_dictionary)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\pdc18\Downloads\app\jpdb-anki\jpdb_anki\fields\note.py", line 21, in from_jpdb
    note.expression = jpdb.find("title").text.split(" ")[0]
                      ^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'text'

If it works with a VPN it's a good news ^^
Like I mentioned, I cannot collect data faster than 1 note per second due to the JPDB limitations on web scraping.
On the other hand, I just opened a Pull Request that includes a new tab to make cards using the API you mentioned. Thanks for letting me know it existed! I will keep working on it in the next days (and clean up the rest of the code on the way).
If you clone from the branch api then replace the addon files with the ones inside the kuma/ directory you should be able to use it.
The Token is the one at the very bottom of the settings page in your JPDB account.
The Deck Id is the one from your own decks, which you can obtain in JPDB from the Learn(x) like in the pictures.

But the API is quite limited:

(1) cannot search arbitrary words
(2) does not provide example sentences
(3) I manually added part of speech elements (Noun, Verb etc..), and I print the ones I have not seen. Please come back if you find ones that are not implemented :hugs:
(4) you need to add the vocabulary list to you own decks before being able to generate cards

I hope it can still help to create decks without getting banned from JPDB :laughing:

Awesome!
Yes, your solution is currently better. Sad that with vpn it takes something like 5 seconds per card TT_TT
Thanks for the help


Release 2.2

Releasing v2.2. @kwirkykat it's all yours!

[X] Change details added to Unreleased section of changelog.md?
[X] Added/updated documentation and descriptions in .schema.mof files where appropriate?
[X] Examples updated for both the single server and small farm templates in the examples folder?
[X] New/changed code adheres to Style Guidelines?
[X] Unit and Integration tests created/updated where possible?

This change is

Codecov Report

Merging #785 into master will increase coverage by <1%.
The diff coverage is 98%.


First version of the released codes

This commit is the first version of the released codes which have been approved internally at Amazon.

Merge the first version of the released code.


rrdtool: unpin tcl-8_5

Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 236681 run on aarch64-darwin 1

2 packages marked as broken and skipped:

collectd
ntopng

3 packages built:

mrtg
rrdtool
smokeping

Result of nixpkgs-review pr 236681 run on x86_64-darwin 1

2 packages marked as broken and skipped:

collectd
ntopng

3 packages built:

mrtg
rrdtool
smokeping


[Feature] Cleaning Native Scalar Types

Adds native scalar type support to Binput@clean.

Please add tests.

Sorry for the delay, I monged it and tried testing against Security when it far from touches it 😂


qs doc is inconsistent

The documentation for qs doesn't follow the standard doc template
We should update it to follow the same structure as all the other docs. It is currently missing the footer links

Fixed by #143


Ability to add curseforge resource packs

Pax currently crashes if a cf modpack contains a resource pack.

My bad, this is duplicating by #53.


[bug] Make assertion signature flag switchable

nil and false were always becoming true, making the application unable to change the value.

@jphenow can you take a look at this one?


Open-appsec doesn't work without internet access

Hi,
My issue #109 has been closed, however the problem is not solved.
To reproduce:

Run docker compose of this repository without internet access (by disconnecting the port or disabling the network interface for example).

Add any proxy host (accessible without internet)

Try to generate an alert with following request http://proxy-host/?shell_cmd=cat/etc/passwd.

Nothing happens, no logs are generated and the request is forwarded to the proxy host.

Restore internet access, retry the previous request, it's work.

The attack is now blocked, and logs are generated.
Best regards.

Hi @bkun31,
The agent requires a connection to the internet (our fog) on deployment. For your use case I'll recommend running the compose with connection, making sure the configuration is defined how you want, and then disconnecting, then the agen should continueue protecting yourenvironment without connection.
Best regards,
open-appsec team


Platform detection not working on iOS 9.3.5?

I'm trying to use this library on iOS 9.3.5, but it declines to run (on my page as well as on the demo page). My Safari seems to not have MediaSource. When I skip the whitelist, everything seems to work fine.

Does the demo work? https://bfred-it.github.io/iphone-inline-video/demo/

Fixed in 1.9.6


Migrations adding an index on Azure Sql Server lock the whole table

Describe the bug
Migrations lock the tables during upgrade blocking any writes to the system.
Adding an index to Sql Server without locking the table was traditionally and "Enterprise" feature.
Using the special syntax WITH (ONLINE = ON) is illegal on Developer edition.
We do NOT currently use this syntax on Azure cloud Sql Server despite it being supported.
To Reproduce

Install Hapi JPA on 7.0 Azure Sql Server (docker is fine https://hub.docker.com/r/microsoft/azure-sql-edge)
Then run a recent hapiutil migrate-database  --dry-run ...connection params..
Inspect the migration output and look for the sql statements with create index
Notice statements do not contain WITH (ONLINE = ON)

Expected behavior

Sql statements should contain WITH (ONLINE = ON)

Environment (please complete the following information):

Hapi 7.3.8

Should be fixed now.


[ENHANCEMENT] Only propose valid Test- or Task-specific settings when suite type is defined.

If a suite file does contain a *** Test Cases *** section, it is clear that this is a Test Suite so task-specific settings shall not be shown anymore in completion of the settings.
Even though Task Setup is a real synonym to Test Setup and can also be used in Test Suites it shouldn't be used.
So stopping the completion would help to keep the code clean.
Also the Error that only either Test Cases or Tasks are allowed (One file cannot have both tests and tasks.) should be better located at the row of the test cases or task section.

good idea ;-)


Dont emit peer:disconnect when a connection is still open

Currently the peer:disconnect event will be fired anytime a muxed connection to a peer is closed, https://github.com/libp2p/js-libp2p/blob/v0.24.3/src/index.js#L85. However, since it's possible to have an outbound and inbound connection to a peer, closing one of those still means we are connected to a that peer. Only when we no longer have a connection to a peer, should we emit the disconnect event.
Performing a check of the total connections for a given peer before emitting the disconnect event when we receive a muxed connection closed event, would enable us to only emit the event when all connections are closed.
Reference https://github.com/libp2p/js-libp2p/issues/299#issuecomment-448623490

The latest switch handles this in it's updated connection tracking logic, https://github.com/libp2p/js-libp2p-switch/blob/v0.42.11/src/connection/manager.js#L86.


Strange parameter bleeding in this command....

So I was trying to do a ps aux | grep in ammonite, and I wrote:
%%ps("aux").toString().split("\n").toSeq |? (_.contains("root"))
and I'd get a result that couldn't possibly be from ps aux...

PID TTY          TIME CMD
8092 pts/5    00:01:44 java
20844 pts/5    00:00:00 ps

tooling around a bit, it seems that somehow, my attempt to pipe data is bleeding into the parameter list for ps!
%%ps("aux").toString().split("\n").toSeq | (a => a + "hello")`

error: format specification must follow o

Usage:
ps [options]

Try 'ps --help <simple|list|output|threads|misc|all>'
or 'ps --help <s|l|o|t|m|a>'
for additional help text.

Rewriting as %%("ps","aux").toString().split("\n").toSeq | (a => a + "hello")` fixes the issue and gives the expected output, so it seems this is a macro issue.
I'm using ammonite 1.0.0-RC8.

Just use %%('ps, 'aux)? Seems like a Scala operator precedence problem, which is unfortunate, but I've already updated all the docs when using %% to try and follow this style so people won't bump into this. single %ps 'aux tends to not have the same problem since it produces no useful return value and so people tend not to use it with operator chains


Fix the issue that only one dump archived on zos

loop through regex matches if multiple dumps found

Fixes #48
Signed-off-by: renfeiw<EMAIL_ADDRESS>

Could you provide Grinder job number for the internal testing? Thanks

it's Grinder_TKG/244


advisory: changed CVE type does not change scheduled advisory type

If a single CVE advisory is scheduled and the CVE type is switched to something else it remains the old one in the advisory.
additionally check how it affects this behavior if a group is reduced to a single CVE or a single CVE is changed to contain multiple.

we should avoid changing the advisory type if the advisory has already been published


dtl making huge range requests on L1

Issue Type

[ x] bug report
[ ] feature request

Current Behavior
Log from L2 Boba Goerli
`
{"level":50,"time":1684234278751,"extra":{"message":"Error: failed to meet quorum (method="getLogs", params={"filter":{"fromBlock":"0x780c66","toBlock":"0x8979c0","address":"0x6FF9c8FF8F0B6a0763a3030540c21aFC721A9148","topics":["0x9416a153a346f93d95f94b064ae3f148b6460473c6e82b3f9fc2521b873fcd6c","0x02b616af23339f1e031e76333e2d5b1c3067beb78578c961911872cc2127ef8b"]}}, results=[{"weight":1,"start":1684234278688,"error":{"reason":"processing response error","code":"SERVER_ERROR","body":"{\"id\":1134,\"jsonrpc\":\"2.0\",\"error\":{\"code\":-32602,\"message\":\"invalid params\",\"data\":{\"error_id\":\"6a6a714e-01f6-42e9-b3e4-6e0d7ef470ec\",\"payload\":\"range 1142106 is bigger than range limit 2000\"}}}","error":{"code":-32602,"data":{"error_id":"6a6a714e-01f6-42e9-b3e4-6e0d7ef470ec","payload":"range 1142106 is bigger than range limit 2000"}},"requestBody":"{\"method\":\"eth_getLogs\",\"params\":[{\"fromBlock\":\"0x780c66\",\"toBlock\":\"0x8979c0\",\"address\":\"0x6ff9c8ff8f0b6a0763a3030540c21afc721a9148\",\"topics\":[\"0x9416a153a346f93d95f94b064ae3f148b6460473c6e82b3f9fc2521b873fcd6c\",\"0x02b616af23339f1e031e76333e2d5b1c3067beb78578c961911872cc2127ef8b\"]}],\"id\":1134,\"jsonrpc\":\"2.0\"}","requestMethod":"POST","url":"https://goerli.gateway.tenderly.co/"}}], provider={"_isProvider":true,"_events":[],"_emitted":{"block":-2},"disableCcipRead":false,"formatter":{"formats":{"transaction":{},"transactionRequest":{},"receiptLog":{},"receipt":{},"block":{},"blockWithTransactions":{},"filter":{},"filterLog":{}}},"anyNetwork":false,"_networkPromise":{},"_maxInternalBlockNumber":9009608,"_lastBlockNumber":-2,"_maxFilterBlockRange":10,"_pollingInterval":4000,"_fastQueryDate":1684234278178,"providerConfigs":[{"priority":0,"provider":{"_isProvider":true,"_events":[],"_emitted":{"block":-2},"disableCcipRead":false,"formatter":{"formats":{"transaction":{},"transactionRequest":{},"receiptLog":{},"receipt":{},"block":{},"blockWithTransactions":{},"filter":{},"filterLog":{}}},"anyNetwork":false,"_networkPromise":{},"_maxInternalBlockNumber":9009608,"_lastBlockNumber":-2,"_maxFilterBlockRange":10,"_pollingInterval":4000,"_fastQueryDate":1684234278688,"connection":{"url":"https://goerli.gateway.tenderly.co/","headers":{"User-Agent":"data-transport-layer"}},"_nextId":1135,"_eventLoopCache":{"detectNetwork":null,"eth_chainId":null,"eth_blockNumber":null},"_network":{"name":"goerli","chainId":5,"ensAddress":"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},"_internalBlockNumber":{},"_fastBlockNumber":9009608,"_fastBlockNumberPromise":{}},"stallTimeout":750,"weight":1}],"quorum":0.5,"_highestBlockNumber":9009608,"_network":{"name":"goerli","chainId":5,"ensAddress":"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},"_internalBlockNumber":{},"_fastBlockNumber":9009608,"_fastBlockNumberPromise":{}}, code=SERVER_ERROR, version=providers/5.7.2)","stack":"Error: failed to meet quorum (method="getLogs", params={"filter":{"fromBlock":"0x780c66","toBlock":"0x8979c0","address":"0x6FF9c8FF8F0B6a0763a3030540c21aFC721A9148","topics":["0x9416a153a346f93d95f94b064ae3f148b6460473c6e82b3f9fc2521b873fcd6c","0x02b616af23339f1e031e76333e2d5b1c3067beb78578c961911872cc2127ef8b"]}}, results=[{"weight":1,"start":1684234278688,"error":{"reason":"processing response error","code":"SERVER_ERROR","body":"{\"id\":1134,\"jsonrpc\":\"2.0\",\"error\":{\"code\":-32602,\"message\":\"invalid params\",\"data\":{\"error_id\":\"6a6a714e-01f6-42e9-b3e4-6e0d7ef470ec\",\"payload\":\"range 1142106 is bigger than range limit 2000\"}}}","error":{"code":-32602,"data":{"error_id":"6a6a714e-01f6-42e9-b3e4-6e0d7ef470ec","payload":"range 1142106 is bigger than range limit 2000"}},"requestBody":"{\"method\":\"eth_getLogs\",\"params\":[{\"fromBlock\":\"0x780c66\",\"toBlock\":\"0x8979c0\",\"address\":\"0x6ff9c8ff8f0b6a0763a3030540c21afc721a9148\",\"topics\":[\"0x9416a153a346f93d95f94b064ae3f148b6460473c6e82b3f9fc2521b873fcd6c\",\"0x02b616af23339f1e031e76333e2d5b1c3067beb78578c961911872cc2127ef8b\"]}],\"id\":1134,\"jsonrpc\":\"2.0\"}","requestMethod":"POST","url":"https://goerli.gateway.tenderly.co/1clfZoq7qEGyF4SQvF8gvI\"}}], provider={"_isProvider":true,"_events":[],"_emitted":{"block":-2},"disableCcipRead":false,"formatter":{"formats":{"transaction":{},"transactionRequest":{},"receiptLog":{},"receipt":{},"block":{},"blockWithTransactions":{},"filter":{},"filterLog":{}}},"anyNetwork":false,"_networkPromise":{},"_maxInternalBlockNumber":9009608,"_lastBlockNumber":-2,"_maxFilterBlockRange":10,"_pollingInterval":4000,"_fastQueryDate":1684234278178,"providerConfigs":[{"priority":0,"provider":{"_isProvider":true,"_events":[],"_emitted":{"block":-2},"disableCcipRead":false,"formatter":{"formats":{"transaction":{},"transactionRequest":{},"receiptLog":{},"receipt":{},"block":{},"blockWithTransactions":{},"filter":{},"filterLog":{}}},"anyNetwork":false,"_networkPromise":{},"_maxInternalBlockNumber":9009608,"_lastBlockNumber":-2,"_maxFilterBlockRange":10,"_pollingInterval":4000,"_fastQueryDate":1684234278688,"connection":{"url":"https://goerli.gateway.tenderly.co/1clfZoq7qEGyF4SQvF8gvI\",\"headers\":{\"User-Agent\":\"data-transport-layer\"}},\"_nextId\":1135,\"_eventLoopCache\":{\"detectNetwork\":null,\"eth_chainId\":null,\"eth_blockNumber\":null},\"_network\":{\"name\":\"goerli\",\"chainId\":5,\"ensAddress\":\"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e\"},\"_internalBlockNumber\":{},\"_fastBlockNumber\":9009608,\"_fastBlockNumberPromise\":{}},\"stallTimeout\":750,\"weight\":1}],\"quorum\":0.5,\"_highestBlockNumber\":9009608,\"_network\":{\"name\":\"goerli\",\"chainId\":5,\"ensAddress\":\"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e\"},\"_internalBlockNumber\":{},\"_fastBlockNumber\":9009608,\"_fastBlockNumberPromise\":{}}, code=SERVER_ERROR, version=providers/5.7.2)\n    at Logger.makeError (/opt/optimism/node_modules/@ethersproject/logger/lib/index.js:238:21)\n    at Logger.throwError (/opt/optimism/node_modules/@ethersproject/logger/lib/index.js:247:20)\n    at FallbackProvider. (/opt/optimism/node_modules/@ethersproject/providers/lib/fallback-provider.js:684:54)\n    at step (/opt/optimism/node_modules/@ethersproject/providers/lib/fallback-provider.js:48:23)\n    at Object.next (/opt/optimism/node_modules/@ethersproject/providers/lib/fallback-provider.js:29:53)\n    at fulfilled (/opt/optimism/node_modules/@ethersproject/providers/lib/fallback-provider.js:20:58)\n    at runMicrotasks ()\n    at processTicksAndRejections (node:internal/process/task_queues:96:5)","code":"SERVER_ERROR"},"msg":"Caught an unhandled error"}
`
Expected Behavior

Steps to Reproduce

Suggested Fix
@wsdt execute
@Boyuan-Chen help

In src/services/l1-ingestion/service.ts there's a _getContractAddressAtBlock() function which performs a query for AddressManager registration events, in case the CTC/SCC contracts have changed address at some point since deployment.
      events = await this.state.contracts.Lib_AddressManager.queryFilter(
        this.state.contracts.Lib_AddressManager.filters.AddressSet(
          contractName
        ),
        this.state.startingL1BlockNumber,
        blockNumber
      )

The events are not cached, and every query runs from the original startingL1BlockNumber up to the block which is being queried.
A workaround is to bypass this query and instead look up the CTC/SCC addresses from the internal representation of the addresses.json file.


Rename event grid topics to force recreate

What is being addressed
Part of a temporary resolution to #2106 that occurred when the current tre deployment doesn't include an identity on the event grid topics which seem to cause an issue in TF (tracked separately).
How is this addressed

Remove the force replace section as that caused errors in Azure (delete and immediate recreate with the same name)
Rename the topic resources on Azure so that TF will create new ones with identity from the start, which will avoid the issue.

/test

/test


Update _index.md

Denote IPBan support (https://github.com/DigitalRuby/IPBan/blob/master/Recipes/Windows/Integrations/CloudflareBlock.ps1)

Thank you for your proposal, @jjxtra.
However, except for integration guides we do not reference third-party tools unless it's a well-known, free tool that anyone can use.


New version: cyanreg.cyanrip version 0.9.2

Pull request has been created with komac v2.1.0 :rocket:
Microsoft Reviewers: Open in CodeFlow

Enter a pull request number: 145507

Manifest validation succeeded.
Found cyanrip [cyanreg.cyanrip] Version 0.9.2
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://github.com/cyanreg/cyanrip/releases/download/v0.9.2/cyanrip-win64.exe
  ██████████████████████████████  7.64 MB / 7.64 MB
Successfully verified installer hash
Starting package install...
Path environment variable modified; restart your shell to use the new value.
Command line alias added: "cyanrip"
Successfully installed

Name          : cyanrip
Publisher     : Lynne
Version       : 0.9.2
ProductCode   : cyanreg.cyanrip__DefaultSource
Registry Path : Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall\cyanreg.cyanrip__DefaultSource
Uninstall     : winget uninstall --id "cyanreg.cyanrip__DefaultSource"

Press any key to continue . . .

Nothing happens when you run the exe, you need to run cyanrip in cmd.
PS C:\Users\user> cyanrip
++ WARN: could not retrieve file info for `image.nrg': No such file or directory
++ WARN: can't open nrg image file image.nrg for reading
Unable to init cdio context

Automatic Validation ended with:

Executable C:\Users\validator\AppData\Local\Microsoft\WinGet\Packages\cyanreg.cyanrip__DefaultSource\cyanrip.exe returned exit code: 1
Executable C:\Users\validator\AppData\Local\Microsoft\WinGet\Links\cyanrip.exe returned exit code: 1

(Automated response - build 870.)

@wingetbot waivers Add Validation-Executable-Error


build interface to access genome-wise gene lists

don't we already have this?
from sfaira.versions.genome_versions import SuperGenomeContainer
genelist = SuperGenomeContainer(organism='human', genome='Homo_sapiens_GRCh38_97').names

True, we can just use that, we need to document this in the data.rst though. @Hrovatin

or equivalently for mouse:
from sfaira.versions.genome_versions import SuperGenomeContainer
genelist = SuperGenomeContainer(organism='mouse', genome='Mus_musculus_GRCm38_97').names
idlist = SuperGenomeContainer(organism='mouse', genome='Mus_musculus_GRCm38_97').ensembl

Thanks, I will try to use this.

Could pig gene names also be added?


Add Xverse to Taiko's ecosystem

Title of your project
Xverse
Short (1-2 sentence) description of your project
Stablecoin Project, using Uniswap v3 LP token. With CDP mechanism, LP NFT of stable coin pair will become collateral of our Stable coin.
Link to your project
https://taiko-test.xverse.fi/?chain=taiko_testnet
Live on Testnet
Yes (default)
If your project is live on one of Taiko's testnets, please provide evidence of that here (eg. links, screenshots).
https://taiko-test.xverse.fi/?chain=taiko_testnet
Upload a quality logo to your project
https://drive.google.com/file/d/1IiUa56YMaLbbiC1Gl6XRInSKJCoCkgIm/view?usp=sharing

I see the outdated Taiko testnet is supported.
Please migrate to Taiko Jolnir testnet next.


Text color mathches with the background color

Description of the enhancement
In Team template , text color and background color are almost a match.
It should be changed to white after toggling.
Screenshots

same problem exists in achievement template.

same problem exists in achievement template.

this "projects by" should be white

@Muskan-Mangal I have already this issue.

@Adyasha8105 yeah , I thought to mention you since u were already working on dark mode toggling thing. But I already tagged u in one. That's great thay you have solved that :)


Support Nautobot client in machine controller

What this PR does / why we need it:
Support Nautobot minimal client which will be used to provision baremetal clusters
Which issue(s) this PR fixes (optional, in fixes #<issue number> format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
The client is not being used in the baremetal provider. will be added once tested in a separate commit
Optional Release Note:

Nautobot client support

In my opinion, the entire nautobot client should be in a different repository and used in the machine controller.

In my opinion, the entire nautobot client should be in a different repository and used in the machine controller.

Well, this is what I have mentioned earlier, that this client shouldn't be part of the machine-controller because it can be bounded directly to specific DC setup. For now, there is no other place that suits this client however in the future we can find another place or even a service that should contain this client

For now, there is no other place that suits this client however in the future we can find another place or even a service that should contain this client

I meant a dedicated repositroy only for nautobot client

I still think that should be a separate client, although others thing in a different way, evenutally we might move this client once we have other consuments.
/lgtm


Support aligning aliases

Hi, it would be nice if you could support aligning aliases
Before:
select
    aaaa as a,
    bbb as b,
    cc as c
from table

After:
select
    aaaa as a,
    bbb  as b,
    cc   as c
from table

At the moment this conflicts with rule LT01.
Thanks.

It seems to be working with this configuration, but I'm getting strange "TODO" diagnostics on the playground.
[sqlfluff:layout:type:alias_expression]
spacing_before = align
align_within = select_clause
align_scope = bracketed

what are the TODOs @gvozdvmozgu, I don't see the?

I can't remember—was it just that we didn't write the diagnostic text, or was there something deeper?

Ah thanks. That helps alot

Documented and improved the output, @matthias-Q please reopen if you don't think we got your problem.


Set up CircleCI integration

@goanpeca once this is merged, lets update #106 to ensure CircleCI works with that patch

why is travis failing?

Huh, looks like circle completes so much faster than travis that coveralls is rejecting the payload from travis as already-received. (I think) we should have only one of them send coverage data to coveralls. Any preference as to which?

Travis should be fine I guess, as we dont have to configure the repo token.
Also moving forward I would advice making PRs against a fork of the repo and not against a branch in the repo.

Hmm looks like I'm a liar, coveralls just happened to timeout during these tests. Re-running them to be sure.
I can fork and work there, but may I ask why? Seems strictly more convenient to work from this repo, given we have write-access.

Its a better workflow to use forks independent if you are the owner or not of the repo and helps avoid accidental pushes to wrong branches in the official repo. If there is an accidental push to your fork, it is much better than if it happens to the original repo
We can avoid having 2 builds for travis (pr and push)
Its just how normal contributions work on OS projects so helps keep the same mental model for all projects (at lease in my case)


clicking a link in a row triggers selection

This might have been the intended behavior but I also think a lot of people use buttons and links in tables to trigger dropdown / action functionality and would not want these click events to trigger selection.
Great work!

Thank you for reporting it, I have fixed the issue.


Check metadata against tool images

[ ] Read version from metadata
[ ] Compare to version in image
[ ] Rebuild if mismatched

Migrated to https://github.com/uniget-org/tools/issues/61


'Create' Shelf Permissions not overriding group permissions

Describe the Bug
When giving a user Create permissions on a shelf, the user is not able to create a new book. I'm trying to disallow users from creating books in shelves that do not belong to them. Unless I give them general "create book" permissions, they can't create any books at all.
The issue with giving the role create book permissions is that the user is able to create books in shelves that should be viewed, but only edited by the owning team.
Steps to Reproduce

Create a role with no "create book" permissions
Create a shelf and assign an override for that role with "create" permissions
Create book button is missing from the shelf view

Expected Behaviour
The New Book option should be available to users when they have the "create" override on a shelf.
Screenshots or Additional Context
No response
Browser Details
No response
Exact BookStack Version
v23.05.2
PHP Version
8.2
Hosting Environment
Basic Azure App Service with a managed Azure MySQL database.

Thanks for raising @scwheele, but this is already covered in #2690 so I'm going to close this off as a duplicate.


Jiajun/build system refactor

Summary
Small change on some CMakelist.txt, allowing the different boards to include or exclude the code in shared directory.
It solves the dependency issue in shared code when one shared code depends on a specific driver that some boards don't have., only the board has the driver gets compiled and others boards will not.
Excluding unnecessary code will also reduce the compiled binary size.
Also a small change in scripts/utilities/supported_boards.py to resolve the issue I found on here
Changelist
Add two parameter in create_arm_binary and create_arm_binary_or_tests_for_board functions in firmware/CMakeList.txt
Change the CMakeList.txt for each board accordingly.
Testing Done
Remove cache in build_arm and build_x64
Load Cmake test and embedded
Build all embedded binary, all test and shared test
Resolved Issues
here
Checklist

[x ] I have read and followed the code conventions detailed in README.md (This will save time for both you and the reviewer!).
[ ] If this pull request is longer then 500 lines, I have provided explicit justification in the summary above explaining why I cannot break this up into multiple pull requests (Small PR's are faster and less painful for everyone involved!).

The issue in ‘scripts/utilities/supported_boards.py’ seems like just a Python version issue. I can remove the fix later.


⚠ Auth has degraded performance

In 0ef1045, Auth (https://auth.k2lin.com) experienced degraded performance:

HTTP code: 200
Response time: 5906 ms

Resolved: Auth performance has improved in 944c8de after 16 minutes.


BE crash when pipeline opened

Steps to reproduce the behavior (Required)

CREATE TABLE:
create tpcds tables and with 1G data

BE crash while running sqlsmith:
*** Aborted at<PHONE_NUMBER> (unix time) try "date -d @1646911892" if you are using GNU date ***
PC: @     0x7f51e1534387 __GI_raise
*** SIGABRT (@0x3f700003738) received by PID 14136 (TID 0x7f516a514700) from PID 14136; stack trace: ***
@          0x3c17202 google::(anonymous namespace)::FailureSignalHandler()
@     0x7f51e1fe9630 (unknown)
@     0x7f51e1534387 __GI_raise
@     0x7f51e1535a78 __GI_abort
@          0x177d4f7 _ZN9__gnu_cxx27__verbose_terminate_handlerEv.cold
@          0x551fba6 __cxxabiv1::__terminate()
@          0x551fc11 std::terminate()
@          0x551fd64 __cxa_throw
@          0x177f0db std::__throw_length_error()
@          0x187a9b1 starrocks::vectorized::FixedLengthColumnBase<>::resize()
@          0x227f0ba starrocks::vectorized::NullableColumn::resize()
@          0x2271633 starrocks::vectorized::Chunk::set_num_rows()
@          0x23aaaee starrocks::Analytor::output_result_chunk()
@          0x26027aa starrocks::pipeline::AnalyticSinkOperator::_process_by_partition_if_necessary()
@          0x2602ed0 starrocks::pipeline::AnalyticSinkOperator::push_chunk()
@          0x25c051b starrocks::pipeline::PipelineDriver::process()
@          0x25b6c2e starrocks::pipeline::GlobalDriverExecutor::worker_thread()
@          0x1f0f5f9 starrocks::ThreadPool::dispatch_thread()
@          0x1f0b1aa starrocks::Thread::supervise_thread()
@     0x7f51e1fe1ea5 start_thread
@     0x7f51e15fc8dd __clone

Expected behavior (Required)
return the right result
Real behavior (Required)
BE crash
StarRocks version (Required)

You can get the StarRocks version by executing SQL select current_version()
mysql> select current_version();
+------------------------+
| current_version()      |
+------------------------+
| QA_TEST_MASTER 0047d9b |
+------------------------+
1 row in set (0.00 sec)

select     ref_1.ss_wholesale_cost as c0,    ref_3.cs_ext_ship_cost as c1,    random() as c2,    cast(coalesce(ref_0.hd_vehicle_count,     ref_3.cs_bill_cdemo_sk) as INT) as c3,         max(       cast(ref_3.cs_bill_addr_sk as INT)) over (partition by ref_3.cs_ext_sales_price,ref_3.cs_ext_discount_amt,ref_3.cs_net_paid order by ref_0.hd_income_band_sk) as c4,    ref_3.cs_sales_price as c5,    ref_1.ss_sold_date_sk as c6,         avg(       cast(ref_1.ss_promo_sk as INT)) over (partition by ref_1.ss_net_paid_inc_tax,ref_3.cs_order_number order by ref_2.wp_customer_sk) as c7,    ref_1.ss_cdemo_sk as c8,    30 as c9,    pi() as c10,    ref_3.cs_bill_addr_sk as c11 from    tpcds_1g.household_demographics as ref_0         inner join tpcds_1g.store_sales as ref_1         on (ref_0.hd_vehicle_count = ref_1.ss_item_sk )       left join tpcds_1g.web_page as ref_2       on (ref_1.ss_quantity = ref_2.wp_web_page_sk )     right join tpcds_1g.catalog_sales as ref_3     on (ref_1.ss_net_profit = ref_3.cs_wholesale_cost ) where cast(coalesce(ref_0.hd_buy_potential,     ref_2.wp_url) as VARCHAR) >= ref_2.wp_web_page_id limit 170;


Update Yard preset

Update Yard preset.

might also want to add ref or abbreviated name.

According to taginfo currently there are ~3k yards, and ~50 usages of 3 recommended railway:yard: tags.
Although osm wiki does have these tags documented in the yard page the tags themselves don't have appropriate pages.
Given this, I recommend we postpone this change until this usage gains some additional traction.
If this gets adopted by wider community, iD can follow with ensuring appropriate fields.
Until then, users are free to use the tag editting ui portion to specify these properties.
Connected: https://github.com/openstreetmap/id-tagging-schema/pull/175, https://github.com/openstreetmap/id-tagging-schema/pull/177, https://github.com/openstreetmap/id-tagging-schema/pull/178.
Moving forward, please create Pull Request in such way that it represents one self-contained logical change.
(In this case it would be more appropriate that Connected and this change were part of a singular PR).


Feature/tas v2

Working on HTML, CSS and JavaScript to display the current weather of the current location

The html, will need to be updated to make it responsive. Also the javascript has some glaring problems i'd like to discuss.

We will be discussing the code javascript problems


Project: AI Book Assistant - Help low resources students access and study from teachers' books.

Project Name
AI Book Assistant
Description
Application Description
We built a web-based application that provides an easy-to-use RAG to allow students to learn class material more quickly.
One of the benefits of using the RAG instead of having students use an LLM chatboat like chatGPT is that the answers are based solely on the course material and the risk of having the LLM hallucinate is thus minimal.
It can be accessed at http://ai-demo.fr
Please note that https access has not yet been activated and you should access the application with http only.
This submission demonstrates that it is possible to enhance class material at a very low-cost to the great benefit of students around the world.
From the point of view of the student, they have a very simple yet clear user interface to retrieve the content they need to study. They can ask a question in the web application and they will get :

references to the relevant passages of the material they have to study

an answer to their question based on the retrieved passages.

The emphasis is here on the cost effectiveness and ease-of-use of the system.
For demonstration purposes, the application is currently using two freely available javascript books. Questions should thus be about Javascript. If a question is not about Javascript or if the answer cannot be found in the source material, the RAG will answer that it does not know.
Answers end with a word of encouragement for the student to keep learning.
Challenge Topic
Education: Help low resources students access and study from teachers' books.
Cost analysis
This is meant as a low-cost solution for schools or institutions scaling to hundreds of students.
As the application is built on free Open Source components, there is no upfront cost to deploying the system.
The cost for the virtual private server is around 5$ per month, which is about 5 cents per student per month on the assumption of the systeme being used in an institution of 100 students.
For the LLM part of the RAG chain, assuming the use of the GPT 3.5 API at prices around 0.00015$ per 1K tokens, a use of around 500 tokens per request and 50 requests per student per day, the cost per student per month would thus be around 10 cents.
A ballpark estimate of the system cost (server + API usage) would thus be around 15 cents per student per month. The total cost for a school with 100 students would thus be around 15$ per month.
future work

In the web application, add a sign up and logging in for students and teachers

Add in the web application, the possibility for teachers to upload new materials

Add the selection of different databases for different classes

Try if a small LLM model could run in the server instead of using an LLM API

Benchmarking load and response time of the server with increasing numbers of users

Build
Yes
Train
No
Analyze
No
Challenge Topic / Topic Category

[ ] Customized Information Extraction
[X] Education
[ ] Enhancing Accessibility in Healthcare Through AI
[ ] Mitigating Natural Disasters in a Changing Climate
[ ] Reducing Food Waste Through AI-Powered Innovation
[ ] other - World Issues
[ ] other - Open-Source
[ ] other - Scientific Computing
[ ] other

Project Repository URL
https://github.com/davidleon123/Book-Assistant.git
Deployed Endpoint URL
http://ai-demo.fr
Project Video File (not folder) Link (ensure viewer access)
https://drive.google.com/file/d/1aOG-6w_q0o40pn7BRT7aXSj9X1mwIMrh/view?usp=sharing
Team Members
@ davidleon123, @deamarialeon

Your project is a great initiative that addresses a real need—helping students learn more effectively by focusing on course-specific material while minimizing the risk of LLM hallucinations.
Deploying a demo endpoint for public use is a significant achievement. It allows others to interact with your solution and see its value firsthand!
If cost reduction is on your roadmap, there are excellent alternatives to using small models. Hosting larger models like llama3-70B/400B on API providers or GPU hosting platforms such as Modal can be significantly cheaper than many mainstream LLM APIs. Plus, it eliminates infrastructure maintenance concerns, allowing you to concentrate on refining the product.
One area for improvement would be creating a more straightforward and well-documented repository structure. This would invite contributions from the open-source community and help your project grow faster with external input.
I also noticed the planned feature for ingesting new books, which is an excellent next step! Make sure to support a variety of formats (e.g., PDFs with or without graphics, DOCX, etc.) to maximize the versatility and accessibility of your system.
This is a practical, impactful project with strong potential to scale and benefit students globally. Well done!

Thank you so much for your feedback @naumnaum !


Rename 2015-01-12-camazotz-first-post.md to 2016-01-12-camazotz-first…

…-post.md
Renamed to change the year.

:bicyclist:


Add Purescript language server

The root_dir supports both pulp and spago.

I made the changes according to the comment. However, luarocks seems to be having some trouble downloading luacheck. I am not sure what is happening (especially since I haven't made any changes to the CI definition).

@AntoineGagne ty :)


Add tests for #920. "brave.fush" annotation should not be reported for finished spans

These tests are currently failing, but show same bug as described in #920. See issue for more details.

thanks will be looking at this shortly and next release will address whatever we can without breaking something else :)


Automatic cleanup of old snapshots

It would be great to have options for automatically cleaning up older snapshots. It could be something like "keep 7 snapshots", "delete older than X days" and so on.

Yes. It will be addressed as part of https://github.com/kubedb/project/issues/168
Dup.


Update docs to show required config

See https://github.com/rails/tailwindcss-rails/issues/160

As mentioned by @dhh here, the maintainers are unable to reproduce what is being described at #160, and this documentation is incorrect.
If you can help us reproduce what's happening, please open an issue so we can fix it! Thank you!

I had the same problem and the solution by @Michael9311 solved the issue.
Rails <IP_ADDRESS>
Ruby 3.3.0
tailwindcss-rails 2.3.0
I created a simple Rails project:
rails new Play -css tailwind
rails g scaffold Post title:string body:text


add bio and links tallini

👷 Deploy Preview for gladia processing.

Name
Link

🔨 Latest commit
a1ab12eb56b8296678766c755af6ed66bc9a4bab

🔍 Latest deploy log
https://app.netlify.com/sites/gladia/deploys/63df8ff6c2aa5a0008e2430a


fix: missing catch clauses in the httpRequest

Q
A

Bug fix?
yes

New feature?
no

BC breaks?
no

Need Doc update
no

Describe your change
The requester was not catching correctly all exceptions, making the
retry strategy to fail instead of retrying for network related issues.
Apache HTTP client related materials:
Documentation about exception thrown by Apache HTTP client:
https://hc.apache.org/httpcomponents-core-4.4.x/tutorial/html/blocking-io.html#d5e375
(Legacy doc but some exceptions are still up-to-date)
https://hc.apache.org/httpclient-3.x/exception-handling.html

@aseure & @BenoitPerrot : I couldn't find a "source of truth" for all the potentials exceptions thrown by the HttpAsyncClient of Apache. I think we are handling all cases here, but I'd like to have a double check. Thanks!

For Another Review: could we leverage the info isNetworkError for emitting a better diagnostic when such thing occur?

Definitely, I had a chat with Adam about improving our message errors when all hosts are unreachable, I am going to open an issue in our spec repository.


Update to 1.19

I updated the mod to 1.19
The mod work and i don't found any problems

how to compile it?

1.19.1? Building on my end leads to fabric yelling about incorrect versioning even with all variables changed. Can you share your final. jar file?

Yes please let us test it without compiling

I updated the mod to 1.19 The mod work and i don't found any problems

Can't build it. Building gives me an error. Please upload JAR to Google Drive or something.

1.19 version will be out within the coming days, thank you for the PR.


Weird styles behavior

Describe the bug
At first, dragging color picker handle works smoothly, but as time passes, the color picker becomes more and more sluggish.
Potential reason: Whenever colors are changed, new styles are added in </head/>

Thanks @IlyasArinov I will investigate on it

You should use a ThemeProvider, your ColorPicker lacks some styles.
see my sandbox here:
https://codesandbox.io/s/material-ui-color-picker-qvcg3?file=/src/App.tsx

You should use a ThemeProvider, your ColorPicker lacks some styles.
see my sandbox here:
https://codesandbox.io/s/material-ui-color-picker-qvcg3?file=/src/App.tsx


feat(batch): simplify BatchProcessor for async and sync functions

Description of your changes
This PR flips the syntax of the AsyncBatchProcessor and BatchProcessor. During the implementation we oriented around the python implementation and replicated the names. In Node ecosystem the case with async and sync is the opposite. Most of the function from libraries are async and there are cases where a sync suffix on a function indicates that it's a synchronous function.
Therefore we rename AsyncBatchProcessor to BatchProcessor and BatchProcessor to BatchProcessorSync.

Related issues, RFCs

Issue number: closes #1677
Checklist

[ ] My changes meet the tenets criteria
[ ] I have performed a self-review of my own code
[ ] I have commented my code where necessary, particularly in areas that should be flagged with a TODO, or hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my change is effective and works
[ ] The PR title follows the conventional commit semantics

Breaking change checklist
Is it a breaking change?: NO

[ ] I have documented the migration process
[ ] I have added, implemented necessary warnings (if it can live side by side)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

Even though this was ultimately closed for the reasons discussed in #1680 I wanted to thank you for the time and effort put in the PR, I really appreciate the level of details.


CascadiaSettings: stop iterating every color scheme to compare their names, use the map

We have a map now, we don't need to iterate all of its pairs to find one by key.
Originally posted by @DHowett-MSFT in https://github.com/microsoft/terminal/pull/3033

@DHowett-MSFT I have attempted a PR (#3288) for this. Please have a look.


Spammage upon logging in after update

Describe the bug
Upon logging into the game I'm now getting spammed by endless counts of ... "lines" (see below)

To Reproduce
Just updated to lateset release and logged on
Expected behavior
Nothing
Screenshots

AddOn and Game Version:
Lateset release, Wrath Classic

Update...
It appears the spammage keeps coming every little change add to the standings
Raiding is spammed away

It's in ClassicLootManager\Modules\Rosters\RosterManager\Roster.lua on line 134, in function IsProfileInRoster.
Remove the print line until the addon is updated.

Closed in v4.4.1


Laravel 5.0.* supported?

It seems this package requires Laravel/Framework 5.1.* and that Laravel/Framework 5.0.* is not supported.  Is this the case?  If so, that requirement should be clearly stated. The wiki, by having a section called "Laravel 5 Installation" indicates that Laravel 5 is an option.
I say this because when I tried to install this package with composer, it failed saying that this package requires Illuminate/Config v 5.1.* whereas Laravel 5 only comes with Illuminate/Config 5.0.*.
My composer.json requirements:
"require": {
"laravel/framework": "5.0.",
"doctrine/dbal": "~2.3",
"lucadegasperi/oauth2-server-laravel": "5.0."
}
If I'm being stupid, by all means let me know.  But it seems to me that v 5.0.* of this package is not compatible with Laravel 5.  Only Laravel 5.1.

Yes.    Please disregard.
https://github.com/lucadegasperi/oauth2-server-laravel#version-compatibility


Progress information is confusing

Actually it looks like that kn func deploy (that still seems to include a build step) prints out:

but eventually ends up with

Note that the "Build part" has been completely removed. It is generally confusing to remove parts of a progress log, so you should either print it step by step (maybe even a timestamp might be helpful to see how long it took) and keep it or at least remove also the last progress step when done. Otherwise, when coming back to the output you are not sure what has been really done. Also not sure how well this works when redirection the output in a file (which typically happens also in a CI context).
Also, note the typo in "Deployin".
Also cool would be to have the URL is a separate line so that you quickly copy it into the clipboard by double-clicking that line.

Also, note the typo in "Deployin".

https://github.com/knative-sandbox/kn-plugin-func/pull/501

the -v flag enables standard, scrolling output without control characters.  Also note this is the default if the command is being run not in an interactive terminal (such as a cron job, etc).

/remove-lifecycle stale

@rhuss I actually think this issue is stale, and could probably be closed. In https://github.com/knative-sandbox/kn-plugin-func/issues/555 and https://github.com/knative-sandbox/kn-plugin-func/issues/552 we discussed build and deploy usability quite a bit, and have landed changes to the output in https://github.com/knative-sandbox/kn-plugin-func/pull/537.
Overall, we made a few efforts to really clean up the progress information when building.
In addition, we are starting to address some of usability concerns around the intersection of the build and deploy commands. For example, in https://github.com/knative-sandbox/kn-plugin-func/pull/681 we now support a --push flag on the build command.
I recommend that we close this issue, now that some of the output/behavior of the CLI has changed. If there are concerns you have with the new behavior we can open a new issue with specific details around desired usability changes. WDYT?

yes, sure. I was not aware that there has been changes elsewhere. If I find something odd I can still create a new issue.


Object reform

To checkout all at once, as suggested in the RFC PR, you can
repo init -u https://github.com/gkoz/rust-gnome-manifest -b object_reform


release: bump to v0.12.1

great thanks to @melgenek !

This PR requires semver major bump. I've yanked v0.12.1 and will re-release v0.13 soon.


Outputs vary for Koalas Series vs Pandas Series when we have np.nan

The behavior of the Series functions changes when I introduced a np.nan in the series. But Pandas seem to handle this just fine. Some of the functions and their outputs.
def usingSeries():
    s = ks.Series([11, 3, 5, 6, 8,np.nan])
    print(s.max())
    print(s.min())
    print(s.kurtosis())
    print(s.std())

nan
3.0
nan
nan

def usingPdSeries():
    s = pd.Series([11, 3, 5, np.nan, 6, 8])
    print(s.max())
    print(s.min())
    print(s.kurtosis())
    print(s.std())

11.0
3.0
-0.0034686090877542597
3.049590136395381

Thanks for reporting!

When running
s = ks.Series([11, 3, 5, 6, 8, np.nan])
print(s.max())
print(s.min())
print(s.kurtosis())
print(s.std())

with Koalas 0.2, I get the following output:
11.0
3.0
-1.0008671522719388
3.0495901363953815

Has this issue been fixed with the latest Koalas release or is something wrong with @akhilanandbv003's setup?

It works fine for me.
>>> s = ks.Series([11, 3, 5, 6, 8, np.nan])
>>> print(s.max())
11.0
>>> print(s.min())
3.0
>>> print(s.kurtosis())
-1.0008671522719395
>>> print(s.std())
3.0495901363953815

I also confirmed that it works fine. Closing this. Thank you guys.

Thanks for the update. I was getting that behavior with 0.1. Didn’t get a
chance to try with 0.2 release though.
On Fri, May 3, 2019 at 3:41 AM Hyukjin Kwon<EMAIL_ADDRESS>wrote:

Closed #208 https://github.com/databricks/koalas/issues/208.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/databricks/koalas/issues/208#event-2316746731, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADKLDXSRL5XLXSB6CNABEVDPTP3DRANCNFSM4HJQ2OBA
.

--
Sent from my iphone


Build tags to not compile-in 'hugo deploy' cloud SDKs

hugo deploy is convenient but pulls in many dependencies and cloud SDKs that can break on certain platforms (#6324) and generally increase the compilation time and size of the executable.
It would be nice to have a a negative build tag nodeploy so that functionality could be omitted by building using go install --tags nodeploy

Could I tackle this?

@emhagman be my guest, I just didn't want to impose on bep's time.

Could I tackle this?

Please do.

Great, thanks :+1:

https://github.com/gohugoio/hugo/pull/7868 took a stab at it. Let me know if you'd like me to remove the command all together or have hugo deploy return an error (which is currently what I coded)


Implement JelliScript bracket notation

This is the only major thing standing in the way of functional JelliScript arrays

JelliScript has now been abandoned in favour of element functions, so this won't ever happen :'(