You should specify at least 1 bot to use BotManager

hey sir,
i got issue WeStacks\TeleBot\Exception\TeleBotObjectException. You should specify at least 1 bot to use BotManager.
in local run perfect. but in cloud always return like that.
thanks.

Helo. I can't help you without any code. Check your configuration for any issues. You got this exception from BotManager constructor:
https://github.com/westacks/telebot/blob/71599c04fd0bd1c8f7424137be90ab242a000d79/src/BotManager.php#L138-L147

Thanks for answer my question.
i think this is error from my server setting.
cause in local is running well.
my bad for not checking it first.
sorry for take your time.


chore: add separate vNet peering example

Add separate example (and corresponding test) for vNet peering.
This reduces the size and complexity of the complete example.

Tests pass 🎉

All tests pass 🎉


way to store/save or load form

I'm trying to figure out ways to save the form generated and load them from db. any idea?

Apologize for getting back late.
The easiest way to implement this is to write a event handler listening to change for the div holding the form snippet:

......

Whenever the form snippet rendered in this div, make an Ajax call saving the form snippet text to a database.

hello , i want to ask if i can serialize the built form to json schema ? is that possible

Apologize for getting back late again. :<
Yes, it is possible to serialize the built from a json document,  including a schema. Can you tell me exactly what do you what to do ?

i want to get a json object describing each of the fields of my form , so i can generate dynamic crud and rest api for the form , so can you put a little code snippet that return my form as json when i click the save button ?

I thought about it, I think that is doable.
What would be "a json object describing each of the fields of a form" look like though ?
Let me get a example object for you to look at.

I am also interested in this
for example, it should display json like
[
[
    {
        "field":"title",
        "type":"text"
    },
    {
        "field":"body",
        "type":"textarea"
    }
]

btw, for input field even if i check "required", its not reflecting.

any updates on this?

It's on our roadmap, should be started in the coming weeks.


process stops working after reboot

Hello,
i'm running the webhook process like this:
nohup ~/xx/bin/webhook -hooks /xx/hooks.json -verbose -hotreload &
And it works perfect – i absolutely love it! But for some reasons the process kills itself after a few days. It also gets killed when i restart the server.
Is there any way to force this process to be always on, even after a reload?
Thanks a lot in advance!

Sounds like you should consider running webhook as a systemd service. :-)


All locus tags except PATRIC

When doing a search, a couple of locus tags return, but not the PATRIC one.  We have the old VBI one and not the RASTtk one?  Is there a reason for this?

no reason, just oversight. PATRIC ids should be displayed when available.

On Oct 25, 2016, at 12:57 PM, ARWattam<EMAIL_ADDRESS>wrote:
When doing a search, a couple of locus tags return, but not the PATRIC one. We have the old VBI one and not the RASTtk one? Is there a reason for this?
https://cloud.githubusercontent.com/assets/11475316/19697813/ec47794c-9aba-11e6-961a-4481b501fca4.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/PATRIC3/patric3_website/issues/1165, or mute the thread https://github.com/notifications/unsubscribe-auth/ABLd76cxtxgGTT_-rMIYmcl_eYZvQShFks5q3kL4gaJpZM4KgStS.

Not sure what you mean here.  Are there search results that are missing or is the format of the 2 results incorrect?

The format of the displayed results, need to display patric_id for patric feature.
Change:
PATRIC | CDS | b2965 | VBIEscCol129921_3061
to:
PATRIC | CDS | fig|511145.12.peg.3061 | b2965 | VBIEscCol129921_3061

Fixed. Will be on alpha soon.

@dmachi, I don't see it on alpha yet. Has it been deployed?

fixed. verified on alpha.


typescript support for clients using web sdk

it would be useful/unbreak some linters if alloy exports a set of types that can be referenced by a typescript client using it.

Hi Alloy team
Are there any plans to support TypeScript types?


Improve the documentation

Closes https://github.com/rerun-io/ewebsock/issues/15

Unrelated cargo deny CI error


Can a Manual or Tutorial be available for cpymad and madgui?

Hi, Thomas
Is there a Manual  of cpymad and madgui available? I want to learn cpymad and madgui deeply.
Best regards!

Hey,
thanks for your continued interest in this package. There is no tutorial/manual available, nor will there be until the application is more complete. If you have specific questions, you can just ask.
I forked cpymad to cut away the parts that I don't need and refactor the API according to my ideas. To use MadGUI you will need that version, and for related questions you should now probably use the issue tracker over there.
There is some points I want to stress, just so you don't have false intuitions / too high expectations about these packages

MadGUI is far from a very useful application for practical tasks. Being work in progress, there are many bugs and inconveniences and it has not many features yet.
The cpymad code base is quite small and the best way to learn what it can do is probably to just read the source code of cpymad/madx.py and cpymad/model.py.
There is currently only one developer (me) working on these packages, and I'm a part time employee (doing my master thesis on the major part of my time) -- so it's not going to be much better very soon.
If you have some experience in coding, you are of course always welcome to contribute patches and new features or -in any case- ideas.
MAD-X is an extremely buggy software package and its license is problematic. I hope this will be better in MAD-NG, but I have no information about that.

If you can tell me what tasks specifically you intend to get done with MadGUI, I can maybe tell you, if that is currently possible or at least part of the planned feature set.
Best regards,
Thomas

Your comments have great help to me.
I want to simulate a storage ring and a transfer line. What I want to do really is to match a wanted beam spot at a fixed position by adjusting a few magnets.
B.T.W., Why did you fork cpymad according to your ideas instead maintaining and developing CERN cpymad exsited?

Hey,

I want to simulate a storage ring and a transfer line. What I want to do really is to match a wanted beam spot at a fixed position by adjusting a few magnets.

This should already be possible in MadGUI. Do you have problems installing/starting the application, or is your problem rather with the clumsy UI? I will hopefully be able to slightly improve on the latter soon. As for the former:  Installing my forked cpymad dependency should be quite easy at this point. Just type in your terminal pip install cpymad and it will hopefully work (on python2.7 and python3.4).

B.T.W., Why did you fork cpymad according to your ideas instead maintaining and developing CERN cpymad exsited?

In short: because it is easier for me to change the code on my fork without having to care about other people's requirements that don't apply for me. Just to state one example, at CERN python2.6 is still in use, which I find slightly inconvenient to support.

Thanks very much!
I will try to install your forked cpymad and your MadGUI in the next days.
Meanwhile, I plan to learn more about python for deeply understanding cpymad and MadGUI .


Local build generate non consumable pom files

Current main branch build generate having POM containing ${revision} has version.

This is neatly explained in the official maven documentation: https://maven.apache.org/maven-ci-friendly.html#install-deploy I updated main pom with official suggestion. Currently it works on my machine.

should we also add .flattened-pom.xml files to the .gitignore?

We sould not. flatten poms are created under target folder which is on .gitignore : https://github.com/GoogleCloudDataproc/flink-bigquery-connector/blob/main/.gitignore#L1

/gcbrun

/gcbrun


Core.True>>xor:  - misleading description (method comment)

Describe the bug
Not really a bug but a misleading description of the Core.True>>xor: method, probably due to an incomplete editing. The code itself is correct.
To Reproduce:
True >> xor: operand
"Answer whether either the receiver or the boolean argument <operand> is true, but not both. 	Since the receiver is **_false_**, the answer is true only if the argument is false."
^operand not
Expected behavior:
Replace false by true in the method description to read:
 "Answer whether either the receiver or the boolean argument <operand> is true, but not both. Since the receiver is **_true_**, the answer is true only if the argument is false."
Please complete the following information:

OS: Windows 10

Fixed by  1cbd7a37cc64d44c85b6f0adbbca9791d0c97a8f


diskover not indexing everything

Each time I run a crawl it finishes with about 85.89% indexed. It acts like it's done (it calculated all the directory sizes) and I can't get it to crawl the rest.

There's a total of 31.3 TB and it only indexes 26.9 TB.
I'm not sure what to do
Let me know what info you might need.
Btw, out of the 3 scans I did the total amount indexed only varied about 0.10%
Thanks :)

Clearing out elasticsearch's files and rerunning it fixed it


packer-based lxc container building

Fills the simple installation void
Possible improvement could be to use GitHub Actions to automatically build the lxc image, so that people don't spend half an hour building the LXC image. This would mean that the "advanced" installation outlined in the README would be replaced with this new packer flow, and simple could be downloading a build artifact off GitHub Actions.

On second thought, I will get the GitHub Actions flow working in the morning, it would be a much nicer installation overall.

On second thought, I will get the GitHub Actions flow working in the morning, it would be a much nicer installation overall.

That should do it, ready for a merge

That should do it, ready for a merge

I see your action errored, was that intentional?
https://github.com/HexF/piston/runs/1780899293?check_suite_focus=true

I see your action errored, was that intentional?
https://github.com/HexF/piston/runs/1780899293?check_suite_focus=true

Oh my bad, I forgot to install LXC in the container

Oh my bad, I forgot to install LXC in the container

Opening new PR, as the branch no longer uses packer

Opening new PR, as the branch no longer uses packer


Recurring Donation Custom Field Mapping doesn't support lookup/master-detail fields.

Per this hub thread.

Lookup fields are in fact supported. Need to get to the bottom of why they were rejected in this specific case.

The issue turned out to be due to missing field level security in profiles

Story deleted from ScrumDo


module not displaying in divi builder but displays fine in web page

Problem Description

the above is displayed in divi builder and below is correctly displayed in web page

i used this article to create the module and did it as said, except the change in module code to display academic year.
https://www.elegantthemes.com/documentation/developers/how-to-create-a-divi-builder-module/
Steps To Reproduce
1.add module in divi builder
Screenshot and/or gif

Currently does not matter, since is displayed in the web page. But both divi builder and web page display is better. Please reply!

Anybody reply?

I got same issue

Very weird you get reverse way. The developers do not know why they take so long to reply! This is a MAJOR issue.


Extremely low perfomance and lags with emoji lists

Steps to reproduce:

Create a new document in xi-gtk
Copy content of https://getemoji.com/ page from a web-browser
Paste that content into xi-gtk
Move cursor somewhere in the middle (to the national flags)
Try to move cursor around

Expected behavior: no lags.
Actual behavior: delays up to 200ms per each cursor move in any direction. CPU consumption goes from 3% to 60% for just a cursor movement.
Environment: freshly compiled release version of xi-core, commit 16a00f6c5f9e549c64c for xi-gtk, Ubuntu 18.04 86_64, CPU  Intel(R) Core(TM) i7-7560U CPU @ 2.40GHz

I can't reproduce this neither on Ubuntu 17.10 nor on Debian Testing. Note that for some emojis (like flags) you have to have to press the left or right arrow key multiple times before the cursor actually moves on screen (probably because they consist of multiple Unicode code points but that's a missing feature of xi-core).

Yea core doesn't handle cursor movement through emoji (or other complex graphemes) although that should be fixed soon: https://github.com/google/xi-editor/pull/520

I'd agree, that part of the lag is due to stops inside emoji, but I want to point, that when moving cursor through faces (colored), CPU consumption goes way up. ~30% of one core for xi-gtk process and ~80% for Xorg. (intel driver). It does not happens on normal text: ~7% for xi-gtk at max and 10% for xorg.
Can it be related to the way emoji are drawn?


Publish valve.py rust bindings to testpypi.org

Note that the rust bindings are on a separate branch: valve_rs_python_bindings which should probably be merged to main first before we begin the packaging and uploading.

Done. See:

https://github.com/ontodev/valve.py/releases/tag/v0.1.8_test
https://test.pypi.org/project/ontodev-valve/#files


examples timing out on main

https://github.com/paritytech/capi/actions/runs/4681427980/jobs/8294057187
As of #878
(I've now added Examples (Deno) to the required workflows for merge)

It seems that it started a commit before in #876
See https://github.com/paritytech/capi/actions/workflows/checks.yml?query=branch%3Amain
@harrysolovay Shall we comment exclude again the smoldot example?

Yea, I think that makes the most sense

fixed by #890


Bug in SDK

Seems like there's a bug in the SDK code here:
https://github.com/connext/monorepo/blob/97970682d76cbbb7d62c99f27e016ae56444db13/packages/agents/sdk/src/sdkShared.ts#L173C80-L173C80

@just-a-node Is it still relevant?


Window cannot show up again after closing.

After closing a open window, cannot open another file.

This is true. I haven't prioritized it because it's soon going to go from a model where there is zero or one window to one in which there can be many.


RWD Beta: Test that requires DOCTYPE to be on its own line is failing

Affected page
Several. One example is Learn HTML Forms by Building a Registration Form / Step 2
Your code
<!DOCTYPE html>

Expected behavior
The hint for this step seems to indicate that the user must add the html element below the DOCTYPE (there must be at least one new line separating them).
Hint: "Your html element should be below the DOCTYPE declaration.:"
So the expected behavior would be that the user will not pass this step until they add the html element below the DOCTYPE.
System

Device: Desktop
OS: Linux/Fedora 34
Browser: Firefox
Version: [e.g. 22]

Additional context
This is happening for several courses. The regex used for this test is not enforcing the newline between the elements. If this requirement is important enough to be enforced then we should probably come up with one regex that enforces this requirement and use it for all courses.

One possible regex I am using as a solution for this issue is:
assert(code.match(/\s*<!DOCTYPE\s+html\s*>(\r?\n)+<\s*html\s*>/gi));

Affected pages:
curriculum\challenges\english\14-responsive-web-design-22\learn-css-animation-by-building-a-ferris-wheel\step-001.md:
  54: Your `html` element should be below the `DOCTYPE` declaration.
  55
  56  ```js
  57  assert(code.match(/^\s*<!DOCTYPE\s+html\s*>[\s\S]*<\s*html\s*>/gi));
  58  ```

curriculum\challenges\english\14-responsive-web-design-22\learn-css-colors-by-building-a-set-of-colored-markers\step-001.md:
  52: Your `html` element should be below the `DOCTYPE` declaration.
  53
  54  ```js
  55  assert(code.match(/(?<!<html\s*>)<!DOCTYPE\s+html\s*>/gi));
  56  ```

curriculum\challenges\english\14-responsive-web-design-22\learn-css-flexbox-by-building-a-photo-gallery\step-001.md:
  50: Your `html` element should be below the `DOCTYPE` declaration.
  51
  52  ```js
  53  assert(code.match(/(?<!<html\s*>)<!DOCTYPE\s+html\s*>/gi));
  54  ```

curriculum\challenges\english\14-responsive-web-design-22\learn-css-grid-by-building-a-magazine\step-001.md:
  52: Your `html` element should be below the `DOCTYPE` declaration.
  53
  54  ```js
  55  assert(code.match(/(?<!<html\s*>)<!DOCTYPE\s+html\s*>/gi));
  56  ```

curriculum\challenges\english\14-responsive-web-design-22\learn-css-variables-by-building-a-city-skyline\step-002.md:
  14: Your `html` element should be below the `DOCTYPE` declaration.
  15
  16  ```js
  17  assert(code.match(/(?<!<html\s*>)<!DOCTYPE\s+html\s*>/gi));
  18  ```

curriculum\challenges\english\14-responsive-web-design-22\learn-html-forms-by-building-a-registration-form\step-002.md:
  14: Your `html` element should be below the `DOCTYPE` declaration.
  15
  16  ```js
  17  assert(code.match(/(?<!<html\s*>)<!DOCTYPE\s+html\s*>/gi));
  18  ```

curriculum\challenges\english\14-responsive-web-design-22\learn-intermediate-css-by-building-a-picasso-painting\step-001.md:
  38: Your `html` element should be below the `DOCTYPE` declaration.
  39
  40  ```js
  41  assert(code.match(/(?<!<html\s*>)<!DOCTYPE\s+html\s*>/gi));
  42  ```

curriculum\challenges\english\14-responsive-web-design-22\learn-responsive-web-design-by-building-a-piano\step-001.md:
  50: Your `html` element should be below the `DOCTYPE` declaration.
  51
  52  ```js
  53  assert(code.match(/(?<!<html\s*>)<!DOCTYPE\s+html\s*>/gi));
  54  ```

If the regex from @bbsmooth is the way we want to go, I'd be happy to start working on it in the pages linked by @gikf .

@xoxoKaralee I was eventually going to get around to updating these but please, feel free to step in. My solution above was officially merged into main so I'm assuming that's acceptable to use for these as well.

I'm beginning to wonder if we should even have a requirement that the DOCTYPE be on its own separate line? I can't seem to find any documentation that says this is required and the W3C HTML validator accepts it without being on a new line. Also, we don't seem to be enforcing separate lines for other types of tags. But the DOCTYPE does need to be the first element on the page, which I don't think we are currently testing for, so I propose we test for that instead and get rid of the separate line requirement.

As far as the tests go, I suggest we stick with this:

If the HTML spec can parse it, it is valid, and should be accepted, unless the instructions specifically say, for example, "add a semi-colon at the end of the value"

So, as I can see in the spec, there is no requirement for the DOCTYPE and the html element to be on separate lines:

https://html.spec.whatwg.org/#the-doctype
https://html.spec.whatwg.org/#the-html-element

Would you agree with me then that instead of testing for DOCTYPE being on a separate line we should be testing that the DOCTYPE is the first element on the page? This brings us back to another issue I found in which there are JS comments in the code string before the HTML begins:
/*fcc*/

/*fcc*/
<!DOCTYPE html>

    <meta charset="UTF-8" />
    <link rel="stylesheet" href="./styles.css" />
    <title>CSS Ferris Wheel</title>

Not impossible to work around, just wanted to make whoever ultimately works on this aware of it.

It wouldnt surprise me if that's the why the test was written that way, because if doctype isnt the first element, how else would you check it's current placement? It would be in relation to the html tag, right?

Would you agree with me then that instead of testing for DOCTYPE being on a separate line we should be testing that the DOCTYPE is the first element on the page?

Ideally, yes. As I mentioned below, we do have a solution to the comment thing, but it is a work-in-progress.
https://github.com/freeCodeCamp/freeCodeCamp/pull/44625#issuecomment-1003978797

I have submitted a pull request that fixes the source of this issue (css comments before the html in the code string) which if approved will allow us to easily test that the DOCTYPE declaration is the first element in the HTML.

@bbsmooth should i close my initial pull request since you said in your pull request that you were going to fix the others once yours gets approved and merged? I dont mind helping update the other docs with the new test once it's approved if you want me to. either way, just let me know !

We've had a couple of reports in the support inbox that the negative lookbehind used in some of these tests is failing in Safari, so it's great that either #44651 or #44829 (pending update) will take care of that as well.
At the moment #44829 seems more flexible, and allows valid code to pass without forcing a particular style. It'll also be good to move away from regex for this type of test.

If __helpers.removeHtmlComments(code) is preferred, we could modify #44651 in that direction or accept #44996 alternatively.

Yes, #44996 is the final PR to put this issue to rest. I did an initial PR #44829 for just one course and it has already been merged. #44996 is using the same solution, just updating the remaining courses that need it.


Ensure that name records are the most up to date during adoption

As of #253 , we will have end-to-end name publishing and resolving. However, we don't currently verify that a given record that we are adopting is the most up to date record we have adopted for a given entry in our address book. This verification can (and probably should) be done by comparing the lifetime constraints of the name records in question, and selecting the record with the most recent "not before" (nbf) value.

Challenges in determining definitive hosts, and is-most-recent record in a distributed network: https://github.com/subconsciousnetwork/noosphere/issues/124


VSCode setup consultants, need professional help

Hi everyone,
With every new release, dozens of new configuration options are added to VSCode, as well as new extensions being released on a regular basis. It is now really hard to even try to stay on top of it, without knowing if this or that feature could potentially lead to a productivity boost.
In larger repos/workspaces with complex configurations, it is becoming a productivity cost to not configure everything well, while leaving some space for individuals to customise VSCode to their own specific flavour. So I'm wondering if anyone has thought of, or is providing, consulting services to help teams get to the ideal configuration?
Getting 1-10% extra productivity from each developer because your IntelliSense always displays the right suggestions is a simple yet very rewarding idea, with real value, and we'd thereforce be willing to pay someone to help us get it right. For example, I guess that IntelliSense gives us proper recommendation 60-80% of the time as of now.
I'm sure there are other things we don't know, like hidden gems in the extensions marketplace that could help us too.
I know this is not the perfect place, but maybe other people have thoughts to share on this, and someone with the right experience could suddenly think about giving this a go :)

/question


Is it possible to run UAA server in both potsgresql and LDAP profile?

We have enterprise users that are authenticated via LDAP for internal services and website users that are authenticated via UAA postgresql database for website use. Can we support both authentication mechanism using just one UAA server? Or Do we have to run two separate UAA instances for postgresql and LDAP?

No, UAA supports both auth mechanisms being active at the same time.


Fix robot image rendering

Download:
Environment: QT=5.12, ARCH=32, CONFIGURATION=release, QTIFW=C:\Qt\Tools\QtInstallerFramework\3.1


User Registration Timing Out on Development

Do you have a solution for this error? Log below.
Redis::CannotConnectError (Error connecting to Redis on <IP_ADDRESS>:6379 (Redis::TimeoutError)):
redis (3.2.1) lib/redis/client.rb:331:in rescue in establish_connection'   redis (3.2.1) lib/redis/client.rb:317:in establish_connection'
redis (3.2.1) lib/redis/client.rb:94:in block in connect'   redis (3.2.1) lib/redis/client.rb:279:in with_reconnect'
redis (3.2.1) lib/redis/client.rb:93:in connect'   redis (3.2.1) lib/redis/client.rb:350:in ensure_connected'
redis (3.2.1) lib/redis/client.rb:207:in block in process'   redis (3.2.1) lib/redis/client.rb:292:in logging'
redis (3.2.1) lib/redis/client.rb:206:in process'   redis (3.2.1) lib/redis/client.rb:177:in call_pipelined'
redis (3.2.1) lib/redis/client.rb:149:in block in call_pipeline'   redis (3.2.1) lib/redis/client.rb:279:in with_reconnect'
redis (3.2.1) lib/redis/client.rb:147:in call_pipeline'   redis (3.2.1) lib/redis.rb:2182:in block in multi'
redis (3.2.1) lib/redis.rb:37:in block in synchronize'   C:/Ruby214/lib/ruby/2.1.0/monitor.rb:211:in mon_synchronize'
redis (3.2.1) lib/redis.rb:37:in synchronize'   redis (3.2.1) lib/redis.rb:2174:in multi'
sidekiq (3.3.3) lib/sidekiq/client.rb:179:in block in raw_push'   connection_pool (2.1.3) lib/connection_pool.rb:62:in with'
sidekiq (3.3.3) lib/sidekiq/client.rb:178:in raw_push'   sidekiq (3.3.3) lib/sidekiq/client.rb:68:in push'
sidekiq (3.3.3) lib/sidekiq/worker.rb:84:in client_push'   sidekiq (3.3.3) lib/sidekiq/worker.rb:40:in perform_async'
devise-async-stretch (0.0.6) lib/devise/async/stretch/backend/sidekiq.rb:11:in enqueue_job'   devise-async-stretch (0.0.6) lib/devise/async/stretch/worker.rb:7:in enqueue'
devise-async-stretch (0.0.6) lib/devise/async/stretch/model.rb:34:in `enqueue_stre

@RailsCod3rFuture It looks like your connection to Redis - which is used by sidekiq - is not working. So, maybe you want to have a look at https://github.com/mperham/sidekiq to properly set sidekiq up.


Deprecation warning:  #{} interpolation near operators will be simplified in a future version of Sass.

Original issue:
DEPRECATION WARNING on line 21 of flexbox-grid-sass/src/mixins/_grid-framework.scss:
#{} interpolation near operators will be simplified in a future version of Sass.
To preserve the current behavior, use quotes:

  unquote('#{100 / $columns * $number}"%"')

Hi @linevych!
Thanks for the headsup and improving the quality of the framework! I'll have this bugfix implemented at the end of the week.
My apologies for the late response. Updating the repository has been on my todo list for a long time, but I couldn't find the time to do this. I've already updated the grid drastically and it is easier for me to add functionality in the future.
If you have any questions, feel free to ask them and I'll answer the shortly.

Fixed in https://github.com/vivid-web/flexboxgrid-sass/commit/6acc05edec230842cbb45f0e1301fc472c82d3d5 and released in V5.0.2.


chrooted environment broken after upgrade

Not sure this is an actual bug, or to be expected, but I figured I let you know anyways. Version used was 1.4.0.
We have some customers using chrooted /bin/bash and we observed chrooted being broken after the upgrade to Alma8.
Login was not working neither SSH nor su with following error:
-: error while loading shared libraries: libtinfo.so.6: cannot open shared object file: No such file or directory
After some investigation we found, that there were still some files from CentOS7 linked, only way so far was to rebuild and add the needed commands afterwards with
./update-chroot.sh --rebuild
./update-chroot.sh --add ...
./update-chroot.sh --apply-all
This is a pain in the behind in case a customer has a lot of customizations.

I have reviewed the issue and am unsure how we will fix it on the centos2alma side. If I remember correctly, ./update-chroot.sh is a specific script from some knowledge base articles used to add extra utilities, libraries, etc., into a chroot environment. Since Plesk does not provide this script, we cannot be certain it exists on the centos2alma side. Therefore, it is unclear how we can use it.
So for now I could only suggest to use update-chroot.sh as an workaround for the problem

Hi,
yes, the update-chroot.sh is a script by Plesk to modify the chroot -environment.
It seems like this problem also affects chroot created by Plesk (by activating chroot in the hosting options) and not only modified ones.
I understand, that this might be not even a centos2alma problem, maybe it should be mentioned as possible issue in the instructions.
Like I initially said, primarily I wanted to make you - and maybe others - aware of this possible problem, in one case it took a few weeks until the customer even ran into the broken chroot and it was confusing for everyone.

Duplicate of https://github.com/plesk/debian11to12/issues/5 , at least w.r.t. SSH. This will be fixed in Plesk since 18.0.65, to be released approximately on 2024-10-29.


Application fails to start when using Pulsar binder in multi-binder scenario

Scenario
A Spring Boot application using SCSt w/ Pulsar binder as input and Kafka binder as an output.
Problem
App fails to start w/ following message:

No qualifying bean of type 'org.springframework.pulsar.core.PulsarAdministration.

Expected Behavior
Application starts with Pulsar as input binder and Kafka as output binder.
Details
The reporting user followed this guide to configure the binders w/ the following yaml:
      binders:
        kafka:
          type: kafka
          (...)
        pulsar:
          type: pulsar
          environment:
            spring:
              cloud:
                stream:
                  pulsar:
                    binder:
                      config:
                        serviceUrl: pulsar://localhost:6650
                        adminUrl: http://localhost:8080

After deleting the environment property from pulsar binder config above, everything is fine, but it disables the possibility of additional configuration at this level.

Original report: https://stackoverflow.com/questions/79046248/springboot-spring-cloud-stream-pulsar-binder-startup-failed

Issue observed for Springboot 3.3.2 + spring-cloud-stream 4.1.2, we tried also Springboot 3.2, 3.1 and 3.0, the same behaviour every time.

Background
The Pulsar binder currently relies on Spring Boot auto-configuration (PulsarAutoConfiguration) to provide the necessary components to communicate to/from Pulsar.
This works well when for a Spring Boot application with a single binder as the binder context shares the outer application context and gets access to all of the expected Pulsar auto-configured components.
However, the moment that we add another binder and set the environment property, we are telling SCSt to not use the outer application context and instead rely on its own configuration.

The above is more elegantly stated in Connecting to Multiple Systems.

In fact, you can remove the Kafka 2nd binder out of this equation and reproduce the error w/ this single Pulsar binder that is specifying the environment. For example:
spring:
  cloud:
    stream:
      binders:
        pulsar1:
          type: pulsar
          environment:
            spring:
              cloud:
                stream:
                  pulsar:
                    binder:
                      config:
                        serviceUrl: pulsar://localhost:6650
                        adminUrl: http://localhost:8080

So why does this work for Rabbit and Kafka?
The reason is that the Rabbit|KafkaBinderConfiguration import a subset of their respective Spring Boot auto-configuration directly. I highlight subset because it is frowned upon to directly rely on Spring Boot auto-configuration classes as they are not considered public API.
We broke the direct dependence for Rabbit and Kafka a while back (here and here) which allowed us to include this subset of the auto-configuration for their binders.
This subset of configuration does not yet exist for Spring Pulsar so when we implemented the Pulsar binder we decided to keep it simple and support a single binder in a Spring Boot Spring Pulsar application.
Workaround
However, until we break the dependence on the PulsarAutoConfiguration, there is a workaround to support multi-binders for Pulsar.

Exclude the application's outer PulsarAutoConfiguration and then
Use spring.main.sources to include the auto-configuration on the environment entry.

The example above becomes:
spring:
  autoconfigure:
    exclude: org.springframework.boot.autoconfigure.pulsar.PulsarAutoConfiguration
  cloud:
    stream:
      binders:
        pulsar1:
          type: pulsar
          environment:
            spring:
              main.sources: org.springframework.boot.autoconfigure.pulsar.PulsarAutoConfiguration
              cloud:
                stream:
                  pulsar:
                    binder:
                      config:
                        serviceUrl: pulsar://localhost:6650
                        adminUrl: http://localhost:8080

Let us know once you give the above workaround a try. Once we are done communicating on this issue I will close it and create an issue to break the dependence on the Pulsar auto-configuration (like we did previously for Kafka and Rabbit).
Thanks

[ ] update docs w/ this limitation and workaround
[ ] create issue for break dependence on Pulsar auto-configuration

@onobc is there are anything I can do to help to resolve this?


Can not download the CelebA dataset - get a User warning: "We detected some HTML elements in the downloaded file"

🐛 Describe the bug
#Human Faces - Download CelebA dataset
from google.colab import drive
drive.mount('./mount')
Download CelebA Dataset
download data
mnist_dataset = torchvision.datasets.CelebA(root='.', download=True)
import h5py
import zipfile
import imageio
import os
location of the HDF5 package, yours may be under /gan/ not /myo_gan/
hdf5_file = 'mount/My Drive/Colab Notebooks/myo_gan/celeba_dataset/celeba_aligned_small.h5py'
how many of the 202,599 images to extract and package into HDF5
total_images = 20000
with h5py.File(hdf5_file, 'w') as hf:
count = 0

with zipfile.ZipFile('celeba/img_align_celeba.zip', 'r') as zf:
  for i in zf.namelist():
    if (i[-4:] == '.jpg'):
      # extract image
      ofile = zf.extract(i)
      img = imageio.imread(ofile)
      os.remove(ofile)

      # add image data to HDF5 file with new name
      hf.create_dataset('img_align_celeba/'+str(count)+'.jpg', data=img, compression="gzip", compression_opts=9)

      count = count + 1
      if (count%1000 == 0):
        print("images done .. ", count)
        pass

      # stop when total_images reached
      if (count == total_images):
        break
      pass

    pass
  pass

Error message:
2422it [00:00, 17305969.83it/s]
/usr/local/lib/python3.10/dist-packages/torchvision/datasets/utils.py:260: UserWarning: We detected some HTML elements in the downloaded file. This most likely means that the download triggered an unhandled API response by GDrive. Please report this to torchvision at https://github.com/pytorch/vision/issues including the response:
Google Drive - Virus scan warningGoogle Drive can't scan this file for viruses.img_align_celeba.zip (1.3G) is too large for Google to scan for viruses. Would you still like to download this file?
warnings.warn(
RuntimeError                              Traceback (most recent call last)
 in <cell line: 19>()
17 # download data
18
---> 19 mnist_dataset = torchvision.datasets.CelebA(root='.', download=True)
20
21 # Extract Images and Re-Package as HDF5
2 frames
/usr/local/lib/python3.10/dist-packages/torchvision/datasets/utils.py in download_file_from_google_drive(file_id, root, filename, md5)
266
267     if md5 and not check_md5(fpath, md5):
--> 268         raise RuntimeError(
269             f"The MD5 checksum of the download file {fpath} does not match the one on record."
270             f"Please delete the file and try again. "
RuntimeError: The MD5 checksum of the download file ./celeba/img_align_celeba.zip does not match the one on record.Please delete the file and try again. If the issue persists, please report this to torchvision at https://github.com/pytorch/vision/issues.
Versions
I am using a python3 notebook on google.colab to learn about neural networks

Sorry - the code example  in the bug description above is a copy from the book "GANs mit PyTorch". The location of my hdf5_file is:  hdf5_file = 'celeba_dataset/celeba_aligned_small.h5py` but otherwise the code is identical.
I also installed anaconda and PyTorch on my MAC notebook  and I get the same error when trying to download the
celebA dataset.


raidboss: Add p1n triggers

This adds a bunch of (almost all useful?) triggers for the new pandæmonium raid's first boss.
This needs some testing ingame but the raid emulator says it's fine.
One problem that I can't solve myself is the zoneId. I set it to null currently because I have no idea how to find zoneIds by myself and couldn't find documentation for it.

Zones are generated by ./uril/gen_zone_id_and_info.py

new zoneNames will be
  'AsphodelosTheFirstCircle': 1002,
  'AsphodelosTheFourthCircle': 1008,
  'AsphodelosTheSecondCircle': 1004,
  'AsphodelosTheThirdCircle': 1006,

Thanks for supplying the zoneIds I guess that tool needs some kind of game data it reads via SaintCoinach that I don't have...
This seems to be ready for inclusion then, theoretically one could figure out where the objects for Intemperance are (NW/NE/SW/SE) but I don't intend to, knowing which one has to hit you is more than enough imo.

Thanks for supplying the zoneIds I guess that tool needs some kind of game data it reads via SaintCoinach that I don't have...

Yeah, exactly.  It requires installing SaintCoinach so that it can read game data files.

(oops sorry, misclicked close and not comment!)

I did a run with this earlier, and so here's some offhand thoughts for you (or others, if they want to pick them up) for some minor improvements to make this feel better.

Get hit by red/blue should happen three times in a row and then not be called out on the fourth
Right/Left + Fire/Light are both alerts and happen at roughly the same time.  I think these could be collected into one trigger, e.g. store whichever one happens first on data and then call them out together, e.g. Right + Fire
There is a Right/Left during Get hit by Red/Blue, and if we really wanted to be fancy, we could say "Get Blue -> Right" or something like that to indicate which is going off first.

(Thanks again!!!)

I did a run with this earlier, and so here's some offhand thoughts for you (or others, if they want to pick them up) for some minor improvements to make this feel better.
* Get hit by red/blue should happen three times in a row and then not be called out on the fourth

I noticed this as well but it didn't always happen for me. I could easily count up to 3, ignore 4 and then reset count (because the mechanic repeats) but this wouldn't work if the 4th call is skipped the first time and I'm not sure why/how often this happens.

* Right/Left + Fire/Light are both alerts and happen at roughly the same time.  I think these could be collected into one trigger, e.g. store whichever one happens first on `data` and then call them out together, e.g. `Right + Fire`

I thought about this but I can't make it call out on the right/left because there is one iteration fire/light without right/left. I guess a construct that calls out on the first fire/light and then only notes which one it was and only calls out on right/left could work...

* There is a Right/Left during Get hit by Red/Blue, and if we really wanted to be fancy, we could say "Get Blue -> Right" or something like that to indicate which is going off first.

I agree this one is a little ugly, if the second boss doesn't break me I'll come back and fix this and the one before.


Applicant Home Program List Font is Very Tiny on Mobile

Describe the bug
On mobile, the font for the cards on the applicants programs and services page /applicants/:applicant_id/programs is comically tiny. I feel like it used to be larger, but can't remember for certain. You end up having to zoom in a lot to read the text, but then do a lot of horizontal scrolling to read everything.
To Reproduce
Steps to reproduce the behavior:
Go to the home page of the application. It'll take you to the list of phones
Expected behavior
Fonts should be larger on mobile sized devices and scale in a way that makes them both readable in size and without horizontal scrolling.
Screenshots
If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

Device: LG V60 (The last of a truly great line, rip LG phones :ghost: )
OS: Android Something
Browser: Firefox mobile
Version: 117+

We may want to look into addressing this with the program images work in #5676 (thanks for calling out Gwen!)

Northstar redesign is in progress and already scales the font size.


How to deploy using docker-compose?

How to deploy using docker-compose?

If you need to use advanced features like collaboration, you can refer to our backend Docker image and deployment guide: https://univer.ai/pro/guides/sheet/deployment/docker. However, please note that if you don't need these advanced features, Univer's basic plugins run entirely on the frontend and are open-source.

link is dead


Update readme for hosted registry

Updates the repository's readme to mention the hosted devfile registry service and also adds a note at the bottom for opening issues.

@elsony please review

/area registry


[Removal]:

Hotspot Name
Joyful Ginger Jay
Hotspot b58 Address
1119sMjuv2TZSW291iz2ia2y4mi5ppwNZij2jPviR1TM8QJiwUq
Discord Handle
No response
Hotspot Manufacturer
PantherX
Removal Reason
I bought a used hotspot
Modifications
No
Extra forwarders
No
Extra antennas
No
Additional Information
No response

We have taken into account this removal request in the next iteration of the denylist. It may take some time before it's processed. This is an automated comment due to the volume of addition and removal requests. A future tool is in the works to provide more insight into the analysis approach made by the Helium team and community members that maintain this list.


The Win32_Product WMI class should not be used

A lot of the resources are using the Win32_Product WMI class to detect the current installation state in the Set or Test functions. Especially the System Center and the xSQLServer resource are making use of it. Even Mircosoft self does not recommend the usage of the class. So these queries should be replaced by another detection logic.

If you have an application that makes use of the above class, please contact the vendor to get an updated version that does not use this class.

https://support.microsoft.com/en-nz/kb/974524

More proof from Microsoft that the use of Win32_Product is bad.
https://blogs.technet.microsoft.com/askds/2012/04/19/how-to-not-use-win32_product-in-group-policy-filtering/

Either we create an issue in DscResource.Tests so we can make a test of this, at least a test that warns about it (non-blocking).  Or. we add an issue to each of these repos that after a search in the PowerShell organization have this referencing in code files. I suggest the later.

PSDscResources
xPSDesiredStateConfiguration
xSCOM
xSCSPF
xSCVMM
xSCSR
xSCSMA
xSCDPM
xAzurePack (already in https://github.com/PowerShell/xAzurePack/issues/8)
xExchange

Issues has been opened in all repositories that have a reference to Win32_Product WMI class. This is now being tracked in each repo. Closing this issue at this time.

@johlju, please note that the Win32reg_AddRemovePrograms is only available when the system is running the SCCM Client. On systems managed by DSC that might (should?) not be the case, so if possible we should not use any of those classes.

@danielboth Ah, I see. I guess each repo then either has to continue using Win32_Product or find another way of getting the same information (if there is any). 🙂

@johlju @danielboth Win32_Product WMI Class can really not be consider as a solution! It is slow, will fill up the eventlog with MsiInstaller events and may trigger a self repair of installed MSI packages. Triggering that every 15min (when it is in the Get or Tests function of the DSC Resource) is not really 'nice'. :-)
That was also the main reason why I could not use these resources in the past for productive setups. Because on a production system you don't can to risk that every 15min your msi packages will make a self repair.
But Win32reg_AddRemovePrograms is neither, that's correct. The MS article is misleading here.
I would just use the uninstall registry key instead. Like:
(Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*,  HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | Where-Object {![string]::IsNullOrWhiteSpace($_.DisplayName)} | Sort-Object DisplayName -Unique).DisplayName
Or to get the product IDs:
(Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*, HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* )| select PSChildName
It is fast, independent and would even work on PowerShell 6 ;-)
Alternatively Get-Package -ProviderName msi can be used but this works only on PS 5.1, I think.

@J0F3 Thanks a lot for that! It will help contributors to resolve this I think.


docs: creating a redirect for a legacy link about pre-commit hook

SUMMARY

I google for the pre-commit hook docs all the time, and Google thinks it's a dead-end. Hopefully this fixes it.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

When should one redirect via the .htaccess file vs. in Docusaurus?  Compare this to my PR here: https://github.com/apache/superset/pull/28496
It looks like this way supports linking to a subheading link, which had my pending PR failing CI, so maybe this is better?

I'm actually not sure... as it stands, this PR did not actually work.
https://superset.apache.org/docs/contributing/hooks-and-linting/
^^ the link here is a dead-end, as of this writing
I'm also not sure if a frontend redirect eventually teaches the googlebots where to point. One would think so.


what is relation of  spare finetuning with the spasegpt mentioned in paper?

🚀 Feature Request

Motivation

Additional context

SparseGPT is an algorithm we used to prune models to desired sparsity levels.
Sparse Fine-Tuning is an approach to fine-tune that model to get better accuracy on the target dataset.

SparseGPT is an algorithm we used to prune models to desired sparsity levels. Sparse Fine-Tuning is an approach to fine-tune that model to get better accuracy on the target dataset.

Thanks for replying on me . could you show the accuarcy comparison of pruned model via sparsegpt and  that model after Sparse Fine-Tuning?  Thank you

sparsity
SparseGPT
SparseGPT + Sparse Finetuning

50%
23.2
30.6

60%
18.3
28.8

70%
14.3
28.0

80%
9.5
23.1

sparsity	SparseGPT	SparseGPT + Sparse Finetuning
50%	23.2	30.6
60%	18.3	28.8
70%	14.3	28.0
80%	9.5	23.1

Thanks very much. but  which model and which metric above?

The ones that we present in the paper: MPT-7b model finetuned on the GSM8k dataset.
The metric is 0-shot accuracy evaluated through lm-evaluation-harness.


Respect the runtime-configured dialect prefix

In Thymeleaf 3.0, developers can change the prefix of dialects.  Currently, the code of the layout dialect doesn't listen to this, instead making assumptions that the standard processors are prefixed with th and that the layout dialect is prefixed with layout.
The code should be updated to respect whatever the runtime-configured prefixes are for the standard and layout dialects.

Done, but I need to figure out a way to test this...


Inconsistent parsing of DATETIME type, causing errors

I use DATETIME type, with sub second precision in my schema. A scan against this table sometimes errors with this error:
Scan error on column index 0, name "created_at": converting driver.Value type time.Time ("2024-03-05 20:36:02 +0000 UTC") to a float64: invalid syntax
This only happens if a created_at value in the table is perfectly round (no decimal place). Then it seems to try to scan to time.Time, while the values with fractions try to scan to float64. It's a rare repo since it doesn't happen unless the timestamp exactly rounds to an even second (1/1000 chance)
Interestingly this error occurs if any value in the table has a perfectly round value, not just the row being returned by "LIMIT 1". I would have though only the returned value makes it up to the golang parsing layer.
IMO it should alway return time.Time. I used float64 when I saw the scan return floats. However, inconsistent and rare is a problem.
Query:

Fails if any created_at value in the table has happens to be an integer: SELECT created_at FROM property_history WHERE name = ? ORDER BY created_at DESC LIMIT 1 when I call Scan(&float64Val)
Always works (force real with *1.0): SELECT created_at*1.0 FROM property_history WHERE name = ? ORDER BY created_at DESC LIMIT 1

Create a table like so.
		CREATE TABLE IF NOT EXISTS property_history (
			id INTEGER PRIMARY KEY,
			name TEXT NOT NULL,
			text_value TEXT,
			created_at DATETIME,
			updated_at DATETIME
		);

		CREATE INDEX IF NOT EXISTS property_history_name_created_at ON property_history (name, created_at);

		CREATE TRIGGER IF NOT EXISTS insert_property_history_created_at
		AFTER INSERT ON property_history
		BEGIN
			UPDATE property_history SET created_at =unixepoch('subsec') WHERE id = NEW.id;
		END;

Then run this test case (db.sqldb is a sql.DB created with this driver):
func TestTimestampRoundingAndLatestPropHistory(t *testing.T) {
	db := testBuildTestDb(t)
	defer db.Close()

	// insert a row into table
	_, err := db.sqldb.Exec(`
		INSERT INTO property_history (name, type, text_value, sample_type)
		VALUES ('test', ?, 'val', 1)
	`, DBPropertyTypeString)
	if err != nil {
		t.Fatal(err)
	}

        // Running `SELECT created_at FROM property_history WHERE name = ? ORDER BY created_at DESC LIMIT 1`
	ct, err := db.latestPropertyHistoryTime("test")
	if err != nil {
                // this fails about 1 in 1000 times, but usually passes. We force a 100% failure below.
		t.Fatal(err)
	}
	if ct == nil {
		t.Fatal("LatestPropHistoryTime returned nil")
	}
	if math.Abs(time.Since(*ct).Seconds()) > 0.01 {
		t.Fatal("LatestPropHistoryTime returned wrong time")
	}

	// update the row to exact time, no milliseconds
	// This previously caused a scan error (even when the row returned still was fractional)
	_, err = db.sqldb.Exec(`
		UPDATE property_history SET created_at =<PHONE_NUMBER>
		WHERE name = 'test'
	`)
	if err != nil {
		t.Fatal(err)
	}

        // Running `SELECT created_at FROM property_history WHERE name = ? ORDER BY created_at DESC LIMIT 1`
	ct, err = db.latestPropertyHistoryTime("test")
	if err != nil {
		t.Fatal(err) // **fails here with error above**
	}
	if ct == nil {
		t.Fatal("LatestPropHistoryTime returned nil")
	}
	if math.Abs(float64(ct.Unix())-1710791550.0) > 0.1 {
		t.Fatal("LatestPropHistoryTime returned wrong time")
	}
}

The function call used in test above:
const latestPropHistoryTimeByNameQuery = `SELECT created_at FROM property_history WHERE name = ? ORDER BY created_at DESC LIMIT 1`

func (db *DB) latestPropertyHistoryTime(name string) (*time.Time, error) {
	var epochTime float64
	err := db.sqldb.
		QueryRow(latestPropHistoryTimeByNameQuery, name).
		Scan(&epochTime)
	if err == sql.ErrNoRows {
		return nil, nil
	}
	if err != nil {
		return nil, err
	}

	_, fractionalSeconds := math.Modf(epochTime)
	nanoseconds := int64(fractionalSeconds * 1_000_000_000)
	time := time.Unix(int64(epochTime), nanoseconds)
	return &time, nil
}

There is no datetime type in sqlite3. Everything is treated as text on sqlite3 for unknown types.
go-sqlite3 implements a special treatment that allows the text to be treated as a string or time.
If you use time.Time or string instead of float32, you will not have this problem. If you want to treat created_at as int64 or float64, you should declare the type of created_at as integer or real.

See https://www.sqlite.org/datatype3.html

Ah. I knew sqlite was mapping SQL-spec types to a smaller subset. I didn't realize DATETIME -> NUMERIC, and numeric prefers int to real. Looks like in this case, values close to round numbers went to ints.
Note: Scanning with time.Time doesn't work. It would be ideal if it did. Only went the epochTime as float64 route when I saw the query returning float64. When a DATETIME (aka NUMERIC) column has a real value it errors with sql: Scan error on column index 0, name "created_at": unsupported Scan, storing driver.Value type float64 into type *time.Time
Can the time.Time be updated to accept both int and real values?

Seems like a case could be added in convert.go for src=float64, dest=time.Time

You can make new type which can convert integer/real to time.Time.
func (v *MyDateTime) Scan(value interface{}) error {
    // ...
}

func (v *MyDateTime) Value() (driver.Value, error) {
    // ...
}

BTW, why you don't define epochTime as time.Time ?

why you don't define epochTime as time.Time ?

That's what I'd like to do, but it hits Scan error on column index 0, name "created_at": unsupported Scan, storing driver.Value type float64 into type *time.Time if any values are floating point.
I def could go the custom type route.
Since the driver support epoch integers, and the SQL DATETIME type maps to both ints and reals (and strings) in sqlite, it would be nice if reals were also supported by the driver as time.Time, like ints are. Correct me if I'm wrong, but I think this is all valid SQL, and only errors on this driver.
Let me know if you'd be open to a patch adding time.Time to float64 conversion in convert.go. I could see not wanting to break back compatibility. There's also the question of information loss: I don't think it will happen in practice often, but someone could add higher than nanosecond precision to a floating point field, in which case time.Time would be losing data.


Any interests in element wise operations on vector/matrix with F#?

Discussion thread is here:  http://discuss.mathdotnet.com/t/any-interests-in-element-wise-operations-on-vector-matrix-with-f/367

Merged, thanks a lot!
I hope you do not mind that I let GitHub squash the commits together.

Thank you!  Don't mind at all, would have been what I wanted to do anyways instead of having so many incremental commits.  Glad to be able to contribute!


improved readme - added some more documentation

including documentation about sessions

of course! like that?

@ufobat I'll leave to @tadzik the merge (I couldn't do it even if I wanted to)


Get-Command doesn't properly recognize System.Management.Automation.CommandInfo (its own output type) as pipeline input

#10851 reported that feeding Get-Command output to itself via the pipeline - useful if you want to force loading of all modules in the context of reflection, for instance - doesn't work as expected.
#10929  tried to fix that, but fell short.
Steps to reproduce
function foo {}; set-alias foo foo

(gcm -all foo | gcm).Count | Should -Be 2

(gcm -all foo | gcm).ComandType | Should -Be Alias, Function

Expected behavior
The tests should succeed.
Actual behavior
The tests fail:
Expected 2, but got 278                   #  *all* commands are returned
Expected @('Alias', 'Function'), but got $null

Environment data
PowerShell Core 7.0.0-preview.5, with PR #10929 applied

So what's happening is that the foo function doesn't have a Noun or Verb (they are empty strings), but it does have a Noun and Verb property, so when it's piped to gcm it binds to -Noun and -Verb, since they are empty string, gcm does a wildcard search thus returning everything.  A simpler repro:
function foo{}; gcm foo | gcm

Adding a new parameterset to accept CommandInfo won't help as the default parameter set is Noun/Verb which will match any CommandInfo object.
A possible fix would be if Noun and Verb are both empty, inspect the pipeline object further and use whatever is available to match: Name and CommandType

Given there is currently no pipeline parameter accepting this object as input in its complete form, would that information be available to Get-Command?

@vexx32 excellent point, it wouldn't as only Noun and Verb would be there.  Hmmm, I guess the only way to fix this I can think of is a breaking change so that CommandInfo parameterset is default.

@SteveL-MSFT: It's fine to leave the default parameter set - a specifically CommandInfo-typed parameter would still bind correctly.

@mklement0 it would bind correctly if the default parameter set doesn't bind first which it will

@SteveL-MSFT:
I took a quick (incomplete) stab at this, and it seems to be working correctly; here are the relevant pieces:
Declare a new parameter in its own parameter set:
[Parameter(
    Mandatory = true,
    Position = 0,
    ValueFromPipeline = true,
    ParameterSetName = "CommandInfo")]
[ValidateNotNullOrEmpty]
public new CommandInfo[] CommandInfo { get; set; } // Note: `new` is necessary, because there is an inherited InternalCommand.CommandInfo property.

Make -CommandType also support the new parameter set (the others do by default or the combination doesn't make sense).
[Parameter(ValueFromPipelineByPropertyName = true, ParameterSetName = "CommandInfo")]

                case "CommandInfo":
                    _accumulatedResults.AddRange(CommandInfo);
                    break;

Note: More work is needed there, to support type filtering and any other filters that can be meaningfully applies.
In EndProcessing() tweak the conditional for default exclusions.
            // We do not show the pithy aliases (not of the format Verb-Noun) and applications by default.
            // We will show them only if the Name, All and totalCount are not specified.
            if ((this.Name == null && this.CommandInfo == null) && (!_all) && TotalCount == -1 && !UseFuzzyMatching)

With the above, CommandInfo input binds correctly, both via the pipeline and positionally.

@SteveL-MSFT
It doesn't necessarily bind first, but, as I just realized, it does if you combine it with a parameter not supported in a new CommandInfo-typed parameter set.
So the choices are:

(a) change the default parameter set

(b) make the new parameter set support all other parameters (except -Name), even though some combinations don't make sense (such as -UseFuzzyMatching).

I'm unclear on the ramifications of (a)

Changing the default parameter set makes the most sense to me, but also unclear how many will be impacted.

We could add optional parameter -Name in the default parameter set.


feat: add ghostty sample configuration

Checklist

[x] I read the CONTRIBUTING GUIDE
[x] I opened a CONTRIBUTING ISSUE before opening the PR

Description
Add ghostty configuration file based on this example.
Screenshots

Awesome thanks!


DockerDo : failed to register layer: re-exec error: exit status 1: output: BackupWrite

Describe the issue
I am trying to use New-NavContainer to download a BC v16 image on a brand new laptop.  I changed my data-root to an E:\ drive location which is an external SSD drive.
After running this command:
New-NavContainer -accept_eula -containerName "MYCONTAINER" -auth NavUserPassword -imageName "mcr.microsoft.com/businesscentral/sandbox:16.1.12629.12805-us-ltsc2016" -licenseFile "E:\NAVLicense\fin.flf" -memoryLimit 3G -accept_outdated -includeAL -updateHosts #-useBestContainerOS
I get the normal downloading messages, "verifying checksum, download complete", etc.  After a while, the process runs for a while and then ends with this error:
`3f2dc84033e7: Verifying Checksum
3f2dc84033e7: Download complete
3889bb8d808b: Verifying Checksum
3889bb8d808b: Download complete
DockerDo : failed to register layer: re-exec error: exit status 1: output: BackupWrite
\?\E:\Docker\windowsfilter\5de4c611cc3173839f29a861f8a8622b9bbc5bcccc04692dbbd7a141785ed441\Files\Documents and Settings: Incorrect function.

ExitCode: 1
Commandline: docker pull  mcr.microsoft.com/businesscentral/sandbox:16.1.12629.12805-us-ltsc2016
At C:\Program Files\WindowsPowerShell\Modules\navcontainerhelper\<IP_ADDRESS>\ContainerHandling\New-NavContainer.ps1:446 char:13
+             DockerDo -command pull -imageName $bestImageName | Out-Nu ...
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,DockerDo`
...

Screenshots
If applicable, add screenshots to help explain your problem.
Additional context

does it happen all the time? Yes, it has happened multiple times.  I have uninstalled Docker Desktop, rebooted, and reinstalled to no avail.
did it use to work?  The same command worked on my old laptop, but I didn't use an external SSD drive for the data-root

Thanks for the help!

Your OS is 1909 - you should use ltsc2019 and not ltsc2016.
Not sure that this is the reason, but you can try.

Thanks, Freddy.  I gave that a shot and had the same experience.  Any other suggestions?  I appreciate the help!

The problem seems to be your docker installation.
I would guess you also cannot pull and run other containers then, maybe search docker forums for help? or reinstall standard.

Thanks again, Freddy.  I spent a good chunk of time searching the forums last night, and the only two potential solutions I could find were:

Enable Bitlocker and disable it
Uninstall OneDrive, Dropbox, etc. (none of which should be installed)

I have left a message on the Docker Desktop issues list but I am not very hopeful of receiving a response.  I will keep you posted.  Right now, I reset the data-root setting and am trying again.  If that fails, then I will try to uninstall, reboot, and reinstall without the data-root setting.  I have reinstalled twice now trying to fix it but no luck.

Update: I removed the data-root setting, and the image downloaded and created the container.  Strange - both my D:\ and E:\ drives throw the incorrect function error.  I will try again now that I have successfully downloaded an image to C:\

The data-root setting seems to be the issue.  Putting it back in fails

Any takers on this one?  I really would like to keep my images and containers off of my C:\ drive if possible.

No problem.


Benchmark CI times for Linux x86 (official workflow)

Context: Benchmark CI times for Linux x86 (official workflow) (DO NOT MERGE)

Hack week finished


Question: correct way to load weights from post-training quantized model into a new model

I wanted to collect the gradient norms for my training/testing data by "training" my post-training quantized ResNet20_CIFAR model for one epoch.
But since my quantized model is using the RangeLinearQuantParamLayerWrapper for simulating post-training quantization, I can't run the model in eval() mode. I've been following the related #185 issue, but I was wondering if there is a temporary workaround I could use.
Specifically, is there a way I can just copy the simulated integer weights into a vanilla ResNet20_CIFAR model? Since the state_dicts for vanilla and post-training quantized model aren't the same I wanted to know the correct weights to copy over. Thanks!

Hi @amad-person,
Indeed post-training quantized modules weren't meant to be used in training. You could, if you really wanted, comment-out the eval-only check here:
https://github.com/NervanaSystems/distiller/blob/2291fdcc2ea642a98d4e20629acb5a9e2e04b4e6/distiller/quantization/range_linear.py#L550-L552
But even if you did that and were actually able to get the gradients (that is - if it doesn't raise an error elsewhere for whatever reason), I'd expect those gradients to be 0 almost everywhere, because the round function is used during quantization.
Regarding getting the integer weights from the state_dict - if the original layer is named conv1, for example, then in the post-training quantized model you'll find the weights for that layer at conv1.wrapped_module.weight.
Hopefully this helps, though I admit I'm not totally sure what you're trying to do :)


Fix small react and JS errors

Going through building and playing around with it, noticed some console errors that were quick fixes.

Looks good to me! Ping me in the Discord if you want a contributor badge. Thank you!


bpf: Use different drop code for DROP_ALL

The reasons for a policy drop in DROP_ALL mode are different from the
typical policy drop, so it's useful to be able to distinguish this
reason in monitor output. Create a new drop code for this case.
We may want to consider backporting this at least to 1.2 for improved debuggability.

This change is

test-me-please

Hit #5025.

test-me-please

Hit #5025 again.

test-me-please

A thought was raised out-of-band by @rlenglet , these days it is far more likely that the container gets the init identity (5) and that this code would never be triggered. It's perhaps then more likely that we would get more use out of https://github.com/cilium/cilium/issues/5007 .

Given the discussion during yesterday's Cilium developer meeting, it's not clear that this will be particularly useful. I'll drop it for now, if it turns out that it could be useful then we can reopen and merge it.


winget upgrade offers beta package version for stable package of Mozilla.Thunderbird

Brief description of your issue
When I invoke winget upgrade it offers a Thunderbird Beta version as an upgrade for the stable version.
Steps to reproduce
This is from a fresh sandbox:
C:\Users\WDAGUtilityAccount>winget --version
v1.5.2201

C:\Users\WDAGUtilityAccount>winget install Mozilla.Thunderbird
The `msstore` source requires that you view the following agreements before using.
Terms of Transaction: https://aka.ms/microsoft-store-terms-of-transaction
The source requires the current machine's 2-letter geographic region to be sent to the backend service to function properly (ex. "US").

Do you agree to all the source agreements terms?
[Y] Yes  [N] No: y
Found Mozilla Thunderbird [Mozilla.Thunderbird] Version 115.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://download-installer.cdn.mozilla.net/pub/thunderbird/releases/115.0/win64/en-US/Thunderbird%20Setup%20115.0.msi
  ██████████████████████████████  57.7 MB / 57.7 MB
Successfully verified installer hash
Starting package install...
Successfully installed

C:\Users\WDAGUtilityAccount>winget upgrade
Name                            Id                  Version     Available     Source
------------------------------------------------------------------------------------
Microsoft Edge                  Microsoft.Edge      92.0.902.67 116.0.1938.54 winget
Mozilla Thunderbird (x64 en-US) Mozilla.Thunderbird 115.0       117.0b6       winget
2 upgrades available.

Expected behavior
As I have installed Mozilla.Thunderbird and not Mozilla.Thunderbird.Beta, I would expect to not see 117.0b6 offered here.
Actual behavior
winget offers 117.0b6 of Mozilla.Thunderbird.Beta as an upgrade for Mozilla.Thunderbird.
Environment
C:\Users\WDAGUtilityAccount>winget --info
Windows Package Manager v1.5.2201
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19041.3324
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.20.2201.0

Winget Directories
-----------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled

Duplicate of https://github.com/microsoft/winget-pkgs/issues/117949


Dsc timeout and logging

In response to this issue: https://github.com/Comcast/kuberhealthy/issues/57

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

fbbaa93f373b970f59445d4b8662662bae254a84


When I use onRender(new OnRenderListener(), the PDF is not displayed

Hi,
when I use onRender(new OnRenderListener(), the PDF is not displayed. If I don't use the RenderListener, the PDF document is displayed. What am I doing wrong?
Android API 30
implementation 'com.github.barteksc:android-pdf-viewer:3.2.0-beta.1'
    pdfView=findViewById(R.id.pdfv);
    pdfView.useBestQuality(true);
    pdfView.fromUri(uri)
            .onError(e -> Log.e(TAG, "openPDFFile Error: "+e))
            .nightMode(false)
            .onLoad(nbPages -> {
                Log.d(TAG, "openPDFFile..load completed");
            })
            .onRender(new OnRenderListener() {
                @Override
                public void onInitiallyRendered(int nbPages) {
                    Log.d(TAG, "openPDFFile..render completed nbPages: "+nbPages);
                    pdfView.fitToWidth(nbPages);
                }
            })
            .load();

It seems, that fitToWidth() makes some troubles, because onLoad() is faster then onRender()?

It seems, that fitToWidth makes some troubles

Do not use the param nbPages, you have to use the page number that is visible at this moment


Adding documentation to specifically call out support for the Echo Show.

This is just updates to the readme.md file. Not sure why the build is failing.

Thanks for doing this! Some minor comments.

Looks like our build is broken on node 1.0, maybe @lazerwalker or someone else can help.


Create Faucet

[x] Allow user to specify channel size and initial balance

Messy, but functional https://twitter.com/FaucetBot0
Will not merge until after refactor


Bug in TH1.py, line 146, in show method

If you have <class 'uproot.rootio.TH2D'> type object, when you try to use the 'show' method, there will be error.
The error is comming from:
TH1.py file line 146:
intervals = ["[{0:<.5g}, {1:<.5g})".format(l, h) for l, h in [self.interval(i) for i in range(len(self))]]

uproot-methods is user-contributed. Since you've found the offending line, could you submit a PR?


Decode options for import URLs

We host all of our code in gitiles, which doesn't provide a way to directly download individual files. You can however download files as base64 blobs by adding ?format=TEXT to the URL. It would be great if we could specify this as an option in our import section, something like:
[imports.fuchsia]
url = "https://fuchsia.googlesource.com/supply-chain/audits.toml?format=TEXT"
decode = "base64"

Is this something that would be worth adding to cargo-vet?

As it happens, I ran into precise this issue earlier today trying to import the ChromiumOS audits into Firefox. Reading through the relevant issue, I don't expect this to be resolved in gitiles anytime soon.
Given that this is likely a pretty unique need, I'd be inclined to just special-case it rather than adding a general flag. We could, for example, detect when we're fetching an import from googlesource.com, and if so, try base64-decoding it before parsing. If base64-decode fails, we'd just fall through to the regular parser in case the server behavior ever changes.
That said, given that multiple Google teams are now deploying cargo-vet, I wonder if we should just jump straight to deploying cargo-vet aggregate. That would spare external consumers from needing separate imports for ChromiumOS and Fuchsia (along with any other potential future deployments). The automation for that could handle the base64 encoding internally, and put the result in a dedicated location that was served as normal plaintext.
@djkoloski @gburgessiv thoughts?

Reading through the https://github.com/google/gitiles/issues/7, I don't expect this to be resolved in gitiles anytime soon.

I read through that gitiles issue as well and agree that it looks... less than hopeful. I'll take a look and see if we can get any motion on it though, since it seems to be widely desirable. It's worth a shot at least.

I'd be inclined to just special-case it rather than adding a general flag.

I think this could be a good solution in the immediate-term.

I wonder if we should just jump straight to deploying cargo-vet aggregate.

I think we should do that. I'll follow up with some of our internal teams and see how we can approach resource allocation for it, since that's the cloudiest part. I anticipate that this could take some time though.

I really wish they'd modify the content-type header to indicate it's base64, but it seems it was intentional :(

Fixed by #397. I confirmed it works and submitted some patches to import the chromeos audits into firefox. 🎉


virtualized list, force scrollbar to show even when there are few items in the list

Is there a way to force react-virtualized list scroll bar to appear even when there's a single item in the list it is rendering? (on screen scroll bar being disabled)

Hey mate,
Ask this question in either the Slack channel or on Stack Overflow. Github issues are for bug reports and feature requests. 😄

Already did that, but figured this would fit into the feature request category?

Original list documentation definitely doesn't state anything regarding this


chain specs for polkadot-v0.9.24

Tested!

Thanks Bruno! I will use these files in the main-md branch when I get the right things configured there. :+1:
so thi PR may be closed in favor of a new one with these in them FYI

Okay closing...


lakeFS Hadoop FS with MinIO - Failed to get lakeFS blockstore type

Spark 3.3.2
lakeFS 0.100.0
MinIO RELEASE.2023-05-18T00-05-36Z
When I try to write via Hadoop FS I get an error Failed to get lakeFS blockstore type.
jupyter-notebook  | 23/05/31 16:05:39 DEBUG FileSystem: Starting: Acquiring creator semaphore for lakefs://test/main/users
jupyter-notebook  | 23/05/31 16:05:39 DEBUG FileSystem: Acquiring creator semaphore for lakefs://test/main/users: duration 0:00.001s
jupyter-notebook  | 23/05/31 16:05:39 DEBUG FileSystem: Starting: Creating FS lakefs://test/main/users
jupyter-notebook  | 23/05/31 16:05:39 DEBUG FileSystem: Looking for FS supporting lakefs
jupyter-notebook  | 23/05/31 16:05:39 DEBUG FileSystem: looking for configuration option fs.lakefs.impl
jupyter-notebook  | 23/05/31 16:05:39 DEBUG FileSystem: Filesystem lakefs defined in configuration option
jupyter-notebook  | 23/05/31 16:05:39 DEBUG FileSystem: FS for lakefs is class io.lakefs.LakeFSFileSystem
jupyter-notebook  | 23/05/31 16:05:39 DEBUG FsUrlStreamHandlerFactory: Creating handler for protocol http
jupyter-notebook  | 23/05/31 16:05:39 DEBUG FsUrlStreamHandlerFactory: Unknown protocol http, delegating to default implementation
jupyter-notebook  | 23/05/31 16:05:39 WARN FileSystem: Failed to initialize fileystem lakefs://test/main/users: java.io.IOException: Failed to get lakeFS blockstore type
jupyter-notebook  | 23/05/31 16:05:39 DEBUG FileSystem: Failed to initialize fileystem
jupyter-notebook  | java.io.IOException: Failed to get lakeFS blockstore type

Full details in this notebook: https://gist.github.com/rmoff/c3d6553aec11b569d8f1e1761b7182e5. Run using Everything Bagel Docker Compose
Related to #5986 ?
See also Slack thread

@rmoff , I have been facing the same exception message over the weekend, but found the solution after some tries. My spark.hadoop.fs.lakefs.endpoint definition was missing the following suffix value: /api/v1
Full example: spark.hadoop.fs.lakefs.endpoint=http://lakefs:8000/api/v1


feat: Support PHPUnit 11

See https://phpunit.de/announcements/phpunit-11.html
https://github.com/sebastianbergmann/phpunit/blob/11.0.0/ChangeLog-11.0.md#changes-in-phpunit-110
https://github.com/sebastianbergmann/php-text-template/blob/4.0.0/ChangeLog.md#400---2024-02-02
All metadoc throws deprecation warnings here, asking to use attributes. This will be a breaking change with PHPUnit 12 and then PHP 8 would need to be used a minimal dependency here I guess? But for now it should still be fine? See also test outputs starting with 8.2.
Or you/I bump to PHP 8 here already? :)
I can try to add support in the other packages too after this was released.
Also: it feels like the PHPUnit 10 support was just merged recently, but apparently it was already almost a year ago or so :)

Thanks, @herndlm !
2.5.0 released


Add EmberJS Inspector

Fix for previous PR https://github.com/ChromeDevTools/awesome-chrome-devtools/pull/7

LGTM.
Thank you!


array

Hello @Shehani009,
If you want to participate in Hacktoberfest please provide valuable contribution to the project, not random spam PR.
WBR,
Denys


local_provisioner directory should be created only if enabled

Remove this from preinstall
https://github.com/kubernetes-incubator/kubespray/blob/master/roles/kubernetes/preinstall/tasks/main.yml#L63
This directory creation should be scoped inside the local_provisioner role.
Also it break install if variable isn't set
@hswong3i

Totally agree, it also looks strange for me when upgrade for 2.0... anyway I will take care this ;-)

Ok I could recall the memory now:
find * -type f | xargs fgrep -nH local_volume_provisioner_base_dir | grep -v apps

inventory/sample/group_vars/k8s-cluster.yml:177:local_volume_provisioner_base_dir: /mnt/disks
roles/kubernetes/preinstall/tasks/main.yml:63:    - "{{ local_volume_provisioner_base_dir }}"
roles/kubernetes/node/templates/kubelet.rkt.service.j2:40:        --volume local-volume-provisioner-base-dir,kind=host,source={{ local_volume_provisioner_base_dir }},readOnly=false,recursive=true \
roles/kubernetes/node/templates/kubelet.rkt.service.j2:71:        --mount volume=local-volume-provisioner-base-dir,target={{ local_volume_provisioner_base_dir }} \
roles/kubernetes/node/templates/kubelet-container.j2:30:  -v {{ local_volume_provisioner_base_dir }}:{{ local_volume_provisioner_base_dir }}:shared \

These keep as-is from version 1.0 implementation, and seems to be pre-mount the {{ local_volume_provisioner_base_dir }} for rkt and docker, which was original added since initial PR https://github.com/kubernetes-incubator/kubespray/pull/1909
BTW, I can't find such information for latest local-provisioner documents...
@mattymo may you provide some more information about why we need to pre-mount the base_dir?

@hswong3i until we figure this out, could you add the variable in kubernetes-default ?
https://github.com/kubernetes-incubator/kubespray/pull/1909/files#diff-305cff8ef7c95f9417eff668c7e69e5eR148

@ant31 I am thinking if we could remove those lines? Working for a trail commit and see if this could do so.


Slow theme switching

Theme switching in ControlCatalog takes lots of time.It is like 4 seconds for Fluent - Light -> Fluent - Dark switch.I accidentally find out that if we clear the application styles before adding new styles it becomes much faster (like 1.2s vs 4s by default). Here I will write all my investigations.

Here is everything I needed to do to achieve this result.

There is no difference in pref between removing all items in for loop or by calling the Clear() method. It takes ~600ms.


Updates devfile/library to alpha release 3 - Test PR

What type of PR is this?
/kind api-change
/kind cleanup
What does this PR do / why we need it:
Dup of https://github.com/openshift/odo/pull/4730
Checking if PSI Minikube tests are picking up my PR changes
Which issue(s) this PR fixes:
PR acceptance criteria:

[ ] Unit test

[ ] Integration test

[ ] Documentation

[ ] Update changelog

[ ] I have read the test guidelines

How to test changes / Special notes to the reviewer:

/retest

closing test PR


Upgrade to Flutter 2.10.3 stable, webview page will cause page blinking when disposed on Android Device

Steps to Reproduce
1.Open a page which can jump to a WebView page, load a url.
2.In the WebView page, jump to the 3rd page.
3.Click back twice fast.

You can see the demostration gif below. When I back to the initial page, something was blinking, that was the 3rd page.
gif

The reproduce  chance is not 100%,  but at least 50% or even more.
webview_flutter is latest version 3.0.1
flutter version is latest stable channel verion 2.10.3
And the most important thing is, before i upgraded flutter, everything was fine. My flutter version was 2.5.3 before.
Android Device Only

flutter doctor -v
[✓] Flutter (Channel stable, 2.10.3, on macOS 12.1 21C52 darwin-x64, locale
    zh-Hans-CN)
    • Flutter version 2.10.3 at /Users/caoxun/Applications/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 7e9793dee1 (9 days ago), 2022-03-02 11:23:12 -0600
    • Engine revision bd539267b4
    • Dart version 2.16.1
    • DevTools version 2.9.2
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
• Android SDK at /Users/caoxun/Library/Android/sdk
• Platform android-31, build-tools 31.0.0
• Java binary at: /Applications/Android
Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 13.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• CocoaPods version 1.11.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2020.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
[✓] Connected device (2 available)
• MIX 2 (mobile) • ed1066f1 • android-arm64  • Android 9 (API 28)
• Chrome (web)   • chrome   • web-javascript • Google Chrome 99.0.4844.51

***
I wrote a demo project, it can also reproduce this problem. Apk file has uploaded.
demo link : https://github.com/daydreary/flutter_demo

main page's coding
import 'package:flutter/material.dart';
import 'package:webview_test/web_page.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: const MyHomePage(title: 'Flutter Demo Home Page'),
);
}
}
class MyHomePage extends StatefulWidget {
const MyHomePage({Key? key, required this.title}) : super(key: key);
final String title;
@override
State createState() => _MyHomePageState();
}
class _MyHomePageState extends State {
int _counter = 0;
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(widget.title),
),
body: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
const Text(
'Click Button to jump to WebView',
),
Text(
'$_counter',
style: Theme.of(context).textTheme.headline4,
),
],
),
),
floatingActionButton: FloatingActionButton(
onPressed: jump,
tooltip: 'Increment',
child: const Icon(Icons.add),
),
);
}
void jump() {
Navigator.push(context,
MaterialPageRoute(builder: (context) => const WebPage()));
}
}

webview page's coding
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:webview_flutter/webview_flutter.dart';
import 'package:webview_test/test_page.dart';
class WebPage extends StatefulWidget {
const WebPage({Key? key}) : super(key: key);
@override
_WebPageState createState() => _WebPageState();
}
class _WebPageState extends State {
final String url = "https://h5-ol.sns.sohu.com/hy-moyukik-h5/topic/detail/1502089429110525977";
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text("Webview Test"),
),
body: WebView(
onWebViewCreated: (controller) async {
controller.loadUrl(url);
},
javascriptMode: JavascriptMode.unrestricted,
// initialUrl: url,
),
floatingActionButton: FloatingActionButton(
onPressed: jump,
tooltip: 'Increment',
child: const Icon(Icons.add),
),
);
}
void jump() {
Navigator.push(context,
MaterialPageRoute(builder: (context) => const TestPage()));
}
}

3rd page's coding
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:webview_flutter/webview_flutter.dart';
class TestPage extends StatefulWidget {
const TestPage({Key? key}) : super(key: key);
@override
_TestPageState createState() => _TestPageState();
}
class _TestPageState extends State {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: Text("Webview Test"),),
body: Container(
color: Colors.redAccent,
child: Center(
child: Text("Hello World", style: TextStyle(fontSize: 30, fontWeight: FontWeight.bold, color: Colors.white),),
),
)
);
}
}

how to use this demo:

Run it on an Android Device.
Click the floatingActionButton twice.
Click back twice fast
Maybe you can see the problem happened.
If step 4 not happened, try it again.

@daydreary
There's similar open issue describing your case, so please follow-up in it for further updates.
Closing this as a duplicate.


Flaky test - AtomApplication launch reopens any previously opened windows when launched with no path

https://travis-ci.org/atom/atom/builds/298258681

This test has been very flaky recently, starting with (surprisingly) the bump to 1.24-dev.

Happened again in https://travis-ci.org/atom/atom/builds/299607852

And https://travis-ci.org/atom/atom/builds/299396576.

And https://travis-ci.org/atom/atom/builds/299715392

And https://circleci.com/gh/atom/atom/6040


[Question] resolveLoader.root vs resolveLoader.fallback ?

What are differences between resolveLoader.root  and  resolveLoader.fallback
When I link (npm link) a module on Linux both propetries are working
But on windows only fallback is working

The only difference is the order: root is tried first, then modulesDirectories, then fallback. This is obsolute with webpack 2.

How do I replace the configurations that are located in resolveLoader.root and resolveLoader.fallback in the new API?

3 years later, I have the same question as @sschaefer-rms


No module named 'multiprocessing.managers'

File "/app/python-venv-s/notary/lib/python3.9/site-packages/s3transfer/compat.py", line 94, in
2023-07-24T10:04:36.967227706Z     from multiprocessing.managers import BaseManager  # noqa: F401,E402
2023-07-24T10:04:36.967236037Z ModuleNotFoundError: No module named 'multiprocessing.managers'

Hi @mynawam,
The standard library multiprocessing module definitely provides a BaseManager. You can see it in all versions of Python we support:
3.9: https://github.com/python/cpython/blob/3.9/Lib/multiprocessing/managers.py#L11
It appears you may have something shadowing the multiprocessing namespace in your local setup or are using a non-standard setup of Python. You may want to check if you have a local file named multiprocessing.py that's interfering.

Resolving since we haven't heard back recently. Please feel free to reopen if you believe something was missed in the above response.


Updated deprecated links in extend/getting-started _index.md

Summary
Updated deprecated links in extend/getting-started _index.md
Ticket Link

NA

Hello @Rutam21,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

@cwarnermm Please review and add the necessary labels for Docathon.

@justinegeffen Closing this as #905 seems to have requested the same changes. Thanks.

@justinegeffen Closing this as #905 seems to have requested the same changes. Thanks.


Analyzer Feedback from Android Studio

Android studio turned on the flutter project
When the message comes out, snippet or auto-suggestion will be executed.
May I know the solution?

Version information

IDEA AI-221.6008.13.2211.9619390
2.19.4
AI-221.6008.13.2211.9619390, JRE 11.0.15+0-b2043.56-8887301x64 JetBrains s.r.o., OS Mac OS X(aarch64) v13.2.1, screens 3456.0x2234.0, 3440.0x1440.0  Retina

Do you have any logs in the Notifications pane of the Android Studio?


community : fix GPTCache pydantic validation error on lookup

Description:
this change fixes the pydantic validation error when looking up from GPTCache, the ChatOpenAI class returns ChatGeneration as response which is not handled.
use the existing _loads_generations and _dumps_generations functions to handle it
Trace
  File "/home/theinhumaneme/Documents/NebuLogic/conversation-bot/development/scripts/chatbot-postgres-test.py", line 90, in <module>
    print(llm.invoke("tell me a joke"))
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/theinhumaneme/Documents/NebuLogic/conversation-bot/venv/lib/python3.11/site-packages/langchain_core/language_models/chat_models.py", line 166, in invoke
    self.generate_prompt(
  File "/home/theinhumaneme/Documents/NebuLogic/conversation-bot/venv/lib/python3.11/site-packages/langchain_core/language_models/chat_models.py", line 544, in generate_prompt
    return self.generate(prompt_messages, stop=stop, callbacks=callbacks, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/theinhumaneme/Documents/NebuLogic/conversation-bot/venv/lib/python3.11/site-packages/langchain_core/language_models/chat_models.py", line 408, in generate
    raise e
  File "/home/theinhumaneme/Documents/NebuLogic/conversation-bot/venv/lib/python3.11/site-packages/langchain_core/language_models/chat_models.py", line 398, in generate
    self._generate_with_cache(
  File "/home/theinhumaneme/Documents/NebuLogic/conversation-bot/venv/lib/python3.11/site-packages/langchain_core/language_models/chat_models.py", line 585, in _generate_with_cache
    cache_val = llm_cache.lookup(prompt, llm_string)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/theinhumaneme/Documents/NebuLogic/conversation-bot/venv/lib/python3.11/site-packages/langchain_community/cache.py", line 807, in lookup
    return [
           ^
  File "/home/theinhumaneme/Documents/NebuLogic/conversation-bot/venv/lib/python3.11/site-packages/langchain_community/cache.py", line 808, in <listcomp>
    Generation(**generation_dict) for generation_dict in json.loads(res)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/theinhumaneme/Documents/NebuLogic/conversation-bot/venv/lib/python3.11/site-packages/langchain_core/load/serializable.py", line 120, in __init__
    super().__init__(**kwargs)
  File "/home/theinhumaneme/Documents/NebuLogic/conversation-bot/venv/lib/python3.11/site-packages/pydantic/v1/main.py", line 341, in __init__
    raise validation_error
pydantic.v1.error_wrappers.ValidationError: 1 validation error for Generation
type
  unexpected value; permitted: 'Generation' (type=value_error.const; given=ChatGeneration; permitted=('Generation',))

Although I don't seem to find any issues here, here's an issue raised in GPTCache. Please let me know if I need to do anything else
Thank you

@eyurtsev could you please look into this and merge if all is okay
Thank You

What do i need to do to get this auto merged? into the source
@eyurtsev please guide me

thank you!

@eyurtsev do i need to add the extra line at the end of the file for the checks to be passed?

@theinhumaneme i don't remember the rules to be honest : ) -- I mostly rely on make format to auto fix linting issues

hello, please check this commit, I used black formatter, as the make format is changing around 400+ files, i looked at the actions logs and fixed the issue where it was failing.
output of my make format
(venv) theinhumaneme@MSI-DESKTOP:~/Documents/GitHub/langchain/libs/community$ make format
poetry run ruff format .
410 files reformatted, 1215 files left unchanged
poetry run ruff --select I --fix .
warning: `ruff <path>` is deprecated. Use `ruff check <path>` instead.
All checks passed!

yay everything passes :D

We format using ruff it's mostly compatible with black but runs much faster


Is it possible to send tracing in async mode?

is it possible for send tracing in async mode?
i think it make sense to send error in sync mode.
but i think it not for tracing. it would  be nice if it can send in async mode or in queue.

Hi @mix5003 there is no async mode (because php has no real async capabilities) but the tracing information is sent after the response your app generates is sent using a terminable middleware. So if you are using php-fpm tracing should have no impact on the response times.
We have also some docs on how to use Relay to further minimize the impact on your application: https://docs.sentry.io/platforms/php/performance/#improve-response-time.
I'm guessing you are here because you observed slower response times after enabling tracing? Could you share a bit more information about your setup so we can see if there is anything else other than the above we can do?

i am deploy on docker images  php:7.4.13-apache .
but i think sometime my network connection has a problem, so i want to send to queue or somewhere in my local network first.
i think Relay is what i looking for.
thank you for your answer.

That sounds like relay would be a perfect fit for you 👌


Add initial type check CI

Why are these changes needed?
This adds an initial CI that targets known clean modules.

Related issue number

Checks

[ ] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
[ ] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[ ] I've made sure all auto checks have passed.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 35.85%. Comparing base (0a79512) to head (1a59bdc).
Report is 5 commits behind head on main.

:exclamation: Current head 1a59bdc differs from pull request most recent head 18c8c2b. Consider uploading reports for the commit 18c8c2b to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1882      +/-   ##
==========================================
- Coverage   36.03%   35.85%   -0.19%
==========================================
  Files          63       63
  Lines        6618     6621       +3
  Branches     1459     1462       +3
==========================================
- Hits         2385     2374      -11
- Misses       4039     4050      +11
- Partials      194      197       +3

Flag
Coverage Δ

unittests
35.85% <ø> (-0.19%)
:arrow_down:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

@ekzhu @davorrunje this is ready to review


[Audit fixes] FOR-09 - Inconsistent Beacon Validation Across Forks

Summary of changes
Changes introduced in this pull request:

Return Ok when validating drand beacon entries similar to how Lotus does as per the audit recommendation.

Reference issue to close (if applicable)

Closes #1141
Other information and links

LGTM. I just need to verify against my node. Still figuring out a panic in the proofs library.


optimize api-gateway makefile,  update devel image, update smartphoto ui package version

1, Optimize api-gateway makefile. clean install.sh, move most of build / install process to makefile, so customization options can  be checked only in the makefile, not in the 'install.sh'.
2, update devel image for OpenVINO 2.22.1
3, smart photo web UI update JS packages  to latest version.
4, some optimization for launcher script, and Dockerfile.

LGTM

looks good to me


Support for cucumber 0.10.x

Hi,
i cannot update the cucumber dependendy of my project to 0.10.x, because the protractor-cucumber-framework peer-dependency is set to 0.9.x.
Hope this will be adressed soon.

Updated peerDependencies so Cucumber can be upgraded up to, but not including, v1.x. Released in v0.5.0. Thanks!


nginx.ingress.kubernetes.io/ssl-passthrough annotation compatibility or workaround needed

**Is your feature request related to a problem?
Very popular Kubernetes Community Ingress controller provided annotations like nginx.ingress.kubernetes.io/ssl-passthrough: "true" is not available with the nginxinc Operator. I have checked the official documentations https://docs.nginx.com/nginx-ingress-controller/configuration/ingress-resources/advanced-configuration-with-annotations/ . SSL Passthrough annotations are not available and  the following annotations picks up the ports 8083
nginx.org/listen-ports: "8083"
nginx.org/listen-ports-ssl: "8443"
nginx.org/ssl-passthrough: "true"
I had to enable the otion --enable-tls-passthrough=true and use TransportServer to create TLS Passthrough ingress endpoints.
The results and healthchecks for the backend service are different in TransportServer when compared to nginx.ingress.kubernetes.io/ssl-passthrough: "true" annotation . The transportServer creates a unix socket and expects the application to  handle the pod availability. Where in nginx.ingress.kubernetes.io/ssl-passthrough: "true"  annotation in Kubernetes can validate if the backend pod is available or not and send a 404 when a service is down.
Describe the solution you'd like
nginx.ingress.kubernetes.io/ssl-passthrough: "true"  like capability to do the healthcheck for the backend pods and also wider compatibility for other annotations which are commonly used.
Describe alternatives you've considered
We have not considered any non F5 solution yet as we are using this Operator from Openshift and we would like to continue using this operator which comes from the Openshift Platform Vendor
Additional context
NA

Hi @ram4ibm, do the global health checks (max-fails and fail-timeout)  work for your use case?