Rebooting can lock you out of LUCI

With the 22.02.3 release, if you:

Make any settings change
Click 'Save'
DO NOT click 'Apply'
reboot

You will get a warning about unsaved changes, but the router will reboot. However, when LUCI comes back up it does not set a new cookie in your browser, and you won't be able to login. (This may not be 100% of the time, but if not 100% it is close to 100%.)
Deleting the cookie will fix the problem, but I think very few users will try that. This is a bad bug, despite the easy workaround, because the workaround is so extremely non-obvious. Most people will try cycling power on the router a few times, then they may try a factory reset and wipe out all of their work unless they have been diligent about making backups every few minutes.
I have 22.02.3 installed on a Linksys WRT1900-ACS, but I doubt that the hardware makes a difference.

This should move to openwrt/luci

Done!
Cheers,
Piotr

https://github.com/openwrt/luci/issues/5843


DF-1735 Fixed "Blog" category issue

Fixed an issue within Newsroom and Activity Log filters where selecting "Blog" + another category would return zero results.
Additions
None
Removals
None
Changes

Updated filter macro to set "Blog" options

Testing
Fork, open locally, and test category filters. "Blog" + another category should return results.

/newsroom
/activity-log

Review

@schaferjh
@dpford
@sebworks
@anselmbradford

Preview

Notes

when selected "Blog" was passing as a "format_type" instead of "filter_category"
will need blog posts set correctly in prod content

:+1:

Yep, this works.  We still have some things to do in the backend to reconcile the fact that any blog post that needs to show up in the newsroom technically needs to have two categories (Blog and the original category), but the Blog category shouldn't show up in the /blog/ filter.

@dpford Should I wait to merge this until that work is done?

I don't think you need to wait.  This fixes the more blatant of the two problems.  Even though the ability to actually include newsroom-tagged blog posts in filters isn't there yet, this is still forward progress.

Ok, thanks. Merging.


.NET 8 support

I'm currently using .NET 8 RC2. When I try to install csharpier in my CI/CD pipeline on Azure Pipelines, I get the following error:
- script: |
    dotnet tool restore
    dotnet csharpier --check .
  displayName: "Lint Pull Request"

You must install or update .NET to run this application.

App: /home/vsts/.nuget/packages/csharpier/0.25.0/tools/net7.0/any/dotnet-csharpier.dll
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '7.0.0' (x64)
.NET location: /opt/hostedtoolcache/dotnet/

The following frameworks were found:
  8.0.0-rc.2.23479.6 at [/opt/hostedtoolcache/dotnet/shared/Microsoft.NETCore.App]

Could support for RC2 be added? Or perhaps support for .NET 8 as soon as it is out?

I am planning to add net8 support in the next release, which I should hopefully have out in the next week or two. In hindsight it  would have made sense to support net8 already, because I believe csharpier doesn't need to be updated after Net8 is official even if it was built with one of the preview or RC builds.

@belav  I do think some changes are needed for C# 12 support.
I have a file that contains the following code:
        Func<Exception, IActionResult>[] handlers =
        [
            // You can add handlers for specific exceptions here.
            // Examples: Domain validation, unauthorized exceptions, etc...
        ] ;

This  = [] is a new C# 12 concept. When I run dotnet csharpier ., I get the following error:
Warning <STUFF>/ErrorController.cs - Failed to compile so was not formatted.
  (27,52): error CS1525: Invalid expression term '['
  (28,10): error CS0443: Syntax error; value expected

Yeah that was something I missed, or wasn't available when I added the initial c# 12 support. Support was added in #966 which will be in the next release.


bug: ion-datetime ignores mode when set after initial render

Bug Report
Ionic version:

[x] 4.x
Current behavior:

When setting the mode attribute on ion-datetime after it has already rendered, the wrong mode is used.
Expected behavior:

ion-datetime should respect an dynamically changed mode attribute.
Related code:
https://stackblitz.com/edit/ionic-v4-angular-tabs-qskzhg
The ios-mode is forced in the app.module.ts by setting
IonicModule.forRoot({
  mode: 'ios'
})

I want to open the ion-datetime picker with md-mode.
The green items behave correctly, they open in md-mode.
The red item uses the wrong mode (ios).
I also noticed that the red item is slightly shifted to the left.
Other information:

Ionic info:

Ionic:

   Ionic CLI                     : 5.2.3 (/home/rafael/.nvm/versions/node/v11.9.0/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.7.1
   @angular-devkit/build-angular : 0.12.4
   @angular-devkit/schematics    : 7.2.4
   @angular/cli                  : 7.2.4
   @ionic/angular-toolkit        : 1.5.1

Utility:

   cordova-res : 0.3.0 (update available: 0.6.0)
   native-run  : 0.2.7 (update available: 0.2.8)

System:

   NodeJS : v11.9.0 (/home/rafael/.nvm/versions/node/v11.9.0/bin/node)
   npm    : 6.10.0
   OS     : Linux 4.15

Edit: BTW thank you for Ionic v4 Stackblitz, that makes sharing little prototypes so much easier!
It would be even better to have the link to the v4-stackblitz in the issue template instead of the link to the homepage :wink:

/cc @paulstelzer @liamdebeasi
I just found your collection of ion-datetime issues #16630. Probably you want to add this one?

Unfortunately this cannot be done with the current architecture, the mode can't be changed on the fly, creating a new component is required. This happens because different mode means downloading the component again (with different styles). It's not a ion-datetime issue, same happens with all the existing components.

Okay, thank you for clarification.
So I'll go with ngIf solution.


feat: add packages and content packages

Adds packages support.
Resolves #304
Requires https://github.com/rstudio/connect/issues/28227

@mmarchetti - here is a basic implementation of the '/v1/content/.../packages' endpoint.

I'll fix those linting errors.


INT-923 handle 'maxTimeMS exceeded' errors

This will handle server errors related to maxTimeMS being exceeded.
ex: Error: error: { "ok" : 0, "errmsg" : "operation exceeded time limit", "code" : 50 }

:shipit:

released in v0.1.0


Is linkerd-tcp under active development?

Hi,
I'm very interested to use linkerd-tcp to proxy connections to Kafka and MySQL. However, I noticed that:

although the latest release happened in June, the docker image was last pushed 8 months ago (meaning that it's most likely outdated)

the last commit on the repository was made 4 months ago

Which makes me wonder, is this project still under active development? Is it planned to be supported in the future?
Thanks!

Hi Christophe! We haven't put a lot of time and energy into linkerd-tcp recently, primarily because we've been waiting for adopters like you. :)
That said, we're definitely up for fixing bugs and reviewing PRs.


Thumbnail design cancel not working

description
Even though the cancel button clicked after designing a thumbnail, the change persists in the overview page.

Duplicate issue https://github.com/wso2/product-apim/issues/5641


Check SSL_CTX_new() return value

SSL_CTX_new() will return NULL if there was an error creating a new SSL context.

In what cases does it fail other than an out-of-memory condition?

I saw it returning NULL while attempting to get FIPS enabled in OpenSSL system-wide.  I had some configuration/installation problems to resolve, but an error message from apache saying "SSL_CTX_new() failed" would have been much more useful than a segfault.
The man page simply says "The creation of a new SSL_CTX object failed. Check the error stack to find out the reason."  There are many places that could trigger a NULL return in the code. A lot are no doubt memory exhaustion, but there is some dependency on engines, and I saw a comment about races between threads, so it's hard to say what else might trigger it.

Thanks, that's good to know.  Applying this now.


Buttons

There is 1 type of buttons* which is presented in 2 sizes:
-big

-small

All buttons share the same css features:

outlined button - just colored borders
no background
button text is UPPERCASE,
border size : 1 or 2 px ???

*we discuss here flat buttons only. Icon buttons have a separate issue.  (I hope :upside_down_face: )

mmmmmmm, buttons

Taking this one 👍

Taking this one 👍

Closed with #67


Point to new ES commit which improves error msg for unknown setting.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@49724bc). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #6343   +/-   ##
=========================================
  Coverage          ?   83.25%
  Complexity        ?    12814
=========================================
  Files             ?     1480
  Lines             ?    48506
  Branches          ?     5912
=========================================
  Hits              ?    40384
  Misses            ?     5371
  Partials          ?     2751

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 49724bc...52cd8bc. Read the comment docs.


fix(): loader should not fetch sourcemaps if disabled.

Currently if the trace option sourceMaps is set to false, the sourceMaps will be still loaded.
This isn't valid. Once the option is set to false, it should just ignore the sourceMaps.

References https://github.com/angular/material2/issues/541

FYI: I'm not sure, this is the correct way to transmit the trace options.
Fixes #610.

Thanks, we can add this functionality, but yes we should work out how to properly pass the trace options.
It may make sense to move the source maps fetch behaviour back into lib/trace.js as the first step after the loader.fetch call.

Thanks!


Can not find the rule in the policy and skip it - "Ensure that your AWS application is not deployed within the default Virtual Private Cloud in order to follow security best practices"

terrascan version: v1.4.0
Operating System: Ubuntu 20.04

Description
Got below error after Terrascan scan for the models. I can not search the rule in the policy  and also can not skip it.
Violation Details -

        Description    :        Ensure that your AWS application is not deployed within the default Virtual Private Cloud in order to follow security best practices
        File           :        ../ec2/main.tf
        Line           :        1
        Severity       :        MEDIUM
        -----------------------------------------------------------------------

What I Did
terrascan scan --skip-rules="AWS.S3Bucket.DS.High.1043,AWS.VPC.Logging.Medium.0470"

Can you please help me to skip it? Thanks

Hey @ibmer921150,
Can you please try running terrascan with a -v option? -v will give you the exact rule ID for the violation.
$ terrascan scan -d count -v

Violation Details -

	Description    :	EC2 instances should disable IMDS or require IMDSv2 as this can be related to the weaponization phase of kill chain
	File           :	main.tf
	Line           :	1
	Severity       :	MEDIUM
	Rule Name      :	ec2UsingIMDSv1
	Rule ID        :	AC-AWS-NS-IN-M-1172
	Resource Name  :	server
	Resource Type  :	aws_instance
	Category       :	Infrastructure Security

	-----------------------------------------------------------------------

	Description    :	Ensure that your AWS application is not deployed within the default Virtual Private Cloud in order to follow security best practices
	File           :	main.tf
	Line           :	1
	Severity       :	MEDIUM
	Rule Name      :	instanceWithNoVpc
	Rule ID        :	AC-AW-IS-IN-M-0144
	Resource Name  :	server
	Resource Type  :	aws_instance
	Category       :	Infrastructure Security

	-----------------------------------------------------------------------

Scan Summary -

	File/Folder         :	/Users/jarvis/go/src/github.com/accurics/terrascan/pkg/iac-providers/terraform/v14/testdata/count
	IaC Type            :	terraform
	Scanned At          :	2021-04-08 03:34:42.129432 +0000 UTC
	Policies Validated  :	561
	Violated Policies   :	2
	Low                 :	0
	Medium              :	2
	High                :	0

If you want to skip the violations reported by terrascan there are two ways of achieving it:

Use --skip-rules:

$ terrascan scan -d count -v --skip-rules=AC-AWS-NS-IN-M-1172,AC-AW-IS-IN-M-0144

Scan Summary -

	File/Folder         :	/Users/jarvis/go/src/github.com/accurics/terrascan/pkg/iac-providers/terraform/v14/testdata/count
	IaC Type            :	terraform
	Scanned At          :	2021-04-08 03:35:18.418201 +0000 UTC
	Policies Validated  :	559
	Violated Policies   :	0
	Low                 :	0
	Medium              :	0
	High                :	0

Use of comments in a terraform resource in a terraform file. Please refer https://github.com/accurics/terrascan#rule-suppression

You can also refer to the explanations in https://github.com/accurics/terrascan/issues/628
Please let us know if this helps?

Thanks @kanchwala-yusuf . It's very helpful. It would be good to add the rule in the latest policy as reference for other people.


add python binding for text_to_word_with_offsets and text_to_sentence…

…_with_offsets - mapping from utf8 offsets returned in lib is transfored to python string offsets.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: carlos-pinto-coelho-microsoft sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Flutter commands do not work without internet connection

Describe the bug
FVM fetches https://storage.googleapis.com/flutter_infra/releases/releases_macos.json on every command, so this makes it so that even simple commands that should not depend on internet connection fail.
I already installed the correct version of Flutter with FVM, so that should not be an issue.
For example, I want to be able to execute flutter format without a working internet connection, currently, I cannot.
To Reproduce

Turn off your internet
Run fvm flutter format .
See error

Expected behavior
I don't need internet connection to execute flutter format, or other Flutter commands that do not need internet connection via FVM.
Logs
$ fvm flutter format .

Failed to retrieve the Flutter SDK from: https://storage.googleapis.com/flutter_infra_release/releases/releases_macos.json
Fvm will use the value set on env FLUTTER_STORAGE_BASE_URL to check versions
if you are located in China, please see this page: https://flutter.dev/community/china

#0      fetchFlutterReleases (package:fvm/src/services/releases_service/releases_client.dart:54:7)
<asynchronous suspension>
#1      FlutterTools.inferValidVersion (package:fvm/src/services/flutter_tools.dart:41:22)
<asynchronous suspension>
#2      FlutterCommand.run (package:fvm/src/commands/flutter_command.dart:28:28)
<asynchronous suspension>
#3      CommandRunner.runCommand (package:args/command_runner.dart:196:13)
<asynchronous suspension>
#4      FvmCommandRunner.run (package:fvm/src/runner.dart:72:24)
<asynchronous suspension>
#5      main (file:///Users/vargavin/.pub-cache/hosted/pub.dartlang.org/fvm-2.1.0/bin/main.dart:6:8)
<asynchronous suspension>

$ flutter format .
### Works fine even without internet connection

Desktop (please complete the following information):
$ fvm --version
2.10.0

@vincevargadev that is correct. I am thinking about removing this check since now Flutter has reached more consistent versioning.

Great jib, this also makes all commands a lot faster in certain scenarios!


MPI without camera parameters?

If we do not have the Camera parameters, and just a rectified stereo pair (no knowledge of where the stereo pair came from) -- what would the best values be to use for fx and fy?
Or is there a modification to the network/model we can make that assumes the cameras are rectified.

I have the same issue: is the camera parameters necessary to estimate a MPI from a stereo pair?

If you have a stereo pair, then you could probably get away with using a nominal set of camera parameters where you just translate the camera some distance in the x-direction. See the 'twain' example to see how to do this: https://github.com/google/stereo-magnification/blob/master/examples/twain/command_line.txt
In that example, we specify the focal length with the --fx and --fy parameters. If you don't know the focal length, you could probably get away with making a guess.

Thanks for your reply Dr. Snavely!

Thanks Dr. Snavely :))


Use WOFF instead of TTF for hosted font

Actually, don't package any font for such a simple website.


add a temporary .trash directory to keep removed files for a certain time

close #1057

TODO:

[ ] Maybe create a real inode for trash directory, and use meta APIs to simplify code

a bit of performance regression
lookup/getattr may return different attribute from that in readdir

[ ] Need a more persuasive file name for those moved into the trash
[ ] Fix Lua script for Redis lookup/resolve
[ ] Add unit tests

Codecov Report

Merging #1066 (f9569d6) into main (37c59f7) will decrease coverage by 0.41%.
The diff coverage is 47.53%.

:exclamation: Current head f9569d6 differs from pull request most recent head 95eb8d2. Consider uploading reports for the commit 95eb8d2 to get more accurate results

@@             Coverage Diff              @@
##               main    #1066      +/-   ##
============================================
- Coverage     53.37%   52.95%   -0.42%
  Complexity      149      149
============================================
  Files           147      147
  Lines         22707    22921     +214
  Branches        422      422
============================================
+ Hits          12120    12138      +18
- Misses         9126     9281     +155
- Partials       1461     1502      +41

Impacted Files
Coverage Δ

pkg/meta/config.go
100.00% <ø> (ø)

pkg/vfs/internal.go
77.98% <ø> (ø)

pkg/meta/base.go
68.43% <32.71%> (-17.57%)
:arrow_down:

pkg/meta/sql.go
67.80% <51.94%> (-0.88%)
:arrow_down:

pkg/meta/redis.go
70.33% <54.76%> (-1.38%)
:arrow_down:

pkg/meta/tkv.go
75.29% <57.97%> (-0.43%)
:arrow_down:

cmd/format.go
68.09% <100.00%> (+0.93%)
:arrow_up:

pkg/meta/interface.go
52.54% <100.00%> (+0.81%)
:arrow_up:

pkg/vfs/vfs.go
78.04% <100.00%> (+0.21%)
:arrow_up:

pkg/vfs/reader.go
76.45% <0.00%> (-3.11%)
:arrow_down:

... and 5 more

Continue to review full report at Codecov.

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


Use aligned allocator in NimArray<>

Eigen prefers aligned memory to make its vectorization work easier, but we currently allocate unaligned memory in NimArray. But Eigen also provides an easy platform-independent way to create aligned memory: the aligned_allocator.
Tasks

Use Eigen::aligned_allocator in NimArray<>
Inform our Eigen::Map<>s that the underlying memory is aligned.

As of #483 this can be enabled by defining NIMBLE_ALIGNED_MALLOC=1. Because benchmarking results showed little improvement, this has not yet been enabled by default.


File uploading issue in app

Thanks for providing library !
I have integrated your lib in a hybrid app. can you please help me to fixed an file uploading issue?
https://github.com/danialfarid/ng-file-upload
Issue: when i upload file from browser, it got success uploading. but same code using in app [android apk] , it does not work, app restarts when selecting a file from device.
Is there any solution, have u ever find this issue?
Tried below solution but did not fixed!
http://stackoverflow.com/questions/23353173/unfortunately-myapp-has-stopped-how-can-i-solve-this
Thanks

I was problem of permissions. it fixed now!
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />


Only archive CI tests for windows

Linux and OSX do not yet run tests, they just compile.
Moved the line instead of passing skipIfNoTestFiles  = true to
addXunitDotNetResults as a sanity measure to ensure we do not loose the
test phase by mistake and not notice it. :)
@mmitche

LGTM


Add auto mode for no_tty option to detect it automatically

Looks like there is no portable version of an isatty, so I need a windows setup to test all platforms.


add graffiti limit fix typos in warning messages

Bypassing merge requirements since for some reason pablo's approval didnt count and tropicar gone


fix package upload

fixes uploads of mac builds

Coverage remained the same at 86.136% when pulling d6aa35bd1f2d5751f1fd6747a4cb809cea9b7bdd on hendrik-cliqz:fix-package-upload into 309e7abdfb8392783e81f632cb7a788d1565cad0 on cliqz-oss:master.


Ss 523 backend improve sonarqube report

Improves sonar issues:

security vulnerabilities
code smells
code coverage

Sonar report after improve

Sonar report after improve


Fix: The addon page displays the deleted addon

Description of your changes
After you delete an addon from the addon repository, the addon management page shouldn't display the addon.

Fixes #5750
I have:

[ ] Read and followed KubeVela's contribution process.
[ ] Related Docs updated properly. In a new feature or configuration option, an update to the documentation is necessary.
[ ] Run make reviewable to ensure this PR is ready for review.
[ ] Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

Special notes for your reviewer

@wonderflow  load image failed


Multi-cluster support

Describe what you are trying to solve
Multi-cluster feature provides native Pod IP routing, Global Service discovery and NetworkPolicy enforcement across multiple Kubernetes clusters.
Describe the solution you have in mind
Add a separate controller to watch resources in remote Clusters in every Antrea controller/agents, and extend NodeRoute, Proxy, NetworkPolicy controller to support resources in Multi-clusters.
Describe how your solution impacts user flows
When feature disabled, no appreciable impacts, but some internal process will be changed.
When feature enabled, additional kubeConfig for Multi-clusters is required in all Clusters.
Describe the main design/architecture of your solution
See attached context.
Alternative solutions that you considered
See attached context.
Test plan
TBD. Existing E2E testbed cannot meet the requirements.
Additional context
https://docs.google.com/document/d/1W_zBzM1p32zfJrSJcMrkfyqIFoqksYITw6-f_Nc-Xr0/edit?usp=sharing

As we discussed, I feel we should align with K8s multi-cluster service API: https://github.com/kubernetes-sigs/mcs-api


ghdl-gcc: init at 4.1.0

Not truly a new package, but rather a new backend next to the existing mcode and llvm ones. Adding the GCC backend too, as it is the only one that supports code coverage report generation. For more info see: https://devsaurus.github.io/ghdl_gcov/ghdl_gcov.html.
Description of changes
Add ghdl-gcc, GHDL with GCC as a backend.

Things done

Run internal tests:

[X] nix-build -A ghdl-mcode.passthru.tests
[X] nix-build -A ghdl-llvm.passthru.tests
[X] nix-build -A ghdl-gcc.passthru.tests

Ad-hoc tests: tested in a local nix-shell --pure in combination with lcov.
Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
[X] Tested, as applicable:

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

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

[X] (Package updates) Added a release notes entry if the change is major or breaking
[X] (Module updates) Added a release notes entry if the change is significant
[X] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Notes
Tags
Maintainers: @Lucus16 @thoughtpolice
Colleagues: @stdefeber @rowanG077
Comments
I'd love to backport this to 24.05.

Add a :+1: reaction to pull requests you find important.

Does the CI pkgs/by-name warning/error apply to compilers? Or should I move the files there?

Does the CI pkgs/by-name warning/error apply to compilers? Or should I move the files there?

Yes; Yes

@Aleksanaa Fixed. CI seems good now. Is there anything I can do to help this getting merged?

Gentle ping @Lucus16 @thoughtpolice

@Lucus16 All done


'Read More' content fold appears on top of contact gallery ribbon

https://www.artsy.net/artwork/andy-warhol-flowers-ii-dot-72-6
When scrolling down, the purple ribbon floats under the 'read more' line.

I think this may have been fixed? (It may have even been me as I thought I'd looked at this before). This is what I see:

Totally fixed.


DictStream.group_by uses attributes instead of dict keys

by_convid = events.group_by('conversation_id')
>>> AttributeError: 'dict' object has no attribute 'conversation_id'

Fixed in commit 8b5ce2ea4b46273e138a4d7d1dc4b85340fd9dbd


kisslicer: remove phases

Motivation for this change
#28910
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 130793 at 74fc3f70 run on x86_64-linux 1

1 package built successfully:

kisslicer

3 suggestions:

warning: build-tools-in-build-inputs
makeWrapper is a build tool so it likely goes to nativeBuildInputs, not buildInputs.
Near pkgs/tools/misc/kisslicer/default.nix:29:3:
   |
29 |   buildInputs = [
   |   ^

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/tools/misc/kisslicer/default.nix:35:3:
   |
35 |   installPhase = ''
   |   ^

warning: fixup-phase
fixupPhase should not be overridden, use postFixup instead.
Near pkgs/tools/misc/kisslicer/default.nix:40:3:
   |
40 |   fixupPhase = ''
   |   ^


Is is possible to inflate multi level sheets?

Once a sheet is inflated, if we inflate another sheet right on top of it, it renders on top of the first sheet. but is it possible to show this as multi level sheets as shown below?

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.

This project can work Nested Drawers


Update information about nix configuration

Fixes #3028.

bors merge

@nfrisby this is ready for review now

bors merge


layout changes

Coverage remained the same at 46.617% when pulling 5697a36267e9f8fb7313a224036e3c02201c1402 on jorjoh:master into 42ae21661835f6231e9e0d0bf6fdd57a185759bc on telemark:master.


Extremely long download time

Hi, thanks for the great dataset!
We are trying to download the data, but even with a good connection it seems like it would take litteral months of uninterrupted downloading. The s2a link for example  takes 45 days to download. Is there a solution for that?
Another question is that we are only interested in the areas where we have both sentinel-2 and NAIP images (and possibly sentinel-1). Is there a way to only download s2 tiles that overlap with NAIP data?

It is hosted on S3 so you should be able to start many parallel downloads to increase the download speed.
It is very big dataset so it is difficult to host in multiple places. We do still want to host on HuggingFace but I still haven't gotten around to it because there are some steps like splitting up into many small archive files.
Right now we don't have a version for just the Sentinel-2 tiles intersecting NAIP data. If you just need images then https://github.com/allenai/satlas-super-resolution/ has many aligned NAIP and Sentinel-2 images, but if you need the labels too then currently the only option is the larger download.

The dataset can now be downloaded from Hugging Face.


Returing wrong values!

The function "flesch_reading_ease" is returning a wrong value.
As per Wikipedia (Click Here)
"The cat sat on the mat." should score 116 but, the function is returning "124.61"
According to Wikipedia "The highest (easiest) readability score possible is 121.22"
I did not get a chance to evaluate the function but, this is my quick evaluation. Probably do it later!
PS: Nice work! Loved the functions you have added in the package, Cheers.

@accessgopal This appears to be an old issues with the function syllable_count. It wasn't calculating the syllable count correctly. This has been fixed in commit f3c39dd, but it hasn't been pushed to pypi yet.
Pypi package
$ pip install textstat
$ python
>>> from textstat import textstat
>>> textstat.textstat.flesch_reading_ease("The cat sat on the mat.")
124.61

Git clone
$ git clone https://github.com/shivam5992/textstat.git
$ cd textstat
$ python setup.py build
$ python setup.py install
$ python
>>> from textstat import textstat
>>> textstat.textstat.flesch_reading_ease("The cat sat on the mat.")
116.5

@shivam5992 might it be worth adding the latest changes to pypi?

@alxwrd Thanks
I will add latest changes to pypi.

Updated to Pypi.


⚠ Aither has degraded performance

In 919b574, Aither ($AIH) experienced degraded performance:

HTTP code: 200
Response time: 2017 ms

Resolved: Aither performance has improved in c56c698 after 11 minutes.


postgres: filter is not computing metrics in certain cases

When investigating #30952 I've noticed that Postgres filter is stopping to collect metrics in the following conditions:

When executing a query returning more than one column like a simple SELECT 1, 2;
When a given query throw an error like SELECT 1/0;

Just after entering in one of two situations listed above the plugin stop to decode the trafic. For example the tracing outputs below.
For a simple query like SELECT oid FROM pg_class LIMIT 1 everything works as expected
[2024-01-04 15:45:34.696][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_filter.cc:31] [Tags: "ConnectionId":"102"] postgres_proxy (onData): got 39 bytes
[2024-01-04 15:45:34.696][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:338] postgres_proxy (onDataInSync): decoding 39 bytes
[2024-01-04 15:45:34.696][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:340] postgres_proxy (onDataInSync): parsing message, len 39
[2024-01-04 15:45:34.696][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:349] postgres_proxy (onDataInSync): command is Q
[2024-01-04 15:45:34.696][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:378] postgres_proxy (onDataInSync): []
[2024-01-04 15:45:34.696][69956][debug][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:323] (Frontend) command = Q (Query)
[2024-01-04 15:45:34.696][69956][debug][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:324] (Frontend) length = 38
[2024-01-04 15:45:34.696][69956][debug][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:325] (Frontend) message = [SELECT oid FROM pg_class LIMIT 1;]
[2024-01-04 15:45:34.696][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:327] postgres_proxy (processMessageBody): 34 bytes remaining in buffer
[2024-01-04 15:45:34.696][69956][trace][filter] [source/common/tcp_proxy/tcp_proxy.cc:696] [Tags: "ConnectionId":"102"] downstream connection received 39 bytes, end_stream=false
[2024-01-04 15:45:34.699][69956][trace][filter] [source/common/tcp_proxy/tcp_proxy.cc:778] [Tags: "ConnectionId":"102"] upstream connection received 65 bytes, end_stream=false
[2024-01-04 15:45:34.699][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_filter.cc:56] [Tags: "ConnectionId":"102"] postgres_proxy (onWrite): got 65 bytes
[2024-01-04 15:45:34.699][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:338] postgres_proxy (onDataInSync): decoding 65 bytes
[2024-01-04 15:45:34.699][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:340] postgres_proxy (onDataInSync): parsing message, len 65
[2024-01-04 15:45:34.699][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:349] postgres_proxy (onDataInSync): command is T
[2024-01-04 15:45:34.699][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:378] postgres_proxy (onDataInSync): [Array of 1:{[][0][0][0][0][0][0]}]
[2024-01-04 15:45:34.699][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:319] postgres_proxy (processMessageBody): no actions do be processed
[2024-01-04 15:45:34.699][69956][debug][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:323] (Backend) command = T (RowDescription)
[2024-01-04 15:45:34.699][69956][debug][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:324] (Backend) length = 28
[2024-01-04 15:45:34.699][69956][debug][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:325] (Backend) message = [Array of 1:{[oid][1259][1][26][4][4294967295][0]}]
[2024-01-04 15:45:34.699][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:327] postgres_proxy (processMessageBody): 60 bytes remaining in buffer
[2024-01-04 15:45:34.699][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:338] postgres_proxy (onDataInSync): decoding 36 bytes
[2024-01-04 15:45:34.699][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:340] postgres_proxy (onDataInSync): parsing message, len 36
[2024-01-04 15:45:34.699][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:349] postgres_proxy (onDataInSync): command is D
[2024-01-04 15:45:34.699][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:378] postgres_proxy (onDataInSync): [Array of 1:{[(5 bytes):]}]
[2024-01-04 15:45:34.699][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:319] postgres_proxy (processMessageBody): no actions do be processed
[2024-01-04 15:45:34.699][69956][debug][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:323] (Backend) command = D (DataRow)
[2024-01-04 15:45:34.699][69956][debug][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:324] (Backend) length = 15
[2024-01-04 15:45:34.699][69956][debug][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:325] (Backend) message = [Array of 1:{[(5 bytes):49 54 52 49 52]}]
[2024-01-04 15:45:34.699][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:327] postgres_proxy (processMessageBody): 31 bytes remaining in buffer
[2024-01-04 15:45:34.699][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:338] postgres_proxy (onDataInSync): decoding 20 bytes
[2024-01-04 15:45:34.699][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:340] postgres_proxy (onDataInSync): parsing message, len 20
[2024-01-04 15:45:34.699][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:349] postgres_proxy (onDataInSync): command is C
[2024-01-04 15:45:34.699][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:378] postgres_proxy (onDataInSync): []
[2024-01-04 15:45:34.699][69956][debug][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:323] (Backend) command = C (CommandComplete)
[2024-01-04 15:45:34.699][69956][debug][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:324] (Backend) length = 13
[2024-01-04 15:45:34.699][69956][debug][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:325] (Backend) message = [SELECT 1]
[2024-01-04 15:45:34.699][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:327] postgres_proxy (processMessageBody): 15 bytes remaining in buffer
[2024-01-04 15:45:34.699][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:338] postgres_proxy (onDataInSync): decoding 6 bytes
[2024-01-04 15:45:34.699][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:340] postgres_proxy (onDataInSync): parsing message, len 6
[2024-01-04 15:45:34.699][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:349] postgres_proxy (onDataInSync): command is Z
[2024-01-04 15:45:34.699][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:378] postgres_proxy (onDataInSync): []
[2024-01-04 15:45:34.699][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:319] postgres_proxy (processMessageBody): no actions do be processed
[2024-01-04 15:45:34.699][69956][debug][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:323] (Backend) command = Z (ReadyForQuery)
[2024-01-04 15:45:34.699][69956][debug][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:324] (Backend) length = 5
[2024-01-04 15:45:34.699][69956][debug][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:325] (Backend) message = [I]
[2024-01-04 15:45:34.699][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:327] postgres_proxy (processMessageBody): 1 bytes remaining in buffer

But when trying the query SELECT oid, relname FROM pg_class LIMIT 1 for three times this is what trace show:
[2024-01-04 15:46:10.324][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_filter.cc:31] [Tags: "ConnectionId":"102"] postgres_proxy (onData): got 48 bytes
[2024-01-04 15:46:10.324][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:338] postgres_proxy (onDataInSync): decoding 48 bytes
[2024-01-04 15:46:10.324][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:340] postgres_proxy (onDataInSync): parsing message, len 48
[2024-01-04 15:46:10.324][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:349] postgres_proxy (onDataInSync): command is Q
[2024-01-04 15:46:10.324][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:378] postgres_proxy (onDataInSync): []
[2024-01-04 15:46:10.324][69956][debug][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:323] (Frontend) command = Q (Query)
[2024-01-04 15:46:10.324][69956][debug][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:324] (Frontend) length = 47
[2024-01-04 15:46:10.324][69956][debug][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:325] (Frontend) message = [SELECT oid, relname FROM pg_class LIMIT 1;]
[2024-01-04 15:46:10.324][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:327] postgres_proxy (processMessageBody): 43 bytes remaining in buffer
[2024-01-04 15:46:10.324][69956][trace][filter] [source/common/tcp_proxy/tcp_proxy.cc:696] [Tags: "ConnectionId":"102"] downstream connection received 48 bytes, end_stream=false
[2024-01-04 15:46:10.326][69956][trace][filter] [source/common/tcp_proxy/tcp_proxy.cc:778] [Tags: "ConnectionId":"102"] upstream connection received 110 bytes, end_stream=false
[2024-01-04 15:46:10.326][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_filter.cc:56] [Tags: "ConnectionId":"102"] postgres_proxy (onWrite): got 110 bytes
[2024-01-04 15:46:10.326][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:338] postgres_proxy (onDataInSync): decoding 110 bytes
[2024-01-04 15:46:10.326][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:340] postgres_proxy (onDataInSync): parsing message, len 110
[2024-01-04 15:46:10.326][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:349] postgres_proxy (onDataInSync): command is T
[2024-01-04 15:46:10.326][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_decoder.cc:378] postgres_proxy (onDataInSync): [Array of 0:{}]

[2024-01-04 15:46:17.239][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_filter.cc:31] [Tags: "ConnectionId":"102"] postgres_proxy (onData): got 48 bytes
[2024-01-04 15:46:17.240][69956][trace][filter] [source/common/tcp_proxy/tcp_proxy.cc:696] [Tags: "ConnectionId":"102"] downstream connection received 48 bytes, end_stream=false
[2024-01-04 15:46:17.241][69956][trace][filter] [source/common/tcp_proxy/tcp_proxy.cc:778] [Tags: "ConnectionId":"102"] upstream connection received 110 bytes, end_stream=false
[2024-01-04 15:46:17.241][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_filter.cc:56] [Tags: "ConnectionId":"102"] postgres_proxy (onWrite): got 110 bytes

[2024-01-04 15:46:23.014][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_filter.cc:31] [Tags: "ConnectionId":"102"] postgres_proxy (onData): got 48 bytes
[2024-01-04 15:46:23.015][69956][trace][filter] [source/common/tcp_proxy/tcp_proxy.cc:696] [Tags: "ConnectionId":"102"] downstream connection received 48 bytes, end_stream=false
[2024-01-04 15:46:23.015][69956][trace][filter] [source/common/tcp_proxy/tcp_proxy.cc:778] [Tags: "ConnectionId":"102"] upstream connection received 110 bytes, end_stream=false
[2024-01-04 15:46:23.016][69956][trace][filter] [contrib/postgres_proxy/filters/network/source/postgres_filter.cc:56] [Tags: "ConnectionId":"102"] postgres_proxy (onWrite): got 110 bytes

The same weird behavior happen if a given query throw an error.

cc @cpakulski

Just to make sure. We are talking about Envoy releases here: v.18-latest, v19, correct?

i read it as istio versions - there is a mapping here https://istio.io/latest/docs/releases/supported-releases/#supported-envoy-versions

Just to make sure. We are talking about Envoy releases here: v.18-latest, v19, correct?

Yep!!

i read it as istio versions - there is a mapping here https://istio.io/latest/docs/releases/supported-releases/#supported-envoy-versions

Nops... I've tested those versions: https://github.com/envoyproxy/envoy/releases (using docker images https://hub.docker.com/r/envoyproxy/envoy/)

@fabriziomello versions 1.18 and 1.19 (of envoy) havent been supported for a long time

Thanks for confirming. I will also add unit tests to cover that situation. It obviously was not covered.

@fabriziomello versions 1.18 and 1.19 (of envoy) havent been supported for a long time

I know... just want to understand when the regression was introduced.

Thanks for confirming. I will also add unit tests to cover that situation. It obviously was not covered.

It is not covered... unfortunately it lacks tests for DataRow responses from Postgres upstream.
One question, do we have any kind of e2e tests???

i was going to comment similar - altho the docs are end-user focused they do provide a kind of integration test - we can potentially add some steps

somewhat relatedly some of the other extensions use docker and have e2e tests in the code base
please dont do that - its non-hermetic and not the right place to add this kind of testing - its on my agenda to shift these to sandbox examples

OK. I will not use docker in e2e. Thanks for pointing it out @plax.
So far I manually crafted packets which is tedious. Maybe will use a real server on dev machine just to get wire dumps and use those to simulate server responses.


ibm-quantum-challenge-2021 Chinese 中文版解答

Name: Ran-Yu Chang
Score: 3
Chemical accuracy: 2.358814 MHA
Number of Parameters: 16

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

謝謝！


disabled PRs and CDBs and removed groovy files from seed-job

when this is merged I will enable the see-job again - right now it id disabled to prevent PRs and CDBs overwritings

the PRs are enabled again since there are changes referring the github user - we need this change in the PRs


Solves issue: "Endpoint to delete a todo item #8"

Hi @Dhruv9449 thanks for assigning me the issue. Here is the solution for the delete endpoint. It also include the create and getAll endpoints. Please let me know if you want changes, I can provide you the rest of the endpoints
Kind regards,
Carlos

Ok, changes made, please include hacktoberfest-accepted label to the repo so it can be included in hacktoberfest.
Kind regards

Sure thing! Great work!


Add campus le châtaigneraie

@Q300Z Please provide us with:

the school official website URL
the school street address, including city and country
an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course
a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.

@Q300Z You might miss my previous comment. Please react.

Hello sorry for the delay.

school website : https://www.la-chataigneraie.org/
school address : 2 Rue Charles Scherer, 76240 Le Mesnil-Esnard, France
The url of a page on the official website where the school offers an IT-related long-term (>1 year) course : https://www.la-chataigneraie.org/bts-service-informatiques-organisations-solutions-logicielles-applications-metiers/
And for the proof, you can find in the school website the contact email of the school.

@Q300Z Thank you for the clarification and your patience while waiting for a review and processing your request. Pull request merged.


Different Setup for Different Models?

Hi,
I realized that different scripts have different setup for different models. Wouldn't this lead to inconsistent test results?

GPT-4 with AzureOpenAI: The following are multiple choice questions (with answers) about {subject}. Think step by step and then output the answer in the format of "The answer is (X)" at the end.
Gemini: Finish your answer with Final Answer: (X) where X is the correct letter choice. If none or more than one of the options match, choose the one that is the closest.
vllm: The following are multiple choice questions (with answers) about {subject}. Think step by step and then finish your answer with "the answer is (X)" where X is the correct letter choice.
Claude-3: No system prompt

Regex to extract answers:

GPT-4o: single extraction, r"answer is \(?([ABCDEFGHIJ])\)?"
gemini: double extractions, r"(Answer:|answer is)\s*\(?([ABCDEFGHIJ])\)?", r' (:|is)\s*\(?([ABCDEFGHIJ])\)?\b'
vllm: double extractions, r"answer is \(?([ABCDEFGHIJ])\)?", r'.*[aA]nswer:\s*([A-J])'
GPT-4 with AzureOpenAI: triple extractions, r"answer is \(?([A-J])\)?", r'.*[aA]nswer:\s*([A-J])', r"[A-J](?=[^A-J]*$)"

Are these scripts on this repo the same scripts to produce the result on the MMLU Pro paper?

Thanks for the response.
Even evaluate_from_api.py and evaluate_from_local.py have different prompts and sampling parameters.
Which one should we use to match the paper or leaderboard?
evaluate_from_api.py:
Prompt: The following are multiple choice questions (with answers) about {subject}. Think step by step and then output the answer in the format of \"The answer is (X)\" at the end.\n\n
Sampling: temperature 0, top_p = 1
evaluate_from_local.py:
Prompt: The following are multiple choice questions (with answers) about {subject}. Think step by step and then finish your answer with "the answer is (X)" where X is the correct letter choice.
Sampling: temperature=0, no top_p is specified.

To align with the paper and leaderboard, use evaluate_from_local.py for open-source models and evaluate_from_api.py for proprietary models.

Thank you for the clarification!
I'm hoping you could help me with one more question.
The script evaluate_from_local.py only specifies temperature=0.0 without top_p whereas evaluate_from_api.py specifies both temperature=0.0 and top_p 1.0.
It looks like evaluate_from_local.py uses VLLM, and VLLM sampling_params.py seems to use top_p=1.0 as default. Thus, if not specified, I assume top_p=1.0 will be used?
Then, here is my question. Could you help me to understand why setting top_p to 1.0 is better in the context of MMLU Pro benchmark than using smaller value like 0.01 (or even 0.0) for more deterministic response?
Again, thanks so much for your help!

Smaller top_p values may restrict the model's response options primarily to the most probable choices, potentially excluding correct yet less obvious answers. Setting top_p=1.0 enables the model to explore a broader spectrum of potential responses, thereby reducing the chances of overlooking accurate but less likely outputs. Additionally, we use a small temperature value to help ensure the consistency and reproducibility of the results.

Thanks for the explanation! :)


add simple wm8994 codec driver

Summary
Impact
Testing

@ChaochaoCui could you fix the warning:
Warning: /home/runner/work/incubator-nuttx/incubator-nuttx/nuttx/drivers/audio/wm8994.h:145:62: warning: Wrong column position of comment right of code

@ChaochaoCui don't need close the PR. you can update the PR locally by:
git push -f origin stm32f746g-disco_audio


Skip suggestions with multiple options

#78
I think the changes to lib fix this, but I'm not sure how to test it, I added a test, and I've verified that it doesn't get applied, but it fails the test because it expects the output to be compilable. Maybe worth adding an option to indicate that the fixed version of the test is itself still broken code, and instead of verifying that it compiles, verify that it does not.

For now, I put it in the same file to make it easier to write and test, let me know what you think about the changes and how you want it ultimately organized.

I'm thinking it might be better to have done this by putting rs file in the JSON-parse(name pending), and then still generating the JSON from the file. That way if they change the format of output JSON it should be easier to handle it rather than digging up the source file and recreating the JSON, or worse fixing it by hand. Thoughts?


ngx-jodit-pro: ngx-jodit-pro can't be used with template driven or reactive forms

Describe the issue as detailed as possible, in a way I can reproduce it easily.
Upgraded to Jodit Pro, and now Jodit isn't working in the reactive and template driven forms I already had built.
I updated the standalone file import to import NgxJoditProComponent and updated the component in the template to
Previous Package versions

package
version

Angular
v16.2.0.

ngx-jodit
^3.1.2

jodit
^4.0.18

Pro Package versions

package
version

Angular
v16.2.0.

ngx-jodit-pro
^3.0.0-beta.6

jodit
^4.0.0-beta.121

jodit-pro
^2.0.0-beta.76

@wwstrothe  Currently ngx-jodit pro isn't supporting template driven or reactive forms. I'll dive into it.
Another topic: Because of issue #34 . Do you see any documentation about Jodit Pro v4 using ESM successfully? Or a documentation about using it with Typescript successfully? I didn't buy Jodit Pro so I can't see it myself. I'd highly appreciate any helpful information.

@wwstrothe I just released ngx-jodit-pro v3 with jodit-pro v4 support and template driven or reactive form support. Please check the installation instructions for changes.


Fixed efibootmgr commands

And removed the GhostBSD efibootmgr on rEFInd setup.

Related to https://github.com/ghostbsd/issues/issues/25


Error sending to zaddress

Describe the bug
I receive the below error when attempting to send BEER to the following z sapling address
zs1g80ekk4cezjamhcgqfvz2zjv3d5u0tqh34zrfa6pqfk4tpkqhm739j9r40x5c8krk3dxxsdh7hc
To reproduce
Steps to reproduce the behavior:

Login
On Dashboard select BEER
Select Withdraw
Enter above address then select Withdraw
-->

Expected behavior
Withdraw is executed with no errors
Screenshots

System info

OS & version: Windows 10
HyperDEX version: 0.3.0

Additional context
Error:
Unhandled Promise Rejection
Error: Couldn't create withdrawal transaction:
{ txid:
'0000000000000000000000000000000000000000000000000000000000000000',
txfee: 1000,
complete: false }
at errorWithObject (app://-/bundle.js:106021:46)
at Api._createTransaction (app://-/bundle.js:106278:13)

This is expected, shielded addresses aren't supported.


feat: show a better error message for missing nginx files

Before:
Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })

After:
Following path(s) not found: ["/var/log/nginx"] (do you have nginx set up?)
Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })

Some things to note:

behavior change: log_mem(Level::Info); is being called in the case of error, I guess that's not a problem.
stderr logging: I tried to use error! but logs didn't show up, so I went with eprintln!

closes #30

It's quite good but the "do you have nginx set up?" message should not be displayed when the user asked for a specific path, like
rhit files-I-copied-from-my-server.log

Ah I see, makes sense. My question is do you prefer to show that message if the default path (/var/log/nginx) is used or should we remove it?

The message is a nice touch, it should be displayed when relevant. Maybe make it even clearer, like "(which is the default location for ngnix log files)".

Are you going to push another commit it or would you prefer me to finish that ?

Yup I will finish this!

Just pushed 60e50c1b4ed7a4e3c52052cc56a2ed929e3ba127
So the following error message shown when /var/log/nginx is used:
Following path(s) not found: ["/var/log/nginx"] (which is the default location for nginx files, do you have nginx set up?)
Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })

I ended up doing some other changes, because of this case:
rhit existing-file.log non-existing-file.log

As it wasn't correct to say that both files weren't found, I added the missing path in the error.


Update bindings.md

Adding mention for H3 support in Azure Data Explorer

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

Thanks! Do you mind signing the CLA? Then we can merge this and deploy the docs.

Coverage remained the same at 98.513% when pulling 16ec0566af4f9ff72bdecb74c0f5083da0da7a10 on michaelbrichko:patch-1 into ea8526f5407ae72ae78265cba68f8a2c5db689c8 on uber:master.


RsIskraMeter: Initial commit

Pr adds support for Iskra's WM3M4 & WM3M4C power meters

[x] Update the framework reference for bazel https://github.com/EVerest/everest-framework/pull/166

@corneliusclaussen @Pietfried @hikinggrass This is supporting the Iskra Meter, including everything needed for german eichrecht (i.e. signed meter values). We use this one in production and would like to contribute to the eco system.

@dorezyuk this needs merging of main.


Realm: Implement GOMP_task and kmp equivalent

We are seeing a hang when invoking the pure-NumPy cholesky API inside the context of an OpenMP-enabled cuNumeric run. @eddy16112 discovered the underlying cause: NumPy calls into OpenBLAS, and that uses the Realm OpenMP module for most operations, but "falls through" to libgomp.so for GOMP_task, which is not currently implemented by Realm.
This hang only happens with OpenBLAS >= 0.3.22. It goes away if we build with -DLegion_OpenMP_SYSTEM_RUNTIME=ON, but that is not a good long-term solution. We could presumably manually build OpenBLAS against Realm's OpenMP, and then the "fall-through" would become evident at link time, but we would prefer to use the existing builds from conda, which are agnostic to Realm, and just know about libgomp.so.
The long-term solution here is to implement GOMP_task (and its kmp equivalent) in Realm's openmp_api.cc.
This would have been easier to diagnose if Realm provided assert(false) stubs for the entire GOMP/kmp API, so that these cases of fall-through become obvious.

This is fixed by https://gitlab.com/StanfordLegion/legion/-/merge_requests/844, but we need a review on that.
This is blocking cuNumeric from bumping its openblas dependency.

Added to the Realm agenda for next week.


Fix visibility check with glow while dead

This is just a small issue I noticed with the cheat a few months ago that hasn't been fixed. This seems to fix everything, the problem here occurs when you have glow enabled with separate colors for visibility, and while spectating localplayer can't see the player, but the player you are spectating can. This is kind of hard to explain, but in bot games with fixes the problem completely. If you need further explanation or if I missed something, please leave a comment.
Thanks!

and so you're gay, so uh... umm///...

This also fixes the problem with visible only ESP if local player is dead, I don't know why this isn't merged yet.

this crashes if you are the T and everyone in your team is dead and bomb planted, when playing competitive, retake or wingman.
there is must be null check missing.


fix(Input): Allow "right" to be passed as actionPosition/iconPosition on Input element

actionPosition and iconPosition both default to "right", but prop-types for both warn when "right" is passed in. Came up in the following case:
<Form.Input label="Some label" actionPosition="right">
  <input />
  {flag && <Button content="Sometimes Visible" />}
  <Button content="Always Visible" />
</Form.Input>

Codecov Report

Merging #1802 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1802   +/-   ##
=======================================
  Coverage   99.75%   99.75%
=======================================
  Files         144      144
  Lines        2463     2463
=======================================
  Hits         2457     2457
  Misses          6        6

Impacted Files
Coverage Δ

src/elements/Input/Input.js
100% <ø> (ø)
:arrow_up:

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 dbc3b00...2bb9b30. Read the comment docs.

An action input defaults to right position.  Instead of actionPosition use action.
-<Form.Input label="Some label" actionPosition="right">
+<Form.Input label="Some label" action>

The actionPosition prop is only required when you want to change the position of the action.


ETELEGRAM: 400 Bad Request: there is no live location in the message to edit

Why I'm Getting This in Live location?
I'm Admin of Bot and I want to Send My Live location to users via Bot.
bot.onText(/\/OurLocation/, async  msg => {
    await bot.sendMessage(msg.chat.id, `Check Our Live Location`, {
        parse_mode: 'Markdown',
        reply_markup: {
            inline_keyboard: [
                [{
                    text: `Click Here`,
                    callback_data: `ourlivelocation`
                }]
            ]
        }
    });
})
```

I had a mistake to used another function


Set JAVA_OPTS for Standalone

I need to add some java opts for wildfly for our ear. I'm working on this currently by converting the bin/standalone.conf file into an erb and puppeting it.

Did this in #34. Instead of doing a sed replace to set the java heap sizes I copied the bin/standalone.conf file from wildfly and templated it.


Feat(web): Introduce UNSTABLE_FooterContent component #DS-1372

Description

Additional context

[ ] How should we rename three main block – columns, content, copyright?
[ ] Should be Copyright block separated component?
[ ] Solve the comments from #1540 in this PR

Issue reference

coverage: 77.951%. remained the same
when pulling 5ddeb5e9a3cc49680389bb88db3bb5890fa8662d on feat/DS-1372-introduce-footer-content
into 210823aed6402ab93ff8e4ea1f023d332417afc6 on feat/DS-1367-introduce-footer.

We agreed to refactor component Footer. Will be refactored during DS-1419.


EF7 beta6 missing from myget release source?

Might me misunderstanding something here, but is the EF 7 Beta6 package missing from the MyGet release source?

The EntityFramework meta package has been removed, use for ex EF.SqlServer or EF.Relational

Thanks, but shouldn't the meta package be removed from MyGet?

That's a good question, I'm not sure if we have left all the previous version of the packages there (the meta package did ship for Beta 5).
cc @Eilon to see what he thinks.

No one should ever use the aspnetrelease source anyway, outside of the feature team working on stabilization. If you see anything pointing at it, we should fix it to point to a correct feed.
We don't generally go back and purge those feeds, but they do occasionally get purged for other maintenance purposes.


[FLINK-31284][tests] Increase KerberosLoginProvider test coverage

What is the purpose of the change
There was a blocker fix which added some uncovered execution paths. In this PR I've added more coverage for stability.
Brief change log
Increases KerberosLoginProvider test coverage.
Verifying this change
Extended unit tests.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

cc @gyfora


Sign in with Apple unavailability 19:41 - 22:13 UTC 18-Oct-2023

Elevated rate of failed login using Sign in With Apple starting 19:41 UTC on 18-Oct-2023.

Problem resolved 22:13 UTC 18-Oct-2023


net/http: handling range requests for empty files

What version of Go are you using (go version)?
go version go1.16.3 darwin/amd64
Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/matt/Library/Caches/go-build"
GOENV="/Users/matt/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/matt/Code/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/matt/Code/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GOVCS=""
GOVERSION="go1.16.3"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/matt/Code/go/skyd/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/f9/2yp855dn19s0cqcjwbrv_0900000gn/T/go-build2190681930=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?

In our API package we add a range request to the HEADER like so
	req, err := c.NewRequest("GET", resource, nil)
	if err != nil {
		return nil, errors.AddContext(err, "failed to construct GET request")
	}
	req.Header.Add("Range", fmt.Sprintf("bytes=%d-%d", from, to))
	httpClient := http.Client{CheckRedirect: c.CheckRedirect}
        res, err := httpClient.Do(req)

When we extended our testing to include zero-byte (ie empty) files we found that the response from the httpClient.Do method is 416 Requested Range Not Satisfiable.  This was with a from and to values of 0.
Now I know that technically that is correct since that range request is asking for the first byte and that doesn't exist in an empty file. However, I could not find in the documentation a way to submit range requests for empty files.
Would it be possible for the standard library to be updated to provided direction on how to submit a range request for an empty file? Or do you expect the caller to make that determination and just not submit a range if it is an empty file.
What did you expect to see?
There should be a standard way to handle a range request for a zero-byte (empty) file.
What did you see instead?
416 Requested Range Not Satisfiable

What specific behavior do you want here?
From RFC 7433, Section 4.4:

The 416 (Range Not Satisfiable) status code indicates that none of the ranges in the request's Range header field (Section 3.1) overlap the current extent of the selected resource...

A request for "bytes=0-0" is a request for the first byte of a resource. If the resource is 0-length, the range [0,0] does not overlap the resource content and the server responds with a 416. That seems like a correct response.
RFC 7433, Section 4.4 does also state:

For byte ranges, failing to overlap the current extent means that the first-byte-pos of all of the byte-range-spec values were greater than the current length of the selected representation.

That could be read as stating that a request for [0,0] overlaps a 0-length representation, because the first-byte-pos (0) is not greater than the length (0). However, this interpretation would require responding with a 0-length 206 Partial Content response, which is not possible since the Content-Range header does not provide a way to encode a 0-length range. So I believe the interpretation of this sentence consistent with the rest of RFC 7433 is that a range fails to overlap if every first-byte-pos references a value past the end of the content.

What specific behavior do you want here?

@neild thanks for the response
I agree with what you said. Using range requests and handling 0 byte files seems like a pretty common case to handle, so my main question was if we could add documentation to the go library for how to handle that case or have a special case for this.
When I was looking into it I did find this project issue that talked about using a 1-0 range request to indicate a 0 byte file.  https://github.com/SitePen/dstore/issues/109#issuecomment-383220628
If you don' t feel it is appropriate for the go library to handle the 0 byte file case then I think it would be good to add something to the documentation so that the next time someone is searching for how to handle 0 byte file range requests in golang they come across the docs that say they don't :-)  and that each application to handle those requests.

This isn't really a Go issue. There's no way to issue an RFC 7433-conformant request for a range of a 0-length file. A range request is a request for a non-zero-length range of bytes. A 0-length file contains no bytes. I believe that a 416 Range Not Satisfiable response is correct in this situation. There are other correct responses (we could ignore the Range header entirely for 0-length files, for example, and return a 200 response), but I don't see a reason those other possibilities are better. I don't think there's anything surprising about responding to a request for data past the end of a file with, "Sorry, the file isn't that big".
A request containing bytes=1-0 is unambiguously invalid under RFC 7433:

A byte-range-spec is invalid if the last-byte-pos value is present and less than the first-byte-pos.


[ACM-12523] Onboard siteconfig component

Description
Onboarding siteconfig component into ACM 2.12.
Related Issue
https://issues.redhat.com/browse/ACM-12523
Changes Made
Added siteconfig component to MCH configuration.
Screenshots (if applicable)
Add screenshots or GIFs that demonstrate the changes visually, if relevant.
Checklist

[ ] I have tested the changes locally and they are functioning as expected.
[ ] I have updated the documentation (if necessary) to reflect the changes.
[ ] I have added/updated relevant unit tests (if applicable).
[ ] I have ensured that my code follows the project's coding standards.
[ ] I have checked for any potential security issues and addressed them.
[ ] I have added necessary comments to the code, especially in complex or unclear sections.
[ ] I have rebased my branch on top of the latest main/master branch.

Additional Notes
Add any additional notes, context, or information that might be helpful for reviewers.
Reviewers
Tag the appropriate reviewers who should review this pull request. To add reviewers, please add the following line: /cc @reviewer1 @reviewer2
Definition of Done

[ ] Code is reviewed.
[ ] Code is tested.
[ ] Documentation is updated.
[ ] All checks and tests pass.
[ ] Approved by at least one reviewer.
[ ] Merged into the main/master branch.

/retest

/retest

/lgtm

/retest

Overriding the sonar job since it is failing due to the scans against the siteconfig yaml. We do not maintain the main content within the manifest; therefore, we would need to either work with the squad that owns the component to resolve the sonar warnings or we should exclude the yaml files from being scanned for PRs.
/override sonar-pre-submit

/lgtm

/override ci/prow/sonar-pre-submit


Loading parquet sources with Float timestamp is broken

getting:
thread 'tokio-runtime-worker' panicked at 'called `Result::unwrap()` on an `Err` value: failed to prepare batch
├╴at [/Users/eric.pinzur/src/github.com/kaskada-ai/kaskada/crates/sparrow-session/src/table.rs:150:14](https://file+.vscode-resource.vscode-cdn.net/Users/eric.pinzur/src/github.com/kaskada-ai/kaskada/crates/sparrow-session/src/table.rs:150:14)
│
├─▶ internal error
│   ╰╴at [/Users/eric.pinzur/src/github.com/kaskada-ai/kaskada/crates/sparrow-runtime/src/prepare/preparer.rs:122:18](https://file+.vscode-resource.vscode-cdn.net/Users/eric.pinzur/src/github.com/kaskada-ai/kaskada/crates/sparrow-runtime/src/prepare/preparer.rs:122:18)
│
├─▶ failed to create Parquet file reader
│   ╰╴at [/Users/eric.pinzur/src/github.com/kaskada-ai/kaskada/crates/sparrow-runtime/src/prepare.rs:79:18](https://file+.vscode-resource.vscode-cdn.net/Users/eric.pinzur/src/github.com/kaskada-ai/kaskada/crates/sparrow-runtime/src/prepare.rs:79:18)
│
╰─▶ Internal error
    ├╴at [/Users/eric.pinzur/src/github.com/kaskada-ai/kaskada/crates/sparrow-runtime/src/prepare.rs:78:18](https://file+.vscode-resource.vscode-cdn.net/Users/eric.pinzur/src/github.com/kaskada-ai/kaskada/crates/sparrow-runtime/src/prepare.rs:78:18)
    ╰╴Expected column 'ts' to be castable to Timestamp(Nanosecond, None), but Float64 was not', src/table.rs:95:24
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---------------------------------------------------------------------------
RustPanic                                 Traceback (most recent call last)
[/var/folders/_7/czrlt9jx79n78l_zsyfwycs40000gp/T/ipykernel_50657/1098232920.py](https://file+.vscode-resource.vscode-cdn.net/var/folders/_7/czrlt9jx79n78l_zsyfwycs40000gp/T/ipykernel_50657/1098232920.py) in <cell line: 1>()
      2 # Use the "ts" column as the time associated with each row,
      3 # and the "channel" column as the entity associated with each row.
----> 4 messages = await kd.sources.Parquet.create(
      5     path = "slack-export/messages.parquet",
      6     time_column = "ts",

[~/.pyenv/versions/3.11.4/lib/python3.11/site-packages/kaskada/sources/arrow.py](https://file+.vscode-resource.vscode-cdn.net/Users/eric.pinzur/src/github.com/kaskada-ai/beep-gpt/~/.pyenv/versions/3.11.4/lib/python3.11/site-packages/kaskada/sources/arrow.py) in create(path, time_column, key_column, schema, subsort_column, grouping_name, time_unit)
    579
    580         if path:
--> 581             await source.add_file(path)
    582         return source
    583

[~/.pyenv/versions/3.11.4/lib/python3.11/site-packages/kaskada/sources/arrow.py](https://file+.vscode-resource.vscode-cdn.net/Users/eric.pinzur/src/github.com/kaskada-ai/beep-gpt/~/.pyenv/versions/3.11.4/lib/python3.11/site-packages/kaskada/sources/arrow.py) in add_file(self, path)
    586         path = Source._get_absolute_path(path)
    587
--> 588         await self._ffi_table.add_parquet(path)

RustPanic: rust future panicked

Blocked on #776

I suspect this is broken because Parquet sources use the old prepare logic, rather than the prepare code we threw together for preparing Pandas / PyArrow data. We either need to fix the old prepare code, or switch it to using the new / simpler prepare logic.

Yeah, could probably just do a small hack here that casts floats to ints first, then to timestamps. I worry about the cross-usage of the old prepare code with the newer prepare code. I think it's going to slowly bloat again as we work on parity, but we'd have to spend some time to redesign prepare to be a bit cleaner.
https://github.com/kaskada-ai/kaskada/blob/88de931e2df5b0d073baf3326dde1f86dcb609f4/crates/sparrow-runtime/src/prepare/prepare_input_stream.rs#L45


Transition/Animation for Tabs

Any way to apply transition or animation on tabs? I couldn't find anything which works for tabs.

Please use StackOverflow for usage questions: https://stackoverflow.com/questions/tagged/semantic-ui-react


Cannot read property 'jumpTo' of undefined

Current behaviour
I am trying to override BottomTabBar with one imported from react-native-tabs. However, when clicking on one of the bottom tabs, instead of navigating to its corresponding StackNavigator, the following error message is displayed:

Expected behaviour
The expected behaviour is to import the BottomTabBar and for it to allow navigating between tabs and function as if it was not overridden at all.
Code sample
This is my MainNavigator of the application:
import React from 'react';
import { createStackNavigator, createAppContainer } from 'react-navigation';
import { createBottomTabNavigator, BottomTabBar } from 'react-navigation-tabs';
import HomeScreen from '../screens/tabs/homeTab/HomeScreen';
import SearchScreen from '../screens/tabs/searchTab/SearchScreen';

const HomeStack = createStackNavigator({
  Home: HomeScreen
});

const SearchStack = createStackNavigator({
  Search: SearchScreen
});

export default createAppContainer(createBottomTabNavigator({
  HomeStack, SearchStack
},
  {
    tabBarComponent: props =>
      <BottomTabBar
        {...props}
        style={{ borderTopColor: '#605F60' }}
      />,
  }));

What have you tried
I am not running Expo so I believe it might be some sort of Podfile or linking issue. However, I have no idea how I can debug or check this. I am open to any suggestions on how to resolve this.
Your Environment

software
version

ios or android
iOS 12.2

react-native
0.59.5

react-navigation-tabs
2.1.3

node
v10.15.3

npm or yarn
npm

Hey EddieEJ, Did you resolved this issue? @EddieEJ

@nguyen96 I was getting the error since I was using an old version of React Navigation with the latest react-navigation-tabs. Simply updating React Navigation fixed it for me.

@EddieEJ  It work! Thank you so much!


WebSocket: add extended logs

https://github.com/gatling/gatling/issues/4306

Example
Code:
  val wsCheckCompleted = ws
    .checkTextMessage("Ws check [completed]")
    .matching(regex("COMPLETED"))

  val wsSendText = ws("Ws send text")
    .sendText("""{"auth":{"token":"blabla"}}""")
    .await(30 seconds)(wsCheckCompleted)

Logs:
14:01:14.607 [DEBUG] i.g.h.a.w.WsLogger$ - Request 'Ws send text' failed for user 1: Check timeout
14:01:14.634 [DEBUG] i.g.h.a.w.WsLogger$ -
>>>>>>>>>>>>>>>>>>>>>>>>>>
Request:
Ws send text: KO Check timeout
=========================
Session:
Session(Example scenario,1,Map(gatling.http.ssl.sslContexts -> io.gatling.http.util.SslContexts@fa39da, gatling.http.cache.dns -> io.gatling.http.resolver.ShufflingNameResolver@74f3a467, gatling.http.cache.baseUrl -> https://httpbin.org, gatling.http.webSocket -> io.gatling.http.action.ws.fsm.WsFsm@5c577ea3),OK,List(),io.gatling.core.protocol.ProtocolComponentsRegistry$$Lambda$483/0x00000008005ba040@376ac420,io.netty.channel.nio.NioEventLoop@a68df9)
=========================
WebSocket check:
Ws check [completed]
=========================
WebSocket request:
{"auth":{"token":"blabla"}}
=========================
WebSocket received messages:
14:00:59.427 [0] -> {"status":"DISPATCHED"}
14:00:59.464 [1] -> {"status":"RECEIVED"}
14:00:59.502 [2] -> {"status":"RECEIVED"}
14:00:59.664 [3] -> {"status":"RECEIVED"}
14:01:00.209 [4] -> {"status":"RECEIVED"}
14:01:00.365 [5] -> {"status":"RECEIVED"}
14:01:00.444 [6] -> {"status":"FAILED"}
<<<<<<<<<<<<<<<<<<<<<<<<<

@slandelle Thank you for reviewing! I'm gonna fix

@Amerousful Please re-request a review once you're done.

@slandelle Got it.

@slandelle I don't sure completely about function naming wsLogsPiling, so any suggestions?

cherry-picked, thanks a lot!

Thank you too!


getAllData is not returning available wifi networks

getAllData is not returning available wifi networks

@ishan3350 added to getDynamicData() and getAllData(). Version 4.25.2 just released.

Thank you for quick update. Appreciate your efforts!


suggest: possibility of adding a custom texture to each head

My suggestion is to be able to put a custom texture to each head, since I would like to be able to put heads of different texture. example: to put heads with texture of Japanese lamps to match the theme of my server.

Hi, thanks for your suggestion!
I will put it in my idea list because currently the plugin is not necessarily designed for this use case, its main purpose being to hide a random number of heads with the same texture and it might be complex to add that, at least without thinking. I'll think about adding this feature though :)

ok, thank you very much, I hope it can be added

This feature has been implemented and will be part of the next update!


Enhance recursion detection

It is easy to create infinite recursion with Robot:
*** Test Cases ***
Example
    Recursion

*** Keywords ***
Recursion
    Recursion

To prevent recursive execution failing on Python side for RecursionError in an unexpected location, which typically breaks output.xml, we have a hard limit of 100 recursive keyword or control structures. The limit was added in RF 2.7 (#551) and it was initially 42, but it was raised to 100 in RF 5.0 (#4191) when we didn't need to anymore think about Jython.
A recent change to listeners (#5268) allowed listeners to get notifications from actions they initiated which may cause recursion with listeners. For example, this one keeps calling Log forever (i.e. until recursion is forcefully stopped):
from robot.libraries.BuiltIn import BuiltIn

def start_keyword(data, result):
    BuiltIn().run_keyword('Log', 'Recursion!')

Interestingly in this usage the current mechanism to detect recursion doesn't work. As the result, execution using the above listeners fails so that output.xml is corrupted. The reason seems to be that there are more Python stack frames used when listeners are involved and a simple fix would be lowering the current limit of 100 started keywords or control structures to something like 75. I guess that would be fine, but there could be someone who's affected by the change.
An alternative fix is coming up with a better way to detect recursion. Instead of having a hard limit of started keywords or control structures, we could look are we close to Python's recursion limit. That was actually mentioned as an option already in #551, but mentioned in a comment, using len(inspect.stack()) would be really slow. Good news is that I found a more performant way to do that using sys._getframe. sys._getframe isn't guaranteed to exist on all Python implementations, but it exists at least in PyPy and it's easy to handle it not existing in others.

The new system automatically adapts to Python's recursion limit, but I just realized that isn't tested or documented. So, two more things to do related to this:

Test that it's possible to increase the limit by using sys.setrecursionlimit.
Mention this somewhere in the User Guide.


Fix broken dependencies

Regeneration of the provider gives us the following error:
go install -ldflags "-X github.com/pulumi/pulumi-azuread/pkg/version.Version=v0.18.3-dev.1562587268+g09109f6" github.com/pulumi/pulumi-azuread/cmd/pulumi-tfgen-azuread
vendor/github.com/Azure/go-autorest/autorest/adal/token.go:37:2: cannot find package "github.com/Azure/go-autorest/tracing" in any of:
    /home/travis/gopath/src/github.com/pulumi/pulumi-azuread/vendor/github.com/Azure/go-autorest/tracing (vendor tree)
    /home/travis/.gimme/versions/go1.12.6.linux.amd64/src/github.com/Azure/go-autorest/tracing (from $GOROOT)
    /home/travis/gopath/src/github.com/Azure/go-autorest/tracing (from $GOPATH)
make: *** [tfgen] Error 1

Closed via #13


Inconsistent timer state and visualization

Home Assistant release with the issue:

0.82
Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.):

hass.io and osx
Component/platform:

timer
Description of problem:
when using timers timer.start does NOT reset the timer, and when timer been stopped and started the visualization no longer works.
Below is a an example of a motion light setup using a timer. Should be pretty straight forward but a few things to notice when actually running this:

when the timer is running the state of the timer is always returned with the following attributes:

attributes": {
    "duration": "0:05:00",
    "remaining": "0:05:00"
  },

duration makes sense is static but why is remaining never updated ? I assume because it would be noisy, but then shouldn't remaining be something to get via  a service rather than having a "dead" value in the attributes?

calling timer.start does not reset the counter in the UI but in actual behavior it does seem to have been reset.

sometimes the timer is running but the UI just shows 'active' rather than an actual countdown.

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

automation:
  - alias: Turn on kitchen when there is movement
    trigger:
      - platform: state
        entity_id: binary_sensor.presence_kitchen
        to: 'on'
    action:
      - service: timer.start
        entity_id: timer.timer_kitchen
      - service: homeassistant.turn_on
        entity_id: group.kitchen_lights
  - alias: Turn off kitchen lights at end of timer
    trigger:
      - platform: event
        event_type: timer.finished
        event_data:
          entity_id: timer.timer_kitchen
    action:
      - service: homeassistant.turn_off
        entity_id: group.kitchen_lights

timer:
      timer_kitchen:
          duration: '00:05:00'

Traceback (if applicable):

Additional information:
My expectation would be that I could use the timer UI to show the actual state of timers so I can see if the various motion triggered timers are actually working and I would like that the state or service of timers would actually be possible to use to get the remaining time for further automation/visualization.

i'll add that using a lovelace entity card, and putting a timer into the card as an entity, the time remaining seems to be updating correctly for me.
However, if you put a timer into a lovelace glance card, then it does not show the time remaining at all, just the state (either active or idle). I'm not sure if this is a timer thing or a glance thing... but thought I'd mention it while we're talking about timer related issues.

@pjv it show the time correctly (a countdown) until it doesn't :) I think the trigger is call to timer.start or timer.cancel + timer.start or similar which results in the visualization being "weird".

@maxandersen that may be. i should have mentioned that the template switches and automations i am currently using with timers do not do any cancels - only starts and finishes.

Seems to be primarily frontend related (and there are other backend issues related to restarting timers and the duration attribute, so I'm going to move this to the frontend repo.
/move to home-assistant-polymer


Fix tls report (2.7)

Summary
Use & prioritize TLS port for phone-home capability
Full changelog

Use & prioritize TLS port for phone-home capability

Notes:
I disabled two tests as they were inadvertently sending metrics to our metrics instance (kong-hf.kong.com). This behavior existed before this patch.

"db config db_import does not require Kong to be running"

Reason:
They do not start kong and therefore do not take a patched dnshosts file that would redirect kong-hf.kong.com to localhost.
I also disabled this test:

stream reports tcp streams
stream reports tls streams

I'm not seeing how they every should've passed in the first place.
Creating a ticket to track this. https://github.com/Kong/kong/issues/8160

//cc @randomcamel

//cc @RobSerafini


ConfigManager listens for  and propagates global client config changes

Add a mechanism for client configs to be updated to each window automatically when updated manually or via enable/disable command (should fix #477)
This also fixes an issue where the "enable/disable globally" commands only enables a config for  the current window.
Also address the poor encapsulation of window configuration (apply_window_settings should be done by the WindowConfigManager itself.

Coverage increased (+0.07%) to 37.231% when pulling 00ccb48231b3465ceccddac7fe376aa7f0358094 on client-config-management into 48346fdb32e8c92bcab66087bce658578477a0ac on master.

I'm not sure this works. I did the following: Open ST window with a language server. Edit client config in my prefs. Nothing happens. Restart server with LSP: Restart Servers. Nothing changed.
How is this supposed to work?

Sorry, I moved the important initial work out of this PR to #710. This PR can stay in WIP for a while :)


feat: handle scalar multiplication in linear_combination

This PR extends linear_combination to handle scalar multiplication.  Examples (under sensible typeclasses, here omitted):
example {a b : K} {x : V} (h : a ^ 2 + b ^ 2 = 1) :
    a • (a • x - b • y) + (b • a • y + b • b • x) = x := by
  linear_combination (norm := module) h • x

example {v w x y : V} (h₁ : x - y = -(v - w)) (h₂ : x + y = v + w) : x = w := by
  linear_combination (norm := module) (2:K)⁻¹ • (h₁ + h₂)

example {a b : K} {x y z : V} (hb : 0 ≤ b) (hab : a + b = 1) (H : z ≤ a • x + b • y) (hyz : y ≤ z) :
    a • z ≤ a • x := by
  linear_combination (norm := skip) b • hyz + hab • z + H
  apply le_of_eq
  module

As is apparent from these examples, it is still generally necessary to invoke a nonstandard discharger (generally module or match_scalars) when using linear_combination with this new feature, since the default discharger (ring) is not usually useful on module goals.

Would it be hard to make it attempt to use module when scalar multiplication appears?

Sure, you could propagate some flag.  I think the criterion would actually be "involves a scalar multiplication and treats an equality goal", because as you see from the examples above, more work is needed on inequality goals.
I don't yet have a settled opinion about whether this is a good idea, so I'd prefer that the first version of the feature (this PR) not include that, and reassess when the feature has built a user base.


R1:  Free5GC SMF

Steps used to build/create/test:

cd ./free5gc-operator
make generate
make manifests
make install
kubectl apply -f ./config/crd/bases/workload.nephio.org_smfdeployments.yaml
make docker-build
make docker-push
make deploy
k apply -f test/smfdeploy.yaml
k apply -f test/upfdeploy.yaml

Checking:

k get pods -A

Sample local K8s dev environment

Ubuntu Server 20.04.5/amd64
go1.20.4 linux/amd64
kubeadm, kubelet, kubectl 1.27.1
2 nodes:  c3-cp1 & c3-node1

Test Results:
avo@c4-cp1:~/dev/n2vo/free5gc/free5gc-operator$ k get pods -A
NAMESPACE                 NAME                                                   READY   STATUS    RESTARTS   AGE
free5gc-operator-system   free5gc-operator-controller-manager-6fb9cf7646-r57gt   2/2     Running   0          50s
kube-flannel              kube-flannel-ds-5dvqx                                  1/1     Running   0          8d
kube-flannel              kube-flannel-ds-85b8q                                  1/1     Running   0          8d
kube-system               coredns-5d78c9869d-8m9fr                               1/1     Running   0          8d
kube-system               coredns-5d78c9869d-gtjvm                               1/1     Running   0          8d
kube-system               etcd-c4-cp1                                            1/1     Running   0          8d
kube-system               kube-apiserver-c4-cp1                                  1/1     Running   0          8d
kube-system               kube-controller-manager-c4-cp1                         1/1     Running   0          8d
kube-system               kube-multus-ds-n9krs                                   1/1     Running   0          8d
kube-system               kube-multus-ds-v5fj7                                   1/1     Running   0          8d
kube-system               kube-proxy-bxqm4                                       1/1     Running   0          8d
kube-system               kube-proxy-wx9r5                                       1/1     Running   0          8d
kube-system               kube-scheduler-c4-cp1                                  1/1     Running   0          8d
smf-1                     free5gc-smf-1-748b45f749-q5w89                         1/1     Running   0          31s
upf-1                     free5gc-upf-1-668c6769bd-wkvk5                         1/1     Running   0          23s

/lgtm

Hi  @tliron , @denysaleksandrov
Please correct me if I am wrong, Ideally operator should watch for crds and automatically reconcile it and spawn the upf/smf/amd pod correct?
The steps mentioned in the description by @n2vo , for me it looks like we are explicitly applying the CRDs.

@vireshnavalli correct, SMF controller starts and wait for SMFDeployment kinds to be created/applied to a cluster.
But before a controller starts we need to register SMFDeployment kind with a cluster by applying a CRD definition found here. Otherwise we get such an error:
...    ERROR   setup   unable to create controller     {"controller": "SMFDeployment", "error": "no kind is registered for the type v1alpha1.SMFDeployment in scheme \"pkg/runtime/scheme.go:100\""}

The following line in the description was used during development and testing for the same purpose:
...
kubectl apply -f ./config/crd/bases/workload.nephio.org_smfdeployments.yaml
...

@vireshnavalli, Correct. Local CRDs in this repo are used only for testing and development. I  would personally keep them here as well for that purpose.

@n2vo great start! I added some comments and some thoughts on how to improve things.

@johnbelamaric regarding Finalizers. I initially added Finalizers to UPFDeployment, which is used as a base for AMF/SMFDeployment code. Then @tliron suggested against using finalizers and I refactored my code to use ControllerReference:
...
			// Set the controller reference, specifying that UPFDeployment controls underlying deployment
			if err := ctrl.SetControllerReference(upfDeploy, cm, r.Scheme); err != nil {
				log.Error(err, "Got error while setting Owner reference on configmap.", "UPFDeployment.namespace", namespace)
			}
...
				// Set the controller reference, specifying that UPFDeployment controls underlying deployment
				if err := ctrl.SetControllerReference(upfDeploy, deployment, r.Scheme); err != nil {
					log.Error(err, "Got error while setting Owner reference on deployment.", "UPFDeployment.namespace", namespace)
				}

So that allows to controller to delete both dependency config-map and deployment objects if UPFDeployment is deleted.
The same is implemented in the SMF controller. We discussed it many times in sig-auto-workload meetings.
I tested it, if UPFDeployment is deleted, all dependency objects are deleted as well.

@denysaleksandrov Ah, right. The finalizers are only needed when dealing with resources external to the cluster. API server will garbage collect based on owner refs. That's great, thanks.

/lgtm

/approve


New accessdev can't connect to accesscollab

resolution_invalid   |    by<EMAIL_ADDRESS>
Hi,
The umui on accessdev will need to connect to accesscollab for people to copy their jobs across.
At the moment I get the error "No route to host" when trying to connect, so I assume there is a firewall in between the new cloud and accesscollab.
Can the firewall be opened between accessdev on the new cloud and accesscollab?

Issue migrated from trac:41 at 2024-01-31 17:26:52 +1100

<EMAIL_ADDRESS>changed status from new to assigned

<EMAIL_ADDRESS>changed status from assigned to closed

<EMAIL_ADDRESS>changed resolution from `` to invalid

<EMAIL_ADDRESS>changed owner from `` to cma900

<EMAIL_ADDRESS>commented

Milestone accessdev v1.0 deleted

<EMAIL_ADDRESS>commented

Can you please submit this request to the NCI help desk as it's outside the accessdev environment: http://nf.nci.org.au/help.php
The source IP address range for the accessdev VMs is: <IP_ADDRESS>/29
Make sure you include the port number(s) you need access to.

<EMAIL_ADDRESS>removed milestone (was accessdev v1.0)


The DbaCredentialParameter - killing the unneeded credential prompts permanently

[x] Feature

The plan is to create a special parameter class for credential objects, thereby eliminating the automatic credential prompt on older PowerShell version while - at the same time - granting additional usability upgrades.
The basic features are:

Accept PSCredential object as input
Accept null as input
Accept string as input, prompt for password
Accept Network-credentials as input

Can be used in all instances that ...

Ask for a PSCredential
Ask for a NetworkCredential

Now, if we do this, we might as well go whole hog and here's a few ideas on how this could be extended:

We could provide a function (Register-DbaCredential or something like that), that stores credentials. They could either be assigned to all connections to a server, or could be automatically retrieved when passing the correct name as string to the parameter class.
We could automatically register credentials we prompt for and remember them
We could automatically register credentials we prompt for and remember them, but disable the feature by default
When prompting for credentials (only when specifying a string as input), we could add a checkbox to the prompt, offering the user to remember the credentials, either for the next time he specifies the string or for all connections the credentials are actually used for.

Feedback on those ideas most welcome :)
Cheers,
Fred

Example on how it would look in practice:
# Old
[PSCredential]$SqlCredential

# New
[DbaCredential]$SqlCredential

No other change necessary to use/implement it

What encryption method would you use to store the credentials?
Would it be accessible from local machine only (like central machine), only by user that created it or by anyone?
Sent from my Verizon SM-G900V using FastHub

Would be totally current user only, encryption already provided thanks to windows security (basically the exact same way PSCredential does, as that'll be the medium I'd use).

yes please! 🏆
any chance we can get a dbainstance param alias for dbainstanceparameter?


More visual indication of the "post project creation steps" monterey is executing

As soon as a project is created the user can tell monterey to execute certain steps to get the project in a runnable state:

Right now the progress of these tasks can be seen via the taskmanager, but this is pretty hidden and does not give the user a good overview of what monterey is doing to setup the project.
So I wonder if we could do something like this:

As soon as the project is created (in a situation where the user told monterey to install the npm dependencies and afterwards start au run --watch) monterey will add numbers to relevant tiles and show a spinner in the tile monterey is working on. In the above screenshot you can see that monterey is working on installing the npm dependencies.
Not sure if this is possible, but we can give it a try. This is a also a good way to test (and improve) the extensibility of the tiles

The "au run --watch" tile can be seen as a shortcut for

So if you switch project and that project does not have NPM task running, it will not display anything ?
What about having a red number in taskbar after "Taskmanager" text so its easier to see how many tasks are running/scheduled ?

So if you switch project and that project does not have NPM task running, it will not display anything

Yes, the npm logo will be shown instead. One thing I like about this is that it is really close to what the user would do if this wouldn't be done automatically. The user would open the NPM tile, click 'Install', wait for the spinner, then start au run --watch. Now the user can just sit back and watch the process happening in the tiles

What about having a red number in taskbar after "Taskmanager" text so its easier to see how many tasks are running/scheduled ?

I don't think this solves the problem where the taskmanager is not good at visualizing what it's doing when multiple steps are involved.

This is a huge issue and the initial ideas about addressing it are great
I want to come back to this once I finish all emails in my queue this morning

I like what is proposed here. I also "remembered" this issue as I would like to revisit it once I am done with straight testing.

this will be part of https://github.com/monterey-framework/monterey/issues/166