Error message when debugging Python tests is unhelpful

https://github.com/microsoft/vscode-python/blob/bee8d3bf072c43f4dee3a0ac8a551f5d4fd3c495/src/client/debugger/extension/configuration/debugConfigurationService.ts#L71
The official documentation for debugging Python tests (https://code.visualstudio.com/docs/python/testing#_debug-tests) states: "To customize settings for debugging tests, you can specify "request":"test" in the launch.json file." However, when I configure my launch.json file like that, and then try to run w/ debug (F5), I get an error message: "This configuration can only be used by the test debugging commands. '"request": "test"' is deprecated use "purpose" instead."
I don't mind changing my launch.json file. However, in order to comply with the error message and "use 'purpose' instead," I need to know the precise syntax to use. The phrase "use purpose" doesn't tell me if that should be the key or the value in the json - should it be "purpose": "test" or should it be "request": "purpose"? Actually, neither one of these work. Both throw an error. Either "Attribute 'request' has an unsupported value 'purpose' in the chosen debug configuration", or "This configuration can only be used as defined by purpose."
As a user who is trying to just be able to debug tests in Python, I am left scratching my head.
If it is helpful, here is my launch.json file:
{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Python: Run Current File (External Terminal)",
            "type": "python",
            "request": "launch",
            "program": "${file}",
            "console": "externalTerminal"
        },
        {
            "name": "Python: Debug Tests (Integrated Terminal)",
            "type": "python",
            "request": "test",
            //"request": "purpose",
            //"purpose": "test",
            "console": "integratedTerminal",
            "justMyCode": false,
            "stopOnEntry": false
        }
    ]
}

@jeffwright13 Which version of the extension are you using? If it is insiders version (2021.9.*-dev) then this should work:
            "name": "Python: Debug Tests (Integrated Terminal)",
            "type": "python",
            "request": "launch",
            "purpose": ["debug-test"],  // <---- this
            "console": "integratedTerminal",
            "justMyCode": false,
            "stopOnEntry": false

If you are using insiders you should see this:

@karthiknadig - I am running version v2021.9.1176299738-dev. I have since turned off all insiders options, but it appears as if the dev version has persisted (I did not specifically downgrade). However, I am now unable to get the original error message to appear.
Is this new syntax ("purpose": ["debug-test"]) documented somewhere? That was the big issue for me...the error message told me I had something misconfigured but did not let me know what the valid options are, or point me to some documentation where the new options are listed.

It looks like it's documented in their pull request for the 2021.9 release.  I'm just commenting because I came here for the same reason and found the above link in my research. Doesn't seem like it works in the most recent non-dev release (at lease in 2021.8.1159...) as tested in my computer.

@jeffwright13 We will update the documentation when we release 2021.09. We are planning on releasing it on Sep 1st 2021, see here for release date and details: https://github.com/microsoft/vscode-python/issues/16930


navigator top changed  on android when keyboard appear

a big bug

I don't understand your issue. Can you clarify what you are seeing?

sorry,my network broken ,i can not upload picture,my Email<EMAIL_ADDRESS>from china

navigator bar initial top is 0, below Status Bar，then keyboard appear,the top goes to -20


New app frame with dragging as per design.

I also adjusted min window size o make it minimal that still looks ok with 3 favourites and new app-bar.

Just the one point about the cursor. If we can get a quick answer I'd like to see it done. Otherwise I guess we can lump it in with all the other cursor questions.. ?

@owennw I will push at the end of the day to gh-paes to rui can check it out


Manual engine roll to ddd4814

Manual engine roll up to https://github.com/flutter/engine/pull/53592.
Manual roll because the change requires Gradle lockfiles to be re-generated.
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[ ] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] I followed the breaking change policy and added Data Driven Fixes where supported.
[ ] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Also verified that the same postsubmits that failed last time succeed on this branch (at least the android versions of them, I don't have an iOS device set up for use with Flutter).
dart bin/test_runner.dart test -t <test>, where <test> ∈
new_gallery_opengles_impeller__transition_perf
new_gallery__transition_perf
new_gallery_impeller_old_zoom__transition_perf
new_gallery__crane_perf
new_gallery_impeller__transition_perf


[18.0.0-proposed] Mount cacerts on computes if tls-e not enabled

We should mount cacerts even if tls-e is not enabled, possibly for third party certs.
Jira: OSPRH-9451
(cherry picked from 7b8474294618527fd35abedd82c5d26771cd7d12)

/retest

/test openstack-operator-build-deploy-kuttl

/test openstack-operator-build-deploy-kuttl

recheck

cold migration on openstack-operator-tempest-multinode job is failing because of host key verification error due to ssh_known_hosts file is not generated. this is being tracked in https://issues.redhat.com/browse/OSPRH-10305 . The PR which introduced this is only merged in main and not yet backported to 18.0.0-proposed. The reason why this PR hit it is that 18.0.0-proposed jobs currently use the openstack-ansibleee-runner latest tagged image and not the 18.0.0-proposed-latest. this is tracked in https://issues.redhat.com/browse/OSPRH-10306.
I'll override the job

/override rdoproject.org/github-check

/retest

/retest


[Jetsnack] Add cart UI

This PR contains a basic UI implementation of the cart screen in Jetsnack. It displays mock data.
Screenshots
Light mode

Dark mode

🎉🎉🎉


Rename experimental OCI URI scheme

Experimental OCI URI scheme changed to preloaded+layer, rather than preloaded+droplet after discussion with the Diego team.
Sorry for not figuring that out before submitting the last PR!

A short explanation of the proposed change:

An explanation of the use cases your change solves

Links to any other associated PRs

[x] I have viewed signed and have submitted the Contributor License Agreement

[x] I have made this pull request to the master branch

[x] I have run all the unit tests using bundle exec rake

[ ] I have run CF Acceptance Tests on bosh lite

LGTM - CATs pass


reduce risk of NoSuchMethodError when runtime version <0.9.11

Improve forward-compatibility of df7731d
java.lang.NoSuchMethodError: 'void metaconfig.generic.Surface.<init>(scala.collection.immutable.List, scala.collection.immutable.List)'
  at scalafix.internal.scaluzzi.DisableConfig$.<init>(DisableConfig.scala:162)

Reported/discussion in https://gitter.im/scalacenter/scalafix?at=60b41af5688a2624b8bf52c0

cc @olafurpg

I just confirmed that https://github.com/vovapolu/scaluzzi built against https://github.com/scalacenter/scalafix/pull/1419 was working with Scalafix 0.9.27 (metaconfig 0.9.10).


train model file  .ckpt  but inference  model file is .safetensors, inference need to change *.ckpt to *.safetensors?

hello!we need to inference. but the  train model file is *.ckpt .   the inference model file is *.safetensors.  Do we need to use CKPT directly or convert CKPT to safetensors during the inference process?  the train model file name is last.ckpt. the inference model file name(ckpt path) is sv3d_p.safetensors.
when we use
sh scripts/inference.sh
ckpt_path: checkpoints/sv3d_p.safetensors
inference.sh :
python3 scripts/sampling/simple_video_sample.py
--version sv3d_p
--input_path assets/fanta.png
--verbose True

OR
During the model training process, directly save the model as safetensors
last.ckpt     to         sv3d_p.safetensors
the training process:
model.save('*.safetensors')

Sorry for the late. Did you solve the problem? or need help?


PI (as a symbol) does not work.

PI (token 255) now works; in the tokenise script it looks for "PI" which is technically incorrect.


Update Get.MMePoCoreHelp.ps1

Use the command "-DisplayAll" to show all the ePO command

this patch was committed with new feature added by jboss38 (Get-MMePoPolicyExport) in the commit 66d99db

thanks jboss38!!!


Initial AIX enablement

Thanks. I don't have access to an AIX instance. If you do, can you confirm that the current unix code works for AIX?

That works. Some of the test failures have nothing to do with this PR, so I've merged it. I'll update here when this is out as a release.

Thanks!

FYI, this is now released as v0.8.13


Print children in their defined order

Fixes issue #2

line28  up = children(current_node)
must change to
up = children(current_node).copy()
or it will cause the tree missing child


Set application's label

close #158
Changes

Set application's label

Screenshot

Before
After

Codecov Report

Merging #159 (5d3affc) into main (4695b7c) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main     #159   +/-   ##
=========================================
  Coverage     29.64%   29.64%
  Complexity       37       37
=========================================
  Files            55       55
  Lines           695      695
  Branches         93       93
=========================================
  Hits            206      206
  Misses          487      487
  Partials          2        2

Continue to review full report at Codecov.

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


Feature: Improved shell extension loading

It loads main menu first, then loads Open with submenu, Send to submenu and other submenus in order.
Resolved / Related Issues

[X] Were these changes approved in an issue or discussion with the project maintainers? In order to prevent extra work, feature requests and changes to the codebase must be approved before the pull request will be reviewed. This prevents extra work for the contributors and maintainers.
Closes #11882

Validation
How did you test these changes?

[X] Did you build the app and test your changes?
[ ] Did you check for accessibility? You can use Accessibility Insights for this.
[ ] Did you remove any strings from the en-us resource file?

[ ] Did you search the solution to see if the string is still being used?

[ ] Did you implement any design changes to an existing feature?

[ ] Was this change approved?

[ ] Are there any other steps that were used to validate these changes?

GIF (2.4.60 is light, this PR is dark)

Right clicking a folder with media files is causing the window to become unresponsive

Right clicking a folder with media files is causing the window to become unresponsive

In my environment, I can right-click a folder with some screenshots normally.
Doesn't it become unresponsive in 2.4.60?

In my environment, I can right-click a folder with some screenshots normally.

Can you try with music files?

Doesn't it become unresponsive in 2.4.60?

It works fine in v2.4.60 but perhaps that's because it's in release mode.

Can you try with music files?

It works fine for me.


[Bug] python serialize may have redundant type value in solution.py

leetgo debug
None
Debug log
No response
Description
serialize(ans, "boolean") will fail in solution.py, "boolean" may be redundant
I've been having this problem since  yesterday.
TypeError: serialize() takes 1 positional argument but 2 were given

if __name__ == "__main__":
    jug1Capacity: int = deserialize("int", read_line())
    jug2Capacity: int = deserialize("int", read_line())
    targetCapacity: int = deserialize("int", read_line())
    ans = Solution().canMeasureWater(jug1Capacity, jug2Capacity, targetCapacity)
    print("\noutput:", serialize(ans, "boolean"))

Sorry for the issue.
This is because the leetgo-py package is not updated. Currently you need to upgrade it manually:
path/to/python-source-folder/.venv/bin/python -m pip install -U leetgo-py

I will figure out a better auto-upgrade strategy in later version.


Fix CoreText font width to CSS font stretch conversion

Fix issue: https://github.com/servo/font-kit/issues/258
Previous mapping was incorrect, using [-1, 1] to [0, 8]. Based on the values ranging from 'kCTFontWidthExtraCompressed' (-0.4) to 'kCTFontWidthUltraExpanded' (0.4), the corrected conversion maps CoreText font width values from [-0.4, 0.4] to [0, 8]

I'm confused why CI isn't starting.

I'm confused why CI isn't starting.

I think the workflow just needs to be approved since @ColdPaleLight isn't in the contributor's group. I've gone ahead and approved the workflow run.

Bleach, the formatting on our main branch is busted. Would you mind pulling https://github.com/servo/font-kit/pull/256/commits/99e9918ab77b6b54c96b0a47b22ded3fccfc7c31 into your branch to allow CI to pass?

Bleach, the formatting on our main branch is busted. Would you mind pulling 99e9918 into your branch to allow CI to pass?

Done


A compatibility problem of firebox: The text of the menu is not fully displayed.

Environment:

hue version: open source 4.8.0
OS: Ubuntu 18.04.5 LTS
browser：Firefox 81.0.2 (64 位)

The problem is as follows.

I test this problem with firefox/chrome on ubuntu/windows/mac. This problem appears on ubuntu with firefox and on Mac with firefox.


Added support to download the go test logs from the contest server

Support for executing the go utility and downloading the logs from the contest framework.
Sample JSON for executing the bin file is also included.

tested on all three server boards.


Interacting with the Prompt WebAPI

I created the following code to show how you can access the WebAPI through JWT. This should be the basis for the code we'll create.
    class Program
    {
        static void Main(string[] args)
        {
            var scheme = "http";
            var host = "localhost/path/to/site";
            var uname = "host";
            var pass = "dnnhost";
            var url = string.Format("{0}://{1}/DesktopModules/JwtAuth/API/mobile/login", scheme, host);
            var request = WebRequest.Create(url);
            request.ContentType = "application/json; charset=utf-8";
            request.Method = WebRequestMethods.Http.Post;
            using (var streamWriter = new StreamWriter(request.GetRequestStream()))
            {
                string json = "{\"u\":\"" + uname + "\"," +
                              "\"p\":\"" + pass + "\"}";

                streamWriter.Write(json);
                streamWriter.Flush();
                streamWriter.Close();
            }
            string text;
            var response = (HttpWebResponse)request.GetResponse();
            using (var sr = new StreamReader(response.GetResponseStream()))
            {
                text = sr.ReadToEnd();
            }
            var outfile = string.Format("D:\\Documents\\Visual Studio\\Projects\\JwtTest\\{0:HHmmss}.json", DateTime.Now);
            using (var sw = new StreamWriter(outfile, false))
            {
                sw.WriteLine(text);
                sw.Flush();
            }

            var token = Newtonsoft.Json.JsonConvert.DeserializeObject<Jwt>(text);
            var promptUrl = string.Format("{0}://{1}/API/PersonaBar/Command/Cmd", scheme, host);
            request = WebRequest.Create(promptUrl);
            request.ContentType = "application/json; charset=utf-8";
            request.Method = WebRequestMethods.Http.Post;
            request.Headers.Add("Authorization", "Bearer " + token.accessToken);
            using (var streamWriter = new StreamWriter(request.GetRequestStream()))
            {
                string json = "{\"cmdLine\":\"list-commands\"," +
                              "\"currentPage\":\"20\"}";

                streamWriter.Write(json);
                streamWriter.Flush();
                streamWriter.Close();
            }
            response = (HttpWebResponse)request.GetResponse();
            using (var sr = new StreamReader(response.GetResponseStream()))
            {
                text = sr.ReadToEnd();
            }
            outfile = string.Format("D:\\Documents\\Visual Studio\\Projects\\JwtTest\\{0:HHmmss}-prompt.json", DateTime.Now);
            using (var sw = new StreamWriter(outfile, false))
            {
                sw.WriteLine(text);
                sw.Flush();
            }

        }
    }

The token is simply this:
    public class Jwt
    {
        public int userId { get; set; }
        public string displayName { get; set; }
        public string accessToken { get; set; }
        public string renewalToken { get; set; }
    }

Note you need to enable JWT and if you're running locally over http (not https) then you need to adjust the web.config to allow for this.

The next step is to decide how we intend the user to manage his/her websites. Here are a few scenarios:

Plain text/csv file with site plus logins. This is of course not good practice and unsafe. But it is trivially simple to do.

If the user wishes to add a site they run a command along the lines "Add-Site {url}". At that moment our code would prompt for a login and get the token. The token then gets added to a local store (where/how?) so that every time we wish to use this url we can use the token.

There are a few hurdles to take in the second example. And keep in mind that the token can be renewed but at some point the renewal will time out and the user needs to log in again. So there is a scenario that even though we have a JWT for the site the renewal can't be done and the user needs to supply his/her credentials again.

Is it safe to assume the code you wrote that you are referencing in this thread is the code you submitted in the PR #6 ? I'll be taking a look at the PR at some point tomorrow

The code above is sufficient for a proof of concept. I.e. can I authenticate and run a command through the WebAPI from Powershell? That worked.
PR #6 is how I'd set up the project given the success of the code above. It's far from complete but provides the basic mechanism described above and tidied up.


Improve Traceback Frame Suppression

Type of changes

[X] New feature

Checklist

[X] I've run the latest black with default args on new code.
[X] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate.
[X] I've added tests for new code.
[X] I accept that @willmcgugan may be pedantic in the code review.

Description
Code Change

266337ad Allow setting max frames in traceback logging
5051b47f Allow using regex paths to suppress frame filenames in traceback

Generalize suppressing frame filenames by supporting regex matching
Example: traceback_suppress=[r"/.*fastapi*"] will match all frame
filenames matching a fastapi library in stacktrace

Maintain backward compatibility to check if frame filename starts
with path, if plain string passed
Example: traceback_suppress=["fastapi"] will continue to match frame
filenames starting with fastapi in stacktrace
Note: Not sure how practically useful this previous behavior is

Examples

To suppress fastapi, uvicorn related frames in tracebackRichHandler(rich_tracebacks=True, tracebacks_suppress=['/.*fastapi.*', '/.*uvicorn.*'])

To only show a maximum of 7 frames in tracebackRichHandler(rich_tracebacks=True, traceback_max_frames=7)

I'm not keen on the regex approach. The chances are too high that you end up excluding something accidentally. I'd consider callbacks or some other protocol to do this.

That's unfortunate. The current traceback filtering seems overtly limited. I was hoping extending Rich with regex and allowing to limit the traceback_max_frames would be a welcome change as it'll provide more control to developers.

hey there! following up here - i don't have a strong opinion on approach but want to emphasize that the regex approach would've satisfied an unmet need of mine:
would love to have an explicitly allowed list of tracebacks to display, rather than an exhaustive list of what to suppress! with tracebacks_show_locals on I only want to view tracebacks on my own project's packages - any external library should be suppressed for my purposes


Problem of" if you unlugged the device,you must close and reopen the device"

Describe the bug

I am making changes to the SDK, i have built my own copy of the SDK from source,and fellow the instruction in building for how to build from source.After compiling, run the generated k4aviewer. exe. Although the interface window is opened, it cannot "start".
To Reproduce

http://ww1.sinaimg.cn/large/005Zn2sIgy1g8yoyqc9bdj30oa02bq2u.jpg
http://ww1.sinaimg.cn/large/005Zn2sIgy1g8yoy90mz3j30pe0b3dg9.jpg
http://ww1.sinaimg.cn/large/005Zn2sIgy1g8yozqxy9mj313u0oygmp.jpg
Expected behavior

Logs

Screenshots

Desktop (please complete the following information):

OS with Version:
SDK Version:
Firmware version:

Additional context

The viewer has the option of collecting logs, can you share them?

I have the same problem.

I have the same problem.

My problem solved by updating my graphics drivers (NVIDIA) instead of integrated graphics.


MoveTo order does not react, but order to build a building does.

I´ve run into this peculiar issue -> units seems to be moving fine on a plane, but if you put in a landscape, the MoveTo orders stop working for some odd reason.
I have tags set up correctly, everything is correct. It has to be some landscape issue since I used the test project as well to see if I can replicate the bug.
If you open the project, replace the plane with a landscape, you will be able to replicate the bug.
Any ideas?

That's strange, it should work with landscape. Do you have the latest code? I added a quick fix for one of the causes of movement issues here: https://github.com/npruehs/ue4-rts/commit/1df4991c6ec762110291a0f2d8f9eb4880928139

Im using the 4.25 sample project latest release.

Btw: could you link the discord as well? :)

Sure here it is: https://discord.gg/y8KETu8rVM

Another thing you could try is in build menu, click "build paths"

The bug persists even through building paths. Does anybody experience similar issue?

I can't confirm that being an issue, at least in UE5.0.
Here's what I've tried:

Open SKM-DarkSpace.
Remove plane.
Add landscape.
Confirm paths have been built.
Observe that units can move as expected.

Initially, they didn't react to move orders - but the landscape was above the units. Make sure landscape Z is set properly, so units are above the landscape, not vice versa.

Thanks for the update! :)


Implement this: modern design that is easy to change (templated)

As a user of Prasso
I want to be able to select a mobile page template and add it to my app
So that I can rapidly view my design in my mobile app

Templates have been added.


Bug in output of TSKINICE from surface GC

If the HISTORY.rc has following output appropriately set:
https://github.com/GEOS-ESM/GEOSgcm_App/blob/90fbe7ea0f60f75f2dd731ecc34f8216501af31f/HISTORY.rc.tmpl#L968-L969
Then the output for TSKINICE is 0 for both coupled and uncoupled configurations. This is a bug!
Note: TSKINWTR looks realistic!

This was first brought to my attention by Austin Conaty

    >    From: Conaty, Austin L. (GSFC-610.1)[SCIENCE SYSTEMS AND APPLICATIONS

    >    Sent: Wednesday, February 16, 2022 7:18 AM

    >    Subject: TSKINICE in FP vs FPP
    >
    >
    >    Hello Richard and Santha,
    >
    >
    >    I was reviewing differences between FP and FPP and I saw
    >
    >    > tavg1_2d_ocn_Nx:
    >
    >    > TSKINICE FP: MIN/MEAN/MAX: 234.15, 269.79, 273.15
    >
    >    > TSKINICE FPP: MIN/MEAN/MAX 0,0,0
    >
    >
    >    In FPP, TSKINICE is always= 0.  I just wanted to check and see if
    >
    >    this is expected.
    >
    >
    >    Thanks for your time,
    >
    >    -Austin

Here is what I know so far. I replaced every instance of every instance of TSKINI with TSKINICE in GEOS_Surface; I also replaced nearly (but not) instances of TSKINI in Saltwater w/ TSKINICE ...
These changes have require a change in HISTORY to use the export TSKINICE - which is ok since TSKINI is being aliased to TSKINICE anyway - so this is a cosmetic changed ...
This change make the TILE associations in Surface follow the convention such that we now have:
call MAPL_LocStreamTransform( LOCSTREAM,TSKINICE,TSKINICETILE, RC=STATUS)
instead of
call MAPL_LocStreamTransform( LOCSTREAM,TSKINI,TSKINICETILE, RC=STATUS)
Now the changes I have don't solve anything except that now I am back at the situation where both coupled and uncoupled more work w/o crashing. The value of TSKINICE is return as zero.
I then edited the code - running couple - and in GEOS_CICE4ColumnPhysGridComp.F90 around where it checks for
if(associated(ISTSFC)) then
I now put instead that is two changes:
print *, "RT DEBUG in the right place "
and I overwrite the setting
ISTSFC = sum((TS(:,ICE:)-TFfresh)*FR8(:,ICE:),dim=2)
with
ISTSFC = 273.16
and what do I get in the output file?  ZERO!
I suspect there is something wrong about:
call MAPL_LocStreamTransform( LOCSTREAM,TSKINI,TSKINICETILE, RC=STATUS)
in Surface ... anybody understand this any better than I do?

@rtodling Thanks for looking into and trying to fix ... I appreciate it.
As I said in this PR there is some bug in the https://github.com/GEOS-ESM/GEOSgcm_GridComp/blob/develop/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/GEOSsaltwater_GridComp/GEOS_CICE4ColumnPhysGridComp.F90 that's beyond me! (at least with the  🕦  ticking!)

ALL: this is now fixed. I committed the fix to the following branch:
feature/rtodling/gcm_1_12_4_tskinice_realfix
this works for both Coupled and Uncoupled models.

This requires a minor change to the HISTORY files ... which I am committing to a separate branch since these are in another repo. The changes in HISTORY are trivial - cosmetic ... all references to TSKINI in the HISTORY files in the repo are aliased to TSKINICE ... to fit the fix, instead of asking for TSKINI and aliasing to TSKINICE the used should simply asked for TSKINICE.

@rtodling, sorry for being late on this issue. I have identified the bug in Saltwater Grid comp and am testing a fix that should work for both coupled and uncoupled. The fix should involve two files (Saltwater and CICEColumnPhys). That latter just have consistent values between coupled and uncoupled.
Alternatively, you fix also works.
Thanks.

@zhaobin74 we should have never pushed the changes:
https://github.com/GEOS-ESM/GEOSgcm_GridComp/blame/rt1_12_4_mom6/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/GEOSsaltwater_GridComp/GEOS_SaltWaterGridComp.F90#L1842-L1847
https://github.com/GEOS-ESM/GEOSgcm_GridComp/commit/445ad23c7ebd86e15d6ecf148f2a45189558e739
without complete testing

@zhaobin74 we should have never pushed the changes:
https://github.com/GEOS-ESM/GEOSgcm_GridComp/blame/rt1_12_4_mom6/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/GEOSsaltwater_GridComp/GEOS_SaltWaterGridComp.F90#L1842-L1847
445ad23
without complete testing

Agree, @sanAkel.


New Crowdin updates

@legoandmars Do we go through this on GitHub, or is it better to review this through Crowdin?

@legoandmars Do we go through this on GitHub, or is it better to review this through Crowdin?

I can't really confirm if the translation is accurate myself, so historically if it's free of technical/formatting issues I've either:

looked around on the modding discord for native speakers that could glance over it
passed everything through a translator to make sure nothing is outwardly offensive/fake (this is obviously very conceptually flawed)

Realistically, as long as it looks 'good enough' it's probably fine, I don't think it needs somebody to go through it with a comb


UnPreset invitation

Thanks for this great preset, it works great for me.
I sent you an organizational invitation and I see you accepted it.
You can transfer this repository to the unpreset organization in your free time and I will assign permissions to you.
Thanks again.

Ok
i will do it next day free time
发自我的iPhone
------------------ Original ------------------
From: Chris @.>
Date: Sun,Sep 10,2023 8:14 PM
To: action-hong/unocss-preset-scrollbar @.>
Cc: Subscribed @.***>
Subject: Re: [action-hong/unocss-preset-scrollbar] UnPreset invitation (Issue #9)
Thanks for this great preset, it works great for me.
I sent you an organizational invitation and I see you accepted it.
You can transfer this repository to the unpreset organization in your free time and I will assign permissions to you.
Thanks again.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


It aims for a general solution to manage timeouts according to platform versions and automators, as there is a significant contrast in locating elements with UIAutomator 1 and 2.


Clear project removes all classes. Cannot add another.

It would be nice if you could add a class by right clicking in the left panel.

I'm blind. I just noticed the add a class to this project button.

Added a context menu entry.


There is no reason why Thorntail's service-b pub key should be called MP-JWT-SIGNER instead of publicKey.pem

SSIA

I think it was mandatory for WildFly Swarm with MP 1.2. It was kept later on for Thorntail.

Outadated. Thorntail is at its EOL.


Improve template to make easier to customize them for integration with the project

I added a link in the nav bar to get back to the main project application. For that, I had to modify 4 templates: query_list.html, query.html, play.html and qyertlog_list.html even though the base.html has the block for the navbar links, and doesn't get reused. So I had to customise 4 templates to get it working.
Also, to add some extra styling, I had to rewrite the entire base.html, since there are no blocks for header parts, ie, CSS.

@marksweb this has been merged so we are good to close?


Add Crow Clock app

This PR adds a new clock app called Crow Clock, as simple clock based mostly on the code from Bold Clock.  It shows an image of MST3K's Crow T. Robot as its face.

mostly on the code from Bold Clock

Would'nt it make sense to extend Bold Clock to show a picture and then

dunno if it is possible to upload a clock like custom apps (so with the picture) - i know conversion is required....
in this repro require the bold clock and just provide and set ur png
or at elast use a 1:1 hardcopy with set ur png

Furthmore just be to be safe: is apps/crowclk/crow_clock.png clear of copyrights and MIT licensed? (beacuse we run under MIT license here)
If the user can select the image during upload app to clock or select a picture from clock storage then we get als rid of this topic, because the enduser would be responsible.

And one hint I got that I would like to share with you:
You can use ´´´javascript: g.dump();´´´ on the lift side ">" within webIDE and you receive a 1:1 screen dump - so no need to capture it manually -  it will have exactly 176x176:

Thanks, Gordon!
Thanks for the feedback, DDDanny.  For your third point, I'm not sure I understand it (I'm pretty new to this stuff), but I will tinker with it and see if I can figure it out.  :)


Custom transition properties are not correctly transpiled

Wooo these bugs just keep coming in, don't they?
When trying out Goober's css tag/macro paired with Twimba to auto-generate classes (Which could help achieving support for modifiers, breakpoints and such), I stumbled upon this:

Now I realize that I've missed some custom properties like ead and eaf, which shouldn't be transformed to their longer name (i.e ease-all-duration and ease-all-function, respectively), but rather, to the css properties they represent (in this case, transition-all, transition-duration and transition-timing-function).

Done! Given the string:

The CSS output is:

This will be fixed in Imba v0.3.2

GUESS WHAT? I FINALLY FIXED IT. Some flag trickery, a bit of coffee, re-learning the inner workings of the compiler, some heavy debugging, and voilâ, two-letter shorthands are transpiled correctly!
Given the string:

The CSS output is:

I can finally release Imba v0.3.2. Thanks for your patience!


Can the hpsjam port be updated to v1.2.1?

Among some major GUI changes, fftw3 is no longer needed and KISSFTT (statically built and linked) is used instead.
See here:
https://cgit.freebsd.org/ports/commit/?id=3b8d21af1b146c146472261b05eed97ce3b0b3ba
--HPS

There was a last minute change, so make that v1.2.1. Thank you!

@hselasky
The current jambox release is based on Debian Buster, which uses Qt 5.11.
HpsJam 1.2.1 and 1.2.2 builds both fail under Buster.
(FYI build succeeds under Bullseye Qt5.15, but I can't put that in jambox buster repo).
g++ -c -pipe -O2 -D_REENTRANT -Wall -W -fPIC -DHAVE_HTTPD -DHAVE_JACK_AUDIO -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../hpsjam-1.2.1 -I. -I../kissfft -I /usr/include -I /usr/include/arm-linux-gnueabihf/qt5 -I /usr/include/arm-linux-gnueabihf/qt5/QtSvg -I /usr/include/arm-linux-gnueabihf/qt5/QtWidgets -I /usr/include/arm-linux-gnueabihf/qt5/QtGui -I /usr/include/arm-linux-gnueabihf/qt5/QtCore -I. -I/usr/lib/arm-linux-gnueabihf/qt5/mkspecs/linux-g++ -o helpdlg.o ../src/helpdlg.cpp
../src/connectdlg.cpp: In member function ‘void HpsJamConnectIcon::loadSelection(QByteArray&)’:
../src/connectdlg.cpp:154:12: error: ‘class QResource’ has no member named ‘uncompressedData’; did you mean ‘isCompressed’?
   ba = res.uncompressedData();
            ^~~~~~~~~~~~~~~~
            isCompressed
make[2]: *** [Makefile:720: connectdlg.o] Error 1

I'll have a look at that.

Can you try: v1.2.3 ?

@hselasky Thanks, that built.  I put it in my repo.

I just released v1.2.4. Can you update it again?
Thank you!

Sure, that's done.

I made some further firxes and made the tag "v1.2.5". If you could update again, I won't bother you for a while I hope.
Thanks! Hope you like the new GUI design and recording capability :-)

OK, more fixes and provements. Can you update to "v1.2.7"?

Now "v1.2.8".


Login error when using Sign in with Google in local env

Hello, I am trying to login using my google account, but it is showing these below attached errors:

It's not an issue with the local env. You should properly create a credential app in Google Console to make it work.
Here's the documentation: https://next-auth.js.org/providers/google


Can't move cells with mouse

Type: Bug

Behaviour
Expected vs. Actual
When I drag cell with mouse it moved to another position across other cells. Now it only works if I move my cell to the top of the file and only then will it be placed above the topmost cell.
Steps to reproduce:

Drag some cell in jupyter notebook
move it to another place
drop it
the cell stays where it was before

Diagnostic data

Python version (& distribution if applicable, e.g. Anaconda): 3.11.7
Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Conda
Value of the python.languageServer setting: Default

User Settings

languageServer: "Pylance"

Extension version: 2024.2.0
VS Code version: Code 1.87.2 (863d2581ecda6849923a2118d93a088b0745d9d6, 2024-03-08T15:20:17.278Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Remote OS version: Linux x64 <IP_ADDRESS>-microsoft-standard-WSL2

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:30899288
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
pythontbext0:30879054
accentitlementst:30887150
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
pydisww1:30981707
cppperfnew:30979542
d34g3935:30971562
fegfb526:30981948
bg6jg535:30979843
dsvsc020:30976470

It just works now, after few updates

still doesn't work for me

using newest version of VSCode and still doesnt work for me.

Yes, got the same effect again, it seems to be arbitrary stops and starts working

I have the same issue, on Ubuntu 22.04 (scroll bars in general are annoying, way to small/hard to see etc - but I think that's Ubuntu's fault not vscode).

Please can you try the latest version of VS Code and let me know if this issue still persists.
Try version 1.88 of VS Code, thank you.


Did everything but still have warning about certificate

I did every step from different websites like here: https://kifarunix.com/how-to-create-self-signed-ssl-certificate-with-mkcert-on-ubuntu-18-04/
or here: https://jonathanbossenger.com/setting-up-trusted-ssl-certificates-for-local-development-using-mkcert-on-ubuntu-18-04-with-apache/
or here: https://linoxide.com/linux-how-to/mkcert-localhost-ssl-certificates-linux/
But i still get warning about certificate...
Is it possible to trust this certificate to whole local subnet like <IP_ADDRESS>/24?

mkcert -install
mkcert example.localhost <IP_ADDRESS>
Access example.localhost that resolves to your server (restart browser if needed)

The only reason I add the IP is for my Android phone to access and use the certificate, since it cannot use the hostname. That would require setting up custom DNS to resolve.

We'd need more details on what warnings you get and in what tools to help. If you still need help, please open a new issue with information on your environment, what you did, and where you get the unexpected warnings.


[Intermittent]Incorrect Item Details Displayed After Scanning and Quick Scrolling

Note
This issue is occuring intermittently.
Current behavior
An incorrect item is opened.
The "Counted" field appears blank with a "Re-count" option, even though the item has not been counted.
Expected behavior
The correct item should be opened based on the user's selection.
The "Counted" field should accurately reflect the state of the selected item.
Steps to reproduce the issue
Login the app with valid user credentials.
In the assigned tab, open the count.
Scan an item to perform a count operation.
Scroll down the list of items quickly.
Click on another item in the list immediately after scrolling.
Observe the behavior of the selected item.
Environment details
App version : v2.3.0
App environment : UAT
Additional Information
https://jam.dev/c/04651fa1-201a-4add-94aa-5d57cdd7ffdc

Verified and working fine in release v2.3.4. Hence, closing this issue.


 Almost all of it is around handle updated data structures in the openai sdk.
(credits to @jmtame for pairing on this together)

It's great to have this updated code.
I'm testing locally and the OPEN_AI_KEY from my local .env file isn't getting passed through. I'll dig a little more after my next meeting to see what's going on.


Including # (for colours) in style tags in document results in incorrect HTML in page content

Steps to reproduce
Tell us about your environment:

Puppeteer version: 1.12.2
Platform / OS version: Windows 10
Node.js version: v10.14.1

What steps will reproduce the problem?

(async () => {
  const browser = await puppeteer.launch({
    headless: true,
    args: ["--no-sandbox"]
  });
  const page = await browser.newPage();
  const html = `<html><head><style>*{margin:0};body{background-color:#000;}</style></head><body>test</body></html>`;
  await page.goto(`data:text/html,${html}`);
  console.log(await page.content());
  await browser.close();
})();

What is the expected result?
The logging of page.content() is expected to be equal to the input string of HTML data.
What happens instead?
The logging displays the HTML document style up until the #-character, after which other content is not loaded in the page:

Additionally, body content is also not loaded.

Workaround (replacing '#' with its ASCII-code equivalent): html = html.replace(/#/g, "%23");

See https://github.com/GoogleChrome/puppeteer/issues/3974


Feature Request: Add handedness clause to InfluxQL

Feature Request
From https://github.com/influxdata/kapacitor/issues/1258
Consider the following InfluxDB query
SELECT mean(*) FROM ... time >= '2017-03-13T17:50:00Z' AND time < '2017-03-13T17:51:00Z'

We will refer to '2017-03-13T17:50:00Z'   as the left boundary, lower boundary, or tMin.
Similarly, we will refer to   '2017-03-13T17:51:00Z' as the right boundary, upper boundary, or tMax.
Executing this query against InfluxDB will yield the following result
time                        mean
----                        ----
2017-03-13T17:50:00Z        8.083532716666666e+08

Note here that this is the lower boundary for the time interval.
A similar operation in Kapacitor
batch
  |query('SELECT queryDurationNs FROM "_internal".monitor.queryExecutor')
    .period(1m)
    .every(1m)
    .align()
  |mean('queryDurationNs')

would result in
time                        mean
----                        ----
2017-03-13T17:51:00Z        8.083532716666666e+08

Note here that this is the upper boundary for the time interval.
InfluxDB and Kapacitor choose different time boundaries.  Kapacitor chooses tMax and InfluxDB chooses tMin. The choice between using tMax or tMin is somewhat arbitrary for InfluxDB, however the same thing cannot be said for Kapacitor.
This is because of Kapacitors ability to do joins on overlapping time windows. Meaning if you were to join the mean over the last month with the the mean over the least day, you would need their resulting values to occur at the same time. Using the most recent time, tMax, to represent both points makes sense.
This has lead to two issues in the community: issue and https://github.com/influxdata/kapacitor/issues/1257
Proposal:
Add a handedness clause to InfluxDB
Similar issues with right and left handed ness of time buckets has come up else where in InfluxDB and therefore it may be worthwhile to implement it here.
https://github.com/influxdata/influxdb/issues/7738
Current behavior:
All queries use left handed timestamp for time.
Desired behavior:
Add a handedness clause to queries so that the left or right handed time values may be specified.
Use case:
See write up above.

cc @nathanielc

+1, see https://community.influxdata.com/t/shift-timestamp-returned-by-select-query/575 for another use case.

+1
What do think about also adding a third choice being the middle of the time interval ? For example for plotting purpose, if I plot sum of values over days with GROUP BY time(), the point would be centered in the middle of the day, and not at the beginning or the end.

Looks like there was some groundswell of support for this to be included in InfluxQL 2.0, but the trail went quiet. I believe this is still an important request - it provides a bit of consistency with Kapacitor and makes a whole bunch of use cases more plausible. Did anything come of it?

When I run a Continuous Query in Kapacitor v1.5.5, it saves the results with the left-side timestamp, not the right-side timestamp as @desa describes above.  My workaround is to use |shift() by the amount of the period to move the results to the right-side timestamp.


Adapt to "exc_info" changes in CPython 3.11a4

"->exc_type" and… "->exc_traceback" are gone and now get inferred from "->exc_value".
Closes https://github.com/cython/cython/issues/4500

Currently crashes and needs more work.

The exceptionrefcount test (and also others) crashes for me locally when trying to deallocate None after the test run, so there is a missing reference (or excess decref) somewhere. I've reviewed the code a couple of times now, and found and fixed some issues, but that crash persists.
Obviously, I can't even tell if that crash is really due to this change or something entirely different, simply because without this change there's close to nothing that works in Py3.11a4.

Unhelpfully, it seems to work fine for me locally, and printing out the refcount of None during the exceptionrefcount doesn't suggest any errors (it remains constant as far as I can see)

Hmm. I fail to reproduce the crashes now. And GHA now has 3.11a4 available, for which it also doesn't crash. Not sure what's going right here, but I'd rather merge this while it's green. Let's see what happens when the Moon is in the seventh house and Jupiter aligns with Mars again.


[GLUTEN-4018][VL] set AWS C++ SDK Log Level in gluten to avoid recompile velox

What changes were proposed in this pull request?
This PR add new configuration spark.gluten.velox.awsSdkLogLevel to set AWS C++ SDK Log Level in gluten.
(Fixes: #4018)
How was this patch tested?
manual tests

Can you add to shims/common/src/main/scala/io/glutenproject/GlutenConfig.scala, we can use the file to track all Gluten configs.
If you think gluten user needs to know the config, feel free to add to document as well.

@FelixYBW thanks, please review again

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_4050_time.csv
log/native_master_12_15_2023_dee511dbb_time.csv
difference
percentage

q1
32.32
34.66
2.342
107.25%

q2
24.87
25.04
0.172
100.69%

q3
37.64
38.08
0.441
101.17%

q4
37.58
39.96
2.374
106.32%

q5
72.05
72.01
-0.040
99.94%

q6
7.29
6.34
-0.950
86.96%

q7
86.12
84.32
-1.804
97.91%

q8
88.08
85.64
-2.435
97.24%

q9
124.65
127.25
2.595
102.08%

q10
44.65
46.05
1.399
103.13%

q11
20.83
19.81
-1.018
95.11%

q12
26.58
27.20
0.627
102.36%

q13
47.16
46.12
-1.038
97.80%

q14
18.22
14.01
-4.208
76.90%

q15
30.13
28.88
-1.256
95.83%

q16
15.83
15.74
-0.087
99.45%

q17
103.95
103.19
-0.767
99.26%

q18
150.84
150.61
-0.234
99.84%

q19
14.00
13.91
-0.090
99.36%

q20
28.60
27.33
-1.264
95.58%

q21
226.81
228.65
1.837
100.81%

q22
14.17
13.92
-0.252
98.22%

total
1252.39
1248.73
-3.657
99.71%


Add ability to gets all active connections to the database.

This adds the ability to get all active connections to the database.

I'll be pushing an update to this tomorrow morning and adding a screenshot too.

Good Day, since I'm able to see the active connections. Is it possible to closed a connection whether its busy or not


Suggestion: make it so that we can download instant installers/direct-apps based on the os

So.... here is the thing:
Why do we have to clone AND Install node AND build instead of directly downloading it.
this is just a suggestion. I would Love to see open-source projects grow

Thank for your Feedback this is what we are currently working on thanks for giving us new feedback.

@Advik-B Working on it now...

@Advik-B Got Windows release done.

You can download Griphitor based on your OS at: https://griphitor.xyz


Add content that translated into zh_Hans

Please follow this checklist before submitting:

[ x Read the contribution guide
[x] Commands include options for Linux, MacOS, and Windows within codetabs
[x] New file and folder names are globally unique
[x] Page references use shortcodes instead of markdown or URL links
[x] Images use HTML style and have alternative text
[x] Places where multiple code/command options are given have codetabs

In addition, please fill out the following to help reviewers understand this pull request:
Description
Add Content from docs-zh repo as l18n content in zh_Hans
Issue reference

#1057

Thank you for your contribution! Tested it out on my side and functionally everything looks good, just 2 notes on renaming the directory with the submodule and fixing the titles of the pages to say "Dapr Docs" instead of the language name

Thanks, I have updated as your suggestion


Nested theme not working

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

I have a main Theme and a secondary Theme that I need to use it only on few pages, so I followed the nested themes pattern as described in the docs, wrapping only few components into the secondary theme, but only the primary theme is applied
Expected Behavior 🤔

I expect the secondary theme to be applied where necessary
Steps to Reproduce 🕹

https://codesandbox.io/s/friendly-shaw-kpcfe?file=/src/Demo.js
Steps:

open the live example
the theme is light instead of dark

Context 🔦

I'd like my main app to use a light/standard theme, while the landing page should always use a dark theme, I use react-router for the routing
Your Environment 🌎

Tech
Version

Material-UI
v4.11.0

React
v16.13.1

Browser
Chrome 86

TypeScript
v3.9

etc.

Tip: the Typography inherits its color.

Same as #20340.

Same as #15850

Thanks for the tip, but this is still not working, now apart from the Typography, I also have other components wrapped in my nested theme (TextFields, and more...) and also those components are still getting the root Theme, not the nested one.
I also tried to add <CssBaseline /> inside the nested theme but without success. Please can you provide a small example of a nested theme?

    <ThemeProvider theme={theme}>
      <Container>
        <Paper>
          Foo
          <ThemeProvider theme={landingPageTheme}>
            <Paper>Bar</Paper>
          </ThemeProvider>
        </Paper>
      </Container>
    </ThemeProvider>

https://codesandbox.io/s/goofy-star-xrjc9?file=/src/Demo.js:567-814

thank you @oliviertassinari , I managed to have a nested theme!


Support all ether units in to-unit

Component
Cast
Describe the feature you would like
Hi Foundry Team
First I love all the foundry tools.
Would be great to be able to use cast to-unit with the rest of the ether units kwei, mwei, microether and milliether. The reason being for easy command-line decimal conversion of certain smart contract calls, e.g. USDC's balanceOf, which has a decimals of 6 rather than the standard 18
Additional context
No response

Similarly from-unit would be equally useful

marking as good first issue, should be relatively easy to add. Albeit, this will also change a bit as we move to alloy in the coming 2 weeks.

i can take this up - can add some common ones for now (kilo, mega, tera) and then refactor once alloy migration is done?

heyy , my pull request failed , It would be great if someone could guide me by giving more steps and i will be able to rectify the issue!

Closed with #5978 — sorry I didn't see your answer earlier @ruvaag !

I noticed this issue was closed and functionality added but would certainly help to fix the --help to include the new units


community: Added New Tool: Google Translator (googletrans)

New Tool: Google Translator (googletrans)

Description: Added a new tool, Google Translator using googletrans package

Dependencies: googletrans

Twitter handle: @shhossain77

test file: langchain\libs\community\tests\integration_tests\utilities\test_google_translate.py

docs file: langchain\docs\docs\integrations\tools\google_translate.ipynb

How it is different from the existing tool?
Maybe it make sense just update the existing tool with ideas from the current branch?

How it is different from the existing tool? Maybe it make sense just update the existing tool with ideas from the current branch?

Okay, I've noticed that there are translators available in LangChain (which I should've used in the first place, and for that, I am sincerely sorry). This includes Doctran and Google Translate. However, both of them require payment.
Regarding the GoogleTranslateTransformer, you can technically modify it to work with googletrans, but I don't think it would be best practice since the entire GoogleTranslateTransformer class is based on Google Cloud Translation. Additionally, GoogleTranslateTransformer is a document transformer, but I want to use it as a tool, as Language Models (LLMs) are not very reliable in that aspect.

googletrans is an unofficial google translate tickets which reverse engineers to generate tickets to get around google's timeout mechanism. Which could also be blocked anytime by Google.

I eventually figure out a way to generate a ticket by reverse engineering on the obfuscated and minified code used by Google to generate such token, and implemented on the top of Python. However, this could be blocked at any time.

I don't think it makes sense for langchain to support it ethically

googletrans is an unofficial google translate tickets which reverse engineers to generate tickets to get around google's timeout mechanism. Which could also be blocked anytime by Google.

I eventually figure out a way to generate a ticket by reverse engineering on the obfuscated and minified code used by Google to generate such token, and implemented on the top of Python. However, this could be blocked at any time.

Quoted from py-googletrans - README.MD
I don't think it makes sense for langchain to support it ethically

I shared the same concerns, and to address them, I extensively researched existing tools in Langchain that utilize unofficial APIs. Notably, there are tools like the 'duckduckgo search tool' and 'wikipedia tool.' While both involve searching and retrieving content, it's important to note that 'googletrans' generates content, which introduces a potential issue.
In defense of 'googletrans,' it is worth acknowledging that it is unstable and unofficial. Additionally, there are daily limits(around 1k requests) and content restrictions (approximately 5k). To mitigate any potential risks, the tool's documentation can explicitly state its unofficial and unstable nature, recommending its use for demonstration purposes rather than in a production environment.
If this PR doesn't align with the values of Langchain Community, feel free to close it.

CC @hwchase17 It seems your feedback is required.


fix: when the upstream configuration is updated from nodes to discover, service discovery does not take effect

Codecov Report
Base: 63.36% // Head: 63.06% // Decreases project coverage by -0.29% :warning:

Coverage data is based on head (c2a21d5) compared to base (ddc90d7).
Patch coverage: 65.75% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #65      +/-   ##
==========================================
- Coverage   63.36%   63.06%   -0.30%
==========================================
  Files          16       16
  Lines        1190     1213      +23
==========================================
+ Hits          754      765      +11
- Misses        373      386      +13
+ Partials       63       62       -1

Impacted Files
Coverage Δ

internal/conf/nacos.go
76.00% <ø> (ø)

internal/core/message/a6conf.go
72.66% <0.00%> (-8.79%)
:arrow_down:

internal/core/message/message.go
78.78% <0.00%> (-2.47%)
:arrow_down:

internal/core/components/watcher.go
77.88% <80.00%> (-1.47%)
:arrow_down:

internal/discoverer/nacos.go
74.59% <100.00%> (+2.15%)
:arrow_up:

internal/core/storer/etcd.go
67.26% <0.00%> (+1.19%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Should add e2e for PATCH method.


[Microsoft Teams Meeting] ...

Extension
https://www.raycast.com/sven/microsoft-teams-calling
Description
Thanks @svenwiegand for your work on this extension!
I've been using the extension on the new v2 Teams app. However I have an issue where I need to do the approval step every time I use an action, not just the first time.
The 'approval step' is this, from the docs:

When executing one of the extension's actions for the first time, while in a meeting, Microsoft Teams will bring up a prompt New connection request for the extension. Allow the extension and you're ready to go!

I have tried restarting Teams and my Mac multiple times, and in my Teams settings, I see this which looks good:

But it seems like it's not applying - every time I use the extension, I need to approve (and the timestamp above is updated) but it still asks for approval every time. Every action gives me this pop up:

Teams version: 24033.811.2716.7327 (24033.811.2716.7327)
Steps To Reproduce

Use new Teams app
Ensure in the settings for this extension, 'Teams Version' is set to 'New Teams'
Start a call (e.g. the Teams test call service)
Execute an action; I used mute/unmute
Accept the pop up
Make another call
Observe pop up that I think shouldn't be there

Current Behaviour
This popup appears on every action, not just the first time:

Expected Behaviour
Once accepted, the 'New Connection Request' should not appear again.

Uninstalled and reinstalled the extension and this problem went away. Maybe moving from old to new teams leaves some residual configuration that causes this issue?

Thanks for the hint @aksvenk. As far as I've heard, this didn't fix it for all people.
Unfortunately I cannot reproduce the problem and as the API we use of the Teams client isn't officially documented there's some guesswork involved anyway.
Sorry I currently don't have a clue how to help here @chan-vince

Not sure if it helps, but for me reinstalling fixed it as well.
I used first the classic teams and switched to the new one and had the same issue as described here before.

Not sure if it helps, but for me reinstalling fixed it as well. I used first the classic teams and switched to the new one and had the same issue as described here before. Maybe it would be good to add this hint to the docs?

Ok good to hear it works for you - do you mean re-install this specific extension or re-install Raycast?
I've reinstalled this extension and it didn't work for me unfortunately.
@svenwiegand appreciate your input, I understand it's basically impossible to help if you can't reproduce. I'm looking into Raycast extension debugging to see if I can figure anything out..

Ok good to hear it works for you - do you mean re-install this specific extension or re-install Raycast? I've reinstalled this extension and it didn't work for me unfortunately.

I only reinstalled the extension, not Raycast.

I was hitting this for a while, I reinstalled the extension and restarted both Teams and Raycast and it was still happening, then it suddenly stopped happening without restarting either application.  I'm not sure if that helps or if reinstalling fixed it, but it went away eventually.

Thanks all for your input. Yesterday suddenly it just started working for me too. I suspect those transparent Teams updates might have fixed something on their end.
And thanks @svenwiegand for your work on this extension, it's great!


[BIA-510] Adds namespace to the assessment collections.

In the tests project, the classes AssessmentDim, ObjectiveAssessmentDim, StudentAssessmentFact, StudentAssessmentObjectiveFact do not include the new fields, therefore the tests do not fail. The new fields must be added in these classes.

This has been fixed.


Boat documentation

I want to create a new boat model and animation, but nowhere is there a render controller for it

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 9c82d0fe-0439-313c-9ed8-16ec67bf8644
Version Independent ID: c91a80b8-bf7a-881d-4dfc-d082745473a9
Content: Client Entity JSON Introduction
Content Source: creator/Reference/Content/EntityReference/Examples/ClientEntityDocumenation/ClientEntityDocumentationIntroduction.md
Product: gaming
GitHub Login: @v-josjones
Microsoft Alias: v-josjones

Hi there,
We are unable to document this because this feature is currently not available in the game! If you'd like to propose new features such as creating custom boats and animations, the right forum for that would be here: https://feedback.minecraft.net/hc/en-us
I've made a note of this to pass along, but submitting an idea suggestion at https://feedback.minecraft.net/hc/en-us would be the official channel for these sorts of requests.


Performance example Parameter-Parallelism with GPU Ensemble Methods

Hi,
just copy pasting the example:
# ╔═╡ 0094c9ce-0bf7-40ff-b6df-dcddf94828cd
using DiffEqGPU, OrdinaryDiffEq, StaticArrays, CUDA

# ╔═╡ 0c65ebbf-95b8-44eb-8789-8c03c29442d8
function lorenz(u, p, t)
    σ = p[1]
    ρ = p[2]
    β = p[3]
    du1 = σ * (u[2] - u[1])
    du2 = u[1] * (ρ - u[3]) - u[2]
    du3 = u[1] * u[2] - β * u[3]
    return SVector{3}(du1, du2, du3)
end

# ╔═╡ faf01799-9b68-463d-b439-504d78ebb2e6
u0 = @SVector [1.0f0; 0.0f0; 0.0f0]

# ╔═╡ fd96be2f-eab0-4cf9-9680-8af8aa5fc54f
tspan = (0.0f0, 10.0f0)

# ╔═╡ 64bb027c-bc7b-443d-a712-8c2c9bf577ac
p = @SVector [10.0f0, 28.0f0, 8 / 3.0f0]

# ╔═╡ 4b77d5b2-2988-4c2a-ab51-a424a016d85a
prob = ODEProblem{false}(lorenz, u0, tspan, p)

# ╔═╡ f5c3ee38-59b5-4840-9cea-ea2c1a52c512
prob_func = (prob, i, repeat) -> remake(prob, p = (@SVector rand(Float32, 3)) .* p)

# ╔═╡ 169bb61d-8a59-4ad1-9936-d594ce5eb2de
monteprob = EnsembleProblem(prob, prob_func = prob_func, safetycopy = false)

# ╔═╡ 097eeba0-3608-498f-9574-b257b6e9604a
@time sol2 = solve(monteprob, Tsit5(), trajectories = 100_000,
                  adaptive = false, dt = 0.1f0)

# ╔═╡ 5cccc317-125b-4c23-abcf-09292ab9c7e8
CUDA.@time sol = solve(monteprob, GPUTsit5(), EnsembleGPUKernel(), trajectories = 100_000,
                  adaptive = false, dt = 0.1f0)

I don't see an improvement with the GPU version.
# CPU
  0.182350 seconds (14.10 M allocations: 1.822 GiB)
# GPU
 0.249538 seconds (3.44 M CPU allocations: 382.376 MiB) (3 GPU allocations: 126.038 MiB, 0.01% memmgmt time)

System:
Julia Version 1.8.5
Commit 17cfb8e65ea (2023-01-08 06:45 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 24 × AMD Ryzen 9 5900X 12-Core Processor
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, znver3)
  Threads: 12 on 24 virtual cores
Environment:
  JULIA_REVISE_WORKER_ONLY = 1

NVIDIA GeForce RTX 3060 (GPU 0)

Is there anything wrong or is this expected?
Best,
Felix

@time sol2 = solve(monteprob, Tsit5(), trajectories = 100_000,
DiffEqGPU.CUDA.@time sol = solve(monteprob, GPUTsit5(), EnsembleGPUKernel(), trajectories = 10_000,
did you measure with different numbers of trajectories?

I've been using Pluto, but below my REPL results.
As far as I can see, it uses all threads. Is my processor on steroids?
But at least, in the REPL everything. Is that some kind of weird Pluto bug?
julia> @time sol2 = solve(monteprob, Tsit5(), trajectories = 100_000,
                           adaptive = false, dt = 0.1f0)
  0.199818 seconds (13.10 M allocations: 1.772 GiB)

julia> DiffEqGPU.CUDA.@time sol = solve(monteprob, GPUTsit5(), EnsembleGPUKernel(), trajectories = 100_000,
                         adaptive = false, dt = 0.1f0)
  0.189582 seconds (2.44 M CPU allocations: 330.496 MiB) (3 GPU allocations: 126.038 MiB, 0.16% memmgmt time)
EnsembleSolution Solution of length 100000 with uType:
ODESolution{Float32, 2, uType, Nothing, Nothing, tType, Nothing, P, A, IType, Nothing, Nothing} where {uType, tType, P, A, IType}

julia> versioninfo()
Julia Version 1.8.5
Commit 17cfb8e65ea (2023-01-08 06:45 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 24 × AMD Ryzen 9 5900X 12-Core Processor
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, znver3)
  Threads: 12 on 24 virtual cores


Add support for setting capabilities on the app binary

This patchset adds linux_capabilities under builds section in .ko.yaml. Ex:
builds:
- id: my-app
  dir: ./cmd
  main: ./myapp
  linux_capabilities: bpf perfmon net_admin

A bit of trivia on capabilities: unless running the app as root user, Docker's --cap-add alone is insufficient.
Requested capabilities are AND-combined with capabilities granted to the app binary (intentionally simplified, see man capabilities for the full discourse).
A running program has multiple sets of capabilities. The most important ones are effective (used by the kernel for permission checks) and permitted (a "stash" of capabilities an app can promote to effective). Likewise, file capabilities capture multiple sets of capabilities, permitted being the most important.
linux_capabilities: bpf perfmon net_admin

The config above sets permitted capabilities on the app binary to bpf, perfmon, and net_admin. When the app is launched, this set is AND-combined with capabilities requested via --cap-add and the result becomes the running app's permitted capabilities. The app should verify if it got all required capabilities and promote permitted capabilities to effective.
File capabilities have a bit that tells the kernel to automatically promote permitted to effective. The downside is that the program will fail to start with generic EPERM error if some capabilities weren't granted. In order to access this feature, and to make transition from Dockerfile easier, we also support the full setcap syntax in linux_capabilities, e.g.:
linux_capabilities: bpf,perfmon,net_admin=ep

Fixes #1246

@imjasonh

Just a few code style things, nothing major.

Thank you for taking a look! I've implemented  suggestions and fixed issues reported by linters.


Add catalog entry for builds 1.2

Add catalog entry for builds 1.2
Add olm deprecation schema

OK moving this out of "draft" state. Test of release candidates looked good today!


PingFederate PCV filter seems to be losing ${username}

Using the current server-profile data.zip for PingFederate, the ${username} seems to be blanked out in the resulting PasswordCredentialValidator, probably due to a substitution during the setup of the container.

Issue is that the file password-credential-validators/pingdirectory.xml.subst in the data.zip.substr contains the ${username} string in it which shouldn't be changed.
The file needs to not go through substitution.  Remove the .subst suffix.

same thing with data/password-credential-validators/pingdirectory.xml.subst

Due to the limitations around our current envsubst tool, we can't escape certain variables to be left alone.  So, we've decided to create a special variable called _DOLLAR_=$ . This can be used to force a $ to be included with the substituted file.  In the case of forcing the variable ${username} to stay intact, the template would include ${_DOLLAR_}{username}.
We will add a variable _DOLLAR_=$ to the hook 15-expand-templates.sh to fix this issue.

Checked in changes to both docker-builds and serer-profile-pingidentity-baseline


Remove content about Shell Extensions Approved registry key

this functionality was removed prior to Windows 7.

this functionality was removed prior to Windows 7.

Instead of just deleting should we note that this is no longer required as of Win7?

this functionality was removed prior to Windows 7.

Instead of just deleting should we note that this is no longer required as of Win7?

I don't think so. it really never worked so no reason to document it at all.

@jwmsft can you complete this?


add soap test example with valid documentation steps

need working example of the public soap testing via carina and simple guide about recommended approach

need to fix conflicts and merge: https://github.com/qaprosoft/carina-demo/pull/66

soap moved into independent repo: https://github.com/qaprosoft/carina-soap
need only document steps

soap moved into independent repo: https://github.com/qaprosoft/carina-soap
need only document steps

Verified https://github.com/zebrunner/carina-soap


Show upstream version in github preview

The github doc preview is missing sections of the doc as the build
variable is not defined in that env and therefore all our conditional
upstream/downstream ifeval blocks are hidden.
This patch defaults the build variable to upstream in each doc that uses
ifeval to make sure that the github preview doc is complete.

The changes made in this PR fulfill the need described in Gibi's comment. The upstream doc preview is building with the sections that include the ifeval conditions.
However, the use of ifevals will likely be changing because we found that the ifevals do not render downstream. I'm not sure whether to approve this PR for now, and in the meantime, the docs team will find a solution.

The changes made in this PR fulfill the need described in Gibi's comment. The upstream doc preview is building with the sections that include the ifeval conditions. However, the use of ifevals will likely be changing because we found that the ifevals do not render downstream. I'm not sure whether to approve this PR for now, and in the meantime, the docs team will find a solution.

Do you use the Makefile from this repo downstream? The BUILD env variable defines which version of the doc is built.
https://github.com/openstack-k8s-operators/data-plane-adoption/blob/main/docs_user/Makefile#L1
Or if you use the CLI directly the you need to pass -a build=downstream to the asciidoctor command to define the variable checked by the ifeval blocks in the doc
https://github.com/openstack-k8s-operators/data-plane-adoption/blob/main/docs_user/Makefile#L59

Rendering upstream by default so that it shows correctly in Github preview makes sense to me. Let's pause until we figure out the downstream rendering though. I think we should be able to solve both without conflicting (as long as we don't default to downstream). I mentioned it in https://issues.redhat.com/browse/OSPRH-5429 .
@gibi once we know how to proceed on the Jira bug linked above, would you be able to add your snippet to all the modules, to keep consistency? I think your solution here would likely still apply as-is even after we have the downstream rendering figured out, but IMO let's pause work on this for now, just in case...

Rendering upstream by default so that it shows correctly in Github preview makes sense to me. Let's pause until we figure out the downstream rendering though. I think we should be able to solve both without conflicting (as long as we don't default to downstream). I mentioned it in https://issues.redhat.com/browse/OSPRH-5429 .

OK, lets wait for the downstream solution and then reevaluate.

@gibi once we know how to proceed on the Jira bug linked above, would you be able to add your snippet to all the modules, to keep consistency? I think your solution here would likely still apply as-is even after we have the downstream rendering figured out, but IMO let's pause work on this for now, just in case...

I added it already to all the modules where we have ifeval blocks, but you have a good point adding it to all modules for forward correctness. Sure I can do that.****

I added it already to all the modules where we have ifeval blocks, but you have a good point adding it to all modules for forward correctness. Sure I can do that.

Ah i didn't realize you covered all that have the if blocks. Then adding them elsewhere i think is nice (i think it's likely we'll miss that part if adding if blocks elsewhere) but not a blocker.

Maybe the pattern should be:
ifeval::["{build}" != "downstream"]

instead of
ifeval::["{build}" == "upstream"]

We have a downstream solution, and the condition can continue to be ifeval::["{build}" == "downstream"].
I think we should do what Fabricio suggested, which seems to be the simplest way:
ifeval::["{build}" != "downstream"]
< upstream content goes here >
endif::[]

ifeval::["{build}" == "downstream"]
< downstream content goes here >
endif::[]

Maybe the pattern should be:
ifeval::["{build}" != "downstream"]

instead of
ifeval::["{build}" == "upstream"]

Do you also suggest to drop BUILD=upstream logic from the Makefile:

https://github.com/openstack-k8s-operators/data-plane-adoption/blob/eba492929601abb964735b6325481dab9a2b713a/Makefile#L35
https://github.com/openstack-k8s-operators/data-plane-adoption/blob/eba492929601abb964735b6325481dab9a2b713a/docs_user/Makefile#L1
https://github.com/openstack-k8s-operators/data-plane-adoption/blob/eba492929601abb964735b6325481dab9a2b713a/docs_user/Makefile#L1

If none of our docs condition refers to the "upstream" value of BUILD then the Makefile should not do it either? Or do we foresee a case where we will have a 3rd value for BUILD ?

If none of our docs condition refers to the "upstream" value of BUILD then the Makefile should not do it either? Or do we foresee a case where we will have a 3rd value for BUILD ?

I don't see a 3rd value currently... We could drop the "upstream" value from the Makefile but we do need to still support "BUILD=downstream" there so we can't fully drop the BUILD variable. So IMO we may keep the "upstream" value in the Makefiles too... I don't have a strong opinion on that one...


server issue

anubhav sir,please fix the server side issues and please add 12 times over 6 times in one number.

@psychomaster
i have made a modified version of xlr8 bomber this version is working all server side issues are fixed but script has not been updated by @anubhavanonymous
install and usage commands are here
https://github.com/bagarrattaa/xlr8mod

I've fixed Everything !
Check now 🔥

Thanks..and love u sir...i send u follow request on insta...please accept
sir....
On Sun, 21 Nov 2021, 19:46 Anubhav Kashyap, @.***>
wrote:

I've fixed Everything !
Check now 🔥
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/anubhavanonymous/XLR8_BOMBER/issues/29#issuecomment-974825408,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWSK5KT6WYPFCXERZIFBWZDUND5NBANCNFSM5IN5RZ5A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


ARROW-10662: [Java] Avoid integer overflow for Json file reader

For the current implementation, it uses int to represent the buffer size. However, the buffer can be larger than Integer.MAX_VALUE, which will lead to integer overflow and unexpected behaviors.

LGTM.
One comment. I found a similar problem at here while this code takes care of it. Do we handle this in this PR?

LGTM.
One comment. I found a similar problem at here while this code takes care of it. Do we handle this in this PR?

@kiszk Nice cath! Thank you so much.
I have fixed it, as the change is not too big.

@liyafan82 Thanks.


Integrate with sageMaker prototype

Signed-off-by: Xun Zhang<EMAIL_ADDRESS>Description
This PR is the prototype to send request to sageMaker model inference endpoint. Currently for now it is primarily for discussion use. DO NOT merge until it's finalized.
Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #632 (693295b) into 2.x (d92e229) will decrease coverage by 2.02%.
The diff coverage is 2.06%.

@@             Coverage Diff              @@
##                2.x     #632      +/-   ##
============================================
- Coverage     84.01%   81.98%   -2.03%
- Complexity      968      972       +4
============================================
  Files            92       94       +2
  Lines          3540     3636      +96
  Branches        326      330       +4
============================================
+ Hits           2974     2981       +7
- Misses          429      518      +89
  Partials        137      137

Flag
Coverage Δ

ml-commons
81.98% <2.06%> (-2.03%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...ction/remote_model/RemoteModelTransportAction.java
0.00% <0.00%> (ø)

...rg/opensearch/ml/rest/RestMLRemoteModelAction.java
0.00% <0.00%> (ø)

...va/org/opensearch/ml/task/MLPredictTaskRunner.java
59.79% <3.63%> (-22.35%)
:arrow_down:

...va/org/opensearch/ml/task/MLExecuteTaskRunner.java
83.33% <0.00%> (+6.66%)
:arrow_up:

.../cluster/MLCommonsClusterManagerEventListener.java
78.12% <0.00%> (+12.50%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Not properly working on SSR

Since react-scoped-model uses useLayoutEffect to handle subscriptions, the side-effects are useless when implemented in SSR, since the window does not exist.
To fix this, fallback to use useEffect when using SSR.

resolved in 0.3.0


PD Bugs: New File -> white screen

steps to reproduce

Create a new file
Add some labware & steps
Go back to the file page & create a new file again
Get white screen

behavior
Creating a new file currently doesn't clear out existing data/state, so it blows up when you create a new file when there is stuff in the app state.
implementation notes
Laying the groundwork for the 'load file' functionality will probably make this go away, so I'm marking it blocked.

Closed in #1852


How to use method 'IncludeAsync()' to import partial view in root view?

Hi:
I use the FluentEmail.Razor 2.5.0 in my project, and I want to import some partial view to my root view, like below:
@{ await IncludeAsync("Test.cshtml", Model);}

but I only get a text 'Test.cshtml', not is content in file 'Test.cshtml'.
FileTree Like This:
|- MailTemplates
|--- Root.cshtml
|--- Test.cshtml
And I used the method 'UsingTemplateFromFile("Path of Root.cshtml", Model)' to set email template.
What should I do?  Thank you!

Hi @Sakuto , I found the problem.
FlutterEmail used method .UseMemoryCachingProvider() in Class RazorRender, so Razorlight don't know the path that partial view when Parse. Maybe we should use method .UseMemoryCachingProvider() when we need render partial view.
And I try to write a new render that used .UseMemoryCachingProvider(), it works fine.


swift 5.9 support

Hi
I use rules_swift_package_manager to include Firebase in my bazel project.
After updating to Xcode 15, I have got a strange error about swift compiler version.
Failed to build module 'FirebaseAnalytics'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.7.1 (swiftlang-<IP_ADDRESS>.3 clang-14<IP_ADDRESS>)', while this compiler is 'Apple Swift version 5.9.2 (swiftlang-<IP_ADDRESS>.56 clang-15<IP_ADDRESS>.5)'). Please select a toolchain which matches the SDK.
As my knowledge, swift package manger should build the framework with current swift version, but in my case there is some issues which I can't find where the root of the problem is.
I haven't had such issues before upgrading to Xcode 15.
Also this error does not happen if I import Firebase in a normal Xcode 15 project (created by Xcode)
Is it something that should be fixed on my bazel project configurations, or Firebase repo, or rules_swift_package_manger repo or rules_swift repo or any other bazel repo?
Please help.

When building on MacOS, the Swift version is dictated by the Xcode version. By any chance, do you have multiple versions of Xcode installed?  I use the third-party utility, xcodes, to manage my Xcode installations.

What do you get when you run swift --version?
❯ swift --version
swift-driver version: 1.87.3 Apple Swift version 5.9.2 (swiftlang-<IP_ADDRESS>.56 clang-15<IP_ADDRESS>.5)
Target: arm64-apple-macosx14.0

Hi
I had multiple versions in the past, but now I only have Xcode 15.1 installation.
$ swift --version swift-driver version: 1.87.3 Apple Swift version 5.9.2 (swiftlang-<IP_ADDRESS>.56 clang-15<IP_ADDRESS>.5) Target: x86_64-apple-macosx13.0

Is there any chance that you can post a repro for the issue? It would help with diagnosing it.

I can't share my project but I'll try to reproduce the issue in another project.

The error didn't happen in a sample bazel project.
So it means there is some problem with my project. here is my .bazelrc file. could it be something related to this file?
build --action_env=ZERO_AR_DATE=1

build --apple_platform_type=ios
build --enable_platform_specific_config
build --apple_crosstool_top=@local_config_apple_cc//:toolchain
build --crosstool_top=@local_config_apple_cc//:toolchain
build --host_crosstool_top=@local_config_apple_cc//:toolchain

build --cxxopt='-std=c++17'
build --swiftcopt=-whole-module-optimization

build --per_file_copt=".*\.m$","@-fno-objc-msgsend-selector-stubs"
build --per_file_copt=".*\.mm$","@-fno-objc-msgsend-selector-stubs"

build --linkopt="-ld_classic"

build --features=debug_prefix_map_pwd_is_dot
build --features=swift.cacheable_swiftmodules
build --features=swift.debug_prefix_map
build --features=swift.enable_vfsoverlays

build --strategy=Genrule=standalone
build --spawn_strategy=standalone

build --strategy=SwiftCompile=standalone
build --define RULES_SWIFT_BUILD_DUMMY_WORKER=1
# Required by firebase-ios-sdk, googleappmeasurement, googledatatransport, googleutilities
#build --copt='-std=c99'
# Required by firebase-ios-sdk, googleappmeasurement, googledatatransport, googleutilities, leveldb
build --cxxopt='-std=gnu++14'

.bazelrc file seems irrelevant to the issue.
I don't have any idea even where to find a clue.

The only thing that jumps out at me from your bazelrc are these two line:
build --strategy=SwiftCompile=standalone
build --define RULES_SWIFT_BUILD_DUMMY_WORKER=1

I did some Googling. They are legitimate. However, it does appear that they may change how the code is built. I would try removing those and see if the problem persists.

anyway even in the sample project, the FirebaseAnalytics framework is built with swift 5.7.1. I can't figure out how it is possible since my swift version is 5.9.2.

Can you share your sample project?

Can you share your sample project?

https://github.com/mostafa-v/bazel-ios-swiftui-template

@mostafa-v I cloned the sample project. I am not seeing any errors when building or running the tests. I did need to make some changes to the project. Can you give me permission to write to the sampe repo so that I can push a branch with my changes?

As I said, the sample project builds without error, but it still builds with swift 5.7.1 as I looked into  swiftinterface files.
I suspected that my main project didn't build because of warnings-as-errors configuration, but even after removing them, the error persists.
I gave you the permission to the repo.
Thank you

@mostafa-v Where in your output tree are you finding the .swiftinterface files that indicate the Swift version mismatch?

Also, I pushed a branch, chuck_debug, that contains my changes.

@mostafa-v Where in your output tree are you finding the .swiftinterface files that indicate the Swift version mismatch?

/private/var/tmp/_bazel_user/6b735afcfbd845b535942247d945b5a9/rules_xcodeproj.noindex/build_output_base/external/rules_swift_package_manager~0.25.0~swift_deps~swiftpkg_firebase_ios_sdk/remote/archive/FirebaseAnalytics.zip/FirebaseAnalytics.xcframework/ios-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/FirebaseAnalytics.swiftmodule
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-<IP_ADDRESS>.3 clang-14<IP_ADDRESS>)
// swift-module-flags: -target x86_64-apple-ios10.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseAnalytics
// swift-module-flags-ignorable: -enable-bare-slash-regex
@_exported import FirebaseAnalytics
import StoreKit
import Swift
import SwiftUI
import _Concurrency
import _StringProcessing
@available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, *)
@available(watchOS, unavailable)
extension FirebaseAnalytics.Analytics {
  public static func logTransaction(_ transaction: StoreKit.Transaction)
}
@available(iOS 13.0, macOS 10.15, macCatalyst 13.0, tvOS 13.0, *)
@available(watchOS, unavailable)
extension SwiftUI.View {
  public func analyticsScreen(name: Swift.String, class: Swift.String = "View", extraParameters: [Swift.String : Any] = [:]) -> some SwiftUI.View

}

Those files are from the Firestore xcframework. The Bazel build does not generate them.
Without seeing the project that is failing, the only suggestion that I have is to compare it to the Firebase Analytics example in the rules_swift_package_manager repo.

Those files are from the Firestore xcframework. The Bazel build does not generate them.
Without seeing the project that is failing, the only suggestion that I have is to compare it to the Firebase Analytics example in the rules_swift_package_manager repo.

My project fails at the swiftmodule I mentioned.
Maybe if I run my project on a remote mac server and send the credentials to your email, could you please check it there?

Sure. I can take a look.


SocketError

Hi there,
I am getting the following error:
/home/ike/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/net/ftp.rb:189:in `initialize': getaddrinfo: Name or service not known (SocketError)
	from /home/ike/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/net/ftp.rb:189:in `open'
	from /home/ike/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/net/ftp.rb:189:in `open_socket'
	from /home/ike/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/net/ftp.rb:205:in `block in connect'
	from /home/ike/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
	from /home/ike/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/net/ftp.rb:204:in `connect'
	from /home/ike/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/net/ftp.rb:139:in `initialize'
	from /home/ike/.rvm/gems/ruby-1.9.2-p290/gems/glynn-1.0.8/lib/glynn/ftp.rb:21:in `new'
	from /home/ike/.rvm/gems/ruby-1.9.2-p290/gems/glynn-1.0.8/lib/glynn/ftp.rb:21:in `connect'
	from /home/ike/.rvm/gems/ruby-1.9.2-p290/gems/glynn-1.0.8/lib/glynn/ftp.rb:14:in `sync'
	from /home/ike/.rvm/gems/ruby-1.9.2-p290/gems/glynn-1.0.8/bin/glynn:57:in `<top (required)>'
	from /home/ike/.rvm/gems/ruby-1.9.2-p290/bin/glynn:19:in `load'
	from /home/ike/.rvm/gems/ruby-1.9.2-p290/bin/glynn:19:in `<main>'````

Any ideas what I am doing wrong?

Well apparently, the address you provided in the YML file is not valid (no dns response).

Aha! Thanks a lot!
I will check that out...
On Sat, Oct 22, 2011 at 4:04 PM, Damien Mathieu <
<EMAIL_ADDRESS>
Well apparently, the address you provided in the YML file is not valid (no
dns response).
--
Reply to this email directly or view it on GitHub:
https://github.com/dmathieu/glynn/issues/11#issuecomment-2493129

--
Isaac Lewis
ikelewis.com
http://crossdiver.tumblr.com/541-288-1492

I have the same proble, I'm pretty sure that my ftp address and username password is correct.

How does your _config.yml file contains ?

On Sat, 29 Oct 2011 03:01:52 -0700
Damien Mathieu
<EMAIL_ADDRESS>wrote:

How does your _config.yml file contains ?

Nothing special here.
markdown: rdiscount
pygments: true
auto: true
ftp_host: ftp.byethost3.com
ftp_dir: /htdocs
--
PHẠM Văn Điệp

The host and port are correctly defined (and the FTP instantiation works).
Could that be because of passive/active ftp ?
I'm not using glynn anymore, and don't have any ftp server around to investigate this.
Would you be willing to take some time to look around ?

I don't have any experience with ruby.
But tomorrow I'll try look around to investigate some more information.

:heart:

I'll poke around a bit if I get a chance later in the week. It's not working for me either.

I had the same problem. Looks like Net::FTP.new(host, username, password) does not like the host_with_port input. When I just pass the host it works as expected. A workaround would probably to use the standard constructor and then connect(host, port), followed by a login(username, password). See Net::FTP docs for details.


Fix scrollbar issues

Removed horizontal scrollbars: Closes #131
Removed unnecessary vertical ones, too: Closes https://github.com/freeCodeCamp/freeCodeCamp/issues/17293 (This fix is only for Chrome and Firefox as I'm unsure whether or not we support Safari. I'll try and submit a follow up PR for it if requested.)
Fixed the editor's scrollbar issue: Closes https://github.com/freeCodeCamp/freeCodeCamp/issues/17415

Screenshots:
Before the fix

After the fix

What I did:
All of the scrollbars in the first screenshot belong to the ReflexElement components. Something was off with the height and width of these components, causing the scrollbars to appear. I spent 2 hours inspecting them but couldn't figure out.
I decided to remove them all by applying overflow: hidden to the .reflex-element class. The results of this:

Made the instruction pane unscrollable. I made up for this by applying overflow-y: auto to the .instructions-panel class. The scrollbar, however, appears when it is needed, unlike that of the parent div.
Revealed the invisible scrollbar of the editor. I think it was covered/overlapped by the parent's one. I made the scrollbars of both the editor and the output visible, with arrows on the slider to match the browser style. A minor issue with the scrollbars being visible is that it appears even when the editor has only one line of code. This is because scrollBeyondLastLine is true by default. I only set it to false for the output and left the editor at that.

@huyenltnguyen, just wanted to chime in and say that things are looking good with your changes! But there's a problem I noticed with resizing the code editor and output along the y axis. It seems that Firefox has some problems resizing windows/elements with overflow: hidden and causes the reflex-splitter to eventually freeze up when resizing those panes vertically. Things seem to work fine when resizing along the x axis, even with the overflow hidden, though.
Could you set both the editor and output back to overflow: auto? That should fix the problem. I believe you can use the .react-monaco-editor-container class to target both.

@scissorsneedfoodtoo Thanks a lot for reviewing my PR!
The Firefox issue is weird, but I can't seem to reproduce it. I tried applying overflow: auto to the editors as you suggested, and the outer scrollbars (both vertical and horizontal) came right back. They looked and behaved just like the ones in my first screenshot.

Oh shoot, that's no good. Would be best to remove as many scroll bars as possible.
It's kind of a strange bug. To do it you'll have to resize the panes up and down for a while. Sometimes it happens quickly, other times it takes a bit. I wonder if it would be possible just to set overflow-y to auto for the editors? I'll give it a try on my end later.
In the end its a pretty minor issue, though.

I tried resizing the panes again at different speeds, but there was no bug in sight, still. Private mode couldn't lure it out either 😟
overflow-y: auto did not offer much apparently. I still got the outer vertical and horizontal scrollbars back. This is strange, because this is exactly what I did with the instruction pane, and it worked. I will see if I can come up with anything.
Thanks again for taking the time to look into this! I really appreciate it.

Okay! Thank you for checking it out. Could just be a thing on my end with Firefox on Linux. If that's the case, even more so it's just a minor issue.

@scissorsneedfoodtoo Wait, I always thought Firefox and Linux are a good combo, are they not?
So I just reverted the changes (locally) and tried if I could go about in another way, but no luck. I have a feeling that it has something to do with the monaco editors, too, since the code applied to them doesn't work properly.
Funny how some simple CSS could spin my head so hard. Working with CSS is like making sense out of nonsense to me, ugh.
Anyway, if you have a chance to test the editors with overflow: auto, let me know how it looks and works on your end.

Hi @huyenltnguyen @scissorsneedfoodtoo thanks for the PR and the QA. I have merged this. Can you make a fresh issue if not already for the other minor issues that still to be handled if any.


after publishing the post its deleted from Instagram .

when i run my code and i publish the post the publishResult.status show 'ok' so its work i have upload a photo but when i go to the post in instagram its deleted .
i think its deleted from Instagram , any solution ?
Code
let ig = new IgApiClient(); Login(ig).then(ig => {     UploadPhoto(ig); }); async function Login(ig) {     console.log('logging ...');     ig.state.generateDevice('seed');     await ig.simulate.preLoginFlow();     return new Promise(async function (resolve, reject) {         await ig.account.login('user', 'pass').then(ig => {             resolve(ig)         }).catch(err => {             reject(err);         })     }); } async function UploadPhoto(ig) {     const imageBuffer = await get({         url: 'https://picsum.photos/800/800',         encoding: null,     });     const publishResult = await ig.publish.photo({         file: imageBuffer,         caption: 'Really nice photo from the internet! 💖',     });     console.log(publishResult.status); }
is any other information needs ?

There's a reason you were prompted to fill out a form. How am I supposed to help you now.
Add your code, your output, your logs and other information about your environment.

i have edit my own comment .

Change your password
Have you tried it again?
Post the entire publish result not just the status.

yes i have tried to change and try again and its show me this result .
{   media: {     taken_at:<PHONE_NUMBER>,     pk: '2288929313783118989',     id: '2288929313783118989_33440291058',     device_timestamp:<PHONE_NUMBER>863,     media_type: 1,     code: 'B_D6RVoBXyN',     client_cache_key: 'MjI4ODkyOTMxMzc4MzExODk4OQ==.2',     filter_type: 0,     image_versions2: { candidates: [Array] },     original_width: 800,     original_height: 800,     user: {       pk:<PHONE_NUMBER>8,       username: 'the username',       full_name: '',       is_private: false,       profile_pic_url: 'https://scontent-eze1-1.cdninstagram.com/v/t51.2885-19/44884218_345707102882519_2446069589734326272_n.jpg?_nc_ht=scontent-eze1-1.cdninstagram.com&_nc_ohc=I6 eGGDyH2v0AX9uXy-P&oh=6c66397b04c35ffe5bcb54cfd0d1e9ae&oe=5EC09E0F&ig_cache_key=YW5vbnltb3VzX3Byb2ZpbGVfcGlj.2',       has_anonymous_profile_picture: true,       can_boost_post: true,       can_see_organic_insights: true,       show_insights_terms: false,       reel_auto_archive: 'unset',       is_unpublished: false,       allowed_commenter_type: 'any'     },     can_viewer_reshare: true,     caption_is_edited: false,     comment_likes_enabled: false,     comment_threading_enabled: false,     has_more_comments: false,     max_num_visible_preview_comments: 2,     preview_comments: [],     can_view_more_preview_comments: false,     comment_count: 0,     boosted_status: 'unavailable',     boost_unavailable_reason: "You don't have a profile picture so you can't create a promotion. Please upload a profile picture first.",     photo_of_you: false,     can_see_insights_as_brand: false,     caption: {       pk: '18114733963098856',       user_id:<PHONE_NUMBER>8,       text: 'Really nice photo from the internet! �',       type: 1,       created_at:<PHONE_NUMBER>,       created_at_utc:<PHONE_NUMBER>,       content_type: 'comment',       status: 'Active',       bit_flags: 0,       did_report_as_spam: false,       share_enabled: false,       user: [Object],       media_id: '2288929313783118989'     },     fb_user_tags: { in: [] },     can_viewer_save: true,     organic_tracking_token: 'eyJ2ZXJzaW9uIjo1LCJwYXlsb2FkIjp7ImlzX2FuYWx5dGljc190cmFja2VkIjp0cnVlLCJ1dWlkIjoiNDBmMDRhNzY2YzU0NDQ5MWE4MmVhYTgwNTljMzljZDgyMjg4OTI5MzEzNzgzMTE4OTg5Iiw ic2VydmVyX3Rva2VuIjoiMTU4NzA4MTY2MDY4NHwyMjg4OTI5MzEzNzgzMTE4OTg5fDMzNDQwMjkxMDU4fDdhYTA3YzllY2IyODllNzNlNWNhOTgwZmFmYjM5ZjY5Y2E2YTk2MTg0ZTFiZDMwZmM2MWMwNTIzYTUyZGVjOGQifSwic2lnbmF 0dXJlIjoiIn0='   },   upload_id: '1587081655863',   status: 'ok' }

so i have created a new account then i tried again and it's work . so i think when i have run the code and post to many video and photo for testing the code.  the Instagram blocked me .
so for every one who's having this problem create a new account and do not run the code to many times make sure you make delay between them . thanks