When I install sui and I get error.

Steps to Reproduce Issue
cargo install --locked --git https://github.com/MystenLabs/sui.git --branch devnet sui sui-node

Actual Result
   Compiling narwhal-dag v0.1.0 (C:\Users\xxxxxx\.cargo\git\checkouts\sui-6ac459c53b1b685a\1f6eda4\narwhal\dag)
error[E0277]: the trait bound `T: fastcrypto::hash::Hash<32>` is not satisfied
  --> narwhal\dag\src\node_dag.rs:46:10
   |
46 | #[derive(Debug)]
   |          ^^^^^ the trait `fastcrypto::hash::Hash<32>` is not implemented for `T`
   |
   = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider further restricting this bound
   |
47 | pub struct NodeDag<T: Affiliated + fastcrypto::hash::Hash<32>> {
   |                                  ++++++++++++++++++++++++++++

For more information about this error, try `rustc --explain E0277`.
error: could not compile `narwhal-dag` due to previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile `sui v0.12.2 (https://github.com/MystenLabs/sui.git?branch=devnet#1f6eda49)`, intermediate artifacts can be found at `C:\Users\ADAM~1.ZHA\AppData\Local\Temp\cargo-installhTD7sU`
error: failed to compile `sui-node v0.12.2 (https://github.com/MystenLabs/sui.git?branch=devnet#1f6eda49)`, intermediate artifacts can be found at `C:\Users\ADAM~1.ZHA\AppData\Local\Temp\cargo-installm3AMaj`
     Summary Failed to install sui, sui-node (see error(s) above).
error: some crates failed to install

System Information

OS: Windows 10
Compiler:

Default host: x86_64-pc-windows-msvc
rustup home:  C:\Users\xxx.xxx\.rustup

installed toolchains
--------------------

stable-x86_64-pc-windows-msvc
nightly-x86_64-pc-windows-msvc (default)
1.64.0-x86_64-pc-windows-msvc

installed targets for active toolchain
--------------------------------------

wasm32-unknown-unknown
x86_64-pc-windows-msvc

active toolchain
----------------

nightly-x86_64-pc-windows-msvc (default)
rustc 1.66.0-nightly (758f19645 2022-10-24)

Could you try
rustup update stable
source "$HOME/.cargo/env"

to see if it resolve the problem? Otherwise this might be related to https://github.com/MystenLabs/sui/issues/5483

Could you try
rustup update stable
source "$HOME/.cargo/env"

to see if it resolve the problem? Otherwise this might be related to #5483

rustup update stable

output:
info: syncing channel updates for 'stable-x86_64-pc-windows-msvc'

  stable-x86_64-pc-windows-msvc unchanged - rustc 1.64.0 (a55dd71d5 2022-09-19)

info: checking for self-updates

And I get same error

Could you try
rustup update stable
source "$HOME/.cargo/env"

to see if it resolve the problem? Otherwise this might be related to #5483

rustup update stable

output:
info: syncing channel updates for 'stable-x86_64-pc-windows-msvc'

  stable-x86_64-pc-windows-msvc unchanged - rustc 1.64.0 (a55dd71d5 2022-09-19)

info: checking for self-updates

And I get same error

cargo install --locked --git https://github.com/MystenLabs/sui.git --branch main sui sui-node

I used main branch, It works. Thanks.


Error in polgeist

<EMAIL_ADDRESS>commented:

1.6.1

Disclaimer:
This issue was migrated on 2013-03-15 from the project's former issue tracker on Google Code, Issue #759.
:star2:   2 people had starred this issue at the time of migration.

Due to the lack of a concrete follow-up possibility, this issue will be closed.


lxc publish create image from snapshot not from container itself

distribution: bionic (latest)
lxd version: 3.0.0-0ubuntu4 (distribution package, not snap)
When i create image from stopped container on which i have snapshot
lxc publish containername --alias=someimage
the image was created from snap0 not from actual container itself.
When i delete snap0 and recreate image via publish command the image is created from actual stopped container.

@wociscz what storage backend are you using?

zfs

lxc info:
config: {}
api_extensions:
- storage_zfs_remove_snapshots
- container_host_shutdown_timeout
- container_stop_priority
- container_syscall_filtering
- auth_pki
- container_last_used_at
- etag
- patch
- usb_devices
- https_allowed_credentials
- image_compression_algorithm
- directory_manipulation
- container_cpu_time
- storage_zfs_use_refquota
- storage_lvm_mount_options
- network
- profile_usedby
- container_push
- container_exec_recording
- certificate_update
- container_exec_signal_handling
- gpu_devices
- container_image_properties
- migration_progress
- id_map
- network_firewall_filtering
- network_routes
- storage
- file_delete
- file_append
- network_dhcp_expiry
- storage_lvm_vg_rename
- storage_lvm_thinpool_rename
- network_vlan
- image_create_aliases
- container_stateless_copy
- container_only_migration
- storage_zfs_clone_copy
- unix_device_rename
- storage_lvm_use_thinpool
- storage_rsync_bwlimit
- network_vxlan_interface
- storage_btrfs_mount_options
- entity_description
- image_force_refresh
- storage_lvm_lv_resizing
- id_map_base
- file_symlinks
- container_push_target
- network_vlan_physical
- storage_images_delete
- container_edit_metadata
- container_snapshot_stateful_migration
- storage_driver_ceph
- storage_ceph_user_name
- resource_limits
- storage_volatile_initial_source
- storage_ceph_force_osd_reuse
- storage_block_filesystem_btrfs
- resources
- kernel_limits
- storage_api_volume_rename
- macaroon_authentication
- network_sriov
- console
- restrict_devlxd
- migration_pre_copy
- infiniband
- maas_network
- devlxd_events
- proxy
- network_dhcp_gateway
- file_get_symlink
- network_leases
- unix_device_hotplug
- storage_api_local_volume_handling
- operation_description
- clustering
- event_lifecycle
- storage_api_remote_volume_handling
- nvidia_runtime
api_status: stable
api_version: "1.0"
auth: trusted
public: false
auth_methods:
- tls
environment:
  addresses: []
  architectures:
  - x86_64
  - i686
  certificate: |
    -----BEGIN CERTIFICATE-----
    yyy
    -----END CERTIFICATE-----
  certificate_fingerprint: xxx
  driver: lxc
  driver_version: 3.0.0
  kernel: Linux
  kernel_architecture: x86_64
  kernel_version: 4.15.0-20-generic
  server: lxd
  server_pid: 2444
  server_version: 3.0.0
  storage: zfs
  storage_version: 0.7.5-1ubuntu13
  server_clustered: false
  server_name: lxdserver

Can't reproduce your issue here, seems to work as expected:
stgraber@castiana:~$ lxc launch images:alpine/edge c1
Creating c1
Starting c1

stgraber@castiana:~$ lxc exec c1 -- touch /in-snap
lstgraber@castiana:~$ lxc snapshot c1

stgraber@castiana:~$ lxc exec c1 -- rm /in-snap
stgraber@castiana:~$ lxc stop c1

stgraber@castiana:~$ lxc publish c1 --alias c1
Container published with fingerprint: eab18c9b609d403e55999e9a23103974763cedc44918bf87b0f81ed172eb4203
stgraber@castiana:~$ lxc publish c1/snap0 --alias c1-snap
Container published with fingerprint: c34586221dca5c18598f2a334836e4a59d2df269b656693aa9c6ca0803a477ec

stgraber@castiana:~$ lxc launch c1 c1-image
Creating c1-image
Starting c1-image
stgraber@castiana:~$ lxc launch c1-snap c1-snap0-image
Creating c1-snap0-image
Starting c1-snap0-image

stgraber@castiana:~$ lxc exec c1-image -- ls -lh /
total 46
drwxr-xr-x    2 root     root          87 May 24 17:54 bin
drwxr-xr-x    7 root     root         420 May 24 21:47 dev
drwxr-xr-x   19 root     root          43 May 24 21:47 etc
drwxr-xr-x    2 root     root           2 May 24 17:54 home
drwxr-xr-x    6 root     root          17 May 24 17:54 lib
drwxr-xr-x    5 root     root           5 May 24 17:54 media
drwxr-xr-x    2 root     root           2 May 24 17:54 mnt
dr-xr-xr-x  380 nobody   nobody         0 May 24 21:47 proc
drwx------    2 root     root           2 May 24 17:54 root
drwxr-xr-x    4 root     root         200 May 24 21:47 run
drwxr-xr-x    2 root     root         102 May 24 17:54 sbin
drwxr-xr-x    2 root     root           2 May 24 17:54 srv
dr-xr-xr-x   13 nobody   nobody         0 May 23 18:13 sys
drwxrwxrwt    4 root     root           4 May 24 21:47 tmp
drwxr-xr-x    7 root     root           7 May 24 17:54 usr
drwxr-xr-x   10 root     root          12 May 24 21:46 var

stgraber@castiana:~$ lxc exec c1-snap0-image -- ls -lh /
total 47
drwxr-xr-x    2 root     root          87 May 24 17:54 bin
drwxr-xr-x    7 root     root         420 May 24 21:47 dev
drwxr-xr-x   19 root     root          43 May 24 21:47 etc
drwxr-xr-x    2 root     root           2 May 24 17:54 home
-rw-r--r--    1 root     root           0 May 24 21:46 in-snap
drwxr-xr-x    6 root     root          17 May 24 17:54 lib
drwxr-xr-x    5 root     root           5 May 24 17:54 media
drwxr-xr-x    2 root     root           2 May 24 17:54 mnt
dr-xr-xr-x  431 nobody   nobody         0 May 24 21:47 proc
drwx------    2 root     root           2 May 24 17:54 root
drwxr-xr-x    4 root     root         200 May 24 21:47 run
drwxr-xr-x    2 root     root         102 May 24 17:54 sbin
drwxr-xr-x    2 root     root           2 May 24 17:54 srv
dr-xr-xr-x   13 nobody   nobody         0 May 23 18:13 sys
drwxrwxrwt    4 root     root           4 May 24 21:47 tmp
drwxr-xr-x    7 root     root           7 May 24 17:54 usr
drwxr-xr-x   10 root     root          12 May 24 21:46 var
stgraber@castiana:~$

hmm weird, maybe my wrong hands. Thanks. Did you ever sleep?
(right now everything works fine)


[WIP] Adding builds for ppc64le

Hi,
This is first in a series of PR to enable OpenEBS for ppc64le arch. I have marked it as WIP as some changes require discussion.

I have disabled shellcheck for ppc64le. It can be added back once it is supported for ppc64le.
Added linux-ppc64le in .travis.yml to enable builds for ppc64le arch on travis.
minikube doesn't provide binaries for any arch other than amd64. Hence, I have disabled some of the steps for ppc64le that could have broken the build before running the actual script i.e. the make command. Is it possible to use kubeadm instead of minikube as the former one already has multi-arch support?
If it is decided to not use kubeadm, would it be possible to run tests without minikube?
build script now builds for native archs, as cross building would require cgo cross dependencies for to be installed on the host.

Please let me know if I need to open an issue to discuss above points? Thanks.
cc: @kmova @harshvkarn

Thanks @Pensu - (1) and (2) seem ok.
For (3) and (4),  let us raise another PR to shift to kubeadm or kind or microk8s any one that support multiple arch.
For (5) we need to setup the multiarch builds. I am exploring using gox. any other suggestions?

@kmova Yeah, we probably would have to move to kubeadm itself, as other options don't have supports for multi-arch. (kind has ppc64le binaries, but it's not fully tested, so there might be consistency issues at later stages.). I will prepare and send a PR to replace minikube with kubeadm.
For cross-builds, we need to make sure the relevant toolchains are available to build with the cross-compiler. Another option to explore could be: https://github.com/karalabe/xgo

Closing in favor of #374


Multiple parallel downloads using TransferUtility hanging UI thread

We had a use case in which we were trying to download multiple parallel files (around 20 parallel downloads of jpg files) with a transfer listener for each object being downloaded.
The UI thread was hanging badly with just a few parallel downloads.
The normal nomenclature of transferutility.download(bucket, key, file) is being used for each download object. Since the download function returns instantly, all these functions have been written in the main UI thread - Callbacks of the transfer listener have no operations other than printing a log.
Please advise. Thanks.

@ckarthikv This is a sample only issue. We'll update the sample to improve UX. The SDK is able to handle large amount of downloads (more than 1k) without blocking the UI.

@fosterzhang Hi We are using the latest version of Android SDK ie 2.4.4 and are downloading about 20 files.

We see that the max concurrent downloads can be 5 which internal can use max number of HTTP connections which we leave it to the default ie 10.
With this setup the UI thread hangs up completely. If I reduce the number of connections to 3 then it is a little better, but overall the app becomes unresponsive. I could not find a way to reduce overall thread count but I suspect it is the  number of connections causing this.
Our block of code is quite simple as shown in Demo, that is use transfer utility to create a download and attach an observer.
We use Cognito Authentication and that part works as expected.

Hi @sriram-kakarala, Sorry for the delayed reply. We released 2.6.16 with enhancements for stability in TransferUtility. Now you have a flag to customize the size of the thread pool for the transfers. We have documented it here: https://docs.aws.amazon.com/aws-mobile/latest/developerguide/how-to-transfer-files-with-transfer-utility.html#native-transfer-utility-options Please let us know if this works for you.

Hi, Will try and test it once we get back to it. Thanks for adding the capability though!!


Improvement on firewall batch scripts

Let's go in a list here...

Fixes #1026
Makes it where the scripts request admin privileges as they can't modify the firewall without them.
Makes sure all the firewall rules are properly enabled with enable=yes
Fixed the goofball typo of Discovery defauly port to Discovery default port

Before:

After:

(UAC prompt quickly appears. It's so fast I had to use timeout 5 to have a delay so I could screenshot)
(User presses No, the script closes.)
(User presses Yes, script continues as below)

@electromuis
For you, my king-

Just did a quick test and indeed seems to fix the issue. Although the %CD% value does have to be correct (Right click as admin will run it from System32 and thus not specify the correct java binary). But this would have to be setup correctly in the installer I'd assume.

Just did a quick test and indeed seems to fix the issue. Although the %CD% value does have to be correct (Right click as admin will run it from System32 and thus not specify the correct java binary). But this would have to be setup correctly in the installer I'd assume.

Sadly just a skill issue on Window's part.

@electromuis Gonna try changing to Powershell when I get home.

@electromuis Try again! I think I fixed the issue with right clicking and using Run As Administrator... Also first, use uninstall_firewall a few times as I also added duplicate detection to the install script... So you might currently have duplicate rules.

Just short, I think you need to allow javaw.exe and not java.exe do you have a way to confirm?

Just short, I think you need to allow javaw.exe and not java.exe do you have a way to confirm?

...Look above, @electromuis had his issue fixed with java.exe being allowed (also some internet searches agree with this)

Just short, I think you need to allow javaw.exe and not java.exe do you have a way to confirm?

You could do both, I believe we're only using java.exe though

do we need to have the UAC prompt script?

do we need to have the UAC prompt script?

As discussed on the top post, firewall modification fails without admin perms. And besides, if the script is already given admin, the prompt is skipped

do we need to have the UAC prompt script?

iirc it's the best way to do it, batch scripts stink. I have worries about it having different behaviour in different versions of Windows but it's probably alright?

It's been basically a tried and true method for most versions of windows... Atleast any that support UAC :P

It's been basically a tried and true method for most versions of windows... Atleast any that support UAC :P

Well if it works then sweet at least Windows can do something good lmao, we already had a blunder with the installer crashing because we had the audacity to format JSON on Windows 7.
This PR looks good to be, but not reviewing because I can't really thoroughly check it rn. May do so later.

So uh, idk if I should do those changes or keep the rules for 'better safe than sorry'


prevent naming mistake

This is an attempt at rebasing #3123 and integrating the recommended changes mentioned in that PR’s comments.

Thanks!

:beers:


v1.0.0

Closes #2, #3, #5
Rejects #4
TO DOS (as of commit cadac12)

[x] Handle image search better
[x] Make the user know that an error occurred in the pipeline when it is the case through the model's output
[ ] Create a Docker image

With commit 1db4596:

Added debugging
Handled image search better
Let the user know that the research did not yield results
Created the base scripts for the Docker image

TO DOS (as of commit 1db4596):

[ ] Build Docker image
[ ] Adjust GitPod configuration once the image is built
[ ] Update Documentation

Docker image and GitPod rejected
Updated documentation
Corrected several bugs and added more debugging info


Edit dataset parameters

Add a edit screen where a user can change the background image, min, max and coordinate origins

Closed with f31a622


Re-implement zoxide as a built-in plugin

Please describe the problem you're trying to solve
The Zoxide implementation in Yazi has had some long-standing issues, and this FR attempts to address them:

Resolves https://github.com/sxyazi/yazi/discussions/859 - @fastfading: The new Zoxide implementation will detect if the user is using Zoxide for the first time (i.e., just installed Zoxide). At this point, since the Zoxide database is empty, an error will occur. The plugin should check for this error and send an error notification to the user via ya.notify().

Resolves https://github.com/sxyazi/yazi/issues/310 - @LeXofLeviafan: Reasons are the same as above.

Resolves https://github.com/sxyazi/yazi/discussions/860 - @fdw: The new plugin will by default add the directories the user browses to the zoxide database (update_db = true), and provide the ability to further configure this in the user's init.lua, for example, require("zoxide"):setup { update_db = false }.

Resolves https://github.com/sxyazi/yazi/discussions/757 - @hacker-DOM: By implementing Zoxide as a plugin, provide an example of integrating such external tools. When users need other tools besides Zoxide, they can easily copy the preset code and make some minor modifications to achieve their goals. Here, it is modifying zoxide to zsh-z command.

Resolves https://github.com/sxyazi/yazi/pull/654 - @diniamo: This PR will allow users to simply modify Lua to customize their workflow without needing to add code to Yazi codebase. This can help reduce my maintenance costs while avoiding Yazi bloat, as adding these specific workflows would require adding more configuration options to control different behaviors of the same functionality. This is also a barrier for new users getting started with Yazi configuration, as they would need to learn various configuration options and understand the subtle differences between each, which goes against Yazi's goal of providing a simple user experience.

Would you be willing to contribute this feature?

[X] Yes, I'll give it a shot

Describe the solution you'd like
See above
Additional context
No response

If anyone is interested in implementing it, please reply to this issue


env_file parameter results in no such file or directory on render

In version docker-app version v0.8.0, build 7eea32b7 on Ubuntu 16.04 when rendering a docker-app with a compose file using 'env_file' always results in
Error: render failed: Action "com.docker.app.render" failed: failed to load Compose file: open /any/env/file: no such file or directory

This occurs regardless if env_file is a parameter or hardcoded, or if the file path is relative or absolute.

Steps to reproduce the issue:

Create a docker app with a docker-compose including 'env_file'
Attempt to render the docker-app

Describe the results you received:
no such file or directory
Describe the results you expected:
render works
Additional information you deem important (e.g. issue happens only occasionally):
Output of docker version:
$ docker version
Client:
 Version:           18.09.1
 API version:       1.39
 Go version:        go1.10.6
 Git commit:        4c52b90
 Built:             Wed Jan  9 19:35:23 2019
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          18.09.1
  API version:      1.39 (minimum version 1.12)
  Go version:       go1.10.6
  Git commit:       4c52b90
  Built:            Wed Jan  9 19:02:44 2019
  OS/Arch:          linux/amd64
  Experimental:     false

Output of docker-app version:
 docker-app version
Version:               v0.8.0
Git commit:            7eea32b7
Built:                 Tue Jun 11 20:53:26 2019
OS/Arch:               linux/amd64
Experimental:          off
Renderers:             none
Invocation Base Image: docker/cnab-app-base:v0.8.0

Output of docker info:
$ docker info
Containers: 954
 Running: 1
 Paused: 0
 Stopped: 953
Images: 2766
Server Version: 18.09.1
Storage Driver: overlay2
 Backing Filesystem: extfs
 Supports d_type: true
 Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version:<PHONE_NUMBER>f7fe2f4e74d43e2fc7ccd237edcbce
runc version: 96ec2177ae841256168fcf76954f7177af9446eb
init version: fec3683
Security Options:
 apparmor
 seccomp
  Profile: default
Kernel Version: 4.4.0-142-generic
Operating System: Ubuntu 16.04.5 LTS
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 15.55GiB
Name: mkubilus-x1
ID: ZQ3P:BIEJ:D3AJ:5THN:U23Q:3ULB:CFUJ:EFI3:GUS3:HBLS:ZDEB:3C3U
Docker Root Dir: /home/dockerstuff
Debug Mode (client): false
Debug Mode (server): false
Username: mkubilus
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
 <IP_ADDRESS>/8
Live Restore Enabled: false
Product License: Community Engine

WARNING: No swap limit support

Additional environment details (AWS, VirtualBox, physical, etc.):

Thank you @mkubilus the report!


#27 Add info about new blogs added since last newsletter to sent newsletter

new "Person" entities are taken by date_added field

Next time please let me know that you are planning to implement some feature, as there are some refactoring coming and I don't want to ruin your work :)


Increase maximum number of rows

Pandas displays data frames only up  to a maximum number of rows, and then shows a summary. We had set this number to 500. Now that the pandemic is going on for more than 500 days, we get tables like this:

That is not serving our purpose here: we want to make the data readable in an easy way.
I suggest to increase the number of rows that can be printed (to 1000, say).

I have looked at the staging output to confirm the desired effect (long tables are printed).


Conflict with the docs?

https://github.com/aspnet/AspNetCore.Docs/issues/9901
Should this page replace UseKestrel with ConfigureKestrel?

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

ID: 0eb4d762-3910-2c57-8741-3306c15537b6
Version Independent ID: ba2254a0-ea8e-9b28-e94b-edd0fc58c043
Content: Configuration in ASP.NET Core
Content Source: aspnetcore/fundamentals/configuration/index.md
Product: aspnet-core
Technology: aspnetcore-fundamentals
GitHub Login: @guardrex
Microsoft Alias: riande

Hello @AndrewRRMoser ... IIRC that problem with UseKestrel was when it was re-added by the dev after CreateDefaultBuilder was also called. According engineering if the app doesn't call CreateDefaultBuilder, UseKestrel is called ... then if additional config is required, call ConfigureKestrel.
Here's what they approved ...
https://docs.microsoft.com/aspnet/core/fundamentals/servers/kestrel#how-to-use-kestrel-in-aspnet-core-apps
... and repeated in the migration topic ...
https://docs.microsoft.com/aspnet/core/migration/21-to-22#update-kestrel-configuration
I think we're ok here, so I'll close as answered. Thanks for asking tho ... this is how we find the little 🐞 in the docs. :+1: We can re-open to discuss further if needed.


Errors in Installing PYGSLIB setup

Hi I have these errors when I try to run python setup build. May I ask how to resolve this?
File "setup.py", line 155, in
setup(name=name,
File "C:\Users\Jasper\miniconda3\lib\site-packages\numpy\distutils\core.py", line 169, in setup
return old_setup(**new_attr)
File "C:\Users\Jasper\miniconda3\lib\site-packages\setuptools_init_.py", line 153, in setup
return distutils.core.setup(**attrs)
File "C:\Users\Jasper\miniconda3\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Users\Jasper\miniconda3\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "C:\Users\Jasper\miniconda3\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Jasper\miniconda3\lib\site-packages\numpy\distutils\command\install.py", line 60, in run
r = self.setuptools_run()
File "C:\Users\Jasper\miniconda3\lib\site-packages\numpy\distutils\command\install.py", line 54, in setuptools_run
self.do_egg_install()
File "C:\Users\Jasper\miniconda3\lib\site-packages\setuptools\command\install.py", line 109, in do_egg_install
self.run_command('bdist_egg')
File "C:\Users\Jasper\miniconda3\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\Jasper\miniconda3\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Jasper\miniconda3\lib\site-packages\setuptools\command\bdist_egg.py", line 164, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "C:\Users\Jasper\miniconda3\lib\site-packages\setuptools\command\bdist_egg.py", line 150, in call_command
self.run_command(cmdname)
File "C:\Users\Jasper\miniconda3\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\Jasper\miniconda3\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Jasper\miniconda3\lib\site-packages\setuptools\command\install_lib.py", line 11, in run
self.build()
File "C:\Users\Jasper\miniconda3\lib\distutils\command\install_lib.py", line 107, in build
self.run_command('build_ext')
File "C:\Users\Jasper\miniconda3\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\Jasper\miniconda3\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Jasper\miniconda3\lib\site-packages\numpy\distutils\command\build_ext.py", line 119, in run
self.compiler = new_compiler(compiler=compiler_type,
File "C:\Users\Jasper\miniconda3\lib\site-packages\numpy\distutils\ccompiler.py", line 765, in new_compiler
compiler = klass(None, dry_run, force)
File "C:\Users\Jasper\miniconda3\lib\site-packages\numpy\distutils\mingw32ccompiler.py", line 61, in init
distutils.cygwinccompiler.CygwinCCompiler.init (self, verbose,
File "C:\Users\Jasper\miniconda3\lib\distutils\cygwinccompiler.py", line 129, in init
if self.ld_version >= "2.10.90":
TypeError: '>=' not supported between instances of 'NoneType' and 'str'

See https://github.com/opengeostat/pygslib/wiki/Before-compiling-in-Windows. I would use mingw64 instead of cygwin to compile in windows. I also use m2w64 toolchain, available in anaconda. These are the extensions I use
m2w64-gcc-fortran         5.3.0                         6    conda-forge
m2w64-gcc-libgfortran     5.3.0                         6    conda-forge
m2w64-gcc-libs            5.3.0                         7    conda-forge
m2w64-gcc-libs-core       5.3.0                         7    conda-forge

My compiler, by default, uses the m2w64 toolchain to compile pygslib.


Feature/deluge

Added: deluge plugin

I've pushed changes in feature/deluge branch.
And have fixed few issues.
find_torrent - should be implemented
remove_torrent throws exception: need more than 1 value to unpack

Pushed and merged


Don't expect a subview's render method to return the view instance

A custom render method for a view may omit returning the view instance, causing renderSubview to break, as el would be access on an undefined return value.
Closes #186 (I think this solves the issue).
Tests pass locally.
This is a non-breaking change.

tests pass in CI too I say this looks fine and is a patch release as it fixes an invalid assumption being made.

Hmm. I'm surprised the old code used to work, since the tests, when testing renderSubview, don't return this in the render method of the custom subview view constructor.
I'll try and understand why this was working before, and then release as a patch release shortly.

So after seeing that the old code ran fine in the tests (which define a custom render method for the subviews, which don't return this), I found that this PR is unnecessary, since this happens in the code:
Object.defineProperty(obj, 'render', {
    get: function() {
        return this._render;
    },
    set: function(fn) {
         this._render = function() {
             fn.apply(this, arguments);
             this._rendered = true;
             return this;
         };
    }
});

Basically, a custom defined render function will be wrapped in another function (_render) that calls that function, and also ensures that this is always returned.
I propose I merge this PR in, since the code quality is improved, but don't create a (patch) release, since the behaviour is literally identical.

So basically just let this one roll out w/ the next release if/when that ever happens?  I'm on the fence there. I'd tend to say just patch release but not really willing to force the issue.

Yeah, leave this for the next release (I'm more than certain there will be future release 😛). In my eye, this is purely a code quality change.


[Feature Request] Use bootstrap style tooltips for template tags

I'm looking to implement this myself, but as per the PR guide I want to check first.

I think the template tags would benefit from having a tooltip that:

displays right away
allows for formatting (could show what environment it is from)
can be copied
can be edited (this would take some thinking to come up with a way of doing it)

The norm for bootstrap tooltips is to show right away. I think it would be nice to switch to these for template tags to make requests more readable, and probably some other areas where Operating System-style tooltips are used.

Hey @benatkin. Tooltips there would be awesome.
The codebase currently has a tooltip React component but it's not being used because the elements within the code editors don't currently use React. So, I think the solution here would be to transition the current code to render a React component instead.
Let me know if you are still interested in doing this or have any questions.


Building the ATS from source

hi,
while building from source with several configuration parameters then the make have initiated
After that i need that complete build source as an deb package for my use (because i won't like repeating the same thing) for that i have installed an package called checkinstall  even i obtain the .deb package
but the issue is i have installed that .deb on my other machine it shows that
starting traffic server                                                              [fail]
can please tell me what is the error cause

If this is still an issue please email the users@ mailing list.


Pinpoint1.5.2 fails to monitor redis failures

Prerequisites
Please check the FAQ, and search existing issues for similar questions before creating a new issue.YOU MAY DELETE THIS PREREQUISITES SECTION.

[ ] I have checked the FAQ, and issues and found no answer.

Pinpoint1.5.2 fails to monitor redis failures，
The agent configured according to the steps of agent installation has no corresponding error alarm after encountering redis suspension.

hi @zhangdanyang95
We don't know that
the pinpoint didn't show exception in the call stack,
or pinpoint didn't show error in the servermap,
or pinpoint didn't send alarm .
If possible, please provide a detailed description of the situation and how to make reproducibility.
thanks :)


Open search bar on find next/find previous to avoid permanent code highlights

Fixes #20643
I went with the first fix proposed there, which is forcing search bar on find next/find previous commands (so if your search bar is hidden and you press F3, it will appear). With this change, you no longer need to CTRL + F to remove highlights if it happens that you follow steps described in the issue.
At first I just tried to call popup_search() on SEARCH_FIND_NEXT/PREV, but instead of only opening the bar, it also searched for next text, resulting in double search. To remedy this, I created popup_search_simple() and _show_search_simple(), which do just what their "non-simple" equivalents, minus going to next text. popup_search_simple() is called just before search_next().
I really wasn't sure how to do this "correctly", so I hope it's alright >.>

I think those "simple" methods add code duplication which is not needed. IMO it's fine (or even expected) that pressing F3 will search for the next entry, even if the search bar is not shown. It's fine by me if we want to change it so that it also shows the search bar, but it should still go to the next entry.
I've tried in the code editor Kate, and the behaviour is as follows:

pressing Esc hide search bar, pressing it again removes highlight
pressing F3 searches next entry, shows highlight, doesn't show search bar
pressing Esc removes highlight

So basically what we have already, with your suggestion from #20643:

-make ESC always cancel search highlights even if search field is invisible

Every editor does this differently. VS Code uses the behavior I used in PR. Notepad++ doesn't highlight all results, so the problem is non-existent.
The "simple" methods were needed, because with opening the search bar, F3 moved forward past two entries, instead of just one like it should. Only one of methods duplicates code. With _show_search_simple(), I'm actually calling it in _show_search(), from where I moved two lines that only open the bar. I wanted to do similar thing with second method, but would get a bit hacky, so I decided to repeat few lines.

I changed the code to be much simpler, without weird methods.
The branch had however some merge conflicts, so I went through terrible rebase ;_;
Anyways, this PR should be ok now.

Looks fine to me, though it looks like your rebase somehow squashed your commit with another one from @Kanabenki, which is now being credited as the author. You could fix that with git commit --reset-author.

Closing in favor of #31329, as it basically reimplements these changes :/
(it's almost 1000 issues/PRs apart xd)

(it's almost 1000 issues/PRs apart xd)

10000 actually :P


opening database at /run/github.com/genuinetools/netns/bolt.db failed: write /run/github.com/genuinetools/netns/bolt.db: bad file descriptor

Hi, I am facing an issue when running netns from v0.5.2 and from master (de81619). I get the following error when running sudo netns ls after what looks like a successful "create":
opening database at /run/github.com/genuinetools/netns/bolt.db failed: write /run/github.com/genuinetools/netns/bolt.db: bad file descriptor
bolt.db exists on the filesystem.
I am trying to use netns to provide network access to a container run through runC. After configuring the prestart hook, nothing seems to happen. No errors are reported, and no network bridge seems to be created.
Below is an example of the build, test, and an attempt at creating a bridge network off of the current master branch (de81619).
allana@guixsd /media/allana/persistent/github.com/netns [env]$ make clean
+ clean
rm -f netns
rm -f -r /media/allana/persistent/github.com/netns/cross

allana@guixsd /media/allana/persistent/github.com/netns [env]$ make static
+ static
CGO_ENABLED=0 go build \
			-tags " static_build" \
			-ldflags "-w -X github.com/genuinetools/netns/version.GITCOMMIT=de81619 -X github.com/genuinetools/netns/version.VERSION=v0.5.2 -extldflags -static" -o netns .

allana@guixsd /media/allana/persistent/github.com/netns [env]$ make test
+ test
?   	github.com/genuinetools/netns	[no test files]
=== RUN   TestInitBridgeIPAddrEmpty
--- PASS: TestInitBridgeIPAddrEmpty (0.00s)
=== RUN   TestInitBridgeNameEmpty
--- PASS: TestInitBridgeNameEmpty (0.00s)
=== RUN   TestInitBridgeDefaults
--- PASS: TestInitBridgeDefaults (0.21s)
=== RUN   TestInitBridgeExists
--- PASS: TestInitBridgeExists (0.07s)
PASS
ok  	github.com/genuinetools/netns/bridge	(cached)
?   	github.com/genuinetools/netns/netutils	[no test files]
=== RUN   TestCreateNetwork
--- PASS: TestCreateNetwork (0.41s)
=== RUN   TestNewNetworkBridgeNameEmpty
--- PASS: TestNewNetworkBridgeNameEmpty (0.00s)
=== RUN   TestNewNetworkStateDirPathEmpty
--- PASS: TestNewNetworkStateDirPathEmpty (0.00s)
=== RUN   TestNewNetworkDefaults
--- PASS: TestNewNetworkDefaults (0.00s)
PASS
ok  	github.com/genuinetools/netns/network	0.417s
?   	github.com/genuinetools/netns/version	[no test files]

allana@guixsd /media/allana/persistent/github.com/netns [env]$ sudo netns create
created bridge: &net.Interface{Index:11, MTU:1500, Name:"netns0", HardwareAddr:net.HardwareAddr{0x6, 0x70, 0x88, 0xe, 0xc3, 0x68}, Flags:0x13}

allana@guixsd /media/allana/persistent/github.com/netns [env]$ sudo netns ls
opening database at /run/github.com/genuinetools/netns/bolt.db failed: write /run/github.com/genuinetools/netns/bolt.db: bad file descriptor

Can this be a bug or is this solely user error on my part?

this errors when you have no networks created yet and i made the error nicer so it should be easier to know now.


Two MVC modules on one page and POST action conflict

I put MVC module on the same page.
Views of those modules include submit button and set of input/select controls.
I crated POST Index action to take a parameters value.
In my controller I have two actions
Index()
and
[POST]
Index(with_parameters)
When I click button in the view of one module:
It's call Index(with parameters) in second module
Action Index(with parameters) is called in module one
And just afer action Index(with parameters) the Index() action in the same controller is called.
I have no idea whats going on.
In the action with parametrs I make some logic and I want to redirect user to the certan page with additional parameters - but return Redirect(new-url-with-parameters) doesn't work and as I wrote just afer redirect the Inde() action is called again with return View(model) and user just stay on the same page without redirection.
MVC module one in the controller have:
public ActionResult Index()
{
var model = ....
return View(model);
}
and
[HttpPost]
Index(with-parameters)
{
var url = some logic to create url
return Redirect(url);
}
MVC module two is almost the same.

Any ideas what to do ?

I am assuming this is a module you are developing to use in DNN? This doesn't seem like a bug or DNN issue. I think it best to close this here and instead post it to StackOverflow where you are likely to get some good help and feedback.
https://stackoverflow.com/questions/tagged/dotnetnuke

Sorry Jeremy but I'm thinking that is the DNN MVC support issue.
It's not the regular MVC issue that I cannot make a call to the proper controller and it's action with set of parameters.
I post it my issue under give url but I think that the case will came back.


该项目不支持PySpark权限校验，请问为啥走不到这个Extension逻辑呀

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Configurations
Environments
Operations
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

感谢，找到了你发的issue：https://issues.apache.org/jira/browse/SPARK-25003

是的。


feat(rust): add simple entity builder

@SanjoDeundiak ockam_entity tests are hanging - there may be a failure?

Merged https://github.com/ockam-network/ockam/pull/1670


Support chaos experiments for log framework

Describe what this PR does / why we need it
支持日志框架的故障演练，例如delay、throw exception：
blade create log delay --logback --time 1000 --effect-count 100

blade create log throwCustomException --logback --exception java.lang.NullPointException

Does this pull request fix one issue?
Fixes #179

Thanks for your contributions!


Landing page updates

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

api/overview/azure/notification-hubs.md
:white_check_mark:Succeeded
View

api/overview/azure/powerbi-embedded.md
:white_check_mark:Succeeded
View

api/overview/azure/service-bus.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


release: v1.1.3 🔧

CHANGELOG

Current coverage is 91.93% (diff: 100%)

Merging #644 into master will not change coverage

@@             master       #644   diff @@
==========================================
  Files           179        179
  Lines          1984       1984
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           1824       1824
  Misses          160        160
  Partials          0          0

Powered by Codecov. Last update 89dff61...c15e0a7


Feature support: SLO ResponseLocation and NameID NameQualifier

Hi,
I need 2 features that I don't see implemented, unless I didn't find them.
a) Our IdP uses ResponseLocation in addition to Location for its SingleLogoutService.
I.E. its metadata contains:
<ns0:SingleLogoutService
  Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect"
  Location="https://<idp url>/idp/saml2/slo"
  ResponseLocation="https://<idp url>/idp/saml2/slo_return"  # this extra URL
/>

But it seems that using this second URL (optional in the SAML spec) isn't supported in python3-saml.
To implement it, it seems that we would need to:

Support the response location URL in OneLogin_Saml2_Settings.
Update logic in OneLogin_Saml2_Auth.process_slo in the case of SAMLResponse to use that URL when available or fall back on the current one.

b) Our IdP seems to require NameQualifier to be passed as an attribute of NameID in the LogoutRequest resulting from a logout initiated on the SP side.
<saml:NameID
    Format="urn:oasis:names:tc:SAML:2.0:nameid-format:transient"
    # NameQualifier missing here
>transient id
</saml:NameID>

I see that the NameQualifier is included in the login assertion, and I think we can access it and keep track of it in our session. For the rest of the implementation we would have to:

Modify OneLogin_Saml2_Auth.logout to accept name_qualifier and pass it to OneLogin_Saml2_Logout_Request.
Modify OneLogin_Saml2_Logout_Request to accept name_qualifier and pass it to OneLogin_Saml2_Utils.generate_name_id.
Modify OneLogin_Saml2_Utils.generate_name_id to accept name_qualifier and use it when building the XML element.

Would supporting these features fit with the project vision?
Would you implement them, or accept pull requests matching the high level implementations described above?
Thank you.
Pierre

We accept PR.

You can add to the singleSignOnService setting array the responseUrl new parameter to define the ResponseLocation and as you suggested, modify the get_slo_url

    def get_slo_url(self):
        """
        Gets the SLO url.
        :returns: An URL, the SLO endpoint of the IdP
        :rtype: string
        """
        idp_data = self.__settings.get_idp_data()
        slo = None
        if 'responseUrl' in idp_data['singleLogoutService']:
            slo = idp_data['singleLogoutService']['responseUrl']
        elif 'url' in idp_data['singleLogoutService']:
            slo = idp_data['singleLogoutService']['url']
       return slo

Ok add a new parameter nq

a) Please document the new parameters at the README and add tests,
b) Please add a PR per new improvement/feature.

Thanks, we'll work on PRs

Pull Request for item #2 from this issue can be found at: https://github.com/onelogin/python3-saml/pull/15

Merged (also pushed on python-saml), waiting for the other PR

This has been deemed "good enough" for now at work and we won't be working on the second pull request until we need it (if at all). You might want to close the issue now.
Thank you for your help


Padrino Routing in regular Sinatra app does not trigger before block

We have a regular Sinatra app in which we are exploring the possibilities of using specific Padrino modules in our application.
However, we are running into an issue in which helper are not triggered for inherited classes:
class BaseController < Sinatra::Base
  before do
    request.extend(Our::Custom::Request)
  end
end

class MainController < BaseController
  get '/' do
  end
end

This works as expected, but as soon as we register Padrino::Routing, and convert our get to a Padrino-based route, the before block is no longer triggered.
Only if we move the block to our MainController namespace, does it trigger again, but this is not ideal for us. Any ideas?

Looks like we loose filters on class inheritance. Any chance to have published minimal failing project with a locked Gemfile?

Fixed. Thanks for the report.
Please let us know if you still have the issue.


mosquitto: 2.0.12 -> 2.0.14

Motivation for this change
The minor update fixes some important bugs.
Last maintainers: @peterhoeg @LeSuisse @Mindavi
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

https://github.com/eclipse/mosquitto/blob/master/ChangeLog.txt
Diff LGTM. Haven't tested otherwise.

@ofborg test mosquitto


Feature/fieldlist

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: JamesVarndell:x: sandorkerteszYou have signed the CLA already but the status is still pending? Let us recheck it.


Closes #1463 Added test coverage for duplicate parameters in call_derivation

Thank you for your Pull Request! We have developed this task checklist from the Development Process Guide to help with the final steps of the process. Completing the below tasks helps to ensure our reviewers can maximize their time on your code as well as making sure the admiral codebase remains robust and consistent.
Please check off each taskbox as an acknowledgment that you completed the task or check off that it is not relevant to your Pull Request. This checklist is part of the Github Action workflows and the Pull Request will not be merged into the devel branch until you have checked off each task.

[x] Place Closes #<insert_issue_number> into the beginning of your Pull Request Title (Use Edit button in top-right if you need to update)
[x] Code is formatted according to the tidyverse style guide. Run styler::style_file() to style R and Rmd files
[x] Updated relevant unit tests or have written new unit tests - See Unit Test Guide
[x] If you removed/replaced any function and/or function parameters, did you fully follow the deprecation guidance?
[x] Update to all relevant roxygen headers and examples
[x] Run devtools::document() so all .Rd files in the man folder and the NAMESPACE file in the project root are updated appropriately
[x] Address any updates needed for vignettes and/or templates
[x] Update NEWS.md if the changes pertain to a user-facing function (i.e. it has an @export tag) or documentation aimed at users (rather than developers)
[x] Build admiral site pkgdown::build_site() and check that all affected examples are displayed correctly and that all new functions occur on the "Reference" page.
[x] Address or fix all lintr warnings and errors - lintr::lint_package()
[x] Run R CMD check locally and address all errors and warnings - devtools::check()
[x] Link the issue in the Development Section on the right hand side.
[ ] Address all merge conflicts and resolve appropriately
[ ] Pat yourself on the back for a job well done! Much love to your accomplishment!

If you click on Details in the Actions you can find where the culprit is for the failing action, e.g. Code Style is flagging this file

As the particular error where checking for here is thrown inside params() we should test it there directly rather than taking the hassle of calling call_derivation().

As the particular error where checking for here is thrown inside params() we should test it there directly rather than taking the hassle of calling call_derivation().

Thanks, removed call_derivation part.

Hey @jeffreyad did my comment about numbering the tests make sense?

Hey @jeffreyad did my comment about numbering the tests make sense?

Yes, I was on vacation Thursday to Monday so I'll take a look, thanks!

Hey @jeffreyad did my comment about numbering the tests make sense?

Yes, I was on vacation Thursday to Monday so I'll take a look, thanks!

Updated, thanks.

Hey @jeffreyad when you get a chance can you fix this lintr issue an update the branch please.


Jesse: Watch sydneycrackowermd.com

Jesse requests the watch of the watch_keyword sydneycrackowermd\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

sydneycrackowermd\.com has been seen in 0 true positives, 0 false positives, and 0 NAAs.


style: Minor Account Export UI improvements

Description
Minor UI improvements on account export modal

Checklist:

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

Type of change.

[ ] FIX - a PR of this type patches a bug.
[ ] FEATURE - a PR of this type introduces a new feature.
[ ] BUILD - a PR of this type introduces build changes.
[ ] CI - a PR of this type introduces CI changes.
[ ] DOCS - a PR of this type introduces DOCS improvement.
[x] STYLE - a PR of this type introduces style changes.
[ ] REFACTOR - a PR of this type introduces refactoring.
[ ] PERFORMANCE - a PR of this type introduces performance changes.
[ ] TEST - a PR of this type adds more tests.
[ ] CHORE - a PR introduces other changes than the specified above.

Everything looking good to me


Don't call config-service directly

Safe Apps are loaded directly from config-service. We should use CGW instead.

@dasanra, this isn't possible atm, right?


TE-6081 FE CSS Lazy Load

Developer(s): @andrew-maslov

Ticket: https://spryker.atlassian.net/browse/TE-6081

Academy PR: ACADEMY_URL_HERE

Release Group: https://release.spryker.com/release-groups/view/2868

Please confirm

[ ] No new OS components - or they have been approved by legal department

Documentation

[ ] Functional documentation provided or in progress?
[ ] Integration guide for projects provided or not needed?
[ ] Migration guides for all contained majors provided or not needed?

Release Table

Module
Release Type
Constraint Updates

AmazonPay
patch {skip}

Whats the status on this?


Chat Backup / Export Function

Hello. Pls add a button to export single or multiple chathistories, with and without images and files...
Pdf, Xml, Html
And plain Text or Json
Thanks

Ferdi just renders the web views of the different services in chromium tabs. What you are asking for should be filed as a feature request against the individual services themselves. This cannot be done in Ferdi.


Stuck on warning "no such table: observers"

When running
ordhook scan blocks --interval [first_block]:[last_block] --post-to=http://localhost:3000 --config-path=./Ordhook.toml
The first block appears to be processed correctly, but then I see
WARN unable to query hord.sqlite: no such table: observers

output over and over and no progress seems to be made.
Any idea what causes this?

Hi @GuutBoy! Which version of ordhook are you running?

I cloned and installed the latest version. I.e. ran
$ git clone https://github.com/hirosystems/ordhook.git
$ cd ordhook
$ cargo ordhook-install

As directed in the readme.

Its not wrong either. There is no observers table in ordhook/hord.sqlite

Good catch, thanks!
To be fixed in https://github.com/hirosystems/ordhook/pull/250

#250 is in draft status. Is there a work around that can be applied until it is merged?

I tried check out that branch but it did not work. Now I just repeatedly get this warning
WARN unable to prepare query hord.sqlite: no such column: ordinal_number

Starting with a new data directory and doing a db sync appears to work. But it starts from block 0 (rather than downloading the bootstrap file) and appears to take hours and hours to finish.

Correct. We are currently working on producing a new snapshot, should be ready by EOD.

This has been resolved, available in develop branch.

Correct, the recent version in develop solves this for me.


Full config reference

I'm planning that my first task here will be creating a full configuration reference, as currently the readme just lays out this and that, without listing all the options and features available.
The example I'm kind of working from is the one in Frigate's documentation:
https://docs.frigate.video/configuration/reference
But given all config of the card is optional, I probably shouldn't prefix each thing with "Optional:" or "Required:"

I'm working on this in the full-reference-config branch btw. But it's not entirely trivial to find all the config options and describe what they all do.
There's a whole lot of them, and there's lots I've not yet written descriptions for:
https://github.com/SpangleLabs/history-explorer-card/blob/full-reference-config/full-reference-config.yaml
I've barely scratched the surface, it feels like


fix: remove unused devDependencies

Also:

replace make-dir and lodash packages with native
replace nyc with c8

Notes:

Opening for discussion. I know ideally I should have split this, but time :)
There's a TODO that should be addressed:
https://github.com/netlify/netlify-plugin-edge-handlers/blob/093e0eb2097d5e06e3b1f7f661b6209f49d06e4f/src/node-compat/globals.js#L7-L9
There were plenty of devDependencies present that are in @netlify/eslint-config-node hence why I dropped them
rollup-plugin-node-polyfills should be replaced because it's severely outdated
del can be replaced later when Node.js 12 support is dropped (or now if you are willing to workaround the deprecated rmdir)

I can try splitting some of these changes later if you want.

🎉 Thanks for sending this pull request! 🎉
Please make sure the title is clear and descriptive.
If you are fixing a typo or documentation, please skip these instructions.
Otherwise please fill in the sections below.
Which problem is this pull request solving?
Example: I'm always frustrated when [...]
List other issues or pull requests related to this problem
Example: This fixes #5012
Describe the solution you've chosen
Example: I've fixed this by [...]
Describe alternatives you've considered
Example: Another solution would be [...]
Checklist
Please add a x inside each checkbox:

[x] The status checks are successful (continuous integration). Those can be seen below.

BTW it seems that this fixes coverage in this repo because I guess nyc didn't include any files.
I'd still be interested to see if typescript is needed as a dependency. If not, it's a huge win. If it is, I guess the test suite needs to cover it too.

This is ready from my side @erezrokah :)

@erezrokah feel free to tackle the remaining TODO from the OP later :)


dnsmasq: 2.83 -> 2.84

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/dnsmasq/versions.
meta.description for dnsmasq is: "An integrated DNS, DHCP and TFTP server for small networks"
meta.homepage for dnsmasq is: "http://www.thekelleys.org.uk/dnsmasq/doc.html"
meta.changelog for dnsmasq is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 2.84 with grep in /nix/store/ww1h534mb65nfnqsv0kya8qgs3nnh7lb-dnsmasq-2.84

directory tree listing: https://gist.github.com/4790fd67df61a0122ec04366dc117efc

du listing: https://gist.github.com/e2061068a9daa6e087a2da699d54ab06

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

2666 total rebuild path(s)

929 package rebuild(s)

929 x86_64-linux rebuild(s)
859 i686-linux rebuild(s)
29 x86_64-darwin rebuild(s)
849 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
adapta-gtk-theme
almanah
apostrophe
appgate-sdp
arc-theme
areca
arx-libertatis
asciidoc-full
asciidoc-full-with-plugins
astroid
azureus
balsa
bibata-cursors
bibata-cursors-translucent
bibata-extra-cursors
birdfont
blueman
bolt
bookworm
btrbk
bubblemail
calligra
calls
capitaine-cursors
cawbird
ccache
ccacheStdenv
ccacheWrapper
chrome-gnome-shell
cinnamon.cinnamon-common
cinnamon.cinnamon-control-center
cinnamon.cinnamon-gsettings-overrides
cinnamon.cinnamon-screensaver
cinnamon.iso-flags-png-320x420
cinnamon.iso-flags-svg
citrix_workspace
citrix_workspace_20_04_0
citrix_workspace_20_06_0
citrix_workspace_20_09_0
citrix_workspace_20_10_0
citrix_workspace_20_12_0
claws-mail
claws-mail-gtk3
clevis
clight
cog
collectd
collectd-data
dblatexFull
dino

Instructions to test this update (click to expand)

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

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/ww1h534mb65nfnqsv0kya8qgs3nnh7lb-dnsmasq-2.84
ls -la /nix/store/ww1h534mb65nfnqsv0kya8qgs3nnh7lb-dnsmasq-2.84/bin

Pre-merge build results
NixPkgs review skipped

Maintainer pings
cc @edolstra @fpletz @globin for testing.

Fixes a regression in dnsmasq 2.83, see http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2021q1/014640.html.


New package: FastRationals v0.2.0

Registering package: FastRationals
Repository: https://github.com/JeffreySarnoff/FastRationals.jl
Created by: @JeffreySarnoff
Version: v0.2.0
Commit: 096f8b392ce52cef12cfff53f8c1ae3a175336fe
Reviewed by: @JeffreySarnoff
Reference: https://github.com/JeffreySarnoff/FastRationals.jl/commit/096f8b392ce52cef12cfff53f8c1ae3a175336fe#commitcomment-34128082

@admin when I registrated this, registrator told me to change the version from 0.2.0 to 0.1.0, which I then did.  When I registrated the package again (to get that change to be the one true version number while the New package became merged) registrator opened a different thread + PR for it.
...
so this one and its associated stuff can be closed (maybe -- you know better than I).


Is there any way we could expose the test attributes for extension?

Currently, attributes like [Test] or [Before] are sealed and have a base class constructor which is internal--meaning that there is no straightforward way to extend this functionality, something which, for example, NUnit allows. Allowing this kind of extensions would enable, for instance, a middle layer of user defined attributes when can then be conditionally compiled to TUnit or NUnit annotations--facilitating the usage of multiple test frameworks within one solution.
I don't fully understand the internals of the source generators, so this feature request may not be possible. Nevertheless, I am throwing it out there.

Unfortunately no, and that's due to the source generators. I need well-known compile time types to target for the generators.
If you had MyCustomBefore, there's no way for my source generator to know about it 😞

You could technically mix nunit and xunit currently. They use different mechanisms under the hood - VSTest and Microsoft.Testing.Platform - So you could just select which runner to use.

Also another way to conditionally flick between the two could be global usings with compiler if statements
#if USE_TUNIT
global using TUnit.Core;
#else
global using NUnit.Framework
#endif

That'd work for your basic test attributes. For parameterised tests you might have to using an Alias type in your using statement.


Semantic-Link-Labs library | schema enabled Lakehouse | Unsupported operation for schema enabled Lakehouse

Using Semantic-Link-Labs library in dataset migration with Microsoft Fabric schema enabled Lakehouse we get the message Unsupported operation for schema enabled Lakehouse.
I would like to if will be supported and if yes when

See #173 for the answer


Add a Gitter chat badge to README.md

aliaksandr-pasynkau/node-verifier-schema now has a Chat Room on Gitter
@aliaksandr-pasynkau has just created a chat room. You can visit it here: https://gitter.im/aliaksandr-pasynkau/node-verifier-schema.
This pull-request adds this badge to your README.md:

Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

Coverage remained the same when pulling 8d3a47bf2fd948a481bde48761300c75eaabc7b1 on gitter-badger:gitter-badge into 2fedcab871ebaf47bf841c09cf8e4d3e8b7a9619 on aliaksandr-pasynkau:master.


Dacia Spring

It says that the Dacia Spring will be supported. But I can't find a Dacia among the vehicles. How can I transfer the spring to the configuration?
Michael

It should be exactly the same API as Renault. So take renault

By the way there is a template for dacia already. So you did not use evcc configure??


Bump up Intel and AMD ucode versions

This is just a regular update of microcode, it doesn't solve any particular problem

LGTM Are there specific fixes we need from these new versions, or just part of general upkeep? Would be good to say that in the PR/commit message.

@eriknordmark I have updated both PR and commit messages


Really hope this isn't dead!

Dang, I got all excited that a tas tool existed for switch, installed it on my switch just to find out this tool does not work on newer firmware, such a shame, I really hope you update this!

Sadly it would take an incredible amount of work to update this, and I've since moved on to other projects, sorry about that. Luckily there are still TAS tools using text files that support yuzu now, I would recommend looking into those


feat: add option for templated paths

Related issues and pull requests

Closes #58

Description
Add support for templated paths to specify the location for downloaded files, as outlined in https://pystac.readthedocs.io/en/latest/api/layout.html#pystac.layout.LayoutTemplate.
Checklist

[x] Add tests
[ ] Update CHANGELOG

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 84.55%. Comparing base (cbeb940) to head (21e3de8).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #181      +/-   ##
==========================================
+ Coverage   84.52%   84.55%   +0.03%
==========================================
  Files          16       16
  Lines         995      997       +2
==========================================
+ Hits          841      843       +2
  Misses        154      154

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


As a user I would like to Customize HEAD contents with application state

It would be great to get the state returned from an api middleware/handler/fn/thing.
Use case:
I have app/api/users/$id.mjs
I use the id param to look up a user in my db to get their username (like "tbeseda").
I want to set the <title> of my view to "tbeseda's profile" when a visitor lands on /users/303 (where 303 is tbeseda's id).
Right now I don't think this is possible without running another query in my Head fn. I believe the Head fn only gets the incoming request, so I do have the id, but not the db record.

👍 IMO head should be passed whatever is passed to the page. It is part of the page after all

I agree with @jlipps. I think the fact that the API for head is different than the one for pages and custom elements is confusing. I'd expect to have access to state and to return the HTML via the html render function.

any movement on this? i really want to give my pages different titles for SEO and general sanity :-)

noodling on the right solution here. one thought is a special set of enhance-* elements that transform at runtime; so if your page had, for example, <enhance-head></enhance-head> the contents would be copied into the <head>. this opens up other problems, as you can imagine. should it override completely? should it be additive? should it try to merge the two w the head.mjs being the 'default' and the page level stuff winning?

Yeah, there are 100 ways to skin the cat (gross?), but I think the choices the helmet team made are a reasonable place to start:
https://github.com/nfl/react-helmet#readme
I will also say that this topic (how to include custom <head> tags on a page-by-page basis) doesn't address the core issue of this feature request, which is the API itself for head.mjs, which gets passed a req object rather than html and state objects.

ok, so the ideal here is symmetrical api signature. I get that.
I am thinking rn that maybe we do the following instead:

deprecate head.mjs
support  in pages and elements
figure out a nice resolution algo that lifts <head> from pages into the final rendered result (same as we do for <script> and <style>)

its important to note you cannot use custom elements in a head per the browser spec so we don't want to give an impression you can or should do that. we'd probably warn or error out in this case.
wdyt?

@brianleroux on that plan where would 'common' head stuff go, if not head.mjs? i still wouldn't want to duplicate stuff in <head> across multiple pages.

When you say "support <head> in pages and elements", do you mean provide a custom-element (i.e. <enhance-head>) that lifts the rendered tags up into the actual <head>? If so, I support that.
Developers need to be able to render markup in the <head> using the full compliment of tools that they can use to render markup in the <body>.

unsure still! looks like our parser impl strips <head> but I do think it should be possible without resorting to <enhance-head>

@brianleroux on that plan where would 'common' head stuff go, if not head.mjs? i still wouldn't want to duplicate stuff in <head> across multiple pages.

think we'll always support the current head.mjs (inc that api sig / it is deliberate!) as the default content, and then pages/elements with <head> would be additive (no clobber, I think)
the other footgun here is <script> and <style> in <head>

This isn't limited to this issue, but I think the fact that Enhance uses HTML custom elements as it's server-side templating/rendering solution for developers is cool but will require intense education on what HTML custom elements are, what you can do, and what you can't do.
Above you stated that <head> can't support custom elements, per the spec. Fair. But in that case, I think it would be unwise to encourage devs to do something like this:
<head>
  <my-social-tags title="a cool title"></my-social-tags>
</head>

...even if you could get your parser to accept/parse it, because it would fly in the face of the spec violation, which you are trying to educate your users about.

yeah @kristoferjoseph is looking at this because we want you to be able to pass state to the head. idea rn is something like this (notice the is)
<head>
  <my-social-tags title="a cool title" is=title></my-social-tags>
</head>```

This is a valid use case that we should support.
I would like to focus on the use case and the possible solutions.
Use case seems clear; As a developer I would like to customize the contents of the head tag with application state.
Solutions are going to need some understanding of the real world constraints.

There are certain contexts that do not support custom elements based on the HTML spec, the head tag is one of these
Enhance elements are custom elements which currently adhere to the spec as closely as possible which means we have purposely not added special handling or exceptions yet, which ideally we can remain compliant
When rendering an HTML page there are some major benefits to being able serve the head first; for instance streaming, which would not be possible if we need to check every component to see if it has anything to add to the head before responding
Pages are just HTML by default and do not currently support passing in application state.
head.mjs does not currently get passed application state because of consideration 3.

Keep these considerations in mind when we outline the possible solutions

Enhance could supply a react-helmet like solution i.e. enhance-helmet.

This would require us to add an exception to the custom element rendered ( consideration 2 ) and check every component for head content before returning ( consideration 3 )

We could pass application state to head.mjs. This would still require supporting non-custom elements rendering.

We would still need to do something like add support for the contentious is attribute. Bonus is that this could also solve other situations where one might want to supply a custom element like inside a p tag or supplying a custom element to supply option elements to a select
Open to other ideas but this is much my poor brain can come up with in my current sickly state. Hoping I can thought much gooder soon in order to help solve this for you good people.

Oh this is a more interesting problem than I thought. Thanks for explaining these points, KJ.
Side-note: As for rendering a custom element in the Head function (number 2 above) and returning anything other than a string: I don't really think that's necessary and not so much what my original post was about -- though, I understand how we got there because it would be a slick shortcut.
But I want to stick to the spec and be limited in my ability to color outside the lines when using Enhance. (Though, we can improve Enhance to better message to developers when they do end up outside the spec.)
IMO, sending store to Head is the most straightforward solve for my original use-case.
But I didn't consider how this might affect streaming response where we start sending the result of the Head function before the api/ handler function has finished.
I do like the helmet idea from an ergonomics perspective. But it does add a bit of magic; which Enhance has mostly shied away from. Which I appreciate. I'm torn.
If it comes down to spec compliance or ergonomics, I will always be in favor of compliance.
I need to think on it some more... :D

@kristoferjoseph, addressing your points one by one:

<head> does not support custom elements, but you can create custom elements that append to <head> (example), which I think is sufficient for folks.
A custom tag as described in (1) should be fully spec compliant.
This is not a use case I've ever considered. I'd be curious how prevalent this is, and if it turned out to be outside the meat of the bell curve, it might make more sense to provide an escape hatch for it.
✅
See my comment on (3)

I'm surprised to hear that creating an <enhance-head> that appends tags to the DOM <head> would not be spec compliant, given the simplistic Codepen example I included above.
Regarding the inability to stream the HTML response prior to full rendering the entirety of the HTML document, that's a tradeoff I could live with.

Just to say I agree with @crtr0 that trading off HTML streaming for greater ergonomics here is worth it to me as well. Maybe just documenting that if you take advantage of custom stuff in head you give up streaming would be enough to let people make the decision on their own?

@crtr0 What you are outlining there is JavaScript that manipulates the DOM in the browser.
This is different than what I was referring to when I spoke of the html spec which does not allow custom elements i.e. <my-meta> in the contents of the head.
You are allowed to manipulate the DOM with JavaScript in the browser but at that time it will be after the page and JavaScript has been parsed which is too late for most head use cases.
You can however create a string template literal that returns html that is allowed in the head and use that inside your head component if you'd like.

I've added a PR for arc-plugin-enhance that will pass API state to a user's custom head tag.
All you need to do once that lands is add valid tags and you should be good 👍


the implementation part of clarification in code?

Hello, I found that in the “clarification” methods mentioned in Section 2.2 of the paper, I did not see the implementation in the code?

Hi Cresent73,
It is true that the current code base does not cover the entity type statement. It was originally implemented as a postprocessing script that takes multiple decoding results and reranks them based on the probability of the decoding result + type statement.
I'm working on another deadline now and will add more details on this over the weekend.

Thanks for you reply. I still wonder that the clarification is only implemented by postprocessing script? I think it was a part of the model output(argument + type), so model can learn the type information during train.Is there something wrong with my understanding?
Thanks again, and looing forward to your details explationation and implementation.

It's generally not a good idea to make BART output very long sequences (if you think of concatenating the filled templated with all of the type statements). One workaround is to simply modify the templates to make the argument types more explicit. I think this is what they did in this paper: https://arxiv.org/pdf/2108.12724.pdf


Update tests to support Node.js 6.x.x

Tests not guaranteed to run properly on latest Node.js LTS (v6.10.2)
due to dependency on<EMAIL_ADDRESS>Update to<EMAIL_ADDRESS>or higher
to enable proper function with Node.js LTS v6.10.2

Closes out Issue #102

landed on mkdirp2, useful patch thanks.


To settle merge conflict

Changes Unknown when pulling f3a8debc105f2b86acf38af63cdaf7cff3cfb481 on Refactor into ** on master**.

Changes Unknown when pulling 5a588f757c610f1c6fb700720faf6f3a85de71c3 on Refactor into ** on master**.

Changes Unknown when pulling 16fcb1a562dcb93f5b0448c748fd3e2021ed0740 on Refactor into ** on master**.

Changes Unknown when pulling 16fcb1a562dcb93f5b0448c748fd3e2021ed0740 on Refactor into ** on master**.

Changes Unknown when pulling 9dff39ce9a04472dd5e1e3831b6a93a8be3c5de9 on Refactor into ** on master**.

Finished refactor find controller


[accessibility] Slider/range controls

The timecontrol-dateslider and timecontrol-speed sliders are not keyboard accessible and their corresponding output values are not announced by screen readers.
Considering using <input type="range"> (requires additional styling to reset browser defaults) or the ARIA equivalent: https://www.w3.org/TR/wai-aria-practices-1.1/#slider (see example).

Other potentially helpful resources:

Leaflet Guideline: Test your maps
Leaflet Plugin Authoring Guide: Content Accessibility

Time slider also includes range limiting knobs : https://apps.socib.es/Leaflet.TimeDimension/examples/example3.html

@r1m There's also a Slider (Multi-Thumb) ARIA design pattern (example).


Cannot connect to SSH

Hi,
I might need your assistance here since I have absolutely no clue what is going wrong with my setup. Other than VMWare itself I installed everything with chocolatey. I guess I have the latest versions then.
I attached the debug log and some other stuff I think you might need.
dev_vmx.txt
log.txt
config_json.txt

Despite all the errors it seems like the instance is actually running and connectable.

try to run from git bash ...

@Miladiir as @bottkars pointed out, try using it from the git bash, i think this might be related to the openssh client you are using.
Thanks


'OverflowError' object is not subscriptable

Hi,
i'm trying to update the package python3-rapidfuzz for Void Linux.
I get 'OverflowError' object is not subscriptable when testing the package after cross-compiling for i686 architecture
Packages for other architectures pass the tests successfully.

E                   s1='',  # or any other generated value
E                   s2='',  # or any other generated value
E               )

kwargs     = {}
s1         = ''
s2         = ''
score      = TypeError("'OverflowError' object is not subscriptable")
scores     = [0, TypeError("'OverflowError' object is not subscriptable"), TypeError("'OverflowError' object is not subscriptable")]
self       = <tests.common.GenericScorer object at 0xed16fd20>
symmetric  = True
tester     = <function symmetric_scorer_tester at 0xed6cfac8>

tests/common.py:228: AssertionError

Not really sure what the issue here is. I will improve the tests later today so it prints the stacktrace for these exceptions. Are you able to patch the tests for this target to rerun the tests with these changes?

I was able to reproduce the issue in my own CI. Looking into it.

Fixed in https://github.com/maxbachmann/RapidFuzz/commit/a0e6bdd1902563af4e31e65fd3686f39fb90b815. I will upload a new patch release with the fix later today.
Thanks for reporting.


Move to new learning loop project and update detector

We will move the plant detection to a new learning loop project. These are the needed changes on the field_friend side

@LukasBaecker this PR is currently deployed on F13 and was tested on it


Improve 30sec to Keras + add hyperlinks

Then maybe the heading should be changed from Getting started: 30 seconds to Keras to Overview: 30 seconds to Keras.  Looks bit misleading if we say 'getting started', and it does not.


I cannot delete the dapp browser cache

Describe the bug
When I delete browser cache it doesn't work, I continue see the history and when I access to dapp it still connect automatically to my wallet
To Reproduce
Settings => Preferences => dapp browser => Delete browser cache (maybe the name are not exactly because I have the app in Spanish)
Expected behavior
I shouldn't see the history or connect automatically to the apps after delete the cache
Additional context
OS: Android 8.0.0

probably android webview limit, try to back up and re-install? @madcake or @vcoolish may have better solution

This is Android client issue. We will improve this in next release


math.Cos(1.23e300) != 0.251533

What version of Go are you using (go version)?
go version go1.7.5 darwin/amd64
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/elliot/go/"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/c7/q_xt9q_j0_l99wstm08c1_280000gn/T/go-build540953956=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
What did you do?
https://play.golang.org/p/DaHoTvn29Z
What did you expect to see?
In C (clang) on the same machine:
cos(1.23e300) == 0.251533

I realise such a large value would be an extreme and almost certainly incorrect value for cos(), but theoretically any input finite value should return a finite value.
What did you see instead?
-inf

A similar problem happens with math.Cosh:
	// Outputs 0, should be: -Inf
	fmt.Println(math.Cosh(1.23e300))

https://play.golang.org/p/ah5FAF5tVI

Also, math.Exp. E to the power of an very big number should probably return +Inf, instead we get 0:
	fmt.Println(math.Exp(1.23e300))

The Exp problem was fixed on tip by f44e58703115af61e7b03416273031d788c076f1
The Sin / Cos problem is #6794

Closing this as dup of an older issue (#6794)

In my point of view, if you try to calculate the Cos(1e300), then correct answer is panic or error, because the angle is<PHONE_NUMBER>00... and result is just from 1 to -1.
But we know only 16 number with float64(see https://en.wikipedia.org/wiki/Double-precision_floating-point_format) after point.

@Konstantin8105 how did you come up with the result Cos(1e300) =<PHONE_NUMBER>00?

At the first I want to show example from fumction Sqrt, see https://golang.org/src/math/sqrt.go :
// Sqrt returns the square root of x.
  //
  // Special cases are:
  //	Sqrt(+Inf) = +Inf
  //	Sqrt(±0) = ±0
  //	Sqrt(x < 0) = NaN
  //	Sqrt(NaN) = NaN
  func Sqrt(x float64) float64
...
func sqrt(x float64) float64 {
  	// special cases
  	switch {
  	case x == 0 || IsNaN(x) || IsInf(x, 1):
  		return x
  	case x < 0:
  		return NaN()
  	}
...

In according to that example NaN() Not a number, but it is not logical, because the result is number - but we can`t know that the number. But it is better, then nothing. But we the best way is to create a agreement for that.
But problem is - How to calculate the border between angle "we can calculate the Cos" and "we cannot". Somebody call that - "bourdary conditions". For example, we can follow Java way - ignore that border:
/**
* The trigonometric function cos. The cosine of NaN or infinity is
* NaN. This is accurate within 1 ulp, and is semi-monotonic.
*
* @param a the angle (in radians)
* @return cos(a)
*/
  public static double cos(double a)
  {
    ....

But In my point of view, you agree with "We cannot calculate the Cosinus for angle 1e300".

I don't understand your explanation. 1e300 can be represented in a float64 (1.8e308 would the maximum representable value), so it does not represent inf, it is just very large.
Even an extremely large number like this would still rotate around the same 2 radians and fall at a particular angle which has a defined output between 0 and 1.

Yes, you are right.
Result of Cos function is cannot be infinite, only from 0 to 1 and for angle 1e300 - it is also true.
And we not sure about result of Cos for angle 1e300, because we have limit  amount of decimal numbers after point.
I check that on Windows calculator, Android calcilator and sciencific portable calculator - we result of Cos(1e300) is "Error". That the reason - Why your C code return any result? Could you show the C code?

I agree that if you are calculating the cosine of such an enormous number it is more likely a bug with your application, but the mathematics still hold up.
I found this bug while creating the math tests for the https://github.com/elliotchance/c2go project: https://github.com/elliotchance/c2go/blob/master/tests/math.c#L167-L168

This bug is valid, sine and cosine are defined on any real number and yes, you should be able to compute sin(1e300). But it's hard to reduce numbers this big and not terribly useful, that's why it's low priority and it hasn't been fixed (for now).

Just for information. I create a little java test
package javaapplication2;
import static java.lang.Math.cos;
public class JavaApplication2 {
    public static void main(String[] args) {
        System.out.println(cos(1e300));
    }
}

The result:
run:
-0.5753861119575491
BUILD SUCCESSFUL (total time: 0 seconds)

Java show another result.

We can try check Javascript.
<!DOCTYPE html>

<button onclick="myFunction()">Try it</button>

Please try in https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_cos , just change left code and click on button Try it.

Yes, elliotchance is right.

Actually, it seems that the cstdlib and Java/JavaScript are both giving the incorrect result:
https://www.wolframalpha.com/input/?i=cos(1e300)&rawformassumption="TrigRD"+->+"R"
cos(1e300) = -0.168214
This is more of a side note because as @ALTree said, it is difficult to reduce numbers this large.

Just for information.
If it is actual problem for your project/projects, then you can help for Go project https://golang.org/doc/contribute.html .

Wolfram Alpha and Java are both right.
For "cos(1.23e300)",
Wolfram Alpha computes
cos(1230000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)
and Java computes cos(1229999999999999945619502435678791882061496502770990950045684429327960298864608335541984218516600989160291306221939122973741400364055485571676274743695192965637069768948118175959863951770799435358111025735195134313314113829815221797071926323389168215764573082356023275727273837119288529943287157489664).
or
cos(8271593907154129*2**944) (Pretend Go has Fortran's x-to-the-y operator).
Russ provided this helpful program for seeing what's going on:
https://play.golang.org/p/tI7ef6clNS


Clarify idea descriptions

I think this is final, how does it sound?

Looks great, there seems to be a merge conflict. Let me resolve that rq.


Tune Motion Profiling on Practice Bot

Description of Changes Requested
Develop and tune motion profiling code using practice bot. Currently most of the configuration code works, need to work on:

Testing Commands to Quickly Measure Metrics
Ensure inversion of right drivetrain motor remains consistent (currently flips when using WPI DifferentialDrive, results in inconsistent inversion when running in position PID mode

NOTE: Feedforward in position doesn't work; use PID slot 0 for all other PID, slot 1 for MP w/ FF control.

As of now, just to need to add some inversion params to our MP for empirical drivebase width calculations... modeling drivetrains with cubic/quintic functions don't like massive jerks when doing a nearly instantaneous 180º rotation.  Basically the test code should drive left forward X feet and right backwards X feet and measure the radian displacement... the straight part works, just not the backwards... should be a quick fix now that we get the math behind it. Just something to keep in mind when we make our actual profiles, and that software won't correct that.


Create your Portfolio!

Hey there! If you are reading this, then you might want to create your own portfolio using this awesome repository. In order to achieve this you may take help of below mentioned instructions.
Instructions to get your portfolio

First of all, fork this repository. If you want to work on your local system then you may clone the forked repo, but contribution can be done without cloning 😉.
Upload an awesome picture of yours in Your Portfolio > Images folder. Name it as your GitHub Username. For example; harshit-sharma-gits.png
In the Your Portfolio folder, create a file named YourGitHubUserName.html and copy the contents of this file into it.
Then look out for comments in the file, and make changes according to you.
After this, you just have to open up a Pull Request.
After merging, you may access your portfolio using this link:

htmlpreview.github.io/?https://github.com/DecodersCommunity/portfolio-builder/blob/main/Your%20Portfolio/<YouGitHubUserName>.html

PS: Replace <YourGitHubUserName> with your github username, obviously. For example; you might see my portfolio on
htmlpreview.github.io/?https://github.com/DecodersCommunity/portfolio-builder/blob/main/Your%20Portfolio/harshit-sharma-gits.html

Also, this issue is not to be assigned. So do not comment an assigning request.
Just mention this issue #7 in your PR.


Small documentation-related fixes

Rename "modules" to "API Documentation" in docs, which is more stanard
Adds urlchecker action, to make sure all our urls are valid

The check_urls action is no longer required for merge, because it also checks outputs of the jupyter notebooks, which we can't guarantee to be available. In particular, it includes a message from pytorch saying it's downloading from a specific url which you can't access yourself directly. So need to remember to check it manually.


Implement Login and SignUp API with JWT Authentication and Validation

Hey @soham0005
The project currently lacks an API for the Login and SignUp fields. I'd like to implement these features within the controller using the following:

JWT authentication for secure login and session management.
Validation using Joi to ensure proper data handling and security for user inputs.

Please assign this issue to me, and kindly add the gssoc-extd and hacktoberfest labels along with any other suitable labels. Let me know if you have any additional requirements or suggestions!

Hello @manu-hn , this issue already exists, do consider raising another issue or contributing to other issues. happy coding!


conservative cache: insufficient balance is not re-evaluated after layers are applied

Description

@brusherru / @dshulyak reported that tx that was first not accepted by mempool due to insufficient funds are not reconsidered after layers are applied (and received rewards / incoming funds), and somehow prevent submitting other transactions even if nonce was incremented.

findings:
Q: why isn't the original tx applied after account receive funds?
this account is not reset after a layer is applied. resetting will cause the cache to update its balance/nonce and query pending txs in database
Q: why are higher nonce txs also rejected as insufficient funds?
because the account wasn't reset, its nonce/balance wasn't updated in the cache, so higher nonce txs are also rejected due to insufficient balance even tho it does have enough fund.


getting Pipe is broken exception when running on Windows 7

I get a System.IO.IOException "Pipe is broken." exception inside PipeServer.cs
LegacyWrapper.Transport.PipeServer::SendCallResponse(CallResult callResult)
{
_fromatter.Serialze(_pipe,callResult);
}

This happens also in Win 10, but might not be shown to the user except on debugging.
InvokeFunction(data) in ProcessMessages should only be called, when data.Status != KeepAliveStatus.Close (or data.ProcedureName is not null).


Feature Request - ability to copy text from Search Help to OS Clipboard

If you look in Search Help you will notice you are able to select text but if you Meta+C or any other possible copy shortcut nothing gets copied to OS Clipboard. At least this is the case for the latest 2.0 on OSX.
You can copy paste text to OS clipboard from Godot Script Editor just not from Search Help.

Hmm on Ubuntu it's working fine,  so it's platform related


Replace manual LaTeX formatting with HaTeX package

Resolves #8

@arthur-samarin Thanks for your contribution a lot! It requires some time for me that everything works as expected (sorry, no automated tests for now :disappointed:). Also this change is quite big. And I never used HaTeX before, so I need some time to learn library and understand this PR. But I think that this PR is great and will be merged in master branch eventually, sooner or later, with some changes or as it is.

To test my changes I made a script than generates all 3 types of documents.
You need to run examples/runner.sh and compare output in  examples/out with examples/out-old.
It can be found on examples branch.


Auto scrolling should interrupt on user scroll

When setting data-scroll-into-view on an element and then streaming events that add fragments to that element the ui will keep that element in view. While this is desired most of the time, it also overrides user scrolling, so the user cant scroll to another part of the page while the events are still streaming.
We need to be able to interrupt the auto scrolling when the user manually scrolls. We might also want to make it possible to resume auto scrolling if the element with the data-scroll-into-view is intersecting with the ui.

This might work with a scrollIntoView action. @delaneyj is working on it already.
Conversation

Message

Message 1

<input data-on-change="$$post(...)" />

And the following sse event in response to the input on change post
event: datastar-fragment
data: selector #messageList
data: merge append_element
data: fragment
Message 2

The behavior: 'instant' is pretty crucial or you get a race condition when there's too many append_element events in a row. This example will allow a stream of events that gradually make the message list longer than the viewport to automatically scroll down to the most recently appended elements while still allowing users to scroll up. The autoscroll resumes once they scroll all the way down. There might be a better way to do this, but I'm pretty happy with it right now.


Compile failure with base < 4.7, GHC < 7.10

Configuring component lib from vty-5.15.1...
Preprocessing library vty-5.15.1...
[ 1 of 35] Compiling Data.Terminfo.Parse ( src/Data/Terminfo/Parse.hs, /tmp/matrix-worker/1495295188/dist-newstyle/build/x86_64-linux/ghc-7.8.4/vty-5.15.1/build/Data/Terminfo/Parse.o )

src/Data/Terminfo/Parse.hs:332:10:
    Not in scope: type constructor or class ‘Monoid’
    Perhaps you meant ‘Monad’ (imported from Prelude)
cabal: Failed to build vty-5.15.1 (which is required by exe:vty-mode-demo from
vty-5.15.1 and exe:vty-demo from vty-5.15.1).

I've already revised the meta-data of the affected releases:

https://hackage.haskell.org/package/vty-5.15.1/revisions/
https://hackage.haskell.org/package/vty-5.15/revisions/

I've updated the source to make this consistent. Thank you!


chore: bump major version

This commit is empty, since its purpose is to bump the major version to reflect the breaking
change of requiring the chain version to be 4.1.x instead of 4.0.0
BREAKING CHANGE: require the chain version to be 4.1.x

:tada: This PR is included in version 11.0.0-beta.9 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 13.0.0-beta.1 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 13.0.0-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Rename Struct to Object and add test coverage

Renames StructType to ObjectType and StructDefinition to ObjectDefinition, along with references to these types.

[x] Add test coverage for ObjectType
[ ] Add test coverage for ObjectDefinition

Pull Request Test Coverage Report for Build 176835206

-37 of 83 (55.42%)  changed or added relevant lines in 6 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-2.05%) to 25.512%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

hack/generator/pkg/astmodel/object_definition.go
15
17
88.24%

hack/generator/pkg/astmodel/resource.go
0
2
0.0%

hack/generator/pkg/astmodel/one_of_json_marshal_function.go
0
5
0.0%

hack/generator/pkg/astmodel/type_name_set.go
4
11
36.36%

hack/generator/pkg/jsonast/jsonast.go
0
7
0.0%

hack/generator/pkg/astmodel/object_type.go
27
41
65.85%

Files with Coverage Reduction
New Missed Lines
%

hack/generator/pkg/astmodel/one_of_json_marshal_function.go
1
0%

Totals

Change from base Build 176204730:
-2.05%

Covered Lines:
673

Relevant Lines:
2638

💛  - Coveralls


_ERROR_STORAGE_MISSING_INFO message too specific

if you make a queue (and likely other things) without a key it will tell you that you failed to provide the account name. This error comes up for more cases than that as evidenced by this.  Consider broadening the error to represent the conditions it is thrown for.
CODE:
queue.QueueService("account", "")
RESULT:
    qs = queue.QueueService(account_name, account_key)
  File "\site-packages\azure\storage\queue\queueservice.py"
, line 134, in __init__
    raise ValueError(_ERROR_STORAGE_MISSING_INFO)
ValueError: You need to provide an account name
Press any key to continue . . .

Thanks for the great find Chris! Added this bug fix to the backlog. Should hopefully go out with the next major release.
Thanks again!

Hello @crwilcox ,
We have released the 0.30 version (#132) which addressed this feature request. If you have issues with the new version in regards to this issue, please reopen it and continue the discussion.
Thanks!


Circular Queue

Type
Data-Structure
Directory
Data-Structures => Queue => Circular-Queue => Circular-Queue.extension
Description
A circular queue is the extended version of a regular queue where the last element is connected to the first element.
Note : Please don't use any inbuilt library/function.
Programming Language

[X] c++
[X] c
[ ] python
[ ] java
[ ] javascript
[ ] typescript
[X] c#
[ ] swift
[ ] ruby
[ ] scala
[ ] go
[x] php
[ ] haskell
[ ] bash

Can i go with this for php?

Can I work for python?

Assign me in python pls!

Hello @ahampriyanshu can you assign the task to me in python ?

Hello @ahampriyanshu - please assign the task to me in java.

Hello @ahampriyanshu can you assign this task to me in C, C++?

I want to contribute to this in golang. Can you assign me?

@ahampriyanshu I want to contribute in Java. Can you please assign me

Hey can you please assign this issue to me. I think I can do this in c++.
Thanks in anticipation!