[4.9] CLOUDSTACK-9136: remove ssh keypairs along with removing account

We also allow ROOT Admin to remove remained ssh keypairs of removed account

LGTM.

@agneya2001 What made you LGTM this? the titel of the PR? The description of the feature in the ticket? code review? testing?

Sorry, I just started looking at PRs, next time I will elaborate on my LGTM.
For this particular one when a account is deleted it leaves the ssh key in the user table. Since, it is a few line fix I did a code review and it shows that the code will remove the ssh keys for all users under a removed account. Leaving ssh keys in db is not a good idea. This issue is there in 4.7 too.

LGTM based on these tests:
nosetests --with-marvin --marvin-config=${marvinCfg} -s -a tags=advanced,required_hardware=true \
component/test_password_server.py \
smoke/test_vpc_redundant.py \
smoke/test_routers_iptables_default_policy.py \
smoke/test_routers_network_ops.py \
smoke/test_vpc_router_nics.py \
smoke/test_router_dhcphosts.py \
smoke/test_loadbalance.py \
smoke/test_internal_lb.py \
smoke/test_ssvm.py \
smoke/test_vpc_vpn.py \
smoke/test_privategw_acl.py \
smoke/test_network.py

Result:
Check the password file in the Router VM ... === TestName: test_isolate_network_password_server | Status : SUCCESS ===
ok
Create a redundant VPC with two networks with two VMs in each network ... === TestName: test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL | Status : SUCCESS ===
ok
Create a redundant VPC with two networks with two VMs in each network and check default routes ... === TestName: test_02_redundant_VPC_default_routes | Status : SUCCESS ===
ok
Create a redundant VPC with two networks with two VMs in each network ... === TestName: test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers | Status : SUCCESS ===
ok
Test iptables default INPUT/FORWARD policy on RouterVM ... === TestName: test_02_routervm_iptables_policies | Status : SUCCESS ===
ok
Test iptables default INPUT/FORWARD policies on VPC router ... === TestName: test_01_single_VPC_iptables_policies | Status : SUCCESS ===
ok
Test redundant router internals ... === TestName: test_01_isolate_network_FW_PF_default_routes_egress_true | Status : SUCCESS ===
ok
Test redundant router internals ... === TestName: test_02_isolate_network_FW_PF_default_routes_egress_false | Status : SUCCESS ===
ok
Test redundant router internals ... === TestName: test_01_RVR_Network_FW_PF_SSH_default_routes_egress_true | Status : SUCCESS ===
ok
Test redundant router internals ... === TestName: test_02_RVR_Network_FW_PF_SSH_default_routes_egress_false | Status : SUCCESS ===
ok
Test redundant router internals ... === TestName: test_03_RVR_Network_check_router_state | Status : SUCCESS ===
ok
Create a VPC with two networks with one VM in each network and test nics after destroy ... === TestName: test_01_VPC_nics_after_destroy | Status : SUCCESS ===
ok
Create a VPC with two networks with one VM in each network and test default routes ... === TestName: test_02_VPC_default_routes | Status : SUCCESS ===
ok
Check that the /etc/dhcphosts.txt doesn't contain duplicate IPs ... === TestName: test_router_dhcphosts | Status : SUCCESS ===
ok
Test to create Load balancing rule with source NAT ... === TestName: test_01_create_lb_rule_src_nat | Status : SUCCESS ===
ok
Test to create Load balancing rule with non source NAT ... === TestName: test_02_create_lb_rule_non_nat | Status : SUCCESS ===
ok
Test for assign & removing load balancing rule ... === TestName: test_assign_and_removal_lb | Status : SUCCESS ===
ok
Test to verify access to loadbalancer haproxy admin stats page ... === TestName: test02_internallb_haproxy_stats_on_all_interfaces | Status : SUCCESS ===
ok
Test create, assign, remove of an Internal LB with roundrobin http traffic to 3 vm's ... === TestName: test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80 | Status : SUCCESS ===
ok
Test SSVM Internals ... === TestName: test_03_ssvm_internals | Status : SUCCESS ===
ok
Test CPVM Internals ... === TestName: test_04_cpvm_internals | Status : SUCCESS ===
ok
Test stop SSVM ... === TestName: test_05_stop_ssvm | Status : SUCCESS ===
ok
Test stop CPVM ... === TestName: test_06_stop_cpvm | Status : SUCCESS ===
ok
Test reboot SSVM ... === TestName: test_07_reboot_ssvm | Status : SUCCESS ===
ok
Test reboot CPVM ... === TestName: test_08_reboot_cpvm | Status : SUCCESS ===
ok
Test destroy SSVM ... === TestName: test_09_destroy_ssvm | Status : SUCCESS ===
ok
Test destroy CPVM ... === TestName: test_10_destroy_cpvm | Status : SUCCESS ===
ok
Test Remote Access VPN in VPC ... === TestName: test_vpc_remote_access_vpn | Status : SUCCESS ===
ok
Test VPN in VPC ... === TestName: test_vpc_site2site_vpn | Status : SUCCESS ===
ok
test_01_vpc_privategw_acl (integration.smoke.test_privategw_acl.TestPrivateGwACL) ... === TestName: test_01_vpc_privategw_acl | Status : SUCCESS ===
ok
test_02_vpc_privategw_static_routes (integration.smoke.test_privategw_acl.TestPrivateGwACL) ... === TestName: test_02_vpc_privategw_static_routes | Status : SUCCESS ===
ok
test_03_rvpc_privategw_static_routes (integration.smoke.test_privategw_acl.TestPrivateGwACL) ... === TestName: test_03_rvpc_privategw_static_routes | Status : SUCCESS ===
ok
Test for port forwarding on source NAT ... === TestName: test_01_port_fwd_on_src_nat | Status : SUCCESS ===
ok
Test for port forwarding on non source NAT ... === TestName: test_02_port_fwd_on_non_src_nat | Status : SUCCESS ===
ok
Test for reboot router ... === TestName: test_reboot_router | Status : SUCCESS ===
ok
Test for Router rules for network rules on acquired public IP ... === TestName: test_network_rules_acquired_public_ip_1_static_nat_rule | Status : SUCCESS ===
ok
Test for Router rules for network rules on acquired public IP ... === TestName: test_network_rules_acquired_public_ip_2_nat_rule | Status : SUCCESS ===
ok
Test for Router rules for network rules on acquired public IP ... === TestName: test_network_rules_acquired_public_ip_3_Load_Balancer_Rule | Status : SUCCESS ===
ok

----------------------------------------------------------------------
Ran 38 tests in 22572.696s

OK

And:
nosetests --with-marvin --marvin-config=${marvinCfg} -s -a tags=advanced,required_hardware=false \
smoke/test_routers.py \
smoke/test_network_acl.py \
smoke/test_reset_vm_on_reboot.py \
smoke/test_vm_life_cycle.py \
smoke/test_service_offerings.py \
smoke/test_network.py \
component/test_vpc_offerings.py \
component/test_vpc_routers.py

Result:
Test router internal advanced zone ... === TestName: test_02_router_internal_adv | Status : SUCCESS ===
ok
Test restart network ... === TestName: test_03_restart_network_cleanup | Status : SUCCESS ===
ok
Test router basic setup ... === TestName: test_05_router_basic | Status : SUCCESS ===
ok
Test router advanced setup ... === TestName: test_06_router_advanced | Status : SUCCESS ===
ok
Test stop router ... === TestName: test_07_stop_router | Status : SUCCESS ===
ok
Test start router ... === TestName: test_08_start_router | Status : SUCCESS ===
ok
Test reboot router ... === TestName: test_09_reboot_router | Status : SUCCESS ===
ok
Test reset virtual machine on reboot ... === TestName: test_01_reset_vm_on_reboot | Status : SUCCESS ===
ok
Test advanced zone virtual router ... === TestName: test_advZoneVirtualRouter | Status : SUCCESS ===
ok
Test Deploy Virtual Machine ... === TestName: test_deploy_vm | Status : SUCCESS ===
ok
Test Multiple Deploy Virtual Machine ... === TestName: test_deploy_vm_multiple | Status : SUCCESS ===
ok
Test Stop Virtual Machine ... === TestName: test_01_stop_vm | Status : SUCCESS ===
ok
Test Start Virtual Machine ... === TestName: test_02_start_vm | Status : SUCCESS ===
ok
Test Reboot Virtual Machine ... === TestName: test_03_reboot_vm | Status : SUCCESS ===
ok
Test destroy Virtual Machine ... === TestName: test_06_destroy_vm | Status : SUCCESS ===
ok
Test recover Virtual Machine ... === TestName: test_07_restore_vm | Status : SUCCESS ===
ok
Test migrate VM ... === TestName: test_08_migrate_vm | Status : SUCCESS ===
ok
Test destroy(expunge) Virtual Machine ... === TestName: test_09_expunge_vm | Status : SUCCESS ===
ok
Test to create service offering ... === TestName: test_01_create_service_offering | Status : SUCCESS ===
ok
Test to update existing service offering ... === TestName: test_02_edit_service_offering | Status : SUCCESS ===
ok
Test to delete service offering ... === TestName: test_03_delete_service_offering | Status : SUCCESS ===
ok
Test for delete account ... === TestName: test_delete_account | Status : SUCCESS ===
ok
Test for Associate/Disassociate public IP address for admin account ... === TestName: test_public_ip_admin_account | Status : SUCCESS ===
ok
Test for Associate/Disassociate public IP address for user account ... === TestName: test_public_ip_user_account | Status : SUCCESS ===
ok
Test for release public IP address ... === TestName: test_releaseIP | Status : SUCCESS ===
ok
Test create VPC offering ... === TestName: test_01_create_vpc_offering | Status : SUCCESS ===
ok
Test VPC offering without load balancing service ... === TestName: test_03_vpc_off_without_lb | Status : SUCCESS ===
ok
Test VPC offering without static NAT service ... === TestName: test_04_vpc_off_without_static_nat | Status : SUCCESS ===
ok
Test VPC offering without port forwarding service ... === TestName: test_05_vpc_off_without_pf | Status : SUCCESS ===
ok
Test VPC offering with invalid services ... === TestName: test_06_vpc_off_invalid_services | Status : SUCCESS ===
ok
Test update VPC offering ... === TestName: test_07_update_vpc_off | Status : SUCCESS ===
ok
Test list VPC offering ... === TestName: test_08_list_vpc_off | Status : SUCCESS ===
ok
test_09_create_redundant_vpc_offering (integration.component.test_vpc_offerings.TestVPCOffering) ... === TestName: test_09_create_redundant_vpc_offering | Status : SUCCESS ===
ok
Test start/stop of router after addition of one guest network ... === TestName: test_01_start_stop_router_after_addition_of_one_guest_network | Status : SUCCESS ===
ok
Test reboot of router after addition of one guest network ... === TestName: test_02_reboot_router_after_addition_of_one_guest_network | Status : SUCCESS ===
ok
Test to change service offering of router after addition of one guest network ... === TestName: test_04_chg_srv_off_router_after_addition_of_one_guest_network | Status : SUCCESS ===
ok
Test destroy of router after addition of one guest network ... === TestName: test_05_destroy_router_after_addition_of_one_guest_network | Status : SUCCESS ===
ok
Test to stop and start router after creation of VPC ... === TestName: test_01_stop_start_router_after_creating_vpc | Status : SUCCESS ===
ok
Test to reboot the router after creating a VPC ... === TestName: test_02_reboot_router_after_creating_vpc | Status : SUCCESS ===
ok
Tests to change service offering of the Router after ... === TestName: test_04_change_service_offerring_vpc | Status : SUCCESS ===
ok
Test to destroy the router after creating a VPC ... === TestName: test_05_destroy_router_after_creating_vpc | Status : SUCCESS ===
ok

----------------------------------------------------------------------
Ran 41 tests in 10222.976s

OK

Didn't test the actual feature/fix.

Until either a test is added, which is preferred! Or the dead code (see comment) is removed, :-1:

@borisroman I don't agree with your :-1: The artifact from a port in a test class that otherwise compiles is worth a -1?

Hi @DaanHoogland, well then that's your opinion. Mine is, as a developer I do not want dead code to be added to the project.
Therefore I stand by my :-1:
Could you please elaborate on why this in your opinion is wanted and/or allowed?

It is certainly not wanted but as it is in an otherwise working unit test it is allowed. It does not interfere with the correct working of the system.

@DaanHoogland I will add some tests in the file when I have time.
currently I have some other tasks to do (not porting).

@ustcweizhou Thanks! Will see them when they arrive!

@ustcweizhou @borisroman we will release both 4.6.2 and 4.7.0 RDs tomorrow

@ustcweizhou any update?

LGTM, if we don't have any outstanding objections -- let's merge this?

@ustcweizhou can you rebase against latest master and share state of your PR, thanks
LGTM, though a marvin smoke test that can run with Travis would be great
tag:easypr

@swill this can be CI tested and merged

@rhtyd I can run CI on this, but it is based against 4.6.  I am not sure what to do about that.  Should @ustcweizhou at least rebase against 4.7 so we can get it in and forward merge?  I don't really want to be working against the 4.6 branch.

@swill why not just test against 4.6 and then merge forward? if not, we need to rebase the branch. Pretty sure @ustcweizhou already did that in-house.

That is fine, I don't mind doing that.  Is that the process here?  This is the first time I have handled a 4.6 PR.  Will a 4.6 ever be released, or is that just not important and if someone wants one, they can grab master?

Ok, what I will do is merge it into 4.6 and forward merge it to 4.7 and then run CI on it there.  I also need to verify what is forward merged from 4.6 because I don't think I have done that yet...

rebased with apache/4.9, and added unit test

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@karuturi this is ready for merge, using past review/test results. Though, I'll kick one more round of testing.

Packaging result: ✔centos6 ✔centos7 ✔debian.


[Metrics] Multi-line visualization support

Description
This adds multi-line visualization to metrics analytics along with new query updating format for prometheus metrics
Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

This PR's commits have been pulled into a different PR - https://github.com/opensearch-project/dashboards-observability/pull/830


Calling toString() method on Image with null url causes infinite loop.

Calling toString() method on Image with null url causes infinite loop.
Reason is that  'toHtmlElement' method implicitly calls 'toString' method:
throw new DxaException("URL is null for image component: " + this);
wich in turn calls 'toHtmlElement' method

Internal reference TSI-3044


Porting NEAT to BeamNG.tech

Dear All,
I am a student working on a project involving testing ADAS/AV and scenario synthesis using BeamNG.tech and would love to run (test) your driving agent in that simulator. I know CARLA is kind of a de facto standard, but IMHO BeamNG.tech is superior when it comes to physic simulation, content, and flexibility. Further, BeamNG.tech is free for research, offers a python API, just like CARLA, and implements a wide range of sensors.
So I wonder how technically difficult it would be to port NEAT to BeamNG.tech and whether anyone of you could support me (and my colleagues) in doing so. Hope to hear from you soon,
Thanks!
-- Benedikt Steininger

Please see https://github.com/autonomousvision/transfuser/issues/129#issuecomment-1336021011


8 new modules

8 new modules gathering additional files from /etc/ for information gathering purposes.

Done and done.


The NIN model download links have been taken down/changed.

The Google drive link is down, but the files can still be downloaded from their new locations here:
https://gist.github.com/mavenlin/d802a5849de39225bcc6

Hmmm.. tried to use this but not sure 100% what to do.. I downloaded the model and ran this command.
th neural_style.lua -style_image /home/gateway/work/styles/star.jpg -content_image /home/gateway/work/images/home.jpg -output_image test.png -gpu 0,1 -backend cudnn -num_iterations 1000 -content_weight 10 -style_weight 1000 -image_size 2048 -optimizer adam -model_file models/nin_imagenet.caffemode
however everything just came out grey .. did i miss something? :/

@gateway You have to specify the NIN model's layers, as they have different names than the VGG model layers. This should be done for both the -content_layers and -style_layers parameters.
relu0, relu1, relu2, relu3, relu5, relu6, relu7, relu8, relu9, relu10, relu11, relu12

So is the VGG deeplab:
The give page: http://ccvl.stat.ucla.edu/ccvl is no longer valid!


PublishTestResults reports incorrect test titles for .trx produced by mocha-trx-reporter

Bug
Task Name: PublishTestResults@2
Environment

Server - https://devdiv.visualstudio.com
Build - https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=2554821

Issue Description
We have VSCode unit tests that use mocha. The test runner reports the results with<EMAIL_ADDRESS>saves the results to a .trx file, and then PublishTestResults@2 task publishes the results from the .trx file to the run.
All test names in the Tests tab of the run are wrong for all the tests. All tests have the same " binds Editor.code to state.code" name.
The trx file is fine though. I could open it in VS and see the test names correct. It doesn't contain any " binds Editor.code to state.code" string at all.
Task logs
log_25_2554821.zip
Error logs
I didn't see any error in the build logs

Hi, I take a look at trx and it seems not generated correctly, infact I looked at the trx generator source code and it always set classname and name of test as none which is not correct. I have opened an issue on their repo
<UnitTest id="87d9cb5f-41cf-4242-aebe-a4a997816610" name="Extensibility API getApiAsync - calling package not detected">
  <Execution id="a1e49339-813f-4cec-9a45-d9b3b2e78920"/>
  <TestMethod codeBase="out/test/api.test.js" **className="none" name="none"/**>
</UnitTest>

Also, our recommendation is use industry standard schema that we support (Junit) and that most test tools, including Mocha support as well, TRX is a proprietary format that we don’t want customers to create on their own

Also, our recommendation is use industry standard schema that we support (Junit) and that most test tools, including Mocha support as well, TRX is a proprietary format that we don’t want customers to create on their own. please use Junit and use PTR task for publishing , let us know if there is any issue.

Ok. Thanks for opening the issue on mocha-trx-reporter


Improved iLQG nominal rollout

The iLQG nominal rollout, defined here, is inefficient. We should do this with a threadpool that rolls out with a parallel "line search" on the feedback term, that includes a 0 coefficient (no feedback, just open-loop). For this, the Action method should also get a feedback_scale parameter (defaulting to 1), and this line should use mju_addToScl.
This is a very simple change that I suspect will improve iLQG significantly.

Implemented in #62


add a User-Agent option

add a User-Agent option boolean option per configuration, which permits to identify the HttpConnector name and version, and the Http client implementation name and version used.

for okhttp, via a network interceptor
(https://square.github.io/okhttp/features/interceptors/#network-interceptors) :
OkHttpClient client = new OkHttpClient.Builder()
    .addNetworkInterceptor(new LoggingInterceptor())
    .build();

Request request = new Request.Builder()
    .url("http://www.publicobject.com/helloworld.txt")
    .header("User-Agent", "OkHttp Example")
    .build();

Response response = client.newCall(request).execute();
response.body().close();

try to respect the user-agent line from the Robots Exclusion Protocol (RFC 9309
), like explained here :
https://www.rfc-editor.org/rfc/rfc9309.html#name-the-user-agent-line

cf https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent


updated bitbar (1.9.0)

Thank you for the contribution. It was merged directly as 4c733987c823fa1633e3ebb9df09c10df475b222 to keep commit history cleaner. Your contribution is still credited to you.


Remove ROS1 launch files and fix launch command in readme

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

I don't see any changes to the README under "Files changed".

I don't see any changes to the README under "Files changed".

Because it's already fixed :)


Add image classification demo for Paddle Fluid.

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

 All committers have signed the CLA.


improve dist-git commit summary line during "rdopkg patch" with >1 patches

When I have two or more pending commits on my -patches branch, rdopkg will create a dist-git commit with a title that is the final commit's title.

I'm not sure how to make this idempotent with rdopkg amend, though. Maybe Third nice commit (and 2 others) or something? I welcome other ideas!

We could make the dist-git commit title simply the new NVR of the package at that point?
In other words:

if %changelog has a single entry, use that as the commit title (rdopkg's current behavior)
if %changelog has multiple entries, simply title the commit with the package's NVR

I like this idea and then along with issue #118 third option would be to specify a commit title on the command line

https://review.rdoproject.org/r/#/c/6529/


ESP8266 crash "ISR not in IRAM"

With Arduino 1.8.10, ESP8266 library v2.62, ESP12 module,
serial monitor reports
"ISR not in IRAM"
See
https://github.com/esp8266/Arduino/issues/6127
in particular,
https://github.com/esp8266/Arduino/issues/6127#issuecomment-501493870
and the two comments that follow that, where they specifically cite LoRa.cpp, including:
"Is that code doing an spi transaction from an ISR???
There are strict timing requirements on the exec time of an ISR in the ESP.
Blocking operations are a big no no, and in general ISRs shouldn't take more than a few us.
At a glance, I don't think that code will work, at least not with wifi running.
I would advise an ESP user to set a flag in the ISR and execute from the loop,
or use the scheduled function api (runs a cb as though it were in the loop)."
Additionally, I see that a LoRa.cpp file is contained inside the LoRaNow src directory.
Perhaps this is some prior version of SandeepMistry's code.
Perhaps this library be included rather than copied?
If it was included, the current version has a macro to define ISR_PREFIX  as ICACHE_RAM_ATTR
but doesn't really address the fundamental points in the comments cited above.
This is related to
https://github.com/ricaun/LoRaNow/issues/6

Hello,
When I design this library I didn't know the USER from ESP is so restrict and crashes really easy if you put too much code on the interrupt.
I already changed the LoRa.ccp with the ISR_PREFIX as ICACHE_RAM_ATTR and remove all the spi code to the main loop.
The last test the esp don't crash when using the LoRa and Wifi.
I was changing the https://github.com/ricaun/LoRaNow/tree/update
Now I need some help to test the new code.
Thanks for your contribution.


exporting all debug data instead of just logs

don't use mongo dump. just zip all the data_dir.
Also adapter are just a place to link between the backend and the ui, so move all the zipping part to another file.

Tried zipping it. But the middle are running and do there's a mongo.lock file interrupting, and the operation fails

ok, so we will find a solution later. just (2) comment


Sending realtime audio using websockets

Description
Hello, is it possible to send the output from the microphone in real time, for example via socket.io?
I have not found a method in the documentation to get the current buffer from the microphone.

Interesting idea. I'll see if I can come up with an example.

Thank you so much for taking the time.
I haven't had a chance to test everything today, but I will give you some feedback.

any news @nkleinert?

It worked fine with socket.io and node-opus.

@nkleinert thanks for the feedback. Let's merge the pull request before closing this ticket ;)
Can you share the code you used?

Ended up adding a audioBufferUpdate option. If you enable it, a audioBufferUpdate event will be fired.


visual-diff: add retries

Tested in this PR https://github.com/BrightspaceUI/core/pull/2570
Something to note is that if we're in a situation where a lot of tests are failing and retrying (e.g., puppeteer version bump) this could result in a timeout. In this situation we could bump timeout-minutes temporarily in the visual-diff workflow.

Something to note is that if we're in a situation where a lot of tests are failing and retrying (e.g., puppeteer version bump) this could result in a timeout. In this situation we could bump timeout-minutes temporarily in the visual-diff workflow.

Or since you made this an input, we could also just set retries to 1 temporarily 🎉

Something to note is that if we're in a situation where a lot of tests are failing and retrying (e.g., puppeteer version bump) this could result in a timeout. In this situation we could bump timeout-minutes temporarily in the visual-diff workflow.

Or since you made this an input, we could also just set retries to 1 temporarily 🎉

Yup absolutely!

Can you update the README? Typically we list out all the options and what they do.


isGreatGrandchildOf has incorrect altLabel

altLabel should be used for alternative labels/synonyms/aliases
This would make this wrong:
isGreatGrandchildOf
skos:altLabel "hasGreatGrandparent"^^rdfs:Literal
the altlabel is actually for the inverse. Either name the inverse and make this string a property of that, or use a different annotation property such as antonymOf

@cmungall I don't think you're right here. The inverse would be "isGreatGrandparentOf", but this is has.
Both make sense:

Annie isGreatGrandchildOf Erasmus
Annie hasGreatGrandparent Erasmus

Doh, You're right! Somehow I missed the switch from child/parent in the
label
On Fri, Oct 28, 2022 at 6:54 PM Jim Balhoff @.***>
wrote:

@cmungall https://github.com/cmungall I don't think you're right here.
The inverse would be "isGreatGrandparentOf", but this is has.
Both make sense:

Annie isGreatGrandchildOf Erasmus
Annie hasGreatGrandparent Erasmus

—
Reply to this email directly, view it on GitHub
https://github.com/GA4GH-Pedigree-Standard/family_history_terminology/issues/32#issuecomment-1295684475,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAMMOLZ7Q7E74IRTEG5RNDWFR7WVANCNFSM5227SAUQ
.
You are receiving this because you were mentioned.Message ID:
<GA4GH-Pedigree-Standard/family_history_terminology/issues/32/1295684475@
github.com>


Modularize by breaking out ITrackable and IQueryable

Let's refactor the full URF so that there is a Core package that does not depend on ITrackable or IQueryable.  Then create separate packages for those bits that do depend on these interfaces.

A nice side-effect here is that someone can have an IRepository<TEntity> where TEntity is not constrained to implement ITrackable.  This is required where you have a read-only repository and don't care about updates, for example, with models that are mapped to views in the database.

We should implement this change first for the v5.1 release and then for the .NET Core version.

This is completed in new https://github.com/urfnet/URF.Core, closing this out.


Build failed on swift-3.0 v0.7.0

Hi, firstly thanks for your work on this framework. I'd love to try it.
Unfortunately when i am trying to build the project, it failed on this
mv: rename Build/cuckoo_generator.app to cuckoo_generator.app: No such file or directory
When i execute the 'run' file it got the same error.
I opened the CuckooGenerator.xcodeproj manually to build an app and it still this error:
Command failed due to signal : segmentation fault : 11 on Compile Request.swift
Any ideas on this one ?
Thanks.

Hi, please try updating to 0.8.1 (latest release) and see if it fixes the issue.

It worked perfectly. Thanks !


CLexer doesn't understand float syntax

I can think of 4 different syntaxes for specifying floats and doubles in C:

0.123
0.123f
12.3e-2
12.3e-2f

The first 3 syntaxes highlighted correctly. The last one doesn't highlight f with the same color as the rest of the float.
My Pygments version: 2.6.1

123ff also gets highlighted as a float, even though it's not actually a float

@Akuli what should 123ff be highlighted as?

123f is a syntax error and should be highlighted as a syntax error
I would expect 123.ff to highlight as the float 123.f followed by f

maybe 123.ff should also be highlighted as an error? it gives a similar compiler error message as 123f

Thanks for this info, @Akuli! I'm fleshing out extensive unit tests for numeric literals. Looks like 1L is currently tokenized as a float so I'm diving into all numeric literals, not just floats.

Just a friendly reminder: Pygments is a highlighter, not a compiler frontend. Not every syntax error needs to be recognized as an error, and semantic errors even less so.

Georg, thanks for the reminder. I 100% agree. My goal won't be to introduce syntax checking, only to ensure that every valid numeric literal is tokenized correctly.
On September 7, 2020 5:07:20 AM UTC, Georg Brandl<EMAIL_ADDRESS>wrote:

Just a friendly reminder: Pygments is a highlighter, not a compiler frontend. Not every syntax error needs to be recognized as an error, and semantic errors even less so.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/pygments/pygments/issues/1468#issuecomment-688038433


Feature: Easy all In One install Script

A simple one liner copy and paste code that downloads a script and executes everything it needs to to get Cryptgeon up and running with a valid Let Encrypt cert and good default settings. Compatible with Debian 11 and Ubuntu 20.04
Basically a set it and forget it
This should help people get this up and running much quicker
I love this project You did great work and its very clean =]

Thanks for the feedback!
Like the idea, however this is outside of the scope for this project, the docker-compose file is already that if you couple that with something like traefik.
If you have a look at the traefik setup in the readme that is all you have to do for getting certificates, etc.
Adding the whole certificate and manual setup stuff in the project will add complexity which I'm not willing to deal with tbh because every system will be different.
Basically the install steps are:

install docker
get traefik running on docker.
copy paste docker-compose file and run docker compose up -d.

I could see putting a guide to that in the example folders. but not a script.

Added a guide https://github.com/cupcakearmy/cryptgeon/tree/main/examples/scratch


Canada, Nunavut, Kuujjuaq, J0M 1C0

Hi! I'm not a direct user of this library, but I've been told a drupal module I'm using for addresses is based on it.
I have a postal code in Kuujjuaq which does not match the rules set for Nunavut. It is J0M 1C0.
According to this post canada page, this postal code really is located in Kuujjuaq: https://www.canadapost.ca/cpo/mc/personal/postalcode/fpc.jsf
It is a P.O. Box.

Hi. I'm confused what you are indicating.
Isn't 'Kuujjuaq' located in the province of Quebec?  If so, 'J0M 1C0' seems valid for Quebec and should work fine in the widget.

Gosh. You are right. That was the mistake! Thanks a lot.


Add additional list functions to reach parity with RESTful list requests

Problem
https://github.com/pinecone-io/pinecone-java-client/issues/126
Solution
With REST, we are currently able to list vectors without a prefix but with a pagination token.
This is not currently available with v1 of the pinecone-java-client.
With this PR, we have added a function list with a pagination token and limit but no prefix.

Absolutely!

Done!
Thanks @rohanshah18

@rasharab Sorry I was out all of this week for a company event but I'm more than happy to run the integration tests and release this PR if you still need it

Please release it. Thank you!

Would you please open the PR again so I can run the integration test, verify the correctness, and merge it in.

Sorry, one of our engineers deleted our fork. :(
I'll handle this, apologies.

annoyingly, had to re-create pr...
https://github.com/pinecone-io/pinecone-java-client/pull/133

Ok thanks, taking a look


Input Validation is Practically Impossible

Amplify CLI Version
12.0.3
Question
https://docs.amplify.aws/cli/graphql/custom-business-logic/#lambda-function-resolver
This documentation is confusing as heck. I just don't get it. If you want to do something like "when a user creates a Tweet, make sure the body is less than 140 characters" would require basically scrapping all of the benefits of using Amplify and instead writing about 700 lines of .vtl code, including writing your own auth etc.
This can't possibly be the way this is supposed to work. Please advise.

Hi @Meerkov, Thanks for raising this. To add server-side field validations to the Todo model, I utilized the extend Amplify generated resolvers functionality. Here are the steps I followed:

Copy the Mutation.createTodo.req.vtl file from the /amplify/backend/api/build/resolvers folder and paste it in the /amplify/backend/api/resolvers folder.

In the copied file, add the field validations after the defaults section, as demonstrated in the example provided.

Execute the command amplify push to deploy the changes.

When entering a name with less than three characters, you will encounter an error message indicating the validation failure.

Please inform us if this workaround resolves the issue for you.


created heroku database

perhaps get rid of the console.log on line 36 and what is significant about the body[1] array?

Yeah, I will remove the console.log, thanks for reminding Laura. we don't have any data for this week, I therefore get the the data from previous week to only test it.


Create project inventory

List all the projects and note:

Which have primary data FASTQs
Secondary data  BAMs
does it have a DCP matrix - loom files
does it have contributed matrices ?

Not required


Glitchy output of a simple 2d plot

Hello,
I am outputting the below simple plot using the export_fig function. The problem I face is the occurrence of a certain lack of 'continuity' and smoothness of the line plot when I increased the resolution of export_fig from -m1 to -m3. I tried updating to latest version of export_fig, I tried using all the different renderers, tried different resolution levels (all the way up to -m7), and also tried different file formats.
Here's the code that I'm working with:
x = linspace(0,100);
y = @(x) log(x);
p = plot(x,y(x),'LineWidth',2);
title('Test Title');
xlabel('X-Axis (unit)');
ylabel('Y-Axis (unit)');
export_fig Test.png -m3 %Change to -m1 and problem dissipates

I am attaching a zip file with the rendered png file which shows the issue (it is circled in the .png), .fig file, and a .pdf file which does not have the issue.
Please advice, thanks.
PNG, FIG, PDF.zip

Hi, are you sure it is not a problem of your installation? The issue isn't reproduced when I run your exact test code code on my machine (Win 8.1 64 bits R2014b)

Thanks for the response. I am using R2015a, Windows 10, 64 bit.
I have no idea if it's because of my system. Do you have any advice on how I can address this issue?
Thanks


Fix no_lines_before with empty section

This fixes "no_lines_before" to also be respected from previous empty
sections.

Looks great, thank you!


model_definition_file in programmatic API takes an open file object instead of file path

When I try to use the programmatic API,
model = LudwigModel(model_definition={}, model_definition_file="some/path/to/file.yml")

it throws AttributeError: 'str' object has no attribute 'get'. It seems like when loading the model_definition_file, Ludwig is using yaml.load, which, according to the pyyaml documentation, takes a byte string, a Unicode string, an open binary file object, or an open text file object. However, the ludwig documentation says that model_definition_file should be a file path. I tried passing in an open file object and it works.
I think either the documentation needs to be changed or the model initialization should be modified to actually take a file path instead.

Thanks for reporting this! We'll fix it and let you know.

@lingxz can you please confirm that the bugfix solves the issue for you?

yes this fixes it, thanks!

@lingxz  hello, this bug is still present in the pip install

We are going to release a v0.1.1 with this and other bugfixes in the near future.

I still used the pip install I get the same  bug.

@sahand68 we haven't release v0.1.1 yet. As I already said, use the code on master.


Enable travis

With:

clang++-3.8 builds:

Release
Debug
Debug+Address Sanitizer
Debug+Thread Sanitizer
Debug+Integer Sanitizer

Code coverage

Travis is enabled, and passing. Code coverage is not working yet, but I'll hit that later: #9


Throttle geolocation requests

Right now, especially on searches with lots of results, we're getting temporarily banned.

Fixing the double requests after a search will help...


feat: use hardware backed keys

Need to release new versions of indy-vdr & anoncreds for the minSdkVersion of 23.

We can add patches for now (i had to do this for a separate branch recently). Pushed it to this PR


22.rocblas.sh fails, 'cmake -lpthread'

Environment

Hardware
description

GPU
gfx803

CPU
ryzen7

Software
version

OS
debian bookworm

ROCm
4.3

Python
3.9.9

Linux
5.15.0-1-amd64

cmake
3.22.1

What is the expected behavior

rocBLAS built

What actually happens

CMake Error: Unknown argument -lpthread
CMake Error: Run 'cmake --help' for all supported options.

How to reproduce

run 22.rocblas.sh

I think the -lpthread can just be removed from 22.rocblas.sh. It's already somewhere in the generated Makefiles as an argument to gcc.

I had remove -lpthread, looks ok.


selenium.common.exceptions.ElementClickInterceptedException

Traceback (most recent call last):
File "crawler.py", line 83, in
args.username, args.number, args.mode == "posts_full", args.debug
File "crawler.py", line 27, in get_posts_by_user
ins_crawler = InsCrawler(has_screen=debug)
File "/Users/nimesh/.Trash/instagram-crawler-master/inscrawler/crawler.py", line 70, in init
self.login()
File "/Users/nimesh/.Trash/instagram-crawler-master/inscrawler/crawler.py", line 87, in login
login_btn.click()
File "/Users/nimesh/anaconda3/envs/untitled/lib/python3.7/site-packages/selenium/webdriver/remote/webelement.py", line 80, in click
self._execute(Command.CLICK_ELEMENT)
File "/Users/nimesh/anaconda3/envs/untitled/lib/python3.7/site-packages/selenium/webdriver/remote/webelement.py", line 628, in _execute
return self._parent.execute(command, params)
File "/Users/nimesh/anaconda3/envs/untitled/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 312, in execute
self.error_handler.check_response(response)
File "/Users/nimesh/anaconda3/envs/untitled/lib/python3.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.ElementClickInterceptedException: Message: element click intercepted: Element ... is not clickable at point (400, 265). Other element would receive the click: ...
(Session info: headless chrome=89.0.4389.114)

Based on the error, you are trying to click on an element that does not support click on it.
You need to select a different item to click

There may be an "Accept Cookies" modal covering the login button.
As quick fix I just added following after browser.get(url) in the login() function:
accept_cookies = browser.find_one(".bIiDR")
if accept_cookies is not None:
accept_cookies.click()
time.sleep(5)


Changes in the UI

[x] Bugfix 1: position the buttons
[x] Bugfix 2: add another tab in the main user interface

Bugs fixed

close with bugs fixed


Discrepancy between network service-tag JSON and region support in document

AzureMachineLearning is described as not having region support

However, the JSON from here, contains region specific address blocks.

I am not sure of which other services have this discrepancy in the current page.

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

ID: 08217244-82bb-13b5-46f7-454801d8f865
Version Independent ID: 4a8b0a32-bf57-7544-c60d-6b7f250c4477
Content: Azure service tags overview
Content Source: articles/virtual-network/service-tags-overview.md
Service: virtual-network
GitHub Login: @mbender-ms
Microsoft Alias: mbender

Thank you for your feedback! We will review and update as appropriate.

Hello @a30004053, Thank you for your feedback. I have made a PR to address this issue and it is currently under doc author's review. We will now proceed to close this issue out, please tag me in your response if you have any additional questions. Thank you!

Thank you @ChaitanyaNaykodi-MSFT!


update ansible playbooks for lxd containers

Current deployment has each service (api, socket, client) to be in an individual container. Postgresql and nginx are also containerized.

Probably possible, but Kubernetes seems like the better choice.


[WIP] [DO NOT MERGE] Refactor GPU post-filtering logic

This is a WIP. Full description and associated issue to follow.

This still needs tests to cover the previously failing cases, but the core logic is ready for review. I will work on tests tomorrow. I will also try to get a Milvus build working with this so we can get perf numbers and see if we should tackle any low-hanging fruit for optimizations before release.

I should mention for the purposes of review that we can probably make these kernels a bit more performant in a later release, but they are fairly speedy as is and do not seem to be the bottleneck for search.

/lgtm


Artist avatar (toast component) with speech bubble instructions

Instructions in artist speech bubbles

[x] Landing page (not Yinka): Hello! Click on the pairs game you want to play
[x] Colours [Get rid of the ‘Challenge yourself…’ text]: Match the shade to its colour by clicking on the cards – I like buttercup yellow myself!
[x] Artists [Get rid of the ‘Challenge yourself…’ text]: Find me and my friends and match my picture to my name
[x] Artist tools [Get rid of the ‘Challenge yourself…’ text]: Match the artists’ tools by clicking on the cards. Can you name all the tools?
[x] Speech in bubble
[x] Hardcoded artist

Next

[ ] Find the pairs – choose a level page: Choose a level – easy, medium or hard (blocked by #38)
[ ] Random artist image (random?) <--- need to check with Amy why it can't be Yinka on init.
[ ] Animate slide in
[ ] Allow slide in from left or right... or maybe in the header (between logo and more games?) Stack for mobile.
[ ] Make obvious click to dismiss


Support for selecting multiple containers or volumes at once.

@alexdeathway why you want to select multiple containers at once? if the purpose is to delete them then let me tell you I have that feature in mind to allow users to clean up/delete multiple containers.

@ropali sure that is one of the use case but selecting and tagging would be beneficial for managing the volumes and containers too.

@alexdeathway Noted...


Change browserlist in online scanner?

Right now the online scanner is using the default browserlist configuration: > 1%, last 2 versions, Firefox ESR.
After the discussion in https://github.com/sonarwhal/sonarwhal/issues/666 maybe it's worth thinking about tweaking that configuration, at least while we implement the custom configuration.
The idea will be to remove support for old browsers so rules like X-UA-Compatible recommend more up to date practices.
Even though this is a small change, I think it is worth discussing and make sure we are all in the same page. @sonarwhal/contributors, @laukstein what do you think?

The idea will be to remove support for old browsers so rules like X-UA-Compatible recommend more up to date practices.

:+1+

@molant > 1%, last 2 versions, Firefox ESR http://browserl.ist/?q=>+1%25%2C+last+2+versions%2C+Firefox+ESR
returns old browsers even with 0% usage, IE10 with usage 0.15% . Perhaps you expect more than 1% usage and the configuration needs to be changed, or it is a bug in https://github.com/ai/browserslist ?

@alrra, X-UA-Compatible is relevant only till IE10 and IE10 usage is 0.15%.

returns old browsers even with 0% usage,

@laukstein That is because of last 2 versions, part which, as this issue suggests, we intend to remove from the online scanner until the scanner allows users to provide their own configurations.

Note: Below by sonarwhal I am referring to the CLI, not the online scanner.

X-UA-Compatible is relevant only till IE10

Again, we know that, and we even clearly specify it in the rule's documentation.

and IE10 usage is 0.15%.

caniuse desktop data comes from StatCounter's GlobalStats, other sources may provide other percentages. In general, users should look at their own site's statistics, and make decisions based on that (e.g.: some sites may get accessed mostly from mobile devices, others may get a lot of traffic from older browsers, etc.).
The idea with sonarwhal is to suggest whatever is best for the user's needs, but for that the user has to provide sonarwhal with some information (e.g.: the support matrix).
Note: If no configuration file is provided, sonarwhal will ask the user, among other,  to specify the support matrix, and it will only go with the defaults if the user specifically chooses to.

Regarding browserlist's defaults, if you think, in general (independent of sonarwhal) they should be different, then you should open an issue in their repository.

I hope this clarifies things.

The easiest path will probably be to use > 1%, last 2 versions, Firefox ESR, not ie < 11
We should also update our documentation to point to the results of the default query.

> 1%, last 2 versions, Firefox ESR, not ie < 11

Go for it.

It still lists outdated browsers and with 0% usage. Why not simply > 1%?

> 1% will remove modern browsers that haven't been made to the stats like Chrome 62:
 and most of the conditional code we have is for old versions of desktop IE.

@molant then you want to use > 1%, last 1 version
Here is > 1%, last 1 version vs > 1%, last 2 versions, Firefox ESR, not ie < 11 difference:

Chrome for Android 62 (27.78% global usage)
UC Browser for Android 11.4 (8.10% global usage)
Chrome 62 (0.89% global usage)
Chrome 61 (22.19% global usage)
Chrome 60 (1.15% global usage)
Edge 16 (0.04% global usage)
Edge 15 (1.62% global usage)
Firefox 57 (0.12% global usage)
Firefox 56 (3.46% global usage)
~Firefox 52 (0.50% global usage)~
IE 11 (3.22% global usage)
IE Mobile 11 (0.25% global usage)
~IE Mobile 10 (0.05% global usage)~
iOS Safari 11 (5.30% global usage)
iOS Safari 10.3 (3.60% global usage)
Opera Mini all (2.63% global usage)
Opera 48 (0.71% global usage)
~Opera 47 (0.07% global usage)~
Safari 11 (1.21% global usage)
~Safari 10.1 (0.63% global usage)~
Samsung Internet 5 (2.30% global usage)
Samsung Internet 4 (1.36% global usage)

That could be an option. Not a huge fan of tweaking the browserlist defaults but...
We need to add a section with the online configuration (and link to it), preferably in a place where it can be edited without commits so people know what we are testing for. Maybe a gist we link from the scanner page? @alrra, @sarvaje, @ststimac ?

Another thing we could update is the Apple Touch icon error to warning

@molant just to be sure, the changes are:

[ ] Change apple touch rule severity to warning
[ ] Change browserlist to > 1%, last 2 versions, Firefox ESR, not ie < 11

@sarvaje see my above comment. I think we need to use > 1%, last 1 version.

It should be

[ ] Change apple touch rule severity to warning
[ ] Change browserlist to > 1%, last 1 version

as @laukstein says. @poshaughnessy, @sonarwhal/core any other changes we should do?

ok!

Changes done!

Changes done!

We should also publish the configs somewhere on GitHub? Maybe the README.md of this repository? (Cc @sonarwhal/core)

@sarvaje this change has been released without uprising the version. Now I see the same version 0.16.0 old scan result with x-ua-compatible warning and new scan without it...

Because the sonarwhal version the online scanner is using hasn't change, just the configuration.
That's part of why we should publish the used configuration somewhere that we've been mentioning in this thread. Maybe we should have something next to the version in the results that points to it and use the config id? Thoughts @ststimac?
@sarvaje what about enabling a new endpoint /scanner/config/configId that shows the content of that configuration?
Can't remember if we are storing the configuration for each scan but if not we should start doing it. That way we avoid having to update the config in multiple places.

@sarvaje what about enabling a new endpoint /scanner/config/configId that shows the content of that configuration?

I like the idea.

I've quickly chat with @sarvaje about this. Plan is:

new endpoint to expose the used config for that run. We are storing that directly in the results. This is good because we will not have to do anything in the future for custom configs 😊
add a link in the results to see this configuration. @ststimac we'll need your help to make it pretty

Updated the title of the issue and assigned it to @sarvaje and @ststimac.
@ststimac if you have questions we can talk on Monday.

@molant yeah, let's chat today.

let's chat today.

Done, @ststimac will add a link to the new endpoint in the results page that will say "Used configuration" or something similar.

add a link in the results to see this configuration

That change is now live (for example, see: https://sonarwhal.com/scanner/7a2b2978-b84f-4620-85fb-11f78fb3a45).

@alrra one of the lines of CSS isn't being updated. Is that due to service worker? (the update to flex-start)

@alrra ignore that comment, the wrong line of CSS got updated.

@alrra https://sonarwhal.com/scanner/7a2b2978-b84f-4620-85fb-11f78fb3a45 show error page

@alrra https://sonarwhal.com/scanner/7a2b2978-b84f-4620-85fb-11f78fb3a45 show error page

Yes, the URL was missing a digit, sorry about that, here is the correct link:
https://sonarwhal.com/scanner/7a2b2978-b84f-4620-85fb-11f78fb3a453

@alrra Can you apply pretty-print formatting for JSON files?
The JSON file has Array with 3 Objects containing bunch of properties like rules and browserslist, etc. Why?
I think we stil don't have an option to add a custom configuration, before running scan, right?


Assets support for glibc 2.27/2.28

What problem does the new feature solve?
Many of the mainstream Linux distributions utilized by our users run on glibc version 2.27 or 2.28. However, that the precompiled binaries provided in the releases require a glibc version of 2.31 or greater.
What does the feature do?
Ideally, the assets would be compatible with systems using glibc 2.27/2.28, ensuring broader support for users on slightly older or LTS distributions.
Implementation challenges
No response

As #2779 has been merged, I believe we can now close this issue.


Cordova

We are looking to create an android app using polymer. What are the Best Practices for using  Polymer & Cordova

Such questions can be asked on the Polymer Slack, as it is very broad and subjective. I don't think there is an actionable item in this as a GitHub issue.

I doubt that you will find somewhere a comprehensive list of everything to know about Polymer + Cordova. The combination generally works well but you will encounter interesting corner cases (especially as Cordova doesn't come with the best documentation ever...)
FYI, we tried to share the rough edges that we encountered here: https://medium.com/collaborne-engineering/tagged/cordova

I doubt that you will find somewhere a comprehensive list of everything to know about Polymer + Cordova. The combination generally works well but you will encounter interesting corner cases (especially as Cordova doesn't come with the best documentation ever...)
FYI, we tried to share the rough edges that we encountered here: https://medium.com/collaborne-engineering/tagged/cordova

I used Cordova with polymer.
It's easy and works.
But you want a hell of a lot more than what Cordova offers to build a proper app.
Now I use xamarin webviews and it's way way better than cordova.

Please guide us to the link for marin web view.
Swapnil Bhadade
<EMAIL_ADDRESS>Nagpur
India

On 28-Aug-2017, at 06:07, jow blew<EMAIL_ADDRESS>wrote:
I used Cordova with polymer.
It's easy and works.
But you want a hell of a lot more than what Cordova offers to build a proper app.
Now I use xamarin webviews and it's way way better than cordova.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/Polymer/polymer/issues/4764#issuecomment-325235430, or mute the thread https://github.com/notifications/unsubscribe-auth/AK9uTNqSsPnvTzUgKXmF_tUolbdABeAsks5scgvRgaJpZM4OpJ1h.

@augmen
https://github.com/xamarin/xamarin-forms-samples/tree/master/WorkingWithWebview
https://developer.xamarin.com/guides/android/user_interface/controls/web-view/

I think this issue can be closed now.


Periodic reconciliation of Liqo objects

Description
So far, Liqo controllers are triggered only when a resource is modified.
In this commit, we add a periodic reconciliation to ensure the desired state of Liqo objects.
Minor changes

added const variables for Advertisement status

Is there a reason why we use sometimes 30 seconds and sometimes 1 minute as default requeue time?

Is there a reason why we use sometimes 30 seconds and sometimes 1 minute as default requeue time?

I don't think there's a particular reason, if I'm right only the netowrk modules use 30 seconds. I think we can leave that since it's better if networking reconverges rapidly in case of errors, whereas the other operators should not need this.


Fixed so JAVA_HOME can be passed in through a init default.

Specifying JAVA_HOME in init defaults is not exported in init.d script #286

Jenkins standing by to test this. If you aren't a maintainer, you can ignore this comment. Someone with commit access, please review this and clear it for Jenkins to run; then  say 'jenkins, test it'.

jenkins, test it

Is this still pending?  I see that this should ultimately be fixed upstream, but we encountered this today (realized ES was using system Java of 1.7.0, instead of 1.8 as specified via JAVA_HOME).

Can one of the admins verify this patch?

Jenkins standing by to test this. If you aren't a maintainer, you can ignore this comment. Someone with commit access, please review this and clear it for Jenkins to run; then  say 'jenkins, test it'.

I think this is already fixed upstream, just slightly differently.
I submitted a PR which does this export in the same place as the upstream script.
https://github.com/elastic/puppet-elasticsearch/pull/408

@dforste thanks for the patch but preferred to merge #408 since its in the same place.
I still need to re-sync the upstream init scripts to be in sync again.
thanks though for your contribution!

Logstash is not start !! logstash.log indicates following
:timestamp=>"2015-12-04T13:57:33.787000+0500", :message=>"The error reported is: \n  Couldn't find any input plugin named 'lumberjeck'. Are you sure this is correct? Trying to load the lumberjeck input plugin resulted in this error: no such file to load -- logstash/inputs/lumberjeck"}
when I install lumberject by command I couldn't success !!!
./plugin install logstash-inputs-lumberjeck
Could not find any executable java binary. Please install java in your PATH or set JAVA_HOME.
Hope Expert guys will help me to resolve above issue

@asifalis You need to have a java install to run logstash. Did you install Java or have it installed somewhere? If you do simply export JAVA_HOME=/path/to/your/java and the plugin should work.

I solved my Java issue, now I am faced the an other issue, when I start the logstash, it was started for few second and then stoped ! logs indicates the following .
[root@centos ~]# tailf /var/log/logstash/logstash.log
{:timestamp=>"2015-12-04T18:32:56.863000+0500", :message=>"The error reported is: \n  Couldn't find any input plugin named 'lumberjeck'. Are you sure this is correct? Trying to load the lumberjeck input plugin resulted in this error: no such file to load -- logstash/inputs/lumberjeck"}
{:timestamp=>"2015-12-04T18:37:26.323000+0500", :message=>"The error reported is: \n  Couldn't find any input plugin named 'lumberjeck'. Are you sure this is correct? Trying to load the lumberjeck input plugin resulted in this error: no such file to load -- logstash/inputs/lumberjeck"}
{:timestamp=>"2015-12-04T18:40:18.941000+0500", :message=>"The error reported is: \n  Couldn't find any input plugin named 'lumberjeck'. Are you sure this is correct? Trying to load the lumberjeck input plugin resulted in this error: no such file to load -- logstash/inputs/lumberjeck"}
{:timestamp=>"2015-12-04T18:42:46.561000+0500", :message=>"The error reported is: \n  Couldn't find any input plugin named 'lumberjeck'. Are you sure this is correct? Trying to load the lumberjeck input plugin resulted in this error: no such file to load -- logstash/inputs/lumberjeck"}
:(


Domibus

As Domibus was added again as third party in the Fiware catalog do you plan to add a Domibus chart?
I found an helm chart  example in:
https://github.com/dladlk/delis/tree/dev/delis-test-server/helm

Hi @bhack ,
we don't have such plans, yet. But we are open for contributions, so a PR would be welcome:)

As @dladlk has done the majority of the work there it could be interesting if they are interested to "upstream" it here and on https://artifacthub.io/

The main challenge with Helm was to have some convenient way to customize domibus.properties

Yes It is not a challenge for HELM only but also for a more traditional deployment as you need to maintain patching scripts over the default conf.


Split js/shelter.js

Split file js/shelter.js into files js/aes.js and js/FileSaver.js as well as added them to the index file.

Thanks!


Remove forced namespace creation on kube-prometheus-stack

Description
Please provide a clear and concise description of the issue you are encountering, and a reproduction of your configuration (see the examples/* directory for references that you can copy+paste and tailor to match your configs if you are unable to copy your exact configuration). The reproduction MUST be executable by running terraform init && terraform apply without any further changes.
If your request is for a new feature, please use the Feature request template.
Building namespaces should be optional in kubernetes-addons. kube-prometheus-stack creates a namespace as part of it's deployment. https://github.com/aws-ia/terraform-aws-eks-blueprints/blob/main/modules/kubernetes-addons/kube-prometheus-stack/main.tf#L8
I recommend modifying the kube-prometheus-stack addon to match other addons. Ex:
locals {
    create_namespace = try(var.helm_config.create_namespace, true) && local.namespace_name != "kube-system"`
}

resource "kubernetes_namespace_v1" "prometheus" {
  count = local.create_namespace ? 1 : 0

  metadata {
    name = local.namespace_name
  }
}

[x] ✋ I have searched the open/closed issues and my issue is not listed.

⚠ Note
Before you submit an issue, please perform the following first:

Remove the local .terraform directory (! ONLY if state is stored remotely, which hopefully you are following that best practice!): rm -rf .terraform/
Re-initialize the project root to pull down modules: terraform init
Re-attempt your terraform plan or apply and check if the issue still persists

this is now resolved in #130


Add related as another benchmarking test case?

Hi all,
I am working on a fairly large legacy code base that depends heavily on the Python library related. This library is used to create nested object models that can be serialized into and de-serialized from nested Python dictionaries. It is based on the Python library attrs. Therefore, it can be considered as an alternative to cattrs.
Originally we used related to parse relatively small XML files (a few hundred lines). But over time these files became larger and larger, sometimes reaching 100k+ lines. Therefore, performance became an issue. So I considered switching from related to something like pydantic or fork related and improve the lib itself.
Long story short: I implemented a new benchmarking test case for related and think it might be useful for others. If not, feel free to close this issue/ associated PR.
With kind regards,
Leon

Hi @M0r13n
Thank you for your politeness (something sometimes forgotten in OSS) :)
As said on the linked PR, we can't accept this sorry.
Have a great weekend


[Parse] Handle edge case of '@unknown' for switch case

Previously, hit assertion if @unknown has argument clauseswitch something {
@unknown(garbage) case _:
   ...
}

Diagnose multiple @unknown for single caseswitch something {
@unknown @unknown case _:
   ...
}

Don't discard @unknown even if another invalid attribute is presentswitch something {
@unknown @garbage case _:
   ...
}

Also, removed unused SwitchUnknownLabel from libSyntax.

@swift-ci Please smoke test

@swift-ci Please smoke test

@swift-ci Please. smoke test

@swift-ci Please smoke test


COPY FROM RETURN SUMMARY should not throw when parsing illegal data but exit gracefully with a message

Use case:
when copying a csv containing an illegal string (with return summary specified), I expect graceful exit with an error message in the summary
Feature description:
$ cat /tmp/t.csv
obj
"{"x":1}"

cr> CREATE TABLE csv (obj OBJECT);
CREATE OK, 1 row affected  (0.182 sec)

current behaviour:
cr> COPY csv FROM '/tmp/t.csv' RETURN SUMMARY;
RuntimeException[Unexpected character ('x' (code 120)): Expected column separator character (',' (code 44)) or end-of-line
 at [Source: (com.fasterxml.jackson.dataformat.csv.impl.UTF8Reader); line: 1, column: 5]]

want:
+---------------------------------------------------------+--------------------+---------------+-------------+-----------------------------------------------------------------------------------------+
| node                                                    | uri                | success_count | error_count | errors                                                                                |
+---------------------------------------------------------+--------------------+---------------+-------------+-----------------------------------------------------------------------------------------+
| {"id": "m02LrGfbSVimenoB06iAJw", "name": "Diedamskopf"} | file:///tmp/t.csv  |             0 |           1 | {"Cannot cast value `'.....'` to type `object`": {"count": 1, "line_numbers": [1]}} |
+---------------------------------------------------------+--------------------+---------------+-------------+-----------------------------------------------------------------------------------------+
COPY 1 row in set (0.005 sec)

all 5 variants listed in #10961 should be handled

I created a draft for gracefully failing any of 7 variants posted by @proddata (first 5 with extra surrounding quotes and other 2 without)
obj

1. "{""x"":1}" // works
2. "{"x":1}"   // used to fail with RuntimeException[Unexpected character, fails gracefully locally
3. "'{""x"":1}'" // fails gracefully
4. "{"x" = 1}"  // used to fail with RuntimeException[Unexpected character, fails gracefully locally
5. "{""x"" = 1}" // fails gracefully
6. {""x"":1} // fails gracefully
7. {"x":1}  // works

which of 2-6 should be actually succeeding and not failing with Cannot cast value ... to type object``?

1 and 7 should definitely succeed.
2-6 should fail gracefully
What about
{"x" = 1}
{x = 1}

SELECT {x = 1}, {"x" = 1}

What about
Added to the list above


Render cards in content list

People who want to see Cards, e.g. on the homepage
Before:

After:

Is it worth putting in a test for the homepage that we remember to render cards here?

They may not always be there, depends on what the content editors add


[TS] Ensure ToggleVisibility interacts with separators and bleed correctly

Automatically generated task. Any updates to the title and body will be overwritten. Do NOT modify the labels.
TS fix of #2600

Already works correctly 👌


Feedback

@micchickenburger , I think we are all good here! Check it out.

Closed due to messed up git history.


User experience

Can not change sound volume, so its quit.
Can not minimize to tray.
Would be awesome to see small to-do manager inside this app

Thanks for the feedback!

Volume control is generally handled by system volume, but it may be worthwhile adding a volume slider to the app. Adding this to the project board.
This has been added the project road map and is planned as a feature. See Issue #2.
I would like to keep the scope of the application tight, so I don't anticipate adding a to-do list feature unless there is strong community desire for it.


fix: Include split.tag||color in SplitTag key

Fixes #16

This will not fix issue 16.
Issue 16 is not a bug. TextAnnotateBlend only supports a single overlap.

2 overlapping tags create logical and challenges to the notion of what exactly a ''blend" is.


Brave doesn't work with themes

I don't know if it is a Pop!_OS problem or a brave problem but I can only set the hacker theme, no images
Screencast from 11-20-2023 06:30:55 PM.webm
idk know where the mouse went lol

Alright thank you for that!


Azure Kubernetes Service RBAC Writer/Reader vs Kubernetes RBAC rolebindings

My understanding is that Azure Kubernetes Service RBAC settings are meant for managing Azure resources related to kubernetes deployment (basically calling any az aks operations) and that for any access control for resources within kubernetes cluster, Kubernetes RBAC approach (using Roles/Cluster roles and Bindings) should be used while it is possible to use AAD entities. Please can you extend the article and describe what is the difference between  using Azure Kubernetes Service RBAC Writer/Reader and controlling access with Kubernetes RBAC and using for instance view and edit Cluster Roles?

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

ID: 42afd8de-b697-100c-98c7-ae8e6a6f1b92
Version Independent ID: 81674054-0ea2-210b-2e65-18a0f15617c1
Content: Manage Azure RBAC in Kubernetes From Azure - Azure Kubernetes Service
Content Source: articles/aks/manage-azure-rbac.md
Service: container-service
GitHub Login: @palma21
Microsoft Alias: jpalma

@MarekLani
Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate.

@palma21
Can you please check and add your comments on this doc update request as applicable.

Hi @MarekLani - thanks for your feedback and apologies for the delayed response. I'm working on doc updates now and have included links to information about Kubernetes RBAC and Azure RBAC for Kubernetes Authorization so the differences can be explored. Thanks again and I will now close this GitHub issue.
#please-close


Update config.json

Added support for 4 names that are usually used when mdadm RAID is running.

Thanks!


Support for arm64

Hey @bshi
Hope you are doing well. I'm running into an issue when using this package with arm64 (M1). It looks like we need to add a kubetctl srcs for @bazel_tools//src/conditions:darwin_arm64 and @bazel_tools//src/conditions:linux_aarch64 (for docker images compiled on arm64).

Can we use the same Darwin amd64 binary and rely on M1 Rosetta (?) in the short term?

Accidentally closed.  Re-opening.

The examples/ dir builds & tests fine on my M1 so I think #12 is sufficient to resolve this for docker Linux environments on M1?

Hey guys- getting the following error when trying this on an M1.  It works fine on intel:
/root/.cache/bazel/_bazel_root/398f1c4e683b44a3cb982222eee13456/external/com_benchsci_rules_kustomize/BUILD:25:10: no such package '@kubectl_linux_arm64//file': The repository '@kubectl_linux_arm64' could not be resolved and referenced by '@com_benchsci_rules_kustomize//:kubectl_bin

I tried poking around to figure out where the files are supposed to be but I'm a bazel amateur so I didn't make too much progress.  Any suggestions on some troubleshooting steps?

@crusyn can you provide more details or a minimal repro case (e.g. in examples)?  I cannot reproduce:
benchsci/rules_kustomize/examples$ bazel test //...
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
INFO: Analyzed 23 targets (33 packages loaded, 331 targets configured).
INFO: Found 18 targets and 5 test targets...
INFO: Elapsed time: 26.911s, Critical Path: 2.21s
INFO: 36 processes: 22 internal, 14 darwin-sandbox.
INFO: Build completed successfully, 36 total actions
//proj-1/cluster-a/stage:golden                                          PASSED in 0.3s
//proj-1/cluster-a/tools:golden                                          PASSED in 0.6s
//proj-2/cluster-b/prod:parallel_test                                    PASSED in 0.2s
//proj-2/cluster-b/prod:prod.golden                                      PASSED in 0.1s
//proj-3/cluster-c/prod:golden                                           PASSED in 0.7s

Executed 5 out of 5 tests: 5 tests pass.
There were tests whose specified size is too big. Use the --test_verbose_timeout_warnings command line option to sINFO: Build completed successfully, 36 total actions

on
benchsci/rules_kustomize/examples$ uname -a
Darwin deathstar2.local 21.5.0 Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:37 PDT 2022; root:xnu-8020.121.3~4/RELEASE_ARM64_T6000 arm64

and
bshi@deathstar2 benchsci/rules_kustomize/examples$ bazel version
Bazelisk version: v1.10.1
Build label: 4.2.0
Build target: bazel-out/darwin_arm64-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Wed Aug 18 12:54:05 2021<PHONE_NUMBER>)
Build timestamp:<PHONE_NUMBER>
Build timestamp as int:<PHONE_NUMBER>

lolz.  The error was pretty plain we were missing:
http_file(
  name = "kubectl_linux_arm64",
  executable = True,
  sha256 = "4eadbeabc8b8584d923d54648bd19eb869ac9b7150c8f41cd217c937f49c718b",
  urls = ["https://storage.googleapis.com/kubernetes-release/release/v1.19.11/bin/linux/arm64/kubectl"],
)

in our WORKSPACE file.  Was so hard to repro because I tried it outside of my linux container and it worked :)

I think we can close this issue.


Add RoleEligibilityScheduleRequest

This adds initial support for the RoleEligibilityScheduleRequest resource.
Graph API Reference:

https://learn.microsoft.com/en-us/graph/api/rbacapplication-list-roleeligibilityschedulerequests
https://learn.microsoft.com/en-us/graph/api/rbacapplication-post-roleeligibilityschedulerequests
https://learn.microsoft.com/en-us/graph/api/unifiedroleeligibilityschedulerequest-get

I had to skip the implementation of https://learn.microsoft.com/en-us/graph/api/unifiedroleeligibilityschedulerequest-cancel API because it requires the status to be set to Granted. However, I could not find a programmable way to set the status to Granted.


Mac: Measure performance impact of switching to sparse-files

We've seen reports of updating placeholders taking a long time on Mac.  This could be due to having to write out an empty file that's the same size as the file in the repo.
Experiment with sparse files on APFS and see how much of a difference this makes.

@nickgra do you remember if any performance testing of sparse-files was done when prototyping VFS4G on Mac?

@wilbaker I dug up my notes from the early days and while nothing was formally done, hydrating a large set of files with the MirrorProvider before sparse-files and after went from ~7 minutes to ~2 minutes.
We ended up dropping the investigation due to concerns over having to support two code paths and that some tools that ship with Xcode didn't seem to handle sparse files correctly.
Things have evolve a lot since then, I believe this is a good time to revisit that code change and get performance numbers.

D'oh, I saw the PR before this issue, so I've already commented there.
HFS+ doesn't support sparse files, the closest thing to them there is to use its compression support. This amounts to writing a zlib[1]-compressed blob to a special xattr, which effectively replaces the file contents with that data. Compressing a giant blob of zero bytes should be reasonably fast, of course you could do it faster by specifically crafting the byte stream with repeated 64KiB (IIRC) all-0 DEFLATE blocks.
I'm not sure there's a difference between ftruncate() vs seek-and-write on APFS (Other than that seek-and-write presumably creates at least one non-sparse block at the end.), would need to check. The du utility isn't terribly useful for this on macOS unfortunately.

Closing, as we no longer use ftruncate to create placeholders of specific sizes


Add validation for bounding boxes

This PR aims to provide some sanity checks on bounding boxes with helpful error messages in case they are malformed in either min/max ordering or in terms of the number of values (4 or 6 being absolutely required)

@moradology that's said, this will only the bbox attribute of a geometry, not the geometry coordinates itself.

Would it be desirable for me to add some geometry validation as well? If so, I wonder if you have some ideas about what features of vectors would be worth checking (and not be likely to add undesirable performance penalties)


Disable legend clicking option

Clicking the legends to show or hide the data in the graph is great -- mostly. It's terrible when there's just one, for example. It would be great if there was an option to disable that when there's only one.

@masayuki0812 your solution overwrites the onclick function, but I still think it's misleading that the user can click the legend and the cursor changes on hover. An option to disable the onclick for legends would be great

IMHO this is still a problem.
A workaround, is to use CSS to hide the button
.c3-legend-item {
  display: none;
}

This would be better
    .c3-legend-item {
        cursor:default !important;
    }


Pr.libogg

I've tested this package remotely and have excluded all broken builds.
Here is the links to the Travis/AppVeyor with status "All passed":

https://ci.appveyor.com/project/jhs67/hunter/build/1.0.16
https://travis-ci.com/jhs67/hunter/builds/74148092

Update libogg to 1.3.3 and set include path in the installed cmake configuration.

Testing:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.4004
https://travis-ci.org/ingenue/hunter/builds/382375598?utm_source=github_status&utm_medium=notification

Uploading:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.4005
https://travis-ci.org/ingenue/hunter/builds/382391837?utm_source=github_status&utm_medium=notification

Released: https://github.com/ruslo/hunter/releases/tag/v0.21.11


test for metadata existence in from_metadata

This prevents an esoteric error deep inside Crypto (Only byte strings can be passed to C code). It's just a simple test, in the future it might be worthwhile to validate the data (especially matdesc, which gets json-decoded).
removing the get(.., None) argument, as None is the default when get(..) is called.
add pip artifacts to gitignore.

Fixes #2

Looks good, I'm going to merge and add a simple test before cutting a new release.
Thanks for the PR!


Question about streaming

Hi Guys,
I am giving it a try to your sdk and have a question related to streaming. Will the sdk try to reconnect in case the connection is dropped due to errors? In here the guys from stellar recommend to use their sdk because for some errors the event source object will not reconnect.
Thanks in advance!

Hello,
I've never tried this, but this should work exactly as the EventSource javascript library, so my guess would be that it would not reconnect in those cases, however you can give it a try. If you get a specific case we can investigate this further.


Event type extensions for adopting tools

Tools that adopt CDEvents may already have a set of events that they generate, and some of the existing events may not have a corresponding one in CDEvents.
In some cases it may be possible to add those events into the spec, however, in other cases, it may not be an option, as the events in question may be product-specific and (or) not relevant from an interoperability point of view.
CDEvents should provide a mechanism for such tools to adopt CDEvents without having to renounce those custom events and without having to ask consumers to adopt different SDKs for different event types.
A possible solution could be:

Define a dev.cdeventsx namespace
Tools MUST use that namespace to define their custom events
The event types MUST follow the following rules:

The overall structure must be compatible with https://github.com/cdevents/spec/blob/v0.3.0/spec.md#type-context, expect for the dev.cdeventsx namespace instead of dev.cdevents
The subject MUST be in the format <tool-name>-<subject-name> to avoid conflicts across tools

Tools MAY host the schema for the events
The CDEvents SDK must be able to parse partially custom events, validating the context part and returning a raw payload for the subject

This somewhat relates to #91 and #147

Indeed, this is a duplicate of #147 (I forgot that I filed that already) and related to #91, as having a link to the schema is especially interesting for custom events.

To provide an example, this is the list of events provided by Harbor

Related to #143 and #144 too.

In https://github.com/cdevents/spec/pull/172 I'm proposing a few new CDEvents:

artifact pulled
artifact deleted

I plan to add an artifact scanned events, that through different outcomes will cover the three scanning events.
I don't see however CDEvents adopting operational events like "Quota near threshold", "Quota exceeded", "Replication statuts changed" or "Tag retention finished". These four could be implemented by Harbor using the dev.cdeventsx.harbor namespace.
What I'm proposing with this issue is to:

document in the spec that dev.cdeventsx.<tool-name> is the recommended way to add non-interoperability related events
(optionally): support parsing the context of dev.cdeventsx events in the SDKs
(optionally): support a schema field in the context so that the schema for custom events may be supplied - see #91


Documentation

Things are missing from the wiki. If you find something that is only listed in a pull request or the code base please mention it in this issue. Most of these can be copy/pasted from the default.json but it doesn't hurt to add some descriptions. No ETA on action but I'll help when I have time.

[ ] https://github.com/WatWowMap/ReactMap/pull/660#issue-1595235180
[ ] Routes - https://github.com/WatWowMap/ReactMap/pull/781
[ ] Self hosting Uicons - https://gist.github.com/TurtIeSocks/e381d96057369b9fa3557ec56407a7bf
[ ] https://github.com/WatWowMap/ReactMap/pull/766
[ ] https://github.com/WatWowMap/ReactMap/wiki/10.-Development-Instructions

"devOptions.queryDebug in config" to output raw SQL Queries.
LOG_LEVEL = debug

[ ] TrialMode could be spelt out a little clearer. https://github.com/WatWowMap/ReactMap/pull/661

If you want to help update documentation ping Turtle or clburlison in discord.

Move to standalone documentation site when?


fix exitCode type

What does this PR do?
This PR changes

container exitCode type to *int32
ecs task health exitCode type to *int32.

They were *uint32. Agent can error out if exitCode is -1 .
7.53.x backport https://github.com/DataDog/datadog-agent/pull/25770
7.54.x backport https://github.com/DataDog/datadog-agent/pull/25784

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


change to the right "workdir", when opening adoc file

I would like to request an improvement.
When starting AsciidocFX by opening an ".adoc" file, please change "Workdir" automaticly to the folder of the file.

Hi @seriouslyEnter, workdir may be different to the opened file. You should manually use Refresh button to change workdir as opened doc's parent directory.


Search results should match those of Apple Maps’ search

Searches that produce concrete locations on Apple Maps produce none in GeoTag. I would have expected both to produce the same ones.
Steps to reproduce:

Open GeoTag.
In the search box in the map panel, enter "京橋築地小学校" without quotation marks and press Enter.
Open Apple Maps.
In the Search box, enter "京橋築地小学校" without quotation marks and press Enter.

Expected results
GeoTag (2) and Apple Maps (4) should produce the same location.
Actual results
Apple Maps (4) produces a concrete location whereas GeoTag (2) produces none.
Notes
Similar with "埼玉県比企郡滑川町中尾947", only that, with that one, Apple Maps’ behavior is also sketchy: pressing Enter produces no location whatsoever, but before pressing Enter two pop-up locations are suggestion, the first of them being the correct one. GeoTag, as before, produces no result at all.

I can confirm that GeoTag does not provide a location for that search.   I do not know why.  GeoTag is using Apple's MapKit search functionality and I'd have expected similar results.  I say similar as I've discovered that search results are not deterministic.  Perhaps I'm doing something wrong.
Thank you for the report.

Oops.  For some reason I was limiting search results to "address" types.  When that limitation is removed the search result looks like this:

The change has been committed to the "fixes" branch and will be part of the next release, probably around the middle of next month.  Thank you again for your report.


avoid panic on missing listener during shutdown

@casualjim Can you please merge this?

Not sure this is still relevant after #1627.
https://github.com/go-swagger/go-swagger/commit/24d72651d55a6c4d45fd3c096102de290f485cfd#diff-64fa288ba1cb7159b0c8525472d92627

@fredbi is right this is superseded by the other PR


fix: support dbt path resolver in multi root workspace.

Overview
In our project, we use multi-root-workspace.
And we have installed dbt on 'dbt' workspace folder, not installed on workspace root.
In the current implementation, dbt-power-user searchs dbt of workspace root, so editor raises error in dbt_project.yml.
the error message of my editor is here:

Ideally, I would like it to use the python paths in the current edit workspace folder, but this feature is too large, so I have changed the search logic to python environments when dbt is not installed in workspace root.
Checklist

[x] I have run this code and it appears to resolve the stated issue
[ ] README.md updated and added information about my change

Can we create an issue first with clear reproduction steps?
The Python Path is set through selecting the Python interpreter, so not sure if this change is required.

Sorry, I create https://github.com/AltimateAI/vscode-dbt-power-user/issues/770 .

@yassun7010 We are testing this PR and hoping to close it by early next week.

Hey @yassun7010 - We need more information before we can ship this feature. Can you please reach out to us in the dbt community slack channel or drop me a message at anand [at] altimate [dot] ai

@anandgupta42
I contacted you via slack dm.
Is there a channel etc.. for this conversation?


Add background to Scroll indicator

The scroll indicator can end up overlapping over other elements. In the event this happens, it should have a background in order to ensure it contrasts with the background appropriately.

Added background color to increase contrast.


Skype: Not able to send file attachment to user

I am not able to send file attachment from BOT to user in Skype.
I am using BOT builder version 3.5.0.
Below is my code.
ConnectorClient connector = new ConnectorClient(new Uri(activity.ServiceUrl));
Activity reply = activity.CreateReply("blah");
reply.Attachments = new List();
Attachment attach = new Attachment();
attach.ContentType = "application/pdf";
// I can browse the below URL in browser and access the PDF
attach.ContentUrl = "https://test.azurewebsites.net/Image/Test.pdf";
attach.Name = "Test.pdf";
attach.Content = "Test";
attach.ThumbnailUrl = attach.ContentUrl;
reply.Attachments.Add(attach);
await connector.Conversations.ReplyToActivityAsync(reply);

Send files from a user to a bot is not yet supported. We are aware of this gap and will address it as early as we can.

@nickcordrey
I assume you meant send files from Bot to User.
This is something that clients are asking for. Bots can send image as attachment, but clients would also like the bot to send a file to the user.
Example scenario: User asks bot information regarding some product and Bot send the Product brochure.

Is there any update about solution?

any updates? I am also facing the same issue. My BoT is able to send attachments, when I test same on Emulator, bot not on skype. Please, help me out!

This would be great. Even if its a web hosted PDF. Currently my bot returns "Failed with message: Unknown attachment type"
The WebChat works perfectly tough.

Same issue here. Any updates?

I have same issue. How to send an .docx attachment to user?

I am also facing the same issue in sending pdfs. Any updates?

I am also facing the same issue. Both bot framework and Skype are Microsoft products.  Please help!!!


Update README.md

fix usage examples - rename Mathml2latex to MathMLToLaTeX

Thanks, @arivera-cb! 😅


Sept 8th discussion

--

Cowboy donations: https://salt.bountysource.com/teams/ninenines

Converting text strings to Erlang terms http://zxq9.com/archives/1354

Why Erlang is the only true computer language https://hackernoon.com/why-is-erlang-the-only-true-computer-language-4c7d1f195a02

Public/Private Key Encryption, Sign and Verification in Erlang http://marianoguerra.org/posts/publicprivate-key-encryption-sign-and-verification-in-erlang/

reminder of the survey http://bit.ly/state-of-beam-2017

On Messaging platforms https://medium.com/@5ht/connectivity-in-the-palm-ec269be4aeb3

OTP update: https://github.com/erlang/otp/pull/1490

Russell Brown's proof-of-concept open-source multi-data-center replication system for Riak: https://github.com/nhs-riak/rabl/blob/master/README.md

Someone asked for a mailing list, so I created one: http://eepurl.com/c2xmWr

Rabbit MQ and Kube: https://github.com/rabbitmq/rabbitmq-peer-discovery-k8s/tree/master/examples/k8s_statefulsets


[Feature] raw opcodes

As surfaced by issue #8, it would be good to be able to directly write opcodes from the frontend, as we can with the headers.

available using addRawOperation


I click button cannot show Popup

Hi @AmAdevs
Usually this is because the constraints of your view do not fully describe the height of the view.
SBCardPopup uses autolayout to size the card. This means that the card will always be the correct size according to your content. If your constraints do not fully describe the height of the view though autolayout will not know how large to make it.
For instance, if you set a height constraint for your view then it should start working. For most use cases, though, you would want to determine the height by setting constraints between each of your subviews. The readme has some graphics showing how to achieve this, and you can also take a look at the example application.
If you have a code snippet that you can show then I'd be happy to take a look.

this constraint of tableViewCell


Built-in way to coerce null to undefined

Right now I'm doing something like this:
const coerceNullToUndefined = <Type>(value : Type | null | undefined) : Type | undefined => {
    return value === null ? undefined : value;
};

const apiResponseSchema = z.object({
    name: z.string().nullish().transform(coerceNullToUndefined)
});

That makes the resulting value a little more sane; I don't have to worry about dealing with both null and undefined.
It would be awesome if it was possible to have a built-in way to do this, like:
const apiResponseSchema = z.object({
    name: z.string().nullish().coerceNullToUndefined()
});

A little cleaner way to do this is:
const schema = z.string().nullish().transform( x => x ?? undefined )
type Data = z.infer<typeof schema>
// type Data = string | undefined

console.log( schema.parse( 'foo' ) ) // 'foo'
console.log( schema.parse( null ) ) // undefined
console.log( schema.parse( undefined ) ) // undefined


[enhancement] Unable to individually Name Release Assets

Building two .msi packages. One for Windows 11 & one for Windows 10, due to this when we go to publish the action creates a race condition and only uploads one of the two .msi packages (as they are the same name). An easy work around for this would be to be able to add a variable to the asset name such as "matrix.platform" or something along these lines.
My suggestion is to simply add assetName: as an option on the publish portion of the workflow.

We would like to have this for https://github.com/padloc/padloc as well, in order to format the release assets in a consistent format with all other assets.


Update cpp.md

Correction of real time diarization documentation error for c++:

SpeechRecognitionEventArgs replaced by ConversationTranscriptionEventArgs.
*SpeechRecognitionCanceledEventArgs replaced by  ConversationTranscriptionCanceledEventArgs

@eric-urban
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


1.9.0 Color icon not showing

Required information

[x] Mac model: MBP 16
[x] macOS version: 10.15.4
[x] Monitor setup: 16 inch

Description of issue / Feature request
Hi!
Thanks for the update.
Testing different configurations, I final was able to show the weather icon on my Aerial SS! Yeah!
So, when setting to any specific or current location, and hit test, the weather information is correctly grabbed from Yahoo, and displayed in the test window. The issue is with the icon, it seems. Selecting 'Flat' icon works nicely. But, if choosing 'Color' icon, somehow the icon is not displayed in the test window nor within the Aerial SS screen.
Some issue with fetching or displaying the 'Color' icons, perhaps?

Hi again @DrMORO617 !
That's interesting, basically if you pick the color option, Aerial will try to download the requested icon from yahoo (us) servers. It looks like this here in France :

Is it possible that you are behind a firewall or something ? Are you in Japan or somewhere else right now ? I just checked again here and it works as expected. To give you an idea, the URL that Aerial tries to load is, for example : https://s.yimg.com/zz/combo?a/i/us/nws/weather/gr/28d.png
Can you check if that one opens in your browser ? If it does, I'd love to see Weather entry in the AerialLog.txt. Near the end you'll see something like:
2020-05-25 13:47:24.143 : === YW: API callback success
2020-05-25 13:47:24.144 : {"location":{"city":"Le Havre","region":" Upper Normandy","woeid":12727313,"country":"France","lat":49.481911,"long":0.14028,"timezone_id":"Europe/Paris"},"current_observation":{"wind":{"chill":17,"direction":295,"speed":8.0},"atmosphere":{"humidity":68,"visibility":16.1,"pressure":1030.0,"rising":0},"astronomy":{"sunrise":"6:02 am","sunset":"9:51 pm"},"condition":{"text":"Partly Cloudy","code":30,"temperature":17},"pubDate":1590404400},"forecasts":[{"day":"Mon","date":1590357600,"low":9,"high":19,"text":"Partly Cloudy","code":30},{"day":"Tue","date":1590444000,"low":11,"high":21,"text":"Sunny","code":32},{"day":"Wed","date":1590530400,"low":12,"high":21,"text":"Sunny","code":32},{"day":"Thu","date":1590616800,"low":13,"high":21,"text":"Sunny","code":32},{"day":"Fri","date":1590703200,"low":13,"high":22,"text":"Sunny","code":32},{"day":"Sat","date":1590789600,"low":13,"high":23,"text":"Partly Cloudy","code":30},{"day":"Sun","date":1590876000,"low":14,"high":21,"text":"Partly Cloudy","code":30},{"day":"Mon","date":1590962400,"low":14,"high":20,"text":"Partly Cloudy","code":30},{"day":"Tue","date":1591048800,"low":13,"high":20,"text":"Partly Cloudy","code":30},{"day":"Wed","date":1591135200,"low":13,"high":20,"text":"Partly Cloudy","code":30}]}
2020-05-25 13:47:24.145 : Condition : Condition(text: "Partly Cloudy", code: 30, temperature: 17)

If you could paste those I can double test here. Thanks !

Is it possible that you are behind a firewall or something ?

Wait a minute...
D'oh!!! My Little Snitch has somehow 'denied'  out going communications to 'yimg.com'.
Allowed access, and Presto! Color icons start showing!
Sorry about that. My unintended bad.
Case closed.

No worries at all, if you are concerned about privacy, I recommend you use the flat icons. I'm using the SF Symbols icons from Apple that they introduced last year at WWDC : https://developer.apple.com/design/human-interface-guidelines/sf-symbols/overview/
The color set however is the "default" Yahoo weather icon set and requires network.
Thanks for reporting this, it will be helpful to me when other Little Snitch users have the same issue.
Take care !


Update MPSCNN code to the latest API

This fixes code in mpscnn that wasn't compiling before.
However I had to comment-out some tests because some of them don't have corresponding CPU kernel, correct me If I searched bad.

@ajtulloch Andrew - would you mind taking a look?

This is now obsolete with our recent ios sync - @s1ddok if you'd like to kindly give the new contrib/ios a shot that would be great :)


Add fee and limit-related configuration XDR

The changes are based on CAP-0046-07.

there are some minor details I can imagine discussing/debating

Please let me know - for now my goal is to just introduce parameters from the CAP that we can use/tune (this is going to be a gradual process).


add SVF for c and c++

SVF a static tool that enables scalable and precise interprocedural dependence analysis for C and C++ programs. SVF also implements some common checker like  MemoryLeakChecker or SourceSinkChecker.

Thanks @lujiefsi. ⭐


Install dnf-plugin-protected-kmods in Rocky Accelerators

Will filter out kernel updates that are incompatible with critical kmods. Will make things easier for users when upgrading.
/cc @jjerger @zmarano
/hold

This will be pulled in by a soft dependency. This will make upgrading to RESF repos later where it may or may not be available easier.


Guest component providing dynamic WAMP-CRA authentication procedure

As described in Corssbar WAMP-CRA dynamic authentication docs:

The return value must be a dictionary with two mandatory attributes:

secret: The secret shared with the client (possibly after salting)
role: The authrole to assign to the client if successfully authenticated

The authentication procedure I registered is defined as this (the result is a std::map):
void authenticate(autobahn::wamp_invocation invocation) {
  auto authid = invocation->argument<std::string>(1);
  std::map<std::string, std::string> result {
    { std::string("secret"), std::string("abc") },
    { std::string("role"), std::string("user") }
  };
  invocation->result(result);
}

And I got this error with the client trying to authenticate via the WAMP-CRA authentication:
RX message: abort [{"message":"got invalid return type \"<class 'autobahn.wamp.types.CallResult'>\" from dynamic authenticator"}, "wamp.error.authentication_failed"]
How shall I return the secret and role in the authenticate procedure here? Can't find any example code, please allow me asking here.

I figured out that you have to return a std::tuple of a std::map:
std::map<std::string, std::string> result;
result["secret"] = secret;
result["role"] = role;
result["salt"] = salt;
invocation->result (std::make_tuple (result));

Yeah, a dynamic authenticator is supposed to return a single positional value (hence the tuple of length 1), and that value needs to be a map. Sorry for leaving you in the rain and guessing ..
We should add an example. We have one for authenticating a client (https://github.com/crossbario/autobahn-cpp/blob/master/examples/wampcra.cpp), but we don't have one for a dynamic authenticator in C++


Field type 'TableFilter' issues

This code results in an error and a warning:
Error: 'Syntax error, string literal expected'
I don't understand the error, the "Table No." is a field in the same table.
Warning; 'Property 'TableIDExpr' is obsolete and will be removed in a future version.'
Maybe it's needed to add a property TableNameExpr?
field(12;"Table No.";Integer)
{
  CaptionML=ENU='Table ID';
}
field(13;"Table Filter";TableFilter)
{
  CaptionML=ENU='Table Filter';
  TableIDExpr="Table No.";
}

Hi @bvbeek,
We are now considering to drop support for the TableIDExpr property.
Could you share more details about your use case?
How does the TableIDExpr property help you solve the problem?
Are there any other ways to solve the problem?

Hi Dennis,
I check this in our solution, and I can confirm that we can create a workarround for this.
You can close this for now!


Add a solution for the Error Triage exercise

Closes #27

Submitted to Base Goërli: https://goerli.basescan.org/address/0xcA14B919392e5d99b91886E5225eA728cbaF63a5#code


Run detekt as a GitHub action

Please have a look at the individual commit messages for the details.

@mnonnenmacher, as esp. Gradle caching seems much easier with GitHub actions thanks to https://github.com/burrunan/gradle-cache-action I believe we should also switch all other Azure Pipelines to GitHub actions if this PR works well.

@mnonnenmacher, as esp. Gradle caching seems much easier with GitHub actions thanks to https://github.com/burrunan/gradle-cache-action I believe we should also switch all other Azure Pipelines to GitHub actions if this PR works well.

I totally agree, however, for the test jobs we need a way to show the test results, and I did not have time yet to check if the different options available would work for us.

I totally agree, however, for the test jobs we need a way to show the test results, and I did not have time yet to check if the different options available would work for us.

That's fine, we don't need to do this now. But can we merge this PR as-is from your side? Note that the "Run StaticAnalysis" failure is bogus, as that Azure job was removed, but it's still marked as mandatory in the GitHub settings. That is something I'd change after the merge.