luci-app-advanced-reboot: Not rebooting to alt_kernel, EA7300v2

Hi,
Pulling my hair out, and I can't afford that ... LOL. I have serial access on my router, and can see the environment variables in U-Boot (and they are a bit different than in OpenWrt?). But that aside ... if I confirm / force boot_part to 1 or 2, it always seems to boot from 1. And even with a command line of,
bootargs=console=ttyS1,115200n8 root=/dev/mtdblock8 ro rootfstype=jffs2 init=/sbin/init

I still find that,
root@OpenWrt:/# dmesg | grep mtd
[    2.152105] UBI: auto-attach mtd6
[    2.155468] ubi0: attaching mtd6
[    2.547477] ubi0: attached mtd6 (name "ubi", size 36 MiB)

Thinking it may be me doing something dump, but I admit - not being able to see what it is 😞.
Thanks!

Which version of OpenWrt is it? Please confirm is it just the Luci app, or can you not switch active partition from CLI either?

Which version of OpenWrt is it? Please confirm is it just the Luci app, or can you not switch active partition from CLI either?

Hi,
Sorry! I wasn't fully clear - my fault 😞. Some answers,

I am running master (pulled the latest from git, updated the feeds, built clean). If it helps, it's OpenWrt SNAPSHOT r14443+1087-f1bc66c765.
It doesn't work from the LuCI app, just like you mentioned. Is there a way to manually execute it? I can try that, just not aware of it.
The notes above are me trying to manually do it, via U-Boot. It may work fine, could just be me 😉.

Thanks!

Hi,
Sorry! I wasn't fully clear - my fault 😞. Some answers,

I am running master (pulled the latest from git, updated the feeds, built clean). If it helps, it's OpenWrt SNAPSHOT r14443+1087-f1bc66c765.
It doesn't work from the LuCI app, just like you mentioned. Is there a way to manually execute it? I can try that, just not aware of it.
The notes above are me trying to manually do it, via U-Boot. It may work fine, could just be me 😉.

Thanks!

running master (pulled the latest from git
...
OpenWrt SNAPSHOT r14443+1087

Hmmm. The above claim does not match the version string.
current version should be approx. r15535-f559b89bd0
r14443+1087 means 10 September 2020 code + 1087 private commits after that.
Possibly you have committed some own stuff in September but haven't properly used "git pull --rebase" after that and have just somehow merged upstream master leading to a misdetected version string.  But alternatively, that could also indicate that you do not have the features that the current LuCI app expects.  (You probably need to rebase your own commits on top of the current HEAD of OpenWrt master to get back to proper versioning. )
Likely you just have somehow screwed git repo and valid code, so this is pure nitpicking, but I still raise the point that it is hard to say what kind of OpenWrt master you are actually running.

running master (pulled the latest from git
...
OpenWrt SNAPSHOT r14443+1087

Hmmm. The above claim does not match the version string.
current version should be approx. r15535-f559b89bd0
r14443+1087 means 10 September 2020 code + 1087 private commits after that.
Possibly you have committed some own stuff in September but haven't properly used "git pull --rebase" after that and have just somehow merged upstream master leading to a misdetected version string.  But alternatively, that could also indicate that you do not have the features that the current LuCI app expects.  (You probably need to rebase your own commits on top of the current HEAD of OpenWrt master to get back to proper versioning.

You are likely right! There is a command I need ... git-idiot. Specifically for me 🤣.
I have been merging - no local changes really, but I can try a rebase. NP at all. Let me do that, see if it helps. Thanks!

You are likely right! There is a command I need ... git-idiot. Specifically for me 🤣.
I have been merging - no local changes really, but I can try a rebase. NP at all. Let me do that, see if it helps. Thanks!

FYI, did a git pull --rebase upstream, but no big delta 😞. Version is slightly changed (since yesterday, makes sense), but still,
r14443+1095-f1bc66c765

So not thinking that's the issue?

FYI, did a git pull --rebase upstream, but no big delta 😞. Version is slightly changed (since yesterday, makes sense), but still,
r14443+1095-f1bc66c765

So not thinking that's the issue?

You already have earlier merges there, so the "new" git pull rebase does not help any more as it only tries the newest stuff.
I think that you need something like "git rebase upstream/master" (or "git rebase origin/master", depending on your git config).

You already have earlier merges there, so the "new" git pull rebase does not help any more as it only tries the newest stuff.
I think that you need something like "git rebase upstream/master" (or "git rebase origin/master", depending on your git config).

Looks like I was "fooling" getver.sh 😄. I was pulling from upstream (no issue there), but had been lazy at pushing back to my fork (on Github). So I just did a git push origin master, no code changes at all, and now getver.sh says,
r15538-26d1e529f1

So I think the code I'm running really is current, just having the issue noted above.
Is there a CLI way to try to execute advanced-reboot? Or U-Boot commands to try? Thanks!

Looks like I was "fooling" getver.sh 😄. I was pulling from upstream (no issue there), but had been lazy at pushing back to my fork (on Github). So I just did a git push origin master, no code changes at all, and now getver.sh says,
r15538-26d1e529f1

So I think the code I'm running really is current, just having the issue noted above.
Is there a CLI way to try to execute advanced-reboot? Or U-Boot commands to try? Thanks!

OK, this is really odd. Tried setting boot_part inside OpenWrt, rebooting ... nope, doesn't seem to switch partitions. Either value for boot_part and I see in the kernel log,
[    2.151726] UBI: auto-attach mtd6
[    2.160787] ubi0: attaching mtd6

FYI, in case it helps / matters,
cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00080000 00020000 "boot"
mtd1: 00040000 00020000 "u_env"
mtd2: 00040000 00020000 "factory"
mtd3: 00040000 00020000 "s_env"
mtd4: 00040000 00020000 "devinfo"
mtd5: 00400000 00020000 "kernel"
mtd6: 02400000 00020000 "ubi"
mtd7: 00400000 00020000 "alt_kernel"
mtd8: 02400000 00020000 "alt_rootfs"
mtd9: 00100000 00020000 "sysdiag"
mtd10: 02d00000 00020000 "syscfg"

I also tried setting the root partition inside U-Boot (tried mtdblock7 and 8),
setenv bootargs console=ttyS1,115200n8 root=/dev/mtdblock7 ro rootfstype=jffs2 init=/sbin/init

But then, inside OpenWrt, with fw_printenv,
bootargs=console=ttyS1,115200n8 root=/dev/mtdblock6 ro rootfstype=jffs2 init=/sbin/init

Huh? Seems to overwrite the bootargs (on boot)? I admit, very confusing.
Thanks!

OK, this is really odd. Tried setting boot_part inside OpenWrt, rebooting ... nope, doesn't seem to switch partitions. Either value for boot_part and I see in the kernel log,
[    2.151726] UBI: auto-attach mtd6
[    2.160787] ubi0: attaching mtd6

FYI, in case it helps / matters,
cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00080000 00020000 "boot"
mtd1: 00040000 00020000 "u_env"
mtd2: 00040000 00020000 "factory"
mtd3: 00040000 00020000 "s_env"
mtd4: 00040000 00020000 "devinfo"
mtd5: 00400000 00020000 "kernel"
mtd6: 02400000 00020000 "ubi"
mtd7: 00400000 00020000 "alt_kernel"
mtd8: 02400000 00020000 "alt_rootfs"
mtd9: 00100000 00020000 "sysdiag"
mtd10: 02d00000 00020000 "syscfg"

I also tried setting the root partition inside U-Boot (tried mtdblock7 and 8),
setenv bootargs console=ttyS1,115200n8 root=/dev/mtdblock7 ro rootfstype=jffs2 init=/sbin/init

But then, inside OpenWrt, with fw_printenv,
bootargs=console=ttyS1,115200n8 root=/dev/mtdblock6 ro rootfstype=jffs2 init=/sbin/init

Huh? Seems to overwrite the bootargs (on boot)? I admit, very confusing.
Thanks!

AFAIK you also need to modify bootcmd in sync with boot_part.
It is also possible that alternative partition is corrupt in some way, so router reverts to previously successfully booted partition after 3 failed attempts at booting from alternative.
Either way, it doesn't seem to be the luci app-specific problem, seems to be more of a generic problem with rebooting to alternative partition on your router. If you get the CLI commands to work to reboot to alt partition, but the luci app still doesn't, please re-open this issue.

AFAIK you also need to modify bootcmd in sync with boot_part.
It is also possible that alternative partition is corrupt in some way, so router reverts to previously successfully booted partition after 3 failed attempts at booting from alternative.
Either way, it doesn't seem to be the luci app-specific problem, seems to be more of a generic problem with rebooting to alternative partition on your router. If you get the CLI commands to work to reboot to alt partition, but the luci app still doesn't, please re-open this issue.

Yes, agreed - appreciate the comments. If you do have any pointers, by all means 😆.
Thanks!

Yes, agreed - appreciate the comments. If you do have any pointers, by all means 😆.
Thanks!

Is there a CLI way to try to execute advanced-reboot? Or U-Boot commands to try? Thanks!

I have been including in my  WRT3200ACM build also this simple script (pre-dating the LuCI app) that does the thing.
you could modify it.
#!/bin/sh
#
# This script changes the router to boot from the alternative kernel/partition.
#
# Note: you have to make this executable: "chmod 755 switch_boot_partition.sh"
#
# Normally partition is changed at firmware flash. New firmware is flashed
# to the other partition and then the router boots from there. This script
# causes that boot partition change without a flash

cur_boot_part=`/usr/sbin/fw_printenv -n boot_part`
if [ "$cur_boot_part" = "1" ]
then
	echo "Switching to kernel/partition 2"
	fw_setenv boot_part 2
	fw_setenv bootcmd "run altnandboot"
elif [ "$cur_boot_part" = "2" ]
then
	echo "Switching to kernel/partition 1"
	fw_setenv boot_part 1
	fw_setenv bootcmd "run nandboot"
else
	echo "Error: unexpected value: boot_part=$cur_boot_part"
fi

# auto_recovery should have been set to 'yes' by /etc/init.d/97linksys_recovery
# the same script has also reseted the boot-counter used by u-boot.

fw_printenv auto_recovery

That is copied and modified from the original used in OpenWrt...
https://github.com/openwrt/openwrt/blob/master/target/linux/mvebu/cortexa9/base-files/lib/upgrade/linksys.sh

Is there a CLI way to try to execute advanced-reboot? Or U-Boot commands to try? Thanks!

I have been including in my  WRT3200ACM build also this simple script (pre-dating the LuCI app) that does the thing.
you could modify it.
#!/bin/sh
#
# This script changes the router to boot from the alternative kernel/partition.
#
# Note: you have to make this executable: "chmod 755 switch_boot_partition.sh"
#
# Normally partition is changed at firmware flash. New firmware is flashed
# to the other partition and then the router boots from there. This script
# causes that boot partition change without a flash

cur_boot_part=`/usr/sbin/fw_printenv -n boot_part`
if [ "$cur_boot_part" = "1" ]
then
	echo "Switching to kernel/partition 2"
	fw_setenv boot_part 2
	fw_setenv bootcmd "run altnandboot"
elif [ "$cur_boot_part" = "2" ]
then
	echo "Switching to kernel/partition 1"
	fw_setenv boot_part 1
	fw_setenv bootcmd "run nandboot"
else
	echo "Error: unexpected value: boot_part=$cur_boot_part"
fi

# auto_recovery should have been set to 'yes' by /etc/init.d/97linksys_recovery
# the same script has also reseted the boot-counter used by u-boot.

fw_printenv auto_recovery

That is copied and modified from the original used in OpenWrt...
https://github.com/openwrt/openwrt/blob/master/target/linux/mvebu/cortexa9/base-files/lib/upgrade/linksys.sh

@hnyman Thanks to @Ansuel with the new luci app you can ubus call luci.advanced_reboot toggle_boot_partition. ;)

@hnyman Thanks to @Ansuel with the new luci app you can ubus call luci.advanced_reboot toggle_boot_partition. ;)

Nice.
But the point is that when he is having major problems in getting the partition switch to happen, it is better to see the actual underlying steps and maybe execute them by hand, instead of just using your wrapper that hides the actual happenings.

Nice.
But the point is that when he is having major problems in getting the partition switch to happen, it is better to see the actual underlying steps and maybe execute them by hand, instead of just using your wrapper that hides the actual happenings.

Agree wholeheartedly with both of you! That's what I want as well - want to make sure to understand the underlying issue here, ensure the solution is 100% clean!
It's seeming like boot_part isn't the only (environment) variable in play - but I may be wrong. I want to make sure I have two clean partitions, to confirm. I have checked my builds, can run them from U-Boot (tftpboot to load the initramfs file, then bootm). Struggling to get the factory.bin to program to the flash. The "nand write" command info is a bit cryptic, don't want to guess to much, or I risk the full flash ... 😞.
Thanks again for the pointers!

Agree wholeheartedly with both of you! That's what I want as well - want to make sure to understand the underlying issue here, ensure the solution is 100% clean!
It's seeming like boot_part isn't the only (environment) variable in play - but I may be wrong. I want to make sure I have two clean partitions, to confirm. I have checked my builds, can run them from U-Boot (tftpboot to load the initramfs file, then bootm). Struggling to get the factory.bin to program to the flash. The "nand write" command info is a bit cryptic, don't want to guess to much, or I risk the full flash ... 😞.
Thanks again for the pointers!

BTW, comparing this device to the EA3500 I have, I get the feeling that early builds that I flashed messed up the u_env partition, that may be part of the challenge here. For example, there is no altnandboot command defined.

BTW, comparing this device to the EA3500 I have, I get the feeling that early builds that I flashed messed up the u_env partition, that may be part of the challenge here. For example, there is no altnandboot command defined.


Revert "melpa2nix: update to work with Emacs HEAD"

Reverts NixOS/nixpkgs#276943
Let's move this into the staging-next branch.

I'll take care of cancelling the extra jobs on Hydra before much work is put into them.


Adding folder trigger

Using variable 'triggerState' before assignment isn't an issue, as it gets injected by XLR


Documentation for quick start

Hey, I really like what this project is trying to achieve. This project may be my lifesaver since 2019... I would gladly contribute to this project in any way
So that I could have a try, could I ask for a more complete start-from-scratch / demo setup guide?
As per https://vuex-orm.github.io/vuex-orm/guide/prologue/getting-started.html#creating-data-to-vuex-store, the document declares
import User from 'data/models/user';

Then you can probably do shit for the user model, like
destroy(user)
users: () => User.query().withAll().all()

Yet I have zero idea WTF is / what to expect / what to put in that file...
I understand probably have to use with https://vuex-orm.github.io/vuex-orm/guide/prologue/getting-started.html#create-models as well
But maybe what I am asking is just a sample working demo code so I can drag it to my project and batch rename "User" to "Item" (my model name) was...
Yes I may be greedy and lazy but isn't that why this project is here :)
Also, the slack invitation has expired :)

Nice to hear that. Basically this plugin is a addition to Vuex-ORM and expects that you already have setup Vuex, Vuex-ORM and model definitions and that you have a understanding of Vuex-ORM.
The goal of this project is not to skip Vuex-ORM and give you start from scratch instructions, due to the fact that missing Vuex/Vuex-ORM knowledge will lead you to errors.
Sorry :)
However a repository with sample API and sample Vue app would be awesome!


More export options

Such as ability to choose specific channel for storing information (useful for RGB stacking channels such as metalic, roughness and height into one texture). Export textures from default material output node checkbox .... most of the time I use those export nodes, because of more customization and I find it a bit useless, because export from material output node clutters the folder with unnesessary diplicate textures i don't want to have so I have to delete them later.
RodZill4's respond:

Hmm I have ideas for export, such as adding parameters. There could be a "Custom" export option that don't export anything from Material. You could add it yourself easily if you don't mind hacking the material.mmg file.

Yes, it would be really cool to have this checkbox for not exporting anything from material node. I am just an artist, so I don't wanna break it :D

Personally I would like to see support for blender principled bsdf export added, I was just making a material and was going to import it into blender to apply to the model but then I saw there was no blender export option :(

@TheRektafire Is there a file format for those principled BSDF materials? I cannot find a menu to import/export materials in Blender.

Personally I would like to see support for blender principled bsdf export added, I was just making a material and was going to import it into blender to apply to the model but then I saw there was no blender export option :(

It's not needed. Even there's not something like "blender material", so every material to be shared is just .blend file with the material in it. BUT! It's easy to export textures for Unreal (it does not create any unwanted stuff like .meta files for Unity...just textures) and then with node wrangler addon enabled (comes with Blender, just needs to be enabled) create a material, select your Principled BSDF and by pressing ctrl+shift+T it will open file browser. Just select previously exported textures and Blender will make PBR setup for you (automaticaly connect nodes and set up non-color option to greyscale maps and normal). It's super easy and event faster to do it than reading this description I've just wrote :)

@Tar0x Is the Unreal export EXACTLY what's needed for Blender? It's easy to add new export targets, so if Blender can benefit from its own target, there's no reason not to provide it (and Blender deserves its own export anyway). I just don't know Blender enough to answer this question.

@RodZill4 Not really, but it export only textures (not, like those meta files for Unity (I havent tried exporting using godot settings)). I am still waiting for better export options tho (user custom channel packing and not exporting those default settings while using export nodes) :)

@RodZill4 is it possible to add an option to just export all output textures instead of exporting materials?

I am closing this one as custom exports were added


NISHTHA - Change the order of the tabs

2nd Visual should be Total Courses and Medium
5th Visual should be Enrollments and Completion by State/District

Order Changed.


Optimize lambda functions

This PR reorganizes aws lambda functions and gets rid of repetitive code. Model updates (model_updates.py) and testing (analyze_changes_on_s3.py) lambda scripts are renamed and moved into one directory (aws_lambda_functions). Update lambda script is moved to the same directory and updated to take script name and aws function name as parameters.

Nice!

The error is simply an import in a test that wasn't updated, I think.

Looks good! :+1:


Target SubFolder

Is it possible to target files to a document set, using the CSV-file?

Documentdetails
⚠ Dit gedeelte niet bewerken. Het is vereist om problemen te koppelen tussen docs.microsoft.com en GitHub.

ID: 27475eb6-82f5-1f75-a304-e5696092a3e1
Version Independent ID: e9bd89b2-a04d-5509-5c76-fc0602cc8515
Content: How to format your CSV or JSon file for data content migration
Content Source: migration/how-to-format-your-csv-file-for-data-content-migration.md
Product: sharepoint-server-itpro
GitHub Login: @JoanneHendrickson
Microsoft Alias: jhendr

@filipdebruyne - this is a really good question and I am not sure. This is something that a service engineer could get prioritized and answered for you.
I think the best way forward is if you can open a service ticket in your tenant so this can get resolved ASAP. Based on outcome let me know if it is something that can be called out in the docs.
Here is a quick video on opening a ticket: https://www.youtube.com/watch?v=puuOy0sEg1Y
If you don't mind please keep us posted here on the resolution and I really want to get this information you are discovering back into the docs.
Thank you for taking the time to submit the feedback and we look forward to anything you can share from support that might be able to go back into the docs.


Label changed from ITA To SkilledTradesBC

Label changed from ITA To SkilledTradesBC - Created new branch with latest packages

changes in dev, waiting on test

Hi Team,
I have some concerns about the recent pull request to change the service name from "ITA Exam" to "SkilledTradesBC Exam." Some thoughts:
1. Inconsistency
Updating only the label without changing variable names creates inconsistencies, which could lead to confusion for future maintainers.
2. Technical Debt
Hardcoding service names instead of abstracting them can create more work in the future, with small changes requiring a large number of manual updates across the codebase.
3. Code Readability and Maintainability
Consistent naming conventions are crucial for code readability and maintainability. Mismatched names and labels can complicate understanding and maintaining the code.
4. Test Maintainability
Largely for the same reasons.
Proposed Resolution
I'd propose also updating variable names to match the new service name. (I appreciate this will require a lot of work). I'm happy to take on this work.
In addition to that, I'm happy to rearchitect where & how the type & name of the service is injected into other service components, which would - in my opinion - create a more scalable & maintainable long term solutions. I can append these changes to (#921) or open a new PR.
Thank you for your consideration.
J.P.

database changes and variable name changes will be pushed in different PR. migrating CSRs to use skills trade. as its extremely old pr to be pushed to main.

Understood!


Sidenav items don't deactivate on mouse leave

If the user clicks an item in the sidenav but drags his mouse out before relasing the click, the ripple effect will stay completely on indefinitely like so :

This happened to me while attempting to scroll the list.

This is a known issue with Ripples in Angular Material; improvements to Ripple are in-progress.

Fixed.


Errors on some SWH URLS

There are 404 and 500 errors on some Software Heritage URLs.
E.g. this link (404) and this one (500).
The 404 error says:

NotFoundExc: No snapshot associated to the visit of origin https://github.com/SocialGouv/code-du-travail-backoffice on 20 August 2019, 00:34 UTC

The 500 error says:

QueryCanceledError: canceling statement due to statement timeout

Note that a 500 error is also returned randomly/temporarily on some other repositories.

Do you have URLs who respond with a random 500 on SWH side? It's likely on their side as it's a 500 error but could help them troubleshoot the underlying issue.

I'm investigating this origin: https://github.com/SocialGouv/code-du-travail-backoffice. The SWH directory URL returns a 404: https://archive.softwareheritage.org/browse/origin/https://github.com/SocialGouv/code-du-travail-backoffice/directory/.
Investigation
Is the origin listed in SWH?
API documentation: https://archive.softwareheritage.org/api/1/origin/
I get a 200 OK
$ curl -I "https://archive.softwareheritage.org/api/1/origin/https://github.com/SocialGouv/code-du-travail-backoffice/get/"
HTTP/1.1 200 OK

Origin is known from SWH.
There is only 1 visit, which is partial (unsure what it means): https://archive.softwareheritage.org/api/1/origin/https://github.com/SocialGouv/code-du-travail-backoffice/visits/
Questions
Unclear about why the directory returns a 404 then.
How to know the directory URL for an origin?

Regarding the second origin, https://archive.softwareheritage.org/browse/origin/https://github.com/cea-sec/miasm/directory/, you reported a 500, I get a 200 OK right now. 500 is an error on SWH side, don't know what happened.

Investigating a full snapshot for no files available on SWH for origin https://gitlab.inria.fr/compass/compass.
Directory URL: https://archive.softwareheritage.org/browse/origin/https://gitlab.inria.fr/compass/compass showing "The snapshot associated to the visit of origin https://gitlab.inria.fr/compass/compass on 23 August 2019, 13:50 UTC is empty !"
Unclear about why, the visits is reported as full and the project had commits before 23 August 2019. Maybe it was not pushed to Gitlab at this point?

According to the following sequence diagrams, SWH stopped at inserting the origin in SWH and the loader task was never picked, hence the absence of snapshots.
https://docs.softwareheritage.org/devel/architecture.html#tasks
Don't know why.

I cannot reproduce the errors above, I'm closing this issue.

Not too fast. I think some repos which are currently marked as archived here are partially archived because of some bugs on SWH's side. We've seen in the past partially archived / 404 / 500


Bump typst version to 0.2.0

Thanks for your hard work on this awesome extension. But I think it depends on a considerably outdated version of Typst. Given that the new Typst 0.2.0 has introduced brand new syntaxs like unpacking (see https://github.com/typst/typst/releases/tag/v0.2.0), I think it is a good time to bump typst version to a newer one.
I have tested the compilation and installation, they work fine, but I do realize there are some incompatibility with the newer syntax. I am not that familiar with Rust so help needed here from you capable guys. Take this PR as a reminder to upgrade typst version then, maybe?

I think the New Computer Modern font should also be added here. See typst/typst@623db8c0c4cd798d3dacaa5269f9e850fc180934
https://github.com/nvarner/typst-lsp/blob/387e3f3e1d62469b2e29c8b9a0c81a9c65de165f/src/system_world.rs#L252-L260

I think the New Computer Modern font should also be added here.

Yeah, I think this is feasible, if this PR can be merged I will include the new fonts too

I do want to bump the Typst version soon. Can you update this PR with the latest commit and add the font?

I do want to bump the Typst version soon. Can you update this PR with the latest commit and add the font?

Yeah sure, I will do that in a moment. But I need to confirm are we going for the "latest commit" or the "latest release commit"? I think the latter is more preferable and is what this PR initially meant to be.

Sorry that I accidentally close this PR, please refer to https://github.com/nvarner/typst-lsp/pull/79 for the rest of the work here


ElastiCache Memcache Locking Provider

Is your feature request related to a problem? Please describe.
We have a requirement for using ElastiCache Memcache API for our caching solution.
Describe the solution you'd like
We love the api provided by shedlock and would like to use it with our selected caching solution - ES Memcache.
Describe alternatives you've considered
If there was an implementation of ShedLock that only relied upon spring's CacheManager, that may work instead of a specific ES Memcache provider.
Additional context
N/A

Hi, I will not have time to do it, but it's quite simple so feel free to send a pull request. See this one for inspiration.


After opening the javascript file, the computer CPU soared

When you open up a javascript file, it's going to get really stuck and it's going to take up a lot of CPU

facing similar issue for typescript.
intellisense popout takes too long or it never appears just shows loading and the cpu consumption is around 30% for vscode insiders.
memory consumption for vscode is around 3000mb.
vscode build details
Version: 1.33.0-insider (user setup)
Commit: edd2c737f9b6f08cd0e30050b441cd262eb7f0d8
Date: 2019-03-21T06:19:48.689Z
Electron: 3.1.6
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT x64 10.0.15063

Does this reproduce in the latest VS Code insiders build with all extensions disabled?
/needsMoreInfo

Closing as more information needed


Release v1.6 sign-off

Is your team ready for a release?

[ ] Project / Founder - @LorenzMeier
[ ] Communication Architecture - @bkueng , @julianoes
[ ] UI / UX - @dogmaphobic, @DonLakeFlyer
[ ] Multicopter Flight Control - @Stifael, @MaEtUgR
[ ] VTOL Flight Control - @tumbili, @AndreasAntener, @sanderux @bresch

[ ] VTOL standard
[ ] VTOL tailsitter
[ ] VTOL tiltrotor

[ ] Fixed Wing Flight Control - @dagar, @priseborough
[ ] Racers - @anton-matosov
[ ] OS / drivers - @davids5
[x] UAVCAN / Industrial - @pavel-kirienko
[ ] State Estimation - @jgoppert, @priseborough
[x] VIO - @mhkabir, @ChristophTobler
[ ] ~Obstacle Avoidance - @vilhjalmur89~ - not implemented in mainline codebase yet.
[ ] Snapdragon - @mcharleb
[ ] Intel Aero - @lucasdemarchi, @simonegu
[ ] Raspberry Pi / Navio - @bkueng
[ ] Parrot Bebop - @eyeam3
[ ] Airmind MindPX / MindRacer - @iZhangHui
[ ] Test team - @d3z0rian, @mrpollo

@priseborough how is EKF2 doing. I think LPE is stable.

There was a fix in upstream Nuttx this morning stm32_serial: fix freezing serial port I will need to back port. ASAP.
David
From: Ramon Roche<EMAIL_ADDRESS>Sent: Wednesday, May 17, 2017 5:44 AM
To: PX4/Firmware
Cc: David Sidrane; Mention
Subject: [PX4/Firmware] Release v1.6 sign-off (#7258)
Is your team ready for a release?
·         [ ] Project / Founder - @LorenzMeier https://github.com/lorenzmeier
·         [ ] Dev Call - @mrpollo https://github.com/mrpollo
·         [ ] Communication Architecture - @bkueng https://github.com/bkueng  , @julianoes https://github.com/julianoes
·         [ ] UI / UX - @dogmaphobic https://github.com/dogmaphobic
·         [ ] Multicopter Flight Control - @Stifael https://github.com/stifael , @MaEtUgR https://github.com/maetugr
·         [ ] VTOL Flight Control - @tumbili https://github.com/tumbili , @AndreasAntener https://github.com/andreasantener , @sanderux https://github.com/sanderux
·         [ ] Fixed Wing Flight Control - @dagar https://github.com/dagar , @priseborough https://github.com/priseborough
·         [ ] Racers - @anton-matosov https://github.com/anton-matosov
·         [ ] OS / drivers - @davids5 https://github.com/davids5
·         [ ] UAVCAN / Industrial - @pavel-kirienko https://github.com/pavel-kirienko
·         [ ] State Estimation - @jgoppert https://github.com/jgoppert , @priseborough https://github.com/priseborough
·         [ ] VIO - @mhkabir https://github.com/mhkabir , @ChristophTobler https://github.com/christophtobler
·         [ ] Obstacle Avoidance - @vilhjalmur89 https://github.com/vilhjalmur89
·         [ ] Snapdragon - @mcharleb https://github.com/mcharleb
·         [ ] Intel Aero - @lucasdemarchi https://github.com/lucasdemarchi , @simonegu https://github.com/simonegu
·         [ ] Raspberry Pi / Navio - @bkueng https://github.com/bkueng
·         [ ] Parrot Bebop - @eyeam3 https://github.com/eyeam3
·         [ ] Airmind MindPX / MindRacer - @iZhangHui https://github.com/izhanghui
·         [ ] Test team - @d3z0rian https://github.com/d3z0rian , @mrpollo https://github.com/mrpollo
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/PX4/Firmware/issues/7258 , or mute the thread https://github.com/notifications/unsubscribe-auth/AB2w3VtkUPXWjIGO5Ut56BZD_jyosvVlks5r6xXUgaJpZM4NeEEY .  https://github.com/notifications/beacon/AB2w3Xq3bUlP4cNr7a0GQ5RsCq4et_5mks5r6xXUgaJpZM4NeEEY.gif

Could someone comment on the state of Pixhawk 3 support in v1.6.0? @klopezal, @sanderux

@dagar It is supported fully. We are waiting for fresh/fixed v1.3 hardware before we can polish the experience more. We are also extensively test flying it on a VTOL config.

Thanks @mhkabir. Could you do a quick pass and see if any of these are still relevant? https://github.com/PX4/Firmware/issues?q=is%3Aopen+is%3Aissue+label%3Apixhawk3

All of those issues have hardware fixes - but we don't have latest hardware yet, so they're still all relevant, yes.

PX4 on the Parrot Bebop is not running properly at the moment, but it should not gate the release.

EKF2 has a PR pending for miscellaneous updates https://github.com/PX4/Firmware/pull/7252.
Items 5 and 6 close vulnerabilities, and item 1 adds an important logging message for diagnostics, the others enable a 'nice to have' feature . I can split the 'nice to have' into a separate PR if required.

There was a fix in upstream Nuttx this morning stm32_serial: fix freezing serial port I will need to back port. ASAP.

PR is https://github.com/PX4/Firmware/pull/7260

I have closed the pending PR and split it into the robustness improvements that I think should go into the release:
https://github.com/PX4/Firmware/pull/7265
And the nice to have:
https://github.com/PX4/Firmware/pull/7264

I think this one should go in: https://github.com/PX4/Firmware/pull/7226

I flagged all PRs with the milestone that I think should still go in.
https://github.com/PX4/Firmware/milestone/22

navio_gpio is broken on RPI3, see https://github.com/PX4/Firmware/pull/7241

FYI: I don't have time till tomorrow, then I'll do some SITL runs and sign off.

@LorenzMeier should those pr's not go in before we test / sign off?

Maybe this should also go in https://github.com/PX4/Firmware/pull/7272

I'm closing this as we discussed this on the last dev call.


initial unit test for test cli module

Overview
a starter test for the test cli module.

/do-e2e-tests

@avattathil soz, had to rebase, can you please re-approve

Codecov Report

Merging #379 into master will increase coverage by 1.33%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #379      +/-   ##
==========================================
+ Coverage   72.55%   73.88%   +1.33%
==========================================
  Files          30       30
  Lines        2700     2700
  Branches      460      460
==========================================
+ Hits         1959     1995      +36
+ Misses        646      597      -49
- Partials       95      108      +13

Impacted Files
Coverage Δ

taskcat/_lambda_build.py
85.24% <0%> (-1.64%)
:arrow_down:

taskcat/_cfn/_log_stack_events.py
25.35% <0%> (+2.81%)
:arrow_up:

taskcat/_s3_stage.py
55% <0%> (+5%)
:arrow_up:

taskcat/_tui.py
52.38% <0%> (+16.66%)
:arrow_up:

taskcat/_cli_modules/test.py
66.66% <0%> (+34.61%)
:arrow_up:

Continue to review full report at Codecov.

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


chore(website): add modelina card

Description
Added modelina card

...
...
...

Related issue(s)

Resolves #1254
Screenshot

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 92.434%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4799

Relevant Lines:
5059

💛  - Coveralls

@all-contributors please add @Shreyas0410 for code


Find "Missing" lamp 930M1_HgArNe

The file is not present where it should. Maybe it was not observed on purpose.

Found


Missing argument 8 for AppleNotification::__construct()

Hi,
I've got this issue after setup by readme.
SF - 2.6.*
Warning: Missing argument 8 for RMS\PushNotificationsBundle\Service\OS\AppleNotification::__construct(), called in app/cache/dev/appDevDebugProjectContainer.php on line 3189 and defined

@Morisf can you check and see if PR #105 fixes this for you?

@richsage - yes, it's work

Thanks - have merged, will tag a new release shortly.


Double arrow align fail on sub array.

My original code:
return new JsonResponse([
    'result' => true === $feedbackSubmitted ? 'OK' : 'KO',
    'html'   => $this->renderView('ticket/_feedback_modal.html.twig', [
        'ticket'            => $ticket,
        'feedbackForm'      => $feedbackForm->createView(),
        'feedbackSubmitted' => $feedbackSubmitted,
    ]),
]);

After CS:
return new JsonResponse([
    'result'                => true === $feedbackSubmitted ? 'OK' : 'KO',
    'html'                  => $this->renderView('ticket/_feedback_modal.html.twig', [
        'ticket'            => $ticket,
        'feedbackForm'      => $feedbackForm->createView(),
        'feedbackSubmitted' => $feedbackSubmitted,
    ]),
]);

result and html should not be aligned with renderView method array parameter.
Using v1.10.

I've seen this issue too, and can confirm it.

Hi all,
I've tried to reproduce this on 1.10 and master using:
cd9fb23813a065dade8773d97df8766cd4b58ac9
but all looks OK. When running with all fixers on PSR2 level on 1.10 it works as well.
For finding/fixing this is it might help proving more info about the configuration used.

Ref

Closing thanks to #1422

:+1:


React router redux SSR and basename

Version
React Router 4.2.0
React Router Redux 5.0.0-alpha.9
Hi !
I'm experiencing a warning when rendering ConnectedRouter on the server/client with basename, all links are rendered without it on server side.
On client side i'm using history to add the basename to ConnectedRouter. On server side createMemoryHistory doesn't support basename and as mjackson pointed it out in this PR https://github.com/ReactTraining/history/pull/522#issuecomment-345830553 there's no history at all on server side.
So as i've seen in the recent alpha of react-router-redux a flag for SSR, i'm wondering if we could use it to render on server side a StaticRouter instead of a Router something like :
render() {
    const { history, isSSR, context, children, basename } = this.props
    return isSSR ?
    <Router history={history} children={children} /> :
    <StaticRouter context={context} location={history.location} basename={basename} children={children} />
  }

That way we could also have the context. I could make a PR :)
Or do we get rid of ConnectRouter for server side rendering and use a StaticRouter with a dispatch of LOCATION_CHANGE with the current location ?
Thanks for any feedback !

Yes, on the server side, you should be using StaticRouter. Syncing a history with a redux store on the server doesn't make sense because you renderToString once and you don't have navigation events in that context.

Thanks @timdorr !
Just for my intention so why add a isSSR flag and the purpose of this PR : https://github.com/ReactTraining/react-router/pull/5714

For those that are still using it on the server side. They shouldn't, but they may not have time for a refactor and that's a quick workaround for a memory leak.


Scraper input cursor issue

I was trying to use the scraper feature to get game metadata on a raspberry pi (v1, not v2). When the game was not correctly identified by the rom name, I tried to use the "input" option to give it a custom search term. I could correctly clear the existing text with backspace, but when I typed the first letter, the cursor jumped back to the front of the string, and continued typing from there. I could not use the arrow keys, or home or end to get the cursor in the correct spot. I am using a US keyboard and US keyboard configuration in the os.

I also experienced this. It is due to my keyboard input settings mapping the arrows to WASD, so when I'd type an "A" for example, the cursor would move to the left and then insert the A out of place.

After more testing, I concur with 1000hz. I experienced the issue when I was using wasd keys for up, down, left, right. I remapped the keyboard to the arrow keys and this does not occur now.


Can't install certbot-s3front on VoidLinux with LibreSSL

Hello ! I have a problem installing certbot-s3front. I'm running on VoidLinux with LibreSSL 2.5.4. Here is the result of pip install certbot-s3front
building '_openssl' extension
    creating build/temp.linux-x86_64-2.7/build
    creating build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7
    x86_64-unknown-linux-gnu-gcc -pthread -fno-strict-aliasing -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c build/temp.linux-x86_64-2.7/_openssl.c -o build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7/_openssl.o
    In file included from /usr/include/openssl/x509.h:595:0,
                     from /usr/include/openssl/engine.h:96,
                     from build/temp.linux-x86_64-2.7/_openssl.c:516:
    build/temp.linux-x86_64-2.7/_openssl.c:3482:19: error: expected identifier or '(' before numeric constant
     static const long X509_V_ERR_HOSTNAME_MISMATCH = 0;
                       ^
    build/temp.linux-x86_64-2.7/_openssl.c:3483:19: error: expected identifier or '(' before numeric constant
     static const long X509_V_ERR_EMAIL_MISMATCH = 0;
                       ^
    build/temp.linux-x86_64-2.7/_openssl.c:3484:19: error: expected identifier or '(' before numeric constant
     static const long X509_V_ERR_IP_ADDRESS_MISMATCH = 0;
                       ^
    error: command 'x86_64-unknown-linux-gnu-gcc' failed with exit status 1

To be honest, I have no idea what the issue here is and can't test it. I am using Ubuntu and it works fine.
Were you able to figure out what the problem was?

The issue is with libressl backing the Openssl library instead of Openssl itself I guess, but honestly I don't remember why I wanted to ues it so it's better off closed until someone else runs into the same problem :p


ParallelGen.filter method also filters elements if bool(elm) == false

Hi gterzian,
When using the filter method, I faced a problem that its result sequence sometimes missing an element(s) which is expected to be in.
This tiny example which reproduces the problem.
from parallel import parallel

def even(x):
    return x % 2 == 0

example = range(10)
result_par = parallel(example).filter(even)
result_std = filter(even, range(10))

print list(result_par) #  [2, 4, 6, 8]
print list(result_std) #  [0, 2, 4, 6, 8]

And another example.
from parallel import parallel

def flip(x):
    return not x

example = [True, True, False, False]
result_par = parallel(example).filter(flip)
result_std = filter(flip, example)

print list(result_par) #  []
print list(result_std) #  [False, False]

It might be caused by if statement in a list comprehension at ParallelGen.filter.
(i for i in _map(_filter, self, ) if i)

I guess it intends to filter None element (predict from test.py), but it filters also False, 0, '', etc.
In my opinion, None shouldn't filtered because builtin filter method doesn't filter it, so people expect ParallelGen.filter also behaves like that. But it is not a problem but an issue so I don't care at this point.
This is a simple patch for this issue. I would be grateful if you could merge it.

Coverage remained the same at 94.37% when pulling 5b29f9398785e380b2973310263d0fa40d2d269c on kogecoo:too_filtered into d6ba6f3523119b80d54311f8016c0448fe77b8bf on gterzian:master.

good catch! thanks for the contribution

I've made a 1.1 release which includes your merged-in PR :smile:

Thanks for your quick merging!


Only support OpenAPI 3.0

The roadmap mentions:

The first step in the roadmap is to migrate the OpenAPI spec from the PostgREST core repository (version 2.0 to 3.1):

https://github.com/PostgREST/postgrest-openapi#roadmap
Originally we thought it would be possible to replace the core openapi output in Haskell by somehow inlining the functions of this extension into a single query. But that seems too difficult (maybe impossible).
So I think we can just focus on openapi 3.0, to reduce the scope of the project.
With this we should still be able to fix all postgrest core issues. Since this lib is pure SQL, we can just instruct users to install it. They have been doing that for pgjwt for a long time anyway.

I've been focussing on 3.1.0.


fix rendering to katex, add mathcal Rt to vignette

Sets the math rendering to katex, per solution described here https://github.com/r-lib/pkgdown/issues/1966#issuecomment-2132233271 (thanks @damonbayer for the link)

@dylanhmorris Whoops, this actually did not work on the pkgdown site, which is weird bc the vignette renders in Rstudio using pkgdown! https://cdcgov.github.io/ww-inference-model/articles/wwinference.html#fitting-the-model


Scanned page has wrong width

Hey there!
Running your example with our scanner results in only the the right half of the Page being saved.
  lastFrame: 1,
  bytesPerLine: 1725,
  pixelsPerLine: 575,
  lines: 1734,
  depth: 8

as my sane knowledge is very much non-existent, would you provide me some hints, what might be going wrong here?
thanks!

What does it say about „get option descriptors response“?
The example sets the option with id 7 to value 120... that could be the issue.

This is my get option descriptors repsonse:
[
  {
    "name": "",
    "title": "Number of options",
    "description": "Read-only option that specifies how many options a specific devices supports.",
    "type": "INT",
    "units": "NONE",
    "size": 4,
    "cap": [
      "SOFT_DETECT"
    ],
    "constraint": {
      "type": "NONE",
      "value": {
        "type": "Buffer",
        "data": []
      }
    }
  },
  {
    "name": "standard",
    "title": "Standard",
    "description": "Source, mode and resolution options",
    "type": "GROUP",
    "units": "NONE",
    "size": 4,
    "cap": [],
    "constraint": {
      "type": "NONE",
      "value": {
        "type": "Buffer",
        "data": []
      }
    }
  },
  {
    "name": "resolution",
    "title": "Scan resolution",
    "description": "Sets the resolution of the scanned image.",
    "type": "INT",
    "units": "DPI",
    "size": 4,
    "cap": [
      "SOFT_SELECT",
      "SOFT_DETECT"
    ],
    "constraint": {
      "type": "WORD_LIST",
      "value": [
        7,
        75,
        100,
        150,
        200,
        300,
        600,
        1200
      ]
    }
  },
  {
    "name": "mode",
    "title": "Scan mode",
    "description": "Selects the scan mode (e.g., lineart, monochrome, or color).",
    "type": "STRING",
    "units": "NONE",
    "size": 9,
    "cap": [
      "SOFT_SELECT",
      "SOFT_DETECT"
    ],
    "constraint": {
      "type": "STRING_LIST",
      "value": [
        "Lineart",
        "Halftone",
        "Gray",
        "Color"
      ]
    }
  },
  {
    "name": "highlight",
    "title": "Threshold",
    "description": "Select minimum-brightness to get a white point",
    "type": "FIXED",
    "units": "PERCENT",
    "size": 4,
    "cap": [
      "SOFT_SELECT",
      "SOFT_DETECT",
      "INACTIVE"
    ],
    "constraint": {
      "type": "RANGE",
      "value": {
        "min": 30,
        "max": 70,
        "quantization": 10
      }
    }
  },
  {
    "name": "source",
    "title": "Scan source",
    "description": "Selects the scan source (such as a document-feeder).",
    "type": "STRING",
    "units": "NONE",
    "size": 8,
    "cap": [
      "SOFT_SELECT",
      "SOFT_DETECT"
    ],
    "constraint": {
      "type": "STRING_LIST",
      "value": [
        "Flatbed",
        "ADF",
        "Auto"
      ]
    }
  },
  {
    "name": "geometry",
    "title": "Geometry",
    "description": "Scan area and media size options",
    "type": "GROUP",
    "units": "NONE",
    "size": 4,
    "cap": [],
    "constraint": {
      "type": "NONE",
      "value": {
        "type": "Buffer",
        "data": []
      }
    }
  },
  {
    "name": "tl-x",
    "title": "Top-left x",
    "description": "Top-left x position of scan area.",
    "type": "FIXED",
    "units": "MM",
    "size": 4,
    "cap": [
      "SOFT_SELECT",
      "SOFT_DETECT"
    ],
    "constraint": {
      "type": "RANGE",
      "value": {
        "min": 0,
        "max":<PHONE_NUMBER>9648438,
        "quantization": 1
      }
    }
  },
  {
    "name": "tl-y",
    "title": "Top-left y",
    "description": "Top-left y position of scan area.",
    "type": "FIXED",
    "units": "MM",
    "size": 4,
    "cap": [
      "SOFT_SELECT",
      "SOFT_DETECT"
    ],
    "constraint": {
      "type": "RANGE",
      "value": {
        "min": 0,
        "max":<PHONE_NUMBER>7578125,
        "quantization": 1
      }
    }
  },
  {
    "name": "br-x",
    "title": "Bottom-right x",
    "description": "Bottom-right x position of scan area.",
    "type": "FIXED",
    "units": "MM",
    "size": 4,
    "cap": [
      "SOFT_SELECT",
      "SOFT_DETECT"
    ],
    "constraint": {
      "type": "RANGE",
      "value": {
        "min": 0,
        "max":<PHONE_NUMBER>9648438,
        "quantization": 1
      }
    }
  },
  {
    "name": "br-y",
    "title": "Bottom-right y",
    "description": "Bottom-right y position of scan area.",
    "type": "FIXED",
    "units": "MM",
    "size": 4,
    "cap": [
      "SOFT_SELECT",
      "SOFT_DETECT"
    ],
    "constraint": {
      "type": "RANGE",
      "value": {
        "min": 0,
        "max":<PHONE_NUMBER>7578125,
        "quantization": 1
      }
    }
  }
]

What exactly are these preset values 7 and 120?

i tried setting option 7 another value: using 20 works fine, resulting in a bigger image. I tried setting 0 but using values below 19 seem to distort the resulting PNG.

For your scanner option with index 7 is "Top-left x position of scan area.", with my scanner it is the resolution in dpi.
The example should probably not randomly set option number 7 but rather search for the option with name "resolution", check allowed values and then set them.
Resolution is option with index 2 for your printer and it has a "WORD_LIST" of allowed values (7, 75, 100, 150, 200, 300, 600, 1200).
You might want to read the official documentation or this blog entry on the sane net protocol.
What do you plan to use this node module for?

Hey Moritz,
thanks for your reply. I will check the docs
Option 7 seems to also affect the x position for our scanner. Using 3 as the value for option 7 results in an almost full-page scan and non-distorted png. Other values mess up the png as shown by the attached files. The 3pixel-offset works OK for me.
I am working on a web-frontend for one of our office-scanners. As the backend is node-based, your lib seems a perfect fit.
Do you plan to make the library more generic (i see some console-logs and your name hardcoded in the sources)? Do you accept PRs?

This project is the basis for sane-webui - it is at an early stage but might be of help when implementing your frontend.
Of course I accept PRs. I am using linter-js-standard to keep the code clean.


Fix #2333: Do not display console window for local broker

Rename RTVS_HOST_CONSOLE env variable to RTVS_SHOW_CONSOLE, and fix the logic to properly respect its value - default should be hidden.

👍


Type check against stubs from stubgen

We currently have no stubs for Django (or other third-party dependencies). That means that mypy treats any Django type like HttpResponse as a synonym for Any, since it knows nothing at all about it. As a result the type checking done is fairly weak in that it can't detect an error like returning a string from a function declared to return an HttpResponse.
Writing stubs for Django would be a big project, but just using stubs generated by stubgen would already be an improvement, since then mypy would know that HttpResponse is a class (that is not related to str), and the names of its methods, etc., and that would probably be pretty easy to do.

@sharmaeklavya2 has been working on partial stubs for Django; @sharmaeklavya2 are those based on stubgen or were you writing them from scratch?

I wrote them from scratch.

The project I made for testing purposes, poller, is very simple. I didn't need stubs for all functions and classes (I don't know if that is feasible, some parts of django are very dynamic). That's why I only wrote stubs for things I needed.

Cool.  I think it would be reasonable to use stubgen on Django 1.8 to get a complete set of Django stubs (but with most things as Anys), and the merge in the stubs you made for poller to make things more precise.  What do you think @sharmaeklavya2 ?

We can try that. I wrote some stubs with the assumption that they need not run on code other than mine to make things simple. I think some of my stubs are incorrect and might break others' code.

It's true that incomplete or incorrect stubs will break others' code, so given the difficulty of stubbing all of Django, I'd recommend the first goal be to get stubs that are just usable for Zulip, and not initially plan on sending the stubs upstream to the Django project (I don't know whether they would be interested anyways; Tim, did you have a chance to discuss that with them?)
Stubs from stubgen could not even be checked into the zulip repo, but rather generated the first time you run run-mypy. I don't have a great suggestion for merging such stubs with hand-written ones, though.

I think using stubs from stubgen can give us stubs for a lot of things we don't use, like functions used internally in django. If we only plan to use stubs only for Zulip and not send them upstream, then we'll get too much output from stubgen.
Some stubs might be syntactically correct but not useful for us. For e.g, it will be much simpler to annotate TextField, IntField, etc. as functions returning an appropriate type (for e.g. BooleanField can return bool and NullBooleanField can return Optional[bool], the situation for others is com).
If we make stubs manually, we'll be sure of the stubs we make and we can keep adding stubs just like we're adding annotations right now. I have never used stubgen so I don't know what it'll output.
However there's no harm in trying out stubgen for once and see what we get. We can also take stubs for some subpackages and make manual stubs for others if they don't interact much.

I think probably the simplest approach would be to check in stubgen stubs to the Zulip repo, and we can promote them to upstream for the Django project.
OK.  I think we can start with using stubgen on Django for Zulip, fix whatever errors we find, and then add things incrementally; or if it's easy to make work, I'd certainly be open to adding to Zulip just manual stubs for the things that are important.
At PyCon I talked to one of the Django core developers about mypy stubs, and they were open to the idea (and we should email django-devel@ to get an official answer).  The only problem, which I realized after they'd gone home, is that Django does change its APIs between major versions, so we'd need to figure out what version of Django we're doing stubs for.  I'm pretty sure doing that will require some work in typeshed/mypy to support putting the different major versions in directories.

The only problem, which I realized after they'd gone home, is that Django does change its APIs between major versions, so we'd need to figure out what version of Django we're doing stubs for. I'm pretty sure doing that will require some work in typeshed/mypy to support putting the different major versions in directories.

This subject also came up in discussions at PyCon with the PyCharm people. I wasn't really involved (or interested :smile:) in those discussions and I don't think it is a high priority for us internally but eventually we'll have to have some standard solution here. How many versions of Django does zulip support currently?

Zulip only supports Django 1.8, so it's not a problem for Zulip so much as for having stubs in typeshed.

I think stubs can strengthen type checking a lot. All the .objects.get(...) expressions currently return Any.

Yeah.  I think we also will need to make cache_with_key have a real type annotation, since most of our model objects are actually fetched via cache_with_key, not a direct Django ORM query.

As @timabbott asked, Im sharing some work I did adding Django stubs to zulip.
In a vagrant box:
$ ls
mypy-django zulip
# add django stubs to path
$ export MYPYPATH=`pwd`/mypy-django
$ cd zulip
$ python tools/run-mypy --py3 > output.txt

I will upload the fixed stubs, but I want to wait for  https://github.com/zulip/zulip/issues/ to land and use that.
The cleansed output (ignoring files set to ignore) is https://gist.github.com/ethanhs/1b7e0c41cc781810f3f8e250b4466ff1

@ethanhs your Zulip PR is merged, so you can post the revised version now.
Also, is there a PR to mypy-django we should be tracking?

@timabbott The list of issues in the gist is already clear of issues my PR fixed. My PR to mypy-django is https://github.com/machinalis/mypy-django/pull/6

Cool.  It feels like finishing cleaning that out would be a fairly finishable project.

I have run it again after updating stubs, expect another PR 😄. I'll post an updated stub issue list when I get through the simpler issues.

I was just looking if any -> Any annotations could be removed/improved, and I've certainly hit the places where django and zulip interact wrt mypy previously; is there a plan/roadmap for type-checking with django in the near/mid-future?

@neiljp the Django stubs need work. I started improving them based on docs and working with zulip (see my PR) but there are still quite a few issues with them (mostly missing stubs).

I'm closing this in favor of https://github.com/zulip/zulip/issues/11560 since the newer duplicate is probably more helpful for future work on this.


Fix progress clap parsing.

Fixes a bug where clap parsing of --progress values had a layer of indirection when downcasting, which meant the value parser wasn't working. It will be nice to have UI tests.


how atomic decrement uint64 field value

The generated func AddField is useful for atomic modify field value，but if the field type is uint，this func cant use subtraction
Is there any other way to do it. Thanks

It's math; You can call AddField("test", value * -1)

Find a way
a := int64(-2)
b := uint64(a)
Then use AddField(b) to decrement value

use field.Int64


KituraTests.TestCustomCoders testCustomQueryEncoder failure

Context and Description
Tests KituraTests.TestCustomCoders testCustomQueryEncoder failed
Test Case '-[KituraTests.TestCustomCoders testCustomQueryEncoder]' started.
[VERBOSE] [Router.swift:95 init(mergeParameters:)] Router initialized
/private/tmp/.nio-release-tools_dOgew6/Kitura/Tests/KituraTests/TestCustomCoders.swift:156: error: -[KituraTests.TestCustomCoders testCustomQueryEncoder] : XCTAssertEqual failed: ("Optional("&date=2018-02-21T9:47:36%2B0000")") is not equal to ("Optional("&date=2018-02-21T09:47:36%2B0000")") -
/private/tmp/.nio-release-tools_dOgew6/Kitura/Tests/KituraTests/TestCustomCoders.swift:156: error: -[KituraTests.TestCustomCoders testCustomQueryEncoder] : XCTAssertEqual failed: ("Optional("&date=2018-02-21T9:47:36%2B0000")") is not equal to ("Optional("&date=2018-02-21T09:47:36%2B0000")") -
/private/tmp/.nio-release-tools_dOgew6/Kitura/Tests/KituraTests/TestCustomCoders.swift:180: error: -[KituraTests.TestCustomCoders testCustomQueryEncoder] : XCTAssertEqual failed: ("Optional("&date=2018-02-21T9:47:36%2B0000")") is not equal to ("Optional("&date=2018-02-21T09:47:36%2B0000")") -
/private/tmp/.nio-release-tools_dOgew6/Kitura/Tests/KituraTests/TestCustomCoders.swift:180: error: -[KituraTests.TestCustomCoders testCustomQueryEncoder] : XCTAssertEqual failed: ("Optional("&date=2018-02-21T9:47:36%2B0000")") is not equal to ("Optional("&date=2018-02-21T09:47:36%2B0000")") -
Test Case '-[KituraTests.TestCustomCoders testCustomQueryEncoder]' failed (0.050 seconds).

it seems to be a leading 0 that might or might not be there: T9: vs T09:
Environment Details

macOS 10.14
Xcode 10
with and without export KITURA_NIO=1

Steps to Reproduce

check out current master (bb19ec7ef8321082a234624cc76c11a17cd88971)
swift test

Expected vs. Actual Behaviour

[x] Expected to happen...

tests pass

[x] Actually happened...

1 test failure

@Andrew-Lees11 Looks like this test is fragile (possibly related to locale?), would be possible for the test to generate the expected string represenation rather than hard-code it?

@pushkarnk / @Andrew-Lees11 I'm still seeing this continuously

@weissi Hey
We have a pull request here which should fix this issue.
@djones6  would you be able to review this change?

@weissi #1349 has been merged.

thanks @djones6 & @Andrew-Lees11 , I can confirm that works (hit another TSan issue though, filing in a sec).


ClI doesn't work

I tried to generate wrapper on Windows 10 by command line with version 0.8.19 and got with output.
./CppSharp.CLI.exe  -o="./out.txt" -a="x86" -g=csharp -on=alignmentsubsystem -p=win -l=AlignmentSubsystemMath -d includes/*.h -iln .
Generating C# bindings for Windows x86...
Method not found: 'Void CppSharp.DriverOptions.set_UnityBuild(Boolean)'.

Our CLI tool in the package might be old. I am aiming for a release within a week. If you cannot wait for this long, please build C++# from source code.

@ddobrev but I can't compile this from source too.  I can't download llvm via premake5.
Error: ...ages/CppSharp.0.8.19/lib/CppSharp/build/scripts/LLVM.lua:18: attempt to concatenate a nil value

This is quite strange. This line - https://github.com/mono/CppSharp/blob/master/build/scripts/LLVM.lua#L18 - is only activated when you use Vagrant, a kind of virtual machine. It shouldn't be called on Windows.

@tania-hedgehog please try our latest release.


CICD WIP "connected service accounts" not granted access

Its appears that stage 0-bootstrap doesn't grant access to the connected service accounts, meaning that the github action doesn't have permission to download the TF output files.
Or maybe I missed a step :)
job failing

service accounts having nothing granted to them

if I manually grant "All identities in the pool" to the account

and retry the job it succeeds but removes the perms again so next run fails
here is the relevant part of my 0-bootstrap tfvars
...

federated_identity_providers = {
  github = {
    attribute_condition = "attribute.repository_owner==\"timeoutdigital\""
    issuer              = "github"
    custom_settings     = null
  }
}

cicd_repositories = {
  bootstrap = {
    branch            = null
    identity_provider = "github"
    name              = "timeoutdigital/fast-00-bootstrap"
    type              = "github"
  }
  resman = {
    branch            = "master"
    identity_provider = "github"
    name              = "timeoutdigital/fast-01-resman"
    type              = "github"
  }
}

that was copied from the example at https://github.com/GoogleCloudPlatform/cloud-foundation-fabric/tree/master/fast/stages/0-bootstrap#workload-identity-federation
I believe this issue also impacts the other stages
thanks

This would be much quicker in a videocall :) Check permissions on the automation service account for bootstrap (meaning the SA as a resource), there should be a token creator role assigned to the bootstrap CI/CD service account. On the CI/CD service accounts there should be the workload identity role for the principalset matching your repo.

So, let's unravel from the outside:
this should be assigned on your CI/CD SA (the one ending in -1)

and this on the automation SA (the one ending in -0)

there's nothing else needed in terms of IAM

both are there

I've requested connection on linkedin, thanks

Thanks for helping @ludoo, nice one spotting that terraform.tfvars had timeoutdigital/fast-00-bootstrap but the repo was created as timeoutdigital/fast_00_bootstrap


Windows 8 setup

Tried running this setup on Windows but it fails because it seems to be looking for PHP in a *nix structure. Is that the case or should this work for Windows as is. Thanks.

Hi, @burlapdesign. Which terminal emulator are you using? Can you provide a copy of the terminal output when you try to install? Thanks!

Also see https://github.com/pantheon-systems/documentation/issues/807


AppendVersion FileVersionProvider querystring alternatives

Hey guys,
Just poking around the source code and really liking how TagHelpers (in the appropriate scenarios)  have an asp-append-version attribute that will render a hash of the file contents to the end of the URL path like: myjsfile.js?v=8620562345.
Unfortunately, in the past I've had bad experiences with using querystrings for cache-busting.

Services like CDNs (Akamai) often ignore them by default, not doing any cache-busting unless some configuration is done to respect that value.
Google PageSpeed warns against query strings on static files, saying that some proxy servers avoiding caching entirely. So it'd be good to not have a warning appear using an ASP.NET framework feature.

Right now, I typically use a fingerprinting technique that changes the file path like so: myjsfile.ver-8620562345.js, matching a Google recommendation here. Of course the file doesn't really exist at that path, so I pair it with a <rewrite><rule> so it will correctly map to the real physical file.
Is something similar achievable out-of-the-box in mvc6? That'd be my preference, but not sure how to easily/cleanly plug-in the URL rewriting.
Another, less preferred solution, would be to, support a provider model with DI (given the class is named FileVersionProvider). That way a NuGet package could swap in the new provider and add the custom rewrite rule easily, though I'm not sure what rewrite config looks like in aspnet5.
Cheers,
Ben

This is a good idea.
I thought I would point out a different approach as well. You could use a gulp task like gulp-rev (https://github.com/sindresorhus/gulp-rev) to append version numbers and output files to a wwwroot/dist folder as part of your gulp build.
Taking CSS files as an example, your css files would be output to wwwroot/dist/css and would have the format site-d41d8cd98f.css. To include the CSS you could then use the glob href:
<link rel="stylesheet" asp-href-include="dist/css/site-*.css">
So, your gulp task would automatically create new files with the version embedded in the name whenever the contents change and the link / script tag helpers would automatically pick up the new versions based on the pattern specified.
Regardless, I think it would be nice to have a FileVersionProvider that supports this too. The problem is making the URL rewriting work automatically. That part is a big of a pain but might be possible through some sort of static file middleware?

@madskristensen @DamianEdwards The gulp-rev approach sounds very compelling - should we just write up a doc on http://docs.asp.net that shows people how to do this?

I wasn't aware of the glob href, apologies, that is pretty cool! I use grunt/gulp to build assets so that approach would work for me. Thanks for bringing it to my attention. Documenting it and the grunt alternative as the recommended/standard asp.net5 approach makes sense.
I just ponder the value of the FileVersionProvider. I feel like it could be abused, or just be a go-to for people, that then causes them or following devs strife later. ie. When a client runs PageSpeed :p

aspnet/docs#308


RFC: Add remediation for BPF ABBA deadlock bug caused by hash map access

There was an issue discovered recently via a bpftrace script whereby a kfunc was attached on the same path used to access BPF_MAP_TYPE_HASH which created an ABBA deadlock in the kernel and a subsequent crash e.g.
kfunc:queued_spin_lock_slowpath /@pagefault_start[tid]/
{
	@spinlock_start[tid] = nsecs;
}

@spinlock_start was being accessed by another bpf prog on a different CPU.
Example stack trace:
#0  bpf_trampoline_6442467238_1+0x74/0x1000
#1  queued_spin_lock_slowpath+0x5/0x200
#2  _raw_spin_lock_irqsave+0x4e/0x60
#3  htab_map_update_elem+0xc7/0x4b0
#4  bpf_prog_717c51531607df92_kretfunc_vmlinux_down_read+0x180/0x234
#5  bpf_trampoline_6442467155_1+0xa1/0x1000
#6  down_read+0x5/0x10
#7  do_user_addr_fault+0x294/0x740
#8  exc_page_fault+0x5e/0x110
#9  asm_exc_page_fault+0x1e/0x30

This issue is being addressed in a bpf kernel patch however because this is going into a later kernel release we should consider adding a temp fix for this in bpftrace.
One possible option, suggested by Alexei, is for a bpftrace script to create a per-cpu variable that is tested when a functional block is called. If it is already set, we exit early (and increment a missed counter?), if it is not yet set, set it, run the functional block, and clear it at exit time. We could do this conditionally if we detect that the prog is accessing a non per-cpu map type.
Another option would be to block use of certain kfuncs/kprobe if bpftrace can detect if these progs are accessing non per-cpu maps in a script with other progs accessing this map (which may end up being more code).
This issue is meant to be a place to discuss possible solutions and the priority of this fix.

The things I'm not keen on in the proposed bpftrace mitigations are:

We'll have no way to determine if the running kernel has the fixes applied or is vulnerable to this deadlock
Therefore the bpftrace mitigation will have to be applied to all scripts going forwards

The per-cpu variable method will result in a performance overhead for all scripts
Blocking certain probes will mean a loss in functionality

Yeah, agreed. But if there was a way to feature probe, then at least we could delete the mitigation later.

It is worth keeping in mind that the bpf lock change being made upstream does not prevent ABBA deadlocks, but only backs out of them after the code fails to acquire a lock.
It remains to be seen whether the approach of placing the entire bpftrace script in the same recursion prevention domain will be faster or slower than relying on the deadlock detection code in the new bpf lock code.

One possible option, suggested by Alexei, is for a bpftrace script to create a per-cpu variable that is tested when a functional block is called. If it is already set, we exit early (and increment a missed counter?), if it is not yet set, set it, run the functional block, and clear it at exit time. We could do this conditionally if we detect that the prog is accessing a non per-cpu map type.

Would this workaround prevent effective tracing of recursive functions?  There are a number of them, especially in filesystem code.

Would this workaround prevent tracing of recursive functions except at the topmost level?

No, it's only limited to a small subset of functions. Here is the PR: https://github.com/bpftrace/bpftrace/pull/3206

It is worth keeping in mind that the bpf lock change being made upstream does not prevent ABBA deadlocks, but only backs out of them after the code fails to acquire a lock.

Weren't the deadlocks caused by attaching a probe to a locking function (queued_spin_lock_slowpath) which was itself called from a BPF program? If BPF maps are changed to use their own non-traceable locking primitives, then the kernel's regular locking functions won't get called by BPF programs and there should be no risk of deadlocks when tracing them, right?

Fixed here: https://github.com/bpftrace/bpftrace/pull/3206


feat(NavigationMenu): handle children on vertical orientation

🔗 Linked issue
Resolves #2136
❓ Type of change

[ ] 📖 Documentation (updates to the documentation or readme)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[x] 👌 Enhancement (improving an existing functionality)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

Properly handle children on vertical orientation.
📝 Checklist

[x] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

https://github.com/user-attachments/assets/456ffe6a-f34d-48ef-82a8-5cfd3c6511e4
A few things are missing still:

width jumps quite a bit
I'm failing to rotate the arrow icon (:sweat_smile:)
missing v-bind="contentProps" :class="ui.content({ class: props.ui?.content }) for the vertical content

Thanks @sandros94! 😊

Thanks @sandros94! 😊

Thank you for all the help!


Doesn't not work with React 18 StrictModel

To Reproduce the problem:

Go to https://github.com/atlassian-labs/react-resource-router/blob/master/examples/basic-routing/index.tsx#L45
Enable Strict Mode

const root = ReactDOM.createRoot(
  document.getElementById('root')
);

root.render(
  <React.StrictMode>
      <App />
  </React.StrictMode>
);

Then run npm start
Go http://localhost:8080/basic-routing/

Clicking on the link doesn't trigger the page change.

There were some changes introduced with React 18 to the strict mode

https://react.dev/blog/2022/03/08/react-18-upgrade-guide#updates-to-strict-mode
https://nx.dev/recipes/react/react-18#changes-to-strict-mode

Also, some interesting threads

https://github.com/reactwg/react-18/discussions/19
https://github.com/reactwg/react-18/discussions/18

Lastly, not sure if related, but react-router v5 does not work with R18
https://github.com/facebook/react/issues/24451


Single object referenced in multiple places doesn't load as single instance

Raising issue to track the issue noticed in #195.
We currently have this xfail test to show the issue..
As noted by Adrin, currently, if we had code like:
a = A()
f = a.f
g = a.g
c = C(f, g)

And we tried to persist C, f and g would be bound to different instances of A after loading.
There has been some discussion in #195 already about ways to solve this, and it would likely require a way to track the LoadState during object load.

I'll keep working on getting something together for this 👍


Openldap: Remove all client logic and focus purely on server install

This cookbook should focus purely on installing an openldap server. The client logic should go away and be replaced with other solutions like our sssd_ldap cookbook.

No more client stuff in the cookbook, closing.


Allow passing arguments to interactive window start-up script, including Visual Studio macros

In configuring an interactive environment with a start-up script there is no way to pass arguments to the start-up script. Please add another input textbox for this.
It should support Visual Studio macros like $(SolutionDir) and $(BinDir), same as Visual Studio External Tools configuration. This would allow the start-up script to reference the binaries of the currently open project (and similar).

I've actually been working on some fairly significant changes to interactive window startup, so this would make sense to support as well. Rather than having a startup script, we're looking at having a (configurable per environment) directory of scripts that are all run at startup.
Would this reduce your need to provide parameters to the script, assuming you had separate directories for each? Or is that just going to force you to duplicate things in a way you'd rather avoid (i.e. you'd rather switch between Python versions within the script rather than having multiple scripts)?
What kind of parameters are you thinking of passing through?
We could very easily pass through some macros as environment variables - probably named like VS_SOLUTION_DIR and VS_BIN_DIR etc. - though it isn't necessarily possible to get all of them, and not everything that VS "typically" uses (for C#, etc.) make sense for Python.
Here's a list of "easy" ones I can think of that may be useful:

solution dir/name
project dir/name (if we have one project; also set the CWD to this dir)
startup file (if exactly one file/project is selected for startup)
search paths (if we have one project, and pass them through in the environment's PYTHONPATH equivalent)
environment variables in project debug settings (if we have one project)

There are probably more, but those are the ones I can think of right now.

Good to know that this is being improved!
I think being able to run multiple scripts at start-up is useful in general (as long as the order is deterministic, e.g. alphabetical), but it wouldn't help me to pass the current project's binaries directory to the script. I was thinking of passing $(BinDir), so that I can use that with clr.AddReferenceToFileAndPath() in the script.
Yes, having environment variable accessible in the script would be even better. Your list looks good , but I would add the output binary name (e.g. "MyProject.exe") for the start-up project. (I'm happy to hardcode that in my case.)
CWD should probably be set to the project output dir (not project source dir), like it is when launching the project from VS (if "Working directory" is left empty in the Debug settings).

By the way, as a workaround, I was trying to use the path of the start-up script itself, but I can't figure out any way to get it. __file__ just returns <module>.

as long as the order is deterministic, e.g. alphabetical

Will do.

I was trying to use the path of the start-up script itself, but I can't figure out any way to get it inside the script

There currently isn't one, since (IIRC) we just read the code and exec it. I'll make sure that we get that right this time.

I would add the output binary name (e.g. "MyProject.exe") for the start-up project

Ah, are you using the interactive window with a C# project? Or a Python project? I'm guessing the former, since Python projects don't really have an output binary or directory (except where we need to fake one to trick some of the Azure tools).

Yes, it's a C# project (many projects, actually) and I'd like to load the binaries for use in a REPL shell.
I looked at visualstudio_py_repl.py and saw that run_file_as_main() sets self.exec_mod.__file__ = filename and then runs code.Execute(self.exec_mod), but I don't know enough about IronPython to know if there's a way to get that exec_mod value inside the script somehow.


Mouse wheel not working with volume since 2.0

Using mouse wheel to change volume is broken since 2.0. Maybe this is intended?
If possible, add a possibility to choose the incrementation/decrementation step, and make it possible for backlight too, that would be awesome. :)

For me the mouse wheel works fine.

For me it works fine but only on mpd module, it just doesn't work with volume anymore. :/
I just updated to the last version just in case, and it still doesn't work.

I think this is caused by the configuration. Could you launch the bar with --stdout and a line from the output?

Sure, I got "%{A1:volmute: A4:volup: A5:voldown:}15%%{A A A}" for the volume module.

I have exactly the same issue.
I can't tell if this is fixed yet because I'm at work, but I don't remember seeing it working yesterday.
Do you use pulseaudio?

@reyqn Could you show me your config of the volume module

`[module/volume]
type = internal/volume
;master-mixer = Master
format-volume =
label-muted = 
label-muted-foreground = #666666
ramp-volume-0 = 
ramp-volume-1 = 
ramp-volume-2 = `

What's the output of amixer scontrols?

Also, I did commit a patch the other day (for issue #96) that fixed issues related to just having the master mixer setup. Have you updated since then?

Well I don't have access to my computer right now. I'm using this AUR package if I remember well.
I think amixer scontrols only returns "Master", so maybe I just didn't get the patch with my AUR package manager. I'll tell you more this evening (in like 6 hours).

For me, I just installed the latest git version at 3a5ee90, the module did work. I can mute, increase, decrease volume level by mouse though text on the bar didn't update. But it update when I enter amixer sset Master 10%- manual in terminal.
My config
[module/volume]
type = internal/volume

format-volume = <ramp-volume> <label-volume>
label-volume = %percentage%
label-volume-foreground = ${BAR.foreground}

ramp-volume-0 = 
ramp-volume-1 = 
ramp-volume-2 = 
ramp-volume-3 = 
ramp-volume-foreground = #666

label-muted = %{F#666}%{F#ccfafafa} %percentage%
label-muted-foreground = #99

amixer scontrols's output
~ » amixer scontrols
Simple mixer control 'Master',0
Simple mixer control 'Capture',0

@reyqn OK, hopefully it will work for you after updating.
@hthuong09 Yeah that's what I was trying to fix yesterday. It works fine for me now. What compiler are you using?

I am using aur git package. So it should be clang.

Could you try building with -O1 and see if fixes it.

build/lemonbuddy - [master●] » cmake -O1
-- No build type specified; using Release
-- Boost version: 1.61.0
-- XCB[XCB]: Found component XCB
-- XCB[ICCCM]: Found component ICCCM
-- XCB[EWMH]: Found component EWMH
-- XCB[UTIL]: Found component UTIL
-- Found XCB: /usr/lib64/libxcb.so;/usr/lib64/libxcb-icccm.so;/usr/lib64/libxcb-ewmh.so;/usr/lib64/libxcb-util.so
-- Searching for xcbgen with python2
-- Searching for xcbgen with python3
-- Found xcbgen in /usr/lib/python3.5/site-packages
-- XCB[RANDR]: Found component RANDR
-- Found XCB: /usr/lib64/libxcb.so;/usr/lib64/libxcb-icccm.so;/usr/lib64/libxcb-ewmh.so;/usr/lib64/libxcb-util.so;/usr/lib64/libxcb-randr.so
-- xpp: including xcb proto randr.xml
-- xpp: including xcb proto xproto.xml
-- lemonlib_static
-- ---------------------------
--  Build type: Release
--  Compiler C: /usr/bin/cc
--  Compiler C++: /usr/bin/c++
--  Compiler flags:  -std=c++14 -Wall -Wno-unused-parameter -Wno-unused-local-typedefs
--  + release flags:: -O3 -DNDEBUG -O3
-- ---------------------------
--  Build testsuite        OFF
--  Enable ccache support  OFF
--  Enable alsa support    ON
--  Enable i3 support      OFF
--  Enable mpd support     ON
--  Enable network support ON
-- ---------------------------
-- Configuring done
-- Generating done
-- Build files have been written to: /home/hthuong/code/build/lemonbuddy
build/lemonbuddy - [master●] » sudo make install
[ 20%] Built target xpp
[ 60%] Built target lemonlib_static
[100%] Built target lemonbuddy
Install the project...
-- Install configuration: "Release"
-- Up-to-date: /usr/local/share/man/man1/lemonbuddy.1
-- Up-to-date: /usr/local/share/man/man5/lemonbuddy_config.5
-- Up-to-date: /usr/local/bin/lemonbuddy
-- Up-to-date: /usr/local/share/examples/lemonbuddy/config
-- Up-to-date: /usr/local/share/examples/lemonbuddy/config.bspwm
build/lemonbuddy - [master●] »

Did I do it right? And unfortunately, the volume module is still not working correctly.

No it's still using -O3.. Run it like this:
cmake -DCMAKE_CXX_FLAGS=-O1 ..

It's also not using clang.. cmake -DCMAKE_CXX_COMPILER=clang++ ..

This time with clang++. It gave me tons of errors.

It crashed.. looks like the -O flag is defined two times.. change the CMakeCache.txt in the build folder to get rid of -O3

There is only one O3 in CMakeCache.txt file.
//Flags used by the compiler during release builds.
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG

Remove it still doesn't change release flag

It can still be release but not -O3

If you can't remove it, just try running the debug build.. cmake -DCMAKE_BUILD_TYPE=Debug .. it has no optimizations on

Still getting errors

Remove the build foder and create it again to get a clean state..

I did, still getting the same error.

odd.. i don't know what's wrong with it..

With the 2.0.0.rbeta.0.g4d24097 the click was working for mute, but the mouse wheel muted too... Since the 2.0.1.r5.g56b4657 update, click and wheel do nothing...

OK, I'll lower optimizations and see if that's the problem.

That's very strange. I have now the same issue as @hthuong09
Everything works but no visual update. However, if I launch a second instance of lemonbuddy without killing the first one, well the new one still won't visually update, but I can see the first one behind it changing as I mute or change the volume.

Yeah that's probably because it receives the events from the alsa api.. I'm trying to find the thing that is messing up the builds...


[WIP] upgraded nutanix capx to v1.1.0

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/labels area/providers/nutanix

/ok-to-test

/assign @abhinavmpandey08 @abhay-krishna

/approve
/lgtm


Error in HSCIC calculation

https://github.com/namratadeka/circe/blob/07648726785337582dd08f693e1567eab8d9a8ff/utils/losses.py#L81
In the HSCIC calculation function, I identified an error that led to unreasonable outcomes in my research.
Upon inspection, I recommend modifying the following line.
WtKyy = torch.linalg.solve(Ky + ridge_lambda  * torch.eye(Ky.shape[0]).to(Ky.device), Kx)

given the equation in the paper as following.

The issues seems to be resolved, so I'm closing the issue.


Replace try! with ?

Hi @opilar, try is being used in order to remain compatible with previous rustc versions.


objc InteropTestsLocalSSL failures

https://source.cloud.google.com/results/invocations/a46bf83b-c1f5-4ff2-8be6-4e7a02b76f3b/targets/github%2Fgrpc%2Fobjc_macos_opt_native/log
Test Case '-[InteropTestsLocalSSL testConcurrentRPCsWithErrorsWithV2API]' started.
<unknown>:0: error: -[InteropTestsLocalSSL testConcurrentRPCsWithErrorsWithV2API] : Asynchronous wait failed: Exceeded timeout of 32 seconds, with unfulfilled expectations: "Received trailer for RPC 8", "Received trailer for RPC 9".
Test Case '-[InteropTestsLocalSSL testConcurrentRPCsWithErrorsWithV2API]' failed (32.244 seconds).
Test Case '-[InteropTestsLocalSSL testEmptyStreamRPC]' started.
<unknown>:0: error: -[InteropTestsLocalSSL testEmptyStreamRPC] : Asynchronous wait failed: Exceeded timeout of 32 seconds, with unfulfilled expectations: "EmptyStream".
Test Case '-[InteropTestsLocalSSL testEmptyStreamRPC]' failed (32.034 seconds).

I suspect this is caused by a bug in CFStream. Details here: https://forums.developer.apple.com/thread/116143

Yet another similar failure:
https://source.cloud.google.com/results/invocations/a0776ffd-51fb-4ab1-99be-156232356a8a/targets/github%2Fgrpc%2Fobjc_macos_opt_native/log
Test Case '-[CallAPIv2Tests testIdempotentProtoRPC]' started.
/Volumes/BuildData/tmpfs/src/github/grpc/workspace_objc_macos_opt_native/src/objective-c/tests/UnitTests/APIv2Tests.m:388: error: -[CallAPIv2Tests testIdempotentProtoRPC] : Asynchronous wait failed: Exceeded timeout of 8 seconds, with unfulfilled expectations: "Expected response.", "RPC completed.".
Test Case '-[CallAPIv2Tests testIdempotentProtoRPC]' failed (8.162 seconds).

I'm also seeing
Test Suite 'UnitTests.xctest' failed at 2019-05-31 08:40:56.907.
	 Executed 44 tests, with 1 failure (0 unexpected) in 18.112 (18.144) seconds
E0531 08:40:56.907452000<PHONE_NUMBER>48864 ssl_transport_security.cc:1238] Handshake failed with fatal error SSL_ERROR_SSL: error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER.

Also seen in InteropTestsLocalCleartext:
https://source.cloud.google.com/results/invocations/59ab644f-0d83-4898-b6c1-7eda0052d10f/targets/github%2Fgrpc%2Fobjc_macos_dbg_native/tests
Test Case '-[InteropTestsLocalCleartext testConcurrentRPCsWithErrors]' started.
<unknown>:0: error: -[InteropTestsLocalCleartext testConcurrentRPCsWithErrors] : Asynchronous wait failed: Exceeded timeout of 32 seconds, with unfulfilled expectations: "Received trailer for RPC 6", "Received trailer for RPC 7", "Received trailer for RPC 4", "Received trailer for RPC 5", "Received trailer for RPC 9", "Received trailer for RPC 8", "Received trailer for RPC 2", "Received trailer for RPC 3".
Test Case '-[InteropTestsLocalCleartext testConcurrentRPCsWithErrors]' failed (32.199 seconds).


18503 4.0

Thanks for sending a pull request! Here are some tips if you're new here:

Ensure you have added or run the appropriate tests for your PR.
Be sure to keep the PR description updated to reflect all changes.
Write your PR title to summarize what this PR proposes.
If possible, provide a concise example to reproduce the issue for a faster review.
Read our contributor guidelines
If you're making a documentation change, see our guide to documentation contribution

Commit messages should follow the following format:
<One sentence description, usually Jira title or CHANGES.txt summary>

<Optional lengthier description (context on patch)>

patch by <Authors>; reviewed by <Reviewers> for CASSANDRA-#####

Co-authored-by: Name1 <email1>
Co-authored-by: Name2 <email2>

The Cassandra Jira

Committed


Test RHEL9 as a bastion machine

Some folks seem to be upgrading there bastions to rhel9 and it is unclear if we need any changes to the setup bastion playbook in order to support rhel9.

You can assign this to me, I'm in process of figuring out the changes that need to be made

Gave this another test.
rhel 9 opm tarball only include oc-mirror. The opm render command was not compatible.
the ansible deploy gogs container in gogs pod failed.
I've not investigated either of these further. Appears we'll need to do more work for this to be completed.


adding dynamic objects

Hi, I would like to control the place and time of adding dynamic objects like (signal signs, pedestrians, cars) and add it based on the agent performance. How can I do this...thanks in advance

Hi @Marwa215.
@nsubiron is working on a new server that will allow you to do this kind of things!
Take a look at #439.

Thanks for your reply, could I know how did you generated the scenarios for town1&2 which files in the simulator?  I tried to run the planner-example which you gave but it gives not permitted.
My phd project to generate scenarios for targeting some learning objectives and improving the trainee performance level, so I need to inject some actions into the environment at run time such as environmental conditions, pedestrians, traffic signs...etc and update according to the trainee skill level, if this is not available now when the new server may be released.
Kind regards,
Marwa

@Marwa215, we don't have a release date right now.
Maybe in July you can find some experimental stuff in our repo

Hi, thank you for beneficial discussion in this issue.
BTW, can't we spawn signal signs and traffic lights yet? If not, could you tell us when do you plan to release the version that enables that or advise us to implement such functions by ourselves.
Best regards,


Bugfix: Tried to delete an non existing token

When trying to confirm an email address with an invalid token it would render an error. It would also show a message saying the account has been successfully confirmed together with the message that the confirmation link is invalid or out-of-date.
I put everything in an else statement to prevent deleting non existing tokens or trying to log in a user with an invalid token.
I have not written any extra test for this as the test already check if
$I->see('Confirmation link is invalid or out-of-date. You can try requesting a new one.');

Thank you!


Handle test.only & describe.only

test.only, it.only, describe.only, fit and fdescribe were not showing up in the UI.
In this commit I:

Refactored ast/inspector.ts to ensure they are not excluded
Added a gold outline to highlight them in the UI

This is really cool. Thank you. 💯
@allcontributors[bot] please add @jake-nz for code


ng2-dnd doesn't emit event when moving between sortable containers

I'm submitting a ...
[ ] bug report
[x ] feature request
[ ] question about the decisions made in the repository

Do you want to request a feature or report a bug?

i would like an event that is triggered after items are moved between different dnd-sortable-container

What is the current behavior?

The trigger OnDragSuccess and OnDropSuccess trigger only when items are reorderd in the same dnd-sortable-container, but not when they are moved between different dnd-sortable-container

What is the expected behavior?
have an new event that indicates if an dnd-sortable has moved to a new dnd-sortable-container

What is the motivation / use case for changing the behavior?
having a trigger when items are moved between containers is very useful when working with draggable objects

Please tell us about your environment:
angular: ^6.0.2
ng2-dnd: ^5.0.2
browser: all

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)

Can ticket #262 or this one be discarded?


Fix scheduling for task

Add validation for scheduled task num
Add validation for maxConcurrentNumPerPod and maxContainersPerPod
Add test cases for scheduler

Codecov Report

Merging #60 (abf09b9) into master (117edd3) will increase coverage by 0.68%.
The diff coverage is 55.55%.

@@            Coverage Diff             @@
##           master      #60      +/-   ##
==========================================
+ Coverage   61.15%   61.83%   +0.68%
==========================================
  Files          15       15
  Lines        2618     2631      +13
==========================================
+ Hits         1601     1627      +26
+ Misses        756      739      -17
- Partials      261      265       +4


How can I set the hight depend on the children component and resize the width only?

version: 2.3.12
I want to set the grid-item's height depend on the children , and resize the grid-item's width only.How can I do?

has exist


Set up continuous deployment of FE on VPS

Set up a continuous deployment of the dogdb-frontend main branch on the VPS using GitHub actions.
https://dev.to/knowbee/how-to-setup-continuous-deployment-of-a-website-on-a-vps-using-github-actions-54im

awesome. I hope we can get success or failed outputs on pull requests on the main branch.


Update gitignore submodule

Hi,
submodule "gitignore" has some update, the submodule in your project is outdated.
Please update it, thx.

Thanks, but there is no need to PR for this kind yo operation. I do it every time before releasing new version.