Add multiline Japanese strings support to HocrVisualParser() to fix #534 and redo #537

Description of the problems or issues
Is your pull request related to a problem? Please describe.
See #534.
This request redoes #537, which needs prior fixing #538 (fixed by #539).
Does your pull request fix any issue.
See #534
Description of the proposed changes
In case of multi line Japanese strings 'AAAA\nBBBB', spacy[ja] sometimes generates tokens ['AAA', 'AB', 'B', 'BB']. Proposal defines bbox of 'AB' as a multi line word (i.e. left is min left of ['A','B'], top is the top of 'A', right is max right of ['A','B'] and bottom is the bottom of 'B').
Test plan
This is cause of Japanese morphological analysis. So, I have added Japanese test data to 'tests/data/hocr_simple/japan.hocr' and test code to 'tests/parser/test_parser.py::test_parse_hocr'
Checklist

[x] I have updated the documentation accordingly.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.
[x] I have updated the CHANGELOG.rst accordingly.

Codecov Report

Merging #540 (a4d06ea) into master (5ab8e9c) will increase coverage by 0.04%.
The diff coverage is 100.00%.

:exclamation: Current head a4d06ea differs from pull request most recent head 5d666fa. Consider uploading reports for the commit 5d666fa to get more accurate results

@@            Coverage Diff             @@
##           master     #540      +/-   ##
==========================================
+ Coverage   86.02%   86.07%   +0.04%
==========================================
  Files          92       92
  Lines        4773     4775       +2
  Branches      899      899
==========================================
+ Hits         4106     4110       +4
+ Misses        476      475       -1
+ Partials      191      190       -1

Flag
Coverage Δ

unittests
86.07% <100.00%> (+0.04%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...fonduer/parser/visual_parser/hocr_visual_parser.py
97.64% <100.00%> (+2.46%)
:arrow_up:

@lukehsiao Thank you for review. Do you mean "manually rebase" is rebasing branch to master in my local or remote repository, or in this upstream? About local or remote, I will check. About upstream, I have no write access.

@lukehsiao I have rebase on my local master, but I could not get the reason of conflicts. All codes of rebase original and destination are the same but rebase command shows conflict messages.
I have tried git rebase --skip after some commands of resolving conflicts like git am --show-current-patch, git rebase --continue and so on. It is maybe because there are some cached data remains...

@YasushiMiyata I'll take a look, one sec.

@YasushiMiyata I'm able to resolve the rebase after "skipping" two commits and resolving the conflicts on another two. I can't force push to your PR, though, so I don't think there is an easy way for me to manually rebase this PR.
git checkout -b YasushiMiyata-master master
git pull https://github.com/YasushiMiyata/fonduer.git master
git rebase master
<resolve conflict with tests/test_postgres.py>
git add -u
git rebase --continue
git rebase --skip
<resolve conflict with test_parser>
git add -u
git rebase --continue
git rebase --skip

Those were the steps I took to get to a state rebased on master. Can you give that a try?

@lukehsiao
I did rebase with --continue and --skip and got following results.
I think it would be better to start over this pull request with fork process.
Would you reject this pull request if this process is inappropriate?

$git rebase --continue
Applying: Fix incorrect assertion in test_parser.py
No changes - did you forget to use 'git add'?
If there is nothing left to stage, chances are that something else
already introduced the same changes; you might want to skip this patch.

git rebase --skip
Applying: Fix test_parser.py assertion depended on python version.
Using index info to reconstruct a base tree...
M       tests/parser/test_parser.py
Falling back to patching base and 3-way merge...
No changes -- Patch already applied.
Applying: Change variable name 'd' to 'candidate'
Using index info to reconstruct a base tree...
M       tests/test_postgres.py
Falling back to patching base and 3-way merge...
No changes -- Patch already applied.
Applying: Add multiline Japanese strings support to HocrVisualParser() to fix #534 and redo #537
Applying: Add CHANGELOG of #540

@lukehsiao
I have tried rebase once again, and complete with no force push (no --skip command).
Sorry to bother you, but would you mind re-checking to be able to merge?
The rebase failer seems my mistaking of rebase target.


Consider using directives over magic comments

GraphQL has directives which are used for telling the client / server additional information about desired implementation. It might be better and fit other tooling expectations to use directives rather than comments for declaring a field owned.

Thanks for the tip 😄 I also wasn't a fan of the magic comments. Honestly haven't looked into directives but I'll read up on them.

@LegNeato I've looked into schema directives and it seems like a much nicer solution than the magic comments. Just to be sure, before I start coding, is it something like this you had in mind:
directive @owned on FIELD_DEFINITION

type Query {
    string: String! @owned
}

schema { query: Query }

Instead of
type Query {
    "#[ownership(owned)]"
    string: String!
}

schema { query: Query }

Yep! Or, if you want you could do something like @rust(ownership: owned) or @juniper(ownership: owned).
I don't think it makes too much difference and is more your preference.

Then again, might be worth standardizing on semantics in the rust graphql ecosystem so everything can read and write and keep the same rust-isms.

Yeah thats probably a good idea. How do you suggest we do that? Should we bring in more people here or should I open an issue on the juniper repo?


Tooltips disappear when their content is updated

Describe the bug
After updating the text content of a tooltip created using the v-b-tooltip directive, it disappears instead of updating the text as expected. The updated tooltip appears after moving the mouse off the element with the tooltip and hovering it again. I've observed this behavior using Firefox 134.0b7 and Chrome 131.0.6778.140 in macOS.
 I'll look if we can even make this work with directives.


Link from unverified contracts to Sourcify to encourage verifying

I like the general idea, but how can a random visitor start the verification process, when it needs to have the source code and the metadata manually inputted? At sourcify, there is an option called "import from contract", but it doesn't seem to work in the test case. (Also the address of the contract must be entered manually again, which is poor UI.) Would it be possible to provide a closer integrration? At least avoid having to re-enter the address, but ideally also automatically provide the alleged sources? Or is this information not available anywhere?
Also, what happens is the verification fails? What does it mean? Does it say something about the contract itself, or does it just mean that the person who started the verification process provided the wrong data? Do we even get notified about failed verification attempts?

Sometimes a random visitor can do the verification, since our chains are not monitored; I verified a few contracts just using "Import from Contract" + input address and chain. Other than that, it's intended for contract owners.
I don't think we can avoid re-entering the address :shrug:

but ideally also automatically provide the alleged sources? Or is this information not available anywhere?

not sure what you mean here

Verification fails

Pretty sure it just means the compilation result has a different hash, so the source code or the compilation parameters differed. And oasis is not notified about such mismatches.

I verified a few contracts just using "Import from Contract" + input address and chain.

Is there a way for us to determine in advance whether or not this will be possible, just by looking at our own data? Btw, how does Sourcify pull the data? What kind of service to they use?
I think we should show a different message (or at least tooltip) depending on whether or not this is possible for the given contract. Since if it's not, I think we should probably say something like "Verify this contract (assuming you have the sources)" or something like that...

I don't think we can avoid re-entering the address shrug

Can we talk to the Sourcify team and ask them to provide a route which accepts the address as part of the path? (And hopefully also the "import from contract" setting...)

I don't think we can pre-determine it https://docs.sourcify.dev/docs/monitoring/
I guess the longer label "Verify this contract (assuming you have the sources)" is also a substitute for explaining what verified contracts even mean.

Address in path

TODO: check https://github.com/ethereum/sourcify

Don said

I don’t think it’s particularly inviting to have that text link, but I guess we could reword it to be less actionable; Verify through Sourcify - let’s go with that, please.


Add Docker and Docker Compose to Express API

We need to containerize our Express.js API using Docker and Docker Compose to streamline the development, testing, and deployment process. This will ensure consistency across different environments and simplify dependency management.
Acceptance Criteria:

Dockerfile should be created to define the environment for the Express.js application.
Docker Compose file should be created to orchestrate the Docker container for the Express.js app.
Docker setup should allow for easy local development, with hot reloading enabled.
Documentation should be updated to include setup and usage instructions for Docker and Docker Compose.

Tasks:

[ ] Create a Dockerfile:

[ ] Create a Docker Compose file (docker-compose.yml):

[ ] Enable hot-reloading for local development:

[ ] Update documentation:

@arya2004 Can you please assign this to me?

@arya2004 ?

apologies for late reply, you can go ahead with this issue

@arya2004 Thanks

@arya2004 Can you please tell me why in the local npm install is not working

@geekyharsh05 it is working on Windows 10 with Node version v20.10.0
Probably it is because of different OS?

We need to pick specific version of node

We need to pick specific version of node

Using engines in package.json??

@arya2004 @geekyharsh05 It is also not working on windows

node-gpy requires Python 2.xx (especially 2.7) not 3.xx
Source- https://www.npmjs.com/package/node-gyp/v/3.8.0


python310Packages.dataclasses-json: 0.5.15 -> 0.6.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.dataclasses-json is: Simple API for encoding and decoding dataclasses to and from JSON
meta.homepage for python310Packages.dataclasses-json is: https://github.com/lidatong/dataclasses-json
meta.changelog for python310Packages.dataclasses-json is: https://github.com/lidatong/dataclasses-json/releases/tag/v0.6.0
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 0.6.0 with grep in /nix/store/b5qraiv0ygkzgb3i8yl5mbz7dqi1h4ra-python3.10-dataclasses-json-0.6.0
found 0.6.0 in filename of file in /nix/store/b5qraiv0ygkzgb3i8yl5mbz7dqi1h4ra-python3.10-dataclasses-json-0.6.0

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

15 total rebuild path(s)

15 package rebuild(s)

First fifty rebuilds by attrpath
home-assistant-component-tests.sia
json-schema-for-humans
pentestgpt
python310Packages.dataclasses-json
python310Packages.json-schema-for-humans
python310Packages.langchain
python310Packages.pysiaalarm
python310Packages.python-youtube
python310Packages.spyse-python
python311Packages.dataclasses-json
python311Packages.json-schema-for-humans
python311Packages.pysiaalarm
python311Packages.python-youtube
python311Packages.spyse-python
sublime-music

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/b5qraiv0ygkzgb3i8yl5mbz7dqi1h4ra-python3.10-dataclasses-json-0.6.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.dataclasses-json https://github.com/r-ryantm/nixpkgs/archive/0b53a1402668071476ce51b20517265596eedcaa.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/b5qraiv0ygkzgb3i8yl5mbz7dqi1h4ra-python3.10-dataclasses-json-0.6.0
ls -la /nix/store/b5qraiv0ygkzgb3i8yl5mbz7dqi1h4ra-python3.10-dataclasses-json-0.6.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

12 packages built:

home-assistant-component-tests.sia
json-schema-for-humans (python310Packages.json-schema-for-humans)
python310Packages.dataclasses-json
python310Packages.pysiaalarm
python310Packages.python-youtube
python310Packages.spyse-python
python311Packages.dataclasses-json
python311Packages.json-schema-for-humans
python311Packages.pysiaalarm
python311Packages.python-youtube
python311Packages.spyse-python
sublime-music

Maintainer pings
cc @albakham for testing.

Result of nixpkgs-review pr 253447 run on aarch64-darwin 1

6 packages marked as broken and skipped:

pentestgpt
pentestgpt.dist
python310Packages.langchain
python310Packages.langchain.dist
sublime-music
sublime-music.dist

20 packages built:

json-schema-for-humans (python310Packages.json-schema-for-humans)
json-schema-for-humans.dist (python310Packages.json-schema-for-humans.dist)
python310Packages.dataclasses-json
python310Packages.dataclasses-json.dist
python310Packages.pysiaalarm
python310Packages.pysiaalarm.dist
python310Packages.python-youtube
python310Packages.python-youtube.dist
python310Packages.spyse-python
python310Packages.spyse-python.dist
python311Packages.dataclasses-json
python311Packages.dataclasses-json.dist
python311Packages.json-schema-for-humans
python311Packages.json-schema-for-humans.dist
python311Packages.pysiaalarm
python311Packages.pysiaalarm.dist
python311Packages.python-youtube
python311Packages.python-youtube.dist
python311Packages.spyse-python
python311Packages.spyse-python.dist


Why not using boostrap anymore?

Just curious..

Well. We intend to build UI-framework at some point: https://github.com/epicmaxco/vuestic-ui.
That's not really doable on bootstrap.


Install Apps in Meetings

I reference to message center post MC252940 "Admins can install Apps in Meetings", or roadmap ID 81086.
I don't understand the benefit of this behaviour.

Why is this limited to admins, and which admin roles? Global Admin, sure, Teams Service Admin is not longer valid. Is it Teams Administrator, or another of the Teams admin roles?
You noted this option is limited to admins, but users can open an app and select "Add to a meeting". Then the app was added without an admin interaction.

What do I miss to understand the message center post in a correct way?
Thanks Tobias

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

ID: 6f91604a-35b0-dfbb-55b2-b601cb0841b0
Version Independent ID: 84bcd0d7-b4ed-f13e-c84b-2ec6a7661ae9
Content: Manage app setup policies in Microsoft Teams - Microsoft Teams
Content Source: Teams/teams-app-setup-policies.md
Service: msteams
GitHub Login: @cichur
Microsoft Alias: v-cichur

Thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.


error creating a non existing pool member in a SDN

OpenStack Release
Mitaka
Description
The error that follows occurs when creating a pool member which doesn't exist. ie:
neutron lbaas-member-create --subnet int --address <IP_ADDRESS> --protocol-port 80 test190
Where <IP_ADDRESS> doesn't exist
Full error is shown
2016-11-0211:28:36.048 26376 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.icontrol_driver Traceback (most recent call last):
2016-11-02 11:28:36.048 26376 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.icontrol_driver   File "/usr/lib/python2.7/dist-packages/f5_openstack_agent/lbaasv2/drivers/bigip/icontrol_driver.py", line 1138, in _common_service_handler
2016-11-02 11:28:36.048 26376 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.icontrol_driver     service, all_subnet_hints)
2016-11-02 11:28:36.048 26376 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.icontrol_driver   File "/usr/lib/python2.7/dist-packages/f5_openstack_agent/lbaasv2/drivers/bigip/network_service.py", line 572, in post_service_networking
2016-11-02 11:28:36.048 26376 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.icontrol_driver     self.update_bigip_l2(service)
2016-11-02 11:28:36.048 26376 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.icontrol_driver   File "/usr/lib/python2.7/dist-packages/f5_openstack_agent/lbaasv2/drivers/bigip/network_service.py", line 621, in update_bigip_l2
2016-11-02 11:28:36.048 26376 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.icontrol_driver     self.update_bigip_member_l2(bigip, loadbalancer, member)
2016-11-02 11:28:36.048 26376 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.icontrol_driver   File "/usr/lib/python2.7/dist-packages/f5_openstack_agent/lbaasv2/drivers/bigip/network_service.py", line 653, in update_bigip_member_l2
2016-11-02 11:28:36.048 26376 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.icontrol_driver     'mac_address': member['port']['mac_address']}
2016-11-02 11:28:36.048 26376 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.icontrol_driver KeyError: 'port'
2016-11-02 11:28:36.048 26376 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.icontrol_driver

When deleting it the following error message is shown:
2016-11-03 16:11:44.304 12635 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.network_service [req-f020e974-a222-485e-bb72-cabd9d37551c 13eeaa5d6b8b4916b695e894968c9a93 8e9b22cab67040689dcf86f74275a911 - - -] Member on SDN has no port. Manual removal on the BIG-IP will be required. Was the vm instance deleted before the pool member was deleted?
I believe this error is triggered when using SDNs or at least VXLANs which is the SDN technology which i used. Agent configuration follows

[DEFAULT]
debug = True
periodic_interval = 10
f5_ha_type = scalen
f5_external_physical_mappings = default:1.1:True
f5_vtep_folder = 'Common'
f5_vtep_selfip_name = 'selfip.datanet'
advertised_tunnel_types = vxlan
f5_populate_static_arp = False

l2_population = True
f5_global_routed_mode = False
use_namespaces = True
max_namespaces_per_tenant = 1
f5_route_domain_strictness = True
f5_snat_mode = True
f5_snat_addresses_per_subnet = 1
f5_common_external_networks = False
f5_bigip_lbaas_device_driver = f5_openstack_agent.lbaasv2.drivers.bigip.icontrol_driver.iControlDriver
icontrol_hostname = <IP_ADDRESS>,<IP_ADDRESS>
icontrol_username = admin
icontrol_password = admin
auth_version = v3
os_auth_url = http://localhost:5000/v3
os_username = admin
os_password = changeme
os_user_domain_name = default
os_project_name = admin
os_project_domain_name = default
f5_parent_ssl_profile = clientssl

Agent Version
9.1.0
Operating System
Mirantis 9
OpenStack Release
Mitaka

I'm seeing this error beforehand:
2016-11-03 17:00:44.910 12635 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.agent_manager [req-847f1ca0-248b-48a0-8424-bf140095e7b5 - - - - -] fdb_add: Exception: add_fdb_entries() takes at least 2 arguments (2 given)

I also have another case where I can trigger this. I have a HEAT template that even the server exists before hand (there is a depends_on) it seems that there is a race condition which triggers the error. Please find attached.
heat-reproduction.yaml.txt

I got the same problem under agent of 8.2.1.dev69

This is functioning correctly, members do not require a neutron port (e.g. hardware servers) as long as a route exists to the member.


:sparkles: implement req.ip and req.ips

implement req.ip and req.ips . The implementation is a bit different from express.

There was already an address trust function implemented in our codebase. and Both of these methods rely on that for making sure that the incoming address is trustworthy.
req.ips returns all the IP addresses when the request is coming under a proxy. And when it there is no proxy it just returns the first untrusted IP which is <IP_ADDRESS> in the local server
req.ip method has a regex replacer in its return statement which removes the prefix added by the OS to IPv4 to convert it to IPv6. Basically it just prefixes :ffff: in front of the IPv4. So that regex replacer removes this part from IP address

test cases for both of these methods are added

Codecov Report

Merging #64 into master will increase coverage by 0.53%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #64      +/-   ##
==========================================
+ Coverage   73.77%   74.30%   +0.53%
==========================================
  Files          18       18
  Lines         755      759       +4
  Branches      203      203
==========================================
+ Hits          557      564       +7
+ Misses        196      193       -3
  Partials        2        2

Impacted Files
Coverage Δ

packages/app/src/extend.ts
93.54% <100.00%> (+0.44%)
:arrow_up:

packages/app/src/request.ts
75.00% <100.00%> (+5.64%)
: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 b097fbb...53c9d5d. Read the comment docs.

epic, merging


Fix a typo: 'severity,' not 'severety'

[ ] All compiled assets are included (atom packages are git tags and hence the built files need to be a part of the source control)

That's a hell of a way to fix a typo 😶

Haha, it fixes all of the typos! 😆

Oops, sorry about that. :-/   Will submit a separate request.


adds a testing package with CGO

Thanks for the repro, but I'd rather incorporate this into the tested packages. I just posted https://github.com/google/godepq/pull/20 which incorporates this and the fix.


Cannot use object of type MeiliSearch\Search\SearchResult as array

I'm trying to add a custom search as seen in the example:
return Book::search('prince', function (Indexes $meilisearch, $query, $options) {
            $options['limit'] = 10000;

            return $meilisearch->search($query, $options);
        })->get();

This always returns the following error:
[2021-01-29 13:53:27] local.ERROR: Cannot use object of type MeiliSearch\Search\SearchResult as array {"userId":1,"exception":"[object] (Error(code: 0): Cannot use object of type MeiliSearch\\Search\\SearchResult as array at /srv/http/project/api/vendor/meilisearch/meilisearch-laravel-scout/src/Engines/MeilisearchEngine.php:175)

I must be doing something wrong, does it expect to have filters set?
Thanks!

i had the exact same problem this morning
i submitted a PR for it : https://github.com/meilisearch/meilisearch-laravel-scout/pull/86

i had the exact same problem this morning
i submitted a PR for it : https://github.com/meilisearch/meilisearch-laravel-scout/pull/86

@olivM Thanks for submitting the PR! Will wait for this to be merged/fixed. :)

@olivM Thanks for submitting the PR! Will wait for this to be merged/fixed. :)

public function map(Builder $builder, $results, $model)
    {
        if (!is_array($results) || 0 === count($results['hits'])) {
            return $model->newCollection();
        }

It seems the $results isn't always an array. This is a workaround, don't know the actual fix.

public function map(Builder $builder, $results, $model)
    {
        if (!is_array($results) || 0 === count($results['hits'])) {
            return $model->newCollection();
        }

It seems the $results isn't always an array. This is a workaround, don't know the actual fix.

@francoism90 this happens when you call return $meilisearch->search($query, $options); in your custom search query.
If you call Model::search()->get() directly, the MeilisearchEngine::class calls the ->rawSearch() method and therefore returns an array instead of an SearchResult object. So the fix for this is calling:
return Book::search('prince', function (Indexes $meilisearch, $query, $options) {
            $options['limit'] = 10000;

            return $meilisearch->rawSearch($query, $options);
        })->get();

@francoism90 this happens when you call return $meilisearch->search($query, $options); in your custom search query.
If you call Model::search()->get() directly, the MeilisearchEngine::class calls the ->rawSearch() method and therefore returns an array instead of an SearchResult object. So the fix for this is calling:
return Book::search('prince', function (Indexes $meilisearch, $query, $options) {
            $options['limit'] = 10000;

            return $meilisearch->rawSearch($query, $options);
        })->get();

Hello guys,
Indeed for custom search you should use ->rawSearch() I will update the doc accordingly.
this package work with array a recent change to the php sdk use a SeachResult class and I don't think I will change the behaviour soon.

Hello guys,
Indeed for custom search you should use ->rawSearch() I will update the doc accordingly.
this package work with array a recent change to the php sdk use a SeachResult class and I don't think I will change the behaviour soon.

@mmachatschek @shokme Thanks! I'll try to use ->rawSearch() instead. :)

@mmachatschek @shokme Thanks! I'll try to use ->rawSearch() instead. :)

@francoism90 as far as I can tell, there is no such feature neither in laravel/scout nor in this package. This would be something that should be provided via a macro in your app for your specific usecase

@francoism90 as far as I can tell, there is no such feature neither in laravel/scout nor in this package. This would be something that should be provided via a macro in your app for your specific usecase

Hello everyone!
Thanks @mmachatschek for your help on this 😄
And I hope @francoism90 and @olivM this fix will solve this issue, I'm going to do a release right now, let me know!

the v0.12.3 is out on Packagist! https://packagist.org/packages/meilisearch/meilisearch-laravel-scout


Release v4.1.3 and update OAuth2 URIs. Fixes #742.

@theacodes not sure what I need to do to actually get 4.1.3 released to PyPI after this is accepted.


Depth stencil not used?

Seems depth stencil come from another project.
Is it not used in path tracer?
Can it be removed?

Can you elaborate? Are you talking about the depth stencil attachment?

I'm about depth stencil in path tracer. I think it can be removed because in path tracer is not used. I'm right?

Yes, the path tracing part does not required depth and/or stencil as it just dispatches to an image.


[feat] impl arithmetic/environment opcodes

This pr belongs to task: Remove heap allocation from GethExecStep/ExecStep
This pr recalculate stack output of arithmetic/environment opcodes.

ready

\b run testool

\b run testool

\b run testool

@lightsing some failure of testool above


Playing with Windows

I noticed that I could only run this game in Linux. Is there a way that I could play on Windows? Reasons?  BTW, nice game and thank you :)

Hi! I believe you are referring to the command line version of the game. I messed up when I was packaging it up for pip many years ago.
To be honest, I don't think I have the time to get back up to speed on python packaging and put out the fix.
However, I'm happy to help you debug your situation if you really want to play on Windows - you can start by sharing the error message that you're getting.
Or if there's anything else I can do to help, let me know.


add statistics endpoint occupation

counts include only the counts of the node value and not the counts of the children

slightly changed the return format to:
type Node<T extends { id: string }> = {
  id: T['id'];
  label: string;
  count: number;
  children: Array<Node<T>>;
};

type Response = {
  id: 'root', count: 0, children: Array<Node<T>>
};

added a label (as the id/uri does not contain the label and removed (actually forgot to implement ;)) the tree key in the response. If thats important @stefanprobst I can easily add it.


Governance (at Marinade): removing limit for number of options to be part of a proposal

To check if CI passes to what is part of solana labs PR - https://github.com/solana-labs/solana-program-library/pull/3729

Removing as replaced with upstream PR:
https://github.com/solana-labs/solana-program-library/pull/3729


Improve app review process

Our process for adding new apps to the site is very minimal right now. Here are a few things I'd like to see improved:

[ ] Clearly define requirements for apps that will be added to the site (unique functionality, commitment to uptime, etc) in docs
[ ] Ask users to turn on GitHub Pages builds for their fork, and include a link to their app (e.g. https://bkeepers.github.io.org/probot.github.io/apps/stale/) - this will first require some fixes to the site to allow it to render properly on forks.
[ ] Use PR template with checkboxes to talk people through the process of submitting an app

I still think this would be an ideal world for the website 👍


Fix warning in waitall doc

Description
Fixing waitall rendering: https://mxnet.incubator.apache.org/api/python/ndarray/ndarray.html?highlight=waitall#mxnet.ndarray.waitall
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[ ] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[x] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[x] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[ ] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[x] Change API doc for correct rendering of warning.

@nswamy @aaronmarkham

@mxnet-label-bot add[Website, pr-awaiting-review]

Preview here: http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-13618/1/api/python/ndarray/ndarray.html?highlight=waitall#mxnet.ndarray.waitall


Export PNG with layer styles

Is it possible to export a layer with styles (color overlay, drop shadow...) to PNG?

.toPNG reads the raw pixel data from the layer saved in the .psd file (if the .psd file is not in indexed or duotone mode). So if its not in there i don't think its possible


Optimize jump operations

Summary or problem description
Remove opcodes that are not executed in any execution flow

https://app.clickup.com/t/864e6me36


Add Coverage and Build Status Badges to README

Codecov Report

Merging #34 (6f7944d) into main (4845cd8) will decrease coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #34      +/-   ##
==========================================
- Coverage   77.17%   77.14%   -0.04%
==========================================
  Files         162      162
  Lines        2896     2896
  Branches       71       71
==========================================
- Hits         2235     2234       -1
- Misses        661      662       +1

Impacted Files
Coverage Δ

.../surge/internal/kafka/KafkaProducerActorImpl.scala
87.50% <0.00%> (-0.41%)
:arrow_down:

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 4845cd8...6f7944d. Read the comment docs.


Investigate AgERA5 access from CDSE

@jdegerickx  are there more details about this task, or who should I talk to?

@kvantricht can further explain.
But basically we need access to AgERA5 data (now hosted on terrascope --> see /MTDA/AgERA5) for training and applying our crop type models and this data is currently not available on CDSE.

@jdegerickx are there more details about this task, or who should I talk to?

@jdries is also aware of this request. The main question is how we can access meteo data from CDSE. Feel free to assign to whomever could take up the task.
For training extractions we can for now use Terrascope backend to generate meteo NetCDF, but by the time we go towards inference, meteo should be directly accessible from CDSE (and that will be soon).

we can build a stac catalog, as we now anyway have a service for openEO
For hosting of the files, either can try to do it from terrascope, or simply upload into CF object storage.

As discussed in sprint meeting, I think this ticket can be closed as we decided to work through the Terrascope backend + load_stac


[Bug] [WorkerServer] Too many open files error

Search before asking

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

What happened
version: 2.0
[ERROR] 2021-11-12 14:13:35.611 org.apache.dolphinscheduler.common.utils.OSUtils:[175] - /etc/passwd (Too many open files)
java.io.FileNotFoundException: /etc/passwd (Too many open files)
        at java.io.FileInputStream.open0(Native Method)
        at java.io.FileInputStream.open(FileInputStream.java:195)
        at java.io.FileInputStream.<init>(FileInputStream.java:138)
        at java.io.FileInputStream.<init>(FileInputStream.java:93)
        at org.apache.dolphinscheduler.common.utils.OSUtils.getUserListFromLinux(OSUtils.java:189)
        at org.apache.dolphinscheduler.common.utils.OSUtils.getUserList(OSUtils.java:172)
        at org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread.run(TaskExecuteThread.java:139)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
[ERROR] 2021-11-12 14:13:35.611 org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread:[141] - tenantCode: root does not exist
[INFO] 2021-11-12 14:13:35.611 org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread:[232] - develop mode is: false
[ERROR] 2021-11-12 14:13:35.611 org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread:[252] - delete exec dir failed : Failed to list contents of /tmp/dolphinscheduler/exec/process/851650632065024/851651851886592_1/3524626/4979296
java.io.IOException: Failed to list contents of /tmp/dolphinscheduler/exec/process/851650632065024/851651851886592_1/3524626/4979296
        at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1647)
        at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
        at org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread.clearTaskExecPath(TaskExecuteThread.java:249)
        at org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread.run(TaskExecuteThread.java:220)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

[root@ds8 apache-dolphinscheduler-2.0.1-alpha-SNAPSHOT-bin]# ulimit -n
65535
[root@ds8 apache-dolphinscheduler-2.0.1-alpha-SNAPSHOT-bin]# jps
3767833 Jps
3767487 WorkerServer
[root@ds8 apache-dolphinscheduler-2.0.1-alpha-SNAPSHOT-bin]# lsof -p 3767487 | wc -l
66016

When I run a dryRun model by more than 6w+ tasks, I found that worker had many Too many open files error.
It seems like worker didn't close files, because open files number is continued growth even though tasks are fail and finish.
What you expected to happen
Worker can close file normally.
How to reproduce
Run 6w+ tasks with dryRun Model.
Anything else
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

I found that worker will create many log dir for each task and it is delayed to release in high concurrency.
BTW, in dryRun mode, it doesn't have to log, so I think it can skip the part of log.


Heatmap calculation error

The calculation of the heatmap value considers null values as zero. So if a user action executes once in a 24 hour slice, assuming for this example that I have 24 data points, the apdex will be the sum of all values divided by 24. So if my user action has a perfect apdex of 1 and only executed once, then the heatmap will show the apdex as 1/24. Null values need to be excluded so the math is 1/1.

Bugfix added in 1.36


how to use the code

Hello, I am a student and I am trying to deploy Kinematic-ICP on my wheeled robot. However, I found the tutorial on your GitHub not clear enough, so I would like to consult on the specific deployment steps. For example, my robot's code currently publishes a transform from the odom coordinate system to the base_footprint coordinate system, but when I directly ran your code with ros2 launch kinematic_icp online_node.launch.py lidar_topic:=, I noticed that there was no change in the TF tree

Hi, you additionally need a tf between the LiDAR and the base_link`base_footprintof the robot. The updated pose cannot be published as atfconnectingodomandbase_link, has this is not allowed in ROS. Instead, the updated transformation is published under the odom_lidar` frame.

Dear tizianoGuadagnino ，thank you very much for your reply.  This is my TF tree. I am not currently publishing odom->base_footprint. My understanding is that your kinematics package will publish odom->odom_lidar->base_footprint?

I should describe in detail what is going on with my bot, below is my normal tf tree that implements navigation. But I ran your code and gave the topic to the radar, but there was no change in the tf tree, and I found that there were no nodes subscribed to kinematic_icp published topics when I checked with the rqt_graph tool. What can I do, thank you

I should describe in detail what is going on with my bot, below is my normal tf tree that implements navigation. But I ran your code and gave the topic to the radar, but there was no change in the tf tree, and I found that there were no nodes subscribed to kinematic_icp published topics when I checked with the rqt_graph tool. What can I do, thank you

Tiziano Guadagnino @.***>于2024年11月8日 周五18:06写道：

Hi, you additionally need a tf between the LiDAR and the base_link
base_footprintof the robot. The updated pose cannot be published as atf connectingodomandbase_link, has this is not allowed in ROS. Instead, the updated transformation is published under the odom_lidar frame.
—
Reply to this email directly, view it on GitHub
https://github.com/PRBonn/kinematic-icp/issues/14#issuecomment-2464298907,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BJQ53DDW7T6A3W2CWJ2YJCLZ7SEJVAVCNFSM6AAAAABRMVHQXKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRUGI4TQOJQG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

thank you very much for your reply ,and the detailed questions have been
published in GitHub issue


New carousel

Issue Link 🔗:
Issue: #553
Type of Change

[x] Bug fix 🐞
[x] New feature/page
[ ] Documentation update
[ ] Other

Description 📋

Made the carousel width 100% so it can match with the rest section of the page
Changed circled image to display full image
Used custom built carousel and uninstalled bootstrap
Included two testcases to test the implementation of the carousel slider

to test the carousel actually is exist on the page
to the test the first item from the carousel and that from the last post section matches

Checklist ✅

[x] Followed the Code of Conduct and Contribution Guide
[x] Ran pre-commit run --all
[x] All tests pass locally
[x] Added tests (if applicable)
[ ] Documentation updated (if applicable)

Additional Notes & Screenshots
Commented out this section out from our testcase in other to de-emphasize that section
      def test_page_description_in_index_and_blog(page_url: tuple[Page, str], url: str):
          """Checks for the descriptions data in the blog posts. There should be some objects with the class `post-description`"""
          page, live_server_url = page_url
          page.goto(f"{live_server_url}{url}")
          expect(page.locator("p.post-description").first).to_be_visible()
          expect(page.locator("p.post-description").first).not_to_be_empty()

since the post description tag has been removed from the index page

@kjaymiller please help review this. Thanks

Going to add this to the new carousel branch for now - There is still a couple tweaks to figure out.

[ ] Make images full width with cutoff overflow

[ ] Move sections into a split grid together

Working on it. Thanks

Also made changes to this branch https://github.com/BlackPythonDevs/blackpythondevs.github.io/pull/587 to fix the full image issue with the slider


Question about ‘labels’

Hi, thanks for your great work!
I'm using the code in the llama-recipes repository to fine-tune my own data and have a question for you: I read the examples/quickstart.ipynb code, I found that when preparing data, not only need to [input_ids, attention_mask] two columns of data, also need to 'labels' column data, I would like to know what role the ‘labels’ column data? Can I provide only [input_ids, attention_mask] two columns for training?
Looking forward to your reply!

Hi! Please take a look at this example, where we masked out the prompt label to [-100] to avoid computing loss on the prompts. However, in Llama 3, we recommend to use first use tokenizer.apply_chat_template, then create labels for prompts as shown in the custom_dataset.py

@SatireY the idea here to provide labels some how that you can calculate the loss, ideally your mask token/ next token is your label but if you are fine-tuning on a instruction tuning job, you wan to calculate loss only on generation not context, that what we provide in our dataset implementations.


Add Email Notifications is not configured HealthCheck

Veeam Backup for Microsoft 365 version
7
Description
Without setting up an email and server in the email notifications users will not get notified when there are issues
https://helpcenter.veeam.com/docs/vbo365/guide/vbo_notification_settings.html?ver=70
Additional Context
No response
Before submitting

[X] I have read the documentation, and referred to the known issues before submitting this change request.
[X] I have checked for previously opened & closed issues before submitting this change request.

https://github.com/VeeamCommunity/veeamcommunity-2023-Team-4/issues/5
$emailSettings = Get-VBOEmailSettings
if ($emailSettings.EnableNotification -eq $True) {
write-host ("Email Notifications is configured. Please ensure specific settings are configured and tested") -ForegroundColour green
} else {
write-host "Email Notifications is not configured" -ForegroundColour red
}


Better Performance Docs

I am trying to better understand some performance issues with an app and went looking for documentation on how to read/interpret what I am seeing on the performance tab in batarang's extension and couldn't find any. I would have imagined it would have been in the readme, or atleast linked from the readme.

You can watch my talk on the topic, which is about the best docs for perf we've got: https://www.youtube.com/embed/uS7iHR6topY?t=2m28s


Can't build on nightly

error: no method named `parse_expr_nopanic` found for type `syntax::parse::parser::Parser<'_>` in the current scope
/Users/yongqli/.cargo/registry/src/github.com-0a35038f75765ae4/regex_macros-0.1.22/src/lib.rs:531     if let Ok(expr) = parser.parse_expr_nopanic() {

What version of nightly are you using? Please show the output of rustc --version. Thanks!

 % rustc --version
rustc 1.6.0-nightly (bdfb13518 2015-11-14)

This was broken in rust-lang/rust/commit/44d8abcc

@yongqli Thanks for the report! This is fixed and uploaded to crates.io in regex_macros 0.1.23.


Logo suggestion

PuePy logo

Hi @kkinder ,
Please find a logo suggestion, inspired from VueJs logo

I was thinking we'd need a logo. Was there a reason the "P" has a shadow but not the y? Any chance we have an SVG, etc?

I was thinking we'd need a logo. Was there a reason the "P" has a shadow but not the y? Any chance we have an SVG, etc?

Sure,
I thought first to directly derive from the VueJs logo with the double "V", later added the extra y for the Py thing, for a change.
Sure I can prepare the svg of the logo if you suggest to have the y also with the "shadow" 😊
Please do let me know your suggestions or inputs if you have more ideas 😊

Thanks, @kishankarun and @osmosisopen ... honestly I think the logo will probably end up being something a little less on the nose about Vue, but I appreciate the suggestion. Thanks!


Technology features and roadmap

Landed in https://github.com/metarhia/metarhia.com/commit/04fbf70d6d8de03df5aa91e8cd40a8f583c4e0d8, https://github.com/metarhia/metarhia.com/commit/2360438e17f1e4730acbc640d38370f792b02d79 and https://github.com/metarhia/metarhia.com/commit/3b3876c36c62f94b1c6efe67ca6380794aca2cfe

Landed in https://github.com/metarhia/metarhia.com/commit/04fbf70d6d8de03df5aa91e8cd40a8f583c4e0d8, https://github.com/metarhia/metarhia.com/commit/2360438e17f1e4730acbc640d38370f792b02d79 and https://github.com/metarhia/metarhia.com/commit/3b3876c36c62f94b1c6efe67ca6380794aca2cfe


there is no bower package

That would be awesome to have bower package for it

Sorted! You can now do bower install --save markdown-it-classy to your heart's desire.

Works well!!!! Awesome, thanks a lot


removed the single quotes around a title on the Status screen

The title "Address Memory Used" on the Status page has superfluous single-quotes around it.
This PR removes those.
No other title uses visible quotes (I search both visually and in source-code); so it was an exception.
The source code does not mention any special reason to have these quotes and they were not separately introduced earlier.

@andytaylor can you review this one please?

@clebertsuconic, I reviewed and merged it.
@erwindon, thanks for the contribution!


Unauthorized

I'm trying out the demo app and voice requests return unauthorized.  I inserted the sub key and client token into viewcontroller.m.

Hi,
Can your send me your keys, or better code with setup it like following:
configuration.clientAccessToken = @"YOUR_CLIENT_ACCESS_TOKEN";
configuration.subscriptionKey = @"YOUR_SUBSCRIPTION_KEY";

configuration.clientAccessToken = @"2cd61ebff024440a950b51a50f0446a8";
configuration.subscriptionKey = @"d5ccd105-80b0-4242-9328-82a996624c72";

Hm... Your keys right and work.
I think you should change this keys in AppDelegate.m file for right work.
File "ViewController.m" contains older and unused code. I'm will remove it or refactor for using in examples.
Thank you.

Working! Thank you.


Feature/benchmark data preprocessing

Add data pre-processing.

Removed filter as we need to log unsuitable molecules from Dude benchmarking, not in preprocessing


Rebuild node doesn't work

Anyone has tested this new funcion? Isn't working for me, I push but nothing happens.
Regards :P

This is supposed to update the typicals in that node only, is supposed to work properly with commit 3b6883903 of souliss

Sorry, this was my fault :( :P I'll update this night and try again.
Regards
2015-10-22 9:09 GMT+02:00 Dario Di Maio<EMAIL_ADDRESS>
This is supposed to update the typicals in that node only, is supposed to
work properly with commit 3b6883903 of souliss
—
Reply to this email directly or view it on GitHub
https://github.com/souliss/soulissapp/issues/91#issuecomment-150127701.

I found one issue.
I added one additional slot to the node GW but rebuild did not add it at the bottom of the list.
By re-creating the whole DB the new slot was shown.

Which commit? Use patch7.1.1 as 7.1 has a bug on this new feature.
Dario.
From Mobile.

OK, I tested the latest 7.1 commit and I did not upgrade to 7.1.1 branch...
never mind.

Don't assume that patches will fix your problem :)
From Mobile.

Tested with patch7.1.1 and isn't work, I get on the log:
(vNet)(0xAB01)<|0xB|0x17|0xC900|0xAB01|0x22|0x0|0x0|0x3F|0x18>
And nothing more.
Regards

From which node this log has been captured, from 0xC900? Looks a quite strange address

Just had a try on my network running the gateway as 7.1.1, the Peer can run any release in 7.x, is working fine for me.

I updated the GW too but still not working, same log on the peer addresed
as AB06, I dont know from where it comes this c900 :S
(vNet)(0xAB01)<|0xB|0x17|0xC900|0xAB01|0x22|0x0|0x0|0x3F|0x18>
Regards
2015-10-24 12:59 GMT+02:00 Dario Di Maio<EMAIL_ADDRESS>
Just had a try on my network running the gateway as 7.1.1, the Peer can
run any release in 7.x, is working fine for me.
—
Reply to this email directly or view it on GitHub
https://github.com/souliss/soulissapp/issues/91#issuecomment-150784237.

If you enable Souliss debug and reboot your gateway, it will show the peer
list. Likely is corrupted.
From Mobile.

Ok, I think we're near to find the problem, I've 2 nodes declarated
manually on the GW (still not updated and changed to dynamic addressing)
One of this nodes is 0x00C9 not 0xC900.
On the GW the peer list is:
(ss)<|0xC8|0xC7|0xC9|0xAB05|0xAB06|0x0|0x0|0x0|0x0|0x0|0x0|0x0|0x0|0x0|0x0|0x0|0x0|0x0|0x0|0x0|0x0|0x0|0x0|0x0|0x0|0x0|0x0|0x0|0x0|0x0|0x0|0x0|0x0|0x0|0x0|0x0|0x0|0x0|0x0|0x0|0x0|0x0|0x0|0x0|0x0|0x>
and here my GW sketch with OTA
/**************************************************************************
Souliss - Web Configuration
This example demonstrate a complete web configuration of ESP8266 based

nodes, the node starts as access point and allow though a web interface
the configuration of IP and Souliss parameters.
This example is only supported on ESP8266.
***************************************************************************/
#define MaCaco_DEBUG_INSKETCH
#define MaCaco_DEBUG   0
#define VNET_DEBUG_INSKETCH
#define VNET_DEBUG    0
#define SOULISS_DEBUG_INSKETCH
#define SOULISS_DEBUG   1
#include <ESP8266WiFi.h>
#include <ESP8266WebServer.h>
#include <ESP8266mDNS.h>
#include <EEPROM.h>
#include <WiFiUdp.h>
// Configure the Souliss framework
#include "bconf/MCU_ESP8266.h"              // Load the code directly on
the ESP8266
#include "conf/RuntimeGateway.h"            // This node is a Peer and can
became a Gateway at runtime
#include "conf/DynamicAddressing.h"         // Use dynamically assigned
addresses
#include "conf/WEBCONFinterface.h"          // Enable the WebConfig
interface
#include "Souliss.h"
#define MYLED               0
uint8_t GPIO_POUT = 15;  //GPIO15
#define LOG Serial
OTA_Setup();
void setup()
{
Serial.begin(115200);
Initialize();
if(!digitalRead(13)){
//EEPROM.begin(512);
// write a 0 to all 512 bytes of the EEPROM
for (int i = STORE__PADDR_s; i < STORE__PADDR_f; i++)
EEPROM.write(i, 0);
    // turn the LED on when we're done
    pinMode(15, OUTPUT);
    digitalWrite(15, HIGH);
    Serial.println("NODES DELETED");
    EEPROM.commit();
    //EEPROM.end();
    delay(3000);
}

if(!digitalRead(12)){
    //EEPROM.begin(512);
    // write a 0 to all 512 bytes of the EEPROM
    for (int i = 0; i < 512; i++)
      EEPROM.write(i, 0);

    // turn the LED on when we're done
    pinMode(15, OUTPUT);
    digitalWrite(15, HIGH);
    Serial.println("EEPROM DELETED");
    EEPROM.commit();
    //EEPROM.end();
    delay(3000);
}

// Read the IP configuration from the EEPROM, if not available start
// the node as access point
if(!ReadIPConfiguration())

{
// Start the node as access point with a configuration WebServer
SetAccessPoint();
startWebServer();
// We have nothing more than the WebServer for the configuration
// to run, once configured the node will quit this.
while(1)
{
yield();
runWebServer();
}
}
if (IsRuntimeGateway())
{
    // Connect to the WiFi network and get an address from DHCP
    Serial.println("GW MODE");
    SetAsGateway(myvNet_dhcp);       // Set this node as gateway for

SoulissApp
SetAddressingServer();
//SetAddress(0xAB01, 0xFF00, 0x0000);
SetAsPeerNode(0x00C7, 1);
SetAsPeerNode(0x00C9, 2);
//SetAsPeerNode(0x00CA, 3);
//        SetAsPeerNode(0x00BD, 4);
}
else
{
    // This board request an address to the gateway at runtime, no need
    // to configure any parameter here.
    Serial.println("PEER MODE");
    SetDynamicAddressing();
    //SetAddress(0xAB05, 0xFF00, 0xAB01);
    //SetAddress(0x00BD, 0xFF00, 0x00C8);
    GetAddress();
}

Set_DimmableLight(MYLED);
startWebServer();

LOG.print("vNet Media : ");
LOG.println (vNet_GetAddress(vNet_MyMedia()),HEX);
LOG.print("vNet 1 : ");
LOG.println (vNet_GetAddress(1),HEX);
LOG.print("vNet 2 : ");
LOG.println (vNet_GetAddress(2),HEX);
LOG.print("vNet 3 : ");
LOG.println (vNet_GetAddress(3),HEX);
LOG.print("vNet 4 : ");
LOG.println (vNet_GetAddress(4),HEX);
LOG.print("vNet 5 : ");
LOG.println (vNet_GetAddress(5),HEX);

OTA_Init();

}
void loop()
{
runWebServer();
EXECUTEFAST() {
UPDATEFAST();
    FAST_50ms() {   // We process the logic and relevant input and

output every 50 milliseconds
Logic_DimmableLight(MYLED);
analogWrite(GPIO_POUT, mOutput(MYLED+1)*4);
}
    // Run communication as Gateway or Peer
    if (IsRuntimeGateway())
        FAST_GatewayComms();
    else
        FAST_PeerComms();
}

EXECUTESLOW() {
    UPDATESLOW();

    SLOW_10s() {  // Read temperature and humidity from DHT every 110

seconds
Timer_DimmableLight(MYLED);
}
    // If running as Peer
    if (!IsRuntimeGateway())
        SLOW_PeerJoin();
}
OTA_Process();

}
Maybe this causes rebuild node isn't working ok??
Regards
2015-10-24 17:05 GMT+02:00 Dario Di Maio<EMAIL_ADDRESS>
If you enable Souliss debug and reboot your gateway, it will show the peer
list. Likely is corrupted.
From Mobile.
—
Reply to this email directly or view it on GitHub
https://github.com/souliss/soulissapp/issues/91#issuecomment-150824671.

Quite strange, because your Peer list looks ok, the line of code that is interested is this one
return MaCaco_send(C8TO16(memory_map + MaCaco_ADDRESSES_s + 2*(rx->startoffset)), MaCaco_TYPREQ, 0, MaCaco_TYP_s, MaCaco_TYPLENGHT, 0x00);

I cannot see anything wrong with this, but you can try to add some debug lines to understand the parameter passed to this line in your case.

What do you need?  (what debug lines you need? :P)
Regards
2015-10-25 12:00 GMT+01:00 Dario Di Maio<EMAIL_ADDRESS>
Quite strange, because your Peer list looks ok, the line of code that is
interested is this
https://github.com/souliss/souliss/blob/friariello/frame/MaCaco/MaCaco.cpp#L368
one
return MaCaco_send(C8TO16(memory_map + MaCaco_ADDRESSES_s + 2*(rx->startoffset)), MaCaco_TYPREQ, 0, MaCaco_TYP_s, MaCaco_TYPLENGHT, 0x00);
I cannot see anything wrong with this, but you can try to add some debug
lines to understand the parameter passed to this line in your case.
—
Reply to this email directly or view it on GitHub
https://github.com/souliss/soulissapp/issues/91#issuecomment-150912221.

Change it as
if((rx->numberof == 1) && (rx->startoffset != 0)) {
  Serial.println(rx->startoffset,HEX);
  Serial.println(C8TO16(memory_map + MaCaco_ADDRESSES_s + 2*(rx->startoffset),HEX);
  return MaCaco_send(C8TO16(memory_map + MaCaco_ADDRESSES_s + 2*(rx->startoffset)), MaCaco_TYPREQ, 0, MaCaco_TYP_s, MaCaco_TYPLENGHT, 0x00);
}

On GW? Or on peer?
Ty and sorry about dumb question :( :P
Regards
2015-10-25 16:49 GMT+01:00 Dario Di Maio<EMAIL_ADDRESS>
Change it as
if((rx->numberof == 1) && (rx->startoffset != 0)) {
Serial.println(rx->startoffset,HEX);
Serial.println(C8TO16(memory_map + MaCaco_ADDRESSES_s + 2*(rx->startoffset),HEX);
return MaCaco_send(C8TO16(memory_map + MaCaco_ADDRESSES_s + 2*(rx->startoffset)), MaCaco_TYPREQ, 0, MaCaco_TYP_s, MaCaco_TYPLENGHT, 0x00);
}
—
Reply to this email directly or view it on GitHub
https://github.com/souliss/soulissapp/issues/91#issuecomment-150936835.

Gateway only

Ok I added this lines and no see nothing on the LOG, seems isn't go trought
this lines, I've added this before the IF on the line 367 and don't see
this values either :S
Serial.print("rx->numberof: ");
Serial.println(rx->numberof);
Serial.print("rx->startoffset: ");
Serial.println(rx->startoffset);
if((rx->numberof == 1) && (rx->startoffset != 0)) //LINE 367
Regards
2015-10-25 18:32 GMT+01:00 Dario Di Maio<EMAIL_ADDRESS>
Gateway only
—
Reply to this email directly or view it on GitHub
https://github.com/souliss/soulissapp/issues/91#issuecomment-150946946.

Here the logs I see when I push Rebuild node:
This on GW:
(MaCaco)<|0x22|0x0|0x0|0x3|0x1|0x>
(MaCaco)<|0x22|0x0|0x0|0x3F|0x18|0x>
This on the PEER:
(vNet)(0xAB06)<|0x23|0x17|0xAB01|0xAB06|0x15|0x0|0x0|0x57|0x18|0x80|0x4D|0xC0|0x50|0x0|0x0|0x0|0x0|0x0|0x0|0x0|0x49|0x0|0x3C|0x0|0x3C|0x80|0x4F|0x0|0x0|0x0|0x0|0x0|0x0>
2015-10-25 19:36 GMT+01:00 Juan Pinto<EMAIL_ADDRESS>
Ok I added this lines and no see nothing on the LOG, seems isn't go
trought this lines, I've added this before the IF on the line 367 and don't
see this values either :S
Serial.print("rx->numberof: ");
Serial.println(rx->numberof);
Serial.print("rx->startoffset: ");
Serial.println(rx->startoffset);
if((rx->numberof == 1) && (rx->startoffset != 0)) //LINE 367
Regards
2015-10-25 18:32 GMT+01:00 Dario Di Maio<EMAIL_ADDRESS>
Gateway only
—
Reply to this email directly or view it on GitHub
https://github.com/souliss/soulissapp/issues/91#issuecomment-150946946.

@juanpintom is very strange, this means that for some reason it doesn't catch the Serial object. The log on the Peer is just a subscription update and doesn't involve the rebuild of typicals.

Yes, it's strange :S  I'll try again this night.
Regards
2015-10-26 13:01 GMT+01:00 Dario Di Maio<EMAIL_ADDRESS>
@juanpintom https://github.com/juanpintom is very strange, this means
that for some reason it doesn't catch the Serial object. The log on the
Peer is just a subscription update and doesn't involve the rebuild of
typicals.
—
Reply to this email directly or view it on GitHub
https://github.com/souliss/soulissapp/issues/91#issuecomment-151112058.

I can't understand. Is this a SoulissApp bug ?

I cannot understand too, I've succesfully rebuild my nodes.

Sorry was my fault, I opened the Issue here but I don't know where my
problem was, now it's clear is a problem of my network on framework side.
Regards
2015-10-26 20:42 GMT+01:00 Dario Di Maio<EMAIL_ADDRESS>
I cannot understand too, I've succesfully rebuild my nodes.
—
Reply to this email directly or view it on GitHub
https://github.com/souliss/soulissapp/issues/91#issuecomment-151261578.

ok, closing this

Ok, but I still need some help to solve it, I'll open an issue on FW side
Regards
2015-10-26 21:24 GMT+01:00 Alessandro Del Pex<EMAIL_ADDRESS>
ok, closing this
—
Reply to this email directly or view it on GitHub
https://github.com/souliss/soulissapp/issues/91#issuecomment-151273880.


Add basic Env docs and example

I think it would be more useful in https://github.com/TinkoffCreditSystems/tofu/tree/master/docs  subproject.


windows ssm jobs silently failing

User Story
I can't seem to get any of the windows ssm jobs (aws or azure) to successfully send in a report to Automate.
I'm seeing a completed job with a report link, but no node shows up there. This has definitely worked in the past, so something is up.  The most recent change made to that script was for license acceptance; i have not tested if going back to a version .prior to that change makes a difference.
This was also reported by a customer.
Definition of Done
Windows SSM jobs can send a report in to Automate.
Demo Script / Repro Steps
get a publicly accessible Automate instance running in AWS.
Make sure there are a few nodes in AWS that are using the SSM role (there are some in the chef-engineering account already).
Add an aws-ec2 no-creds integration.
Try to run an ssm job on linux machines, windows machines.
See if the report lands (I've seen it land for linux but not windows).
Create an Azure vm integration.
Run a scan job on those nodes, see if any of em land in Automate (I've seen it land for linux but not windows).

looked into this a bit.
b:1252)
Traceback (most recent call last):
        16: from C:/opscode/inspec/bin/inspec:152:in `<main>'
        15: from C:/opscode/inspec/bin/inspec:152:in `load'
        14: from C:/opscode/inspec/embedded/lib/ruby/gems/2.6.0/gems/inspec-bin-4.3.2/bin/inspec:15:in `<top (required)>
'
        13: from C:/opscode/inspec/embedded/lib/ruby/gems/2.6.0/gems/thor-0.20.3/lib/thor/base.rb:466:in `start'
        12: from C:/opscode/inspec/embedded/lib/ruby/gems/2.6.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'
        11: from C:/opscode/inspec/embedded/lib/ruby/gems/2.6.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_c
ommand'
        10: from C:/opscode/inspec/embedded/lib/ruby/gems/2.6.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'
         9: from C:/opscode/inspec/embedded/lib/ruby/gems/2.6.0/gems/inspec-4.3.2/lib/inspec/cli.rb:269:in `exec'
         8: from C:/opscode/inspec/embedded/lib/ruby/gems/2.6.0/gems/inspec-4.3.2/lib/inspec/runner.rb:122:in `run'
         7: from C:/opscode/inspec/embedded/lib/ruby/gems/2.6.0/gems/inspec-4.3.2/lib/inspec/runner.rb:153:in `run_tests
'
         6: from C:/opscode/inspec/embedded/lib/ruby/gems/2.6.0/gems/inspec-4.3.2/lib/inspec/runner.rb:128:in `render_ou
tput'
         5: from C:/opscode/inspec/embedded/lib/ruby/gems/2.6.0/gems/inspec-4.3.2/lib/inspec/runner.rb:128:in `each'
         4: from C:/opscode/inspec/embedded/lib/ruby/gems/2.6.0/gems/inspec-4.3.2/lib/inspec/runner.rb:129:in `block in
render_output'
         3: from C:/opscode/inspec/embedded/lib/ruby/gems/2.6.0/gems/inspec-4.3.2/lib/inspec/reporters.rb:37:in `render'
         2: from C:/opscode/inspec/embedded/lib/ruby/gems/2.6.0/gems/inspec-4.3.2/lib/inspec/reporters/automate.rb:41:in
 `send_report'
         1: from C:/opscode/inspec/embedded/lib/ruby/gems/2.6.0/gems/inspec-4.3.2/lib/inspec/reporters/automate.rb:41:in
 `to_json'
C:/opscode/inspec/embedded/lib/ruby/gems/2.6.0/gems/inspec-4.3.2/lib/inspec/reporters/automate.rb:41:in `encode': "\xC3"
 from ASCII-8BIT to UTF-8 (Encoding::UndefinedConversionError)
PS C:\Users\Administrator> c

is the error i got from running this script:
$global:InspecBinaryLocation = "$env:systemdrive\opscode\inspec\bin\inspec"
				Function Invoke-InspecCommand {
						param(
								[Parameter(Mandatory=$false)]
								$Command = $null,
								[Parameter(Mandatory=$false)]
								$Path = $null,
								[Parameter(Mandatory=$false)]
								$JsonConfig
						)
						if($JsonConfig -ne $null) { $JsonArgument = '--json-config="-"' }
						Invoke-Expression -Command "echo '$JsonConfig' | $InspecBinaryLocation.bat $Command $Path $JsonArgument".Trim()
				}
				$env:CHEF_LICENSE="accept-no-persist"
				Invoke-InspecCommand -Command exec -Path "https://github.com/dev-sec/windows-baseline/archive/master.tar.gz" -JsonConfig '{"reporter":{"automate":{"url":"https://a2-url/data-collector/v0/","token":"token-val","node_uuid":"d02eda2f-b3f9-4ecd-9d62-7ee1017cdb5d","node_name":"test-node","environment":"test-env","report_uuid":"d02e78gh-b3f9-4ecd-9hb2-7ee8925cdb5d"}},"backend_cache":true}'

on a windows box..

ok, so i tried with windows patch baseline since that was a formatting error. and it worked...so i think the real deal here is we need to:

make sure all the windows profiles are working well
figure out why an inspec exec that fails in that way does not get marked as a failure by the ssm job.

if i echo $LastExitCode I get a 1, but if run $? I get a True...

as far as i can tell we're getting back a success for those jobs:
https://docs.aws.amazon.com/systems-manager/latest/userguide/monitor-commands.html
The command was received by SSM Agent on the instance and returned an exit code of zero. This status does not mean the command was successfully processed on the instance. This is a terminal state.
--

following up, it looks like this is a known issue with powershell. so really the only thing that needs to happen is an update to the windows baseline profile.
i'll open a separate issue for that


https mode not working due to missing WDS option

🐛 Bug Report
According to the docs (actually, not sure if this is in the docs) setting process.env.HTTPS=true should start webpack dev server in https mode. This does not work because a missing option in the webpack dev server config.
Here is the webpack dev server docs showing the https option: https://webpack.js.org/configuration/dev-server/#devserverhttps
Here is the Docusaurus config which does not use this option: https://github.com/facebook/docusaurus/blob/master/packages/docusaurus/src/commands/start.ts#L131-L132
Adding this line I was able to get it working as expected
https: process.env.HTTPS === 'true',

Have you read the Contributing Guidelines on issues?
Yes
To Reproduce
(Write your steps here:)

Create new docs from 2.0.0-alpha.61
Modify yarn start to be HTTPS=true yarn start
Notice the browser opens the expected https https://localhost:3000/ but the page does not load.
Notice the console logs http in  ｢wds｣: Project is running at http://localhost:3000/

Expected behavior
Https opens AND site is running on https.
Actual Behavior
Https opens BUT site is running on http
Your Environment

Docusaurus version used: Using 2.0.0-alpha.61
Environment name and version (e.g. Chrome 78.0.3904.108, Node.js 10.17.0): Chrome, Mac, Node 12
Operating system and version (desktop or mobile): Desktop

Reproducible Demo
The issue is simple enough I don't believe it warrants a demo. The steps to reproduce are minimal and include spinning up a new project and running a yarn command. If the team still believes a demo is needed or can't repro the issue I can provide one.

Related, Docusaurus should probably mirror the options of CRA for setting custom certs: https://create-react-app.dev/docs/using-https-in-development/ to keep things consistent

Thanks, agree we should fix that.
Someone willing to submit a PR?

Can I take this one?

yes thanks ;)

Thanks for the fix! Opened a new issue as suggested for the custom cert config: https://github.com/facebook/docusaurus/issues/3445


Support for PS7 in fasm2bels

Adds support for PS7 to fasm2bels. The fasm2bels checks if it is running on a Zynq database first by looking up for the PS7 tile and site. Then it checks if any of PS7 pins is connected to the PL via an active pip. Only if it is so the PS7 is instantiated.

Built target conda_yapf
yapf needs to reformat /home/travis/build/SymbiFlow/symbiflow-arch-defs/xc7/fasm2bels/pss_models.py
CMakeFiles/check_python.dir/build.make:57: recipe for target 'CMakeFiles/check_python' failed
make[3]: *** [CMakeFiles/check_python] Error 1
CMakeFiles/Makefile2:237: recipe for target 'CMakeFiles/check_python.dir/all' failed
make[2]: *** [CMakeFiles/check_python.dir/all] Error 2
CMakeFiles/Makefile2:244: recipe for target 'CMakeFiles/check_python.dir/rule' failed
make[1]: *** [CMakeFiles/check_python.dir/rule] Error 2
Makefile:241: recipe for target 'check_python' failed
make: *** [check_python] Error 2
The command "stdbuf -i0 -o0 -e0 ./.github/travis/script.sh" exited with 2.

Code looks good, but I'm seeing a failure on the CI:
FAILED: cd /tmpfs/src/github/symbiflow-arch-defs-presubmit-xc7-vendor/build/xc7/tests/ps7/axi_lite_reg/axi_regs_zybo/zynq7-xc7z010-virt-xc7z010-test && /usr/bin/cmake -E remove -f axi_regs_zybo/zynq7-xc7z010-virt-xc7z010-test/design_axi_regs_zybo_vivado.dcp && /usr/bin/cmake -E remove -f axi_regs_zybo/zynq7-xc7z010-virt-xc7z010-test/design_axi_regs_zybo_vivado.xpr && /tmpfs/src/github/symbiflow-arch-defs-presubmit-xc7-vendor/third_party/prjxray/utils/vivado.sh -mode batch -source /tmpfs/src/github/symbiflow-arch-defs-presubmit-xc7-vendor/build/xc7/tests/ps7/axi_lite_reg/axi_regs_zybo_vivado_runme.tcl > /tmpfs/src/github/symbiflow-arch-defs-presubmit-xc7-vendor/build/xc7/tests/ps7/axi_lite_reg/axi_regs_zybo/zynq7-xc7z010-virt-xc7z010-test/vivado.stdout.log
ERROR: [Place 30-470] Unroutable Placement! A PS7 / BUFHCE component pair is not placed in a routable site pair. The PS7 component can use the dedicated path between the PS7 and the BUFHCE if both are placed in the same clock region row. If this sub optimal condition is acceptable for this design, you may use the CLOCK_DEDICATED_ROUTE constraint in the .xdc file to demote this message to a WARNING. However, the use of this override is highly discouraged. These examples can be used directly in the .xdc file to override this clock rule.
	< set_property CLOCK_DEDICATED_ROUTE FALSE [get_nets the_PSPSS2_X13Y53_PS7_X0Y0_PS7_n_708] >

	the_PSPSS2_X13Y53_PS7_X0Y0_PS7 (PS7.FCLKCLK[0]) is locked to PS7_X0Y0
	CLK_HROW_BOT_R_X82Y26_BUFHCE_X1Y7_BUFHCE (BUFHCE.I) is locked to BUFHCE_X1Y7
	CLK_HROW_BOT_R_X82Y26_BUFHCE_X0Y9_BUFHCE (BUFHCE.I) is locked to BUFHCE_X0Y9

	The above error could possibly be related to other connected instances. Following is a list of
	all the related clock rules and their respective instances.```

@litghost I've made the fasm2bels to utilize the ps7_ports.json file from the prjxray db. This PR now requires the db from https://github.com/SymbiFlow/prjxray/pull/1170 or later to pass the CI

@litghost I've made the fasm2bels to utilize the ps7_ports.json file from the prjxray db. This PR now requires the db from SymbiFlow/prjxray#1170 or later to pass the CI

CI is green?  Ideas how that is possible?

@litghost I've made the fasm2bels to utilize the ps7_ports.json file from the prjxray db. This PR now requires the db from SymbiFlow/prjxray#1170 or later to pass the CI

@mithro can you do a prjxray-db update when you get a chance?

Pushing a new DB is currently waiting on https://github.com/SymbiFlow/prjxray/issues/1219 to be fixed.

Strange, It seems that VPR segfaults inside Travis CI even on the master branch. I've made a test PR to verify that: https://github.com/SymbiFlow/symbiflow-arch-defs/pull/1295

FAILED: cd /tmpfs/src/github/symbiflow-arch-defs-presubmit-xc7-vendor/build/xc7/tests/ps7/counter_emio && /usr/bin/cmake -E env PYTHONPATH=/tmpfs/src/github/symbiflow-arch-defs-presubmit-xc7-vendor/build/env/conda/lib/python3.7/site-packages:/tmpfs/src/github/symbiflow-arch-defs-presubmit-xc7-vendor/third_party/prjxray:/tmpfs/src/github/symbiflow-arch-defs-presubmit-xc7-vendor/third_party/prjxray/third_party/fasm:/tmpfs/src/github/symbiflow-arch-defs-presubmit-xc7-vendor/xc7:/tmpfs/src/github/symbiflow-arch-defs-presubmit-xc7-vendor/utils /tmpfs/src/github/symbiflow-arch-defs-presubmit-xc7-vendor/build/env/conda/bin/python3 -mfasm2bels --db_root /tmpfs/src/github/symbiflow-arch-defs-presubmit-xc7-vendor/third_party/prjxray-db/zynq7 --rr_graph /tmpfs/src/github/symbiflow-arch-defs-presubmit-xc7-vendor/build/xc7/archs/zynq7/devices/rr_graph_xc7z010_test.rr_graph.real.xml --route /tmpfs/src/github/symbiflow-arch-defs-presubmit-xc7-vendor/build/xc7/tests/ps7/counter_emio/counter_emio_zybo/zynq7-xc7z010-virt-xc7z010-test/top.route --bitread /tmpfs/src/github/symbiflow-arch-defs-presubmit-xc7-vendor/build/third_party/prjxray/tools/bitread --bit_file /tmpfs/src/github/symbiflow-arch-defs-presubmit-xc7-vendor/build/xc7/tests/ps7/counter_emio/counter_emio_zybo/zynq7-xc7z010-virt-xc7z010-test/top.bit --fasm_file /tmpfs/src/github/symbiflow-arch-defs-presubmit-xc7-vendor/build/xc7/tests/ps7/counter_emio/counter_emio_zybo/zynq7-xc7z010-virt-xc7z010-test/top.bit.fasm --iostandard LVCMOS33 --drive 12 --pcf /tmpfs/src/github/symbiflow-arch-defs-presubmit-xc7-vendor/build/xc7/tests/ps7/counter_emio/zybo.pcf --eblif /tmpfs/src/github/symbiflow-arch-defs-presubmit-xc7-vendor/build/xc7/tests/ps7/counter_emio/counter_emio_zybo/zynq7-xc7z010-virt-xc7z010-test/top.eblif --top top /tmpfs/src/github/symbiflow-arch-defs-presubmit-xc7-vendor/build/xc7/tests/ps7/counter_emio/counter_emio_zybo/zynq7-xc7z010-virt-xc7z010-test/top_bit.v /tmpfs/src/github/symbiflow-arch-defs-presubmit-xc7-vendor/build/xc7/tests/ps7/counter_emio/counter_emio_zybo/zynq7-xc7z010-virt-xc7z010-test/top_bit.v.tcl --part xc7z010clg400-1 --connection_database /tmpfs/src/github/symbiflow-arch-defs-presubmit-xc7-vendor/build/xc7/archs/zynq7/devices/xc7z010-virt/channels.db
Traceback (most recent call last):
  File "/tmpfs/src/github/symbiflow-arch-defs-presubmit-xc7-vendor/build/env/conda/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/tmpfs/src/github/symbiflow-arch-defs-presubmit-xc7-vendor/build/env/conda/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/symbiflow-arch-defs-presubmit-xc7-vendor/xc7/fasm2bels/__main__.py", line 4, in <module>
    main()
  File "/tmpfs/src/github/symbiflow-arch-defs-presubmit-xc7-vendor/xc7/fasm2bels/fasm2bels.py", line 390, in main
    with open(fname, "r") as fp:
FileNotFoundError: [Errno 2] No such file or directory: '/tmpfs/src/github/symbiflow-arch-defs-presubmit-xc7-vendor/third_party/prjxray-db/zynq7/ps7_ports.json'

Yep, Now I've pointed prjxray to the correct commit where ps7_ports.json is there. Should pass now.

Now it failed due to https://github.com/SymbiFlow/prjxray/issues/1234.

After bumping the Prjxray db to the latest one, the only error remaining is:
ERROR: [Place 30-176] Unroutable Placement! The following clock source instance is driving the following locked load instances. The clock source instance is placed too far away from its load instance to be routable.
	CLK_HROW_BOT_R_X82Y26_BUFHCE_X0Y8_BUFHCE (BUFHCE.O) is locked to BUFHCE_X0Y8

for the xc7/tests/ps7/axi_lite_reg test.


documentation/example for services.AddSingleton<IGroupManager, CustomGroupManager>() would be nice

Also, on the documentation for that interface, the cancellationToken=null stuff doesn't appear to work in 2.2  - you have to use cancellationToken = default(CancellationToken)

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

ID: c8d77892-d376-2f23-2634-f5d34d962a1e
Version Independent ID: 92ed6330-b49f-1620-6beb-8556a78ac7da
Content: Manage users and groups in SignalR
Content Source: aspnetcore/signalr/groups.md
Product: aspnet-core
GitHub Login: @tdykstra
Microsoft Alias: tdykstra

Increasing priority as this looks like a lot of benefit for little work.

Feel this is good for closure due to age and inactivity. If this is still an issue in 3.1 or 6.0 (cc @BrennanConroy) can we get an issue in the product repo to track? If not, feel free to close. If there's a moniker specific to 2.2 in the doc that's broken, i'd argue for the removal of the 2.2-specific moniker. I'll be going through the MD files and looking for things like this over the next few days and will re-open this and resolve it if I come across this.


Integration Test - Release - 2018/06/21 09:55:56

Auto create for integration test. AnotherAuthorUpdatedArticleFlow

@PRMergerTest3 : Thanks for your contribution! The author, @v-caxian, has been notified to review your proposed change.

@PRMergerTest3 : Thanks for your contribution! The author, @v-caxian, has been notified to review your proposed change.


Specify Log Analytics Workspace name to simplify instructions

Contact Details
<EMAIL_ADDRESS>What should we change?
PROPOSAL
In Learning Path 3 - Lab 1 - Exercise 1 - Enable Microsoft Defender for Cloud, Task 2 we have the student create a Log Analytics Workspace. By leaving the name up to the student, it can create confusion in the later steps that reference it. Since the name only needs to be unique in the resource group, why don't we call it something like "Defender-LAW" or "SC-200-LAW" and update the ambiguous "name of the Log Analytics Workspace you created earlier" in all later steps.
Lab
Lab 03 Exercise 01 Enable Microsoft Defender for Cloud
Relevant screenshots
paste here 😉

I understand your point, but I don't see a big demand for this. I will check.

This suggestion to be much more clear makes perfect sense to me.
why don't we call it something like "Defender-LAW" or "SC-200-LAW" and update the ambiguous "name of the Log Analytics Workspace you created earlier" in all later steps.
Students, especially new ones to Defender and the security product suite, have enough trouble following labs instructions. Having clear, specific, and precise instructions instead of ambiguous ones is a much better approach.


implement HealthReport for Azure

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: thautwarm sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


doc: fix a little md syntax error in README

Description of change
A slight ] was missing in the main README.
Additionnal Context
Heya Folks, 👋 my way of discovering new project: the README 🎉
😄

thank you for the fix @cousquer ! Let us know if you have any issues


request to redistribute with homebrew

I really like this tool. Is there any chance you could add a "tap" so it can be installed using homebrew? Instructions are here:
https://docs.brew.sh/How-to-Create-and-Maintain-a-Tap

There is an open PR for this, https://github.com/Homebrew/homebrew-core/pull/155040


help with slow down possibly due to :sentinel of flymake-collection-define

Despite flymake-collection-define uses async process to call linter I still experience slow down (hangs).
Using explain-pause I saw that the slow down is caused by the sentinel.
... skipped
 ► Slow: 2912 ms
<bytecode> (references: (process-live-p make-closure          1 4080.00  4080     1
  plist-get buffer-local-value flymake-collection-define--procs
  flymake-collection-ruff nil process-buffer match-data
  flymake-collection-parse-json buffer-substring-no-properties t row location
  column end_location code message flymake-diag-region :warning propertize face
  flymake-collection-diag-id integer-or-marker-p apply flymake-make-diagnostic
  flymake--log-1 :error process-exit-status format))
 ► Slow: 4080 ms
<bytecode> (references: (process-live-p make-closure          1  261.00   261     1
  plist-get buffer-local-value flymake-collection-define--procs
  flymake-collection-ruff nil process-buffer match-data
  flymake-collection-parse-json buffer-substring-no-properties t row location
  column end_location code message flymake-diag-region :warning propertize face
  flymake-collection-diag-id integer-or-marker-p apply flymake-make-diagnostic
  flymake--log-1 :error process-exit-status format))
... skipped

I believe those are the generated sentinel code, ref:
https://github.com/mohkale/flymake-collection/blob/fec8be1c53e630b45136ab8714184bf85850c64e/src/flymake-collection-define.el#L267-L272
I must admit I have just started trying flymake and I may not have the best setup.
I have already set flymake-no-changes-timeout to 4.
May I ask if you experience such slow down too?

I've never really experienced any slow down from flymake collections checkers. Could you share a few more details about the issues you're seeing. A sample file, which checker you're running and how many lints you're seeing produced should help point in the right direction.

If you could share the python file in question I can try reproducing it. From a cursory look the only impacting difference I can see is python-flymake uses regex parsing whereas we use json. Out of curiosity have you built the MFA with libjanson support so JSON encoding/decoding is quick :thinking:.

I can't share that particular file, but it should be easy to reproduce. Just write some gibberish like
def  aaa(list  :   intz ,   bbbbbb)  :
    1   + "a"

and duplicate it until you have 500 warnings or so. You can also (setq flymake-collection-ruff-args '("--select=ALL")) to get some more warnings. Now when typing, Flymake will be blocking user input while it is waiting for the flymake-collection-ruff backend.
I am using a recent snapshot of emacs built with the new json parser and native compilation.

I can think of a few possible reasons for this. A basic profiler just shows flymake is slow to render all the lints, but it could be because the command produces a lot of output which we parse into a string and then json or because the command is bufferring weirdly. I'll take a closer look when I get a chance.

Right, it would be nice to find the culprit. It could be something specific to flymake-collection since python-flymake backend runs smoothly with
(setq python-flymake-command '("ruff" "--quiet" "check" "--preview" "--output-format=pylint" "--stdin-filename=stdin" "-"))

A small difference is that ruff will only output line numbers and not columns with that, so perhaps fewer overlays are created.

When python-flymake is configured to to match both line and columns from ruff output, it stutters just as bad. So probably there's no issue in flymake-collection.

That's good to hear. Could you upstream a bug ticket to the Emacs mailing list letting them know? Either forward-sexp-function needs to be blanked in flymake or the python ones performance needs to be improved.


Move numba_njit function to jit.py

Solve circular import ERROR when importing a Numba enabled inner function from another module

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

32 of 32 (100.0%)  changed or added relevant lines in 6 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 96.796%

Totals

Change from base Build<PHONE_NUMBER>:
0.01%

Covered Lines:
423

Relevant Lines:
437

💛  - Coveralls


PXE support

If PXE support is required, you must use on-premises distribution points (standard or pull) to respond to boot requests. WDS is currently not supported to run on Azure VMs.
Is this still correct?

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

ID: 0da69878-a841-1f05-32c2-a1fcba10506f
Version Independent ID: 769913cc-0fa4-cd5b-b015-b7c5f38fc0d4
Content: Configuration Manager on Azure
Content Source: sccm/core/understand/configuration-manager-on-azure.md
Product: configuration-manager
GitHub Login: @aczechowski
Microsoft Alias: aaroncz

Thanks @santoshseth for the feedback. I can't find any further documentation on WDS to dispute it, so assume there's no change. I'm checking with the engineering team if there's any update otherwise.

Hi, Is there any update from Engineering team?

I also need info on the queries Santosh posted, please. My main concern is WDS supportability on Azure VMs.

Any news about pxe support on azure?
Eta?

Remember, this feedback mechanism is for product documentation. Right now, I don't have any further information to change what we have documented.
To get feedback directly into the hands of the engineering team, please file product feedback.
In fact, I'm closing this issue as there's nothing actionable for the doc team at this time.


Do Not Merge [BEAM-6869] fix dependency checking

Please add a meaningful description for your change here

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Post-Commit Tests Status (on master branch)

Lang
SDK
Apex
Dataflow
Flink
Gearpump
Samza
Spark

Go

---
---
---
---
---
---

Java

Python

---

---
---
---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

Run Seed Job

Run Dependency Check

Run Dependency Check

Run Dependency Check

Run Dependency Check

Run Dependency Check

Run Seed Job

Run Dependency Check

Run Dependency Check

@chamikaramj

LGTM. Thanks Yifan.

Thanks!


Color Theme Bug in C# -greyed out values when assigning 'new' object to an index

Issue Type: Bug
comparing 4 different string arrays syntax

no problems

string[] names = {
                new string("name1"),
                new string("name2"),
                new string("name3")
            };

2.no problems
            string[] altnames = {
                ("name1"),
                ("name2"),
                ("name3")
            };

3.no problems
string[] altnames2 = new string[3];
            altnames1[0] = ("name1");
            altnames1[1] = ("name2");
            altnames1[2] = ("name3");

(BUG) values ("name1", "name2", etc) here appear greyed out through every color theme after 1.56 update;
Reproduced when a specific index is defined using keyword "new" object all together.
Most noticable when assigning values to an array of objects and "new" is used.

            string[] bugnames = new string[3];
            bugnames[0] = new string ("name1");
            bugnames[1] = new string ("name2");
            bugnames[2] = new string ("name3");

VS Code version: Code 1.56.0 (cfa2e218100323074ac1948c885448fdf4de2a7f, 2021-05-04T22:09:06.405Z)
OS version: Windows_NT x64 10.0.19042

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-10900K CPU @ 3.70GHz (20 x 3696)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
63.89GB (55.30GB free)

Process Argv
--crash-reporter-id 58577e01-9d7b-4f3e-807c-609d511c7cdc

Screen Reader
no

VM
0%

Extensions (2)

Extension
Author (truncated)
Version

csharp
ms-
1.23.11

material-theme
zhu
3.10.14

(5 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30291489
pythontb:30283811
vspre833cf:30267465
pythonptprofiler:30281270
vshan820:30294714
pythondataviewer:30285071
vscus158:30286553
vscgsv2ct:30294353

Can you share a screen shot of the incorrect syntax highlighting?

Here you go, hope this is useful.

Thank you. I'm not able to reproduce this issue. It is likely caused by one of the extensions that you have installed.


[WIP] Feature/wait for target

closes #739

@bdurrani though it doesn't affect the final result. Try to start every new feature branching from master, so we don't get 17 commits when we should've got only one.
Take a look at the CodeFactor error.

@bdurrani you can do something like this
git checkout upstream/master -b some-feature --no-track

@bdurrani you can do something like this
git checkout upstream/master -b some-feature --no-track

I'll give this a shot! I'm aiming to wrap up this PR by the end of the day. Thanks

strange.. That failing test was passing previously and the only change i made was remove that one redundant line in the test..

@bdurrani it was a hiccup :)


Add whoami method

Sometimes, we need to simply check the validity of a user’s token

Hi!
It already exists (https://github.com/ytsaurus/ytsaurus/blob/969b346fa125585878d63d3e44baa81d6b583964/yt/docs/ru/_includes/faq/_includes/faq-common.md?plain=1#L262-L267C2). Seems like that the doc is in Russian only, will translate.

I think Vitaly's intent was to get whoami method in Go SDK; in server-side it indeed exists for quite long time.

Some additional details:
The methods in api looks like that
curl -H 'Authorization: OAuth 87b2****aa5' http://my-yt-proxy/auth/whoami
{"login":"<username>","realm":"","csrf_token":"23384****92"}

with local yt it always returns root
~/dev/ytsaurus/yt/docker/local/run_local_cluster.sh
....
Congratulations! Local cluster is up and running. To use the cluster web interface, point your browser to http://localhost:8001. Or, if you prefer command-line tool 'yt', use it like this: 'yt --proxy localhost:8000 <command>'.

curl http://localhost:8000/auth/whoami
{"login":"root","realm":"YT","csrf_token":"aef0a9d58***2741"}

I suppose the new method should be added to the AuthClient interface and it's implementations in go sdk.