Python in Excel not working in version 17404.20000

Hello,
A user has been using Python in Excel since November but the option disappeared and now states he got to register to use the functionality.

Version is last beta build - 2403, 17404.20000

hi sorry for the delay. What happens whey the click "Try Preview" which I think is titled "En savoir plus" in the screenshot above?

hi sorry for the delay. What happens whey the click "Try Preview" which I think is titled "En savoir plus" in the screenshot above?

Hello,
This does sent us to the documentation about preview

Thanks. following up with you offline.


Prioritise $RECENTLY_USED_DIRS over $SUBDIRS in fzf output

There are three sources of directories that fzf-z sends to fzf to select from

$SUBDIRS
$RECENTLY_USED_DIRS
$EXTRA_DIRS

They're sent in the above order, meaning that $SUBDIRS appears first (i.e. at the bottom) in the fzf interface. I personally find I'm more likely to want to jump to a directory I've visited before than to a sub-directory.
This ordering means that if there's a fuzzy match for my search input in $SUBDIRS, it takes precedence over an exact match in $RECENTLY_USED_DIRS - which is very rarely what I want!

Thanks for this! I didn't really tend to notice this since I probably type more for my typeahead than you, but I agree with your logic, recently used dirs should definitely come first. I've switched this order around. Hope this helps.

Thanks - saves me having to add to the list of tools I've slightly modified :)


Post-decoupling issues

This is to address issues after PR #202, as a major rework of the architecture.
@RebeccaStevens Let's address any and all issues of that merge here, rather than the PR itself.

I really wish I merged that big change into a dev branch, shouldn't code when falling asleep :smile:
I needed a solid version, with the #200 change, so here what I did today:

Cleaned up the list of branches, by deleting all the obsolete crap and merged ones. I even deleted develop branch.
Created new branch dev from my last commit for #200, just before merging the decouple PR.
Released v2.7.0 with all the latest stuff (prior decoupling) from dev branch.

So we now have main and dev with what should be swapped in them, but it will have to do for the time being, alas.
We still have that 2.7.0-beta.0 with all the merged decoupling, which I've been using to test out the changes, not successfully for now, that's why we have this issue, so let's address it here ;)

I've updated dev to have the new changes.
If you run this, it should get main back to where you want it.
git checkout main
git reset --hard 2.7.0
git push --force

Just tried it, git reset --hard 2.7.0  produces:

fatal: ambiguous argument '2.7.0': unknown revision or path not in the working tree.

Does 2.7.0 show up when you run git tag --list?

It does not, 2.6.1 comes up as the latest, which is odd, because I can see 2.7.0 in the list of tags on the website...

 It seems the async namespace is getting them as first-class entries while the index and sync namespaces just reference the async ones. I don't know if there's a way to make is so the index namespace is the one that gets them as first-class entries or not.
One simple solution could be just to only export those types in the index namespace rather than in all namespaces.

Branch re-basement finished, looks good, cheers!

This code should work in with 2.7.0-beta.0.
import { pipe, map } from "iter-ops/sync";

const input = [1, 2, 3];
const output = pipe(
  input,
  map((x) => x * 2)
);

console.log(output);

Note: If you are using TypeScript, you'll need to set moduleResolution to either Node16 or NodeNext to get the types to resolve properly.

you'll need to set moduleResolution to either Node16 or NodeNext to get the types to resolve properly.

So how is it going to work inside web browsers?

In what regard? web browsers don't need type information.

Angular, for example sets "moduleResolution": "node", If I change it, resolution becomes broken for all Angular modules.

Also, if the library requires tweaking tsconfig manually after installation, it'll likely drive developers away.

So "moduleResolution": "Node16" is the newer way of doing things.
AngularJS support has officially ended as of January 2022 so AngularJS might not ever support "moduleResolution": "Node16".
In this case, you'd need to do things to other (older) way.
import { sync } from "iter-ops";
const { pipe, map } = sync;

const input = [1, 2, 3];
const output = pipe(
  input,
  map((x) => x * 2)
);

console.log(output);

I wasn't talking about the ancient AngularJS, but the modern Angular v15, which is a totally different thing these days :)
b.t.w. That's my primary tool for Web. I'm an Angular specialist ;)

So that code example in my previous comment should work for you for now until that linked issue is resolved.

I just redid my tests against the very latest Angular, and it behaves differently again...
Now setting "moduleResolution": "NodeNext", does nothing.
And for some reasons it wants to find things inside iter-ops/dist/async, as shown below, from which pipe types are casted incorrectly...

Here's the way it should be able to be imported:
Option 0 - No changes:
"moduleResolution": "Node"
import { pipe, delay, tap } from "iter-ops";

Option 1 - Classic resolution to access the new namespaces:
"moduleResolution": "Node"
import { async } from "iter-ops";
const { pipe, delay, tap } =  async;

Option 2 - Modern resolution to access the new namespaces:
"moduleResolution": "Node16"
import { pipe, delay, tap } from "iter-ops/async";

Option 3 - Access the internals to access the new namespaces:
"moduleResolution": "Node"
import { pipe, delay, tap } from "iter-ops/dist/async";

I'm not sure how we are going to proceed here, I'm just gonna leave it in your hands, for now. Version 2.7.0 installs and works without any issues everywhere, and we should have the same expectation for this branch, which is currently not the case, as far as I can see it...
For the time being, I might just focus on something simpler... like picking some operator from custom operators, and adding it to the library. Operators like appendIf, prependIf + replaceIf are probably the most valuable there on the list.

You should be able to use the library exactly the same as you could before.
The new changes are an optional alternative way to do things.

I just updated the tests and fixed up a few bugs that were revealed when doing so.
Do you want to release a new beta? 3.0.0-beta.0

What are the breaking changes? Trying to figure out if 2.8.0-beta.0 would be more appropriate...

They are very minor ones. I might even be able to remove them and make it so there aren't any.
The type UnknownIterableOrIterator no longer exists.
Other than that, there may not actually be any. The other major changes I made don't actually seem to be publicly visible. 2.8.0-beta.0 might be the better choice.

2.8.0-beta.0 published ;)

I took some time going over the dev branch, and the custom operators PR, plus tried to play with it locally...
I honestly do see this as an improvement. It might offer better type casting (I'm guessing here), but it replaces the plain operator syntax with sync.operator and async.operator syntax, and splits a single-file implementation into 3-4 files, with essentially repeated implementation. All that, combined with such a radical change in terms of the structure... I'll be honest, I'm not warming up to this idea.
I like the current architecture, it is way simpler, the way I see it. And I most definitely wouldn't want to complicate the idea of simple custom operators, with one where you have to create 4 files for it... that's just gonna be a turn-off for most developers, IMO.
I really do not want to seem ungrateful for how much code you have written for it, it is an incredible job, but I'm not sure I want this change. I wish we discussed it first, or you just did a POC instead... Really sorry!

I've made some changes to the dev branch to restructure things and simplify it a bit.
I think I might have also been able to solve the resolution issue so that "moduleResolution": "Node16" is no longer needed (untested - but I think it should work).
There are some type issues that have arisen from the rebase, it should be an easy fix.
Let me know what you think of this change.

I have postponed this for now, and released v3.0.0 without it, for there were too many changes since v2.0.0 as it is.

I believe I've now fixed up all the issues.
Please re-review when you have time.

Published 4.0.0-beta.0 from the dev branch, to make evaluation easier.


Can't login into localhost:3000 login portal

I am unable to login to the rapidpages localhost portal. whenever i press the github login button it just refreshes the page and doesn't do anything

create a github client https://support.heateor.com/get-github-client-id-client-secret/
update the GITHUB_CLIENT_SECRET and GITHUB_CLIENT_ID in .env

i already did that, when i press login with github it just refreshes the page


matrixOps razor component - the matrixA html textboxes binding to matrixA 2d array not working properly

when trying to change the information in the html textbox of matrixA, there is an error that pops up:
[2022-03-26T19:12:16.810Z] Error: System.IndexOutOfRangeException: Index was outside the bounds of the array.
at BlazorApp.Pages.MatrixOps.<>c__DisplayClass0_1.b__3(Int32 __value)
at Microsoft.AspNetCore.Components.EventCallbackFactoryBinderExtensions.<>c__DisplayClass32_0`1.b__0(ChangeEventArgs e)
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState   @@owningComponentState)
@sashachernin

resolved, added a local inside the loop variable (int localI = i, int localJ =j) - those variables do not go out of index range.


INSTALL_FAILED_CONFLICTING_PROVIDER: Package couldn't be installed

Trying to install same dependency in two apps gives
Failure [INSTALL_FAILED_CONFLICTING_PROVIDER: Package couldn't be installed in /data/app/com.ysh.sdb--5GF3pMkE5_bKqOwmq56_g==: Can't install because provider name com.scanlibrary.provider (in package com.ysh.sdb) is already used by com.ysh.xzsd] Error launching application on LON AL00.

add this in /android/app/src/main/AndroidManifest
    <provider             android:name="androidx.core.content.FileProvider"             android:authorities="${applicationId}.flutter_inappwebview.fileprovider"             tools:replace="android:authorities"             android:exported="false"             android:grantUriPermissions="true">             <meta-data                 android:name="android.support.FILE_PROVIDER_PATHS"                 android:resource="@xml/provider_paths" />         </provider>

hey @rishabhj126, acho que seu telefone já tem um aplicativo que usa o mesmo pacote tente desinstalá-lo e executar seu novo aplicativo . espero que isso resolva o seu problema

This is not a viable solution.

hey @rishabhj126  ,i think your phone already have an app that uses the same package try to uninstall it and and run your new app .
i hope this will solve your problem

But both app requires to have same feature then what to do?

i know that it's not a great solution but it may save a lot of people time, i had the same issue and i solve it this way ,so,just try at the first beginning to remove the old app and test the new one and see if it works for you.

@rishabhj126 you are facing this issue because the package owner has not handled the FIleProvider properly.
I have made some changes and fixed this issue
Please follow the below steps, it will resolve your problem:
Step 1: In your pubspec.yaml file (remove document scanner and add this)
document_scanner_flutter:
  git:
    url: https://github.com/sanjeevinnobit/document_scanner_flutter.git
    ref: master

Step 2: add this in /android/app/src/main/AndroidManifest
<provider
    android:name="androidx.core.content.FileProvider"
    android:authorities="${applicationId}.provider"
    android:exported="false"
    android:grantUriPermissions="true">
    <meta-data
        android:name="android.support.FILE_PROVIDER_PATHS"
        android:resource="@xml/provider_paths" />
</provider>

Step 3: in your /android/app/build.gradle
minSdkVersion 21


[Do Not Merge]: Adds channel/call credential clash tests.

tl;dr We don't respect call credentials in gRPC.

I've added integration tests in Spanner.V1 (any other gRPC library would have been the same, I just know Spanner) to show credential clashing.
I tried to add these same tests to GAX gRPC but I cannot easily create a test gRPC service that uses Google credentials to authenticate/authorize.
I have two service accounts, one who is project owner (_withSpannerAccess) and another one that is only a Stackdriver log reader (_withoutSpannerAccess).
The first two tests are for sanity checking that the accounts are as described. Only channel credentials are used and the results are as expected when using each of the accounts.
The second two tests are for checking credential clashing, they fail in a way that indicates that only the channel credential is being used.

GoodChannelCred_BadCallCred shouldn't get a call through, but it does.
BadChannelCred_GoodCallCred should get a call through, but it doesn't.

Yikes. Good catch. This is on the "old" master branch, so using GAX v3, yes? We should definitely look at this closely.
Have you seen the same thing using calls other than List? I can imagine there being some subtleties due to List operations being deferred... it's possible we're not respecting CallSettings at all there, but that other calls aren't broken.

I'll try later with other call types and see what I get. I'm already looking at Gax to see where the call credentials might be falling through the cracks.

Also the Travis failure I know what it is, it's unrelated. I'll send a PR later so don't worry about it.

Thought I'd added a comment on this, but apparently not - perhaps you could add "Skip" to these tests, rebase to just a single commit, then we can merge?

Yep, that sounds good, will skip only the ones that are not working as they should.

Temporarily closing until I've set up some restrited access credentials. Will keep the branch until then though.


dotnet quit unexpectedly when running textured cube sample on Mac

When running the TexturedCube sample (cloned from today) I get "dotnet quit unexpectedly" pop-up dialog, and the application closes. There are no other visible errors.
If I run it from commandline (dotnet run -p src/TexturedCube/Desktop/TexturedCube.Desktop.csproj) this always happens. If I run it from VS for Mac then it sometimes happens, and sometimes the app displays normally.
After adding printouts to try and track where the crash is coming from, I eventually traced it to the WaitForIdle call here:
https://github.com/mellinoe/veldrid-samples/blob/13d8611ea48ee4467cbd35e760e3e62bb58da5de/src/TexturedCube/Application/TexturedCube.cs#L132
This never happens on the first draw call, but either the second or third draw calls for some reason.
If I comment that line out, the application runs fine every single time.

Hi @tzachshabtay, I'm sorry that you hit this. I'm debugging through it now, and I believe I see the problem. I will update the thread once I've worked through it completely.

I've tested out a fix and committed it to master: https://github.com/mellinoe/veldrid/commit/ea055f119a6359f0a473faa5cf4d0b5c0a1573eb.
The samples repo isn't yet updated, but I will do that shortly.

The samples repo has been updated.


refactor: use python tempfile to handle temporary output files across workflows

In the existing workflows, several temporary files are getting created during the workflow.
The task is to use python tempfile API to handle the lifecycle of these temporary files.
This will avoid conflicts with left over files in case of failed runs and will also allow for mutliple concurrent runs not conflicting with each other.

Closing with comments for now:
https://github.com/uw-ssec/MAWpy/pull/71#discussion_r1688820035


Fix get_file download progress bar

get_file doesn't currently display the progress bar because the if statement on line 192 is always true.
Since the nonlocal statement is only supported in Python 3, I used the dictionary workaround to support Python 2.

Please fix the PEP8 issue: https://travis-ci.org/fchollet/keras/jobs/229784556

Assuming pep8 passes, LGTM.

pep8 passed, but 1 job exceeded the maximum time limit for jobs, which didn't have any problem previously.

It started occurring with your previous PR: https://travis-ci.org/fchollet/keras/builds
It could either be a temporary Travis error, or a problem with the previous PR.

@fchollet this can be closed because the commits were merged in #6670


[Add] POWER BUTTON WITH ANIMATED ICON

Details
I want to add POWER BUTTON WITH ANIMATED ICON
https://github.com/Spyware007/Animating-Buttons/assets/119161467/045f768d-f537-427d-b229-ce89b517e523
Screenshots

Type of Contribution

[ ] Update to an existing Animated Button
[X] Adding a new Button
[ ] Resolving a bug
[ ] Proposal to the Repository
[ ] Changes related to documentation or README.md
[ ] Other Changes

Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue
[X] I am a GSSoC'23 contributor

@Souravvmishra I am writing to kindly request your attention and consideration in reviewing and assigning this issue. I would greatly appreciate it if you could allocate some time to review the issue and provide your feedback. If there are any areas that require further attention or modifications, please let me know, and I will be more than willing to address them promptly

Please check #1346

@TANYA-CHAN  Can you please assign me this issue if possible


Added missing types and alter wording.

Added missing types and alter wording.

Informations

Type
Breaking change

Doc
No

Description

To use passport.js and it's types, we need to install @types/passport as a development dependency. There were also some types missing in the examples.
Request scope was pointing to singleton scope example code.

Todos

[x] Documentation

thanks a lot for your PR @ThomasHambach ;)


[Relay][Frontend][ONNX] operator support: Tile

Hi @zhiics @jroesch @hlu1
Following issue #2849, I add the implementation of tile operator for frontend/onnx.py

ping @kevinthesun @kazum @nishi-t @masahi please help to review the PR

Thanks @zhiics @cchung100m !


fix: fix 404 page on Vercel

Closes #
✅ Checklist

[x] I have followed every step in the contributing guide (updated 2022-10-06).
[x] The PR title follows the convention we established conventional-commit
[ ] I performed a functional test on my final commit

Changelog
404 pages should be shown correctly. Now, every page that should a 404 shows bugged landing page.

Screenshots

💯

As I don't know how deploy is set, I'm not sure where to put the vercel.json file. Also, we'd need to test it first.
I'd convert it to draft for now

As I don't know how deploy is set, I'm not sure where to put the vercel.json file. Also, we'd need to test it first.
I'll convert it to draft for now

Put it in the www folder

Sure!


instanceof and is lose type when reassigning

TypeScript Version:  1.8.0
Code
class A {
    type: number;

    constructor(t: number) {
        this.type = t;
    }

    static isB(details: A): details is B {
        return details.type === 0;
    }

    static isC(details: A): details is C {
        return details.type === 1;
    }
}

class B extends A {
    constructor() {
        super(0);
    }
    doSomething() {
        alert("doing something");
    }
}

class C extends A {
    constructor() {
        super(1);
    }
    doOtherThing() {
        alert("doing other thing");
    }
}

class D extends B {
    anotherMethod() {

    }
}

let t: A = new D();

if (A.isB(t)) {
    //t = new B(); //should work, gives compilation error
    //t = new D(); //should work, gives compilation error
    //t = new C(); //should give compilation error (it already does this)
    t.doSomething();
}

Steps to Reproduce:
1.- remove commented line t=new B(); (now it won't compile because t became of type A)
2.- remove commented line t=new D(); (now it won't compile because t became of type A)
Expected behavior:
It should compile properly since t is still of type B.
This should also work for more complex cases such as
class D extends B, and you set t to an object of type D, t should retain its type of B
Actual behavior:
It doesn't compile, it says t.doSomething() doesn't exist on type A.

This has been fixed


fix(): update json-formatter.component.ts

Description
Helping the child parser not do double the work.
Part of an investigation to the formatter not being able to handle large files
What's included?

Improved parseChildren function

General Tests for Every PR

[ ] npm run serve:prod still works.
[ ] npm run tslint passes.
[ ] npm run stylelint passes.
[ ] npm test passes and code coverage is not lower.
[ ] npm run build:lib still works.

Screenshots or link to StackBlitz/Plunker

Commit messages are invalid format. I would recommend squashing to fix the first commit message. Also follow https://github.com/angular/angular/blob/master/CONTRIBUTING.md#-commit-message-guidelines

I thought i amended the commit, thats why i was confused that it still errored. I'll squash instead.

@christrude Almost there, just need the commit message format fix(json-formatter): optimize


Tensorshape mismatch error when Postnet starts

Hello, I've been trying to train a model and when postnet starts I run into the following issue
Traceback (most recent call last):
  File "train.py", line 300, in <module>
    main()
  File "train.py", line 296, in main
    train(0, args, hp, hp_str)
  File "train.py", line 169, in train
    sc_loss_, mag_loss_ = stft_loss(y_g_hat[:, :, :y.size(2)].squeeze(1), y.squeeze(1))
  File "/home/guest/Supreeth/hifigan-denoiser/hifigan/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/guest/Supreeth/hifigan-denoiser/stft_loss.py", line 130, in forward
    sc_l, mag_l = f(x, y)
  File "/home/guest/Supreeth/hifigan-denoiser/hifigan/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/guest/Supreeth/hifigan-denoiser/stft_loss.py", line 91, in forward
    sc_loss = self.spectral_convergenge_loss(x_mag, y_mag)
  File "/home/guest/Supreeth/hifigan-denoiser/hifigan/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/guest/Supreeth/hifigan-denoiser/stft_loss.py", line 46, in forward
    return torch.norm(y_mag - x_mag, p="fro") / torch.norm(y_mag, p="fro")
RuntimeError: The size of tensor a (641) must match the size of tensor b (640) at non-singleton dimension 1

Is there a fix for this? thank you!

Hi, did you solve this problem? I also face the same Error

Hi, did you solve this problem? I also face the same Error

Hello, I've been trying to train a model and when postnet starts I run into the following issue
Traceback (most recent call last):
  File "train.py", line 300, in <module>
    main()
  File "train.py", line 296, in main
    train(0, args, hp, hp_str)
  File "train.py", line 169, in train
    sc_loss_, mag_loss_ = stft_loss(y_g_hat[:, :, :y.size(2)].squeeze(1), y.squeeze(1))
  File "/home/guest/Supreeth/hifigan-denoiser/hifigan/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/guest/Supreeth/hifigan-denoiser/stft_loss.py", line 130, in forward
    sc_l, mag_l = f(x, y)
  File "/home/guest/Supreeth/hifigan-denoiser/hifigan/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/guest/Supreeth/hifigan-denoiser/stft_loss.py", line 91, in forward
    sc_loss = self.spectral_convergenge_loss(x_mag, y_mag)
  File "/home/guest/Supreeth/hifigan-denoiser/hifigan/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/guest/Supreeth/hifigan-denoiser/stft_loss.py", line 46, in forward
    return torch.norm(y_mag - x_mag, p="fro") / torch.norm(y_mag, p="fro")
RuntimeError: The size of tensor a (641) must match the size of tensor b (640) at non-singleton dimension 1

Is there a fix for this? thank you!


#299 - Added PackagesCount class

Part of #299
Added PackagesCount class along with tests

@0crat assign me

This pull request #306 is assigned to @vatavuk/z, here is why; the budget is 15 minutes, see §4; please, read §27 and when you decide to accept the changes, inform @g4s8/z (the architect) right in this ticket; if you decide that this PR should not be accepted ever, also inform the architect; this blog post will help you understand what is expected from a code reviewer; there will be a monetary reward for this job

@0crat assign me

Job was finished in 2 hours, bonus for fast delivery is possible (see §36)

@sereshqua/z please review this job completed by @vatavuk/z, as in §30; the job will be fully closed and all payments will be made when the quality review is completed

@0crat quality bad

@sereshqua please try again

@0crat quality bad

@0crat quality bad

@sereshqua pls try again

@0crat quality bad

@0crat quality bad

@0crat status

@0crat status


Rails generator not working with Ruby v2.4.2 using RBenv

When I switch to Ruby version 2.4.2 using RBEnv (i.e. rbenv global 2.4.2) and try and use Rails to generate a Controller (i.e. rails generate controller StaticPages home help), it does not generate anything, whereas when I use RBEnv to switch back to a previous version of Ruby like 2.4.1 (i.e. rbenv global 2.4.1), it will generate the files
System:

RubyGems 2.6.11
RBEnv 1.1.1 with Ruby version 2.4.2

Are you on High Sierra? It ships with 2.4.2 and it seems to be causing issues with switching to an rbenv managed 2.4.2. Run rbenv which ruby and see what the actual path is. When I run rbenv global 2.4.2 it just sets it to system ruby even though i have 2.4.2 installed through rbenv.

Sorry, this doesn't sound like a bug with rbenv! Rbenv only switches between versions and dispatches the rails call to the appropriate Ruby version. What happens after that (and any subsequent failure) is likely not a problem with rbenv, but within the rails executable of that Ruby version.


Trailing slash flickering

Hello,
I can see that all sites with docus have the same trailing slash flickering, just refresh all pages and you'll see the "/" appears for a second.
This is due to the host provider redirecting on directory: https://github.com/slorber/trailing-slash-guide
I took Nuxt Content documentation as an example: https://content.nuxtjs.org/guide/writing/mdc
I can see that still Nuxt Content is well referenced: https://www.google.com/search?q=site%3Acontent.nuxtjs.org%2F&rlz=1C1GCEA_enFR1026FR1026&oq=site%3A&gs_lcrp=EgZjaHJvbWUqBggAEEUYOzIGCAAQRRg7MgYIARBFGDsyBggCEEUYOTIGCAMQRRhAMgYIBBBFGDoyBggFEEUYQTIGCAYQRRhBMgYIBxBFGEHSAQgxMDc5ajBqN6gCALACAA&sourceid=chrome&ie=UTF-8
But on my side, Google Search is refusing my indexation due to "redirect errors", we might need to find a proper solution because I think it will become common.
My doc: https://laravel-rest-api.lomkit.com/

What do you mean Google Search is refusing to index?
Do you added your website to the search console, what does it tell you?

I'm getting an error due to redirects:

Google can't index this due to the problem.
For now I only have 1 page with this problem since I recently uploaded it but this might be common to all pages

So, I got the same error with Nuxt Image recently.
i does not mean the page is not indexed but actually 2 pages are seen and only one is indexed.
We have a pending PR (1 hour ago) to support the ability to render pages for SSG without trailing slash: https://github.com/unjs/nitro/pull/1676
In the meantime, I added a canonical link in Nuxt Image and asked Google to re-index, see https://github.com/nuxt/image/blob/9f026b2edce881534c68cf8c9361a5ab2cb3fa33/docs/app.vue#L16
You can easily overwrite Docus app.vue by creating one in your project and copy/pasting the current one: https://github.com/nuxt-themes/docus/blob/main/app.vue

Thanks a lot @Atinux, i'll let this open until nitro's release if you don't mind

Full fix available with Nitro 2.6.3, update your nuxt.config.ts file:
  nitro: {
    prerender: {
      autoSubfolderIndex: false
    }
  }

Damn you are fast @GautierDele


kernel: k_sleep: fix return value for absolute timeout

Fixes calculation of remaining ticks returned from z_tick_sleep
so that it takes absolute timeouts into account.
Fixes #32506
Signed-off-by: Lauren Murphy<EMAIL_ADDRESS>

Can we please add a test for this based on the bug report?


License?

Hi, I'd like to use your json files in my university project but I'm obliged to ask you for a permission. If you agree, would you append a license in this GitHub repo?

Hi, I'd like to use your json files in my university project but I'm obliged to ask you for a permission. If you agree, would you append a license in this GitHub repo?

Done.


setInt used internaly for setBool

Actually, I'm confused. The setBool function was removed from the native side. Should the same happen here?
setbool from BJS side calls setint on the engine.

setbool from BJS side calls setint on the engine. So, not needed on nativenengine JS or native engine

Right, so we need to remove it from nativeEngine.ts right?
https://github.com/BabylonJS/Babylon.js/blob/5b0ba794647dd8f46efabf4b214c7f68ef5067ca/src/Engines/nativeEngine.ts#L782-L788


Parameter of a callback without a specified type next to it breaks code.

TypeScript Version:  3.4.0-dev.20190207, 3.3.0

Search Terms:
type parameter, callback
Code
interface Bar<T> {
    <B_RETURN>(
        a: (aParam: B_RETURN) => any,
        b: (bParam: T) => B_RETURN // B_RETURN is supposed to be inferred from here
        ): any
}

declare const bar: Bar<any>

bar((aParam) => 1, () => 'abc') // OK! `aParam` is `string`
bar((aParam) => 1, (bParam) => 'abc') // `aParam` is `{}`. Why?
bar((aParam) => 1, (bParam: any) => 'abc') // `aParam` is `string`. Again, why?
let arg2 = (bParam) => 'abc' ; bar((aParam ) => 1, arg2) // `aParam` is `string`. Again, why?

Expected behavior:
aParam should be string in each of the four examples
Actual behavior:
aParam is for some reason {} instead of string in the second example
Playground Link: link
I would be very grateful if someone can give me some quick directions (Is it a bug? What am I missing?). My work depends on it in a great degree.
P.S. Asked on stackoverflow and got no answer.

This is basically the dual of #29791 - inference on functions proceeds left-to-right, so during the inference of aParam in the first function we have not yet examined the body of the second function expression to determine its return type (which we believe will be context-sensitive, in other words depends on its parameter type).

@RyanCavanaugh Thank you, made it very clear for me. Except one part:

which we believe will be context-sensitive, in other words depends on its parameter type
I am not sure how the return type can depend on parameter type if it's clear that the function returns string, because it returns string literal. Moreover, I am confused by the fact that unknown parameter bParam and parameter of type any (bParam: any) lead to different results. Maybe this is worth fixing? I feel that it's wrong. Just a suggestion, I am satisified with the provided answer already and this issue can be closed.

I am not sure how the return type can depend on parameter type if it's clear that the function returns string, because it returns string literal.

We don't have a separate pass to say "Go dive into the function and check to see if all its return statements don't rely on its parameter type" - doing so would be expensive in light of the fact that extremely few real-world functions actually behave like that in practice.

Moreover, I am confused by the fact that unknown parameter (bParam) and parameter of type any (bParam: any) lead to different results.

An unannotated parameter isn't the same as any -- it's one that we're going to try to infer a type for. Functions with type annotations aren't context-sensitive, thus get treated differently in the inference process.

@RyanCavanaugh Wow. That's another valuable insight of how the compiler works, thank you so much! If only there would be a way to know these algorithms of TS compiler without looking at it's source code and bothering you in issues.
I think I will close this issue as I don't have other questions and a "Design Limitation" badge probably means I should close it.
Thanks again!


[C++] Support specifying filters and projections with Substrait expressions

Describe the enhancement requested
In addition to representing full plans, Substrait can also be used to represent expressions (see https://github.com/substrait-io/substrait/pull/405/). It would be nice if Acero could consume Substrait expressions and use them to specify filters and projections.
I would love to see us expose functions that:

Receive a Boolean-valued Substrait scalar expression and use it to add a Filter node to the ExecPlan
Receive a list of Substrait scalar expressions and use it to add a Project node to the ExecPlan

Component(s)
C++

This plus https://github.com/substrait-io/substrait-java/issues/128 would allow users to specify filters and projections as SQL expressions and execute them with Acero.

The Arrow equivalent of Substrait's expression is arrow::compute::Expression.  So I think an extended expression proto file would roughly translate to std::vector<std::pair<std::string, arrow::compute::Expression>> (not actually suggesting we use this API, just describing).
If we added an API for that then those compute expressions could be used when building Acero filters & projects.
Note: this sort of implies the user is not using Substrait to express their actual queries.  This is fine, we have non-Substrait APIs for filter & project in pyarrow (e.g. Array.filter) and R (dplyr) so there is certainly room for it.

@westonpace with the implementation you envision, could this also give us the ability to pass Substrait expressions to arrow::dataset::ScannerBuilder::Filter() and arrow::dataset::ScannerBuilder::Project()? That would be very, very cool indeed.

You would need to use this variant of Project() but otherwise yes.


Strange error with scipy on win11

I'm on Windows 11, running python 3.10.9 (the error happens also in python 3.10.8)
I create a new venv, and install scipy 1.10 (and numpy 1.24.1) with pip install --upgrade --force-reinstall scipy
in the venv I run python and a simple import (from scipy.linalg import _fblas), everything works.

PS I:\> .\testvenv\Scripts\activate
(testvenv) PS I:\> pip install --upgrade --force-reinstall scipy
Collecting scipy
  Using cached scipy-1.10.0-cp310-cp310-win_amd64.whl (42.5 MB)
Collecting numpy<1.27.0,>=1.19.5
  Using cached numpy-1.24.1-cp310-cp310-win_amd64.whl (14.8 MB)
Installing collected packages: numpy, scipy
Successfully installed numpy-1.24.1 scipy-1.10.0
(testvenv) PS I:\> python
Python 3.10.9 (tags/v3.10.9:1dd9be6, Dec  6 2022, 20:01:21) [MSC v.1934 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from scipy.linalg import _fblas
>>> ^Z

(testvenv) PS I:\> python
Python 3.10.9 (tags/v3.10.9:1dd9be6, Dec  6 2022, 20:01:21) [MSC v.1934 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from scipy.linalg import _fblas
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "I:\testvenv\lib\site-packages\scipy\linalg\__init__.py", line 197, in <module>
    from ._misc import *
  File "I:\testvenv\lib\site-packages\scipy\linalg\_misc.py", line 3, in <module>
    from .blas import get_blas_funcs
  File "I:\testvenv\lib\site-packages\scipy\linalg\blas.py", line 213, in <module>
    from scipy.linalg import _fblas
ImportError: DLL load failed while importing _fblas: %1 is not a valid Win32 application.
>>> ^Z

(testvenv) PS I:\>```

I'm just spitballing here: Do you have an antivirus program running? If so, can you check its logs to see if it did anything to any files under I:\testvenv in the time between the two runs? If you pip install scipy, then wait for 5 minutes before testing anything, do you still see the same pattern?

No antivirus, apart from the default one in windows and it didn't log anything in protection history. I tried disabling it anyway but I got the same pattern. Tried waiting but I still got the same pattern too. First time it works fine, second time it gives the ImportError. I also tried taking a snapshot of the env dir soon after a reinstall of scipy and after the error appear and did a byte-by-byte comparison of every file, no changes.

Could you please also verify that after installing SciPy don't run Python and wait for a while just in case Bitlocker is doing something funny and you are catching up. Very strange indeed especially if it is byte-by-byte equivalent.

Thank you for reporting @davidebaltieri31. A quick flyby note about your usage of SciPy's API. Note that end users are not supposed to use anything private. i.e. you should not import anything directly from a submodule marked with an underscore or use a function marked with an underscore. We don't provide any guarantee (functions may be removed, API changed, etc.) for the private API.

Hi, I'm not actively using private apis, I found the problem using a library (torch_fidelity) that depends on scipy and found out that the problem occurred during import of _fblas, so I created a simplified pattern that recreate the problem.
Well, anyway it looks like the problem solved itself. Or rather windows solved the problem for me with an update of the Asus motherboard HAL drivers. Have absolutely no idea how the two could be correlated...


The Official Raspberry Pi Handbook 2023 [PDF}

What does this PR do?
| Improve repo
For resources
The Official Raspberry Pi Handbook 2023 (204-page PDF)
Description
It is the most recent edition of official Raspberry Pi Handbook. It consists of collection of Inspirational projects which totally belongs to DIY category.
Why is this valuable (or not)?
This handbook has been prepared by the makers of the MagPi that is the official Raspberry Pi magazine. Here the ideas has been conveyed in very creative way, the authors have used attractive photos  and interactive design for quickly dragging the readers attention.
How do we know it's really free?
It is clearly mentioned on the official TheMagPi Website that the soft copy of the Handbook is freely available to download.
For book lists, is it a book? For course lists, is it a course? etc.
It is a book.
Checklist:

[X] Read our contributing guidelines.
[X] Search for duplicates.
[X] Include author(s) and platform where appropriate.
[X] Put lists in alphabetical order, correct spacing.
[X] Add needed indications (PDF, access notes, under construction).
[X] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

Please add the Hacktoberfest tag.

Wrong branch


Link gives 404

http://skyscanner.github.io/Dixie/

Hi @vasarhelyia,
thank you for reporting! We will check this out!
Cheers,
Peter

Hi @vasarhelyia,
It is solved, now! :)
Thank you,
Peter

great, thanks! :+1: :blush:


Add multiple user on open5gs without using WebUI

I use 10 sysmocom SIM, so I want to create Subscriber on open5gs (http://<DOCKER_IP:9999>) by using script without passing by WebUI.
I found some tools like open5gs-dbctl or Open5GS.py.
I would like to ask some question :

I want to know how to add one user on script by CLI? so I can copy it on other sim.
And I want to kwow on where docker processus is the this database, and this port?

Hey, I accepted a pull request now which allows adding Subscriber information via open5gs-dbctl. Please find its instructions here - https://github.com/herlesupreeth/docker_open5gs?tab=readme-ov-file#or-using-cli

Thank you, this will help us a lot


PropertyChanged event not firing

i change IsChecked to True in behavior but I don't see any change in UI

Can you please provide a small repo for this?


Update template-transformer-simple to make it easier to use

Documentation Request Type

Please choose one of the following:

[ ] New documentation
[x] Documentation needs enhancement or clarification
[ ] Documentation is broken, inaccurate, or out of date

What needs to be done
Update the documentation to make it easier to develop app
Result
Better documentation

PR: https://github.com/AgPipeline/template-transformer-simple/pull/24


Fix build on OS X

We disabled the OS X and Windows cross-building tests. This, predictably, led us to regress a bit in our ability to build for both of these.
This fixes the build on OS X and fixes one obvious Windows bug. Unfortunately, we're dragging in all of pkg/spec somewhere on Windows, and things are blowing up spectacularly because of it (plus a few uses of the syscall package in the bindings).
I've giving up for the day. This fixes OS X, but does not fully enable the cross-build CI (need Windows fixes for that).

LGTM

/lgtm


Mention trusted web instances

Avoids confusion for people trying to make links lead to their own instance.
The wording "our list" should help people realize that they can self-host matrix.to and change the whitelist.

Thanks for the contribution @MRAAGH 🦐


file resume is currently not supported

Hi, I'm having this error sometimes: "File resume is currently not supported". I have a recursive function which use ssh.putFile while upload many files:
const bubble = (track, i) => {
  let dir = sourceDirectoryName + '/' + newtrackname, resourcesDirectory + '/' + newtrackname;
  ssh.putFile(dir, fastPut)
    .then(function (success) {
          if ((i+1) < length) {
            i++;
            setTimeout(() => bubble(result[i], i), 100);
          }
    });
}
bubble(track[0],0);

ssh.putFile() is from some other module, not ssh2.

Context: The method OP is referring to uses fastPut from ssh2-streams under the hood. ref

No idea then, the error is probably coming directly from the server. You'll have to determine the cause and then put some kind of limit/check in place to work around it.


When wrong order id is searched, a message of no orders present on the page appears

When we search an order with a wrong id or using an order ID which is not present on the open orders or in-progress page, the message that appears says "Central Warehouse doesn't have any outstanding orders right now."
It should say something like that "The order is not present on this page. Please search on other pages."

We can make the message something like:
No results found for <keyword>. Try searching In Progress or Completed tab instead.
If you still can't find what you're looking for, try switching stores.


[SPARK-49183][SQL][FOLLOWUP][3.5] Fix compilation

What changes were proposed in this pull request?

fix compilation error caused by https://github.com/apache/spark/pull/47684 . Seems scala 2.12 has some subtle differences in the import priority.
Why are the changes needed?

N/A
Does this PR introduce any user-facing change?

N/A
How was this patch tested?

pass compilation
Was this patch authored or co-authored using generative AI tooling?

no

Merged to branch-3.5 to recover CIs and unblock other PRs.


Fix #274, NumOfChildTasks not decremented

Describe the contribution
Fixes #274, NumOfChildTasks not decremented
Testing performed
Steps taken to test the contribution:

Nominal build process.
Ran unit tests.

Expected behavior changes
NumOfChildTasks will now be decremented when a child task is deleted.
System(s) tested on
Oracle VM VirtualBox
OS: ubuntu-19.10
Version: cFE <IP_ADDRESS>; OSAL <IP_ADDRESS>; PSP <IP_ADDRESS>
Contributor Info - All information REQUIRED for consideration of pull request
Dan Knutsen
GSFC/NASA

Reset soft to master and checked in again.

CCB 20200212 - Approved


Missing "Submit new hardware"

[Enter feedback here]

Sign in to the Partner Center, and then select Submit new hardware.
Few people tried this in our organization but nobody saw any link or menu item named "Submit new hardware". Maybe it is visible only under some conditions or it is somewhere else. It would be worth to note where / when the item "Submit new hardware" is available. Thank you.

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

ID: 16149520-06cf-5257-0e53-0aeda1719b2a
Version Independent ID: 63b8a418-0c66-c9f9-321f-f954543ec452
Content: Create a new hardware submission - Windows drivers
Content Source: windows-driver-docs-pr/dashboard/create-a-new-hardware-submission.md
Product: windows-hardware
Technology: dashboard
GitHub Login: @mhopkins-msft
Microsoft Alias: mhopkins

Hi @charvatjiri,
Your company must first be registered to submit new hardware.
https://partner.microsoft.com/en-us/dashboard/Registration/Hardware
Have you done this step yet?
~ Mark

Hello @mhopkins-msft,
yes I confirm it is now Ok.
Best regards
Jiri

Great! I'm glad to hear that you are unblocked.


multiplexer: debug logging and variable name updates

This is a multiplexer cleanup PR that adds debug logging to post.cc and updates variable names for the transform in order to make their purpose explicit (for the origin, for a copy, etc.). In post.cc, for instance, both the incoming and outgoing VIO were named vio, with the difference being whether it was called off of the state s variable or as a local variable. This updates the names to clarify the purpose of each.
Other than logging changes, this patch makes no functional change to multiplexer.

[approve ci]

[approve ci autest]


Visualizations persist after crawls have finished

New crawls created have the same graph as a crawl that has run previously. This may be related to #736 .

This is an independent issue.  The visualizations all use the same routing key / queue for messages and the same Bokeh server document for storage.  The status updates are handled between Celery and Nutch, and should be resilient under multiple crawls.  I'll see if I can reproduce.

Okay, I'm going to use a different Bokeh server document for each visualization.  This won't fix the fact that crawl viz. messages will go haywire if you run two simultaneous crawls, but it should also serially run subsequent crawls to behave more correctly, and we need this anyway.

I had initially coupled the Bokeh document name to the queue name when it looked like we were configuring one queue/exchange per crawl.  Since we're using a routing key approach we need:

routing key (should be same as crawl name)
queue (can still be "fetcher_log" or maybe something more descriptive)
Bokeh document id (should be the same as crawl name)

It's possible that we'll have to further restrict this based on restrictions in acceptable routing keys/document ids, but I'll try this approach for now.

Okay, I've fixed this as well as I can for now.  In order to properly display any visualization on the second crawl we really need to get the routing working.

https://github.com/memex-explorer/memex-explorer/commit/ec11c2c55d76b710334769299bedb9213f3c612e

amended to https://github.com/memex-explorer/memex-explorer/commit/1a718dfda6930b20302c8e34b86df5e30c05a469


Cartesian velocity experimental

merge PFL functionality into main branch

Please merge main into your branch and resolve the merge confilcts.


Cannot find APT

Hello maybe i'am missing something buth after creating a .slim image all the things that should be present on it are not. For example there is not apt even is the build is base on debian no python found. Do not understand why everything that I have installed in my image disapear after being slimmed.
Here the command i am issuing to create the img.
docker-slim build  -include-path="/bin" --include-path="/sbin" --include-path="/lib" --http-probe=false --continue-after=3 XXX/debian-10-builder:test

docker run -it XXX/ansible.slim bash
bash-5.0# python
bash: python: command not found
bash-5.0# apt
bash: apt: command not found

Maybe i'am doing something wrong but cannot understand my mistake.

It's a little tricky to minify builder images like you seem to have here. docker-slim works better with the application/service images. It is possible, but you need to do more locating all dependencies, so you can explicitly add them using the --include-* flags.
Can you give me some pointers about your builder image? Looks like it's based on a Debian image... What version of python do you have there? Where is it installed?


Add ability to use super attack and super strength if super combat is not in user's bank for TOA

Description:
Added logic to check if user has a super combat, if available add that to minimumSuppliesNeeded and then continue like before. Else add a super attack and super strength and then continue like before with all of the requirement checks.
Changes:
Changes in toa.ts only. To minimum supplies and condition check before checking minimumSuppliesNeeded against the bank. As well as adding the supplies to the cost accordingly.
Other checks:

[x] I have tested all my changes thoroughly.

Just some feedback from testing which I've done:
/raid toa help

The default value keeps incrementing each time which you run the command
The first call requires 1x super attack, 1 super strength then increments by +2 each subsequent call
If you own the super combat potion it doesn't/ state you have the correct supplies

After spawning super combats

If you run /toa start invocation: 450
It is checking for the incremented value of potions and if you dont have enough increments it further.

Appreciate the quick feedback. Will make those changes!


Refactor duplicated formatting

Add as_str_or_default

Close: #19

Codecov Report
Patch coverage has no change and project coverage change: +8.25 :tada:

Comparison is base (f704868) 42.18% compared to head (9371864) 50.43%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #21      +/-   ##
==========================================
+ Coverage   42.18%   50.43%   +8.25%
==========================================
  Files          11       11
  Lines         550      460      -90
==========================================
  Hits          232      232
+ Misses        318      228      -90

Impacted Files
Coverage Δ

src/ingest/network.rs
4.83% <0.00%> (+2.03%)
: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 in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

ftp branch merge된 것에 대해서도 새로 적용시켜야 합니다.


Series selection buttons active state isn't consistent across all browsers?

In some browsers the candlestick series button always appears active - noticed on iPad and Android tablet - needs further investigation.

Has this been fixed with npm install?

It got fixed with npm install on browsers, have to make sure it works on devices though.


Fix for Issue #64.

SVGStringParser.cpp: increment the cursor 'pos' after taking 'Z' or 'z' operator, to prevent endless loop reported by Issue #64.

Sorry for making PR without understanding the implementation. I would send the poc files provided by @xina1i (in Issue #64), poc_file_3 is the file causing the infinite loop.

Sorry for making PR without understanding the implementation. I would send the poc files provided by @xina1i (in Issue #64), poc_file_3 is the file causing the infinite loop.

Thanks a lot. Received them. No worries. The path syntax has some weird quirks which makes it hard sometimes. I think because of the investigation I even found one more issue. Will open it if it turns out to be one.
I created a PR with #75.

I agree PR #75 is better solution, I withdraw this one.


add usec to statistical data generated per second for reduce the error od mbps

When generate Tx (Mbps) graph by Traffic Weaver, the last value is the value created for less than one second. So I added it to solve using usec.

Regarding latest commit 7d41c099 (modify using begintime in MatchResult struct instead of local variable begin.)
After second look, I think we'd better revert back to the original implementation.
(Previous one looks less confusing^^)
Sorry for causing inconvenience.


Adding configure_frr playbook

recheck

We have used ansible.builtin.import_role under tasks in all the other playbooks, but here we're using the roles directive. We should adapt this playbook to the style of the others IMHO.

:+1:

agreed. why change from what are already using in dataplane-operator?

/override rdoproject.org/github-check


Long Haul Test UI and alerts

To promote visibility for both maintainers and users, we need to expose a UI (Web UI?) that shows the results for scheduled Long tests for given release.
In addition, in order to detect we need to come up with the means of comparing between the results of the currently running Long haul test and the results of the prior test and alert maintainers if there's a regression.

See issue #17

Dupe of https://github.com/dapr/test-infra/issues/73


Convert README to ReST for PyPI

I just came across this issue, and I believe that Markdown is now supported by PyPI's README renderer.
Source: Making a PyPI-friendly README — Python Packaging User Guide

A good point! I'll revise the ticket.


Rancher K8s Auth Proxy does not utilize forward proxy (if defined) to proxy communication

What kind of request is this (question/bug/enhancement/feature request): Bug
Steps to reproduce (least amount of steps as possible):
Spin up Rancher HA in semi-airgapped environment (with HTTP/HTTPS forward proxies and no ability for Rancher to directly access the internet without utilizing these forward proxies)
Attempt to provision a ClusterDriver cluster (GKE, EKS, AKS for example)
Observe that while the cluster is in fact able to provision (kontainer-engine is able to use the proxies when provisioning as they are passed in via environment variables), the cattle-node-agent and cattle-cluster-agent are unable to deploy into the cluster and the cluster never finishes provisioning. Eventually you will see an error message similar to:
unable to recognize "management-statefile_path_redacted": the server is currently unable to handle the request unable to recognize "management-statefile_path_redacted": the server is currently unable to handle the request unable to recognize "management-statefile_path_redacted": the server is currently unable to handle the request unable to recognize "management-statefile_path_redacted": the server is currently unable to handle the request unable to recognize "management-statefile_path_redacted": the server is currently unable to handle the request unable to recognize "management-statefile_path_redacted": the server is currently unable to handle the request unable to recognize "management-statefile_path_redacted": the server is currently unable to handle the request unable to recognize "management-statefile_path_redacted": the server is currently unable to handle the request unable to recognize "management-statefile_path_redacted": the server is currently unable to handle the request

in the Rancher UI for this cluster.
Result:
Rancher is unable to communicate with the underlying cluster when it attempts to deploy its agents to the cluster, because the K8s auth proxy does not forward traffic properly through a defined forward proxy for clusters that are cluster driver clusters.
Tracing this down, it is seen that these agents are deployed using the clusterdeploy controller here: https://github.com/rancher/rancher/blob/v2.3.5/pkg/controllers/management/clusterdeploy/clusterdeploy.go#L212
When looking at the kubectl package, it can be seen that the kube config context that is passed to the kubectl command contains the server as https://localhost:443/k8s/clusters/<cluster-id>/, which means it will proxy through the K8s authentication proxy. Due to the fact that the authentication proxy is not properly utilizing the underlying proxy (and this is a cluster driver cluster which does not utilize the underlying agent tunnels for communication), this breaks down and the agents are never properly deployed.
Other details that may be helpful:
This is being caused due to the fact that the K8s auth proxy does not utilize a proxy in its HTTPTransport.
Conventionally you would have a line to specify something similar to:
transport.Proxy = http.ProxyFromEnvironment

here: https://github.com/rancher/rancher/blob/v2.3.5/pkg/clusterrouter/proxy/proxy_server.go#L169
Note that this is not the full solution to this, as the ClusterDialer may not actually need to utilize a proxy when talking to RKE/Imported clusters, but will attempt to do.
Even if the transport.Proxy is put into place, the Norman-powered user controllers are still unable to start, with errors similar to:
E0219 22:22:06.992485       6 reflector.go:123] github.com/rancher/norman/controller/generic_controller.go:193: Failed to list *v1.Event: Get https://<GKE-MASTER-IP>/api/v1/events?limit=500&resourceVersion=0&timeout=30s: Service Unavailable
E0219 22:22:07.014356       6 reflector.go:123] github.com/rancher/norman/controller/generic_controller.go:193: Failed to list *v1.Node: Get https://<GKE-MASTER-IP>/api/v1/nodes?limit=500&resourceVersion=0&timeout=30s: Service Unavailable

gzrancher/rancher#10911

This issue is similar to: https://github.com/rancher/rancher/issues/22006 (in fact this issue solves half the problem, which is the clusterdriver comparison). It does not completely solve the issue because of the auth proxy issue

Even if proxy passed in transport and cluster comes up active, kubectl access and view logs from UI don't work and exit with closed code because they don't utilize proxy.

Reproduced in v2.3.8, v2.4.5

Semi-airgapped environment with proxy for outbound connections
Provision a GKE clsuter, the nodes are provisioned but the agents are never deployed

we should also confirm this doesn't affect normal (no proxy) setups and normal setup with proxy. Also if we can test this fix out for a custom cluster, that'd give us an idea of what could break in RKE clusters.

rancher/rancher:v2.3.9-rc2

Deploy Rancher in a semi-airgapped environment, with a proxy

Rancher installed a node with no public IP / direct access to the internet
Internet-facing load balancer points to Rancher so it is externally accessible
Docker settings and Rancher both use proxy
No private registry

Create a GKE cluster
Cluster provisions
Cluster and node agents deploy on GKE cluster
Cluster is active and accessible
View logs, exec shell, kubectl all function
--
Regression tested:

Deploy custom cluster in same environment as above, in the same EC2 network
Deploy custom cluster in same environment as above, from DO nodes
Normal non-airgapped/proxy single node Rancher cluster provisioning succeeds through automation
Normal non-airgapped/proxy HA Rancher install succeeds in provisioning all cluster types

Letsencrypt certs
BYO valid certs
Rancher-generated
k3s-backed install w/ Letsencrypt

View logs, exec shell, kubectl all function in all clusters

rancher/rancher:v2.3.9-rc3

Deploy Rancher in a semi-airgapped environment, with a proxy

Rancher installed a node with no public IP / direct access to the internet in EC2
Internet-facing load balancer points to Rancher so it is externally accessible
Docker settings and Rancher both use proxy
No private registry

Create each of GKE, EKS, AKS, Custom clusters (custom cluster created from DO node)
Clusters provision
Cluster and node agents deploy on all clusters
Clusters are active and accessible
View logs, exec shell, kubectl all function in all clusters

rancher/rancher:v2.3.9-rc3

Additionally performed an upgrade from v2.3.8 -> v2.3.9-rc3
Deploy Rancher in a semi-airgapped environment, with a proxy

Rancher installed a node with no public IP / direct access to the internet in EC2
Internet-facing load balancer points to Rancher so it is externally accessible
Docker settings and Rancher both use proxy
No private registry

Custom cluster on-prem
Upgrade to v2.3.9-rc3
Custom cluster agents upgrade
Scale up custom cluster to add additional worker nodes succeeds without issue


xrdp doesn't initiase user login correctly on *BSD.

xrdp-sesman should call out to the setusercontext method to do the proper setup from the login class capabilities database.  This probably should happen in env_set_user.
You can see roughly what the behaviour could look like by examining the session handling code in https://github.com/freedesktop/xdm

OK - thanks.
The link is useful too. For my own reference (or whoever implements this), the symbol HAVE_SETUSERCONTEXT is set in https://github.com/freedesktop/xdm/blob/master/configure.ac, and referred to primarily in https://github.com/freedesktop/xdm/blob/master/xdm/session.c


Termux app

I follow the install instructions on termux on phone, I give permission storage,phone is rooted install everything right and when I start app with python3 wifi-brute force ,got this error:
$ python3 wifi-brute.py
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pywifi/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pywifi/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pywifi/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pywifi/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pywifi/
Could not fetch URL https://pypi.org/simple/pywifi/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pywifi/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
ERROR: Could not find a version that satisfies the requirement pywifi (from versions: none)
ERROR: No matching distribution found for pywifi
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
WARNING: There was an error checking the latest version of pip.
Traceback (most recent call last):
File "/data/data/com.termux/files/home/Wifi-Brute/wifi-brute.py", line 8, in
from pywifi import const
ModuleNotFoundError: No module named 'pywifi'
$

I follow the install instructions on termux on phone, I give permission storage,phone is rooted install everything right and when I start app with python3 wifi-brute force ,got this error: $ python3 wifi-brute.py WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pywifi/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pywifi/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pywifi/ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pywifi/ WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pywifi/ Could not fetch URL https://pypi.org/simple/pywifi/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pywifi/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping ERROR: Could not find a version that satisfies the requirement pywifi (from versions: none) ERROR: No matching distribution found for pywifi WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping WARNING: There was an error checking the latest version of pip. Traceback (most recent call last): File "/data/data/com.termux/files/home/Wifi-Brute/wifi-brute.py", line 8, in from pywifi import const ModuleNotFoundError: No module named 'pywifi' $

Yap and I think it's a bug

Try these commands:
apt install openssl
pip install pywifi

Try:
apt upgrade

first you update and upgrade the termux  terminals using pkg update and pkg update. the apply the code with using pkg and apt command

Still not working
pip install pywifi