qt5: 5.14.2 -> 5.15.0

Motivation for this change
Update to Qt 5.15.
This is just a rebased version of https://github.com/petabyteboy/nixpkgs/pull/1
All thanks go to @nrdxp and @petabyteboy who did the actual work
Things done

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

[ ] 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/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

I have rebased this to current master and added the change from https://github.com/NixOS/nixpkgs/pull/95772 to Qt 5.15 as well.

This should probably go to the staging branch, can you change that?

I've rebased it to staging.

I moved the milestone. I want to have this in NixOS 20.09 because the support window for Qt 5.14 will end before NixOS 21.03. I'm building this locally right now, but obviously I won't be able to finish reviewing until tomorrow. :sweat_smile:

I still want to merge this, but we will not make Qt 5.15 the default version. It is not officially supported by many packages yet, particularly it is unsupported by Plasma.

@ttuegel So we have to use a version of qt in stable for plasma that won't be supported?

From looking at all-packages.nix, default for linux is 5.14 right now, which will be supported until 2020-12-12.
5.12 is still supported until 2020-12-12.

So we have to use a version of qt in stable for plasma that won't be supported (at some tiny point before 21.03)?

@worldofpeace We actually need to revert to Qt 5.12 in stable. Plasma 5.18 doesn't support Qt 5.14, and Plasma 5.19 is only supported until October (and isn't merged anyway).

@worldofpeace We actually need to revert to Qt 5.12 in stable. Plasma 5.18 doesn't support Qt 5.14, and Plasma 5.19 is only supported until October (and isn't merged anyway).

I don't think we should stick with LTS versions of Plasma if that means we can't upgrade Qt.  AFAICT Plasma LTS releases only come around once every 1.5 years, so we would only be able to upgrade Qt every 1.5 years either.
If maintaining non-LTS versions (5.19) of Plasma is infeasible, could we instead override the Qt version only for Plasma and keep the system version at 5.15?
BTW, did you run into any other build errors with 5.15 aside from Plasma?

I don't think we should stick with LTS versions of Plasma if that means we can't upgrade Qt.

Plasma 5.18 is the only version of Plasma that will have support through our support window for NixOS 20.09, so I don't think we have much choice there. Plasma 5.20 won't be released until October, and Plasma 5.19's support window expires shortly after. We don't have the resources to be backporting security patches onto Plasma 5.19 for six months. Qt 5.12 is also an LTS release, with security updates beyond the support window of NixOS 20.09.
The status of different version combinations is:

I can't even build Qt 5.15 right now, let alone build anything with it.
Plasma 5.18 officially supports Qt 5.12. Plasma 5.18 builds with Qt 5.14, but it's not officially supported upstream and it's very glitchy. (I'm using it right now, but I haven't been able to update my main work machine because it's so bad.)
Plasma 5.19 supports Qt 5.14 officially. It does not support Qt 5.15, so I expect that combination to be buggy. The support window ends when Plasma 5.20 is released in October. It's too late to update for NixOS 20.09 now, and even if I begged for an exception (which I won't) I can't see how we can support it until NixOS 21.03.

I can't imagine foisting any combination other than Plasma 5.18 + Qt 5.12 on users of NixOS 20.09. The combination is supported upstream and each has LTS support through our support window. I think anything else would be an utter disaster.

@ttuegel All of that sounds good to me.  I encourage any option that makes Plasma use Qt 5.12.

I'm going to open two separate pull requests:

Add Qt 5.15 and make it the default for everything except Plasma and KDE Applications, which stay at Qt 5.14. (I know, yet another pull request, I'm sorry.) I think this one can go directly into master because it shouldn't be a mass rebuild.
Revert Plasma 5.18 to Qt 5.12. This needs to go into staging because it is a mass rebuild. This does not need to hold up the release branch because we can always push it into the release staging branch after. (It's a 3-line change, there won't be conflicts.)

I think this meets everyone's needs, and we can get it done quickly.


Feature/new update submission status algorithm

Purpose:
This PR is an attempt to improve the submission status change algorithm performance.
Changes:
Instead of looping over all jobs of a submission entity when 1 job status is updated, we will update the submission status based only on the recently updated job status.
Remaing tasks:

Looking into adding check for submission status in test_orchestrator.py

Result
Previously, when running pytest tests/enterprise/core/test_end_to_end.py::test_without_authorization_standalone on my local (the previous test used during our discussion), it took 22.55s to run, after applying this changes, it now takes only 5.39s to run!
Results from running profiling:
------------ Old version ------------

------------ New version ------------

@jrobinAV yep we can! Sorry for that!


Samples do not build

README.md does not state how to build the samples in the samples directory
cd samples && go build results in errors:

# github.com/Microsoft/cognitive-services-speech-sdk-go/samples/speaker_recognition
speaker_recognition/independent_identification.go:12:2: imported and not used: "github.com/Microsoft/cognitive-services-speech-sdk-go/samples/helpers"
speaker_recognition/independent_identification.go:16:84: undefined: common
speaker_recognition/independent_identification.go:23:20: outcome.profile undefined (cannot refer to unexported field or method profile)
speaker_recognition/independent_identification.go:42:37: undefined: common
speaker_recognition/independent_identification.go:43:21: undefined: VoiceProfileEnrollmentResult
speaker_recognition/independent_verification.go:12:2: imported and not used: "github.com/Microsoft/cognitive-services-speech-sdk-go/samples/helpers"
speaker_recognition/independent_verification.go:16:6: GetNewVoiceProfileFromClient redeclared in this block
	/home/chrb/git/cognitive-services-speech-sdk-go/samples/speaker_recognition/independent_identification.go:16:110: previous declaration
speaker_recognition/independent_verification.go:16:84: undefined: common
speaker_recognition/independent_verification.go:41:6: EnrollProfile redeclared in this block
	/home/chrb/git/cognitive-services-speech-sdk-go/samples/speaker_recognition/independent_identification.go:41:99: previous declaration
speaker_recognition/independent_verification.go:68:6: DeleteProfile redeclared in this block
	/home/chrb/git/cognitive-services-speech-sdk-go/samples/speaker_recognition/independent_identification.go:68:65: previous declaration
speaker_recognition/independent_identification.go:43:21: too many errors

This is Ubuntu LTS (20.04.4) with go-1.17.4

@chrbsg Thanks for using the Speech SDK and writing this issue up. I checked in some fixes for this with this commit
Could you pull latest and give this another try?

@glharper it fails as-is due to samples/go.mod pulling in the older version (v1.20.0) of the SDK, but if I add replace github.com/Microsoft/cognitive-services-speech-sdk-go => ../ to samples/go.mod then it builds ok. It might make sense to build the samples against the current git checkout, rather than some tag, but you could tag it and update the go.mod too.

closed as 1.22.0 release has been done.


Improve a gradebook service: send the scores from External Tools to Gradebook so that the scores are not released to students by default

Enhacement:
Currently there is a gradebook service that allows to send scores from External tools (Assignments, Samigo, Lessons, Forums) to Gradebook. This gradebook service sends the scores so that they are released to students by default.
This gradebook service should be improved by allowing to send the scores from External tools to Gradebook so that the scores are not released to students by default.
This gradebook service is used in Gradebook, Gradebook2 and Gradebook NG.
Related Jiras: GRBK-1453, SAK-31014

I've closed this ticket because this enhacement is related to the "edu-services" component instead of the Gradebook NG.


Fix Spotify podcast embed

Decided to remove the embed for now. Could be added again when this page gets a facelift.


Fixing rent node error

Description
Fixing rent node error
Changes
-Fixing toast error while insufficient balance
Related Issues
#1804
Checklist

[ ] Tests included
[ ] Build pass
[ ] Documentation
[x] Code format and docstrings
[ ] Screenshots/Video attached (needed for UI changes)

It kept loading and nothing happened

Screencast from 12-31-2023 01:24:20 PM.webm

It kept loading and nothing happened

Screencast.from.12-31-2<IP_ADDRESS>.PM.webm

But this contract in grace period, is this the reason whey it didn't get deleted ?


Fixed CreateClassVoice Plugin

This is actually the fix this time 💯
Not entirely efficient though, let me think on it

fixes #328


More turn instructions

With some little changes in the Path class, now more turn instructions are available. Now only the continue instruction on a road whose name don't change is omitted. See also #94.
Had to adjust several tests. I hope this is sufficient for testing this feature.

Thanks!

With some little changes in the Path class, now more turn instructions are available.

'More instructions' are not necessarily better, what exactly does it change? And does it change the performances of calculating the instructions?

Had to adjust several tests. I hope this is sufficient for testing this feature.

As this improves turn instructions I would like to have a test added which shows this.

'More instructions' are not necessarily better, what exactly does it change?

Indeed, now regardless name change we have a new instruction?
Also "continue" instruction seems producing the same?
And that's the most frequent complaint for GraphHopper instructions, too much unnecessary continues. :smile:

@don-philipe would you mind to explain the changes a bit? (plus see my questions)

Sorry for the delay, was very busy the last weeks.

Also "continue" instruction seems producing the same way?
And that's the most frequent complaint for GraphHopper instructions, too much unnecessary continues.

I implemented this feature mainly addressing routing for blind persons. They need the information about direction changes even if the OSM-Tags don't change. In #94 someone suggested that this feature should be optional (only for certain routing profiles?).

'More instructions' are not necessarily better, what exactly does it change?

The changes in the Path class affect the decision about the instruction generation. In the original code instruction where only generated when name or annotation of an edge changed (plus first instruction and roundabout instructions). With my changes the last "else if" branch is transformed into an "else" branch. Now an instruction is produced with every new edge. At the end of this branch another "if" decides whether to accept this instruction or not. This was neccessary because the direction calculation is done in this branch. Instructions are now accepted if the edge name or annotation changes (as in previous version) or if the direction is not "continue".
All in all we have now also instructions with direction changes not only when the OSM-Tags are changing, but as well when they don't change (as in first example in #94).

And does it change the performances of calculating the instructions?

I haven't done measures regarding perfomance. But as explained above, there is more calculation do to now (at least one calculation for every edge).

In #94 someone suggested that this feature should be optional (only for certain routing profiles?)

Ah, okay. This would make sense. But as it is now it is not mergable. Maybe you or someone else has tome for this :) ?


bug: state appears to be shared between tests

Component
Forge
Have you ensured that all of these are up to date?

[ ] Foundry
[ ] Foundryup

What version of Foundry are you on?
forge 0.2.0 (1197fbe 2024-08-09T00:25:08.996768000Z)
What command(s) is the bug in?
forge test
Operating System
None
Describe the bug

Clone the optimism monorepo and check out this branch: https://github.com/ethereum-optimism/optimism/pull/11423
Run just test, and you'll notice testDebug fails. That is hardcoded data from a failed CI run
Now, only run the failed test: forge test --mt testDebug -vvv. It will pass. If you run the full file containing that test it will also still pass.
Compare the passing and failing traces (see below screenshots). Notice how in the passing one, the call is to an unlabeled address, and in the failing one it's to an address labeled ForgeArtifacts. Based on the hardcoded calldata in testDebug, we can see that address is 0x5F65cD7D792E9746EF82929D60de9a1C526f93A5.

So what appears to be happening here is that when the full suite is run, contracts deployed from another test (1) leak into the fuzzer dictionary of this test, and (2) the state leaks into this test as well.

@grandizzy I wonder if the dictionary is unique per test contract and not TestContract::test ?

@mattsse I don't think so because  forge test --mp test/libraries/SafeCall.t.sol also passes
It seems likely the issue is actually related to library deployments and linking: https://github.com/ethereum-optimism/optimism/pull/11426#issuecomment-2278508861

@mattsse I actually think there's a bug introduced with https://github.com/foundry-rs/foundry/pull/8497
here, as it seems the executor for fuzz tests is not cloned anymore?
https://github.com/foundry-rs/foundry/commit/4a41367398ddc35faf705f5d93e7e1a4eae3884d#diff-98c09a5d1cb595f37109d7b1c0109ee32dd74dc1d253cdda9a63e4ce32bf49d5R628-R671

@mattsse I updated my above comment, but have confirmed the cause of the bug was library linking: once we remove all public methods from libs the issue goes away

When running test suites requiring library linking, forge predeploys all libraries which are required by at least one test contract and reuses resulted state. This likely causes some of those libraries being used as fuzz dictionary values, which could've resulted in this failure


add doctstring

@Gitya can you add doct sting into the functions on taxi_drivers.py

@Gitya can you add doct sting into the functions on taxi_drivers.py

@Gitya can you add doct sting into the functions on taxi_drivers.py


Images not loading

the images are in the folder but they are not being displayed.

FileNotFoundException in Server.php line 497:
Could not find the image images/backdrops/3GZul5YwnDpuP4N1DWNbP7VnxZT.jpg.
in Server.php line 497
at Server->makeImage('backdrops/3GZul5YwnDpuP4N1DWNbP7VnxZT.jpg', array('w' => '1080')) in Server.php line 428
at Server->getImageResponse('backdrops/3GZul5YwnDpuP4N1DWNbP7VnxZT.jpg', array('w' => '1080')) in ImageDownloadController.php line 21
at ImageDownloadController->show('backdrops/3GZul5YwnDpuP4N1DWNbP7VnxZT.jpg', object(Server), object(Request))
at call_user_func_array(array(object(ImageDownloadController), 'show'), array('path' => 'backdrops/3GZul5YwnDpuP4N1DWNbP7VnxZT.jpg', object(Server), object(Request))) in Controller.php line 55
at Controller->callAction('show', array('path' => 'backdrops/3GZul5YwnDpuP4N1DWNbP7VnxZT.jpg', object(Server), object(Request))) in ControllerDispatcher.php line 44
at ControllerDispatcher->dispatch(object(Route), object(ImageDownloadController), 'show') in Route.php line 203
at Route->runController() in Route.php line 160
at Route->run() in Router.php line 559

You'll want to check the file permissions of your images, as php-fpm does not have read access. By default, the current permissions are supposed to be 644 when files are written for posters/backdrops/etc, and directories are 755.
For example, if you ran a CLI command like php artisan airflix:movies as root (or some other user) and the permission set for the image files being written was 600 (likely because of the storage directory permissions), then the web server user (i.e. www-data) would be incapable of reading said files.
The quick solution from the app directory is something like:
chmod -R 644 storage/ and chown -R www-data:www-data storage/
You could also clear out the image cache directory too with:
rm -rf storage/app/images/.cache

chmod -R 644 storage/app/images and chown -R www-data:www-data storage/app/images
changed nothing
I thought it was permissions and been messing around with them.

http://flix.alienz.win/images/backdrops/3GZul5YwnDpuP4N1DWNbP7VnxZT.jpg
http://i.imgur.com/F0kBunW.png

Based on the screenshot of your file permissions, it is still likely a file/folder permissions issue. If the PHP application cannot locate the file, then it doesn't have the ability to read the file currently. Check to make sure that the permissions for the folders for the entire application are 755. The only other possibility would be a change in configuration of config/filesystems.php relating to the app disk.
Also, I would recommend that you do not host this application over the public web. The original intent was to use it on a home server/local network only. Your http://flix.alienz.win is accessible by anyone over the public web. When I visit that page, I see you have two TV shows listed on the shows page and can confirm that the images are not loading there.
At this point, I can't really help you much further. I can confirm that I have this working with nginx and php7.0-fpm on a home server. Good luck.


[Enhance] change strategy of pipeline_dop

What type of PR is this：

[ ] bug
[ ] feature
[x] enhancement
[ ] refactor
[ ] others

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

Change the default parallel strategy to pipeline-parallel instead of instance-parallel, with several exceptions:

One phase aggregation: to avoid the cost of local aggregation
Bucket join
Colocate join

Experiment Result
The conclusion is that's no significant difference in general case(tpch) , just affect some special cases.

Query
Before(ms)
After(ms)

tpch/q1
927
1196

tpch/q10
414
418

tpch/q11
169
179

tpch/q12
177
184

tpch/q13
1450
993

tpch/q14
184
172

tpch/q15
256
254

tpch/q16
152
161

tpch/q17
469
582

tpch/q18
1408
1443

tpch/q19
227
227

tpch/q2
223
229

tpch/q20
1319
1085

tpch/q21
1379
1390

tpch/q22
715
465

tpch/q3
470
477

tpch/q4
218
204

tpch/q5
650
658

tpch/q6
119
100

tpch/q7
6377
6431

tpch/q8
426
397

tpch/q9
1426
1406

ssb/q01
82
81

ssb/q02
74
72

ssb/q03
71
68

ssb/q04
317
329

ssb/q05
270
278

ssb/q06
290
284

ssb/q07
477
473

ssb/q08
306
297

ssb/q09
254
252

ssb/q10
110
106

ssb/q11
722
696

ssb/q12
290
284

ssb/q13
311
294

run starrocks_fe_unittest

[FE PR Coverage check]
:disappointed: fail : 22 / 31 (70.97%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/qe/Coordinator.java
0
2
00.00%

:large_blue_circle:
com/starrocks/planner/PlanFragment.java
16
23
69.57%

:large_blue_circle:
com/starrocks/qe/SessionVariable.java
1
1
100.00%

:large_blue_circle:
com/starrocks/sql/plan/PlanFragmentBuilder.java
3
3
100.00%

:large_blue_circle:
com/starrocks/system/BackendCoreStat.java
2
2
100.00%

[FE PR Coverage check]
:disappointed: fail : 28 / 37 (75.68%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/qe/Coordinator.java
0
2
00.00%

:large_blue_circle:
com/starrocks/planner/PlanFragment.java
16
23
69.57%

:large_blue_circle:
com/starrocks/qe/SessionVariable.java
1
1
100.00%

:large_blue_circle:
com/starrocks/sql/plan/PlanFragmentBuilder.java
5
5
100.00%

:large_blue_circle:
com/starrocks/sql/optimizer/operator/physical/PhysicalHashAggregateOperator.java
1
1
100.00%

:large_blue_circle:
com/starrocks/system/BackendCoreStat.java
5
5
100.00%

[FE PR Coverage check]
:disappointed: fail : 31 / 40 (77.50%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/qe/Coordinator.java
0
2
00.00%

:large_blue_circle:
com/starrocks/planner/PlanFragment.java
16
23
69.57%

:large_blue_circle:
com/starrocks/qe/SessionVariable.java
1
1
100.00%

:large_blue_circle:
com/starrocks/sql/plan/PlanFragmentBuilder.java
8
8
100.00%

:large_blue_circle:
com/starrocks/sql/optimizer/operator/physical/PhysicalHashAggregateOperator.java
1
1
100.00%

:large_blue_circle:
com/starrocks/system/BackendCoreStat.java
5
5
100.00%

[FE PR Coverage check]
:heart_eyes: pass : 28 / 35 (80.00%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/planner/PlanFragment.java
16
23
69.57%

:large_blue_circle:
com/starrocks/qe/SessionVariable.java
1
1
100.00%

:large_blue_circle:
com/starrocks/sql/plan/PlanFragmentBuilder.java
5
5
100.00%

:large_blue_circle:
com/starrocks/sql/optimizer/operator/physical/PhysicalHashAggregateOperator.java
1
1
100.00%

:large_blue_circle:
com/starrocks/system/BackendCoreStat.java
5
5
100.00%

[FE PR Coverage check]
:heart_eyes: pass : 28 / 28 (100.00%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/qe/SessionVariable.java
1
1
100.00%

:large_blue_circle:
com/starrocks/sql/plan/PlanFragmentBuilder.java
5
5
100.00%

:large_blue_circle:
com/starrocks/sql/optimizer/operator/physical/PhysicalHashAggregateOperator.java
1
1
100.00%

:large_blue_circle:
com/starrocks/system/BackendCoreStat.java
5
5
100.00%

:large_blue_circle:
com/starrocks/planner/PlanFragment.java
16
16
100.00%

@Mergifyio rebase

[FE PR Coverage check]
:heart_eyes: pass : 28 / 28 (100.00%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/qe/SessionVariable.java
1
1
100.00%

:large_blue_circle:
com/starrocks/sql/plan/PlanFragmentBuilder.java
5
5
100.00%

:large_blue_circle:
com/starrocks/sql/optimizer/operator/physical/PhysicalHashAggregateOperator.java
1
1
100.00%

:large_blue_circle:
com/starrocks/system/BackendCoreStat.java
5
5
100.00%

:large_blue_circle:
com/starrocks/planner/PlanFragment.java
16
16
100.00%

@Mergifyio backport branch-2.3


[PSA] Selective dropping of cloned packets in PRE

Apologies in advance for my limited understanding of PRE.
Is it possible to selectively drop only the cloned packet and not the original? In other words, replacing pre.drop() with pre.drop_all() and pre.drop_cloned()?

And by the same token, drop_original(), even though I am not aware of such a use-case.

@hanw I don't have a good answer to this question.  Just calling this issue to the attention of Han Wang, who is thinking about PRE issues for PSA.

To remind everyone about the context, in the last meeting, we voted to use metadata to control the clone operation in PRE. The current thinking is to have a metadata bit that is an out parameter from ingress to PRE that represents if a clone operation needs to happen for the packet-in-process. If that bit is not set anywhere in the pipeline, then the packet is assumed to be (by default) not cloned. A packet is only cloned if the clone bit is set to true.
Further, the cloned copy of a packet has a metadata bit (to the parser) to identify it as a cloned copy. Therefore, the pipeline can drop the cloned packet by setting the drop bit when processing the cloned copy of the packet.
drop_original() can be implemented by setting both the drop bit and clone bit for the original packet. It might be useful to implement pipeline bypassing.

drop_all() is encoded as drop == 1 && clone == false
drop_clone() is encoded as drop == 0 && clone == false
drop_original() is encoded as drop == 1 && clone == true
normal clone is encoded as drop == 0 && clone == true

Thanks @hanw
Just to confirm, the clone is a copy of the packet as seen at ingress (or egress) and not the current state of the packet at the time of cloning. For example, would the TTL modification earlier in the pipeline be reflected in the clone? Perhaps this can be clarified in the PRE spec. Thanks!

@samar-abdi @hanw With Han's recent changes where when cloning a packet, you also specify whether the packet is the original packet, or the modified packet, I think that should address Samar's question, although having a few more explicit sentences describing this in the PSA spec would be worthwhile.


Please consider fixing issues detected by repository checker

Notification from ioBroker Check and Service Bot
Dear adapter developer,
I'm the ioBroker Check and Service Bot. I'm an automated tool processing routine tasks for the ioBroker infrastructure. I have recently checked the repository for your adapter swiss-weather-api for common errors and appropiate suggestions to keep this adapter up to date.
This check is based the current head revisions (master / main  branch) of the adapter repository
Please see the result of the check below.
ioBroker.swiss-weather-api
   -
:thumbsup: No errors found
WARNINGS:

[x] :eyes: [W156] js-controller 5.0.0 listed as dependency but 5.0.19 is recommended. Please consider updating dependency at io-package.json.

:thumbsup: No suggestions found
Please review issues reported and consider fixing them as soon as appropiate.
Warnings reported by repository checker should be reviewed. While some warnings can be ignored due to good reasons or a dedicated decision of the developer, most warnings should be fixed as soon as appropiate.
You may start a new check or force the creation of a new issue at any time by adding the following comment to this issue:
@iobroker-bot recheck
or
@iobroker-bot recreate
Please note that I (and the server at GitHub) have always plenty of work to do. So it may last up to 30 minutes until you see a reaction. I will drop a comment here as soon as I start processing.
Feel free to contact me (@iobroker-bot) if you have any questions or feel that an issue is incorrectly flagged.
And THANKS A LOT for maintaining this adapter from me and all users.
Let's work together for the best user experience.
your
ioBroker Check and Service Bot
@mcm1957 for evidence
Last update at Fri, 01 Nov 2024 06:04:39 GMT based on commit 394df642ddeb7029d1433c3bc8345f8b19d0e730
ioBroker.repochecker 3.1.4

Fixed with https://github.com/baerengraben/ioBroker.swiss-weather-api/releases/tag/v2.2.2


Add sync_dir input to enable sync specified directory

This PR is to add a new optional input sync_dir, which will make it possible to only sync the specified directory. It is empty by default, which means to sync the whole bucket.

thanks for merging, any plans for a new release so we can use it?

I released your changes. See Release 1.3.


ggml vicuna llama_cpp/llama.py init assert self.ctx is not None

Hey I'm trying to install ggml vicuna following this link: https://agi-sphere.com/install-textgen-webui-mac/
The texgen-webui works as I tested it on a small LLM model, however, it doesn't work for ggml models. Below is the error:
Traceback (most recent call last):
File “/Users/username/text-generation-webui/server.py”, line 67, in load_model_wrapper
shared.model, shared.tokenizer = load_model(shared.model_name)
File “/Users/username/text-generation-webui/modules/models.py”, line 85, in load_model
output = load_func(model_name)
File “/Users/username/text-generation-webui/modules/models.py”, line 242, in llamacpp_loader
model, tokenizer = LlamaCppModel.from_pretrained(model_file)
File “/Users/username/text-generation-webui/modules/llamacpp_model.py”, line 50, in from_pretrained
self.model = Llama(**params)
File “/Users/username/opt/miniconda3/envs/vicuna_ggml/lib/python3.10/site-packages/llama_cpp/llama.py”, line 161, in init
assert self.ctx is not None
AssertionError
Any idea of how to fix this?

Did you manage to get it figured out ? @milobestcat

@PoyBoi Yup, to make it work you need to install the most recent ggml model like q5_1, besides for pytorch installation, instead of using the given command, I used this one: pip install -U --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html


An new error after updating.

System OS
Termux (Android)
Python Version
3.11 (CPython)
Install Source
Termux Installation Script (spotDL provided)
Install version / commit hash
Not downloaded with pip
Expected Behavior vs Actual Behavior
After updating spotdl it started giving me a error with every command.
Steps to reproduce - Ensure to include actual links!
Just install a new version of spotdl after you already have it installed.
Traceback
Traceback (most recent call last):
  File "/data/data/com.termux/files/usr/bin/spotdl", line 5, in <module>
    from spotdl import console_entry_point
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/spotdl/__init__.py", line 13, in <module>
    from spotdl.console import console_entry_point
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/spotdl/console/__init__.py", line 5, in <module>
    from spotdl.console.entry_point import console_entry_point
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/spotdl/console/entry_point.py", line 9, in <module>
    from spotdl.console.download import download
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/spotdl/console/download.py", line 7, in <module>
    from spotdl.download.downloader import Downloader
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/spotdl/download/downloader.py", line 20, in <module>
    from spotdl.providers.audio import AudioProvider, YouTube, YouTubeMusic
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/spotdl/providers/audio/__init__.py", line 5, in <module>
    from spotdl.providers.audio.base import (
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/spotdl/providers/audio/base.py", line 14, in <module>
    from spotdl.utils.formatter import create_search_query, create_song_title
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/spotdl/utils/formatter.py", line 13, in <module>
    import pykakasi
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pykakasi/__init__.py", line 44, in <module>
    from .kakasi import Kakasi, PyKakasiException, UnknownCharacterException
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pykakasi/kakasi.py", line 11, in <module>
    from .kanji import JConv
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pykakasi/kanji.py", line 10, in <module>
    from .properties import Configurations
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pykakasi/properties.py", line 8, in <module>
    import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'

Other details
Im no expert but it might be something about pkg_resources modular.

If anyone ever has this error use this:
pip install setuptools


Upgrade faktory net to 0.7.0. Force a dependabot change that aged out

This was a change that dependabot tried to apply and looks like it got lost somehow. Redo by hand to get rid of old alterts.

opps. Created from wrong base.


Default sources for common data encoding formats (hexdump, base64 etc.)

Hi All,
Recently, I was implementing a PDF file parser and as part of the development I needed support for various data decoding filters while reading the data using BufferedInputStream. For example, data read from the file was in bin hexdump or was in Base64 encoding or run length encoding.
I had to implement a few sources for the same. However, I am wondering if some of the filters can be developed as part of this package itself as I am sure others may get benefited with these added functionality.
regards,
Sambit

Hi,
That sounds in the scope of TranscodingStreams.jl, which provides byte-stream to byte-stream transformation interfaces by wrapping an IO stream. I mainly target it to lossless compression formats but theoretically it can support any codec like base64. The internals are not well documented yet but other packages (e.g. CodecZlib.jl) may be helpful to grasp how it works.
I'm going to replace this package with TranscodingStreams.jl in the BioJulia project.

Thanks. I will look into that package. I used Libz.jl package earlier. May be it's apt to move to CodecZlib.jl.

Closing at alternates exist.


Lack of proper documentation

Is your feature request related to a problem? Please describe.
Unable to install on debian / CentOS with actual procedures.
Describe the solution you'd like
Step by step procedure to deploy a fully working cluster on both debian and CentOS.
Describe alternatives you've considered
Step by step procedure to manually deploy a fully working cluster on both debian and CentOS.
The actual documentation is fairly incomplete and outdated and cover the installation only on RedHat Enterprise.
I already offered my help to write such procedures but I need support from the team.

I have to agree with this assessment. This current release of arm64 ceph is not even compatible with the majority of people trying to use it on Ubuntu. I have been trying to get this application set up for months, and it is mostly boils down to lack of proper documentation and packages not being updated. I'm sure this works on older RHEL or CENT x86 without much issue, but just following along with the basic information available can be misleading and ends up wasting more time than necessary for simple things. The project certainly could use some help.
For example: There were no current arm64 focal packages 2 months ago, so I had to update my entire operating system to hirsute to try to get it to work. That being said, ceph doesn't actively update hirsute releases, and the 16 .2.4 release does not actually work with arm64. The only package that works that is currently made available that should work is Focal  16.2.5, but my entire operating system is now on hirsute.
On top of this, the release key that ceph uses is not compatible with ubuntu/apt/ansible,  So either I have to manually install all of the packages on each machine (giving that the documentation in site.yml is incomplete) or downgrade all of my servers that I specifically updated to an unsupported releases because that was the only version of ceph available at the time.
I've wasted more time trying to install this application than ever even trying to get it to work properly. One may criticize my ability all they want, but it shouldn't be this much of an enigma to get a simple application to run. In reality, the application is not an issue, it just not properly supported.

I'm developing my own procedures to manually bootstrap a ceph cluster; is not so much complicated and I think that using ansible may conceal know how useful when running the cluster and you get in throuble.
The worse however is yet to come: I'm running through developing php scripts to interact with the cluster with librados and the whole radosphp documentation is: "Read the f***g code!" :-D

I confirm that the ansible scripts for stable-4.0 fail on Debian 10.

Also, your bot "This issue has been automatically marked as stale" needs to be configured to give some more time for people to check the issues. It seems to be closing any issues without providing a response, workaround or fix.

Stable 4.0 and 5.0 failing for Red Hat/Centos 7 and 8 due to the release keys


Installer does not warn of/detect MacOS being too old

I ran the installer in the recovery OS, following these instructions:

Poweroff your Mac. Hold and press the power button until you see a wheel chain and Options written below. Approx 20 seconds.
In the boot picker, choose Options. Once loaded, open a Terminal under Utilities > Terminal
Run the asahi installer and select Debian:
curl -sL https://tg.st/d | sh

The result was the message: "This appears to be an intel mac"
This was due to the installer script (install.sh) running:
'arch -arm64 ls'.
On my machine that gives "arch: posix_spawnp: ls: bad CPU type in executable"
'arch' gives:
arm64
'arch -x86_64 ls' also gives "arch: posix_spawnp: ls: bad CPU type in executable"
The script also prints 'dirname: command not found' because that command is indeed not on the path in the recoveryOS.
The real issue here is that I have v11.0.1 of MacOS, and the installer script requires at least 12.3, (which is not noted in the above instructions (from  https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/), but is noted on https://asahilinux.org/2022/03/asahi-linux-alpha-release/
"Make sure to update your macOS to version 12.3 or later, then just pull up a Terminal in macOS and paste in this command:
curl https://alx.sh | sh
")
A version check in the script would be helpful.
/System/Library/CoreServices/SystemVersion.plist contains the version in ProductVersion, for example.

After upgrading to 12.3 the output of the commands changes:
'arch -arm64 ls'
".forward    Library" (i.e ls is run)
'arch'
arm64
'arch -x86_64 ls':
"arch: posix_spawnp: ls: bad CPU type in executable"
So now things work as expected and the Asahi linux installer starts.
(I do still see "/tmp/asahi-installer/install.sh line 6: dirname: command not found" when the installer script is run in the RecoveryOS)


Minimum support scale

in doc, you write patterns = pyfpgrowth.find_frequent_patterns(transactions, 2) , 2 is minium support right ? in my knowledge, FP-growth has minimum support and minimum confidence in % , my question is, what scale of minimum support ? thx

Yes, it is the minimum support.
This implementation uses an absolute minimum support count, like the description in Han, 2000. A relative support is possible too, i.e. 0.1 would mean the item has to appear in one out of ten transactions or more, but I haven't implemented that. It's trivial, though.
The minimum confidence is used in the generate_association_rules step.

so you mean, it's minimum item appear 2 in trasaction right ?

Yes.

Why not implement like confidence? With %


Revamp media.py

This pull request aims to bring in a necessary bug fix: #4 , as well as some code cleanup in media.py:

Make media.Track.get() take album and metadata arguments so that media.Album.get_tracks() can directly call media.Track.get()
If only 1 URL is presented by the manifest, GET it with HTTP range requests
Supporting the above, in requesting.py add three functions that generate range request headers for a given URL

Good to close #4 with this PR.


Make Observable#++'s argument lazy

Fixes #643.
Done as part of the Scala Spree at https://scala.sphere.it/ :D

I see that the build fails when compiling for JS - will take a look

@Avasil gotcha.
The semantics for startWith wouldn't have changed much (self was passed as the rhs, so it would already have been evaluated), but perhaps it'll be more efficient to use concat in it anyways, so I did that

@alexandru There seems to be problem with Observable.++ stack-safety, we've tried different implementations and all of them(using by-name, deferring Observable etc.) were failing due to StackOverflow after running test many times.

I changed nats to this, will see if the build passes:
val nats: Observable[Long] = {
  def loop(acc: Long): Observable[Long] =
    Observable.now(acc) ++ loop(acc + 1)
  loop(1)
}

A merge with master might be needed.

Rebased to master :) yeah, now I see that mistake with the tail recursion.

Thanks for the commit, btw!

Seems like it's just missing
ProblemFilters.exclude[IncompatibleMethTypeProblem]("monix.reactive.Observable.++")

Hopefully that'll be enough ;) thanks @avasil

Thanks and we can finally merge it! @kubukoz


Unsupported Tag Api with android device

Hello,
I am trying to use this package between two android device , and when i am trying to write  a tag from one to another  i received this information 'unsupported tag api error ' . Is there anyone meets same error?

Currently this library is targeting a device (as a NFC reader) vs a NFC tag or card, not a device to another device (called NFC P2P), thanks!

The fact that this library doesn't support this use case needs to be documented more clearly. Device to device using regular NFC communication is quite a popular use case.


Auth Secret error

While running backend, it throw new Error("FATAL ERROR: auth secret is not defined.");
Wonder what could be the auth secret?

Sorry for the late reply, this error means that you didn't initialize the secrete key which uses to verify and sign the token.
simply to solve this problem all you need to export your auth key before starting the server.


Refractor the css in group.scss

Firstly checkout to the lms-lti branch
see the file app/assets/stylesheets/groups.scss where the class named groups-lmsmodal-link-text need to be refractored.
the class name is too long refractor it as something like this
.groups-lms-model {
  .link-text {
     // styles here
   }
}

I'll work on this

Is the scope of refactoring only limited to groups-lmsmodal-link-text class?
There are a few other long class names as well (in app/assets/stylesheets/groups.scss) which can be refactored in the same way.

Is the scope of refactoring only limited to groups-lmsmodal-link-text class?
There are a few other long class names as well (in app/assets/stylesheets/groups.scss) which can be refactored in the same way.

can you provide some inputs @tachyons

Is the scope of refactoring only limited to groups-lmsmodal-link-text class?
No, you can fix other issues as well

@LinaJohnson Yes, Idea is to refactor styles without changing the existing user interface

hello i am looking to contribute and i am a newbie, Is this issue still open?

Can I work on this issue? I will refractor the group.scss as much as possible.

I am working on this issue will provide a PR soon

Sir can I work on this please, I am new to open source and love to contribute to your organization, it would be better for me to try a good first issue first.

is it open?


DateTime arithmetic doesn't factor in timezones.

Steps To Reproduce
public class Program
{
    public static void Main()
    {
       Console.WriteLine(DateTime.Now - DateTime.UtcNow);
    }
}

Expected Result
-04:00:00 (or whatever your timezone is)

Actual Result
00:00:00

Hi @sichbo – Thanks the report. It's unfortunate this defect was not discovered earlier. I think I see the problem and it's an easy fix. We will fix right away and include the fix in the next release.

Thanks Geoff! Keep up the great work.

A pull-request has been submitted with a fix for this issue. Once the pr is reviewed and any final testing is complete, the pr will be added to the next release. We are anticipating this fix will make it into the upcoming 16.8.2 release.
Hope this helps.
Thanks again for reporting the defect.

The change looks good. Ensured there will be unit tests (well, that works as long as you are not in GMT/UTC, of course) so that this issue never comes back.

Fixed and included in the Bridge 16.8.2 release.


Can the interpetation of code blocks formed from indented lines be turned off?

For a variety of pre-processing reasons, some of my lines of markdown end up with leading spaces. MarkDig interprets this as a code block, which I really don't want. I'd like it to be ignored.
Is there any way to shut off this specific rule?  I don't really have any code blocks in this particular body of content, and if I did, I could fence it with other blocks.

Indented code blocks are handeled by the IndentedCodeBlockParser. Simply remove it from the pipeline.
var builder = new MarkdownPipelineBuilder()
    .UseAdvancedExtensions();

builder.BlockParsers.TryRemove<IndentedCodeBlockParser>();

var pipeline = builder.Build();

string html = Markdown.ToHtml(markdown, pipeline);

Wonderful, thank you.
For some reason, my version of Markdig didn't have TryRemove. I did this instead.
var indentedCodeBlock = builder.BlockParsers.FirstOrDefault(p => p.GetType() == typeof(IndentedCodeBlockParser));
builder.BlockParsers.Remove(indentedCodeBlock);

Thanks!


CSS and JavaScript appear on all pages

This css and javascript always load on all pages even if I don't use the Map Picker.
Please see this documentation on the Filament website :
https://filamentphp.com/docs/3.x/support/assets#lazy-loading-javascript

Hello @brianalviano,
Due to dependencies, this approach isn’t working as expected. If you have any ideas or can suggest improvements, please feel free to submit a PR—we would warmly welcome it and be delighted to review it!
Thank you in advance for your efforts!


Devanagari, and other complex scripts formating/rendering issues

There are several problems related to complex scripts rendering:

[ ] Fix formatting issues in browser
[ ] Fix formatting issues in terminal
[ ] PNG rendering

PNG rendering of complex scripts can be done using raqm (https://github.com/HOST-Oman/libraqm).
img = Image.new('RGBA', (100, 70), color = (73, 109, 137))

fnt = ImageFont.truetype('sahadeva.ttf', 15, layout_engine=ImageFont.LAYOUT_RAQM)
d = ImageDraw.Draw(img)

d.text((10,10), "यात्रा ऋच्छति", font=fnt, fill=(255, 255, 0))
img.save('pil_text_font.png')

Hi!

Fix formatting issues in browser

By this, do you mean fixing the unaligned lines and text which so that it is aligned with the rest of the layout?
Can you please provide some direction/steps on how to do this? I will try to do it for the Marathi language.

@sanketgarade This is good question, and thank you very much for helping me with it. I don't know Devanagari at all (maybe it is a good opportunity to learn it, I even started once, but quickly came to the conclusion that it would take pretty much time).
So the first and the most important question is: what terminal should we use as a reference? I think I've shared in twitter alacritty rendering screenshot, and you (I believe it was you) said that itt was wrong. So should we stick to konsole?

Yes initially let's stick to konsole because I have seen that Devanagari renders properly on it if the correct font is chosen. That is not the case with most other terminals.

Do you know a good library (Python, Go, or C, or actually any language), or algorithm, how one can get the visible length of some Devanagari text?

Do you know a good library (Python, Go, or C, or actually any language), or algorithm, how one can get the visible length of some Devanagari text?

Hey sorry even I do not know. I will see if I can get any help from someone.

@sanketgarade Sorry for the disappearance, now I am back, and would like to return to Devanagari rendering.

By "visible length" do you mean the length of the displayed text in pixels (or any other unit of length)?

Yes. I don't know if it applies to Devanagari script at all, but in some form, I think, yes:
if you are printing some text on the terminal, it will take several characters.
With Devanagari it is a little bit more complicated, because some characters have zero length,
and are just modifiers, for the previous characters, and some characters (maybe; I don't know it,
but I hope you can shed more light on it) can occupy a non integer number of "terminal positions".
In any case, with visible length I mean "number of terminal positions occupied with text in order to display it".
Do you aware of any functions in any languages that could do it?

Hey @chubin
Thanks for the information. Actually even I haven't been able to work on this myself due to lack of time. But I was able to connect with someone who works on Indic projects. I'll share the information that I received from them (though I haven't personally checked it in detail yet). -
Automated Rendering Testing using harfbuzz.
Using hb-view (reference), and piping the output to file, the size of the rendering can be seen in the output. See image below.

I'm not sure if this is what you are looking for. Let me know what you think.

It is a very interesting project, that you very much for referencing it, though it is not exactly what I am looking for,
but maybe it could be helpful.
What exactly I would like to know, it is how to find the "length" of such string, in the sense of number of occupied characters.
For example, the first word from your example takes 4 characters, and the second one 7 characters.
Only in terminal, I suppose. In browser it would take more or less places, I believe,
but in terminal exactly this width. Maybe it depends on the terminal, but maybe it is the same in all terminals.
Maybe we should just make some "external" configurable functions, that can just return the width of any input string,
and make it configurable depending on the terminal? Anyway, for the beginning, it would be great to find at least one of such functions.

hey sorry, I was away from this thread.
Anyway, about this

Only in terminal, I suppose. In browser it would take more or less places, I believe,
but in terminal exactly this width. Maybe it depends on the terminal, but maybe it is the same in all terminals.

I think the length of characters is the same in terminal and browser.
I did a small experiment to check this.
In browser, I opened mr.wttr.in and copied a word "काहीसे" from it. When copying it, the length is shown as "6 character"
In terminal I typed the same word and ran a word count on it.

Conclusion is that both results match.

What exactly I would like to know, it is how to find the "length" of such string, in the sense of number of occupied characters.

Does this suffice?

In linux shell (screenshot in previous reply) , it can be done using the word count wc command
Using it with the -m option will output just the number of characters.

in python, using the len() function on a string.
Tested here on Devanagari script with result matching the screenshot in previous reply.
Pasting below for quick reference.

clear = "clear"
kahise = "काहीसे"

print("len of clear is ",len(clear))
print("len of kahise is ",len(kahise))

------ Output ------

len of clear is  5
len of kahise is  6

Thank you for your help, but it is not exactly what I mean.
I am looking for some reliable way to know, how many characters on the terminal a Devanagari word occupies
(not how much "characters" it has, because it is possible that a character takes one or two places,
or maybe zero too, because it can be just an accent.
For example:
पावसाच्या हलक्या सरी
123456789012345

Here we see that the word occupies 15 characters,
but len() returns 20:
>>> len("पावसाच्या हलक्या सरी")
20

and it is understandable, because len() knows nothing about Devanagari rendering,
it knows only how many Unicode characters the string has.
For each script, there are libraries, that could help solve this problem.
So the question is, how to do it for Devanagari

Ok now I understood the problem statement. Basically you want to find out the number of English/Latin character spaces that are needed for a certain Devanagari string. Unfortunately I don't know of any such library which can do this.
But I think there can be an indirect way of doing this. (Though I am not sure if this method is suitable for this application.) :

Say using the example which I had given in one of the comments above, using hb-view and file, we can find out the length of pixels needed for the Devanagari string, say pixel-len-dev.
Now using the same we can also find out the pixel length of any English character ("any" because in monospace all English characters take up the same about of pixels), say pixel-len-en.
And by dividing pixel-len-dev by pixel-len-en we would get the number of English character spaces that the Devanagari string takes up.


Feature Request: Remove bottom divider from <ListItem> component

Is your feature request related to a problem? Please describe.
The <ListItem> component in the _@stripe/ui-extension-sdk/u_i package includes a bottom divider by default, which may not be desirable in some cases. This can be frustrating for developers who want to customize the appearance of their UI.
Describe the solution you'd like
I would like to request the ability to remove the bottom divider from the <ListItem> component. This could be achieved by adding a prop or API that allows developers to specify whether or not they want the divider to be included.
For example, a prop called showDivider could be added to the <ListItem> component. By default, this prop would be set to true, meaning that the bottom divider would be included. If the prop is set to false, the bottom divider would be removed.
Describe alternatives you've considered
One alternative solution is to use CSS to override the default styles of the <ListItem> component and remove the bottom divider. However, this has not worked as expected and may not be overridden.
Additional context
Removing the bottom divider from the <ListItem> component would give developers more flexibility and control over the appearance of their UI. This feature would be especially useful for developers who want to customize the appearance of their UI to match their brand or design standards.

In the meantime, a WorkAround can be:
Make the backgroundColor & keyline props the same color:
<ListItem
   css={{ backgroundColor: '#EBEEF1', keyline:'#EBEEF1' }}


fix(core): options should be read correctly for project inference

There's an issue with how we read configuration in Nx 17. It results in default values not being applied for some options, and project inference not working after migration.
This updates config handling to merge all values rather than relying on nullish handling.

Thanks @AgentEnder this appears to resolve the CI issue we were seeing 👍


Pretrained DenseNet Models

Hello, thanks for your great work. I am researching some related issues and need your pretrained model for my own experiment. I'll appreciate it if you can give me the access. My google mail address<EMAIL_ADDRESS>

Hey Man,
Did he approve for you?


Variants of R.map() and lost types

For the partial applied variants of R.map() the TypeScript compiler fails to infer/resolve the types of the parameter, e. g. elem in the code example below.
import * as R from "ramda"

const array = [1, 2]
R.map(elem => elem, array) // (parameter) elem: number
R.map(elem => elem)(array) // (parameter) elem: {}

Here are the type declarations from @types/ramda:
map<T, U>(fn: (x: T) => U, list: T[]): U[];
map<T, U>(fn: (x: T) => U, obj: Functor<T>): Functor<U>; // used in functors
map<T, U>(fn: (x: T) => U): (list: T[]) => U[];

I quickly tried the declarations from the master branch. But they also didn't work.
I guess there are some issues in this repository related to this problem. I also wonder, if there is an issue on Microsoft/TypeScript related to this.

Thank you for posting. This is a variant of several other issues posted here, and comes down to currying/composition failing with functions using generics (yes, in Ramda that's almost all of them). I made a thread about this at TypeScript here. This is the primary problem for our repo right now, and I'd really like a solution for this as well.

This still doesn't work with typescript@next (2.5.0-dev.20170615). Will this eventually work, or is there a problem with type inference because the types are "flowing from right to left"?
Probably related: https://github.com/Microsoft/TypeScript/issues/15680#issuecomment-307571917

They didn't fix it, see https://github.com/Microsoft/TypeScript/pull/16072

We currently infer (x: {}) => { p: {}[] }, but ideally we'd infer (x: A) => { p: A[] }. That's next on the list.

I'm thinking the issue could potentially be worked around with given type level calls (https://github.com/Microsoft/TypeScript/pull/17961). Not working yet but at least that reduces those two issues to one.


Add a support for auditing Azure SQL databases which aren't enabled the active geo-replications

There should be an Azure Policy for auditing the active geo-replications which are not enabled on Azure SQL databases.

Closed as completed.

Hi @vienleidl ,
I've added a policy and made a pull request to the repository. It might not be 100% perfect but hopefully it will assist you in the progress of displaying these resources. I believe perhaps that a resource graph query on a dashboard might be more helpful for you thought :)
PR: #259

Thanks @SebastianClaesson! I found the replicationLinks property here. However, I'm not sure if it works.


add user register

When I start a learning journey, I want my progress to be saved.

[ ] user profile schema
[ ] connect hasura to nextjs
[ ] connect Auth0 to hasura
[ ] User register UX
[ ] User profile UX


How can i localize text 'Please tap NFC tags'?

Hi,
reading nfc tags works fine. But even if i start reading a tag, popup contains the unlocalized text 'Please tap NFC tags'. Abort and everything else is localized.
Is there a way to localize this text?

Thanks?

Hi @jschenkDD , You can use alertMessage option to customize that string, like this:
await NfcManager.registerTagEvent({ alertMessage: '你好' });


[webidl mode] Fix stream handling

Unfortunately def70631ca7a50cfb5bf414c27df4db53f899a15 broke the mode. There are two easy ways to fix this:

revert that commit, and continue to use stream internals
merge this PR, which is cumbersome

@marijnh, what would you suggest?

Wouldn't it be much simpler to match different regular expressions (possibly generated from the same data) in the two different cases (state.startDef and state.endDef)?

Derp… fixed.

Thanks. Merged as 479cc65


Document the load src code from url, gist feature

fixes https://github.com/lfortran/lcompilers_frontend/issues/102
fixes https://github.com/lfortran/lcompilers_frontend/issues/104

Thanks for adding documentation. I think this does not fix https://github.com/lfortran/lcompilers_frontend/issues/102, right? To fix it, we have to document that github will delay this by N minutes, or whatever exactly happens.


Demo does not work due to postal.js library not being found

The demo linked within the read me no longer works. Having had a quick look, it appears that it's because the reference the library (https://rawgit.com/ifandelse/postal.js/conduit-ectomy/lib/postal.js) is no longer found and results in a 404 error.

Sorry @JosephWoodward (for the broken link and long overdue response). This is updated in the master branch now.


Route "api/rooms" not inside routes/api.php

Hi!
This project has been a great tool for me to figure out some things regarding setting up vue with laravel.
However I wonder why  the Route::get('/api/rooms'.... are inside the web.php file  and middleware instead of inside the api.php group. Has that to do with the fact that Vue is "inside of laravel" ?

Hi  thanks for the feedback.
This is just a quick setup to get started with vuejs. You are free to tweak it anytime the way you want it. The api/rooms there is just a sample api endpoint. You can transfer it to api.php or whatever file you want to put it.  Or you can also issue a pull request. Thanks

I will close this now


Improve pykhiops.sklearn documentation

Namely:

show how khiops.sklearn  can be used in sklearn pipelines which use other sklearn facilities (preprocessing, other estimators, vote between several estimators, etc)
show examples where Khiops would refrain from building a model, thus providing strong hints that a model cannot be learnt from the data, while other estimators would overfit by e.g. laborious hyperparameter tuning.

Obsoleted by khiops.org and tutorials.


Prefer SHA256 to SHA1 in examples

SHA1 is gradually being deprecated in favor of SHA256.  Though
examples in our manuals are not always intended to be suggestions
for runtime use, some readers will treat them as such -- we might
as well only mention the modern algorithms when there is a need
to mention a generic algorithm.

Checklist

[x] documentation is added or updated

Description of change

trivial change of example

@richsalz this modifies something you just landed

there's a reason to pick sha1, which is what we use internally as a hash for comparisons.  fixing this right would really require changing the sha1_digest field in both of those objects and the x_all file.
and fixing all the pod pages and demo scripts.

How would you feel about adding something like "For historical reasons, EVP_sha1() receives preferential treatment in the current implementation, but this does not reflect current cryptographic best practice and is subject to change in future versions."?

There's nothing wrong with the way we use sha1 internally. :)  Keep trying :)


Add nuget packaging support

Can't figure how to get the native dlls to only be packaged once via dotnet pack; currently they are being included in both content and contentFiles.
Apart from that, this works well enough.
Todo:

[x] debug -> release
[x] versioning
[x] appveyor_deploy

Ready for review 👍 ⚡

Testable via https://github.com/ppy/osu/pull/2732, but recommended cloning fresh if you value your submodule.


Fixed return type from GetStreamAsync in LAB_07.md

Module: 7
Lab: 7
Fixes compiler error
Return a new DownloadPayload object instead of only the BlobStream.

Included in release 4.2.47


[WIP] Resolve errors to user-facing messages at the top level

This is a POC for how we can keep the general error handling solution (which prints the trace to the user) with a way to have better actionable and informative errors for "expected" error situations. This solution allows us to handle errors at the cobra level (so avoid printing of error message scattered through the codebase), provide clear error messages when possible, and fall back to the full trace for errors that we "don't expect".

After looking at the code, an alternative approach (slightly tweaked) hit me:
Error can implement Resolver interface to give a hint to top level error handler that this is how this error needs to be resolved for the CLI purpose etc. Top level default error handler can inspect the entire error chain and if it finds an error of Resolver type, then it calls Resolve method and prints output to the user.
We can provide some syntax sugar to make it easy to construct errors of Resolver type. [In @Shell32-Natsu PR where it is printing fn error inline, it can return an error with NoOp essentially signalling the default handler that no need to do other than non-zero exitcode]
So in this case, the the gitError can implement the Resolve method.
Last time, when I experimented with UserText type in the errors, it was sort of a way to short-circuit (or resolve) the error. and I found it convenient to be able to control the CLI output closer to where the error happened.
Happy to chat offline.

Can you provide some sample output in the PR description. For example:

function failure in eval
git-related failure in get

I have only added support for git-related errors in this PR. It mostly just puts in place the plumbing to translate from a kpt error to a more user-friendly message.
For the situation where a user provides an unknown ref with the kpt pkg get command, the output looks as follows:
$ kpt pkg get https://github.com/GoogleContainerTools/kpt/package-examples/nginx@nex
fetching package package-examples/nginx from https://github.com/GoogleContainerTools/kpt to /Users/<user>/nginx
cloning https://github.com/GoogleContainerTools/kpt@nex

Unknown ref "nex". Please verify that the reference exists in upstream repo "https://github.com/GoogleContainerTools/kpt".

StdErr:
fatal: ambiguous argument 'nex': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

I have only added support for git-related errors in this PR. It mostly just puts in place the plumbing to translate from a kpt error to a more user-friendly message.
For the situation where a user provides an unknown ref with the kpt pkg get command, the output looks as follows:
$ kpt pkg get https://github.com/GoogleContainerTools/kpt/package-examples/nginx@nex
fetching package package-examples/nginx from https://github.com/GoogleContainerTools/kpt to /Users/<user>/nginx
cloning https://github.com/GoogleContainerTools/kpt@nex

Unknown ref "nex". Please verify that the reference exists in upstream repo "https://github.com/GoogleContainerTools/kpt".

StdErr:
fatal: ambiguous argument 'nex': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

I would tweak this for readability:
$ kpt pkg get https://github.com/GoogleContainerTools/kpt/package-examples/nginx@nex
fetching package package-examples/nginx from https://github.com/GoogleContainerTools/kpt to /Users/<user>/nginx
cloning https://github.com/GoogleContainerTools/kpt@nex

Error: Unknown ref "nex". Please verify that the reference exists in upstream repo "https://github.com/GoogleContainerTools/kpt".

Details:
fatal: ambiguous argument 'nex': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

I would tweak this for readability:
$ kpt pkg get https://github.com/GoogleContainerTools/kpt/package-examples/nginx@nex
fetching package package-examples/nginx from https://github.com/GoogleContainerTools/kpt to /Users/<user>/nginx
cloning https://github.com/GoogleContainerTools/kpt@nex

Error: Unknown ref "nex". Please verify that the reference exists in upstream repo "https://github.com/GoogleContainerTools/kpt".

Details:
fatal: ambiguous argument 'nex': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

Adopted these changes in the PR.


Improve UI

This is a simple webpage, drop your creativity on it.

hey, @Raj-m01 can I work on it?

hey, @Raj-m01 can I work on it?

Sure! I m assigning this to you.

hey can you please tell me how can I run this app on my visual code

You should have virtual Environment installed on your device, install it using following command
pip install virtualenv
now, create new virtual environment
virtualenv <name of virtualEnv>
now place your project folder  in virtual environment
now file structure will look like this:

Now, Move in  environment directory to activate created virtual environment
and type following command:
.\Scripts\activate

now, move to project directory and install dependencies in requirements.txt file:
use this command to install:
pip install -r requirement.txt

Now, run the project using command:
python manage.py runserver

Now, open localhost on ur browser:
http://<IP_ADDRESS>:8000/

Html and CSS files are located in template folder and static folder:


bug(issue): Support explicit transitions for issues

The CLI was ignoring transition names when it came to
jira i XXX --transition YYY. This fixes that.
Fixes #38

Why wasn't this released?

Looks like the last release was 6 months prior to this merge :/


Add statefulset as controller option for unifi

Signed-off-by: Mattias Gees<EMAIL_ADDRESS>
What this PR does / why we need it:
Allow to deploy the unifi controller as a statefulset. This is useful because data can be saved on disk and this allows an upgrade path for that.
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

/assign @billimek

/reopen


Add notification id to analytics event HomeEvents.notification_select

Description
Adding this id to this event will allows us to know engagement with each individual notification. Right now we have only a generic 'remote_notification' type.
Tested
Manually.
Related issues

Fixes #62

Backwards compatibility
No, we won't be able to track clicks by individual notification in previous versions of the app.

Hey @gnardini Could you please let us know what we need to test here ?

@Celoqa No need to test anything here.
Thanks!


To specify @imports by command line

I've got a style.less file which requires include.less.
But there is no @imports declaration in style.less.
Is it possible to complie style.less to style.css without modifying the source code.

如何不在less源码里写@imports, 又能成功引入文件?

I don't understand the problem.
Can you maybe elaborate a bit on your Problem?
What source code do you not want to modify?
On Wed, Feb 15, 2012 at 4:33 AM, xuld <
<EMAIL_ADDRESS>
wrote:

I've got a style.less file which requires include.less.
But there is no @imports declaration in style.less.
Is it possible to complie style.less to style.css without modify the
source code.
如何不在less源码里写@imports, 又能成功引入文件?

Reply to this email directly or view it on GitHub:
https://github.com/dotless/dotless/issues/121

Good solution!
Thx


WIP of Metrics Filtering

Signed-off-by: Nate Sweet<EMAIL_ADDRESS>Please ensure your pull request adheres to the following guidelines:

[ ] For first time contributors, read Submitting a pull request
[ ] All code is covered by unit and/or runtime tests where feasible.
[ ] All commits contain a well written commit description including a title,
description and a Fixes: #XXX line if the commit addresses a particular
GitHub issue.
[ ] All commits are signed off. See the section Developer’s Certificate of Origin
[ ] Provide a title or release-note blurb suitable for the release notes.
[ ] Thanks for contributing!

Fixes: #issue-number
<!-- Enter the release note text here if needed or remove this section! -->

Coverage increased (+0.008%) to 36.918% when pulling 9eeb7d887e885b02bd142751aee394df20b0866a on pr/nathanjsweet/metrics-filter into 65e68d0a99a339f646d5126a1449faf81c7e647a on master.


Fix overlay issue where zIndex is not computed for already bound card elements

The issue here is the functioning of overlays when there is more than one pre-rendered search on a stack (Currently, I guess we always only ever have one query on the stack). When that occurs, the card elements in the 1st search gets bounded to a weak set boundRenderedCardElement. When the 2nd search completes, we loop thru elements of the 1st search but skip them bcos they are assumed to already be bounded in the set. The issue is when we skip these, we miss out on the mutation of renderedCard.overlayZIndexStyle hence, some cards do not have the z-style property.
Note:
I attempted not to regress on the PR https://github.com/cardstack/boxel/pull/1517. I think this PR wants to only compute the ZIndex once. So I have introduced a weakmap of ZIndex for every element encountered

I haven't prepared an example to show here but I think I will make one before asking for review to explain the issue

should this PR be closed based on the comment above?


Add support for gifv media attachments

Ideally, anything that comes in via the gifv type can just be treated like an animated gif; that is, one img element oughta do it, just like how static images are done.  However, I'd like to set them such that they don't necessarily animate until the user clicks on them, which might require more fiddling, a config option in the JS, and maybe some way to display metadata (i.e. how long the animation is).

On closer inspection of the API, Mastodon considers a "gifv" to be a "looping, soundless animation".  I'm going to need to experiment a bit to figure out what they mean by that; the example used in the docs links to an MP4, not a GIF, and there doesn't appear to be an option when uploading a video media attachment to treat it as looping, which makes me wonder if the server does that check on upload, automatically assigning the "gifv" type to any video that has no audio track.  Similarly, I should make sure I know how it's treating an animated GIF (I have my doubts Mastodon would have special handling for aPNG, and nobody outside of the PNG Development Group has ever liked MNG).
Long story short, this is now sounding like I should handle attachments of type gifv as videos, not images, and just set the loop attribute on them.  But before that, I'll need to concoct a test video.

There we go.  gifv support is now live.


Add jss to global

oh what you did is actually already done by browserified version

If you load jss script from dist without require on the page, it will expose the api on window

Oh, cool!! I missed the dist. :+1:


Qingwei/add is mobile

Coverage decreased (-0.05%) to 63.987% when pulling 6b6a07d2d108aa9a7c5057844ec482534dbebb90 on qingweibinary:qingwei/add_isMobile into 1f77991908ee53e2ce99074945c98f841e5706a9 on binary-com:master.


traefik acme certificate error

Is this a request for help?:
Yes
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
None

Version of Helm and Kubernetes:
Which chart:
Traefik
What happened:
The tls certs were not found when request was made using https
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know:
release config as follows:
dashboard.enabled=true
ssl.enabled=true
acme.enabled=true
<EMAIL_ADDRESS>metrics.datadog.enabled=true
metrics.statsd.enabled=true

The likely cause of this is that Let's Encrypt has recently disabled their old default challenge type TLS-SNI-01, due to vulnerabilities. Logs would be enlightening here, but in their absence, I will assume this was the cause, as it's incredibly likely.
Note that even though that Let's Encrypt has removed support for the TLS-SNI-01 challenge, Traefik / this chart still use that challenge by default. Why? Because it would be a breaking change to the chart to change the default. (There's a small number of users whitelisted and still permitted to use the TLS-SNI-01 challenge.)
#1299 recently added support for using the DNS-01 challenge instead and #3347 (still open) looks to add support for the HTTP-01 challenge.
I believe this sufficiently addresses the issue that was reported and since one newer, better option exists, with a second in the works, I'm going to close this.
/close


Added settings popup to gui

The Colony and Food object can now be changed by double clicking them. The settings update the objects in the simulation class.
I also fixed the typo in the colony class.

I have now also added that the user can decide the color of the ants of each colony via the gui using RGBA values. The default color is black.


E3677 'provided.al2023' does not match '^(nodejs.|python.)$'

CloudFormation Lint Version
1.3.0
What operating system are you using?
Mac
Describe the bug
Following upgrading to the 1.3.0 version of the linter, we have seen the following failure on our Lambda function configured using CloudFormation:
E3677 'provided.al2023' does not match '^(nodejs.*|python.*)$'

The supported runtimes as documented by AWS (https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-supported) specifies that the provided.al2023 is supported and therefore should be not fail the lint checks
Expected behavior
No failure when using provided.al2023
Reproduction template
  LambdaFunction:
    Type: AWS::Lambda::Function
    DependsOn: LambdaPolicy
    Properties:
      Architectures:
        - arm64
      Code: ../link/to/my/package.zip
      Description: My description
      Handler: my.bootstrap.file
      MemorySize: 1024
      Role:
        Fn::GetAtt:
          - LambdaRole
          - Arn
      Runtime: provided.al2023

Also running into this issue:
E3677 'dotnet8' does not match '^(nodejs.|python.)$'
  MyLambda:     Type: AWS::Lambda::Function     Properties:       FunctionName: MyLambda"       Runtime: dotnet8


LIBHYDRA-577: Updating about controller to ping Solr

When visiting the about page, pinging solr so that when refreshing the user can be sure that Solr is back up again. Previously refreshing the page would have user's think the service was back up. Now a flash screen will appear on refresh's of the page.
https://umd-dit.atlassian.net/browse/LIBHYDRA-577

Merged the changes requested


Possibility to send data to separate influxdb?

Hi
I want to install this on my rpi with pi-hole in a docker. I have influxdb and grafana running on a 'real' server in my network. Is it possible to use this in that scenario using (I guess) telegraf running locally along with your pi-hole db parsing code? If so, how?
Thanks!
/klaus

The telegraf part should work just fine like it is. The db parsing tool will need to be tweaked to point to your externally available influxdb. It will need to be run local to the pi-hole instance.

I've added environment variables to be able to send data to an external influxdb.


Added an HTTP file for easier ad-hoc provision

Build succeeded (check pipeline).

https://checklist.intgdc.com/job/gooddata-public-demos/job/gooddata-public-demos-validation/90/ : SUCCESS in 11s
https://checklist.intgdc.com/job/compliance/job/gooddata-public-demos-oss-check/100/ : SUCCESS in 7s

Sonar scan result

No issue found. Congratulations!

More detail, see in https://sonarqube-gate.intgdc.com/dashboard?id=gooddata-public-demos-gate-PR45
To scan for vulnerabilities in dependencies and run unit tests (to get coverage report in sonar) please comment your PR with 'extended check sonar'.

Build succeeded (gate pipeline).

https://checklist.intgdc.com/job/gooddata-public-demos/job/gooddata-public-demos-validation/95/ : SUCCESS in 24s
https://checklist.intgdc.com/job/compliance/job/gooddata-public-demos-merge-compliance-check/44/ : SUCCESS in 24s
https://checklist.intgdc.com/job/compliance/job/gooddata-public-demos-sonarqube-scan-zuul-gate/42/ : SUCCESS in 48s
https://checklist.intgdc.com/job/compliance/job/gooddata-public-demos-fossa-scanning-zuul/5/ : SUCCESS in 1m 25s (non-voting)


Allow Errors on the group level

Is your feature request related to a problem? Please describe

With our approach to end-to-end validation, we try to hint users to problems in the model in any potential place, so the user won't miss any problem. Problems related to whole sections (such as using extension properties prior to 8.1) can not be displayed properly, resulting in redundant highlighting on a per-item basis (see https://github.com/camunda/linting/pull/14).
Describe the solution you'd like

In case the problem is with the whole section (such as with the extension properties example), an optional error message should be shown in the section header.

Describe alternatives you've considered

Additional context

Created as follow-up to https://github.com/bpmn-io/properties-panel/issues/180

Putting this in the backlog for now.


CGFloat Does not conform to Real

Are there any plans to conform CGFloat to Real?

Presumably the implementation would look something like this:
extension CGFloat {

  @_transparent
  public static func cos(_ x: CGFloat) -> CGFloat {
    #if arch(i386) || arch(arm)
    return CGFloat(libm_cosf(x.native))
    #elseif arch(x86_64) || arch(arm64)
    return CGFloat(libm_cos(x.native))
    #endif
  }

}

This would be easy to add, but as a general rule, you shouldn't be using CGFloat except at the point of interaction with API that traffics in it. We don't want to encourage people to write significant code that uses CGFloat as a computational type. What are you really trying to do?

I admit I don't have a concrete use-case for this, I was just worried I might have to use this library with SwiftUI or UIKit, which uses CGFloat.

As perhaps a useful update to this thread to new visitors, Swift 5.5 will make CGFloat and Double interchangeable, making it easy to follow Stephen Canon's recommendation of not using CGFloat as a computational type.
In the rare case when CGFloat represents a 32-bit float, requiring a widening or narrowing conversions, the compiler will try to maintain as much precision as possible by minimizing the number of narrowing conversions.
https://github.com/apple/swift-evolution/blob/main/proposals/0307-allow-interchangeable-use-of-double-cgfloat-types.md

@Peter-Schorn I'm going to close this for now.

Let's say i want to write a generic linear interpolation function using Real:
public func lerp<T>(_ parameter: T, min: T, max: T) -> T where T: Real
{
    return min + (parameter * (max - min))
}

Now if i want to use it with CGFloat obtained from graphics api (let's say a position of 2 SpriteKit nodes on a specific axis) i would need to manually cast either one of the arguments to Dobule when calling lerp or on obtaining them or specify result type as Double or write a CGFloat specific wrapper function,
let minX: CGFloat = ...
let maxX: CGFloat = ...
let parmeter: CGFloat = ...

let result = lerp(Double(parameter), min: minX, max: maxX)
// or
let result: Double = lerp(parameter, min: node1X, max: node2X)

This is not really a problem but seems unnecessary despite the SE-0307.
While computation code written specifically for graphic computations could be written exclusively for CGFloat, i d prefer a generic solution that could be used for all real types without any type casting workarounds.


autonag bot nagged about setting severity, for the same bug two days in a row

Apparently the bot is pretty persistent. :)
The bot posted a nag/needinfo comment to set severity on 3/29:
https://bugzilla.mozilla.org/show_bug.cgi?id=1759667#c7
I cleared the needinfo without setting the severity yet, since we were awaiting information from the reporter which would help us assess severity.
Then the bot posted the same nag/needinfo comment the next day on 3/30 (today).
Maybe it needs some sort of suppression timeout, to avoid rapidly building up comments when the triage owner has some reason to decline-to-take-the-nagged-action right away?

Here's a screenshot showing the exchange:

(in this particular case, it's ~fine because we received the information from the reporter and I think I can indeed make a severity assessment now.  But if we were still waiting on the reporter, it could get frustrating to have the bot persistently re-setting needinfo. Maybe the current expectation is that the triage-owner should leave the needinfo open, and then the bot won't re-nag?  If so: that's non-obvious, and it could take a few duplicate-nags and build up a few comments' worth of bot-spam before folks figure that out in individual cases.)

Duplicate of #985.


Add sensitive for kibana config

Pull Request (PR) description

Use Sensitive (/etc/kibana/kibana.yml)

This Pull Request (PR) fixes the following issues

No one

thanks for the PR!


Update nf-wdfdriver-wdfdriveropenpersistentstateregistrykey.md

KMDF/UMDF versions appear to be backwards

Thanks Zac - appreciate the sharp eye!


Update docs for restricted optimisations

Closes #99

The purpose of this PR is to update the docs to be more clear about restricted and unrestricted optimisations which use the MacroModelForceField optimiser.


Content-encoding header

I have compression set up and can see the gzipped response being correctly returned using curl, but I dont see a "content-encoding: gzip" header being returned.
Is there some reason for this behaviour? I've not seen any issues with my test browsers, the only problem is the audit in chrome reports "enable gzip compression" when it IS already enabled...

Hi! Unfortunately there is not enough information here for me to help you, besides saying we have extensive unit tests and you'll need to provide a pull request if you believe you are encountering an issue.
If you would like me to take a look, please provide all the following:

Version of Node.js
Version of this module
Complete code that reproduces the issue. It needs to be a single file and I will copy paste it and run it. Please do not use any other modules besides this one and Node.js core modules, unless you are trying to demonstrate this module not working with another.
Complete steps to run that script, how to reproduce the issue, and how to know I am reproducing it.

Node 5.7.1, express 4.9, compression 1.6.1
Server code:
var express = require('express')
var compression = require('compression')
var app = express()
app.use(compression({threshold: 0}))
app.listen(3000)
app.get('/hello', (req, res) => {
var result = '';
result = 'hello world';
res.send(result);
});
Then in curl:
curl "http://localhost:3000/hello" -H "Accept-Encoding: gzip, deflate, sdhc" --raw
Result: compressed content served, but no content-encoding: gzip header is sent

Your cURL command is not set to show any headers. You need to at least add -i according to the cURL manual. Here are the steps I followed based on your instructions and the only issue I saw was your cURL issue highlighted above:
$ cat app.js
var express = require('express')
var compression = require('compression')
var app = express()
app.use(compression({threshold: 0}))
app.listen(3000)

app.get('/hello', (req, res) => {
  var result = '';
  result = 'hello world';
  res.send(result);
});

$ npm i<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>node_modules\compression
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>└──<EMAIL_ADDRESS><EMAIL_ADDRESS>
<EMAIL_ADDRESS>node_modules\express
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>└──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
$ node -v
v5.7.1

$ node app &
[1] 21556

$ curl -i "http://localhost:3000/hello" -H "Accept-Encoding: gzip, deflate, sdhc" --raw
HTTP/1.1 200 OK
X-Powered-By: Express
Content-Type: text/html; charset=utf-8
ETag: W/"b-d4a1185"
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Mon, 04 Apr 2016 12:53:55 GMT
Connection: keep-alive
Transfer-Encoding: chunked

a
▼      ♂
15
♂   ╔W(╧/╩I☺ à◄J
0

Strange that I dont see it in chrome with the exact same request:

No idea. Here is the Chrome screenshot for the app you gave me on my Chrome:

set {threshold:0} in options

Hello
I is having same error. This is my code.
var acceptEncoding = req.headers['accept-encoding'];
if (!acceptEncoding) { acceptEncoding = ''; }
if (acceptEncoding.match(/\bdeflate\b/)) {
zlib.gzip(JSON.stringify(Response), function (err, result) {
if (!err) {
//res.writeHead(200, { 'content-encoding': 'gzip' });
res.header('Content-Length', result.byteLength);
res.setHeader('transfer-encoding', '');
res.setHeader('content-encoding', 'deflate');
res.send(result, 200);
}
});
}
if (acceptEncoding.match(/\bgzip\b/)) {
zlib.gzip(JSON.stringify(Response), function (err, result) {
if (!err) {
//res.writeHead(200, { 'content-encoding': 'gzip' });
res.header('Content-Length', result.byteLength);
res.setHeader('transfer-encoding', '');
res.setHeader('content-encoding', 'gzip');
res.send(result, 200);
}
});
}
else {
res.send(JSON.stringify(Response), 200);
When I check the variable result see process working but node js express changes headers to "transfer-encoding chunked"
Do anybody knows why doing that??

Had the same issue. I used
app.use(compression({threshold: -1}));
and it works now.


assert in commit_blk in github CI (to enable test binaries)

out of date with less context ,close it for now


Added Greater Victoria SD61

Greater Victoria School District 61 https://www.sd61.bc.ca (Victoria, BC, Canada)

@hanss314 Pull request merged. Thank you!

@hanss314 Pull request merged. Please notice that free educational license for JetBrains tools is for high and higher schools students, i.e. those who are over 13 of age. Thank you!


Container unresponsive

Hello and thank you for this great solution to host shiny applications.
I am working on a shinydashboard project and I would like to use shinyproxy for this application.
I will be using a host provider but first I am testing locally.
So I followed the guide for creating the application.yml and it seems that I get theshinyproxy running, but it doesn't seem to keep the "app" container running.
Peculiarities of my tools:
I use podman instead of docker so I followed the instruction from here:  https://github.com/openanalytics/shinyproxy/issues/385
you can find the dockerfile I am using here: https://github.com/ConYel/dashboard_survey/blob/main/dashboard_container/Dockerfile
On my machine I pulled the image of shinyproxy from dockerhub:
docker.io/openanalytics/shinyproxy  3.0.2
When I get to run the shinyproxy container with this application.yml:
https://github.com/ConYel/dashboard_survey/blob/main/application.yml
running this command:
podman system service -t 0 tcp:<IP_ADDRESS>:2375 & podman run --rm -ti --name shinyproxy  --net host -v ./application.yml:/opt/shinyproxy/application.yml  docker.io/openanalytics/shinyproxy:3.0.2

I always get:
specId=01_dashboard] Container unresponsive, trying again (13/110): http://localhost:20000
2023-11-26 18:07:40.948  WARN 1 --- [pool-1-thread-1] e.o.shinyproxy.ShinyProxyTestStrategy    : [user=jeff proxyId=9eef5494-c23b-41f5-b380-590853c665c6 specId=01_dashboard] Container unresponsive, trying again (14/110): http://localhost:20000

and I also check if the container has started properly and then I login using the basic credentials but when I try to run the included app on browser from shinyproxy
~$ podman ps -a
CONTAINER ID  IMAGE                               COMMAND               CREATED        STATUS                    PORTS                    NAMES
b5c3eca3c047  localhost/dashboard_rminimal:0.03b  Rscript dashboard...  4 minutes ago  Exited (1) 4 minutes ago  <IP_ADDRESS>:20000->3838/tcp  objective_yonath
cd496023d99c  localhost/dashboard_rminimal:0.03b  Rscript dashboard...  3 minutes ago  Exited (1) 3 minutes ago  <IP_ADDRESS>:20000->3838/tcp  beautiful_bhaskara
f55457adc3ef  localhost/dashboard_rminimal:0.03b  Rscript dashboard...  3 minutes ago  Exited (1) 2 minutes ago  <IP_ADDRESS>:20000->3838/tcp  nervous_ramanujan
[1]+  Done                    podman system service -t 0 tcp:<IP_ADDRESS>:2375  (wd: ~)

the containers seem to not be destroyed after being called and not responding.
Any help would be much appreciated!
@LEDfan

Looking at your code, I think it might be sufficient to remove the line ENTRYPOINT line https://github.com/ConYel/dashboard_survey/blob/main/dashboard_container/Dockerfile#L30C1-L30C46 (or adjust the container-cmd accrodingly).
I suggest reading about the differences between ENTRYPOINT and CMD, e.g. https://spacelift.io/blog/docker-entrypoint-vs-cmd


shareNodes not implemented for FQDN nodes

Environment

Application Services Version: 3.19.0 (I can check lower versions)
BIG-IP Version: BIG-IP <IP_ADDRESS> Build 0.0.5 Point Release 3

Summary
shareNodes does not apply to fqdn nodes
Steps To Reproduce
Steps to reproduce the behavior:

Submit a declaration with the following Pool class:

        "web_pool": {
          "class": "Pool",
          "loadBalancingMode": "round-robin",
          "monitors": [
            "http"
          ],
          "members": [

              {
                "servicePort": 8080,
                "hostname": "f5demoapp.demo.internal",
                "addressDiscovery": "fqdn",
                "autoPopulate": true,
                "shareNodes": true
              }
            ,
              {
                "servicePort": 8181,
                "hostname": "f5demoapp.demo.internal",
                "addressDiscovery": "fqdn",
                "autoPopulate": true,
                "shareNodes": true
              }
                      ]
        }

Observe the config that gets created on a BIG-IP. The node is in the tenant partition and the ephemeral node is in Common.

A subsequent declaration using the same fqdn node will fail.

"msg": "declaration is invalid. /tenant-app2/app2.demo.internal/web_pool/members: pool member /tenant-app2/app2.demo.internal/web_pool/members/0 fqdn hostname f5demoapp.demo.internal conflicts with bigip fqdn node /tenant-app1/f5demoapp.demo.internal"

Expected Behavior
When "shareNodes": true is used for fqdn nodes, all components of the fqdn node should be placed in /Common. This behavior should be consistent regardless of addressDiscovery.
Actual Behavior
see above.

Thank you for reporting this. I have copied it to our internal product backlog as AUTOTOOL-1556.

I'm having the same issue with AS3 3.23 and BigIP 14.1.4.
Need this bug fixed as soon as possible.

we had similar issues with AS 3.23 on BIGIP 14.1.4 but upgrading to AS3 3.26 solved the problem.

@kreynoldsf5 Are you still seeing this issue on AS3 3.26+?

Closing for inactivity. If you are still encountering issue, please reopen this ticket for a file a new one.

Does ShardNode works for FQDN nodes?
I do get error as like this "conflicts with bigip fqdn node"
{
"servicePort": 443,
"hostname": "abc.local",
"addressDiscovery": "fqdn",
"shareNodes": true
}


Request to add a site: lhtranslation

Request to add a site

Name
URL

lhtranslation
https://read.lhtranslation.com/manga-murabito-desu-ga-nani-ka.html

Hey. Something I completely became lazy. Need to control yourself! )

OK. You could rest, everything works for me, I will control my manga needs ;)
Just thought that lhtranslation is a good source.
Tried the new site and works OK :+1:

Component
Value

OS
Ubuntu 16.04.6 LTS

Python version
Python 3.5.2

Pip version
pip 18.1

Manga-py version
<IP_ADDRESS>

URL
https://read.lhtranslation.com/manga-murabito-desu-ga-nani-ka.html

pipenv run manga-py --cbz --zero-fill --rename-pages --no-webp --destination Manga/ https://read.lhtranslation.com/manga-murabito-desu-ga-nani-ka.html

On the contrary. I want to force myself to work more. :)

Oh, I was lost in translation then.


Images are rendered upside down

When adding a photo, it renders upside down
Pixel 4, selecting a photo from Google Photos folder.

Screenshot would probably help clarify. And I wonder, is it for every image or just a particular photo?
(BTW, I'm not a developer, just another user.)


Update front end hover to include overlap stats

This PR updates front end hover to include overlap stats
This includes:

Get the scenario_specs associated with a group, as overlap stats are at scenario_spec level, but the web displays at group level, and scenario_specs don't contain group info.
Add a script to aggregate the overlap stats at a group level.
makes changes to summarize.py to display group overlap stats for various models on front end.

Example run:
python3 src/helm/benchmark/data_overlap/get_group_scenario_specs.py --run-specs src/helm/benchmark/presentation/run_specs.conf --output-data group_scenario_specs
python3 get_group_overlap_stats.py --overlap_stats_path output_stats_pile_all --group_scenario_specs_path group_scenario_specs --output-data pile_group_overlap_stats.json --models "together/bloom" "together/gpt-j-6b" "together/gpt-neox-20b" "together/opt-66b" "together/opt-175b" "microsoft/TNLGv2_7B" "microsoft/TNLGv2_530B" "anthropic/stanford-online-all-v4-s3" "anthropic/claude-v1.3" "anthropic/claude-instant-v1" "together/yalm"
Example output:
{"group": "boolq", "scenario_specs": [{"class_name": "helm.benchmark.scenarios.boolq_scenario.BoolQScenario", "args": {"only_contrast": false}}, {"class_name": "helm.benchmark.scenarios.boolq_scenario.BoolQScenario", "args": {"only_contrast": "True"}}]}
{"group": "narrative_qa", "scenario_specs": [{"class_name": "helm.benchmark.scenarios.narrativeqa_scenario.NarrativeQAScenario", "args": {}}]}
{
...

{{"models": ["together/gpt-j-6b"], "group_overlap_stats_list": [{"group": "boolq", "num_instances": 3334, "num_overlapping_inputs": 1769, "num_overlapping_references": 0}, {"group": "narrative_qa", "num_instances": 355, "num_overlapping_inputs": 175, "num_overlapping_references": 0},
...

As discussed elsewhere:

The workflow here is too complicated. The current workflow is: given the overlap output, run a script in HELM to get the groups, run another script to join the groups with the result, and then run summarize with that output. I want to just put the overlap output file in a subdirectory in the suite directory and then run summarize.
summarize.py already has the mapping between ScenarioSpecs and groups, so we should use that rather than trying to recompute it from the run entries file.
Philosophically, I would prefer if the overlap code lives in an entirely separate repo / package and depends on HELM. But we can punt on this.

Updated and simplified logic to summarize.py. Introduce a new yaml of output_stat filenames -> models
Files for the pile include metadata.yaml and output_stats_pile_all in codalab folder
https://worksheets.codalab.org/bundles/0xd66a96f625c84b16a66a885dca5c1fee


Add documentation to the package

Hi Vera, you are also going to publish on readthedocs.io as part of this issue.  Am I right?

Hi Vera, you are also going to publish on readthedocs.io as part of this issue. Am I right?

Yes


RI-224 Backport mnaio system

This PR backports from pike the commits for updating the gating of MNAIO deploys to include system and tempest testing.
Issue: RI-213

recheck_cit_xenial_no_artifacts_swift_deploy

recheck_cit_xenial_no_artifacts_swift_deploy


Cannot read property 'extend' of undefined

Installing fresh nuxt app, i am getting this after running localhost:3000 only if i choose custom UI frameworks is bootstrap!
Cannot read property 'extend' of undefined
node_modules\bootstrap-vue\es\components\button\button-close.jsopen in editor
}
} // @vue/component
};
var _default2 = _vue.default.extend({
name: NAME,
functional: true,
props: props,
render: function render(h, _ref) {
var props = _ref.props,
Js
@35:30

I was also getting this issue when adding the bootstrap on the new app. For some reason when my new project was created using yarn create nuxt-app, the bootstrap was not working. I tried creating it with npx create-nuxt-app and it worked fine. Not sure if that is helpful, but that was my experience!

@allon-z thanks for your comment, Actually in my case its not working using npx create-nuxt-app app-name

@AlamTheInnov Thanks for the reporting.
This bug has been fixed in bootstrap-vue, more details: https://github.com/bootstrap-vue/bootstrap-vue/issues/3038