Use https when linking to chris.beams.io

What is the purpose of this change? What does it change?
Why not link to How to Write a Git Commit Message using HTTPS, it's going to redirect anyway.
Was the change discussed in an issue or in the forum before?
No
Checklist

[x] I have read the Contribution Guidelines
[ ] I have added tests for all changes in this PR
[ ] I have added documentation for the changes (in the manual)
[ ] There's a new file in changelog/unreleased/ that describes the changes for our users (template here)
[ ] I have run gofmt on the code in all commits
[x] All commit messages are formatted in the same style as the other commits in the repo
[x] I'm done, this Pull Request is ready for review

Codecov Report

Merging #1922 into master will decrease coverage by 4.38%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1922      +/-   ##
==========================================
- Coverage   50.48%   46.09%   -4.39%
==========================================
  Files         170      170
  Lines       13213    13213
==========================================
- Hits         6670     6090     -580
- Misses       5539     6176     +637
+ Partials     1004      947      -57

Impacted Files
Coverage Δ

internal/backend/swift/swift.go
0% <0%> (-78.45%)
:arrow_down:

internal/backend/b2/b2.go
0% <0%> (-77.49%)
:arrow_down:

internal/backend/gs/gs.go
0% <0%> (-73.61%)
:arrow_down:

internal/backend/azure/azure.go
0% <0%> (-69.46%)
:arrow_down:

internal/backend/swift/config.go
36.95% <0%> (-54.35%)
:arrow_down:

internal/archiver/blob_saver.go
100% <0%> (+2.46%)
:arrow_up:

internal/archiver/file_saver.go
88.59% <0%> (+7.01%)
:arrow_up:

Continue to review full report at Codecov.

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


extended features enabled via configDropins do not install

extended features enabled via configDropins do not install

Fixed in #295

my pull request was merged, closing issue.


Update CMakeLists.txt

add opencv_imgcodecs to target_link_libraries for OpenCV 3.0

fixing error:

    /usr/bin/ld: libBING.a(Objectness.cpp.o): undefined reference to symbol     '_ZN2cv7imwriteERKNS_6StringERKNS_11_InputArrayERKSt6vectorIiSaIiEE'
    /usr/local/lib/libopencv_imgcodecs.so.3.0: error adding symbols: DSO missing from command line

re-organize library compile order

previously the LibLinear was compiled as library but not used; the BING was not considered as library
now LibLinear and BING are compiled as libraries and linked to a single main.cpp

this works, thanks!

@initialneil , after compile, I have the following problems when run sudo./BING_linux, do you know how to solve it?? Thanks.
Invalidate class name
in /media/BING_Linux/Src/DataSetVOC.cpp:125
OpenCV Error: Assertion failed (Invalidate class name
) in loadBox, file /media/BING_Linux/Src/DataSetVOC.cpp, line 125
terminate called after throwing an instance of 'cv::Exception'
what():  /media/BING_Linux/Src/DataSetVOC.cpp:125: error: (-215) Invalidate class name
in function loadBox

Hi, @RyanCV . DataSetVOC.cpp line 125:
    CV_Assert_(clsIdx[clsIdx.size() - 1] >= 0, ("Invalidate class name\n"));

means either clsIdx.size() == 0(there was no class loaded from the ground truth) or clsIdx[...] < 0(class labels were not valid). I guess your training data was not well prepared.

@initialneil, actually the error is caused by the different txt format in windows and Linux. I create a new class.txt file in linux and the problem has been solved. Thanks for your information.

Thanks a lot for updating this with OpenCV3.0!


6.2 Performance Review and Validation

Deliverable: Validation report including comparison of predictions on new data.

Result here


Failed to construct 'Worker': Script at 'https://libass.github.io/JavascriptSubtitlesOctopus/assets/js/subtitles-octopus-worker.js' cannot be accessed from origin ''.

I finally found a solution. Three changes.

default.woff2 and two fetch(wasmBinaryFile

It took a while to solve the coding problem. Don't know why set font regardless of role(fonts fallbackFont), eventually to replace the default font https://libass.github.io/JavascriptSubtitlesOctopus/assets/js/default.woff2 in code.

https://github.com/libass/JavascriptSubtitlesOctopus/issues/37

https://github.com/freemedom/Tampermonkey/blob/main/JavascriptSubtitlesOctopus_fix.js

Can you explain how to use this fix? I'm trying to use this library and would like to load it in a CDN rather than bundle everything together but I'm not able to get it working.

@lightninglu10
I haven't used it for a while. I remember using this code from this demo at the beginning, but you can take a look at the devtool console and see several cross origin related errors.
<script>
            var player = videojs('#test');
            player.ready(function () {
                // This would look more nice as a plugin but is's just as showcase of using with custom players
                var video = this.tech_.el_;
                window.SubtitlesOctopusOnLoad = function () {
                    var options = {
                        video: video,
                        subUrl: '/JavascriptSubtitlesOctopus/subtitles/test.ass',
                        fonts: ['/JavascriptSubtitlesOctopus/fonts/Arial.ttf', '/JavascriptSubtitlesOctopus/fonts/TimesNewRoman.ttf'],
                        //onReady: onReadyFunction,
                        debug: true,
                        workerUrl: '/JavascriptSubtitlesOctopus/assets/js/subtitles-octopus-worker.js'
                    };
                    window.octopusInstance = new SubtitlesOctopus(options); // You can experiment in console
                };
                if (SubtitlesOctopus) {
                    SubtitlesOctopusOnLoad();
                }
            });
        </script>

@lightninglu10
So I managed to solve a few of the errors. The main thing is to replace the js file of workerUrl with a local function. Then I modified several places in this function. The fonts modification is to adapt to Chinese.

The subtitles-octopus-worker.js, subtitles-octopus-worker-legacy.js, and subtitles-octopus-worker.wasm files need to be placed in the same-origin directory of the server, such as nginx, otherwise there will be cross-origin issues.

For languages like Chinese, the default font does not include the Chinese characters encoding. Therefore, it is necessary to add a font file that includes Chinese character encoding or manually set Chinese characters to a Chinese font when creating ASS subtitles. Otherwise, libass will not be able to render Chinese characters.


Possibility to set source priority on download list

I tend to download all the art from specific artists and I scrape various sources to get all of it since not everything is uploaded everywhere, so I just click download all and that's it. The problem is some sources take longer to download due to traffic limits.
It'd be cool if I could set a global priority to download those sources last. Organizing the download list itself sometimes doesn't work because when I click on move to the bottom in two different items, the first one comes back to its original place, therefore ruining the list's order.

A solution could be using monitors, you can setup them one after another, each on a board, of group of boards, then grabber will every "x" time check them and get the new images. Or you can just make a job with the slower boards first, then uncheck them, check the others and add them to the job list, it should work too.

A solution could be using monitors, you can setup them one after another, each on a board, of group of boards, then grabber will every "x" time check them and get the new images. Or you can just make a job with the slower boards first, then uncheck them, check the others and add them to the job list, it should work too.


Error occurred in handler for 'GUEST_VIEW_MANAGER_CALL': Error: Script failed to execute, this normally means an error was thrown. Check the renderer console for the error.

I am on Windows 10 , it is giving the following error message
"Error occurred in handler for 'GUEST_VIEW_MANAGER_CALL': Error: Script failed to execute, this normally means an error was thrown. Check the renderer console for the error."

related to #175


[BUG] Cannot ssh into VM -<EMAIL_ADDRESS>Permission denied (publickey) / connection refused on port 2222

General information

OS: Linux
Hypervisor: QEMU / libvirt
Did you run crc setup before starting it: Yes
Running CRC on: Baremetal-Server

CRC version
CRC version: 2.20.0+f3a947

CRC status
DEBU CRC version: 2.20.0+f3a947
DEBU OpenShift version: 4.13.0
DEBU Podman version: 4.4.4
DEBU Running 'crc status'
CRC VM:          Running
OpenShift:       Unreachable (v4.13.0)
Disk Usage:      0B of 0B (Inside the CRC VM)
Cache Usage:     26.29GB
Cache Directory: /home/ubuntu/.crc/cache

CRC config
- consent-telemetry                     : no
- cpus                                  : 12
- memory                                : 27648
- network-mode                          : user

Host Operating System
# Put the output of `cat /etc/os-release`
PRETTY_NAME="Ubuntu 22.04.2 LTS"

Steps to reproduce

Follow the instructions listed in https://github.com/crc-org/crc/wiki/Debugging-guide
crc ip returns <IP_ADDRESS>
ssh -i ~/.crc/machines/crc/id_ecdsa -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null<EMAIL_ADDRESS>returns<EMAIL_ADDRESS>Permission denied (publickey).

Expected
SSH into the VM should be possible. However, could it be due to the fact that crc ip is returning the IP address of the loopback interface, and should return a 192.168.x.x IP instead?
ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: enp3s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 74:56:3c:56:f1:1e brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/24 metric 100 brd <IP_ADDRESS> scope global dynamic enp3s0f0
       valid_lft 62233sec preferred_lft 62233sec
    inet6 2001:41d0:306:2bb7::/56 scope global
       valid_lft forever preferred_lft forever
    inet6 fe80::7656:3cff:fe56:f11e/64 scope link
       valid_lft forever preferred_lft forever
4: enp3s0f1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 74:56:3c:56:f1:1f brd ff:ff:ff:ff:ff:ff
5: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 52:54:00:d5:4d:5a brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global virbr0
       valid_lft forever preferred_lft forever

Worth noting that what prompted me to try to SSH into the VM is the fact that the OpenShift cluster is appearing as Unreachable (I've read through this previous issue by the way: https://github.com/crc-org/crc/issues/1888).
Logs
Before gather the logs try following if that fix your issue
$ crc delete -f
$ crc cleanup
$ crc setup
$ crc start --log-level debug

The cluster starts without visible issues, without needing to delete the existing install.

With user-mode networking (crc config get networking-mode), <IP_ADDRESS> is expected. In this configuration, the ssh port for the VM is remapped to 2222. Port 22 will try to connect to the host SSH daemon, not to the VM.

@cfergeau on a sidenote, does it make sense to add a documentation to describe the usage of this with an ssh config entry, and perhaps even set the correct key (or add configuration to use the user's ssh key?). WDYT?

This is already documented in https://github.com/crc-org/crc/wiki/Debugging-guide

Running into another issue now:
crc status
CRC VM:          Running
OpenShift:       Unreachable (v4.13.0)
Disk Usage:      0B of 0B (Inside the CRC VM)
Cache Usage:     26.29GB
Cache Directory: /home/ubuntu/.crc/cache

So the VM is Running, but I am getting a ssh: connect to host <IP_ADDRESS> port 2222: Connection refused error.
Verbose output:
OpenSSH_8.9p1 Ubuntu-3ubuntu0.3, OpenSSL 3.0.2 15 Mar 2022
debug1: Reading configuration data /home/ubuntu/.ssh/config
debug1: /home/ubuntu/.ssh/config line 1: Applying options for crc
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug2: resolve_canonicalize: hostname <IP_ADDRESS> is address
debug3: ssh_connect_direct: entering
debug1: Connecting to <IP_ADDRESS> [<IP_ADDRESS>] port 2222.
debug3: set_sock_tos: set socket 3 IP_TOS 0x10
debug1: connect to address <IP_ADDRESS> port 2222: Connection refused
ssh: connect to host <IP_ADDRESS> port 2222: Connection refused

Here's the ssh config:
Host crc
    Hostname <IP_ADDRESS>
    User core
    Port 2222
    IdentityFile ~/.crc/machines/crc/id_ecdsa
    StrictHostKeyChecking no
    UserKnownHostsFile /dev/null

sudo lsof -i:2222 returns no output. Have I missed anything here?

It shows "unreachable" so something is afoot/weird; the status command itself uses SSH to check the disk usage. This returns 0, so it feels like something crashed inside the VM. Canyou check what the console says from the hypervisor mnagement tools?

https://github.com/crc-org/crc/wiki/Debugging-guide

This is wiki, not documentation.

It shows "unreachable" so something is afoot/weird; the status command itself uses SSH to check the disk usage. This returns 0, so it feels like something crashed inside the VM (or the daemon process). Can you check what the console says from the hypervisor management tools?

I am seeing frequent occurences of those logs lines produced by the libvirtd.service systemd unit:
Aug 22 13:01:18 ns3220936 libvirtd[226934]: 226934: error : virNetSocketReadWire:1793 : End of file while reading data: Input/output error

However, they also occur when the OpenShift cluster is in a Running state so I don't think this is the root cause of this issue.
Since we're using QEMU / libvirt on this host, is there anything else I could check?

sudo virsh list --all will show the state of the crc VM.
At this point, I'd try crc stop; crc start to see if it helps, or crc delete; crc start if you don't mind the cluster data loss.

Is the crc daemon as process still active? Since if that disappeared, the VM becomes unreachable.

When the daemon process is 'stopped' on Windows, it responds back with:
$ crc status
crc does not seem to be setup correctly, have you run 'crc setup'?

but when the process is restarted it shows what you show us:
gbraad@WINT14  ~  crc status
CRC VM:          Running
MicroShift:      Running (v4.13.0)
RAM Usage:       1.139GB of 3.902GB
Disk Usage:      8.216GB of 16.1GB (Inside the CRC VM)
Cache Usage:     20.72GB
Cache Directory: C:\Users\gbraad\.crc\cache
gbraad@WINT14  ~  crc status
crc does not seem to be setup correctly, have you run 'crc setup'?
gbraad@WINT14  ~  crc setup
INFO Using bundle path C:\Users\gbraad\.crc\cache\crc_microshift_hyperv_4.13.0_amd64.crcbundle
INFO Checking minimum RAM requirements
INFO Checking if current user is in crc-users and Hyper-V admins group
INFO Checking if CRC bundle is extracted in '$HOME/.crc'
INFO Checking if C:\Users\gbraad\.crc\cache\crc_microshift_hyperv_4.13.0_amd64.crcbundle exists
INFO Checking if the daemon task is installed
INFO Checking if the daemon task is running
INFO Running the daemon task
INFO Checking admin helper service is running
Your system is correctly setup for using CRC. Use 'crc start' to start the instance
gbraad@WINT14  ~  ssh core@localhost -p 2222 -I C:\Users\gbraad\.crc\machines\crc\id_ecdsa.pub
ssh: connect to host localhost port 2222: Connection refused
gbraad@WINT14  ~  crc status
CRC VM:          Running
MicroShift:      Unreachable (v4.13.0)
Disk Usage:      0B of 0B (Inside the CRC VM)
Cache Usage:     20.72GB
Cache Directory: C:\Users\gbraad\.crc\cache

On Linux the daemon is automagically restarted with socket activation. This means that when the process is gone (crashed), we just restart and provide a new instance. However, in that case no forwards have been setup. This is state that has been lost as we do not record this to be re-established.

Thanks for following up on that one. So the cluster has become Unreachable again, not sure exactly when that happened:
crc status --log-level debug
DEBU CRC version: 2.20.0+f3a947
DEBU OpenShift version: 4.13.0
DEBU Podman version: 4.4.4
DEBU Running 'crc status'
CRC VM:          Running
OpenShift:       Unreachable (v4.13.0)
Disk Usage:      0B of 0B (Inside the CRC VM)
Cache Usage:     26.29GB
Cache Directory: /home/ubuntu/.crc/cache

We can see that the virsh command output shows that crc is running:
sudo virsh list --all
 Id   Name   State
----------------------
 1    crc    running

I can also confirm that the cluster is back to a Running state if I run crc stop;|&& crc start. I am also still trying to figure out why the disk usage shows as 0B of 0B but I haven't found any additional hints at this point.

why the disk usage shows as 0B of 0B but I haven't found any additional hints at this point

Disk usage shown from VM prospective and that uses ssh connection to be working, when it is in Running state it will also show correct disk usage.

... when it is in Running state it will also show correct disk usage.

EDIT: didn't mean to close this issue.
And yes indeed, it does show the current disk usage when the cluster is back in a Running state:
CRC VM:          Running
OpenShift:       Running (v4.13.0)
RAM Usage:       11.03GB of 30.79GB
Disk Usage:      27.53GB of 32.68GB (Inside the CRC VM)
Cache Usage:     26.29GB
Cache Directory: /home/ubuntu/.crc/cache

Could you check the daemon state when this happens? systemctl status --user crc-daemon.service

OK so the daemon seems to has crashed:
crc status
CRC VM:          Running
OpenShift:       Unreachable (v4.13.0)
Disk Usage:      0B of 0B (Inside the CRC VM)
Cache Usage:     26.29GB
Cache Directory: /home/ubuntu/.crc/cache

VM still marked as running:
sudo virsh list --all
 Id   Name   State
----------------------
 2    crc    running

The daemon isn't restarting apparently:
systemctl --user show crc-daemon.service -p NRestarts
NRestarts=0

The daemon service still running, we can notice some errors though:
systemctl status --user crc-daemon.service
● crc-daemon.service - CRC daemon
     Loaded: loaded (/home/ubuntu/.config/systemd/user/crc-daemon.service; static)
     Active: active (running) since Mon 2023-08-28 08:15:17 UTC; 1min 57s ago
...
Aug 28 08:15:24 ns3220936 crc[294020]: W0828 08:15:24.584550  294020 gonet.go:457] ep.GetRemoteAddress() failed: endpoint not connected
Aug 28 08:15:24 ns3220936 crc[294020]: W0828 08:15:24.761787  294020 gonet.go:457] ep.GetRemoteAddress() failed: endpoint not connected
Aug 28 08:15:30 ns3220936 crc[294020]: @ - - [28/Aug/2023:08:15:30 +0000] "GET /api/status HTTP/1.1" 200 154

Perhaps some interesting hints in the crcd.log file?
time="2023-08-28T08:15:30Z" level=debug msg="Cannot get root partition usage: ssh command error:\ncommand : df -B1 --output=size,used,target /sysroot | tail -1\nerr     : dial tcp <IP_ADDRESS>:2222: connect: connection refused\n"
time="2023-08-28T08:15:30Z" level=debug msg="Cannot get RAM usage: ssh command error:\ncommand : awk '/^Mem/ {print $2,$3}' <(free -b)\nerr     : dial tcp <IP_ADDRESS>:2222: connect: connection refused\n"

Hope that it's useful. Thanks.

NRestarts=0

Either the service was 'stopped' (like socket activation has a timeout) or a crash does not cause a socket activation to record this as a restart:
As it looks clear that
     Active: active (running) since Mon 2023-08-28 08:15:17 UTC; 1min 57s ago

... with an uptime of mere minute(s), would not allow the cluster to have fully started otherwise; this was restarted.

@dabcoder what version of systemd ubuntu have? Also can you provide journalctl logs for service journalctl --user -u crc-daemon ?

@dabcoder As per daemon logs there is continue warning around endpoint not connected which is coming from https://github.com/google/gvisor/blob/master/pkg/tcpip/errors.go#L448 , will inspect what is happening and ask for more info.
Sep 04 13:20:53 ns3220936 crc[356229]: level=info msg="new connection from vm(3):2383898004 to vm(4294967295):1024"
Sep 04 13:21:56 ns3220936 crc[356229]: W0904 13:21:56.762835  356229 gonet.go:457] ep.GetRemoteAddress() failed: endpoint not connected
Sep 04 13:21:56 ns3220936 crc[356229]: W0904 13:21:56.853472  356229 gonet.go:457] ep.GetRemoteAddress() failed: endpoint not connected
Sep 04 13:21:57 ns3220936 crc[356229]: W0904 13:21:57.309752  356229 gonet.go:457] ep.GetRemoteAddress() failed: endpoint not connected
Sep 04 13:21:57 ns3220936 crc[356229]: W0904 13:21:57.346149  356229 gonet.go:457] ep.GetRemoteAddress() failed: endpoint not connected
Sep 04 13:21:57 ns3220936 crc[356229]: W0904 13:21:57.804982  356229 gonet.go:457] ep.GetRemoteAddress() failed: endpoint not connected
Sep 04 13:21:57 ns3220936 crc[356229]: W0904 13:21:57.831189  356229 gonet.go:457] ep.GetRemoteAddress() failed: endpoint not connected
Sep 04 13:21:57 ns3220936 crc[356229]: W0904 13:21:57.850099  356229 gonet.go:457] ep.GetRemoteAddress() failed: endpoint not connected
Sep 04 13:21:57 ns3220936 crc[356229]: W0904 13:21:57.921616  356229 gonet.go:457] ep.GetRemoteAddress() failed: endpoint not connected
Sep 04 13:21:58 ns3220936 crc[356229]: W0904 13:21:58.009339  356229 gonet.go:457] ep.GetRemoteAddress() failed: endpoint not connected

the error messages are describing the effects, as the 'connection refused' makes sense when thee is no forwarding anymore.
https://github.com/crc-org/crc/issues/3794#issuecomment-1698522621

We do not have an understanding yet why the daemon restarts/crashes. This is what we need to figure out. It is not Systemd version related as the behaviour from ther service is as expected; it (re)starts on a socket request.

Would be interesting to see if there are logs from around the time it crashed, though there also seems to be 'legitimate' restarts of the daemon.
Can you try something like journalctl --user -u crc-daemon.service |grep -B 50 "Starting CRC daemon"?

Reading part of the log does raise eyebrows:
Aug 30 16:04:38 ns3220936 crc[327745]: W0830 16:04:38.708015  327745 gonet.go:457] ep.GetRemoteAddress() failed: endpoint not connected
Aug 30 16:12:56 ns3220936 systemd[327429]: Stopping CRC daemon...
Aug 30 16:12:56 ns3220936 systemd[327429]: Stopped CRC daemon.
Aug 30 16:12:56 ns3220936 systemd[327429]: crc-daemon.service: Consumed 2min 6.169s CPU time.
Sep 04 13:20:53 ns3220936 systemd[356017]: Starting CRC daemon...
Sep 04 13:20:53 ns3220936 crc[356229]: level=info msg="using socket provided by crc-vsock.socket"
Sep 04 13:20:53 ns3220936 crc[356229]: level=info msg="using socket provided by crc-http.socket"
Sep 04 13:20:53 ns3220936 systemd[356017]: Started CRC daemon.
Sep 04 13:20:53 ns3220936 crc[356229]: level=info msg="new connection from vm(3):2383898004 to vm(4294967295):1024"
Sep 04 13:21:56 ns3220936 crc[356229]: W0904 13:21:56.762835  356229 gonet.go:457] ep.GetRemoteAddress() failed: endpoint not connected

it shows the errors and a clean 'stopped' about 8 mins later. This might be user interaction?
but the one after the started fails very quickly after this, like within a minute?

You also run podman desktop with the extension, right?

We're using a recent version of podman for Ubuntu which we installed following these instructions: https://podman.io/docs/installation#ubuntu (so not podman desktop).
Version:      3.4.4
API Version:  3.4.4
Go Version:   go1.18.1
Built:        Thu Jan  1 00:00:00 1970
OS/Arch:      linux/amd64

Can you try something like journalctl --user -u crc-daemon.service |grep -B 50 "Starting CRC daemon"?

Just produced the output and we can indeed see:
Sep 04 17:24:51 ns3220936 crc[356229]: W0904 17:24:51.075500  356229 gonet.go:457] ep.GetRemoteAddress() failed: endpoint not connected
Sep 04 17:24:57 ns3220936 crc[356229]: W0904 17:24:57.018924  356229 gonet.go:457] ep.GetRemoteAddress() failed: endpoint not connected
Sep 04 17:24:57 ns3220936 crc[356229]: W0904 17:24:57.449783  356229 gonet.go:457] ep.GetRemoteAddress() failed: endpoint not connected
Sep 04 17:41:06 ns3220936 crc[356229]: W0904 17:41:06.743005  356229 gonet.go:457] ep.GetRemoteAddress() failed: endpoint not connected
Sep 04 17:41:07 ns3220936 crc[356229]: W0904 17:41:07.262890  356229 gonet.go:457] ep.GetRemoteAddress() failed: endpoint not connected
Sep 04 17:44:55 ns3220936 systemd[356017]: Stopping CRC daemon...
Sep 04 17:44:55 ns3220936 systemd[356017]: Stopped CRC daemon.
Sep 04 17:44:55 ns3220936 systemd[356017]: crc-daemon.service: Consumed 1min 31.444s CPU time.
Sep 06 08:17:01 ns3220936 systemd[376139]: Starting CRC daemon...

This stopping CRC daemon action on the 4th of September 5.44pm UTC wasn't manual or user initiated so to speak. It seems to me that the daemon stopped and only restarted on the 6th of September (without user interaction since I didn't start it earlier today).

it shows the errors and a clean 'stopped' about 8 mins later. This might be user interaction?

Aug 30 16:12:56 ns3220936 systemd[327429]: Stopping CRC daemon...
Aug 30 16:12:56 ns3220936 systemd[327429]: Stopped CRC daemon.
Aug 30 16:12:56 ns3220936 systemd[327429]: crc-daemon.service: Consumed 2min 6.169s CPU time.
Sep 04 13:20:53 ns3220936 systemd[356017]: Starting CRC daemon...

Those ones were user related, yes, manual stop and start.

but the one after the started fails very quickly after this, like within a minute?

I didn't actually check the OpenShift state, whether it was Running or Unreachable at that time unfortunately.

For the record, we're spinning up crc on another VM/instance (CentOS this time). Will report findings tomorrow (whether we're noticing the same crashes/unavailability of the cluster).

For the record, we're spinning up crc on another VM/instance (CentOS this time). Will report findings tomorrow (whether we're noticing the same crashes/unavailability of the cluster).

... and so far the OpenShift cluster seems stable on that CentOS host. Minus crc which isn't reporting any status.
 crc status --log-level debug
DEBU CRC version: 2.26.0+233df0
DEBU OpenShift version: 4.13.9
DEBU Podman version: 4.4.4
DEBU Running 'crc status'
crc does not seem to be setup correctly, have you run 'crc setup'?

Yet I did, and then I also ran crc start to bootstrap the cluster, the Kubernetes API is responding and I'm able to use the oc CLI to query it as expected. So that is a different issue.
So on the Ubuntu host we have:
virsh version
Compiled against library: libvirt 8.0.0
Using library: libvirt 8.0.0
Using API: QEMU 8.0.0
Running hypervisor: QEMU 6.2.0

And on the CentOS:
virsh version
Compiled against library: libvirt 9.5.0
Using library: libvirt 9.5.0
Using API: QEMU 9.5.0
Running hypervisor: QEMU 8.0.0

(more recent libvirt version as well as QEMU API). Might play a role in that cluster instability issue?

We have seen some inconsistencies before with Ubuntu and our clusterm but
this concerned a Ryzen/Epyc CPU
On Fri, Sep 8, 2023 at 5:34 PM David B. @.***> wrote:

... and so far the OpenShift cluster seems stable on that CentOS host.
Minus crc which isn't reporting any status.
crc status --log-level debug
DEBU CRC version: 2.26.0+233df0
DEBU OpenShift version: 4.13.9
DEBU Podman version: 4.4.4
DEBU Running 'crc status'
crc does not seem to be setup correctly, have you run 'crc setup'?
Yet I did, and then I also ran crc start to bootstrap the cluster, the
Kubernetes API is responding and I'm able to use the oc CLI to query it
as expected. So that is a different issue.
So on the Ubuntu host we have:
virsh version
Compiled against library: libvirt 8.0.0
Using library: libvirt 8.0.0
Using API: QEMU 8.0.0
Running hypervisor: QEMU 6.2.0
And on the CentOS:
virsh version
Compiled against library: libvirt 9.5.0
Using library: libvirt 9.5.0
Using API: QEMU 9.5.0
Running hypervisor: QEMU 8.0.0
(more recent libvirt version as well as QEMU API). Might play a role in
that cluster instability issue?
—
Reply to this email directly, view it on GitHub
https://github.com/crc-org/crc/issues/3794#issuecomment-1711371010, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAAOZSGHMCDWH2QCGXJTRTXZLRA3ANCNFSM6AAAAAA3VRMY7U
.
You are receiving this because you commented.Message ID:
@.***>

--
Gerard Braad | http://gbraad.nl
STEM is the source, but BUILD is how you develop!
[ Better Understanding Involves Learning and Doing ]

same thing trying out crc on Ubuntu 22.04.4, trying to create the instance
INFO Starting CRC VM for openshift 4.15.10...
INFO CRC instance is running with IP <IP_ADDRESS>
INFO CRC VM is running
INFO Updating authorized keys...
INFO Configuring shared directories
INFO Check internal and public DNS query...
INFO Check DNS query from host...
WARN Wildcard DNS resolution for apps-crc.testing does not appear to be working
INFO Verifying validity of the kubelet certificates...
INFO Starting kubelet service
INFO Waiting for kube-apiserver availability... [takes around 2min]
Error waiting for apiserver: Temporary error: ssh command error:
command : timeout 5s oc get nodes --context admin --cluster crc --kubeconfig /opt/kubeconfig
err     : Process exited with status 1
 (x221)

when checking the status it shows running but unreachable
crc status --log-level debug
DEBU CRC version: 2.35.0+3956e8
DEBU OpenShift version: 4.15.10
DEBU Podman version: 4.4.4
DEBU Running 'crc status'
CRC VM:          Running
OpenShift:       Unreachable (v4.15.10)
RAM Usage:       2.12GB of 14.66GB
Disk Usage:      19.89GB of 32.68GB (Inside the CRC VM)
Cache Usage:     27.27GB

in crc.log
time="2024-05-14T13:00:32+02:00" level=debug msg="retry loop: attempt 220"
time="2024-05-14T13:00:32+02:00" level=debug msg="Running SSH command: timeout 5s oc get nodes --context admin --cluster crc --kubeconfig /opt/kubeconfig"
time="2024-05-14T13:00:32+02:00" level=debug msg="SSH command results: err: Process exited with status 1, output: "
time="2024-05-14T13:00:32+02:00" level=debug msg="E0514 11:00:43.534563    9219 memcache.go:265] couldn't get current server API group list: Get \"https://api.crc.testing:6443/api?timeout=32s\": dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host\nE0514 11:00:43.534956    9219 memcache.go:265] couldn't get current server API group list: Get \"https://api.crc.testing:6443/api?timeout=32s\": dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host\nE0514 11:00:43.536383    9219 memcache.go:265] couldn't get current server API group list: Get \"https://api.crc.testing:6443/api?timeout=32s\": dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host\nE0514 11:00:43.536667    9219 memcache.go:265] couldn't get current server API group list: Get \"https://api.crc.testing:6443/api?timeout=32s\": dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host\nE0514 11:00:43.538035    9219 memcache.go:265] couldn't get current server API group list: Get \"https://api.crc.testing:6443/api?timeout=32s\": dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host\nUnable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host\n"
time="2024-05-14T13:00:32+02:00" level=debug msg="error: Temporary error: ssh command error:\ncommand : timeout 5s oc get nodes --context admin --cluster crc --kubeconfig /opt/kubeconfig\nerr     : Process exited with status 1\n - sleeping 1s"

when sshing into the VM
[systemd]
Failed Units: 1
  qemu-guest-agent.service

trying to run a kubectl command
KUBECONFIG=/opt/kubeconfig kubectl get co
E0514 11:58:40.523111   11099 memcache.go:265] couldn't get current server API group list: Get "https://api.crc.testing:6443/api?timeout=32s": dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
E0514 11:58:40.524245   11099 memcache.go:265] couldn't get current server API group list: Get "https://api.crc.testing:6443/api?timeout=32s": dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
E0514 11:58:40.525767   11099 memcache.go:265] couldn't get current server API group list: Get "https://api.crc.testing:6443/api?timeout=32s": dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
E0514 11:58:40.526177   11099 memcache.go:265] couldn't get current server API group list: Get "https://api.crc.testing:6443/api?timeout=32s": dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
E0514 11:58:40.527603   11099 memcache.go:265] couldn't get current server API group list: Get "https://api.crc.testing:6443/api?timeout=32s": dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
Unable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host

There is a service listening on port 53, seems like dns is not working (<IP_ADDRESS> is the IP of the VM)
[core@crc ~]$ ping api.crc.testing
ping: api.crc.testing: Name or service not known
[core@crc ~]$ ping google.com
PING google.com (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from fra02s19-in-f14.1e100.net (<IP_ADDRESS>): icmp_seq=1 ttl=113 time=39.1 ms
64 bytes from fra02s19-in-f14.1e100.net (<IP_ADDRESS>): icmp_seq=2 ttl=113 time=55.1 ms
[core@crc ~]$ cat /etc/resolv.conf
# Generated by NetworkManager
nameserver <IP_ADDRESS>
[core@crc ~]$ dig -ta api.crc.testing

; <<>> DiG 9.16.23-RH <<>> -ta api.crc.testing
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 30775
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;api.crc.testing.		IN	A

;; AUTHORITY SECTION:
.			9866	IN	SOA	a.root-servers.net. nstld.verisign-grs.com.<PHONE_NUMBER> 1800 900<PHONE_NUMBER>0

;; Query time: 2 msec
;; SERVER: <IP_ADDRESS>#53(<IP_ADDRESS>)
;; WHEN: Tue May 14 12:07:49 UTC 2024
;; MSG SIZE  rcvd: 119


Added agilitycms github repo to existing agilitycms project

Thanks for the update! This repo is definitely helpful, but doesn't represent the product itself as Agility isn't open source - can you move the repo link as an information add to the body of the markdown file?

Hi @erquhart while our Product itself isn't open-source, our SDKs and API are. I was hoping that would suffice, but if that's not the case, that's fine. One thing I just noticed though, is that our twitter followers aren't coming through - when I thought it was before... Is there anything we need to update for that?


Error using module

Hello,
after installing the module i got this error in logfile :

ost.raspberrypi
2017-11-07 13:01:45.231
info
Restart adapter system.adapter.wifilight.0 because enabled

host.raspberrypi
2017-11-07 13:01:45.231
error
instance system.adapter.wifilight.0 terminated with code 1 ()

Caught
2017-11-07 13:01:45.230
error
by controller[0]: at startup (bootstrap_node.js:149:9)

Caught
2017-11-07 13:01:45.230
error
by controller[0]: at run (bootstrap_node.js:383:7)

Caught
2017-11-07 13:01:45.230
error
by controller[0]: at Module.runMain (module.js:604:10)

Caught
2017-11-07 13:01:45.229
error
by controller[0]: at Function.Module._load (module.js:438:3)

Caught
2017-11-07 13:01:45.229
error
by controller[0]: at tryModuleLoad (module.js:446:12)

Caught
2017-11-07 13:01:45.229
error
by controller[0]: at Module.load (module.js:487:32)

Caught
2017-11-07 13:01:45.228
error
by controller[0]: at Object.Module._extensions..js (module.js:579:10)

Caught
2017-11-07 13:01:45.228
error
by controller[0]: at Module._compile (module.js:570:32)

Caught
2017-11-07 13:01:45.228
error
by controller[0]: at Object. (/opt/iobroker/node_modules/iobroker.wifilight/wifilight.js:20:20)

Caught
2017-11-07 13:01:45.227
error
by controller[0]: at Object.exports.Adapter (/opt/iobroker/node_modules/soef/soef.js:1141:23)

Caught
2017-11-07 13:01:45.227
error
by controller[0]: TypeError: fns.adapter is not a function

Caught
2017-11-07 13:01:45.227
error
by controller[0]: ^

Caught
2017-11-07 13:01:45.226
error
by controller[0]: fns.adapter = fns.adapter(options);

Caught
2017-11-07 13:01:45.225
error
by controller[0]: /opt/iobroker/node_modules/soef/soef.js:1141

host.raspberrypi
2017-11-07 13:01:44.283
info
instance system.adapter.wifilight.0 started with pid 4843

The networkdevices will not be found (LD382)
Cheers
Andreas

This issue was moved to iobroker-community-adapters/ioBroker.wifilight-community#2


ImportError: cannot import name 'clock' from 'time' (unknown location)

time.clock have been removed in Python 3.8 after being deprecated in Python 3.3
Info found here : https://github.com/PyTables/PyTables/issues/744#issue-466721093

closed as duplicate https://github.com/wonderworks-software/PyFlow/issues/79#issue-550076059


Line number is always 0 in log file

Hi!
I am using NLog 4.7.0 in .Net Standard 2.0 and the startup project is a .NET Framework 4.6.1 console windows application.
The console windows application references the standard project.
NLog print results are as follows:
2020-08-28 16:20:55.8411 | Error | SDK.Device.Transport.Connection.OnClientDisconnected:0 - Message1
2020-08-28 16:22:55.8411 | Error | SDK.Device.Transport.Connection.OnClientDisconnected:0 - Message2
As you can see, the line number of code is always 0.
NLog.config content is as below:
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://www.nlog-project.org/schemas/NLog.xsd NLog.xsd"
      autoReload="true"
      throwExceptions="false"
      internalLogLevel="Off" internalLogFile="c:\temp\nlog-internal.log">

  <variable name="myvar" value="myvalue"/>

  <targets>

    <target name="file_log"
      xsi:type="File"
      maxArchiveFiles="30"
      fileName="${basedir}/logs/log${shortdate}.txt"
      layout="${longdate} | ${level:uppercase=false} | ${callsite:fileName}:${callsite-linenumber} - ${message} ${onexception:${exception:format=tostring} ${newline} ${stacktrace} ${newline}" />
  </targets>

  <rules>
    <logger name="*" minlevel="Trace" writeTo="file_log" />
  </rules>
</nlog>

If the startup project of .NET Framework 4.6.1 console windows application is replaced by .NET Core 2.2 console windows application, the printing result is normal.
If the ClassLibrary of .Net Standard 2.0 is replaced by ClassLibrary of .NET Framework 4.6.1, the printing result is also normal.
Thanks very much for helping to look at this problem.

Have you seen this comment?

If symbol symbol information is not available, then it will only output source-code line-number 0. Symbol information from PDB files must be deployed with the application to retrieve and output source-code line-number. For applications compiled in release mode, then inlining can occur and cause "unexpected" line-numbers.

From:
https://github.com/NLog/NLog/wiki/Callsite-line-number-layout-renderer

Also notice that only Net472 (or newer) is able to handle PDB-files compiled for NetStandard. Net461 cannot parse the new PDB-file-format.

Have you seen this comment?

If symbol symbol information is not available, then it will only output source-code line-number 0. Symbol information from PDB files must be deployed with the application to retrieve and output source-code line-number. For applications compiled in release mode, then inlining can occur and cause "unexpected" line-numbers.

From:
https://github.com/NLog/NLog/wiki/Callsite-line-number-layout-renderer

ok, thank you for response. By the way,  how to deployed Symbol information from PDB files with the application to retrieve and output source-code line-number?

@liaoliaoda By the way, how do you deploy Symbol information (PDB files) and the application together to retrieve and output source-code line-number?

Sounds like a question for stackoverflow.


chore: downgrade to arrow 7 (revert upgrade to arrow 8)

Rationale
https://github.com/influxdata/influxdb-iox-client-go/pull/28 added support for the WriteInfo service but also upgraded to arrow 8 (from arrow 7).
This caused pain / suffering when I tried to update in our internal tests (see https://github.com/influxdata/idpe/pull/14411). Since my go-fu is not strong enough to push an upgrade of arrow through the whole stack (as now flux / idpe also depend on arrow / 7), I would like to revert the upgrade to arrow 8.
If we feel strongly about updating to arrow 8 we can undertake that as part of upgrading the entire stack
Related to https://github.com/influxdata/conductor/issues/933

I upgraded to v8 out of habit, and because I didn't realize it would cause trouble downstream. At least we know that v8 will work with IOx. :)

Filed https://github.com/influxdata/influxdb-iox-client-go/issues/31 to track updating to v8


WebApp - Need to creating a new seed phrase when reopening create a new account

Describe the task
Need to creating a new seed phrase when reopening create a new account

Related to https://github.com/Koniverse/SubWallet-Extension/issues/1743

To reproduce the behavior
Steps:

Choose option "Create a new account" then select "Create with new seed phrase"
Select account type then clcik on Continue to next step
Observe the seed phrase generated
Click on Back to step 2
Select account type then click Continue again
Observe the seed phrase generated

Actual: Do not generate new seed phrase
Expect: Generate new seed phrase (like UX in the extension)

Version test: https://webapp-dev.subwallet-webapp.pages.dev/
Validation passed for this case

The new seedphrase is generated


I want to interact with the piano using mouse. Can I do it?

If yes, can  you tell me how? I've tried to add onDocumentMousedown but it doesn't work :( . Thanks in advance.

Wonderful question that I have much interest in. Have tried many times and failed each time.
Have also tried to get it to work with touchscreen desktop with no luck.
The kids would love to have it on their touch work stations but I never could figure it out.

It is not currently possible but it could be a nice addition. Unfortunately I am working on other stuff these days so the only chance is for you to fork the code. Regards

Thanks @reality3d . Can understand time.
Maybe I can get some of the students to look into changing code for classroom project.


Newsletter 113

WIP.  I'm unable to finish on time due to an right arm injury, but maybe this is close enough to done that others are able to work on it without too much disruption to their regular schedules.  If not, I should be able to start contributing again (albeit slower than usual) in a few days, so we can just skip a week of publication.  Sorry everyone.

Oh dear, just seen this :/ Hope you recover quickly @harding!
I am happy to allocate time to this for review and cleanup if we want to try to get this out this week. My transcripts section is drafted. Obviously I haven't helped get a newsletter out before so I'd need someone who has to at least guide me through it.

I've pushed a fixup commit that fixes the links (in one case removing the nbitcoin link because I wasn't able to find what it was referencing), removes fixups, removes the new releases section (I checked bitcoin core, lnd, c-lightning and eclair) and adds a summary.

I'm assuming we are going to try to get this out without @harding. Is there anything I can help with? I can open a PR to this repo with my transcripts section? Anything else?

I've pushed @michaelfolkson's transcripts commit, and a second commit that fixes it up to use our formatting. I haven't done much more than a skim of the contents of this newsletter. If everyone does their review as normal, I'm happy to apply any suggested changes tomorrow.

Is there anything I can help with? I could push a transcripts section commit? Anything else?

Thanks for the offer Michael. I don't think there's anything specific, but do feel free to help out with general review. I'd also recommend you take a look at the News113: fixup transcriptions formatting commit I just pushed. The only things I did there were:

line-wrap at 80 chars
move link URLs to the bottom of the file
style as bullet points instead of paragraphs

(1 and 2 make it easier to review and work with the raw markdown. 3 means that internal links are automatically generated). If you formatted your future transcriptions sections like that, it'd save harding a bit of work in future.

I've just pushed a description of Bitcoin Core PR 19731. I don't plan on doing any more to this PR today, but will address all review comments tomorrow.

My arm is doing a bit better and I was able to get an customized keyboard setup rigged, so I made the suggested edits (or replied to comments explaining why not).  I should be around Tuesday and maybe Wednesday morning for any last minute suggestions.
A huge thanks to everyone for helping out, and a special thanks to @jnewbery for finding all the links and finishing the bits of text I had put off doing before my injury.

@MaxHillebrand I completely avoid using GitHub and GitHub-only workflows except for commenting and searching on PRs or reading issues. Git commits and branches are pulled down locally, searched, diffed, reviewed and tested locally. This minimizes trust of GitHub and of being tied to GitHub. I'd be very happy if GitHub dropped all these features, loaded more quickly and functioned with less bugginess.

@MaxHillebrand I minimize using GitHub and GitHub-centric workflows and use it mainly for commenting. Git commits and branches are pulled down locally, searched, diffed, reviewed and tested locally. This minimizes trust of GitHub and of being tied to GitHub. I'd be very happy if GitHub dropped all these features, loaded more quickly and functioned with less bugginess.

@MaxHillebrand Generally I think we are all aware of these GitHub-centric workflows but would rather use git on the command line (and not increase dependence on GitHub).

While we are on this topic, any pointers for efficiently checking the links are all accurate? I was doing it yesterday and it took a while... All the links being at the bottom of the page so need to visually check they are referring to the right passages of text, some with external links, some with internal links. Just want to check I'm not missing some basic efficiency.
Is someone normally allocated to check all the links or is it whoever feels like doing it?

@michaelfolkson for checking links I've found it best and fastest to make preview locally and check them from the rendered newsletter in localhost:4000 (and for reviewing the newsletter in general, because you see what will actually be rendered).

@MaxHillebrand thanks for the instructions on using suggested code changes!  Several contributors (and myself in reviewer mode) do use them, but it's often the case that (1) I'm making multiple changes at the same time and it's easier to do everything in the context of my text editor, (2) I accept the idea implicit in the suggestion that the text is flawed but I want to make a different change (or an additional change), (3) at the end of the review process, we squash down to one commit per author of original content, so the suggested change attribution will be lost anyway.
I greatly appreciate the reviews whatever form they come in, so I encourage reviewers to use whatever methods they prefer.

@michaelfolkson

My error referring to the wrong newsletter hasn't been corrected.

This was an oversight on my part.  It'll be corrected in my next push.  Sorry.  @jonatack's description of how to check links is the best way to do it.  If you're willing to place trust in external tools, we also generate a live preview for people who don't want to build the website: in the CI tools box near the end of the page (currently says "All checks have passed" but will sometimes mention failure), expand the box if necessary ("Show all checks"), then click the Details link for the netlify/bitcoinops/deploy-preview job.  This will take you to a preview of the site and you can navigate to the changed page(s) (the latest newsletter in this case).
In any case, thank you for checking links!  It's particularly useful as it's something I often screw up and there's no way to completely automate it (we can ensure internal links are valid, but not that they point where they should).

Thanks @jonatack & @harding for your reasoning, I see why you choose this type of workflow, and of course don't want to mess with it!
I'll provide my following review in the same format.

Quickly read the latest edits and they look good--thanks @harding.

All looks good to me. Thanks everyone, and special thanks to the indomitable @harding :star_struck:

Pushed a hopefully final commit with a couple illustrations for the symmetric commitments news item that I had originally intended to create.  I think they make the outputs tree clearer for people not already familiar with LN.

ACK 3567eec8444b87f30f1decc67a9df48cba1ccb7c
And illustrations look good @harding !

Illustration looks great. Thanks @harding!

Yeah looking great. May be too late at this stage but the ""by the trusted signet block signers" change hasn't been made. https://github.com/bitcoinops/bitcoinops.github.io/pull/456#discussion_r481170525
"by the trusted signet miners/signers" replaced by "by the trusted signet block signers"

Nice teamwork on this newsletter, yall! Contributions from @harding @michaelfolkson @jnewbery @adamjonas @dongcarl
👁 from @MaxHillebrand @Kixunil and always the 🕵 from @jonatack
We always feared it, @harding's harmed
Luckily it was "just" the arm
But Optechs trained for this, no alarm
In comes Newbery with his charm
The team proceeded without smarm
While the rest of the world? yield farm


add support for fedora

fedora has a package ndjbdns that might be useful, and will certainly require a fair amount of refactoring.

Supported via source install.  I'd consider that good enough for now ;)


Added fabric mod loaded callback

Adds a callback event that is posted when the mod has finished loading and the API is available for use

TODO: document this on /docs/API-Events.md


ng generate should use tslint configuration

Bug Report or Feature Request (mark with an x)
- [ ] bug report -> please search issues before submitting
- [X] feature request

Versions.

Software
Version

@angular/cli
1.0.2

node
7.10.0

os
win32 x64

@angular/animations
4.1.1

@angular/common
4.1.1

@angular/compiler
4.1.1

@angular/core
4.1.1

@angular/forms
4.1.1

@angular/http
4.1.1

@angular/material
2.0.0-beta.3

@angular/platform-browser
4.1.1

@angular/platform-browser-dynamic
4.1.1

@angular/platform-server
4.1.1

@angular/router
4.1.1

@angular/cli
1.0.2

@angular/compiler-cli
4.1.1

Repro steps.
Execute
ng generate component test --module=app.module --spec=false
Behavior
When you open test.component.ts the indention is set to space and the strings are surrounded by '
In my tslint.json I set the following (extraction):
{
   "indent": [
      true,
      "tabs"
   ],
   "quotemark": [
      true,
      "double"
   ],
}

Desired functionality.
ng generate should - at least (further settings are also welcome) - use the indention and quotemarks that are configured in tslint.

@clydin has suggested a similar approach, to automatically use tslints fix option on generated files according to a option/flag.
I think that's a good compromise for these stylistic issues.

@filipesilva  But tslint doesn't fix indent issues. This must do be done manually and this isn't optimal. Optimal would be some kind of configuration which would be used by ng generate. tslint.json already offers this configuration.

Not completely ideal, but most editors offer a formatting option to quickly handle whitespace issues.
With the referenced PR, ng generate will transparently transform the created/modified files based on a tslint.config.  However, as you said, it is limited to what tslint can currently fix.
I'd suggest raising an issue over at tslint for a feature request to provide fix support for the indent rule.  If implemented, any downstream user of tslint would benefit; including the CLI.

@filipesilva @clydin But then should - at least - ng generate call tslint on the newly generated ts files otherwise the developer had to do it for each file.

The referenced PR (#6213) essentially does what you're suggesting and will be included in an upcoming version.


catkin_make err :src/teresa-wsbs/src/wsbs_planner.cpp:36:49: fatal error: animated_marker_msgs/AnimatedMarker.h: No such file or director

src/teresa-wsbs/src/wsbs_planner.cpp:36:49: fatal error: animated_marker_msgs/AnimatedMarker.h: No such file or director

Please, install the following dependence:
https://github.com/srl-freiburg/animated_markers


[Epic] Drag, Drop, Resize experience

Features under consideration:

[ ] Grid Redesign

[ ] Grid spacing
[ ] Grid UI

[ ] Collision handling

[ ] Layers
[ ] Auto-resize to fit space while dragging

Deploy preview POC: https://deploy-preview-3892--appsmith-editor-ce.netlify.app/


ValueError: Requested 'bw2data>=4.0.dev57', but bw2data==4.0.dev52 is already installed

This does not negatively affect execution, but should still be resolved:
[Log] PythonError: Traceback (most recent call last): (index.js, line 33)
  File "/lib/python312.zip/_pyodide/_base.py", line 596, in eval_code_async
    await CodeRunner(
  File "/lib/python312.zip/_pyodide/_base.py", line 412, in run_async
    await coroutine
  File "<exec>", line 3, in <module>
  File "/lib/python3.12/site-packages/micropip/_commands/install.py", line 142, in install
    await transaction.gather_requirements(requirements)
  File "/lib/python3.12/site-packages/micropip/transaction.py", line 55, in gather_requirements
    await asyncio.gather(*requirement_promises)
  File "/lib/python3.12/site-packages/micropip/transaction.py", line 62, in add_requirement
    return await self.add_requirement_inner(Requirement(req))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/lib/python3.12/site-packages/micropip/transaction.py", line 151, in add_requirement_inner
    await self._add_requirement_from_package_index(req)
  File "/lib/python3.12/site-packages/micropip/transaction.py", line 198, in _add_requirement_from_package_index
    await self.add_wheel(wheel, req.extras, specifier=str(req.specifier))
  File "/lib/python3.12/site-packages/micropip/transaction.py", line 236, in add_wheel
    await self.gather_requirements(wheel.requires(extras))
  File "/lib/python3.12/site-packages/micropip/transaction.py", line 55, in gather_requirements
    await asyncio.gather(*requirement_promises)
  File "/lib/python3.12/site-packages/micropip/transaction.py", line 59, in add_requirement
    return await self.add_requirement_inner(req)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/lib/python3.12/site-packages/micropip/transaction.py", line 151, in add_requirement_inner
    await self._add_requirement_from_package_index(req)
  File "/lib/python3.12/site-packages/micropip/transaction.py", line 198, in _add_requirement_from_package_index
    await self.add_wheel(wheel, req.extras, specifier=str(req.specifier))
  File "/lib/python3.12/site-packages/micropip/transaction.py", line 236, in add_wheel
    await self.gather_requirements(wheel.requires(extras))
  File "/lib/python3.12/site-packages/micropip/transaction.py", line 55, in gather_requirements
    await asyncio.gather(*requirement_promises)
  File "/lib/python3.12/site-packages/micropip/transaction.py", line 59, in add_requirement
    return await self.add_requirement_inner(req)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/lib/python3.12/site-packages/micropip/transaction.py", line 141, in add_requirement_inner
    satisfied, ver = self.check_version_satisfied(req)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/lib/python3.12/site-packages/micropip/transaction.py", line 86, in check_version_satisfied
    raise ValueError(
ValueError: Requested 'bw2data>=4.0.dev57', but bw2data==4.0.dev52 is already installed

That's the pin of multifunctional (excerpt from johnnydep bw2io==0.9.dev37:
│   ├── multifunctional>=0.7.1                                Code for handling multifunctional activities in Brightway
│   │   ├── blinker                                           Fast, simple object-to-object and broadcast signaling
│   │   ├── bw-processing>=0.9.6                              Foo
│   │   │   ├── fsspec                                        File-system specification
│   │   │   ├── morefs                                        A collection of self-contained fsspec-based filesystems
│   │   │   │   └── fsspec                                    File-system specification
│   │   │   ├── numpy                                         Fundamental package for array computing in Python
│   │   │   └── pandas                                        Powerful data structures for data analysis, time series, and statistics
│   │   │       ├── numpy>=1.22.4                             Fundamental package for array computing in Python
│   │   │       ├── python-dateutil>=2.8.2                    Extensions to the standard Python datetime module
│   │   │       │   └── six>=1.5                              Python 2 and 3 compatibility utilities
│   │   │       ├── pytz>=2020.1                              World timezone definitions, modern and historical
│   │   │       └── tzdata>=2022.7                            Provider of IANA time zone data
│   │   ├── bw2data>=4.0.dev57                                Tools for the management of inventory databases and impact assessment methods. Part of the Brightway LCA framework.


RuntimeError: CUDA error: invalid argument

I'm trying to use the TheBloke/CodeLlama-34B-AWQ model on HumanEval dataset and I get the following error after a few generations:
Traceback (most recent call last):
  File "/home/mehran/Programming/human-eval/./basic_generate.py", line 30, in <module>
    generation_output = model.generate(
  File "/home/mehran/.conda/envs/autoawq/lib/python3.10/site-packages/awq/models/base.py", line 37, in generate
    return self.model.generate(*args, **kwargs)
  File "/home/mehran/.conda/envs/autoawq/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "/home/mehran/.conda/envs/autoawq/lib/python3.10/site-packages/transformers/generation/utils.py", line 1673, in generate
    return self.greedy_search(
  File "/home/mehran/.conda/envs/autoawq/lib/python3.10/site-packages/transformers/generation/utils.py", line 2521, in greedy_search
    outputs = self(
  File "/home/mehran/.conda/envs/autoawq/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/home/mehran/.conda/envs/autoawq/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/home/mehran/.conda/envs/autoawq/lib/python3.10/site-packages/transformers/models/llama/modeling_llama.py", line 1034, in forward
    outputs = self.model(
  File "/home/mehran/.conda/envs/autoawq/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/home/mehran/.conda/envs/autoawq/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/home/mehran/.conda/envs/autoawq/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "/home/mehran/.conda/envs/autoawq/lib/python3.10/site-packages/awq/modules/fused/model.py", line 39, in forward
    h, _, past_key_value = layer(h, None, attention_mask=mask, is_causal=is_causal)
  File "/home/mehran/.conda/envs/autoawq/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/home/mehran/.conda/envs/autoawq/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/home/mehran/.conda/envs/autoawq/lib/python3.10/site-packages/awq/modules/fused/block.py", line 27, in forward
    attn_output, _, past_key_value = self.attn.forward(
  File "/home/mehran/.conda/envs/autoawq/lib/python3.10/site-packages/awq/modules/fused/attn.py", line 214, in forward
    attn_output = self.o_proj(attention_weight)
  File "/home/mehran/.conda/envs/autoawq/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/home/mehran/.conda/envs/autoawq/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/home/mehran/.conda/envs/autoawq/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "/home/mehran/.conda/envs/autoawq/lib/python3.10/site-packages/awq/modules/linear.py", line 105, in forward
    out = awq_inference_engine.gemm_forward_cuda(x.reshape(-1, x.shape[-1]), self.qweight, self.scales, self.qzeros, 8)
RuntimeError: CUDA error: invalid argument
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.

In order to replicate this error, please follow these steps:
1. Install HumanEval (https://github.com/openai/human-eval):
$ git clone https://github.com/openai/human-eval
$ pip install -e human-eval

2. Install AutoAWQ
3. Run the following code:
from awq import AutoAWQForCausalLM
from transformers import AutoTokenizer, TextStreamer
from tqdm import tqdm
from human_eval.data import write_jsonl, read_problems

num_samples_per_task = 10
problems = read_problems()

quant_path = "TheBloke/CodeLlama-34B-AWQ"
model_name = "CodeLlama-34B-AWQ"

# Load model
model = AutoAWQForCausalLM.from_quantized(quant_path, fuse_layers=True)
tokenizer = AutoTokenizer.from_pretrained(quant_path, trust_remote_code=True)

samples = []
request_counter = 0

taskIdList = list(problems.keys())
for task_id in tqdm(taskIdList):
    # restart_server()
    for i2 in tqdm(range(num_samples_per_task), leave=False):
        tokens = tokenizer(
            problems[task_id]["prompt"],
            return_tensors='pt'
        ).input_ids.cuda()

        # Generate output
        generation_output = model.generate(
            tokens,
            # streamer=streamer,
            max_new_tokens=512
        )

        samples.append({
            "task_id": task_id,
            "completion": tokenizer.decode(generation_output[0]),
        })

        del generation_output

<EMAIL_ADDRESS>samples)

The error does not happen right away. You have to give it some time to generate a few samples. For me, it happened after 10 generations.
I also tried the 7B version (TheBloke/CodeLlama-7B-Python-AWQ) and it led to the same error.
And here are the version of different software components on my machine:

autoawq: 0.1.6
torch: 2.1.0
nvidia-cuda-cupti-cu12: 12.1.105
nvidia-cuda-nvrtc-cu12 : 12.1.105
nvidia-cuda-runtime-cu12: 12.1.105
OS: Linux 6.6.0-1-MANJARO

Hardware:

CPU: Intel 11th Gen Intel(R) Core(TM) i9-11900 @ 2.50GHz
GPU: Nvidia RTX 3090 (24GB)
RAM: 64GB

It seems there may be some issues with context length on the fused modules. Does this code work if you use fuse_layers=False?

Yes, that solved the problem. It's just that I'm not sure if I'm losing anything other than performance (as in time) by setting fuse_layers=False, am I? In fact, I'm not sure if I observe any performance drop by setting that. Perhaps, it's even going faster!
At least I have a way forward. Thanks.
But I'm guessing you want this ticket to remain open, right?

Not 100% sure but this might be related.
https://github.com/Dao-AILab/flash-attention/pull/488

I can confirm that building the AutoAWQ from the master branch solves the issue. Hopefully, the next release with this fix will come soon. Thanks.


Cannot read property 'curStats' of undefined

Hi anseki!
I'm using your library to link some divs in two different columns. Then I erase these arrows before an ajax call that brings a partial view. Here I can link another bunch of divs in other two columns.
In the first page works everything fine, the issue comes when I press the button to go to the second page. I can draw the arrows in this second page but when it's time to erase them before the ajax call, appears the issue.
I try another thing, I did not draw arrows in the first page, click next and draw arrows in the second page (where appears the issue) and it totally worked. It seems like this only can be done once (?).
I attach a screenshot of the issue.
Hope you can help me,
thanks a lot.
Marlene

Hi @MarlenePF10, thank you for the comment.
To reproduce that, could you show me an example by using e.g. https://jsfiddle.net/ ?

No reply came, then this abandoned issue is closed.

Hi anseki!
I'm sorry I could not write you back before. The issue showed up because I was trying to remove an arrow that was already deleted, simple as that. The issue is closed.
Thank you so much for your support.
Good luck!
Marlene

:smile:


New version: TheDocumentFoundation.LibreOffice version <IP_ADDRESS> (24.8.0)

Created by 🥟 Dumplings in workflow run #7519.

Log
Updated: 24.2.5 → 24.8.0
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request

Microsoft Reviewers: Open in CodeFlow

Duplicate of #168669


allow passing in a config to documentLang to avoid requiring "i18n.json" at request time

fixes #187

@all-contributors please add @lone-cloud for code


Definition of "resilient"?

Hello,
for my understanding, with Akka.net it should be possible to create systems which are resilient and self-healing. With the WebCrawler example everything is working like expecting, but if the CrawlerService is crashing and afterwards restarted nothing works anymore?
Do I have any configuration issue here or do I misunderstand the situation?

@softwaretirol sorry for not responding sooner, but basically there's a lifecycle that cluster nodes go through which we explain here: http://getakka.net/articles/clustering/cluster-overview.html#how-a-cluster-forms
Once a cluster has formed, the nodes are permanent members of the cluster unless they issue a Leave command or if they are forcefully removed via a Down command, the latter of which occurs when nodes become unreachable. Reachability is an orthogonal concept to node membership; a node being temporarily disconnected from the cluster doesn't affect its membership, only its reachability. If a node is "unreachable" that's consider to be a temporary network issue and the cluster will, by default, wait until that reachable node rejoins the network.
This is where most users get confused: they expect that unreachability == node leaving the cluster. This is wrong and frankly a brittle network design. If you have state on either side of a network partition, you want to give those nodes a chance to reconnect and re-establish communication after the network partition has cleared.
The issue you're running into on WebCrawler is that we launch everything on port 0 there, so restarting a node looks like one old node going unreachable and a new node attempting to join because the addresses are different. Using a static port number in this scenario would allow the old node to re-join the cluster seamlessly after a reboot. New nodes aren't allowed to join the cluster when at least one current member is unreachable, so we also have to down the unreachable node in the cluster. This can be done automatically with the new features we're adding in 1.3.3 http://getakka.net/articles/clustering/split-brain-resolver.html or manually like a tool with Petabridge.Cmd: https://cmd.petabridge.com/
There's more detail to go into here, but I hope you've found this helpful.


Provide default exceptions for common cluster types

For people getting started with Kubescape, we should provide example exceptions.json files for popular platforms like kind, minikube and Docker Desktop.
That way, someone can see the state of a cluster before, and then install the appropriate exception file as a baseline.
They can then see what the output would look like if there were to be a control fail in future.
e.g.
kubescape scan
Access control
+-------------------------------------------------+-----------+------------------------------------+
|                  CONTROL NAME                   | RESOURCES |                RUN                 |
+-------------------------------------------------+-----------+------------------------------------+
| Cluster-admin binding                           |     1     | $ kubescape scan control C-0035 -v |
| Data Destruction                                |     2     | $ kubescape scan control C-0007 -v |
| Exec into container                             |     1     | $ kubescape scan control C-0002 -v |
| List Kubernetes secrets                         |     2     | $ kubescape scan control C-0015 -v |
| Minimize access to create pods                  |     1     | $ kubescape scan control C-0188 -v |
| Minimize wildcard use in Roles and ClusterRoles |     1     | $ kubescape scan control C-0187 -v |
| Portforwarding privileges                       |     1     | $ kubescape scan control C-0063 -v |
| Validate admission controller (mutating)        |     0     | $ kubescape scan control C-0039 -v |
| Validate admission controller (validating)      |     0     | $ kubescape scan control C-0036 -v |
+-------------------------------------------------+-----------+------------------------------------+

kubescape scan --exceptions docker-desktop-baseline.json
Access control
+-------------------------------------------------+-----------+------------------------------------+
|                  CONTROL NAME                   | RESOURCES |                RUN                 |
+-------------------------------------------------+-----------+------------------------------------+
| Cluster-admin binding                           |     0     | $ kubescape scan control C-0035 -v |
| Data Destruction                                |     0     | $ kubescape scan control C-0007 -v |
| Exec into container                             |     0     | $ kubescape scan control C-0002 -v |
| List Kubernetes secrets                         |     0     | $ kubescape scan control C-0015 -v |
| Minimize access to create pods                  |     0     | $ kubescape scan control C-0188 -v |
| Minimize wildcard use in Roles and ClusterRoles |     0     | $ kubescape scan control C-0187 -v |
| Port forwarding privileges                      |     0     | $ kubescape scan control C-0063 -v |
| Validate admission controller (mutating)        |     0     | $ kubescape scan control C-0039 -v |
| Validate admission controller (validating)      |     0     | $ kubescape scan control C-0036 -v |
+-------------------------------------------------+-----------+------------------------------------+

@craigbox just to be sure, are you referring to having exception files for all these platforms right out of the box?
I.e. let's say using kind right out of the box it fails some controls so upon using kind-exception file, kind shouldn't fail any controls?
If that is so, do we wish to have exception policies in terms of entire controls or on a per resource basis? I'd presume the second to be the better approach.
Thanks!

I am suggesting that we look at the things that are configured in a default kind installation, and then set up exceptions for those resources we know to be allowed.
It's an instant "set your baseline to 0" move, which people can then build on.

Sounds good!
I'll take this up.

We support a default mechanism of excluding system-related resources, the only issue is with keeping it up-to-date.
We do not exclude all of the resources in the kube-system because there are controls we explicitly run on the kube-system resources.

Are those exceptions run by default @dwertent?
I wanted to have exception files for local environments, so someone could run Kubescape in the default state, see X failures, and then apply the (commented/annotated) exceptions.json file and see 0 failures.
(It's a teaching tool for people to learn how to do their own exceptions, and it is by no means an urgent priority.)

So was there any update regarding this issue?

@craigbox Yes, the exceptions are run by default.
The only reason we still see failures is that it is hard to stay up-to-date with the team developing the controls and the managed Kubernetes changes.
Feature suggestion: We can have Kubescape generate an exception file for the controls that failed this way a user can have it auto-generated for him.
We will need to look further into this if we really want to develop this command because it might lead to edge cases.
@XDRAGON2002 Meanwhile I don't see anything that can be done here.

This wasn't meant to be a short term fix, but a note to the Future that we as a community should maintain such things.
I do like the idea of an "exceptions for all" flag. I wouldn't recommend people use it though 😁
Generating them one at a time suggests people thought about it...


Move Babel settings from webpack.config.js to package.json

This makes it possible for other tools to use the Babel settings. For
example, babel-node can be used during development as a REPL with
files in the repo:
$ babel-node -p "require('./packages/helper-grammar-regex-collection/regex.js')"
{ default: [Function] }

Make sense


dragging a link from hover widget creates a strange URI

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.73.1
OS Version: macOS 12.0.1

Steps to Reproduce:

create a markdown and add a link
hover on the link, drag the link rendered in hover widget to the editor

https://user-images.githubusercontent.com/13726406/204105477-0c733406-6249-4740-afdd-5e50729b98ec.mp4
It seems that markdown renderer removes href property and uses data-href instead. I'm glad if I can help but I don't know if it's by design. Can we keep both href and data-href on links?
https://github.com/microsoft/vscode/blob/f46738bc477ad71db379c8efa09c8ea22110cefc/src/vs/base/browser/markdownRenderer.ts#L246-L265

The described behavior is how it is expected to work. If you disagree, please explain what is expected and what is not in more detail. See also our issue reporting guidelines.
Happy Coding!

Fix actually seems pretty easy here so reopening


fix: remove annotations, now supported directly

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
3.5%

Covered Lines:
132

Relevant Lines:
585

💛  - Coveralls


AAD Token Post url Advice.

As we can see, the url is "https://login.microsoftonline.com/:tenantId/oauth2/token" in the Get Azure AD Token part of the page. However, the url used in the GitHub repository is "https://login.microsoftonline.com/:aadTenantDomain/oauth2/token". I think it's better to make them consistent. How about that? Thanks a lot.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 2bba6896-48dd-503f-1a49-98b79fa59fbb
Version Independent ID: 670e2111-5369-0d52-66a6-cbf2e928f02a
Content: Encode a remote file and stream using Azure Media Services v3 - Azure Media Services v3
Content Source: articles/media-services/latest/stream-files-tutorial-with-rest.md
Service: media-services
Sub-service: rest-v3
GitHub Login: @IngridAtMicrosoft
Microsoft Alias: inhenkel

@WenJason Thanks for the feedback! We are currently investigating and will update you shortly.

I am reviewing the suggestion.

Thank you for finding that mistake.  The change is in process.
#please-close


The data is not going into the neo4j console

Seeing if anyone else is getting this issue after running raven index

Thank you for opening this issue! Can you please add some pictures and add more descriptions to this issue?

Yep so after raven index we have a successful execution of code as shown below. Afterwards, heading towards neo4j, there is no databases or index of any sort of data as shown below.

Don't you have an option to choose neo4j DB?

I already tired that and there was no databases.

OK, Thank you @mdburwood 🙏
I have a couple of questions:

Can you share if you used org/crawl mode for the download process? Is it possible that no workflows were found during the download process?
Can you please check if the Redis DB has any data? If it is empty, it means that the download process did not find any workflows.

Ah so I used org, but for the RavenDemo org it does work.
I did check the Redis DB and there isn't any data.
I did try this with no data, I have tried this with raven download org --token $GITHUB_TOKEN --org-name RavenDemo the data will show but other queries doesn't. At this current moment I get the following error.

status code: 403. Response: {
"message": "Resource protected by organization SAML enforcement. You must grant your Personal Access token access to this organization.",
"documentation_url": "https://docs.github.com/articles/authenticating-to-a-github-organization-with-saml-single-sign-on/"
}

It might be due to some limitations on RavenDemo. Please try to scan any other public GitHub organization (that contains repositories with workflows). Please let us know if that solves the issue.

So the RavenDemo goes through and it is populated in the database but now I'm trying to index my own company and I get the following error about indexing the workflow.

It seems like a specific problem with the workflow file. It may be an invalid workflow file.
Can you share the file (if possible)? if not, please make sure the workflow itself is valid.

I'm just using the org as burwood and getting errors with that.

It may be a specific issue to this workflow (if it continues for the rest of the workflows, please ping me on this).
Have the rest of the workflows been indexed?

It has been indexed.


Clean Gradle Failed "org.gradle.api.InvalidUserDataException: Cannot change artifacts of dependency configuration ‘:@notifee_react-native:default’ after it has been included in dependency resolution."

I want to try to implement Notifee in my app, but i'm facing issue on installation process. i've followed the installation docs and cannot find similar issue

can someone explain what happen ? Thanks in advance

Hi there!
1- Text is greatly preferred, remember the people you're pinging for free help over the internet might be mobile and images may not look great, text always works
2- you've included basically zero information, so no speculation as to root cause may be made
Your mission, should you choose to accept it, is to pretend you are being asked for help by a colleague. They walk up and just splat this error message you.
What do you need to know? All sorts of things!
https://stackoverflow.com/help/how-to-ask
https://stackoverflow.com/help/minimal-reproducible-example
And make sure you are on current versions of everything, especially gradle as that will likely affect this. It's on 7.4.2 now which works fine with react-native 0.67+, in combo with android gradle plugin from the 7.0.x series

Hi @mikehardy ,
Thanks for ur response, i'm sry for the lack of information i provided earlier.
RN Version : 0.66.3,
i'm facing this error upon cleaning gradle
A problem occurred configuring project ':@notifee_react-native'.
> org.gradle.api.InvalidUserDataException: Cannot change artifacts of dependency configuration ':@notifee_react-native:default' after it has been included in dependency resolution.

here's my android/build.gradle
`
buildscript {
ext {
buildToolsVersion = "30.0.3"
minSdkVersion = 21
compileSdkVersion = 31
targetSdkVersion = 31
supportLibVersion = "28.0.0"
ndkVersion = "21.4.7075529"
// react-native-maps
playServicesVersion = "17.0.0"
androidMapsUtilsVersion = "2.2.2"
}
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.google.gms:google-services:4.3.8'
classpath 'com.android.tools.build:gradle:4.2.2'
classpath 'com.google.firebase:perf-plugin:1.4.0'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.7.1'
}
}
allprojects {
repositories {
mavenCentral()
maven {
url("$rootDir/../node_modules/react-native/android")
subprojects {
project.configurations.all {
resolutionStrategy.eachDependency { details ->
if (details.requested.group == 'com.android.support'
&& details.requested.name == 'support-v4') {
details.useVersion '28.0.0'
}
}
}
}
}
maven {
// Android JSC is installed from npm
url("$rootDir/../node_modules/jsc-android/dist")
}
    // -------------------------------------------------
    // Add this below the existing maven property above
    // -------------------------------------------------
    maven {
        url 'https://maven.google.com'
    }

    google()
    maven { url 'https://www.jitpack.io' }

    // ADD THIS BLOCK - this is how Notifee finds it's Android library:
    maven {
        url "$rootDir/../node_modules/@notifee/react-native/android/libs"
    }
}

}
subprojects {
afterEvaluate {project ->
if (project.hasProperty("android")) {
android {
compileSdkVersion 29
buildToolsVersion "28.0.3"
}
}
}
}
`
on my gradle-wrapper.properties
distributionUrl=https\://services.gradle.org/distributions/gradle-6.9-all.zip

Thanks @mikehardy,
and yes i use Notifee v 5.0.3,
ok, i will try updating them first, and i'll update later on this issue if the problem is solved

@spearghost Did upgrading fix the issue?


Create GeoSeries and GeoDataFrame subclasses from polars in Python

Closes #33.
The goal of this is to create a similar API to geopandas, where it subclasses Series and DataFrame, assigning methods directly onto those classes.
Questions:

What's the best way to return an instance of GeoDataFrame and GeoSeries? Ideally, the actual data representation contained in each of these won't be different; it'll just be the python object that additionally has more methods. The pure functions in the python-rust bindings currently return a bare polars Series, so we could:

Just wrap the return object in a call to GeoSeries(...) in Python, i.e.
def centroid(self) -> GeoSeries:
    return GeoSeries(geopolars.centroid(self))

Try to make this conversion automatically from the rust side? The current rust bindings call polars.from_arrow to reconstruct a polars series:
https://github.com/kylebarron/geopolars/blob/71cd2027617324a15c609450ec90fafe3b90213c/py-geopolars/src/ffi.rs#L92 Could we just create a geopolars.from_arrow function that returns a GeoSeries/GeoDataFrame? I think this might actually be easier, as long as we don't run into any weird circular dependency issues.

I don't know why there are obscure cargo metadata errors (only on CI) when adding a python package to the top-level workspace. (note that the error is about geopolars/geopolars/py-geopolars, when that folder doesn't exist)
But the python libs also aren't in the polars workspace: https://github.com/pola-rs/polars/blob/4154c6af37cc366868289059f70d5146d72d5848/Cargo.toml#L2-L13

Closes #33.
The goal of this is to create a similar API to geopandas, where it subclasses Series and DataFrame, assigning methods directly onto those classes.
Questions:

What's the best way to return an instance of GeoDataFrame and GeoSeries? Ideally, the actual data representation contained in each of these won't be different; it'll just be the python object that additionally has more methods. The pure functions in the python-rust bindings currently return a bare polars Series, so we could:

Just wrap the return object in a call to GeoSeries(...) in Python, i.e.def centroid(self) -> GeoSeries:
    return GeoSeries(geopolars.centroid(self))

Try to make this conversion automatically from the rust side? The current rust bindings call polars.from_arrow to reconstruct a polars series:
https://github.com/kylebarron/geopolars/blob/71cd2027617324a15c609450ec90fafe3b90213c/py-geopolars/src/ffi.rs#L92
Could we just create a geopolars.from_arrow function that returns a GeoSeries/GeoDataFrame? I think this might actually be easier, as long as we don't run into any weird circular dependency issues.

I think my preference here would be to make this as automatic as we can, esp for future contributors who might not catch the need to return the series wrapped as a GeoSeries.
One small concern though is that we will have times when the API is actually returning a Series, rather than a GeoSeries. For example the method that calculates the area. Should we have two functions then? One for rust_series_to_py_series and one rust_series_to_py_geoseries ? We presumably wouldn't want the python series to have the Geo functions if it's a regular series?
Perhaps instead of having two functions we can make the rust_series_to_py_series inspect the series it is passed to see if it's a geoseries and conditionally wrap the series in either a vanilla Series or a GeoSeries

I should have some time tomorrow afternoon to finish up this PR

I added a from_arrow function in convert.py (mirroring the layout of py-polars) and added  rust_series_to_py_geoseries in addition to rust_series_to_py_series in ffi.rs.

I added a from_arrow function in convert.py (mirroring the layout of py-polars) and added  rust_series_to_py_geoseries in addition to rust_series_to_py_series in ffi.rs.


Examples from @vx/glyph don't work

Is this page outdated?

No everything is up to date. Here's an example of @vx/glyph working: https://vx-demo.now.sh/legends
What's not working for you?

I meant
import { LinePath } from '@vx/shape';
import { GlyphDot } from '@vx/glyph';

let line = (
  <LinePath
    ...
    glyph={(d, i) => {
      return (
        <GlyphDot
          className={"glyph-dots"}
          key={'line-dot-{i}'}
          cx={xScale(x(d))}
          cy={yScale(y(d))}
          r={6}
          fill={"white"}
          stroke={"black"}
          strokeWidth={3} />
      )
    }}
  />
)

and
import { Dot } from '@vx/glyph';

<GlyphDot ... >
  <text
    x={xScale(x(d))}
    y={yScale(y(d))}
    dx={10}
    fill={"white"}
    stroke={"black"}
    strokeWidth={6}
    fontSize={11}
  >
    {"Hi there!"}
  </text>
</GlyphDot>

I tried to do the same way, but it didn't work

I was mistaken. Yes, those glyph docs are out of date.
Here's a working example: https://codesandbox.io/s/8kr9x57o1j?fontsize=14
I will update the docs for @vx/glyph.


System Tests: add assertions for public health monitoring, update fixtures, refactor

Pull requests into Sara Alert require the following. Submitter and reviewer should check each item when done. For items that are not-applicable, note it's not-applicable ("N/A") and check anyways.
Submitter:

[x] This pull request describes why these changes were made.
[x] This PR is into the correct branch.
[x] JIRA ticket for this PR: SARAALERT-92
[x] JIRA ticket links to this PR
[x] Code diff has been done and been reviewed (it does not contain: additional white space, not applicable code changes, debug statements, etc.)
[x] Tests are included and test edge cases
[x] Tests have been run locally and pass (remember to update Gemfile when applicable)

Reviewer:
Name:

[x] Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
[x] The tests appropriately test the new code, including edge cases
[x] You have tried to break the code

Looks great!


Fixes to a couple of gometalinter checks

Found the couple nits while running gometalinter on the repo

[X] Link to issue, e.g. Resolves #NNN
[N/A] Documentation added (if applicable)
[N/A] Tests added
[X] Branch rebased on top of current master (git pull --rebase origin master)
[X] Changes squashed to a single commit (described here)
[x] Build is green in Travis CI
[X] You have certified that the contribution is your original work and that you license the work to the project under the MIT license

Changes proposed in this pull request:

Remove unused usage type
Fix unnecessary conversions

/cc @nats-io/core

The casts used to be required, since we claim we work back to 1.5, do we know if they were required in 1.5 or 1.6?

thanks for taking a look, ok ran the tests against 1.5.4 and 1.6.4 series and no failures so looks fine in those terms as far as I can tell

Thanks @wallyqs


Upgraded circleci provisioned remote docker

Jira link
HOTT-???
What?
I have added/removed/altered:

[x] Upgraded the version of the remote docker provisioned by Circle

Why?
I am doing this because:

its taking a long time to provision and I suspect this is because we're using a version falling into disuse
later versions may also potentially help us avoid any already fixed bugs in docker

@jebw I think this is fixed here: https://github.com/trade-tariff/trade-tariff-backend/pull/374

If you're happy we can just undo the revert


Crash on event enableConnectedNotifications to connect device

Testing the device connection notification causes this error
I have bluez 5.43
Problematic frame:
V  [libjvm.so+0x8de5d6]  Monitor::ILock(Thread*)+0xb6_

I can confirm this.

Apparently, this is related to an issue with Bluez itself, since restarting the daemon solved it for me.

Same problem
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007ff8680c45d6, pid=7035, tid=0x00007ff8693d3700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_111-b14) (build 1.8.0_111-b14)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.111-b14 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V  [libjvm.so+0x8de5d6]  Monitor::ILock(Thread*)+0xb6

restarting BlueZ doesn't solve for me

more details:
Compilation events (10 events):
Event: 3,653 Thread 0x00007fbe280c1800  292       4       java.util.regex.Pattern$Branch::match (66 bytes)
Event: 3,653 Thread 0x00007fbe280c8800  293       3       java.util.Formatter::locale (9 bytes)
Event: 3,654 Thread 0x00007fbe280c8800 nmethod 293 0x00007fbe191bcf50 code [0x00007fbe191bd0c0, 0x00007fbe191bd348]
Event: 3,661 Thread 0x00007fbe280c1800 nmethod 292 0x00007fbe191c4a50 code [0x00007fbe191c4c60, 0x00007fbe191c5668]
Event: 3,721 Thread 0x00007fbe280c8800  294       3       java.lang.Long::stringSize (38 bytes)
Event: 3,721 Thread 0x00007fbe280c8800 nmethod 294 0x00007fbe191c45d0 code [0x00007fbe191c4740, 0x00007fbe191c4990]
Event: 3,721 Thread 0x00007fbe280c8800  295       3       java.lang.Long::getChars (221 bytes)
Event: 3,722 Thread 0x00007fbe280c8800 nmethod 295 0x00007fbe191bbf50 code [0x00007fbe191bc120, 0x00007fbe191bc770]
Event: 3,992 Thread 0x00007fbe280c8800  296       3       java.util.Formatter$FormatSpecifier::getZero (36 bytes)
Event: 3,993 Thread 0x00007fbe280c8800 nmethod 296 0x00007fbe191c9010 code [0x00007fbe191c91c0, 0x00007fbe191c9708]

GC Heap History (0 events):
No events

Deoptimization events (0 events):
No events

Internal exceptions (7 events):
Event: 0,027 Thread 0x00007fbe2800a800 Exception <a 'java/lang/NoSuchMethodError': Method sun.misc.Unsafe.defineClass(Ljava/lang/String;[BII)Ljava/lang/Class; name or signature does not match> (0x000000076d407c78) thrown at [/HUDSON3/workspace/8-2-build-linux-amd64/jdk8u111/7883/hotspot/src/sh
Event: 0,027 Thread 0x00007fbe2800a800 Exception <a 'java/lang/NoSuchMethodError': Method sun.misc.Unsafe.prefetchRead(Ljava/lang/Object;J)V name or signature does not match> (0x000000076d407f60) thrown at [/HUDSON3/workspace/8-2-build-linux-amd64/jdk8u111/7883/hotspot/src/share/vm/prims/jni.c
Event: 0,106 Thread 0x00007fbe2800a800 Exception <a 'tinyb/BluetoothException': GDBus.Error:org.bluez.Error.InProgress: Operation already in progress> (0x000000076d4dd0a0) thrown at [/HUDSON3/workspace/8-2-build-linux-amd64/jdk8u111/7883/hotspot/src/share/vm/prims/jni.cpp, line 735]

I saw that error once more, because I had made a threading error, i.e., asking a thread in Java to sleep when the code was actually run in the native C.


'G_YYYYMMDD' Parsing Error

Description of the Issue and Steps to Reproduce:
http://jsfiddle.net/dp7rzmw5/8354/
moment('G_20180307', 'G_YYYYMMDD').isValid() === false
moment('A_20180307', 'A_YYYYMMDD').isValid() === true

Please include the values of all variables used.
Environment:
Examples: Chrome 49 on OSX, Internet Explorer 10 on Windows 7, Node.JS 4.4.4 on Ubuntu 16.0.4
Both the browser and the OS are important to us, particularly if you have an unsual environment like an IOT application.
Other information that may be helpful:

The time zone setting of the machine the code is running on
The time and date at which the code was run
Other libraries in use (TypeScript, Immutable.js, etc)

If you are reporting an issue, please run the following code in the environment you are using and include the output:
console.log( (new Date()).toString())
console.log((new Date()).toLocaleString())
console.log( (new Date()).getTimezoneOffset())
console.log( navigator.userAgent)
console.log(moment.version)

Wed Mar 07 2018 00:41:20 GMT+0900 (대한민국 표준시)
2018. 3. 7. 오전 12:41:20
-540
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36
2.21.0
Ensure your issue is isolated to moment. Issues involving third party tools will be closed unless submitted by the tool's author/maintainer.

You can escape the G - that character is used for other parsing.
> moment('G_20180307', '[G]_YYYYMMDD').isValid()
true

There are two points I want to ask.

What is the single G means? I can find only double G (GG) or four Gs (GGGG) have meanings, not a single G. It looks like that it means a single year digit (one digit), but it is not documented.

A single 'A" character has also meaning (am/pm), but it says that normal 'A' character is also valid. The followings are all true.
moment('A_20180307', 'A_YYYYMMDD').isValid(): true
moment('am_20180307', 'A_YYYYMMDD').isValid(): true
moment('pm_20180307', 'A_YYYYMMDD').isValid(): true
But 'G" is not. What is the different G and A?


Translate iOS model name to human friendly

-> eg iPhone 6s

https://en.wikipedia.org/wiki/List_of_Apple_codenames#iPad


TensorFlow 2.x support missing, build broken

It seems that somebody tried to migrate AIX360 to TensorFlow 2.3.0 but the build is broken - is there somebody who could look into this?

@romeokienzler you can take a look at this file, we are on tensorflow 1.14
https://github.com/Trusted-AI/AIX360/blob/master/setup.py
Are you facing any installation issues?

@romeokienzler you can take a look at this file, we are on tensorflow 1.14
https://github.com/Trusted-AI/AIX360/blob/master/setup.py
Are you facing any installation issues?

yes, I'm on TensorFlow 2.4.0 and want to use LAME with a AIX360 v0.2.1. So now I'm using lame v<IP_ADDRESS> directly, which supports TensorFlow 2.4.0. That's why I was asking if there are any plans to move aix360 to TF 2.x as all my model code is on 2.x

yes, I'm on TensorFlow 2.4.0 and want to use LAME with a AIX360 v0.2.1. So now I'm using lame v<IP_ADDRESS> directly, which supports TensorFlow 2.4.0. That's why I was asking if there are any plans to move aix360 to TF 2.x as all my model code is on 2.x


CVE-2023-44487 - io.netty:netty-codec-http2

Hi, I was updating our packages for security vulnerabilities and updated secret-providers to version 2.3.0. But still our image scanner reported these issues
CVE-2023-44487 - io.netty:netty-codec-http2 - https://github.com/advisories/GHSA-xpw8-rcwv-8f8p
Severity: High
Type: Package Vulnerability
Name: io.netty:netty-codec-http2
Installed version / Fixed version : 0:4.1.89.Final / 4.1.100.Final
Can you please update the package in this repo or let us know if there is a version that has this fixed. We can use that instead.
Thanks.

Can you release a new version with the security fixes?


Fix typo in initializer template

This fixes a super minimal typo in the default initializer template that results in the following error when the line is uncommented:
undefined method `current_user_from_handle=' for main:Object (NoMethodError)
from /Users/ntomlin/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/knock-1.3.0/lib/knock.rb:26:in `setup'
from /Users/ntomlin/workspace/auth/config/initializers/knock.rb:1:in `<top (required)>

Good catch! Thanks :+1: