Allow keyboard navigation even when text input is not focused

Bug
When the search input is not focused, the navigation keys don't work as expected. In the screencap below, I click elsewhere inside the palette and press the up/down arrow keys, but it scrolls the list/page instead of navigating through the list items.
https://user-images.githubusercontent.com/24620401/199450737-08094588-e54a-40c2-aeb7-56b2b55d654c.mov
Fix
This fix allows the cmdk-root div to capture the navigation keybindings. This also allows the developer to use a custom search input outside the context of <Command>...</Command> (which is my use-case 😋)

Any updates on this? We are experiencing the same issue.

Would love this feature as I am looking to exactly the same thing.

Same here. Would love to have this feature

+1


Exception: java.lang.RuntimeException: java.io.IOException: java.net.UnknownHostException: login.microsoftonline.com

We are getting Exception: java.lang.RuntimeException: java.io.IOException: java.net.UnknownHostException: login.microsoftonline.com
Stack trace:
java.net.UnknownHostException: login.microsoftonline.com
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184) ~[?:1.8.0_152]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.8.0_152]
at java.net.Socket.connect(Socket.java:589) ~[?:1.8.0_152]
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:673) ~[?:1.8.0_152]
at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173) ~[?:1.8.0_152]
at sun.net.NetworkClient.doConnect(NetworkClient.java:180) ~[?:1.8.0_152]
at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) ~[?:1.8.0_152]
at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) ~[?:1.8.0_152]
at sun.net.www.protocol.https.HttpsClient.(HttpsClient.java:264) ~[?:1.8.0_152]
at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367) ~[?:1.8.0_152]
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191) ~[?:1.8.0_152]
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1156) ~[?:1.8.0_152]
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1050) ~[?:1.8.0_152]
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177) ~[?:1.8.0_152]
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1334) ~[?:1.8.0_152]
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1309) ~[?:1.8.0_152]
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:259) ~[?:1.8.0_152]
at com.microsoft.aad.adal4j.AdalOAuthRequest.configureHeaderAndExecuteOAuthCall(AdalOAuthRequest.java:140) ~[adal4j-1.1.2.jar:1.1.2]
at com.microsoft.aad.adal4j.AdalOAuthRequest.send(AdalOAuthRequest.java:83) ~[adal4j-1.1.2.jar:1.1.2]
at com.microsoft.aad.adal4j.AdalTokenRequest.executeOAuthRequestAndProcessResponse(AdalTokenRequest.java:80) ~[adal4j-1.1.2.jar:1.1.2]
at com.microsoft.aad.adal4j.AuthenticationContext.acquireTokenCommon(AuthenticationContext.java:818) ~[adal4j-1.1.2.jar:1.1.2]
at com.microsoft.aad.adal4j.AuthenticationContext.access$100(AuthenticationContext.java:66) ~[adal4j-1.1.2.jar:1.1.2]
at com.microsoft.aad.adal4j.AuthenticationContext$1.call(AuthenticationContext.java:174) ~[adal4j-1.1.2.jar:1.1.2]
at com.microsoft.aad.adal4j.AuthenticationContext$1.call(AuthenticationContext.java:163) ~[adal4j-1.1.2.jar:1.1.2]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_152]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_152]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_152]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_152]

I am also using using proxy to connect to the internet. And I am currently getting this error when using the azure calls by running an application (spring boot) locally.. The code was downloaded from the Sample GIT projects as below,
URL of the first sample Project: https://docs.microsoft.com/en-us/java/azure/spring-framework/configure-spring-boot-starter-java-app-with-azure-active-directory?view=azure-java-stable
URL of the second sample Project https://github.com/Azure-Samples/aad-java-manage-users-groups-and-roles
While running both of the above sample projects to connect with Azure, we are getting the Exception as : Caused by: java.net.UnknownHostException: login.microsoftonline.com
Later tried at home, where there is no Proxy to connect to the internet, and then am able to successfully get output for the second sample project without this "UnknownHostException" error. So at this point it seems this UnknownHostException is related to the proxy (i.e) where the system uses proxy settings to connect to the internet.
For more information of this similar exception you may also refer the URL https://github.com/Azure/azure-sdk-for-java/issues/942

I am facing the exact same issue:
I have used basic example: https://github.com/Azure-Samples/azure-cosmos-db-cassandra-java-getting-started
I am getting unknown host, telnet is working fine the same host & port.
Please let me know, If this is resolved..?

hi @ChenTanyi  could you pls have a look? I think this should be adal libraries issue, which is in runtime.

UnknownHostException is a network issue, which means the client cannot query the DNS address of login.microsoftonline.com successfully. I think it is not the libraries issue.
And after reading these two issue related, it is likely the problem when running libraries behind a proxy.
@vaibhavkulkar @anil-kapoor Can you tell me about your network status when meeting this error? If you are using a proxy and cannot request Internet directly which means your proxy is not a system proxy. You could try to add proxy in the credential:
ApplicationTokenCredentials credentials = ApplicationTokenCredentials.fromFile(credFile);
credentials.withProxy(new Proxy(Proxy.Type.HTTP, new InetSocketAddress("<IP_ADDRESS>", 8888)));

Close as no response. If there is still same problem, feel free to reopen it again.

I am having the same issue, I deployed my web app in the kubernetes cluster and use Azure digital twin as storage. But for mine, it throws this exception at first and works after I refresh the page. If it is a proxy issue, why would it fixed itself?

@jinyanghuang It is not a proxy issue. UnknownHostException is a network issue, which is caused by DNS lookup error. Proxy is just a problem that could cause such error, since some of the people above said they are behind a proxy.
You could do a DNS lookup before you executing the SDK, then you could know whether it is the DNS / Network error or the SDK error. I've no idea about what your network looks like. Thus, cannot give useful advise.
One of the possible solution is you could use a proxy which can access both your web app and the public network.
(PS: if it only fails the first time, maybe it is because the DNS service of your kubernetes cluster is not up at that time.)


removed maratis.rb

Website down. Lets wait.
Needs download url verified.

Website is back online. @vitorgalvao, shall we recycle this PR for third-party url comment?

On it. Will create a new PR since the branch’s name would be a little weird for changing the cask as opposed to actually removing it. Thank you for checking.


LXC container does not start up after isolating user ids - Error: Common start logic: Failed to change ACLs on /var/snap/.../rootfs/var/log/journal

The issue seems to happen for older containers only (around mid May 2020).
I'm not sure if it is worth the effort to track the issue...

Required information

Distribution: ubuntu-20.04
Distribution version: 20.04
The output of "lxc info"

config: {}
api_extensions:
- storage_zfs_remove_snapshots
- container_host_shutdown_timeout
- container_stop_priority
- container_syscall_filtering
- auth_pki
- container_last_used_at
- etag
- patch
- usb_devices
- https_allowed_credentials
- image_compression_algorithm
- directory_manipulation
- container_cpu_time
- storage_zfs_use_refquota
- storage_lvm_mount_options
- network
- profile_usedby
- container_push
- container_exec_recording
- certificate_update
- container_exec_signal_handling
- gpu_devices
- container_image_properties
- migration_progress
- id_map
- network_firewall_filtering
- network_routes
- storage
- file_delete
- file_append
- network_dhcp_expiry
- storage_lvm_vg_rename
- storage_lvm_thinpool_rename
- network_vlan
- image_create_aliases
- container_stateless_copy
- container_only_migration
- storage_zfs_clone_copy
- unix_device_rename
- storage_lvm_use_thinpool
- storage_rsync_bwlimit
- network_vxlan_interface
- storage_btrfs_mount_options
- entity_description
- image_force_refresh
- storage_lvm_lv_resizing
- id_map_base
- file_symlinks
- container_push_target
- network_vlan_physical
- storage_images_delete
- container_edit_metadata
- container_snapshot_stateful_migration
- storage_driver_ceph
- storage_ceph_user_name
- resource_limits
- storage_volatile_initial_source
- storage_ceph_force_osd_reuse
- storage_block_filesystem_btrfs
- resources
- kernel_limits
- storage_api_volume_rename
- macaroon_authentication
- network_sriov
- console
- restrict_devlxd
- migration_pre_copy
- infiniband
- maas_network
- devlxd_events
- proxy
- network_dhcp_gateway
- file_get_symlink
- network_leases
- unix_device_hotplug
- storage_api_local_volume_handling
- operation_description
- clustering
- event_lifecycle
- storage_api_remote_volume_handling
- nvidia_runtime
- container_mount_propagation
- container_backup
- devlxd_images
- container_local_cross_pool_handling
- proxy_unix
- proxy_udp
- clustering_join
- proxy_tcp_udp_multi_port_handling
- network_state
- proxy_unix_dac_properties
- container_protection_delete
- unix_priv_drop
- pprof_http
- proxy_haproxy_protocol
- network_hwaddr
- proxy_nat
- network_nat_order
- container_full
- candid_authentication
- backup_compression
- candid_config
- nvidia_runtime_config
- storage_api_volume_snapshots
- storage_unmapped
- projects
- candid_config_key
- network_vxlan_ttl
- container_incremental_copy
- usb_optional_vendorid
- snapshot_scheduling
- container_copy_project
- clustering_server_address
- clustering_image_replication
- container_protection_shift
- snapshot_expiry
- container_backup_override_pool
- snapshot_expiry_creation
- network_leases_location
- resources_cpu_socket
- resources_gpu
- resources_numa
- kernel_features
- id_map_current
- event_location
- storage_api_remote_volume_snapshots
- network_nat_address
- container_nic_routes
- rbac
- cluster_internal_copy
- seccomp_notify
- lxc_features
- container_nic_ipvlan
- network_vlan_sriov
- storage_cephfs
- container_nic_ipfilter
- resources_v2
- container_exec_user_group_cwd
- container_syscall_intercept
- container_disk_shift
- storage_shifted
- resources_infiniband
- daemon_storage
- instances
- image_types
- resources_disk_sata
- clustering_roles
- images_expiry
- resources_network_firmware
- backup_compression_algorithm
- ceph_data_pool_name
- container_syscall_intercept_mount
- compression_squashfs
- container_raw_mount
- container_nic_routed
- container_syscall_intercept_mount_fuse
- container_disk_ceph
- virtual-machines
- image_profiles
- clustering_architecture
- resources_disk_id
- storage_lvm_stripes
- vm_boot_priority
- unix_hotplug_devices
- api_filtering
- instance_nic_network
- clustering_sizing
- firewall_driver
- projects_limits
- container_syscall_intercept_hugetlbfs
- limits_hugepages
- container_nic_routed_gateway
- projects_restrictions
- custom_volume_snapshot_expiry
- volume_snapshot_scheduling
- trust_ca_certificates
- snapshot_disk_usage
- clustering_edit_roles
- container_nic_routed_host_address
- container_nic_ipvlan_gateway
- resources_usb_pci
- resources_cpu_threads_numa
- resources_cpu_core_die
- api_os
- container_nic_routed_host_table
- container_nic_ipvlan_host_table
- container_nic_ipvlan_mode
- resources_system
- images_push_relay
- network_dns_search
- container_nic_routed_limits
- instance_nic_bridged_vlan
- network_state_bond_bridge
- usedby_consistency
- custom_block_volumes
api_status: stable
api_version: "1.0"
auth: trusted
public: false
auth_methods:
- tls
environment:
  addresses: []
  architectures:
  - x86_64
  - i686
  certificate: |
    -----BEGIN CERTIFICATE-----
    MIICEDCCAZagAwIBAgIRAPNxCVgOoRn7JjgOIk8IUfAwCgYIKoZIzj0EAwMwODEc
    MBoGA1UEChMTbGludXhjb250YWluZXJzLm9yZzEYMBYGA1UEAwwPcm9vdEBoZXR6
    bmVyLWRlMB4XDTIwMDYzMDA3NTE0M1oXDTMwMDYyODA3NTE0M1owODEcMBoGA1UE
    ChMTbGludXhjb250YWluZXJzLm9yZzEYMBYGA1UEAwwPcm9vdEBoZXR6bmVyLWRl
    MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEysYaml3x1Sq5TmS3jSIijLAGLXsZNFzB
    DNqe5mOqBh2rxQB4OD/8vv4d5e9gTbvX6MCPuPLTw/FtIPSb9cHgnu75IiM8xx0T
    xZ1B+Jk4mJU1gRXsX0lkSKXIiEsVgez3o2QwYjAOBgNVHQ8BAf8EBAMCBaAwEwYD
    VR0lBAwwCgYIKwYBBQUHAwEwDAYDVR0TAQH/BAIwADAtBgNVHREEJjAkggpoZXR6
    bmVyLWRlhwR/AAABhxAAAAAAAAAAAAAAAAAAAAABMAoGCCqGSM49BAMDA2gAMGUC
    MQCOALzKZuS+sq/wZnBjxgQkjXexg4psEhCPicTE15Hx9heVcOUnWNwXdrtNLvJR
    ee8CMBRjnulfo4k6JroYF8O/sDhGcGyazrbZyuzGlXsfYCamOkdAFtFHvCdVh71T
    lYI4Iw==
    -----END CERTIFICATE-----
  certificate_fingerprint: d2c6bedd778628ed236d7bafc63946dad0ac94d849be4b2c120885262312177d
  driver: lxc
  driver_version: 4.0.3
  firewall: nftables
  kernel: Linux
  kernel_architecture: x86_64
  kernel_features:
    netnsid_getifaddrs: "true"
    seccomp_listener: "true"
    seccomp_listener_continue: "true"
    shiftfs: "false"
    uevent_injection: "true"
    unpriv_fscaps: "true"
  kernel_version: 5.4.0-40-generic
  lxc_features:
    cgroup2: "true"
    mount_injection_file: "true"
    network_gateway_device_route: "true"
    network_ipvlan: "true"
    network_l2proxy: "true"
    network_phys_macvlan_mtu: "true"
    network_veth_router: "true"
    pidfd: "true"
    seccomp_notify: "true"
  os_name: Ubuntu
  os_version: "20.04"
  project: default
  server: lxd
  server_clustered: false
  server_name: hetzner-de
  server_pid: 2469
  server_version: "4.3"
  storage: btrfs
  storage_version: 4.15.1

/etc/subuid:
lxd:100000:1000000000
root:100000:1000000000

/etc/subgid:
lxd:100000:1000000000
root:100000:1000000000

Issue description
I'm setting up a regular ubuntu-2004 container and try to activate isolated user ids afterwards.
Starting the container produces the error. The issue seems to happen for older containers only (around mid May 2020).
I'm not sure if it is worth the effort to track the issue...
Steps not to reproduce
Via container property

lxc launch images:ubuntu/focal ubuntu-2004
lxc list ubuntu-2004 --format csv -> ubuntu-2004,RUNNING,<IP_ADDRESS> (eth0),,CONTAINER,0
lxc stop ubuntu-2004
lxc config set ubuntu-2004 security.idmap.isolated true
lxc start ubuntu-2004

Via default profile property

lxc launch images:ubuntu/focal ubuntu-2004
lxc list ubuntu-2004 --format csv -> ubuntu-2004,RUNNING,<IP_ADDRESS> (eth0),,CONTAINER,0
lxc stop ubuntu-2004
lxc profile set default security.idmap.isolated true
lxc start ubuntu-2004
lxc profile unset default security.idmap.isolated

LXC container via export/import
The issue does not happen when I create a fresh container, export its image, delete everything
via lxc ... delete ..., import the image and launch the container.
Steps to reproduce

Import an older export of a 20.04 container image (around mid of May 2020)
Start it up -> OK
Stop it
Activate the idmap isolation
Start it

root@hetzner-de ~ # lxc start ubuntu-2004
Error: Common start logic: Failed to change ACLs on /var/snap/lxd/common/lxd/storage-pools/default/containers/ubuntu-2004/rootfs/var/log/journal
Try `lxc info --show-log ubuntu-2004` for more info

root@hetzner-de ~ # lxc info --show-log ubuntu-2004
Name: ubuntu-2004
Location: none
Remote: unix://
Architecture: x86_64
Created: 2020/07/18 07:18 UTC
Status: Stopped
Type: container
Profiles: hostonly

Log:

Information to attach

[ ] Any relevant kernel output (dmesg)
[ ] Container log (lxc info NAME --show-log)
[ ] Container configuration (lxc config show NAME --expanded)
[ ] Main daemon log (at /var/log/lxd/lxd.log or /var/snap/lxd/common/lxd/logs/lxd.log)
[ ] Output of the client with --debug
[ ] Output of the daemon with --debug (alternatively output of lxc monitor while reproducing the issue)

Yeah, I believe we fixed the source of the issue in the shifting logic though we can't safely fix existing containers.
/var/log/journal is the usual culprit so I'd recommend you just delete it on all your old containers. It will get recreated automatically by journald on next container startup.

@stgraber : Thanks a lot for taking the time looking at the issue.
I do have lots of old containers which I don't want to recreate since they do contain months of data. Do you think that
things will work out when I try to copy the ACLs of a new container onto an old one? Using something like:
cd ...new-container.../var/log/journal
getfacl -R .\
| (cd ...old-container.../var/log/journal|setfacl --restore=-)

Maybe though that assumes that it doesn't save the broken entries that are causing the shifting issue.
So you actually care about the accumulated binary journal data in those containers? I've personally rarely found much use for the data prior to the latest boot or past what's saved in the plaintext files in /var/log

@stgraber : Seems I don't have a clear understanding of the issue. I don't care about the journal. Latest boot and plaintext logs are fine for me. I just want to avoid recreating all my "older" containers. Do I have any option to achieve this? Thx!

Just delete /var/log/journal in all of them before marking them isolated and restarting them.


Automated cherry pick of #8776: suggestalet bugfix

Cherry pick of #8776 on release/3.5.
#8776: suggestalet bugfix

Codecov Report

Merging #8777 (cb9a4d9) into release/3.5 (e3fe6c4) will increase coverage by 11.96%.
The diff coverage is 0.00%.

@@               Coverage Diff                @@
##           release/3.5    #8777       +/-   ##
================================================
+ Coverage         6.03%   17.99%   +11.96%
================================================
  Files              795       84      -711
  Lines           124282     8851   -115431
================================================
- Hits              7503     1593     -5910
+ Misses          116114     7089   -109025
+ Partials           665      169      -496

Flag
Coverage Δ

aFlag
17.99% <0.00%> (+11.96%)
:arrow_up:

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

Impacted Files
Coverage Δ

pkg/apigateway/handler/auth.go
0.00% <0.00%> (ø)

pkg/apigateway/handler/misc.go
0.00% <0.00%> (ø)

pkg/keystone/driver/cas/cas.go
11.11% <0.00%> (+0.52%)
:arrow_up:

pkg/monitor/tsdb/driver/influxdb/influxdb.go

pkg/compute/models/hoststorages.go

pkg/util/stringutils2/sortedstrings.go

pkg/compute/models/schedtagjoint.go

pkg/compute/models/cloudproviders.go

pkg/mcclient/options/k8s/fed_clusterrole.go

pkg/compute/models/guestnetworks.go

... and 621 more

Continue to review full report at Codecov.

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


[djangosf] GoogleDrive Add-on

Purpose
Add support for GoogleDrive to DjangOSF
Changes

Migrate models/settings/tests: website/addons/googledrive/ --> addons/googledrive/

Side effects
None expected
Ticket
None known

LGTM


Push Swift version to the specs master repository

Hi, I am using DateTools as a dependency in another library written in Swift. However, Cocoapods do not support specifying git repository/branch in .podspec, so the only way to point to the swift branch is to use the podfile. Because there is no spec for swift branch in the master repo, I have to specify the branch every time I want to use my library:
pod 'CalendarKit'
pod 'DateTools', :git => 'https://github.com/MatthewYork/DateTools.git', :branch => 'swift'

I would like to ask you to push spec for Swift version to the master repository, so that the users who need Swift version would be able to specify dependency in podspec. This won't affect the users who need the Objective-C version, as they would be required to update version in podfile in order to switch to the new major release.

Fixed in DateToolsSwift


Add d3d12 sample, based on D3D12HelloTriangle

How are we all feeling about this change now?

Thank you both for all your feedback, it's been a great learning experience!


Volume reset 100% each time.

Volume reset 100% each time.

Are you sure? This shouldn't happen unless the bot shard for some reason crashes or gets shut down improperly, which is something I intend to make fully persistent.
Btw, this is the repo for the (WIP) web dashboard for the bot. The correct repo is https://github.com/Frederikam/FredBoat

Yes I'm sure it does that. - Crashes Relatively frequently then? (Ok shall I go and make this closed and reopen it on that repo?)

Please do, but the issue is rather that the volume isn't persistent. I think I might have some trouble with reloading once the bot restarts (which is rather frequently), causing it to not load songs and volume.


fix(cos): support ignoreHtmlExt

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Factorio gets internal server error when you try to set up a server

Description
When we trying to setup Factorio server with with AutoPacker we will be getting a Status 500, "Internal Server Error", somewhere in the process of setting up the Factorio server. It fails, screen shot and full error message bellow.
Steps to Reproduce

Add factorio to your project
Make a new server
Add the project to the server
Run the docker compose to set it up on your server

Expected behavior:
A stable build of Factorio Server 1.1 set up with standard settings
Actual behavior:
Status 500, "Internal Server Error"
Faulty Docker Compose.zip
Reproduces how often:
Everytime I've tried to set it up on a server
Screenshots:

Docker Compose

I believe this might be related to the file not existing on file delivery anymore due to reset. Try and create a new project with a new factorio server module and deploy again

@MrPrecise


Continuing to streamline style usage

This work concludes this Issue #533 :

move almost all styles to style.js from each file. and fixed some typos in the process.  (point 4 on the issue list).
streamline also styles in use with ns.ui('style') or ns.ui('background') (point 3 on the list)

Now we can start talking about changing the UI style.

@timea-solid could you look at this issue ?

This is the issue
https://github.com/SolidOS/solid-ui/blob/878273708d800d65e33b0aec1568577c3df7e32b/src/tabs.ts#L185
and I don't understand why. The evaluation is not done correctly
I tried here and It does not work also when using our function


go/types: better error message for invalid method receiver

For
package p

type T struct{}

type T1 = *T

func (T1) m() {}

func _() {
	(&T{}).m()
}

go/types reports
x.go:10:9: invalid operation: (&(T literal)) (value of type *T) has no field or method m

which is misleading. The reason is that it drops the method m on the floor completely. Instead it should complain about the receiver.
See also issue #27995 .

But when I look in the spec at the definition of alias I see this:
Alias declarations An alias declaration binds an identifier to the given type. AliasDecl = identifier "=" Type . Within the scope of the identifier, it serves as an alias for the type. type ( 	nodeList = []*Node  // nodeList and []*Node are identical types 	Polar    = polar    // Polar and polar denote identical types )
This suggests to me that T1 is identical to *T, and thus a valid method receiver.
I think with the current spec both examples should compile, although I admit using a type alias to hide a pointer is bad style. Otherwise the spec should be clarified on how aliases work together with method definitions.

It looks gc think the code is valid.

@beoran @go101 Please discuss the validity of this at #27995. That's why I opened that one. This issue is just a reminder to follow up on go/types. Thanks.

This was fixed with https://golang.org/cl/143179 which made this kind of declaration valid in the first place. Closing.


Cannot start project

Hello
Tried this:
var express = require('express');
var ExpressBem = require('express-bem');

// create app and bem
var app = express();
var bem = ExpressBem({
    root: './blocks', // bem project root, used for bem make only
    path: './views' // path to your bundles
});

// here to lookup bundles at your path you need small patch
app.bem = bem.bindTo(app);

// register engines
bem.usePlugin('express-bem-bh');

app.get('/', function(req, res) {
    res.render('index', {
        bemjson: { // view-oriented bemjson tree here
            block: 'page',
            content: [
                'Hello!'
            ]
        }
    });
});

var server = app.listen(3000, function() {

    var host = server.address().address;
    var port = server.address().port;

    console.log('Example app listening at http://%s:%s', host, port);

});

and get this
Error: Failed to lookup view "index" in views directory "/Users/user/project/views" ...

=(

anyway, some sort working example will be great

Hey there. Thanks for contributing.
Did you based your project on project-stub or yo bem-stub?
If you don't use some making middleware you should make it by self before start with bem make or enb make or some gulp script.
I need to know more about your project to help you. In short: express-bem helps you a lot to start writing backend code but it doesn't create stub configurations for you.
Also you can try to start with making ./views/index/index.bh.js file with your matchers. Something like:
var bh = new (require('bh').BH);
bh.match('page', function(ctx) {
    ctx.tag('html');
    ctx.content([
      { tag : 'body', content : ctx.content() }
    ], true);
});
bh.match('button', function(ctx) {
    ctx.tag('button');
});

module.exports = bh;

Forgot about stub: https://github.com/express-bem/project-stub
You can clone and run it as well as usual project stub or any other projects. It based on project-stub © Cap.

@DimitryDushkin Please let me know if you need some help here. It would be great to have some feedback.

Thank for help, still it did not work, same error.
I gave up with BEM-related tools for now. I'll be back in some time.

Closing this for now. Please reopen with additional info about your trouble ;-)


Add more end_to_end tests and call pagesjaunes for poi + place

Closed by https://github.com/Qwant/idunn/pull/339


Download stemcell from bosh.io task fixes

I still need to validate this is working end to end in a pipeline. I fixed some missing error checks, messages, etc.

Remove API_TOKEN from download-boshio-stemcell task
Add fix for copying an empty pivnet-stemcells dir
Add correct error message if no stemcells are found
Remove Ruby requirement from bosh stemcell task
Use wget instead of curl so 404 or other errors fail the task

@sneal Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@sneal Thank you for signing the Contributor License Agreement!


How to convert scenarios in leaderboard 1.0 in the leaderboard 2.0

How to convert scenarios in leaderboard 1.0 in the leaderboard 2.0. The leaderboard 2.0 uses config file which combinates of scenarios and routes e.g. leaderboard/data/routes_validation.xml. However, the leaderboard 1.0 starts a scenario with the route config file and scenario config file in a seperate manner.  The difficulty is these two types of scenario files are different. How to convert the 1.0 version to 2.0 veresion?

There really isn't an easy way to do so right now, but it would actually be really useful to have. We might do that in the near future.
As a bit of context, the Leaderboard 1.0 has all the scenarios in a file, and only specific ones are selected based on this function. That is a convoluted and non-intuitive approach, hence why the Leaderboard 2.0 changed that to a more direct one, and loads all scenarios part of the xml.

This ended up peaking my curiosity so the PR #178 adds a script that converts LB1 routes to LB2 ones


Double references necessary?

Hi,
Looking for a new state management lib for my next project, and like the idea of Unstated. I can't seem to understand the necessity to use Provider and the CounterDisplay twice for each? Is this a bug, or how the API works?

function App() {
  return (
    <Counter.Provider>
      <CounterDisplay />
      <Counter.Provider initialState={2}>

            <CounterDisplay />

      </Counter.Provider>
    </Counter.Provider>
  )
}

You can have multiple instances of the same state container in different React subtrees.
This works the same way as context in React, when you .useContainer() you're pulling from the closest Provider.
There are many cases where you just want to share your container globally and will only need one Provider, but if you need separate states you can use multiple (and instantiate them with different initialState)


Blank screen

Hi whatsie suddenly blank after first loading
Restarting and reinstall doesn't works
If I run from console I got this error
Qt: Session management error: Authentication Rejected,
reason : None of the authentication protocols specified
are supported and host-based authentication failed

Currently running using snap in debian 11
version: 4.14, branch: main, commit: 906ca7e, built_at: 2023-05-20T15:56:15UTC

I just notice the folder in /home/user/snap/whatsie has  .themes folder that link to /snap/whatsie/146/data-dir/themes folder, but both folder are empty
How do I further debug ?
WhatSie
Version: 4.14
Source Branch: main
Commit Hash: 906ca7e
Build Datetime: 2023-05-20T15:56:15UTC
Qt Runtime Version: 5.15.4
Qt Compiled Version: 5.15.4
System: Ubuntu Core 20
Architecture: x86_64
Install mode: snap

Same problem since today

Same with me. The app was running fine until few days ago.
Running from command line produces this messages, the app window is blank:
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Qt: Session management error: Could not open network socket
propsReply "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.516\" (uid=1000 pid=47843 comm=\"/snap/whatsie/146/usr/bin/whatsie \" label=\"snap.whatsie.whatsie (enforce)\") interface=\"org.freedesktop.DBus.Properties\" member=\"GetAll\" error name=\"(unset)\" requested_reply=\"0\" destination=\"org.freedesktop.NetworkManager\" (uid=0 pid=667 comm=\"/usr/sbin/NetworkManager --no-daemon \" label=\"unconfined\")"
nmReply "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.516\" (uid=1000 pid=47843 comm=\"/snap/whatsie/146/usr/bin/whatsie \" label=\"snap.whatsie.whatsie (enforce)\") interface=\"org.freedesktop.NetworkManager\" member=\"GetDevices\" error name=\"(unset)\" requested_reply=\"0\" destination=\"org.freedesktop.NetworkManager\" (uid=0 pid=667 comm=\"/usr/sbin/NetworkManager --no-daemon \" label=\"unconfined\")"
"Object path cannot be empty"

build info:
version: 4.14, branch: main, commit: 906ca7e, built_at: 2023-05-20T15:56:15UTC
host:
Ubuntu 22.04.3 LTS
kernel: 6.2.0-37-generic
Gnome version: 42.9
Windowing system: Wayland

i went to settings and disabled the "full width view" then it worked again settings can be accessed from the tray icon i dont know if this is related to the underlying issue or just a lucky coincidence

It fixed it on my end as well, so probably not just a coincidence.

i went to settings and disabled the "full width view" then it worked again settings can be accessed from the tray icon i dont know if this is related to the underlying issue or just a lucky coincidence

Same problem, different console log, same solution.
v<IP_ADDRESS>6ca7e
Installed via snapd on Debian 12

Same problem, same workaround. However with " full with view" WhatSie doesn't look nice. It works, it keeps my using WhatSie, but a fix would be nice.
Version: 4.14
Source Branch: HEAD
Commit Hash: 906ca7e
Build Datetime: 2023-05-21T02:57:13UTC
Qt Runtime Version: 5.15.10
Qt Compiled Version: 5.15.9
System: KDE Flatpak runtime
Architecture: x86_64
Install mode: flatpak
Fedora KDE 38
Wayland

Same problem here, same solution worked for me. Should be rapidly fixed though.
I am not noticing the difference between full width view turned on and off, what was the difference?

WhatsApp web has changes changed something on thier side. we need to align with the changes. i will look into it today. thanks for reporting.


How to download the tflite model file of blazepose？？

How to download the tflite model file of blazepose？？
@google-admin

Hi @APeiZou, You will find it here


Paypal not displayed as "connected" even though it is

On the argent.ogn.app shop, Paypal doesn't show as connected even though the user has connected it and clicked "update".

When the "connect" button is clicked again, the modal shows the saved credentials. Paypal also appears as an option during checkout.

Possibly related, I've been seeing lots of these in the logs:
[DEBUG] dshop.utils.paypal: Failed to validate paypal creds HttpError: {"error":"invalid_client","error_description":"Client Authentication failed"}
    at IncomingMessage.<anonymous> (/app/node_modules/@paypal/paypalhttp/lib/paypalhttp/http_client.js:136:22)
    at IncomingMessage.emit (events.js:327:22)
    at IncomingMessage.EventEmitter.emit (domain.js:548:15)
    at endReadableNT (_stream_readable.js:1327:12)
    at processTicksAndRejections (internal/process/task_queues.js:80:21) {
  statusCode: 401,
  headers: {
    'content-type': 'application/json',
    'content-length': '77',
    connection: 'close',
    date: 'Fri, 30 Oct 2020 16:13:41 GMT',
    'cache-control': 'max-age=0, no-cache, no-store, must-revalidate',
    'paypal-debug-id': 'b30e23f83198e',
    'x-paypal-token-service': 'IAAS',
    'strict-transport-security': 'max-age=31536000; includeSubDomains'
  },
  _originalError: {
    text: '{"error":"invalid_client","error_description":"Client Authentication failed"}',
    statusCode: 401,
    headers: {
      'content-type': 'application/json',
      'content-length': '77',
      connection: 'close',
      date: 'Fri, 30 Oct 2020 16:13:41 GMT',
      'cache-control': 'max-age=0, no-cache, no-store, must-revalidate',
      'paypal-debug-id': 'b30e23f83198e',
      'x-paypal-token-service': 'IAAS',
      'strict-transport-security': 'max-age=31536000; includeSubDomains'
    }
  }
}

Everything looks fine to me in that commit


fails with typescript and react-test-renderer

    TypeError: Cannot read property 'Constants' of undefined

      at Video.render (node_modules/react-native-video/Video.js:210:59)
      at finishClassComponent (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:5276:31)
      at updateClassComponent (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:5238:10)
      at beginWork (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:5907:14)
      at performUnitOfWork (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7949:12)
      at workLoop (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7980:24)
      at renderRoot (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:8020:7)
      at performWorkOnRoot (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:8592:22)
      at performWork (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:8527:7)
      at performSyncWork (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:8499:3)

fails here https://github.com/react-native-community/react-native-video/blob/master/Video.js#L210

Had the same problem even after link.
only after restarting the vscode and restarting the packager it was solved.
hope this helps.

@ethanneff were you able to resolve this?

I never solved it. I just mocked the entire react-native-video dependency with a string so I could build a snapshot off the component with a Video inside it.
import React from "react";
import renderer from "react-test-renderer";
import Component from "..";

jest.mock("react-native-video", () => "Video");

describe("Video Component", () => {
  const video = require("../../../commons/Assets/Exercises/Back/intro.mp4");
  it("renders correctly", () => {
    const component = renderer
      .create(<Component  source={video} />)
      .toJSON();
    expect(component).toMatchSnapshot();
  });
});


added configurable outputFilename

Added the ability to name the outputfile something other than just swagger.

classifier corrected and ready for merge


create timeline

Ability to create a timeline with timesketch-tools

done with https://github.com/deralexxx/timesketch-tools/commit/ebe02096b7ec1d4a594689957e63570417ccac47


Plucking random() returns complete set

Laravel Version
11.15.0
PHP Version
8.2.20
Database Driver & Version
No response
Description
Executing SomeModel::all()->random(3)->pluck('id') will return 3 IDs.
Executing SomeModel::all()->random(1)->pluck('id') will return 1 ID
But, executing SomeModel::all()->random()->pluck('id') will return all the IDs even though SomeModel::all()->random() returns a single model
Steps To Reproduce
Just execute SomeModel::all()->random()->pluck('id'). I would expect to get a single ID.

Actually, same behavior is seen with SomeModel::first()->pluck('id'), so this might be by design...even though I do not expect that result to happen

SomeModel::all()->random(3) returns a collection instance.
SomeModel::all()->random() and SomeModel::first() return a Model, and when you attempt to call pluck, it simply an alias to SomeModel::newQuery()->pluck()


WinWing EFIS LCD Test not working

Hello! I am using the latest MobiFlightWwFcu.dll that extended support to the WinWing EFIS. All is working splendidly, except when setting display parameter "LCD Test On/Off" to 1, only the FCU displays react accordingly and show all LED segments, the EFIS LED segments are unchanged and still display their old values instead of showing all LED segments as well, as they should (and do in the virtual Airbus cockpit). Maybe this was somehow forgotten to be implemented? Best wishes!

Thanks for reporting! Already known and fix is soon incoming.


Create GlowLayer

[x] Automatically setup the HL in a glow mode
[x] Remove the stencil in glow mode
[x] Review easyness of HL

http://doc.babylonjs.com/how_to/glow_layer


add find_package function page

https://docs.microsoft.com/en-us/cpp/build/cmake-projects-in-visual-studio?view=msvc-160
I see the visual studio document.
I don't find the find_package() method with visual studio.
Assume not use vcpkg.
Assume not use vcpkg.
Here is my experiment for minum reproduce:
method 1 (without visual studio 2019)
I build a cmake project and the cmakelist.txt is
cmake_minimum_required(VERSION 3.19)
find_package(opencv REQUIRED)

I build the opencv by myself. And I set the env to windows
build it on command prompt 2019.
method 2 (with visual studio 2019)
I build a cmake project and the cmakelist.txt is
cmake_minimum_required(VERSION 3.19)
find_package(opencv REQUIRED PATHS D:/TEST/opencv/release NO_DEFAULT_PATH)

Are there other ways to assign the path with visual studio 2019, besides the method 2?

@alicera
I'm sorry about the delayed response. If you don't or can't use vcpkg, Visual Studio doesn't have another way to search for your packages. As far as I know, you have to specify the location to find_package as you've done in your example. Since this seems like a support question rather than a documentation issue, I'm closing it. Good luck with your code.


Bootstrap progressbar missing

After downloading template when going to setup then it shows bellow error
vendor\bower/gentelella/vendors/bootstrap-progressbar

Please provide more information how you install yii2-gentella. Did you read Installation in README.md?

yeah, read that and I replace my main layout file with yii2-gentelella main template file code

Do you have fxp/composer-asset-plugin installed globally?

Yes. In my bower asset vendor file this folder existed but it show this error

Please attach more detailed error.

@anjandas0211 Hello!
Could you tell me more information?
P. S. The  vendor\bower/gentelella/vendors/bootstrap-progressbar path has different slashes. What OS do you use?
P. P. S. Do you have vendor\bower or vendor\bower-asset directory?


Bump Kani version to 0.42.0

Next Kani release.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

Keeping this in draft mode as I'd like to update dependencies first.


如何在vue3中使用

I copied the code Create a Component under the vUE menu in the official document and wrote it in the TSX file.  I then introduce the component into the page, but the console reports an Uncaught (in promise) ReferenceError: React is not defined
import { defineComponent } from 'vue';
import { Editor, rootCtx } from '@milkdown/core';
import { VueEditor, useEditor } from '@milkdown/vue';
import { commonmark } from '@milkdown/preset-commonmark';

import<EMAIL_ADDRESS>import<EMAIL_ADDRESS>
export const MilkdownEditor = defineComponent(() => {
  const editor = useEditor((root) =>
    new Editor()
      .config((ctx) => {
        ctx.set(rootCtx, root);
      })
      .use(commonmark),
  );

  return () => <VueEditor editor={editor} />;
});

<template>
  <MilkdownEditor />
</template>

<script lang="ts">
import { defineComponent } from 'vue';
import { MilkdownEditor } from '../../components/Edit/MilkDownEditor';

export default defineComponent({
  name: 'EditPage',
  components: { MilkdownEditor }
})
</script>

You should update your @milkdown/vue package version to be seems as the core version.

Still no, I put up a demo, can you help me see what's wrong with it?
https://github.com/yyqsc/miledown-demo.git

Hi, I clone your repo and found out that you have the wrong vite.config.js config, as mentioned in the vite documentation, you should use following config:
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [vue(), vueJsx()],
  esbuild: {
    jsxFactory: 'h',
    jsxFragment: 'Fragment'
  }
})

Ah, the foundation is not solid, make a joke, thank you very much for your help!!!!


Updating to version 1.7.8 might cause problem $content not defined

Laravel Version: 5.8.*
PHP Version: 7.3.*
Laravel-admin: 1.7.8

Description:
When I upgraded laravel-admin from 1.7.7 to 1.7.8, I get $content not defined in content.blade.php.
I use app('view')->prependNamespace('admin',resource_path('views/laravel-admin')); in Admin/bootstrap.php.
And of course, copied files from /vendor/encore/laravel-admin/resources/views to resources/views/laravel-admin.
Steps To Reproduce:

composer update
try to access admin route /admin/*

same here


Feature Request: pattern properties in z.object({})

JSON schema provides the possibility to define a regex that is tested against property names. If it matches, the respective property needs to fit the defined schema.
If I understand correctly, such functionality could already be implemented in zod using a refinement. However, I think, it would be beneficial to have this kind of functionality without the need for custom logic. That is, because then tooling built on top of zod could translate these requirements in a standardized way, e.g. JSON schema as mentioned above.
Proposal:
const CustomProperty = z.string()

const objectWithPatternProperties = z.object({}).setKeyPattern(/^x-[a-z-]+$/, CustomProperty)

Haven't contributed to sod yet, but I'd be happy to give it a try myself :)

Hey 👋
Why is z.record not suitable for your use case?

Wow, I think I read the docs three times. However, that one seems to have slipped through...
Thanks for pointing me there, @igalklebanov!


useLoadMore support in RAC Table

Closes
✅ Pull Request Checklist:

[ ] Included link to corresponding React Spectrum GitHub Issue.
[ ] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[ ] Filled out test instructions.
[ ] Updated documentation (if it already exists for this component).
[ ] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

🧢 Your Project:
RSP

going to unify the branches so there is only one PR to review


"Last commit" badge in README

:sparkles: Enhancement
Closes #88.

:white_check_mark: Checklist

[x] Following CODE_OF_CONDUCT.md
[x] Checked for duplicate pull requests
[x] Title is a summary of the change, in present tense, ideally < 50 characters
[x] Pulling from a branch (right side), not master
[x] Pulling into master branch (left side)
[x] Fixing a bug? An open bug report exists
[x] Breaking API changes? Migration notes attached
[x] Changed relevant files in templates directory
[x] Ready for review

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Update steam.txt

Added steam.eca.qtlglb.com host
What CDN does this PR relate to

Does this require running via sniproxy

Capture method

Testing Scenario

Testing Configuration
<!-- Paste either your docker run command from the DNS container OR explain how you have setup DNS zone files etc to test this issue -->

Sniproxy output
Please paste the output from docker logs <sniproxy container name/id> | sed 's/.*\:443 \[//;s/\].*//' | sort | uniq -c below
<!-- If you are running sniproxy paste the output to the following command
docker logs <sniproxy container name/id> | sed 's/.*\:443 \[//;s/\].*//' | sort | uniq -c
-->

For future reference please ensure you actually bother to fill out the PR template it's there for a reason and means it's much easier for us to react without having to go through and do all the testing/discovery you've probably already done to test it....


Make Dockerfile templated, reducing the default configuration

Using default(omit) in docker create.yml, we have less configuration in
mlecule.yml.
The Dockerfile was not explicit when we want to build image because of
the "FROM centos:7".

Done, I had fogotten the git add :)
I also removed the comments.
Maybe  it would be better if the generated template is placed under the .molecule/ directory.

Thanks @saez0pub 🎸


diverse commits

Empty node: do you think empty nodes should be allowed - to me it seems it does not make much sense? Just asking as in Render I wanted to check that - but maybe this could be done already in the Elements part?

You mentioned about caching the :outname. In Render I wanted to require either an :outname or a :title where a outname is generated from.

I was thinking if also such should not already be done in Elements?
:outname I thought to have to allow for something like:
page(
mods.....,
title = "Longe unicode title - 疯狂寿命长标题",
outname = "favorites"
)
I guess in many cases the title will be enough but for certain cases an manual entered outname might be appropriated too.
My thought was to check in Elements for childless nodes and if no :outname key is in the Dict - generate one from title and add the key. else throw an error?

For empty node check add a small line to build something like:
function build!{T}(node::Node{T}, args, kwargs)
    isempty(args) && throw(ArgumentError("Empty '$(T)'."))
    for arg in args update!(node, arg) end
    update!(node, kwargs)
    node
end

A number of tests I would need to update.

I change the PR to your suggestion but added it to Elements - seems to me it looks much cleaner. I will update the tests to reflect the changes.
If you do not like the empty node check - well than it was an exercise for me.

This might fail cause Fact pacht migth be missing - any way just for a review if that would be not the better way than my first try. I can Comment out the couple of failing test till Fact is patched?

don't understand why winows failed?

today I plan to push here a few commits more

coverage line   when is that called?
Do you have a test for it?

coverage line when is that called?

When two Node objects have different parameters. There's no test for that just yet.

Any idea what's wrong with Windows failed test?

Not sure about that one. It looks like it might be to do with line endings in windows, \r\n instead of \n or something like that.
I'm not a fan of throwing an error on empty nodes really. Its going to get annoying when someone is starting to write their documentation an has to put in placeholder text if they haven't yet got content for a specific page.
The other error type names are exposing internals to the user, they don't really need to know anything about children or parent nodes.

I gess the error: ERROR: LoadError: LoadError: LoadError: LoadError: UndefVarError: MarkdownFormatter not defined is because the lates Docile changes are not tagged ?

Hi,
I uploaded a first test docile documentation: still a lot missing like proper signatures only use the name for now
first new lexicon docs
The used build.jl writes also the mkdocs.yml   I hope this is more like what you had in plan.

check out the permalinks ect..

Next plan:

working on the signatures

sorter for docs maybe you could give me some examples what you had in mind like you did with the filters?

Regarding the "examples" directory:
I'd rather we just provide a link in the Lexicon docs to known build.jl scripts once they're written, such a Lexicon's and Docile's own ones. Examples tend to end up out of date sooner or later and it's less to have to maintain.

Regarding the "examples" directory: Examples tend to end up out of date sooner or later and it's less to have to maintain.

you are right. could we just keep it for now - so we can more easily refer to the same thing?

Next plan:
outpages try a Dict instead of Vector{Tuple} comment
continue working on the signatures
Question:  sorter for docs maybe you could give me some examples what you had in mind like you did with the filters?

Maybe you have an idea how to do this.
I would like to only write:
iscategory(obj, [:module, :function, :method, :macro]), isexported(obj)), withouth the additional module reference.
pages  = [page(
            "# $m",
            "## External",
            "### Modules, Functions, Methods & Macros",
            docs(m, filter = obj -> iscategory(m, obj, [:module, :function, :method, :macro]) && isexported(m, obj)),
            title = "$m")

            for m in [
                Docile,
                Cache,
                ....
                ]
        ]

The code it calls is here
function innerpage!(io::IO, n::Node, m::Module, emptyline::Bool)
    warn("!! TODO: `Page Docs Module` not finished yet!!")
    objects = Cache.objects(m)
    # get any filter config for this node
    conf = findconfig(n)
    objs = haskey(conf, :filter) ? filter(conf[:filter], objects) : objects

    for obj in objs
    .....

You also had in mind to change conf = findconfig(n) to return the value for conf = findconfig(n, :filter)

Maybe you have an idea how to do this.

Not sure what you'd like to be doing here. I believe the module argument is necessary unless I'm mistaken.

I believe the module argument is necessary unless I'm mistaken.

Yes at the moment. Could we add a reerence to the module to all obj.  little pit like the Elements parents reference?

Could we add a reference to the module to all obj.

You can get the module reference for any of the objects already from the objects themselves. The only ones that were troublesome were :global and :typealias, which are fixed with QualifiedSymbol now. Which ones are giving trouble?

Docile 0.5.4 will have MarkdownFormatter, busy tagging the version now.

You can get the module reference for any of the objects already from the objects themselves.  Which ones are giving trouble?

I got this
getmod(obj::Module)          = obj
getmod(obj::Method)          = obj.func.code.module
getmod(obj::DataType)        = obj.name.module
getmod(obj::QualifiedSymbol) = obj.mod

I got a bit stuck here:

Aside
function

For Function just get the module of the first Method in it's method table.

For Function just get the module of the first Method in it's method table.

sorry I'm not sure how you want to do that if there is no method specified?
if I have
"f_1"
function f_1 end

That is what I have till now:

getmod(obj::Module)          = obj
getmod(obj::Method)          = obj.func.code.module
getmod(obj::DataType)        = obj.name.module
getmod(obj::QualifiedSymbol) = obj.mod
getmod(obj::Aside)           = obj.mod
function getmod(obj::Function)
    if isgeneric(obj)
        isa(obj.env.defs, Void)                ?
            error("TODO: getmod for function") :
            obj.env.defs.func.code.module
    else # Macro
        obj.code.module
    end
end

QUESTION: is that check for the macro ok?
Of course it is not usable because it breaks by a only function like I mentioned above

Found some more problems with getting the first method.
I defined a function in Docile.Cache
"do_something"
function do_something end

and in Docile.Extension
do_something() = return ""

function module: Docile.Extension

Here is my thought: would it not be easier to have an additional ObjectIdDict for the mod.
Advantage I can think of:

can get rid of the Qualified Symbols all togehter, can't we?

can get rid of the Aside mod field I planned to merge

can get rid of all the getmod functions I wanted to add and have a single:
getmod(obj)

filters do not need to add the mod
docs(Docile.Cache, filter = obj -> iscategory(Docile.Cache, obj, [:macro]) && isexported(Docile.Cache, obj)),
can be written like
docs(Docile.Cache, filter = obj -> iscategory(obj, [:macro]) && isexported(obj)),

Disadvantage

not sure maybe it's a bit slower to look up than obj.func.code.module  ?
one more ObjectIdDict but no Oulified Symbols etc..

DocsCache
"""
For a single module store raw docstrings, parsed docs, and metadata.
"""
type DocsCache
raw    :: ObjectIdDict
parsed :: ObjectIdDict
meta   :: ObjectIdDict
mod    :: ObjectIdDict   # ADD THIS ??
DocsCache(raw, meta) = new(raw, ObjectIdDict(), meta, mod)

end

function f end isn't too much of a priority at the moment since it's extremely new, also in real code you'd have defined at least one method on the function somewhere.

Found some more problems with getting the first method.

Those are two distinct Function objects, not the same ones.

Here is my thought: would it not be easier to have an additional ObjectIdDict for the mod.

A DocsCache is generated per-Module so a mod field would just contain references to the same module for each object; not an improvement really.
I'm not sure how you're filter -> iscategory(obj, [:macro]) && isexported(obj) could work? What if obj is a Symbol?

Those are two distinct Function objects, not the same ones.

Not sure but I documented only the one and  Cache.objects(Cache)  returned "Docile.Extension"?

I'm not sure how you're filter -> iscategory(obj, [:macro]) && isexported(obj) could work? What if obj is a Symbol?

I would have to try that - if you say so probably I'm wrong ;)

Not sure but I documented only the one and Cache.objects(Cache) returned "Docile.Extension" as getmod for the obj

Then I assume you imported the method into Docile.Extensions to extend it rather? Difficult to tell without a full example though.

I'm not sure how you're filter -> iscategory(obj, [:macro]) && isexported(obj) could work?

Seems to work for all the Docile Modules

isexported(obj) = nameof(getmod(obj), obj) in Cache.getmeta(Cache.getmodule(getmod(obj)))[:exports]

iscategory(obj, cat::Symbol)          = Cache.getmeta(getmod(obj), obj)[:category] == cat
iscategory(obj, cats::Vector{Symbol}) = Cache.getmeta(getmod(obj), obj)[:category] in cats

Build code

pages  = [page(
            "# $m",
            "## External",
            "### Modules, Functions, Methods & Macros",
            docs(m, filter = obj -> iscategory(obj, [:macro]) && isexported(obj)),
            "### Globals, Types, Asides",
            docs(m, filter = obj -> iscategory(obj, [:aside]) && isexported(obj)),
            "## Internal",
            "### Modules, Functions, Methods & Macros",
            docs(m, filter = obj -> iscategory(obj, [:macro]) && !isexported(obj)),
            "### Globals, Types, Asides",
            docs(m, filter = obj -> iscategory(obj, [:aside]) && !isexported(obj)),
            title = "$m")

            for m in [
                Docile,
                Cache,
                Collector,
                Extensions,
                Formats,
                Interface,
                Legacy,
                Runner,
                Utilities,
                ]
        ]

function f end isn't too much of a priority

Just to be consistent maybe we could disable documenting a single function. and just silently drop it here?
Something like
function getmod(obj::Function)
    if isgeneric(obj)
        isa(obj.env.defs, Void) || obj.env.defs.func.code.module
    else # Macro
        obj.code.module
    end
end

BTW: is this correct for macro check? !isgeneric

Seems to work for all the Docile Modules

The thing is that you can actually document the same object in different modules so the module argument is needed really. I know it's very much a corner case, but I'd prefer not to paint ourselves into a corner by removing the argument. See the following example:
module Outer

module Inner

"inner"
Inner

end

"outer"
Inner

end

Just to be consistent maybe we could disable documenting a single function.

Do you mean a Function with 0 methods?

BTW: is this correct for macro check? !isgeneric

I think so. There's some code in Docile that does a similar thing, in the includefiles function.

Do you think we should put this getmod() functions better in Docile

In Docile rather, if we actually need this.

and rename the nameof to name and put it also into Docile - you had a couple of them there in the legacy see or move all to Lexicon ??

They'd all need to deprecated until Docile 0.6, so perhaps more hassle than it's worth moving them over.

Do you mean a Function with 0 methods?

yes I mean that.

The thing is that you can actually document the same object in different modules so the module argument is needed really.

I don't understand this - sorry. If one get's the module internally from a obj (which seems to work except for a  Function with 0 methods (which we might sidallow to be documented) than it seems I do not need the mod argument. But with multiple dispatch we can easily provide both options can't we?

Do you think we should put this getmod() functions better in Docile

In Docile rather, if we actually need this.

So can I move thsi to Docile.Utilities / or Interface
getmod(obj::Module)          = obj
getmod(obj::Method)          = obj.func.code.module
getmod(obj::DataType)        = obj.name.module
getmod(obj::QualifiedSymbol) = obj.mod
getmod(obj::Aside)           = obj.mod

function getmod(obj::Function)
    if isgeneric(obj)
        isa(obj.env.defs, Void)                                                                   ?
            throw(ArgumentError("At least one method must be defined for a documented function")) :
            obj.env.defs.func.code.module
    else # Macro
        obj.code.module
    end
end

iscategory, isexported we leave in Lexicon I suppose?

I will add them better to: docile.Cache.interface

Do you mean a Function with 0 methods?

yes I meant that. But if we require the mod it doesn't matter and probably should stay as it is until we run into troubles.

The thing is that you can actually document the same object in different modules so the module argument is needed really.

Ok. So we leave it as it is. I will revert all back.

Reverted PR back and go from here.
Question: if we require anyway everwhere the module: are the Qualified Symbols really needed?

Have I missed something in this issue? Seems some messages have disappeared...

Seems some messages have disappeared...

I deleted them after I reverted to the previous commit. I had posted a couple of messages regarding getmod which we decided to remove and require always that the module is also passed.
I still would be interested to know what you had in mind about: sorter - just something similar to filter ? any examples?

I deleted them after I reverted to the previous commit. I had posted a couple of messages regarding getmod which we decided to remove and require always that the module is also passed.

Ok.

I still would be interested to know what you had in mind about: sorter - just something similar to filter ? any examples?

Perhaps a similar interface to what Base.sort does with the lt = <comparision> keyword argument.

UPDATED EXAMPLE DOCS
Note: with the new mkdocs also the copyright footer works for the readthedoc theme
Note: tried default style based on python with

bold name

italic arguments

Have a look example Docs
about the [txt][src] would probably nicer if they are also only show if one hoovers over it like the permalink ?

BTW: I found a small annoying thing because we require the module to get the meta.
I added an obj_style function: I first wanted to add only one to a section but because of the module requirement one has to add it to each docs()

Would it be possible to squash some of these commits? Also might be best to submit some smaller PRs for independant pieces of this PR separately first, such as the mkdocs Externals. It'll make it much easier for me to review things.

Would it be possible to squash some of these commits? Also might be best to submit some smaller PRs for independant pieces

I thought so - I think I just want to do some more work on the signature and methods definitions and than split it piece for piece into smaller PR we can actually merge. Because of some personal changes I do not have anymore time in the evening/night so it might take me a couple of days.

Sure, no hurry.

I've pushed some REPL rendering code that gets us some basic help in the terminal. There's couple of pieces I needed from this PR that are now on lexicon-next branch for you to use in this PR once you rebase.

I want to have most of the sorting/filtering/parsing done only once rather than have it as part of the final rendering stage (to markdown, LaTeX, etc). I've just push (ed9bd2ea1cc45a21d4087e9fb98c2daed246e473) code for "stage 2" of the rendering, ie. compiling and caching some of the work needed that doesn't involve actually outputting any documentation.
The three stages should then be:
Stage 1:
out = document(
    section(...),
    section(...),
)

Capture the structure and configuration for the documentation tree in out. Configuration unrelated to the output formats should be specified here.
Stage 2:
compile!(out)

Group, sort, and filter the docstrings. Read all file paths and parse strings into markdown (or other) AST. Generate IDs for each node. Anything else you think should happen at this point?
Stage 3:
save(out, Markdown(<<config>>))
save(out, LaTeX(<<config>>))

Take the documentation tree out and render it using the provided format, Markdown, LaTeX, etc that provides any format-specific configuration needed. save will call compile! internally so the user doesn't have to worried about that step.
I don't think stage 3 should be mutating anything in the .cache fields since that might result in the order of calls to save mattering. State for stage 3 should be stored in the Markdown object passed as the second object to save.

I think that general the 3 stages are a good idea. I'm a bit unsure about the fromat specific configuration.
If all config at the out level 1 stage must be of general nature some of the power of the configuration system might be gone but it surely makes it easier to output the same document to different formats.
Just an example from the top of my head:

html for instance supports colors - which plain markdown does not: so maybe someone wants a header formated with a color = blue config in the out 1 level stage
I'm not sure passing this format specific only to stage 2 will be as flexible and easy to handle. I thought that was one reason you choose the config to be a Dictionary.

html for instance supports colors - which plain markdown does not: so maybe someone wants a header formated with a color = blue config in the out 1 level stage

Seems like something to be done with css rather, ie. styling h1 instead of hard-coding a color? And markdown does allow for arbitrary raw html to be used inline as well. Perhaps we could accept like Hiccup nodes in place of plain strings.

Seems like something to be done with css rather, ie. styling h1 instead of hard-coding a color?
yes just as an example: in html one might want to set a class for styling class="special"

But other formats might require other options.
Anyway: both variations have advantages and if one wants to output into multiple formats probably a more generic approach is best.

Hiccup nodes

never heard of that sorry

A other thought: If one wants the config to be useful across all formats: I think one has to predefine supported config keys.

never heard of that sorry

https://github.com/one-more-minute/Hiccup.jl

I think one has to predefine supported config keys.

Yes, we can certainly look into doing that.

Hiccup.jl

Maybe it's better to wait until some general things are working - than one might see easier if it is needed.

hi,

just saw this and thought I put it here as info.
This breaks some packages' uses of FactCheck

What do you think about the status of the doc issue in julia.
Do you think it is fine to proceed here where we left of about a month ago (how time flies) or better to still wait?

This breaks some packages' uses of FactCheck

From the test runs this morning it appears to not affect either Docile or Lexicon, I think.

Do you think it is fine to proceed here where we left of about a month ago (how time flies) or better to still wait?

Up to you really. I've got minimal free time for anything other than quick maintenance fixes at the moment, but will happily review anything you'd like to work on. I'm sure there will still be room for Docile/Lexicon in the ecosystem after 0.4 is released, but probably a much reduced number of potential users.

Thanks for the feedback.
I'm actually not uptodate with the doc changes within juia - based on your comment I think I will wait till 0.4 is out.
I close this in the mean time as that PR is any completely out of sync


Update assets and start adding more game concepts

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

Current dependencies on/for this PR:

main

PR #18

PR #19

PR #20   👈

This stack of pull requests is managed by Graphite.

Merge activity

Dec 20, 3:11 AM: @@kadhirvelm started a stack merge that includes this pull request via Graphite.


Update installation guide

For a second it confused me, as the IntelliJ UI didn't allowed to add a xml file as a custom plugin repo 😁

Thanks!


Closes issue#1

Closing issue#1
finish migration to gulp4

merging in wrong direction
want to merge migrate-to-gulp-v4 into 1.0

closing this - merging in wrong dir


Do not call FindReferencesAsync for null symbol

At the moment, on finding references, when the requested symbol is null, we still call Roslyn reference finder API which then results in an ugly unhandled exception.
System.InvalidOperationException: Unexpected null\r\n at Roslyn.Utilities.Contract.Fail(String message)\r\n at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.MapToAppropriateSymbol(ISymbol symbol)\r\n at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__20.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__19.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__8.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__8.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__8.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.CodeAnalysis.FindSymbols.SymbolFinder.d__34.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.CodeAnalysis.FindSymbols.SymbolFinder.d__37.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService.d__2.MoveNext() in D:\\a\\1\\s\\src\\OmniSharp.Roslyn.CSharp\\Services\\Navigation\\FindUsagesService.cs:line 41

This happens automatically when the member is invalid and in VS Code shows up in a horrible way:

This also happens when you click anywhere in the code on a non-symbol e.g. the "public" keyword and try to use "find references"
Fixes https://github.com/OmniSharp/omnisharp-vscode/issues/4382
Fixes https://github.com/OmniSharp/omnisharp-roslyn/issues/2054

Hey @filipw, how do I know if this has been released? I'm using v1.23.9 of OmniSharp and I still see that issue.

it was not integrated into the C# extension yet


Integrate github repo authorization with auth connect command

issue: https://github.com/wso2/choreo/issues/11

@tharinduwijewardane Shall we merge the repo-auth branch with master. We can use a different PR for that.

@tharinduwijewardane Shall we also link the relevant issue to the PR always?

Shall we add the documentation related to auth command as well?

Shall we add the documentation related to auth command as well?

done


Update to use status message for error warning

Modified to make the error message appear in the status bar for invalid xml

Thanks for this,
sorry for silence, a lot of hassle now.. will look into this and merge soon


The key selected provided to the classes property is not implemented in ForwardRef(ToggleButton). You can only override one of the following: root.

The issue is in the title: the use of ToggleButton since migration to v4 warns me that
The key `selected` provided to the classes property is not implemented in ForwardRef(ToggleButton).
You can only override one of the following: root.

[X] This is not a v0.x issue.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior 🤔
It should not yell at me as as far as I can see in the doc, the selected key of the classes property of ToggleButton is allowed.
Steps to Reproduce 🕹
Here is my component: a ToggleButton with ToolTip
import React from 'react';
import { Tooltip } from '@material-ui/core';
import { ToggleButton } from '@material-ui/lab';

const rootStyle = { display: 'inline-flex', width: '100%' }
const styleNoFlex = { ...rootStyle, flex: 0 };
const styleFlex = { ...rootStyle, flex: 1 };

const ToggleButtonWithTooltip = ({ classes, noFlex, tooltip, ...props }) => {
  return (
    <Tooltip title={tooltip}>
      <div style={noFlex ? styleNoFlex : styleFlex}>
        <ToggleButton
          classes={{
            root: classes.root,
            disabled: classes.disabled,
            selected: classes.selected,
            label: classes.label,
          }}
          {...props}
        />
      </div>
    </Tooltip>
  );
};

ToggleButtonWithTooltip.defaultProps = {
  classes: {
    root: '',
    disabled: '',
    selected: '',
    label: '',
  },
  noFlex: true,
};
export default ToggleButtonWithTooltip;

Your Environment 🌎

Tech
Version

Material-UI
v4.1.1

React
v16.8.6

Browser
Chrome 74.0.3729.169 (Official Build) (64-bit)

TypeScript
NA

etc.

My bad, the warning was actually for my ToggleButtonGroup, not this component...


[ENH] Ideas to condense the UI on tab "1"

🟢 Is your feature request related to a problem? Please describe.
Several long-time GSE2 users have been a bit confused by the new UI (some have complained, others jumped onto the train and started learning how to use the new version).
According to what I read, one of the most common complaints is that now the macro takes much more vertical space in the Sequence Editor. This because of blocks.
🟢 Describe the solution you'd like
1.1 -
Would it be possible to let the player choose how many lines to display inside blocks (2, 3, 4 or 5 lines)?
Mock-up (blocks showing 3 lines), before/after:

1.2 - (my prefered suggestion)
Or even better: maybe GSE3 could adapt the blocks height to the number of lines within it?
Of course, there would be a limit : an option could be added to set the maximum number of lines to be displayed.
Mock-up (blocks adapting their height to the number of lines):

2 - Alternatively:
An option to let the player choose the Font Size of lines inside blocks.
3 - Alternatively (as Mephirogob suggested here):
Allow to collapse and expand blocks like what Visual Studio Code or Notepad++ do with "paragraphs".

The goal of these suggestions is to be able to display more blocks at first sight, without needing to scroll down.

THe current default of 4 was KeyPress + the line from Sequence + KeyRelease + 1.
It is possible to allow someone to choose but it would have to be for all macros not individual macros.
I cant get it to auto resize.  If I allow the box to grow it will just draw over the top of the stuff underneath it.  I have to redraw the entire frame and in doing so you loose focus to the block and it will not always come back to the block as shown.  Have to refind the block every time you press enter is annoying.
Collapsing may be possible BUT i have to create an entire collapsible panel control as one doesn't exist in WoW's UI set.  The selectable panel used by the editor took 3 weeks.

A- It is possible to allow someone to choose but it would have to be for all macros not individual macros.

B- I cant get it to auto resize. If I allow the box to grow it will just draw over the top of the stuff underneath it. I have to redraw the entire frame and in doing so you loose focus to the block and it will not always come back to the block as shown. Have to refind the block every time you press enter is annoying.

C- Collapsing may be possible BUT i have to create an entire collapsible panel control as one doesn't exist in WoW's UI set. The selectable panel used by the editor took 3 weeks.

A- Of all these three possibilities, "A" seems to be the easiest to implement for the moment.. That would already be a good convenient option to have for the user.
C- If you want to implement collapsing/expanding blocks (some day), perhaps you could take a look at WeakAura's source code, as it features collapsable & expandable widgets. And "drag & drop" too btw.

The easiest to implement at the moment it to not change it.  Getting everyone to go in and change their defaults will also be a PITA.  ATM I would prefer to do E) finish drag and drop and sort out how to get the panels to resize without having to loose focus.

E) finish drag and drop

(a bit off topic but) Do you think the GSE user can expect to be able to move Action blocks out of a Loop block and place them elsewhere, in the main area of the macro ?

Potentially
TimothyLuke

On 12 Jul 2021, at 1:39 pm, xan2622 @.***> wrote:

E) finish drag and drop
(a bit off topic but) Do you think the GSE user can expect to be able to move Action blocks out of a Loop block and place them elsewhere, in the main area of the macro ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

1.2 was added into 3.0.33

1.2 was added into 3.0.33

If blocks now do adapt their height to the number of lines that are added, it seems that the block height don't shrink to two lines (if the block only has two lines of spells).
The goal of this Github Isssue (this suggestion) was to condense blocks (by getting rid of the extra (unused) empty lines in blocks).
I hope it's still planned to make blocks reduce their height if there is only 1 or 2 lines in them. 🤞

The text box itself has a minimum size irrespective of the number of lines and grows if it goes past those lines on a redraw.  There is what I can achieve.

Too bad. 😥
I would have thought it was possible to give these editboxes a thiner height with e.g. editbox:SetHeight(50)


about the distance unit of the reconstruction result

Thanks for your great work!
I followed your reconstruction pipeline to reconstruct a dense point cloud.
Having many points with a 3-D coordinate in it, I'm wondering if the unit (say millimeter, meter) of these coordinates is available somewhere, so that one can know the true size of the reconstruction target.
Or if the unit is ambiguous, what are these values relative to?

Structure-from-Motion can only reconstruct the scene up to an unknown scale.


Currently playing song info

This was going to be next-0.0.7, but then I noticed you did not release 0.0.6 yet, so I ended up updating the Change Log to add more items to 0.0.6
The main changes here are:

Command option --[no-]info to show/hide currently playing (song) info when using vlc -I rc backend only [true]
Change the default backend to vlc -I rc in order to show currently playing song

Unfortunately, fetching the currently playing song info did not work on Windows. That's because Ruby support for IO.popen on Windows behaves differently, and was blocking the GUI completely. I kept this feature disabled on Windows for now even if --info was used.
Also, I had to fix some weird sizing issues on Ubuntu Linux where the height was getting doubled by libui on Linux. I remember seeing GitHub Issue reports related to sizing in libui-ng that are getting handled or are already handled. Hopefully, the hacks I had to use would no longer be needed in future versions of C libui.
Please test and let me know if it works well for you.
Cheers!

Wow. That's a very interesting feature!
I just tried it on Ubuntu and it seems to work fine. Please give me a few more days to look through the code.

I think this is a great feature.
I had no experience reviewing other people's source code, so I asked a mentor who knew how to do it for tips. Then I opened the Files Changed tab and learned that I could use the split view. Until then, I had to open a link for each commit and messed up because I couldn't follow the changes in my mind.
Thank you for the pull request!
I've learned something important again.


Valentina mignosa

I put the supraline systematically... I was thinking (don't know why) it was a feature of the mark up of greek number... I will check the other files

Okay, gone through, a few minor things (the most substantive is obviously the supraline point). When those things tweaked, commit is good to go.

Ok, thanks


Adding a Jar

Is there any way to load jar in Jupyter-scala? I used :cp /something.jar to load local jar files into Scala REPL. How can I do it with jupiyer-scala? Thanks

load.jar("/home/foo/bar.jar")

@praveen-srinivasan Thanks for answering that !

Thank you guys!

I couldn't understand above solution. I have a sbt assembled "jar" file. How to include that in jupyter-scala ?

If you want to add a local jar to Jupyter Scala , follow the instructions :
Create a jar file for your project work
Find the path to the jar
Go to Jupyter Scala cell and type all the instructions in a single cell or split them in different cells as per your convenience
import ammonite., ammonite.ops.
val path =  java.nio.file.FileSystems.getDefault().getPath("/home/animesh/Bureau/lastest_n2s3/out/artifacts/root_jar/root.jar")  // here inside the " " add your path, I have added mine for example
val x = ammonite.ops.Path(path)
interp.load.cp(x)
It works for me, please check for yourself.

Closing this now that the upcoming version is about to become the default one. It mostly wraps Ammonite now. Ask for help there if it's still a problem for you.


Add circle map with two different lane widths

Modify circle map to have different inner and outer widths
Still need to update docs/circle.png.
Relates to #61 and #62.

Closing this because our downstream project also requires that the circle be split into quarters.


Steelseries Rival 3 mice support

Can I use that for my mice Steelseries Rival 3 ? Cuz I couldn't find that in the mice list like this command :
rivalcfg --list

It is supported in rivalcfg 4.0.  See https://github.com/flozz/rivalcfg/issues/111.

thanks.


feat: add login logout proxy methods

Add login/logout methods in order to clarify login procedure while using docarray
closes: https://github.com/jina-ai/docarray/issues/696
should be merged after https://github.com/jina-ai/jina-hubble-sdk/pull/96

Looks good overall; I made some minor wording changes. One usage note: login is a noun or adjective; log in is a verb.

thanks for the feedback, I applied your suggestions

this looks a bit mis-aligned


Ft modify user registration #158140254

What does this PR do?

Tries to modify the User Registration Endpoint to use the Database

Description of tasks to be completed

Modify the User Model to use the database to persist data
Add code to save user data in the database

What are the relevant Pivotal Tracker Stories?
#158148097

Pull Request Test Coverage Report for Build 98

5 of 31 (16.13%)  changed or added relevant lines in 3 files are covered.
440 unchanged lines in 11 files lost coverage.
Overall coverage decreased (-83.3%) to 5.745%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

MaintenanceTrackerAPI/api/v1/auth/register.py
0
3
0.0%

MaintenanceTrackerAPI/api/v1/models/user_model.py
3
9
33.33%

MaintenanceTrackerAPI/api/v1/database.py
2
19
10.53%

Files with Coverage Reduction
New Missed Lines
%

MaintenanceTrackerAPI/api/v1/users/init.py
7
0.0%

MaintenanceTrackerAPI/api/v1/auth/init.py
8
20.0%

MaintenanceTrackerAPI/api/v1/init.py
9
25.0%

MaintenanceTrackerAPI/api/v1/auth/logout.py
15
0.0%

MaintenanceTrackerAPI/api/v1/auth/register.py
29
0.0%

MaintenanceTrackerAPI/api/v1/auth/login.py
34
10.53%

MaintenanceTrackerAPI/api/v1/users/single_user_all_requests.py
50
0.0%

MaintenanceTrackerAPI/api/v1/models/user_model.py
51
7.25%

MaintenanceTrackerAPI/api/v1/boilerplate.py
52
6.9%

MaintenanceTrackerAPI/api/v1/users/single_user_single_request.py
58
0.0%

Totals

Change from base Build 96:
-83.3%

Covered Lines:
32

Relevant Lines:
557

💛  - Coveralls

The code coverage reduced drastically because of the import statements... But I'll correct that as a chore after I modify the models to work with the database...

I'm experiencing the same decrease too.


Tag Helpers: Redesign of Tag Helpers content mode

This redesign unifies the various content modes of Tag Helpers and facilitates new features like conditional execution of Tag Helper contents, e.g. to support the proposed CacheTagHelper aspnet/mvc#1552.

Get rid of the ContentBehaviorAttribute
Change members of TagHelperOutput:
Add public string PreContent { get; set;}: content to be rendered before child block or Content
Add public string PostContent { get; set;}: content to be rendered after child block or Content
Setting the Content property prevents the calling page from executing the child block and using its contents.
Add public bool ContentSet { get; }: indicates the Content property has been explicitly set and the hosting view/page will not execute the child block and use the resulting value for the element content
Add public Task<string> GetChildBlockContentAsync(): executes the child block and returns the resulting string value
- This is memoized such that only the first call actually executes the child block, subsequent calls simply return the cached result
Add public void SuppressOutput(): sets the Content and TagName properties to null

This design assumes all child blocks of Tag Helpers are emitted in delegates to support delayed execution. We could potentially introduce a new attribute ModifyContent that could be placed on Tag Helper classes to avoid the delegate creation except for the cases where the Tag Helper explicitly states it wants to modify content by presence of the attribute (by calling TagHelperOutput.GetChildBlockContentAsync) if it's determined that the performance impact of always generating closure delegates is significant.
The GetChildBlockContentAsync method should be protected from calls to Flush and Write in the child block by effectively delaying requested writes and flushes until after the Tag Helper has finished being written to the output. This will avoid inadvertent flushes to the output which would potentially reorder the content from what was intended.
Usage Examples
Prepending Content
Tag Helper class
public class TestTagHelper : TagHelper {
    public void Process(TagHelperContext context, TagHelperOutput output) {
        output.PreContent = "I will appear before the content
";
    }
}

Razor file
<test>
    Some content
</test>

HTML output
<test>
    I will appear before the content

    Some content
</test>

Appending Content
Tag Helper class
public class TestTagHelper : TagHelper {
    public void Process(TagHelperContext context, TagHelperOutput output) {
        output.PostContent = "
I will appear after the content";
    }
}

Razor file
<test>
    Some content
</test>

HTML output
<test>
    Some content

I will appear after the content
</test>

Replacing Content
Tag Helper class
public class TestTagHelper : TagHelper {
    public void Process(TagHelperContext context, TagHelperOutput output) {
        output.Content = "I will replace the content";
    }
}

Razor file
<test>
    Some content run at @DateTime.Now
</test>

HTML output
<test>
    I will replace the content
</test>

Modifying Content
Tag Helper class
public class TestTagHelper : TagHelper {
    public async Task ProcessAsync(TagHelperContext context, TagHelperOutput output) {
        var childContent = await output.GetChildBlockContentAsync();
        output.Content = childContent.ToUpperCase();
    }
}

Razor file
<test>
    Some content
</test>

HTML output
<test>
    SOME CONTENT
</test>

Conditionally Suppressing Output
Tag Helper class
public class TestTagHelper : TagHelper {
    public bool Render { get; set; }
    public Task ProcessAsync(TagHelperContext context, TagHelperOutput output) {
        if (!Render) {
            output.SuppressContent();
        }
    }
}

Razor file

Hello

<test render="false">
    Some content
</test>

World

HTML output

Hello

World

Razor commits:
a658c1336f050a0d8a0c0dce56003a7864c65c79
0eb614b0272417bade4dc8182d5db66923e23cb3
1ef8c088d1dbbb1f0e72e799de1aacdac303d6fc
c38761f504ec7d258e5cb5eaa3fa0563c55b7967
Mvc commits:
7b525593661854c511c119b5a0a80ecec4b99fe1
eb1eca9e1a8cfb6a2db4849040b1ac9a7f92471b


font-kerning property

Afternoon! Thanks for caniuse. I use it all the time.
I just noticed that the "font-kerning" property's support wasn't on the site, so I figured I'd suggest it. Thanks!
http://www.w3.org/TR/css3-fonts/#font-kerning-prop

Thanks for the tip!

After more research on this I've updated it and made it visible on the site: http://caniuse.com/#feat=font-kerning


Filter by distance/interval in continuous location update

Add distance/interval filters when monitoring location updates continuously.

This feature was available in old version. I would soon need it to go live.
Could you give any prediction when it's going to be implemented?

Any update on this ? Specially intervals for background task. For example to be able to setup, that location should be read every 20s

Need it too. Is there any possibility to timeout the continuous location update? Best wishes.


Refactoring for DirtyTracking

Refactoring related to Issue #186.
Also fixed some wrong tests – #changed_attributes should show changed attributes with previous values.

@dsnipe there is a problem with changed attributes:
require 'lotus-model'

class Post
  include Lotus::Entity
  include Lotus::Entity::DirtyTracking
  attributes :title, :tags
end

post = Post.new title: 'foo', tags: %w(red green)

puts post.changed? # false

post.tags << 'blue'
puts post.tags.inspect
post.changed_attributes.inspect # => {:tags=>["red", "green"]}
post.title = "new title"
post.changed_attributes.inspect # => {:title=>"foo"}

do you see changed_attributes only save the last changed attribute?

hmm... I'll check this today
thanks @AlfonsoUceda

@AlfonsoUceda you may continue reviewing :)

I'll change the position of https://github.com/dsnipe/model/blob/refactoring-dirty-tracking/lib/lotus/entity/dirty_tracking.rb#L7-L27 to https://github.com/dsnipe/model/blob/refactoring-dirty-tracking/lib/lotus/entity/dirty_tracking.rb#L3

@dsnipe I think this is getting convoluted. The introduction of another ivar to track the state is a smell.
I'd follow @solnic suggestion reported in #186

The only way to make it reliable is to compare entire attribute hash, it'll be slower but at least stable.

To clarify, he's referring to Object#hash comparison.

The only way to make this stable is to compare original "raw state" with the current one. "raw state" means attributes that are going to be persisted. Since entities are decoupled from repositories you're going to have hard time making robust dirty tracking. IMO a repository should be responsible for telling if an object is dirty or not.

@jodosha I understand what you mean. It's smells for me too. I was looking for a "easy way", but as noted @solnic, it's more complicated than it seems at first glance.
I'll make research on this when will have some time (after my wedding on this Saturday, I hope at least I'll have it :)

@dsnipe OMG Best wishes!! :wedding: :ring: Don't care about this, I'll figure out. Enjoy your honeymoon :honey_pot:  :full_moon:

@jodosha thank you! :sunny:
Working on this project is a pleasure for me, so It'll no problem to take some time. My future wife understands that marries on developer :)
Anyway it'll be great if you can put somewhere your strategic vision about Models (for developing process). Than it'll be easy to understand what functionality important and should be in core, and what is not so and might be as plugin and so on.
I want to be more involved in that project and that kind of understanding important for me, so I'll be very appreciated if you can find time and share your thoughts.

@dsnipe Congrats

@dsnipe I merged this thank you. Make it work is more important of the internal design. I've did some refactoring here https://github.com/lotus/model/commit/a230aeaae3a1098136f3d0087074105505a3696f


Test: Install always DNS deployments

Now that CoreDNS manifest are in the provision path, the use of
INSTALL_KUBEDNS is not longer needed and should be installed always.
Signed-off-by: Eloy Coto<EMAIL_ADDRESS>

This change is

test-me-please

The issue that happened on 1.12 is a know issue, and it's going to be fixed on https://github.com/cilium/cilium/pull/4757

test-me-please

test-me-please

@eloycoto K8s 1.8 tests failed with issue waiting for DNS to be ready:
19:53:09     kube-dns was not able to get into ready state
19:53:09     Expected
19:53:09         <*errors.errorString | 0xc420360fa0>: {
19:53:09             s: "Timeout reached: timed out waiting for pods with filter -l k8s-app=kube-dns to be ready",
19:53:09         }
19:53:09     to be nil

Build link:
https://jenkins.cilium.io/job/Cilium-PR-Ginkgo-Tests-K8s/593/

test-missed-k8s


build(lint): fix lint-staged config for GH Actions

Issue or need
In #692 , the config to run actionlint in pre-commit git hook via husky + lint-staged seems was faulty. As a recent CI/CD run failed, but nothing failed locally when comitting.
After investigating, seems the issue lies in the .lintstagedrc.json glob to capture GitHub Action files.

Proposed changes
Use {} to capture both yaml and yml files

Quick reminders

🤝 I will follow Code of Conduct
✅ No existing pull request already does almost same changes
👁 Contributing docs are something I've taken a look at
📝 Commit messages convention has been followed
💬 TSDoc comments have been added or updated indicating API visibility if API surface has changed.
🧪 Tests have been added if needed. For instance, if adding new features or fixing a bug. Or removed if removing features.
⚙ API Report has been updated if API surface is altered.

#695  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @davidlj95 and the rest of your teammates on  Graphite


TypeError: callback is not a function

Describe The Bug:
TypeError: callback is not a function
To Reproduce:
Opening homekit shows the device as 'not reacting', however it does work; but status ( open or close for my garage door msg100) does not show
Expected behavior:
active device with open/close status
Logs:
[3/3/2021, 9:40:21 PM] [homebridge-meross] This plugin generated a warning from the characteristic 'Current Door State': characteristic value expected number and received undefined. See https://git.io/JtMGR for more info.
[3/3/2021, 9:40:21 PM] [Garagepoort] TypeError: callback is not a function

Homebridge Config:
    "accessories": [
        {
            "model": "MSG100",
            "name": "Garagepoort",
            "deviceUrl": "192.168.1.xxx",
            "channel": 0,
            "messageId": "",
            "timestamp": ,
            "sign": "",
            "garageDoorOpeningTime": 15,
            "accessory": "Meross"

Screenshots:

Environment:

Node.js Version: v14.16.0
NPM Version: v6.14.11
Homebridge Version: v1.3.1
Homebridge Meross Plugin Version: tried 3.5 and 4.0
Homebridge Config UI X Plugin Version: 4.39.1
Operating System: raspbian, rpi 3b+ ( running in docker)

Won't be able to troubleshoot till I get more detail about your setup. As the template has in it. Please fill it out. Thanks!

Won't be able to troubleshoot till I get more detail about your setup. As the template has in it. Please fill it out. Thanks!

edited

Hey I have the same problem. I do not know how to fix it.
It says
[04/03/2021, 20:38:22] [homebridge-meross] This plugin generated a warning from the characteristic 'Current Door State': characteristic value expected number and received undefined. See https://git.io/JtMGR for more info.
[04/03/2021, 20:38:22] [homebridge-meross] This plugin generated a warning from the characteristic 'Target Door State': characteristic value expected number and received undefined. See https://git.io/JtMGR for more info.
[04/03/2021, 20:38:22] [homebridge-meross] This plugin generated a warning from the characteristic 'On': characteristic value expected boolean and received undefined. See https://git.io/JtMGR for more info.
[04/03/2021, 20:38:22] [homebridge-meross] This plugin generated a warning from the characteristic 'On': characteristic value expected boolean and received undefined. See https://git.io/JtMGR for more info.
[04/03/2021, 20:38:23] [Garage] TypeError: callback is not a function
[04/03/2021, 20:38:23] [Garage] TypeError: callback is not a function

OS
Raspbian GNU/Linux Buster (10)

RasPi3b

fe80::4bc7:821a:5580:20b0
v14.16.0
v6.14.11
homebridge
/var/lib/homebridge
/var/lib/homebridge/config.json
Yes

Try #228

OS | Raspbian GNU/Linux Buster (10)
RasPi3b
fe80::4bc7:821a:5580:20b0
Node.js Version | v14.16.0
Npm Version | v6.14.11
homebridge
/var/lib/homebridge
/var/lib/homebridge/config.json

you can also try running this in homebridge terminal :
npm install -g npm
and then reboot

Thanks for the help @Frankdoc, but it is still not working.

@Petern1991 Did you try the beta?

I did not @donavanbecker, but it seems to not knowing when the port is open or closed.
I did shortly worked, but after a restart, it was back to the error.

dup of #204


Recommendation/Assumption: at step 6 and 7 Update text to Publish. New sceen has publish now and later buttons instead of create.

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

ID: 2c8fc749-2ecd-61d7-4146-16fe1a373848
Version Independent ID: fcd148f1-795e-a99c-e2e9-da06e1129d3c
Content: How to set up nurture components - Power Platform
Content Source: power-platform/guidance/coe/setup-nurture-components.md
Service: power-platform
Sub-service: guidance
GitHub Login: @manuelap-msft
Microsoft Alias: mapichle

Closing as this is a duplicate


Modify edit command

Users had to retype all existing groups/tags in order to add in new groups/tags
Edit command now has a new prefix o/ which represents an overwrite flag
Excluding o/ prefix allows users to append their new groups/tags instead of overwriting it
Including o/prefix allows users to overwrite existing groups/tags

Users had to retype all existing groups/tags in order to add in new groups/tags
Edit command now has a new prefix o/ which represents an overwrite flag
Excluding o/ prefix allows users to append their new groups/tags instead of overwriting it
Including o/prefix allows users to overwrite existing groups/tags

Prefix has been changed to m/ instead which represents merge

By default, all existing values will be overwritten
If prefix m/ is present, groups/tags will be added to a person instead of overwriting it


Update backup-mabs-files-applications-azure-stack.md

Updates Next steps tab with the following:
What is Azure Stack Hub
What is Azure Backup Service
What is Azure AD
What is Azure Recovery Services Vault
What is Azure Storage

@ankulbhardwaj : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#label:"aq-pr-triaged"

@ankulbhardwaj - Thanks for your contribution. Will review the links and get back.
@ktoliver - Thanks for looping me in.

@ankulbhardwaj - Thanks for the inputs shared. We have updated the article from the back-end.
#please-close