gltfpack: Merge identical texture objects together

Blender glTF exporter (and possibly others) output duplicate texture objects in some exports. This blocks material merging which can result in more draw calls than necessary, and in some loaders (such as Three.JS) may result in extra texture decoding during loading and extra memory spent.
For simplicity we still assume that images and samplers in the source document are unique, but deduplicate and remove redundant texture objects now.
The process is a little different from how materials are deduplicated, as we need to maintain remap for unused textures to avoid traversing all texture views again as they are part of a complicated material structure.

Looks like there's no memory savings because three.js uses uri+sampler as a cache key, so this only affects material merge optimizations (or other non-three.js renderers?).

@zeux in case it's relevant — I currently merge identical texture objects in glTF Transform, but have been asked not to do that in certain cases where the material uses different parts of the same texture for different purposes, e.g. color vs. normal map. In that situation three.js has difficulty sharing the texture resource while associating it with sRGB and non-sRGB data.
I'm inclined to continue merging textures, and to consider mixed colorspaces a pathological case, but I would be interested if you have any thoughts on what the glTF spec should recommend:

https://github.com/KhronosGroup/glTF/issues/2308

That all lines up with what I've experienced, yes! Trying to make reasonable choices about a texture associated with multiple color spaces was more than I wanted to deal with though hah - hoping that logging a warning could be enough.

Yeah I looked at the motivating discussion in glTF-Transform and that asset just feels broken so absent a clear use case with a proper asset it feels like a pathological case that doesn't need to be supported.


add "try it on ebrains" button for elephant tutorials

This PR adds a "Try it on EBRAINS" next to "Launch on MyBinder" button for the elephant tutorials in the documentation.
Currently the button used is from the NEST website:
https://nest-simulator.org/TryItOnEBRAINS.png
Example: (statistics tutorial)

Coverage: 87.402% (-0.3%) from 87.744% when pulling d26d55f1925adb69f060c15c11a0bf5a240a8632 on INM-6:enh/try_it_on_ebrains_button into b9d0d54e8560074fc34ec333cf93d8ab17d34b47 on NeuralEnsemble:master.


Workspace doesn't restores itself on re-opening Code in Ubuntu 17.10 GNOME

Ubuntu 17.10 also provides older Unity interface, in which workspace gets restored on re-opening VS Code, but it doesn't happens in new GNOME UI unless a file modified isn't saved.

I can reproduce this as well

I can reproduce but only when I launch VS Code from the task bar, not when running from the command line. All state (local storage) seems to be there, just not the window state (which folder was opened before).
@Tyriar do you have any clue what could go on here?

@Tyriar my first guess would be that clicking the icon in the dock puts the "-n" argument to the process and that is why we always open up empty.

@bpasero I had the same problem.
Looking into the code.desktop file I notice this:
[Desktop Entry]
Name=Visual Studio Code
Comment=Code Editing. Redefined.
GenericName=Text Editor
Exec=/usr/share/code/code --unity-launch %F
Icon=code
Type=Application
StartupNotify=true
StartupWMClass=Code
Categories=Utility;TextEditor;Development;IDE;
MimeType=text/plain;inode/directory;
Actions=new-window;
Keywords=vscode;

X-Desktop-File-Install-Version=0.23

[Desktop Action new-window]
Name=New Window
Name[de]=Neues Fenster
Name[es]=Nueva ventana
Name[fr]=Nouvelle fenêtre
Name[it]=Nuova finestra
Name[ja]=新規ウインドウ
Name[ko]=새 창
Name[pt_BR]=Nova Janela
Name[ru]=Новое окно
Name[zh_CN]=新建窗口
Name[zh_TW]=開新視窗
Exec=/usr/share/code/code --new-window %F
Icon=code

The action 'new-window' is beeing triggered every time I click on the dock icon, when it supposed to behave like that only when the action is clicked. I figure if I remove the '--new-window' attribute from the Exec it will restore the workspace normally.
Maybe is a gnome dock issue or just an error on the desktop file syntax.
Hope I helped!

I'll check this out now

What appears to be happening is that "New Window" is now the default action for all applications in the new Gnome desktop manager. Since we had an additional action defined as "New Window", that is becoming the default due to the name.

@Tyriar I am still seeing this, could this be a caching issue where I need to uninstall and reinstall?

@bpasero I was uninstalling and reinstalling the OSS build while testing the fix, there is a desktop-file-install command which is meant to refresh it but it didn't seem to work reliably on Gnome.

I can no longer reproduce, maybe the restart fixed it.

@Tyriar I'm unable to launch at all from the dock. I either have to open up the software center and click "launch" or do it from the command line. Could this be related?


Possible typo in info message when running node server.js from command line

browser is mispelled as browswer  (unless it is intentional that way) in the info message that shows up when node server.js is executed.
$ node server.js
Settings file: ...
Open your browswer and type in one of the following:
<IP_ADDRESS>:8080

It is certainly a very minor issue, but just wanted to point out since this shows up every time that command is executed.
Thank you for this amazing piece of software!

Fixed, thank you


Device Primary IP now accepts IP Addresses on Modules.

Closes #5791 #5792
What's Changed

Device Primary IP now accepts IP Addresses from Modules.
Device Components from Modules show up in the Device Component Tab (and count).
Screenshots

OLD:

NEW:

TODO

[ ] Explanation of Change(s)
[ ] Added change log fragment(s) (for more information see the documentation)
[ ] Attached Screenshots, Payload Example
[ ] Unit, Integration Tests
[ ] Documentation Updates (when adding/changing features)
[ ] Example App Updates (when adding/changing features)
[ ] Outline Remaining Work, Constraints from Design

This was my fix to the CI failure you're showing:
https://github.com/nautobot/nautobot/pull/5845/files#diff-bf29c86a684ab0f16aa0ed3546457cba0783d5e80909f51710ea1fe1fc6818f2L221-R221


Gists

Hrm. There's some caching that's preventing the gist from loading....
https://pr47-o6nbzyjheerv70ttg0ivzc8jja1dxbzk.tugboat.qa/examples/tenon_io/

This one is ready to go now.

test this please

test this please


Align Scroll Button Properly

hey assign this to me i want to work

Sure @ruchika-01p , Work on it

Hey i want to work on this.


Spike: Can we use go-swaggers "managed" way for Oauth2?

Background
Our original plan was to use OIDC as an auth module as outlined in #628. In the meantime we have learned that there is also a way to integrate oauth2 directly into go-swagger.
Goal
Question: Would we benefit from using this feature over building the required things ourselves?
In more detail:

Do we lose pluggability because of this?
How would we deal with the fact that many of our Auth decisions are happening in GraphQL which from a REST perspective is always the same endpoint?
Will we stay flexible enough to support custom enterprise Identity Providers & Token Issuers?
How much effort would we save? Would any additional work be required that wouldn't be necessary otherwise?
Do we still have the ability to enable "no auth at all"?

Todos

[x] setup independent spike project with go-swagger with OAuth2 and try to answer the questions from above

I slightly misinterpreted the go-swagger docs. There isn't really a way of managing Oauth with go-swagger. We can simply configure it and have the option to pass different scopes to different endpoints. This is however not at all fine-grained enough for what we need.
Nevertheless the spike provided some good answers, we know know that

we have no limitations regarding pluggability as long as the overall AuthN scheme is supported in Swagger. AuthZ is completely independent
we can be as strict or lenient about token validation as we chose to be (this is regarding "special enterprise solutions")
there is also an option to turn auth off completely in go-swagger


Tool format failure regarding multiple assignment.

The following code fails crystal tool format in crystal 0.24.1:
positions[0], positions[15] =
                 positions[0], positions[15]

Reduced from my actual example in my code that was long enough to warrant line breaking.

I'm pretty sure @MakeNowJust can handle this :+1:

I'm here. Is the expected result this?
positions[0], positions[15] =
  positions[0], positions[15]

In fact single assignment with newline after equal is formatted to:
positions =
  positions

So I think the above is expected.

That is certainly what I'd expect to happen yes.


FR: Use configurable buildozer + buildifier for BUILD file modify + formatting

For build file modification the plugin uses simple text modifier
For build file formatting the plugin uses hardcoded version of buildifier. Currently set to 0.12.0 when the last released version is 0.20.0
We should use buildozer for modifications and allow configuring local binaries
Feature requests:

Use buildozer for build file modification. Have a built-in buildozer binary as well. Change buildModifier to drive the binary and not change text manually. (note: buildozer expects to find buildifier on PATH, but I'm sure we can solve it, eg: modifying the PATH according to configured buildifier)
Allow overriding the built-in tools by providing path to locally installed tools (so we can use newer versions). We already have configuration for bazel binary - let's add configuration for those tools as well.

Related issues
https://github.com/bazelbuild/intellij/issues/261

Configurability with sane defaults should always be a good idea. I am looking into this issue. Starting with the buildifier, the idea is to allow user choose either built-in tool or pre-installed in the system:

Add checkbox in "Bazel Settings" to use built-in buildifier binary
Add Buildifier binary location file edit box to set the alternative binary
The BazelBuildifierBinaryProvider then makes appropriate choices to provide the binary file.

@brendandouglas  - @ignasl is taking this task.
Please comment as soon as you can if this is done in any way in your upstream repository to avoid redundant work

@brendandouglas ?

What's the use case for customizing the buildifier/buildozer binaries?
Rather than a user setting, how about allowing any version already present on PATH to override the bundled version?

The alternative solution, as you say, would be to use any version present in PATH and if it is not present (i.e. process create fails), fall back to the built-in one. This would work, but:

user may want to choose a different version for different projects she is working on, say to maintain legacy code
use configuration to point to some scripts to append some options
test-drive new version before replacing the one found in PATH

All that can be achieved using symbolic links, scripting, and other tools. The question is convenience -- for most it would be much faster to just change the path to the executable than create a link or write a script that would make necessary choices.

Another use-case for having buildifier and buildozer configuration is that on MacOS X (at least on 10.14) /usr/local/bin does not appear in PATH that Java gets from environment and this is where these tools would normally be installed if access to /usr/bin, `/bin' or other system folders is restricted.

I notice this issue starkly while switching back and forth between this plugin and VScode with its plugin... which (while not without its own open issues) "just works" with the buildifier already on the PATH.


[BUG] Cannot Search by Ticker on Dex

Describe the bug

To Reproduce
Steps to reproduce the behavior:

Go to Exchange
Click on Search Box
Type ARRR
See error

Expected behavior
It should produce the listing for Pirate Chain

What we expect to work:

Any ticker (qualified and status 2) should be founded under any circumstances, partly or exact matches
So AC should show ACL for example.
Any asset should be able to be traded against any qualified or gateway asset
qualified should be able to trade against qualified

"TN / (assetID)"

Unverified/unverified doesn't need to work in my opinion, unless this comes automatically

https://privatenode.blackturtle.eu/addresses/data/3JwdMmF7xEack9y8SJ4VeQ4UX2qmu1jCoWa?matches=^ticker_<.*$
<= get tickers from oracle
https://privatenode.blackturtle.eu/addresses/data/3JwdMmF7xEack9y8SJ4VeQ4UX2qmu1jCoWa?matches=^status_<.*$
<= get status from oracle

The assets need to be assigned ticker values in the data-service

I made a tool which auto updates every 5 min from the oracle.


Plotly to_image and savefig just hangs, Windows 10, Pycharm, Python 3.7, latest Kaleido

HI,
Tried all the  mentioned stuff like mathjax disable etc. Still just hangs.
Has there been any new information on this one?
Regards
Tobie

I have a similar issue. Calls to write_image() hang. I'm on Windows 10, VS Code, plotly 5.1, and kaleido 2.1. I'm also behind a corporate firewall/proxy so maybe that's introducing a problem.

I had the same problem with write_image(). I tried to install WSL2 manually to fix it but for some reason that did not work. However later i downloaded docker desktop for windows and it gave the option to download WSL2 with it. When i installed WSL2 this way it fixed the problem of write_image hanging. Hope this helps any of you.

HI,
Thanks - The only way I could get this to work is by explisitly using Plolty 4.7.0 or 4.7.1 and then I had to revert back to Orca since Kaleido was not available i think then.
This is ok for now since this issue is on my windows PC (dev only) and I dont have the issue on the production server running Linux.

Hi,
Experiencing the same issue here.  Environment:
OS:  Windows 10
Python:  3.9.6
Plotly:  5.2.1
Kaleido:  0.2.1
Please let me know if I can provide any further information that may be helpful in digging deeper.

HI
I downgraded to plotly 4.7.x and then had to use orca. That's the only way
I got it to work.
On Wed, Aug 18, 2021 at 9:06 PM Chris @.***> wrote:

Hi,
Experiencing the same issue here. Environment:
OS: Windows 10
Python: 3.9.6
Plotly: 5.2.1
Kaleido: 0.2.1
Please let me know if I can provide any further information that may be
helpful in digging deeper.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/plotly/Kaleido/issues/98#issuecomment-901359057, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGETQNYDAISFEKQNG6RYFDT5QADDANCNFSM5ANEUCKA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

--
Tobie Nortje<PHONE_NUMBER>

Thanks for sharing, @Tooblippe!

For those how are still facing this problem, you don't need to downgrade plotly, install orca like here  and in the first time running write_image function shows this "error ValueError: Image generation requires the psutil package." so i run pip install psutil and the problem was solved, now i just switch between engines for development and production environment.

For those how are still facing this problem, you don't need to downgrade plotly, install orca like here  and in the first time running write_image function shows this "error ValueError: Image generation requires the psutil package." so i run pip install psutil and the problem was solved, now i just switch between engines for development and production environment.
i'm using plotly==5.3.1, kaleido==0.2.1, psutil==5.9.0, certifi==2021.10.8

I have plotly==5.8.0 kaleido==0.2.1, psutil==5.9.0 and I still have the same problem
https://github.com/plotly/plotly.py/issues/3744#issuecomment-1135428903

I am also still having this problem even after downloading orca.
I have plotly==5.9.0 kaleido==0.2.1, psutil==5.9.0

Having same issue on windows11 plotly==5.8.0 kaleido==0.2.1 psutil==5.9.4

Having the same issue on windows 11, kaleido==0.21, plotly==5.11

Facing the same issue with plotly 5.12.0 and kaleido 0.2.1 on Windows 11.
Anybody working on this?

Downgrading kaleido to v0.1.0.post1 solved the issue for me on Windows. On Linux, however, I had to donwgrade kaleido to v0.0.3 to make it work.
I am also wondering if this issue will be worked addressed anytime soon?

Thanks for your interest in Kaleido. We are currently working on an overhaul that might address your issue - we hope to have news in a few weeks and will post an update then. Thanks - @gvwilson

Thanks.
Sent from Outlook for iOShttps://aka.ms/o0ukef

From: Greg Wilson @.>
Sent: Friday, July 26, 2024 5:17:50 PM
To: plotly/Kaleido @.>
Cc: Abed Hammoud @.>; Comment @.>
Subject: Re: [plotly/Kaleido] Plotly to_image and savefig just hangs, Windows 10, Pycharm, Python 3.7, latest Kaleido (#98)
Thanks for your interest in Kaleido. We are currently working on an overhaul that might address your issue - we hope to have news in a few weeks and will post an update then. Thanks - @gvwilsonhttps://github.com/gvwilson
—
Reply to this email directly, view it on GitHubhttps://github.com/plotly/Kaleido/issues/98#issuecomment-2252871672, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOBITHFBZG4TIP5BXJQHS73ZOJLA5AVCNFSM6AAAAABLQTRV2KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJSHA3TCNRXGI.
You are receiving this because you commented.Message ID: @.***>

Downgrading kaleido to v0.1.0.post1 solved the issue for me on Windows. On Linux, however, I had to donwgrade kaleido to v0.0.3 to make it work.
I am also wondering if this issue will be worked addressed anytime soon?

I am facing the same issue on a Windows 10 PC and that solution to downgrade to v0.1.0.post1 worked for me too.


Correction for raw affiliation INSERM, Univ Rennes, INRAE, Institut NUMECAN (Nutrition Metabolisms and Cancer) UMR_A 1341, UMR_S 1241, F-35000, Rennes, France

Correction needed for raw affiliation INSERM, Univ Rennes, INRAE, Institut NUMECAN (Nutrition Metabolisms and Cancer) UMR_A 1341, UMR_S 1241, F-35000, Rennes, France
raw_affiliation_name: INSERM, Univ Rennes, INRAE, Institut NUMECAN (Nutrition Metabolisms and Cancer) UMR_A 1341, UMR_S 1241, F-35000, Rennes, France
new_rors: 015m7wh34;003vg9w96;02vjkv261;03zb6nw87
previous_rors: 015m7wh34;003vg9w96;02vjkv261
works_examples: W4302773440
contact: cd79c505ea78171bf2b9ea77cd98e602:97ef3aa0944c5035328ce6d8120e7a85 @ univ-rennes.fr

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


Errors using NPM after fresh installation by NVM4W

If this is a question about how to use NVM4W, please use stackoverflow instead.
If this is an issue regarding antivirus, make sure you search the existing issues first.
My Environment

[ ] Windows 7 or below (not truly supported due to EOL - see wiki for details)

[ ] Windows 8

[x] Windows 8.1

[ ] Windows 10

[ ] Windows 10 IoT Core

[ ] Windows Server 2012

[ ] Windows Server 2012 R2

[ ] Windows Server 2016

[ ] My Windows installation is non-English.

I'm using NVM4W version:

[x] 1.1.6
[ ] 1.1.5
[ ] 1.1.4
[ ] 1.1.3
[ ] 1.1.2
[ ] 1.1.1
[ ] Older
[ ] OTHER (Please Specify)

I have already...

[X] read the README to be aware of npm gotchas & antivirus issues.
[X] reviewed the wiki to make sure my issue hasn't already been resolved.
[X] verified I'm using an account with administrative privileges.
[X] searched the issues (open and closed) to make sure this isn't a duplicate.
[X] made sure this isn't a question about how to use NVM for Windows, since gitter is used for questions and comments.

My issue is related to (check only those which apply):

[ ] settings.txt
[ ] proxy support (Have you tried version 1.1.0+?)
[ ] 32 or 64 bit support (Have you tried version 1.1.3+?)
[ ] Character escaping (Have you tried version 1.1.6+?)
[ ] A standard shell environment (terminal/powershell)
[ ] A non-standard shell environment (Cmder, Hyper, Cygwin, git)

Expected Behavior
Installation process will download, install Node.JS and NPM correctly
Actual Behavior
NPM not downloaded and therefore now installed correctly
Steps to reproduce the problem:
Just use nvm install 8.11.1
Error reported are on attempt to use NPM:
module.js:549
    throw err;
    ^

Error: Cannot find module 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js'
    at Function.Module._resolveFilename (module.js:547:15)
    at Function.Module._load (module.js:474:25)
    at Function.Module.runMain (module.js:693:10)
    at startup (bootstrap_node.js:188:16)
    at bootstrap_node.js:609:3
module.js:549
    throw err;
    ^

Error: Cannot find module 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js'
    at Function.Module._resolveFilename (module.js:547:15)
    at Function.Module._load (module.js:474:25)
    at Function.Module.runMain (module.js:693:10)
    at startup (bootstrap_node.js:188:16)
    at bootstrap_node.js:609:3

When checking in Windows Explorer folder "C:\Program Files\nodejs\node_modules" is empty, were it should have "npm" scripts in them.
I suspect that NPM mirror download https://github.com/npm/npm/archive/ , which is default not correct anymore, when putting in browser it leads to 404 GitHub page.

This could be the same issue as #302 even though the error message isn't exactly the same. The issue however is that npm is not being unzipped and copied correctly to it's destination.
@IgalOre Can you try out some of the suggestions that are mentioned in #302 and see if that helps?

It do works by using workaround proposed by  @roman-spiridonov . Will write down to do manual patching after installing new version... Oh boy
Thank you @b-dur

@IgalOre Good that you got it working. Hopefully we can get a patched version out soon that will fix this issue.

Half a year later, what is the state of this?

Have you tried latest version?

Sure, guess what brought me here.

To be honest, I gave up trying to get things fixed many months ago. So haven't been following what the status of this project is.

The NPM repo readme states:

This repository is moving to: https://github.com/npm/cli

The last version on the old repo is: v6.1.0. So NVM gets a 404 when trying to download npm-v6.4.1.zip.

Yes, version 1.1.4 had the issue where the npm download path was incorrect but 1.1.7 seems to be working.
URL used in 1.1.4: https://github.com/npm/npm/releases/tag/v6.4.1


Option to exclude header hash / sharp symbol # from word count

Problem
I noticed that on a long text, the Novel word count quite differed from the count given by Better Word Count on the top header of my file (thus containing all the text in the file, except the header itself).
There, I discovered that the header text itself was counted by Novel word count, which okay, but that the starting hash / sharp symbols #, ##, etc. were also counted as +1, which is not okay for my count.
For now, I just ignore the difference, but since I use a trick to mark invisible sections in my novel that appear in the Outline view but not in exported PDF, using headers filled with comments (and not commented headers, it wouldn't work):
## %% Section 1 %%

this should count as 0 words, but ## still counts as 1 word.
Idea
So it would be nice to have an advanced option to ignore certain symbols from word count. Personally, I think we should ignore groups of # by default.

See #62.

@hsandt This should be fixed now (v3.4.0).


chore(main): release 1.4.7

:robot: I have created a release beep boop
1.4.7 (2022-11-30)
Bug Fixes

fix header bug (87672bb)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/School-of-Website-Engineering/Rosy-DR-Code-Ling/releases/tag/v1.4.7 :sunflower:


[Issue]: CMake is not identifying hipcc

Problem Description
I just moved to Ubuntu 24.04 and installed ROCm on it with amdgpu-install. No errors reported. Now I would like to use hipcc to compile a program that use CMake as a build assistant. Thus, I used the CMake configuration command cmake .. -DCMAKE_CXX_COMPILER=hipcc and got the following error:

Operating System
Ubuntu 24.04.1 LTS (Noble Numbat)
CPU
AMD Ryzen 9 7900 12-Core Processor
GPU
AMD Radeon Pro W7900
ROCm Version
ROCm 6.2.0
ROCm Component
HIPCC
Steps to Reproduce
No response
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
ROCk module version 6.8.5 is loaded
HSA System Attributes
Runtime Version:         1.14
Runtime Ext Version:     1.6
System Timestamp Freq.:  1000.000000MHz
Sig. Max Wait Duration:<PHONE_NUMBER>3709551615 (0xFFFFFFFFFFFFFFFF) (timestamp count)
Machine Model:           LARGE
System Endianness:       LITTLE
Mwaitx:                  DISABLED
DMAbuf Support:          YES
==========
HSA Agents

Agent 1

Name:                    AMD Ryzen 9 7900 12-Core Processor
Uuid:                    CPU-XX
Marketing Name:          AMD Ryzen 9 7900 12-Core Processor
Vendor Name:             CPU
Feature:                 None specified
Profile:                 FULL_PROFILE
Float Round Mode:        NEAR
Max Queue Number:        0(0x0)
Queue Min Size:          0(0x0)
Queue Max Size:          0(0x0)
Queue Type:              MULTI
Node:                    0
Device Type:             CPU
Cache Info:
L1:                      32768(0x8000) KB
Chip ID:                 0(0x0)
ASIC Revision:           0(0x0)
Cacheline Size:          64(0x40)
Max Clock Freq. (MHz):   5482
BDFID:                   0
Internal Node ID:        0
Compute Unit:            24
SIMDs per CU:            0
Shader Engines:          0
Shader Arrs. per Eng.:   0
WatchPts on Addr. Ranges:1
Memory Properties:
Features:                None
Pool Info:
Pool 1
Segment:                 GLOBAL; FLAGS: FINE GRAINED
Size:                    65536748(0x3e802ec) KB
Allocatable:             TRUE
Alloc Granule:           4KB
Alloc Recommended Granule:4KB
Alloc Alignment:         4KB
Accessible by all:       TRUE
Pool 2
Segment:                 GLOBAL; FLAGS: KERNARG, FINE GRAINED
Size:                    65536748(0x3e802ec) KB
Allocatable:             TRUE
Alloc Granule:           4KB
Alloc Recommended Granule:4KB
Alloc Alignment:         4KB
Accessible by all:       TRUE
Pool 3
Segment:                 GLOBAL; FLAGS: COARSE GRAINED
Size:                    65536748(0x3e802ec) KB
Allocatable:             TRUE
Alloc Granule:           4KB
Alloc Recommended Granule:4KB
Alloc Alignment:         4KB
Accessible by all:       TRUE
ISA Info:

Agent 2

Name:                    gfx1100
Uuid:                    GPU-07071a9c2b9e8ff7
Marketing Name:          AMD Radeon PRO W7900
Vendor Name:             AMD
Feature:                 KERNEL_DISPATCH
Profile:                 BASE_PROFILE
Float Round Mode:        NEAR
Max Queue Number:        128(0x80)
Queue Min Size:          64(0x40)
Queue Max Size:          131072(0x20000)
Queue Type:              MULTI
Node:                    1
Device Type:             GPU
Cache Info:
L1:                      32(0x20) KB
L2:                      6144(0x1800) KB
L3:                      98304(0x18000) KB
Chip ID:                 29768(0x7448)
ASIC Revision:           0(0x0)
Cacheline Size:          64(0x40)
Max Clock Freq. (MHz):   1760
BDFID:                   768
Internal Node ID:        1
Compute Unit:            96
SIMDs per CU:            2
Shader Engines:          6
Shader Arrs. per Eng.:   2
WatchPts on Addr. Ranges:4
Coherent Host Access:    FALSE
Memory Properties:
Features:                KERNEL_DISPATCH
Fast F16 Operation:      TRUE
Wavefront Size:          32(0x20)
Workgroup Max Size:      1024(0x400)
Workgroup Max Size per Dimension:
x                        1024(0x400)
y                        1024(0x400)
z                        1024(0x400)
Max Waves Per CU:        32(0x20)
Max Work-item Per CU:    1024(0x400)
Grid Max Size:<PHONE_NUMBER>(0xffffffff)
Grid Max Size per Dimension:
x<PHONE_NUMBER>(0xffffffff)
y<PHONE_NUMBER>(0xffffffff)
z<PHONE_NUMBER>(0xffffffff)
Max fbarriers/Workgrp:   32
Packet Processor uCode:: 232
SDMA engine uCode::      21
IOMMU Support::          None
Pool Info:
Pool 1
Segment:                 GLOBAL; FLAGS: COARSE GRAINED
Size:                    47169536(0x2cfc000) KB
Allocatable:             TRUE
Alloc Granule:           4KB
Alloc Recommended Granule:2048KB
Alloc Alignment:         4KB
Accessible by all:       FALSE
Pool 2
Segment:                 GLOBAL; FLAGS: EXTENDED FINE GRAINED
Size:                    47169536(0x2cfc000) KB
Allocatable:             TRUE
Alloc Granule:           4KB
Alloc Recommended Granule:2048KB
Alloc Alignment:         4KB
Accessible by all:       FALSE
Pool 3
Segment:                 GROUP
Size:                    64(0x40) KB
Allocatable:             FALSE
Alloc Granule:           0KB
Alloc Recommended Granule:0KB
Alloc Alignment:         0KB
Accessible by all:       FALSE
ISA Info:
ISA 1
Name:                    amdgcn-amd-amdhsa--gfx1100
Machine Models:          HSA_MACHINE_MODEL_LARGE
Profiles:                HSA_PROFILE_BASE
Default Rounding Mode:   NEAR
Default Rounding Mode:   NEAR
Fast f16:                TRUE
Workgroup Max Size:      1024(0x400)
Workgroup Max Size per Dimension:
x                        1024(0x400)
y                        1024(0x400)
z                        1024(0x400)
Grid Max Size:<PHONE_NUMBER>(0xffffffff)
Grid Max Size per Dimension:
x<PHONE_NUMBER>(0xffffffff)
y<PHONE_NUMBER>(0xffffffff)
z<PHONE_NUMBER>(0xffffffff)
FBarrier Max Size:       32
*** Done ***
Additional Information
HIP version: 6.2.41133-dd7f95766
AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.2.0 24292 26466ce804ac523b398608f17388eb6d605a3f09)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/rocm-6.2.0/lib/llvm/bin
Configuration file: /opt/rocm-6.2.0/lib/llvm/bin/clang++.cfg

I also ran into trouble on Ubuntu 24.04.1 LTS.
However, it is rocminfo.
rocminfo
ROCk module is NOT loaded, possibly no GPU devices
I guess the newest version of Ubuntu is the cause of the problem.

Hi @Vomartins, could you please try installing libstdc++ with sudo apt install libstdc++-12-dev and then recompile the program?

@harkgill-amd I installed the package but nothing changed.

Obs.: I tried using hipcc without CMake I got the same error (fatal error: 'cmath' file not found).

I updated libstdc++-13 to libstdc++-14 and the problem was solved.


Windows Virtual Desktop Get-RdsStartMenuApp "list is empty"

Hi,
Followed guide at https://docs.microsoft.com/en-us/azure/virtual-desktop/manage-app-groups, to publish remote app on Windows Virtual Desktop. But when I come to Get-RdsStartMenuApp I get the error:

Get-RdsStartMenuApp : The session host list is empty.
ActivityId: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Powershell commands to diagnose the failure:
Get-RdsDiagnosticActivities -ActivityId xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
At line:1 char:1

Get-RdsStartMenuApp -TenantName "xxxxx" -HostPoolName "hostpoo ...

  + CategoryInfo          : FromStdErr: (Microsoft.RDInf...RdsStartMenuApp:GetRdsStartMenuApp) [Get-RdsStartMenuApp], RdsPowerShel
 lException
  + FullyQualifiedErrorId: SessionHostListIsEmpty,Microsoft.RDInfra.RDPowershell.HostPool.GetRdsStartMenuApp

I've set everything up 2 times now, but still got this error.
Am I missing something or..?
Thanks

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

ID: c05d017a-8ce4-d3c2-333c-9f1decbc8e6c
Version Independent ID: 7f2287e0-71d2-05ef-335b-45bb4cd6cfe3
Content: Manage app groups for Windows Virtual Desktop Preview  - Azure
Content Source: articles/virtual-desktop/manage-app-groups.md
Service: virtual-desktop
GitHub Login: @Heidilohr
Microsoft Alias: helohr

@Jeroen-H Thank you for your feedback! We will review and provide an update as appropriate.

@Heidilohr Please take care of this issue

@Jeroen-H : It looks like there are no session hosts in your host pool. Did you already end up running the Azure Marketplace or GitHub ARM template to create/provision a host pool with virtual machines?

@Jeroen-H Is there an update on this issue?

Hi, sorry was on a holiday.
could you be more specific about the azure marketplace or github arm template?
I have a virtual machine running, was powered down during my holiday as nobody else was using it.
I configured the virtual desktop following https://docs.microsoft.com/en-us/azure/virtual-desktop/tenant-setup-azure-active-directory and https://techcommunity.microsoft.com/t5/Windows-IT-Pro-Blog/Getting-started-with-Windows-Virtual-Desktop/ba-p/391054/page/2#comments

Update:
Tried the steps on https://docs.microsoft.com/en-us/azure/virtual-desktop/manage-app-groups#feedback again and now its working. Although app is not visible now on the webfeed, I saw that other people have the same issue, I will make a post there to check status.
Thank you

@ Josuvil, I got this error while my desktop session was already connected. It happened when my desktop session was connected to a different host pool and i ran cmd against a different hostpool/app group name. Hope you're not making the same mistake as i did. Try again and ensure hostpool and appgroup name is specified correctly!


« Copy Jetbrains IDE link » action ?

Don’t know if it can be done,  but it would be nice to be able to pass a Jetbrains IDE link to my coworker instead of a platform link.
Most of the time I want to see the code in my IDE.
IMO, this would require Jetbrains plugins to be able to:

listen to Jetbrains protocol uris
browse the list of cloned projects known to Jetbrains IDE installation

JetBrains own "developer chat" IdeTalk plugin supports sending code links:
https://plugins.jetbrains.com/plugin/233-idetalk
Maybe it would work for you?


Falied to transform artifact

Hello, I am getting this error after attempting to import the project by adding "Implementation 'com.chootdev.timezago:1.1.8' into my app level gradle file: ERROR: Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Failed to transform artifact 'timezago.aar (com.chootdev:timezago:1.1.8)' to match attributes {artifactType=jar} I have not found any information regarding this error online. Clicking on "Show details" doesn't work. Do any of you know what the problem is?

It looks failed to publish version 1.1.8
When I set version to 1.1.7, I got success.

as advised by @integral0909 , that's the ideal solution


normalize data for dcm

This is a start on https://github.com/UDST/urbansim/issues/208 still to do:

[x] make it optional
[ ] add test for both behaviors
[x] add l1 l2 regularization
[ ] test regularization

But I thout I'd open this to get some feedback.

AppVeyor is Failed building wheel for pandana I don't think I can fix that.
I am working on the travis things.

Coverage decreased (-0.4%) to 93.959% when pulling d10e19417453f3a8f0fc84a7ab19eb94e1a6cd2a on SEMCOG:normalize-data into 24970393b117cbf2464eeb336f425cbfb641fa1b on UDST:master.

Coverage decreased (-0.4%) to 93.959% when pulling d10e19417453f3a8f0fc84a7ab19eb94e1a6cd2a on SEMCOG:normalize-data into 24970393b117cbf2464eeb336f425cbfb641fa1b on UDST:master.

Thanks for this @Eh2406!   The passing Travis builds are the relevant benchmark here.  The appveyor Windows build are failing due to pandana on Windows, which is unrelated to the present PR.   We'll fix that, or we may remove pandana as a hard dependency of core urbansim (as little in this repo specifically requires pandana).

Ping. To be clear I am stuck waiting for advice on what tests you would like to see.

Some thoughts:
test_dcm.py

Create a "normalized_dcm" fixture that takes the existing basic_dcm fixture as a starting point and set values for normalized/l1/l2
Using the test_mnl_dcm function as a template, implement a high-level smoke-test just to see that the model with normalization can be fitted, that probabilities can be calculated from the resulting model, and that  'Normalization Mean' / 'Normalization Std' are in the resulting fit parameters.

test_mnl.py

Can any of the normalization/regularization changes to mnl.py be tested here?  Perhaps a test for expected coefficients that are different when non-zero l1/l2 values supplied?  And a smoke-test to ensure that mnl.mnl_simulate() runs with normalization_mean / normalization_std?

I parameterized basic_dcm to run with normalization and 3 different regularizations. Then looked through all the newly failing tests. This sussed out 2 places where I did not pass the new arguments in the correct order. Oops. Meny of the test can be made to pass with an if on basic_dcm.normalize. For the 3 that could not be done so easily, I added a simple_dcm that matched the old basic_dcm and switched them to use that.
Thoughts?

merged and ci is green. Thoughts? What else would you like to see before accepting?


chore: use latest adobe/helix-post-deploy orb

See adobe/helix-ops#203

:tada: This PR is included in version 1.1.18 :tada:
The release is available on:

v1.1.18
GitHub release

Your semantic-release bot :package::rocket:


Update interpreter.js

added 6 new properties to d
cause why not
Type

[ ] Bug Fix
[ ] Functions: <Function Name>
[ ] Callbacks: <Callback Name>
[ ] Handlers: <Handler Type>
[x] Others: Interpreter.js update , djsEval update

Dependencies (Third Party Modules) needed: none(Maximum: 20MB~ size)
Want a credit? Discord tag or other social media link:
Referenced Issue: #NaN (Answer for an issue, if any)
Description
Pull Request Description Here
added 5 new properties to d
added those properties in djseval

btw you can access the props from message object too

btw you can access the props from message object too

ik
it makes things a bit easy cause
shortcuts
uk ;3


Added upgrade step for Yii 2.0.17 about yii\web\DbSession

https://github.com/yiisoft/yii2/pull/17188 might brake existing projects when the yii\web\DbSession class is extended.

Q
A

Is bugfix?
no

New feature?
no

Breaks BC?
no

Tests pass?
yes

Fixed issues
-

Merged. Thank you!


Local fonts with multiple weights but same name

I can't see it mentioned in the README how this use case would be handled, so I thought I'd open an issue to get it clarified, then I can submit a PR for the docs.
For font faces that have the same name but multiple font-weights, how would we handle the configuration for this?
E.G.
@font-face {
    font-display: swap;
    font-style: normal;
    font-weight: 400;
    font-family: 'Tenon';
    src:
        local('Tenon Regular'),
        local('Tenon-Regular'),
        local('TenonRegular'),
        url('/fonts/tenon_regular.woff2') format('woff2'),
        url('/fonts/tenon_regular.woff') format('woff');
}

/* Tenon */
/* Font weight: Medium */
@font-face {
    font-display: swap;
    font-style: normal;
    font-weight: 500;
    font-family: 'Tenon';
    src:
        local('Tenon Medium'),
        local('Tenon-Medium'),
        local('TenonMedium'),
        url('/fonts/tenon_medium.woff2') format('woff2'),
        url('/fonts/tenon_medium.woff') format('woff');
}

/* Tenon */
/* Font weight: Bold */
@font-face {
    font-display: swap;
    font-style: normal;
    font-weight: 700;
    font-family: 'Tenon';
    src:
        local('Tenon Bold'),
        local('Tenon-Bold'),
        local('TenonBold'),
        url('/fonts/tenon_bold.woff2') format('woff2'),
        url('/fonts/tenon_bold.woff') format('woff');
}

This has 3 font files for Tenon, but all under the font-family: 'Tenon'. Changing the font-weight lets the browser choose the right font file automatically.
Just wondering how we'd set this up, as well as get the local fallbacks.
Out of the box I just get the 400 weight font files, and no local fallback

Have you tried creating ~/public/Tenon-500.woff2? We probably need to add support for mapping Medium/Regular/Bold to numeric weights.

Yeah unfortunately it ignored it

Someone also reports an issue on discord with the following config:
const fontPrefix = '/fonts/montserrat-font/Montserrat';
export default defineNuxtConfig({
  devtools: { enabled: true },
  modules: [
    '@nuxt/image',
    "@nuxt/fonts"
  ],
  image: {
    quality: 80,
    format: ['webp']
  },
  fonts: {
    families: [
      { name: 'Montserrat',  weight: '900', src: fontPrefix + 'Black.ttf' },
      { name: 'Montserrat',  weight: '800', src: fontPrefix + 'ExtraBold.ttf' },
      { name: 'Montserrat',  weight: '700', src: fontPrefix + 'Bold.ttf' },
      { name: 'Montserrat',  weight: '600', src: fontPrefix + 'SemiBold.ttf' },
      { name: 'Montserrat',  weight: '400', src: fontPrefix + 'Regular.ttf' },
      { name: 'Montserrat',  weight: '500', src: fontPrefix + 'Medium.ttf' },
      { name: 'Montserrat',  weight: '300', src: fontPrefix + 'Light.ttf' },
      { name: 'Montserrat',  weight: '200', src: fontPrefix + 'ExtraLight.ttf' },
      { name: 'Montserrat',  weight: '100', src: fontPrefix + 'Thin.ttf' },
    ],
    defaults: {
      weights: [400],
      styles: ['normal']
    },
    providers: {
      google: false,
      bunny: false,
      fontshare: false,
    }
  },
});

This doesn't register all of the fonts...
I'm not able to fully able to understand what I need to do to have them register.
In the local.ts, it's not fully clear how the weights are resolved. Why not use scule to resolve the font name to kebab-case, then add the value of the weight to eagerly search for the weight name?
Rough POC example:
import { kebabCase } from "scule";

/* ... */

const fontName = /* ... */

const weight: str =
  Object.values(weightMap)
  .find(
    (weight) => kebabCase(fontName).includes(weight)
  ) || "normal";

I would expect all of those to be registered, if you have specified all those weights in your options. Are you on the latest version? Can you prepare a reproduction if so?

Ah okay... so it doesn't auto register? I was under the impression that it would register from scanning our files? So I'll have to do this? https://github.com/nuxt/fonts/issues/22#issuecomment-1976259640

It does auto register but by default only 400 weight. You can specify additional weights in fonts.defaults.weights. Or more granularly by font if you wish. You don’t have to specify the font files.

Worked perfectly! Thank you for your prompt response.


Support for wasmJS target

I see that some of the modules already have support for wasmJS like cache module. Request the same for main Store module as well.

Thanks for creating this ticket. No concerns off the top of my head. Definitely happy to review a PR. Will otherwise try to add this sometime in July

Also pinging about this, anything we need to do to help? Now Safari added support in STP202 we can test across every major browser 🥳


run custom.dev may raise error when started

@ZBMO has a fork that is up-to-date with master, when it go to src/ui and run npm run custom.dev (from a venv) he get this error.

more on discord

node v20.10.0
npm 10.2.3

Solution
Adding the optimizeDeps.esbuildOptions.target has fixed the issue for @ZBMO
src/ui/vite.config.custom.ts
import vue from "@vitejs/plugin-vue";
import writerPlugin from "./viteWriterPlugin";

export default defineConfig({
	base: "./",
	plugins: [vue(), writerPlugin()],
	includeWriterComponentPath: false,
	define: {
		WRITER_LIVE_CCT: JSON.stringify("yes"),
	},
	publicDir: false,
	optimizeDeps: {
		esbuildOptions: {
			target: "es2022",
		},
	},

Hey @raaymax we'd like to figure out what's a sustainable solution for this and as our resident JS expert we thought you'd be able to figure this out


App runs, but nothing shows in menu bar

I couldn't find an existing issue for this, but forgive me if I'm duplicating something.
I've installed xbar 2.1.7-beta on my M1 Macbook Pro (early 2021 running Monterey 12.1)
The app runs OK, and creates a space in the menu bar where it seems xbar should go, but I can't see anything. Clicking on the space in the menu bar opens the xbar menu and I can get to settings and plugins an so on, but activated plugins do not show in the bar either.

I'm using Bartender v4, but even with this disabled I see nothing.
Is there a fix for this? Thank you.

I have the same issue, but if i run xbar from the terminal  (and keep the terminal running) it will show up.

Same here, also on M1 Max, but I can't even get the space to show, or I can't find it lol.

Same here apparently the camera area does not allow to show some of the xbar plugins... I've wrote my own plugins so I can adjust them to fit in a small area, but it is annoying.
I tried this: https://support.apple.com/en-us/HT212842, but didn't work.
Will reduce the size of my plugins for now.

Well that's an irritating constraint!

I have a feeling all the above comments are talking about different issues...


First Implemetation of export cache functionality

Hi,
I put this here for review, @PhilippRue  and @greschd since my time to work on this is sparse.
The code might be not totally fine yet, I left both fixture versions (run_with_cache, with_export_cache) side by side. Maybe we should do a first merge, that we can continue to work on smaller things at a time.
After the slack discussion:
The fixture run_with_cache was split, that  one can use export_cache and load_cache alone. There is are simple test for these.
In order for the run_with_cache fixture test to work, I monkey patched code.get_object_to_hash and calcjob.get_object_to_hash (since it used the computer uuid). there is a fixture for this. thanks greschd for this suggestion.
PhilippRue has solved this issue different by introducing the aiida-core and mock code with a session scope instead of function and imports of computers and codes. In aiida-kkr he has running examples of with run_with_cache. This may not be a solution for several developers.

The builder hash now supports nested namespaces.

Further I have implemented also a second fixture to run with exports where you have to specify the export to use, feature suggestions to this by greschd:

allow for multiple calculation classes  (currently all or one, maybe with_caching in aiida-core has to support it first)
making sure computer/ code hash to the same value for different machines (should work with the monkeypatch fixture, there is a test for this)

Known issue:
Sometimes the caching when running does not work (which causes the tests to fail), which I do not understand the hash of the imported and running calcjob is the same. @greschd maybe you spot the reason for this.

Then the fixture run_with_cache should also work with yield
maybe the diff workchain for testing should not be in the test file?

I left both fixture versions in, since I would like the export name to be choosen in an automatic way per default. fix #20

ok the calcjob hash on the CI is different...

Thanks! I will give this a more thorough review later, but regarding the first point: We can definitely merge this even if it's not 100% ready yet, since the same is true for the package as a whole.
Let me know if you want me to take a look at the CI issue.

Also I am not sure how to resolve these pre-commit mypy issues:
tests/export_cache/test_export_cache.py:23: error: Class cannot subclass 'WorkChain' (has type 'Any')
tests/export_cache/test_export_cache.py:23: error: Base type WorkChain becomes "Any" due to an unfollowed import
aiida_testing/export_cache/_fixtures.py:315: error: Need type annotation for 'union_pk' (hint: "union_pk: Set[<type>] = ...")
Found 3 errors in 2 files (checked 13 source files)

I've added comments on how to fix the mypy issues - but I'm also not 100% convinced if mypy is a net benefit here, given that I also have limited experience with it so far.
This depends on whether you (and the other contributors) want to get acquainted with mypy, or if it's mostly a nuisance.
Tagging @PhilippRue @ltalirz for comment.

Up to you, guys. I've never used mypy, but now that python 3.5 is the lowest python version we support, and 3.6 will be it in September, I would say it's only a matter of time for type hints to enter aiida-core (they would certainly be welcome!).
Since there seem to be a couple of different flavors (+ changes again in 3.6), I'd appreciate it if someone who has experience would write a short AEP on how we should go about this.

Well, then maybe aiida-testing is a decent testing ground for that, too.
With "different flavors", do you mean external libraries? In the standard, I'm only aware of the `typing

Right, I just meant the different places for type hints - there is PEP 483, 484, 526, 3107 etc. - not external libraries.
I guess it's quite straightforward if you've used it once.

Oh, I see. The way I understand it so far is these PEPs mostly build upon each other.. so there's no competition between flavors, just different levels of what's possible.

concerning mypy. it would be nice if one could ignore all types injected from external libary imports. Which is the only think I find annoying. Also the type annotations make things less readable in my opinion. Through I see the benefits.

The external library imports can be ignored by adding an entry in https://github.com/aiidateam/aiida-testing/blob/develop/mypy.ini, for each import that should be ignored.
Ignoring all external imports is explicitly discouraged by mypy, because it can hide actual errors.

ok towards that the hash on the CI differs:
objects to hash:
 [{'withmpi': False, 'resources': {'num_machines': 1, 'num_mpiprocs_per_machine': 1}, 'append_text': '', 'parser_name': 'diff', 'prepend_text': '', 'output_filename': 'patch.diff', 'scheduler_stderr': '_scheduler-stderr.txt', 'scheduler_stdout': '_scheduler-stdout.txt', 'mpirun_extra_params': [], 'environment_variables': {}, 'import_sys_environment': True, 'custom_scheduler_commands': ''}, {'file2': 'f744e4551095439a50a78488b89bf85e6b9bd347d5f99bbfd2fde64954cf91c5', 'file1': 'f6d1c358fb7a03d0831faf710b39ea945911fddab259be85ed0d25a51e62c992', 'parameters': '57b7298bdbd24a13add102c387767d645f9c8e0a86a9d0b1ab6492bda59e0758', 'code': 'bce6cfbda7e548b4af0f27cf5cd39a1245b21f3f6c85a0b5a9278ccc7f6837cc'}]

[{'withmpi': False, 'resources': {'num_machines': 1, 'num_mpiprocs_per_machine': 1}, 'append_text': '', 'parser_name': 'diff', 'prepend_text': '', 'output_filename': 'patch.diff', 'scheduler_stderr': '_scheduler-stderr.txt', 'scheduler_stdout': '_scheduler-stdout.txt', 'mpirun_extra_params': [], 'environment_variables': {}, 'import_sys_environment': True, 'custom_scheduler_commands': ''}, {'file2': 'a403c9809fc94ab203da6536a184e194a7856d50e73369345e26bb9ab1f39e5a', 'file1': 'ee69f1c4e4caefadf18fec511d6c780dbfdbcc7ad8b8bfcb4a954b3851b0f654', 'parameters': 'a5045df6d3d8b067897494f3facf13b340316569c13ac747b1c611fbf7e19725', 'code': 'bce6cfbda7e548b4af0f27cf5cd39a1245b21f3f6c85a0b5a9278ccc7f6837cc'}]

The parameters and the singlefile have a different hash on the CI and my computer. @greschd why?
is the abs path included in the hash for single file nodes, or is the repo location included for all nodes?

Hmm, I'm not sure about this..
I think the abspath is not responsible, because you can .clone() a SingleFileData also locally, and get the same hash.
The repository location shouldn't be in the hash, but I have never done testing across different AiiDA installations / profiles.
In principle there could be a problem with uppercase / lowercase file names (depending on the file system) due to the Folder hashing, which is implemented here: https://github.com/aiidateam/aiida-core/blob/develop/aiida/common/hashing.py#L260
I guess a helper to figure out which parts of the hash would be quite convenient right now (see https://github.com/aiidateam/aiida-core/issues/2549), but for now: Can you also print _get_objects_to_hash of the files and parameters?

Just tried creating the same SinglefileData on two different systems (with different repo locations), and I'm also getting the same hash.

On my system the tests work fine with these changes (compared to commit 97cc9c6  type def and ignore for mypy, reverted previous change, excluded aiida version from calcjob hash (4 hours ago) <Jens Bröder>) all tests pass.
diff --git a/aiida_testing/export_cache/_fixtures.py b/aiida_testing/export_cache/_fixtures.py
index c8a4362..13ef977 100644
--- a/aiida_testing/export_cache/_fixtures.py
+++ b/aiida_testing/export_cache/_fixtures.py
@@ -159,7 +159,8 @@ def load_cache(hash_code_by_entrypoint):
         # currently this should only cache CalcJobNodes
         qub = QueryBuilder()
         qub.append(ProcessNode)  # query for all ProcesNodes
-        qub.append(Code)
+        # this breaks it:
+        #qub.append(Code)
         to_hash = qub.all()
         for node1 in to_hash:
             node1[0].rehash()
@@ -222,7 +223,8 @@ def hash_code_by_entrypoint(monkeypatch):
         """
         Return a list of objects which should be included in the hash of a Code node
         """
-        return [self.get_attribute(key='input_plugin'), self.get_computer_name()]
+        return [self.get_attribute(key='input_plugin')]
+        #return [self.get_attribute(key='input_plugin'), self.get_computer_name()]

     def mock_objects_to_hash_calcjob(self):
         """
diff --git a/tests/export_cache/caches/diff_workchain.tar.gz b/tests/export_cache/caches/diff_workchain.tar.gz
index ee313ac..795c096 100644
Binary files a/tests/export_cache/caches/diff_workchain.tar.gz and b/tests/export_cache/caches/diff_workchain.tar.gz differ
diff --git a/tests/export_cache/test_export_cache.py b/tests/export_cache/test_export_cache.py
index 98eabab..86c22c7 100644
--- a/tests/export_cache/test_export_cache.py
+++ b/tests/export_cache/test_export_cache.py
@@ -111,7 +111,8 @@ def test_mock_hash_codes(mock_code_factory, clear_database, hash_code_by_entrypo
         ignore_files=('_aiidasubmit.sh', 'file*')
     )
     objs = mock_code._get_objects_to_hash()
-    assert objs == [mock_code.get_attribute(key='input_plugin'), mock_code.get_computer_name()]
+    assert objs == [mock_code.get_attribute(key='input_plugin')]
+    #assert objs == [mock_code.get_attribute(key='input_plugin'), mock_code.get_computer_name()]

 @pytest.mark.timeout(60, method='thread')
@@ -153,7 +154,7 @@ def test_run_with_cache(
     #Test if cache was used?
     diffjob = node.get_outgoing().get_node_by_label('CALL')
     cache_src = diffjob.get_cache_source()
-    calc_hash_s = '833070207922ee3dccbc477db7bbbf871d9df68bef2624604144f76b0edc6f0a'
+    calc_hash_s = '0c048c64551bd0b099ed82a90ff2c36833a3f1d0620712e7059367a67dac5c91'
     calc_hash = diffjob.get_hash()
     assert calc_hash == calc_hash_s
     assert cache_src is not None
@@ -200,7 +201,7 @@ def test_with_export_cache(
     #Test if cache was used?
     diffjob = node.get_outgoing().get_node_by_label('CALL')
     cache_src = diffjob.get_cache_source()
-    calc_hash_s = '833070207922ee3dccbc477db7bbbf871d9df68bef2624604144f76b0edc6f0a'
+    calc_hash_s = '0c048c64551bd0b099ed82a90ff2c36833a3f1d0620712e7059367a67dac5c91'
     calc_hash = diffjob.get_hash()
     assert calc_hash == calc_hash_s
     assert cache_src is not None

Note that changing the monkeypatch for the code hash is needed if one first imports an export file that contains the code because this gets the (Imported ) addition to the name

I exclude the version now from most aiida data types. had to monkeypatch, because the version is doubled in there. now it works. ;-). Or do we wont the tests to fail if the aiida version changes? If I have done it right, for pacakge dependend datatypes which do not inherit from Dict, RemoteData, SinglefileData the version check is still in. Maybe this can be done smarter, also basetypes and arrays are not patched yet. Or one could patch node in general to always exlcude the version.

Hmm, maybe ignoring the (aiida or plugin) version can be a separate fixture? That way, a plugin developer can decide - if you always want to have the fixture, all you need to do is create a "dummy" fixture which uses it, and has autouse=True set.

Hmm, maybe ignoring the (aiida or plugin) version can be a separate fixture? That way, a plugin developer can decide - if you always want to have the fixture, all you need to do is create a "dummy" fixture which uses it, and has autouse=True set.

I agree, now the hash_code_by_entrypoint fixture does more than just change hashing for the code (e.g. change it for SingleFileData as well).

Also we might want to provide the option for the with_export_cache to overwrite the output file. Now the export file is only written if no previous file is found.
This could be helpful for debugging/developing workflows (see https://groups.google.com/forum/?hl=en#!topic/aiidausers/y-ekFBlLgsg from mailing list).

Also we might want to provide the option for the with_export_cache to overwrite the output file. Now the export file is only written if no previous file is found.
This could be helpful for debugging/developing workflows (see https://groups.google.com/forum/?hl=en#!topic/aiidausers/y-ekFBlLgsg from mailing list).

Done

@broeder-j @PhilippRue I think we can do the following: We merge this PR now - I will go over the functionality and try to implement the "node selection by what ran in the context manager" discussed above. After that I will create a new PR (possibly with some interface changes...), and have the two of you review it / test it on your plugins.
Does that work for you?

@broeder-j @PhilippRue I think we can do the following: We merge this PR now - I will go over the functionality and try to implement the "node selection by what ran in the context manager" discussed above. After that I will create a new PR (possibly with some interface changes...), and have the two of you review it / test it on your plugins.
Does that work for you?

sounds good 👍

Since it seemed to be incompatible with the changes in #30, I merged it into a separate branch for now (to keep the tests running on develop).


suggestion  add a list of search history keyword.

for example.i search "aaa" and then  search "bbb" , i want some way to back to the search  of "aaa" without type "aaa" again.
it seems that can provide a cache list of search history and press "up arrow" keyboard or other way to back to the previous search result.

You can see search history with "alt+up"


Crash in PPBluetoothAdvDeviceModel when calling [PPBluetoothAdvDeviceModel description]

I'm trying to use the new version that allows for simulator architechture support. First, thank you for delivering the simulator architecture, it makes me very happy.
I imported both PPBaseKit and PPBluetoothKit into my project, and it works, but I'm seeing the following crash when finding my device:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[PPBluetoothAdvDeviceModel PPAston_JSONString]: unrecognized selector sent to instance 0x302a58640'
*** First throw call stack:
(0x186b7108c 0x183e732e4 0x186c777c8 0x186b0e888 0x186b0e1b0 0x102bf5f84 0x102bf64f8 0x102c1f344 0x1aee21068 0x1aee1fb18 0x1aee1f9fc 0x1aee1f8a8 0x104108a30 0x10410a71c 0x1041125e8 0x104113394 0x10411acbc 0x10411a9a4 0x186b43f64 0x186b41188 0x186b405b8 0x1d25d61c4 0x1896965f0 0x18974510c 0x189a71e50 0x102be76b4 0x102be762c 0x102be7730 0x1ac313d34)
libc++abi: terminating due to uncaught exception of type NSException

PPBaseKit: 17fcbce2492160ff749288c0210b25963f0aeee3
PPBluetoothKit: 72cab228c73a0607a762702c21ef3146542874a8
Device: CK780BLE
Steps to reproduce:

[PPBluetoothConnectManager -surroundDeviceDelegate:self]
[PPBluetoothConnectManager -searchSurroundDevice]
[MyClass centralManagerDidFoundSurroundDevice:PPBLuetoothAdvDeviceModel:CBPeripheral]
call [PPBluetoothAdvDeviceModel -description]
Observe crash; PPBluetoothAdvDeviceModel was not nil

Example code:
extension PPScanStreamHandler: PPBluetoothUpdateStateDelegate, PPBluetoothSurroundDeviceDelegate{
    func centralManagerDidUpdate(_ state: PPBluetoothState) {
        print("SS STATE \(state)")
        if (state == .poweredOn){
            // We know that bluetooth is on, so tell the SDK to look for devices
            if (!scanInProgreess) {
                print("SS SEARCH SURROUND DEVICE")
                ppConnectionManager?.searchSurroundDevice()
                scanInProgreess = true
            }
        }
    }

    func centralManagerDidFoundSurroundDevice(_ device: PPBluetoothAdvDeviceModel!, andPeripheral peripheral: CBPeripheral!) {
        os_log("PPScanStreamHandler:centralManagerDidFoundSurroundDevice", log:scanLog, type: .debug)
        os_log("SS Found Device: %@", log: scanLog, type: .debug, device.description) // <--- CRASH HERE
        let wrappedDevice = PPDeviceWrapper(ppDeviceModel: device, peripheral: peripheral)
        // We found a device, tell our SdkManager about it
        os_log("PPScanStreamHandler:centralManagerDidFoundSurroundDevices:onScalesFound - %@", log: scanLog, type: .debug, (onScalesFound != nil) ? "exists" : "nil")
        onScalesFound?([wrappedDevice])
        scanInProgreess = false
    }
}

@churowa
I tried multiple devices. After successfully discovering the device, I called the "device.description" method and there was no crash. Can you provide more detailed information? For example: 1. What iPhone model and operating system are you running? 2. What is the "Bluetooth name" of the device in your hand?
SDK version I tested:
pod 'PPBluetoothKit', '1.2.12'
pod 'PPBaseKit', '1.2.4'

Ok... I think this is my fault. I saw your commits and got too excited. Initially, I just included the XCFrameworks from PPBluetoothKit and PPBaseKit directly into my project without using Cococapods.
I just re-tested after installing with Cocoapods as your instructions stated, and I'm not seeing the crash anymore. Everything seems perfect.
For what it's worth,
I tested on the following devices:
iPhone XR (iOS 18.0)
iPhone 13 Pro (iOS 18.0)
iPad (9th generation) (iOS 17.2)
{"PeripheralType":7,"deviceMac":"CA:E7:F3:15:00:02","deviceAccuracyType":3,"deviceConnectType":1,"deviceSettingId":25,"devicePower":-1,"deviceCalcuteType":6,"deviceFuncType":1,"deviceType":4,"deviceName":"LFSc","devicePowerType":1,"deviceUnitList":"4,7,8,1","rssi":-51,"macAddressStart":7,"deviceProtocolType":2,"advLength":20,"standardType":0,"sign":"CA0108"}
I'm going to close this, since using cocoapods solves the problem.
Thank you for your response, I think we're all good now.
Simulator works ✅
No crashing ✅


feat: Added Tigris spring autoconfiguration

Added Spring boot autoconfiguration.
Upgraded jackson library to strengthen security.

Codecov Report
Base: 81.80% // Head: 81.80% // No change to project coverage :thumbsup:

Coverage data is based on head (7e315b7) compared to base (98a0900).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #132   +/-   ##
=========================================
  Coverage     81.80%   81.80%
  Complexity      684      684
=========================================
  Files            77       77
  Lines          2259     2259
  Branches        209      209
=========================================
  Hits           1848     1848
  Misses          355      355
  Partials         56       56

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


is there any open source STUN and TURN server available?

I  have successfully able to test Native Demo. And i am tried to modified same as per our requirement. but i have one confusion that while going to keep my application live, is i need to developer STUN and TURN server at our end? or is there open source server available?. what are the extra step need to make my server live?
Can any one help me

There are public stun servers and even some public turn servers that other people run. You can also set up your own and there are existing stun/turn server implementations that you can search the web for. A couple of examples are rfc5766-turn-server and coturn. I believe those will also support stun functionality.

@superdump thanks.


Include LICENSE

I'm packaging sphinxcontrib-dotnetdomain for Conda-Forge.  Based on your setup.py, I see that the license is MIT.  This PR adds the LICENSE to your package.
xref conda-forge/staged-recipes#6116

Thanks!


Deprecate active layer and key handler

Description
This PR combines #1952 and #2003 into one PR, which if we like should probably just be merged together, and is a critical step along the path to simplifying the viewer model as an evented data class and merging #2005 or something like it.
It deprecates viewer.active_layer which is replaced by viewer.layers.active, and drops the active_layer event. Right now the only selection related events are the ones on the individual layer and we need to listen to those directly. At various points its been stated that the layerlist should start emitting additional events related to selection, but I think until we move "selected" off the layer itself and onto the layer list this will be more complex, and being able to drop the extra event entirely makes things simpler.
The viewer.layers.active is dynamically calculated, but it is cached on the qt_viewer where it is needed the most. This should avoid the performance concerns that @Czaki flagged in #1952 as it will only get recalculate when the layer selection changes which will be infrequent.
Type of change

[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Note the discussion here https://github.com/napari/napari/pull/2003#issuecomment-743722742 is still present in this PR. I think moving the keymap handling off makes sense, we might want to keep the additional keymap providers, but we can cross that bridge when we get to it. I think it is cleaner now in this PR and so would make this change

This is now ready for review

I suggest many changes and call a few persons who may be interested in these changes. I prefer to hide part of complexity to memory, to prevent slowness of napari on multiple layers.

The keymap handling changes to this PR were merged in #2003, and it's unclear how we will move forward with the active layer changes, #1952 contains just those changes too, so I will close this PR


Fullpaths: undesired local system output

Sorry this might not quite be the appropriate place for this.
Just spent a couple of hours scratching my head trying to figure out why my output bundle was riddled with full system paths on my local machine until I discovered it was this option from watchify.args:
fullPaths: true

In the docs I see:

When creating the browserify instance b you MUST set these properties in the constructor:
var b = browserify({ cache: {}, packageCache: {}, fullPaths: true })

Removing fullPaths: true fixes my issue though I haven't tested if the code actually runs yet. Why is this option not optional? Is everyone using this plugin happily bundling their personal system paths in builds or is there a way around this?

fullPaths is now optional as of v2.5.0


Add pycryptodome dependency

When running the service in a local dev environment or using another base image than specified in Dockerfile, a Python dependency to support cryptographic operations is missing and MD4 hashing will fail. By adding pycryptodome this is fixed.

Based on conversation I will close the PR. The workaround for deployments not using our recommended approach (building a container image based on the supplied Dockerfile) is to add pycryptodome==3.15.0 to the requirements.txt.


cxxsim: random garbage in memory traces

Consider:
from nmigen import Module, Memory
from nmigen.sim import Simulator

m = Module()
mem = Memory(width=64, depth=8)
rdport = mem.read_port()
m.submodules.rdport = rdport

def process():
    yield

for engine in ["pysim", "cxxsim"]:
    sim = Simulator(m, engine=engine)
    sim.add_clock(1e-6)
    sim.add_sync_process(process)
    with sim.write_vcd(f"bug18.{engine}.vcd"):
        sim.run()

The CXXSim VCD file shows some strange behavior:

rdport sub-module is absent
The top module has some mem[<i>][63:0] signals that appear to contain random garbage.

1. rdport sub-module is absent

This is expected; rdport does not exist in synthesis. If there will be a change related to rdport, it will be to remove it from pysim vcd files as well.

2. The top module has some mem[<i>][63:0] signals that appear to contain random garbage.

Will look into this.

Confirmed random garbage; looks ASCII to me, so probably uninitialized memory of some sort?

This is a problem with the way the simulation is reset. It is not entirely trivial to fix.

This is fixed by https://github.com/YosysHQ/yosys/pull/2495.

Just to confirm that I've tried the above Yosys branch, and it does seem to fix the random garbage.
Also, I checked that the VCD traces of the memory array do reflect the values written through a write port.
For instance:
from nmigen import Module, Memory
from nmigen.sim import Simulator

m = Module()
mem = Memory(width=64, depth=8)
wrport = mem.write_port()
rdport = mem.read_port()
m.submodules.rdport = rdport
m.submodules.wrport = wrport

def process():
    yield wrport.en.eq(1)
    yield wrport.data.eq(0x5432123412345678)
    yield
    yield

sim = Simulator(m, engine="cxxsim")
sim.add_clock(1e-6)
sim.add_sync_process(process)
with sim.write_vcd("bug27.vcd"):
    sim.run()

In the VCD trace, mem[0][63:0] does reflect the written value, while the others do remain zeroed.
Not all is well, though. The branch seems to introduce a regression.
Code:
from nmigen import Module, Signal
from nmigen.sim import Simulator

m = Module()
s = Signal()
m.d.sync += s.eq(1)

def process():
    yield

sim = Simulator(m, engine="cxxsim")
sim.add_clock(1e-6)
sim.add_sync_process(process)
sim.run()

Result:
$ python bug26.py
/home/cstrauss/src/nmigen/nmigen/sim/cxxsim.py:198: YosysWarning: The `-Og` option has been removed. Use `-g3` instead for complete design coverage regardless of optimization level.
  cxx_source, name_map = cxxrtl.convert_fragment(fragment)
sim.cc: In constructor ‘cxxrtl_design::p_top::p_top(cxxrtl::adopt, cxxrtl_design::p_top)’:
sim.cc:55:2: error: expected identifier before ‘{’ token
  {
  ^
Traceback (most recent call last):
  File "/usr/lib/python3.7/distutils/unixccompiler.py", line 118, in _compile
    extra_postargs)
  File "/usr/lib/python3.7/distutils/ccompiler.py", line 909, in spawn
    spawn(cmd, dry_run=self.dry_run)
  File "/usr/lib/python3.7/distutils/spawn.py", line 36, in spawn
    _spawn_posix(cmd, search_path, dry_run=dry_run)
  File "/usr/lib/python3.7/distutils/spawn.py", line 159, in _spawn_posix
    % (cmd, exit_status))
distutils.errors.DistutilsExecError: command 'x86_64-linux-gnu-gcc' failed with exit status 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "bug26.py", line 14, in <module>
    sim = Simulator(m, engine="cxxsim")
  File "/home/cstrauss/src/nmigen/nmigen/sim/core.py", line 70, in __init__
    self._engine   = engine(self._fragment)
  File "/home/cstrauss/src/nmigen/nmigen/sim/cxxsim.py", line 210, in __init__
    output_name="sim"
  File "/home/cstrauss/src/nmigen/nmigen/_toolchain/cxx.py", line 51, in build_cxx
    cc_driver.compile(cxx_filenames)
  File "/usr/lib/python3.7/distutils/ccompiler.py", line 574, in compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/usr/lib/python3.7/distutils/unixccompiler.py", line 120, in _compile
    raise CompileError(msg)
distutils.errors.CompileError: command 'x86_64-linux-gnu-gcc' failed with exit status 1

The branch seems to introduce a regression.

This regression is something that will be fixed by the changes I will apply before merging. Nevertheless, I wasn't aware of it, so thanks anyway!

This is fixed by YosysHQ/yosys#2495.

That PR has been superseded by https://github.com/YosysHQ/yosys/pull/3105.

Fixed upstream, with no Amaranth-specific changes needed.


locally Checkstyle maven plugin fails (using standard WSL 2 on windows with Docker)

When I open the CodeSpaces container and then run the Maven build, it fails on thousands of checkstyle line feed issues. I am using WSL 2 on windows with Docker with Ubuntu as the distro. After the failure I have to delete the container as az up never seems to work as there are numerous Jaxb file lock issues.
To disable the checkstyle plugin I modify the maven plugin config with the configuration setting:
                        <configuration>
                            <skip>true</skip>
                        </configuration>

Migrated to 1852413


Validate schemas with a top level list

At the moment, it's not really possible to validate a schema where the top level datastructure is a list. This is pretty common in a lot of places and probably is something for future enhancement. You might have a datastructure like so:
- foo:
   bar: true
   baz: false
- qux:
  bar: false
  baz: true

And it would be nice to be able to validate it with something like a special rule key called something like !!rootlist and be able to define a data structure like so:
strict ruleset Foobar {
    bar bool
    baz bool
}

schema {
    !!rootlist Foobar
}

Alternatively, it could just be a different kind of schema, something like this:
listschema {
    Foobar
}

This is a limitation that I have known about for a while. I have had some ideas around this since it would also need to support objects / maps, strings and ints which are all valid YAML without a key.  I do like the use of !!root to represent a keyless field. Though there is that one chance someone has a valid key of !!root, which in that case I would need to check the data structure to figure out if this is a field with a key / without.

hmmm maybe maybe it even more specific like !!yamlatorlist, I highly doubt anyone would have that, and if they did I think at that point we can safely call that user error.
As far as supporting the other things that don't have a key, I think that would probably be lower priority since those aren't used as commonly on their own, certainly not in the way that it would be a priority to be able to validate them.

The limitation with only supporting objects has been resolved as part of 0.3.1 with the inclusion of top level validation for any data type. To do this, in your schema block define a single rule with the name !!yamlator then specify the type, for example:
ruleset Foo{
    ...
}

schema {
    !!yamlator list(Foo)
}

This will allow for lists to be defined at the very top level or any other types :)

Nice! I think will definitely resolve it!


TensorFlow Lite for Microcontrollers needs to follow alignment while allocating/access memory

@petewarden, we have cross compiled TensorFlow Lite for  Microcontrollers for our audio platforms, while running "micro_speech_test" our processor throw below LoadStoreAlignmentCause exception.
WARNING Unhandled user exception: LoadStoreAlignmentCause (0x57ffe02b)
In general our processor expects to be 4 byte aligned while accessing memory.
After debugging code we found AllocateMemory() is not following memory aligned, Following patch is fixing the issue,however this will have some penalty for cycles in our hardware.
Original code:
uint8_t* SimpleTensorAllocator::AllocateMemory(size_t size) {
if ((data_size_ + size) > data_size_max_) {
// TODO(petewarden): Add error reporting beyond returning null!
return nullptr;
}
uint8_t* result = data_;
data_ += size;
data_size_ += size;
return result;
}
After aligned to 4 bytes:
uint8_t* SimpleTensorAllocator::AllocateMemory(size_t size) {
int align = 4;
uint8_t result = (uint8_t)((intptr_t)(data_ + align - 1) & (~(align - 1)));
int aligned_size = result - data_ + size;
if ((data_size_ + aligned_size) > data_size_max_) {
// TODO(petewarden): Add error reporting beyond returning null!
return nullptr;
}
data_ += aligned_size;
data_size_ += aligned_size;
return result;
}
It is good idea to write code for TensorFlow Lite for Microcontrollers follows memory alignment with an argument default to 4bytes and allow overwrite to custom number may be 8 and so on..

@petewarden, Can I also get access to tiny_conv.tflite model file.

@wt-huang ,Does this micro_speech_test runs "okgoogle" hotword detection, if so please let me know where to refer input audio file which will have "OKGOOGLE" hotword recorded and as well to compare output with golden output file which contains "OKGOOGLE"

@niruyadla: @petewarden would be the best person to comment on this. Basically you can usemodels.py to generate tiny_conv model then convert it to .tflite. In general micro_speech_test should be able to run hotword detection if using the standard speech library.

@petewarden ,  in order to generate our own Yes/no keyword and to perform frontend processing, we need to have tensorflow/examples/speech_commands/wav_to_features.py file and in tflite master code I could not find the same..

Here is the link to tensorflow/examples/speech_commands/wav_to_features.py added by @petewarden

Nagging Assignees @petewarden, @wt-huang: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


Task - Applicant Profile - Build react component for Applicant Profile form

Description
Build a react component for the new basic Applicant Profile form. This needs to include fields for:

citizenship status
veteran status
is GC employee or not
If a GC employee, a list of classifications

For now, simply build this UI in Storybook.
Images
Applicant Profile wireframe
Note: the sidebar does not need to written in React.

Seems like we'll replace the Is GC Employee boolean field with a list of options (not GC, current GC, past GC employee), but since we're still deciding how to represent that on the backend we'll leave it for a future issue.

@jaysonmc has a PR that almost finished this story, but someone else should finish it off.

@jaysonmc has a PR that almost finished this story, but someone else should finish it off.


fix depreciated reference to indy.readthedocs

that link tho :)

thank you for notifying me
On Thu, Jun 6, 2019 at 1:19 PM Ry Jones<EMAIL_ADDRESS>wrote:

@ryjones https://github.com/ryjones requested your review on: #4
https://github.com/hyperledger/indy-docs/pull/4 fix depreciated
reference to indy.readthedocs.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/hyperledger/indy-docs/pull/4?email_source=notifications&email_token=AFM2GDEOFGSCMVRFBWWEBKLPZFWORA5CNFSM4HB44HU2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOR3EOH5A#event-2395530228,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFM2GDC4NIE3QGDWT2NDYS3PZFWORANCNFSM4HB44HUQ
.

--
LinkedIn https://www.linkedin.com/in/michaeldavisboyd/ | GitHub
http://www.github.com/michaeldboyd|<PHONE_NUMBER>


Update to PatternFly 3.23.1

In order to consume the latest PatternFly icons and components, PatternFly needs to be updated to the latest version. NOTE: visual designs will not be a 1-1 to patterns until this is completed
The correct version can be found here: https://github.com/patternfly/patternfly/releases/tag/v3.23.1

@michaelkleinhenz @SMahil This should be tackled as part of the conversion to Less.

I am closing this item as it is both outdated (6+ months old) and the PatternFly version listed is no longer the latest. Package updates should be made to match fabric8-ui.


Get-VCList -Release 2022 returns not the newest Version

Expected Behavior
Please describe the behavior you are expecting.
Get-VCList should return the correct (newest available) Version of Release 2022
Current Behavior
What is the current behavior?
Get-VCList returns actually the Version 14.32.31326.0 of Release 2022, which is not the newest. It should return 14.32.31332.0
Get-VcList | Save-VcRedist -Path $downloadDir | Out-Null  Downloads the correct (newest) Version of Release 2022
Failure Information (for bugs)
Please help provide information about the failure if this is a bug by issuing the command using the -Verbose command.
Paste the verbose output from the command here
VERBOSE: Get-VcList: Reading JSON document [C:\Users\xxxx\Documents\PowerShell\Modules\VcRedist\3.0.336\VisualCRedistributables.json].
VERBOSE: Get-VcList: Converting JSON.
VERBOSE: Get-VcList: Object count is: 2.

Name            : Visual C++ Redistributable for Visual Studio 2022
ProductCode     : {2d507699-404c-4c8b-a54a-38e352f32cdd}
Version         : 14.32.31326.0
URL             : https://www.visualstudio.com/downloads/
Download        : https://aka.ms/vs/17/release/VC_redist.x64.exe
Release         : 2022
Architecture    : x64
Install         : /install /passive /norestart
SilentInstall   : /install /quiet /norestart
SilentUninstall : "%ProgramData%\Package Cache\{2d507699-404c-4c8b-a54a-38e352f32cdd}\VC_redist.x64.exe" /uninstall
                  /quiet /noreboot
UninstallKey    : 32

Name            : Visual C++ Redistributable for Visual Studio 2022
ProductCode     : {817e21c1-6b3a-4bc1-8c49-67e4e1887b3a}
Version         : 14.32.31326.0
URL             : https://www.visualstudio.com/downloads/
Download        : https://aka.ms/vs/17/release/VC_redist.x86.exe
Release         : 2022
Architecture    : x86
Install         : /install /passive /norestart
SilentInstall   : /install /quiet /norestart
SilentUninstall : "%ProgramData%\Package Cache\{817e21c1-6b3a-4bc1-8c49-67e4e1887b3a}\VC_redist.x86.exe" /uninstall
                  /quiet /noreboot
UninstallKey    : 32

If it is not a bug, please remove the rest of this template.
Steps to Reproduce
Please provide detailed steps for reproducing the issue.

Step
Get-VcList -Release 2022

Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

VcRedist Version: Use Get-Module -ListAvailable VcRedist
3.0.336
PowerShell Version: Use Get-PSVersion
7.2.5
Operating System: Windows
10.0.19044.1766

Failure Logs
Please include any relevant log snippets or files here.

Fixed in #109


Use Rustfmt Nightly

Rustfmt nightly has been pretty stable for me and it introduces rules that we're trying to apply manually, such as imports_granularity, so I think we could use it on the nightly channel to reduce inconsistencies and make PRs easier to make.
Here's a sample rustfmt.toml we could use that aligns with Rust's conventions while enabling nightly features.

I have been rather annoyed that I had to use it every time I develop on Songbird. Since my editor/rust-analyzer wants to do it one way and the CI wants it in a different. So personally I would not be in favour of this.

I too would not like to require nightly rustfmt during development, but it would be nice to run CI with such a ruleset (instead of us manually spotting formatting issues). #1857 introduced something similar for doc examples

for another comment similar to Erk's take: Trading off the style consistency of vast swaths of the Rust ecosystem for new/interested contributors in exchange for some specific, minor rules seems like it goes in the wrong direction, imo.

I too would not like to require nightly rustfmt during development, but it would be nice to run CI with such a ruleset (instead of us manually spotting formatting issues). #1857 introduced something similar for doc examples

we could also do this, in that case though the flow would go like user pushes changes -> formatting ci fails -> user pushes formatting chanes -> formatting ci maybe succeeds, for prs involving many commits, wouldnt this introduce many formatting commits? this is fine since we squash and merge but i wonder if it'd be the best DX for contributors
if we go that route, i'd suggest recommending contributors to use rustfmt nightly but they'd still have the option to not use it and fix formatting issues post-push

having people push to then have to manually fix them because we use a different linter also sounds like a very frustrating contributor experience. for the docs it kinda makes sense as having those be invalid will cause confusion to users. but formatting is just style and very personal with varying opinions. Yes consistency is nice but it shouldn't be at the cost of significant development complications
and if it's just a recommendation but we're not going to enforce it then it might as well not be there as it'll just create a weird situation where some code follows it stricly, and then some doesn't

i agree reporting formatting issues in ci would lead to a bad contribution experience
as for your second point, i'm not saying that we don't try to follow certain formatting, i'm saying that we should and pr reviews should aim to check whether this style is followed, but for contributors to follow our formatting style we can recommend them to use rustfmt nightly and if they don't want to, they can format their code manually
with the style provided to the contributors, it wouldn't affect the contributors' experience if we added a check for formatting in our ci, as it would just automate reviewers having to check the format of the code in prs
while i agree that dx comes before consistency, they don't have to be exclusive to each other, we can find ways to improve consistency without worsening dx


Added N-Queens

Related Issue
Solved issue number: #426
Describe the changes you've made
I have added the code for N-Queens Problem in C++
Describe if there is any unusual behavior of your code(Write NA if there isn't)
NA
Language used for coding
C++
Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented on my code, particularly in hard-to-understand areas.
[x] I have documented the code.
[x] New and existing unit tests pass locally with my changes.

Your code is nice.
Your folder that you have created should have name same as the problem name on coding platform so that all languages of this problem lie in one folder .
For this PR, name of the problem on Leetcode is "N-Queens".
So, Please update your folder name N Queens ->N-Queens


Spike: Kong Gateway plugins distribution

Problem Statement
Custom plugins are a large part of customer deployments, but getting these plugins deployed and configured with a Kong Gateway instance has been painful. Since KGO aims to offer the E2E operational model for Kong Gateway on Kubernetes it should provide a way to ship and use custom plugins with Kong Gateways deployed and managed by KGO.
Additional Information
Documents to get familiar with

Kong Gateway Plugin Distribution
Kong Custom Plugin Management for Kubernetes
Product Brief: Custom Plugin Streaming
Engineering brief

Acceptance Criteria

[x] based on documents mentioned above spike the option and effort to provide Kong Gateway plugins distribution in KGO (if the implementation is sufficiently complex or consensus is hard to achieve, then the result of this issue should be a design doc)
[ ] create an action plan for implementing this - prepare issues with clear acceptance criteria and prioritize them

Issue for action plan: #371


Create space in org

Thank you for your work!
Is it possible to create space in some org via this lib? I need alternative for this shell command:
cf create-space SPACE -o ORG

@ipeacocks Well it has been a long time since I last used this library. I've just took a look at it and here is how it should look
$> cloudfoundry-client create_space -h

usage: cloudfoundry-clieny create_space [-h] entities

positional arguments:
  entities    Either a path of the json file containing the space or a json
              object or the json space object

optional arguments:
  -h, --help  show this help message and exit

As you shall try (I did not have any rights to create spaces), you may achieve your goal by passing either a json file or the json entity. The json is described here
Ex:
$> cloudfoundry-client create_space '{"name": "development","organization_guid": "c71ab020-28ba-43b2-b5e6-4db9a78199b0"}'

I mean how to create org/space in code, not through CLI.

Ok . So far spaces do not  have a dedicated implementation but they still have a generic one (take a look at the Entity/ EntityManager classes).
Once you built the client, you can list psaces with the command:
for space in client.spaces:
   pass

But you can also invoke the function _create on the EntityManager which can be done as follow
client.spaces._create(dict(name="development", organization_guid="c71ab020-28ba-43b2-b5e6-4db9a78199b0"))

Thank you, Benjamin.


Proposed fix for issue #4675

This fixed the generation of start scripts when executableDir is set to ''
Signed-off-by: Tomas Pluskal<EMAIL_ADDRESS>Contributor Checklist

[x] Review Contribution Guidelines
[x] Make sure that all commits are signed off to indicate that you agree to the terms of Developer Certificate of Origin.
[x] Check "Allow edit from maintainers" option in pull request so that additional changes can be pushed by Gradle team
[ ] Provide integration tests (under <subproject>/src/integTest) to verify changes from a user perspective
[ ] Provide unit tests (under <subproject>/src/test) to verify logic
[ ] Update User Guide, DSL Reference, and Javadoc for public-facing changes
[x] Ensure that tests pass locally: ./gradlew <changed-subproject>:check

Gradle Core Team Checklist

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation
[ ] Recognize contributor in release notes

Thanks @tomas-pluskal
I pushed a fix for https://github.com/gradle/gradle/issues/4675 which will be in 5.6.


HA 0.40.1 (docker) Error when using snmp device tracker

Home Assistant release (hass --version):
0.40.1 (docker image homeassistant/home-assistant)
Python release (python3 --version):
Python 3.5.3
Component/platform:
device_tracker / snmp
Description of problem:
The tracker does not seem to work (crashes during startup).
Expected:
Does not crash.
Problem-relevant configuration.yaml entries and steps to reproduce:
device_tracker:
  - platform: snmp
    host: <IP_ADDRESS>
    community: public
    baseoid: <IP_ADDRESS>.4.1.25<IP_ADDRESS>.<IP_ADDRESS>.1.1.6

Start home assistant
View logs

Traceback (if applicable):
Traceback (most recent call last):
  File "/usr/src/app/homeassistant/components/device_tracker/__init__.py", line 152, in async_setup_platform
    None, platform.get_scanner, hass, {DOMAIN: p_config})
  File "uvloop/future.pyx", line 230, in __iter__ (uvloop/loop.c:110600)
  File "uvloop/future.pyx", line 432, in uvloop.loop.BaseTask._fast_wakeup (uvloop/loop.c:113980)
  File "uvloop/future.pyx", line 101, in uvloop.loop.BaseFuture._result_impl (uvloop/loop.c:108900)
  File "/usr/local/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/app/homeassistant/components/device_tracker/snmp.py", line 45, in get_scanner
    scanner = SnmpScanner(config[DOMAIN])
  File "/usr/src/app/homeassistant/components/device_tracker/snmp.py", line 77, in __init__
    data = self.get_snmp_data()
  File "/usr/src/app/homeassistant/components/device_tracker/snmp.py", line 115, in get_snmp_data
    self.auth, self.host, self.baseoid)
  File "/usr/local/lib/python3.5/site-packages/pysnmp/entity/rfc3413/oneliner/cmdgen.py", line 221, in nextCmd
    **kwargs):
  File "/usr/local/lib/python3.5/site-packages/pysnmp/hlapi/asyncore/sync/cmdgen.py", line 355, in nextCmd
    lookupMib=options.get('lookupMib', True)))
  File "/usr/local/lib/python3.5/site-packages/pysnmp/hlapi/asyncore/cmdgen.py", line 352, in nextCmd
    options.get('cbFun'), options.get('cbCtx'))
  File "/usr/local/lib/python3.5/site-packages/pysnmp/entity/rfc3413/cmdgen.py", line 258, in sendVarBinds
    v2c.apiPDU.setVarBinds(reqPDU, varBinds)
  File "/usr/local/lib/python3.5/site-packages/pysnmp/proto/api/v1.py", line 135, in setVarBinds
    varBindList.getComponentByPosition(idx), varBind
  File "/usr/local/lib/python3.5/site-packages/pysnmp/proto/api/v1.py", line 42, in setOIDVal
    varBind.setComponentByPosition(1).getComponentByPosition(1).setComponentByType(val.getTagSet(), val, verifyConstraints=False, matchTags=False, matchConstraints=False, innerFlag=True)
TypeError: setComponentByType() got an unexpected keyword argument 'matchTags'

Additional info:

This has been fixed in the latest dev.  It was an issue with different versions of the pyasn1 package requirement.

yep. built a new container from git and it worked fine.


Speed optimization planning

Core Web Vitals
Largest Contentful Paint (LCP) > 2.5s

for Desktop:

Why URLs aren't considered good
URLs with these issues don’t provide a good page experience
Severity	Issue

Validation	Trend	URLs
warningNeed improvement LCP issue: longer than 2.5s (desktop)	 Started 36,053

https://pagespeed.web.dev/analysis/https-matters-town-joejohnsons1-328529-what-can-i-do-to-make-sure-my-deleted-status-is-not-seen-by-whats-app-gb-users-bafyreidotwuirbfvydpjfe4zsro7yxqvgwlerosuzpk7qrjyrraokzaebu/wmjn83np61?form_factor=desktop&hl=en

can change the first image not lazy loading, by early loading if estimate it would be in first screen

https://pagespeed.web.dev/analysis/https-matters-town-flowringlale-400716-2023