Missing types

Hi, I'm creating example for using the molviewspec Python package. All works fine and I'm getting correct code suggestions and types in IDE. But when I run mypy, it says types for molviewspec are missing.
@JonStargaryen could you have a look at this?
$ cat example.py
import molviewspec as mvs
builder = mvs.create_builder()

$ python -m mypy example.py
example.py:1: error: Skipping analyzing "molviewspec": module is installed, but missing library stubs or py.typed marker  [import-untyped]
example.py:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
Found 1 error in 1 file (checked 1 source file)

$ python -m pip freeze
molviewspec==0.1.3
mypy==1.8.0
mypy-extensions==1.0.0
pydantic==1.10.14
typing_extensions==4.9.0

By no means a fix but python -m mypy --ignore-missing-imports example.py deals with this.
From what I saw, py.typed should be part of the project if it's typed. It can be empty if types are part of the codebase, as is the case here. Anyway, this isn't good enough to get rid of the error but certainly good to have regardless. Might do some more digging if I find the time. Not sure how big of an issue this is. It happens for dependencies as well, which is the reason for ignore_missing_imports = True in our mypy.ini.


End user option to disable controller input in UWP apps, especially non-games.

Describe the bug
UWP Controller support cannot be disabled. leading to unwanted controller input in applications that have no business reading controller input, such as the Start menu. This can even lead to the random selection and unwanted scrolling when Windows interprets the inputs incorrectly.
Steps to reproduce the bug
Connect a DirectInput type of controller, hotas etc
Launch UWP app, or even start menu
Disconnect controller and watch cursor and scrolling go crazy
Expected behavior
Controller input in non games should be OPT IN and have the option to disable completely. Windows is after all a operating system and it is absurd to think we are all playing games all the time.
Screenshots

Version Info
Windows 10 1903
NuGet package version:

Windows 10 version
Saw the problem?

Insider Build (xxxxx)

May 2019 Update (18362)

October 2018 Update (17763)

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Device form factor
Saw the problem?

Desktop

Mobile

Xbox

Surface Hub

IoT

Additional context
STOP treating Microsoft PC's like game consoles!

This is absurd. I actually want UWP experiences to be controller capatible. You want Microsoft to disable something for a unlicensed third party app?

I want it to be opt in, as in optional, as in my computer isn't a game console so don't introduce bugs into simple start menu navigation when I don't want it....

UWP apps are designed more than just Windows desktops. Just unplug  your controller.

Unplugging the controller causes the random scrolling. I did mention that just like I mentioned that it should be opt in, not removed....

I have not seen these issues, when I use my controller on my PC (both laptop/desktop).
I play games sometimes in the middle of coding when I get stuck. When I get an idea or solution to my problem during the play, I'll switch to write code / note an idea using the chatpad on my controller (sometimes, I'll even run a quick debug of the program using the controller with chatpad), then I'll switch back to gaming.
To me, it was seamless, then again, It took a little while to adjust to the behaviors of the controller!

@JoshWobbles
You see, the root of the problem is not the input device, it's the bugs. So, ask @microsoft to fix the bugs.
Note: People will always use something we create in ways we didn't even imagine or we didn't want them to.
Sure, you can argue that I have not got the resources to support the other input devices, you don't have to, you just need to adjust their behavior to your application.
For system components such as Start Menu, File Explorer, Xbox App, you can file a feedback in the Insider Hub App.

Update
I read the other issues, I see what you got there, when using input mapping, these issues do happen because both the mapping app and system process the input simultaneously.
What I would do
Since UWP Apps support XInput, you can blacklist them from the Mapping app. So that the mapping doesn't apply to those apps. Do they support blacklisting apps? If not, you can request them. They would deliver them (sooner) instead of asking MSFT to do a feature addition to Windows itself.

Update
I read the other issues, I see what you got there, when using input mapping, these issues do happen because both the mapping app and system process the input simultaneously.
What I would do
Since UWP Apps support XInput, you can blacklist them from the Mapping app. So that the mapping doesn't apply to those apps. Do they support blacklisting apps? If not, you can request them. They would deliver them (sooner) instead of asking MSFT to do a feature addition to Windows itself.

https://github.com/microsoft/microsoft-ui-xaml/issues/1495#issuecomment-546594322

@Nirmal4G I dont use a mapping app for my HOTAS, it is natively supported in games.

@JoshWobbles
I know, I was talking in general, the side of input modality in windows, you know how the system calls intercept from the input devices and send them through driver filter and all that...!

@Nirmal4G I think you may be referring to a double input, which I am not experiencing, the issue I am having is that my throttle and sliders map to what Windows believes is a X & Y and is trying to navigate start menu and etc based on the position of the throttle and my air brake slider. When the HOTAS is unplugged these values must default to the maximum even though the device is no longer present because the start menu just scrolls all the way to the bottom as soon as it is opened with no input. Im guess whatever wrapper for the controller the UWP is creating is not being properly disposed on removal. Either way, I see this as a feature that should be optional because even my Space Navigator mouse has shown some weird behaviors now too.
Ive never had any success on the insider or feed back hub, ive been trying to get them to fix HDR and Dolby Atmos audio forever...

HDR and Dolby Atmos are known issues, so they'll fix them by next major update.

Im guess whatever wrapper for the controller the UWP is creating is not being properly disposed on removal.

This, they can do a fix.

HDR and Dolby Atmos are known issues, so they'll fix them by next major update.

I'm not holding my breath, been a mess for over a year now lol

I'm going to close this as a duplicate of #1495 - please see the last comment I put there before that issue was closed.  I'll work with the input team internally to get any additional information added to 1495.

Sorry for the double post. A developer in know that manages multiple other controller/device input projects has taken their time to help me figure out how to disable this for DS4 v1 controllers (ds4 v2 controllers, that have the light bar in the touch pad, don't have the issue of ui navigation input).
The developer that figured it out Is located here - https://steamcommunity.com/id/FirstPlato/ and here - https://forzatools.weebly.com/about.html
the developer is very knowledgeable and manages multiple projects regarding controller/device input and feedback. It is working great for me and works fine and doesn't require you to run a fix every time you reboot. It is a simple reg edit. And I REPEAT IT IS FOR DS4 v1 only (ds4 v2 doesn't have this issue).
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GameInput]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GameInput\Devices]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GameInput\Devices\054C05C400010005]
"Disabled"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GameInput\Devices\054C05C400010005\Gamepad]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GameInput\Devices\054C05C400010005\Gamepad\UINavigation]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GameInput\Devices\054C05C400010005\Gamepad\UINavigation\PrimaryUp]
"AxisIndex"=dword:00000012
"Inverted"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GameInput\Devices\054C05C400010005\UINavigation]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GameInput\Devices\054C05C400010005\UINavigation\PrimaryUp]
"AxisIndex"=dword:00000012
"Inverted"=dword:00000001

just copy paste the code into a .reg file named whatever you want, like "ds4_ui_fix.reg" and run it. Then unpair and reboot and pair and try it out.

May be you don't but @Microsoft does!

…egoist people like you have nothing to do on git repository sites…

Are you not one, then? 🧐

…OS is bad by design and people like you keeps denying the whole big issue with all that.

I'm not. Windows is made-for-profit by design. Understand that! and then, come yell at everyone. Besides, I'm not against you here. I pushed Xbox dev team hard with these issues and they actually respond.

I have to see people like you completely out of reality…

Please don't talk like you are the only one having problems! We acknowledge yours, so, why don't you do the same?
For instance, one of many issues that I've complained to the Xbox dev team like years ago, not 1, 2 but 7 years (since the launch of Xbox One) just been addressed! Yeah, it took that long. Do you really think, during that time, I didn't do what you just did? I did that and more. But it didn't work. Then, I got the chance to talk one-on-one with one of the engineers. I was able to convince them and got one of those issues fixed. I'm still in contact with them today. I give my feedback to them everytime.
So, all I'm asking you is be patient, try to connect with one of the engineers and use right words to convince them, instead of bad-mouthing them/us.

@shaheedmalik and @Nirmal4G
We really don't care about what works for you and your dumb useless workaround, I'm a video game dev, I do stuff with controller, this is a working machine not a random input party.

You're the one mad that an unofficial controller doesn't work with the Windows OS.  That's like asking for the keyboard input to be disabled because your unlicensed keyboard doesn't work correctly.

This feature is NOT usable as INCOMPLETE, this anti-feature shouldn't be enabled by default, my OS behaviour should not changed without my consent, and egoist people like you have nothing to do on git repository sites, we are not trying to determine what's your stuff, we are trying to determine what should be an acceptable OS behaviour for everyone.

You want all other developers to not to able to to use gamepads as input to suit you. Disable it in settings.

This is not complicated, consent, now with me, CONSENT, consent is mandatory not optionnal, I didn't subscribe to Microsoft's beta, I shouldn't have beta feature coming in my way, when I'm WORKING.

This issue has been going for 2 years now, still there is no fix, I waited on 7 as much as I can but python dropped support I had to switch to 10, last week has been a workaround party because the OS is bad by design and people like you keeps denying the whole big issue with all that.
This is so frustrating, not only working on this computer is a mess, but also I have to see people like you completely out of reality talking about Steam Input and stuffs on the microsoft forum to deny the fact that Microsoft shouldn't slide their broken stuffs (to say the least) into the OS.

Nobody here is talking about Steam Input. It's all about UWP input in UWP applications. If you want Steam to work correctly, contact the company that develops Steam. A guy above complained about an API not working correctly instead of bringing the problem up to have it fixed.

You're the one mad that an unofficial controller doesn't work with the Windows OS

Too bad, you are again wrong, and my controller is an official Xbox One controller. please talk to add infos to the issue, or just stop talking about it, now you look as skilled to reading than a Microsoft Agent from the MS forum (this is not a nice thing I tell you, I'll help you on this one).

That's like asking for the keyboard input to be disabled because your unlicensed keyboard doesn't work correctly.

This has nothing to do with hardware license, WTF, you should just read in fact, it just could help you understand.

Nobody here is talking about Steam Input. It's all about UWP input in UWP applications. If you want Steam to work correctly, contact the company that develops Steam. A guy above complained about an API not working correctly instead of bringing the problem up to have it fixed.

and there you go, gone in the same trap than Microsoft agents, if someone says "Steam" when talking about these anti-features from Microsoft, you just go out of bound. I'm not talking about steam, I'm talking about the facts that microsoft agents will tell you that Steam is the source of the issue, it's all over the net... but the issue itself IS:
WHY MY XBOX CONTROLLER CONTROLLER WINDOWS 10 UI WHEN I DON'T CARE ABOUT THIS FEATURE?

And now, tell me where and how I did wrong stuff to end up with this, and honestly, if you tell me that "this is not your problem because it works fine for you", it's definitive, you don't understand the goal of issues itself, and please stop cluttering that space!
Instead go to https://github.com/Prouk/NoProblemo, it's a space for people like you, those who want others to know they can perfectly live with the issue when we don't care about it and we juste want to (for example) BE ABLE DISABLE THE FEATURE

You're the one mad that an unofficial controller doesn't work with the Windows OS

Too bad, you are again wrong, and my controller is an official Xbox One controller. please talk to add infos to the issue, or just stop talking about it, now you look as skilled to reading than a Microsoft Agent from the MS forum (this is not a nice thing I tell you, I'll help you on this one).

That's like asking for the keyboard input to be disabled because your unlicensed keyboard doesn't work correctly.

This has nothing to do with hardware license, WTF, you should just read in fact, it just could help you understand.

Nobody here is talking about Steam Input. It's all about UWP input in UWP applications. If you want Steam to work correctly, contact the company that develops Steam. A guy above complained about an API not working correctly instead of bringing the problem up to have it fixed.

and there you go, gone in the same trap than Microsoft agents, if someone says "Steam" when talking about these anti-features from Microsoft, you just go out of bound. I'm not talking about steam, I'm talking about the facts that microsoft agents will tell you that Steam is the source of the issue, it's all over the net... but the issue itself IS:
WHY MY XBOX CONTROLLER CONTROLLER WINDOWS 10 UI WHEN I DON'T CARE ABOUT THIS FEATURE?
And now, tell me where and how I did wrong stuff to end up with this, and honestly, if you tell me that "this is not your problem because it works fine for you", it's definitive, you don't understand the goal of issues itself, and please stop cluttering that space!
Instead go to https://github.com/Prouk/NoProblemo, it's a space for people like you, those who want others to know they can perfectly live with the issue when we don't care about it and we just want to (for example) BE ABLE TO DISABLE THE FEATURE
PS: downvoting a post that talks about consent is pretty sick too

You're the one mad that an unofficial controller doesn't work with the Windows OS

Too bad, you are again wrong, and my controller is an official Xbox One controller. please talk to add infos to the issue, or just stop talking about it, now you look as skilled to reading than a Microsoft Agent from the MS forum (this is not a nice thing I tell you, I'll help you on this one).

That's like asking for the keyboard input to be disabled because your unlicensed keyboard doesn't work correctly.

This has nothing to do with hardware license, WTF, you should just read in fact, it just could help you understand.

Nobody here is talking about Steam Input. It's all about UWP input in UWP applications. If you want Steam to work correctly, contact the company that develops Steam. A guy above complained about an API not working correctly instead of bringing the problem up to have it fixed.

and there you go, gone in the same trap than Microsoft agents, if someone says "Steam" when talking about these anti-features from Microsoft, you just go out of bound. I'm not talking about steam, I'm talking about the facts that microsoft agents will tell you that Steam is the source of the issue, it's all over the net... but the issue itself IS:
WHY MY XBOX CONTROLLER CONTROLLER WINDOWS 10 UI WHEN I DON'T CARE ABOUT THIS FEATURE?
And now, tell me where and how I did wrong stuff to end up with this, and honestly, if you tell me that "this is not your problem because it works fine for you", it's definitive, you don't understand the goal of issues itself, and please stop cluttering that space!
Instead go to https://github.com/Prouk/NoProblemo, it's a space for people like you, those who want others to know they can perfectly live with the issue when we don't care about it and we just want to (for example) BE ABLE TO DISABLE THE FEATURE
PS: downvoting a post that talks about consent is pretty sick too

You're asking for an input feature that other developers use to be disabled because it annoys you. Instead of asking for the problem to be fixed in the Windows shell by the Shell team, you're asking for an API to be disabled to suit you.

News Flash: nobody is supposed to know that Windows' menus and settings are not UWP apps (if that's even true, because it shares the same shadow input event glitch)

Sadly the registry fix doesn't work for my device (PowerA wired controller, listed as generic XInput HID).
I tried 3 more places in the registry where I've  found the "GameInput" key. Triple checked the VIP PID numbers, reseted, unplugged, replugged into different USB connector. -> No luck.
So if I want to use my advanced xbox remote controller mapping to control my pc (the whole thing, not just 4 directions and 2 buttons ;), the best I can do for now is to avoid UWP Apps.
For Start Menu and explorer.exe, I can use Open Shell. For other Apps, like the Mail app it is easy to find a web alternative and use that from a non-UWP browser.
Seems like this one is a classic "if the mountain won't come to Muhammad" situation we got here. All about a single boolean bit of information.

I have been disappointed by this issue for years. I tried various fixes (old drivers helped somewhat, but only until next Windows 10 update, and only when the controller is connected with the USB cable), but no real solution - that is really up to Microsoft who designed the driver (but - as we all see - is reluctant to address their design issue).
Recently, I have found a workaround for my use case (which may not be typical, by the way). It is really not a solution. And I understand that other people may have different issues in different use cases. Yet, I decided I post my finding to help, or at least inspire, others.
The workaround is one off only - for the current session. It does not require installations or regedits.
The key idea of the workaround is that, as it surfaced when I fiddled around, the XBox Controller events are not passed to all users of the machine, but only to the user who logged in last.
If you do not already have more user accounts on your Windows 10 machine, you will need to create a second account to use this workaround. (With local admin rights, this is an easy exercise.)
Then you can just play around to resolve your particular issue. The ways to log-in another user may include:

Ctrl+Alt+Del | Switch user
RDP connection from a different machine (needs enabling)
...

(Please note that, for instance, an RDP re-connection to an already open session, is not a login.)
Just remember, only the user who logged in last gets the XBox Controller events. So, what you want to achieve is to direct those bloody keyboard-like events for UWP applications to where they don't hurt...

Why on earth does a plugged in xbox controller control UWP apps (and ONLY UWP apps). It moves the selection in start menu, settings, etc. and intervenes with own tooling. Why is there not even a setting to disable this?  Multiple topics can be found over the internet with zero solutions.

 This controller hijacking feature needs to be ripped out or fully implemented. If you pick the latter, still disable it until it's done. Windows needs to implement controller-to-mouse input as well, and allow the user to configure it.

For those still searching for a solution, the accepted answer here about a registry edit https://superuser.com/questions/1540608/disable-xbox-360-controller-in-uwp-apps-like-windows-store-and-start-menu finally solved it.

Are you sure this still works?  See my comment in https://github.com/microsoft/microsoft-ui-xaml/issues/1495#issuecomment-2236116284 as it looks like they may have broken it in newer Win10Pro 22H2 builds.

It still works for me on latest Windows 11

It doesn't work in Version 10.0.22621 Build 22621

This is crap. ..Until then, we need apps like Gopher , Steam, or xpadder, and we need Windows to not interfere or compete with that solution.
Another one with good reviews.. Xmouseron MS store.


Flat Storage Struct - prevent wrong mutations on nested structs

Fix #842

LGTM but since I created the PR, I cannot approve it


Update/swanky suite

This updates #132
Update Swanky suite pages in 3rd party tools section:

split the document into cli and node section
add clickable category in sidebars.js
update the docs to match those on docs.astar.network

The link checker doesn't seem to allow links to pages created in this PR, so I just removed that (since index page is linking to the subpages anyway).
Also fixed the broken link to Astar docs Shibuya network.

Thanks! Please merge whenever you are ready!

Sorry, I don't seem to have merging rights. Can only close and comment. Or there's a different way of doing it?

Thanks!


Security?

What exactly is stopping someone from logging into the github account that you have exposed in the code and just deleting the repository?

see also: https://news.ycombinator.com/item?id=12764059
Basically: Nothing but your moral.

I commented on your pull request with a possible way to get around github deleting the oauth token

Yep, you can use this with a private git repository and collaborators and such by forking the project, which would allow security, but the way it's set up here it's completely insecure. Incidentally, over the weekend someone did in fact delete the chat messages repository.


Cannot lxc pull file with "+" character

Required information

Distribution: Ubuntu
Distribution version: Xenial (+lxd-stable ppa)
The output of "lxc info" or if that fails:

config: {}
api_extensions:
- storage_zfs_remove_snapshots
- container_host_shutdown_timeout
- container_syscall_filtering
- auth_pki
- container_last_used_at
- etag
- patch
- usb_devices
- https_allowed_credentials
- image_compression_algorithm
- directory_manipulation
- container_cpu_time
- storage_zfs_use_refquota
- storage_lvm_mount_options
- network
- profile_usedby
- container_push
- container_exec_recording
- certificate_update
- container_exec_signal_handling
- gpu_devices
- container_image_properties
- migration_progress
- id_map
- network_firewall_filtering
- network_routes
- storage
- file_delete
- file_append
- network_dhcp_expiry
- storage_lvm_vg_rename
- storage_lvm_thinpool_rename
- network_vlan
- image_create_aliases
- container_stateless_copy
- container_only_migration
- storage_zfs_clone_copy
- unix_device_rename
- storage_lvm_use_thinpool
- storage_rsync_bwlimit
- network_vxlan_interface
- storage_btrfs_mount_options
- entity_description
- image_force_refresh
- storage_lvm_lv_resizing
api_status: stable
api_version: "1.0"
auth: trusted
public: false
environment:
  addresses: []
  architectures:
  - x86_64
  - i686
  certificate: |
    -----BEGIN CERTIFICATE-----
    MIIFUDCCAzigAwIBAgIRAJtu+P0idhb0iTIgBYLb/xYwDQYJKoZIhvcNAQELBQAw
    NTEcMBoGA1UEChMTbGludXhjb250YWluZXJzLm9yZzEVMBMGA1UEAwwMcm9vdEB0
    b3Jrb2FsMB4XDTE3MDcwNTE4MDE0OVoXDTI3MDcwMzE4MDE0OVowNTEcMBoGA1UE
    ChMTbGludXhjb250YWluZXJzLm9yZzEVMBMGA1UEAwwMcm9vdEB0b3Jrb2FsMIIC
    IjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAymLlqDxDehC+5tI90jfUJ0cD
    09ubRFBPyFWzNSwMyFmowS1kNaoKiClvRcksT7YjqH6cCSmfUYGYo7PygWY7USbp
    1BH66MOkL6k5Ufz90yQcxJIFht8163OFV6gmwsyoLQys47mzfFb5X6/nsuYmEDdl
    jdqTJzfKgszqiVI4lTGlL5ZQ2iHBxtc/uIZQmygyZpDxPU878gC4PiABWwN/OQTl
    ITGiBFQutGIfvcm+Cb54eeoTAd6M6Nm/z4h05eaJqHe4ke1N9jBRY//syMwEGJea
    hludnqe3R0Kj7vgp+pDyswUrKTzhtPx7TS/CbytbDqCW6Uglkoy/bdeg7MhteBY/
    H56dsjwTqkBwTpL1Bba5vLT6WX4AslBIrnHbEcunkjmXvdA1I6xDF9WwIuXhZwG9
    rEzNTSEhi3lMAYYuNysu3zLL0+OSjGGCG61b1f2fzbDvKagrzTXbWcuak04FwtqD
    R+toscQi2xccOhy5TqXJ7Nm5cuHDVtM1anteN+KnCi4pnMG0/I135qGxOFD9wIIn
    bosepZ+0EWtTa+xUykRNdFRCDbDm+FBEjyJLKElC8w2zVwcKRsdcKjYHIL6bVrpG
    wdmP49lHhxoK+VzzFtMZot8ZBNxUS8KOghyyQEwWNayEs7+qkWw1yAuKqRNkRJlK
    9NRXLnHuQBaujcR8QCkCAwEAAaNbMFkwDgYDVR0PAQH/BAQDAgWgMBMGA1UdJQQM
    MAoGCCsGAQUFBwMBMAwGA1UdEwEB/wQCMAAwJAYDVR0RBB0wG4IHdG9ya29hbIcE
    CvWoEocEwKh6AYcECgADATANBgkqhkiG9w0BAQsFAAOCAgEAMZOuJSeERtj/68PP
    4wKPkf+QqNV03VXWzJh0WYd0wLWmjVOOQqeTw8tFfOOVSRkminpmKzMknkkb1GWv
    YCRZaw2xUE1bqKnpJgAPPqTdFbePkylOaKAa5qDeqTtn8EHeEnNZhIc90HvPZmcH
    f5dG3b+EYYyOAEdr2VKnu4wW07C5cIZSKivKFpttapcajqguRBfpQf1mn9hsKo5H
    KQRVJdylCtZ5z2/bWYHY8tuKobBdPCFQ/PUWZbJ63wzQA4RqoEUS6r9bxiPH/oWL
    brn0GvmlsY7Uwv3pBFjnO7uee2Zg0TuRLicV/qxiJKUEOKOTL/GC0ABqgzW3ragG
    zpnGJpiiqQd0vKO73U0gNniBrkYLYmUERpv5iT1Kp9ffWBhAdpNqiz1B6MhggguH
    TOYWJs2AgfS2oFTkN9nkPhH87vwvIR57GPZWwDBHbr6DxtX3Frt4LfDwhNvHtu+s
    Upmy7xAhrYgKZHv3yhsO6/ZsK1+JJfCWSv5VpDRqXPCZfjm4O0KdTGaxgprceEXm
    fL5D2KgCHDB/wcjSAfJTjNqSM8do/KFr9DPJ11FQ2UhIPuhr+1wij9fFHer8IQkd
    EHhLj3iD1m99lR6agr5HE3W0j8lmGovPNgUltoBLTKvOR1mdPbSJzODRjAzz/dD7
    5p6UFOfVwzzcKy9vNo17L6QoHAE=
    -----END CERTIFICATE-----
  certificate_fingerprint: 3c80197437b99daad4967475e9feec0f936c1a3d5dec5791a3adbaa9d125ef88
  driver: lxc
  driver_version: 2.0.8
  kernel: Linux
  kernel_architecture: x86_64
  kernel_version: 4.4.0-83-generic
  server: lxd
  server_pid: 27153
  server_version: "2.15"
  storage: zfs
  storage_version: <IP_ADDRESS>-0ubuntu16

Issue description
Attempting to pull a file with a "+" in the filename fails. This used to work :)
Steps to reproduce

lxc launch ubuntu-daily:x x
lxc exec x -- touch my+file
lxc file pull x/root/my+file .

Actual Results
"error: not found"
Expected results
The file should transfer over. Doing the same steps above, but with filename of "myfile' works as expected. The use case is pulling a built deb that has the '+' symbol in it out of a container (e.g. cloud-init-0.7.9+199.g4d9f24f-1.el7.centos.src.rpm)

I think we may have fixed that already as we had a similar report for spaces a few days ago which was fixed with URL encoding. Let me try with master.

stgraber@castiana:~/data/code/lxc/lxd (stgraber/master)$ touch 1+2
stgraber@castiana:~/data/code/lxc/lxd (stgraber/master)$ lxc file push 1+2 docker/root/
stgraber@castiana:~/data/code/lxc/lxd (stgraber/master)$ lxc file pull docker/root/1+2 .
So yeah, this has been fixed already.

I didn't include that commit in my last cherry-pick for Ubuntu as it didn't apply cleanly, but I'll tweak it and upload the fix now, I believe the conflict was only in the testsuite which can be ignored.

Thanks @stgraber!


Kendo Template scripts get messed up!

Hi,
I'm trying to beautify some code which uses kendo templates in HTML.
They are a kind of script tag which mixes html and javascript. The beautifier inserts spaces between the angular braces of some html element inside the tags. What can I do? Is this a bug/unsupported feature or a bad setting?
Example:

becomes

which causes my app not to display correctly.
Any solution is welcome! Thanks in advance

Fixed with #494.


Responsive width for mobile viewport

I love the component! Works really well
I'm trying to make the activity calendar width responsive to the parent div.
I see that there is a "narrow screen" example in the docs, but it doesn't show how to set that up.
The only way to do that right now is by reading the parent div width and slicing the data at the perfect length in order to make the activity calendar responsive to the mobile viewport.
Is there a way right now to do that? Is it possible to add a prop "width": 100% or "width": 375px?
Thanks!

Hey. Does the "narrow screen" example behave like you want it to? Or do want to work around horizontal scrolling? If the parent container is not wide enough for the component, horizontal scrolling should "just work". In the story the parent div simply has a fixed width of 480px:

Can you provide some example code to illustrate the issue better?
https://codesandbox.io/s/react-new

The activity calendar overflows outside of the parent div, but I fixed it by adding overflow-y: scroll; to the parent div. Good now!


Change markdown standard from GFM to CommonMark

Github Flavored markdown is not well defined and the page referred to by this specification that used to explain the differences between GFM and regular markdown has been removed by Github.  CommonMark is an attempt to create a well specified version of Markdown.  There is a detailed specification and many examples.  Using a style of markdown that is well documented and rigorously defined should make it easier for tooling writers to produce more consistent and compatible results.

👍

@ralfhandl  Well as far as I can tell GitHub Flavored Markdown already supports raw HTML tags.  That's what I used to format this line.  So there is nothing new there.

Well, in the meantime I tried my two favorite OpenAPI tools:

Swagger UI has no problems with raw HTML tables in descriptions
Swagger Editor completely ignores raw HTML tables in descriptions

Both accept GFM table syntax with the | separator character, with different degree of completeness.
Probably the spec should explicitly state that tools are expected to support CommonMark combined with raw HTML in descriptions.

Markdown, by definition, supports inline HTML, regardless of the flavor used. It seems CommonMark doesn't deviate from that support, so there's no need to explicitly mention it.

@darrelmiller can u rebase and merge!?


plugins show_on_dashboard variable

Just for UX, some plugins don't have a config

.

@LeOndaz , I'd like to contribute. I have time to take on a task; could you expand on this?

@keithmacinnis this #6802 is probably the easiet one to start with, it's simple, create and invoice and look closely to see the bug.

Closing as plugins are getting deprecated and won't be developed anymore.


GetChannelInfo fails if channel history has Block messages

Because GetChannelInfo includes recent messages, and blocks were just recently supported here, GetChannelInfo is failing, with the error:
json: cannot unmarshal object into Go struct field Message.blocks of type slack.Block

@alyosha #476 #490

my workaround for getting a list of members for a channel without GetChannelInfo:
slackAPI := slack.New(os.Getenv("SLACK_TOKEN"))
allUsers, _, err := slackAPI.GetUsersInConversation(&slack.GetUsersInConversationParameters{
	ChannelID: os.Getenv("SLACK_CHANNEL_ID"),
	Cursor:    "",
	Limit:     100,
})

This same error will occur for interaction callbacks, and any other method that tries to Un Marshall the block JSON into the Ock interface. Should be addressed in the same PR I mentioned in #490 thanks for the mention :+1:

can we confirm this has been fixed?

@khayyamsaleem are you able to confirm if this is fixed? Thanks.

@jwatroba i've since been using the workaround i mentioned, but I can try reverting and get back to you.

@khayyamsaleem any update on this?

@alyosha just confirmed, master's GetChannelInfo function works

great, closing.


Security governance (accessibility, privacy, CG alerts) for September

Security governance (accessibility, privacy, CG alerts) for September

Fixed the CG alerts!

The missing image on that screenshot is not my fault, but I'm happy to languish in the irony regardless.

The CG emails were incorrectly firing off dnceng instead of dnceng-public. So might be worthwhile checking if the latter is also clean if the above screenshot is not from there already.


find_multipaths should be explicitly set to no in multipath.conf to preserve functionality

Describe the bug
We run trident from master in our development Kubernetes cluster.
We saw from a recent commit: https://github.com/NetApp/trident/commit/2eee92b2f9c29c237e32dab5ec3be86632f8baf0
that the only value that is not supported for find_multipaths field in multipath configuration is yes and the rest should be ok to use.
We recently updated multipath tools to:
multipath-tools v0.8.5 (11/09, 2020)

which changed the default configuration to:
$ sudo multipathd show config | grep find_multipaths
        find_multipaths "strict"
        find_multipaths_timeout -10

With that configuration running we are not able to schedule and PVCs in our nodes.
Trident daemonset on our nodes can see the config fine:
time="2021-07-29T13:19:57Z" level=debug msg="Multipath find_multipaths value found." findMultipathsValue=strict requestID=3c018256-7202-4440-b4a9-f05f30b3e51e requestSource=CSI

but then it loops endlessly, since no path ever becomes available on the host, with the following logs:
time="2021-07-29T13:19:57Z" level=debug msg="Could not find multipath device for device." device=sdb requestID=3c018256-7202-4440-b4a9-f05f30b3e51e requestSource=CSI
time="2021-07-29T13:19:57Z" level=debug msg="<<<< osutils.findMultipathDeviceForDevice" device=sdb requestID=3c018256-7202-4440-b4a9-f05f30b3e51e requestSource=CSI
time="2021-07-29T13:19:57Z" level=debug msg=">>>> osutils.findMultipathDeviceForDevice" device=sdc requestID=3c018256-7202-4440-b4a9-f05f30b3e51e requestSource=CSI

From sudo multipath -v3 -d I can see the reason that this is not mapped by multipath as:
Jul 29 13:24:17 | sdi: orphan path, only one path

Explicitly setting find_multipaths no is enough to mitigate this.
Environment

Trident version: latest master
Container runtime: containerd://1.5.4
Kubernetes version: v1.21.0
OS: Flatcar Container Linux by Kinvolk 2905.2.0
NetApp backend types: Ontap 9.9.1

To Reproduce
Try scheduling PVCs on nodes with find_multipaths "strict" configured
Expected behavior
If our case is correct and we need find_multipaths no to work without surprises, this should be added in the respective host preparation doc: https://github.com/NetApp/trident/blob/master/docs/kubernetes/operations/tasks/worker.rst at least, and maybe there could be a check in the code against values that do not work?

Thank you @ffilippopoulos for the feedback and for identifying the issue related to the default find_multipaths strict value on Flatcar Container Linux by Kinvolk 2905.2.0.
The documentation has been updated to reflect find_multipaths no recommendation.
Commit: https://github.com/NetApp/trident/commit/1db87c6cd2989728854c225375bf63d3500aa134


Add hypersistence-utils-hibernate-63 module for Hibernate 6.3

These changes should make the code compatible with Hibernate 6.3 and fix #657.
Details:

As suggested in the issue discussion I have removed the PostgreSQLEnumType and deprecated it in the other Hibernate 6 modules.
The abstract base classes MutableType and DescriptorImmutableType now implement DomainType<T> instead of SqmExpressible<T>. It looks to me as though DomainType is a kind of SqmExpressible default implementation but I am a bit confused by all the different type interface hierarchies.
The explicit cast in the BindArrayTypeQueryParameterTest seems to be necessary, as i could find no way to register the custom function return type with the hibernate sqm.
I have updated the optional/test dependency versions in the new module  and  aligned them with the SpringBoot 3.2 BOM.

Thanks, I'll review it when I have some time.

Does it make sense to support 6.3 since hibernate already dropped support? Maybe go straight to 6.4?

@tmvlpl I'll merge this PR and create a new issue for 6.4.

Fixed.


Remove @simonswine from reviewers

@simonswine I've made this PR to save so many PRs being assigned to you, given you aren't actively working on the project. Feel free to open a new PR in future to get yourself added back in.
/assign @wallrj
NONE

/lgtm
Thanks @munnerz

/approve


Tensorflow Lite errors when running in iOS devices

Running my application in iOS device (iPhone 7 with iOS 14.4) it crashes when the model is processing the data.
I believe that happens due to Tensorflow Lite Errors (see output) but I have no idea how to fix it:
carolinaalbuquerque ~/Documents/audio_recognition_app (*main) > flutter run
Launching lib/main.dart on iPhone de Carolina in debug mode...
Automatically signing iOS for device deployment using specified development team in Xcode project: 5SSNTW7HP4
Running Xcode build...
 └─Compiling, linking and signing...                        19,5s
Xcode build done.                                           28,9s
(lldb) 2021-02-20 18:18:18.623713+0000 Runner[414:13363] Warning: Unable to create restoration in progress marker file
fopen failed for data file: errno = 2 (No such file or directory)
Errors found! Invalidating cache...
fopen failed for data file: errno = 2 (No such file or directory)
Errors found! Invalidating cache...
Installing and launching...                                        36,1s
Initialized TensorFlow Lite runtime.
TensorFlow Lite Error: Regular TensorFlow ops are not supported by this interpreter. Make sure you apply/link the Flex delegate before inference.
TensorFlow Lite Error: Node number 2 (FlexSize) failed to prepare.

Failed to create the interpreter with error: Failed to allocate memory for input tensors.
["0 Background Noise", "1 Bell", "2 Whistle", "3 Xylophone"]
Activating Dart DevTools...                                         5,9s
Syncing files to device iPhone de Carolina...                       176ms

Flutter run key commands.
r Hot reload. 🔥🔥🔥
R Hot restart.
h Repeat this help message.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).
An Observatory debugger and profiler on iPhone de Carolina is available at: http://<IP_ADDRESS>:53066/z1fkaZhV7VE=/

Flutter DevTools, a Flutter debugger and profiler, on iPhone de Carolina is available at:
http://<IP_ADDRESS>:9101?uri=http%3A%2F%2F<IP_ADDRESS>%3A53066%2Fz1fkaZhV7VE%3D%2F

Running with unsound null safety
For more information see https://dart.dev/null-safety/unsound-null-safety
requesting permission
start microphone
recordingBuffer length: 11008
recordingBuffer length: 22016
recordingBuffer length: 33024
recordingBuffer length: 44032
reached threshold
Running model
* thread #21, queue = 'conversionQueue', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
    frame #0: 0x00000001d6d0a128 libsystem_platform.dylib`_platform_memmove + 72
libsystem_platform.dylib`_platform_memmove:
->  0x1d6d0a128 <+72>: stnp   x12, x13, [x0]
    0x1d6d0a12c <+76>: stnp   x14, x15, [x0, #0x10]
    0x1d6d0a130 <+80>: subs   x2, x2, #0x40             ; =0x40
    0x1d6d0a134 <+84>: b.ls   0x1d6d0a158               ; <+120>
Target 0: (Runner) stopped.
Lost connection to device.

I am using a Google Teachable Machine model and I followed these steps for iOS configuration.
I have tested already in Android device and it works perfectly but I need to guarantee iOS support!

Hi @cmalbuquerque
the error that sticks out the most is:
TensorFlow Lite Error: Regular TensorFlow ops are not supported by this interpreter. Make sure you apply/link the Flex delegate before inference.
Most likely, your select ops haven’t configured correctly. Have you force load it? Instructions here

@Caldarie yes, I forced load as mentioned on documentation.

And after specify the force load, I run into iOS folder:
$ flutter pub get
$ pod install
$ flutter clean

To check whether it’s a bug or not, can you load your model and labels on the example application? Can you tell me if you receive the same error?

Yes @Caldarie, I tested using the example project and I had the same error... Also, I checked your iOS configurations for GTM models and are the same than mine. 😞

If it’s ok with you, would you be willing to share your model with me? It’s possible that google may of changed something, or the people responsible for iOS tensorflow made a breaking change.

Yes, of course! Maybe you're right and some update from them breaks something...
Here is my basic model: gtm_model.zip
Thanks! 😄

Hi @cmalbuquerque,
I was able to run your model fine (as shown on the image below).

There are few possibilities for your problem:

It's possible that your editor (vscode or xcode) has failed to detect your device and is running it on an emulator. To detect the device, you need to run a few steps: Instructions here

The other possibility is that your configuration may be incorrect. But i think that is the least likely considering that you ran it with my example

Another possibility is that you may have forgotten to add the following in your pubsec.yaml. However, i also think this is very very unlikely.

    - assets/soundclassifier.tflite
    - assets/labels.txt

Thanks! Could you tell me what's your Xcode version?
I reviewed all steps of my configuration and I noticed that when I run flutter pub get into /ios directory, it changes automatically the ios/Flutter/Release.xcconfig file to:
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include "Generated.xcconfig"

And running pod install:
carolinaalbuquerque ~/Documents/audio_recognition_app/ios (*main) > pod install
Analyzing dependencies
Downloading dependencies
Generating Pods project
Integrating client project
Pod installation complete! There are 3 dependencies from the Podfile and 5 total pods installed.

[!] CocoaPods did not set the base configuration of your project because your project already has
a custom config set. In order for CocoaPods integration to work at all, please either set the base
configurations of the target `Runner` to `Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig`
or include the `Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig` in your build configuration
(`Flutter/Release.xcconfig`).

Also, if I replace my ios/Flutter/Release.xcconfig file with yours, the same warning appears. The suggestion given by warning has already in file, so I don't understand what might be misconfigured 😞 Here is my Xcode configurations:

Input this code in release.xconfig
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"

Hmm, I’ll get back to you about this problem

@Caldarie thanks for your time!
I tried to reinstall Xcode, update pods and finally it works! Sorry for your time and thanks again! 😁

Glad I could be of assistance!


Add manifest to image digester.

The --manifest was added to fast_pusher_.py in 2acf47112aeadb8622aace2918310f93a668c8b3, but forgotten in image_digest_.py and image_digester_.py.
I'm not sure why image_digest_.py exists in the first place, it isn't used in any public rules. I'd also be happy to just drop the file.

Thanks a lot for this! Resolving internally.


Themes don't fully work

Ever since the new site design update, the themes no longer change all of the colors, thus, the site looks messy. For an example, try Dark then Warm theme on the front page (opensprites.org), and notice the cards don't change their backgrounds. This issue is not only with the Dark and Warm theme, I just used those two because they are the most different, and I wanted to show you that it is not just one theme's fault. :P

I'll try and fix this tommorow

I has fixed this, I shall do a push request.

Why do we need themes?
There a pain to keep updating

Lol whoops, accidently tapped close on my phone

Themes aren't really a priority.


wget is required

# Problem:
/bin/sh: 1: wget: not found
ERROR: Service 'redis-cluster' failed to build: The command '/bin/sh -c wget -qO redis.tar.gz http://download.redis.io/releases/redis-${redis_version}.tar.gz     && tar xfz redis.tar.gz -C /     && mv /redis-$redis_version /redis' returned a non-zero code: 127

# Solution
Insert wget on container installation.

+1 applying this PR fixed an issue in my case

Merged. Will make new images when i have processed the other PR:s


[wip] include more of Play

fyi @dwijnand. @adriaanm suggested a fresh attempt at including as much of Play as possible. the main idea is to help get ready for 2.13, but I'm starting here on 2.12 as a baseline.

https://scala-ci.typesafe.com/view/scala-2.12.x/job/scala-2.12.x-integrate-community-build/3824/ (404 for now)

before: [playframework] The following subprojects will be built in project playframework: Play-Streams, Play-Exceptions, Build-Link, Play, Play-Guice, Play-Server, Play-Netty-Server, Play-Akka-Http-Server, Play-Test, Play-WS, Play-Specs2, Play-Java, Play-Logback, Play-Cache, Play-Caffeine-Cache, Play-AHC-WS, Filters-Helpers, Play-JDBC-Api, Play-JDBC
after: These subprojects will be built: Play-Framework, Play-Docs-SBT-Plugin, SBT-Routes-Compiler, Run-Support, Play-Ehcache, Play-JCache, Play-Microbenchmark, Play-Integration-Test, Play-OpenID, Filters-Helpers, Play-AHC-WS, Play-Caffeine-Cache, Play-Cache, Play-Java-Forms, Play-Java-JPA, Play-JDBC-Evolutions, Play-Java-JDBC, Play-Java, Play-Akka-Http2-Support, Play-Docs, Play-JDBC, Play-Joda-Forms, Play-Logback, Play-Specs2, Play-WS, Play-Test, Play-Akka-Http-Server, Play-Netty-Server, Play-Server, Play-JDBC-Api, Play-Guice, Play, Build-Link, Play-Exceptions, Play-Streams, Routes-Compiler

in Play-Integration-Test
looks like it's happening during FormFieldOrderSpec
[playframework:error] java.lang.NoSuchMethodError: sun.security.ssl.SSLSessionImpl.<init>(Lsun/security/ssl/ProtocolVersion;Lsun/security/ssl/CipherSuite;Ljava/util/Collection;Ljava/security/SecureRandom;Ljava/lang/String;IZ)V
[playframework:error] 	at sun.security.ssl.ServerHandshaker.clientHello(ServerHandshaker.java:787)
[playframework:error] 	at sun.security.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:232)
[playframework:error] 	at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1052)
[playframework:error] 	at sun.security.ssl.Handshaker$1.run(Handshaker.java:992)
[playframework:error] 	at sun.security.ssl.Handshaker$1.run(Handshaker.java:989)
[playframework:error] 	at java.security.AccessController.doPrivileged(Native Method)
[playframework:error] 	at sun.security.ssl.Handshaker$DelegatedTask.run(Handshaker.java:1467)
[playframework:error] 	at akka.stream.impl.io.TLSActor.runDelegatedTasks(TLSActor.scala:404)
[playframework:error] 	at akka.stream.impl.io.TLSActor.doUnwrap(TLSActor.scala:373)
[playframework:error] 	at akka.stream.impl.io.TLSActor.doInbound(TLSActor.scala:292)
[playframework:error] 	at akka.stream.impl.io.TLSActor.$anonfun$bidirectional$1(TLSActor.scala:227)
[playframework:error] 	at akka.stream.impl.Pump.pump(Transfer.scala:201)
[playframework:error] 	at akka.stream.impl.Pump.pump$(Transfer.scala:199)
[playframework:error] 	at akka.stream.impl.io.TLSActor.pump(TLSActor.scala:50)
[playframework:error] 	at akka.stream.impl.SimpleOutputs$$anonfun$downstreamRunning$1.applyOrElse(ActorProcessor.scala:239)
[playframework:error] 	at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:38)
[playframework:error] 	at akka.stream.impl.SubReceive.apply(Transfer.scala:18)
[playframework:error] 	at akka.stream.impl.FanOut$OutputBunch$$anonfun$subreceive$1.applyOrElse(FanOut.scala:231)
[playframework:error] 	at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:38)
[playframework:error] 	at akka.stream.impl.SubReceive.apply(Transfer.scala:18)
[playframework:error] 	at akka.stream.impl.SubReceive.apply(Transfer.scala:14)
[playframework:error] 	at scala.PartialFunction.applyOrElse(PartialFunction.scala:127)
[playframework:error] 	at scala.PartialFunction.applyOrElse$(PartialFunction.scala:126)
[playframework:error] 	at akka.stream.impl.SubReceive.applyOrElse(Transfer.scala:14)
[playframework:error] 	at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:176)
[playframework:error] 	at akka.actor.Actor.aroundReceive(Actor.scala:517)
[playframework:error] 	at akka.actor.Actor.aroundReceive$(Actor.scala:515)
[playframework:error] 	at akka.stream.impl.io.TLSActor.aroundReceive(TLSActor.scala:50)
[playframework:error] 	at akka.actor.ActorCell.receiveMessage(ActorCell.scala:588)
[playframework:error] 	at akka.actor.ActorCell.invoke(ActorCell.scala:557)
[playframework:error] 	at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:258)
[playframework:error] 	at akka.dispatch.Mailbox.run(Mailbox.scala:225)
[playframework:error] 	at akka.dispatch.Mailbox.exec(Mailbox.scala:235)
[playframework:error] 	at akka.dispatch.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
[playframework:error] 	at akka.dispatch.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
[playframework:error] 	at akka.dispatch.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
[playframework:error] 	at akka.dispatch.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

https://scala-ci.typesafe.com/view/scala-2.12.x/job/scala-2.12.x-integrate-community-build/3826/consoleFull

[playframework:error] java.lang.NoSuchMethodError: sun.security.ssl.SSLSessionImpl.(Lsun/security/ssl/ProtocolVersion;Lsun/security/ssl/CipherSuite;Ljava/util/Collection;Ljava/security/SecureRandom;Ljava/lang/String;IZ)V

sounds like a jdk incompatibility?

@dwijnand some Oracle vs OpenJDK thing, you think?

Can't remember but check one of the latest PRs in akka-grpc where @raboof ran into it.  I think it might be the broken jdk (can't remember if oracle or open) in Ubuntu that we expect Canonical will fix.

Reminds me of https://github.com/jetty-project/jetty-alpn/issues/22 and https://github.com/eclipse/jetty.project/issues/3100#issuecomment-440634414 indeed

@dwijnand can you see which test I need to disable in order for https://scala-ci.typesafe.com/view/scala-2.12.x/job/scala-2.12.x-integrate-community-build/3826/consoleFull to progress farther? it isn't obvious to me from the log

Play-Integration-Test/test:test.  Can't tell either more specifically that that.


Add tsx and jsx

Could you please extend the snippets to typescript react? let me know if you want me to make a PR.
Thanks

Hi.
Please make a PR. I'll add it soon.
Thanks for trying it out.
On Sun, Apr 11, 2021, 6:25 PM Mustafa @.***> wrote:

Could you please extend the snippets to typescript react? let me know if
you want me to make a PR.
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/AkmarNafi/comment-headers/issues/3, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE3NBR4VCSHLYGFP6TOVXH3TIGL3VANCNFSM42XUIUTQ
.

Hey, your fix didn't work for me. This PR adds support that works
https://github.com/AkmarNafi/comment-headers/pull/10


Fix C++11 support detection for Visual Studio compilers

Simply checking on the value of the __cplusplus preprocessor variable when using MSVC
is not reliable to detect C++11 support. Checking on the definition of the _MSVC_LANG one is
more robust as it was not the case before Visual Studio 2015 which is the first release to
fully implement C++11 specifications.
Without that fix, the following errors were reported after upgrading to utfcpp 3.1 when building
with MSVC on the software I am working on (CI build details here):
c:\projects\talipot\thirdparty\utf8-cpp\utf8/checked.h(79): error C2676: binary '++': 'octet_iterator' does not define this operator or a conversion to a type acceptable to the predefined operator [C:\projects\talipot\build\library\talipot-core\src\talipot-core-1_0.vcxproj]
c:\projects\talipot\thirdparty\utf8-cpp\utf8/checked.h(81): error C2676: binary '++': 'octet_iterator' does not define this operator or a conversion to a type acceptable to the predefined operator [C:\projects\talipot\build\library\talipot-core\src\talipot-core-1_0.vcxproj]
c:\projects\talipot\thirdparty\utf8-cpp\utf8/checked.h(82): error C2676: binary '++': 'octet_iterator' does not define this operator or a conversion to a type acceptable to the predefined operator [C:\projects\talipot\build\library\talipot-core\src\talipot-core-1_0.vcxproj]
c:\projects\talipot\thirdparty\utf8-cpp\utf8/checked.h(85): error C2676: binary '++': 'octet_iterator' does not define this operator or a conversion to a type acceptable to the predefined operator [C:\projects\talipot\build\library\talipot-core\src\talipot-core-1_0.vcxproj]
c:\projects\talipot\thirdparty\utf8-cpp\utf8/checked.h(86): error C2676: binary '++': 'octet_iterator' does not define this operator or a conversion to a type acceptable to the predefined operator [C:\projects\talipot\build\library\talipot-core\src\talipot-core-1_0.vcxproj]
c:\projects\talipot\thirdparty\utf8-cpp\utf8/checked.h(87): error C2676: binary '++': 'octet_iterator' does not define this operator or a conversion to a type acceptable to the predefined operator [C:\projects\talipot\build\library\talipot-core\src\talipot-core-1_0.vcxproj]
c:\projects\talipot\thirdparty\utf8-cpp\utf8/checked.h(90): error C2676: binary '++': 'octet_iterator' does not define this operator or a conversion to a type acceptable to the predefined operator [C:\projects\talipot\build\library\talipot-core\src\talipot-core-1_0.vcxproj]
c:\projects\talipot\thirdparty\utf8-cpp\utf8/checked.h(91): error C2676: binary '++': 'octet_iterator' does not define this operator or a conversion to a type acceptable to the predefined operator [C:\projects\talipot\build\library\talipot-core\src\talipot-core-1_0.vcxproj]
c:\projects\talipot\thirdparty\utf8-cpp\utf8/checked.h(92): error C2676: binary '++': 'octet_iterator' does not define this operator or a conversion to a type acceptable to the predefined operator [C:\projects\talipot\build\library\talipot-core\src\talipot-core-1_0.vcxproj]
c:\projects\talipot\thirdparty\utf8-cpp\utf8/checked.h(93): error C2676: binary '++': 'octet_iterator' does not define this operator or a conversion to a type acceptable to the predefined operator [C:\projects\talipot\build\library\talipot-core\src\talipot-core-1_0.vcxproj]

For situations when a compiler does not specify __cplusplus correctly, you can set UTF_CPP_CPLUSPLUS yourself and it will be taken into account by utfcpp library.

Oh I see, I did not read the doc carefully. Sorry for the  noise.


How to configure Ganache CLI for Rinkeby?

How to configure Ganache CLI for Rinkeby?
I have tried this ganache-cli -i 4 where 4 is the network-id of Rinkeby.

I don't understand your question, Ganache-Cli creates its own private test network

@harikrishnanp ganache-cli it's not the implementation of a light-node / node. You can't configure it to connect to Rinkeby.
You must setup a node with geth / parity / others.

Thanks @alejoamiras and @Uxio0 for clearing this up!
Like they said, ganache-cli currently only creates a private blockchain. You cannot currently use it like a node/client.


Non ASCII characters in topic names not handled well when creating datasource channel id

If a topic contains a non-ascii character, that character has to be removed or changed prior to creating a channel id. When the topic is used directly that means that any topic with such characters is invalid. Particularly, this is annoying if you want to monitor any builtin topics from MQTT such as $SYS/broker/....
Channel ID requirements detailed here.
Location in this codebase where invalid channel ID is created.

The problem is that grafana query to backend datasources do not allow this characters. They also do not allow + and #.
I added support for this two characters by changing them in the frontend to something like __PLUS and __HASH and in the backend reverted this.


Auth0 Lock gets stuck with ember-cli-mirage

I added ember-cli-mirage to my project to be able to write better acceptance tests, but I am running into an issue with the Lock just hanging.
First the issue was with the requests to my-domain.auth0.com being hijacked by mirage and faker.
Adding this to the app/mirage/config.js resolved that issue:
 this.passthrough('https://' + ENV['auth0-ember-simple-auth'].domain +'/**');

BUT, now I don't see any errors and the Lock widget is stuck on a spinner.
Did anyone have this issue?

We ran into this same thing. The reason for this is because under the hood of lock.js they are using the reqwest library which pretender does not work well with.

@seawatts how did you guys solve this? do I need to ditch Auth0 Lock?

We just do this https://github.com/auth0/auth0-ember-simple-auth/issues/44


Code Pipeline fails using reference sample config

Describe the bug
Code Pipeline Prepare stage failed with error message
[Container] 2022/07/19 13:22:49 Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command: if [ ! -z "${ACCELERATOR_STAGE}" ]; then yarn run ts-node --transpile-only cdk.ts synth --stage $ACCELERATOR_STAGE --require-approval never --config-dir $CODEBUILD_SRC_DIR_Config --partition aws; fi. Reason: exit status 1
To Reproduce
After initial deployment of landing-zone-accelerator I then utilised the reference sample configuration, replacing aws region and email addresses in the relevanlt configuration yaml files.
I then went to the codepipline and performed a release change
Expected behavior
Using the reference sample configuration I expected the codepipeline to deploy the relevant configuration
Please complete the following information about the solution:

[Version: v1.0.1

To get the version of the solution, you can look at the description of the created CloudFormation stack. For example, "(SO0021) - Video On Demand workflow with AWS Step Functions, MediaConvert, MediaPackage, S3, CloudFront and DynamoDB. Version v5.0.0". If the description does not contain the version information, you can look at the mappings section of the template:
Mappings:
  SourceCode:
    General:
      S3Bucket: "solutions"
      KeyPrefix: "video-on-demand-on-aws/v5.0.0"

[ ] Region: sa-east-1
[ ] Was the solution modified from the version published on this repository? No
[ ] If the answer to the previous question was yes, are the changes available on GitHub?
[ ] Have you checked your service quotas for the sevices this solution uses? No.. Is there any particular service and I need to check
[ ] Were there any errors in the CloudWatch Logs? No

Screenshots
If applicable, add screenshots to help explain your problem (please DO NOT include sensitive information).
Additional context
Add any other context about the problem here.

Thank you @anyunt for reporting this issue.
Please provide more info from the failed AWS CodeBuild logs. Specifically, earlier in the logs, you should see some error messages that can clue you into what happened.

Is there any update to this? I'm getting the same error on the same step with the latest version (1.2.0). Here is the log file with a bit more information. Same error though.
Log.txt

Same here with similar log outputs.

@boyobejamin I managed to fix this. I had the wrong emails entered when using the CloudFormation template. Steps I took to fix this:

Make sure everything is cleared from any previous AWS LZ accelerator CloudFormation stack running. If there are any leftover resources, things will fail (leftover pipelines, SNS policies, S3 buckets, etc.).
Use AWS Control Tower, and create a basic landing zone with an Audit and Log Archive account (walk through the default steps). Use unique emails for these accounts.
Use the CloudFormation LZ accelerator template. When it asks for emails, make sure everything matches. Management account email is listed in Control Tower, same with Audit and Log Archive accounts. The 'Approval' email can be whatever you want. Just use your own.

It is a weird fix, but that's what worked for me. I hope this helps. And don't use AWS Organizations. Use Control Tower.

Amazing. Good call out @djer34 , I had initially setup different groups so certain folks could opt in or out of specific categories of messaging/access.
I was able to get farther by setting them all to the same addr.

@boyobejamin I managed to fix this. I had the wrong emails entered when using the CloudFormation template. Steps I took to fix this:

Make sure everything is cleared from any previous AWS LZ accelerator CloudFormation stack running. If there are any leftover resources, things will fail (leftover pipelines, SNS policies, S3 buckets, etc.).
Use AWS Control Tower, and create a basic landing zone with an Audit and Log Archive account (walk through the default steps). Use unique emails for these accounts.
Use the CloudFormation LZ accelerator template. When it asks for emails, make sure everything matches. Management account email is listed in Control Tower, same with Audit and Log Archive accounts. The 'Approval' email can be whatever you want. Just use your own.

It is a weird fix, but that's what worked for me. I hope this helps. And don't use AWS Organizations. Use Control Tower.

I have the same issue - deploying on top of existing ControlTower deployment.  I copied the email addresses from the ControlTower config for MGMT, Audit and Log Archive accounts in the CloudFormation template.  Used the same email for MGMT and "Manual Approval Stage notification email list" - not sure what I'm supposed to do here?  Docs say LZA builds on top of an existing Control Tower - any suggestions for troubleshooting?

I have the same issue - deploying on top of existing ControlTower deployment. I copied the email addresses from the ControlTower config for MGMT, Audit and Log Archive accounts in the CloudFormation template. Used the same email for MGMT and "Manual Approval Stage notification email list" - not sure what I'm supposed to do here? Docs say LZA builds on top of an existing Control Tower - any suggestions for troubleshooting?

The only thing I can think of is maybe to use a different email for the "Manual Approval Stage." I am speculating, but perhaps this needs to be a different email than the Management account. Furthermore, this step is optional altogether. Try just leaving it blank; it won't ask for approval and will continue the pipeline.

Here are the full logs for the AWSAccelerator-ToolkitProject Build phase:
[Container] 2022/09/29 11:36:36 going inside waitForAgent
[Container] 2022/09/29 11:36:36 Waiting for agent ping
[Container] 2022/09/29 11:36:37 Waiting for DOWNLOAD_SOURCE
[Container] 2022/09/29 11:36:54 Phase is DOWNLOAD_SOURCE
[Container] 2022/09/29 11:36:54 finished waitForAgent
[Container] 2022/09/29 11:36:54 inside CopySrc
[Container] 2022/09/29 11:36:54 CODEBUILD_SRC_DIR=/codebuild/output/src193/src/s3/00
[Container] 2022/09/29 11:36:54 CODEBUILD_SRC_DIR_Config=/codebuild/output/src193/src/s3/01
[Container] 2022/09/29 11:36:54 finished CopySrc
[Container] 2022/09/29 11:36:54 YAML location is /codebuild/readonly/buildspec.yml
[Container] 2022/09/29 11:36:54 No commands found for phase name: install
[Container] 2022/09/29 11:36:54 Setting HTTP client timeout to higher timeout for S3 source
[Container] 2022/09/29 11:36:54 Processing environment variables
[Container] 2022/09/29 11:36:54 Selecting 'nodejs' runtime version '14' based on manual selections...
[Container] 2022/09/29 11:36:54 Running command echo "Installing Node.js version 14 ..."
Installing Node.js version 14 ...
[Container] 2022/09/29 11:36:54 Running command n $NODE_14_VERSION
copying : node/14.19.2
installed : v14.19.2 (with npm 6.14.17)
[Container] 2022/09/29 11:37:29 Moving to directory /codebuild/output/src193/src/s3/00
[Container] 2022/09/29 11:37:29 Configuring ssm agent with target id: codebuild:f6b9d1f4-4a01-4f95-af45-e425174ccc8a
[Container] 2022/09/29 11:37:29 Successfully updated ssm agent configuration
[Container] 2022/09/29 11:37:29 Registering with agent
[Container] 2022/09/29 11:37:29 Phases found in YAML: 2
[Container] 2022/09/29 11:37:29  INSTALL: 0 commands
[Container] 2022/09/29 11:37:29  BUILD: 6 commands
[Container] 2022/09/29 11:37:29 Phase complete: DOWNLOAD_SOURCE State: SUCCEEDED
[Container] 2022/09/29 11:37:29 Phase context status code:  Message:
[Container] 2022/09/29 11:37:29 Entering execCommands
[Container] 2022/09/29 11:37:29 Entering phase INSTALL
[Container] 2022/09/29 11:37:29 Phase complete: INSTALL State: SUCCEEDED
[Container] 2022/09/29 11:37:29 Phase context status code:  Message:
[Container] 2022/09/29 11:37:29 Entering phase PRE_BUILD
[Container] 2022/09/29 11:37:29 Phase complete: PRE_BUILD State: SUCCEEDED
[Container] 2022/09/29 11:37:29 Phase context status code:  Message:
[Container] 2022/09/29 11:37:30 Entering phase BUILD
[Container] 2022/09/29 11:37:30 Running command env
GOLANG_15_VERSION=1.15.15
MAVEN_OPTS=-Dmaven.wagon.httpconnectionManager.maxPerRoute=2
CODEBUILD_LAST_EXIT=0
CODEBUILD_START_TIME=1664451332410
GOLANG_16_VERSION=1.16.15
ACCELERATOR_QUALIFIER=aws-accelerator
CODEBUILD_BMR_URL=https://CODEBUILD_AGENT:3000
NODE_12_VERSION=12.22.12
JRE_8_HOME=/usr/lib/jvm/java-1.8.0-amazon-corretto/jre
CODEBUILD_SOURCE_VERSION=arn:aws:s3:::aws-accelerator-pipeline--us-east-1/AWSAccelerator-Pipel/Build/sIlATih
CODEBUILD_AGENT_ENDPOINT=http://<IP_ADDRESS>:7831
HOSTNAME=1cd47328b5b8
CODEBUILD_BUILD_ID=AWSAccelerator-ToolkitProject:f6b9d1f4-4a01-4f95-af45-e425174ccc8a
CODEBUILD_KMS_KEY_ID=arn:aws:kms:us-east-1::key/5c7c1881-01db-4e25-a3e1-ed7030518577
NODE_14_VERSION=14.19.2
JRE_11_HOME=/usr/lib/jvm/java-11-amazon-corretto
HOME=/root
OLDPWD=/codebuild/readonly
JRE_HOME=/usr/lib/jvm/java-11-amazon-corretto
CODEBUILD_GOPATH=/codebuild/output/src193
CODEBUILD_CI=true
GOENV_DISABLE_GOPATH=1
CODEBUILD_BUILD_NUMBER=1
CODEBUILD_BUILD_SUCCEEDING=1
NODE_OPTIONS=--max_old_space_size=4096
AWS_CONTAINER_CREDENTIALS_RELATIVE_URI=/v2/credentials/5b7389ba-a1fc-4b2a-8905-e90781b77134
CODEBUILD_BUILD_ARN=arn:aws:codebuild:us-east-1::build/AWSAccelerator-ToolkitProject:f6b9d1f4-4a01-4f95-af45-e425174ccc8a
LC_CTYPE=C.UTF-8
AWS_EXECUTION_ENV=AWS_ECS_EC2
ACCELERATOR_STAGE=prepare
RUBY_BUILD_SRC_DIR=/usr/local/rbenv/plugins/ruby-build
DOTNET_5_SDK_VERSION=5.0.408
CODEBUILD_INITIATOR=codepipeline/AWSAccelerator-Pipeline
CODEBUILD_SOURCE_REPO_URL_Config=arn:aws:s3:::aws-accelerator-pipeline--us-east-1/AWSAccelerator-Pipel/Config/t7VPE2E
AWS_DEFAULT_REGION=us-east-1
PHP_80_VERSION=8.0.18
ECS_CONTAINER_METADATA_URI_V4=http://<IP_ADDRESS>/v4/790499fa-c213-4751-97a4-75dff5542dcc
PHP_73_VERSION=7.3.33
ECS_CONTAINER_METADATA_URI=http://<IP_ADDRESS>/v3/790499fa-c213-4751-97a4-75dff5542dcc
DOTNET_ROOT=/root/.dotnet
PHP_74_VERSION=7.4.29
CODEBUILD_SRC_DIR_Config=/codebuild/output/src193/src/s3/01
CODEBUILD_EXECUTION_ROLE_BUILD=
DOTNET_31_SDK_VERSION=3.1.419
PATH=/usr/local/bin/sbt/bin:/root/.phpenv/shims:/root/.phpenv/bin:/root/.goenv/shims:/root/.goenv/bin:/go/bin:/root/.phpenv/shims:/root/.phpenv/bin:/root/.pyenv/shims:/root/.pyenv/bin:/root/.rbenv/shims:/usr/local/rbenv/bin:/usr/local/rbenv/shims:/root/.dotnet/:/root/.dotnet/tools/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/tools:/codebuild/user/bin
RUBY_26_VERSION=2.6.10
CODEBUILD_LOG_PATH=f6b9d1f4-4a01-4f95-af45-e425174ccc8a
RUBY_27_VERSION=2.7.6
PYYAML_VERSION=5.4.1
CDK_OPTIONS=deploy --stage prepare
CODEBUILD_BUILD_IMAGE=aws/codebuild/standard:5.0
GOPATH=/go:/codebuild/output/src193
AWS_REGION=us-east-1
CODEBUILD_BUILD_URL=https://us-east-1.console.aws.amazon.com/codebuild/home?region=us-east-1#/builds/AWSAccelerator-ToolkitProject:f6b9d1f4-4a01-4f95-af45-e425174ccc8a/view/new
JAVA_8_HOME=/usr/lib/jvm/java-1.8.0-amazon-corretto
CODEBUILD_SRC_DIR=/codebuild/output/src193/src/s3/00
CODEBUILD_PROJECT_UUID=ce70750f-3261-460f-b228-83012c03e657
CDK_NEW_BOOTSTRAP=1
CODEBUILD_CONTAINER_NAME=default
CODEBUILD_AUTH_TOKEN=c091476e-ed06-4705-bc87-b75124ef3dd2
JAVA_11_HOME=/usr/lib/jvm/java-11-amazon-corretto
JDK_8_HOME=/usr/lib/jvm/java-1.8.0-amazon-corretto
LOG4J_UNSAFE_VERSIONS=2.11.1 1.2.8
JAVA_HOME=/usr/lib/jvm/java-11-amazon-corretto
PWD=/codebuild/output/src193/src/s3/00
CODEBUILD_FE_REPORT_ENDPOINT=https://codebuild.us-east-1.amazonaws.com/
PYTHON_37_VERSION=3.7.13
PYTHON_38_VERSION=3.8.13
PYTHON_39_VERSION=3.9.12
JDK_11_HOME=/usr/lib/jvm/java-11-amazon-corretto
CONFIG_COMMIT_ID=70b0d3b4d34a35c629f473000f598944410542a6
NUGET_XMLDOC_MODE=skip
JDK_HOME=/usr/lib/jvm/java-11-amazon-corretto
[Container] 2022/09/29 11:37:30 Running command cd source
[Container] 2022/09/29 11:37:30 Running command cd packages/@aws-accelerator/accelerator
[Container] 2022/09/29 11:37:30 Running command if [ -z "${ACCELERATOR_STAGE}" ]; then yarn run ts-node --transpile-only cdk.ts synth --require-approval never --config-dir $CODEBUILD_SRC_DIR_Config --partition aws; fi
[Container] 2022/09/29 11:37:30 Running command if [ ! -z "${ACCELERATOR_STAGE}" ]; then yarn run ts-node --transpile-only cdk.ts synth --stage $ACCELERATOR_STAGE --require-approval never --config-dir $CODEBUILD_SRC_DIR_Config --partition aws; fi
yarn run v1.22.19
$<EMAIL_ADDRESS>--transpile-only cdk.ts synth --stage prepare --require-approval never --config-dir /codebuild/output/src193/src/s3/01 --partition aws
[2022-09-29 11:37:31] - info:       [toolkit] Executing cdk synth prepare
[2022-09-29 11:37:58] - info:       [app] Begin Accelerator CDK App
[2022-09-29 11:37:59] - error:  undefined
Subprocess exited with error 1
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
[Container] 2022/09/29 11:37:59 Command did not exit successfully if [ ! -z "${ACCELERATOR_STAGE}" ]; then yarn run ts-node --transpile-only cdk.ts synth --stage $ACCELERATOR_STAGE --require-approval never --config-dir $CODEBUILD_SRC_DIR_Config --partition aws; fi exit status 1
[Container] 2022/09/29 11:37:59 Phase complete: BUILD State: FAILED
[Container] 2022/09/29 11:37:59 Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command: if [ ! -z "${ACCELERATOR_STAGE}" ]; then yarn run ts-node --transpile-only cdk.ts synth --stage $ACCELERATOR_STAGE --require-approval never --config-dir $CODEBUILD_SRC_DIR_Config --partition aws; fi. Reason: exit status 1
[Container] 2022/09/29 11:37:59 Entering phase POST_BUILD
[Container] 2022/09/29 11:37:59 Phase complete: POST_BUILD State: SUCCEEDED
[Container] 2022/09/29 11:37:59 Phase context status code:  Message:

@sttomm Well, I'm back, and now having the exact same issue you are. When trying to modify the accounts-config.yaml file to add accounts, it fails when pushing the update through CodePipeline. Did you find a solution to this? I'll keep messing with it in the meantime.

Thanks for your reply @djer34. As you face the same issue, it looks more like a general one. Before, I was wondering whether we did some strange config of Control Tower in our Test Environment where i am trying to roll it out. Sadly i wasn't able to make any progress on figuring out what causes that issue.

@sttomm I might have found my problem. After rolling back the stack and trying again, I got a different error. It seems that I have reached my max number of accounts of 10 in my organization, and Control Tower cannot create new ones. So I had to request an increase through service quotas to raise my limit. Weird it didn't tell me this the first time, but I thought this could also be your issue.

Thanks for that tip @djer34. Sadly it did not help in our situation. It seems like we are running into some other issue around AWS Control Tower permissions.
But perhaps you can help us in finding the more detailed log you showed in the previous comment. Where did you get that one from? Was ii just listed in the Stack logs, the CloudWatch logs, or is it from a specific Services's CloudTrail logs? Or from somewhere else?

@sttomm Well, sadly even after increasing my max number of accounts, I'm still getting the same error. I even started all the way over, completely rolling back all the stacks, deleting S3 buckets, etc. Now I'm getting this error, doesn't make sense.
My previous comment was just from the CodeBuild Build Logs. However, I'm not getting that anymore, I'm back to getting the same error you are currently getting as mentioned above.
Any more to this? Why do you think it is a permissions error with Control Tower?

I assume it's a permission error, as i found the following INFO log in the CloudWatch logs, as mentioned in one of my previous comments:
Provisioning failure error message: Account Factory has insufficient permission to baseline AWS SSO
It is only an INFO log, but it still sounds to me like it could be the root cause. Not sure though what is meant with baselining AWS SSO here.

@sttomm Ya I see that now after reviewing your log screenshot from your other post. That's odd. Well I dug more into the Lambda CloudWatch log and figured that my problem is still due to the fact that the accelerator thinks I'm at my max account limit of 10. When in fact, I increased in through quotas to beyond 10 and it still gives me this error:

Very strange, its like it sees only the default parameter. It sucks because I'm actually not trying to create anymore accounts at all, I'm trying to use previously created accounts and point the accelerator at those. Quite frustrating.

@dhouse-RockITek Did you find a solution ?

Using the latest template, v1.2.2 I am able to get farther in the deployment.
Compared to previous versions, the account email addresses for auditing, logging, and mgmt must not only be unique but match what already exists in AWS Organizations.

@sttomm Ya I see that now after reviewing your log screenshot from your other post. That's odd. Well I dug more into the Lambda CloudWatch log and figured that my problem is still due to the fact that the accelerator thinks I'm at my max account limit of 10. When in fact, I increased in through quotas to beyond 10 and it still gives me this error:
Very strange, its like it sees only the default parameter. It sucks because I'm actually not trying to create anymore accounts at all, I'm trying to use previously created accounts and point the accelerator at those. Quite frustrating.

I ran into the account limit error as well.  It was increased 3 days ago.  Retrying the prepare stage or restarting the pipeline results in the same error (below).   @djer34 Did you get past the account error?
❌ Deployment failed: Error: Stack Deployments Failed: Error: The stack named AWSAccelerator-PrepareStack-XXXXXXXXX-us-east-1 failed to deploy: UPDATE_ROLLBACK_COMPLETE: Received response status [FAILED] from custom resource. Message returned: Error: AWS Account<EMAIL_ADDRESS>is in ERROR state. Message: AWS Control Tower cannot create an account because you have reached the limit on the number of accounts in your organization.. Check Service Catalog
I haven't found the account state yet.  I'll hit AWS support and start digging.

@StoneColdCodez
Unfortunately not. What I ended up doing, unfortunately, was completely starting over. My company created a new AWS organization with Control Tower and started from scratch.


Applied Visual Design: Adjust the Hue of a Color - Won't pass in Firefox ESR 52

Describe your problem and - if possible - how to reproduce it
The exercise won't pass in Firefox ESR (52.8.1), because of how it computes the cyan color in hsl. Using the hsl value in the instructions for cyan, the color is computed as rgb(0, 255, 254), while the exercise is checking for rgb(0, 255, 255).
Related forum thread: https://forum.freecodecamp.org/t/problem-with-adjust-the-hue-of-a-color/202568
Add a Link to the page with the problem
https://learn.freecodecamp.org/responsive-web-design/applied-visual-design/adjust-the-hue-of-a-color/
Tell us about your browser and operating system

Browser Name: Firefox
Browser Version: ESR 52.8.1
Operating System: Manjaro Linux

@kevcomedia I have done this challenge some days ago and afaik the problem has been fixed. Please close the issue


Fix Symlink creation failures on windows

Summary

Switching to type=junction in fs.symlinks seems to fix the issue.
Before that change, running yarn test-ci was failing due to symlinks on the tests:

no babel-jest › fails with syntax error on flow types
no babel-jest › instrumentation with no babel-jest

Here is a related ticket on node: https://github.com/nodejs/node/issues/18518
See comments https://github.com/nodejs/node/issues/18518#issuecomment-513809856 and https://github.com/nodejs/node/issues/18518#issuecomment-513866491
Test plan

The tests relying on those helpers are now passing on my Windows machine without the need to have admit rights.
Let see if they pass the CI

Reading the issue it's supposed to be fixed, though?

Reading the issue it's supposed to be fixed, though?

It seems that it still need either to activate developer mode or to run with admin priviledge mode. I am running v12.11.0 (released on 2019-09-25).
See comment https://github.com/nodejs/node/issues/18518#issuecomment-513831915, but conclusion is not clear to me 🤔
Mocha did this https://github.com/apostrophecms/apostrophe/pull/2027/files#diff-168726dbe96b3ce427e7fedce31bb0bcR402-R410

Meh, symlinks are weird, and this still pass CI so let's merge 👍


Certain other mods' Russian tokens don't get loaded when this mod is active

I don't know the exact reason, but I know that if you rename the ru folder to something, and then back to RU in caps, the problem gets fixed.
Examples of mods that are affected by this are MysticsItems and ImprovedRussianTranslation.
(Same issue happens with InLobbyConfig)

It was an issue with R2API, created PR with a fix for it https://github.com/risk-of-thunder/R2API/pull/402


feat: config change to scale in/out

Introduce config change to support scaling in/out.
To implement config change, we introduce a new pair of barrier: Pause/Resume.
Pause barrier marks the end of the previous configurations
Resume barrier marks the start of the new configurations
The config change process contains three steps:

Pause the entire stream from source executor
Do all the configuration change including creating new batch & streaming actors
Resume the stream

Steps to scale in/out for each fragment

Build new channels
Build new actors
Update channel of existing actors
Recover data from old actors(scale out) or Fetch data from outdated actors(scale in)
Delete outdated actors
Delete outdated channels

List of tasks:

[ ] #3292
[ ] Add support to scale out
[ ] Add support to scale in
[ ] Add Scale Service and relavent scale interfaces

Pause the entire stream from source executor

Do we consider source scale in this step?

Update channel of existing actors

I believe this will need to split into two steps: pre-mutate and mutate

In pre-mutate step, a barrier will be sent from the sources before the change, and the actors before the change. It will contain the info that "in next epoch, what the graph structure should be", and prepare merge executors to wait for barrier on new actors.
In mutate step, the actual connections will be mutated on the graph. The barrier will be sent to both old and new actors.
This deserves a new design doc, and I wonder who will take over this task.

Recover data from old actors(scale out) or Fetch data from outdated actors(scale in)

Luckily, this step is unnecessary thanks to our shared storage design.

Delete outdated actors

Delete outdated channels

Also need design, this is not well-supported for now. Maybe we will need an actor manager that manages all actors running in the background, and abort them (or wait for them to exit gracefully) when a stop mutation is received.

Pause the entire stream from source executor

Also need to wait for checkpoint, this is worth mentioning. The concurrent checkpoint PR is a really large change -- there'll be multiple barriers flowing in the system. I believe you'll need to take this into account.

Thanks for your suggestion! I'm designing this part, collaborating with Ting Sun. We will carry out a detailed doc later.

Pause the entire stream from source executor

Also need to wait for checkpoint, this is worth mentioning. The concurrent checkpoint PR is a really large change -- there'll be multiple barriers flowing in the system. I believe you'll need to take this into account.

Duplicated with #3750.


Extend host secrets with data for verification

The flow of defining a migration network for an ESX host goes like this:

Creating a secret
Creating a host config
Setting the host config as the owner of the secret

In order to validate the secret at the first step, we need additional data, as the host config doesn't exist at this point, that is added in this patch:

The 'createdForResource' label points to id of the host in the inventory
Add provider type to the Data of the secret
Add the IP of the host to the Data of the secret

note that I didn't verify it yet


[Campaign Placeholder] Build 3.0.0 Release in distribution with all plugin owners switch their main branch to test 3.0.0

This is to build 3.0.0 early and run a campaign alongside plugin owners to fail-fast the breaking changes in main branches.
This include both OS and OSD plugins.
As of now OS core on main is already 3.0.0, same as OSD.
This is a placeholder of a campaign that will start soon.

The campaign for branch alignment is tracked as part of. https://github.com/opensearch-project/opensearch-build/issues/1375

Closing this issue as we have have all aligned on the branching strategy as part of https://github.com/opensearch-project/opensearch-build/issues/1375 and the pending tasks will be followed in https://github.com/opensearch-project/opensearch-plugins/issues/142


WIP check vsphere

PR to test vsphere on latest 4.6

/test e2e-vsphere
/test e2e-gcp

/hold cancel

/skip
/retest

/override ci/prow/e2e-aws-upgrade
Previous nightly used wrong stream


Improve Performance

Opening a very large feature model in the editor takes extremely long.
If you have time and no other issues to fix, please have a look where performance could be improved.
Attached, you find the model I tested.
Automotive02_V1.zip

Just for clarification:
After 2 minutes, the model didn't open and the memory usage was around 1.6 GB

I just did some tests. It seems that Ecore takes a lot of time to load the models. So we cannot do anything about it...


the 3 exe's are using the same port-8000

did not specify your port in
eel.start()

causing this problem

changed port


hide the alias_* internal steps (#292)

The alias_* steps are for internal use only, so remove them from the usage
text and instead use the _ prefix convention for private/internal symbols.
Fixes #292.

:+1:


Incorrect gradient when non-leaf Values are re-used

Thank you @evcu for raising, my little 2D toy problem converged and instead of going on to proper tests and double checking through the recursion I got all trigger-happy and amused with puppies. The core issue is that if variables are re-used then their gradient will be accumulated for each path. Do you think this simpler reference counting idea will work as a potential simpler solution? The idea is to suppress backward() calls until the very last one.
(Love your Stylized puppy in your branch btw! :D)

class Value:
    """ stores a single scalar value and its gradient """

    def __init__(self, data):
        self.data = data
        self.grad = 0
        self.backward = lambda: None
        self.refs = 0

    def __add__(self, other):
        other = other if isinstance(other, Value) else Value(other)
        out = Value(self.data + other.data)
        self.refs += 1
        other.refs += 1

        def backward():
            if out.refs > 1:
                out.refs -= 1
                return
            self.grad += out.grad
            other.grad += out.grad
            self.backward()
            other.backward()
        out.backward = backward

        return out

    def __radd__(self, other):
        return self.__add__(other)

    def __mul__(self, other):
        other = other if isinstance(other, Value) else Value(other)
        out = Value(self.data * other.data)
        self.refs += 1
        other.refs += 1

        def backward():
            if out.refs > 1:
                out.refs -= 1
                return
            self.grad += other.data * out.grad
            other.grad += self.data * out.grad
            self.backward()
            other.backward()
        out.backward = backward

        return out

    def __rmul__(self, other):
        return self.__mul__(other)

    def relu(self):
        out = Value(0 if self.data < 0 else self.data)
        self.refs += 1
        def backward():
            if out.refs > 1:
                out.refs -= 1
                return
            self.grad += (out.data > 0) * out.grad
            self.backward()
        out.backward = backward
        return out

    def __repr__(self):
        return f"Value(data={self.data}, grad={self.grad})"

Issue deprecated with https://github.com/karpathy/micrograd/commit/9fd9cc02fe5a0e57d790b03572f0d7bcd990662d
I was able to fix this and even make things much cleaner compared to where things started, imo. Closing.

Like the reference counting idea! But I think it wouldn't work when some outputs are stale and not connected to the loss. The Updated version looks nice!

Yeah, it also wouldn't allow you to .backward() on arbitrary intermediate point in the calculation, etc. the topological sort ended up being quite clean and i combined it with a _backward vs backward distinction, which I think works nicely. Thanks again!!


Responsive table with buttons doesn't size properly

Tested on Chrome and Firefox.

Could you put up a demo for us to look at, please?

http://codepen.io/anon/pen/pJoayX
https://gist.github.com/anonymous/3402ad0e041f2740df6c

Make the page smaller horizontally until the re flowed mode is triggered and you should see the misalignment,

I havent found a way to solve this with any clever css, but an easy fix would be to make the height of your tr and td elements a fixed height that is big enough for the buttons to fit in

Is this issue actually closed?
Surely it would be possible to hook the page resize event and use javascript to adjust the cell height?
I'd do a PR but I'm not going to have access to a suitable development environment for a few weeks.


Enum moved form schemas/common.py to schemas/revisions

Closes #
Introduced changes

Enum moved form schemas/common.py to schemas/revisions

[ ] This PR contains breaking changes

updated the changes

I have passed the required tests and linting. Still my request has been
closed.
On Fri, Oct 4, 2024, 3:51 AM Franciszek Job @.***>
wrote:

Closed #1500 https://github.com/software-mansion/starknet.py/pull/1500.
—
Reply to this email directly, view it on GitHub
https://github.com/software-mansion/starknet.py/pull/1500#event-14510942078,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARCPJVZFHJ44RJLKQWDFCNLZZW7PVAVCNFSM6AAAAABPC5WWHOVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJUGUYTAOJUGIYDOOA
.
You are receiving this because you authored the thread.Message ID:
@.***
com>

You've modified dependency version which was not needed.

If I kept same version it was ended in test fail.
On Fri, Oct 4, 2024, 3:21 PM Franciszek Job @.***>
wrote:

You've modified dependency version which was not needed.
—
Reply to this email directly, view it on GitHub
https://github.com/software-mansion/starknet.py/pull/1500#issuecomment-2393310970,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARCPJVZI2BYVJNIRHR6ES7DZZZQLBAVCNFSM6AAAAABPC5WWHOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJTGMYTAOJXGA
.
You are receiving this because you authored the thread.Message ID:
@.***>