unable to use audio recording

Hi there, i installed from https://github.com/konstantinj/RPi_Cam_Web_Interface, installed RPi_Cam_Web_Interface using apache server, attached usb mic. The camera works fine but am unable to record audio with video, there are no details as in how to configure the software to work with audio. need help Thanks in anticipation
Thanks and regards

pretty sure there are no audio recording capabilities here

That is correct. The software as supplied does not support audio. It is possible to add separate audio recording by using the macro capabilities. E.g. initiate an audio recording via the start_vid and stop it via end_vid.

Hey @roberttidey - I know this is old, but do you have any working examples of that? I guess it's easy enough to just start a recording, but just curious if you have seen any examples of something a little more sophisticated, like naming the file the same as the video file name, or more importantly, automatically applying the recorded audio to the video itself?
I have something in mind for the first parts, some logic like get list of files in directory, sort by newest with vi_ in the name, and save audio file with that name. But I have no idea where to begin with merging the audio into the video file. Sorry, I know it's not supported and I am not requesting a feature, just figured you might have run across an example at some point before I start trying to reinvent the wheel/
THanks for all the good work - I love your tool and have been using it for years.

actually, another idea - I could use the motion event to start a macro but not start a capture from RPi_Cam_Web_Interface, calling instead for another program to do the recording with audio. two potential issues there:

Would this create a conflict with RPi_Cam_Web_Interface since it is streaming, with the other program being blocked from using the camera?
The video would not show up in the preview.php page - other than saving the video file in www/media with the correct naming pattern, what would I have to do for it to show up in the list?

I personally don't use audio as my cameras are primarily for security and don't have microphones.
I know some users have used macros to kick off audio recordings whenever video recordings start and then combined them afterwards but I haven't been given any details. I did also offer to integrate audio facilities into raspimjpeg ( used by RPi_Cam_Web_Interface) if someone wanted to help with that but that didn't progress.
On the idea of just using the motion detection to kick of a separate combined/audio video recording then one would need to be careful to workaround camera interface conflicts. With the RPi_Cam_Web_Interface streaming and running motion capture another application cannot access the camera. However, when motion capture triggers a start one could suspend the RPi_Cam_Web_Interface from using the camera (cmd ru 0), do the separate recording, then restart the RPi_Cam_Web_Interface camera (cmd ru 1) after the recording is complete. Of course one can't use motion detection to sense lack of movement to stop the recording so one would need to do something like fixed time duration recordings.
For items to show up on preview the key is actually the thumbnails. These are what is scanned to determine what is there. Thumbnails are jpeg files which always end with .xnnnn.th.jpg where x is the type of main data file {v(video), i(image) or t(timelapse)} The main data file is then the same name but without that ending. If you ended up with a separate mp4 recording then you could just attach that type of ending to name say a generic jpg image to be used as a thumbnail.  There are functions in the config.php which determine what is a thumbnail and then to extract its type, index number and to return the original data filename.

I am currently working on this and I am now able to start/stop recording via macros.
In order to do this, I have edited the raspimjpeg file where the conversion command takes place, (see line 87, so that I am importing the mp3  file into the conversion process and I get a video with audio.
However, I am still working on it as the audio-video sync is not perfect. I will publish the work I have done once it is usable.

Excellent. I look forward to the result.
Sync should be easier to achieve if no extra video buffering is used as that introduces extra pre trigger offset at the start of the video.

I am currently working on this and I am now able to start/stop recording via macros.
In order to do this, I have edited the raspimjpeg configuration file where the conversion command takes place, (see line 87), so that I am importing the mp3 file into the conversion process and I get a video with audio.
(Please note that I have edited the raspimjpeg file after the installation, It can be found at /etc/raspimjpeg)
However, I am still working on it as the audio-video sync is not perfect. I will publish the work I have done once it is usable.

Have you made any progress? Thanks

I am currently working on this and I am now able to start/stop recording via macros.
In order to do this, I have edited the raspimjpeg configuration file where the conversion command takes place, (see line 87), so that I am importing the mp3 file into the conversion process and I get a video with audio.
(Please note that I have edited the raspimjpeg file after the installation, It can be found at /etc/raspimjpeg)
However, I am still working on it as the audio-video sync is not perfect. I will publish the work I have done once it is usable.

Have you made any progress? Thanks

Yes, I am going to publish a gist regarding what I made. It is gonna be ready latest by the end of this week.

Yes, I am going to publish a gist regarding what I made. It is gonna be ready latest by the end of this week.

Great! Where can I find it? Thanks

@sbkomurcu Can we get the gist please?

Hey @chadhutchins182. It's already published by someone else before I publish. Please refer #634. The solution I mention was the same as in the #634. Simply add macro for start/stop audio recording (using end_vid, start_vid) and edit the boxing behaviour as mentioned in the post.
There is one thing I did different is that the the recording file names were exactly same as the video file name but with different file extension.  (i.e 2022-12-10.h264 - 2022-12-10.mp3 --> 2022-12-10.mp4) Therefore every video file have its own unique audio file.
Sorry for the late answer, somehow I haven't see the notifications.


Watch mode --save: rebuild on save regardless of changes

I would like the option to be able to rebuild on save when using watch without webpack looking at the last modified date of files.
I understand rebuild can be resource intensive, but sometimes it is useful to the dev to be able to build as a sanity check or just to refresh the project.

Moved to https://github.com/webpack/webpack-cli/issues/13 .


CPU not released after video streams removed

I'm doing my development in Chrome, unfortunately it has kept me so busy I have not yet tested what is the situation with other browsers.
My app works as follows:

A number of participants join a room, each seeing only their own webcam. Tab CPU for each participant is around ~3%.
Video streams can be dynamically opened between any participants by renegotiate or addStream
A number of participants start viewing user-x's webcam stream. Tab CPU for user-x now goes up to ~40%. So far so good.
Each participant now stops viewing user-x's webcam: remove all remoteStreams, user-x even disconnects with every peer in the room. Here comes the problem: Tab CPU for user-x still remains at ~40%, and does not drop back to normal as would be expected.

Just to confirm: at the end of step 4, user-x's connection.getAllParticipants(); returns [], i.e. no peer connections. connection.streamEvents and connection.attachStreams return that one single localStream.
Only affective method to drop CPU back to normal at this point seems to be user-x removing own localStream. This returns tab CPU to 0%. The only method I've found that is. IF, however, user-x returns localStream and reconnects with peers who were previously viewing user-x's camera, then CPU will jump back to 40% as if some ghost streaming was still taking place.
This is the first time I've ever touched WebRTC, but my novice guess would be that either A) I fail to find what is being done to my localStream and how to stop whatever that is, or B) Chrome/WebRTC just leave some useless background processes hanging, whether it's a bug or a feature.
Key feature of this app should be that those webcam streams can be opened/closed on the fly, and that is why this problem is super bad, as CPU usage keeps piling up from each open but is never released from the closures or even peer disconnects. For the same reason stopping localStream seems like a bad solution to the problem at hand (as user-y may want to close viewing user-x while user-z is still viewing user-x, etc.)
Any help and tips highly appreciated!

I ended up working around the CPU problem by creating a new RTCMultiConnection(); for each participants and my own backend keeping track of them (who's "online"). Now I can do closeSocket for each connection when no longer needed and it's keeping CPU under control. I think this method sort of defies the purpose of this library (being MultiConnect).
Still interested if anybody has a better solution, or if anybody can suggest another similar library for regular p2p RTCPeerConnections.

I ended up working around the CPU problem by creating a new RTCMultiConnection() for each participants and my own backend keeping track of who's "online". Now I can remove all streams and closeSocket for each connection when not needed and reconnect when needed again. It's keeping CPU under control. I think this method sort of defies the purpose of this library though, being specifically for MultiConnection.
Still interested if anybody has a better solution, or if anybody can suggest another similar library for regular p2p RTCPeerConnections.

Cleaning up dead issues.


Running tern with and without Scancode outputs different package information

Problem Statement
When you run tern without Scancode extension to create report,
you can get installed package information in "packages":
tern repot -f json -i debian:buster -o debian.json
But you usually don't get  file level license information with out scancode extension.
So, if you want to get file level information, you need to run it with Scancode
tern repot -f json -x scancode -i debian:buster -o debian_scancode.json
But on report with Scancode extension run, package information is (usually)missing.

same thing happened for 'debian:buster', 'ubuntu:18.04' and etc.
But, scanning fossology/fossology:3.10.0 with Scancode extension provided package information from some layer(s)

So, if you want both package information and file level information, you need to run the scan twice,
and merge the reports by yourself.
Describe the Proposal
Make an option (or change Scancode extension behavior) to combine the result of 'general' scan result and result result with Scancode extension.

Just in case you need,
Tern at commit 273e3c8cd8969df3dacc56c5d878d65378d8e4bf
Python 3.6.13
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.7 LTS
Release:        16.04
Codename:       xenial

Scanning fossology/fossology:3.10 and postgres:9.5.25 with scancode extension provided package information.
It is bit different behavior comparing with scanning debian:buster. which didn't provided package information at all.

yet, result of fossology/fossology:3.10 contained package information for 'some' layers. not all.

I ran a regular Tern scan on fossology/fossology:3.10.0 and see that not all layers have packages installed. Perhaps this is the reason you're not seeing package information for all layers when running with scancode? There are not necessarily packages installed in every later of a container image. For the fossology/fossology:3.10.0 layer I see packages in layers 1 and 3.

@JustinWonjaePark I do see the issue you are describing -- if I run tern report -i debian:buster -x scancode -o deb_scancode.out regardless of whether cache is populated or not, only file licenses are reported.
We had this same issue open for the some time ago -- the issue with the packages missing was thought to be an issue with scancode but we thought it was resolved. Seems like we need to take another look at this.
@nishakm when you are back from vacation can you poke at this? I'll see how far I get before vacation and leave any updates here. When Tern is run with scancode for debian:buster, it doesn't run any of the native package metadata collection, which doesn't seem to be right? On a regular Tern run for a debian image, the log would show "Processing Debian copyrights..." to indicate it is collecting package licenses but when Tern is run with scancode on debian:buster, you only see the scancode command being executed in the log.
021-07-22 23:14:06,060 - DEBUG - common - Reading files in filesystem...
2021-07-22 23:14:07,980 - DEBUG - rootfs - Running command: sudo /home/rjudge/ternenv/bin/scancode -ilpcu --quiet --timeout 300 -n 4 --json - /home/rjudge/.tern/temp/e63992559353a522e62a73bc137fd023ee97e1226b96947df8e00e73d1a9d627/contents
2021-07-22 23:22:30,759 - DEBUG - executor - Collecting file data...
2021-07-22 23:22:34,371 - DEBUG - generator - Creating a detailed report of components in image...
2021-07-22 23:22:34,537 - DEBUG - rootfs - Running command: sudo rm -rf /home/rjudge/.tern/temp/mergedir
2021-07-22 23:22:34,551 - DEBUG - rootfs - Running command: sudo rm -rf /home/rjudge/.tern/temp/workdir
2021-07-22 23:22:34,563 - DEBUG - rootfs - Running command: sudo rm -rf /home/rjudge/.tern/temp/e63992559353a522e62a73bc137fd023ee97e1226b96947df8e00e73d1a9d627/contents
2021-07-22 23:22:34,696 - DEBUG - prep - Tearing down...

Even more strange is that even when the cache is populated with package info from a previous Tern run, running Tern with scancode does not pull the cached package metadata into the report. (I think this behavior is related to #1000 as well).
It's also interesting that Justin is seeing packages with scancode for other containers like postgres:9.5.25 which has a debian stretch base OS.  I'm running scancode with postgres right now (likely overnight) to see what I find there and will report back.

Confirmed that running (with a populated cache) Tern + Scancode with the postgres:9.5.25 container image produces package information despite having a debian base OS. So the behavior where Tern does not merge cache package data with scancode data seems to be (so far) unique to debian:<> images.

@rnjudge I am not able to reproduce the package level inventory stuff.
Default inventory:
        Packages found in Layer:
        +------------------------+------------------------+---------+------------+
        | Package                | Version                | License | Pkg Format |
        +------------------------+------------------------+---------+------------+
        | adduser                | 3.118                  |         | deb        |
        | apt                    | <IP_ADDRESS>                |         | deb        |
        | base-files             | 10.3+deb10u9           |         | deb        |
        | base-passwd            | 3.5.46                 |         | deb        |
        | bash                   | 5.0-4                  |         | deb        |
        | bsdutils               | 1:2.33.1-0.1           |         | deb        |
        | coreutils              | 8.30-3                 |         | deb        |
        | dash                   | <IP_ADDRESS>-5             |         | deb        |
        | debconf                | 1.5.71                 |         | deb        |
        | debian-archive-keyring | 2019.1+deb10u1         |         | deb        |
        | debianutils            | <IP_ADDRESS>                |         | deb        |
        | diffutils              | 1:3.7-3                |         | deb        |
        | dpkg                   | 1.19.7                 |         | deb        |
        | e2fsprogs              | 1.44.5-1+deb10u3       |         | deb        |
        | fdisk                  | 2.33.1-0.1             |         | deb        |
        | findutils              | 4.6.0+git+20190209-2   |         | deb        |
        | gcc-8-base             | 8.3.0-6                |         | deb        |
        | gpgv                   | 2.2.12-1+deb10u1       |         | deb        |
        | grep                   | 3.3-1                  |         | deb        |
        | gzip                   | 1.9-3                  |         | deb        |
        | hostname               | 3.21                   |         | deb        |
        | init-system-helpers    | 1.56+nmu1              |         | deb        |
        | iproute2               | 4.20.0-2+deb10u1       |         | deb        |
        | iputils-ping           | 3:20180629-2+deb10u2   |         | deb        |
        | libacl1                | 2.2.53-4               |         | deb        |
        | libapt-pkg5.0          | <IP_ADDRESS>                |         | deb        |
        | libattr1               | 1:2.4.48-4             |         | deb        |
        | libaudit-common        | 1:2.8.4-3              |         | deb        |
        | libaudit1              | 1:2.8.4-3              |         | deb        |
        | libblkid1              | 2.33.1-0.1             |         | deb        |
        | libbz2-1.0             | 1.0.6-9.2~deb10u1      |         | deb        |
        | libc-bin               | 2.28-10                |         | deb        |
        | libc6                  | 2.28-10                |         | deb        |
        | libcap-ng0             | 0.7.9-2                |         | deb        |
        | libcap2                | 1:2.25-2               |         | deb        |
        | libcap2-bin            | 1:2.25-2               |         | deb        |
        | libcom-err2            | 1.44.5-1+deb10u3       |         | deb        |
        | libdb5.3               | 5.3.28+dfsg1-0.5       |         | deb        |
        | libdebconfclient0      | 0.249                  |         | deb        |
        | libelf1                | 0.176-1.1              |         | deb        |
       | libext2fs2             | 1.44.5-1+deb10u3       |         | deb        |                                                                                [188/1072]
        | libfdisk1              | 2.33.1-0.1             |         | deb        |
        | libffi6                | 3.2.1-9                |         | deb        |
        | libgcc1                | 1:8.3.0-6              |         | deb        |
        | libgcrypt20            | 1.8.4-5                |         | deb        |
        | libgmp10               | 2:6.1.2+dfsg-4         |         | deb        |
        | libgnutls30            | 3.6.7-4+deb10u6        |         | deb        |
        | libgpg-error0          | 1.35-1                 |         | deb        |
        | libhogweed4            | 3.4.1-1                |         | deb        |
        | libidn2-0              | 2.0.5-1+deb10u1        |         | deb        |
        | liblz4-1               | 1.8.3-1                |         | deb        |
        | liblzma5               | 5.2.4-1                |         | deb        |
        | libmnl0                | 1.0.4-2                |         | deb        |
        | libmount1              | 2.33.1-0.1             |         | deb        |
        | libncursesw6           | 6.1+20181013-2+deb10u2 |         | deb        |
        | libnettle6             | 3.4.1-1                |         | deb        |
        | libp11-kit0            | 0.23.15-2+deb10u1      |         | deb        |
        | libpam-modules         | 1.3.1-5                |         | deb        |
        | libpam-modules-bin     | 1.3.1-5                |         | deb        |
        | libpam-runtime         | 1.3.1-5                |         | deb        |
        | libpam0g               | 1.3.1-5                |         | deb        |
        | libpcre3               | 2:8.39-12              |         | deb        |
        | libseccomp2            | 2.3.3-4                |         | deb        |
        | libselinux1            | 2.8-1+b1               |         | deb        |
        | libsemanage-common     | 2.8-2                  |         | deb        |
        | libsemanage1           | 2.8-2                  |         | deb        |
        | libsepol1              | 2.8-1                  |         | deb        |
        | libsmartcols1          | 2.33.1-0.1             |         | deb        |
        | libss2                 | 1.44.5-1+deb10u3       |         | deb        |
        | libstdc++6             | 8.3.0-6                |         | deb        |
        | libsystemd0            | 241-7~deb10u7          |         | deb        |
        | libtasn1-6             | 4.13-3                 |         | deb        |
        | libtinfo6              | 6.1+20181013-2+deb10u2 |         | deb        |
        | libudev1               | 241-7~deb10u7          |         | deb        |
        | libunistring2          | 0.9.10-1               |         | deb        |
        | libuuid1               | 2.33.1-0.1             |         | deb        |
        | libxtables12           | 1.8.2-4                |         | deb        |
        | libzstd1               | 1.3.8+dfsg-3+deb10u2   |         | deb        |
        | login                  | 1:4.5-1.1              |         | deb        |
        | mawk                   | 1.3.3-17+b3            |         | deb        |
        | mount                  | 2.33.1-0.1             |         | deb        |
        | ncurses-base           | 6.1+20181013-2+deb10u2 |         | deb        |
        | ncurses-bin            | 6.1+20181013-2+deb10u2 |         | deb        |
        | passwd                 | 1:4.5-1.1              |         | deb        |
        | perl-base              | 5.28.1-6+deb10u1       |         | deb        |
        | sed                    | 4.7-1                  |         | deb        |
        | sysvinit-utils         | 2.93-8                 |         | deb        |
        | tar                    | 1.30+dfsg-6            |         | deb        |
        | tzdata                 | 2021a-0+deb10u1        |         | deb        |
        | util-linux             | 2.33.1-0.1             |         | deb        |
        | zlib1g                 | 1:1.2.11.dfsg-1        |         | deb        |
        +------------------------+------------------------+---------+------------+

With scancode inventory:
        Packages found in Layer:
        +------------------------+------------------------+---------+------------+
        | Package                | Version                | License | Pkg Format |
        +------------------------+------------------------+---------+------------+
        | adduser                | 3.118                  |         | deb        |
        | apt                    | <IP_ADDRESS>                |         | deb        |
        | base-files             | 10.3+deb10u9           |         | deb        |
        | base-passwd            | 3.5.46                 |         | deb        |
        | bash                   | 5.0-4                  |         | deb        |
        | bsdutils               | 1:2.33.1-0.1           |         | deb        |
        | coreutils              | 8.30-3                 |         | deb        |
        | dash                   | <IP_ADDRESS>-5             |         | deb        |
        | debconf                | 1.5.71                 |         | deb        |
        | debian-archive-keyring | 2019.1+deb10u1         |         | deb        |
        | debianutils            | <IP_ADDRESS>                |         | deb        |
        | diffutils              | 1:3.7-3                |         | deb        |
        | dpkg                   | 1.19.7                 |         | deb        |
        | e2fsprogs              | 1.44.5-1+deb10u3       |         | deb        |
        | fdisk                  | 2.33.1-0.1             |         | deb        |
        | findutils              | 4.6.0+git+20190209-2   |         | deb        |
        | gcc-8-base             | 8.3.0-6                |         | deb        |
        | gpgv                   | 2.2.12-1+deb10u1       |         | deb        |
        | grep                   | 3.3-1                  |         | deb        |
        | gzip                   | 1.9-3                  |         | deb        |
        | hostname               | 3.21                   |         | deb        |
        | init-system-helpers    | 1.56+nmu1              |         | deb        |
        | iproute2               | 4.20.0-2+deb10u1       |         | deb        |
        | iputils-ping           | 3:20180629-2+deb10u2   |         | deb        |
        | libacl1                | 2.2.53-4               |         | deb        |
        | libapt-pkg5.0          | <IP_ADDRESS>                |         | deb        |
        | libattr1               | 1:2.4.48-4             |         | deb        |
        | libaudit-common        | 1:2.8.4-3              |         | deb        |
        | libaudit1              | 1:2.8.4-3              |         | deb        |
        | libblkid1              | 2.33.1-0.1             |         | deb        |
        | libbz2-1.0             | 1.0.6-9.2~deb10u1      |         | deb        |
        | libc-bin               | 2.28-10                |         | deb        |
        | libc6                  | 2.28-10                |         | deb        |
        | libcap-ng0             | 0.7.9-2                |         | deb        |
        | libcap2                | 1:2.25-2               |         | deb        |
        | libcap2-bin            | 1:2.25-2               |         | deb        |
        | libcom-err2            | 1.44.5-1+deb10u3       |         | deb        |
        | libdb5.3               | 5.3.28+dfsg1-0.5       |         | deb        |
        | libdebconfclient0      | 0.249                  |         | deb        |
        | libelf1                | 0.176-1.1              |         | deb        |
        | libext2fs2             | 1.44.5-1+deb10u3       |         | deb        |
        | libfdisk1              | 2.33.1-0.1             |         | deb        |
        | libffi6                | 3.2.1-9                |         | deb        |
        | libgcc1                | 1:8.3.0-6              |         | deb        |
       | libgnutls30            | 3.6.7-4+deb10u6        |         | deb        |                                                                                [21/1072]
        | libgpg-error0          | 1.35-1                 |         | deb        |
        | libhogweed4            | 3.4.1-1                |         | deb        |
        | libidn2-0              | 2.0.5-1+deb10u1        |         | deb        |
        | liblz4-1               | 1.8.3-1                |         | deb        |
        | liblzma5               | 5.2.4-1                |         | deb        |
        | libmnl0                | 1.0.4-2                |         | deb        |
        | libmount1              | 2.33.1-0.1             |         | deb        |
        | libncursesw6           | 6.1+20181013-2+deb10u2 |         | deb        |
        | libnettle6             | 3.4.1-1                |         | deb        |
        | libp11-kit0            | 0.23.15-2+deb10u1      |         | deb        |
        | libpam-modules         | 1.3.1-5                |         | deb        |
        | libpam-modules-bin     | 1.3.1-5                |         | deb        |
        | libpam-runtime         | 1.3.1-5                |         | deb        |
        | libpam0g               | 1.3.1-5                |         | deb        |
        | libpcre3               | 2:8.39-12              |         | deb        |
        | libseccomp2            | 2.3.3-4                |         | deb        |
        | libselinux1            | 2.8-1+b1               |         | deb        |
        | libsemanage-common     | 2.8-2                  |         | deb        |
        | libsemanage1           | 2.8-2                  |         | deb        |
        | libsepol1              | 2.8-1                  |         | deb        |
        | libsmartcols1          | 2.33.1-0.1             |         | deb        |
        | libss2                 | 1.44.5-1+deb10u3       |         | deb        |
        | libstdc++6             | 8.3.0-6                |         | deb        |
        | libsystemd0            | 241-7~deb10u7          |         | deb        |
        | libtasn1-6             | 4.13-3                 |         | deb        |
        | libtinfo6              | 6.1+20181013-2+deb10u2 |         | deb        |
        | libudev1               | 241-7~deb10u7          |         | deb        |
        | libunistring2          | 0.9.10-1               |         | deb        |
        | libuuid1               | 2.33.1-0.1             |         | deb        |
        | libxtables12           | 1.8.2-4                |         | deb        |
        | libzstd1               | 1.3.8+dfsg-3+deb10u2   |         | deb        |
        | login                  | 1:4.5-1.1              |         | deb        |
        | mawk                   | 1.3.3-17+b3            |         | deb        |
        | mount                  | 2.33.1-0.1             |         | deb        |
        | ncurses-base           | 6.1+20181013-2+deb10u2 |         | deb        |
        | ncurses-bin            | 6.1+20181013-2+deb10u2 |         | deb        |
        | passwd                 | 1:4.5-1.1              |         | deb        |
        | perl-base              | 5.28.1-6+deb10u1       |         | deb        |
        | sed                    | 4.7-1                  |         | deb        |
        | sysvinit-utils         | 2.93-8                 |         | deb        |
        | tar                    | 1.30+dfsg-6            |         | deb        |
        | tzdata                 | 2021a-0+deb10u1        |         | deb        |
        | util-linux             | 2.33.1-0.1             |         | deb        |
        | zlib1g                 | 1:1.2.11.dfsg-1        |         | deb        |
        +------------------------+------------------------+---------+------------+

Debian doesn't have package level license metadata.

Nisha and I discussed this and the issue is reproducible when you:

Clear the cache
Run tern+scancode on a debian:buster image
Run regular tern on debian:buster image
Run tern+scancode again on debian:buster -- you will not see package level info in this report even though package level metadata is present in the cache (from step 3)

What's strange is that this seems to be unique to debian:buster? For step 2, this could be explained if scancode is not reporting package info for this image and therefore, Tern doesn't either (however, this would be a bug to open with scancode project). But for step 4 I would expect package data to be present in the report even if scancode didn't find package metadata previously to store in the cache, since Tern did find package metadata in step 3 that would be in the cache.

I am still unable to reproduce this issue :(. I have attached my output files here.

Ran tern -r report -x scancode -i debian:buster -o tern_scancode_nocache.txt
Ran tern report -i debian:buster -o tern_cache.txt
Ran tern report -x scancode -i debian:buster -o tern_scancode_cache.txt

I get package level info in all 3 scenarios. Also, from the log, it looks like the layers are loaded from the cache as expected.
tern_scancode_nocache.txt
tern_cache.txt
tern_scancode_cache.txt

It's probably worth noting my scancode version:
ScanCode version 21.8.4

Bingo! -r's operation is different from -c!

I am also running scancode 21.6.7. I will update for future debug on this.

Looks like scancode errors out with a multiprocessing.context.TimeoutError at  func(self, timeout=timeout or 3600) `. I'm going to try using the default timeout (3600) and see what that'll do.

OK, I am having a hard time running scancode on the debian images. It's possible that the package inventory on debian images is just broken for scancode :(

This issue with scancode is still open: https://github.com/nexB/scancode-toolkit/issues/2467

@rnjudge @JustinWonjaePark It looks like tern's operation of augmenting the results of inventory runs by different methods works as expected, i.e. Running tern using the default method and then running scancode does not remove the data collected by running the default method. However, the -r option should remove all the data and it doesn't do that. Can I change the title of this issue to reflect as such, or would you prefer if I file a new issue?

@nishakm I am ok with changing the title as you need.


Images Pixelate Using canvaskit on Some Monitors

I have some simple png images that get pixelated on some monitors but not others. I tried changing the FilterQuality to different values but to no avail. The images are of reasonable high resolution. In the screenshots below the big image in the middle is 1024x1024 and the icons below are 128X128 each. I also tried not setting any cacheWidth or cacheHeight values but nothing seems to work.
Here are the screen shots. I've been having these issues for a while. I don't have experience in image processing so I wasn't sure that including screenshots of a resolution problem makes sense, but when I took the screenshots the issue was captured so I guess it's a good idea.
With LG monitor

With Mac built in monitor

Here is a screen shot of my monitors information

The pixelation happens on the LG Ultrawide monitor, but not on the built in Color LCD. I also tried on some Dell monitors, and was getting pixelation as well. I don't get pixelation on my iPhone. The problem only happens with canviskit- I tried html and all is normal.
Here is my flutter doctor -v
[✓] Flutter (Channel stable, 2.2.3, on macOS 11.2.3 20D91 darwin-x64, locale en-SA)
    • Flutter version 2.2.3 at /Users/mickymouse/dev/flutter
    • Framework revision f4abaa0735 (10 weeks ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/mickymouse/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.11.0.rc.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2021.1.1)
    • IntelliJ at /Applications/Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] IntelliJ IDEA Community Edition (version 2021.1.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.60.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 92.0.4515.159

• No issues found!

If there is anything else I can provide let me know.
Thank you

Hi @moneer-muntazah, Thanks for filing the detailed issue, I would need a minimal reproducible code sample as well containing the image asset to investigate the issue further.
Thanks

@maheshmnj here you go https://github.com/moneer-muntazah/images_pixelated_demo
I only get the pixelation if I wrap the images with SizedBox

Thanks for the code sample @moneer-muntazah,
I am able to reproduce this issue on a 24-inch monitor on the latest stable 2.2.3 and master 2.6.0,

I only get the pixelation if I wrap the images with SizedBox

I can confirm this
Verified on
  DELL P2419H:
  Resolution:	1920x1080 (1080p FHD - Full High Definition)
  UI Looks like:	1920 x 1080 @ 60.00Hz
  Mirror:	Off
  Online:	Yes
  Rotation:	Supported
  Automatically Adjust Brightness:	Yes

Output

Output Images (Canvaskit) Stable

Not Pixelated Image

Pixelated Image(External Monitor)

Output Images (HTML) Stable

Mac Screen

External Monitor

flutter doctor -v
[✓] Flutter (Channel stable, 2.2.3, on macOS 11.5.2 20G95 darwin-arm, locale en-GB)
    • Flutter version 2.2.3 at /Users/mahesh/Documents/flutter
    • Framework revision f4abaa0735 (10 weeks ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.10.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] VS Code (version 1.59.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.26.0

[✓] Connected device (3 available)
    • Redmi K20 Pro (mobile) • d9dac45d • android-arm64  • Android 11 (API 30)
    • macOS (desktop)        • macos    • darwin-arm64   • macOS 11.5.2 20G95 darwin-arm
    • Chrome (web)           • chrome   • web-javascript • Google Chrome 93.0.4577.63

• No issues found!

[✓] Flutter (Channel master, 2.6.0-1.0.pre.103, on macOS 11.5.2 20G95 darwin-arm, locale en-GB)
    • Flutter version 2.6.0-1.0.pre.103 at /Users/mahesh/Documents/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2c30b252a5 (11 days ago), 2021-08-27 23:26:03 -0400
    • Engine revision ca52647cd2
    • Dart version 2.15.0 (build 2.15.0-65.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.5.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.10.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] VS Code (version 1.59.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.26.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 11.5.2 20G95 darwin-arm
    • Chrome (web)    • chrome • web-javascript • Google Chrome 93.0.4577.63

• No issues found!

Does the issue show up when you move your browser window from one monitor to the other? Or does the problem show up on the HP monitor when the app starts up?

@hterkelsen @yjbanov  Images get pixelated on app start up without having to move the window from one monitor to another. I have another station with a single monitor when I run my app in it images are pixelated.

I can reproduce this on my Samsung SyncMaster P2370(23"). I thought the problem was my monitor.

I am not sure if this is because I am using OCLP(OpenCore Legacy Patcher) on my macbook. Are you using any patches like that to get the latest macOS?

I can also reproduce the same behaviour. MacBook Pro M2 with an external 24in monitor. I run the app and it starts in chrome on my external monitor, a large scaled down image is pixelated. When I drag the window to the MacBook's built in display it displays correctly.
Flutter doctor
[✓] Flutter (Channel stable, 3.22.3, on macOS 14.5 23F79 darwin-arm64, locale en-AU)
    • Flutter version 3.22.3 on channel stable at /Users/rorystephenson/sdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b0850beeb2 (2 weeks ago), 2024-07-16 21:43:41 -0700
    • Engine revision 235db911ba
    • Dart version 3.4.4
    • DevTools version 2.34.3

[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
    • Android SDK at /Users/rorystephenson/sdk/android
    • Platform android-35, build-tools 35.0.0
    • ANDROID_HOME = /Users/rorystephenson/sdk/android
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15F31d
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

[✓] VS Code (version 1.85.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.92.0

[✓] Connected device (3 available)
    • macOS (desktop)                 • macos                 • darwin-arm64   • macOS 14.5 23F79 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin         • macOS 14.5 23F79 darwin-arm64
    • Chrome (web)                    • chrome                • web-javascript • Google Chrome 127.0.6533.73

[✓] Network resources
    • All expected network resources are available.

• No issues found!

MacBook display and external display info
Apple M2 Pro:

  Chipset Model:	Apple M2 Pro
  Type:	GPU
  Bus:	Built-In
  Total Number of Cores:	16
  Vendor:	Apple (0x106b)
  Metal Support:	Metal 3
  Displays:
DELL U2717D:
  Resolution:	2560 x 1440 (QHD/WQHD - Wide Quad High Definition)
  UI Looks like:	2560 x 1440 @ 60.00Hz
  Main Display:	Yes
  Mirror:	Off
  Online:	Yes
  Rotation:	Supported
Colour LCD:
  Display Type:	Built-in Liquid Retina XDR Display
  Resolution:	3024x1964 Retina
  Mirror:	Off
  Online:	Yes
  Automatically Adjust Brightness:	No
  Connection Type:	Internal

OSX doesn't support non-retina external monitors very well since they stopped supporting sub-pixel antialiasing in Mojave I think. It looks like everyone who is seeing this is on a Mac with a non retina external monitor. Still, when viewing the same image scaled down in a plain html page it looks perfectly fine, so this looks like something Flutter should be able to improve.

Can absolutely confirm this issue, it is downgrading the developer experience very much for us flutterwebbers


Restructured work experience - add a job

Context
As part of adding the new work history flow, we need to add the new 'Add a job' page.
Changes proposed in this pull request

Create 'add a job' page.
Allow users to create and update a job

Guidance to review

Make sure the 'restructured work history' feature flag is turned on
Log into a candidate's application and go to /candidate/application/restructured-work-history/new
Note that the new work history review page still needs to be wired up (separate ticket)
deleting a job to be a separate ticket

Screenshot

Link to Trello card
https://trello.com/c/Vc9Hj802/2919-dev-add-the-add-a-job-page
Things to check

[ ] This code does not rely on migrations in the same Pull Request
[ ] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[ ] API release notes have been updated if necessary
[ ] New environment variables have been added to the Azure config

Really great work Toby, just a few minor comments and it's good to go 👍

Really great work Toby, just a few minor comments and it's good to go 👍


This page is not up to date

There is a new version available 2.80 .can you please add the version details and release notes

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

ID: 3d2d7d54-74a4-6a49-66f4-3cf4083c1434
Version Independent ID: 005cf301-2333-9671-df9d-4188d94c2576
Content: Work with Azure Desired State Configuration extension version history
Content Source: articles/automation/automation-dsc-extension-history.md
Service: automation
Sub-service: dsc
GitHub Login: @MGoedtel
Microsoft Alias: magoedte

@tigerdeccan Thanks for the comment.
Assigning @MGoedtel for visibility, review and document enhancement consideration.

@tigerdeccan - Yes, this is already on my list of things to do and the article will get updated this sprint.  I'm waiting on engineering to provide those details in order to include in the article update for v2.80. Thanks for bringing this to our attention.  #please-close


curl: (7) Failed to connect to raw.githubusercontent.com port 443 after 18 ms: Couldn't connect to server

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

sudo nano /etc/hosts
pwd

原文件
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting.  Do not change this entry.
##
<IP_ADDRESS>       localhost
<IP_ADDRESS> broadcasthost
::1             localhost

根据 https://sites.ipaddress.com/raw.githubusercontent.com/
加上
<IP_ADDRESS> raw.githubusercontent.com

但是
(base) myk@miyuki-M2Max ~ % source /etc/hosts
/etc/hosts:7: command not found: <IP_ADDRESS>
/etc/hosts:8: command not found: <IP_ADDRESS>
/etc/hosts:9: command not found: ::1
/etc/hosts:10: command not found: <IP_ADDRESS>

但是成了 离谱


fix powershell example for Protecting individual records

Updated the resourceType field with: "Microsoft.Network/privateDnsZones/<record type: A,AAAA,CNAME,MX,PTR,SRV or TXT>"
without this record type you will Lock the entire dns zone instead of the individual record.

#sign-off

@duongau

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off

@duongau - can you help us advance this aging PR that's assigned to you?  Should the changes be made or discarded?
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
Thanks, PR review team

[like]  Pieterbas Nagengast reacted to your message:

From: Duong Au @.>
Sent: Thursday, December 7, 2023 2:34:21 AM
To: MicrosoftDocs/azure-docs @.>
Cc: Pieterbas Nagengast @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] fix powershell example for Protecting individual records (PR #116710)
Hello @PieterbasNagengasthttps://github.com/PieterbasNagengast, I'm going to tag @greg-lindsayhttps://github.com/greg-lindsay to review this because I no longer manage the Azure DNS content. He will let you know if the update is good to go for merging and sign off.
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/pull/116710#issuecomment-1844116756, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APA624EZN3L4D25SA3FPNYLYIETK3AVCNFSM6AAAAAA63CZGKWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBUGEYTMNZVGY.
You are receiving this because you were mentioned.Message ID: @.***>

@greg-lindsay,
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.

Because there is a conflict, I will add the change myself and close this PR. Thanks for the contribution! #please-close


Clear "implicit function declaration" warnings in paula.c and replayer.c

yes

Take a look at line 6 in paula.h.
You're supposed to select what driver to use there.
I don't get the same warnings as you...


Show menu if user tries to create a highlight without selecting a room first #23

#23

Removed the log! would appreciate you looking at #28 and comments on architecture in #25 btw ;)


Add warning or exception when agents are used with o1 models

Need to flag to user that the system prompt is not administered, and suggest alternative methods

Isn't this a duplicate of #1167?

Yes! Thank you.


fix(pg): write deployment artifacts for proxy and implementation

Previously, we were only generating a deployment artifact for each implementation contract. This PR adds deployment artifacts for the proxies.
@RPate97 This can wait until after the foundry refactor if it's not convenient to integrate rn

Previously, we were only generating a deployment artifact for each implementation contract. This PR adds deployment artifacts for the proxies.
@RPate97 This can wait until after the foundry refactor if it's not convenient to integrate rn

This will generate a lot of merge conflicts for the pate/foundry-library branch if merged now. I think it would be best to rebase this onto the pate/foundry-library branch and then merge it into that instead. I can assist with resolving issues related to the rebase.
Any other fixes, changes, improvements, etc we want to make prior to merging the pate/foundry-library branch should also be developed by branching off of pate/foundry-library to avoid similar headaches.

Any other fixes, changes, improvements, etc we want to make prior to merging the pate/foundry-library branch should also be developed by branching off of pate/foundry-library to avoid similar headaches.

Got it. Let's just hold off till later then to merge this then. I would've pushed it weeks ago but it was hiding in a random branch.

Closed by #585


Update install script to to ensure privileged policy

fixes: #147

This change is

thanks @jinchihe, can we include these roles in a separate prototype file in the quick starter package, and install through ks in this script, the reason is because then it will be easier to cleanup the resources when uninstalling.

@xyhuang good idea!


Does not show any control button to save cropped image

Hello, I have made a sample app, the issue is that when i am on crop activity it is not showing any control like save rotate etc, i have set setAllowRotation true but still not found. It is showing white space on top and bottom.

Issue resolved, it was related to style. Thanks.

Yep, i dont still any control button to save cropped image.
Please help me.
i use compile 'com.theartofdev.edmodo:android-image-cropper:2.4.+'

this issue is related to styles, u can set style to crop activity for
toolbar controls.
On 08-Jun-2017 12:09 PM, "phanvanduc"<EMAIL_ADDRESS>wrote:

Yep, i dont still any control button to save cropped image.
Please help me.
i use compile 'com.theartofdev.edmodo:android-image-cropper:2.4.+'
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ArthurHub/Android-Image-Cropper/issues/299#issuecomment-307013179,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFa-75bze04XumootlNk5WBi5wLkiSdjks5sB5c2gaJpZM4NxWwU
.

This issue is still exists, v2.7.0


In Client Designer: Only able to add one extension ...

... while it asumes I can do more... .
Repro:
In Inclient designer, add "No. 2" to the list.
Stop designing
name it "ItemList" with publisher "waldo"
Start the inclient designer again on the customer list
add a field (search name)
stop designing
name it "customerlist" with publisther "waldo"
Open the "Extension Management" and try to find the "customerlist" extension... .  Looks like all additinal changes are saved to the first extension.

when I do that for the third time, and try to save the extension, i see that:

the filename is the one that I give in my third "extension"
the name in the app.json is the one that I gave originally.

so I guess it's "by design", only some work left in the client itself..

This is already fixed in the July Update.


Dataset Context Manager notebook fails when executed

The Dataset Context Manager.ipynb notebook randomly fails on Windows when executed from the command line.
Steps to reproduce

Run jupyter nbconvert --to notebook --ExecutePreprocessor.timeout=600 --execute "Dataset Context Manager.ipynb"
Repeat ~ 20 times

Expected behaviour
The notebook should execute and the above command should exit with return code 0.
Actual behaviour
Locally
When running the following script on my local Windows machine:
from subprocess import run, PIPE

cmd = ['jupyter-nbconvert', '--to', 'notebook',
       '--execute', 'Dataset Context Manager.ipynb']

successes = []
fails = []
N = 100

for n in range(N):
    print(f'[*] Executing notebook, run {n}:{N-1}')

    result = run(cmd, stdout=PIPE, stderr=PIPE)
    if result.returncode == 0:
        print('[+] Succes')
        successes.append(result)
    else:
        print(f'[-] Fail, return code {result.returncode}')
        fails.append(result)
    print(f'Current score: {len(fails)} fails, {len(successes)} successes.')
    print('='*25)

I get the following error roughly 1 out of 11 times:
[NbConvertApp] Converting notebook Dataset Context Manager.ipynb to notebook
[NbConvertApp] Executing notebook with kernel: python3
[NbConvertApp] ERROR | Error while converting 'Dataset Context Manager.ipynb'
Traceback (most recent call last):
  File "C:\Users\qcodes-william\Anaconda3\envs\qcodesqcodes\lib\site-packages\nbconvert\nbconvertapp.py", line 381, in export_single_notebook
    output, resources = self.exporter.from_filename(notebook_filename, resources=resources)
  File "C:\Users\qcodes-william\Anaconda3\envs\qcodesqcodes\lib\site-packages\nbconvert\exporters\exporter.py", line 172, in from_filename
    return self.from_file(f, resources=resources, **kw)
  File "C:\Users\qcodes-william\Anaconda3\envs\qcodesqcodes\lib\site-packages\nbconvert\exporters\exporter.py", line 190, in from_file
    return self.from_notebook_node(nbformat.read(file_stream, as_version=4), resources=resources, **kw)
  File "C:\Users\qcodes-william\Anaconda3\envs\qcodesqcodes\lib\site-packages\nbconvert\exporters\notebook.py", line 31, in from_notebook_node
    nb_copy, resources = super(NotebookExporter, self).from_notebook_node(nb, resources, **kw)
  File "C:\Users\qcodes-william\Anaconda3\envs\qcodesqcodes\lib\site-packages\nbconvert\exporters\exporter.py", line 132, in from_notebook_node
    nb_copy, resources = self._preprocess(nb_copy, resources)
  File "C:\Users\qcodes-william\Anaconda3\envs\qcodesqcodes\lib\site-packages\nbconvert\exporters\exporter.py", line 309, in _preprocess
    nbc, resc = preprocessor(nbc, resc)
  File "C:\Users\qcodes-william\Anaconda3\envs\qcodesqcodes\lib\site-packages\nbconvert\preprocessors\base.py", line 47, in __call__
    return self.preprocess(nb,resources)
  File "C:\Users\qcodes-william\Anaconda3\envs\qcodesqcodes\lib\site-packages\nbconvert\preprocessors\execute.py", line 242, in preprocess
    nb, resources = super(ExecutePreprocessor, self).preprocess(nb, resources)
  File "C:\Users\qcodes-william\Anaconda3\envs\qcodesqcodes\lib\site-packages\nbconvert\preprocessors\base.py", line 70, in preprocess
    nb.cells[index], resources = self.preprocess_cell(cell, resources, index)
  File "C:\Users\qcodes-william\Anaconda3\envs\qcodesqcodes\lib\site-packages\nbconvert\preprocessors\execute.py", line 275, in preprocess_cell
    raise CellExecutionError(msg)
nbconvert.preprocessors.execute.CellExecutionError: An error occurred while executing the following cell:
------------------
ax, cbax = plot_by_id(run_id)
------------------

IndexError: index 0 is out of bounds for axis 0 with size 0

Note: the same is seen with a simple batch file running a loop that executes the notebook over and over. Running the same python code on a mac seems to always succeed. Nope, it fails on my mac too, just only 2 out of 100 times. Same error.
AppVeyor
On AppVeyor, we sometimes (I don't have a good number, perhaps 1 in 5 times?) get another error from the same notebook execution:
---------------------------------------------------------------------------
OperationalError                          Traceback (most recent call last)
<ipython-input-30-42e08b26d127> in <module>()
     20 meas.add_subscriber(get_list_of_first_param, state=first_param_list)
     21
---> 22 with meas.run() as datasaver:
     23     for n in range(10):
     24         datasaver.add_result((dac.ch1, n), (dmm.v1, n**2))
C:\Miniconda36-x64\envs\qcodes\lib\site-packages\qcodes\dataset\measurements.py in __enter__(self)
    254             # to the database
    255             log.debug(f'Subscribing callable {callble} with state {state}')
--> 256             self.ds.subscribe(callble, min_wait=0, min_count=1, state=state)
    257
    258         print(f'Starting experimental run with id: {self.ds.run_id}')
C:\Miniconda36-x64\envs\qcodes\lib\site-packages\qcodes\dataset\data_set.py in subscribe(self, callback, min_wait, min_count, state, callback_kwargs, subscriber_class)
    550         sub_id = hash_from_parts(str(time.time()))
    551         sub = Subscriber(self, sub_id, callback, state, min_wait, min_count,
--> 552                          callback_kwargs)
    553         self.subscribers[sub_id] = sub
    554         sub.start()
C:\Miniconda36-x64\envs\qcodes\lib\site-packages\qcodes\dataset\data_set.py in __init__(self, dataSet, sub_id, callback, state, min_wait, min_count, callback_kwargs)
    101             SELECT {self.callbackid}({param_sql});
    102         END;"""
--> 103         atomicTransaction(self.conn, sql)
    104         self.data: Queue = Queue()
    105         self._data_set_len = len(dataSet)
C:\Miniconda36-x64\envs\qcodes\lib\site-packages\qcodes\dataset\sqlite_base.py in atomicTransaction(conn, sql, *args)
    258         logging.exception("Could not execute transaction, rolling back")
    259         conn.rollback()
--> 260         raise e
    261
    262     conn.commit()
C:\Miniconda36-x64\envs\qcodes\lib\site-packages\qcodes\dataset\sqlite_base.py in atomicTransaction(conn, sql, *args)
    254     """
    255     try:
--> 256         c = transaction(conn, sql, *args)
    257     except Exception as e:
    258         logging.exception("Could not execute transaction, rolling back")
C:\Miniconda36-x64\envs\qcodes\lib\site-packages\qcodes\dataset\sqlite_base.py in transaction(conn, sql, *args)
    233         c.execute(sql, args)
    234     else:
--> 235         c.execute(sql)
    236     return c
    237
OperationalError: trigger sub1837cafd1570f508b3c10e6a23eceed41d552679 already exists
OperationalError: trigger sub1837cafd1570f508b3c10e6a23eceed41d552679 already exists

System
Windows
master
0c3cd4c
@QCoDeS/core

I think the problem is that the subscriber is generated with an id which is hash_from_parts(str(time.time())) I suspect that in tests this this may be called to fast after each other and we get two subscribers with the same id. I suggest adding some random numbers to the time or use the uuid module

The output of the following on appveyor could be interesting:
In [10]: for clock in ['clock', 'monotonic', 'perf_counter', 'process_time', 'time']:
    ...:     print(f'{clock}: {time.get_clock_info(clock)}')
    ...:
clock: namespace(adjustable=False, implementation='clock()', monotonic=True, resolution=1e-06)
monotonic: namespace(adjustable=False, implementation='mach_absolute_time()', monotonic=True, resolution=1e-09)
perf_counter: namespace(adjustable=False, implementation='mach_absolute_time()', monotonic=True, resolution=1e-09)
process_time: namespace(adjustable=False, implementation='clock_gettime(CLOCK_PROCESS_CPUTIME_ID)', monotonic=True, resolution=1.0000000000000002e-06)
time: namespace(adjustable=True, implementation='clock_gettime(CLOCK_REALTIME)', monotonic=False, resolution=1.0000000000000002e-06)

@jenshnielsen, yes, we should probably look into timings on appveyor. Here is another timing problem https://ci.appveyor.com/project/WilliamHPNielsen/qcodes/build/1.0.68

Pushed #1063 to get some insight. Once we can require python 3.7 we should use time.monotonic_ns() https://docs.python.org/3.7/library/time.html#time.monotonic_ns but that is a way off

This https://msdn.microsoft.com/en-us/library/windows/desktop/dn553408(v=vs.85).aspx also states that the perf counter is monotonic on windows

Python monotonic cloc uses this for some reason

Reopening this since #1065 is needed as well to fully alleviate this.


If back from confirmation page to return page, entry input need to be kept.

Tested on dev10.
It works if I click on the "Back" button on the application.
However, if I click on the "Back" button on the browser, then the entry input is not kept. Should it be kept in that case too @Xymmer ?


reclassify photon as material entity

Description of the issue
Currently, we defined photon as portion of matter.
We could instead classify it only as material entity. That might account for the fact, that a photon has no mass (although we didn't claim that as preposition to be a portion of matter explicitly in the OEO).
BFO counts photons as material entities, though, see examples of usage of BFO_0000040.
Ideas of solution
Make photon subclass of material entity.
Workflow checklist

[ ] I discussed the issue with someone else than me before working on a solution
[ ] I already read the latest version of the workflow for this repository
[ ] The goal of this ontology is clear to me

I am aware that

[ ] every entry in the ontology should have a definition
[ ] classes should arise from concepts rather than from words

I agree to the idea of making photon a material entity. but mainly for a different reason: A portion of matters is an aggregate of material entities that have a state of matter. But a (single) photon is neither an aggregate[^1] nor has it a meaningful state of matter.
[^1]: Not even an aggregate of subatomic particles like quarks

The def of energy is currently: Energy is a quality of matter which manifests as a capacity to perform work (such as causing motion or the interaction of molecules)
It should read Energy is a quality of material entities which ... instead I guess.

I agree.


Voice support for Turn.IO integration

Best going through this commit-wise.
Please note
The turn-python library needs to support sending media as well before we can try to send synthesized voice. That will happen in a separate PR. This means that the user can send us voice messages, but we will always respond with text for now.
The turn-python update to support fetching media can be found here cc @proteusvacuum

Not sure why this test is not passing here. Locally I'm running python 3.11 (after upgrading just for this test) and everything passes :thinking: . I'll sort it out tomorrow. I have a headache now


Update sbt-assembly to 1.2.0

Updates com.eed3si9n:sbt-assembly from 1.1.1 to 1.2.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (1.1.1).
You might want to review and update them manually.
docs/src/adr/trex-arch.drawio

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.eed3si9n", artifactId = "sbt-assembly" } ]

labels: sbt-plugin-update, early-semver-minor, semver-spec-minor, old-version-remains, commit-count:1

Codecov Report

Merging #1523 (c78e8bd) into unstable (e08b7ce) will decrease coverage by 0.05%.
The diff coverage is n/a.

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

@@             Coverage Diff              @@
##           unstable    #1523      +/-   ##
============================================
- Coverage     74.95%   74.89%   -0.06%
============================================
  Files           359      358       -1
  Lines         11510    11471      -39
  Branches        533      545      +12
============================================
- Hits           8627     8591      -36
+ Misses         2883     2880       -3

Impacted Files
Coverage Δ

...syte/apalache/tla/bmcmt/caches/AbstractCache.scala
88.23% <0.00%> (-8.91%)
:arrow_down:

.../forsyte/apalache/tla/bmcmt/rules/FunAppRule.scala
85.71% <0.00%> (-0.96%)
:arrow_down:

...ala/at/forsyte/apalache/tla/pp/ExprOptimizer.scala
88.52% <0.00%> (-0.71%)
:arrow_down:

.../forsyte/apalache/tla/bmcmt/rules/SeqOpsRule.scala
96.32% <0.00%> (-0.14%)
:arrow_down:

...ir/transformations/standard/KeraLanguagePred.scala
94.38% <0.00%> (-0.13%)
:arrow_down:

...forsyte/apalache/tla/typecheck/etc/ToEtcExpr.scala
94.33% <0.00%> (-0.10%)
:arrow_down:

.../at/forsyte/apalache/tla/imp/StandardLibrary.scala
100.00% <0.00%> (ø)

...orsyte/apalache/tla/bmcmt/rules/UserOperRule.scala
63.63% <0.00%> (ø)

...rsyte/apalache/tla/bmcmt/rules/FunExceptRule.scala
93.33% <0.00%> (ø)

...rsyte/apalache/tla/bmcmt/rules/IntDotDotRule.scala
68.75% <0.00%> (ø)

... and 12 more

Continue to review full report at Codecov.

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


Upgrade com.google.guava:guava 30.1.1-jre -> 31.0-jre

This PR contains the following updates:

Package
Update
Change

com.google.guava:guava
major
30.1.1-jre -> 31.0-jre

[ ] If you want to rebase/retry this PR, check this box.

Suggested commit message:
Upgrade Guava 30.1.1-jre -> 31.0-jre

See


[Enhancement] remove snapshot phase for olap table export

Signed-off-by: xyz<EMAIL_ADDRESS>What type of PR is this：

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #16457
Problem Summary(Required) ：

The snapshot created by ExportPendingTask for olap table is not used by ExportExportingTask, in this pr, we remove the snapshot phase
Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)
[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch
[ ] 2.5
[ ] 2.4
[ ] 2.3
[ ] 2.2

[FE PR Coverage Check]
:disappointed: fail : 0 / 7 (00.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/load/ExportJob.java
0
2
00.00%
[612, 906]

:large_blue_circle:
com/starrocks/task/ExportPendingTask.java
0
5
00.00%
[94, 96, 97, 98, 99]

I think we should have a good plan first and then optimize it.
If be supports reading from snapshot, will there be no problem that the version cannot be read due to compaction?


Diagnostic Settings Storage Retention failure, related with automation account

based on the Diagnostic Settings Storage Retention feature deprecation (https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/migrate-to-azure-storage-lifecycle-policy?tabs=portal), we need to update the "diagnosticLogsRetentionInDays", from 30 (current value) to 0, to avoid deployment error related with automation account provisioning.
line 7696 of the file workload/arm/deploy-custom-image.json

Thank you @matiasma for reporting this issue.  We have fixed the bicep code but have failed to compile the JSON for that solution.  We'll make the update today.


Add wildcard subgenus matching for typeStatus in DwC Occurrence import

Subgenus may be missing from typeStatus strings, but present in TW original combination nomenclature.
This wildcard search ensures uniqueness among the results, and will not be applied if multiple original combinations match.

Codecov Report
Patch coverage: 13.33% and project coverage change: -25.59 :warning:

Comparison is base (b7e0537) 85.83% compared to head (e124bf0) 60.25%.

:exclamation: Current head e124bf0 differs from pull request most recent head 85824c3. Consider uploading reports for the commit 85824c3 to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@               Coverage Diff                @@
##           development    #3489       +/-   ##
================================================
- Coverage        85.83%   60.25%   -25.59%
================================================
  Files             2005     1509      -496
  Lines            72541    45317    -27224
================================================
- Hits             62267    27306    -34961
- Misses           10274    18011     +7737

Impacted Files
Coverage Δ

...pp/models/dataset_record/darwin_core/occurrence.rb
7.67% <7.14%> (-52.20%)
:arrow_down:

app/models/type_material.rb
83.33% <100.00%> (-14.82%)
:arrow_down:

... and 1118 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


miss import

from video_llama.processors.video_processor import AlproVideoTrainProcessor should be in video_llama/datasets/datasets/llava_instruct_dataset.py

Thanks, it's fixed now.


@conda-forge-admin please add user @scottstanie

Additional comment:
Refs:

https://conda-forge.org/docs/maintainer/updating_pkgs/#updating-the-maintainer-list
https://conda-forge.org/docs/maintainer/infrastructure/#conda-forge-admin-please-add-user-username

cc @scottstanie

@conda-forge/core any idea what I did wrong here? I was expecting the bot to open a PR adding @scottstanie as another maintainer but that never happened.

Seems like the bot reacted, but failed during execution. Probably best to just retry and if it doesn't work: do it manually.

Let's do a rename to see if that retriggers it

Magic ✨ xref https://github.com/conda-forge/conda-forge-webservices/issues/530

@xhochy @jaimergp thanks!


Implement grammar info

Added Gender and Name to GrammarInfo
Extracted common functionality to the Enum module

Fixes #29

Can we add a few real examples from iev-data?

I've added the real payload from iev-data in this test case.

@HassanAkbar can you please rebase and merge? Thanks.


Add the version of the api generator to generated api-client readme

Dear all,
It would be very useful if the api client generator version (which is generated the api client) is added to the generated api-client source code.
In this case if need to update generated api client, we will know which version have to use to regenerate.
WDYT?

I agree.
You mean in the generated README.md file, right?

I agree as well. Right now we're manually maintaining this README generator version LOL

I agree.
You mean in the generated README.md file, right?

Yes

it's done, check the diff after regenerating a client with generator version 5.6.0:
diff --git a/README.md b/README.md
index fe7f355..5f3a044 100644
--- a/README.md
+++ b/README.md
@@ -11,8 +11,8 @@ docker run -it \
 -e OPENAPI=/openapi.yaml \
 -e OUTPUT_DIR=/client \
 -e PACKAGE=dh-jasmin/story-api-client \
 -e CLIENT_PHP_VERSION=7.2 \
-dhlabs/api-client-generator:4.1
+dhlabs/api-client-generator:5.6.0

the generator image has the generator version as an environment variable:
$ docker run --rm -it dhlabs/api-client-generator:5.6.0 sh
/generator/bin # env|grep -i generator_version
API_CLIENT_GENERATOR_VERSION=5.6.0


[Feature Request]: Improve Navbar

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
The current navbar is good, but I'd like to make it look more professional. I'd like to add a better font for the StyleShare, add the created logo etc
Use Case
The navbar would look better, more professional
Benefits
No response
Add ScreenShots

i'll make it look inspired by this, but I'll keep the gradient as it looks very cool.
Priority
Medium
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

the navbar design looks good, just make sure it integrates well with the theme and does not conflicts with #124 or other navbar-related issues

hows this?

hows this?

Don't use that icon in the navbar instead use the icon used as favicon, and the current navbar looks better with a gradient. this one is just looking too plain.

https://github.com/VaibhavArora314/StyleShare/assets/128628820/90188067-573d-4282-bdb8-a86ed063247a
what do you think?

https://github.com/VaibhavArora314/StyleShare/assets/128628820/307b074f-ad91-4d71-8863-09eee99e1139
lmk what you think

Recording.2024-06-08.151656.mp4
lmk what you think

looks good


Settings API: How to write to folder settings?

Testing #31448
I can't figure out how I can write to the folder settings from the API.
I'm in a workspace with two folders open. I have the same settings configuration as in #31576. In the API I attempt to write them both to the folder scope:
config.update('resourceBrand', value, vscode.ConfigurationTarget.WorkspaceFolder);
config.update('brand', value, vscode.ConfigurationTarget.WorkspaceFolder);

Both calls fail with:

Nothing ever gets written to the folder settings.
How do I even specify which folder the setting should go to?

Nevermind... figured it out with the getConfiguration call. Now you know I wasn't paying much attention in the API review. :smile:


Implement url-parameters to access resources directly

Approach:
Three URL-Parameters

category = entity-type (e.g. objects)
entity = entity (e.g. Account)

functionality implemented and tested.


Dialogflow entities are not considered. Expecting a utterances covering each entity value

0.12:
windows
Content of model configuration file:
language: "en"

pipeline:
- name: "nlp_spacy"
- name: "tokenizer_spacy"
- name: "intent_entity_featurizer_regex"
- name: "intent_featurizer_spacy"
- name: "ner_crf"
- name: "ner_synonyms"
- name: "intent_classifier_sklearn"

Issue:
We have exported all the data from API AI and extracted into a local folder. Now, running rasa train command and pointing to that folder.
The folder has intents, intents_usersay values and also entities names and values.
When we train command all the user_say values are converted and training data and also additionally synonyms are considered too but an exhaustive list of entity values are ignored and only user say values considered.
For Example:
Intent : greet
intent_user_says :
hi ashwin
hello rasa
entity name : username
entity values:
rasa
ashwin
jack
jim
when we ask a question: hello jack
It is not categorizing jack under username many a time. looks like it is expecting me to define utterances for each entity value rather than we define one utterance covering all the exhaustive entities and while building a model it picks up all the exhaustive values of each entity and train.
Please let me know if I am missing something here.

can anyone pls look into this and clarify?

could you please post the training data you have for these entities? NB Rasa NLU will only learn from provided examples. If you want to match against a list of values you should check out the phrase matcher PR

Thanks for the reply. In that case, my utterances/training examples will be very large.  considering above example again:
Say, I have 10000 user values under entity username. and I have training example like.
Hey jack how are you.
probably rasa would work well with
Hey Daniel how are you?
if I ask, hey ! how are you Alex. It might not work and I might need to define one more utterance for the same.
Doesn't training consider all the values defined for an entity instead of defining big example having all entity values? is there a provision to define such entities as entity master with all the possible values for it.

There are two options:

if  you have a list of all possible values, you can use the phrasematcher
if there can be many, many possible values it's better to use the ner_crf component. This will learn to the use the pattern of the sentence to identify the entities, even for values it has never seen before.

ok.
for the First one, can you share usage guide? I am not sure how to use prhase_matcher.
for the Second, in my pipeline you can see that I am already using ner_crf. Patterns are matched if they are exactly in the same order. if you ask a question which is not in the order of example provided in training set. it doesn't look like working.
Let me give background on what we are trying here.

We have some data loaded in API AI. and we have ran around 900 questions on that data. Based on some optimizations like adding few training examples, entity synonyms etc. we have made all the 900 working fine. it's like a golden reference for us.

Now, we exported that data and ran a train command in RASA and it generated training data.
Thereafter, we ran a small utility function which takes all these 900 questions and compares the intent and entities extracted for each of the questions. and we are seeing around 400 questions are not matching with API AI.  Hence, we are trying to see if we are missing something here.
thanks a ton.

are you able to share:

some examples of sentences in your training data,
some in your test case which work
some which dont?

Sure..i will attach

can you please share your personal email id. I will send training data, the master list of questions. and questions which working and not working in RASA

please send them to<EMAIL_ADDRESS>

sent all the details to<EMAIL_ADDRESS>Please let us know what you find.

I am facing the same issue, seem like the ner_crf only recognise those entities appear in the training examples. For those dialogflow entities do not appear in the training examples will be converted to entity_synonyms in rasa format, and they are not used for training...

any update on when this is going to be released/registered


#783 Fix profile page on mobile

Thank you for your contribution to the KodaDot NFT gallery.
Let's do a quick check before the merge.
Your contribution will be an eternal part of the community codebase.
PR type

[ ] Bugfix
[ ] Feature
[x] Refactoring

Before submitting this PR, please make sure:

[x] Code builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've didn't break any original functionality
[x] I've posted screenshot of demonstrated change in this PR

Optional

[x] I've tested it on mobile and everything works
[ ] I found edge cases

What's new? (may be part of changelog)

This PR closes #783

If issue had bounty label ($,$$,$$$)

Fill up your KSM address:
https://kodadot.xyz/transfer/?target=EzGc4s9PgCPx1YnF3fqzhLzVHpHMTL4LWPScwpDrR8JKgSU

Community participation

[x] Are you at KodaDot Discord? If not yet, let's join us - https://discord.gg/35hzy2dXXh

Screenshot

[x] Whenever my fix has changed something on UI, a screenshot for others, is more than welcome

Can we have identicon instead of the ghost?

Can we have identicon instead of the ghost?
So it is unified with collection detail?

I guess let's make a separate issue on that, this was to fixing the page on mobile

Working on mobile well.


Not updating the DataStore if we have the data in Datastore and having the updates in statsig gates.

Add redis as data store for StatsigServer, and add a feature gate.
Initialize it once per application startup.
Now we can see the data added in redis (we dont have expiration time).
And now update the data in statsig feature gate rules, its not updated in redis and Evaluating against the stale data.
If we set the expiration time in Redis cache key statsig.cache lets say 5min, after that data is clearing in redis and we are making network calls instead of adding/updating the redis cache.

Thanks for the report, we will look into this.  The sdk should be updating the redis data store
https://github.com/statsig-io/dotnet-sdk/blob/37d5e1d704a3668fe1e7ca9f4f798e6124eb17ea/dotnet-statsig/src/Statsig/Server/Evaluation/SpecStore.cs#L372
(note that this wont happen immediately, but should happen within 10s in the background)
But we can try to reproduce what you've described

Issue1:If we have data in Redis, we are not making n/w calls though we have updated Feature Gates.

Issue2:If we set expiration time for Redis keys, we are adding/updating Redis only if we have updates in feature gates otherwise we are making n/w calls. In this case better to update Redis, and read from it instead of making n/w calls.

@Krishnamohan-Inovalon are you setting the AllowConfigSpecPolling to true on the RedisDataStore? If that is true we will never do a network request and expect you to be updating the datastore with another service.


use VS Code git extension to get remote URL instead of exec'ing

This is more portable (to the web) and compatible (to non-web platforms where git is not installed, not in $PATH, or not configured, which has been the source of many user bug reports).
Test plan
Open a workspace with no cody.codebase setting and ensure the chat sidebar shows the correct repository at the bottom in the context indicator.

@dominiccooney The git extension is a builtin extension, so it's more widely available than git on the $PATH.


Incorrect Null Reference warnings after Assert.IsNotNull() with 3.0.0

Describe the bug
After upgrading to 3.0.0 there are multiple new Null Reference warnings in our tests because the value argument in Assert.IsNotNull() is missing the [NotNull] attribute. It seems like [NotNull] was removed with https://github.com/microsoft/testfx/commit/a03fb56c1b5176106f6da8293ee885dba725b85e but it's not obvious to me why and I see no mention of it in the release notes.
This is with .NET 6.0.
Steps To Reproduce
string? test = Environment.ProcessPath;
Assert.IsNotNull(test);
Assert.AreEqual(0, test.Length);

Expected behavior
No Null Reference warning, because IsNotNull makes sure that test can't be null in AreEqual.
Actual behavior
Null Reference warning on test.Length.

Just got confirmation that this can be used as post-condition (you can refer to https://learn.microsoft.com/dotnet/csharp/language-reference/attributes/nullable-analysis#postconditions-maybenull-and-notnull).
We need to create a bug fix release for #1437 so we will include this in it too.

Hey there MSTest v3.0.1 was just released.


OPTIONS support

In my preliminary testing, and with the server I'm using, a modified GET using the string OPTIONS instead seems to do the trick. Am I missing something, or is this enough and should I send a pull request?
request.options = function(url, data, fn){
  var req = request('OPTIONS', url);
  if ('function' == typeof data) fn = data, data = null;
  if (data) req.query(data);
  if (fn) req.end(fn);
  return req;
};

Thanks!

I don't understand this issue.

Does superagent support the OPTIONS HTTP Method?
It seems to not support it, but perhaps I'm missing something...

I don't see it supported in the current codebase. Would review a PR that adds support on the client and server as well as tests.

This would be great for use with [Django Rest Framework|http://www.django-rest-framework.org/api-guide/metadata/].

Hate to necro, but is this supported yet? request.options doesn't seem to be working.

Options requests are fully supported as far as superagent is concerned.
Note however that browsers have a lot of restrictions regarding HTTP features, and may not permit you to make OPTIONS request unless you make your server explicitly permit it in preflight request.


CAD-4378 Investigate LMDB Max_Map_Size

Background on mapsize
View the LMDB API documentation for information about the mapsize setting for LMDB: mdb_env_set_mapsize.
Or, view the LMDB source code: mdb_env_set_mapsize.
Summary of PR
At the moment, we have not determined an appropriate value for the mapsize of the LMDB backing store. We could set this to a very large value, such that we do not have to update the mapsize dynamically when the database exceeds it. We have to ensure, however, that this does not negatively impact performance, memory usage and storage usage.
This PR includes a small executable that opens an LMDB database with an input mapsize and performs a given sequence of write/read commands. For different combinations of mapsize settings and sequences of commands, we: i) profile performance, ii) profile memory usage, iii) check the size of the on-disk database. We compare the results of these analyses to get an understanding of the mapsize setting's impact on the three metrics we listed before.
The tentative conclusion of the results is that the mapsize does not influence any of the 3 metrics (significantly).
We propose to keep the small executable around in ouroboros-consensus/docs/utxo-hd/mapsize-profiling.
Acceptance checklist

[x] Come up with a recommendation for the mapsize that should be used on the mainnet.

@jorisdral this seems to be a large PR. Could you split it in a smaller logical patches. I only care that each patch should compile the component that it modifies (e.g. ouroboros-network:lib:ouroboros-network, and then update ouroboros-network:test in a following patch if that would make it too large).
Splitting a large patch into smaller one usually takes some time and effort (sometimes is non-trivial), but it pays back in quicker and more thorough reviews.
This PR might be a good example.

Hi @coot, thanks for the feedback! I'm closing the PR, since it has been superseded/has become outdated. Concerning the large diff: I think that a recent rebase of feature/utxo-hd on master is the culprit. Possibly, this has added reviewers other than @dnadales and @Jasagredo to the PR as well, since I have experienced that in the past when rebasing the target branch of a PR.
I will clean up properly next time!


input dataset

hi
why input data (hotpotqa) is in CSV format? original data is Json? how should I convert it?

do you find CSV file ?

def get_train_examples(self, data_dir):
    logger.info("LOOKING AT {}".format(os.path.join(data_dir, "hotpot_ss_train.csv")))
    train_path = os.path.join(data_dir, "hotpot_ss_train.csv")
    return self._create_examples(
        pandas.read_csv(train_path), set_type='train')

def get_dev_examples(self, data_dir):
    dev_path = os.path.join(data_dir, "hotpot_ss_dev.csv")
    return self._create_examples(
        pandas.read_csv(dev_path), set_type='dev')

I don't  know  both "hotpot_ss_train.csv" and  "hotpot_ss_dev.csv" go where?
how do you deal with this issue? thank you

Do you have a complete and running better code ?  can you share with me  ,  I will  dig into it and  thank you a lot

you should download .json files from hotpotqa.com and convert them to csv

I don't know how to convert it ? I am so anxious

you can use this code :
https://colab.research.google.com/drive/1nRmUfzYESPKjifykJ16pDv9dq0JkUJrv?usp=sharing

Thank you a lot , I have ran this code with your help

your code is really  brief and useful
I hope I can continue discussing  with you  later

hello   I encounter some issues ,
Info:
File "/home/user12/project/DFGN-pytorch/bert_ner/predict.py", line 150, in
eval_dataset = QueryDataset(args.input_path, debug=False)
File "/home/user12/project/DFGN-pytorch/bert_ner/data_load.py", line 158, in init
self.sent_id= [[case['_id'], 0] for case in self.data]
File "/home/user12/project/DFGN-pytorch/bert_ner/data_load.py", line 158, in
self.sent_id= [[case['_id'], 0] for case in self.data]
TypeError: string indices must be integers
Process finished with exit code 1
Console info tells me "TypeError: string indices must be integers", how do I deal with it ?


Help why include is not working and how to use props.theme

@Wildhoney
I have this simple rendering of shadow DOM
render() {     return (       <ShadowDOM include={['test.css']}>       <div>         <input type="text" value={this.props.templateName} onChange={this.handleChange.bind(this)}/>         <button onClick={this.saveTemplate.bind(this)}>SAVE</button>       </div>       </ShadowDOM>     );   }
Could you help me why the css not reflecting in test.css?
test.css
:host input{ 	width: 300px; }
Also what is the purpose of props.theme? The documentation doesn't really explain its purpose

@micchyboy it looks fine to me – there's no reason why it wouldn't work, considering the CSS is being successfully loaded. Check your network tab, and then inspect the shadow boundary to ensure it contains the expected style tag with your test.css content.
The props.theme is not part of ReactShadow but part of the example. It's simply pointing out that the include prop could be either an array:
include: PropTypes.oneOfType([PropTypes.string, PropTypes.array])

Thanks man. Its working fine now. Btw is there a way to only render once the css has been loaded?

👍 I wish – async React components is a deeper topic than ReactShadow, but we do have the class name approach, so you could hide your component until it's resolved.

@Wildhoney could you explain how to do that?
I using your library in a Chrome extension and it's essential that CSS documents load before the HTML content.

@herodrigues it's probably better to refer to the example.
In the example the component renders as soon as it can, however it appears only once the CSS has been loaded using the following CSS styles 👍

@Wildhoney I understood how fetching mechanism works in your library. I solved my issue by putting the desired CSS in my manifest.json file. Thus, the style is injected before the DOM is loaded.


Pre-defined teleport points?

Apologies if this isn't the bets place to ask questions.
I'm currently using the bezier pointer control to teleport players around my environment, which works fine, but I'd like to add a secondary mode of transport.
I'd like to set up a handful of pre-defined teleport points (like those in the mountain experience in the Steam Labs) so the player can (on the second controller) pull the trigger (doesn't have to necessarily aim at the point) and be teleported to point 1, then pull the trigger again to go to point 2 and so on.
Can anyone point me in the right direction? Perhaps with an example scene?
Thank you!

Take a look at the model village teleport. It can probably point you in the right direction

Hmm, is there any easy way to just attach the teleporting to the press of a trigger?
I'm really new to Unity, and I cannot wrap my head around this toolkit :/
I can see that the example is using collision(?) detection to initiate the teleport? What I'd like is to use the trigger on the left controller.
I made a script, and copied the trigger press method from the controller event example script.
But then I need to add in the destination teleport stuff. I cannot figure this out.
Also, I need the destinations to be in an array (I know I need a public array of transforms on my script for this, but beyond that, I'm lost).
Just wish I could understand how the different scripts talk to each other, and knew more about Unity scripting in general ha

You should join the slack channel (link in readme) quite a few helpful people that can help talk you through things :)

I can't find the link in the readme

https://vrtk-slack-invite.herokuapp.com

I think we fixed this in slack? :)


[Proposal][Feature] Convert DMM's ContentID to standard ID

The current ID is rather inconsistent with all other web providers. For instance, DMM uses a format of ID##### where # represents some kind of numeric value while others like Javlibrary uses the standard ID-###. Additionally, there's also no way to customize which type of ID I would like to use.
This exhibits a problem because I would prefer to have it use ID-### rather than ID####, but there is no way to reflect this choice in the settings file.
In this PR, I would like to propose to standardize the ID format to ID-### and keep ID##### as a separate ID, called ContentID. This would also allow customization in sort.format.file and others to support both <ID> and <CONTID>.
There are two ways to go about this problem.

Include a new field in $Data to support ContentId and Id. Possibly, include another field that keeps the original scraped id, called ScrapeId
Keep the original data structure, but make modifications to Convert-JVString to support <CONTID>.

Each of the above choices has its own repercussions:

Requires refactoring all aggregators to include the additional field for support
It's more tricky to maintain the long run because it's the responsibility of Convert-JVString to cover all use cases, especially when new aggregators are added. At the moment, I don't see a large deviation in ID patterns.

Right now, I think either choice is fine, but I will leave the final decision to you.
What do you think?
Personally, I have gone with the first choice, but if need be, I can implement the second choice.
With that, I've only made changes to DMM as a prototype, but if this proposal is accepted, I will continue to make changes for the others depending on the choice.
Checklist:

[x] Implement Id and ContentId for DMM.
[ ] Implement ContentId for all other aggregators

This is a good idea. How I originally envisioned users using Javinizer would be using scrapers in conjunction with each other to grab the necessary metadata fields (i.e. dmm for description, r18 for id, etc.). Because Dmm didn't natively support ID, I didn't include it and assumed a user would just use a different scraper to grab the ID. But you bring up a good point of standardizing the ID format to match the rest of the scrapers.

There are two ways to go about this problem.

Include a new field in $Data to support ContentId and Id. Possibly, include another field that keeps the original scraped id, called ScrapeId
Keep the original data structure, but make modifications to Convert-JVString to support .

Definitely option 1 like you already implemented. This is similar to how the R18 scraper is already working.

With that, I've only made changes to DMM as a prototype, but if this proposal is accepted, I will continue to make changes for the others depending on the choice.

While I think it's feasible to convert from ContentId => Id, I don't believe the other way around is possible, at least not in the original format that dmm uses with things like h_###aaa00123. I believe most people will stick with the standardized DVD Id for their naming, and if they do want to use ContentId, they would still be able to with the Dmm and R18 scrapers.
Let's just:

Add the Id to the Dmm scraper without adding ContentId to the others
Add setting to prefer the ID type

No fallback to the alternate ID type if the preferred is unavailable

Update Convert-JVString to support <CONTENTID> <- Let's use the full name for the tag rather than CONTID

I have presently made the following changes:

Added Id Preference setting to the configuration file. Users can choose to have id or contentid for DMM and R18. By default, it is set to id which corresponds to the ID-### format.
I have also included <CONTENTID>
Made changes to DMM Scraper so that age_check_done is presented to both DMM-Ja and DMM-En. I found times when DMM-Ja is forcing me to do the age verification before this change.
Fixed a bug related to label, maker, and series not returning any results for DMM-Ja

Remark
I've currently embedded the logic for choosing ID or ContentId in R18 and DMM's scraper. This means $movieDataObject.Id will return ID-### or ID##### depending on the preference setting configured.
If there's any other preferred way to do this, please let me know.