Names in expected compiler error messages are sometimes qualified and sometimes not

When I run
#[test]
fn ui() {
    let t = trybuild::TestCases::new();
    t.compile_fail("tests/ui/*.rs");
}

on my local machine's Windows and WSL Ubuntu, I get an expected compiler error message such as:
  | doesn't satisfy `_: MultiwayRangeSetBlaze<'_, _>`

When I run on GitHub actions or when another dev runs on their machine the error message becomes qualified with (for example) "range_set_blaze::":
  | doesn't satisfy `_: range_set_blaze::MultiwayRangeSetBlaze<'_, _>`

This also happens with Iter vs std::slice::Iter. I think all the machines are running rustc 1.69.0.
Any ideas on what could be making the compiler slightly give different error messages?
Thanks,
Carl
p.s. In case someone wants a repro:
git clone https://github.com/CarlKCarlK/range-set-blaze.git delui                                             │
cd delui                                                                                │
git checkout 9f2088                                                                                │
cargo test ui

Should say "1 passed"

I cannot reproduce a difference in qualified-ness. For me, locally and in GitHub Actions, using a 1.69.0 toolchain, paths in the error are always qualified. My best guess is your CI was not using the toolchain you thought it was.

I confirmed that the hash you gave (9f2088a063) passes cargo test on my machine using 1.69.0, and also on GitHub Actions using 1.69.0 (https://github.com/CarlKCarlK/range-set-blaze/commit/14bdd5bdb96a09fec021809affeb0a4582cd5e08).
I also confirmed that UI tests on your current main branch and current stable toolchain work the same locally and all the platforms in GitHub Actions (https://github.com/CarlKCarlK/range-set-blaze/commit/33ae458cc44c8b2e78dfbb23e35b5c96b1de165f).

David,
Thanks for looking into this. I now wonder if  UI tests that compare complicated error messages are practical. In the hope that things would just start working, I tried again. According to "rustc --version" both my local Windows (and Ubuntu) and GitHub CI are running: rustc 1.70.0 (90c541806 2023-05-31), but the error output is just a little different:
EXPECTED:
┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
error[E0599]: the method `union` exists for struct `Tee<Iter<'_, ({integer}, {integer})>>`, but its trait bounds were not satisfied
 --> tests/ui/tee.rs:8:17
  |
8 |     let _c = a0.union(a1);
  |                 ^^^^^ method cannot be called on `Tee<Iter<'_, ({integer}, {integer})>>` due to unsatisfied trait bounds
  |
 ::: $RUST/core/src/slice/iter.rs
  |
  | pub struct Iter<'a, T: 'a> {
  | -------------------------- doesn't satisfy `_: SortedDisjoint<_>`
  |
...
ACTUAL OUTPUT:
┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
error[E0599]: the method `union` exists for struct `Tee<Iter<'_, ({integer}, {integer})>>`, but its trait bounds were not satisfied
 --> tests/ui/tee.rs:8:17
  |
8 |     let _c = a0.union(a1);
  |                 ^^^^^ method cannot be called on `Tee<Iter<'_, ({integer}, {integer})>>` due to unsatisfied trait bounds
 --> $RUST/core/src/slice/iter.rs
  |
  = note: doesn't satisfy `_: SortedDisjoint<_>`
  |

https://github.com/CarlKCarlK/range-set-blaze/actions/runs/5459393103/jobs/9935353753#step:7:1229
I don't see any way to figure out the cause of the difference, so I'll just leave UI tests off for now.
(Thanks for all the great tools that you've created.)

Carl

I think that difference would be from the rust-src rustup component not being installed in CI. Without rust-src, rustc won't be able to render standard library source snippets into your errors. You have rust-src installed locally because I see a standard library "pub struct Iter<'a, T: 'a> {" in your .stderr file.
In CI:
      - uses: dtolnay/rust-toolchain@stable
        with:
          components: rust-src

Thanks! Adding components: rust-src fixed the bug in my project's testing.
(I've also updated an article that recommended UI testing with a note to mind the toolchain.)


Updated data seeding script to reflect current database schema (resubmitted due to user error!)

As a new contributor I followed the steps in the Contributing.md file but received errors while running the DefaultData.sql.txt script.
The errors were due to a new field PersonIsCheckedIn on the Commitment table which was defined as Not Nullable but was not being populated by the script.
I've updated the script to set this flag to 'true' in all instances.
There is another new int field on the Commitment table, Status, but this will default to 0 so no additional data is required for the script to run successfully.

I'm curious: Did you add the SQL by hand, or did you update the migrations? (either is fine, I just want to know so we can update the getting started docs).

I just updated the statements by hand - only a single parameter to each INSERT so fairly straightforward.


Remove dependency on FNH

The fraction map is a fluent mapping. This is old tech and can die now. Rewrite it as a regular class mapping.

In theory my only references are:

NHibernate from Nuget
CSF.Core from Nuget
CSF.Data from Nuget


components updated

Alpine 3.12 -> 3.18
BATS -> 2.1.0
S6_VERSION -> 3.1.5
Fixed S6_VERSION  URL, Arch and extraction.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Mikhail Usik seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Please make sure the following requirements have been met for your PR before we can continue reviewing it:

You have signed the CLA by clicking the [CLA | not signed yet] button from the comments.
The PR has passed all the CI tests and turns green. (you can execute all tests locally by running npm test)


Add extensions and remove * text=auto

While looking at how @GCuser99 adapted the template in this project to fit their needs with https://github.com/GCuser99/SeleniumVBA, I realized that we might as well include extensions for VB6 and twinBASIC (+ a few more).
Also, my initial approach of including * text=auto eol=lf was a little too aggressive in terms of LF adoption outside of VBA code files. The new suggested approach is safer in case there are extensions other that the ones listed in the template that need to keep CRLF in the working directory to work properly.

In the suggested template, we don't include * text=auto because having this as the default for all file types requires you to be careful to override every case where you don't want that behavior. All that without seeing much benefit. Feel free to add it if you prefer, but make sure to include the other entries in the .gitattributes template file as they will deal with the exceptions to this rule.

Martin, if we exclude * text=auto in template, then do we need to specify any of the "override exceptions" that follow? What is the default behavior without * text=auto?

@GCuser99 The default behavior depends on the value of core.autocrlf on the user's machine. If it's set to true or input, conversion to LF will occur during checkin. In this case, we need to "override" that default setting for the user, but I should probably reword that section in the README to make it clearer.
For a user with core.autocrlf=false, the default is to not perform any line ending conversions, which is the best option in my opinion and VonC's opinion as well. If all the contributors on a project have it to false, then the the .gitattributes entries for VBA/VB6/tB won't be overriding anything.

Btw, have you tried to import a file with LF line endings into the tB IDE to check if there was any issue with line endings? I'm assuming that if Linux support is planned, that should be something to address.

Yes I have and tB appears to have no problem with LF line endings. But out of principle, I don't like the idea of GitHub changing anything about the files I upload to it.

Yes I have and tB appears to have no problem with LF line endings.

Good to know! At least this means that there will be no issues with .twin files at least no matter how it's configured in the .gitattributes file.

But out of principle, I don't like the idea of GitHub changing anything about the files I upload/download to/from it.

In that case you could even go all the way an use * -text if you'd like 😳.


Can't find Forza Motorsport 2023

Describe the bug
BoilR can't find the latest Forza game from Game Pass. It's the only Game Pass game I have installed, but BoilR just says did not find any games.
To Reproduce
Steps to reproduce the behavior:

Made sure Game Pass was enabled in Settings
Select the Import Games tab
No games found

Expected behavior
Should identify Forza 2023
Desktop (please complete the following information):

OS: Windows 11
BoilR Version v.1.9.4
Launcher Game Pass

Additional context
Tried with and without the Xbox app running.

Unfortunately I have also expected very specific games that BoilR just does not pick up on in Game Pass, I have not found the pattern in why it is yet, if anyone knows, please let me know :-)


bug: ion-tab with ng-repeat

Type: bug
Platform: all
 In my controller I have a array to create the tabs on view:
    $scope.categorys = [{
      name: 'fragrances',
      icon: 'ion-star'
    }, {
      name: 'skincare',
      icon: 'ion-star'
    }, {
      name: 'hair',
      icon: 'ion-star'
    }];

And ion-tab with ng-repeat of categorys:
  <ion-tabs class="tabs-striped tabs-top tabs-background-dark tabs-color-light">
    <ion-tab ng-repeat="(i, tab) in categorys" icon-on="{{tab.icon}}" icon-off="ion-star">
      test - {{tab}} - {{i}}
    </ion-tab>
  </ion-tabs>

It render 3 tabs, ok. But in the test it ever print the first element of array and doesn't change the content when a new tab is selected.

Greetings @pablozandona!
My sensors indicate that you need to update your issue through our custom issue form. We are now requiring all issues to be submitted this way, to ensure that we have all of the information necessary to fix them as quickly as possible.
Click Here To Update Your Issue
I will have no choice but to close this issue if it is not resubmitted through the form. Please fill out the rest of the form, so that I may use my friendly robot powers to assist you.
Thank you!

Greetings @pablozandona!
My sensors indicate that I require more information in order to assist you.

Can you provide a detailed description of this issue?
How would a robot go about replicating this issue?
On which platform does this happen occur? (iOS, Android, all, etc.)
On which platform versions does this occur? (Android 4.2, iOS 8, all, etc.)
Is this an issue with the Ionic Framework or Ionic CLI?

Additionally, providing a codepen that replicates the issue is extremely helpful.
If you wish to get help using the framework itself, I recommended visiting the forum, where many humans will be able to offer wisdom and advice.
Thank you for allowing me to assist you.

+1
The same happens to me, maybe there could be a workaround but I didn't find one.
What I've got: http://play.ionic.io/app/9e00611b9072
Expected: http://play.ionic.io/app/74b75e0e9a9a
Navigate between tabs to see that the content isn't displayed correctly.

I'm having the same problem... i have to hard code all tab view to avoid it right now, not sure if there is any work around...
Shor problem description : The ng-repeat inside ion-tab will multiply randomly, and previous tab will become a complete white page(no content nothing) after switching to other tab can navigate back.

Greetings @pablozandona!
My sensors indicate a reply was requested, but as we have not received one yet, I am using my robot powers to close this issue. However, if you are still experiencing this issue, please feel free to reopen it by creating a new issue, and include any examples or necessary information.
Thank you for allowing me to assist you.

Greetings @pablozandona!
My sensors indicate a reply was requested, but as we have not received one yet, I am using my robot powers to close this issue. However, if you are still experiencing this issue, please feel free to reopen it by creating a new issue, and include any examples or necessary information.
Thank you for allowing me to assist you.

I'm seeing what appears to be the same problem.

It makes sense why. Since the tabs need to go through ng-repeat to get created, they miss being selected.
Work around is to manually select the tabs in the controller.
http://play.ionic.io/app/d3fdb264cb54
This is probably something though that we won't fix. Just a heads up.

is that sample supposed to be working properly with the added $ionicTabsDelegate.select(0);? I'm still seeing the same buggy behavior.
Looks like there are a number of people running into this. If it's not fixable, would it make sense for the ion-tabs doc to get a warning that the tabs have to be defined statically?

Ahh, alright, I see what you mean. Yeah, this is a tough one. I though it was just the tab not being selected, but it's a bit more than that. While the tabs are repeated with ng-repeat, the actual content the inside is not. That's where the issue is.
It comes down to how tabs get rendered, which would require a big change to fix. At the moment, I don't think we'd be able to fix this. I'll add a note to the docs.

That should help. Thanks!

meet exact the same problem. +1

+1

+1

+1

+1

+1

+1 please!


For Loop program in Java

Create a For Loop program in Java

I will solve this issue for you.

I want to solve this issue for you


File upload error with Craft 2.5

Hello,
I'm getting a php warning on submission when a file has been uploaded.
array_merge(): Argument #1 is not an array
AssetsFieldType.php(266)
266         $fileIds = array_merge($value, $fileIds);

Same here, has anyone resolved this?.
I'll come back here and update this if I do.

Well I feel a little embarrassed I didn't have enctype="multipart/form-data" on my form.
Hope this saves someone pulling their hair out.
Cheers (https://github.com/xodigital/Formerly/issues/51#issuecomment-152089574)


UnboundLocalError: local variable 'failed_song_names' referenced before assignment & Could not find playlist name please provide a name

Full Error As Follows
Enter the spotify URL link: https://open.spotify.com/playlist/649OfpVgIVrppB0zRV7kAJ?si=d0437a0d0962449d
Could not find playlist name please provide a name
Please open https://www.google.com/device and input code RPKM-CVMR
Press enter when you have completed this step.
HTTP Error 428: Precondition Required
Traceback (most recent call last):
File "D:\Durgesh Files\Programming\TESTS\spotify2mp3\run.py", line 176, in finalize_download
yt_vid_obj = yt_dl_obj.streams.filter(only_audio=True)
File "C:\Users\Durgesh\AppData\Local\Programs\Python\Python310\lib\site-packages\pytube_main_.py", line 296, in streams
return StreamQuery(self.fmt_streams)
File "C:\Users\Durgesh\AppData\Local\Programs\Python\Python310\lib\site-packages\pytube_main_.py", line 176, in fmt_streams
stream_manifest = extract.apply_descrambler(self.streaming_data)
File "C:\Users\Durgesh\AppData\Local\Programs\Python\Python310\lib\site-packages\pytube_main_.py", line 157, in streaming_data
if 'streamingData' in self.vid_info:
File "C:\Users\Durgesh\AppData\Local\Programs\Python\Python310\lib\site-packages\pytube_main_.py", line 246, in vid_info
innertube_response = innertube.player(self.video_id)
File "C:\Users\Durgesh\AppData\Local\Programs\Python\Python310\lib\site-packages\pytube\innertube.py", line 300, in player
return self._call_api(endpoint, query, self.base_data)
File "C:\Users\Durgesh\AppData\Local\Programs\Python\Python310\lib\site-packages\pytube\innertube.py", line 239, in _call_api
self.fetch_bearer_token()
File "C:\Users\Durgesh\AppData\Local\Programs\Python\Python310\lib\site-packages\pytube\innertube.py", line 187, in fetch_bearer_token
response = request._execute_request(
File "C:\Users\Durgesh\AppData\Local\Programs\Python\Python310\lib\site-packages\pytube\request.py", line 37, in _execute_request
return urlopen(request, timeout=timeout)  # nosec
File "C:\Users\Durgesh\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 216, in urlopen
return opener.open(url, data, timeout)
File "C:\Users\Durgesh\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 525, in open
response = meth(req, response)
File "C:\Users\Durgesh\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 634, in http_response
response = self.parent.error(
File "C:\Users\Durgesh\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 563, in error
return self._call_chain(*args)
File "C:\Users\Durgesh\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 496, in _call_chain
result = func(*args)
File "C:\Users\Durgesh\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 643, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 428: Precondition Required
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Durgesh Files\Programming\TESTS\spotify2mp3\run.py", line 562, in
main()
File "D:\Durgesh Files\Programming\TESTS\spotify2mp3\run.py", line 546, in main
download_playlist(spotify_url_link, playlist_name, linkAdd, token)
File "D:\Durgesh Files\Programming\TESTS\spotify2mp3\run.py", line 423, in download_playlist
finalize_download(song, skipped_songs, failed_downloads, legal_path_characters, folder_name, spotify_playlist_id)
File "D:\Durgesh Files\Programming\TESTS\spotify2mp3\run.py", line 238, in finalize_download
failed_song_names = failed_song_names + "\t• " + song_name + " - " + artist + f" | Fail reason: {e}" + "\n"
UnboundLocalError: local variable 'failed_song_names' referenced before assignment
And Please make sure that this works with my playlist as well because when i entered my spotify playlist link that time it showed the error Could not find playlist name please provide a name
my spotify playlist link https://open.spotify.com/playlist/649OfpVgIVrppB0zRV7kAJ?si=17295df20e494ef7

Hi @DurgeshKavate003 I will look into your error, but we are in the process of writing this application from scratch for stability.

For now, please use https://github.com/couldbejake/spotify2mp3/tree/97c56424e261d15369bfc0a51de59b31723a135e

thanks... and good luck...

The code has been updated, I hope all is well.


Recipes for Semantics

Here is a WIP for recipes for semantics. It's making use of the recipes for grammars and bundles both in a similar style (though only the semantics will be returned and the grammar can be retrieved from it).
Sketch of the resulting recipe:
(function() {
  var grammarFn =[whatever grammar.toRecipe() returns];
  var grammar = grammarFn.call(this);
  var semantics = grammar.semantics()
    .addOperation("foo", {
       // all the actions
    })
    .addOperation("bar<x>", {
      // and another operation
    })
    .addAttribute("baz", {
      // same for attributes
    });
  return semantics;
})

There are still some FIXMEs in there that obviously will have to go before merging (DO NOT COMMIT YET).
@pdubroy @alexwarth, I am looking for feedback and whether this is what you had in mind as well as hints for what would be a good case for extended semantics (not looked at yet).

Looks pretty good to me.

The last change (aed4518)  is not as nice as I would want it to be. Please, leave feedback if you have a better idea!

LGTM apart from what I said about the toString() thing...I think it's also merge this and fix in a follow-up commit.
And can you squash if/when you merge, pretty please :-)


improve formatting

No special formatting is currently done when inserting/replacing code.
Might be worth having a configurable option for formatting style, or to just follow some existing style guide.
Resources:

https://github.com/ibpsa/modelica-ibpsa/wiki/Style-Guide
https://stackoverflow.com/questions/14163386/modelica-style-guide

won't fix for now. Feel free to create a PR resolving this issue--


[Serialization] Use decl mangling for local decls, not type mangling.

Otherwise we get an error with local generic types. We don't need the complexity of type mangling anyway.
SR-5038 / rdar://problem/32488971

@swift-ci Please smoke test

@bitjammer, @nkcsgexi, @scallanan: what should I do about RemoteAST and TypeReconstruction.cpp? Both of these appear to not handle local types correctly anyway, generic or not; the former explicitly hasn't implemented it and the latter already has a test case that demonstrates it's not working.

Eagerly merging to avoid the crash, but still interested in a response to the above.


bug report

I am using this package: https://github.com/Daemonite/material .
bagjs has a bug. when loading .js files by bagjs, this page (https://github.com/Daemonite/material/blob/master/templates/ui-button.html) can't work normally. you will see when not loading by bagjs, the title will change when you scroll down.
I test bagjs for 2 days, if loading .css, the image files loaded by css will be changed to the root path.

now I test basketjs, it can make the page work normally.

Could you create a minimal test sample how to reproduce? (the best of all - test repo)

ok, will work for it.

I put the sample here https://www.jianguoyun.com/p/DWC42bEQpOTyBRiPuxQ
the page is in Chinese, don't worry just click the green button to download it.
you need to run a local server to test it, so I put a baby_web_server for you.
in the dir XLDownload\material\templates, you see 2 html file named 'ui-button.html' and 'ui-button2.html'.
the ui-button.html is original and the ui-button2.html is changed to load .js with bagjs.
you will see the bug I wrote.

sadly I try the website asking to login to download. wait.

You can create a new repo on github & put files there. That will be more convenient.

http://pan.baidu.com/s/1boXjPX9 put it here, and tested.

thank you dude.

There something strange in your archive - too many files. Minimal example means, it contain as few files as possible to reproduce problem. Those files are not required to be from your app, you can create a special ones to demonstrate th bug.
Could you do it?

http://pan.baidu.com/s/1bp6vGq7  it is the Minimal one.

Sorry, your archive contain too much of code, not related to this bug anyhow. We can not debug it. See this example https://github.com/Kirill89/bagjs-issue-12, try to do something similar and create a new issue. With CSS we could not reproduce bug about broken paths.


Enchantment with betterplayer

Can you please make this more powerfull with betterplayer because that use flutter_textureview which doesn't provide actual color even colour washout on HDR video.
That will help lots of users.
Developer failed to initialised platform view on Android side to provide a native view.
https://pub.dev/packages/extended_betterplayer

Does these video_player plugin use texture to render instead of platformview?

Yes both player doesn't use platformview
On Sat, 22 Jul, 2023, 11:19 pm XuanTung95, @.***> wrote:

Does these video_player plugin use texture to render instead of
platformview?
—
Reply to this email directly, view it on GitHub
https://github.com/XuanTung95/simple_platform_view/issues/1#issuecomment-1646638417,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKCFO6AEDAW3EDTS34OOY73XRQHDZANCNFSM6AAAAAA2T62CMQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Video_player not use much. But betterplayer is using widely by user they feel uncomfortable with flutter Texture. Platform view solve lot of issues like black or green screen sometime, HDR and Dolby vision color washout issue, and some time SDR video colour profiling issue.
You are expert and you have experience in platformview with better performance that why I approach to you. Hope you will work on better_player

I think texture is good for video player plugin, the author did not use platform view so I cannot do anything. And I dont understand why using platform view is better than flutter texture.

HDR and Dolby vision video color washout issue
Sometime Black and green screen issue
SDR video colour profiling mismatched

That all issue due to texture

You can try on https://pub.dev/packages/extended_betterplayer

I mean I dont know what is the root problem, it may come from exoplayer or some configuation. You can try to create a plugin using exoplayer platformview to test.

Yes always tested flutter_playout that based on platformview with exoplayer
that work good
On Sat, 22 Jul, 2023, 11:59 pm XuanTung95, @.***> wrote:

I mean I dont know what is the root problem, it may come from exoplayer or
some configuation. You can try to create a plugin using exoplayer
platformview to test.
—
Reply to this email directly, view it on GitHub
https://github.com/XuanTung95/simple_platform_view/issues/1#issuecomment-1646645935,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKCFO6AJBZI4IF4U7JE5Q4DXRQLYTANCNFSM6AAAAAA2T62CMQ
.
You are receiving this because you commented.Message ID:
@.***>

If so you can modify better_player to use flutter platform view instead of texture and if it is not working you can try this plugin. Please note that this plugin has a position synchronization issue as mentioned in readme. Also, flutter has 3 platform view modes in Android, you should test with all of these modes.
I will maintain this plugin but I won't update better_player or other plugins. The author or contributor should do it.

I don't know about native code bridging

there is doc here https://docs.flutter.dev/platform-integration/android/platform-views
You could check PlayerViewFactory in flutter_playout

Great
On Sun, 23 Jul, 2023, 9:33 am XuanTung95, @.***> wrote:

there is doc here
https://docs.flutter.dev/platform-integration/android/platform-views
You could check PlayerViewFactory in flutter_playout
—
Reply to this email directly, view it on GitHub
https://github.com/XuanTung95/simple_platform_view/issues/1#issuecomment-1646740012,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKCFO6CJERLSHMYUAJSD2A3XRSO77ANCNFSM6AAAAAA2T62CMQ
.
You are receiving this because you commented.Message ID:
@.***>


📝[Docs]: Add FAQ section

Is there an existing issue for this?

[X] I have searched the existing issues

Issue Description
Addition of frequently asked question i.e. faq section will be highly beneficial for the project. As the website doesn't have a contact us page rn so it will be best to add it so that user might have a clearance of their doubt through it. I am willing to work on this issue under gssoc.
Suggested Change
I will add FAQ section below custom link

Rationale
No response
Urgency
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

We don't need this section for now.


feat(prover): Witness change for snark wrapper, updated keys

What ❔

Changed witness for snark wrapper - to pass the previous AUX and META fields
updated snark_wrapper_verification key to the latest version
updated the vk_hash to match the newly generated JSON, and made sure that it is being loaded at genesis.

Why ❔

to make boojnet work locally

We can merge this, but I'll need to update https://github.com/matter-labs/zksync-era/pull/142 after


setup-java v2

v2 is the latest version of setup-java
https://github.com/actions/setup-java/blob/main/README.md

@frantuma

Obsolete.  I will open a new PR


will persist snippet data across the login session

Fixes - #399

@imrishabh18 Okay sure.So we should split tests across multiple files ?

@imrishabh18 i'm unable to test these changes locally coz locally we are using fakeApi and not the redirecting the user to the github oauth page

the user will click on login to save button and when in prod env it will redirect user to the github oauth page and from there to the authorize page and if the authorize page sees that guest snippet variable exists in the local storage it will redirected to the editor page and I will extract the previous edited info from guest snippet and set it . If that's good then i will start writing a test for this

@Niharika0104 Yeah, correct. I think we can merge this without test. What do you think @seveibar?
On the UI, you have converted the Not logged in, can't save tag beside the save button to Login to save as a button. From the user point of view, that button appears to be a tag, which is pointing me to Login on the header and not click on the tag itself.

@imrishabh18 yeah when we click on login to save it will redirect to GitHub oauth page and on entering their credentials it will redirect them to editor page and the code editor and manual edits  json file will be populated with the info we saved in guest snippet variable present in the local storage
Hope this makes sense!!

@Niharika0104 I think this should be still testable in playwright if you create a fake-api login route, the url is something like:

internal/oauth/github/authorize?next=${nextUrl}/authorize

Overall i like the implementation, except i think most users will click "login" in the header rather than the badge.
It's a bit of work but if you're down i would recommend pausing this PR, then implementing a PR that just allows logging in inside playwright tests (issue: https://github.com/tscircuit/snippets/issues/409)
Overall it's a good idea to store the guest session inside the global store. But I'm cautious about the loading process- we might want to have a specialized hook or something that runs the appropriate state machine because the <CodeAndPreview /> file scares me. But I'm not quite sure how to do this refactor yet-

@Niharika0104 i was looking at the logic in a bit more detail, it seems like the playwright test should be able to login due to this login logic:

Yeah the tests are fine now but when we click on login /sign up on the header it takes us to the home page(/) but when we click on the login to save button it will take us to GitHub oauth and then to the editor page.
I tried testing it in the vercel preview site but GitHub oauth is not working there @seveibar

Yea i cant enable auth in preview
We should use the same code/logic for both logins, there's a sign in hook that should handle it iirc

Yeah Im aware of that hook let me try again
Thanks @seveibar


SWDEV-345870 - Correct HSA path for new directory layout

With file reorganization, HSA installed in /opt/rocm-ver Use the installed path rather than using backward compatibility path /opt/rocm-ver/hsa

Change looks good.
But would this change work with RoCM 5.3 release ? i.e HSA install path already changed in RoCM 5.3 ? Please confirm.

Change looks good. But would this change work with RoCM 5.3 release ? i.e HSA install path already changed in RoCM 5.3 ? Please confirm.

5.3 release do have file reorganization changes for HSA. This will work with 5.3


How to plat embedded resource in android

hello, i added a resource in my project but im not able to play it on android, on ios i was able to get the path using NSBundle but what should i do in android?

After playing around a lot with audio files as embedded resources, this eventually worked well for me:
MediaFile sampleFile = new MediaFile(Android.Net.Uri.Parse($"android.resource://{Android.App.Application.Context.PackageName}/" + Resource.Raw.AudioSample).ToString()) { Type = MediaFileType.Audio };
await CrossMediaManager.Current.Play(sampleFile);


Next Release -> ACS Commons 4.4.0

The next release will be 4.4.0 since master now includes the new Marketo Component.

We might want to consider #2029 so we can finally introduce features that leverage structured content fragments.  Thoughts?

I moved all issues tagged against the 4.3.6 milestone over to 4.4.0

Note that the release process from this release was problematic and logged in #2137 as a bug. We need to get better at validating large, project-wide changes. This wasted a lot of time.


Integrated Terminal Misrendering Text

Issue Type: Bug
I have the powershell script winfetch installed and in my powershell profile (PowerShell 7). If I use the integrated terminal, it is completely unable ot properly render winfetch's output. It appears to make winfetch think that the terminal is about ten characters narrower than it actually is and when I run the powershell command for clearing the screen (aliased to cls by default), it prints the output below itself and then clears only part of the terminal. If I resize the terminal in VSCode the issue is fixed; at least until next launch.
VS Code version: Code 1.55.0 (c185983a683d14c396952dd432459097bc7f757f, 2021-03-30T16:01:55.261Z)
OS version: Windows_NT x64 10.0.19041

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-7600K CPU @ 3.80GHz (4 x 3792)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.89GB (10.60GB free)

Process Argv
--crash-reporter-id 9a6c8345-3bbe-4f26-ab0d-4ecc5573a7c0

Screen Reader
no

VM
0%

Extensions (5)

Extension
Author (truncated)
Version

vsc-python-indent
Kev
1.13.1

python
ms-
2021.3.680753044

jupyter
ms-
2021.5.702919634

cpptools
ms-
1.2.2

markdown-all-in-one
yzh
3.4.0

This is the output of winfetch on launch:

This is what happens when I run cls:

Again, if I resize the terminal slightly, these issues go away and everything works as expected.

Output of winfetch after resizing the terminal:

related to and likely Duplicate of #120004


If model is detected to be asymmetric do FullGaitCycle

Would it be an idea to change the default simulation type to FullGaitCycle when it is detected the model is asymmetric? Doing HalfGaitCycle simulations with an asymmetric model do not make sense.

Great idea, that's a good safety check to have.
This should not require much new code.
While debugging, I already made test scripts that detect symmetry of the external function.
The dummy motion that is used to evaluate musculoskeletal geometry) can be helpful, since the 2nd half of data points are symmetric w.r.t. the 1st half. This also means that the muscle-tendon lengths from the muscle analysis are mirrored the same way.
With these as inspiration, you can try to make the function you want.


Chorus RF Laptimer v 0.7.6 Minimal Lap Time can not be set in android 7.0

Expected behavior
When a user clicks on the plus (+) or min (-) icon to set the Minimal Lap Time before starting the race, the ability to increase or decrease the Minimal Lap Time should be possible.
Actual behavior
Minimal Lap Time can not be set, although I have tried to click multiple times on plus (+) or (-) icons.
How to reproduce

Launch app.
Click on the plus (+) or min (-) icon in the Minimal Lap Time feature section.
You will find the problem as I have explained, Minimum Lap Time can not be set.

Browser: Samsung Galaxy S6 edge
Operating system: Nougat 7.0
App version: 0.7.6
Recording Of The Bug
https://youtu.be/__AXU2pW5ms

You should connect to device first, because Min Lap Time is a property that's set on hardware.

Thank you very much for the information you provided, my device is having problems, I will try to connect after fixing it.


"libavcodec/bsf.h" not found

Hello,
When trying to build under Ubuntu 20.04, I encounter the following error:
$ go build .
# github.com/zergon321/reisen
./media.go:8:11: fatal error: libavcodec/bsf.h: No such file or directory
    8 | // #include <libavcodec/bsf.h>
      |           ^~~~~~~~~~~~~~~~~~
compilation terminated.

The required libs are installed:
$ sudo apt install libswscale-dev libavcodec-dev libavformat-dev libswresample-dev libavutil-dev
libavcodec-dev is already the newest version (7:4.2.7-0ubuntu0.1).
libavformat-dev is already the newest version (7:4.2.7-0ubuntu0.1).
libavutil-dev is already the newest version (7:4.2.7-0ubuntu0.1).
libswresample-dev is already the newest version (7:4.2.7-0ubuntu0.1).
libswscale-dev is already the newest version (7:4.2.7-0ubuntu0.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

But indeed, there is no bsf.h anywhere in /usr/include and subfolders. I copied bsf.h manually from ffmeg/libavcodec source code (as well as a few other needed headers), but the compilation crashes as there is always some source code missing.
No ubuntu 20.04 package seems to supply bsf.h:
$ apt-file search bsf.h
bsh-doc: /usr/share/doc/bsh-doc/html/bsf.html
libc-client2007e-dev: /usr/include/c-client/os_bsf.h
nvidia-cuda-doc: /usr/share/doc/nvidia-cuda-toolkit/html/libdevice-users-guide/__nv_fabsf.html

Could it be because the libavcodec-dev  provided by Ubuntu 20.04 is too old? Any suggestion?

Hi. Ubuntu usually contains obsolete releases of software in its standard repositories. It means a third-party repository needs to be added in order to download the latest version of LibAV. Quick googling gave me ppa:savoury1/ffmpeg4, but I'm not sure about this one. I'm not an Ubuntu user myself.

Many thanks ! Indeed, it now works with the ffmpeg version from this ppa.
PS: to other potential users. Beware: The creator of the ppa warns that "Upgrading FFmpeg is not recommended for beginners unless you know what you’re going to do. It may remove your applications or cause dependency issue for some multi-media apps that depends on specified version of a media library." (https://ubuntuhandbook.org/index.php/2021/05/install-ffmpeg-4-4-ppa-ubuntu-20-04-21-04/)


Initial folder layout to allow further commits

Initial folder layout to allow further commits. I intentionally left a few changes as TBD to allow for additional flexibility:

coding style
code ownership
formatting rules

Different contributing individuals and companies should be able to use their own applicable coding style, i.e. if a module enables integration with a different system or product, it would most likely follow the coding style rules of the product.
I am not sure 100% re. the license, but keeping it Apache License Version 2.0 as the main repo. We may need to add an additional provision that optional community-contributed projects may each be under their own license?

Need to figure out who should be the maintainers of this project.

It's not that we have a huge line of maintainers at this point, so I mirrored what was done for .NET : same contributors and maintainers as for the main C++ repository. I'd be glad to be one of the maintainers.

Need to figure out who should be the maintainers of this project.

It's not that we have a huge line of maintainers at this point, so I mirrored what was done for .NET : same contributors and maintainers as for the main C++ repository. I'd be glad to be one of the maintainers.

@reyang Can you look on this PR once, as it's blocked on changes requested by you. Thanks :)

I'll approve if we remove https://github.com/orgs/open-telemetry/teams/cpp-maintainers and https://github.com/orgs/open-telemetry/teams/cpp-approvers from the PR. We can either create separate groups (e.g. cpp-contrib-approvers) like what .NET did, or leave it as a TODO for next PR.

I'll approve if we remove https://github.com/orgs/open-telemetry/teams/cpp-maintainers and https://github.com/orgs/open-telemetry/teams/cpp-approvers from the PR.

I removed the notion of the main repo maintainers and approvers. I added a reference to the CODEOWNERS process, which itself is TBD in a separate PR.


Ansible request for missing Nvidia Cuda Toolkit link

From https://ci.adoptopenjdk.net/job/VagrantPlaybookCheck/OS=Win2012,label=vagrant/1588/console
21:37:10 TASK [NVidia_Cuda_Toolkit : Download NVidia CUDA toolkit - Windows 7,8 and Server 2008,2012] ***
21:37:36 fatal: [<IP_ADDRESS>]: FAILED! => {"changed": false, "dest": "C:\\temp\\cuda_9.0.176_windows_network-exe.exe", "elapsed": 1.5612966, "msg": "Error downloading 'https://developer.nvidia.com/compute/cuda/9.0/Prod/network_installers/cuda_9.0.176_windows_network-exe' to 'C:\\temp\\cuda_9.0.176_windows_network-exe.exe': The remote server returned an error: (404) Not Found.", "status_code": 404, "url": "https://developer.nvidia.com/compute/cuda/9.0/Prod/network_installers/cuda_9.0.176_windows_network-exe"}

The link https://developer.nvidia.com/compute/cuda/9.0/Prod/network_installers/cuda_9.0.176_windows_network-exe returns a 404. Needs to be updated

Duplicate of https://github.com/adoptium/infrastructure/issues/2818?

Yep, didn't know there was an existing issue


Removed the "MarketingBento" in website home

Describe your changes
Removed the "MarketingBento" part from website's home
Checklist

[x] I performed a self review of my code
[x] I ensured that everything is written in English
[x] I tested the feature or fix on my local environment
[x] I ran the pnpm storybook command and everything is working

I close this PR since we are not removing the bento, but rather update the associated images and links :) So no need to delete it


⚠ ClamAV has degraded performance

In cef583a, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 259 ms

Resolved: ClamAV performance has improved in 0e67584 after 18 minutes.


Local variables are not suggested in log message completions

Testing #45962

add a log point
very likely, in a log point, you might want to log the value of a local variable or argument to a function (i.e. not global variables)
observe, the local variables are not suggested

@alexandrudima there are quite some flaws with our current suggest approach
However I changed that I get the inteli-sense for the location of my breakpoint and not for the start of the document, this shuold make it more precise and I expect to fix this case.
In case it does not get fixed it might be an related to https://slack-redir.net/link?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Fvscode%2Fissues%2F46827

While I do see completions, they seem to skip the first letter and use the rest
In the example that @alexandrudima provided above, we get completions for r instead of nr
In the below example, we get completions for urr instead of curr

cc @jrieken

@isidorn I have disabled Intellisense for now with commit https://github.com/Microsoft/vscode/commit/18e38684e25908cd2b4b019a09465905dc1ffba2

@weinand with the help of Joh this now behaves much better imho. Please try it out and if we decide to include it we can put it in release notes (I guess we did not do it last release)

@isidorn yes works better now. Let's ship this.


effective_value does not take segwit/legacy into account

I have a few doubts/questions about the new effective_value function:

How can it be correct if it does not consider weather we are adding this input to a legacy or segwit transaction?
What is satisfaction_weight? Why the term "satisfaction" - I thought we used this term already to satisfy a script.
Why is this not a method on TxIn or on Transaction (on tx it would solve the segwit thing, on txin it kind of makes sense even though it doesn't use self).

IIUC the usecase for this function is:

Calculate the cost of a tx without the inputs
loop over various inputs and get their effective value
Do some calculations with the effective value

If this is the case I would have expected a function on Transaction to do (1), or is that what satisfaction_weight is supposed to mean?

I used this blog post to learn about this stuff: https://bitcoin.stackexchange.com/questions/103654/calculating-fee-based-on-fee-rate-for-bitcoin-transaction#103661

Reading previous discussions should answer your questions but briefly:

does not consider weather we are adding this input to a legacy or segwit transaction

The caller is responsible for setting the correct satisfaction weight based on this

What is satisfaction_weight?

Total weight of witness + script_sig when the input is fully signed

Why is this not a method on TxIn

Because TxIn doesn't contain amount. And you will soon see a potential solution I'm about to push, just checking some things...

or on Transaction

Because Transaction has multiple inputs and outputs.

on tx it would solve the segwit thing

It wouldn't because of P2SH-P2WPKH where you're unable to tell whether it's segwit or not just from looking at the transaction alone.
The function is a minimal primitive used for coin selection. Among other things it can determine whether spending a particular output is worth it.

How can it be correct if it does not consider weather we are adding this input to a legacy or segwit transaction?

The satisfaction weight will take this into account.

What is satisfaction_weight? Why the term "satisfaction" - I thought we used this term already to satisfy a script.

Yes, and satisfying a script requires a certain amount of weight. Note that rust-bitcoin doesn't have any real facilities for script satisfaction; either you use a fixed template and manually construct witnesses, or you can use rust-miniscript or similar.

Why is this not a method on TxIn or on Transaction (on tx it would solve the segwit thing, on txin it kind of makes sense even though it doesn't use self).

Logically speaking it belongs on TxIn ... but as you say, it doesn't actually use any part of the TxIn and therefore works as a standalone method. Maybe it should be a static method?

Ok, thanks for the explanations, probably took more of your time than I should have. I"ll add docs to the satisfaction_weight argument to explain all that. Are we definitely happy with the term "satisfaction"?

Logically speaking it belongs on TxIn

I'd say TxOut - it's operating on UTXOs where O means output.

Maybe it should be a static method?

Then we enter a huge flamewar whether it should be on TxOut or TxIn. :D

Are we definitely happy with the term "satisfaction"?

Do you have an alternative? I can't come up with any.

We are calculating the weight of adding a TxIn type (because we use weight of OutPoint and Sequence), sure Amount comes from a UTXO but this is the same problem we always have with the nomenclature of input/output - one transactions ouput is the next ones input.

Lets leave it as a function though, no need to bikeshed this.

We could just implement it on ExtendedTxIn from #2347 :D
But really, if we can come up with good Extra that can represent known satisfaction weights we can have it as a method that doesn't require other arguments than self.

@tcharding thanks for the questions and suggestions to improve this.  Reading the comments on the PR https://github.com/rust-bitcoin/rust-bitcoin/pull/2230 may also help with some of your earlier questions.  In particular:

The effective_value is used to calculate how much a particular output contributes to a target spend amount. Therefore, the effective_value returns the net amount, that is, the output amount minus the overhead to spend the output. The overhead to spend the output is the fee. In order to calculate the fee, the size of the input which consumes the output is calculated as the input base_weight plus the size of the output once the spending conditions are satisfied (the satisfaction_weight) multiplied by a fee_rate. Lastly, subtract the fee from the output value to find the effective_value.

Happy to discuss any other questions or additions.

@yancyribbens while you're here, check out the ExtendedTxIn type in #2230 It could represent a UTXO.


/usr/bin/python3: No module named pip

trying to run dependancies as advised and getting /usr/bin/python3: No module named pip
i even rebuild server to 18.04 so its a fresh install but still the same
is there a specfic setup needed on insatlling Python 3.7?

Hi, I think you did not install pip. You can use the following command to install on Ubuntu
sudo apt install python3-pip

Hi, I think you did not install pip. You can use the following command to install on Ubuntu
sudo apt install python3-pip

thanks for quick reply and this did indeed resolve the above error wonder if its worth having that command as part of the steps to help newbies like me

This would be a good idea actually :)


Add optional navigation arrow

It will increase navigability!

moving this to the paper-swipeable-pages element


No matter the file it shows "Unable to access service resolver"

Hi
I am getting "Unable to access service resolver" no matter the file i choose to upload. I tried images, pdf and even blank text files.
I am using Macos big sur. with AEM 6.5.9 and AEM virus scan 1.1.1
My friend tried in windows as well he also faced the same error

PS the bundles are active

Getting the same error for Windows.
AEM 6.5.9
AEM Virus scan - 1.1.1
clamav - clamav-0.104.1.win.x64
Do we need any changes in the clamd.conf file? Attached the conf file used in Windows
clamd.conf.txt
.
Thanks,

Can you retry with version 2.0.0?

In 2.0.0 the malicious test files from https://github.com/fire1ce/eicar-standard-antivirus-test-files are not getting detected.

What do you get on this URL on AEM?
/libs/granite/operations/content/healthreports/healthreport.avsHealthCheckmBean.html/system/sling/monitoring/mbeans/org/apache/sling/healthcheck/HealthCheck/avsSelfCheckHCmBean

Also, use the "eicar.com" file for testing. I think one of the other files is not detected by ClamAV.

we were able to create a file and test which worked fine. I have another issue but i will raise a separate thread on that.
PS - The link to 'release-section' in readme section is pointing to wrong page https://github.com/valtech/aem-easy-content-upgrade/releases instead of https://github.com/valtech/aem-virus-scan/releases

Thanks for the hint with the links, fixed now. :)


https://github.com/reb-hash/github-slideshow/issues/8#issue-1199328372

https://github.com/reb-hash/github-slideshow/issues/8#issue-1199328372

🍀
Originally posted by @reb-hash in https://github.com/reb-hash/github-slideshow/issues/9#issuecomment-1094500073

Danke


ADFS Migration Guide

Guide to migrate ADFS apps to AAD.

For reference, here is the original PR with other team mates reviews: https://github.com/Azure-Samples/ms-identity-dotnet-adfs-to-aad/pull/1


Hide 'Clear' button in notification drawer if there is no notifications

Fixes: https://github.com/oVirt/ovirt-web-ui/issues/710

[need to fix the build]

ci build please

ci build please

ci build please

ci build please


elasticsearch: Added secret to be used for gcs

Added a secret for gcs keyfile

Approving on the assumtion that you've checked that it works:)

Alright, I have tested this now and there were some additional configuration that I missed.
But this seems to be working now


'error Invalid face weight t'

I'm getting this error:
Error in package--load-files-for-activation: (error Invalid face weight t)
when running line "(load-theme 'doom-one t)" in my init.el.
The whole bit refering to doom-themes is as follows:
(require 'doom-themes)

(setq doom-themes-enable-bold t
 doom-themes-enable-italic t)

(load-theme 'doom-one t) ; THIS LINE GIVES ERROR
(doom-themes-neotree-config)
(doom-themes-org-config)

System Information

Emacs version: 26.3 (9.0)
Emacs Distro: Prelude
Operating System: Catalina

Any help appreciated, thanks!

I cannot reproduce this, and the error doesn't seem to be related to doom-themes.
Please produce a backtrace from the error message. It will help determine where it's coming from.
Either:

Start Emacs with emacs --debug-init
Or do M-x toggle-debug-on-error, then create the error.

I'm closing this because the error is gone after restarting Emacs :/ I can't trace back the cause now.
Will reopen if it happens again to follow up. Thank you.


Add version: Azul.Zulu.17.JDK version 17.36.13 (<IP_ADDRESS>)

Created by 🥟 Dumplings.
Microsoft Reviewers: Open in CodeFlow

Hi @SpecterShell,
This manifest adds Apps and Features entries that aren't present in previous PR versions. These entries should be added to the previous versions, or removed from this version.
(Automated response - build 884.)


Fade in and fade out animation example in StackNavigator

Hello, is anyone can give an example of how to transit views in 'fade in' and 'fade out' animation inside StackNavigator? I read the documentation, but unfortunately, it seems like I still can't figure it out.
I really need some help, thanks for any help!!!

const fade = (props) => {
    const {position, scene} = props

    const index = scene.index

    const translateX = 0
    const translateY = 0

    const opacity = position.interpolate({
        inputRange: [index - 0.7, index, index + 0.7],
        outputRange: [0.3, 1, 0.3]
    })

    return {
        opacity,
        transform: [{translateX}, {translateY}]
    }
}

...
StackNavigator(routes, {
    transitionConfig: () => ({
        screenInterpolator: (props) => {
            return fade(props)
        }
    })
})

@94cstyles It works. Thank you!

Since the transitionConfig is inside the whole StackNavigator, all the screens inside the StackNavigator will perform the fade animation. But if I only want to perform fade between screen A and screen B, how to do it? One way in my mind is creating another StackNavigator which only includes A and B (with fade animation). Then put this StackNavigator in another 'bigger' StackNavigator.
I'm not sure this is the correct way or not. But personally, I don't like this way. Can anyone give some help? Thank you!

StackNavigator（routes，{
     transitionConfig ：（）=>（{
         screenInterpolator ：（props）=> {
             const {scene} = props
             if (scene.route.routeName === 'B') return  fade（props）
             return  outer....
        }
    }）
}）

@94cstyles The routeName part works! But I'm not sure the 'outer' part. I checked other issues about the animation but only found 'null'. So is there a snippet that can represent the 'default animation'? Or I have to adjust the inputRange and outputRange to make another 'default transition'? Cloud you please also give an example of the default one? Thanks!

Thanks!


Rate Limit / Throttle

Is there any way to rate-limit or throttle the processing of jobs.
i.e. 1/sec or 2/sec?

Nevermind. I see #35


Use Autoload

I've started this to change require for autoload but in the process i did find out some small details to improve:

Use autoload
Moved files around to reflect its naming. Fog::Compute::DigitalOcean is more expected to be in fog/compute/digitalocean then fog/digitalocean/compute. This might help newcomers to get to know the project easily.
Moved digitalocean/core to be the main file of this repo as fog/digitalocean. This file will will reference all the other main classes using autoload. This will make loading of the project faster.

Coverage decreased (-63.5%) to 0.0% when pulling 5a023b40ee971529e2d3d5b8fb27869f5fb01934 on use-autoload into d3b50259df5711fc5e4896fabb3593ae0b5de48c on master.


command ‘scriptable.initialize’ not found

Command ‘Scriptable: Initialize sources’ resulted in an error (command ‘scriptable.initialize’ not found)

I will check it today a bit later

Currently I've found the issue, but didn't have enough time to investigate and fix it
It is working in developer mode, but it is not working after publishing

Wow, fixed!


Fix Founndation typo on donation page

Closes #48

come on just merge it yourself for 1 letter lol


(JSON) Cell arrays export number arrays as string arrays

Exporting cell arrays populated by numbers seems to export an array of strings. For example, a cell with content:
200, 1.5
Should export as:
[200, 1.5]
But is currently exporting as:
["200", "1.5"]

This is actually exporting ALL arrays as string arrays. Bools and numbers are both affected.


The hide animation used wrong base radius.

The hide animation used wrong base radius to calculate clip radius which causes the hide animation run too fast

Thx for your pull request 👍


Conflict with open the command palette shortcut

Hi minrk,
I found when scratchpad is enabled the all shortcut for open the command palette do not work.
I tried adding a new shortcut. Still not work.
Do you have any idea, what I did run?
Thank you very much!

I also have this issue.

I've noticed this also. It appears that it's not actually conflicting with the shortcut, but it's causing the command palette to fail to display.


CAMEL-15510: Add camel-vertx-kafka component

This is pretty huge PR but I can summarise the changes here , this PR will add the component of camel-vertx-kafka to Camel, it includes the following:

A maven plugin that will generate the component configuration from Kafka Consumer/Producer native configurations similar to camel-debezium. Later, I am planning as well to use this plugin to generate the configurations for camel-kafka. This plugin is highly customizable with many options that allows to be adopted it easily to camel-kafka.
The component itself, based on Vert.x client for Kafka that supports full async operations, coupled with Mono and Flux just to minimize the callbacks (not necessary) though. In vertx 4.0 (still beta) it uses Future instead of callback, however the work should't be large, with Flux/Mono could be easily wrapped.
The component doesnt yet support manual commit offsets, storing offsets to be committed but it can be added later.
To ensure the consistently functionality, I have used the integration tests and unit tests of camel-kafka to test this component (with small modifications specific to this component).

@jamesnetherton @davsclaus I have addressed your comments, please take a look. In regards to the filter strategy, I have added the support for the custom header filtering in the configuration where you can plug-in the custom header filter in the configurations.


future-utils: Avoid compile failures in tests w/o "std"

This failure is not reproducable under the main futures workspace.
To replicate, one must first:
  future-utils/: cargo package

And then:
  cd "<prefix>/target/package/future-utils-0.3.4"
  cargo test --no-default-features

This patch remedies this issue by:

Moving the imports required for this test into the test itself
Gating the test so it only compiles when --feature=std (and thus,
the #[no_std] in lib.rs doesn't activate)

This approach also future proofs the code somewhat and makes it
potentially easier to relocate to tests/ one day.
Closes: https://github.com/rust-lang/futures-rs/issues/2102

Thanks!


steghide-0.5.1: mark as insecure

Motivation for this change
This package is considered insecure (weak RNG seeding). As it has seen no upstream activity for 18 years, a bug fix is unlikely.
See also:

CVE-2021-27211
https://discourse.nixos.org/t/removal-of-insecure-steghide-package/12071

Re #116923
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/removal-of-insecure-steghide-package/12071/6


CrashLoop on Webserver and Scheduler

Hi,
First up, thank-you for putting this repository together, it is really helpful to get started with airflow and k8 quickly.
I've setup the git-sync-readwritemany version with NFS and an AWS hosted Postgres database, the web server and scheduler initialize and come up correctly and display a 'Running' status for 2-3 minutes but then keep crashing. I'm unable to access the webserver via port-forward either.
I'm assuming that my troubles might be linked to this part in the readme:

It can take a while before you can access the webserver.
The scheduler and webserver usually try to connect to postgres before the database is ready,
which results in connection timeouts.
You can close the webserver and scheduler pods when the database is available to speed up the first deployment.

I'm unsure what to make of it. Did you mean that the webserver and scheduler need to be brought-up sequentially ? or that the replicas need to be scaled down until some condition has been reached ? Or something else ..?
Here is a screenshot of the logs I'm seeing on the webserver and scheduler (similar logs on both):

According to this thread in the upstream repo, you need to build/push your own airflow docker image

Yea I got around the problem. I believe it was an issue with the Postgres endpoint not being configured correctly. Everything works great now !


Fix License

must be updated to: https://github.com/spring-projects/spring-boot?tab=Apache-2.0-1-ov-file

that also hits db adapter

This is done


Correction for raw affiliation CIRAD, UMR AMAP, F-34398 Montpellier, France

Correction needed for raw affiliation CIRAD, UMR AMAP, F-34398 Montpellier, France
raw_affiliation_name: CIRAD, UMR AMAP, F-34398 Montpellier, France
new_rors: 05kpkpg04;020nks034
previous_rors: 05kpkpg04
works_examples: W4288328066;W4393571040
contact: 8841a1e5eb05f3129df24b48a37033ba:a27c2cf6377a01bba823dc20f0c95597ebb9 @ inrae.fr

This issue was accepted and ingested by the OpenAlex team on 2024-11-18. The new affiliations should be visible within the next 7 days.


fix build logs loading, alignment and pending state messages

Fixes

https://issues.redhat.com/browse/HAC-2808
https://issues.redhat.com/browse/HAC-3025
https://issues.redhat.com/browse/HAC-3071
Description

UI doesn't tell user when the selected log isn't available any more. Due to the pod limit, the pruner will start to remove the old pods in order to create new pods, so the user will not be able to view the logs for the pods that are pruned already.
This PR fixes few issues around the build logs:

Display the message in the UI to notify that the logs are no longer available for the <selected_task>.
Display the pending state message if the task is not started yet.
Clicking on the build log should show the last completed task logs.

Note: Pods limit are now increased to 150 (130 for taskruns , 20 for deployments), so the pruner will kick in when the pods count reaches 130
Type of change

[x] Bugfix

Screen shots / Gifs for design review

Clone repository task's pod was pruned in the below screenshot:

Task's Pending state message:

Fixed Alignment of the task list and log window:

Unit tests
  PipelineRunLogs
    ✓ should render task list and log window (58 ms)
    ✓ should render select and render the first task log (18 ms)
    ✓ should render waiting for logs message (7 ms)
    ✓ should no logs found message when pipelinerun status is misisng (4 ms)
    ✓ should render logs no longer available message when pods are not available (17 ms)

  getRenderContainers
   ✓ should render default values if invalid value is passed (2 ms)
   ✓ should render containers for the given pod (1 ms)

How to test or reproduce?

Browser conformance:

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

cc: @beaumorley @christianvogt

/retest


Introduce a new mechanism for dataset format detection

Summary
The new mechanism allows importers to define requirements for dataset formats using simple method calls, with any unmet requirements automatically reported. This PR updates one format to use this mechanism (icdar_text_localization) as a proof of concept. More will follow afterwards. :-)
See the commit messages for more details.

How to test

Checklist

[x] I submit my changes into the develop branch
[ ] I have added description of my changes into CHANGELOG
[ ] I have updated the documentation accordingly
[x] I have added tests to cover my changes
[ ] I have linked related issues

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[x] I have updated the license header for each file (see an example below).

# Copyright (C) 2021 Intel Corporation
#
# SPDX-License-Identifier: MIT

Probably, there is room to improve the design, but as there are no strong objections, I think we can merge it and continue adding other formats.

Okay. I think the main unresolved question here is about the return type of apply_format_detector; but since that really affects only apply_format_detector itself and Environment.detect_dataset, we can put it on hold. I'll come back to it when it becomes necessary to expose the detection errors to API clients.

Oh, I inadvertently dismissed your review. Could you approve again?


HTTP handlers: skip closing the body

From Request.Body docs: The Server will close the request body. The ServeHTTP Handler does not need to.

This is true when the body is fully read. Does the body need to be closed when the io.ReadAll returns an error?

The contract doesn't say anything about that: https://pkg.go.dev/net/http#Request (you need to scroll down a bit to get to Body, and there's no way to link to the field members for some reason)

Note that the contract is different on the http client request. That body does need to be closed. Carefully.

Note that the contract is different on the http client request. That body does need to be closed. Carefully.

Found it, thanks!


[Proposal] Support DocumentDB by replacing certain MongoDB operations

Proposed changes

Add mongoDB features proposal

the two operators $facet and $bucket are not supported by AWS. We are using the following features in graphQL and expect that modifying them with other features or code will make it easier to run LitmusChaos on AWS DocumentDB
Related issue: #4459
Before
he following 2 unsupported operators were found:
  $facet | found 8 time(s)
  $bucket | found 1 time(s)

Unsupported operators by filename and line number:
  $facet | lines = found 8 time(s)
    ../../litmus/chaoscenter/graphql/server/pkg/chaos_infrastructure/service.go | lines = [664, 841]
    ../../litmus/chaoscenter/graphql/server/pkg/chaos_experiment/handler/handler.go | lines = [733, 955, 1131]
    ../../litmus/chaoscenter/graphql/server/pkg/chaos_experiment_run/handler/handler.go | lines = [531]
    ../../litmus/chaoscenter/graphql/server/pkg/environment/handler/handler.go | lines = [346]
    ../../litmus/chaoscenter/graphql/server/pkg/chaoshub/service.go | lines = [922]
  $bucket | lines = found 1 time(s)
    ../../litmus/chaoscenter/graphql/server/pkg/chaos_experiment/handler/handler.go | lines = [1106]

After
Auth server
Processed 71 files, skipped 0 files
No unsupported operators found.
The following 24 supported operators were found:

Graphql server
Processed 149 files, skipped 0 files
No unsupported operators found.
The following 37 supported operators were found:

Auth Server

Refactor CreatePaginationStage and add int return values
Changed from $facet to $group and $project

Calculate total and retrieve data by creating an array using $push with $$ROOT, then slice the data with $slice

The result struct changed no longer returns an array

GraphQL Server

DB schema changed from array to int
Export and add common function for CreatePaginationStage

5 Types

Changed from $facet to $count
Changed from $facet to $group

Use $switch to count data based on specific cases in groupbyTotal

Changed from $facet to $group and $project

Calculate total and retrieve data by creating an array using $push with $$ROOT, then slice the data with $slice

Changed from $facet to $group, $project, and $unwind
Changed from $bucket to $switch

Calculate avg_resiliency_score

Test Code

chaos_experiment_run

Changed data type from array to integer

e2e test result

The Google Drive link below is videos of the e2e test.
https://drive.google.com/drive/folders/1_Rs8TPVlOg7KKDCRqzlgtePDO9Kp4I0O?usp=drive_link
Types of changes
What types of changes does your code introduce to Litmus? Put an x in the boxes that apply

[x] New feature (non-breaking change which adds functionality)
[ ] Bugfix (non-breaking change which fixes an issue)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices applies)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have read the CONTRIBUTING doc
[x] I have signed the commit for DCO to be passed.
[x] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works (if appropriate)
[ ] I have added necessary documentation (if appropriate)

Dependency

Please add the links to the dependent PR need to be merged before this (if any).

Special notes for your reviewer:
AWS support api scanning

@kwx4957 thanks for the PR, the changes looks good to me, but we also need some way to restrict usage of mongo operators that are not supported by DocumentDB. Adding a pre-commit check or PR check would help here.

He will validate his PRs using Litmus-e2e tests.

seperate proposal and feature


CS5 Update Slides: upgrade AGN color variability for Run 3? Comments welcome

@SimonKrughoff
Katrin asked me to give an update on the CS5 Key Project at the Oxford 2016 collaboration meeting, about validating the inputs for Twinkles. We have spent very little time discussing this, I think because it's actually pretty easily handled (we're happy with CatSim and our Sprinkler system for Twinkles 1). However, I realized there is a short discussion we should have before Run 3 about whether we might upgrade the AGN variability model that @danielsf and I have been helping develop in the TDC2 project. So, I flag this up in my slides for the CS session, which are are here. Comments welcome on what I have written, esp from @SimonKrughoff @danielsf @jbkalmbach @rbiswas4 @wmwv

These seemed to go down well at Katrin's session. She asked me: "Can we mark CS5 as completed, then?" and I said I thought so, yes. Result! Although I guess you ought to really write a short DESC note reporting as much properly, @SimonKrughoff . More on DESC notes in a sec...


The detection results of  yolov8 and Deformable DETR

Hi, thanks for your excellent work!
Could you provide the detection results from YOLOv8 and Deformable DETR?

Hi, sorry but the detection results are not prepared well. Maybe it's not too hard to train detectors following the official repo.

Hi, I understand that the detection results are not available. Would it be possible for you to share the config files for training YOLOv8 and Deformable DETR? That would be really helpful for me to replicate the setup.

oh, of course.
For YOLOv8, we use the COCO-pretrained YOLOv8-L, and finetune it on Refer-KITTI train set for only 1 epoch. The input size is 1300x400, the batch size is 8, the lr scheduler is cosine. Four classes are trained, i.e., car, pedestrian, other vehicles, other persons.
For DeformableDETR, we directly modify the source code of TransRMOT to make it only perform detection training and inference. It may be the fastest way to realize a strong detector on Refer-KITTI.
Because the codes of both YOLOv8 and TransRMOT are organized well, I think it's not very hard for you to train good detectors. Good luck!

@Kroery Sorry to bother you, but have you reproduced the results related to Deformable DETR in the NeuralSORT


net/sockets: send/sendto broken when len > MTU

Describe the bug
The send/sendto functions used in a TCP connection always return an error.
This has been introduced by commit 083470a14a52234f494ad2a302497d309657ac79.
To Reproduce
Steps to reproduce the behavior:

Build samples/net/sockets/dumb_http_server
Try to download a file from the board using for example wget or curl
The download fails

Expected behavior
Download from the board is successful.
Impact
The IP stack is unusable.

Connection #0 from <IP_ADDRESS>
Error sending data to peer
Connection from  closed

Logs from the host:
$ wget <IP_ADDRESS>:8080
--2019-02-09 16:28:41--  http://<IP_ADDRESS>:8080/
Connecting to <IP_ADDRESS>:8080... connected.
HTTP request sent, awaiting response... No data received.
Retrying.

--2019-02-09 16:28:42--  (try: 2)  http://<IP_ADDRESS>:8080/
Connecting to <IP_ADDRESS>:8080... connected.
HTTP request sent, awaiting response... No data received.
Retrying.

--2019-02-09 16:28:44--  (try: 3)  http://<IP_ADDRESS>:8080/
Connecting to <IP_ADDRESS>:8080... connected.
HTTP request sent, awaiting response... No data received.
Retrying.

Environment (please complete the following information):

OS: Linux
Toolchain: Debian toolchain
Commit SHA: any commit more recent than 083470a14a52234f494ad2a302497d309657ac79

The problem happens when send or send_to are use on buffer bigger than the MTU. In that case  net_pkt_cursor_operate returns with -ENOBUFS.

Confirmed that samples/net/sockets/echo works (for trivial data typed in).
Confirmed that samples/net/sockets/dumb_http_server has the behavior described by @aurel32 .

Will take a look.
Downgraded the priority to medium, the ip stack is not unusable (not entirely)

Found the issue, forgot to adjust the given length to actual buffer space in net_pkt. Easy fix. Will send a patch soon.

Found the issue, forgot to adjust the given length to actual buffer space in net_pkt. Easy fix. Will send a patch soon.

Thanks for the additional patch, I confirm that it's possible to send big TCP payload with the GMAC driver again.


HLG Exception

When I run ./local/compile_hlg.py --lang-dir $lang_phone_dir,it occur exception
Traceback (most recent call last):
File "./local/compile_hlg.py", line 159, in
main()
File "./local/compile_hlg.py", line 147, in main
HLG = compile_HLG(lang_dir)
File "./local/compile_hlg.py", line 108, in compile_HLG
assert isinstance(LG.aux_labels, k2.RaggedTensor)
AssertionError
what should I fix it?

This error means that your the type of LG.aux_labels is not k2.RaggedTensor.

Maybe you can have a look at your LG.aux_labels by printing and be sure that LG is generated successfully.

Maybe you can have a look at your LG.aux_labels by printing and be sure that LG is generated successfully.

Ok,I will try.
Thank you

Can you check that your G is not empty?
You can check its file size.

Can you check that your G is not empty?
You can check its file size.

Oh,I have checked it,it is empty.
My G is not generated successfully.
It run normally after I generated G successfully.
Thank you!


Celery async-worker stuck and doesn't timeout

Make sure these boxes are checked before submitting your issue - thank you!

[x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[x] I have reproduced the issue with at least the latest released version of superset.
[x] I have checked the issue tracker for the same issue and I haven't found one similar.

Superset version
0.28.1
Expected results
celery worker does not timeout and stucks forever.
Actual results
celery worker should stop executing mysql query.
###Configuration
We are executing mysql queries in async mode on celery workers. Have following parameters in the config file.
SQLLAB_TIMEOUT = 100
SQLLAB_ASYNC_TIME_LIMIT_SEC = 60 * 20
Using below command to start a worker:
celery worker --app=superset.sql_lab:celery_app --pool=gevent -Ofair --loglevel=info --logfile=/var/log/superset/celery_worker.log -n worker_1 -E
As timeout is set to 20 minutes, worker should stop execution of query after 20 mins, and should be available to execute other queries.
And default concurrency is number of cores. We have 8 core machine, though worker executes only 1 query at a time. Also, -C option does not change anything.

@mistercrunch


⚠ Bofrost.lu has degraded performance

In c94e984, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 989 ms

Resolved: Bofrost.lu performance has improved in b6edf64 after 9 minutes.


docs(esl-event-listener): documentation for ESLWheelTarget

Documentation and demo page for #2017

@fshovchko, please manually rebase that PR to save the commit's authorship.

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

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Email Activity Feed

https://sendgrid.com/docs/User_Guide/email_activity_feed.html
Some of the Additional Resources links are not linked and lead to a 404 page.

great catch @JeanettM!!! thanks so much for letting us know. I fixed them in the linked PR, but for your own reference, the broken links are:

Getting Started with the Email Activity API
Building compound Email Activity queries

Anytime!


Added reCAPTCHA && Google Analytics support

With these patches I added reCAPTCHA and Google Analytics support to phpsqlitecms.
You can edit the reCAPTCHA settings under 'Spam protection' section in the administration panel, for Google Analytics I added a section under the administration menu.
After adding your site and your secret reCAPTCHA keys, you can select
where do you want to add the reCAPTCHA check, by now you can add it to:

users login (/cms/)
users comments on commentable posts
mail sent through formmailer

In the same way you just have to add your Analytics Tracking ID, check the checkbox and you are right.
Google Analytics script will be loaded in every page with the 'default.tpl' template (so administration pages won't be tracked).
It also prevents to randomly add Google's script in the page if you haven't enabled the feature that needs them, so it should be good also for the ones who don't want Google in their way ;)
In the end I edited the scripts and stylesheet position, so the page can be readden 'above the fold' and gets loaded even if cdns are having problems.

Captcha-inventor of the possibilities of modern text recognition are aware and already hindering therefore (even completely unnecessary) human visitors with barely clearly recognizable spelling - and they have the even factored in since they equally provide a link for another Captcha hoping that hidden string might therefrom be guessed correctly.
Blind are hardest hit by the Captcha-delusion. Their access is therefore entirely denied, why captchas on barrier-free pages and may not be used. It should also be clear that there can be no barrier-free captcha. If the string in addition to the Captcha for disabled in other ways - for example, quite simply as an alternative text - would be presented, could be equal to waive the Captcha to the delight of all.
Please no Captcha.

TL;DR: You are free to not enable it

I know there are so many beautiful barrier-free alternative without captcha. :)

You can still not enable it and implement your own way to block bots :sunglasses:


Make gh tenants-config argo sync manual

Draft PR set up as a start of the tenants-config migration to GitLab. Here I'm making the ArgoCD sync manual before making the GH read-only

This change isn't being tested by the e2e tests.


Changing Titles/Footer Examples

Hi Kelo,
I just discovered this bot today and I'm already having a blast getting it setup in my discord. I have everything setup, but at the moment I'm finding myself manually editing the titles and thread titles so that there is an easy way to distinguish them (see circled sections):

Would you be able to provide an example of how you get the forum threads/titles to change using the "Cosmetic" options in the readme? One other question I have is if it is possible to edit the thread title to be one of the answers in the form sheet. Thanks for managing this bot!

So if you CTRL+F in the app script for Some footer here you should be able to find the bit that looks like:
"embeds": [{
   ...
   "footer": {
      "text": "Some footer here"
    }

You'd just update the Some footer here to whatever text you want.
Same goes for Some nice title here except that would be located in the bit that looks like:
"embeds": [{
            "title": "Some nice title here",
            ...

You can change the thread name to one of your answers by editing your code to look for the question, and saving the answer to a variable.
First you'd create a variable under the POST_URL variable:
var POST_URL = "Discord Webhook link here";
var savedAnswer = "";

Then you'd update the onSubmit() function:
...
// For loop to iterate through responses
  for (var i = 0; i < response.length; i++) {
    // Get the question text
    var question = response[i].getItem().getTitle();
    // Get the answer text
    var answer = response[i].getResponse();

    if(question == "Do you like apples?"){
       savedAnswer = answer;
    }

Then in the bit where you send the embed, you'd have this:
{
  "thread_name" : savedAnswer,
  "embeds" :[{
    ...
  }]
}


Local integration tests

Summary
At Stellate, we're in need of a test harness and more flexible local developer experience than what is offered by the current Viceroy + Lib.

Adds the ability to read Endpoint messages programmatically by having them write to an in-memory buffer that can be read from outside of the execution context after an invocation. Technically this could have been intercepted from stdout before, but this is much more convenient.
Adds the ability to handle requests in-memory, instead of reaching out to an origin via HTTP. This is done by adding an in-memory handler to backends to which Requests will be passed.
Adds the ability to intercept dynamic backend registrations and traffic, which in combination with in-memory backend handlers now allows for in-memory handling of dynamic backend requests.
Cache API support. Allows keeping states in between invocations. No transaction support, plus some calls unused by stellate are not yet implemented. Very simplistic cache implementation that is not really suited for long-running processes, but perfectly
Adds the ability to wait for guest code to complete, which is necessary to surface execution errors after an initial response has been sent to client (especially true if stream processing is done).

Implementation notes

CLI code is neither looked at nor touched beyond what was necessary to get it to compile and probably doesn't work in this branch as intended.
We could implement service chains with this harness. However, our focus is on one-layer.
In-memory backends are super basic and don't perform any checks. It would be worth expanding upon the concept.
Endpoint listeners are also super basic in concept and execution, they probably require a second look as well.
Caches use a lot of lock unwraps.

Note that we'll record a video on the ins and outs / requirements and we'll also reach out to you directly via Slack to start a discussion. This is not expected to get merged, merely showcase.


Provide formatting configuration for IDEs

The default formatting rules in IntelliJ are different from the ones used in the codebase.
It's already something to have a maven plugin to enforce the coding style, but it would be even better to provide contributors with a configuration matching the rules enforced by the maven plugin.

We could agree on an .editorconfig file it's supported by most IDEs


Add page parameter for place function

Description
I have a title page which is fully typeset from the specific function in the main file. This results in inability to place stuff on the title page from the main file. It will either add stuff to the page before or after the title page. If I could do place(page: 1, xd: x, yd: y, stuff) that would be great.
Use Case
This feature will allow to place anything on any page, which is the only way to place something on a page that can't be accessed from the current context (main file).

Right now, I have to pass content and its offset to the title page function so that it will place the content internally. Since place function can place anything anywhere, it feels natural to have the ability to specify the page where to put the content.

I'm not sure whether this should really be supported. place can't really place anything anywhere, it can place things in its parent container. If you're placing something in a box, you can exceed its physical bounds, but not the page it is in. Allowing place to take a page would make it leave its parent context (at least if it is supported inside other containers).
That said, the layout engine will be completely reworked at some point and I specifically want to make place much more powerful (also with cetz-like positioning). We can see whether such a thing would make sense then.
Might I ask why it is a problem to pass the content for the title page to the title page function. How is it better to place it from somewhere else?

why it is a problem to pass the content for the title page to the title page function. How is it better to place it from somewhere else?

Title page function has a specific set of arguments which is used in every document that uses this function — altering arguments means altering the function itself and what it does. In most cases, it doesn't need to place anything on the title page, so altering the function doesn't make much sense.
Placing something on the title page is an optional action (opt-in) which means that it would be easier and clearer to create an extension/wrapper, i.e. something outside of the title page function. Which means that I can just put the place function near the title-page function and it would work. But it doesn't, because place can only access its own page.

Oh! OH! I remembered! The biggest issues of them all (for v0.8) is that relative paths are sha huge pain! Since the title-page function is defined in a @local package, I can't pass an "image relative path" to the title-page, because it's not supported yet (#2126). What should I do then? I can create an image object in the document and pass the image to the title-page. What else? I also need to pass the dx & dy to place the image in the perfect place/position. But here is another thing: #2247. And since I also can't insert the image with its natural size, I also have to pass a(n optional) size argument that will control image(width: ..). Why not set the image width in the document and only pass a total of 3 arguments instead of 4? Yes, that would be better, but it doesn't change the fact that some things now must be done in the document and some other things must be done in the title-page function.
But this 3 vs 4 arguments doesn't really matter, because I would have to make a custom function for this anyway (which will get all the 4 arguments). Here is an example:
#let title-image-1(x, y, width) = {
  (image: image("./title-images/1.png", width: width), x: x, y: y)
}

And here is how it is passed to the title-page function:
#( // ...
  title-image-1: title-image-1(128.91mm, 169.76mm, 18.6%), // title-image-1 is none by default
)

There is also an information expert principle which can be applied. The information about image is only located in the specific document, then it should be processed and placed in that specific document and not in the title-page().
So I think that it's pretty reasonable to say that it's objectively easier and better to use place near the title-page.


cmd/compile: use expandable columns in ssa.html?

As the number of SSA passes has grown, ssa.html has gotten wider and thus harder to navigate. I'd like to float the idea of having the initial display show just a few columns, with the others be expandable stubs (with names). As to the initial list of columns, maybe something like: start, after early deadcode, after opt, after lower, after late deadcode, after regalloc, genssa.
There's also the question of whether this can be reasonably implemented in standalone javascript, a question about which I know little.
Opinions?
cc @dr2chase @randall77 @cherrymui

Yes, please.
It is not possible that your javascript knowledge is less than mine.

@josharian is it okay when you reload ssa.html [in a browser] you would get to default state of collapsed columns?

Yes. It’d be nice to do some saved local state or query params, but as a first pass, I think always reverting to the default is fine. In the normal case I imagine the reader will be interested in one or two columns at most, so restoring state manually isn’t that big a deal.

In case if you want to give a feed without downloading the patch above:

The vertical text can be expanded by clicking on it. If you want something else, just let me know. I would be glad to help because I learned a thing or two about SSA while making the change. Also I would like to implement some of the TODOs buired in ssa.go regarding graphic representation (nodes->ssa?) or maybe just dumping the log from ssa to the ssa.html, so file can be shared a standalone piece. cc @josharian


term_expansion not working for more than one rule?

Take the following code:
:- op(1200, xfx, (<-)).

term_expansion((Head <- Body), (Head :- Body)).

term_expansion((bar :- Body), (bar2 :- Body)).

foo <- write(test1), nl, true.

bar :- write(test2), nl, true.

The following queries are expected to work:
?- foo.
test1
true.

?- bar2.
test2
true.

What happens instead (in the sandbox):

On consult, an empty message is displayed:

Neither expansion works:

On the other hand, if you comment out one of the term_expansion rules, then the other rule works (but consulting still gives an empty message).

I uploaded a fix, but further testing is needed. Let me know if you find another bug.

Seems to be working great. Thank you!


Update and move README.md to website

The README is outdated
https://github.com/kubeflow/tf-operator/blob/master/README.md
For example its still referencing v1alpha1 and not v1alpha2.
Most of this information needs to be moved over to the website.
kubeflow/website#102 is creating a separate page for TensorFlow training. We should add information to that page. For example, we should add information about monitoring TF training jobs.

/cc @amsaha


Placebo disabling? tiered mod

Placebo versions after 6.2.0 don't work with tiered mod, disables affixes from tiered and they not only won't show their affixes but also previously tiered items won't give bonuses either.
https://www.curseforge.com/minecraft/mc-mods/tiered-forge
this is the issue page to the tiered mod's github
https://github.com/Stereowalker/tiered/issues/28
it seems they talked to you about it so you should know that it doesn't work but I just wanted to make an issue for it.
Even if you can't post an update for the mod I would appreciate a fix I can do by myself if possible since I'm running a server.
Thank u for your time :)

I'll be honest I have no idea what could even be causing that, but I also don't remember anyone talking to me about it.
It will probably need to be triaged on their end until someone can tell me how it's even possible for me to be breaking it.

Closing in lieu of the other bug, as this is not fixable from my end.


[Misc]: Unit test failures with BlockManager v2

Anything you want to discuss about vllm.
We plan to deprecate BlockManager V1 in favor of BlockManager V2. As part of that deprecation process we want to make sure that all existing tests work with BlockManager V2. We will use this issue to track the unit tests that fail with BlockManager V2 and fix them.
To that end we are using https://github.com/vllm-project/vllm/pull/8678 to identify the unit tests that break with BlockManager V2
The unit tests that have identified as failing currently are
tests/basic_correctness
tests/basic_correctness/test_preemption.py::test_swap_infeasible[4-96-float-facebook/opt-125m]
tests/core
test_chunked_prefill_scheduler.py::test_chunk test_chunked_prefill_scheduler.py::test_complex test_chunked_prefill_scheduler.py::test_prompt_limit test_chunked_prefill_scheduler.py::test_swap test_chunked_prefill_scheduler.py::test_running_prefill_prioritized_over_swap test_chunked_prefill_scheduler.py::test_chunked_prefill_preempt test_chunked_prefill_scheduler.py::test_chunked_prefill_max_seqs
test_scheduler.py::test_scheduler_prefill_prioritized test_scheduler.py::test_swapped_out_prioritized test_scheduler.py::test_prefill_schedule_token_budget test_scheduler.py::test_prefill_schedule_max_seqs
test_scheduler.py::test_prefill_schedule_max_lora test_scheduler.py::test_decode_schedule_preempted test_scheduler.py::test_decode_swap_beam_search test_scheduler.py::test_schedule_decode_blocks_to_copy_update
test_scheduler.py::test_schedule_swapped_simple test_scheduler.py::test_schedule_swapped_max_token_budget test_scheduler.py::test_schedule_swapped_max_seqs test_scheduler.py::test_schedule_swapped_max_loras test_scheduler.py::test_schedule_swapped_cannot_swap_in test_scheduler.py::test_infeasible_swap test_scheduler.py::test_schedule_swapped_blocks_to_copy
I found some other failures but they might be related to my local environment not supporting kernels like flash-infer and not to BlockManager V2.
Before submitting a new issue...

[X] Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

mark


Aligns slides in the center

Aligns slides in the center if the number of slides is less than slidesToShow.
https://codepen.io/corvus-007/pen/LLdPqx?editors=1100

Looks related to #1901

Couldn't think of any instance where this'd mess things up. Looked good in my testing. My only hesitancy is adding styles that might (in some unknown case) conflict, entropy yada yada, but it's the theme file which is optional, so I'm going to green light it.
Thanks for the PR

This breaks existing setups with centerMode: false and a small number of slides which should be left aligned.

This breaks existing setups with centerMode: false and a small number of slides which should be left aligned.

Exactly. Also by default this was not centered before so this is a breaking change.

Since 1.7 sliders with a small number of slides are lined out in the center, but in various cases this isn't the desired effect. What setting do I use to prevent this?

Since 1.7 sliders with a small number of slides are lined out in the center, but in various cases this isn't the desired effect. What setting do I use to prevent this?

You have to reset the margins.


Rework how the color system works

More colors

Possible to call a color by its name "red" for example (not case sensitive)

Color should be placed in its own module so that we can import it like "import context_printer.Color"

Color should be placed in its own module so that we can import it like "import context_printer.Color"


.gitconfig: add purge alias

Times on a regular Node-based project;
$ time git purge

real	0m0.691s
user	0m0.143s
sys	0m0.549s

$ time git clean -fdx
[...]

real	0m10.284s
user	0m0.333s
sys	0m7.334s

YMMV.

Why does it have to be non-blocking?  If something blocks, I just open a new tmux window or pane and continue working.


If the bootloader has a feature named binary, enable it

This allows the bootloader to define dependencies that only apply to the main.rs (not the lib.rs), in order to reduce compile times. See https://github.com/rust-lang/cargo/issues/1982#issuecomment-319661478 for more information.

Published as version 0.7.6


Python Wrapper: Implement Reference Classes

Closes #6960
Change Description
Implement Reference and Tag classes
Background
This PR is part of #6874 tasks and contains the following:

Implementation of Reference and Tag classes
Unit and System tests for Tag and Reference
Refactoring of exceptions module and exception handling

Testing Details
unit and integration tests

Looks good - the only think I want to close is the use of max_amount in the API. Let me know if you like to take this into a different issue - didn't want to loose the change / context.

Thanks - I'm opening a new issue on this and assigning @ozkatz. Please approve