Not sending auth request

I am using emqx docker v3.1. I tried and config http auth plugin from dashboard plugin. I set every endpoint to some url from my host machine. But no request received and every attempt to connect to server fails. Ofcource if I disable plugin everthing works fine.
I even tried wget from container and it went through.
my config file look like this

##--------------------------------------------------------------------
## HTTP Auth/ACL Plugin
##--------------------------------------------------------------------

##--------------------------------------------------------------------
## Authentication request.
##
## Variables:
##  - %u: username
##  - %c: clientid
##  - %a: ipaddress
##  - %P: password
##  - %cn: common name of client TLS cert
##  - %dn: subject of client TLS cert
##
## Value: URL
auth.http.auth_req = http://<IP_ADDRESS>:5000/mqtt/auth
## Value: post | get | put
auth.http.auth_req.method = post
## Value: Params
auth.http.auth_req.params = clientid=%c,username=%u,password=%P

##--------------------------------------------------------------------
## Superuser request.
##
## Variables:
##  - %u: username
##  - %c: clientid
##  - %a: ipaddress
##
## Value: URL
auth.http.super_req = http://<IP_ADDRESS>:5000/mqtt/auth
## Value: post | get | put
auth.http.super_req.method = post
## Value: Params
auth.http.super_req.params = clientid=%c,username=%u

##--------------------------------------------------------------------
## ACL request.
##
## Variables:
##  - %A: 1 | 2, 1 = sub, 2 = pub
##  - %u: username
##  - %c: clientid
##  - %a: ipaddress
##  - %t: topic
##
## Value: URL
auth.http.acl_req = http://<IP_ADDRESS>:5000/mqtt/auth
## Value: post | get | put
auth.http.acl_req.method = post
## Value: Params
auth.http.acl_req.params = access=%A,username=%u,clientid=%c,ipaddr=%a,topic=%t

Sorry, It was docker version. I used docker hub version which is 3.1 and it did not send request. The 3.2 version from emqx.io is fine.
Thanks


Add a okToSend getter to the Analytics class

In order for the analyzer to use the same consent protocol for crash reporting as the rest of the analytics, we have to know dynamically whether or not it is OK to send a crash report.   The _clientShowedMessage private variable has no getter so it is not possible to reproduce the same check that Analytics uses internally.  This small refactor adds a getter to provide a one-stop shop to check whether it is OK to send.

Oh very nice 😄 ! We should probably bump the version to 1.1.0 then right since we have exposed a new api?

Yes.  Added to pubspec and changelog, but let me know if you'd prefer to do that part yourself later and I'll remove it.

You're all good to make those changes, you'll also need to update constants.dart, we send the version of the package to GA as well


expired_auth_token error after running it for couple days

I mounted for couple days then tried to copy a file to it, and got the following error
I used python 2.7.11 and
command
"b2fuse.py /mnt/mountpoint"
`2016-05-12 23:37:53,498:INFO:_list_dir
Error returned from server:
URL: https://api001.backblaze.com/b2api/v1/b2_list_file_names
Params: {"bucketId": "4f709ffffb2796275f4d0219", "startFileName": "", "maxFileCount": 1000}
Headers: {'Authorization': u'3_20160510072929_5c2daf8dd724a7e42cd1009b_b88d1324234243813534dfa81df3aaab10a0b74d3a9d99a24_001_acct'}
{
"code": "expired_auth_token",
"message": "Authorization token has expired",
"status": 401
}
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/fuse.py", line 495, in _wrapper
return func(_args, *_kwargs) or 0
File "/usr/local/lib/python2.7/dist-packages/fuse.py", line 511, in getattr
return self.fgetattr(path, buf, None)
File "/usr/local/lib/python2.7/dist-packages/fuse.py", line 759, in fgetattr
attrs = self.operations('getattr', self._decode_optional_path(path), fh)
File "/usr/local/lib/python2.7/dist-packages/fuse.py", line 800, in call
return getattr(self, op)(*args)
File "b2fuse.py", line 174, in getattr
elif self._exists(path):
File "b2fuse.py", line 131, in _exists
if path in self.bucket.list_dir():
File "/mnt/redline/Projects/python/b2_fuse/b2_fuse/b2bucket_cached.py", line 118, in list_dir
return  map(lambda x: x['fileName'], self._list_dir(startFilename))
File "/mnt/redline/Projects/python/b2_fuse/b2_fuse/b2bucket_cached.py", line 114, in _list_dir
result = super(B2BucketCached, self)._list_dir(startFilename)
File "/mnt/redline/Projects/python/b2_fuse/b2_fuse/b2bucket.py", line 84, in _list_dir
resp = call_api(self.api_url, api_call, self.account_token, call_params)
File "/mnt/redline/Projects/python/b2_fuse/b2_fuse/b2_python_pusher.py", line 85, in call_api
with OpenUrl(url, request_data, headers) as f:
File "/mnt/redline/Projects/python/b2_fuse/b2_fuse/b2_python_pusher.py", line 71, in enter
sys.exit(1)
SystemExit: 1
`

There is currently no handling of timeouts and only basic error handling implemented. A quick fix is obviously to remount the bucket.
I have been planning to have another go at error handling soon, as the B2 API has gotten a lot more mature recently.

Finished porting to new backend for interfacing with B2, this should help with this issue as well. I'll leave it open in case this is still a problem though. Let me know if you try it out.
Best


Output Contest Matches

Coverage remained the same at 100.0% when pulling 081fbd934dff86e737892ee076dadd601575a211 on output-contest-matches into 8bb5c73302fe9f78f219488b04ed2e96f5c8a2a0 on master.


Include new plugin for listing available commands

This introduces a new plugin based on one from a Stack Overflow answer
that introspects the Sublime runtime environment to display a list of
all known Sublime commands, sorted out by type and package of
definition.

Let me know what you think of this as an initial version. If we want to include a syntax for it we probably want to shift it out into its own path instead of inside of the plugins folder directly and there are probably other cleanups that could be done as well.

I like this initial version, it is super useful. (It goes to show that people that use **kwargs in their plugins make it hard to know what parameters/keys the command actually makes use of ;))
I'm tempted to say that a syntax for this would be overkill, but as we don't have any syntax definitions in this repo yet, adding one could serve as a simple example for people to understand.

Yeah, I would tend to agree for similar reasons. If we wanted, a syntax also opens the door for an example of adding symbols to the symbol list for navigation and possibly would make scope based folding a little easier, but that's nothing that is majorly earth shattering in the short term.


⚠ Bofrost.at has degraded performance

In 1a26ebb, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1712 ms

Resolved: Bofrost.at performance has improved in 2fc90ce.


Catalina cannot sign in with user code

Issue Type: Bug
When I try to sign in with user code I get the error:
Could not connect to the server. Check that you are connected to the internet.
logs.zip
Extension version: 1.0.2902
VS Code version: Code 1.49.2 (e5e9e69aed6e1984f7499b7af85b3d05f9a6883a, 2020-09-24T16:23:52.277Z)
OS version: Darwin x64 19.6.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz (12 x 2900)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
1, 2, 2

Memory (System)
32.00GB (14.11GB free)

Process Argv
--crash-reporter-id c091a131-550d-4ece-9353-8a38583b8ac4

Screen Reader
no

VM
0%

Hi , thank you for reaching out and attaching your logs . Are you behind the proxy ?

Yes I'm behind a proxy. If I run echo $http_proxy or echo $https_proxy I get the right proxy.

These resources from our docs should be able to help you to solve behind the proxy issues.
https://docs.microsoft.com/en-us/visualstudio/liveshare/reference/connectivity#manually-adding-a-firewall-entry
https://docs.microsoft.com/en-us/visualstudio/liveshare/reference/connectivity#proxies
Let me know if this unblocks you or if you need more information.

I followed the documents but it did not solve my issue.

@Moniarchy do we have any other work around for users behind proxy ?

I have a workaround but it requires changing the dotnet version that comes with vs code by default.
The steps I follow are:

Open VS Code and run command+shift+p
Type shell command and select Install code command in path
Download and install .NET 5.0.0 from https://dotnet.microsoft.com/download/dotnet-core/5.0/runtime/?utm_source=getdotnetcore&utm_medium=referral
Open a new terminal and run dotnet --list-runtimes
Copy the version at the right of Microsoft.NETCore.App
Run cd ~/Library/Application\ Support/Code/User/globalStorage/ms-vsliveshare.vsliveshare
Run code .
In vscode project explorer rename donet-3.1.1 to donet-3.1.1_old
Run ln -s /usr/local/share/dotnet ~/Library/Application\ Support/Code/User/globalStorage/ms-vsliveshare.vsliveshare/dotnet-3.1.1
Run cd ~/.vscode/extensions/ms-vsliveshare.vsliveshare-1.0.2902
Run code .
Search for "3.1.1"
Replace runtime configs in the 3 files with the version from step 5 (in our case  "5.0.0-rc.1.20451.14")
Close all vs code windows
Live share should work now

Hey @abi90! We are working to address authentication issues in an upcoming release. We'll close the issue when our latest changes are publicly available.

I have a workaround but it requires changing the .NET version that comes by default with vs code live share.
The steps I follow are:

Open VS Code and run command+shift+p
Type shell command and select Install code command in path
Download and install .NET 5.0.0 from https://dotnet.microsoft.com/download/dotnet/5.0
Open a new terminal and run dotnet --list-runtimes
Copy the version at the right of Microsoft.NETCore.App
Run cd ~/Library/Application\ Support/Code/User/globalStorage/ms-vsliveshare.vsliveshare
Run code .
In vscode project explorer rename donet-3.1.1 to donet-3.1.1_old
Run ln -s /usr/local/share/dotnet ~/Library/Application\ Support/Code/User/globalStorage/ms-vsliveshare.vsliveshare/dotnet-3.1.1
Run cd ~/.vscode/extensions/ms-vsliveshare.vsliveshare-1.0.2902
Run code .
Search for "3.1.1"
Replace runtime configs in the 3 files with the version from step 5 (in my case  "5.0.0-rc.1.20451.14")
Close all vs code windows
Live share should work now

is doesn't work for me Orz

We've changed our authentication service. See #4128 and if the new authentication is giving you an issue, please create a new issue. Thank you for your patience.


[vector_graphics] IMPROVEMENT: add an arg to skip non svg files

Imported from https://github.com/dnfield/vector_graphics/issues/250
Original report by @alefwd on Jul 30, 2024
I have a folder /assets where I have a mix of svgs and json files, and I cannot change this. I would like to be able to apply the vector_graphics_compiler transformation to the folder.
When I tried something like:
    - path: assets/
      transformers:
        - package: vector_graphics_compiler

I received exceptions relative to transforming the json files.
What I propose is either to skip non svg files by default, or to enable it using an arg:
    - path: assets/
      transformers:
        - package: vector_graphics_compiler
           args: ['--svg-only']

Comment by @t-unit on Aug 9, 2024
I also run into this sometimes with files generated by the OS, very annoying. E.g. for .DS_Store:
Target debug_android_application failed: Error: User-defined transformation of asset "/Users/***/assets/vector/.DS_Store" failed.
Transformer process terminated with non-zero exit code: 1
Transformer package: vector_graphics_compiler
Full command: /Users/***/flutter/bin/cache/dart-sdk/bin/dart run vector_graphics_compiler --input=/var/folders/5l/cwy_qpwn32bf5r7qcnz2ns740000gn/T/flutter_tools.1xhZrW/.DS_Store-transformOutput0 --output=/var/folders/5l/cwy_qpwn32bf5r7qcnz2ns740000gn/T/flutter_tools.1xhZrW/.DS_Store-transformOutput1
stdout:
XXXXXXXXXXX /var/folders/5l/cwy_qpwn32bf5r7qcnz2ns740000gn/T/flutter_tools.1xhZrW/.DS_Store-transformOutput0 XXXXXXXXXXXXX
FileSystemException: Failed to decode data using encoding 'utf-8', path = '/var/folders/5l/cwy_qpwn32bf5r7qcnz2ns740000gn/T/flutter_tools.1xhZrW/.DS_Store-transformOutput0'
#0      _File._tryDecode (dart:io/file_impl.dart:615:7)
#1      _File.readAsStringSync (dart:io/file_impl.dart:624:7)
#2      IsolateProcessor._process.<anonymous closure> (file:///Users/***/.pub-cache/hosted/pub.dev/vector_graphics_compiler-1.1.11+1/bin/util/isolate_processor.dart:110:37)
isolate_processor.dart:110
#3      _RemoteRunner._run (dart:isolate:1090:47)
#4      _RemoteRunner._remoteExecute (dart:isolate:1084:12)
#5      _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:300:17)
#6      _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)

I'm getting the same error
Error (Xcode): Target debug_ios_bundle_flutter_assets failed: Error: User-defined transformation of asset "/Users/***/StudioProjects/***/assets/svg/.DS_Store" failed.


Keep original variable names in metadata to improve diagnostics

Optimizations like copy propagation rename variables, which can make diagnostics and error messages confusing. This PR keeps the original variable names by user in IR metadata to be used when necessary.

I don't understand how copy propagation could use SSA. It replaces variables altogether - it's not a versioning process.

@ehsantn c6b3404 looks fine, could you merge in mainline please to resolve conflicts then this can be merged. Many thanks.

I don't understand how copy propagation could use SSA. It replaces variables altogether - it's not a versioning process.

Yep, sorry, my mistake, this is replacing not versioning.

Thanks. Merged with master.


Launch OpenSeadragon only after some user interaction

Instead of loading OpenSeadragon into every item viewer, we could display the zoom/rotate controls but only launch the OSD functionality at the point someone interacts with this, potentially saving 300kb of JS being downloaded to the user. We could also launch the viewer on scroll-wheel movement, mimicking OSD's behaviour.

It might also improve UX where we currently load in an image, there's a "loading" jump, and then we're in DZM.

This was done a while back – must have forgotten to reference the ticket.


Item selected in dropdown wrong when calling .selectpicker("val", val)

When manually setting the value to a selectpicker, the selected item in the dropdown does not follow.

See guidelines for contributing. Any chance you can link me to a demo or jsfiddle? Have you been able to reproduce this with a reduced test case?


Backport UI enhancements to defaults-aws cmd

Description
Fixes #399.
These changes carry through some of the recent UI enhancements that weren't originally flowed through the defaults-aws command, for example. In addition, these changes consolidate common UI functionality behind convenience methods.

TODOs
Read the Gruntwork contribution guidelines.

[x] Update the docs.
[x] Run the relevant tests successfully, including pre-commit checks.
[x] Ensure any 3rd party code adheres with our license policy or delete this line if its not applicable.
[x] Include release notes. If this PR is backward incompatible, include a migration guide.
[x] Attention Grunts - if this PR adds support for a new resource, ensure the nuke_sandbox and nuke_phxdevops jobs in .circleci/config.yml have been updated with appropriate exclusions (either directly in the job or via the .circleci/nuke_config.yml file) to prevent nuking IAM roles, groups, resources, etc that are important for the test accounts.

Release Notes (draft)

Add status report to the defaults-aws command. Fix several UI issues that were preventing resource deletion status from being displayed correctly.
Migration Guide

@marinalimeira Give this PR a shot when you have a moment and see if it resolves your issue! Thanks

The accounts I am testing don't have a default VPC, but they have defaults security groups. Some change in this PR made it stop running after no VPCs were found, but it should continue looking for the security groups. In the code in master, I get this output:
[cloud-nuke] INFO[2023-02-09T14:45:44+01:00] Identifying enabled regions
[cloud-nuke] INFO[2023-02-09T14:45:45+01:00] Found enabled region ap-south-1
[cloud-nuke] INFO[2023-02-09T14:45:45+01:00] Found enabled region eu-north-1
[cloud-nuke] INFO[2023-02-09T14:45:45+01:00] Found enabled region eu-west-3
[cloud-nuke] INFO[2023-02-09T14:45:45+01:00] Found enabled region eu-west-2
[cloud-nuke] INFO[2023-02-09T14:45:45+01:00] Found enabled region eu-west-1
[cloud-nuke] INFO[2023-02-09T14:45:45+01:00] Found enabled region ap-northeast-3
[cloud-nuke] INFO[2023-02-09T14:45:45+01:00] Found enabled region ap-northeast-2
[cloud-nuke] INFO[2023-02-09T14:45:45+01:00] Found enabled region ap-northeast-1
[cloud-nuke] INFO[2023-02-09T14:45:45+01:00] Found enabled region ca-central-1
[cloud-nuke] INFO[2023-02-09T14:45:45+01:00] Found enabled region sa-east-1
[cloud-nuke] INFO[2023-02-09T14:45:45+01:00] Found enabled region ap-southeast-1
[cloud-nuke] INFO[2023-02-09T14:45:45+01:00] Found enabled region ap-southeast-2
[cloud-nuke] INFO[2023-02-09T14:45:45+01:00] Found enabled region eu-central-1
[cloud-nuke] INFO[2023-02-09T14:45:45+01:00] Found enabled region us-east-1
[cloud-nuke] INFO[2023-02-09T14:45:45+01:00] Found enabled region us-east-2
[cloud-nuke] INFO[2023-02-09T14:45:45+01:00] Found enabled region us-west-1
[cloud-nuke] INFO[2023-02-09T14:45:45+01:00] Found enabled region us-west-2
[cloud-nuke] INFO[2023-02-09T14:45:45+01:00] Discovering default VPCs
[cloud-nuke] INFO[2023-02-09T14:46:02+01:00] No default VPCs found.
[cloud-nuke] INFO[2023-02-09T14:46:02+01:00] Discovering default security groups
[cloud-nuke] INFO[2023-02-09T14:46:07+01:00] * Default rules for SG sg-0c15dad76fcf5b342 default us-west-2
[cloud-nuke] INFO[2023-02-09T14:46:07+01:00] * Default rules for SG sg-0ed848b5c0bdc9854 default us-west-2
 CRITICAL  THE NEXT STEPS ARE DESTRUCTIVE AND COMPLETELY IRREVERSIBLE, PROCEED WITH CAUTION!!!

With the code from this branch, it doesn't finds any defaults VPCs and exit:
[cloud-nuke] INFO[2023-02-09T14:40:43+01:00] Identifying enabled regions
[cloud-nuke] INFO[2023-02-09T14:40:43+01:00] Found enabled region ap-south-1
[cloud-nuke] INFO[2023-02-09T14:40:43+01:00] Found enabled region eu-north-1
[cloud-nuke] INFO[2023-02-09T14:40:43+01:00] Found enabled region eu-west-3
[cloud-nuke] INFO[2023-02-09T14:40:43+01:00] Found enabled region eu-west-2
[cloud-nuke] INFO[2023-02-09T14:40:43+01:00] Found enabled region eu-west-1
[cloud-nuke] INFO[2023-02-09T14:40:43+01:00] Found enabled region ap-northeast-3
[cloud-nuke] INFO[2023-02-09T14:40:43+01:00] Found enabled region ap-northeast-2
[cloud-nuke] INFO[2023-02-09T14:40:43+01:00] Found enabled region ap-northeast-1
[cloud-nuke] INFO[2023-02-09T14:40:43+01:00] Found enabled region ca-central-1
[cloud-nuke] INFO[2023-02-09T14:40:43+01:00] Found enabled region sa-east-1
[cloud-nuke] INFO[2023-02-09T14:40:43+01:00] Found enabled region ap-southeast-1
[cloud-nuke] INFO[2023-02-09T14:40:43+01:00] Found enabled region ap-southeast-2
[cloud-nuke] INFO[2023-02-09T14:40:43+01:00] Found enabled region eu-central-1
[cloud-nuke] INFO[2023-02-09T14:40:43+01:00] Found enabled region us-east-1
[cloud-nuke] INFO[2023-02-09T14:40:43+01:00] Found enabled region us-east-2
[cloud-nuke] INFO[2023-02-09T14:40:43+01:00] Found enabled region us-west-1
[cloud-nuke] INFO[2023-02-09T14:40:43+01:00] Found enabled region us-west-2
[cloud-nuke] INFO[2023-02-09T14:41:02+01:00] No default VPCs found.

 INFO  No resources touched in this run.

Great catch! Thanks for testing. I've reverted the change I made that was causing default security groups not to be targeted correctly.
However, from my testing, it seems the removal of default security groups doesn't work, and this document suggests that's because you can't delete default security groups: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/default-custom-security-groups.html
So perhaps deleting the default vpc works, but deleting only the default security groups doesn't, but it's also odd that we're not getting back an error when cloud-nuke claims to have deleted the default security groups successfully.

The accounts I am testing don't have a default VPC, but they have defaults security groups. Some change in this PR made it stop running after no VPCs were found, but it should continue looking for the security groups. In the code in master, I get this output:
[cloud-nuke] INFO[2023-02-09T14:45:44+01:00] Identifying enabled regions
[cloud-nuke] INFO[2023-02-09T14:45:45+01:00] Found enabled region ap-south-1
[cloud-nuke] INFO[2023-02-09T14:45:45+01:00] Found enabled region eu-north-1
[cloud-nuke] INFO[2023-02-09T14:45:45+01:00] Found enabled region eu-west-3
[cloud-nuke] INFO[2023-02-09T14:45:45+01:00] Found enabled region eu-west-2
[cloud-nuke] INFO[2023-02-09T14:45:45+01:00] Found enabled region eu-west-1
[cloud-nuke] INFO[2023-02-09T14:45:45+01:00] Found enabled region ap-northeast-3
[cloud-nuke] INFO[2023-02-09T14:45:45+01:00] Found enabled region ap-northeast-2
[cloud-nuke] INFO[2023-02-09T14:45:45+01:00] Found enabled region ap-northeast-1
[cloud-nuke] INFO[2023-02-09T14:45:45+01:00] Found enabled region ca-central-1
[cloud-nuke] INFO[2023-02-09T14:45:45+01:00] Found enabled region sa-east-1
[cloud-nuke] INFO[2023-02-09T14:45:45+01:00] Found enabled region ap-southeast-1
[cloud-nuke] INFO[2023-02-09T14:45:45+01:00] Found enabled region ap-southeast-2
[cloud-nuke] INFO[2023-02-09T14:45:45+01:00] Found enabled region eu-central-1
[cloud-nuke] INFO[2023-02-09T14:45:45+01:00] Found enabled region us-east-1
[cloud-nuke] INFO[2023-02-09T14:45:45+01:00] Found enabled region us-east-2
[cloud-nuke] INFO[2023-02-09T14:45:45+01:00] Found enabled region us-west-1
[cloud-nuke] INFO[2023-02-09T14:45:45+01:00] Found enabled region us-west-2
[cloud-nuke] INFO[2023-02-09T14:45:45+01:00] Discovering default VPCs
[cloud-nuke] INFO[2023-02-09T14:46:02+01:00] No default VPCs found.
[cloud-nuke] INFO[2023-02-09T14:46:02+01:00] Discovering default security groups
[cloud-nuke] INFO[2023-02-09T14:46:07+01:00] * Default rules for SG sg-0c15dad76fcf5b342 default us-west-2
[cloud-nuke] INFO[2023-02-09T14:46:07+01:00] * Default rules for SG sg-0ed848b5c0bdc9854 default us-west-2
 CRITICAL  THE NEXT STEPS ARE DESTRUCTIVE AND COMPLETELY IRREVERSIBLE, PROCEED WITH CAUTION!!!

With the code from this branch, it doesn't finds any defaults VPCs and exit:
[cloud-nuke] INFO[2023-02-09T14:40:43+01:00] Identifying enabled regions
[cloud-nuke] INFO[2023-02-09T14:40:43+01:00] Found enabled region ap-south-1
[cloud-nuke] INFO[2023-02-09T14:40:43+01:00] Found enabled region eu-north-1
[cloud-nuke] INFO[2023-02-09T14:40:43+01:00] Found enabled region eu-west-3
[cloud-nuke] INFO[2023-02-09T14:40:43+01:00] Found enabled region eu-west-2
[cloud-nuke] INFO[2023-02-09T14:40:43+01:00] Found enabled region eu-west-1
[cloud-nuke] INFO[2023-02-09T14:40:43+01:00] Found enabled region ap-northeast-3
[cloud-nuke] INFO[2023-02-09T14:40:43+01:00] Found enabled region ap-northeast-2
[cloud-nuke] INFO[2023-02-09T14:40:43+01:00] Found enabled region ap-northeast-1
[cloud-nuke] INFO[2023-02-09T14:40:43+01:00] Found enabled region ca-central-1
[cloud-nuke] INFO[2023-02-09T14:40:43+01:00] Found enabled region sa-east-1
[cloud-nuke] INFO[2023-02-09T14:40:43+01:00] Found enabled region ap-southeast-1
[cloud-nuke] INFO[2023-02-09T14:40:43+01:00] Found enabled region ap-southeast-2
[cloud-nuke] INFO[2023-02-09T14:40:43+01:00] Found enabled region eu-central-1
[cloud-nuke] INFO[2023-02-09T14:40:43+01:00] Found enabled region us-east-1
[cloud-nuke] INFO[2023-02-09T14:40:43+01:00] Found enabled region us-east-2
[cloud-nuke] INFO[2023-02-09T14:40:43+01:00] Found enabled region us-west-1
[cloud-nuke] INFO[2023-02-09T14:40:43+01:00] Found enabled region us-west-2
[cloud-nuke] INFO[2023-02-09T14:41:02+01:00] No default VPCs found.

 INFO  No resources touched in this run.

Great catch! Thanks for testing. I've reverted the change I made that was causing default security groups not to be targeted correctly.
However, from my testing, it seems the removal of default security groups doesn't work, and this document suggests that's because you can't delete default security groups: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/default-custom-security-groups.html
So perhaps deleting the default vpc works, but deleting only the default security groups doesn't, but it's also odd that we're not getting back an error when cloud-nuke claims to have deleted the default security groups successfully.

What really happens (and it's super useful for CIS compliance), is that it deletes the Security Group ingress/egress rules. The SG are still there, but useless.

[cloud-nuke] INFO[2023-03-07T17:06:18+01:00] Identifying enabled regions
[cloud-nuke] INFO[2023-03-07T17:06:18+01:00] Found enabled region ap-south-1
[cloud-nuke] INFO[2023-03-07T17:06:18+01:00] Found enabled region eu-north-1
[cloud-nuke] INFO[2023-03-07T17:06:18+01:00] Found enabled region eu-west-3
[cloud-nuke] INFO[2023-03-07T17:06:18+01:00] Found enabled region eu-west-2
[cloud-nuke] INFO[2023-03-07T17:06:18+01:00] Found enabled region eu-west-1
[cloud-nuke] INFO[2023-03-07T17:06:18+01:00] Found enabled region ap-northeast-3
[cloud-nuke] INFO[2023-03-07T17:06:18+01:00] Found enabled region ap-northeast-2
[cloud-nuke] INFO[2023-03-07T17:06:18+01:00] Found enabled region ap-northeast-1
[cloud-nuke] INFO[2023-03-07T17:06:18+01:00] Found enabled region ca-central-1
[cloud-nuke] INFO[2023-03-07T17:06:18+01:00] Found enabled region sa-east-1
[cloud-nuke] INFO[2023-03-07T17:06:18+01:00] Found enabled region ap-southeast-1
[cloud-nuke] INFO[2023-03-07T17:06:18+01:00] Found enabled region ap-southeast-2
[cloud-nuke] INFO[2023-03-07T17:06:18+01:00] Found enabled region eu-central-1
[cloud-nuke] INFO[2023-03-07T17:06:18+01:00] Found enabled region us-east-1
[cloud-nuke] INFO[2023-03-07T17:06:18+01:00] Found enabled region us-east-2
[cloud-nuke] INFO[2023-03-07T17:06:18+01:00] Found enabled region us-west-1
[cloud-nuke] INFO[2023-03-07T17:06:18+01:00] Found enabled region us-west-2
[cloud-nuke] INFO[2023-03-07T17:06:31+01:00] No default VPCs found.

Are you sure you want to nuke the rules in these default security groups ? Enter 'nuke' to confirm (or exit with ^C): nuke
 [1/100]  1% | 2562047h47m16.854775807s
┌──────────────────────────────────────────────────────────────────────┐
| Identifier           | Resource Type          | Deleted Successfully |
| sg-0dbeb2d4c138bf968 | Default Security Group | ✅                   |
└──────────────────────────────────────────────────────────────────────┘

Good observation, it finds the Default rules for SG, but in the summary it shows Default Security Group.
Maybe because it finds the SG every time, when I re-run cloud-nuke, it shows as an existing resource.
I ran aws ec2-describe-security-groups --region us-west-2, and I get this output below. The group is there but it's empty, which is the desired but the result of running cloud-nuke again, should be something like "Default SG exists but has no ingress/egress rules, so nothing to do".
{
    "SecurityGroups": [
        {
            "Description": "Security group for the lambda function ecs-deploy-runner-invoker",
            "GroupName": "ecs-deploy-runner-invoker-lambda",
            "IpPermissions": [],
            "OwnerId": "792414341005",
            "GroupId": "sg-0664e3fdfb466bf2b",
            "IpPermissionsEgress": [
                {
                    "IpProtocol": "-1",
                    "IpRanges": [
                        {
                            "CidrIp": "<IP_ADDRESS>/0"
                        }
                    ],
                    "Ipv6Ranges": [],
                    "PrefixListIds": [],
                    "UserIdGroupPairs": []
                }
            ],
            "VpcId": "vpc-036ebdd4c27fbb3c9"
        },
        {
            "Description": "default VPC security group",
            "GroupName": "default",
            "IpPermissions": [],
            "OwnerId": "792414341005",
            "GroupId": "sg-0dbeb2d4c138bf968",
            "IpPermissionsEgress": [],
            "VpcId": "vpc-036ebdd4c27fbb3c9"
        },
        {
            "Description": "Allow all outbound traffic",
            "GroupName": "allow_all_outbound20230105192902172500000003",
            "IpPermissions": [],
            "OwnerId": "792414341005",
            "GroupId": "sg-0db171fcca8c2552b",
            "IpPermissionsEgress": [
                {
                    "IpProtocol": "-1",
                    "IpRanges": [
                        {
                            "CidrIp": "<IP_ADDRESS>/0"
                        }
                    ],
                    "Ipv6Ranges": [],
                    "PrefixListIds": [],
                    "UserIdGroupPairs": []
                }
            ],
            "VpcId": "vpc-036ebdd4c27fbb3c9"
        }
    ]
}

It's very likely that this is an old bug. We can mark this one as fixed given the original error is not happenin, and we can report a new one. What do you think?


feat: Added cluster name to output

What does this PR do?
added cluster name to output
Motivation
Sometimes you want to refer to the cluster name.
For example, creating .kubeconfig files and tagging various resources.
In such a case, a cluster name is necessary.

Resolves #

More

[ ] Yes, I have tested the PR using my local account setup (Provide any test evidence report under Additional Notes)
[ ] Yes, I have updated the docs for this feature
[ ] Yes, I ran pre-commit run -a with this PR

For Moderators

[ ] E2E Test successfully complete before merge?

Additional Notes

in the current form, this can be accessed from the output https://github.com/aws-ia/terraform-aws-eks-blueprints/blob/31caa7f615a502deb636753d07c8d95d7afe5ff2/outputs.tf#L9


ModuleNotFoundError: No module named 'svglib'

Hello, I was attempting to use/run your project today and I encountered an issue with svglib, I tried updating libraries using "sudo pip install libxml2" and "sudo pip install libxslt" as well as obviously running pip3 install RPi.GPIO spidev svglib, but for some reason was not able to successfully install svglib, as it would error when I ran the code -- do you have any advice?

Hi, could you double check if this line has been executed successfully?
pip3 install RPi.GPIO spidev svglib
Namely the pip3 install svglib part.


Update master with dev-master.

Added LICENSE
Updated README
Added utils.py file
Updated symlink functionality
Utilized Cookiecutter for scripts in /bin

.Rprofile
.Renviron
activate

Fixed activate script

Fix merge conflicts
Remove commented out code - we have git so we can always go back to see
them again
Add newline at the ends of the files, as flagged by GitHub

I cannot do any inline comments for some reason... Those are my first round
feedback.
On Fri, Oct 19, 2018 at 2:37 PM Rob Gilmore<EMAIL_ADDRESS>wrote:

Assigned #37 https://github.com/datasnakes/renv/pull/37 to @santina
https://github.com/santina.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/datasnakes/renv/pull/37#event-1915791007, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA_d32IsGTA7HcImA9dAnHDjeQX2SXY1ks5umkYvgaJpZM4XxdfI
.

Closing this and creating another PR.  Something is wrong with the old suggestions.  I cant commit directly and it's a bit confusing.

This is super weird.  We must have made commits without properly fixing merge conflicts.


SLN isn't updated to reflect file rename

Godot version:
3.0.2 Mono version
OS/device including version:
Windows 10
Issue description:
Similar to  #17281. If a file is renamed in Godot, the sln and other project related files aren't updated.
Steps to reproduce:

create a C# script
(may need to be opened in visual studio/ intellij rider first)
rename the script
reload project in visual studio/ intellij rider

Duplicate of #12917.


Save action not working for new files which are not added in git for Intellij

Hi,
After the recent update of save actions, it is not working for files which are not yet checked into GIT or is a part of some commit. It works perfectly for the files which are already a part of some commit. I am working in intellij IDEA community edition 2018.2.2 on mac.
Let me know if more information is required to reproduce the bug.
Thanks
Vijay

Just tested on 2018.2.3 and save-actions 1.1.0: (1) add new java file Test.java without adding to git (2) add unused import (3) lose focus (4) the import is correctly removed.
Can you post the content of the config file .idea/saveactions_settings.xml and log ~/.IntelliJIdea2018.2/system/log/idea.log


fix(k8s): recreate basic k8s resource required for apps if they are missing

gunicorn reload will fix things up, as will a deploy and scale operation.
Test steps:

Start an app
Delete the minio-user secret, service or `namespace*
verify that the k8s resource is gone
restart deis-workflow or trigger a deploy or run a scale operation
verify that the k8s resource is back

Example of an app created, service is deleted, the workflow pod deleted (for cycling of gunicorn and such) and then verify that service is back
workflow  (fix_app_save>) $ deis create --no-remote
Creating Application... done, created dainty-headwind
remote available at ssh://git@deis.micro-kube.io:2222/dainty-headwind.git
workflow  (fix_app_save>) $ k get svc --namespace dainty-headwind
NAME              CLUSTER_IP   EXTERNAL_IP   PORT(S)   SELECTOR                                     AGE
dainty-headwind   <IP_ADDRESS>    <none>        80/TCP    app=dainty-headwind,heritage=deis,type=web   8s
workflow  (fix_app_save>) $ k delete svc dainty-headwind --namespace dainty-headwind
service "dainty-headwind" deleted
workflow  (fix_app_save>) $ k get svc --namespace dainty-headwind
NAME      CLUSTER_IP   EXTERNAL_IP   PORT(S)   SELECTOR   AGE
workflow  (fix_app_save>) $ k get po
NAME                  READY     STATUS    RESTARTS   AGE
deis-builder-98njw    1/1       Running   1          4m
deis-database-05qck   1/1       Running   1          4m
deis-minio-pm8o7      1/1       Running   0          4m
deis-registry-pydtx   1/1       Running   2          4m
deis-router-q72el     1/1       Running   1          4m
deis-workflow-o73qk   1/1       Running   1          2m
workflow  (fix_app_save>) $ k delete po deis-workflow-o73qk
pod "deis-workflow-o73qk" deleted
workflow  (fix_app_save>) $ k get svc --namespace dainty-headwind
NAME              CLUSTER_IP   EXTERNAL_IP   PORT(S)   SELECTOR                                     AGE
dainty-headwind   <IP_ADDRESS>   <none>        80/TCP    app=dainty-headwind,heritage=deis,type=web   1m

Using the same app and the same way to restart workflow, but this time delete the namespace of the application

workflow  (fix_app_save>) $ k delete ns dainty-headwind
namespace "dainty-headwind" deleted
workflow  (fix_app_save>) $ k get ns
NAME            LABELS          STATUS    AGE
default         <none>          Active    8d
deis            heritage=deis   Active    8m
kube-system     <none>          Active    8d
test-52125013   <none>          Active    4d
workflow  (fix_app_save>) $ k get ns
NAME              LABELS          STATUS    AGE
dainty-headwind   <none>          Active    3m
default           <none>          Active    8d
deis              heritage=deis   Active    11m
kube-system       <none>          Active    8d
test-52125013     <none>          Active    4d
workflow  (fix_app_save>) $ k get svc --namespace dainty-headwind
NAME              CLUSTER_IP   EXTERNAL_IP   PORT(S)   SELECTOR                                     AGE
dainty-headwind   <IP_ADDRESS>   <none>        80/TCP    app=dainty-headwind,heritage=deis,type=web   3m

Example of a new app that gets deploy, service gets deleted and then a deploy with a service checked after
rootfs  (fix_app_save>) $ deis create --no-remote
Creating Application... done, created klutzy-zeppelin
remote available at ssh://git@deis.micro-kube.io:2222/klutzy-zeppelin.git
rootfs  (fix_app_save>) $ deis pull deis/example-go -a klutzy-zeppelin
Creating build... done
rootfs  (fix_app_save>) $ k delete svc klutzy-zeppelin --namespace klutzy-zeppelin
service "klutzy-zeppelin" deleted
rootfs  (fix_app_save>) $ k get svc klutzy-zeppelin --namespace klutzy-zeppelin
Error from server: services "klutzy-zeppelin" not found
rootfs  (fix_app_save>) $ deis config:set foo=bar -a klutzy-zeppelin
Creating config... done

=== klutzy-zeppelin Config
foo      bar
rootfs  (fix_app_save>) $ k get svc klutzy-zeppelin --namespace klutzy-zeppelin
NAME              CLUSTER_IP   EXTERNAL_IP   PORT(S)   SELECTOR                                     AGE
klutzy-zeppelin   <IP_ADDRESS>   <none>        80/TCP    app=klutzy-zeppelin,heritage=deis,type=cmd   22s

Fies #457

Code LGTM
Verified with 5 apps (2 node.js, 1 go, 2 java)


Table of Contents

Would be awesome if we could generate a table of contents based on h1 - h6.
Ebooks. :D
(Currently I managed to achieve this only by compiling wkhtmltopdf or using the great, but EXPENSIVE PrinceXML)

@douglasmiranda thanks for your request.
How is this currently done in wkhtmltopdf? Are you able to change the entire ToC template or are you only able to modify styles? What would you prefer?

Actually I don't even remember, it generates some xml..
http://wkhtmltopdf.org/usage/wkhtmltopdf.txt
http://www.princexml.com/doc/paged/
In both we can customize, but prince is better, we don't need xml file or stuff. We can, for example, just print every title linked to the respective title tags. And customize with some css.

Table Of Contents

My First Chapter

My Second Chapter

Chapter One

I need to do some research on how they generate those outlines with the respective page numbers.

@MrSaints how hard would it be to just inject some JavaScript to build the ToC in Electron?

@douglasmiranda: Well, cross-referencing is supported in Athena (using page anchors). It's also pretty easy to create page breaks using the page-break-before CSS property (see https://gist.github.com/MrSaints/cc40127b54298910a6a8).
In theory, you can already create your own ToC, but if we want to create a built-in "plugin" it shouldn't be too hard (although, generating page numbers will probably be difficult @dbuxton). The question is how do we want to style / template it, because from my understanding, you can't alter the template in wkhtmltopdf.

I see, the page numbering seems difficult. Yes, It seems I'm wrong about wkhtmltopdf. I probably should play more with Electron.

I got a tad confused due to references to HTML/JS as I originally assumed this issue was about generating the TOC/navigation that appears within PDF viewers.   Now, I believe this issue is actually about generating a TOC that is displayed within the document.
So, without meaning to hijack this issue, I just wanted to ask:  is the generation of the TOC/navigation that is shown within PDF viewers already supported by AthenaPDF?  I couldn't find anything in the code/docs.

Auto-generated bookmarks from headings would be a great feature for athena. If it is a helpful reference, WeasyPrint currently supports this feature:

PDF bookmarks are also called outlines and are generally shown in a sidebar. Clicking on an entry scrolls the matching part of the document into view. By default all
 to
 titles generate bookmarks, but this can be controlled with CSS (see Bookmarks.)


issue297: Update the npm packages of BasicServices and ApplicationPattern to 2.0.2-alpha.2

fixes https://github.com/openBackhaul/OperationKeyManagement/issues/297
reviewer @PrathibaJee

Please check whether package-lock.json should also be included.

done


Added nan-handler using regex

Fixed Issue🛠
Added NaN handling component in the 3d-calculator.
Issue #19
Description👨💻

Previously for any non-numeric input, the output used to be displayed as NaN, which is not a visually appealing output.
Therefore, the code has been improvised to output "Enter numeric value" on non-numeric input
This has been done with the help of regex(regular expressions) to allow only numeric value.
Also for a better experience the text box which contains invalid input is marked by a red border.

Checklist✅

[] My code follows the style guidelines of this project
[] I have performed a self-review of my own code
[] I have added demonstration in the form of GIF/video file
[] I am an Open Source Contributor

Screenshots/GIF📷

Nice, Merged!! Congrats on getting your PR merged to this repo under SWOC S4 @Anubhab-03  🥳🎉

Thank You!! Happy to contribute


feat: embed piechart into grafana image

Summary
Closes #1272
Key Points

[ ] This is a breaking change
[ ] New or existing documentation is updated

LGTM


Update Brush to also allow Cross-Origin images.

Chrome and Firefox now give an error when setting the Brush to a cross origin image. Copied your code over from util.js that sets the .crossOrigin property which should fix the issue.

Hello,

i will check this soon


Spurious 'if block ends with a return statement…' when some preceding if-else clauses don't return unconditionally.

The following expression is flagged by golint, but requires the final else:
$ golint -min_confidence 0 ./jsonnet
jsonnet/cmd.go:324:11: if block ends with a return statement, so drop this else and outdent its block

golint should verify that all preceding if and if else blocks return unconditionally, not just the immediately preceding one.

It turns out the intended behaviour was to ignore if else chains. However, it was returning from ignored IfStmt nodes before checking whether their else node was also an IfStmt. Consequently, the check would fail for an even number of if else blocks. Fixed by #383


demo getting require cycles working

This is a potential solution for the issue described here.
I haven't tested this extensively, but it finds require cycles in this project:
https://github.com/simonbuchan/eslint-import-cycle-example
It seems to have been going wrong in two places:

the unambiguous() test, which is a regex I'm not really following
it wasn't processing requires as imports (though it never got to this step thanks to 1).

x-posting my own comment with more details from the issue. This now detects cycles, like so, as well as how I got it working locally.
eslint-import-cycle-example [main*?] $ npm run lint

><EMAIL_ADDRESS>lint
> eslint .

/eslint-import-cycle-example/import-a.js
  1:1  error  Dependency cycle detected  import/no-cycle

/eslint-import-cycle-example/import-b.js
  1:1  error  Dependency cycle detected  import/no-cycle

/eslint-import-cycle-example/require-a.js
  1:11  error  Dependency cycle detected  import/no-cycle

/eslint-import-cycle-example/require-b.js
  1:11  error  Dependency cycle detected  import/no-cycle

✖ 4 problems (4 errors, 0 warnings)

And as an aside, for anybody else, I got this working pretty cleanly for local development via:
eslint-plugin-import $ npm run build
eslint-plugin-import $ npm link

eslint-import-cycle-example $ npm link eslint-plugin-import
eslint-import-cycle-example $ npm run lint

This will need some test cases to be able to land.

If I fix this up, is it something you'd be interested in merging? It seems like this might break a lot of projects, if I'm correct that require() cycles aren't being reported correctly as circular deps.


Add support of matching literal in mbe

This PR adds support of matching literal in mbe , which used in our T macro :
macro_rules! foo {
    ('(') => {
        fn foo() {}
    }
}

bors r+


Please factor terminal dimensions code into a crate

clap's src/term.rs provides functions to detect the terminal size on either Windows or POSIX systems.  I'd love to have a crate providing those functions, for use in applications other than clap.

Sounds like a good idea. Thanks!

it's now in https://crates.io/crates/term_size

Thank you!  That was incredibly fast!


operator [O] mariadb-operator (0.16.0)

Add operator mariadb-operator (0.16.0) to community operators

/merge possible

/merge possible


Implement the choose interest page

Is your feature request related to a problem? Please describe.
After the user registers to the application for the first time, they should be presented with a Choose Interest screen through which they can personalise their initial dashboard. This is what the design may look like (source: Figma)

Describe the solution you'd like
The Category component has been implemented in Issue #151, which will be a major building block for this new screen. When this screen is loaded up, it should make a backend request to retrieve the categories and tags, and then the screen should be hydrated with the required Category components. The context that takes care of keeping track of the selected tags has been implemented in #151, so all we need to do is wrap the screen around InterestsContextProvider.
Finally, when the user presses the 'Continue to dashboard' button, another API request should be triggered that sends the selected tags to the backend, along with the current user's information.
Describe alternatives you've considered

N/A, since this approach was discussed in the meeting and we were all happy with it.

Additional context

This issue was discussed and agreed upon in the Frontend spring planning on 29th March.

LGTM


Nuget Package load fails due to a nuget source with invalid SSL certificate

Describe the bug
I've created a new C# .ipynb notebook and added a single cell with the following command:
#r "nuget: System.Text.Json"

Executing this cell fails with the message:
Error: C:\Program Files\dotnet\sdk\6.0.100\NuGet.targets(130,5): error : Unable to load the service index for source https://dotnet.myget.org/F/roslyn/api/v3/index.json. [C:\Users\myuser\AppData\Local\Temp\nuget\9156--609af78c-c33e-4937-8f5e-fd243440583c\Project.fsproj]
C:\Program Files\dotnet\sdk\6.0.100\NuGet.targets(130,5): error :   The SSL connection could not be established, see inner exception. [C:\Users\myuser\AppData\Local\Temp\nuget\9156--609af78c-c33e-4937-8f5e-fd243440583c\Project.fsproj]
C:\Program Files\dotnet\sdk\6.0.100\NuGet.targets(130,5): error :   The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch [C:\Users\myuser\AppData\Local\Temp\nuget\9156--609af78c-c33e-4937-8f5e-fd243440583c\Project.fsproj]

From what I can tell the .NET Interactive Notebook extension is generating an fsharp project file that always includes a nuget package source of https://dotnet.myget.org/F/roslyn/api/v3/index.json.  This dotnet.myget.org domain has an invalid SSL cert which is causing a nuget error on various nuget operations.
If I specify an explicit version number on the nuget package reference, I do not receive this error.  However, I always run into this same error message if I try adding a private nuget feed source and importing a package.  For example:
#i "nuget:https://pkgs.dev.azure.com/myazuredevopsaccount/_packaging/myazuredevopsfeed/nuget/v3/index.json"
#r "nuget: My.Private.Package, 1.0.0"

It seems any package operation that triggers nuget to evaluate all the sources will hit this error due to an invalid myget source.
Please complete the following:
Which version of .NET Interactive are you using? (In a notebook, run the #!about magic command. ):
VS Code .NET Interactive Notebook extension v1.0.258004
.NET Interactive Version: 1.0.258004+3429f67626d2f15eec7d8f15a29215909284cb79
Build date: 2021-12-02T04:37:24.2359871Z

OS

[ ] Windows 11
[x] Windows 10
[ ] macOS
[ ] Linux (Please specify distro)
[ ] iOS
[ ] Android

Browser

[ ] Chrome
[ ] Edge
[ ] Firefox
[ ] Safari

Frontend

[ ] Jupyter Notebook
[ ] Jupyter Lab
[ ] nteract
[x] Visual Studio Code
[ ] Visual Studio Code Insiders
[ ] Visual Studio
[ ] Other (please specify)

The Roslyn myget feed has been decommissioned. Do you have this in a nuget.config by any chance?

Indeed. I assumed this was getting injected by the .net interactive notebook tooling for some reason because I have no recollection of ever using a myget feed for anything.  However dotnet nuget list source did in fact include this myget feed. I've never run into this causing any issues with other tooling I normally use, but nevertheless, this seems wrong.  After removing this source, everything is working as I'd expect.


SPC p c ask for compile command but does not offer completion from project root dir

What did you expect to happen?
I expected to be able to complete the command both from the list below the prompt AND from files in the project
So by default doom lists the previous compile commands used in this project and if I start typing something else its clever enough to offer file-completion.
What actually happened?
entering "python doli" and pressing TAB gives no results below. Tabbing TAB again starts the compiling and renders an error because there is no "doli" file in the project root.
It seems I have to type out the whole path manually which is bad.
System information:
see my previous bug report here: https://github.com/hlissner/doom-emacs/issues/3714
Feel free to ask if you need more information.

In the future please include your M-x doom/info in all bug reports. Even if they are consecutive bug reports.

Hi! Thanks for the suggestion, but this is not Doom's prerogative. The command on SPC p c is counsel-compile. To suggest improvements to this command, please take them upstream.


Unleash / Mixpanel integration

There is probably a race condition theoretically possible that would cause events to be lost without routing to mixpanel, but I think that would only happen when the AnalyticsStore crashes. Hopefully this doesn't happen often? Or if it does, hopefully it bricks the program (never thought I'd say that).
I was able to verify that this code allows the program to run as normal, but I wasn't able to verify that mixpanel will get the events. None of our current feature flags have impression data enabled, and even if they did I don't actually think I have access to the mixpanel dashboard.

The netlify checks failed because my Azure Artifacts tokens had expired. I've fixed them now in the netlify dashboard.


Parallel testing

Laravel Version: 8.42.1
PHP Version: 8.0.5
Database Driver & Version: mysql 8.0.23

Description:
I tried the php artisan test --parallel and noticed that 75% of my tests were skipped and the rest threw exceptions like this:
216) Tests\Unit\Requests\SearchRequestTest::it_requires_a_valid_name
Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[HY000] [1049] Unknown database 'xxx_test_5'
// php artisan test --parallel
FAILURES!
Tests: 216, Assertions: 0, Errors: 216.

// php artisan test
OK (960 tests, 4177 assertions)

I am using my default MySQL connection since I use features that doesn't exist in SQLite. I've read the docs but it doesn't say anything about db drivers.

Hey there,
Can you first please try one of the support channels below? If you can actually identify this as a bug, feel free to report back and I'll gladly help you out and re-open this issue.

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC

Thanks!

@Livijn did you find out the cause of the error?


Actnum is ignored for the attached grid

The attached model has 64 cells, of which 4 are flagged invalid with actnum.
Yet cell_count returns 64 for both modes
import pytest
import resqpy.model as rq

def test_model():
    model = rq.Model('d:/dev/resqpy/tests/test_data/IJK_GRID.epc')
    grid = model.grid(uuid='a4bf7651-effe-49bc-b6fc-c6bbff9751c3')

    print(grid.cell_count(active_only=True))
    print(grid.cell_count(active_only=False))

IJK_GRID.zip

I can confirm that for this model the Grid inactive attribute is not being set correctly from the actnum property, despite the property appearing to have the correct local property kind.  I will investigate further.

@mgimhof This issue arose as the active property is categorical whereas the resqpy code was expecting discrete.  The code has been changed to recognise either discrete or categorical active properties in the release tagged v1.1.3

@andy-beer
Thanks! It appears that one software application exports some unstructured grid properties as discrete, but the corresponding ijk grid properties as categorical.

@mgimhof I should have added that the new code does not try to make use of information in the associated lookup table for categorical properties – as long as the property kind is 'active', it assumes any non-zero value to indicate an active cell.


will minigo run on mobile device

i heard that tensorflow lite can run on android

We haven't made any attempt to get Minigo running on mobile. I don't think we're going to do any work in that direction any time soon either.
We'd welcome a pull request if someone had the time to get it working though!


Make minor readability improvements in USAGE.md

I noticed some small ways that the English could be improved slightly, so it seemed worth suggesting them. Feel free to change/edit these modifications (or ask me to do so).

Thanks ! :+1:


Add support for Llama2, Palm, Cohere, Anthropic, Replicate, Azure Models - using litellm

This PR adds support for 50+ models using liteLLM : https://github.com/BerriAI/litellm/
ChatLiteLLM() is integrated into langchain and allows you to call all models using the ChatOpenAI I/O interface
https://python.langchain.com/docs/integrations/chat/litellm
Here's an example of how to use ChatLiteLLM()
ChatLiteLLM(model="gpt-3.5-turbo")
ChatLiteLLM(model="claude-2", temperature=0.3)
ChatLiteLLM(model="command-nightly")
ChatLiteLLM(model="replicate/llama-2-70b-chat:2c1608e18606fad2812020dc541930f2d0495ce32eee50074220b87300bc16e1")

@adamlin120 @PichuChen Can I get a review on this PR😊? happy to add more docs / testing if this initial pr looks good

bump @adamlin120 @PichuChen


Snapshot Debugging: VS Code "Specified argument was out of the range of valid values. (Parameter 'index')"

1. Describe the bug

When the download of a Snapshot (.zip) has been finished and you want to start the debugging session a Visual Studio Code window appearears after a while that contains the error message "Specified argument was out of the range of valid values. (Parameter 'index')".

2. To Reproduce
Steps to reproduce the behavior:

Have the latest Visual Studio Code "AL"-extension installed
Initialize a Snapshot
Finisch (Download) the Snapshot
Start the Debugging (bottom left debugging symbol).

Each of those steps do NOT work with VS Code for Windows or macOS.
It works however with the old AL Language Extension 8.3.570094 (tested!). So it's a bug somewhere in a newer verison than 8.3.570094.
3. Expected behavior
The Debugger should jump into the code.
4. Actual behavior
Error Message  "Specified argument was out of the range of valid values. (Parameter 'index')".
5. Versions:

AL Language: v9.3.646020
Visual Studio Code: Version: 1.69.1
Business Central: 20.2.41144.41547
List of Visual Studio Code extensions that you have installed: AL Language

In order to have a clue where exactly it fails :
Can you please enable verbose logging in VsCode "al.editorServicesLogLevel": "Verbose" and somehow send the DebuggerServices.log found in C:\Users.vscode\extensions\ms-dynamics-smb.al-\bin
Don't forget to reset the settings, since the log will grow very fast very large.

In order to have a clue where exactly it fails : Can you please enable verbose logging in VsCode "al.editorServicesLogLevel": "Verbose" and somehow send the DebuggerServices.log or the exception found in C:\Users.vscode\extensions\ms-dynamics-smb.al-\bin Don't forget to reset the settings, since the log will grow very fast very large.
DebuggerServices.log

Heres the logfile for the working Version (8.3.570094)
DebuggerServices.log

Thanks.

That does not make a difference actually. I tested the snapshot debugging on a completely new VS Code install with extension Version 8.3.570094 and it worked ( but it didn't worked with the newest version 9.3.646020 on that fresh install).

First I have set some debugger points : snapshot was working fine, and could be replayed
Then I have added some more dubugger points in Integration Synchronization Codeunits and tables: snapshot was successfully downloaded and coulnd't be replayed with the same error Specified argument was out of the range of valid values. (Parameter 'index')

this bug is still reproducable in version 10.1.707468


Trivial kani test takes a very long time to complete

https://github.com/aws/s2n-quic/pull/1508
I used the following command to execute the kani test and it took close to 30 min on my M1 mac
cargo kani --tests --harness kani_test --mir-linker --enable-unstable

    #[test]
    #[cfg_attr(kani, kani::proof, kani::unwind(9))]
    fn kani_test() {
        // Confirm that a
        let gen = gen::<VarInt>();

        check!()
            .with_generator(gen)
            .cloned()
            .for_each(|pn| {
                let space = PacketNumberSpace::ApplicationData;
                let mut map = Map::default();
                assert!(map.is_empty());
                let pn = space.new_packet_number(pn);

                map.insert(pn, ());

                assert!(map.get(pn).is_some());
                assert!(!map.is_empty());
            });
    }

Hi @toidiu, thanks for raising this issue. Is the verification step the one that is taking most of the time?

Looking at #1713, I'm assuming that the verification is the culprit. @zhassan-aws do you have any insight on what might help here?

I ran it on my end with the MIR linker, and it takes less than a minute, so it's likely that the 30 minutes was dominated by compilation time:
$ git branch
* ak-kani_pnm
  camshaft/varint-kani
  concrete-playback
  interval_set_insert_test
  main
 $ pwd
/home/ubuntu/git/s2n-quic/quic/s2n-quic-core
$ cargo clean
$ /usr/bin/time -p cargo kani --tests --harness insert_value --enable-unstable --mir-linker
<snip>
SUMMARY:
 ** 0 of 1271 failed (15 unreachable)

VERIFICATION:- SUCCESSFUL

Verification Time: 4.1324267s
real 31.07
user 52.12
sys 5.63

I'm seeing both long compilation and verification times.
Runtime Symex: 9.51718s
size of program expression: 95755 steps
slicing removed 51665 assignments
Generated 9068 VCC(s), 4618 remaining after simplification
Runtime Postprocess Equation: 0.0973145s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 1.09764s
Running propositional reduction
Post-processing
Runtime Post-process: 447.195s

The cbmc process was consuming 22GiB and about 30% CPU for the majority of the run

@camshaft This was without the MIR linker?

yeah MIR linker:
$ cargo kani --tests --harness insert_value --mir-linker --enable-unstable

I'm seeing both long compilation and verification times.

Correct, both compilation and verification took long and I was also using miri linker. This was run on a M1 mac if that makes a difference.

Ah, looks like https://github.com/model-checking/kani/pull/1717 brings down the time considerably; I observed the high memory usage with the previous commit (f3b5a9777c535f386949cfabf55db820b73837e0). The next release, which should be out on Tuesday 10/4 will include #1717.

Confirmed that 5539c0de6e771bd10c2b692cd6d62f0abba98144 brings down memory usage and run time significantly.

@camshaft / @toidiu can you please post the total time, compilation time and verification time that you are experiencing? I tested before and after #1717 was merged. With the MIR Linker, the compilation time didn't change much (it's about 20s for me), but the verification time and memory consumption has changed dramatically.
@tautschnig this is puzzling me quite a bit. The #1717  has fixed the missing symbols problem with the std library, and it actually increases the amount of functions / static that we are translating into goto model (from 356 to 1139). How come the verification time drops down dramatically like that?
Could it affect constant propagation?? We encode missing definitions as assert(false); assume(false).
What happens if we have the following code:
let my_const = if any() { 10 } else { missing_method() };

will constant propagation be able to assign 10 to my_const?

Version 0.12.0 was released on Tuesday. @toidiu @camshaft can you confirm if this harness now finishes quickly (with --enable-unstable --mir-linker)?

If I run that on my x86 macbook it's now super fast! That seems to have addressed the issue. However on my Linux machine I'm seeing a verification error, even after nuking /target:
...
 518   │ Check 95: std::option::Option::<usize>::unwrap.unreachable.1
 519   │      - Status: SUCCESS
 520   │      - Description: "unreachable code"
 521   │      - Location: ../../../../../../runner/.rustup/toolchains/nightly-2022-09-13-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/option.rs:773:15 in function std::option::Option::<usize>::unwrap
 522   │
 523   │ Check 96: memcpy$link1.assertion.1
 524   │      - Status: FAILURE
 525   │      - Description: "undefined function should be unreachable"
 526   │      - Location: <builtin-library-memcpy> in function memcpy$link1
 527   │
 528   │ Check 97: std::vec::Vec::<std::option::Option<()>>::as_mut_ptr.assume.1
 529   │      - Status: SUCCESS
 530   │      - Description: "assumption failed"
 531   │      - Location: ../../../../../../runner/.rustup/toolchains/nightly-2022-09-13-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/vec/mod.rs:1210:13 in function std::vec::Vec::<std::option::Option<()>>::as_mut_ptr
 532   │
...

SUMMARY:
 ** 1 of 1104 failed (24 unreachable)
Failed Checks: undefined function should be unreachable

VERIFICATION:- FAILED

Verification Time: 0.4641839s

The $link1 is weird, I haven't seen that before. I am noticing this comment in CBMC:
    // Linker renaming may have added $linkN suffixes to the name, and other
    // suffixes such as #return_value may have then be subsequently added.
    // Strip out the first $linkN substring and then see if the criterion holds

So we might be triggering something weird in CBMC?

I looks like you have multiple declarations of memcpy, which is weird in several ways: do you now link together multiple object files via goto-cc or in the call to CBMC?

@tautschnig this is puzzling me quite a bit. The #1717 has fixed the missing symbols problem with the std library, and it actually increases the amount of functions / static that we are translating into goto model (from 356 to 1139). How come the verification time drops down dramatically like that?
Could it affect constant propagation?? We encode missing definitions as assert(false); assume(false).
What happens if we have the following code:
let my_const = if any() { 10 } else { missing_method() };

will constant propagation be able to assign 10 to my_const?

My apologies for the late response! Yes, such constant propagation should take place, but also it might be that you're now providing definitions that result in precisely specified behaviour where previously a lot of non-determinism was present. But that's all guess work, I'd have to look at this in much more detail if this is still relevant.

Perhaps the memcpy issue is another manifestation of our just mashing all the tests together when they were originally multiple binaries? Was this built with --tests ?

#1448

Weird that it only affects one platform though.

It might be worth doing a goto-instrument --show-symbol-table on those binaries.

Perhaps the memcpy issue is another manifestation of our just mashing all the tests together when they were originally multiple binaries? Was this built with --tests ?
* [cargo kani --tests fails on crates with integration tests #1448](https://github.com/model-checking/kani/issues/1448)

Weird that it only affects one platform though.

I don't think that's related to #1448. In this issue, the cargo command fails to run in the first place.

I created a new issue to track the spurious failure. I'll take a look at it today.

I think we can call this ticket closed, yeah?

Closing per the comment above.


iOS build failed: redefinition of module 'Reachability'

Dear colleagues,
I have found the solution to the problem, but I want to post my experience since it was not a straight way to understand what happens.
On Friday our current release build and even previous release build failed to build. The most surprising thing was that the previous build was built successfully and there were no changes to the source code or build VM.
We have a deprecated package https://pub.dev/packages/connectivity in the dependencies.
pubspec.yaml
connectivity: ^3.0.6
flutter doctor -v
[✓] Flutter (Channel stable, 2.8.1, on macOS 11.5.2 20G95 darwin-arm, locale en-RU)
    • Flutter version 2.8.1 at /Users/dersh/sdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 77d935af4d (5 weeks ago), 2021-12-16 08:37:33 -0800
    • Engine revision 890a5fca2e
    • Dart version 2.15.1

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/dersh/Library/Android/sdk
    • Platform android-31, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.63.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.32.0

• No issues found!

Steps to Reproduce
Run Flutter 2.8.1 based application after Friday, January, 21 2022
Expected results: Get successful build
Actual results: Build failed and one of the leading errors is related to Reachability
    /Users/dersh/repo/gigant-employee-mobile/ios/Pods/Headers/Public/Reachability/Reachability.modulemap:1
    :8: error: redefinition of module 'Reachability'
    module Reachability {
           ^
    /Users/dersh/repo/gigant-employee-mobile/build/ios/Release-iphoneos/ReachabilitySwift/Reachability.mod
    ulemap:1:8: note: previously defined here
    module Reachability {
           ^

The solution is to replace connectivity with a new version https://pub.dev/packages/connectivity_plus/example

The solution is to replace connectivity with a new version https://pub.dev/packages/connectivity_plus/


[feat] Read gallery link from clipboard upon startup

ROMs like ColorOS do hijack every app-binded url to their own browser, therefore direct access to gallery is difficult.
It might be better, if the app can read the clipboard for gallery urls and/or provide a direct url entrance.

Like Alipay red envelopes?

Yep


Rearrangement corollary flipped association on +-assoc

The section entitled "Our first corollary" includes the following sentence:

Proposition +-assoc n p q shifts parentheses from right to left: (n + p) + q ≡ n + (p + q)

However, it seems to be that it's the opposite. That is, it takes (n + p) + q which has left-assocatied parenthicization and shifts it to be right-associated parenthesization in n + (p + q). I realise that mathematics has no preference as to which side to read first (assuming I've understood the ≡ operator here — as being some form of mathematical exact equality), but it seems that Agda does, and indeed it seems that we need to have it provided in a particular order, which seems to be the entire point of sym as far as I can tell.
I might just be misguided here, but I got a little confused about that point, so maybe the material should be slightly adjusted to address others who have similar questions, or altered if it's incorrect?

assuming I've understood the ≡ operator here — as being some form of mathematical exact equality

This brings up an interesting point I've been pondering for the last few days. This is the second chapter and we haven't had a definition yet for what ≡ means; in fact, quite a few of the operators remain unexplained. Is this becuase we would expect the curious to go on a journey to discover these items in the agda docs themselves, or we're going for an intuition-first approach here, or because this book is intended to be a supplement to a course rather than being intended for self-study in its own right? I haven't made my way through enough of the material yet to understand how to frame it.

Thanks. It should indeed be left-to-right, not the inverse. I've fixed the text. (Fixes aren't showing up online just now, but will soon.)
When equality and related operations are first imported in Chapter Naturals, the reader is told "We take these as givens for now, but will see how they are defined in Chapter Equality."

Thanks. It should indeed be left-to-right, not the inverse. I've fixed the text. (Fixes aren't showing up online just now, but will soon.)

Good to know. Thanks for fixing. I'll close this issue then.

When equality and related operations are first imported in Chapter Naturals, the reader is told "We take these as givens for now, but will see how they are defined in Chapter Equality."

Oh excellent, thanks for the reminder. Apologies for asking again.


fix: allow sudt transfer to self

We need some test cases:

transfer token to self.
transfer token(> balance) to self.
transfer 0 token to self.
transfer u128-1 token(balance + amount is overflowed) to self.

https://github.com/nervosnetwork/godwoken-scripts/pull/47


Query: deduplication for receivers only setup

Is your proposal related to a problem?
In a deployment based only on receivers (no sidecars or HA Prometheus instances), each replicated timeseries holds the same data or parts of it (for example, when an instance is not available for some period of time).
While Thanos Query uses the penalty deduplication algorithm that fills in missing points only after the penalty window, this situation causes gaps even when the data is available in the other replica.
In such cases, I expect the deduplication algorithm to return all available data points.
Describe the solution you'd like
Allow an option to change the deduplication algorithm by adding a new flag to the query command.
As an alternative algorithm, the standard Prometheus deduplication algorithm could be used.
Additional context
Screenshots present the problem that occurs during receivers restart.

PR: https://github.com/thanos-io/thanos/pull/7808


Bug: Issue with Column View Display in Git Repositories for Visual Studio Solution Files

Description
I've encountered an issue where, when I navigate to a Git repository containing a Visual Studio solution file, nothing is displayed in column layout. This problem only occurs in the column layout, as the button is present and functional in the details layout.
Steps To Reproduce

Select the column layout
Navigate to the Git repository containing the Visual Studio solution file

Requirements
Check if the column view mode settings are correctly configured.
Files Version
<IP_ADDRESS>
Windows Version
22H2 22621.1992
Log File
debug.log

Thanks for the report, I've added this to the project board.

This appears to be resolved in the latest preview.

It's not resolved on my end because the "Open in Visual Studio" button still doesn't appear in any layout.

Can you share a screen recording? I'm having trouble reproducing this.

Can you share a screen recording? I'm having trouble reproducing this.

https://github.com/files-community/Files/assets/128183422/b1a88938-e1f7-4e6a-846f-5d462e227932

What happens if you open a new tab and navigate to the folder again?

Can you reset the app and include opening the app in the screen recording? I want to make sure I am following the same steps.

Can you reset the app and include opening the app in the screen recording? I want to make sure I am following the same steps.

https://github.com/files-community/Files/assets/128183422/a901ccef-0b64-4386-b0b4-6951dde28b93

What happens if you select a folder in the Git repo?

What happens if you select a folder in the Git repo?

It's same.


Texture added to Tilemap does not persist after the saved project has reloaded

Godot version:
3.2.1 on Windows 10, 64-bit Standard Build
OS/device including version:
Windows 10 Build 2004
Issue description:
Texture added to a Tilemap after saving a project and reloading the editor does not persist.
Added textures to a tilemap should persist after reloading the editor (on saved projects).
Steps to reproduce:

Create a new project and scene
Add a Tilemap and edit the tilemap.
Add a Texture to the Tilemap
Select the main scene and save the project and then exit.
Reload the editor
Edit the same tilemap again and you will notice the texture has not loaded.

Minimal reproduction project:
Tileset4.zip
Video of error:
https://youtu.be/scKDVqVhbWE

Looks like you don't have to leave the editor:

Add a texture to the tileset
Click on another node (or the same node) in the scene tree (the tileset editor panel goes away, as expected)
Click to edit the tileset - the texture is gone.

None of this happens if there is at least one tile in the tileset though. It might be a deliberate choice to avoid clogging up a scene with empty tilesets.


ENH: tool to DL release wheels from Anaconda

because of the rackspace -> anaconda.org migration
for binary assets during the release process, we should
probably "borrow" the approach NumPy is using to retrieve
wheels from the new site--see:
https://github.com/numpy/numpy/pull/16265

I modified the NumPy script only to account for the
name change to SciPy in a few places

testing locally, it seems to work ok--I may need to
first purge the staging area of all the merged/uploaded
"junk" binaries before the release though, since there's
a bit of promiscuity otherwise:

mkdir wheelhouse
python tools/download-wheels.py 1.5.0 -w ./wheelhouse/
...
Downloading wheel 1, name:
scipy-1.5.0.dev0+01c65a7-cp37-cp37m-manylinux1_i686.whl
Downloading wheel 2, name:
scipy-1.5.0.dev0+01c65a7-cp36-cp36m-manylinux1_i686.whl
Downloading wheel 3, name:
scipy-1.5.0.dev0+01c65a7-cp38-cp38-manylinux1_i686.whl
Downloading wheel 4, name:
scipy-1.5.0.dev0+01c65a7-cp37-cp37m-manylinux1_x86_64.whl

cc @charris @mattip @rgommers

Of course, substantial doc changes will be needed for the new release process--I'd suggest holding off on that until I go through i.e., at least rc1 because there probably will be hiccups in what I "think" the workflow will be.

I've cleaned the tool up a bit more in https://github.com/numpy/numpy/pull/16362 so that it won't download dev versions unless fully specified.

I've pulled in Chuck's improvements from the cross-listed NumPy PR. Because of the compiled regular expression used for scraping one has to escape the + in dev wheel names, but it should be rare to pull down random dev wheels anyway.

Beyond, that this is now more selective, which is good

one has to escape the + in dev wheel names

Oops. OTOH, that means you can use regular expressions for the version :)

OTOH, that means you can use regular expressions for the version :)

Well, actually not, weird things happen due to the construction of the URL.

CI is all green now and this is a release management tool effectively copied from NumPy that doesn't affect SciPy code proper, so self-merging here with 1.5.x branching imminent.


Please consider renaming this to something less generic than zsh-theme

I'd like to add this to awesome-zsh-plugins, but the name zsh-theme is awfully generic. Please consider renaming it to something descriptive, or even just name it after your github username.
Thanks!

Thank you for considering adding this theme to awesome-zsh-plugins. I couldn't come up with a descriptive name, so I think I will rename this repo to abhiyan.zsh. Please give me your feedback on the name.

Sure, that's fine. Close this after you rename the repo and I'll get your theme into the next update


Issue with running code in python

Description
What steps will reproduce the problem?

What is the expected output? What do you see instead?
Please provide any additional information below
File "C:\Users\Sumit_Jiwane\Anaconda3\lib\site-packages\spyder\plugins\ipythonconsole.py", line 890, in run_script
self.execute_code(line, current_client, clear_variables)
File "C:\Users\Sumit_Jiwane\Anaconda3\lib\site-packages\spyder\plugins\ipythonconsole.py", line 936, in execute_code
sw.execute(to_text_string(to_text_string(lines)))
File "C:\Users\Sumit_Jiwane\Anaconda3\lib\site-packages\qtconsole\history_console_widget.py", line 47, in execute
source, hidden, interactive)
File "C:\Users\Sumit_Jiwane\Anaconda3\lib\site-packages\qtconsole\console_widget.py", line 632, in execute
self._execute(source, hidden)
File "C:\Users\Sumit_Jiwane\Anaconda3\lib\site-packages\qtconsole\frontend_widget.py", line 294, in _execute
msg_id = self.kernel_client.execute(source, hidden)
AttributeError: 'NoneType' object has no attribute 'execute'
Version and main components

Spyder Version: 3.2.3
Python Version: 3.6.1
Qt Versions: 5.6.2, PyQt5 5.6 on Windows

Dependencies
pyflakes >=0.6.0 :  1.5.0 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pygments >=2.0   :  2.2.0 (OK)
pandas >=0.13.1  :  0.20.1 (OK)
numpy >=1.7      :  1.12.1 (OK)
sphi

This is a duplicate of issue #5053 and it'll be fixed in Spyder 3.2.4


Add files to fedora as external files

Test for fedora re-direct -- if they have been
added correctly, Fedora should re-direct the
request.
Redefine the predicate for mime_type on the
MetadataNode class in the Samvera stack so
it does not conflict with the Fedora mime_type,
which is used to handle external content.
Encapsulate behavior behind the environment variable
ENV['REPOSITORY_EXTERNAL_FILES']. If that is set
to true the new behavior will be used. If it isn't set
to true or is missing, the old behavior will be used.
If it is true the ENV['REPOSITORY_FILESTORE_HOST'] and
ENV['REPOSITORY_FILESTORE'] environment variables must also
be set. See the rails_helper for an example of how
to set the variables.
This also overrides ActiveFedora::File, Hydra::Core::DownloadBehaviour
and CurationConcerns::WorkingDirectory to get download functionality
working correctly.

Coverage increased (+22.4%) to 77.163% when pulling b54d8af0756d44fb52fb48d7647facd57a4debd8 on external-files/add-external-files into 3c14ee8408b9d0c92b88a64cc8bd745a16916429 on develop.


(record of attempt to) port more popular plugins

This issue is used to record attempt to import lv2 plugins to AAP, usually to record blockers.

zynaddsubfx: it depends on various libraries installed on the host system - fftw3 and mxml are the primary blockers so far.

AIDA-X: we still seem to have some problem handling Atom sequences at aap-lv2 itself (not very sure but that is most likely):

https://github.com/atsushieno/aap-lv2-aida-x It's up and processing fine at least at default state.


Add -X XMETHOD to enter-chroot

Add '-X' option to override the the auto-detected XMETHOD for this session/invocation.

@DennisLfromGA added feedback (you might need to manually enable notifications for this PR)

@drinkcat: are you ok with using -X for this?

@drinkcat: are you ok with using -X for this?

Sure.


Avoid error with empty iterators used for ScalarValue::iter_to_array

Which issue does this PR close?
Closes #4080.
Rationale for this change
I've noticed that some calls to ScalarValue::iter_to_array could have an empty iterator as argument, which caused an error.
What changes are included in this PR?
In 2 places I found out that sometimes, ScalarValue::iter_to_array is called with an empty iterator. I made sure to use arrow::array::new_empty_array in this case.
Are these changes tested?

One of them is (the one about the ScalarValue::List).
I didn't find a good way to test the other one, as it seems to require some more insights into how the aggregation works internally.
Are there any user-facing changes?
No, and no breaking changes.

Thanks again @GrandChaman


Fixing division by zero and dealing with numerical imprecision on Regression and Multi-target Regression HT

Greetings @jacobmontiel,
I'm happy to finally be able to contribute again to scikit-multiflow. It's been a long time!
I've fixed some minor bugs when calculating the standard deviation and comparing split merits. These changes encompass both the Regression HT (R-HT) and Multi-target Regression HT (MTR-HT) algorithms.
The way the variance and standard deviation are calculated in the regression HT algorithms can lead to numerical imprecision. This fact is discussed in this link. Considering that is not easy to change the HTs to add a more efficient online variance calculation algorithm, I added a simple check to verify whether the resulting variance is negative (in trees/variance_reduction_split_criterion).
Following, I will list the implemented changes.
Changes proposed in this pull request:

Fixed division by zero in the split attempt for both R-HT and MTR-HT (Addition of a conditional clause to check whether best_suggestion.merit > 0).
Added check for negative variance values before calculating the standard deviation for the R-HT.

Checklist

[x] Code complies with PEP-8 and is consistent with the framework.
[x] Code is properly documented.
[x] Tests are included for new functionality or updated accordingly.
[x] Travis CI build passes with no errors.
[x] Test Coverage is maintained (threshold is -0.2%).
[x] Files changed (update, add, delete) are in the PR's scope (no extra files are included).

Hello @smastelini  and welcome back :-)
Thanks for submitting this fix. Could you elaborate on this?

Considering that is not easy to change the HTs to add a more efficient online variance calculation algorithm, I added a simple check to verify whether the resulting variance is negative...

Hello @jacobmontiel,
By not easy, I'm referring to the way the trees store necessary statistics for making the splits. The link I sent in the previous message suggests a more robust and stable way of calculating variances. Nonetheless, this approach presupposes a recursive variance calculation strategy, which does not reflect the way the Hoeffding Tree algorithms work:

Firstly, variance estimations need to be made in any splitting point (not only considering all the data)
Moreover, the statistics stored by the new presented algorithm do not have the addictive properties of the current implementation of the Hoeffding Trees (combining partial statistics -- summing and subtracting). In fact, the strategy of storing the sum of y and y^2 (as the current algorithms do) works very much alike the ClusStream algorithm (and its microclusters).

For these reasons, I made the proposed changes just to avoid generating warnings due to numeric inconsistencies. Looking at the MOA implementation, there is not seem to be any special treatment for these cases, too.
What do you think?

Thanks for the clarification @smastelini
I think the safety check is a straightforward solution to avoid negative values, considering the limitation that you mentioned in the context of the current implementation of HT.


v1.13 backports 2023-10-02

[ ] #28249 -- ci: fix AWS EKS K8s versions comment (@nbusseneau)
[ ] #28225 -- install/kubernetes: add the cilium/values.yaml target to .PHONY (@nbusseneau)
[x] #28272 -- envoy: Sync supported resources in CiliumEnvoyConfig (@sayboras)

Once this PR is merged, you can update the PR labels via:
$ for pr in 28249 28225 28272; do contrib/backporting/set-labels.py $pr done 1.13; done

/test-backport-1.13

All required CI jobs are passed, reviews are in. Marking this ready to merge.

Reviews are in, CI is also checked, marking this ready to merge.


What is the license on this project?

[x] I'm submitting a support request

Is this project open-sourced? I am needing to create a custom service worker after webpack's compilation phase and I'm interested in borrowing some code from src/index.js as it's the behavior I need from webpack.
Thank you.

It is ISC license:
https://github.com/goldhand/sw-precache-webpack-plugin/blob/master/package.json#L37

Added an explicit license in v0.11.5<EMAIL_ADDRESS>


Add golangci.yml to configure linter

Signed-off-by: Marvin Drees<EMAIL_ADDRESS>

Codecov Report

Merging #10 (7edf276) into main (d6194b6) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##            main     #10   +/-   ##
=====================================
  Coverage   0.00%   0.00%
=====================================
  Files          7       7
  Lines        467     467
=====================================
  Misses       467     467

Continue to review full report at Codecov.

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


Making Rakismet Thread-safe

While investigating Rakismet to see how it obtained the request-related information, I noticed that a lot of the information was being stored in non-thread-safe class instance variables. Considering the larger number of people deploying onto Puma and other thread-capable servers nowadays, this seems like a large omission.
So here's a change set to store the request and responses in Thread-local variables to keep thread safety.
The tests also still pass, a large majority of them are now rewritten to use expect/allow from rspec 3.

This is a big problem. @joshfrench If this solution were brought up-to-date, would you merge it?

@dwbutler Absolutely! Sorry I dropped the ball on this before. Feel free to reopen with up-to-date code/tests/versioning.

@joshfrench I'm looking at this again. Would you be open to adding a dependency on RequestStore? It handles correctly storing a request-local variable that gets cleared at the end of each request. If not, it can be implemented in an equivalent way here.

@dwbutler Seems fine to me. If you do submit a PR please include mention of the additional setup for non-Rails apps. Thanks!


Image render hook not using the .Text field

The solution is obvious, but I need to reorder the partials.

Closed by #60


itsdheerajdp

I added some animations in the anchors of navbar . Apart from that I also added background for the active class of anchor.

Respected Sir,
I previewed the deployed link https://deploy-preview-111--simple-tourism-organization.netlify.app/ and can't see the change in alignment  of navbar
Can you please specify where it got changed


Adding the CPGs graphic

This graphic is provided for inclusion in the header of the README file (main page)

🗣 Description

💭 Motivation and context

🧪 Testing

✅ Pre-approval checklist

[ ] This PR has an informative and human-readable title.
[ ] Changes are limited to a single goal - eschew scope creep!
[ ] All future TODOs are captured in issues, which are referenced
in code comments.
[ ] All relevant type-of-change labels have been added.
[ ] I have read the CONTRIBUTING document.
[ ] These code changes follow cisagov code standards.
[ ] All relevant repo and/or project documentation has been updated
to reflect the changes in this PR.
[ ] Tests have been added and/or modified to cover the changes in this PR.
[ ] All new and existing tests pass.

✅ Pre-merge checklist

[ ] Revert dependencies to default branches.
[ ] Finalize version.

✅ Post-merge checklist

[ ] Add a tag or create a release.

That's quite a large graphic. Were you going to update the README as well in this PR?

Yes, I would like the README updated if possible, so this will appear underneath the headline. My contacts through CISAGraphics weren't sure what size to make the file. They use 1200x628 (FB/Lin); 1024x512 (Twitter), and 1080x1080 (IG) exported to 150ppi for social. I wasn't sure what was standard here, so I requested the same size as Facebook and LinkedIn.
Do we need something different?

That's quite a large graphic. Were you going to update the README as well in this PR?

Yes, I would like the README updated if possible, so this will appear underneath the headline. My contacts through CISAGraphics weren't sure what size to make the file. They use 1200x628 (FB/Lin); 1024x512 (Twitter), and 1080x1080 (IG) exported to 150ppi for social. I wasn't sure what was standard here, so I requested the same size as Facebook and LinkedIn.
Do we need something different?

I think what @felddy was getting at is that you should update this pull request to include the change(s) to your README where you actually use this new graphic, rather than creating a separate PR to add the graphic to the README.

That's quite a large graphic. Were you going to update the README as well in this PR?

Yes, I would like the README updated if possible, so this will appear underneath the headline. My contacts through CISAGraphics weren't sure what size to make the file. They use 1200x628 (FB/Lin); 1024x512 (Twitter), and 1080x1080 (IG) exported to 150ppi for social. I wasn't sure what was standard here, so I requested the same size as Facebook and LinkedIn.
Do we need something different?

I think what @felddy was getting at is that you should update this pull request to include the change(s) to your README where you actually use this new graphic, rather than creating a separate PR to add the graphic to the README.

Thanks @dav3r. Can you contact me over Teams? I don't know how to include it there without uploading it to the repository first.

Closing this PR in favor of #7 with help from @dav3r.


Rolyantrauts

I got barred from the Rhasspy forum for continuing with the same argument for 2 years and that I have constantly tried to dispel myths on audio hardware that for some reason seem to want sales.
Finally it looks like Rhasspy is going to be partitioned into modules and much of the superfluous website and methods cast off as really what we are doing is so super easy that the majority of the complexity of Rhasspy is to support the web intereface and this strangely over complex 'Hermes' protocol that is also there without need.
You can read what I wrote and pretty much boiled down need to the lowest common denominator and too right I was critical of the Rhasspy 'Satelite' being raised one more time and I actually had the temerity to forward some ideas.
https://community.rhasspy.org/t/2023-year-of-voice/4130/8?u=rolyan_trauts
We need an open and simple Voice system for linux that is a bring and buy of hardware, kws, skill servers that can be utilised with multiple systems without hardcoded system requirements. We need the absolute oppisite of the Google Assistants, Siri and Bixbies that are there to enforce system and hardware choice and worse of all the idea a small herd can is just delusional.
I don't use rhasspy because it just doesn't work well and have been trying to research ways to fill the gaps and been critical to what doesn't work well to highlight what does need dev and implementing.
So I can not converse with you guys on the forum as I am locked out and if this email is insincere or delusional from Michael I don't know 'I'd still like you to be part of the community and Rhasspy going forward, with civil discussions about what should be done differently from everyone' as how when my account has been deactivated when there was absolutely nothing uncivilised about what I said anyway.
So I have had the stuffing knocked out of my KWS motivation just as finally there was interest and knowledge of trying to provide something that actually works well and proofs via imperical testing and hopefully discourse and exchange of opinion.
I might regain some interest in the new year but not too sure at the moment.
Voice infrastructure is purely serial and my take with KWS is a 'KWS server' that is nothing more that a queue router to the next step in the voice chain and is pretty much standalone that can pass metadata in a zonal format probably inherited from the audio out system of use.
All that is needed is audio, zonal data and trigger source and those can be just passed in files from conf without any embedded protocol needs.
As audio if your passing to ASR its likely file based as much SOTA ASR has quite wide beamsizes where phonetic sentence context is a huge part of accuracy, but if you are passing to an intermediary audio processing section its likely it should be a stream, so the ability to have both is likely needed.
I am interested if you guys have any ideas on local data collection and on-device training in a 'KWS Server' so KWS can improve through use?

Hey @StuartIanNaylor, moving this to Discussions as these topics are more suited to that format.


layers: Ignore immutable samplers pointer

ignore pImmutableSamplers pointer on vkCreateDescriptorSetLayout if type is a non-sampler
add positive test

LGTM!  Thanks!


Tests: Write tests in TypeScript

Overview
Update the tests of this repo to use TypeScript via ts-node
Motivation

Allow TypeScript to type-check our tests
It's quite possible to write tests that are not doing what we think they are, it can be useful to have a compiler that better understands our intentions and can spot errors in our lines of thought.
Allow writing tests that ensure intuitive and correct type inference
Without writing tests in TypeScript, it is impossible to write a test that checks if type signatures are inferred by the compiler in an intuitive way.
Single language used across the stack
Use the same language to write a test as you write features with.

This is done.


bug(slider): property pager

Ionic v2 beta.11
Minor bug, pager property doesn't work. It checked on browser Chrome.
Introduction:

<ion-slides [options]="{pager: true}"> <!-- it works fine -->
<ion-slides pager="true"> <!-- it doesn't work -->

Which Ionic Version? 2.x
//cc @jgw96

This property was removed awhile ago, it should be passed in options. That is the only input that is added to slides: http://ionicframework.com/docs/v2/api/components/slides/Slides/#input-properties
Please see this issue: https://github.com/driftyco/ionic/issues/5508


Fix the 1.13.1-cs1 release notes to include changes from 1.13 and 1.13.1

This also removes the "Beta" modifier from the CS-engine 1.13 section.
cc @cpuguy83 @mstanleyjones @joaofnfernandes

@cyli please review my edit and let me know if it is OK.

@mstanleyjones Much better than mine, thanks!  :D


GPT-4 Instruction dataset

Take a look:
https://github.com/teknium1/GPTeacher

We will soon collect them and thank you for your support.

This one is a mixture of other datasets, but It should contain a few new records. It now landed on huggingface.
https://huggingface.co/datasets/swype/instruct

Here is another one, alpaca but generated gpt-4. Includes Chinese translations :)
https://github.com/Instruction-Tuning-with-GPT-4/GPT-4-LLM#fine-tuning-with-the-data

Related to your project, because you started out with chain-of-thoughts fine tuning:
Researchers alpaca finetuned Galactica, Galpaca, which seems to have better reasoning in science and technological domains than llama:
https://twitter.com/oijna/status/1637566839235518464
https://huggingface.co/GeorgiaTechResearchInstitute/galpaca-30b

I'll pay attention to these, thx.

This is so insanely fast moving, I get confused.
https://github.com/databrickslabs/dolly/tree/master/data

Author description (not mine):
"CAMEL datasets:PhysicsChemistry and Biology. Each dataset contains 20K problem-solution pairs, consisting of 25 topics, 25 subtopics and 32 problems for each "topic, subtopic" pair generated and solved by GPT4"
https://github.com/lightaime/camel#data-hosted-on-hugging-face

https://github.com/DreamerGPT/DreamerGPT/tree/main/data


⚠ Bofrost.de has degraded performance

In d68e997, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1021 ms

Resolved: Bofrost.de performance has improved in 431473d.


Add 'auto' mode for MiHome heating devices

Climate mode 'auto' is now supported; so add this to both the eTRV and Thermostat to map to the equivalent mode.  This will have the effect of making the current 'on' mode to become 'always on' so how this interacts with google home will need checking.
@genestealer Thoughts?

Hmmm on second thoughts this is from https://developers.home-assistant.io/docs/core/entity/climate/#hvac-modes
HVACMode.HEAT = The device is set to heat to a target temperature.
HVACMode.AUTO = The device is set to a schedule, learned behavior, AI.
So 'auto' assumes that it has a schedule; which may not always be the case....


Encode immutable managed value with no state as null

A.k.a. NoValueProvider.
Resolves #24405

@bot-gradle test ACC

I've triggered the following builds for you:

AllConfigCacheTestsPullRequestFeedback build

@bot-gradle test rfn

I've triggered the following builds for you:

ReadyForNightly build

Your PR is queued. See the queue page for details.


Create vailstudents.txt

Added a text file for the vailstudents.org domain.

@drsirmrpresidentfathercharles Pull request merged. However, the description of the school must not include information about courses on the website, which is much better to put in the comments like this one. I'll truncate it in the file and move to the comments to this request myself. Thank you!

General Website: http://ehs.vail.k12.az.us/
Page showing 3 year course for Web Development (30/35) for 2015-2016: http://ehs.vail.k12.az.us/wp-content/uploads/2014/05/1516cbup12715.pdf
Page showing same courses for 2016-2017 (29/33): http://ehs.vail.k12.az.us/wp-content/uploads/2014/05/16-17-Course-Description-book-EHS-3.pdf
This page (http://ehs.vail.k12.az.us/resources/students/) has a link to "Student Email", which redirects to Gmail for the vailstudents.org domain (mail.vailstudents.org).