When the ir light blinks, it failed to configure with an exception Assertion '__n < this->size()' failed.

Ouput of linux-enable-ir-emitter -v configure
configure command output
sudo linux-enable-ir-emitter configure
INFO: Stand in front of and close to the camera and make sure the room is well lit.
INFO: Ensure to not use the camera during the execution.
INFO: Warning to do not kill the process !
INFO: Configuring the camera: /dev/v4l/by-path/pci-0000:00:14.0-usbv2-0:5:1.2-video-index0 .
Is the video flashing? Press Y or N in the window
qt.qpa.theme.dbus: Session DBus not running.
qt.qpa.theme.dbus: Application will not react to setting changes.
 Check your DBus installation.
N pressed
/usr/include/c++/13.2.1/bits/stl_vector.h:1125: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp = std::unique_ptr<std::vector<int> >; _Alloc = std::allocator<std::unique_ptr<std::vector<int> > >; reference = std::unique_ptr<std::vector<int> >&; size_type = long unsigned int]: Assertion '__n < this->size()' failed.
[1]    39612 IOT instruction  sudo linux-enable-ir-emitter configure

Output of v4l2-ctl --list-devices
USB Camera: USB Camera (usb-0000:00:14.0-3):
	/dev/video0
	/dev/video1
	/dev/media0

Integrated Camera: Integrated C (usb-0000:00:14.0-5):
	/dev/video2
	/dev/video3
	/dev/video4
	/dev/video5
	/dev/media1
	/dev/media2

Ouput of v4l2-ctl -d /dev/videoX --list-formats-ext

v4l2 device output
Integrated Camera: Integrated C (usb-0000:00:14.0-5) is my IR Camera, so only list /dev/video[2,4] (3, 5 no output)
v4l2-ctl -d /dev/video2 --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
	Type: Video Capture

	[0]: 'MJPG' (Motion-JPEG, compressed)
		Size: Discrete 1280x720
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 320x180
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 320x240
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 352x288
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 424x240
			Interval: Discrete 0.033s (30.000 fps)
                Size: Discrete 640x360
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 640x480
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 848x480
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 960x540
			Interval: Discrete 0.033s (30.000 fps)
	[1]: 'YUYV' (YUYV 4:2:2)
		Size: Discrete 640x480
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 320x180
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 320x240
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 352x288
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 424x240
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 640x360
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 848x480
			Interval: Discrete 0.050s (20.000 fps)
		Size: Discrete 960x540
			Interval: Discrete 0.067s (15.000 fps)
		Size: Discrete 1280x720
			Interval: Discrete 0.100s (10.000 fps)
v4l2-ctl -d /dev/video4 --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
	Type: Video Capture

	[0]: 'GREY' (8-bit Greyscale)
		Size: Discrete 360x360
			Interval: Discrete 0.067s (15.000 fps)
		Size: Discrete 640x360
			Interval: Discrete 0.033s (30.000 fps)

Output of ls -l /dev/v4l/by-path
lrwxrwxrwx 1 root root 12 11月 6日 10:14 pci-0000:00:14.0-usb-0:3:1.0-video-index0 -> ../../video0
lrwxrwxrwx 1 root root 12 11月 6日 10:14 pci-0000:00:14.0-usb-0:3:1.0-video-index1 -> ../../video1
lrwxrwxrwx 1 root root 12 11月 6日 10:14 pci-0000:00:14.0-usb-0:5:1.0-video-index0 -> ../../video2
lrwxrwxrwx 1 root root 12 11月 6日 10:14 pci-0000:00:14.0-usb-0:5:1.0-video-index1 -> ../../video3
lrwxrwxrwx 1 root root 12 11月 6日 10:14 pci-0000:00:14.0-usb-0:5:1.2-video-index0 -> ../../video4
lrwxrwxrwx 1 root root 12 11月 6日 10:14 pci-0000:00:14.0-usb-0:5:1.2-video-index1 -> ../../video5
lrwxrwxrwx 1 root root 12 11月 6日 10:14 pci-0000:00:14.0-usbv2-0:3:1.0-video-index0 -> ../../video0
lrwxrwxrwx 1 root root 12 11月 6日 10:14 pci-0000:00:14.0-usbv2-0:3:1.0-video-index1 -> ../../video1
lrwxrwxrwx 1 root root 12 11月 6日 10:14 pci-0000:00:14.0-usbv2-0:5:1.0-video-index0 -> ../../video2
lrwxrwxrwx 1 root root 12 11月 6日 10:14 pci-0000:00:14.0-usbv2-0:5:1.0-video-index1 -> ../../video3
lrwxrwxrwx 1 root root 12 11月 6日 10:14 pci-0000:00:14.0-usbv2-0:5:1.2-video-index0 -> ../../video4
lrwxrwxrwx 1 root root 12 11月 6日 10:14 pci-0000:00:14.0-usbv2-0:5:1.2-video-index1 -> ../../video5

Give more information if you have
When the ir light starts to blink, linux-enable-ir-emitter will stuck (not popping up the preview window and no output) and throw an exception
"/usr/include/c++/13.2.1/bits/stl_vector.h:1125: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator [with _Tp = std::unique_ptr<std::vector >; _Alloc = std::allocator<std::unique_ptr<std::vector > >; reference = std::unique_ptr<std::vector >&; size_type = long unsigned int]: Assertion '__n < this->size()' failed."
and it will die.
Additional info

Computer (or camera) model: X-STATION V2
Linux distribution: Arch Linux with linux 6.5.7-1-ck kernel
Version of linux-enable-ir-emitter: linux-enable-ir-emitter 5.2.3

Could you try using the --no-gui option?

I am so sorry to see your response so late.
Tried sudo linux-enable-ir-emitter -v configure --no-gui.
Output:
sudo linux-enable-ir-emitter -v configure --no-gui
INFO: Stand in front of and close to the camera and make sure the room is well lit.
INFO: Ensure to not use the camera during the execution.
INFO: Warning to do not kill the process !
INFO: Configuring the camera: /dev/v4l/by-path/pci-0000:00:14.0-usbv2-0:5:1.2-video-index0 .
Is the ir emitter flashing (not just turn on) ? Yes/No ? No
DEBUG: unit:  9  selector:  10
DEBUG: current: 0 8 0 187 187 187 187 187
DEBUG: minimum: 0 0 0 0 0 0 0 0
DEBUG: maximum: 255 255 255 255 255 255 255 255
DEBUG: new current: 0 0 0 0 0 0 0 0
DEBUG: new current: 1 0 0 0 0 0 0 0
DEBUG: new current: 2 0 0 0 0 0 0 0
DEBUG: new current: 3 0 0 0 0 0 0 0
DEBUG: new current: 4 0 0 0 0 0 0 0
DEBUG: new current: 5 0 0 0 0 0 0 0
DEBUG: new current: 6 0 0 0 0 0 0 0
DEBUG: new current: 7 0 0 0 0 0 0 0
DEBUG: new current: 8 0 0 0 0 0 0 0
DEBUG: new current: 9 0 0 0 0 0 0 0
DEBUG: new current: 10 0 0 0 0 0 0 0
DEBUG: new current: 11 0 0 0 0 0 0 0
DEBUG: new current: 12 0 0 0 0 0 0 0
DEBUG: new current: 13 0 0 0 0 0 0 0
DEBUG: new current: 14 0 0 0 0 0 0 0
DEBUG: new current: 15 0 0 0 0 0 0 0
DEBUG: new current: 16 0 0 0 0 0 0 0
DEBUG: new current: 17 0 0 0 0 0 0 0
DEBUG: new current: 18 0 0 0 0 0 0 0
DEBUG: new current: 19 0 0 0 0 0 0 0
DEBUG: new current: 20 0 0 0 0 0 0 0
DEBUG: new current: 21 0 0 0 0 0 0 0
DEBUG: new current: 22 0 0 0 0 0 0 0
DEBUG: new current: 23 0 0 0 0 0 0 0
DEBUG: new current: 24 0 0 0 0 0 0 0
DEBUG: new current: 25 0 0 0 0 0 0 0
DEBUG: new current: 26 0 0 0 0 0 0 0
DEBUG: new current: 27 0 0 0 0 0 0 0
DEBUG: new current: 28 0 0 0 0 0 0 0
DEBUG: new current: 29 0 0 0 0 0 0 0
DEBUG: new current: 30 0 0 0 0 0 0 0
DEBUG: new current: 31 0 0 0 0 0 0 0
DEBUG: new current: 32 0 0 0 0 0 0 0
DEBUG: new current: 33 0 0 0 0 0 0 0
DEBUG: new current: 34 0 0 0 0 0 0 0
DEBUG: new current: 35 0 0 0 0 0 0 0
DEBUG: new current: 36 0 0 0 0 0 0 0
DEBUG: new current: 37 0 0 0 0 0 0 0
DEBUG: new current: 38 0 0 0 0 0 0 0
DEBUG: new current: 39 0 0 0 0 0 0 0
DEBUG: new current: 40 0 0 0 0 0 0 0
DEBUG: new current: 255 255 255 255 255 255 255 255
DEBUG:
DEBUG: unit:  10  selector:  2
DEBUG: current: 1 0 0 0 0 0 0 16 39 0 0 0 0 0 0
DEBUG: minimum: 0 0 0 0 0 0 0 16 39 0 0 0 0 0 0
DEBUG: maximum: 7 0 0 0 0 0 0 244 21 5 0 0 0 0 0
DEBUG: new current: 0 0 0 0 0 0 0 16 39 0 0 0 0 0 0
DEBUG: new current: 1 0 0 0 0 0 0 16 39 0 0 0 0 0 0
DEBUG: new current: 2 0 0 0 0 0 0 16 39 0 0 0 0 0 0
DEBUG: new current: 3 0 0 0 0 0 0 16 39 0 0 0 0 0 0
DEBUG: new current: 4 0 0 0 0 0 0 16 39 0 0 0 0 0 0
DEBUG: new current: 5 0 0 0 0 0 0 16 39 0 0 0 0 0 0
DEBUG: new current: 6 0 0 0 0 0 0 16 39 0 0 0 0 0 0
DEBUG: new current: 7 0 0 0 0 0 0 16 39 0 0 0 0 0 0
DEBUG: new current: 0 0 0 0 0 0 0 17 39 0 0 0 0 0 0
DEBUG: new current: 1 0 0 0 0 0 0 17 39 0 0 0 0 0 0
DEBUG: new current: 2 0 0 0 0 0 0 17 39 0 0 0 0 0 0
DEBUG: new current: 3 0 0 0 0 0 0 17 39 0 0 0 0 0 0
DEBUG: new current: 4 0 0 0 0 0 0 17 39 0 0 0 0 0 0
DEBUG: new current: 5 0 0 0 0 0 0 17 39 0 0 0 0 0 0
DEBUG: new current: 6 0 0 0 0 0 0 17 39 0 0 0 0 0 0
DEBUG: new current: 7 0 0 0 0 0 0 17 39 0 0 0 0 0 0
DEBUG: new current: 0 0 0 0 0 0 0 18 39 0 0 0 0 0 0
DEBUG: new current: 1 0 0 0 0 0 0 18 39 0 0 0 0 0 0
DEBUG: new current: 2 0 0 0 0 0 0 18 39 0 0 0 0 0 0
DEBUG: new current: 3 0 0 0 0 0 0 18 39 0 0 0 0 0 0
DEBUG: new current: 4 0 0 0 0 0 0 18 39 0 0 0 0 0 0
DEBUG: new current: 5 0 0 0 0 0 0 18 39 0 0 0 0 0 0
DEBUG: new current: 6 0 0 0 0 0 0 18 39 0 0 0 0 0 0
DEBUG: new current: 7 0 0 0 0 0 0 18 39 0 0 0 0 0 0
DEBUG: new current: 0 0 0 0 0 0 0 19 39 0 0 0 0 0 0
DEBUG: new current: 1 0 0 0 0 0 0 19 39 0 0 0 0 0 0
DEBUG: new current: 2 0 0 0 0 0 0 19 39 0 0 0 0 0 0
DEBUG: new current: 3 0 0 0 0 0 0 19 39 0 0 0 0 0 0
DEBUG: new current: 4 0 0 0 0 0 0 19 39 0 0 0 0 0 0
DEBUG: new current: 5 0 0 0 0 0 0 19 39 0 0 0 0 0 0
DEBUG: new current: 6 0 0 0 0 0 0 19 39 0 0 0 0 0 0
DEBUG: new current: 7 0 0 0 0 0 0 19 39 0 0 0 0 0 0
DEBUG: new current: 0 0 0 0 0 0 0 20 39 0 0 0 0 0 0
DEBUG: new current: 1 0 0 0 0 0 0 20 39 0 0 0 0 0 0
DEBUG: new current: 2 0 0 0 0 0 0 20 39 0 0 0 0 0 0
DEBUG: new current: 3 0 0 0 0 0 0 20 39 0 0 0 0 0 0
DEBUG: new current: 4 0 0 0 0 0 0 20 39 0 0 0 0 0 0
DEBUG: new current: 5 0 0 0 0 0 0 20 39 0 0 0 0 0 0
DEBUG: new current: 6 0 0 0 0 0 0 20 39 0 0 0 0 0 0
DEBUG: new current: 7 0 0 0 0 0 0 20 39 0 0 0 0 0 0
DEBUG: new current: 0 0 0 0 0 0 0 21 39 0 0 0 0 0 0
DEBUG: new current: 7 0 0 0 0 0 0 244 21 5 0 0 0 0 0
DEBUG:
DEBUG: Using current as minimum control.
DEBUG: unit:  10  selector:  6
DEBUG: current: 1 3 1 0 0 0 0 0 0
DEBUG: minimum: 1 3 1 0 0 0 0 0 0
DEBUG: maximum: 1 3 3 0 0 0 0 0 0
DEBUG: new current: 1 3 2 0 0 0 0 0 0
/usr/include/c++/13.2.1/bits/stl_vector.h:1125: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp = std::unique_ptr<std::vector<int> >; _Alloc = std::allocator<std::unique_ptr<std::vector<int> > >; reference = std::unique_ptr<std::vector<int> >&; size_type = long unsigned int]: Assertion '__n < this->size()' failed.
[1]    6048 IOT instruction  sudo linux-enable-ir-emitter -v configure --no-gui

Let's quick fix your issue:
In /dev/v4l/by-path/pci-0000:00:14.0-usbv2-0:5:1.2-video-index0_emitter0.driver please write the following content:
device=pci-0000:00:14.0-usbv2-0:5:1.2-video-index0
unit=10
selector=6
control0=1
control1=3
control2=2
control3=0
control4=0
control5=0
control6=0
control7=0
control8=0

Then execute sudo linux-enable-ir-emitter boot enable

Sorry to see your reply so late again. I will test it soon.

I add that content in the file and execute the command, but the service didn't start successfully with the following message:
× linux-enable-ir-emitter.service - enable the infrared emitter
     Loaded: loaded (/usr/lib/systemd/system/linux-enable-ir-emitter.service; enabled; preset: disabled)
     Active: failed (Result: exit-code) since Sat 2023-12-02 12:23:52 CST; 10min ago
    Process: 476 ExecStartPre=/sbin/modprobe uvcvideo (code=exited, status=0/SUCCESS)
    Process: 538 ExecStart=/usr/bin/linux-enable-ir-emitter run (code=exited, status=1/FAILURE)
   Main PID: 538 (code=exited, status=1/FAILURE)
        CPU: 123ms

12月 02 12:23:51 lwzheng-V2 systemd[1]: Starting enable the infrared emitter...
12月 02 12:23:52 lwzheng-V2 linux-enable-ir-emitter[538]: CRITICAL: Unable to obtain the /dev/videoX path
12月 02 12:23:52 lwzheng-V2 systemd[1]: linux-enable-ir-emitter.service: Main process exited, code=exited, status=1/FAILURE
12月 02 12:23:52 lwzheng-V2 systemd[1]: linux-enable-ir-emitter.service: Failed with result 'exit-code'.
12月 02 12:23:52 lwzheng-V2 systemd[1]: Failed to start enable the infrared emitter.

I manually run sudo linux-enable-ir-emitter run
it shows:
CRITICAL: Unable to obtain the /dev/videoX path


Field truncation at italic characters

I've noticed that when calling pubmed if it encounters any characters in italics the field becomes truncated. I've tried a few different ways and do not think it's the way I'm extracting results as it occurs before conversion JSON/ Dict. Does anyone have a fix for this please?
Here's an example of it happening:
from pymed import PubMed
pubmed = PubMed(tool="your search name", email="your email")
query = "32963958" # pubmed ID of a paper with italics
results = pubmed.query(query, max_results=1)
for article in results:
print(article.title)
print(article.toDict())

resolved here:
https://github.com/gijswobben/pymed/issues/23


show all aliases on overview page

I've missed seeing all aliases shown on the overview page, older versions used to do this 👍
However if others object to this, perhaps a compromise can be that a UI element can expand/collapse when more than one (click on it) or a mouse-over view of all of them worse case?

I've missed seeing all aliases shown on the overview page, older versions used to do this 👍
However if others object to this, perhaps a compromise can be that a UI element can expand/collapse when more than one (click on it) or a mouse-over view of all of them worse case?

I just make the smallest possible change to the code I can. However, I aggre to your suggestion that a compromise is better.

hey there. sorry, but displaying all aliases be default is not a great move. some people do have several aliases for the same index, and this makes the whole ui kind of messed up.
having the top 2 or 3 displayed by default, and an option to expand/collapse to see the rest would be fine. if you would like to give this a try, that would be great.

hey there. sorry, but displaying all aliases be default is not a great move. some people do have several aliases for the same index, and this makes the whole ui kind of messed up.
having the top 2 or 3 displayed by default, and an option to expand/collapse to see the rest would be fine. if you would like to give this a try, that would be great.

pleasure to give that a try, added an option at left row to expand/collapse to see all aliases/single alias.


Use irc-socket

Also add a timeout option?

Decided not to use irc-socket, as it offers little benefit. Manually added timeout option.


Add new collection metadata

Overview

Add new collection metadata fields member/memberPlural

id have preferred it this was 'getMemberType' or something, so as to not be confused w 'getMembers'.. but ill live i suppose

related to #898


[BUG] Alt + Enter does not work. it doesn't make the application fullscreen

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.

What problem did you encounter?
Yes, the "Disable fullscreen optimisations" option is off in the mods section of the bloxstrap menu.
The "Optimize windowed games" in my windows setting is also off.
Whenever I press alt + enter it just immediately takes it back to windowed mode with the windows error sound playing.
F11 still works but it doesn't provide me the fps benefits

There's nothing that I can do about this. See https://github.com/pizzaboxer/bloxstrap/wiki/A-guide-to-FastFlags#exclusive-fullscreen
Does it not work with the option on either?

There's nothing that I can do about this. See https://github.com/pizzaboxer/bloxstrap/wiki/A-guide-to-FastFlags#exclusive-fullscreen
Does it not work with the option on either?

Whenever I go to the bloxstrap menu,
open the fastflag editor
then edit that specific fastflag (FFlagHandleAltEnterFullscreenManually),
I see that it is set to "False"
I set it to "True" manually and it didn't do the job. I open the Bloxstrap Menu again and it showed that the "FFlagHandleAltEnterFullscreenManually" is still set to false even though I manually set it to true. It just keeps changing back every time.

Uploading Visual Clarification of the issue.mp4…

You're not supposed to set it to true, and that's not what I was asking you to do, I was referring to the "disable fullscreen optimizations" option. If you turn that on, does it still not work?

Issue has been awaiting clarification for over a month, closing as stale. If you have anything further to add, just respond and I'll reopen.

Having the same problem.

You're not supposed to set it to true, and that's not what I was asking you to do, I was referring to the "disable fullscreen optimizations" option. If you turn that on, does it still not work?

Experienced the same thing. "FFlagHandleAltEnterFullscreenManually" set to false (untouched) and had my "Disable fullscreen optimizations" enabled. Still can't enter exclusive fullscreen and got window error sound


[$1000] Android - Conversation - Unable to lose focus in the composer

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Issue found when executing PR https://github.com/Expensify/App/pull/19516
Action Performed:

Go to staging.new.expensify.com
Go to any report.
Close the keyboard.
Tap on any area outside the composer.

Expected Result:
The focus is no longer in the composer.
Actual Result:
The focus is still in the composer.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 1.3.45-1
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/93399543/3fd90037-fecd-4e39-b34e-da6bbbae6ceb
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01fed3bc57f9d46a92
Upwork Job ID:<PHONE_NUMBER>490177536
Last Price Increase: 2023-07-25

Asked here and confirmed this is a bug: https://expensify.slack.com/archives/C01GTK53T8Q/p1690316827603909

Added comment https://expensify.slack.com/archives/C01GTK53T8Q/p1690317292376079?thread_ts=1690316827.603909&cid=C01GTK53T8Q

sorry for misleading, i don't think this is a bug. This is intentional on native devices
https://github.com/Expensify/App/blob/89722bf06344b2fd264af6a20ec0d0529c70b055/src/pages/home/report/ReportActionCompose.js#L139-L141

Thanks! Going to close since this is intentional.


feat: include ct3a version as metadata (next)

include ct3a version as metadata (next)

[x] I reviewed linter warnings + errors, resolved formatting, types and other issues related to my work
[x] The PR title follows the convention we established conventional-commit
[x] I performed a functional test on my final commit

Same as https://github.com/t3-oss/create-t3-app/pull/305 but on next

Screenshots

💯

Thanks


refactor: Restructure main with cmd/app structure

Issue to fix

root level main package force project structure, which is not preferable

solved with

main.go -> cmd/app/main.go
api/openapi.yaml -> cmd/app/openapi.yaml
Makefile build target with -trimpath

@SeaRoll
This pr is still in draft means not ready to be reviewed yet.

Just commenting for some insight later on 👀 looked cool otherwise

After reviewing the structure, I've decided not to merge this PR at this time, as I'm uncertain if it aligns with the project's current direction. However, it's possible that we might revisit this in the future. Please feel free to stay engaged and contribute further.


Api to generate ease the use of some double nested Enum

Following the discussion in #10, if a string cannot be passed into the Enum directly it should be possible to have an APi that is easier to use by creating some impl Into<Xxxx> for Xxxx::Enum.
This is currently done for Mark: Mark::Line is possible thanks to the code here.
Should it be an impl for most common Types/Enum or create a macro ??

It should be possible to implement From for all enum variants that are a tuple with only one field...
I think the easiest way to do it would be while generating the schema, keeping track of those variants and then implementing all the traits. But it's not very rusty...
The other way would be to derive it... I found the (very) old crate enum_derive which did it from before the time when we could write derive macro in rust...
use enum_derive::{enum_derive_util, EnumFromInner};

#[derive(Debug)]
enum Test {
    Bool(bool),
    U32(u32),
}

EnumFromInner! {
    () enum Test {
        Bool(bool),
        U32(u32),
    }
}

fn main() {
    let _v1: Test = dbg!(true.into());
    let _v2: Test = dbg!(12.into());
}

Oh, found derive_more which is much more recent!
https://jeltef.github.io/derive_more/derive_more/from.html#enums


Unable to run the Physics Body Editor, due to missing libraries

What you were trying to do
Sorry if this is not the right place to ask about this issue, but I couldn't find the repository, I could just find an archived repo. https://github.com/selimanac/physics-body-editor
I've been trying to run the jar file of this source: https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/box2d-editor/physics-body-editor-2.9.2.zip
What actually happened
error: undefined variable 'libgdx'
error: undefined variable 'lwjgl'

AFAIK, these packages aren't available in the NixOS Channels.
Do you have any suggestions or know of an alternative way to install them?
How to reproduce
No response
Game version
2.1.0 (develop)
Log details
No response
Operating System
Linux
Additional Info
I switched to the nixos-unstable channel (a rolling release) because it has more available packages, but it seems that it's missing those libraries.
I've tried to run the jar file in a nix-shell, didn't work either.
# shell.nix

let
  nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-unstable";
  pkgs = import nixpkgs { config = {}; overlays = []; };
in

pkgs.mkShell {
  packages = with pkgs; [
    temurin-bin-11
    glibc
    libgdx
    lwjgl
  ];

  LD_LIBRARY_PATH = "${pkgs.stdenv.cc.cc.lib}/lib:${pkgs.libglvnd}/lib:${pkgs.libpulseaudio}/lib";
}

This project does have a forked version of the Box2D editor but it is actually https://github.com/MovingBlocks/box2d-editor.
The binary jars have just worked for a long time, so the gradle build on that repository got a bit outdated. I've brought it up-to-date in the gradlew-libgdx-upgrade branch.
A new shell.nix that appears to work:
let
  nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-23.05";
  pkgs = import nixpkgs { config = {}; overlays = []; };
in

pkgs.mkShell {
  packages = with pkgs; [
    git
    temurin-bin-11
    libglvnd
    libpulseaudio
    xorg.libXcursor
    xorg.libXrandr
    xorg.libXxf86vm
  ];

  LD_LIBRARY_PATH = "${pkgs.stdenv.cc.cc.lib}/lib:${pkgs.libglvnd}/lib:${pkgs.libpulseaudio}/lib:${pkgs.xorg.libXcursor}/lib:${pkgs.xorg.libXrandr}/lib:${pkgs.xorg.libXxf86vm}/lib";
}

When in the nix shell environment, you should be able to run the editor like this:

git clone https://github.com/MovingBlocks/box2d-editor -b gradle-libgdx-upgrade
cd box2d-editor
./gradlew :editor:run

As an advance warning, the editor is unable to edit existing ship json files (they use a modified JSON layout). Other than that, https://github.com/MovingBlocks/DestinationSol/wiki/Creating-Collision-Meshes is still relevant.

If you've found issues with the game (crashes, bugs, etc.) then raising an issue here is the right place. If you need more general help with troubleshooting then we share a Discord server with the Terasology project (join link) that can sometimes get a more realtime response (in the #destination-sol channel), if you find that easier.

When in the nix shell environment, you should be able to run the editor like this:
* `git clone https://github.com/MovingBlocks/box2d-editor -b gradle-libgdx-upgrade`

* `cd box2d-editor`

* `./gradlew :editor:run`

As an advance warning, the editor is unable to edit existing ship json files (they use a modified JSON layout). Other than that, https://github.com/MovingBlocks/DestinationSol/wiki/Creating-Collision-Meshes is still relevant.

Hmm, I just encountered an error:
[nix-shell:~/.../box2d-editor]$ ./gradlew :editor:run
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain
Caused by: java.lang.ClassNotFoundException: org.gradle.wrapper.GradleWrapperMain

Thank you for your help.
Btw, I've just found an issue with the box2d-editor: https://github.com/MovingBlocks/box2d-editor/issues/48#issue-1989448781

This was resolved in https://github.com/MovingBlocks/box2d-editor/issues/48#issuecomment-1807177444.


[7/8] Lyrics - Features added in v1.0

Lyrics
Nothing to explain - the lyrics command allows users to get lyrics for the song
Added command

/lyrics [track] - Get lyrics for given track. Uses same autocompletion as the /play command. If no track is passed it will search for lyrics of the current song

Added in 0.6.0! Focusing on seeking and restarting. I have another project going on so 0.7.0 will be a bit late. Stay tuned!


content: add http category and HttpClientModule checklist item

As promised. This pull request will create a new category 'HTTP' containing a checklist item on why not to reimport HttpClientModule.
As per the contributing guidelines I've tried to keep it as short and concise as possible.
I'll write a more in-depth blogpost about this later for those looking for more information.

LGTM. @d3lm any remarks?

Overall it looks good to me. Great job! I only left a some minor comments.

Great feedback, all resolved now!


Problem with importing Events project in MyDig

Hi,
I'm a student in inf558. Same problem with @anand-prashar, I tried to run the example project "events" following "myDIG Advanced User Guide" but failed to create Knowledge Graph yesterday. When I hit "recreate knowledge graph", no knowledge graph was created. I set the desired number to 10. Am I using the wrong version of dig? Thanks.
@szeke  @GreatYYX

I'll take a look this afternoon, did you get the latest version of DIG? Also, when you create the KG, you get the confirmation that says "Mapping recreated and data is being added"?
What is in your working_dir/etk_stdout_0.txt

Hi Professor Pedro,
Thank you for your quick reply.
I pulled MyDig on last Friday.I got the confirmation and the "working_dir/etk_stdout_0.txt" file is empty.

@ikow Please pull again since some bugs had been fixed yesterday.
Here are couple of things need to be check:

Make sure you have enough memory. If you are using MAC or Win, the size of memory you set is the maximum size VM can use, not the actual size you have. (Additionally, try to set both NUM_ETK_PROCESSES and KAFKA_NUM_PARTITIONS to 1).
After clicking recreate mapping button, you should get the confirmation which indicates mapping recreated and data is being added in backend. Ensure pipeline is on. Ensure desired number is not 0.
curl -u <user>:<password> http://<url>:<port>/es/_cat/indices?v, you should see an index of your project.
Since there's no output in etk_stdout, maybe the Kafka is not working properly, use docker ps | grep kafka to find out if Kafka is running; if not, there should be some error logs in docker logs dig_kafka_1.

My problem remains unresolved. But let me try the steps you just posted. Will update here.
BTW, i know of atleast 2 other teams facing same problem.
Thank you @szeke , @GreatYYX  for helping out in weekend.

Thanks. @GreatYYX
I changed the settings in .env file for NUM_ETK_PROCESSES and KAFKA_NUM_PARTITIONS and the screenshot is as follows:

After excuted "docker logs dig_kafka_1", I got an INFO message having an unknown error shows as follows:
[2017-11-26 23:01:24,262] INFO Opening socket connection to server dig_zookeeper_1.dig_dig_net/<IP_ADDRESS>:2181. Will not attempt to authenticate using SASL (unknown error) (org.apache.zookeeper.ClientCnxn)
[2017-11-26 23:01:24,319] INFO Socket connection established to dig_zookeeper_1.dig_dig_net/<IP_ADDRESS>:2181, initiating session (org.apache.zookeeper.ClientCnxn)

@GreatYYX , @GreatYYX  @ikow
Here is a similar result of curl.

Also, please watch this 3 min video at 720p. I recorded the steps to run with provided project and data files. Result is same even if i manually create project.
https://www.youtube.com/watch?v=TITWOnRCYMI&feature=youtu.be
Thanks!

@anand-prashar for you particular case, your desired number is 0. On the right side of Action, type in 10 and click "update all" button.

@GreatYYX , you mean the value in "desired number of docs to run per TLD" ?
It remains 10. This is a snap from video i previously posted.

@anand-prashar sorry about the confusion, but the input box here is used to set the desired number of each TLD, after clicking "update all", you should see the number in column "KG".

@ikow Hmmm, there are just INFO messages not ERROR. I think the problem is in Kafka if all your other steps are correct, please do docker-compose down and restart etl-engine.

@GreatYYX , Yes it worked. I see results in elastic search now.
Thank You for assisting !!!
[Note to other person facing same issue]
Please give enough RAM to docker, and 'update TLD' before hitting Recreate Knowledge Graph button.

@GreatYYX  Thank you!  It works now.

@ikow @anand-prashar OK great! Just to clarify, you can set your desired number any time (before or after recreating mapping) you want.


fix(dialog): missing flyAndScale

export flyAndScale from internal to allow dialog to use it.

Rather than exporting everything from our internal/styles, we should just include the function itself in the preview code snippet if peeps want to use the same transition effect.
Anything inside internal should be capable of being changed without needing to semver the package, as those APIs shouldn't be exposed to the users of the package.

We should place animation to be able use, as it's also required to use.
ex: in the dialog example.

@sunsreng Why was this closed?

Per @huntabyte's reply:

Rather than exporting everything from our internal/styles, we should just include the function itself in the preview code snippet if peeps want to use the same transition effect.

Anything inside internal should be capable of being changed without needing to semver the package, as those APIs shouldn't be exposed to the users of the package.

@TGlide Yes, but that was never done?

include the function itself in the preview code snippet if peeps want to use the same transition effect

Should I open an issue to track that then?

@TGlide Yes, but that was never done?

include the function itself in the preview code snippet if peeps want to use the same transition effect

Should I open an issue to track that then?

Feel free!


Cldc 1315 set foreign key constraint on users

@Ted-U tests and linter failing here

Doesn't seem to work as expected.
Test case:
Create an organisation with a user, a case log and a scheme.
Run SQL query: DELETE FROM organisations WHERE id = <org_id>;
Expected result:
The user, case log and scheme are also deleted
Actual result:
You can't run the query because the scheme foreign key prevents it being deleted. If you first delete the scheme the user and case log are left with dangling references to an Organisation that no longer exists.

Superseded by https://github.com/communitiesuk/submit-social-housing-lettings-and-sales-data/pull/765


Support Satalite Map view

New feature request, please als add support Satalite view.

Hi @galadril
How do you want it? Do you want it to be set through the bundle? or a button to change the type of map being displayed?
Many thanks!

I think that a button to switch views is the cleanest solution. right?

👍
I'll work into it as soon as I can. Thanks for your suggestion.

Thanks, looking forward to it..
I've implemented this location picker in my Home Automation app (Domoticz)

Any idea on planning?

@galadril I'm working on it. You will got it within this week. 😉

Hi @galadril!
A new version is available (is being generated right now) with the satellite button! Hope it's what you expected.
Enjoy!
Version 3.1.0 😉

Thanks bro!
I'll check it right away :)

Works amazing, thanks a lot!
🥇

You're welcome! Glad you like it. 😉


Only build pushes to master branch & pull requests

Codecov Report

Merging #149 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #149   +/-   ##
=======================================
  Coverage   94.75%   94.75%
=======================================
  Files          26       26
  Lines         724      724
=======================================
  Hits          686      686
  Misses         38       38

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 b5d00b5...9f90724. Read the comment docs.


Token is not being verified

Even on passing a valid ID token the ID token is not verified. It does not grant access. However on resubmiting the secret access is granted. The security rule was authenticated and user ID of document must be same as that of that in the query

I believe @sharadregoti is already looking into this.

I believe this has been resolved in 0.21.4


[Bug Fix] Flink 1.13 exactly-once data repeat

With precision semantics, the connector does not need to call flush in the close method.
Because flink fails, it rolls back to the last checkpoint, at which point the data is recalculated.
If you do not clear the data, data duplication will occur.

1.13 don't have finish even，when the data is bounded，if close not call flush,  end of data will lost

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.liyan seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

1.13 don't have finish event，when the data is bounded，if close not call flush, end of data will lost

I added a configuration to deal with this scenario.

1.13 don't have finish event，when the data is bounded，if close not call flush, end of data will lost

I added a configuration to deal with this scenario.

i think this works, but 2pc would be better that this way to fix this problem?

1.13 don't have finish event，when the data is bounded，if close not call flush, end of data will lost

I added a configuration to deal with this scenario.

i think this works, but 2pc would be better that this way to fix this problem?

StarRocks stream load does not support prepare/commit/rollback, so I don't know how to solve this problem with 2PC.

1.13 don't have finish event，when the data is bounded，if close not call flush, end of data will lost

I added a configuration to deal with this scenario.

i think this works, but 2pc would be better that this way to fix this problem?

StarRocks stream load does not support prepare/commit/rollback, so I don't know how to solve this problem with 2PC.

sr v2.3 support，connector will do next


Members of a GH organization with write access can't use packit

@fellipeh has created this PR https://github.com/oamg/convert2rhel/pull/39 but packit says Only users with write or admin permissions to the repository can trigger Packit-as-a-Service even though he has the write access to the repository.
You can see on the following screenshot that 21 members (of the oamg organization) have the write access:

When I click on the Manage button on the page above, I see that the members of oamg org have really the write permissions:

Here's a screenshot showing that @fellipeh is a member of the oamg org:

@fellipeh, please try commenting \packit test under the https://github.com/oamg/convert2rhel/pull/39 again.

@bocekm  same error:

@bocekm @fellipeh even though this seems to be fixed in our codebase, I'm pretty sure the change is not deployed to production. It will be up on Monday May 18th, unless @csomh decides to deploy it sooner.

Yeah, that's right, new deployments usually happen on Monday morning, but we might have one sooner today. Anyways, I did not forget about this issue and I'll keep you posted.
(We will think about how to make this more transparent for you guys.)

Ah, ok, thanks for letting us know. No hurry.

Production has just been redeployed and should include the fix/change now.

Production has just been redeployed and should include the fix/change now.

@jpopelka  Still failing..

Still failing..

Right, I was just told (@csomh) that we hadn't pulled in the ogr change so the production is not yet fixed, indeed, sorry for the noise.

Ah, ok, thanks for letting us know. No hurry.

Given it's Thursday already, let's wait for the regular weekend's re-deployment.

@fellipeh please give it another try :crossed_fingers:

@csomh  Now it's failing only on 2 actions
One question: the packit action depends of pylint actions?

@fellipeh That's weird and probably is related to #535.
I think the failures are left-overs from previous runs. Could you try /packit build and see if they are fixed? Pushing to the branch would have a similar effect (that would re-trigger both builds and tests).

@csomh Works fine now.. I could run without issue:

@csomh, thanks!


[Bug]: F clicks don't work

Is there an existing issue for this?

[X] I have searched the existing issues

Have you tried to reproduce this without OP?

[X] I have tested without OP

Current Behavior
unable to use /class skill if skill combo contains F click
Expected Behavior
you should be able to use  /class skill to level them up
Steps To Reproduce
No response
Environment
- Server Software: Paper 1.17.1
- ProSkillAPI Version: <IP_ADDRESS>-1330244
- ProMCCore Version: <IP_ADDRESS>-1150257

latest.log
No response
Anything else?
this issue was provided in this thread: https://github.com/promcteam/proskillapi/issues/82
and said to be fixed but it's not
the error being threw in the console is the same
here's mine https://pastebin.com/AgstDPLY
i also tried the dev build mentioned in the thread also didn't work

It appears that we haven't set the F setting as a default in the language.yml file. Could you add something in there along the lines of the following and report back if you still have issues?
Combo:
    F: "&6Swap"
    ...

this didn't help
the error thrown in the console is 100% the same

and the ' char is used in this file instead of "
so i tried this as well and it didn't work too

If you can send your file so I can double check things, I'll do some debugging to track this down later.

the language.yml file?

i can't upload it here. can i send it to you in discord?

https://pastebin.com/rmZHfe3u here

i found out what happens...
on /class reload the string f: "&6Swap" just dissapears..
besides, any other string removed is restored upon reload
server restart does the same


Request: Add artboard's name to canvas

Is there a script for Illustrator that lets you place the artboard name on the artboard itself?
I.e. the artboard is named "Figure 1", so this should be put as text on the top left corner.

@sarah872 https://github.com/iconifyit/ai-scripts/blob/master/Artboard Labels.jsx


Adding Git::Diff.name_status support

repo.diff.name_status
#=> {"lib/git/lib.rb"=>"M"}

repo.diff('HEAD~3').name_status
#=> {"VERSION"=>"M", "git.gemspec"=>"M", "lib/git/config.rb"=>"M", "lib/git/lib.rb"=>"M", "tests/units/test_config.rb"=>"M", "tests/units/test_lib.rb"=>"M"}

repo.diff("HEAD~2", "HEAD~3").name_status
#=> {"VERSION"=>"M", "git.gemspec"=>"M"}

@gudmundur take a look at how this works.
Once we have the final prototype I'll add a couple of tests and we are done.

+1 for this feature. This is what I would like to use right now. :)

@robertodecurnex I completely forgot to +1 you on this one, but we've been running with this for a while now. Any chance of bringing this in?


Action显示This workflow has no runs yet.

Action显示This workflow has no runs yet.
好像任务没有建立

server酱显示oops, token error


ubuntu 18.04 & ros2 dashing environment build unsuccessful

Please tell me if this package can work in this environment
ubuntu 18.04 & ros2 dashing

Hi there, sorry we have only tested in Galactic and Humble.
For ROS1 we tested on Melodic, but we have not used ROS1 for some time now so newer features will not have been added to this branch.

I use the host as adlink - roscube_58G. Do you have any experience using ros2 camera on mobile phone? Currently, the roscube_58G environment only supports Ubuntu 18.04. How to set it up?

@DavidTung0706
As mentioned, we support only galactic and humble for now. I will be closing this issue as it falls outside our scope


FLIP #1009 : New Optimizer API

Adds a FLIP that proposes to replace the existing optimizer API with a new functional one.
Fixes #1009

For a demonstration of using Optax (incl. DynamicScale) in an example see #1053 (still running - currently at 35.53% test accuracy after 4 epochs, which is in line with previous runs).

Codecov Report

Merging #1011 (733d3f9) into master (b35b60f) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1011   +/-   ##
=======================================
  Coverage   82.02%   82.02%
=======================================
  Files          63       63
  Lines        5112     5112
=======================================
  Hits         4193     4193
  Misses        919      919

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 b35b60f...733d3f9. Read the comment docs.

Hey! Is there a special reason for the optimizer to be part of TrainState?  Normally I just pass the optax optimizers via a closure capture or through e.g. self.optimizer when using classes.

@cgarciae - it's a  Flax pattern to include the optimizer in TrainState so we have fewer objects to pass around. But it's perfectly fine to pass in tx and model.apply in an outer function or with static_argnums - see the section Optax training step where I do exactly that.

Thanks everybody for all the helpful comments!
And special thanks to Nicholas for pushing changes to Optax in parallel to make this FLIP a lot cleaner.
Going to merge and will start with the implementation.


How to make spell-fu work with tree-sitter-hl?

If I enable tree-sitter-hl-mode in a buffer, it gets highlighted correctly and my TODO and NOTE items still get highlighted (by the hl-todo minor mode) but the misspelled words in the buffer lose their red underline from spell-fu-mode. Related to #45?

This is probably unrelated to #45, as spell-fu-mode seems to use overlays.

spell-fu relies on spell-fu-faces-include, which defaults to `'(font-lock-comment-face font-lock-doc-face font-lock-string-face). It probably needs a more generic mechanism to specify regions to spell-check. For now, this should be enough:
(setq-default spell-fu-faces-include
              '(tree-sitter-hl-face:comment
                tree-sitter-hl-face:doc
                tree-sitter-hl-face:string
                font-lock-comment-face
                font-lock-doc-face
                font-lock-string-face))

That seems to do the trick, thanks!


Add support for resources and attributes

Adds the variables mesos_resources and mesos_attributes which are templated into /etc/mesos-slave/resources and /etc/mesos-slave/attributes, respectively.
I'm not exactly sure how to handle the case where attributes/resources are modified for a running Mesos Slave, because with checkpointing enabled (the default), the service will fail to restart with the message "Failed to perform recovery: Incompatible slave info detected.".  In my testing, setting strict=false did not help in this case either. The only thing which seemed to work for me was wiping out the meta directory in /var/mesos and then restarting the service. We could potentially do this as a notifier, but it seems a bit heavy handed.
Feedback welcome.
Closes #40

Will take a look tonight unless someone beats me to it.
-Jason

On Jan 9, 2016, at 9:08 PM, David Wittman<EMAIL_ADDRESS>wrote:
Adds the variables mesos_resources and mesos_attributes which are templated into /etc/mesos-slave/resources and /etc/mesos-slave/attributes, respectively.
I'm not exactly sure how to handle the case where attributes/resources are modified for a running Mesos Slave, because with checkpointing enabled (the default), the service will fail to restart with the message "Failed to perform recovery: Incompatible slave info detected.". In my testing, setting strict=false did not help in this case either. The only thing which seemed to work for me was wiping out the meta directory in /var/mesos and then restarting the service. We could potentially do this as a notifier, but it seems a bit heavy handed.
Feedback welcome.
Closes #40
You can view, comment on, or merge this pull request online at:
https://github.com/AnsibleShipyard/ansible-mesos/pull/41
Commit Summary
Add support for resources and attributes
File Changes
M defaults/main.yml (10)
M tasks/mesos.yml (21)
A templates/attributes-mesos-slave.j2 (1)
A templates/resources-mesos-slave.j2 (1)
Patch Links:
https://github.com/AnsibleShipyard/ansible-mesos/pull/41.patch
https://github.com/AnsibleShipyard/ansible-mesos/pull/41.diff
—
Reply to this email directly or view it on GitHub.

If you (1) stop, then (2) apply, then (3) restart, how well does it work? I think meta changes should be handled like an upgrade. The latest hard upgrade instructions are:
# http://mesos.apache.org/documentation/latest/upgrades/
In order to upgrade a running cluster:

Rebuild and install any modules so that upgraded masters/slaves can use them.
Install the new master binaries and restart the masters.
Install the new slave binaries and restart the slaves.
Upgrade the schedulers by linking the latest native library / jar / egg (if necessary).
Restart the schedulers.
Upgrade the executors by linking the latest native library / jar / egg (if necessary).

I'll do some more testing around this.
On Tue, Feb 16, 2016 at 8:45 PM, Jason Giedymin<EMAIL_ADDRESS>wrote:

If you (1) stop, then (2) apply, then (3) restart, how well does it work?
I think meta changes should be handled like an upgrade. The latest hard
upgrade instructions are:
http://mesos.apache.org/documentation/latest/upgrades/
In order to upgrade a running cluster:
Rebuild and install any modules so that upgraded masters/slaves can use them.
Install the new master binaries and restart the masters.
Install the new slave binaries and restart the slaves.
Upgrade the schedulers by linking the latest native library / jar / egg (if necessary).
Restart the schedulers.
Upgrade the executors by linking the latest native library / jar / egg (if necessary).
—
Reply to this email directly or view it on GitHub
https://github.com/AnsibleShipyard/ansible-mesos/pull/41#issuecomment-184985153
.

@DavidWittman what is the progress with this ?

@ernestas-poskus No new info. I haven't had an opportunity to test Jason's suggestions, but feel free to include any of your own findings here.

fyi how we define the mesos-slave (resp. mesas-agent since >v1) resources, using a generic attributes feature extension: https://github.com/AnsibleShipyard/ansible-mesos/pull/56

Closing in favor of https://github.com/AnsibleShipyard/ansible-mesos/pull/56


⚠ Anthelion has degraded performance

In a171ca0, Anthelion ($ATH) experienced degraded performance:

HTTP code: 200
Response time: 4075 ms

Resolved: Anthelion performance has improved in 2298ff2 after 412 days, 17 hours, 7 minutes.


RoR group project: set up your Kanban board

Link to the project kanban board
Two Members:

@devMunyi
@tarikbouari

STATUS: INVALID CODE REVIEW REQUEST 🛑 🛑
Hi @devMunyi and @tarikbouari,
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.
Invalid Code Review Request
You should provide the link to your Kanban board, not your repository
Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear. And please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.

Invalid ❌
Hi Team,
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.
Your Code Review Request is marked as invalid for these reasons:

[ ] The link you provides is broken, Please add a valid project link.

Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request Does not count into the code reviews limit.

Oops! I don't understand what's happening. I'm able to open the same link which is not opening on your side:

The link issue is solved. you can go ahead and make the review dear reviewer.

STATUS: APPROVED ✔ ✔
Hi @devMunyi and @tarikbouari,
✔ Tasks are well assigned
Your project is complete!  There is nothing else to say other than... it's time to go ahead with the project :shipit:
Congratulations! 🎉
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the Issue thread if something is not 100% clear. And please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Metadata

Hi,
So when uploading your images to IPFS the hash of the file changes.
When you also generate images, the images get created in a completely different order so its impossible to upload this to IPFS.
Am I missing something here?
Is there anything I can do?

The metadata file is in the correct order, token id 1 in metadata will respond to what is seen in the image with the name 1.png.


Item: Diviner's Rod

A Diviner's Rod is used to help identify areas in world with higher concentrations of EMC

Textures merged in https://github.com/pahimar/Equivalent-Exchange/pull/54


Default scripts

I released Carting for adding and updating Carthage script. There are a few scripts using in almost every project, for example, Fabric, Carthage and SwiftLint. What do you think about adding of default scripts for your framework? And maybe I can help you with it.

Hey @artemnovichkov!
I just checked Carting but I'm not sure if I get the purpose of it. Could you give me some hints about how it'd integrate with xcodeproj?
Thanks for the idea 😛

Carting automatically adds a script like:

Maybe it will be useful to add common used scripts to xcodeproj

But xcodeproj doesn't use/support Carthage. How would that be integrated?

It's not necessary. xcodeproj will add only /usr/local/bin/carthage copy-frameworks to a new script with correct paths. Just like Carting

Hey @artemnovichkov, I'm still struggling to understand how Carting would integrate with xcodeproj. Carting is a command line tool that developers use to not have to manually add the Carthage script step. I think I'm missing something here.

I'll close this for now until there's more input to proceed with it.

Nevermind, it were just my thoughts.

I'd love to understand how we could bring Carting into the project.

It sounds like it would be more something that goes into a tool like https://github.com/swift-xcode/xcode, which is what carting is.
In my opinion xcodeproj should be a repo just for reading, modifying and writing xcode project files. Any other functionality would go into tools that use xcodeproj

That was my understanding. As @yonaskolb pointed out, xcodeproj just provides the models to interact with your Xcode projects. Carting could fit with tools that do some automation in the Carthage area.

I’m not talking about Carting or Carthage, it was just an example. My main idea is that you might implement default scripts in xcodeproj to reduce repetitive actions. For instance, I add a script that increment build number in my every project. And I don’t want to write this script again and again, I want to call xcodeproj.addAwesomeScript() and vuala - the script was added. That’s all, and sorry for my English 😀

Yeah that's the idea @artemnovichkov. We actually started working on that sort of automation in this project https://github.com/swift-xcode/xcode. You are more than welcome to contribute.

Looks interesting, I'm ready to start. Where is a start point? :)

Can you email me your email and I'll invite you to Slack?

Sure<EMAIL_ADDRESS>


when I use the pre-trained pose model to predict, the output is same whatever input are

when I use the pre-trained pose model to predict, the output is same whatever inputs are.
I use seq 9 and seq 11 to run test_kitti_pose.py, but the output pose.txt are all the same, that is, 000000.txt and 000001.txt has the same content.
I print the input image data, it's not same, but the output pose is same. I normalized the input image data but it doesn't work.
（I use tensorflow-gpu 2.0.0b, cuda 10.0 and python 3.6, and use "import tensorflow.compat.v1 as tf" and "tf.disable_v2_behavior()" replace import tensorflow as tf
thanks a lot for any help.

i have a question.where is the kitti_depth_model.tar?
i can't download the pre-trained model by running the "bash ./models/download_depth_model.sh".
Hope to get a help,thanks a lot.

@Yifan-github You can try run wget http://people.eecs.berkeley.edu/~tinghuiz/projects/SfMLearner/models/kitti_depth_model.tar in terminal, then unpack it.
if you still cann't download, maybe it's the problem of network or vpn

当我使用预训练的姿势模型进行预测时，无论输入是什么，输出都是相同的。
我用seq 9和seq 11运行test_kitti_pose.py，但是输出的pose.txt都是一样的，即000000.txt和000001.txt的内容是一样的。
我打印输入图像数据，它不一样，但输出姿势是一样的。我对输入图像数据进行了标准化，但它不起作用。
（我使用tensorflow-gpu 2.0.0b、cuda 10.0和python 3.6，并用“ import tensorflow.compat.v1 as tf”和“ tf.disable_v2_behavior()”替换import tensorflow as tf
非常感谢您的帮助。

@Yifan-github您可以尝试wget http://people.eecs.berkeley.edu/~tinghuiz/projects/SfMLearner/models/kitti_depth_model.tar在终端中运行，然后解压。
如果还是不能下载，可能是网络或者vpn的问题

i met a ERROR 404: Not Found.Is the file sharing cancelled?If possible, may you share me a copy by email?Thanks so much!My<EMAIL_ADDRESS>


[Feature Request] Add a new BeartypeConf.strategy_O1_check_sequence_index option enabling callers to deterministically type-check sequences

Discussed in https://github.com/beartype/beartype/discussions/383

Originally posted by avolchek May 23, 2024
Hi!
The documentation states that for the O1 strategy, only one element of the container is selected, and the selection is random. Is it possible to replace random selection with a more deterministic approach (e.g., selecting the first element)?
The problem with random selection is that it makes tests in CI less robust. For example, I enabled type-checking in some tests in my codebase, and they passed successfully. However, this was only because the random selection chose a "good" element from the container. The next day, my colleague changed an unrelated piece of code, altering the RNG state. As a result, a "bad" element was selected, causing Beartype to complain, and the test failed, leading to my colleague's frustration.
My codebase is large, with many people working on it. It would be great to be able to disable randomness via configuration to avoid situations like the one mentioned above :)

Superb request! Yes. So much yes. You're right, of course. This is an excellent feature request. Deterministic CI is a lofty goal. @beartype should support you in that goal, @avolchek. You literally already resolved super-nasty issue #382.  When colleagues are frustrated with @beartype, @beartype has done something wrong. Bad bear. :bear: :angry: :bear:
This Plan: It Is a Good Plan
Let's add a new BeartypeConf(strategy_O1_check_sequence_index: Optional[int] = None, ...) option to @beartype's existing configuration API. Assuming you also use beartype.claw import hooks, you'd probably set this option like so:
# In your "{your_package}.__init__" submodule:
from beartype import BeartypeConf
from beartype.claw import beartype_this_package
beartype_this_package(conf=BeartypeConf(strategy_O1_check_sequence_index=0))

The idea here is pretty simple. strategy_O1_check_sequence_index:

Defaults to None, which then instructs @beartype to non-deterministically type-check one item of each sequence with a pseudo-random index. Understandably, you don't want that.
Can be set to an integer, in which case @beartype will then deterministically type-check one item of each sequence with that index. You want that. Really, the only two sensible hard-coded indices are:

strategy_O1_check_sequence_index=0, type-checking the first item.
strategy_O1_check_sequence_index=-1, type-checking the last item.

This is (...probably) trivial stuff. So, this will (...probably) make it into our upcoming @beartype 0.19.0 release. Let's see if @leycec does anything at all! So sleepy. :yawning_face:


update for CMOR release 3.3.0

Because of the CMOR release 3.3.0 yesterday I will add a branch cmor-release-3.3.0. The files
environment.yml
requirements.txt
will be updated.
I selected the cmor 3.3.0 py27he7c6f3b_0 as this is in line with the current used dependencies of cmor 3.2.8 in ece2cmor3:
dependencies:
cdms2
hdf5 1.8.*
libnetcdf 4.4.*
numpy 1.13.*
ossuuid 1.6.2.*
As can be seen from this the hdf5 dependencies in cmor 3.3.0 are now more flexible as asked by Gijs (see also #72).

Successful merge and successful update to cmor 3.3.0. So closing the issue.


[QUESTION] Cannot connect to server from Android app

Description
Every time I try to connect to a self-hosted RocketChat instance I get the error "An error occurred checking your servers version, please try again". The instance is hosted locally and has an NGINX proxy in front of it for SSL, which works fine in the desktop app and on the web.
Devices and Versions
Your Rocket.Chat.Android version: 2.5.1
Your Rocket.Chat Server version: 0.66.3 (Ubuntu Snap)
Mobile device model and OS version: Samsung S9, Android 8.0.0
Steps to reproduce

Install RocketChat fresh from the Google Play store
Try and connect to a RocketChat instance behind an NGINX proxy.

Hi, SSL handshake error?, see my post: https://github.com/RocketChat/Rocket.Chat.Android/issues/1556

@neohitokiri I don't think so. I just set the NGINX config to use ssl_ecdh_curve prime256v1 and the error persisted.

Check the nginx logs, in my case i did not see any https request record, only with http, that indicates that the connection with the server was not being made, i changed the configuration of SSL and so solved the issue.

@BlackHoleFox Can you pass us your host URL?

@rafaelks Id rather not post it here public. Would a Twitter DM or email suffice?

@BlackHoleFox Yes, please send me over email: rafael.kellermann @ rocket.chat.

@rafaelks Mail sent.

@BlackHoleFox Your server do not support WebSockets.
curl -i -N -H "Connection: Upgrade" -H "Upgrade: websocket" -H "Host: (private)" -H "Origin: (private)" -H "Sec-WebSocket-Key: fVXESE8fjBMx8HheW0YlZQ==" -H "Sec-WebSocket-Version: 13" https://(private)/websocket
HTTP/2 400
date: Tue, 31 Jul 2018 20:00:03 GMT
strict-transport-security: max-age=15552000; includeSubDomains; preload
x-content-type-options: nosniff

Not a valid websocket request

@BlackHoleFox Take a look on this one: https://github.com/RocketChat/Rocket.Chat.Android/issues/1116.

Is there a difference between the iOS and Android client? The iOS one is working just fine after I added the headers to NGINX, but the Android is still failing. Followed that issues instructions at the bottom to the needle.

@BlackHoleFox I wasn't able to connect on iOS to your server... what app are you using?

I am using the official Rocket.Chat app out of the iOS store and doing it inside of my LAN. Haven't tested it through Cloudflare, all my stuff has just been LAN only.

@BlackHoleFox It's possible that Android didn't recognise your SSL certificate in this case... can you try using Cloudflare?

Hm yeah that fixed it for some reason. I have not a clue why, though I did notice Curl was complaining about my SSL certificate. Its a valid LetsEncrypt one.

Oh the iOS one stopped working xD

same

Same issue while using android app

@fthzkrtn  I solved this issue after adding ssl security certificates on server side and also having implementation of adding certificates while connecting to server.

I have the same issue, i can access rocket.chat server on desktop app, web and ios app with ssl but cannot connect on android app. Android app can connect to server with non-ssl http://mydomain:3000. I config Apache SSL Reverse Proxy for rocketchat server.

Just in case anyone else runs into this issue, make sure the following mods are enabled worked for me with the default configuration from the rocketchat documentation here:
https://docs.rocket.chat/installation/manual-installation/configuring-ssl-reverse-proxy#running-behind-an-apache-ssl-reverse-proxy
a2enmod proxy
a2enmod proxy_http
a2enmod proxy_wstunnel // this one in particular was the solution for me.


React project error

Reproduce:
-npm install nexmo
-npm start
Can't resolve 'dns' in 'project_directory/node_modules/isemail/lib'

Hi @thesubway,
Are you trying to use the nexmo node package on the front-end with React? It's not supposed to work in the browser, it's intended to be run in a Node server environment.
And it looks like isemail is erroring out and not nexmo. Can you give me more specifics about the code you're trying to run?
Cheers,
Alex

I tried on a brand new react project, and it comes up only after I try to import Nexmo. So it seems the isemail error comes with nexmo (probably a dependency).
But yeah thanks, I should try running it on the back-end instead.


Investigate gRPC ObjC iOS test crash on kokoro master

Samples

https://source.cloud.google.com/results/invocations/968b6268-07a3-4358-b716-3fd0f728aef2/targets/grpc%2Fcore%2Fmaster%2Fmacos%2Fgrpc_basictests_objc_ios/log

iOS cronet test appears to have repeated crash with the following stack
2022-06-16 10:27:25.436557-0700 xctest[37328:76175] DiskCookieStorage changing policy from 2 to 0, cookie file: file:///Users/kbuilder/Library/Developer/CoreSimulator/Devices/4F9376BD-4079-49A7-BB18-AED93CEEBE0B/data/Library/Cookies/com.apple.dt.xctest.tool.binarycookies
*** SIGSEGV received at time=1655400445 ***
PC: @        0x1083ad42f  (unknown)  grpc_tcp_client_create_from_prepared_fd()
    @        0x1081a31d2  (unknown)  absl::lts_20211102::WriteFailureInfo()
    @        0x1081a3003  (unknown)  absl::lts_20211102::AbslFailureSignalHandler()
    @     0x7fff52457b5d  (unknown)  _sigtramp
    @        0x1055644f9  (unknown)  0x0
    @        0x1083ae046  (unknown)  tcp_connect()
    @        0x1083af8df  (unknown)  grpc_core::(anonymous namespace)::TCPConnectHandshaker::DoHandshake()
    @        0x1082b13b4  (unknown)  grpc_core::HandshakeManager::CallNextHandshakerLocked()
    @        0x1082b192a  (unknown)  grpc_core::HandshakeManager::DoHandshake()
    @        0x1082caaca  (unknown)  grpc_core::HttpRequest::DoHandshake()
    @        0x1082c9e78  (unknown)  grpc_core::HttpRequest::OnResolved()
    @        0x1082cb7f7  (unknown)  absl::lts_20211102::base_internal::MemFunAndPtr::Invoke<>()
    @        0x108335376  (unknown)  grpc_core::(anonymous namespace)::NativeDNSRequest::DoRequestThread()
    @        0x10827be2e  (unknown)  grpc_core::Executor::RunClosures()
    @        0x10827bfa8  (unknown)  grpc_core::Executor::ThreadMain()
    @        0x1083bafe0  (unknown)  grpc_core::(anonymous namespace)::ThreadInternalsPosix::ThreadInternalsPosix()::{lambda()#1}::__invoke()
    @     0x7fff524602eb  (unknown)  _pthread_body
    @     0x7fff52463249  (unknown)  _pthread_start
    @     0x7fff5245f40d  (unknown)  thread_start
Restarting after unexpected exit or crash in CoreCronetEnd2EndTests/testBinaryMetadata; summary will include totals from previous launches.

cc. @HannahShiSFB

First break appears after https://github.com/grpc/grpc/pull/29976


Jenkins node(root)的password不应该限制密码格式

In GitLab by @guyingyan on Apr 30, 2020, 05:58
Jenkins node(root)的password不应该限制密码格式

In GitLab by @JackZxj on Apr 30, 2020, 08:09
mentioned in merge request !2448

In GitLab by @wknet123 on Apr 30, 2020, 08:25
closed via commit 6c619e8ad86c604cc29225f420eb995b3bf9dca8

In GitLab by @wknet123 on Apr 30, 2020, 08:25
closed via merge request !2448


Unify translations

Is your feature request related to a problem?
So far we do not have any normal structure in translations
Describe the solution you would like
I would like to see unified translations
{
  "mint": {
    "collection": {},
    "token": {},
    "general": {}
  }
}

Describe alternatives you have considered
I have tried this alternative
Screeenshots
Paste your vision

Translation is not that worth

Translation is not that worth

Good task for LLM imo


Add dlls to frameworkAssemblies in .nuspec file

Add the following dlls to frameworkAssemblies instead of referencing them in file tags
<file src="..\packages\Microsoft.Data.Edm.5.6.4\lib\net40\Microsoft.Data.Edm.dll" target="tools\Microsoft.Data.Edm.dll" />
<file src="..\packages\Microsoft.Data.OData.5.6.4\lib\net40\Microsoft.Data.OData.dll" target="tools\Microsoft.Data.OData.dll" />
<file src="..\packages\Microsoft.Data.Services.Client.5.6.4\lib\net40\Microsoft.Data.Services.Client.dll" target="tools\Microsoft.Data.Services.Client.dll" />
<file src="..\packages\System.Spatial.5.6.4\lib\net40\System.Spatial.dll" target="tools\System.Spatial.dll" />
<file src="..\packages\biz.dfch.CS.Appclusive.Api.1.0.6\lib\biz.dfch.CS.Appclusive.Api.dll" target="tools\biz.dfch.CS.Appclusive.Api.dll" />

@rufer7 does this work? did you check? from where would these assemblies be loaded?

@dfch I don't know if this works. I only assumed this could be done like this. Fact is it should be possible to build the project on the TeamCity, so the dlls should either be in the repository itself or should be referenced in the nuspec file so that they get downloaded on install. Do you know another possibility how we could solve that?

@rufer7 we can define a pre-build step and perform a nuget install for dependent packages if they do not already exist

yes we can define a pre build step that installs moudles based on a package.config file


Neural net not working

System information

Have I written custom code (as opposed to using example directory):  yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):  Windows 10
TensorFlow backend (yes / no):  yes
TensorFlow version:  2.3.1
Keras version:  2.3.1
Python version:  3.8.2

Describe the current behavior
Imn trying to predict a cars MPG by its horsepower i get the data from a json file the data is imported and given to the neuralNet but the neural net just returns a straight line as prediction its simply 0.
The Neural net is also showing up corectly in nodel.summary().
I think this is a issue with my code but im not getting the problem .
`import keras as k
import keras
from keras.models import Sequential
from keras.optimizers import SGD
from keras.layers import Dense, Activation, Dropout
import numpy as np
import matplotlib.pyplot as plt
from random import randint
import json
x = list()
y = list()
def f(x):
y = x*randint(0,10)
return y
with open('r.json') as myfile:
data=myfile.read()
data = json.loads(data)
parse file
x = []
y = []
for i in range(len(data)):
#car = json.loads(data[i])
car = data[i]
if(car["Miles_per_Gallon"] is'None' or car["Miles_per_Gallon"] is None):
continue
if(car["Horsepower"] is None or car["Horsepower"] is 'null' or car["Cylinders"]  is None or car['Acceleration'] is None or car['Weight_in_lbs'] is None ):
continue
if(car["Horsepower"] != None or car["Horsepower"] != 'null' or car["Cylinders"] !=None or car['Acceleration'] != None or car['Weight_in_lbs'] != None ):
x.append([ car["Horsepower"]])
if(car["Miles_per_Gallon"] != 'None' or car["Miles_per_Gallon"] != None):
print(car )
y.append(car["Miles_per_Gallon"])
data = x
print((x))
print((y))
model = Sequential()
model.add(Dense(1, input_dim=1, use_bias=False, activation='sigmoid'))
model.add(Dense(100, activation='tanh',))
model.add(Dense(50, activation='tanh',))
model.add(Dense(25, activation='tanh',))
model.add(Dense(25, activation='tanh',))
model.add(Dense(25, activation='tanh',))
model.add(Dense(25, activation='tanh',))
model.add(Dense(1, activation='relu',))
sgd = SGD(lr=0.01, momentum=0.9, nesterov=True)
model.compile( loss = "mean_squared_error",
optimizer = sgd,
metrics=['accuracy']
)
weights = model.layers[0].get_weights()
print(weights)
model.fit(np.array(x), np.array(y),
batch_size=int(len(x)*0.9),epochs=5000,
)
weights = model.layers[0].get_weights()
print(weights)
predict = model.predict([data])
for i in range (10):
t = randint(0,len(data))
print(y[t])
testData = x[i]
print(model.predict( np.array([testData])))
plt.plot(data, predict, 'b', data , y, 'k.')
plt.show()
model.summary()`
test2.zip

Hey I was able to make changes to your code and get the results. It seems there was an issue with the dimensions of predict and I noticed weights was initialised twice. I have used a different model here for faster processing. Test data would be found in a and corresponding predicted values in b Please let me know if this helped you. Cheers!
y = []
for i in range(len(data)):
    #car = json.loads(data[i])
    car = data[i]
    if(car["Miles_per_Gallon"] is'None' or car["Miles_per_Gallon"] is None):
        continue
    if(car["Horsepower"] is None or car["Horsepower"] is 'null' or car["Cylinders"]  is None or car['Acceleration'] is None or car['Weight_in_lbs'] is None ):
        continue
    if(car["Horsepower"] != None or car["Horsepower"] != 'null' or car["Cylinders"] !=None or car["Cylinders"] != 'null' or car['Acceleration'] != 'null' or car['Weight_in_lbs'] != 'null' ):
        x.append([ car["Horsepower"]])
        y.append(car["Miles_per_Gallon"])

model = tf.keras.models.Sequential([
  tf.keras.layers.Dense(10, activation="relu", input_dim=1),
  tf.keras.layers.Dense(10, activation="relu"),
  tf.keras.layers.Dense(1)
])

optimizer = tf.keras.optimizers.SGD(lr=8e-6, momentum=0.9)
model.compile(loss="mse", optimizer=optimizer, metrics=['accuracy'])

model.fit(np.array(x), np.array(y),
          batch_size=int(len(x)*0.9),epochs=100,
          )

k = list()
z = list()

for i in range (10):
    t = randint(0,len(data))
    testData = x[i]
    testPredict = model.predict(testData)
    k.append(testData)
    z.append(testPredict)

a = np.array(k)
b = np.array(z)

a = a.transpose()
b = b.T[0]```

i got the problem. One Dataset was not propperly serialized  but thanks with your awnser


Bug Report - Badge for macOS version update available not refreshing

Hey folks, getting a report from a client that all their Macs are still showing the red badge for update being available after running the update to 12.6.2. Is there a CLI command or something we can push to devices to force this to reindex?

From a Slack discussion, it looks like this is related to the Ventura delta upgrade being detected by the softwareupdate binary, even if there's an MDM configuration present to defer it. Jordy suggested a possible key to IgnoreMajorVersions, which would be a spectacular solution to differentiate the availability of delta upgrades from the usual software updates.

Hi all!
Please test this prerelease version of 2.4.3: https://github.com/root3nl/SupportApp/releases/tag/v2.4.3-beta
Curious to hear your feedback!

Looks great - here's a before and after applying the new key using:
HideMajorUpdates

@xirianlight agreed, seems to working well.  I just added the following to the current JSON Schema and deployed both pre-release version and profile and the badge goes away.
    "HideMajorUpdates": {       "title": "Hide major updates",       "description": "Hide major updates",       "type": "boolean",       "options": {         "enum_titles": [           "Hide",           "Show"         ],         "infoText": "Key name: HideMajorUpdates"       },       "links": [         {           "rel": "Documentation",           "href": "https://github.com/root3nl/SupportApp"         }       ]     },
@jordywitteman can't image so but is there anything else specific that you need tested?

Resolved in 2.4.3


switch order of time series output

What changes were proposed in this pull request?
Change dimensions of time series output.
(Please fill in changes proposed in this fix)
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
Please review
https://github.com/deeplearning4j/deeplearning4j/blob/master/CONTRIBUTING.md before opening a pull request.

@emsixteeen @AlexDBlack


Feature request/suggestion: fall back to /etc/make.conf when no -make.conf found

I just started using synth, and immediately ran into a surprise (after rebuilding everything):
When you don't create a LiveSystem-make.conf, it doesn't use any config file, even if /etc/make.conf exists.
It would be nice if the application would fall back to /etc/make.conf, if it exists and there is no -make.conf.
Alternatively, when the system is initialized and there is an /etc/make.conf, it could be copied to LiveSystem-make.conf, to match the default profile in synth.ini.
As a third alternative, the install script could detect the presence of /etc/make.conf, and warn the user who installed synth that the application will not use it, with instructions to manually copy it to LiveSystem-make.conf (although that might be something I need to submit to the FreeBSD port maintainer, not here).
Regards, and keep up the good work!
EDIT: after rebuilding everything from scratch (again), it seems this isn't the problem.
Wherever the file is located, I can't get synth to honour the DEFAULT_VERSIONS set in my make.conf.
If I specify DEFAULT_VERSIONS+=ssl=libressl, it still builds everything against openssl in base, and if I specify DEFAULT_VERSIONS+=php=7.4, I still have to specfify a flavor when I want to install a port that has php flavors.
Is this a bug, or am I doing something wrong? The same make.conf works fine when using portmaster.

using the system /etc/make.conf can easily cause major issues.  Requiring profile versions of make.conf and ignoring /etc/make.conf avoids strange bugs and behavior that can be a major headache to discover.  (believe me, this has happened).
On the surface, the suggestion seems logical and useful, but in practice it's a recipe for disaster.  remember make.conf is really for building the base system.  using it for packages was probably a bad idea, so synth tried to address that.


Let me know if you need help adding IWebView2WebView5 and the missing IWebView2WebView4 things

Happy to help.

Thanks for the offer.   I think I have most of it implemented now.   Lets talk again when they release IWebView2WebView6

P.ImprintUniqueID {
MARGIN: 0cm 0cm 0pt
}
LI.ImprintUniqueID {
MARGIN: 0cm 0cm 0pt
}
DIV.ImprintUniqueID {
MARGIN: 0cm 0cm 0pt
}
TABLE.ImprintUniqueIDTable {
MARGIN: 0cm 0cm 0pt
}
DIV.Section1 {
page: Section1
}
Sure, looking forward to it.
From: "michael-russin"<EMAIL_ADDRESS>Date: Friday, December 27, 2019 at 3:17:54 PM
To: "michael-russin/webview2-interop"<EMAIL_ADDRESS>Cc: "Smulovics, Peter (Application Infrastructure)"<EMAIL_ADDRESS>"Author"<EMAIL_ADDRESS>Subject: Re: [michael-russin/webview2-interop] Let me know if you need help adding IWebView2WebView5 and the missing IWebView2WebView4 things (#2)
Thanks for the offer. I think I have most of it implemented now. Lets talk again when they release IWebView2WebView6
—
You are receiving this because you authored the thread.
Reply to this email directly,
view it on GitHub, or
unsubscribe.
NOTICE:
Morgan Stanley is not acting as a municipal advisor and the opinions or views
contained herein are not intended to be, and do not constitute, advice within
the meaning of Section 975 of the Dodd-Frank Wall Street Reform and Consumer
Protection Act. If you have received this communication in error, please destroy
all electronic and paper copies and notify the sender immediately.
Mistransmission is not intended to waive confidentiality or privilege. Morgan
Stanley reserves the right, to the extent required and/or permitted under
applicable law, to monitor electronic communications, including telephone calls
with Morgan Stanley personnel. This message is subject to the Morgan Stanley
General Disclaimers available at the following link:
http://www.morganstanley.com/disclaimers.  If you cannot access the links,
please notify us by reply message and we will send the contents to you. By
communicating with Morgan Stanley you acknowledge that you have read, understand
and consent, (where applicable), to the foregoing and the Morgan Stanley General
Disclaimers.


Docker overlay native diff disabled resulting image build failure

Description
Docker storage native overlay diff is disabled by default
Impact
Some Docker image build failed for error layer doesn't exist.
Environment and steps to reproduce

Set-up:

Launch an EC2 instance from Flatcar-stable-2765.2.5.

Task:

Build a Docker image with below Dockerfile:
# echo hello > 1
# cat <<EOF > Dockerfile
FROM scratch AS base
COPY 1 /1
FROM base
# "useless" copy works ...
COPY --from=base /1 /1
# ... and the COPY statement after it fails
COPY 1 /2
EOF

# docker build -t mytest .
Sending build context to Docker daemon  3.072kB
Step 1/5 : FROM scratch AS base
 --->
Step 2/5 : COPY 1 /1
 ---> 6fe1b1fd9cab
Step 3/5 : FROM base
 ---> 6fe1b1fd9cab
Step 4/5 : COPY --from=base /1 /1
 ---> 12bd28054ffd
Step 5/5 : COPY 1 /2
failed to export image: failed to create image: failed to get layer sha256:ec22588dcfceca289a1df0a426789512fd73560b296eb6a64b60b14b316be019: layer does not exist

Notice overlay module features redirect_dir and metacopy are enabled and docker reports native overlay diff is disabled.
# cat /sys/module/overlay/parameters/redirect_dir
Y
# cat /sys/module/overlay/parameters/metacopy
Y
# docker info
......
Server:
......
 Server Version: 19.03.15
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: false

Expected behavior
Expect the Docker image be built successfully
Additional information
The same Docker image can be built without issue by turning off overlay module features redirect_dir and metacopy.
# echo N > /sys/module/overlay/parameters/redirect_dir
# echo N > /sys/module/overlay/parameters/metacopy
# systemctl restart docker
# docker build -t mytest .
Sending build context to Docker daemon  3.072kB
Step 1/5 : FROM scratch AS base
 --->
Step 2/5 : COPY 1 /1
 ---> Using cache
 ---> 6fe1b1fd9cab
Step 3/5 : FROM base
 ---> 6fe1b1fd9cab
Step 4/5 : COPY --from=base /1 /1
 ---> Using cache
 ---> 12bd28054ffd
Step 5/5 : COPY 1 /2
 ---> bf943f2dd295
Successfully built bf943f2dd295
Successfully tagged mytest:latest

Notice now Docker reports that native overlay diff is enabled
# docker info
......
Server:
......
 Server Version: 19.03.15
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
......

Please add any information here that does not fit the above format.
The change that enabled the two overlay features is https://github.com/kinvolk/coreos-overlay/pull/691. Related issue https://github.com/kinvolk/Flatcar/issues/170

This looks like an upstream issue to me.
Related:
issue: https://github.com/moby/moby/issues/37965
PR: https://github.com/moby/moby/pull/34342


Add qualified policy type name

Kyverno policies are also just called "policy", so the tests need to be
a little more specific when dealing with open-cluster-management.io
policies through kubectl commands.
Refs:

https://github.com/stolostron/backlog/issues/23005

Signed-off-by: Justin Kulikauskas<EMAIL_ADDRESS>

/retest-required

• [FAILED] [55.746 seconds]
GRC: [P1][Sev1][policy-grc] Test the kyverno generator policies [policy-collection, stable]
/go/src/github.com/stolostron/governance-policy-framework/test/integration/policy_kyverno_generators_test.go:19
  Test stable kyverno generator policies
  /go/src/github.com/stolostron/governance-policy-framework/test/integration/policy_kyverno_generators_test.go:37
    [It] Install Kyverno on the managed cluster
    /go/src/github.com/stolostron/governance-policy-framework/test/integration/policy_kyverno_generators_test.go:38

  Begin Captured GinkgoWriter Output >>
    STEP: Creating kyverno resources by deploying the community policy 06/07/22 21:46:13.314
    STEP: Checking that policy-install-kyverno exists on the Hub cluster 06/07/22 21:46:17.102
    STEP: Patching remediationAction = enforce on the root policy 06/07/22 21:46:17.127
    STEP: Patching the kyverno subscription's placement rule in the policy 06/07/22 21:46:17.16
    STEP: Checking that placementrule kyverno-placement-1 exists on the Hub cluster 06/07/22 21:46:22.947
    STEP: Patching the actual placement rule 06/07/22 21:46:29.116
    STEP: Checking if the status of the root policy is Compliant 06/07/22 21:46:34.932
    STEP: Checking that kyverno deployment exists on the managed cluster 06/07/22 21:46:39.059
  << End Captured GinkgoWriter Output

  Timed out after 30.001s.
  Expected
      <*errors.StatusError | 0xc00089a6e0>: {
          ErrStatus: {
              TypeMeta: {Kind: "Status", APIVersion: "v1"},
              ListMeta: {
                  SelfLink: "",
                  ResourceVersion: "",
                  Continue: "",
                  RemainingItemCount: nil,
              },
              Status: "Failure",
              Message: "deployments.apps \"kyverno\" not found",
              Reason: "NotFound",
              Details: {Name: "kyverno", Group: "apps", Kind: "deployments", UID: "", Causes: nil, RetryAfterSeconds: 0},
              Code: 404,
          },
      }
  to be nil

This failure has happened more than once, fyi @gparvin

/unhold

/retest
New failure!
• [FAILED] [308.492 seconds]
GRC: [P1][Sev1][policy-grc] Test the ACM Hardening generated PolicySet in an App subscription [policy-collection, stable]
/go/src/github.com/stolostron/governance-policy-framework/test/integration/policy_generator_acm_hardening_test.go:52
  [It] Sets up the application subscription
  /go/src/github.com/stolostron/governance-policy-framework/test/integration/policy_generator_acm_hardening_test.go:73

  Begin Captured GinkgoWriter Output >>
    STEP: Verifying that the subscription-admin ClusterRoleBinding exists 06/08/22 16:43:14.312
    STEP: Verifying that the managed cluster set binding ClusterRole exists 06/08/22 16:43:14.337
    STEP: Cleaning up any existing subscription-admin user config 06/08/22 16:43:14.361
    STEP: Creating a subscription-admin user and configuring IDP 06/08/22 16:43:14.568
    STEP: Cleaning up the changes made to the cluster in the test 06/08/22 16:48:15.21
  << End Captured GinkgoWriter Output

  Timed out after 300.001s.
  Expected
      <*errors.errorString | 0xc0004b6220>: {
          s: "failed to login: Login failed (401 Unauthorized)\nVerify you have provided correct credentials.\n",
      }
  to be nil

FYI: The new failure matches this issue:

https://github.com/stolostron/backlog/issues/22960


URL of codelabtalaqalotaibi

URL of codelab
In which task and step of the codelab can this issue be found?
Describe the problem
Steps to reproduce?

Go to...
Click on...
See error...

Versions
Android Studio version:
API version of the emulator:
Additional information
Include screenshots if they would be useful in clarifying the problem.
Originally posted by @qygce8-juffIh-kubcom in https://github.com/google-developer-training/basic-android-kotlin-compose-birthday-card-app/issues/62

@qygce8-juffIh-kubcom
Thanks for your feedback! We will investigate and update as appropriate.
Since this channel is for driving improvements towards MS Docs, could you provide the URL of the specific documentation that your feedback is applicable to? That way, we are able to make sure your feedback is addressed by the right team


celes: key mappings

F11
F12
Home
End
Page Up
Page Down
Insert
Delete

I can do what I need to for now, not sure I even need these keys


Move left when exiting insert mode

As mentioned in #694 using the vi editor mode does not match the behavior of the vim/vi CLI editors.

Does the second checkbox mean this PR is not finished?

Updated, will stay as it is

@stormasm I don't use vi mode. Any thoughts on this change?

@andreistan26 can you please make sure the code you are changing still works fine with all of the latest changes that we have landed in Reedline recently ?  In other words merge your code back into the latest main so we can have the CI run again.  And test your code to make sure it works as you think it should....
Thank you !

Rebased and tested

@andreistan26 Thank you for checking the code one more time prior to us landing...
have a nice weekend 😄


feat: more editors

Converted to nested array - supabase doesn't like it in generated types so I manually updated after generation


Get current open file/project

Is there a way through the extension to get the filename and path to the currently open file or project in the editor? Something like pathlib.Path.cwd doesn't work if the user navigates to a different project within VSCode

I believe there's ActiveTextEditor.document to get the currently opened text document

Currently, the Python script you write has the default file path set to the home directory. In #25 I mentioned I have created a fox for this, and I plan on opening a PR for it. Maybe @CodeWithSwastik can comment on this. My approach to implementing this is to grab the vscode workspace directory in JavaScript and pass it in as an input argument to the Python script. From there, the Python script sets the working directory to the vscode workspace directory.

active_text_editor = await ctx.window.active_text_editor
file_name = active_text_editor.document.fileName


How do i make attacks?

I'm recently trying finite state machine for my game and i'm wondering how can i create special abilities like attack that gets played only when they called?

Hey there
Hmm, one way to do this would be to have an "Attack" state in the FSM that plays the attack animation, and transition away from the state as soon as the animation is finished.
There may be a couple of bits and pieces missing to make this work (e.g. forcing a transition away from a state if the animation is finished in a non-hacky way), No promises (it's being a pretty busy month) but I'll try to put together an "attack" example this weekend and make a new crate version with the missing API.

I'm so happy that you answered 😄
I appreciate your trying to put effort into an issue that simply asking for something. I'm afraid I may have annoyed you while you were busy.
I hope you continue to evolve this crate since it's one of the most fantastic crates out there 😉

Thanks, I appreciate the kind words :)

I'm afraid I may have annoyed you while you were busy.

Not at all! I always enjoy hearing about what other people are building with my crates, and questions like these help me understand what needs to be improved or explained better.
In any case, I imagine your use-case is pretty common, so we'll need to have an "Attack" example sooner or later


London 9 - Mo Mahboobian - Full-Stack-Project-Assessment - Week 3

Volunteers: Are you marking this coursework? You can find a guide on how to mark this coursework in HOW_TO_MARK.md in the root of this repository
Your Details

Your Name: Mo Mahboobian
Your City: London
Your Slack Name: Mo Mahboobian

Homework Details

Module: SQL - Full-Stack-Project-Assessment
Week: Week 3 - Level 300

Notes

What did you find easy?

What did you find hard?

What do you still not understand?

Any other notes?

Hi @sampennington
request code review, Please


Change external domain to be YOUR_CF_APPS_DOMAIN

Change external domain to be YOUR_CF_APPS_DOMAIN in place of YOUR_CF_SYSTEM_DOMAIN.
The broker register errand fails when using system domain for the external domain.

Thanks for the pull request - this was fixed as part of this commit: https://github.com/pivotal-cf/cf-redis-release/commit/5c366c66bae6486e90a87925ccb0748c988ebbf0
The broker now correctly uses the system_domain rather than the apps_domain.


DEV: Update to 5.3.0rc1

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

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

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

@vijaysm, maybe you saw this already but parallel tests are failing for linux (but not OSX for some reason):
imoab_coupler.cpp:31:10: fatal error: imoab_coupler_utils.hpp: No such file or directory
   31 | #include "imoab_coupler_utils.hpp"

Same error in OSX now.

Hooray!  Should I merge? That would let us do some local testing with the package if we wanted:
conda create -y -n test -c conda-forge/label/moab_dev -c conda-forge/label/tempest_dev moab=5.3.0rc1

We could. And do perhaps another PR when an official TR release happens. The MOAB tarball is the release candidate generated from the pre-release branch that is not yet merged to master.
Depending on how Paul releases TR (there is a pending PR there as well), there may be another PR in MOAB that will have to be merged to master before the release. But hopefully in the next round, we just need to upload locations/hashes and everything else should already be in place.


Hoverfly docker image

Hi,
I need to run hoverfly inside docker. I am not able to send any traffic to docker container host admin & proxy port.
Does server just listen to <IP_ADDRESS> only ?
Is there any option to bind server to all interfaces inside docker container ?

Hi @tommysitu,
I am trying to connect 2 dockers. One only with the hoverctl and the other with hoverfly. But the binding is impossible even with the -listen-on-host <IP_ADDRESS>. Do you know a solution for this?
Thanks in advance.

Hi @invoicesharing-developers, have you tried this:
$ docker pull spectolabs/hoverfly
$ docker run -d -p 8888:8888 -p 8500:8500 spectolabs/hoverfly:latest
$ hoverctl status

Please make sure you are using the latest hoverfly Docker image. The hoverfly version should be v0.15.1

Hi @tommysitu I am using v0.15.1 but is not possible to connect.
I have installed hoverctl in my machine and I am trying to connect to the hoverfly server (docker), both in the same machine. But is not possible the connection from hoverctl to hoverfly.
hoverctl status --> Could not connect to Hoverfly at http://<IP_ADDRESS>:8880
I think is a problem with docker.
Docker version 17.09.0-ce, build afdb6d4
Thanks.

Hi @invoicesharing-developers, hoverctl status by default connect to hoverfly admin API on localhost:8888. For connecting to other host and port, You can take a look at this tutorial: http://hoverfly.readthedocs.io/en/latest/pages/tutorials/advanced/remotehoverfly/remotehoverfly.html#remotehoverfly
If you can access the admin dashboard which in your case http://<IP_ADDRESS>:8880 on the browser, it means the Hoverfly is already running.

Hi,
I am new to hoverfly. I ran the docker image:
$ docker run -d -p 8888:8888 -p 8500:8500 spectolabs/hoverfly:latest
I then sshed into the container:
$ docker exec -it xxxxxxxxx bash
I cannot find hoverfly inside the container. I tried:
$ hoverfly -version
but it does not work.
What are the steps I need to follow to run hoverfly in the container?
Thanks,
Sanjay

Hi,
I am new to hoverfly. I ran the docker image:
$ docker run -d -p 8888:8888 -p 8500:8500 spectolabs/hoverfly:latest
I then sshed into the container:
$ docker exec -it xxxxxxxxx bash
I cannot find hoverfly inside the container. I tried:
$ hoverfly -version
but it does not work.
What are the steps I need to follow to run hoverfly in the container?
Thanks,
Sanjay

https://hoverfly.readthedocs.io/en/latest/pages/introduction/downloadinstallation.html
This Docker image does not contain hoverctl. Our recommendation is to have hoverctl on your host machine and then configure hoverctl to use the newly started Hoverfly Docker instance as a new target.

@amu007 when you use docker run -d -p 8888:8888 -p 8500:8500 spectolabs/hoverfly:latest to run hoverfly, the proxy should be running on localhost:8500, and admin API on localhost:8888, you can use hoverctl to control it on your host machine.


Make a new release for Swift Package Manager support

0399644 fixed a bug that broke SwiftPM support. However, the current release (2.0.0)  doesn't include this fix, therefore it is not possible to add PMJSON as a dependency of a SwiftPM project.
Could you add a tag (e.g. 2.1.0 ) to the repo please? :)
Thank you!

Done. Tagged as v2.0.1.


hub.docker.com Please push the latest image into it.

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
hub.docker.com 麻烦推送最新的镜像进去啊
Use case
hub.docker.com 麻烦推送最新的镜像进去啊
Related issues
hub.docker.com 麻烦推送最新的镜像进去啊
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

你来推动啊

@Zzm0809  我没这本事啊。。。。。。。。

@Zzm0809 我没这本事啊。。。。。。。。

那你先用本地部署呗

@xiechao240  哈哈哈，自己本地使用官方的dockerfile构建一下就行了，官方更新速度很慢的。


ParameterValues inherit from dict

If we make ParameterValues inherit from dict, then we can tab complete to find parameter values within ipython (and so Jupyter notebooks). N.B tab complete already works with model.variables in ipython and jupyter notebooks

I removed the inheritance from dict because it was causing problems with pickle and I read somewhere that it was better to define your own __getitem__, etc anyway. Happy to go back to dict if you can get it passing all the tests. Otherwise, it might be easier to just add a __dir__ or _ipython_key_completions_() method as suggested here

Ah cheers, will look into the key completions :) thought this was just a simple thing we missed.


Replace error-chain with failure

error-chain is going to be deprecated.
Using failure means it is easier to integrate with frameworks such as actix as well as requiring no boilerplate in end user binaries.

Sorry I forgot about the examples - I'll add a commit that fixes them.

I'm closing this PR in order to reissue it with all the contained commits squashed into one so as not to pollute the history.


fix: the clusterole name associated with clusterrolebinding is incorrect

Signed-off-by: 0xff-dev<EMAIL_ADDRESS>There are some problems here.

ServiceAccount is missing the namespace field. kustomize cannot normally replace the namespace of serviceAccount in clusterrolebinding.
role_binding.yaml ClusterRoleName isn't right.

@asararatnakar does this look correct?   I think the orderer test might also need an update to the ns.


quick save / load, free save

please add quick save/load anytime (hotkey), for example in emulators, the game is difficult for casual gamers

Speaking of the save states like in the emulator - cannot be done. Game is not running in the shared/virtual memory. I can only record chases with decreased difficulty.

but old games on PC (FPS, Stealth, Strategy) have free save / load

Speaking of the save states like in the emulator - cannot be done. Game is not running in the virtual memory. I can only record chases with decreased difficulty.

but old games on PC (FPS, Stealth, Strategy) have free save / load

They may have that because they have an entire system that save/restore system of objects and the game itself is very adapted for that (I developed similar systems prior to The Driver Syndicate). But it is complex - especially when you have to deal with the integrity and have to take car slots, mission states, random state, replays and other things into account. And it is unlike the emulator which is have to deal with only a "paused" CPU state, RAM state and GPU state which you can easily load up and continue.

Also, I haven't seen racing games using such mid-pursuit save states due to the breaking game design rule of challenge. For me it makes game even more uninteresting and dull with such comforts.


Don't try to upload if API token is empty

Thanks for this PR @bjhomer ! We'll try to have a look soon.


Test gcd fails with a diff in 'Total wirelength'

*** /usr/ports/cad/openroad/work/OpenROAD-2021_03_09_stable/src/FastRoute/test/gcd.ok   Tue Mar  9 10:14:44 2021
--- /usr/ports/cad/openroad/work/OpenROAD-2021_03_09_stable/src/FastRoute/test/results/gcd.log  Thu Mar 11 10:48:44 2021
***************
*** 34,39 ****
  [INFO GRT-0110] Final usage: 3332
  [INFO GRT-0111] Final number of vias: 1228
  [INFO GRT-0112] Final usage 3D: 7016
! [INFO GRT-0018] Total wirelength: 10266 um
  [INFO GRT-0014] Num routed nets: 563
! No differences found.
--- 34,41 ----
  [INFO GRT-0110] Final usage: 3332
  [INFO GRT-0111] Final number of vias: 1228
  [INFO GRT-0112] Final usage 3D: 7016
! [INFO GRT-0018] Total wirelength: 10264 um
  [INFO GRT-0014] Num routed nets: 563
! Differences found at line 3446.
!<PHONE_NUMBER>00<PHONE_NUMBER>00 metal1
!<PHONE_NUMBER>00<PHONE_NUMBER>00 metal1

Version: 2021.03.09
OS: FreeBSD 12.2

@tspyrou @maliberty Please, assign it to me

@eder-matheus can't you self-assign?

@maliberty No, I don't have any permissions in this repo