fix(schema): add vueCompilerOptions property to TSConfig in defineNuxtConfig

🔗 Linked issue
#25874

❓ Type of change

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

📚 Description

Resolves #25874
VueCompilerOptions type added to the defineNuxtConfig schema
📝 Checklist

[ ] I have linked an issue or discussion.
[ ] I have added tests (if possible).
[ ] I have updated the documentation accordingly.

@manniL Hi there!
This one is ready for code review. However, I'm not sure whether documentation on the VueCompilerOptions is needed or if a type addition, in general, is self-explanatory 🤔
By the way, I must say I couldn't find any reference to these options anywhere but on Volar's changelog, so having those documented somewhere could be nice!
Please let me know what you think :v:
TY

Thank you ❤


ENH: When creating/inferring schema only, do not buffer stdin

It's safest to infer the schema on the entire dataset.
When the dataset is larger than RAM, this is currently not possible via stdin as the implementation in #10 and #13 stores everything that's used for inference in memory.
In practice, one could stream the dataset via stdin twice: first time to get the schema, second time to convert.
This needs some internal changes to not buffer when options are set to infer schema only.

I'd say in this case don't use stdin but provide the file path. Or call the tool twice to get the schema and then do the conversion.

Ah, you mean uncompress, save to disk, and then infer schema from file. Issue is if there are huge compression ratios. You could have 500GB uncompressed, don't want to write that to disk. But yeah, use case is somewhat unusual.
I think I may not have got the use case across sufficiently well:
I have a zstd compressed file that uncompressed is >> RAM
Current PR in #10 cannot infer schema from the entirety as it requires buffering on anything that is to be used for inference.
Providing file path doesn't work as current implementation cannot read compressed file.
If you call the tool twice, the inference still must happen on a RAM limited chunk.


1.1.1 merge that octopus events

Fix connections that were broken in merge to: header menu, css of menu, breadcrumbs, page layouts
Add event list code
(next: test sort order with multiple events - see why there is a flash of what might be draft content)

This looks great Chach! Awesome work sorting all this out
Few minor issues that could be addressed separately

search results pointing at drought
homepage link grid looks better 3x2
missing icon in homepage page alert

Thanks Aaron

search results pointing at drought -> good call, porting in jon's work on this - will look to connect it to the config file if that makes sense
homepage link grid looks better 3x2 -> will compare to see what you mean here
missing icon in homepage page alert -> yeah, let's see where it went, there was a font file - maybe its missing in the new version

Also

fix(ing) the event listing (which is new) for parity with production
missing linkedin & email icons - drought switched to icons, but old version used the font - this isn't compatible - but we should be able to create an SVG  & store it the same way as the other assets

There is also a .json file conflict here to resolve

Got all the issues and a couple other little things

New SVG icons (synced with Adam) 24x24, exported to SVG in Figma from the icon frame.

Fixed:

Star icon fixed in page alert
Event list fixed, templatized and sort order handled
Added missing single-column-wide CSS style & made PR for design system to have it added to base-css.
Grid layout fixed
SVG added in passthrough code
Search reconnect (note: tried to add it into config but the config.js is not accessible in JS scope from seach.njk - not sure why - 11ty has a few magical properties (& I think we ought to spend a week focusing just on team 11ty skills cause its render model is a little different)


About compiler

Hi,will this compiler compile asm code to machine code?

@EasonWang01 no. It just compiles to C, which can then be translated to machine code using a C compiler.


[Bug]: invalid CSS style

Description
masonry-column has an invalid format flex-basis property
https://github.com/DerYeger/vue-masonry-wall/blob/master/src/masonry-wall.vue#L14
0 -> '0%'
Reproduction
1/ disable JS in browser
2/ set props ssrColumns, for example :ssrColumns='3'
columns have different widths due to unapplied property flex-basis
Additional context
No response
Preferences

[x] I want to be assigned to and work on this issue myself

Thank you for the report. It seems this is an issue of Nuxt 3 removing valid CSS properties, as flex-basis: 0 is indeed valid.
I saw your PR #42, but flex-basis: 0% is different than flex-basis: 0, which is what this library needs.
flex-basis: 0px should fix the issue with Nuxt 3.

ok, I'll MR(PR) fix it later

ok, I'll MR(PR) fix it later
DerYeger
rdy


CSScomb error: (node:12779)

CSScomb error:
(node:12779) UnhandledPromiseRejectionWarning: Cannot set property 'atrulers_end' of undefined
CSScomb Core version: 4.2.0
(node:12779) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:12779) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Hey @hirschferkel, could you please provide more info? For example, failing css code and node version.

I use another plugin, now, as it did not work at all. As you can see in the code this a console message where the plugin cold not be set up to work at all.

Cannot set property 'atrulers_end' of undefined
This error is hard to investigate if there is no css code that we can point to: "Oh, this specific line is broken, maybe because css is invalid, or maybe because this option is being applied".
I will close this issue for now, if you'll manage to identify the broken piece of code, please re-open this issue, i'll be glad to look into it.


Switch XCB to Xlib

Window resize with OpenGL/EGL doesn't work properly when using XCB. So, I changed XCB to Xlib to resolve this problem.
Related issues

https://github.com/sony/flutter-embedded-linux/issues/37

@Mai-Matsuura Will you review this PR?

@HidenoriMatsubayashi I've checked the changes and it looks fine.


Enchantment Extractor not giving Eff X Book back

Industrial Foregoing Version:     1.10.0-173
TeslaCoreLib Version:    1.0.14
I was given a pickaxe from a lucky block with Eff X and Fortune 3. I got 2 books, 1 was blank and one was Fortune 3. Is this a bug or would a mob pack disable this?

I dont think Enchanted books are allowed to have that high enchanted level


Fix some broken links

Randomly spotted these. Don't suppose docusaurus has an equivalent of linkcheck builder?

Welp, the CI kinda answered the linkcheck issue, but then it's not true after the build is moved: https://packit.dev/docs

@LecrisUT , looks like Docusaurus does not like this format. Can we close this? (Or, change the structure to relative paths? (e.g. ./guide)?

Oh, the links are working now. Dunno what happened, but back when I opened this PR, the links would direct to pages like docs/docs/guide, seems that has resolved itself :shrug:


fix: IndexOutOfBoundsException in JumpManager (#1576)

Upon opening a new file in Jadx JumpManager list is reset but not currentPos. This can end up in an IndexOutOfBoundsException if you use the back function as shown in #1576.

Thanks! :slightly_smiling_face:


[Coder] Update Editor Model when Method Overwritten

When creating a method by overwriting another method in Coder, Coder continues to treat it as the original method, even after saving. Notice how the example in the GIF below still succeeds even after it is replaced with a method which generates a DNU.

works now


HDDS-7934. NPE in RandomKeyGenerator's shutdown hook

What changes were proposed in this pull request?
Resolve NullPointerException caused by RandomKeyGenerator
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-7934
How was this patch tested?
This patch was tested by executing ozone freon randomkeys --numOfVolumes=3 --numOfBuckets 10 --numOfKeys 30, and the following is result.

Status: Success
Git Base Revision: a585a73c3e02ac62350c136643a5e7f6095a3dbb
Number of Volumes created: 3
Number of Buckets created: 30
Number of Keys added: 900
Replication: THREE
Replication type: RATIS
Average Time spent in volume creation: 00:00:00,010
Average Time spent in bucket creation: 00:00:00,058
Average Time spent in key creation: 00:00:07,202
Average Time spent in key write: 00:00:00,331
Total bytes written: 9216000
Total Execution time: 00:00:38,263

This should be reproducible via a UT. Can you extend a test as well for this

@chungen0126 To achieve this:

Make RandomKeyGenerator#printStats package-private
Call it from TestRandomKeyGenerator#testDefault after the assertions: randomKeyGenerator.printStats(System.out);

@ayushtkn @adoroszlai I have extended the unit test.


Add support for additional top level nodes

In the event that additional properties are desirable on a pattern, this should be included in the instantiation. This just treats extra policies in the same way as properties defined in the prefixItems section of nodes or relationships.
Other changes:

warning when items used instead of prefixItems
substantial improvements to tests
migration to use winston logger more consistently and remove use of console.log

It would be good to discuss this, I'm still unsure if our current samples where we're defining additional properties that aren't part of the core schema are valid or if we're missing key properties and we're going to end up with duplication and lack of standardisation.

Locked for now


Upstream into jenkins job builder

Hi,
thank you for the discord integration into jenkins job builder.
Can you upstream it into jenkins-job-builder repository?
See https://jenkins-job-builder.readthedocs.io/en/latest/index.html#writing-a-patch
If you like I could also try to do it.
Thanks,
lynxis

Hello,
Sure, I'm taking a look on how to do it

🤞
https://review.opendev.org/c/jjb/jenkins-job-builder/+/878944


Add laceyhenschel.com.json

Thanks so much for contributing, @williln! 🥳
Just two small changes/requests:

Would you be interested in adding your RSS feed? This way, the PyLadies' bot on Mastodon can promote your content (I looked it up and it should be "rss_feed": "http://feeds.feedburner.com/LaceyWilliamsHenschel")
I added a comment where a trailing comma should be removed :)

If you have any questions, please let me know - thank you again for contributing to this project and making publicly accessible content!

@williln I hope you're doing well ☺ I'm just checking in to see if you have any questions about the PR - let me know if you need any input from my side 🙌

@cosimameyer Sorry for the delay! I believe I fixed the things you mentioned and added my RSS feed (thanks for looking it up for me), and rebased my changed. Let me know what else you need and I will try not to wait several months to fix it again 😄

Thank you so much for contributing - it all looks fantastic! 🥳


python310Packages.canonicaljson: 1.6.5 -> 2.0.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.canonicaljson is: Encodes objects and arrays as RFC 7159 JSON
meta.homepage for python310Packages.canonicaljson is: https://github.com/matrix-org/python-canonicaljson
meta.changelog for python310Packages.canonicaljson is: https://github.com/matrix-org/python-canonicaljson/blob/v2.0.0/CHANGES.md
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.0.0 with grep in /nix/store/am0py51g58w103b1vynwjfjcp5dn4ch7-python3.10-canonicaljson-2.0.0
found 2.0.0 in filename of file in /nix/store/am0py51g58w103b1vynwjfjcp5dn4ch7-python3.10-canonicaljson-2.0.0

Rebuild report (if merged into master) (click to expand)

9 total rebuild path(s)

9 package rebuild(s)

First fifty rebuilds by attrpath
matrix-synapse
matrix-synapse-plugins.matrix-synapse-ldap3
matrix-synapse-plugins.matrix-synapse-mjolnir-antispam
matrix-synapse-plugins.matrix-synapse-shared-secret-auth
matrixcli
python310Packages.canonicaljson
python310Packages.signedjson
python311Packages.canonicaljson
python311Packages.signedjson

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/am0py51g58w103b1vynwjfjcp5dn4ch7-python3.10-canonicaljson-2.0.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.canonicaljson https://github.com/r-ryantm/nixpkgs/archive/b67d1d7b576682c35b674981383b1bec39cdbcc7.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/am0py51g58w103b1vynwjfjcp5dn4ch7-python3.10-canonicaljson-2.0.0
ls -la /nix/store/am0py51g58w103b1vynwjfjcp5dn4ch7-python3.10-canonicaljson-2.0.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

4 packages failed to build:

matrix-synapse
matrix-synapse-plugins.matrix-synapse-ldap3
matrix-synapse-plugins.matrix-synapse-mjolnir-antispam
matrix-synapse-plugins.matrix-synapse-shared-secret-auth

5 packages built:

matrixcli
python310Packages.canonicaljson
python310Packages.signedjson
python311Packages.canonicaljson
python311Packages.signedjson

Maintainer pings
cc @fabaff for testing.

5da4f0f877bf4ad89d772435b4eac29c8c475d1a


⚠ ku-s has degraded performance

In a199c3b, ku-s ($KU_API_STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 14255 ms

Resolved: ku-s performance has improved in 01ec99b.


Clang-tidy doesn't work from VSCode

trunk_cli_version: 1.15.0
title: "Error while executing: Querying compile commands"
report:
  - "[json.exception.type_error.302] type must be string, but is number"

I tried to place compile_commands.json in:

root workspace
folder build in root workspace
folder with current cpp file

Anything does not work

Hi!
Thank you for trying Trunk!
I will need a bit more information to help you out. Can you tell me how you are generating the compile_commands.json?

just pass -D CMAKE_EXPORT_COMPILE_COMMANDS=ON in CMake.
CMake cersion is 3.27.4
File format like:
[
{
"directory": "/path/to/build/dir",
"command": "/path/to/compiler arguments contains -DGIT_TAG\\\"tag-name-commit-hash\\\"",
"file": "/path/to/file",
"output": "/path/to/object/file"
},
{
...
}
]

I think problem may be in -DGIT_TAG\\\"tag-name-commit-hash\\\", but Trunk do not print me any detailed information about exception

Hey, thanks for the quick response.
In your directory, there should be a .trunk/logs folder, would you be able to send me those?
Either added as a zip here, or maybe as a direct message through our community slack?
(Patrice Boisclair-Laberge in trunkcommunity.slack.com)

logs.zip
It floods about duplicates, but compile_commands.json do not have duplicates, maybe it read compile commands from subfolders? I have different folders in workspace/build for different platforms and copy compile commands for selected platform to workspace/build directory

Hi @sr-tream,
Can you please check if any of your compile_commands.json has a json number set for any of the directory, file, or command fields (ie, 7, but not "7")?

Don't have, and clang-tidy runned manually works fine

We've created a test build that may help with this issue. Can you please edit your .trunk/trunk.yaml and change the cli version to 1.15.1-beta.10 and see if that resolves the issues. After trying, could you also check your .trunk/logs/*.log and see if the string Skipping compile command shows up anywhere?

logs.zip

1.15.1-beta.10

With this version all works, and instead of exception print warning to logs

I see what the problem it, we'll get a fix out this week. Thanks for reporting this!

Also bugged underline. It starts from issue and ends at line end

This should be fixed in the latest version of trunk. Please let us know if that works for you.

Yes, its work now


Gray Color Scheme v1.0.0 is less functional

Thanks for all your work on this, but I wanted to request that the previous color variances on the spreadsheet in the previous versions be brought back. The different colors relating to type made the list much easier to read and follow along across the multiple columns.  Thanks!

I noticed that too! I'm working on a fix right now.

Check out the newest release and tell me what you think.


pod -> SwiftyJSON (2.1.3) is out-of-date if we compare it to the version mentioned in README.md file.

In your README.md you mention that:
pod "SwiftyJSON", ">= 2.2"
Whereas when I use CocoaPods in my terminal, pod search SwiftyJSON returns me:
-> SwiftyJSON (2.1.3)
So you should fix that ASAP.
And also I wanted to tell you thank you for this iOS API.

SwiftyJSON 2.2.0 has been pushed.


Card didnt show all values

Before submitting a bug
[x ] I updated to the latest version available
[x ] I cleared the cache of my browser
Describe the bug
My Card is not fully working, there are many stats that wont show up like, Wifi, Battery, Blades state etc.
Steps to reproduce
Just updated the mower card, after Winter.
Expected behavior
it looks like there is still an Old version of this Card in my config, but i dont know why. I deleted the .js file and replaced it with the new one from 1.0.4
Screenshots
ignore the error, that comes from clogged Blades:
Landroid Cloud is working fine and i have all the entities enabled that would be needed for the Card, but the Card didnt show them.
Any ideas?

Versions:
Release: [ 1.0.4]
Browser: [Chrome]
HomeAssistant version: [ newes]
Landroid_cloud integration [ 4.0.3]

You need to remove browser cache

omg i tought i did with the Strg + F5 Combo, but a real Browser Cache delete worked, thanks alot!


Parameter for settings does not work

On cms version '3.3.0.rc2' it is not possible to run e.g. the "cms check" management command with dedicated settings
Variation like used with runserver - with the equal sign:
python manage.py cms check --settings=config.settings.development
...
usage: manage.py cms [-h] [--version] [-v {0,1,2,3}] [--settings SETTINGS]
                     [--pythonpath PYTHONPATH] [--traceback] [--no-color]
                     {check,copy,delete-orphaned-plugins,fix-tree,list,moderator,publisher-publish,uninstall}
                     ...
manage.py cms: error: unrecognized arguments: --settings=config.settings.development

Variation without equal sign - interpreted from "help" output:
python manage.py cms check --settings config.settings.development
...
usage: manage.py cms [-h] [--version] [-v {0,1,2,3}] [--settings SETTINGS]
                     [--pythonpath PYTHONPATH] [--traceback] [--no-color]
                     {check,copy,delete-orphaned-plugins,fix-tree,list,moderator,publisher-publish,uninstall}
                     ...
manage.py cms: error: unrecognized arguments: --settings config.settings.development

Hard coding of the dedicated settings works.

@yakky can you have a look at this?

Yeah looks like we lost all django builtin options like --no-input

The inability to declare --settings=... is a blocker. As is --no-input, to be honest.

Looking at django source, seems that no-input is not there either.
The fix-tree command doesn't need this parameter but we need to make sure that it works for commands like uninstall plugins and such.
I agree that inability to declare --settings is a blocker.

Regression caused by #4947.

@thoreg
Thanks for your patience.
We've pushed a fix in https://github.com/divio/django-cms/pull/5340.
This will land in RC4.


Can't install unverified plugins from ui

Describe The Bug
Can't install unverified plugins from ui (running npm install with sudo from terminal works), is it the expected behavior?
How users are supposed to install plugins from homebridge-config-ui-x then?
Logs
USER: homebridge
DIR: /var/lib/homebridge
CMD: npm install --save<EMAIL_ADDRESS>
npm ERR! code EACCES
npm ERR! syscall mkdir
npm ERR! path /home/homebridge
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, mkdir '/home/homebridge'
npm ERR!  [Error: EACCES: permission denied, mkdir '/home/homebridge'] {
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'mkdir',
npm ERR!   path: '/home/homebridge'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.

npm ERR! Log files were not written due to an error writing to the directory: /home/homebridge/.npm/_logs
npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal

Operation failed. Please review log for details.

Config
No response
Homebridge UI Version
v4.50.6
Homebridge Version
v1.6.1
Node.js Version
v18.18.2
Operating System
Raspbian GNU/Linux Buster (10)
Environment Info

[ ] Using Docker?
[ ] Using Hyper-V?
[ ] Using hb-service?

Raspberry Pi Model
Raspberry Pi 3

I also don't understand who or what tries to run this command in the above log: mkdir '/home/homebridge'

Have you tried installing other unverified plugins? Do they do the same thing?

yes, it's for all of them, I see in the code of homebridge-config-ui-x that it installs verified plugins differently, by not running npm install but with plugin-upgrade-install.sh script

I just installed
homebridge-yeelight-ble

On docker, with no issues.

Probably worth mentioning that I've removed homebridge after upgrading to node 20 and returning back to 18 and then doing fresh homebridge install according to the instructions https://github.com/homebridge/homebridge/wiki/Install-Homebridge-on-Raspbian
And before that I didn't have any problem installing from ui either, it started after fresh installation from scratch.

Digging a bit further I see that I don't have homebridge directory in /home, after creating it manually with sudo mkdir and trying plugin install from ui I'm getting this error:
USER: homebridge
DIR: /var/lib/homebridge
CMD: npm install --save<EMAIL_ADDRESS>
npm ERR! code EACCES
npm ERR! syscall mkdir
npm ERR! path /home/homebridge/.npm
npm ERR! errno -13
npm ERR!
npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.
npm ERR!
npm ERR! To permanently fix this problem, please run:
npm ERR!   sudo chown -R 999:995 "/home/homebridge/.npm"

npm ERR! Log files were not written due to an error writing to the directory: /home/homebridge/.npm/_logs
npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal

Operation failed. Please review log for details.

I expect it has something to do with npm configuration and where it caches npm modules

sudo chown -r homebridge /home/homebridge

@NorthernMan54 It's sudo chown -R homebridge /home/homebridge and obviously it solves the issue, but I think the problem is bigger and it lies somewhere between fresh homebridge installation and/or homebridge ui implementation, how come that after fresh install of homebridge on Raspbian there's no /home/homebridge directory with correct permissions? and that installation of plugins from homebridge ui behaves differently between verified and unverified plugins, I mean for verified plugins there's no need for /home/homebridge directory to be present at all.

The home directory is used by NPM to store its work in progress files and cache.  I think at some point something happened to your /home/homebridge directory.
PS Both myself and @donavanbecker did a quick regression test, and were not able to recreate the issue.
PSS My test environment is a docker image, that installs the homebridge apt package on a RPI, and then runs it.


Grape 0.14.0 support

Grape has a number of fixes and enhancements in 0.14.0. Is there a reason wine_bouncer is locking grape to minor versions?

The reason what grape did not always semver. Some interfaces changes were made in minor versions. I am willing to release the minor lock, but then I can not guarantee it will work with the minor versions.

Cool, cool, thx for merging, pr. Closing this issue :)

Thank you for submitting the request! :)


Excuse me ,How can I find these files

Hi,
This is FastReport Online Designer https://www.fast-report.com/en/product/fast-report-online-designer/

你买了就可以了哈

开源的被移除了，现在要收费了。


(Font issue) Russian characters not supported in certain interfaces

Hi, I'm working on a song that is in Russian and I noticed that a few environments (notably event flags) do not support the characters (they appear as boxes).
An example from my lyrics:

Should appear as: Га-, си-, тся, свет
And another example from the top bar of the application (though this could be text encoding related? I can't be sure)

I know what this one is supposed to be (Я Не Коммунист) but it's so messed up that I can't say it correlates one to one, which is why I think it might be caused by text encoding
Russian text does work with some text displays (I think because of fonts that support it) i.e in the song properties

Adjusted fonts that include Russian text would be a helpful fix for me and anybody else who works with Russian music.

Note to self, just need to add to add backup font that supports these characters. This is pretty much an ongoing issue as there's no universal font that includes all characters, so I'd prefer to figure out a more concrete solution for all languages/characters.


Fix process sign blob cmd typo

Minor typo fix for the compile errors on the main branch, see errors https://github.com/nqminds/EDGESec/runs/6902926349?check_suite_focus=true
It looks like there are also tests that are broken, as sending OK\n now adds a newline and sends OK\n\n, but that can always be fixed later :)

Ah, whoops, I made this PR too late, the build issues have already been fixed in 0a9c4cdcea33113a4a773a990456ee1fb15aa09b


NVMe: SystemVerilog NVMe model

This is replacing pull request #737 after rebasing the branch to the latest master.
Adding a simple SNAP NVMe layer simulator. We can write and read LBAs which result in files on disk.
This is intended to allow simulation of actions which use NVMe, without the Denali models we normally use to develop the low-level details. This model should perform reasonably well, it is not modelling a real NVMe device, but just the SNAP interface for the action: 6 registers to trigger an NVMe read/write and a data transfer into card DDR to/from the desired address, such that the data can be further processed e.g. transferred to the host-memory.
Restrictions:

No parallel operation yet.
Requires some more testing.

Demo:

https://github.com/open-power/snap/blob/verilog_NMVe_model/actions/hdl_nvme_example/tests/demo_0x10140001.sh

Simulation using the verilog model for NVMe is currently failing.
Dismissing the approval.


Some Problems

Hi,
I found some problems when I try to run this code.
When I use "python main.py" to run this demo, I got these in the final result:
step 13460 / 1347 of epoch 9)
loss:  2.74846293926239
acc:  0.509375
speed: 7.808003 examples/sec
exact_match: 0.983917)
f1: 6.878085)
When I use "python main.py --batch_size 32" to run this demo, I got these in the final result:
step 26920 / 2693 of epoch 9)
loss:  2.330745005607605
acc:  0.55
speed: 4.082112 examples/sec
exact_match: 0.794702)
f1: 7.338743)
I don't understand why the exact_match and f1 are so small.(exact_match=0.79% f1=7.3%?) I think that this is much smaller than the results of the paper. Did I do something wrong?

Sorry, there are some problems in the model. I am still trying to figure out what the problems are.
There is one simplified version in pytorch (no Bi-RNN, no multi-layer):https://github.com/akaitsuki-ii/r-net, but it has the same problem (very low performance on validation data).
And one in Tensorflow: https://github.com/minsangkim142/R-net. This one is much better than mine: about 50 on F1.

Can you point out the reason why the evaluated performance is low? You mentioned you fixed it. Thanks in advance.

@qixianbiao
I've figured out that there were some bugs in numeralizing the dataset and attention.
Fixing them can make the performance much better, but the result is still lower than paper's (I haven't figured out why)

@matthew-z
Thanks for your response. Do you mean it is because of the preprocessing issue?
There are tensorflow and keras verisons of R-Net, their performance is around EM/F1 of 55/67, but I am fan of pytorch.
Have read your code, good style. Thanks for your contribution.
Can you merge your new update into the repository? Thanks.
I am still new to NLP.

@qixianbiao Sure, I plan to do it by this weekend.

Thanks a lot.

@qixianbiao I have pushed an update. Currently its performance is around EM 55 / F1 65 without char-level embedding after 4 hours training on GTX 1070


Update Generic Constraint for Pool Destroy

Generic constraint interface for storage pool destroy (stop).

https://github.com/Hari-Kiri/virest-utilities/pull/49


LG webOS Smart TV turn on service

Home Assistant release (hass --version):
0.55.1
Python release (python3 --version):
3.5.3
Component/platform:
LG webOS Smart TV / hassbian + hassio
Description of problem:
After update from 0.54 to 0.55.x, turn_on service no longer works for LG WebOS TV component.
Problem-relevant configuration.yaml entries and steps to reproduce:
media_player:
  - platform: webostv
    host: <IP_ADDRESS>
    mac: xx:xx:xx:xx:xx:xx
    name: TV
    filename: webostv.conf

Service Data:
{"entity_id":"media_player.tv"}

Additional info:
2017-10-21 09:53:47 WARNING (MainThread) [homeassistant.setup] Setup of media_player is taking over 10 seconds.

This error appears on startup.
2017-10-21 10:23:20 WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.tv is taking over 10 seconds

This error is reports after I turn off the tv whether it be with the remote or turn_off.
No changes to any yaml in relation to the webOS config have been made between home assistant versions.

There was a recent change for the turn_on_action. Perhaps this is related.

you will need to add the following to your configuration:
     turn_on_action:       service: wake_on_lan.send_magic_packet       data:         mac: xx:xx:xx:xx:xx:xx
and if you don't have the WOL platform enabled, you also need to add in your configuration.yaml
 wake_on_lan:


OpenSearchVectorStore Not Adding Documents to OpenSearch Serverless Vector Database With AzureOpenAIEmbeddings

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain.js documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain.js rather than my code.
[X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code
import { AzureOpenAIEmbeddings } from "@langchain/openai";
import { OpenSearchVectorStore } from "@langchain/community/vectorstores/opensearch";
import { Document } from "langchain/document";

const embeddings = new AzureOpenAIEmbeddings({
    azureOpenAIApiKey: "aaa", // In Node.js defaults to process.env.AZURE_OPENAI_API_KEY
    azureOpenAIApiInstanceName: "bbb", // In Node.js defaults to process.env.AZURE_OPENAI_API_INSTANCE_NAME
    azureOpenAIApiEmbeddingsDeploymentName: "text-embedding-ada-002", // In Node.js defaults to process.env.AZURE_OPENAI_API_EMBEDDINGS_DEPLOYMENT_NAME
    azureOpenAIApiVersion: "2024-06-01", // In Node.js defaults to process.env.AZURE_OPENAI_API_VERSION
    maxRetries: 10,
  });

const docText = "Some long text string...";
const docs = [
    new Document({ pageContent: docText })
];

await OpenSearchVectorStore.fromDocuments(docs, embeddings, {
  client,
  indexName: "my-index", // Will default to `documents`
  service: 'aoss'
});

Error Message and Stack Trace (if applicable)
I am not seeing any error message
Description
When running the above code, documents are not saved to the Amazon OpenSearch Serverless Vector database when using AzureOpenAIEmbeddings. If I use BedrockEmbeddings, everything saves fine to the database.
System Info
Node.js 20.x running on AWS Lambda

Is there an alternative method to save the documents to the database using OpenSearchVectorStore that works?

I found the issue. It wasn't actually a problem with the code but with the way the OpenSearch Serverless index was setup. The number of dimensions for the text-embedding-ada-002 model was different than what we were using for the Bedrock model. For this model, the dimensions for the index have to be 1536. If not, adding documents to the index will fail.


stablehlo.round_nearest_even fails with BF16 and complex lowerings

Current version generates a llvm.intr.roundeven operation that fails at linking time.  Determine why compilation is failing, this is likely due to an approximation / decomposition function not existing and therefore an intrinsic being invoked.
module @jit_rint {
  func.func public @main(%arg0: tensor<3x4xbf16> {jax.arg_info = "x", mhlo.sharding = "{replicated}"}) -> (tensor<3x4xbf16> {jax.result_info = ""}) {
    %0 = stablehlo.round_nearest_even %arg0 : tensor<3x4xbf16>
    return %0 : tensor<3x4xbf16>
  }
}

module @jit_rint {
  func.func public @main(%arg0: tensor<complex<f32>> {jax.arg_info = "x", mhlo.sharding = "{replicated}"}) -> (tensor<complex<f32>> {jax.result_info = ""}) {
    %0 = stablehlo.real %arg0 : (tensor<complex<f32>>) -> tensor<f32>
    %1 = call @rint(%0) : (tensor<f32>) -> tensor<f32>
    %2 = stablehlo.imag %arg0 : (tensor<complex<f32>>) -> tensor<f32>
    %3 = call @rint_0(%2) : (tensor<f32>) -> tensor<f32>
    %4 = stablehlo.complex %1, %3 : tensor<complex<f32>>
    return %4 : tensor<complex<f32>>
  }
  func.func private @rint(%arg0: tensor<f32>) -> tensor<f32> {
    %0 = stablehlo.round_nearest_even %arg0 : tensor<f32>
    return %0 : tensor<f32>
  }
  func.func private @rint_0(%arg0: tensor<f32>) -> tensor<f32> {
    %0 = stablehlo.round_nearest_even %arg0 : tensor<f32>
    return %0 : tensor<f32>
  }
}

OOC is there any work needed for complex?

This is one of the last remaining bf16 failures. We may need to move the math to arith conversion to after our bf16 cleanup.
module @jit_rint {
  func.func public @main(%arg0: tensor<4xbf16> {jax.arg_info = "x", mhlo.sharding = "{replicated}"}) -> (tensor<4xbf16> {jax.result_info = ""}) {
    %0 = stablehlo.round_nearest_even %arg0 : tensor<4xbf16>
    return %0 : tensor<4xbf16>
  }
}

This is one of the last remaining bf16 failures. We may need to move the math to arith conversion to after our bf16 cleanup.
module @jit_rint {
  func.func public @main(%arg0: tensor<4xbf16> {jax.arg_info = "x", mhlo.sharding = "{replicated}"}) -> (tensor<4xbf16> {jax.result_info = ""}) {
    %0 = stablehlo.round_nearest_even %arg0 : tensor<4xbf16>
    return %0 : tensor<4xbf16>
  }
}

@rsuderman, by failure, do you mean it fails to compile, or a runtime error? The snippet compiles without a problem on my machine using the llvm-cpu backend.

@rsuderman Will through this.

Appears to build at head now.


What type of update are you requesting?
A new version of an existing package
Current Package Identifier
Jabra.Direct
Package Version
6.17.21301
Please describe the changes you would like to see
There is a new release available.
Release Notes: https://www.jabra.com/support/release-notes/release-note-jabra-direct
Download Page: https://www.jabra.com/software-and-services/jabra-direct
Direct Download Link: https://jabraxpressonlineprdstor.blob.core.windows.net/jdo/JabraDirectSetup.exe

@egerlach, this issue is already solved and should be closed as "completed". CC @stephengillie

Resolved by @spectopo in #166822

@egerlach, this issue is already solved and should be closed as "completed". CC @stephengillie

Resolved by @spectopo in New version: Jabra.Direct version 6.17.21301 (6.17.21301) #166822


(Lunch ∧¬ Lunch) @ Einstein

There is Lunch at Einstein, but we cannot parse it. Thus: bug.

Restaurang Einstein – Lunch & Catering.html.gz

Einstein has closed, this implies closing this issue. :(


Quest timer

I am running Quests 4.0
When I am in the actions editor trying to make a quest fail timer no matter what I type for the time I get (set amount of time before quest fails, in seconds)
Ive tried 45, 45s ( this causes the timer to be set to 1), s45, 045, 045s.
Ive check the Wiki and trouble tickets but havn't seen anything except I'm sure the timer has worked for other people.

Im an idot, kept messing around. Solution is (45). Sorry for bothering you

Im an idot, kept messing around. Solution is (45). Sorry for bothering you


Allow empty routes in Solution

I would like Solution -> Solution, but we need the ability to at least increase the number of routes somehow. Else we're unnecessarily limiting any LNS to never increase the number of routes, which seems weird to me (if the vehicles are available, why not?).
But Solution currently isn't equipped to do that. So we'd have to change that first, and then settle on a single interface for the repair operators.
Originally posted by @N-Wouda in https://github.com/PyVRP/PyVRP/issues/386#issuecomment-1714551995

Part of #307: we need some standardised interface to track inputs, and that input should probably be able to handle empty routes.

@wouterkool you implemented https://github.com/PyVRP/PyVRP/pull/240 before. Are there reasons from your side why we should keep the current behavior? For LNS support we'll need empty routes so that greedy insert can work on Solutions with empty routes.

@wouterkool you implemented #240 before. Are there reasons from your side why we should keep the current behavior? For LNS support we'll need empty routes so that greedy insert can work on Solutions with empty routes.

I'd avoid empty routes in Solutions if not necessary but I'm not able to completely oversee this. It seems to me Solution currently is a 'finished' object whereas you want empty routes only temporarily as I understand, that doesn't seem the way to go to me.
Looking at the options in https://github.com/PyVRP/PyVRP/issues/386#issuecomment-1714172814 , I think it makes sense to keep things consistent with LocalSearch and set up all routes. Like in local search, the empty routes do not need to be a problem as they do not all need to be considered but we can only look at the next empty route for each vehicle type. Would this be possible for repair operators as well?
In theory, we could even extract the list of routes/nodes and logic to set up routes from LocalSearch in a seperate datastructure, somewhat like a 'mutable solution', since I think it's quite similar to how the repair operators are currently set up (not sure, I could be missing something?).

I'd avoid empty routes in Solutions if not necessary but I'm not able to completely oversee this. It seems to me Solution currently is a 'finished' object whereas you want empty routes only temporarily as I understand, that doesn't seem the way to go to me.

The empty routes don't have to be there temporarily. There may be applications where users want to keep all empty routes (with designated vehicle types). So I don't think a Solution is unfinished when there are empty routes in there. We don't do this in HGS for performance reasons on CVRP/VRPTW, but that may be different in heterogeneous fleet instances with different objectives.
That the solution is immutable should stay there. But having empty routes I don't think means it's unfinished/not a solution to the problem.
Some changes that need to be added:

Fixed cost should only be incurred when the route is non-empty
Empty route should not be printed out

Looking at the options in https://github.com/PyVRP/PyVRP/pull/386#issuecomment-1714172814 , I think it makes sense to keep things consistent with LocalSearch and set up all routes. Like in local search, the empty routes do not need to be a problem as they do not all need to be considered but we can only look at the next empty route for each vehicle type. Would this be possible for repair operators as well?

For repair operators, there is not really a two-step procedure in LS like we have now to avoid getting too many empty routes. This means that when setting up all routes in greedy repair could cause a large increase in the number of routes which seems undesirable.

In theory, we could even extract the list of routes/nodes and logic to set up routes from LocalSearch in a seperate datastructure, somewhat like a 'mutable solution', since I think it's quite similar to how the repair operators are currently set up (not sure, I could be missing something?).

This is already done in the repair module as far as I can tell.

That works for me as well!

I think that's nice, that is also flexible towards e.g. divide & conquer strategies!

I'm assigning myself to this issue purely for the part about streamlining the interface for the repair functions in pyvrp.repair. Those will all be based around routes, rather than whole solutions.

Outside of the pyvrp.repair module, do we have other reasons why we might want to allow empty routes in the Solution? I cannot think of any. If you also cannot, I think we can close this issue once pyvrp.repair has been updated.

Outside of the pyvrp.repair module, do we have other reasons why we might want to allow empty routes in the Solution? I cannot think of any. If you also cannot, I think we can close this issue once pyvrp.repair has been updated.

I can also not think of any, so let's close it with #448.

Alright, let's close it then. We can always re-open if (and when) we actually need this.


Would it be ok to add bgr_alpha_pixel?

This is what iOS camera gives out.
Would it be ok if I add it to dlib?

Sure, that's fine.

@davisking fhog's  pyramid_down wouldn't work on a pixel type with alpha though, correct?
COMPILE_TIME_ASSERT( pixel_traits<in_pixel_type>::has_alpha == false );

So it image would need converting anyway

Right

Is there a reason for that? To simplify image algorithms?

It's just sort of bizarre to extract HOG features from an image with an
alpha channel.  I'm not sure what you would even want that to mean.  So the
API forces users to commit to a normal image without any kind of
transparency layer.

From what I've seen in the code, it will work with alpha types just fine through their pixel_traits, just ignoring the alpha.
But I agree that it's silly to use those types, since the algorithm is specifically designed to work on grayscale alphaless image data. Shouldn't it also refuse to accept  non-grayscale images then (right now it doesn't care cause it uses intensity of a pixel trait)?
And converting BGRA/RGBA image to unsigned char alphaless grayscale should be a very cheap operation because it's very cache friendly and vectorizable, right?
If I understand it right, converting the whole image first by just discarding alpha might be even faster, because get_pixel_intensity does a lot of stuff?

HOG does something with RGB images beyond convert them to grayscale.  Also,
when you assign an alpha pixel to a non-alpha pixel it does alpha
blending.  So it's not that the alpha gets ignored.  And you probably don't
want to have alpha blending happening when HOG is running.  Or at least,
the user should decide explicitly that that makes sense for them (it
probably doesn't), but the API certainly shouldn't it automatically.

Right, and no matter what, iOS camera will always return full alpha for each pixel (silly Apple, right?) so no point doing alpha blending, when you can just discard it.
Wha are the benefits of passing RGB images to HOG? All examples I've seen use unsigned char grayscale format.
What are usages of alpha images in dlib? They don't make much sense for object detection.

RGB has little effect on HOG.  In some cases it improves the results, but
not a lot.
I don't use alpha for any object detection things.  Alpha is only for GUI
or other visual presentation style stuff.  Not for machine vision.

Thank you very much for clarifying all this, I really appreciate this.
Now I see that implementing bgr_alpha_pixel would be a very silly thing, that would do more harm than good.


Externalize code generator

The code generator for this addon is basically a copy of the code generator in https://github.com/FlowingCode/IronIconsAddon
(modulo some minor differences). Since the generator itself isn't part of the released artifact, and has its own POM, it should be possible to externalize it as an artifact shared by both iron-icons and font-awesom-iron-iconset.

Totally agree with this.

Now that @polymer/iron-icons is dead, there is no need to maintain its code generator (also, the code generator for FontAwesome has evolved and it's a little bit more different than that of IronIconAddon, in comparison with the situation 2 years ago). I would close this issue as wontfix.

Agree


Document for starting server and error while npm test

Proper documentation is not present for starting the server...And after doing 1)npm install node-xmpp-server 2)npm install -g mocha standard no errors were present,but after theses two steps if i do npm test i am getting error as shown in picture.

npm install first
then node-xmpp-server are libraries not an XMPP server ready to use

npm install first
then node-xmpp-server are libraries not an XMPP server ready to use


Removing or Hiding CSS selectors on snapshot images

I've been trying to hide or remove CSS Selectors using RemoveSelectors or HideSelectors, that overlaps the Selectors I have listed to verify, unfortunately, with no success I've given up trial an error approach. eg: removeSelectors: '#cookie-compliance' or
Any help appreciated.
Details below.
Thanks,
Reporting a problem? Please describe the issue above, and complete the following checklist so that we can help you more quickly.
Issue checklist:

[Yes ] I have validated my config file against YAML Validator to make sure it is valid YAML.

[Yes ] I have run the command in verbose mode (by adding verbose: true to my config) and pasted the output below:

paste results here

PS C:\VisualRegression> wraith capture .\configs\CSS_Selector_pages.yaml
DEBUG: #################################################
DEBUG:   Command run:        capture .\configs\CSS_Selector_pages.yaml
DEBUG:   Wraith version:     3.2.0
DEBUG:   Ruby version:       ruby 2.3.0p0 (2015-12-25 revision 53290) [x64-mingw32]

DEBUG:   ImageMagick:        Version: ImageMagick 7.0.2-1 Q16 x64 2016-06-23 http://www.imagemagick.org

DEBUG:   PhantomJS version:  1.9.6

DEBUG:   CasperJS version:   1.1.1

DEBUG: #################################################
DEBUG:
Config validated. No serious issues found.
Creating Folders
SAVING IMAGES
DEBUG: casperjs --ssl-protocol=tlsv1 --ignore-ssl-errors=yes 'C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/wraith-3.2.0/lib/wraith/javascript/casper.js' 'http://origin-vw06.vwcloud.co.uk/find-a-retailer' '600x800,320x533,1280x800' 'Retailers_CSS_Selector_shots/Retailer/MULTI_casperjs_Origin_VW06.png' '.grid-row' 'C:/VisualRegression/javascript/wait--casper.js' 'false'
DEBUG: casperjs --ssl-protocol=tlsv1 --ignore-ssl-errors=yes 'C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/wraith-3.2.0/lib/wraith/javascript/casper.js' 'http://www.volkswagen.co.uk/' '600x800,320x533,1280x800' 'Retailers_CSS_Selector_shots/HomeHeader/MULTI_casperjs_Live.png' '\#header' 'C:/VisualRegression/javascript/wait--casper.js' 'false'
DEBUG: casperjs --ssl-protocol=tlsv1 --ignore-ssl-errors=yes 'C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/wraith-3.2.0/lib/wraith/javascript/casper.js' 'http://origin-vw06.vwcloud.co.uk/' '600x800,320x533,1280x800' 'Retailers_CSS_Selector_shots/HomeHeader/MULTI_casperjs_Origin_VW06.png' '\#header' 'C:/VisualRegression/javascript/wait--casper.js' 'false'
DEBUG: casperjs --ssl-protocol=tlsv1 --ignore-ssl-errors=yes 'C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/wraith-3.2.0/lib/wraith/javascript/casper.js' 'http://www.volkswagen.co.uk/' '600x800,320x533,1280x800' 'Retailers_CSS_Selector_shots/HomeFooter/MULTI_casperjs_Live.png' '\#footer' 'C:/VisualRegression/javascript/wait--casper.js' 'false'
DEBUG: casperjs --ssl-protocol=tlsv1 --ignore-ssl-errors=yes 'C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/wraith-3.2.0/lib/wraith/javascript/casper.js' 'http://www.volkswagen.co.uk/find-a-retailer' '600x800,320x533,1280x800' 'Retailers_CSS_Selector_shots/Retailer/MULTI_casperjs_Live.png' '.grid-row' 'C:/VisualRegression/javascript/wait--casper.js' 'false'
DEBUG: casperjs --ssl-protocol=tlsv1 --ignore-ssl-errors=yes 'C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/wraith-3.2.0/lib/wraith/javascript/casper.js' 'http://origin-vw06.vwcloud.co.uk/' '600x800,320x533,1280x800' 'Retailers_CSS_Selector_shots/HomeFooter/MULTI_casperjs_Origin_VW06.png' '\#footer' 'C:/VisualRegression/javascript/wait--casper.js' 'false'
Snapping http://www.volkswagen.co.uk/find-a-retailer at: 600x800

Snapping http://www.volkswagen.co.uk/find-a-retailer at: 320x533

Snapping http://www.volkswagen.co.uk/find-a-retailer at: 1280x800

Snapping http://www.volkswagen.co.uk/ at: 600x800

Snapping http://www.volkswagen.co.uk/ at: 600x800

Snapping http://origin-vw06.vwcloud.co.uk/ at: 600x800

Snapping http://origin-vw06.vwcloud.co.uk/ at: 600x800

Snapping http://origin-vw06.vwcloud.co.uk/find-a-retailer at: 600x800

Snapping http://origin-vw06.vwcloud.co.uk/find-a-retailer at: 320x533

Snapping http://origin-vw06.vwcloud.co.uk/find-a-retailer at: 1280x800

CROPPING IMAGES
Process.fork is not supported by this Ruby
DEBUG: Cropping both images to 976x128. (Retailers_CSS_Selector_shots/Retailer/1280x800_casperjs_Live.png, Retailers_CSS_Selector_shots/Retailer/1280x800_casperjs_Origin_VW06.png)
DEBUG: Cropping both images to 318x309. (Retailers_CSS_Selector_shots/Retailer/320x533_casperjs_Live.png, Retailers_CSS_Selector_shots/Retailer/320x533_casperjs_Origin_VW06.png)
DEBUG: Cropping both images to 488x237. (Retailers_CSS_Selector_shots/Retailer/600x800_casperjs_Live.png, Retailers_CSS_Selector_shots/Retailer/600x800_casperjs_Origin_VW06.png)
COMPARING IMAGES
Process.fork is not supported by this Ruby
Comparing Retailers_CSS_Selector_shots/Retailer/1280x800_casperjs_Live.png and Retailers_CSS_Selector_shots/Retailer/1280x800_casperjs_Origin_VW06.png
Saved diff
Comparing Retailers_CSS_Selector_shots/Retailer/320x533_casperjs_Live.png and Retailers_CSS_Selector_shots/Retailer/320x533_casperjs_Origin_VW06.png
Saved diff
Comparing Retailers_CSS_Selector_shots/Retailer/600x800_casperjs_Live.png and Retailers_CSS_Selector_shots/Retailer/600x800_casperjs_Origin_VW06.png
Saved diff
GENERATING THUMBNAILS
Process.fork is not supported by this Ruby
GENERATING GALLERY
Gallery generated
WARN: Failures detected:
WARN:    Retailer failed at a resolution of 320 (28.87% diff)
WARN:    Retailer failed at a resolution of 600 (29.07% diff)
WARN:    Retailer failed at a resolution of 1280 (37.94% diff)

View the gallery in your browser:
         file://C:/VisualRegression/Retailers_CSS_Selector_shots/gallery.html

- [Yes ] I have pasted the contents of my config file below:

paste config here
#debug mode
verbose: true
#Headless browser option
browser:
casperjs: "casperjs"
phantomjs: "phantomjs"
Type the name of the directory that shots will be stored in
directory: 'Retailers_CSS_Selector_shots'
#As per https://github.com/BBC-News/wraith/issues/308 - to read in https urls
phantomjs_options: --ssl-protocol=tlsv1 --ignore-ssl-errors=yes
before_capture: 'javascript/wait--casper.js'
Add only 2 domains, key will act as a label
domains:
Live: "http://www.volkswagen.co.uk"
#Origin_VW03: "http://origin-vw03.vwcloud.co.uk"
Origin_VW06: "http://origin-vw06.vwcloud.co.uk"
#Type screen widths below, here are a couple of examples
screen_widths:
- 600x800
- 320x533
- 1280x800
resize_or_reload: 'resize'
#resize_or_reload: 'reload'
#Type page URL paths below, here are a couple of examples
paths:
Retailer:
path: /find-a-retailer
selector: '.grid-row'
removeSelectors: '#cookie-compliance'
#hideSelectors: '#cookie-compliance'
#before_capture: 'javascript/disable_javascript_and_cookies--casperjs'
#This section does not work since CSS with hash does not show up on snapped images, need to investigate further.
HomeHeader:
path: /
selector: '#header'
HomeFooter:
path: /
selector: '#footer'
#before_capture: 'javascript/disable_javascript_and_cookies--casperjs'
#before_capture: 'javascript/disable_javascript--casper.js'
#Amount of fuzz ImageMagick will use
fuzz: '20%'
#Set the number of days to keep the site spider file
spider_days:

10

#Choose how results are displayed, by default alphanumeric. Different screen widths are always grouped.
#alphanumeric - all paths (with, and without, a difference) are shown, sorted by path
#diffs_first - all paths (with, and without, a difference) are shown, sorted by difference size (largest first)
#diffs_only - only paths with a difference are shown, sorted by difference size (largest first)
#mode: diffs_first
mode: alphanumeric
threshold: 5
Examples: 'basic_template' (default), 'slideshow_template'
gallery:
template: 'basic_template'
thumb_width:  200
thumb_height: 200

Where are you getting RemoveSelectors and HideSelectors from? Is it in the docs?
As far as I know, this isn't a feature!

RemoveSelectors and HideSelectors is not documented in Wraith docs, I googled this and found it from Node JS backstopJS project. Was eagerly looking for solutions.

You can interact with the page in your before_capture files so you can just use js/jquery to remove elements that you dont wan't.

Thanks @SimonKeep.
Yes, the docs are at http://bbc-news.github.io/wraith/#before_capturehooks. Good luck!


Fix Mixpanel aliasing

The order of events should be:
alias('12345');
identify('12345');
track('Signed Up');

https://segment.com/docs/integrations/mixpanel/#alias

Looks good.


User preferences pulldown doesn't show username

The original design had the user icon (or avatar) plus the logged in username

The current version only has the user icon:

For now, vix via setting your email via the settings page at localhost:8000/#settings
And refresh your browser.
The final fix will come via: #162 .


alpha numeric  is not evenly distributed

Because you first randomly choose how many characters are numeric and how many are alphanumeric, numerical characters are 4.8 (48/10) times as likely to occur then alphas. This reduces entropy, and thus increases collision probability (the total space of available strings stays the same).
I would actually suggest to move away from the current ascii based approach as this is very easy to get wrong in some minor way and move to charsets as this seems far simpler and thus robust.
this is my current internal implementation:
const alphaNumericCharSet =
    "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";

String randomAlphaNumeric(int length) =>
    randomStringForCharset(length, alphaNumericCharSet);

String randomStringForCharset(int length, String charset) {
  final random = Random();
  return [
    for (var i = 0; i < length; i++) charset[random.nextInt(charset.length)]
  ].join();
}

I could also create a merge request for this

@felix-ht Thank you so much!  I had a test dependency that did a chi square test for distribution on a different part of the code base.  I removed it to make way for null safety.  I think what I will do is re-introduce the distribution test and have it cover the rest of the codebase.

@felix-ht Thank you so much!  I had a test dependency that did a chi square test for distribution on a different part of the code base.  I removed it to make way for null safety.  I think what I will do is re-introduce the distribution test and have it cover the rest of the codebase.

@felix-ht do you have data showing your findings that alpha numeric is not evenly distributed?

I will close this.  Please let me know if you need any further help.


Dance/fastapi

implementing CRUD functionality for clients, tools, and projects
Files Changed:

.pre-commit-config.yaml
concrete/db/orm/__init__.py
concrete/db/orm/models.py
concrete/db/orm/schemas.py
concrete/db/orm/setup.py
pyproject.toml
webapp/api/crud.py
webapp/api/database.py
webapp/api/models.py
webapp/api/schemas.py
webapp/api/server.py

Whats going on with these comments? Also is this pr still draft/wip?

Context for all the "Content Changes": when I was linting Vishnu's work I ended up linting all of concrete. Only the files listed in the initial comment and those with "Content Change" attached to them need to be looked at.
And this is still WIP, I haven't added messages yet

Thanks for putting this up :nerd_face:

you got it boss

Will keep that in mind
But also I didn't intend for this to be reviewed yet since it's WIP; good comments nonetheless

You can leave us off as reviewers if you didn't want it, but I find reviews half way through speed up the final review

Also good chatting with the lads before the EOD :)

gotcha gotcha

good work lads

Good work mister lad

In the RESTful api at :8000/docs I created an Orchestrator than used its id to create an Operator, then used those IDs to create a client. Then I shut off the server and copy-pasted the sqllite server into my notebooks directory. I was able to look up my Operator using this code
from uuid import UUID
from concrete.db.orm.models import Operator
from sqlmodel import select

with SessionLocal() as session:
    stmt = select(Operator).where(Operator.id == UUID("b88bda71-4c7b-46bf-8087-87ceb22e363e"))
    print(session.scalars(stmt).first())

The crud's get_operator also fetched it

cursor.execute(statement, parameters)
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) table operator has no column named orchestrator_id
[SQL: INSERT INTO operator (id, instructions, title, orchestrator_id) VALUES (?, ?, ?, ?)]
[parameters: ('e0f2e61df7ee42a7a588b306c2c05267', 'string', 'string', '22b644a4c72743288a11480678d223cf')]
(Background on this error at: https://sqlalche.me/e/20/e3q8)

I tried making an orchestrator then an operator using that orchestrators id

:+1: works now


Unexpected token <

Trying to use this library in my project but getting the following:
W20170510-23:52:23.009(9)? (STDERR) ../projectdir/node_modules/vue-easy-toast/src/EasyToast.vue:1
W20170510-23:52:23.009(9)? (STDERR) (function (exports, require, module, __filename, __dirname) { <template>
W20170510-23:52:23.010(9)? (STDERR)                                                               ^
W20170510-23:52:23.010(9)? (STDERR)
W20170510-23:52:23.011(9)? (STDERR) SyntaxError: Unexpected token <
W20170510-23:52:23.011(9)? (STDERR)     at exports.runInThisContext (vm.js:53:16)
W20170510-23:52:23.012(9)? (STDERR)     at Module._compile (module.js:373:25)
W20170510-23:52:23.012(9)? (STDERR)     at Object.Module._extensions..js (module.js:416:10)
W20170510-23:52:23.013(9)? (STDERR)     at Module.load (module.js:343:32)
W20170510-23:52:23.013(9)? (STDERR)     at Function.Module._load (module.js:300:12)
W20170510-23:52:23.013(9)? (STDERR)     at Module.require (module.js:353:17)
W20170510-23:52:23.013(9)? (STDERR)     at require (internal/module.js:12:17)

Its Meteor + Vue project. I installed by npm install vue-easy-toast --save and added
import Toast from 'vue-easy-toast'
Vue.use(Toast)

to my main.js
Is the problem that this runs outside of my Vue environment or something like that? Thanks for any help on this.

Hi @nilsi thanks for reporting.
I'm kinda busy for a couple of days, so I could not get back to you soon enough.
My suggestion is to fallback to previous version and give it a shot, since there was a major release last time.
Apology.

The reason why this error occurred is the .vue file is not proper "vueify".
However, as you can see in my package.json, the default import goes to:
"main": "dist/vue-easy-toast.min.js"
I don't know how you end up importing .vue file directly, which you should not (it won't work), but to fix your module resolve configuration would help I think.


display-none should be important

Take a look at _account.scss

We learned that this can cause some unwanted issues where jQuery show/hide are concerned. It may be easiest to introduce this to Sassquatch2 in order to make a clean break:
https://github.com/meetup/sassquatch2/issues/6


Reconnect to Slack upon disconnect

Since SlackClient keeps a non-blocking web socket open it doesn't look like this is required.


HierarchyID is not supported

Using the standard AdventureWorks sample DB (I think I got it from here), trying to run Facil gives the following error:
   ---> System.Exception: Unsupported SQL system type ID '240' for column 'OrganizationNode' in table 'Employee'
     at Facil.Db.typeInfo@736-9.Invoke(Unit unitVar0) in C:\projects\facil\src\Facil.Generator\Db.fs:line 736
     at Facil.Db.getTableDtos(RuleSet cfg, FSharpMap`2 sysTypeIdLookup, FSharpMap`2 primaryKeyColumnNamesByTable, SqlConnection conn) in C:\projects\facil\src\Facil.Generator\Db.fs:line 730
     --- End of inner exception stack trace ---
     at Facil.Db.getTableDtos(RuleSet cfg, FSharpMap`2 sysTypeIdLookup, FSharpMap`2 primaryKeyColumnNamesByTable, SqlConnection conn) in C:\projects\facil\src\Facil.Generator\Db.fs:line 799
     at Facil.Db.getEverything(RuleSet cfg, String fullYamlPath, FSharpList`1 scriptsWithoutParamsOrResultSetsOrTempTables, SqlConnection conn) in C:\projects\facil\src\Facil.Generator\Db.fs:line 856
     at Facil.Program.regenerate@108(String yamlFilePath, RuleSet cfg, FSharpList`1 scriptsWithoutParamsOrResultSetsOrTempTables, String hash, String outFile, Unit unitVar0) in C:\projects\facil\src\Facil.Generator\Program.fs:line 117
     at Facil.Program.main(String[] argv) in C:\projects\facil\src\Facil.Generator\Program.fs:line 170

This appears to be a SQL type called HierarchyId.
Perhaps from a practical point of view, it would be best to have Facil simply warn and not generate tables that contains types that it does not support, but continue with the remaining ones? I'm thinking people would still benefit even if e.g. 90% of their DB could be generated and 10% had to be hand-rolled.

Also the geography type has the same issue.

These are deliberately not supported. You can easily skip th
ese columns in the config file. Here's part of the config reference:
https://github.com/cmeeren/Facil/blob/bf8a2597d428e43b313f6337f339b9d89f726320/facil_reference.yaml#L140-L149

I believe that there is a Geography type in some of the MS SQL libraries - I believe it's this one. I think HierarchyId is also included in that.
Of course, that could potentially mean a dependency on that library for Facil, which you may not wish to do.

Thanks for the notice.
I'll leave these types unsupported for now until someone actually needs them.


In events, Lilian's avatar is displayed if none is selected.

Exemple : intra node eni 21/10-23/10

https://github.com/lmtm/bc-planner/commit/072b31075d21758d585a450112ec5c66c0132a93


Args: section not correctly formatted when no description is provided

Hello,
I stumbled upon this bug when trying to add pydocstyle rules using the Google docstring convention. The Args: section is not correctly identified and therefore formatted when no description is provided. For example, this code
class MyClass:
    """Short Summary.

    Long description.
    """

    def __init__(self, a, b):
        """
        Args:
            a: first argument.
            b: second argument.
        """
        self.a = a
        self.b = a

if formatted to this:
class MyClass:
    """Short Summary.

    Long description.
    """

    def __init__(self, a, b):
        """Args:
        a: first argument.
        b: second argument.
        """
        self.a = a
        self.b = a

The command I used is ruff check --config ../ruff.toml --fix ruff-d212.py and the config is below:
target-version = "py310"
line-length = 120

[format]
docstring-code-format = true
docstring-code-line-length = 89
skip-magic-trailing-comma = true

[lint]
preview = true
select = [
    "D",        # pydocstyle
]

[lint.pydocstyle]
convention = "google"

Args: is a special heading so I wouldn't expect it to be moved it onto the first line. Note that the --fix resolved D212 but not D205, which make me to think the section is not correctly identified:
ruff-d212.py:8:9: D205 1 blank line required between summary line and description
ruff-d212.py:8:9: D212 [*] Multi-line docstring summary should start at the first line

Thanks for opening this issue.
Reading through the google convention, it seems that the summary line is mandatory.

A docstring should be organized as a summary line (one physical line not exceeding 80 characters) terminated by a period, question mark, or exclamation point. When writing more (encouraged), this must be followed by a blank line, followed by the rest of the docstring starting at the same cursor position as the first quote of the first line. There are more formatting guidelines for docstrings below. source

But I can  see how enforcing a summary might have to be its own rule, or at least would help to get more descriptive errors.

Thanks @MichaReiser for providing references!
If the module and the class are already well documented there is little interest in adding a summary to the constructor. All __init__ would somehow ending up with a variant of "Instantiating object XYX" or "Initializes the instance", which doesn't carry much information. The standard doesn't consider the case were only the Args section is relevant.

Yeah, I can see the use case. What's unclear to me is this is in accordance with the google convention. What I read out of it is that the summary is mandatory.
Either way, fixing this might be a bit more involved because the way these two rules are currently implemented is that they don't know about sections. We would need to change the implementations to consider sections.

I think D212 is arguably the culprit here. I feel like the diagnostic should be: you're missing a summary line (rather than: the summary line is on the wrong line).


Multi-GPU Training GPU Usage

❓ Multi-GPU Training GPU Usage
Before asking:

search the issues.
search the docs.

Hi, I'm using lightning and ddp as backend to do multi-gpu training, with Apex amp (amp_level = 'O1'). The gpu number is 8. I noticed that during training, most of time GPU0's utilization is 0%, while others are almost 100%. But their memory usage are the same. Is this normal? I use OpenPAI and have attached their utilization and memeory usage below. Thanks.

Code

What have you tried?
What's your environment?

OS: [e.g. iOS, Linux, Win]
Packaging [e.g. pip, conda]
Version [e.g. <IP_ADDRESS>]

check the cpu usage, to make sure dataloading is not a bottleneck.

check the cpu usage, to make sure dataloading is not a bottleneck.

Hi, thanks for the reply. The total metric(including cpu, gpu) is as follows:

From these images, I have no idea if dataloading is a bottleneck.
I also did profilers, as mentioned in this issue . The dataloading time is constant. But there's some weird call to ''torch._C._TensorBase' objects' that takes a lot of time.
Thanks!

Your cpu usage seems high. It could be the cpu is the bottleneck here. Try fewer gpus and observe then observe the gpu utilization.

Your cpu usage seems high. It could be the cpu is the bottleneck here. Try fewer gpus and observe then observe the gpu utilization.

Yes. I have found it out. Thank you so much!


Upgrade Babel to 7.6.2 and Jest to 24.9.0

https://github.com/FormidableLabs/enzyme-matchers/pull/313#issuecomment-538447718

What do you think about updating jest in the repo

The latest version of Jest doesn't support Babel 6. That's why I upgraded the Babel at the same time.
I had to recreate the PR because I mistakenly removed the repository.

@vkrol This is awesome! Super impressive job adding all of these comments to help me understand the review :) REALLY REALLY APPRECIATE YOU!

@blainekasten you are welcome! Thanks!

@blainekasten I will do it:

implementing this change to verify that it all works correctly still?

https://github.com/FormidableLabs/enzyme-matchers/pull/313#issuecomment-538447718
in a few days.


JI-5476 replace 10 or more consecutive underscores with 9 in task des…

…cription

This is a fix for the same problem that was fixed for clues here https://github.com/otacke/h5p-crossword/pull/90. It might be that a scenario where user inputs 10 or more consecutive underscores in the description is even less likely than for clues, but since this problem is reproducible with the description as well, we should probably add a fix for that. I believe that the reason why underscores are used as the fill in placeholder, is because of the way LRS's display the descriptions, so a fix on content level was chosen.

@makmentins Will need to look at this later, not at my desk currently. I don't mind a fix on the content type level, but would prefer to use a UUID or similar as the placholder, potentially even provided via H5PIntegration, to rule out such conflicts. If content types need to be changed anyway ...

I have merged this, but having to have a similar solution in every "fill-in" activity is not desirable. Too much complexity which is not documented and developers need to think of. I still suggest to find a different placeholder (e.g. a UUID) in general.

@makmentins "I believe that the reason why underscores are used as the fill in placeholder, is because of the way LRS's display the descriptions, so a fix on content level was chosen." => Why don't you simply add the same workaround in https://github.com/h5p/h5p-php-library/blob/master/js/h5p-event-dispatcher.js No need to c Just check for instance of XAPIEvent and replace the description properties (plural, the language is not fixed to en-US) accordingly. No need to add complexity to every content type.


Migrate mentee API calls to mentee-services

Purpose
The purpose of this PR is to fix #191
Goals
To migrate all mentee related API calls to a separate utility file
Approach
Removed axios calls related to mentees from all components and moved them to a separate utility file called mentee-services
Checklist

[x] This PR doesn't commit any keys, passwords, tokens, usernames, or other secrets.
[x] I have read and understood the development best practices guidelines ( http://bit.ly/sef-best-practices )
[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 my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation

Test environment
Windows 10
Google Chrome

@NethmiRodrigo I think we should close this PR. There have been a lot of changes (specially with my latest PR). Lets do this refactor while wiring the new UIs.
@anjula-sack I think we should make sure all network call logic is inside a service file when approving PRs with business logic

@NethmiRodrigo I think we should close this PR. There have been a lot of changes (specially with my latest PR). Lets do this refactor while wiring the new UIs.
@anjula-sack I think we should make sure all network call logic is inside a service file when approving PRs with business logic

Agree with @cmdrGuyson's suggestion.


ML-examples in order to run it on ARM HW

I would like to build and run ML-EXAMPLES on HW arm64:
https://github.com/ARM-software/ML-examples
I built the armnn for arm64 hardware according to the following document:
https://github.com/ARM-software/armnn/blob/branches/armnn_20_08/BuildGuideCrossCompilation.md
How to build ML-examples in order to run it on ARM HW ?
Thank you,
Slava

Hi @yartaran
Those guides should work with cross compilation as far as I can tell.
Is there a specific issue you have when trying them?
Thanks Finn

In Makefile of the examples, there is g++ compiler.
Should I replace compiler to arm64 aarch?
I have arm64-8VA aarch on my Xilinx board.
Thx
Slava
Sent from my iPhone

On Sep 8, 2020, at 10:34 AM, FinnWilliamsArm<EMAIL_ADDRESS>wrote:

Hi @yartaran
Those guides should work with cross compilation as far as I can tell.
Is there a specific issue you have when trying them?
Thanks Finn
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Hi @yartaran
It depends if you are training the model, say using Tensorflow, you can do that entirely with x-86 if you want to.
Then that model can be used by the ArmNN on your board to run inferences.
If you need to link the arm64 Arm NN libraries to an executable or library then that executable/library needs to be compiling for arm64 as well. So you would have to use the cross compiler.
Hope this and helps and please ask if you have any more questions.
Finn

Hi Finn,
I compiled and build for ARM64 my program:
aarch64-linux-gnu-g++ -O3 -g -std=c++14 -I$(ARMNN_INC) tiny_magnet.cpp -o onnx -L$(OPEN_CV) -L$(ARMNN_LIB) -larmnn -larmnnOnnxParser -lpthread
The problem is that it runs very slow on ARM. It takes 80 seconds for one image.
When I built the Compute library, I selected option NEON=1:
scons arch=arm64-v8a neon=1 opencl=0 embed_kernels=0 extra_cxx_flags="-fPIC" -j8 internal_only=0 benchmark_tests=1 validation_tests=1
Since I have arm64-v8a aarch, could you please suggest me additional ways to optimize the ARMNN build for my hardware to improve performance of my app ?

Are you able to show the code where it sets up the Arm NN runtime? Maybe it's running on the Arm NN debug/reference backend or something?
There's also way to turn on profiling in Arm NN so you can see that exact amount of time each layer takes - if that sounds useful then @FinnWilliamsArm or I can point you to the right documentation.

Yes, thank you,
Please show me how to turn on the profiling.
And I need all the documentation.
Thank you,
Yaroslav
On Fri, Sep 11, 2020 at 4:23 AM Matthew Bentham<EMAIL_ADDRESS>wrote:

Are you able to show the code where it sets up the Arm NN runtime? Maybe
it's running on the Arm NN debug/reference backend or something?
There's also way to turn on profiling in Arm NN so you can see that exact
amount of time each layer takes - if that sounds useful then
@FinnWilliamsArm https://github.com/FinnWilliamsArm or I can point you
to the right documentation.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ARM-software/armnn/issues/453#issuecomment-690951798,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQ3TPBW3L2NMNPDFEEYT3Q3SFHNAZANCNFSM4QYOVZGQ
.

Hi yartaran
You have probably found it already but the guide for profiling is here
Once it is working you should see something like this
Profiling is enabled using the ExternalProfilingOptions inside IRuntime::CreationOptions, which are passed in when Runtime is created.
Like this for example:
   IRuntime::CreationOptions options;
     options.m_ProfilingOptions.m_EnableProfiling = true;
     options.m_ProfilingOptions.m_TimelineEnabled = true;
     IRuntimePtr runtime(IRuntime::Create(options));
Some executables calling Arm NN, like ExecuteNetwork, may also have a command line option to do this.
With ExecuteNetwork it is -a for instance.
Hope that helps and please ask if you need any further information.
Finn

It is very unclear...

Where do I add option -a ? when I build ARM NN ? In cmake ... ??
I have this command in many files:
IRuntime::CreationOptions options;
IRuntimePtr runtime(IRuntime::Create(options));

Where do I add it ?
How to add it ?
I need more details.
I just used an ML example for mobilnet to work with my network.
See attached file.
Please help me to activate the profiling, check why it runs 80 seconds on
ARM A53 AARCH ARM64 V8A.
Thank you
Slava
On Tue, Sep 15, 2020 at 7:30 AM FinnWilliamsArm<EMAIL_ADDRESS>wrote:

Hi yartaran
You have probably found it already but the guide for profiling is here
https://developer.arm.com/solutions/machine-learning-on-arm/developer-material/how-to-guides/cross-compiling-arm-nn-for-the-raspberry-pi-and-tensorflow
Once it is working you should see something like this
https://developer.arm.com/solutions/machine-learning-on-arm/developer-material/how-to-guides/running-and-profiling-arm-nn-on-the-hikey-960/streamline-automate-the-launch-and-capture
Profiling is enabled using the ExternalProfilingOptions inside
IRuntime::CreationOptions, which are passed in when Runtime is created.
Like this for example:
IRuntime::CreationOptions options;
options.m_ProfilingOptions.m_EnableProfiling = true;
options.m_ProfilingOptions.m_TimelineEnabled = true;
IRuntimePtr runtime(IRuntime::Create(options));
Some executables calling Arm NN, like ExecuteNetwork, may also have a
command line option to do this.
With ExecuteNetwork it is -a for instance.
Hope that helps and please ask if you need any further information.
Finn
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ARM-software/armnn/issues/453#issuecomment-692655481,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQ3TPBQV3PR5EFXROOFZ4QDSF5F47ANCNFSM4QYOVZGQ
.

So to clarify if you are writing an application using the Arm NN SDK, at some point that application will create it's own Runtime.
That is the Runtime you need to change.
If you are using the mobilenet example
In the segment titled "Optimize the model and load it onto a compute device" you should replace:
IRuntime::CreationOptions options;
IRuntimePtr runtime(IRuntime::Create(options));
with
IRuntime::CreationOptions options;
options.m_ProfilingOptions.m_EnableProfiling = true;
options.m_ProfilingOptions.m_TimelineEnabled = true;
IRuntimePtr runtime(IRuntime::Create(options));
The -a command is only specific to an Arm NN test executable name ExecuteNetwork, apologies that information was a bit extraneous. The IRuntime method is the way you should enable it if using the Arm NN SDK.
Hope that clears things up
Finn

Thank you,
I don’t use ARM NN SDK, just build and run from command line.
Is there any other way to run profiler ?
If not, can I add profile activation building via command line?
If it’s still an issue, how to load my project to armnn SDK and to activate profile? And how to run it on Xilinx board?
Thanks,
Yaroslav Taran
Sent from my iPhone

On Sep 15, 2020, at 1:41 PM, FinnWilliamsArm<EMAIL_ADDRESS>wrote:

So to clarify if you are writing an application using the Arm NN SDK, at some point that application will create it's own Runtime.
That is the Runtime you need to change.
If you are using the mobilenet example
In the segment titled "Optimize the model and load it onto a compute device" you should replace:
IRuntime::CreationOptions options;
IRuntimePtr runtime(IRuntime::Create(options));
with
IRuntime::CreationOptions options;
options.m_ProfilingOptions.m_EnableProfiling = true;
options.m_ProfilingOptions.m_TimelineEnabled = true;
IRuntimePtr runtime(IRuntime::Create(options));
The -a command is only specific to an Arm NN test executable name ExecuteNetwork, apologies that information was a bit extraneous. The IRuntime method is the way you should enable it if using the Arm NN SDK.
Hope that clears things up
Finn
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Is the example that I attached in previous message works with NEON?
Actually, I rebuild ARMNN and set ARMNNREF=0, ARMNNNEON=1.

I also saw that Execute() function was called from the REF library and not
from the NEON library.
Could you please send me an example that loads a network from binary and
works with NEON ?
Thanks,
Yaroslav Taran
On Tue, Sep 15, 2020 at 2:29 PM<EMAIL_ADDRESS>wrote:

Thank you,
I don’t use ARM NN SDK, just build and run from command line.
Is there any other way to run profiler ?
If not, can I add profile activation building via command line?
If it’s still an issue, how to load my project to armnn SDK and to
activate profile? And how to run it on Xilinx board?
Thanks,
Yaroslav Taran
Sent from my iPhone
On Sep 15, 2020, at 1:41 PM, FinnWilliamsArm<EMAIL_ADDRESS>wrote:

So to clarify if you are writing an application using the Arm NN SDK, at
some point that application will create it's own Runtime.
That is the Runtime you need to change.
If you are using the mobilenet example
https://developer.arm.com/solutions/machine-learning-on-arm/developer-material/how-to-guides/deploying-a-quantized-tensorflow-lite-mobilenet-v1-model-using-the-arm-nn-sdk/write-your-application
In the segment titled "Optimize the model and load it onto a compute
device" you should replace:
IRuntime::CreationOptions options;
IRuntimePtr runtime(IRuntime::Create(options));
with
IRuntime::CreationOptions options;
options.m_ProfilingOptions.m_EnableProfiling = true;
options.m_ProfilingOptions.m_TimelineEnabled = true;
IRuntimePtr runtime(IRuntime::Create(options));
The -a command is only specific to an Arm NN test executable name
ExecuteNetwork, apologies that information was a bit extraneous. The
IRuntime method is the way you should enable it if using the Arm NN SDK.
Hope that clears things up
Finn
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ARM-software/armnn/issues/453#issuecomment-692870278,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQ3TPBU5OIYRZTFJECEYVHTSF6ROHANCNFSM4QYOVZGQ
.

Hey Yaroslav
After testing the mobilenet models NEON they are working correctly.
So I can't be sure exactly what is causing this seg fault you are encountering.
Could you send a stack trace?
Also are you specifying the weather to use just CpuAcc on the command line?
If not it will default to use CpuAcc and CpuRef .
Thanks,
Finn

Hi Finn,
CpuAcc resolved the issue!
It runs now very fast!
Now I need to understand performance in details.
I have to run profiling to see the layers performance.
And, I need to understand how many cores were activated during the run.
Could you please help me with the number of CPU cores ? Is there any API
for that ?
Thank you,
Yaroslav
On Thu, Sep 17, 2020 at 7:18 AM FinnWilliamsArm<EMAIL_ADDRESS>wrote:

Hey Yaroslav
After testing the mobilenet models NEON they are working correctly.
So I can't be sure exactly what is causing this seg fault you are
encountering.
Could you send a stack trace?
Also are you specifying the weather to use just CpuAcc on the command line?
If not it will default to use CpuAcc and CpuRef .
Thanks,
Finn
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ARM-software/armnn/issues/453#issuecomment-694165475,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQ3TPBV5YFSUW4TBGXNMEG3SGHWANANCNFSM4QYOVZGQ
.

Glad to hear that worked!
So to turn on profiling you can edit the mobilenetv1_quant_tflite.cpp file from the example.
Adding in the extra Runtime options in the way specified above.
Thanks
Finn

Hi Finn,
I configured it for profiling, but still don't see the Compute library
option on Streamline tool.
There are Heat Map, Core map, samples, Processes, but I don't see the
Compute library option and the layers.
I added what you asked:
// Optimize the network for a specific runtime compute device, e.g.
CpuAcc, GpuAcc
armnn::IRuntime::CreationOptions options;
options.m_ProfilingOptions.m_EnableProfiling = true;
options.m_ProfilingOptions.m_TimelineEnabled = true;
armnn::IRuntimePtr runtime = armnn::IRuntime::Create(options);
armnn::IOptimizedNetworkPtr optNet = armnn::Optimize(*network,
{armnn::Compute::CpuAcc}, runtime->GetDeviceSpec());
What else should I enable/add to see Compute library in streamline with the
layers ?
I attach my application for review.
Thanks,
Yaroslav
On Fri, Sep 18, 2020 at 5:38 AM FinnWilliamsArm<EMAIL_ADDRESS>wrote:

Glad to hear that worked!
So to turn on profiling you can edit the mobilenetv1_quant_tflite.cpp file
from the example.
Adding in the extra Runtime options in the way specified above.
Thanks
Finn
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ARM-software/armnn/issues/453#issuecomment-694766324,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQ3TPBQMCXGYZXFDF66HECLSGMTC7ANCNFSM4QYOVZGQ
.


write results to results.txt file

Hi Soumith,

updated the script to write the results to results.txt file
this should probably be easier to read?

Thanks @hughperkins, benchmarks on the way.


{AKS} az aks update: Fix command failure in validation of AzureMonitorMetrics Addon for SP-based cluster

This checklist is used to make sure that common guidelines for a pull request are followed.
Fix issue #5488. Previously, in update code path, for an SP-based cluster, command would fail on the validation of AzureMonitorMetrics Addon.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
The precondition is to put your code inside this repository and upgrade the version in the pull request but do not modify src/index.json.

AKS


An internal error has occurred print and inspect the error details for more information

While verifying phone number Just once face this error for OTP Verification

I have integrated Firebase OTP Verification code in my app.
PhoneAuthProvider.provider().verifyPhoneNumber(fullPhoneNumber, uiDelegate: nil) { verificationID, error in             stopSpinner()             if error != nil {                 DLog(error?.localizedDescription as Any)                 showAlert(title: OOPS, message: error!.localizedDescription)                 self.checkAndEnableButton()                 return             } }
Here, I have registered no. many times but once I faced the error "An internal error has occurred print and inspect the error details for more information" and it was faced randomly not every time facing it.

Similar to #5730

@parthbarot10 can you print out the whole error object instead of just the localized description? That should contain the underlying internal error.


EntryCatalog without interface

remove the EntryCatalog interface and turn the implementation to public
implement missing merge message and pass missing fields

Codecov Report

Merging #1111 (ce647e5) into master (32cf23f) will decrease coverage by 0.02%.
The diff coverage is 4.76%.

@@            Coverage Diff             @@
##           master    #1111      +/-   ##
==========================================
- Coverage   47.05%   47.03%   -0.03%
==========================================
  Files         174      174
  Lines       13997    13999       +2
==========================================
- Hits         6586     6584       -2
- Misses       6563     6569       +6
+ Partials      848      846       -2

Impacted Files
Coverage Δ

catalog/rocks/cataloger.go
18.15% <0.00%> (-0.46%)
:arrow_down:

graveler/graveler.go
37.26% <0.00%> (ø)

catalog/rocks/entry_catalog.go
26.31% <16.66%> (+3.23%)
:arrow_up:

config/logger.go
64.28% <0.00%> (-10.72%)
:arrow_down:

catalog/mvcc/cataloger_create_branch.go
81.53% <0.00%> (-3.08%)
:arrow_down:

pyramid/tier_fs.go
62.41% <0.00%> (+2.68%)
:arrow_up:

catalog/mvcc/cataloger_create_entry.go
100.00% <0.00%> (+5.26%)
:arrow_up:

Continue to review full report at Codecov.

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


Adding to project

I know it's not directly a issue with this project but had a question that I'm stuck on and it's very specific to both projects...
How would I go about adding this to the vmread project?
I've git cloned this project to root and added the following to meson.build in vmread:
Updated standard to cpp_std=c++17
Created new array of files I'll be using modular_files = ['m0dular/utils/threading.cpp', 'm0dular/utils/semaphores.cpp', 'm0dular/utils/atomic_lock.cpp', 'm0dular/utils/mutex.cpp']
then updated the executable to include said files:
example_kmod_src = executable(
	'kmod_src',
	files(base_files + ['src/Main.cpp', 'intmem.c'] + hlapi_files + modular_files),
  c_args : c_compile_args + compile_args + compile_args_external + ['-DKMOD_MEMMAP'],
  cpp_args : cpp_compile_args + compile_args + compile_args_external + ['-DKMOD_MEMMAP'],
  link_args : compile_args + compile_args_external + link_args + link_args_external
)

But I'm getting the following build error when i try compile:
[1/2] Compiling C++ object<EMAIL_ADDRESS>FAILED<EMAIL_ADDRESS>c++  -Ikmod_src@exe -I. -I.. -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -O0 -g -Wno-covered-switch-default -Wno-c++98-compat -Wno-padded -Wno-c++98-compat-pedantic -Wno-weak-vtables -Wno-documentation-unknown-command -Wno-old-style-cast -Wno-float-equal '-Wno-unused-command-line-argument -Wno-reserved-id-macro -Wno-cast-align -Wno-exit-time-destructors -Wno-global-constructors' -fpermissive -Wno-padded -Wno-c++98-compat -Wno-padded -Wno-c++98-compat-pedantic -Wno-weak-vtables -Wno-documentation-unknown-command -Wno-old-style-cast -D_POSIX_C_SOURCE=200809L -pedantic -DMVERBOSE=4 -DMTR_ENABLED -DREAD_CHECK -Wno-padded -Wno-sign-conversion -Wno-padded -Wno-documentation-unknown-command -Wno-missing-variable-declarations -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-weak-vtables -Wno-old-style-cast -DLMODE=MODE_EXTERNAL -fsanitize=address -DKMOD_MEMMAP -MD -MQ<EMAIL_ADDRESS>-MF<EMAIL_ADDRESS>-o<EMAIL_ADDRESS>-c ../m0dular/utils/threading.cpp
../m0dular/utils/threading.cpp: In function ‘void Threading::InitThreads()’:
../m0dular/utils/threading.cpp:75:15: error: ‘NUM_THREADS’ was not declared in this scope
  numThreads = NUM_THREADS;
               ^~~~~~~~~~~
../m0dular/utils/threading.cpp:75:15: note: suggested alternative: ‘_SC_THREADS’
  numThreads = NUM_THREADS;
               ^~~~~~~~~~~
               _SC_THREADS

When i used a compiled version:
In file included from ../m0dular/utils/threading.h:7:0,
                 from ../src/Main.cpp:5:
../m0dular/utils/packed_heap.h:275:17: error: ‘auto’ parameter not permitted in this context
  template<auto& HoleHandler, auto& ChunkHandler>
                 ^~~~~~~~~~~
../m0dular/utils/packed_heap.h:275:36: error: ‘auto’ parameter not permitted in this context
  template<auto& HoleHandler, auto& ChunkHandler>
                                    ^~~~~~~~~~~~

nvm


Recursive update attributes

Haight Bar should be able to update attributes of subviews of views

Thanks for the contribution @m1entus. I'd like to discuss this a bit further and explain why, for now, I don't think this should be merged in.
During development, I considered implementing this functionality. I decided against it because in my opinion, the flexible height bar should not be responsible for updating layout attributes for its view's subviews.
The more appropriate solution is to make the views that you add to the flexible height bar responsible for laying out their own subviews. You could use UIView subclasses that respond to bounds changes or whatever other property should trigger a change in how their subviews are displayed and laid out. You could even do this with Auto Layout.
I'll leave this open to further discussion for anyone else who might agree or disagree with my stance.

Consider people like me, who want to create flexible height bar view from xib, when you are creating view from xib, there is additional container layout and it is not possible to do anything with elements, in this case you must create flexible header from code which is ugly for me.

@m1entus I'm unable to reproduce that issue with the container view in interface builder. I added the bar as a subview of the view controller's view in IB. Then I drag in labels and other subviews and connect them with IBOutlets. Finally, I setup layout attributes for them in code. There is no container view inside of the BLKFlexibleHeightBar.

In my case, i am subclassing UINavigationController without using xib, and i am adding BLKFlexibleHeightBar as a subview loaded from xib, [[NSBundle mainBundle] loadNibNamed:@"Blah"
owner:self options:nil]; which is not possible to load UIView without additional container.

I'd like to reproduce your setup. Your view hierarchy looks like this, correct?
UINavigationBar
|_BLKFlexibleHeightBar
|_subview
|_subview
|_subview
You load a BLKFlexibleHeightBar from a xib and add it as a subview of UINavigationBar?

I added method named: viewForApplyingAttributes , if you uncomment it it will work fine, maybe you could add simmilar concept ? Sample project with problem: https://dl.dropboxusercontent.com/u/21909153/BLKFlexibleHeightBar-Sample.zip

Any progress with that ?

Thanks for the demo showing the problem. I haven't had time to take an in depth look but I hope to get around to it soon.


UTXO confirmed block but no funds in sparrow wallet

Hello!
I have recently installed Sparrow wallet and have just installed my RaspBlitz Node. I have sent some BTC to the Sparrow wallet ( first recieved transaction). The block is confirmed but its says unspent transaction. Very new to this and learning to bare with me :). The funds are not in the wallet but I can see them in block explorer confirmed? any help would be great!
Thank you

Make sure Sparrow is properly connected to the Raspiblitz (use Test Connection to check) and that the wallet is loading without errors.
Please use the Telegram group for support, not Github. https://t.me/SparrowWallet.


Note: Providing complete information in the most concise form is the best way to get help. This issue template serves as the checklist for essential information to most of the technical issues and bug reports. For non-technical issues and feature requests, feel free to present the information in what you believe is the best form.

For Q & A and discussion, please start a discussion thread at https://discuss.mxnet.io
Description
(Brief description of the problem in no more than 2 sentences.)
Environment info (Required)
What to do:
1. Download the diagnosis script from https://raw.githubusercontent.com/apache/incubator-mxnet/master/tools/diagnose.py
2. Run the script using `python diagnose.py` and paste its output here.

Package used (Python/R/Scala/Julia):
(I'm using ...)
For Scala user, please provide:

Java version: (java -version)
Maven version: (mvn -version)
Scala runtime if applicable: (scala -version)

For R user, please provide R sessionInfo():
Build info (Required if built from source)
Compiler (gcc/clang/mingw/visual studio):
MXNet commit hash:
(Paste the output of git rev-parse HEAD here.)
Build config:
(Paste the content of config.mk, or the build command.)
Error Message:
(Paste the complete error message, including stack trace.)
Minimum reproducible example
(If you are using your own code, please provide a short script that reproduces the error. Otherwise, please provide link to the existing example.)
Steps to reproduce
(Paste the commands you ran that produced the error.)

What have you tried to solve it?

@leleamol Looks like you either created this on accident or accidentally left it blank. Please update or close.

@mxnet-label-bot [Pending Requester Info]

Closed. It was created by mistake.