JWT Authentication

Implement JWT authentication in middlewares/auth.js

Hey, I would like to work on this


Port zero-padding from mlir-aie

This PR adds zero-padding support to our CDO emission utility (port of https://github.com/Xilinx/mlir-aie/pull/1613).
I trimmed the test cases down @erwei-xilinx can you give it a quick look to see if I didn't slip and miss something.
Fixes https://github.com/nod-ai/iree-amd-aie/issues/537
cc @yzhang93 @MaheshRavishankar

Yeah the tests make sense to me.


Autotuning pickle fix

This fixes a tricky issue where runtime autotuning generates incorrect results, if the Operator has been pickled/unpickled.  The unpickling process creates a new instance of IterationDirection, which is equal to but not identical to Backward, and so the is comparison fails.  The runtime autotuning then executes the timesteps in the wrong order.
This changes the comparisons to equality, which works correctly.
I've put the "be extra careful" as a separate commit to make it simpler to throw away if you don't want to go that far.
A potentially more elegant solution would somehow create Forward, Backward, and Any as singletons, and somehow override the unpickling to ensure that there is only one instance.
A grep of the rest of the code only shows up one other case where this kind of test is used.  In devito/types/dense.py there are a lot of comparisons using is, e.g.:
        if side is not None:
            idx = idx*2 + (0 if side is LEFT else 1)

These might or might not be an issue.

Uncontroversial.
Is it possible to add a test to test_autotuner ?
I agree singletons is the way to go; overall, we want as many is comparisons as possible for efficiency. I'll file an issue

Im tempted to say we should go with the better fix here (ie, make Tag inherit from Enum). I'll add it to my backlog.

closing this for now. I'm gonna see soon if we can make these objects singletons thus overriding the pickling/unpickling behaviour which leads to multiple instances of what should conceptually be the same entity
also, this would lack a test anyway


Unable to edit

Users are not able to edit the start.bat file after installation.
Even if it runs
Also, bot.js pops error

"; is missing" on line 9

"node" keyword was missing from start.bat. Now resolved 👍

NOT RESOLVED! how can we change property of start.bat so that user does not have to edit it.
I think easiest way out of this problem is to implement a nice UI with electron


Move the appendChild code to inside the "child_added" event"

Fixed https://github.com/BB-Chat/bb-chat-redesigned/commit/36346cfbd91733ceb4b789f2f2b7f6edc73c07f5 and https://github.com/BB-Chat/bb-chat-redesigned/commit/6256f18f17d1fb37674d2e1cce853bcb96e8bb86


Inconsistent pronouns

When running bundle exec danger init, the Danger project is referred to as "her" and also "it". Not a huge deal, just felt weird, happy to fix given direction on it.

@ashfurrow sure, this will be awesome

Cool cool – @orta any preference? Gotta stay on-brand.

Let's stick with She everywhere


cmd/compile: unexpected NUL in input

Please answer these questions before submitting your issue. Thanks!
What did you do?
i have golang program like this code
package main
import "fmt"
func main() {
fmt.println("hello world")
}
but when i'm run..  "go run main.go"
C:\Go\src\fmt\print.go:10:2: read C:\Go\src\os\exec.go: unexpected NUL in input
What did you expect to see?
What did you see instead?
Does this issue reproduce with the latest release (go1.10.3)?
System details
go version go1.8.3 windows/amd64
GOARCH="amd64"
GOBIN=""
GOEXE=".exe"
GOHOSTARCH="amd64"
GOHOSTOS="windows"
GOOS="windows"
GOPATH="D:\Internship\Golang\Go\"
GORACE=""
GOROOT="C:\Go"
GOTOOLDIR="C:\Go\pkg\tool\windows_amd64"
GCCGO="gccgo"
CC="gcc"
GOGCCFLAGS="-m64 -mthreads -fmessage-length=0 -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
GOROOT/bin/go version: go version go1.8.3 windows/amd64
GOROOT/bin/go tool compile -V: compile version go1.8.3 X:framepointer
gdb --version: GNU gdb 5.2.1

Just tried the snippet on play.golang.org and got the following:
prog.go:6:1: cannot refer to unexported name fmt.println
prog.go:6:1: undefined: fmt.println

Is this what you want instead of "unexpected NUL in input"?

C:\Go\src\fmt\print.go:10:2: read C:\Go\src\os\exec.go: unexpected NUL in input

Note that the code in the OP has only 7 lines but the error is reported for line 10. Perhaps there's something more to the source. Can you please paste the output of hexdump -C your-file.go or from any other equivalent program?

The error is reported from line 10 of fmt/print.go I believe. In any case, this does sound like the source file is messed up somehow.

@agnivade You're right, and I'm sorry.


lxd 3.20: lxc file push -pr : no such file or directory while directory exists

ubuntu 19.10
lxd snap:  3.20                        13300
apparmor disabled completly
this will work:
lxc file push -p /data/Work/git/mydir/files/Readme.md  debian-5-i386/var/tmp/
this won't work:
lxc file push -pr /data/Work/git/mydir/files  debian-5-i386/var/tmp/
Error: open /data/Work/git/mydir/files: no such file or directory
config:
  core.https_address: '[::]:8443'
  core.trust_password: true
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
api_status: stable
api_version: "1.0"
auth: trusted
public: false
auth_methods:
- tls
environment:
  addresses:
  - <IP_ADDRESS>:8443
  - <IP_ADDRESS>:8443
  - <IP_ADDRESS>:8443
  - <IP_ADDRESS>:8443
  - <IP_ADDRESS>:8443
  architectures:
  - x86_64
  - i686
  certificate: |
    -----BEGIN CERTIFICATE-----
  [ ... ]
    -----END CERTIFICATE-----
  certificate_fingerprint: b89066e3dda7a7d90a1a7f555098fabab0c94778818aea857f5e846eab5f4e2f
  driver: lxc
  driver_version: 3.2.1
  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.3.0-26-generic
  lxc_features:
    cgroup2: "false"
    mount_injection_file: "true"
    network_gateway_device_route: "true"
    network_ipvlan: "true"
    network_l2proxy: "true"
    network_phys_macvlan_mtu: "true"
    network_veth_router: "true"
    seccomp_notify: "true"
  project: default
  server: lxd
  server_clustered: false
  server_name: gquentin-HP-EliteBook-830-G6
  server_pid: 22325
  server_version: "3.20"
  storage: btrfs
  storage_version: "4.4"

Any symlinks in that path by any chance?

yes there is :/data/Work/git is a symlink to ~/Work/git.

That's gonna be a fun one to fix in LXD... the issue is with snapd's mount namespace and the way we need to access files from the host namespace. We have a way to access that filesystem, but absolute symlinks break this by pointing into the snap namespace which is lacking that data.
So if your symlnk was to point to something like ../../../../blah, it'd work fine, but it pointing to /blah causes us to attempt opening from within the read-only snap filesystem, which obviously doesn't contain the data you want.

@stgraber could we use filepath.EvalSymlinks and add then push it through HostPath()?

@tomponline yeah, see HostPathFollow which I introduced to handle a related issue last week.


Update multinode-centos-9-stream-crc

multinode-centos-9-stream-crc uses coreos-crc-extracted-xxl which is not sufficient and results in timed_out[1]
[1] https://logserver.rdoproject.org/96/196/8e043db26841a70ed57a54fe0c5b02dfd4bc493a/github-check/manila-operator-tempest/f9f8d5b/controller/ci-framework-data/logs/os_must_gather.log
As a pull request owner and reviewers, I checked that:

[x] Appropriate testing is done and actually running
[x] Appropriate documentation exists and/or is up-to-date:

[x] README in the role
[x] Content of the docs/source is reflecting the changes

/lgtm

/approve


Contributors list fully automated

Fix #25
Code added to add contributor's name and to automate it.

@noviicee Can you please check it?

@noviicee I have squashed and rebased it! Can you pls check it!

@aswin2108 thank you for the help!
And congratulations on getting your first Pull Request merged in Banque-De-Questions! :tada:
Keep contributing. :rocket:


Default Keyboard Shortcuts file has dup key conflict

VSCode Version: 1.3.0-insiders
OS Version: win10

Steps to Reproduce:
The dup keys are....
{ "key": "ctrl+shift+t",          "command": "workbench.action.reopenClosedEditor" },
{ "key": "ctrl+shift+t",          "command": "launcher.terminal" },
Since launcher.terminal occurs last, the ctrl-shift-t shortcut opens the exernal terminal.
This shortcut should reopen the last closed editor window.
Proposed Solution....
remap the launcher.terminal key to default to another, nonconflicting shortcut sequence

I don't see a launcher.terminal in the latest insiders, are you sure this isn't a custom keybinding?

Hey Tyriar,
That's interesting
I have the latest builds, I get them every night.
I didn't modify the Default Keyboard Shortcuts file, plus it's readonly.
Link to my screenshot image

@reactivize It appears to be the https://github.com/ilich/vscode-launcher extension causing the conflict.

Good catch Tyriar,
I guess the take-home lesson here is that an installed extension may cause unintended behavioral changes by overriding existing IDE shortcuts.

@reactivize in the future you can run code --disable-extensions to help prevent this sort of confusion :)


Socket.io support

For people using Socket.io it would be great to integrate hocuspocus, like it’s already possible with Express.

Any of the fallback solutions (HTTP long pulling, flash sockets (Adobe Flash), server sent events, ..) are not suitable for modern shared editing applications

Could you explain this @dmonad? (I'm in an environment where websockets are potentially blocked - so the current idea is to fallback to long polling


Multiple accounts may fails in github actions

When I have set 2 accounts in github acctions, there is possibility that the second account will fail to connect to zju's server like this. I don't know if it's because of github server's connection or else. Adding a sleep may help?

btw, it's ok to hitcard both accounts without connection error using local machine.

I don't see a good reason for the program to fail in github actions only. Maybe it's a network issue. I tried using github actions to submit two reports and the first attempt suceeded while the second one failed. I suggest it is some mysterious ZJU firewall blocking foreign connections.
I'm afraid there won't be much we can do. Like you said, put a time gap in between two attempts may work. But to achieve this, using a fixed sleep in code does not seem to be a good idea. I'll look into it.

Unfortunately I haven't found a clue concerning the firewall limit. I assume a 3 min delay should be enough.


TabNav should exclude buttons within tabs from the focus zone

TabNav creates an automatic focus zone where focusing from tab to tab is performed via the arrow keys. This makes sense and matches the behavior recommended in the corresponding ARIA authoring guide.
However, there do exist tabs that have buttons inside them. For example, a tab might have a "close" button or a "menu" button. An example of this use-case is Projects, where we have a menu button on the active tab:

The anchor button for this menu is getting picked up by TabNav's focus zone, so it is only focusable via arrow keys. Instead, it should be the next focusable element via Tab. (See https://github.com/github/memex/issues/11966)
Confirmation that that is the correct approach was provided by the accessibility team in this Slack message:

Buttons are not valid inside a tab list structure, so must be placed outside of it.  A pattern I've recommended in the past is to manage focus order so that when the user tabs from the tab list, they land on the button related to the tab they just came from, rather than there being a bunch of buttons in the tab order that don't map to anything in the user's mental mapping of the page.

Because TabNav does not allow configuring the focus zone, the only way to implement this behavior right now is to move the button outside of the TabNav altogether and then absolutely position it back into the tab. This is a really cumbersome and hacky approach, and it would be much easier to just fix this in the source component.
I think the simplest approach here would be to add a focusableElementFilter to the focus zone that checks if the element has role="tab". This wouldn't filter out tabs within tabs but that seems like a terrible idea anyway.
https://github.com/primer/react/blob/1030509285941da9b82680ff07c56a787178bcb5/src/TabNav.tsx#L41-L46

I'd like to nominate @hectahertz to take a look at this proposal and let us know what he thinks! Thanks @iansan5653, we'll get back to you.

Hi @lesliecdubs & @hectahertz - just following up on this issue. Any updates here? I'd really like to get this resolved because it's a significant accessibility concern in Projects.

Hi @iansan5653, thanks for pinging again and really sorry about the delay - Héctor is out sick.
I see you've gotten accessibility team guidance on this approach and it doesn't sound like it will cause a breaking change. @primer/react-reviewers should feel free to check me on this, but my assumption is that we would welcome a PR for this.

Great, I'll work on it!

I suspect that the solution provided will cause problems for some screen readers. Looking at the ARIA guidance for tabs I can see that browsers automatically apply a role of presentation to any children of a tab element - we'd need to test against a range of screen readers to see how this behaves but I'd still strongly recommend removing the button from the tab since it is not semantically valid.
cc @smockle as this week's FR in case there's any follow-up questions / discussion.

I suspect that the solution provided will cause problems for some screen readers. Looking at the ARIA guidance for tabs I can see that browsers automatically apply a role of presentation to any children of a tab element - we'd need to test against a range of screen readers to see how this behaves but I'd still strongly recommend removing the button from the tab since it is not semantically valid.

Thanks, I didn't realize this. I tested this with VoiceOver on Chrome (and with the Chrome accessibility tree inspector) and it works, but I guess there's no guarantee of it continuing to work if that's incorrect behavior according to the spec.
It looks like we'll need further work to make this compliant (moving the button to become the first element of the active tab's contents, then using CSS to put it back in the right place). I wonder if TabNav should natively support an accessible activeTabButton to make this easier for consumers.

I wonder if TabNav should natively support an accessible activeTabButton to make this easier for consumers.

Thanks a great idea @iansan5653 ! It totally makes sense to solve this at the component level in my opinion. cc @primer/react-reviewers - what's the best way to record this?

Thanks for the follow up and clarification on best practice @owenniblock!
@iansan5653 would one of you be willing to write up a fresh issue in this repo outlining the activeTabButton proposal, and the PRC crew will review at our next weekly sync?


Define and document a few sample "big data" tasks

30/JUN/21

@RoyWilliams and @tms-epcc agreed this is being dealt with in Cycle-4 under Architecture Development dask experiment.

This is the feature set evolution


TypeScript : Web Development

Description
I want to make documentation part of TypeScript
Domain
Frontend Dev HTML/CSS/JS
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign

/assign


staleQueries cause infinite loop

This one caused me some trouble (crashing server 😅) luckily my app does not have too many users yet.
I think the way to reproduce this is to set QueryClient(staleDuration: const Duration(seconds: 1)) and then going back and forth from the screen with the query. I think the query key also needs to be refetch from another screen.
Then, fl_query starts firing requests on every millisecond, which is a lot. :D
My temporary fix rn is just QueryClient(staleDuration: const Duration(days: 9999))

Same issue here :(


[ncp] logging enhancements

We would like to work on some logging enhancements in NCP architecture. But first, I want to ensure this is something desirable for the community, and technically acceptable.

Dynamic log level configuration per module/region.

Currently, OpenThread supports dynamic configuration of the log level, this log level is the same for each enabled log region. We would like to introduce the option to dynamically change the log level for each region, via SPINEL (or compile-time). Because each region has it's own macros used for logging this seems to be quite easy to implement and may add some flash/ram only if special define would be enabled.

Timestamping NCP logs.

Because logs come asynchronously from NCP to Host, sometimes it's hard to debug timing-related issues. Wpantund/syslog timestamps logs based on the time when the SPINEL frames are received by the Host, and not when there were generated on the NCP. The proposal is to add another field to SPINEL_PROP_STREAM_LOG property, which will be the timestamp (64-bit value - number of ms from the NCP boot). As an improvement, the Host side could send the current Epoch time, so that NCP could timestamp the log based on the configured Epoch time. Of course, this will not allow for perfect synchronization (there will be always some lag between sending the property from Host side to receiving it on NCP side) but will help with debugging.

@LuDuda both proposed enhancements sound good to me!

I agree.
For the SPINEL_PROP_STREAM_LOG we should be able to easily add more optional fields in the meta data part.

@LuDuda @jwhui  @abtink I have created PR that resolves 2nd point:
https://github.com/openthread/openthread/pull/4439


server: Fix bug for region_score with store's used_size is zero

Signed-off-by: JaySon-Huang<EMAIL_ADDRESS>
What problem does this PR solve?
Fix #2470
What is changed and how it works?
If store's used size is zero, just set amplification = 1 to avoid divide by zero error.
Check List
Tests

Manual test (add detailed scripts or steps below)

Related changes

Need to cherry-pick to the release branch

Release note

Fix bug that can not get store information when store's used size is zero

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

@JaySon-Huang Can you tell more about why the used size is 0?

@rleungx It is detected by a special version of TiFlash, which report zero bytes used with non-zero regions.
I think that even in this situation, PD should not set region score to NaN. Or we can get that store information from API anymore, which may make many other components not work.

/merge


push the image when running the post cloudbuild job

the post cloudbuild job was just building the image and not pushing it to the registry, this change push the image
/assign @sftim

/assign @sftim

@cpanato How does the use of CloudBuild tie in with the config at https://github.com/kubernetes/test-infra/blob/master/config/jobs/image-pushing/k8s-staging-sig-docs.yaml ?
(It makes sense that CloudBuild pushes an image, but then what does https://github.com/kubernetes/test-infra/blob/master/config/jobs/image-pushing/k8s-staging-sig-docs.yaml configure? Is that an image promotion step?)

If this merges, I think we'd want to reinstate the run_if_changed entry that was removed in https://github.com/kubernetes/test-infra/pull/26402
(or a variant of it).

Cool, the clarification helps and of course the existing LGTM stands.
Actually, since this change doesn't change the live website, I can approve it too.
/approve

This should help with https://github.com/kubernetes/website/issues/33395


Expose the hassio-addons start/restart as homeassistant service?

Are there any plans ideas to do something like this?

I will look for this

done with 0.55


Command not found

PS Azure:> $pip.DnsSettings.ReverseFqdn = "removed"
The property 'ReverseFqdn' cannot be found on this object. Verify that the property exists and can be set.
At line:1 char:1

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

ID: 61fbc38e-8756-1ce6-e73d-38bbe2a47a5b
Version Independent ID: f067d6bb-93b3-19ef-0b58-c58938fb1d6e
Content: Reverse DNS for Azure services
Content Source: articles/dns/dns-reverse-dns-for-azure-services.md
Service: dns
GitHub Login: @vhorne
Microsoft Alias: victorh

@Sanitys , Thank you for posting here. I will take a look and get back to you shortly.

@Sanitys , yes the property does exist. Please check the below result.
PS C:\Users\msrini>
$pip = Get-AzPublicIpAddress -Name "VM1-ip" -ResourceGroupName "msrini-Networking"
$pip.DnsSettings.ReverseFqdn
PS C:\Users\msrini> $pip
Name                     : VM1-ip
ResourceGroupName        : msrini-Networking
Location                 : centralus
Id                       : XXXXXX
Etag                     : W/"35fbf059-7391-423b-90e1-91bb83b012cd"
ResourceGuid             : 103f2314-84b8-4446-b97a-4ef3b29ab8f5
ProvisioningState        : Succeeded
Tags                     :
PublicIpAllocationMethod : Dynamic
IpAddress                : Not Assigned
PublicIpAddressVersion   : IPv4
IdleTimeoutInMinutes     : 4
IpConfiguration          : {
"Id": "XXXXXX"
}
DnsSettings              : null
Zones                    : {}
Sku                      : {
"Name": "Basic"
}
IpTags                   : []
When you create a Public IP with the reverse DNS configured, you will see the below result:
PublicIpAllocationMethod : Dynamic
IpAddress                : Not Assigned
PublicIpAddressVersion   : IPv4
IdleTimeoutInMinutes     : 4
IpConfiguration          : null
DnsSettings              : {
"DomainNameLabel": "contosoapp132489562",
"Fqdn": "contosoapp132489562.westus.cloudapp.azure.com",
"ReverseFqdn": "contosoapp132489562.westus.cloudapp.azure.com."
}
Zones                    : {}
Sku                      : {
"Name": "Basic"
}
IpTags                   : []
Let me know if you have any further questions.

Thats because you already have it setup, try on a blank Ip.
Sent from my iPhone

On Aug 6, 2019, at 10:13 AM, KARTHIK SRINIVAS<EMAIL_ADDRESS>wrote:
@Sanitys , yes the property does exist. Please check the below result.
PS C:\Users\msrini>
$pip = Get-AzPublicIpAddress -Name "VM1-ip" -ResourceGroupName "msrini-Networking"
$pip.DnsSettings.ReverseFqdn
PS C:\Users\msrini> $pip
Name : VM1-ip
ResourceGroupName : msrini-Networking
Location : centralus
Id : XXXXXX
Etag : W/"35fbf059-7391-423b-90e1-91bb83b012cd"
ResourceGuid : 103f2314-84b8-4446-b97a-4ef3b29ab8f5
ProvisioningState : Succeeded
Tags :
PublicIpAllocationMethod : Dynamic
IpAddress : Not Assigned
PublicIpAddressVersion : IPv4
IdleTimeoutInMinutes : 4
IpConfiguration : {
"Id": "XXXXXX"
}
DnsSettings : null
Zones : {}
Sku : {
"Name": "Basic"
}
IpTags : []
When you create a Public IP with the reverse DNS configured, you will see the below result:
PublicIpAllocationMethod : Dynamic
IpAddress : Not Assigned
PublicIpAddressVersion : IPv4
IdleTimeoutInMinutes : 4
IpConfiguration : null
DnsSettings : {
"DomainNameLabel": "contosoapp132489562",
"Fqdn": "contosoapp132489562.westus.cloudapp.azure.com",
"ReverseFqdn": "contosoapp132489562.westus.cloudapp.azure.com."
}
Zones : {}
Sku : {
"Name": "Basic"
}
IpTags : []
Let me know if you have any further questions.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@Sanitys , The first example is a blank IP where even FQDN is not updated. But I can see the DNSSettings property but the value is empty.
PS C:\Users\msrini>
$pip = Get-AzPublicIpAddress -Name "VM1-ip" -ResourceGroupName "msrini-Networking"
$pip.DnsSettings.ReverseFqdn
PS C:\Users\msrini> $pip
Name : VM1-ip
ResourceGroupName : msrini-Networking
Location : centralus
Id : XXXXXX
Etag : W/"35fbf059-7391-423b-90e1-91bb83b012cd"
ResourceGuid : 103f2314-84b8-4446-b97a-4ef3b29ab8f5
ProvisioningState : Succeeded
Tags :
PublicIpAllocationMethod : Dynamic
IpAddress : Not Assigned
PublicIpAddressVersion : IPv4
IdleTimeoutInMinutes : 4
IpConfiguration : {
"Id": "XXXXXX"
}
DnsSettings : null
Zones : {}
Sku : {
"Name": "Basic"
}
IpTags : []
Can you share your output?

I will in the AM, try from cloud shell in portal using powershell. It gives an error on the second line stating that ReverseFqdn is not found. Maybe that is the issue.
Sent from my iPhone

On Aug 6, 2019, at 10:52 PM, KARTHIK SRINIVAS<EMAIL_ADDRESS>wrote:
@Sanitys , The first example is a blank IP where even FQDN is not updated. But I can see the DNSSettings property but the value is empty.
PS C:\Users\msrini>
$pip = Get-AzPublicIpAddress -Name "VM1-ip" -ResourceGroupName "msrini-Networking"
$pip.DnsSettings.ReverseFqdn
PS C:\Users\msrini> $pip
Name : VM1-ip
ResourceGroupName : msrini-Networking
Location : centralus
Id : XXXXXX
Etag : W/"35fbf059-7391-423b-90e1-91bb83b012cd"
ResourceGuid : 103f2314-84b8-4446-b97a-4ef3b29ab8f5
ProvisioningState : Succeeded
Tags :
PublicIpAllocationMethod : Dynamic
IpAddress : Not Assigned
PublicIpAddressVersion : IPv4
IdleTimeoutInMinutes : 4
IpConfiguration : {
"Id": "XXXXXX"
}
DnsSettings : null
Zones : {}
Sku : {
"Name": "Basic"
}
IpTags : []
Can you share your output?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@Sanitys , I tried via CloudShell and I am able to see the DNSSettings property.

I can reproduce this easily. Please reach out to me internally.

@Sanitys , i don't see there is an issue with the command mentioned in the doc. You need to first go through the Validation of Reverse DNS before adding the DNS Settings of reverse DNS as mentioned here.


Is the database embedded with the library?

I presume the SQLite3 is not embedded with the library right? I'm looking for a library that can embed the SQLite so it doesn't need to be installed on target PC separately, for convenience reasons.

SQLite 3 is contained within better-sqlite3 as part of the native Node module. No further installation required.

SQLite 3 is contained within better-sqlite3 as part of the native NodeJS module. No further installation required.

Perfect, thanks

Bundled version can be found here. https://github.com/WiseLibs/better-sqlite3/blob/master/docs/compilation.md#bundled-configuration


Brackets 1.7 osx not working

Just tried Brackets 1.7 on OSX 10.11.4 and nothing works. The app opens but is not responding at all, only thing i can do is force quit. Nothing happens when i choose a menu item.
Also GUI is quite empty, not see the a proper file tree

Could you delete cef_data folder residing under preferences and relaunch the app? This should be under
~/Library/Application Support/Brackets on MAC

Do i need to make a backup of the preferences and plugins just to make sure?

Yes please !
On 15-Jun-2016, at 7:12 PM, schroef <notifications<EMAIL_ADDRESS>wrote:
Do i need to make a backup of the preferences and plugins just to make sure?

You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/adobe/brackets/issues/12526#issuecomment-226190397, or mute the threadhttps://github.com/notifications/unsubscribe/ABgQ4Dm43d1Fy5iCIVnh5oaC8B8e0o05ks5qMAEpgaJpZM4I1X3a.

@nethip
hi its still not working. Deleted the complete folder

Same issue.
Errors:
Brackets Helper[29851] : CGAffineTransformInvert: singular matrix.

@schroef From the screenshot I see that there are some extensions that are still getting loaded. Could you delete the right preferences folder and try launching Brackets.  I would follow the following steps.

Open Finder
Invoke the Go To Folder dialog using the Cmd+Shift+G.
Paste ~/Library/Application Support/Brackets/in the input field and click "Go" .
That should land you in the right Brackets preferences folder.

@stgwww Could you try the same steps?

Sorry for the long wait, but putting in you code with cmd+shift+G actually goes to the usere folder. I the main library there is no bracket app. ive deleted every thing accept the extensions.
I started by removing cef_data, and the 2x .json files.
After no difference - moved malas34.brackets-console-plus to disabled plugins - Brackets now works.

@schroef can you open an issue on the extension repository?
I'm closing this as extension problem.


Support StarkNet 0.10.1

Closes #416
Closes #417

I've just run E2E tests on integration and all are passing 🚀

Let's wait for testnet release and we can merge.


Loader breaks on unexpected structure

I think we should be able to pass any kind of struct in to any function on the next chain, at least through the loader, but I can't:
Error [GENERAL | xrCreateInstance | OpenXR-Loader] : VUID-XrInstanceCreateInfo-next-next: unexpected struct in 'next' chain.
Error [GENERAL | xrCreateInstance | OpenXR-Loader] : VUID-xrCreateInstance-info-parameter: something wrong with XrInstanceCreateInfo contents
Error [GENERAL | xrCreateInstance | OpenXR-Loader] : LoaderInstance::CreateInstance chained CreateInstance call failed

This was prompted by this test: https://gitlab.freedesktop.org/monado/utilities/xr-system-tests/blob/master/tests/functions/xrCreateInstance.cpp#L53  which throws an XrActionCreateInfo in the XrInstanceCreateInfo chain.

Assigned myself. Buried on another project for a couple weeks, plan to look at this in early July.

oh go figure - looks mostly like an easy fix - there's a ValidateInstanceCreateInfoNextChain which doesn't really need to exist. Not seeing any associated ones in generated code for the rest - guess I'll have to try messing around with next chains in other functions.

Closing - resolved by PR #62.


feat: read mc & java version from version.json

depends on #63, closes #56
Size Difference
BEFORE: 396K    build/libs/paperclip-3.0.4-SNAPSHOT.jar
AFTER: 432K    build/libs/paperclip-3.0.4-BOOP-SNAPSHOT.jar

@powercasgamer can you rebase this?


[Suggestion] Skylightlevel text can be resized/hidden; numbers follow player direction.

In number mode, the skylight level text is too big for me. It would be nice to have an option to make it smaller or hide it. Also, the numbers always point north. Could we have the numbers follow the player's direction?

Thank you for your suggestions!
Both are good suggestions, with the first one (hiding/resizing Skylightlevel text) being theoretically relatively easy to implement, but the second one (numbers follow player direction) requires a lot of work with rewriting the mod's internals.
With that said though, I do plan on supporting both features! It will just take some more time, especially because right now, university takes up almost all the free time I have.
Thank you again for your suggestions!


Prepare Tables patch release for August 2022

API change check
API changes are not detected in this pull request.


update bdc tab category

Coverage decreased (-0.1%) to 34.775% when pulling 5808dae8e48a3e94e57baf4ccfff0cfdb389ca4c on alanren/bdc-tab-category into e7f65f45f22ad513b3aaa98fdba37c0d3d9ea83d on master.


resnet50_graph_inference_tensors.btf not available

When I wanted to reproduce the tfrt with resnet50 benchmark in the link below, I found that the btf file in google drive was not available, is there any other way to download this file?
https://github.com/tensorflow/runtime/blob/master/documents/resnet.md

When I wanted to reproduce the tfrt with resnet50 benchmark in the link below, I found that the btf file in google drive was not available, is there any other way to download this file?
https://github.com/tensorflow/runtime/blob/master/documents/resnet.md

Hi, I have the same problem. Have you found a solution?

Sorry for the inconvenience, we updated the link to the BTF file. Please try again.


Runner - always cache files, not only when something is changed

I think, this should fix #1842.
/cc @GrahamCampbell

Yes, along with https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/1843, I think this should fix it.

I'll try it out and see.

Hmm, looking at your PR, it doesn't look right. dryRun doesn;t indicate if something was changed or not?

Oh, wait, sorry. I've missread the diff. It does look good!

Just tested this with my other imports patch, and they work.
:+1:

Question: why we want to remember that file is fixed when in fact we didn't fix it?
With this PR:

first run, with dry-run, it found that file should be fixed, but didn't fix it, then mark in cache
second run, without dry-run, it skipped the file, even while file needs fixing

@keradus good point, updated the pr.

great ;)
@GrahamCampbell is that solves performance issue you have reported?

With my import fix PR, yes it does.

Thank you @gharlan.


Checkpoint selection

Added a function that allows you to choose a session to resume training from instead of hard coding it.  It chooses the steps zip with the largest number inside the session folder.

Hey, thanks for opening a PR!
So this gives a menu of sessions to start from? Sounds nice. I think it could be factored into it's own file so it doesn't have to be duplicated across files. And it also would could be applied to the run_pretrained script.
This prompts you every time no matter what though? It would be great if by default you weren't required to do this every time, maybe it could be enabled with a flag or cli argument?

Good ideas, I'll keep working on it. What would you see as being the default session used if the flag wasn't used?

I think there should still be a hardcoded file_name variable, and if it can't be found or is set to something special like "automatic" or "prompt" it will give you the menu. Also I didn't get to inspect the code too closely yet but one of the menu options should be starting from scratch of course.
Also make sure to pull this change I just merged in:
https://github.com/PWhiddy/PokemonRedExperiments/pull/105


⚠ TV Manager has degraded performance

In 3d73482, TV Manager ($SITES_URL_TV_MANAGER) experienced degraded performance:

HTTP code: 503
Response time: 1015 ms

Resolved: TV Manager performance has improved in 9a7c91a after 1 hour, 58 minutes.


DBZ-5429: Add INITIAL_ONLY flag to snapshot mode

https://issues.redhat.com/browse/DBZ-5429
Added INITIAL_ONLY snapshot mode to Db2 connector.
The documentation PR can be found here: https://github.com/debezium/debezium/pull/3733

@Naros It seems like the test failed for a reason unrelated to my changes. Is there anything I can do to fix this?

Actually @ajunwalker could you rebase this against main now?

@Naros Done!

We prefer to avoid merge commits, could you please squash these down into one commit based on main, please.

Thanks @ajunwalker, I'll take a look at the failure but at least its rebased.

Applied to main (=2.0) and branch 1.9.


Support non image assets

We should be able to package assets which are non-image. For example an HTML file for displaying in webview, a video etc. Figure out how packager deals with these and update assetLoader to support non-images.

I pulled the master branch and tried out this feature with m4v files. It did not serve the file properly I think
GET /assets/ios/App/Images/consent_01.m4v 404 175 - 7.264 ms

I get the feeling it should be serving from just /App/Images/consent_01.m4v instead?


Add timestamp processor

A few notes for discussion:

I submodule my modified version of dateutil inside this repo, so there is no risk of messing up the dependency with pip install -e
There are some mixed use of import dateutil and relative import in dateutil, but that doesn't seem to be an issue, so I left it that way.

Alternative solution: regex
I tried to use a simple regex to parse, and find the difference with this version, and here are some of the dates the regex did not parse.
r"(20[0-2][0-9]|19\d\d)[/\-](0?[1-9]|10|11|12)[/\-](0?[1-9]|[12]\d|3[01])"

/news/2018/sep/24/community-calendar-sept-25-2018/
/entertainment/lehigh-valley-music/mc-ent-elvis-costello-review-sands-bethlehem-event-center-20181103-story.html
/news/2017/jan/01/births-announcements-part-ii-january-1-2016/
/articles/view/20180624/gozo/organ-masterclasses.682695
/nation-world/hc-wp-trump-racist-ad-20181102-story.html
/16-Apr-2019/sc-adjourns-hearing-of-orange-line-metro-train-case-till-friday
/news/20130731/project-gets-new-life-planned-condo-development-would-be-first-in-six-years-in-southeast-volusia
/news/20070510/mccheadlocal-sports-briefsmcchead/1
/stories/2018/may/29/harvard-study-estimates-thousands-died-in-puerto-r/
/sports/baseball/cubs/ct-kyle-schwarber-home-run-ball-wrigley-20160411-story.html
/environment/climate-change/huge-blow-backtoback-bleaching-covers-twothirds-of-the-great-barrier-reef-20170406-gvewah.html
/sports/20190103/young-beaver-girls-team-edged-by-avonworth-in-key-section-clash
/sports/report/serie-a-beaten-inters-lead-cut-juventus-napoli-win-easy/20151221.htm
/news/2017/apr/18/stringers-its-really-university-city-after-burner/
/sport/motorsport/stars-driven-around-the-bend-before-whincup-claims-pole-position-20180825-p4zzrc.html
/news/datablog/2011/oct/12/afghanistan-nato-kill-capture-raids-isaf-petraeus
/news/20071225/mccheadlocal-news-briefsmcchead/1
/business/realestate/hot-property/la-fi-hotprop-ellen-pompeo-hollywood-20171220-story.html
/sports/baseball/yankees/ny-sports-dallas-keuchel-yankees-free-agency-20181111-story.html
/news/politics/national/story/2015/may/24/fleischmann-already-pulling-big-dough/306023/
/national/western-australia/measles-alert-issued-for-perth-universities-public-transport-routes-20190201-p50v7t.html
/recap-11-05-2018-26629.html
/20121003/cleveland-county-building-permits/310039786
/archives/la-xpm-2010-jun-10-la-sp-0611-usc-ncaa-appeal-20100611-story.html
/archives/la-xpm-1998-sep-01-me-18472-story.html

That's ~16% less dates.
The urls are from this dataset:
https://huggingface.co/datasets/bs-modeling-metadata/c4_newslike_url_only

Another point for discussion:
During parsing there are a few exceptions that I capture with try, but I am not sure if there would be any more exception.
Maybe it'd be worthwhile to use a more complex regex.
(The regex originally comes from @tianjianjiang, added as reviewer for discussion.)


error alert displayed

occurs on http://oaa-accessibility.org/rulesets/ page using dev branch 32bit aviewer with laltest Firefox on windows 10

seems fixed / cannot reproduce

actually, ignore me...i've tested with 64bit aViewer, not 32bit aViewer

@stevefaulkner could you try the latest version https://github.com/ThePacielloGroup/aviewer/releases/tag/<IP_ADDRESS> and report back if it's still an issue?

cannot reproduce anymore myself with latest version (forcing it to use 32bit, nor in the 64bit version). closing for now, but feel free to reopen if you do still see issues...


quesiton: cannot download data

Dear Developer,
Thank you for developing such wonderful software. I am a researcher in infant studies and have recently started organizing a research group. Our members are interested in conducting surveys and both moderated and unmoderated experiments with infants and their caregivers in Japan.
Since we are from different universities, we launched a server using a commercial VPS service and have just installed your e-babylab software. It works smoothly, except that we cannot download experiment data. When we try to do so, the browser displays an 'Internal server error (500)' message.
We have read the troubleshooting guide you provided and made sure that the 'webcam' directory is placed in the same directory as 'ipl'. However, we still encounter the same error message.
Can we resolve this issue? We would greatly appreciate any advice or suggestions you could offer.
We understand that you are busy, and we truly appreciate your time and assistance in resolving this issue.
our environment:
Ubuntu 22.04.4 LTS

Hi,
I wanted to follow up on the issue I reported earlier about not being able to download experiment data.
After digging a bit, I found that changing a line in ./ipl/experiments/reporter.py fixed the problem. Specifically:
writer.save()
needed to be changed to:
writer.close()
After this modification, I was able to download the experiment data without any Internal Server Errors.
I'm not entirely sure if this is the best solution, but it's working for us now. I thought it might be helpful to share this in case others encounter a similar issue.
Thanks again for developing this great tool. It's really making a difference in our research.

Hi @piekomk thank you very much for raising and suggesting a fix for this issue! You're absolutely right about the need to change writer.save() to writer.close() as the former is indeed deprecated. I will push the fix next week when I'm back from vacation. Thank you once again.

Fixed in a000ae240496d3e41ad55176893bfc63a1ff0aeb


Updated de.json

I added all tutorial keys, cleaned up the file, removed a few duplicates and changed a few wrong-wording sounds that were clearly google translated.
Thanks to Blaze and Elektrospy for checking the tutorial translations before this pull request.
Edit: Apologies for the multiple requests. My VSCode had a stroke.
I also updated the format to be 1:1 with neos en.json locale file to make sure it's inline with it as every line now has a german translation.
The formatting of the original document was also screwed up which I fixed in the first pull request.

Thank you for the translations and cleanup!
You don't need to worry about multiple requests, GitHub merges them all into one!


fix: sign out not working on unlocked state mode

Try out this version of the Hiro Wallet - download extension builds.

Closes #1740
Sign out drawer now appears on lock screen. Issue was that the sign out drawer is a child route, and only home page had an <Outlet />. The locked page needed one too.

cc @whoabuddy
@Eshwari007 @timstackblock Would you be able to QA this today?

@kyranjamie Testing the issue and will keep posted the findings on the ticket

Tested the issue on Brave and Chrome and test passed


[Fixes #6197] AddXmlSerializerFormatters with no namespace

@Eilon @rynowak

🆙 📅 (The linux build succeeded so far, will watch out for others too)

🆙 📅


Add compatibility for Python 3

To increase the use cases for the simulator, compatibility for Python 3 should be implemented.
As of right now, the only changes that would need to be made are with the print statements.

This has been updated on commit 0325a4a


Versioned documentation go-live

[ ] Regenerate all documentation using 5.7 so we have consistent documentation across branches and versions
[ ] Remove breadcrumb feature gate at DocumentationPageProcessor.swift:104
[ ] Remove latest-stable feature gate at DocumentationPageProcessor.swift:148

Via https://gitlab.com/finestructure/swiftpackageindex-builder/-/merge_requests/134#note_1032316154

The problem with this change is that we require packages to build with 5.7 in order to have docs. The added difficulty is that we're not showing 5.7 builds on the package page, so authors can't even check on the results if there are failures.
5.7 should work in most cases but I've already seen a test failure with our regression suite building ref ff90e2e52b586e63dfa7876106e8773ab2733aa9 of https://github.com/GetStream/stream-chat-swiftui.git. Switching to a newer ref 195c996ec0c48f96b7813b12a2aefcda374ca282 doesn't fix the issue.
This is an iOS build. I can't tell if they're all broken or if it's just this one. Either way, I don't think we can ship this unless we at least also show 5.7 builds on the package page. Even then it might be premature to switch to 5.7 wholesale. I.e. there are likely a number of packages that would lose docs (or have them grow stale rather) if we did that.
We may need to make 5.7 docs opt-in via .spi.yml initially, or delay it until we're futher along in the beta cycle or even until after release.

We may need to make 5.7 docs opt-in via .spi.yml initially, or delay it until we're futher along in the beta cycle or even until after release.

I don't think this is a terrible idea. Launching with 5.6 docs and re-generating and upgrading at 5.7 stable would be a "feature", too! 😅
I think we were thinking along similar lines this morning, I just posted this.

I think we need to

add 5.7 to the package pages
review the builds status of package with docs and 5.7 to assess how many cases there are where 5.7 fails vs 5.6
based on that decide if we default to 5.7 or make it opt-in

For instance, if we see that lots of packages fail on 5.7 we should stay on 5.6 for the doc builds and advertise the option of opting into 5.7 doc builds for packages that support 5.7.
If there are very few packages where 5.7 breaks when 5.6 didn't, we could default to 5.7 and submit PRs to those package to fall back to 5.6 doc builds.


use soulmate

what do you think about integrating this -> https://github.com/Rari-Capital/solmate/tree/dd13c61b5f9cb5c539a7e356ba94a6c2979e9eb9

Please clarify what you mean.  -2pm

Directly using solmate here doesn't make sense because both this project and solmate have competing implementations of ERC721. That being said, there are definitely some optimizations in solmate that could be ported over here (one of which is: https://github.com/chiru-labs/ERC721A/pull/35)

Closing because unclear, and @davidlee1435 's PR has been merged


qlib出现以下警告怎么解决，这些警告好像出现在回测当中。

🐛 Bug Description

To Reproduce
Steps to reproduce the behavior:
日志警告：
[14490:MainThread](2024-09-20 13:27:06,572) INFO - qlib.backtest caller - [init.py:93] - Create new exchange
[14490:MainThread](2024-09-20 13:27:18,399) WARNING - qlib.online operator - [exchange.py:219] - $close field data contains nan.
[14490:MainThread](2024-09-20 13:27:18,400) WARNING - qlib.online operator - [exchange.py:219] - $close field data contains nan.
[14490:MainThread](2024-09-20 13:27:19,860) WARNING - qlib.data - [data.py:665] - load calendar error: freq=day, future=True; return current calendar!
[14490:MainThread](2024-09-20 13:27:19,861) WARNING - qlib.data - [data.py:668] - You can get future calendar by referring to the following document: https://github.com/microsoft/qlib/blob/main/scripts/data_collector/contrib/README.md
[14490:MainThread](2024-09-20 13:27:19,955) WARNING - qlib.BaseExecutor - [executor.py:121] - common_infra is not set for <qlib.backtest.executor.SimulatorExecutor object at 0x7fc745cee760>
Expected Behavior

Screenshot

Environment
Note: User could run cd scripts && python collect_info.py all under project directory to get system information
and paste them here directly.

Qlib version:
Python version:
OS (Windows, Linux, MacOS):
Commit number (optional, please provide it if you are using the dev version):

Additional Notes

哈？


Test pm2 with several norch instances running

Check if pm2 can run more than one norch instance on a single server.

Maybe have a startup-script for each instance, that picks up the port-number from pm2 json-config:
https://github.com/Unitech/PM2/issues/765


bug: Install ValidationError(CustomResourceDefinition.spec.versions[0])

Issue description
ingress Installation failure
Environment

kubectl version
Client Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.0", GitCommit:"cb303e613a121a29364f75cc67d3d580833a7479", Git
TreeState:"clean", BuildDate:"2021-04-08T16:31:21Z", GoVersion:"go1.16.1", Compiler:"gc", Platform:"windows/amd64"}
Server Version: version.Info{Major:"1", Minor:"18+", GitVersion:"v1.18.4-tke.11", GitCommit:"2093e9ec8db4fd321acac1e8b78ba28792ff63
95", GitTreeState:"clean", BuildDate:"2021-06-04T14:12:37Z", GoVersion:"go1.15.10", Compiler:"gc", Platform:"linux/amd64"}
WARNING: version difference between client (1.21) and server (1.18) exceeds the supported minor version skew of +/-1

Tencent TKE
Minimal test code / Steps to reproduce the issue
1.kubectl create namespace ingress-apisix
2.kubectl kustomize .\samples\deploy\ | kubectl apply -f -
customresourcedefinition.apiextensions.k8s.io/apisixconsumers.apisix.apache.org created
error: error validating "STDIN": error validating data: ValidationError(CustomResourceDefinition.spec.versions[0]): unknown field "
deprecated" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion; if you choose to igno
re these errors, turn validation off with --validate=false

I'm afraid this error is because this field cannot be recognized，You can try to delete this field and try again.
But it is strange that e2e is ok, which is also use this CustomResourceDefinition.

delete 'deprecated' filed get succeeded，Tks！@gxthrj


chore: avoid throw error

My UI is getting this Uncaught (in promise) Error: Failed to update balance witch happens when vue-dapp internally tries to update the balance on an interval.
That may can just be a console warn, to avoid the error ?

lgtm


Fix comments

This change is

Reviewed 3 of 3 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Test suite failures

Test suite on travis [1] fails with 7 failed, 101 succeeded in 0.180315641 seconds and I observe the same issue on my environment.
[1] https://travis-ci.org/fog/fog-profitbricks/jobs/160080173

@voxik New and updated tests have been merged into master (#26) which should result in those 7 tests in passing now. #26 also includes new model tests and there will be more to come soon.

Below are the latest Ruby 2.1.1 results. We will be addressing tests with older versions of Ruby soon.
[1] https://travis-ci.org/fog/fog-profitbricks/jobs/161445039

Cool, thx for such fast turnaround.


Add an option for “smart” selection of palette size

Currently the tool asks you to specify the max number of colours you want returned in the dominant palette.
This is occasionally useful (e.g. if you need a fixed size palette) but other times it’s annoying because it forces you to pick the size of your palette. Picking this size is tricky, and it varies by image! Too few colours, and distinct values get smushed into one. Too many colours, and certain values will get split arbitrarily.
It might be useful to have some way of picking palette size based on a configurable threshold, e.g. keep adding colours until there are two colours whose vectors are <0.01 apart – i.e. let the tool pick the “best” palette size within some limit.

Further assorted thoughts:

There should be some default upper bound (e.g. 25) to avoid the tool running away with itself, both in runtime and return values. A very varied image might have lots of dominant colours!
Maybe this can reuse the existing --max-colours flag? That flag is already a clue to the tool, not a requirement – it can return less than the max if it’s a very simple image.
What’s the right metric for “distance” in colour space? Probably not RGB.


feat: support more validation libraries

Instead of
createEnv({
  server: {
    KEY: z.string(),
  }
});

it should be
createEnv({
  server: z.object({
    KEY: z.string(),
  })
});

and it should not be tied to zod, meaning something like scale-ts could work for example:
import * as $ from 'scale-codec';
createEnv({
  server: $.object(
    $.field('text', $.str)
  ),
});

this would require some more considerations for typings as we'd need to pull out the shape of each to get access to the raw keys to compare against the client prefix

Probably need an adapter for each validator, for couple of reasons:

To tell the core how to extract the typing, mainly for validating client prefix, and type infer in general
To tell the core how to parse the env values. As we call .safeParse in zod, but we need to do it in different way for other validator.

We support a bunch of validators in tRPC:
https://github.com/trpc/trpc/blob/main/packages/server/src/core/parser.ts
https://github.com/trpc/trpc/blob/main/packages/server/src/core/internals/getParseFn.ts

Can I look into integrating Yup as an option alongside Zod?

sure!

@aalakoski Most probably no, the ideal solution is to make t3-env understand how to extract things from different validators without having bundle with any of the validator packages.

Tanner's pattern of validating the router search params, could be something to consider here.
The process in t3-env would look like this.

Make the client and server keys in the init of createEnv  accept validation functions, that receive the values of
process.env (or import.meta, ... etc.) as its argument.
Then call the user-defined client and server validation functions to the ensure the values are adhere to the schema.

Code-example with zod:
import { createEnv } from "@t3-oss/env-core";
import { z } from "zod";

const env = createEnv({
  server: z.object({ FOO: z.string().min(1) }).parse,
  client: z.object({ BAR: z.string().min(1) }).parse
});

Code example with a custom validator
import { createEnv } from "@t3-oss/env-core";

// custom validator which could be swapped for Yup, Joi, etc....
type ServerVars = { FOO: string }
function serverValidator(values: any): ServerVars {
  // validation magic
  return { FOO: "FOOOOOOOOO" }
};

type ClientVars = { BAR: string }
function clientValidator(values: any): ClientVars {
  // validation magic
  return { BAR: "BOOOOOOOOO" }
};

const env = createEnv({
  server: serverValidator,
  client: clientValidator
});

This pattern completely opens it up to the user to bring their own validation libraries and logic into the picture, with t3-env making use of the type-safety returned by the defined validators as well as the libs' client-server separation stuff.

Will it also export zod / other validators from within t3-env or would you still need to add zod as a dependency? If not, could it be done?
Something like:
import { createEnv, z } from "@t3-oss/env-core/zod";

const env = createEnv({
  server: {
    FOO: z.string(),
  }
})

No - we won't bundle the validator

why does it need validation library tho isn't is simple enough task to do plainly? what am I missing?

Did a very naiive valibot replacement.
Obviously it doesn't accomplish the goal here of not shipping a validation library, but it might be useful to someone.

any plan support more validation libraies? i want use valibot instead of zod

Did a very naiive valibot replacement. Obviously it doesn't accomplish the goal here of not shipping a validation library, but it might be useful to someone. https://github.com/mattddean/t3-env-valibot/tree/feature/valibot

This seems to be no longer working, as parse is no longer a function of schemas.

why not using the patterns as in https://github.com/react-hook-form/resolvers/tree/master ?

why not using the patterns as in https://github.com/react-hook-form/resolvers/tree/master ?

Yeah, maybe we have to, as Valibot provides a separate parse method instead of from the scheme. Of course I also aware that they do have method from the scheme called _parse, but it's for internal use only, and I heard that it only provides some raw behavior.

I just stumbled upon this issue, and maybe this could be useful https://typeschema.com ?
next-safe-action just implemented it in it's last version, allowing people to use almost every schema validator.

I just stumbled upon this issue, and maybe this could be useful https://typeschema.com ? next-safe-action just implemented it in it's last version, allowing people to use almost every schema validator.

but it only supports async parse

would you guys be open to making createEnv an async function? there are some considerations regarding top-level awaits, but maye we can figure something out

I think we'd make a createEnvAsync in that case

I very interested in getting my hand dirty on this one, but the only problem is that how will the present is going to fit in, as now all the presents are defined with zod schema.

I very interested in getting my hand dirty on this one, but the only problem is that how will the present is going to fit in, as now all the presents are defined with zod schema.

We can have entrypoint for each @t3-oss/env-core/preset-zod for example

A few schema library authors are currently working on a common interface. This may allow this library to support any schema library that supports this interface in the future. This will simplify the integration of schema libraries and prevent vendor lock-in, which could lead to more innovation in the long run.

A few schema library authors are currently working on a common interface.

So this is the common interface https://github.com/standard-schema/standard-schema, which is pretty cool.
However, zod hasn’t adapted to it just yet, so I think we either wait or implement an adapter with standard-schema.

As of v3.24 (Dec 10), zod also implements the standard-schema


Could you please provide dataset format?

Hello,I wanna train my model,but I don't know the format of the dataset.
Could you please provide it?Thank you.
The project brought me a lot of help,I really need it.
Please!

I know how to train,but what's the dataset?
I wanna the format,please.

I know how to train,but what's the dataset? I wanna the format,please.

ImageNet 1k. just as same as RepVGG


Callbacks not invoked for background upload tasks with error code -999 kCFURLErrorCancelled

According to Apple's docs if the user force quits the app any running background tasks will be canceled, but NSURLSessionTaskDelegate:URLSession:task:didCompleteWithError: will still be invoked for each task when the user relaunches the app and the background session is recreated. This does indeed seem to be the case but the delegate method AFURLSessionManager:URLSession:task:didCompleteWithError: is losing the race with the init methodAFURLSessionManager:initWithSessionConfiguration: that recreates all the AFURLSessionManagerTaskDelegates that the delegate method relies on.
The way to recreate this bug is to start an upload and then suspend and manually kill the app while the upload is in progress. Relaunch the app. If you insert log statements in the methods mentioned above and watch the output in the console app you'll see that the delegate method gets called for the canceled tasks before the initializer can recreate their delegates.
It's necessary to propagate these canceled callbacks to to the host app so that any necessary cleanup, retries, etc can be performed.
Xcode 8.3.2 iOS 10

I have a quick fix in place based on dispatch_semaphore_t but no tests written. I can flesh it out some more and submit a pull request but it doesn't look like AFNetworking is being actively maintained at this time?

AFNetworking is being actively maintained; please do send in that PR!


Move include of  up, for std::min/max_element.

Due to moving the vector3 implementation out of ENABLE_VHACD_IMPLEMENTATION we now also need  outside of this, or in some compile cases std::min/max_element would be unknown.

Ok, thanks.


Response is not rendered in requests specs with Rails 7.2 and ActiveModelSerializers

What Ruby, Rails and RSpec versions are you using?
Ruby version: 3.2.5
Rails version: 7.2.1
RSpec version:  rspec-rails 7.0.1 ,  rspec-core 3.13.1
Observed behaviour
Before upgrade to Rails 7.1.2, both response and response.parsed_body returned properly rendered JSON for an API that uses Rails ActiveModelSerializers. After the upgrade, response contains the ActiveModelSerializers object simply returned as string, instead of the actual render.
> response
=> ...
 @stream=
  #<ActionDispatch::Response::Buffer:0x0000000135a98810
   @buf=["\"#<ActiveModelSerializers::Adapter::Attributes:0x0000000135add410>\""],

> response.body # or response.parsed_body, same result
=> "#<ActiveModelSerializers::Adapter::Attributes:0x000000012149dd70>"

Expected behaviour
In requests specs, response from a test for an API that uses ActiveModelSerializers and returns JSON, should return properly rendered JSON object, instead it returns the serializer instance.
Can you provide an example reproduction?
I created a brand new Rails 7.2 application with ActiveModelSerializers, but with stadard Rails setup and it properly renders the JSON object in the Integration test
test/integration/api_test.rb:7 ExampleTest#test_api:

    4: def test_api
    5:   Property.create(address: "155 Jackson", city: "Chicago")
    6:   get "/properties"
 => 7:   binding.pry
    8: end

> response
 @stream=
  #<ActionDispatch::Response::Buffer:0x0000000106629100
   @buf=
    ["[{\"address\":\"MyString\",\"city\":\"MyString\"},{\"address\":\"123 Jackson\",\"city\":\"Chicago\"}]"],

> response.parsed_body
=> [{"address"=>"MyString", "city"=>"MyString"}, {"address"=>"155 Jackson", "city"=>"Chicago"}]

which proves this is not an issue with ActiveModelSerializers, because it produces proper results with standard Rails 7.2.1 test suite. Not sure if this is an issue with rspec-rails or another gem from rspec group, so posting it here.

If you could produce a spec for this I can look into it, but in general this behaviour is the responsibility of Rails, so unless we're missing a module somehow I'm not sure what else we can do

I already switched from ActiveModelSerializers to Blueprinter and everything works fine. I think that there's no point in diving deeper into why it won't work with the old serializer from rails, so closing this.


License/Usage Question: Open Source Software

I want to use dracula ui in an open source project I have, reading over the license it seems like thats allowed. What is the recommended way of using dracula ui in an open source project that would allow other developers to clone and run the project themselves without having to purchase dracula ui? ~Should I copy dracula ui source directly into the project?~ It appears this isnt allowed either? How should I distribute my code in a way that uses dracula ui?

@Apollorion the repository is now open source under the MIT license.


list index

list index out of range
Traceback (most recent call last):
  File "/Users/xxx/spotify2mp3/run.py", line 158, in download_playlist
    yt_data = json.loads(ya_results)['videos'][0]
IndexError: list index out of range

after 30 songs was aborted, with this code

can you send the playlist you were trying to download and update the requirement pytube?

I encountered the same issue, here was my failed_log.txt
list index out of range
Traceback (most recent call last):
  File "/Users/***/Desktop/spotify2mp3/run.py", line 158, in download_playlist
    yt_data = json.loads(yt_results)['videos'][0]
IndexError: list index out of range

I haven't looked at run.py enough, but it looks like it's not checking to make sure that the array is empty before trying to access it.


Code clean

For code clean purpose, it's better to move RentalsSunDrawable and RentalsSunHeaderView to sample module, since Rentals Sun Style is a special use case, and as a library it's not appropriate. @liaohuqiu  how do you think?

Yes, It's too special. And what do you think StoreHouseHeader ?

I think the StoreHouseHeader more flexible than RentalsSunHeaderView, it could be as an built-in component.

Very reasonable. :+1:
I will move RentalsSun* to sample ASAP.


AST: Ensure isPlatformActiveForTarget() returns the correct result for application extensions on every platform

Previously, watchOS and tvOS application extension platforms were ignored.
Resolves rdar://96220196

This was fixed by https://github.com/apple/swift/pull/60006.


Modified container secrets and configmaps to use uppercase so that they

can work on windows nodes.

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

/test this


Operator fails if config-logging and config-observability CMs don't exist

When installing the operator with ko apply -f config/ everything works fine as there are 2 YAML files in config/ for those configMaps.
I am trying to install the operator with OLM and operator crashes because those 2 configMaps don't exist.
OLM doesn't allow creating a configMap along with the operator deployment at the moment.
Those configMaps are essentially just blank:

https://github.com/knative/eventing-operator/blob/05816afbb9183f79413326c72b25995d15c17df5/config/config-logging.yaml
*https://github.com/knative/eventing-operator/blob/05816afbb9183f79413326c72b25995d15c17df5/config/config-observability.yaml

I say we should either:
A. Make operator create those configMaps if they don't exist
B. Don't make operator fail if the configMaps don't exist

@aliok This is true at this moment. I was trying to fix them in knative/pkg, but no luck.
I am even working on a PR for the operatorhub.io here: https://github.com/operator-framework/community-operators/pull/880
these two configmaps are the hurdle as well.

@houshengbo so, same thing also happens in serving? I can create an issue there too.

@aliok Right. It happened in both serving and eventing operators.
I committed a PR in knative/pkg to resolve it: https://github.com/knative/pkg/pull/872, but I am not whether it is in the favor.

We have resolved this issue after updating the dependency of knative/pkg with knative/pkg#872 merged.

/close


Release google-cloud-java v0.116.0

This pull request was generated using releasetool.
10-16-2019 12:45 PDT
BigQuery

added jobTimeoutMs field for Job (#6482)
expose labels (#6407)

Bigtable

Bigtable: Add integration test for DirectPath fallback to and from CFE (#6460)
Declare direct dependencies in google-cloud-bigtable pom.xml (#6484)

Firestore

Regenerate firestore client (#6479)

Spanner

spanner: add iam wrapper methods (#6469)
Spanner: Change default MinSessions to 100 (#6429)

Storage

Storage: Fix Bucket logging configuration using library (#6327)

Internal / Testing Changes

Prepare webrisk client for extraction (#6513)
Prepare websecurityscanner client for extraction (#6512)
Prepare video-intelligence client for extraction (#6515)
Prepare vision client for extraction (#6514)
Prepare iamcredentials client for extraction (#6501)
Prepare datacatalog client for extraction (#6486)
Prepare gameservices client for extraction (#6500)
Prepare DLP client for extraction (#6498)
Prepare IoT client for extraction (#6502)
Prepare datalabeling client for extraction (#6497)
Bump next snapshot (#6485)

The release build has started, the log can be viewed here. :sunflower:

The release build failed! Please investigate!

The release build has started, the log can be viewed here. :sunflower:

:egg: You hatched a release! The release build finished successfully! :purple_heart:


Switch to jbuilder from oasis

Hi!
You have a new and very exciting project here. But since it's so new, I'm wondering why you decided to use oasis over jbuilder. Jbuilder has many benefits over oasis (like far faster builds for example), so I'm wondering if there are any deficiencies to it in your view or you simply haven't gotten around to it.

@rgrinberg Thanks for suggestion, but migration to jbuilder is not an important issue for me: this project is not huge (like Jane Street Core) and the build is not so slow. Sub-directories and better namespace wrapping seem useful. I think priority of this issue is low, but I plan it when major refactoring (the code of this project is too complex).

Hmm. Maybe this is good timing for refactoring. OK, I try to switch to jbuilder. Thanks!

Thank you! A release with this change would be nice as well.


Consider Crystals Kyber and Crystals Dilithium, Upgrade to AES-256, upgrade to SHA3-512

You are not using the strongest version of the encryption algorithms available. For instance, you are using AES-128, which can be weakened using a quantum computer. The simplest method to combat this would be to use AES-256. You are using SHA-256, although I do not know whether you are using SHA2 or SHA3. If you are using SHA2, then you should be using SHA3, which is more recent and widely regarded as more secure. SHA3 supports an option for a 512 bit hash, this is widely regarded as more secure than SHA256 in regards to collision attacks. I would also recommend integrating Crystals Kyber into the asymmetrical cryptography, as doing so will make your network quantum resistant, but the Crystals developers recommend using Crystals Kyber with an already established algorithm. Irregardless of whether you encrypt with Elliptic Curve Diffie Helman or Crystals Kyber first is of no consequence so long as the keys used to encrypt them are generated separately. You should also consider using Crystals Dilithium as a hashing algorithm in addition to SHA3-512. This will provide two layers of security in terms of message authentication. I would recommend Dilithium5, although there is a faster version that uses AES in counter mode instead of shake to expand the polynomials, it is called dilithium5-AES. It uses AES to take advantage of hardware accelerated AES when possible, although I would stick with Dilithium5 becuase SHAKE is an irreversible function, unlike AES. There is an open source library called liboqs created by the Open Quantum Safe project. It has a python wrapper and is written in C. All of the algorithms I have mentioned in this issue ticket are available in OpenSSL if not in liboqs.
Other than my crituqe of your cryptography choices I would like to congratulate you for fighting the good fight and proving that a more decentralized and secure internet is possible. I would also like to congratulate you on not selling out to the Web3 craze. Hopefully reticulum gets the attention it deserves.

Hi @Destroyinator69420
Thanks for your comments and critiques.  I am of course very well aware of all of the primitives that you mention.
TL;DR
I really don't mean this as a personal insult, but I will have to say it clearly from the start: Your recommendation makes no sense, and your understanding about cryptographic systems seem shallow at best. I hope you will follow your interest in the field, and work to deepen your understanding.
There are specific, and very well-considered reasons for the choice of cryptographic primitives in Reticulum, with the goal of bringing the highest degree of real-world security and functionality to the people using the stack.
The composition of a cryptographic primitive suite has far wider consequences than just the Ultra-Security-Hype-Factor-Buzzword-Score™ that it can generate, but that seems to be what you are mostly interested in here.
I am concerned with real security and reliability, for real-world applications.
Understanding Post-Quantum-Cryptography
It seems like there is a tendency for people to read about the Crystals project and think that we now have "the solution to quantum-resistant cryptography", and that we should all move to this immediately to be safe. This is complete a misconception.
The Cryptographic Suite for Algebraic Lattices, also known as "Crystals", is currently a research project, intended as a contender in a standardised suite of cryptographic primitives, that will let us continue to deploy secure cryptographic systems, in a hypothetical world, where highly efficient quantum computers have become a reality.
It is not a well-audited, thouroughly proven set of cryptographic tools. The NIST PQC project has not even completed selecting candidates for standardization into a PQC suite of cryptographic primitives.
If I had to place my bets, they would be that at least some of the primitives you mention will get selected as final candidates in the NIST PQC project. After that should then come years of scrutiny, review and testing by competent cryptographers and mathematicians other than the authors, before any serious use is considered.
People are working seriously on these projects already, because there is a potential risk of them being necessary in the future, and because it will take a significant number of years to complete the task. Should this potential risk turn into reality, we want to be prepared, and therefore it is something we need to work on now.
Does that mean that everyone should quickly jump boat to random subsets of contenders for PCQ standard primitives?
No, absolutely not.
Does Unicorns Haunt You?
You have probably read a lot of alarmist "articles" from various "news" outlets about the impeding quantum-computer-cryptography-armageddon. Such "articles" are fantastic attention-grabbers. They are pretty far off from reality, though.
As far as we currently know, it might be possible to build a quantum computer of the required complexity and speed needed to, amongst other things, efficiently break elliptic curve cryptography, and to significantly weaken symmetric ciphers like AES. There is a lot of ifs here though:

We don't know if a quantum computer of the required complexity is actually possible to build.
We don't know if the economic and material resources exist to allow the construction and operation of such a computer.
If it is even possible to build a quantum computer with several million qubits and sufficiently low gate error figures, we have no idea how long it will take us to realise this. It may be fifty years, it may be five thousand. It is most certainly not something that is right around the corner.
We don't know if the costs and other requirements involved in operating such a computer are feasible for running tasks required for breaking cryptography.

Said in another way, we think that we might, at some indeterminate point in the future, possibly possess a device that, in theory, has a hypothetical way of breaking some parts of our current cryptography systems.
That is enough to get cryptographers working on potential solutions, and is the most reasonable course of action. But anything much more than that is much closer to magical thinking, than rational risk asessment.
For most people, actually worrying about this is akin to being afraid that a unicorn might suddenly, and in broad daylight, materialise out of thin air, and proceed to violently mow you down with it's glittering horn, in a shower of rainbow-coloured sparkles.
Literally every person working in the field of cryptographic systems are perfectly well aware of developments in both quantum computing and quantum-resistant cryptography. I can assure you that nobody will be taken by surprise here, and that if the time comes, we will all be ready, collectively.
This is of course also true for Reticulum, which is designed to be completely modular in terms of primitive suites, and can have all parts changed with just a few lines of code.
But implementing any of your suggestions right now would literally and directly harm the reliability, functionality, usability over low-bandwidth mediums, universality, ease of use, and not least the actual security of Reticulum.
If you think you know otherwise, please outline the physical bounds for a quantum-compute capable system that can efficiently break X.25519, Ed25519, AES-128 and SHA-256 as used in Reticulum, in a time frame that is just marginally useful, let's say 100 years.

Some further reading for anyone that might be interested:

https://en.wikipedia.org/wiki/Shor's_algorithm
https://security.stackexchange.com/questions/48022/what-kinds-of-encryption-are-not-breakable-via-quantum-computers/48027#48027
https://www.schneier.com/blog/archives/2022/02/breaking-245-bit-elliptic-curve-encryption-with-a-quantum-computer.html
https://avs.scitation.org/doi/10.1116/5.0073075

And just another note to @Destroyinator69420 specifically; since you seem fond enough of Kyber to recommend it for actual use in projects, you'd probably be interested in noting this: https://groups.google.com/a/list.nist.gov/g/pqc-forum/c/Fm4cDfsx65s/m/0dBVXOcSCAAJ


Update virtual-machines-windows-specialized-image.md

Minor typos.

Hi @alexandair, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.
TTYL, AZPRBOT;

Thanks, @alexandair

You are welcome.


Typo

This example removes the current SharerPoint Online Home Site setting.
"SharerPoint"

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

ID: bc6340eb-48f0-ecc0-7ee1-2211f47cbbb9
Version Independent ID: 44e160a6-642b-3d90-8115-8196450f5c19
Content: Remove-SPOHomeSite (SharePointOnlinePowerShell)
Content Source: sharepoint/sharepoint-ps/sharepoint-online/Remove-SPOHomeSite.md
Service: sharepoint-powershell
GitHub Login: @Techwriter40
Microsoft Alias: kirks

Thanks for reporting @hwkwicre


[Hub Generated] Review request for Microsoft.Subscription "PUT Subscription" API

If you are a MSFT employee you can view your work branch via this link.
Contribution checklist:

[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

please run  npm install and then npm run prettier-fix to help fix format issues.

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

Can one of the admins verify this patch?

Per conversation with PR owner, they will keep DoNotMerge label for sometime. Please add remove DoNotMerge and add ReadyForSDKReview to signal for review. Thx

Closing this PR as feature team is on hold. Feel free to re-open. Thanks.

/azp run automation - sdk

This PR has been outstanding for 8 months. Closing for now. Please reactivate once decision is made to move forward. Thanks


Edit the file name with *

Hi,
My samsung s10+ call Recorder is recording to file name with the number of the conversation, but in my country we have numbers that start with * , when i tried to sync file with the charts the app doesn't success to edit the file name.
Is there any workaround for thia issue?
This is the log file:
E 2021/04/10 21:31:16.819 SyncThread       Call Recorder Files: /storage/emulated/0/Call/Call recording *8860_200114_093427.m4a The source file or directory name contains invalid characters for the destination. Edit name to allow sync. Character=* [Sync Failed]

Hi,
The characters that can be used in the file name / Directory name differ depending on the File System. You can use non-null characters in internal storage, but you cannot use ":, , *,?,", <,>, |" characters in external storage (FAT32 / exFAT) and SMB servers.
Workarounds are

Remove or convert the unavailable characters from the file name.
Optionally exclude files/directories

Best regards.


Source Control FR: Set repo icons to only show on hover

I've been working with the SCM sidebar recently, in an attempt to push all my dev work into VSCode... But I find that the buttons on the repo row take up way too much visual real estate.
The easiest solution would be to show nothing except the number of changes (and perhaps the menu icon) by default, then on hover, to show the rest. This would retain the ease of those extra buttons without all the clutter. It would make it easier to keep the sidebar at a sane width as well.
If others have a different opinion about what to always show, it's possible to enable settings for each icon, to values: alwaysShow, showOnHover, and neverShow.

#107145


Switch to int64 binary timestamp encoding in pgwire

Some postgres clients do not check for the server parameter for the
binary encoding but simply assume that the newer int64 binary encoding
is used.
Examples are pgx, and asyncpg.
(E.g. https://github.com/MagicStack/asyncpg/blob/3565ef8c68beb3cf5c22dce50388c9d226360a3f/asyncpg/protocol/codecs/datetime.pyx#L69)
This changes the encoding to make these clients work. The double
encoding has been removed from Postgres a while ago:
https://github.com/postgres/postgres/commit/b6aa17e0ae367afdcea07118e016111af4fa6bc3

@mikethebeer fyi, you're probably also interested in this because of npgsql

I think this requires a CHANGES entry

@mfussenegger indeed. Thx for the hint.


refactor: get rid of NoopTransferProcessClient

What this PR changes/adds
Get rid of NoopTransferProcessClient
Why it does that
enforce the need for a transfer process client implementation on data-plane (the http one is already provided by control-plane-api-client)
Further notes
cleaned up the JettyServiceTest, avoiding the jersey dependency.
Linked Issue(s)
Closes #3400
Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

Codecov Report
Patch coverage has no change and project coverage change: -0.02% :warning:

Comparison is base (656e10e) 72.08% compared to head (5e93add) 72.07%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3440      +/-   ##
==========================================
- Coverage   72.08%   72.07%   -0.02%
==========================================
  Files         834      834
  Lines       16827    16826       -1
  Branches      953      953
==========================================
- Hits        12130    12127       -3
- Misses       4287     4290       +3
+ Partials      410      409       -1

Files Changed
Coverage Δ

...e/framework/DataPlaneDefaultServicesExtension.java
0.00% <ø> (ø)

... and 2 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Document parse_dirname, parse_dirpath, parse_filename and parse_path

Fixes #1880
PR is up at #10208

Thanks!


Error when importing Aliases from pfsense config file

I tried to import the aliases today from my pfsense installation. That did not fail with a "nice error message", but instead I was presented this:

Fatal error: Uncaught OPNsense\Core\ConfigException: invalid config xml in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php:336 Stack trace: #0 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php(168): OPNsense\Core\Config->loadFromFile('/tmp/tmpxml') #1 /usr/local/etc/inc/config.inc(69): OPNsense\Core\Config->toArrayFromFile('/tmp/tmpxml', Array) #2 /usr/local/www/diag_backup.php(55): load_config_from_file('/tmp/tmpxml') #3 /usr/local/www/diag_backup.php(219): restore_config_section('aliases', '

What version are you on? It's useful for helping.
I'm guessing it's 18.7.5. There was a hotfix 18.7.5_1 and 18.7.6 came out today as well. On 18.7.6 importing pfSense aliases will likely no longer work since we added our API.
Cheers,
Franco


Update kusama.json Novasama validator

Hello!
we have changed our identities and want to see the same in telemetry, please apply that changes

I think it can be closed now, since we didn't hear back... @stepanLav feel free to re open the issue and answer back to @Noc2 in case


"Error: failed to deserialize user out of session" after each server restart

I have setup a passport local strategy using session-rethinkdb as a persistent store. Everything works just fine until I restart the nodejs server. Then I get the error "failed to deserialize user out of session". I can see my cookie in the browser and the relevant entry in the session table in rethinkdb and everything looks normal.
I have checked all relevant issues and googled a lot but I can't find a solution to this error.
Any ideas why I get this error only after a server restart.
Thanks for your time,
/s
UPDATE: After spending a bit more time in order to better understand the passportjs authentication workflow I found what the issue was in my case. I was initializing passport first and then configuring the local strategy and the serialize/deserialize methods, which clearly caused the issue.
Sorry for wasting your time.
/s

Please read my update above, the issue is not relevant to passport.
@jaredhanson Thanks for your awesome work!


Come up with a strategy and process to produce library docs across branches

A number of our libraries ship out of branches other then master and in those cases we need a way to produce documentation for those preview releases and merge them into one set of documentation on github.io.
Ideally if we can build docs at a pre-library level and publish those to the same github.io storage location and update the index to ensure there are links to that library.

Most everything is releasing from master for current and future previews.  That was not completely true for preview 1, and the only planned exception of that for preview 2 will be the storage libraries for JS.


Correctly emit source maps when emitting JSX text under --jsx preserve

Fixes #4028

:+1:

Let's get a test that has sourceMap and jsx=preseve set.

Hopefully some day our source map tests will be useful :wink:

Hopefully some day our source map tests will be useful

I wonder if we could integrate https://github.com/sokra/source-map-visualization in somehow...
Until then :+1:


[Mobile] Can I adjust the toolbar to multi-line display?

I don’t want to scroll the toolbar in mobile.
Maybe it’s more intuitive to display with multiple lines.
Can I control how to display it?
like this：

Add this feature in pr: #229


Add Archlinux support

In e8b57bfa1597acb069f190bd8af8e932089018d3 code was added, but formal support was never declared. This means CI didn't run on it either.
I have no idea if this passes or not. I do not plan to invest too much time into it, but there are conditionals for it so it'd good to actually test that. If they're wrong, we can consider dropping it too.

Will need a patch for unit tests:
diff --git a/spec/classes/jenkins_spec.rb b/spec/classes/jenkins_spec.rb
index 5a15efa..b0a6d26 100755
--- a/spec/classes/jenkins_spec.rb
+++ b/spec/classes/jenkins_spec.rb
@@ -18,7 +18,11 @@ describe 'jenkins' do
         it { is_expected.to contain_class 'jenkins::service' }
         it { is_expected.not_to contain_class 'jenkins::firewall' }
         it { is_expected.to contain_class 'jenkins::proxy' }
-        it { is_expected.to contain_class 'jenkins::repo' }
+        if os.start_with?('archlinux')
+          it { is_expected.not_to contain_class 'jenkins::repo' }
+        else
+          it { is_expected.to contain_class 'jenkins::repo' }
+        end
       end

       describe 'without java' do

But the acceptance test looks very relevant:
  Notice: /Stage[main]/Jenkins::Cli/Exec[jenkins-cli]/returns: java.io.FileNotFoundException: /usr/share/java/jenkins.war (No such file or directory)

I don't have time to work on this so I'm going to close this.


requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http://hassio/snapshots

This URL seems wrong for my install (on a VM) local domain is expected to be http://homeassistant.local:8123/
 > Uploading "/backup/f911cabc.tar" to "/home_assistant_backups/f911cabc.tar"... FAILED
An error occurred requesting /upload
Some error occured. Please check the log.
[Info] keep_last option is set, cleaning up files...
Traceback (most recent call last):
  File "/keep_last.py", line 47, in <module>
    main(args.number)
  File "/keep_last.py", line 15, in main
    snapshot_info.raise_for_status()
  File "/usr/lib/python3.6/site-packages/requests/models.py", line 939, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http://hassio/snapshots
{"command":"upload"}

Same problem here.

Same here. Just installed this and running:
Home Assistant 2023.1.2
Supervisor 2022.12.1
Operating System 9.4

Hmm, no commits since 2019. Perhaps this repo is dead 😢.


Update README.md:

Remove duplicate libyaml-cpp-dev

Signed-off-by: LanderU<EMAIL_ADDRESS>

Just I quick question, I'm playing a bit with rmf , most of the dependencies can be fetched by rosdep. Shall I create a PR per each package adding rules for rosdep to install it?
It will be helpful?

It might be useful, but I might need to check back with you on that.
My initial thoughts are that ROS and ROS2 are just two of the many middlewares that we envision RMF to support, so I am unsure if we should be focusing on using ROS related infrastructure and tools as much.


chore(deps): rm unused rlp dep

no longer required

Codecov Report

Merging #1821 (8c20d95) into main (7da13eb) will decrease coverage by 55.87%.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff             @@
##             main    #1821       +/-   ##
===========================================
- Coverage   73.50%   17.64%   -55.87%
===========================================
  Files         407      407
  Lines       50385    50385
===========================================
- Hits        37035     8888    -28147
- Misses      13350    41497    +28147

Flag
Coverage Δ

integration-tests
17.64% <ø> (-2.11%)
:arrow_down:

unit-tests
?

Flags with carried forward coverage won't be shown. Click here to find out more.
see 288 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Add support of agents

As discussed with @rielas in Slack

:tada: This issue has been resolved in version 4.4.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Support resizing CameraView at runtime

Right now, the CameraView logic assumes that it is not changing size. That's far from assured, as there are any number of scenarios in which CameraView could change size.
When the CameraView does change size, we will need to:

Stop the current preview
Recalculate the preview size based upon the new CameraView aspect ratio
Restart the preview for the new size
Ensure that onLayout() and kin are taking into account the new actual size and preview size

What if I want to have a smooth animation to a larger size? I don't want to recalculate the camera preview size, I just want to stick to the old image, scale up, then connect to the camera again. Is that possible?

@anubiann00b I strongly suspect that it will not work with the code that I have in place today.

Yeah I'm sorta struggling with it... How could we make that work? Maybe just some way of not updating the camera feed while changing the size?

How could we make that work?

Off the cuff, it's probably not possible to do literally what you want, simply because "connect to the camera again" is slow and will screw up your UI. You'd have to keep the live previews going during the animation, which in turn would require a TextureView as the foundation of the CameraView. Fortunately, the library uses TextureView on 4.1 (IIRC) and newer devices by default.
However, CameraView itself is definitely not set up to be changing size, let alone animating. Combining that with aspect ratio stuff and full-bleed preview stuff and so on is unlikely to be fun.


feat(hyperchain_wizard): run server in docker container

What ❔
Implemented changes to run server-v2 (zksync_server) locally in a Docker container, launched via the Hyperchain wizard.

closing as scale


btrfs docker image

Dear Scaleway,
Using docker with a btrfs storage is quite efficient.
https://jpetazzo.github.io/assets/2015-03-03-not-so-deep-dive-into-docker-storage-drivers.html#63
You would need to add btrfs support as a builtin to the docker kernel to be able to fully leverage this.
Please give it a spin & keep up the good work !
Best regards.
BA

Hi @boris-arzur, thank you for your contribution,
Here we have multiple points:

Changing the default storage driver to btrfs would certainly made you happy, but some other people do prefer aufs, and some other overlayfs

I think we need more feedbacks to switch the default image for everyone

An alternative to switching the default image would be to have multiple Docker images, so the user can use one or another when creating a new server, I like this idea, but the current marketplace is not yet ready for that, today we need to have only one image per software.

Today, even if we have aufs as the default storage driver, and we can switch to another storage driver without the need of building a new image, by using something like this on a running server:

$ service docker stop
$ rm -rf /var/lib/docker
$ sed 's/aufs/XXX/' /etc/default/docker
$ service docker start

Except... that it won't work for btrfs, as the btrfs storage driver requires /var/lib/docker to be already on a btrfs partition.
So we can suggest users that want to use a btrfs storage driver to use a secondary disk /dev/nbd1, then run something like this:
$ mkfs.btrfs /dev/nbd1
$ mount /dev/nbd1 /var/lib/docker

Actually this method is my favorite as it also lets you update your docker image by just moving your /dev/nbd1 to a new server with a newer version of the Docker image and keep your data, but I can understand it won't be the preferred choice of everyone.

I like the idea of being able to change the default root filesystem partition type to something else than ext4, I think we should make it globally available:

Make mkfs.ext4 overridable by an environment variable, so we can call the script with ROOTFS_TYPE=btrfs for instance, here: https://github.com/scaleway/scaleway-cli/blob/master/examples/create-image-from-http.sh#L39
Add a new default variable ROOTFS_TYPE=ext4 here https://github.com/scaleway/image-tools/blob/master/builder/docker-rules.mk
in the same file pass this environment variable to all the scripts that would use an hardcoded mkfs.ext4 call
Set ROOTFS_TYPE=btrfs in the Makefile' variables here: https://github.com/scaleway-community/scaleway-docker/blob/master/Makefile#L7

This way, we keep a generic docker-rules.mk file + we bring an easier way to change the default rootfs type, and bonus, we can create a btrfs image without even editing any Makefile just by calling the make image_... command with a ROOTFS_TYPE=btrfs environment variable.

Also, there is already a pseudo-hidden alternative way to build any image with a custom disk size: our initrd.

i.e, you can create a Docker image on a non-standard disk size by creating an empty disk of the size you want then use these tags on your server: boot=live rescue_image=http://store-travis.scw.42.am/travis/images/docker-latest.tar.
On the first boot, your server will allocate the whole disk present at /dev/nbd0 and untar the content of the image snapshot.
By using scaleway-cli, you can easily try out this, with:
$ scw -D run --rm --env="boot=live rescue_image= http://store-travis.scw.42.am/travis/images/docker-latest.tar" 5GB

I would love to make this part of the initrd also overridable here: https://github.com/scaleway/initrd/blob/e9157210e268c2d3bf7e752e4d0eb2d63be4467f/Linux/tree-common/boot-live#L8 so we can add a new server tag live_rootfs_type=btrfs which will use mkfs.btrfs instead of mkfs.ext4.

@boris-arzur, what do you think about all of this ? do you want to create pull requests on the different repositories ?
ping @aimxhaisse @QuentinPerez

You are right ! I focused on initrd for starters.