[BUG]: Logger cannot print List[Tensor]

🐛 Describe the bug
A list of torch.Tensor on device='meta' cannot be printed by DistributedLogger
logger = get_dist_logger()
logger.info(f"{[torch.tensor([1,2,3], device='meta')]}")

Environment
No response

We have updated a lot. This issue was closed due to inactivity. Thanks.


Switch from dependabot to renovate

Summary
This PR removes our dependabot configuration, and replaces it with renovate. The motivations are:

Renovate will also update our pre-commit dependencies
It's good to keep this kind of configuration in sync between the two repositories, and we just switched Ruff over in https://github.com/astral-sh/ruff/pull/10567
Renovate supports the update-lockfile strategy for Cargo dependencies, and dependabot does not.

The only differences to the configuration we added to Ruff in https://github.com/astral-sh/ruff/pull/10567 are that I haven't selected the npm or pep621 package managers for the uv repo. We don't seem to have any npm or PEP-621 dependencies in this repo right now (unlike in Ruff), and the PEP-621 manager in particular looks like it might have some false positives in the scripts/ directory, which has lots of benchmark-related pyproject.toml files with dependencies that we probably don't really want to update.
Test Plan

I used renovate's CLI tool (which you install via npm) to validate the configuration locally:
(renovate-switch) % npx --yes --package renovate -- renovate-config-validator                  ~/dev/uv
(node:1829) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
 INFO: Validating .github/renovate.json5
 INFO: Config validated successfully

Once this PR is merged and the bot has been granted authorisation, it will either open an issue similar to https://github.com/astral-sh/ruff/issues/10578 (if the configuration is all okay) or an issue similar to https://github.com/python/typeshed/issues/11586 (if there are errors in the configuration).

We could use PEP 621 for main/scripts/scenarios/requirements.in and main/scripts/release/requirements.in if we wanted

The PEP-621 manager is just for pyproject.toml files.
If we wanted those files to be autoupdated as they currently are, I think either we'd use the pip_requirements manager, in which case it would update the requirements.in file but not the requirements.txt file (not really what we want), or we'd use the pip-compile manager, which would mean that renovate would generate the requirements.txt file from the requirements.in file using pip-compile. That's closer to what we want, but it feels kinda funny to have uv depend on pip-compile internally, even if it's only via renovate 😄.


Add rune parameter for "ord balances" command to get only specific rune balances.

In the current implementation, ord balances command takes too long to show all rune balances. My suggestion is to add new parameter like "--rune" to specify which rune balances want to display.

@raphjaph, I started looking into this but noticed there's no straightforward way to filter outpoints eagerly by rune (spaced, id, etc.). The balances command calls (get_rune_balance)[https://github.com/ordinals/ord/blob/879cee6559718f7bd683194ac17daf00367ae3cb/src/index.rs#L1068] in the index and later decodes the rune info from the outpoint data. The rune is unknown until this point, meaning we would still need to decode all balances before filtering. It would take just as long. Any recommendations here?

@ldiego08 yes, we would need a separate database table for that. PR #3675 adds this. I'll have a look what the status of that PR is and then we can build this feature ontop of that

@ldiego08 yes, we would need a separate database table for that. PR #3675 adds this. I'll have a look what the status of that PR is and then we can build this feature ontop of that

@raphjaph awesome! If there's anything I can help with, just lmk. :)


Clients don't work

Bug report
Describe the bug
I used VS plug-in to create project - i tried both clients using Java server
Client doesn't work
React - 2nd page not correctly render, no option to select
other client is stuck on register page
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:

start app
click register - not correctly render on React. Other client is stuck on register page

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
System information

OS: macOS
Browser (if applies) chrome
Server environmentJava

Additional context
Add any other context about the problem here.

Thanks for the report @datasmithadvtech. Do you see any errors in the javascript console? Which use-case were you testing (fixed-price-subscriptions, per-seat-subscriptions, usage-based-subscriptions)?

I'm in the process of implementing a new SaaS product that uses fixed-price subscriptions and was happy to find this repo with sample code.
I installed repo locally using stripe cli.
Followed the READMe for both client and server.
I'm using node and react, respectively.
When I npm start the server, I'm getting the following error:
Error: ENOENT: no such file or directory, stat 'subscription-use-cases/client/register.html' on http://localhost:4242
When I run the client, I'm getting the register screen, I enter the email and click that and I see the new customer created successfully in my Stripe console.  The prices screen loads but its blank. (http://localhost:3000/prices)
I added a few console.logs to see why it wasn't working - nothing shown in devtools console for either front-end or api (3000 and 4242, respectively).

Hey @davidfeldt,
It's odd that route (/register.html) is being used with the react client. I expect the root to load the react app and only call out to the node server via AJAX. Will take a look. Thanks!

Great - thanks.
On Mon, Nov 15, 2021, at 11:22 AM, CJ Avilla wrote:

Hey @davidfeldt https://github.com/davidfeldt,
It's odd that route (/register.html) is being used with the react client. I expect the root to load the react app and only call out to the node server via AJAX. Will take a look. Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/stripe-samples/subscription-use-cases/issues/136#issuecomment-969078272, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAESF4MOVNKAONZUK7UHQR3UMEXVLANCNFSM5HJ7WREQ.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Hi, I was wondering if a fix was found?

Any updates to this problem? I'm getting the same error where prices does not load

I tried to reproduce this error.
Step to reproduce
Instalation
$ stripe samples create subscription-use-cases

? What type of integration would you like to use:
    usage-based-subscriptions
  ▸ fixed-price-subscriptions

? Which client would you like to use:
    vanillajs
  ▸ react

? What server would you like to use:
    java
  ▸ node
    php-slim
    python
↓   ruby

setup app
$ yarn
yarn install v1.22.19
info No lockfile found.
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
[4/4] 🔨  Building fresh packages...

success Saved lockfile.
✨  Done in 10.44s.

$ cd server
$ yarn
yarn install v1.22.19
info No lockfile found.
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>[4/4] 🔨  Building fresh packages...

success Saved lockfile.
✨  Done in 7.22s.

Try to run the app
$ yarn start
yarn run v1.22.19
$ node server.js
Node server listening on port http://localhost:4242!

When I visit to http://localhost:4242, I got this error.
Error: ENOENT: no such file or directory, stat '/Users/stripe/samples/subscription-demo-from-cli/client/register.html'

Why we got the error
I opened the server/server.js file, the root path were written in these code:
app.get('/', (req, res) => {
  const path = resolve(process.env.STATIC_DIR + '/register.html');
  res.sendFile(path);
});

I think this code is for the vanillajs example.
https://github.com/stripe-samples/subscription-use-cases/blob/main/fixed-price-subscriptions/client/vanillajs/register.html
Workaround
In case of the react example, we need to run two application.
server/: API server
We need to use the server/ project just as a API server.
$ cd server
$ npm i
$ npm start

client/: Frontend application
Additionally, we need to start this React application to launch the frontend UI.
$ cd client
$ npm i
$ npm start

When we visit the http://localhost:3000 after launching two application, we can see this page.

I ran into this issue today and @hideokamoto-stripe's solution worked for me.
You can also run npm build in the client directory to build static frontend assets if you don't want to run the frontend server.
$ cd client
$ npm run build
// set STATIC_DIR="../client/build" in server/.env
$ cd ../server
$ npm start

Works as expected:


Don't add finalizer to skipped objects

Issue : #167

Description
Don't add finalizer to object if there are no handlers for it. Now that it is possible to filter objects out of handler execution, this is pertinent.
Types of Changes

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

Tasks

[ ] Add Tests

Review

[ ] Tests
[ ] Documentation

Codecov Report

Merging #171 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master     #171   +/-   ##
=======================================
  Coverage   82.76%   82.76%
=======================================
  Files          32       32
  Lines        1596     1596
  Branches      231      231
=======================================
  Hits         1321     1321
  Misses        230      230
  Partials       45       45

Impacted Files
Coverage Δ

kopf/reactor/handling.py
85.64% <100%> (ø)
:arrow_up:

Hey @dlmiddlecote,
Thank you so much for the contribution. I just did manual test this change set and managed to reproduce #167 again.
Could you please do a manual test if you haven't done yet?

Hey!
Of course, no problem. I thought I had fixed this as I didn’t observe the same behaviour when I tried this, but I’ll definitely double check!

Yes, I’ve completely been mistaken here. I’ll look at this again. Sorry for the bother.

Closing this and starting again.

@dlmiddlecote Oh, sorry, I didn't notice the PR is closed. Please, see my comment above with some hints.


Blog 'ALL' category

Describe the bug
There's no 'ALL' tag(or category) on the blogs page header, through which the user can see all different types of blogs together. It's just on the initial page reload where all blogs are seen together, but after choosing any category, we cannot go back to ALL blogs category.
To Reproduce
Steps to reproduce the behavior:

Go to Blogs
See error

Expected behavior
'ALL' category should be included.
Video
We cannot again, see the 'jwt test 1' blog, as it is not under any category.
https://user-images.githubusercontent.com/84590758/156589696-6b39f339-7ea9-4663-ab16-d54481ddc826.mp4
Are you working on the issue?
Yes

Hey @mohityadav0903 could you please review this issue and provide me a feedback on it . I guess I might need the firebase access, as all the category names come from firebase database as I went through the code and would require to add the category there.
Thank You

hey @bhutani2002 it's not firebase in the backend. I used mongodb for that.
Btw i got your point u do not need to have backend access for that u can add a back arrow or back button for it

hey @bhutani2002 it's not firebase in the backend. I used mongodb for that. Btw i got your point u do not need to have backend access for that u can add a back arrow or back button for it

So, I guess now I can add a back arrow button now below every category.

ya u can work on it


Update and clean dependencies

Acknowledgements

Logos package should use renovate to automatize dependencies

To-Do

Add renovate to the repo
Configure a policy
Test update strategy

@aquarat logos package should utilizes renovate I have sent the request, can you review it.


How to run this with nginx & uwsgi?

Ok, I am a little bit confused about the many options on how to run python webapps, unfortunately there is no one zen way of doing this. There are some tutorials out there that explain how to run a simple flask app, however none of them explains how to do this if the flask app is a python package that was installed with pip.
It would be really great if you could add a few lines of documentation of how to run caravel behind an nginx + uwsgi setup, thanks!

We just run the gunicorn server in production, though it's behind an nginx reverse proxy that takes care of authentication and load balancing and we're happy with that setup.
If you don't like the gunicorn approach, perhaps you want to make your own builds (I think it's just about running npm run prod from the assets folder) an run off the file system instead of the pip package. Once you do, feel free to contribute your process in our docs, though I think running flask apps on nginx is well documented already.

Right, I now understand that there is already gunicorn that comes with caravel out of the box. No need for uwsgi.


Add app screenshots to fermentrack.com

There aren't currently any screenshots of the app on the fermentrack.com website.  It would be nice for prospective users to see what the app looks like without going through the effort of setting up an install.

LOL - @lbussy has been on me about this for years.
You're right though - definitely needs to be resolved.

Someone asked me for screenshots on HBT.  I was all set to send them over to the main website when I realized that there isn't anything there.  Figured I might as well get something on the books so I've at least done what I can. 😉

Same.  It was a WTF moment. :)  Then I realized I didn't have any either ...

Moving this to the fermentrack.com repo (which isn't public, so it's about to get hidden) ;)


Bookstore: Connect to API

Description
In this milestone, I connected the React-Redux application to an existing API to create and remove books in a remote server.
General requirements
Check items below by adding x between brackets.

[x] There are no linter errors.
[x] Followed the GitFlow.
[x] The documentation is professional.

HTML/CSS requirements

[x] Followed best practices for JavaScript

Project requirements

[x] Add redux-thunk to your project.
[x] Use fetch or axios for making API calls.
[x] Fetch book list from Bookstore API on Books page load.
[x] Dispatch another action (add an action type) that will pass API response to reducer and update the state.
[x] Refactor your add book and remove book features to persist your changes in the server
[x] Dispatch an action (action type that existed before refactor) that will update the state accordingly.
[x] Add book and remove book should work in the same way after the refactor.
[x] No styling is required.

Additional notes
Feel free to add any additional notes here if needed or remove it entirely

Thank you for taking the time to review this pull request.

Thanks a lot @eri8-9


Always show scrollbar in list of connected chains

Overview
When a user has multiple chains connected, the ManageAccountsModal list of chains shows the first few without a scrollbar. The scrollbar only appears after scrolling, meaning the user has to know it's possible to scroll before scrolling.
2 separate team members have reported it as broken before realising it's not actuall broken :|
References and additional details
<ModalBody maxH='400px' overflowY='auto'> in src/components/Modals/ManageAccounts/ManageAccountsModal.tsx
Original raise of issue:
https://github.com/shapeshift/web/pull/6908#pullrequestreview-2054586834
Acceptance Criteria
Users can see a scrollbar when it's possible to scroll.
Need By Date
No response
Screenshots/Mockups
No response
Estimated effort
No response

Is this something we want? I see this issue in a few places so perhaps there is a more general solve?

This OS level an outside our control, but we can force it if need be. BUT looks to be solved?

@gomesalexandre CC


Add possibility to easily manage unmanaged module

Description
Now if a module is configured as unmanaged on the Kyma CR level, it's not possible to turn it managed without editing raw yaml.
The following screenshot shows an unmanaged serverless module:

The Edit view should have checkbox for every module to easily enable/disable management of every module. Now it looks like this:

Hey @pPrecel, from KLM's perspective the re-managing of modules is not yet supported, this is rather one-way story until we implement this ticket: https://github.com/kyma-project/lifecycle-manager/issues/1667

Hi @pPrecel
We need to make a few adjustments to the editing modules flow.
Acceptance criteria:

[ ] add checkbox/switch in Edit view managed/unmanaged
[ ] add warning when the user is trying to save manage to unmanaged change
[ ] add information when the user is trying to save unmanaged to manage change
[ ] contact flow with the UXes and decide if we need to use a checkbox or switch


RESTEASY-1323 NettyHttpRequest closes netty ctx depending on Keep-Alive

This pull request and https://github.com/resteasy/Resteasy/pull/756 both fix RESTEASY-1323. Now, who wants to write a unit test?

Superceded by https://github.com/resteasy/Resteasy/pull/756.


JAB remediation verifications due by November 29th

Fallout from the JAB Q&A sessions yet to do:

[ ] TR587-AU-5 mitigation (shutdown when logging fails) https://github.com/18F/cg-product/issues/476
[ ] TR131-IA-12(1): SecureAuth tokens via e-mail https://github.com/18F/cg-product/issues/431

POAM work yet to do:

[ ] V73-IA5 - metrics password requirements https://github.com/18F/cg-atlas/issues/175

Documentation work yet to do:

[ ] Small SSP updates to 1-11, AC, IA https://github.com/18F/cg-product/issues/421
[ ] Small SSP updates to AU, CA, CM, CP, MA, MP, RA, PS https://github.com/18F/cg-product/issues/485
[ ] Small SSP updates to AT, IR, PE, PL, SA, SC, SI https://github.com/18F/cg-product/issues/486

Documentation work that we need to get the 3PAO to verify

[ ] KO19-IA5: Fugacious defaults are shorter/fewer

Technical work that we need to get the 3PAO to verify

[x] Container security has been tested
[ ] ???-?? ELK log tampering is not possible/results in alerts

Technical work awaiting verification from 3PAO

[ ] V4-AC2-12 atypical usage monitoring

Documentation work awaiting verification from 3PAO

[ ] V3-AC2 account management
[ ] V9-CA7 continuous monitoring
[ ] V10-CP4 contingency plan testing
[ ] V11-CP4(1) contingency plan testing
[ ] V12-IA5(6) authenticator management
[ ] V14-PL2 system security plan

False positives awaiting verification from 3PAO

[ ] V1-CM-6 version disclosure
[ ] V2-CM-6 Kibana directory listing
[ ] V5-AC6(2) least privilege
[ ] V6-AC6(10) least privilege
[ ] V7-AC7 unsuccessful logon attempts
[ ] V8-AC22 publicly accessible content
[ ] V13-SC12(2) cryptographic key establishment and management
[ ] V15-SI4(23) monitoring

Things that need to be done to close all of these:

[ ] Do the undone things
[ ] Prompt Veris to test remaining documentation work
[ ] Prompt Veris to test remaining technical work
[ ] Unknown set of things that Veris will want to test

V2 is not listed as a pending FP in the POA&M submitted on 11/1.
V14 and V73 are listed as pending FPs in the POA&M.
Code-scanning (SI-3) - did you actually implement something new/different to meet this requirement (Code Climate)?  This may need to be verified.
Need Veris to confirm testing of operator authentication via SecureAuth.

Much of the above was incorporated into the checklist in the first post.
Veris is uploading screenshots of config settings for us to verify we're matching in subsequent scans.
@badorward mentioned more vulns showing in the latest OWASP scan than are in the corresponding POA&M. It sounds like these are likely ones tagged as false-positive in the SAR; @dlapiduz can you make sure they show up that way in the POA&M? Also can you please look at V2, V14, V73 and V19 to make sure they're consistent?

Hi,
I confirmed that 6 of the web vulns were identified in the SAR as FPs (my
apologies). There is one low vuln (highlighted in the attached) that is not
listed in the SAR or captured in the POA&M.
Bridget
On Mon, Nov 7, 2016 at 12:28 PM, Bret Mogilefsky<EMAIL_ADDRESS>wrote:

Much of the above was incorporated into the checklist in the first post.
Veris is uploading screenshots of config settings for us to verify we're
matching in subsequent scans.
@badorward https://github.com/badorward mentioned more vulns showing in
the latest OWASP scan than are in the corresponding POA&M. It sounds like
these are likely ones tagged as false-positive in the SAR; @dlapiduz
https://github.com/dlapiduz can you make sure they show up that way in
the POA&M? Also can you please look at V2, V14, V73 and V19 to make sure
they're consistent?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/18F/cg-product/issues/477#issuecomment-258902690, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AVDWigBffNtpM4y0Piz_NSu31Hh9oGD1ks5q71_AgaJpZM4Ko5BK
.

We have the current round of POA&M updating tracked at https://github.com/18F/cg-product/issues/422 - so I'll add these as checklist items over there.
@badorward Unfortunately GitHub silently discards attachments sent with GitHub issue updates. (Sorry for this weirdness!) Would you be able to re-send it to one of us through normal email? We can then put it in our Google Drive. Thank you!

Wrote an email about this, but just to summarize for context - I believe the unlisted item is already tracked as part of V17-CM-6 in the POA&M (scheduled completion date 12/18/2016).

I went through the checklist, and I believe the only remaining not-otherwise-tracked work here is that we should double-check with Veris that the following ConMon POAM items can be marked closed (they're not listed in our SAR table):

V12-IA-5(6): Check protection of system authenticators
V2-CM-6: Kibana directory listing

Found V2-CM-6! Asking about V12-IA-5(6).

Everything here is done or tracked elsewhere. Yay!


Use the "keep" stretch mode for HiDPI/Retina

If I'd have had time to properly test these during the past two weeks or so, this would have been a part of #205 :/

Why does your PR also set "resizable" and "fullscreen" to false? I agree that you usually shouldn't be able to resize a game window, but for convenience and until we have a settings template to change screen sizes, it might make testing easier to be able to resize windows?

Ok, that makes sense. Do you think you could add a line or two to the export docs about which settings to set to what before exporting?

@fleskesvor are you ok with that documentation? I added some other tacit knowledge I've accrued over the months as well.

I hope this isn't seen as an abuse of my new superpowers, but this has been hanging for a while and is proven to work so I think it should go in. We can address documentation issues later if need be, but let's keep the balls rolling!

Sorry for the late reply. Yes, that documentation is perfect. :+1:

I hope this isn't seen as an abuse of my new superpowers

No, there's no controversy here. Welcome onboard. :slightly_smiling_face:


Integration test all API surfaces

Upgrade integration tests to check the entirity of the public API

Error tested: cad28a327d913265c47a75e5328deca72fea3022

Chain tests: 197811d6bcbf271d4232121bee67a0e060fc9aa2


Redefine Job, Runner, and System Responsibilities; Refactor Classes

Summary

Moved job lifecycle methods (is_running, is_completed, kill) from runner to job classes.
Enhanced BaseJob with new methods for mode, system, and ID retrieval.
Fixed a bug in parsing.

Test Plan
1. CI
CI passes. New unit tests were added, but they do not cover all of the changes I made. I did not spend more time adding additional unit tests for the following reasons:

The changes made in the Job classes are straightforward, and adding unit tests would add complexity without significantly improving coverage.
The changes made in the System classes cannot be fully tested with unit tests.

2. Ran on a server
Sleep
$ python cloudaix.py --mode run --system-config conf/v0.6/general/system/system.toml --test-templates-dir conf/v0.6/general/test_template --tests-dir conf/v0.6/general/test --test-scenario conf/v0.6/general/test_scenario/sleep.toml
[INFO] System configuration file: conf/v0.6/general/system/system.toml
[INFO] Test templates directory: conf/v0.6/general/test_template
[INFO] Tests directory: conf/v0.6/general/test
[INFO] Test scenario file: conf/v0.6/general/test_scenario/sleep.toml
[INFO] Output directory: None
[INFO] System Name: System
[INFO] Scheduler: slurm
[INFO] Test Scenario Name: test_scenario_example
[INFO] Checking if test templates are installed.
[INFO] Test Scenario: test_scenario_example

Section Name: Tests.1
  Test Name: sleep_10
  Description: sleep_10
  No dependencies
Section Name: Tests.2
  Test Name: sleep_5
  Description: sleep_5
  Start Post Init: Tests.1, Time: 5 seconds
Section Name: Tests.3
  Test Name: sleep_5
  Description: sleep_5
  Start Post Comp: Tests.1, Time: 0 seconds
Section Name: Tests.4
  Test Name: sleep_20
  Description: sleep_20
  End Post Comp: Tests.1, Time: 5 seconds
[INFO] Initializing Runner
[INFO] Creating SlurmRunner
[INFO] Starting test scenario execution.
[INFO] Starting test: Tests.1
[INFO] Running test: Tests.1
[INFO] Executing command for test Tests.1: sbatch /obfuscated/path/results/test_scenario_example_2024-08-23_22-46-25/Tests.1/0/cloudai_sbatch_script.sh
[INFO] Starting test: Tests.4
[INFO] Running test: Tests.4
[INFO] Executing command for test Tests.4: sbatch /obfuscated/path/results/test_scenario_example_2024-08-23_22-46-25/Tests.4/0/cloudai_sbatch_script.sh
[INFO] Delayed start for test Tests.2 by 5 seconds.
[INFO] Starting test: Tests.2
[INFO] Running test: Tests.2
[INFO] Executing command for test Tests.2: sbatch /obfuscated/path/results/test_scenario_example_2024-08-23_22-46-25/Tests.2/0/cloudai_sbatch_script.sh
[INFO] Job completed: Tests.1
[INFO] Delayed start for test Tests.3 by 0 seconds.
[INFO] Starting test: Tests.3
[INFO] Running test: Tests.3
[INFO] Executing command for test Tests.3: sbatch /obfuscated/path/results/test_scenario_example_2024-08-23_22-46-25/Tests.3/0/cloudai_sbatch_script.sh
[INFO] Scheduling termination of job 286816 after 5 seconds.
[INFO] Job completed: Tests.2
[INFO] Job completed: Tests.4
[INFO] Job completed: Tests.3
[INFO] All test scenario results stored at: /obfuscated/path/results/test_scenario_example_2024-08-23_22-46-25
[WARNING] Skipping directory '/obfuscated/path/results/test_scenario_example_2024-08-23_22-46-25/Tests.1/0' for test 'sleep_10'
[WARNING] Skipping directory '/obfuscated/path/results/test_scenario_example_2024-08-23_22-46-25/Tests.2/0' for test 'sleep_5'
[WARNING] Skipping directory '/obfuscated/path/results/test_scenario_example_2024-08-23_22-46-25/Tests.3/0' for test 'sleep_5'
[WARNING] Skipping directory '/obfuscated/path/results/test_scenario_example_2024-08-23_22-46-25/Tests.4/0' for test 'sleep_20'

NCCL test
$ python cloudaix.py --mode run --system-config conf/v0.6/general/system/system.toml --test-templates-dir conf/v0.6/general/test_template --tests-dir conf/v0.6/general/test --test-scenario conf/v0.6/general/test_scenario/nccl_test.toml
[INFO] System configuration file: conf/v0.6/general/system/system.toml
[INFO] Test templates directory: conf/v0.6/general/test_template
[INFO] Tests directory: conf/v0.6/general/test
[INFO] Test scenario file: conf/v0.6/general/test_scenario/nccl_test.toml
[INFO] Output directory: None
[INFO] System Name: System
[INFO] Scheduler: slurm
[INFO] Test Scenario Name: nccl-test
[INFO] Checking if test templates are installed.
[INFO] Test Scenario: nccl-test

Section Name: Tests.1
  Test Name: nccl_test_all_reduce
  Description: all_reduce
  No dependencies
[INFO] Initializing Runner
[INFO] Creating SlurmRunner
[INFO] Starting test scenario execution.
[INFO] Starting test: Tests.1
[INFO] Running test: Tests.1
[INFO] Executing command for test Tests.1: sbatch /obfuscated/path/results/nccl-test_2024-08-23_22-50-48/Tests.1/0/cloudai_sbatch_script.sh
[INFO] Job completed: Tests.1
[INFO] All test scenario results stored at: /obfuscated/path/results/nccl-test_2024-08-23_22-50-48

Rebased to the main branch.


Enabled to override command

Pull Request
What does this PR do?
I would like to use the experimental feature of Meilisearch.
https://github.com/meilisearch/meilisearch/discussions/2070
--enable-auto-batching cannot be enabled via environment variables, it must be set via CLI arguments.
So I made it possible to override the pod command.
PR checklist
Please check if your PR fulfills the following requirements:

[x] Does this PR fix an existing issue?
[x] Have you read the contributing guidelines?
[x] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!

bors merge

would be great to provide an example of how to use it, like:
command: "./meilisearch --enable-auto-batching"

Hi @dbacinski,
I totally agree with it but I'm not sure where we could add it, in the README.md inside the chart?
What do you think?


Adds wholesale pricing to product.

This adds a filed to all products for wholesale pricing.  This pricing is only available to members in the Wholesale Customer group.  If a member in this group is logged in they will see the wholesale price as well as an MSRP price (the regular retail price).
Whole sale users when checking out will not be charged tax if retail users would be.
At the current moment the vetting process for a wholesale user is still manual. Users can not self register for a wholesale account.

Sorry I haven't been able to get to this yet - I haven't forgotten

No worries Mesuva, we are all busy people. I did find a missed merge conflict that I fixed.  Let me know if you find anything else.
Thanks

I've just merged this work into the master branch, with a few tweaks and fixes.
If you have a chance to review my changes to your work in case I've overlooked anything that would be great.
The main thing I adjusted was making the the group for the Wholesale Customers configurable and based off an ID so it can be renamed, changed, etc.


DS-3169

Moved the discovery facets and sidebar text to the sidebar on the community page for jspui.
jira ticket:
https://jira.duraspace.org/browse/DS-3169?jql=labels %3D testathon

+1 (tested)

+1 by inspection


VNet with Azure Spring Cloud and Redis overlapping addresses

Overview of the issue

VNET integration with Azure Spring Cloud and Redis have overlapping address spaces.
Spring Cloud application subnet and Redis subnet uses "<IP_ADDRESS>/24"
Motivation for or Use Case

Reproduce the error
Generate a terraform script for Azure Spring Cloud and Redis.

Related issues

Suggest a Fix

Change address spaces for Redis when using Azure Spring Cloud
NubesGen Version(s)
0.7

Browsers and Operating System

Closed in #227 and #228


fixed typos

fixd some typos and copy/paste problems in the docs

Hi, thanks for the PR. Sorry for the long delay, didn't get a notification for these for whatever reason.
This PR is for a Julia client skeleton right?

oh, i think i just forgot to create a new branch, this was just supposed to be the first commit, which fixes some copy paste errors and typos in the documentation that I encountered while working on the julia client. The latter is almost, but not quite finnished yet, but I hope I will have that ready by tomorrow.

No problem, looking forward to it

so, I think it should be working now

OK, I don't know if/how it is possible to change the branch of the PR, I have added a new one where the commits are cleaned up.

AFAICS these are merged in https://github.com/futurice/space-tyckiting/pull/5. Closing this one.


add build badge & remove reference to circleCI

Fixes BLUI-5710.

Changes proposed in this Pull Request:

add build badge for Github workflow
remove circleCI references in publish readme
update blui-ci name space to Build

Screenshots / Screen Recording (if applicable)

To Test:

Any specific feedback you are looking for?

Looks like the workflow's name is not updated on the origin:

It is in all Readme's of this repo.

yes it should update once merged


update browserpass app id

browserpass just updated to version 3, changing the app id and breaking the home-manager module. this change fixes that.

Works for me: nixos 19.03, firefox 66.0.2, extension version 3.0.9.

Thanks! Rebased to master in cb93316fed4f7002f332392c70b9e9844fab1a57. I guess this needs to be in the release-19.03 branch as well?

@rycee yes, and the browserpass update in nixpkgs was backported to 18.09 as well (https://github.com/NixOS/nixpkgs/pull/58639#issuecomment-478630655)

@ashkitten Thank you. It's in the release-19.03 and release-18.09 branches now :+1:


"Rădăuți-Prut" is listed in the drop-down menu

Description:
"Rădăuți-Prut" is listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Rădăuți-Prut" in the search bar.

Expected results
The location is listed in the drop-down menu as "Rădăuți-Prut, Botoșani ".


Repository - Base class

There are already base classes for Readonly and Crud, will not introduce repository without aggregates because then mapping is not possible and then the repository would just deal with EF objects.


More job fixes

Fixes more key errors (!), ports #69 to master, and enables a QA alg rule.

I was just able to test this. Jobs are getting created and are looking good. Don't have engine to test end-to-end.
Had to rebase to master to get superuser requests working. Was painless. Happy to force-push if desired.
Side note: HTTP status code 401 is reserved for reporting invalid oauth tokens. Please use 403 instead.

Rebased & ready to merge.
Threw in 401 -> 403. We should stop putting integers everywhere and use references instead.


Dashboard returns 404 but RP works fine

I am using Traefik in an ASF project, and the dashboard returns a 404 - http://localhost:8080. The routing rules still work perfectly I just have no visualization.
Can anyone suggest a reason / how to troubleshoot this?
Could No Extension found for Traefik/Traefik be the culprit?
Traefik.toml
################################################################
 # Global configuration
 ################################################################

 debug = true
 logLevel = "INFO"

 defaultEntryPoints = ["http"]

 [entryPoints]
 [entryPoints.http]
 address = ":80"
 [entryPoints.traefik]
 address = ":8080"

 ################################################################
 # API definition
 ################################################################

 [api]
   entryPoint = "traefik"
   dashboard = true
   debug = true

 ################################################################
 # Service Fabric provider
 ################################################################

 [servicefabric]
 clustermanagementurl = "http://localhost:19080"
 apiversion = "3.0"

Log Entries:

time="2018-03-26T16:52:19+11:00" level=debug msg="Extension label
found for acme.Hierarchy/acme.Hierarchy.Service with key
traefik.frontend.rule and value PathPrefixStrip: /hierarchy"
time="2018-03-26T16:52:19+11:00" level=debug msg="Extension label
found for acme.Hierarchy/acme.Hierarchy.Service with key
traefik.expose and value true"  time="2018-03-26T16:52:19+11:00"
level=debug msg="Extension label found for
acme.Hierarchy/acme.Hierarchy.Service with key
traefik.frontend.passHostHeader and value true"
time="2018-03-26T16:52:19+11:00" level=debug msg="No Extension found
for Traefik/Traefik"  time="2018-03-26T16:52:19+11:00" level=debug
msg="Configuration received from provider servicefabric:
{"backends":{"fabric:/acme.Hierarchy/acme.Hierarchy.Service":{"servers":{"131665139249762233":{"url":"http://localhost:3001","weight":1}},"loadBalancer":{"method":"drr"}},"fabric:/Traefik/Traefik":{"servers":{"131665162941723979":{"url":"http://localhost:8080/","weight":1}},"loadBalancer":{"method":"drr"}}},"frontends":{"fabric:/acme.Hierarchy/acme.Hierarchy.Service":{"entryPoints":["http"],"backend":"fabric:/acme.Hierarchy/acme.Hierarchy.Service","routes":{"frontend.rule":{"rule":"PathPrefixStrip:
/hierarchy"}},"passHostHeader":true,"priority":0,"basicAuth":null,"headers":{}}}}"
time="2018-03-26T16:52:19+11:00" level=info msg="Skipping same
configuration for provider servicefabric"
time="2018-03-26T16:52:29+11:00" level=info msg="Checking service
fabric config"  time="2018-03-26T16:52:29+11:00" level=debug
msg="Extension label found for acme.Hierarchy/acme.Hierarchy.Service
with key traefik.frontend.rule and value PathPrefixStrip: /hierarchy"
time="2018-03-26T16:52:29+11:00" level=debug msg="Extension label
found for acme.Hierarchy/acme.Hierarchy.Service with key
traefik.expose and value true"  time="2018-03-26T16:52:29+11:00"
level=debug msg="Extension label found for
acme.Hierarchy/acme.Hierarchy.Service with key
traefik.frontend.passHostHeader and value true"
time="2018-03-26T16:52:29+11:00" level=debug msg="No Extension found
for Traefik/Traefik"  time="2018-03-26T16:52:29+11:00" level=debug
msg="Configuration received from provider servicefabric:
{"backends":{"fabric:/acme.Hierarchy/acme.Hierarchy.Service":{"servers":{"131665139249762233":{"url":"http://localhost:3001","weight":1}},"loadBalancer":{"method":"drr"}},"fabric:/Traefik/Traefik":{"servers":{"131665162941723979":{"url":"http://localhost:8080/","weight":1}},"loadBalancer":{"method":"drr"}}},"frontends":{"fabric:/acme.Hierarchy/acme.Hierarchy.Service":{"entryPoints":["http"],"backend":"fabric:/acme.Hierarchy/acme.Hierarchy.Service","routes":{"frontend.rule":{"rule":"PathPrefixStrip:
/hierarchy"}},"passHostHeader":true,"priority":0,"basicAuth":null,"headers":{}}}}"
time="2018-03-26T16:52:29+11:00" level=info msg="Skipping same
configuration for provider servicefabric"

HI @knowhoper - could you please share the extensions section in your ServiceManifest.xml? What version of Traefik are you running? What browser are you trying to view the dashboard in?

HI @jjcollinge thanks for your fast response. I was using the latest Traefik.exe AMD 64, and Chrome 65.0.3325.181. I reverted to the version of Traefik in our repo and the dashboard appears. What I thought was odd was the lack of dashboard but RP working perfectly. We can probably close this issue as I have a working version now.


Hostnames are ambiguously resolved on Dual Stack IPv4/6 Networks

Steps to reproduce:
Network like Splunk's, with support for both IPv4 and IPv6.
Two machines configured for both protocols.
One running Splunk.
One running Splunk Python SDK.
When hostname is provided, Splunk Python SDK will attempt to connect using IPv6 if the machine being reached has a AAAA record.  Unfortunately, Splunkd does not come configured automatically to listen on IPv6.  So the service attempts to connect and times out.  We should have a default of using IPv4 to connect, with a suite of configurable options akin to Splunk's own "connectUsingIpVersion" directive.
http://docs.splunk.com/Documentation/Splunk/latest/Admin/ConfigureSplunkforIPv6#Configure_Splunk_to_listen_on_an_IPv6_network
http://docs.python.org/library/socket.html
This is a common issue with any utility using php, perl, python... pretty much any language that utilizes the getHostByHostname family of underlying routines.  Sadly, this is not elegantly configurable as IPv6 support for python's socket is a compile time option.  Best work around is to use socket directly to resolve the hostname at connect time (do not cache this data) and use the appropriate returned IP address(es) for the connect option desired.

Closing as we have no updated report here.


[WIP] Implementing --trinity-root-dir

What was wrong?
Trinity promotes --trinity-root-dir to overwrite the trinity root dir but we actually don't pick that up anywhere. In other words, passing --trinity-root-dir is absolutely useless right now.
Issue Reference: https://github.com/ethereum/py-evm/issues/951, https://github.com/ethereum/py-evm/issues/922
How was it fixed?
Implementing --trinity-root-dir
Cute Animal Picture

Before getting any further, would like to get an early feedback on the implementation. If ok, then go further to complete the design, implementing the root folder to the log folder, etc.

I'm not so sure if TRINITY_DATA_DIR == TRINITY_ROOT_DIR

They are not the same

TRINITY_DATA_DIR -> The root directory that trinity will use for the various chain data like the IPC connection for JSON-RPC, the location of the chain database, etc.
TRINITY_ROOT_DIR -> The root directory that trinity will use to put data directories for the different chains it runs.

By default:

TRINITY_ROOT_DIR -> ~/.local/share/trinity
TRINITY_DATA_DIR  -> $TRINITY_ROOT_DIR/<chain-name>

@pipermerriam so we don't really need this then?

@pipermerriam so that means we won't default the TRINITY_ROOT_DIR to the $HOME/.local/share/trinity then ?

so that means we won't default the TRINITY_ROOT_DIR to the $HOME/.local/share/trinity then ?

Yes, but the default value is based on the XDG spec
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
So I say we still need get_xdg_trinity_root since the root dir is defined as $XDG_DATA_HOME/trinity.

Yes, but the default value is based on the XDG spec

@pipermerriam sorry, can you please clarify what you meant by this. That is because get_xdg_trinity_root will return $HOME/.local/share/trinity as default.

Lemme try to clarify.
We need get_xdg_trinity_root for the case where it hasn't been overridden in the command line or via environment variable.
Currently, trinity.utils.chains.get_local_data_dir uses get_xdg_trinity_root to determine the appropriate data directory.  Since we're allowing the trinity root dir to be set via CLI, we need to do one of two things.

When --trinity-root-dir has been specified in the command line, we populate the environment variable XDG_TRINITY_ROOT with the provided value so that get_xdg_trinity_root returns the correct value.
Change the call signature to get_local_data_dir to instead require that the trinity root dir be explicitely provided.

I'm in favor of option 2 as I think it is less magic.
So, we need to modify all call sites to get_local_data_dir to provide the trinity_root_dir.  This is probably primarily in the ChainConfig object and tests.

So I would like to ask for a suggestion to name the functions in this file
Before I made this change, I was getting this error: https://gist.github.com/glaksmono/6c01f72fbc0e83e8b7e208b821c0d052
To be specific, AF_UNIX path too long. That is the path to the IPC pipe is too long. The problem though, is that even if I'm just using the name of test_t1, it's giving that error already, so I'm not sure what kind of short name we want here.

@glaksmono

The problem though, is that even if I'm just using the name of test_t1, it's giving that error already,

Mmh, in that case, I think we should look how we can hook into the pytest directory generation. The current path should be something like /private/var/folders/j1/r4dzzr892pd5v6wk_v78_kvc0000gn/T/pytest-of-glaksmono/pytest-23/popen-gw0/test_does_not_throw_command5_0/trinity-root-dir/<name-of-ipc-pipe> and I think if we can hook into the process of how these are generated we may be able to trim it down (while still providing unique temp paths) to something like /private/var/folders/j1/r4dzzr892pd5v6wk_v78_kvc0000gn/T/pytest-glaksmono/<uuid>/<name-of-ipc-pipe>
I haven't looked into that myself but maybe the following link can be a good start.
https://docs.pytest.org/en/latest/reference.html#tmpdir-factory-api

Alternative is to use the stdlib tempfile library which I believe creates shorter paths.

replaced by #1268


Crash when trying to access menu items

While the bandcamp menu starts I can't enter any menu item.
The logs show the following:
2024-08-17 11:42:27.659 T:975     error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'TypeError'>
                                                   Error Contents: 'NoneType' object is not subscriptable
                                                   Traceback (most recent call last):
                                                     File "/var/lib/kodi/.kodi/addons/plugin.audio.kxmxpxtx.bandcamp/default.py", line 179, in <module>
                                                       main()
                                                     File "/var/lib/kodi/.kodi/addons/plugin.audio.kxmxpxtx.bandcamp/default.py", line 114, in main
                                                       build_genre_list()
                                                     File "/var/lib/kodi/.kodi/addons/plugin.audio.kxmxpxtx.bandcamp/default.py", line 51, in build_genre_list
                                                       genre_list = list_items.get_genre_items(cache.cacheFunction(bandcamp.get_genres))
                                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                                     File "/var/lib/kodi/.kodi/addons/script.common.plugin.cache/resources/lib/storage_server/StorageServer.py", line 609, in cacheFunction
                                                       ret_val = funct(*args)
                                                                 ^^^^^^^^^^^^
                                                     File "/var/lib/kodi/.kodi/addons/plugin.audio.kxmxpxtx.bandcamp/resources/lib/bandcamp_api/bandcamp.py", line 114, in get_genres
                                                       return self._get_data_blob()['signup_params']['genres']
                                                              ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
                                                   TypeError: 'NoneType' object is not subscriptable
                                                   -->End of Python script error report<--

2024-08-17 11:42:27.923 T:973     error <general>: GetDirectory - Error getting plugin://plugin.audio.kxmxpxtx.bandcamp/?mode=list_discover
2024-08-17 11:42:27.970 T:522     error <general>: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.kxmxpxtx.bandcamp/?mode=list_discover) failed

Adding a few log messages it shows that the URL returns a 403 response:
2024-08-17 11:57:36.809 T:1910     info <general>: url: https://bandcamp.com/rnstlr
2024-08-17 11:57:36.810 T:1910     info <general>: request: <Response [403]>
2024-08-17 11:57:36.810 T:1910     info <general>: request content: b'\n<?xml version="1.0" encoding="utf-8"?>\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"\n "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\n\n  \n    <title>403 Forbidden</title>\n  \n  \n
Error 403 Forbidden
\n
Forbidden
\n
Error 54113
\n
Details: cache-fra-etou8220128-FRA<PHONE_NUMBER> 722597740
\n
\n
Varnish cache server
\n  \n\n'

I also had this 403 issue, and published a release v0.5.1 that resolves it on my end using a different user agent. It should be in the Kodi repo now. Let me know if that resolves the issue for you as well.


fix(deps): update terraform github.com/terraform-ibm-modules/terraform-ibm-landing-zone-vsi to v2.3.0

This PR contains the following updates:

Package
Type
Update
Change

github.com/terraform-ibm-modules/terraform-ibm-landing-zone-vsi
module
minor
v2.1.0 -> v2.3.0

Release Notes

terraform-ibm-modules/terraform-ibm-landing-zone-vsi
v2.3.0
Compare Source
Features ((#467) (8f10810)

added new variable kms_encryption_enabled which now needs to be set to true to enable KMS encryption
added support to create KMS auth policy along with variable skip_iam_authorization_policy to toggle policy creation on or off
added extra validation around the use of KMS variables
added a new FSCloud profile terraform submodule (see profiles/fscloud) and an example on how to use it (see examples/fscloud)

v2.2.0
Compare Source
Features

add support for access tags (#469) (ff5dc23)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

/run pipeline

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline


Add tests for damage of tools and equipment

I have no tests validating damage behaviour on Minecraft, which is some of the reason that I had bugs and needed to release 0.9.4 and 0.9.5.

are added


Feature request: support for webpack resolve.alias and resolve.root

I saw that this was mentioned in https://github.com/ericclemmons/npm-install-webpack-plugin/issues/13#issuecomment-178392747 and that it is currently being worked on (:clap:), but thought it might make sense to have it as it’s own issue for other people who have discovered the problem and want to know more about it. But please feel free to close this issue. Also, if there are any parts of the work to support resolve.root / resolve.alias that others could help with, I’d love to contribute!
On to the issue description:

If you set up a webpack alias that you want to be able to use in your imports / requires, those aliases will be interpreted as referring to an external npm package, and this plugin will try to install it. For example, if you define an svg alias to point to a folder of svg files, and then want to require one of those files like require('svg/icon.svg'), you will have npm’s svg package installed into your repo.

This should be resolved in #17!  Please re-open if this doesn't work with v3.0.0.


DefaultRenderer dependency on pure-render-mixin

Version
3.33.0

react-native-router-flux v3.33.0
react-native v0.29.0

Problem
DefaultRenderer depends on react-addons-pure-render-mixin as of #1006 but it is not in package.json.

https://github.com/aksonov/react-native-experimental-navigation/pull/4

+1

@sarovin Could you add it?
Pavel.

4 авг. 2016 г., в 21:17, Farid from Safi<EMAIL_ADDRESS>написал(а):
+1
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

#1021


Roll Engine from 26e217e6c3d4 to e47d0d882add (4 revisions)

https://github.com/flutter/engine/compare/26e217e6c3d4...e47d0d882add
2021-05-17<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from v4P6zkHIE... to KmSY84b_E... (flutter/engine#26189)
2021-05-17<EMAIL_ADDRESS>Roll Skia from d22a70be4f00 to 9c2769ec1198 (1 revision) (flutter/engine#26188)
2021-05-17<EMAIL_ADDRESS>Add diagrams for Wiki (flutter/engine#26172)
2021-05-17<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from q9Qi_9RMf... to l6XmTSLnt... (flutter/engine#26187)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from q9Qi_9RMffk9 to l6XmTSLnt_jR
fuchsia/sdk/core/mac-amd64 from v4P6zkHIEaEp to KmSY84b_Efmz
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Commit queue failed; closing this roll.


compose: Split compose.js - move compose_error outside it.

This moves compose_error() out of the compose.js
Next I plan to move compose_not_subscribed_error()

See https://chat.zulip.org/#narrow/stream/6-frontend/topic/splitting.20compose.2Ejs for discussion.
Testing plan:
Tested this with node tests mainly.

This is great; squashed and merged, since I think that provides the clearest commit history for this change.
Thanks @Signior-X!


🐛 [firebase auth] Cannot connect to emulator with hostname specified on iOS or Android

Bug report
Describe the bug
I have started the emulator locally using the following configuration
{
  "emulators": {
    "firestore": {
      "port": 8088,
      "host": "<IP_ADDRESS>"
    },
    "auth": {
      "port": "8082",
      "host": "<IP_ADDRESS>"
    },
    "ui": {
      "enabled": true
    }
  }
}

And when I setup the firebase authentication instance I use following code
fireAuth.useAuthEmulator("siia.local.int", int.parse(8082));

where siia.local.int resolves to the ip on my local machine in the private IP space. This host is also used to connect to the firestore emulator.
The app can connect without issues to the firestore emulator but fails to connect to the firestore auth emulator
[firebase_auth/network-request-failed] Network error (such as timeout, interrupted connection or unreachable host) has occurred.

Interestingly, on Android I get the following message
[firebase_auth/unknown] com.google.firebase.FirebaseException: An internal error has occurred. [ Cleartext HTTP traffic to siia.local.int not permitted ]

However, when I instead use <IP_ADDRESS> for the iOS simulator it works.
Steps to reproduce
As per above
Expected behavior
Connection to firebase auth emulator should work
Flutter doctor
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.5.3, on macOS 11.6 20G165 darwin-x64, locale en-AU)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0-rc1)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] IntelliJ IDEA Community Edition (version 2020.3.2)
[✓] VS Code (version 1.58.2)
[✓] Connected device (3 available)

• No issues found!

Flutter dependencies
Click To Expand
  cloud_firestore: ^3.1.0
  firebase_core: ^1.10.0
  firebase_auth: ^3.2.0

Just to add, if I allow cleartext to that hostname in Android by specifying it in the manifest file then I get the same error as the one from iOS as well

@muzzah
Can you try / confirm couple of things ?

Are you using a hotspot connection to connect or through wifi ?
Can you check if any firewall rules are blocking the firebase_auth emulator to invoke properly ?
Add the IP assigned to your computer by router in your emulator configuration and see if it helps ?

Seems to have been some kind of weird state issue. I dont know why but I did a content erase on the simulator and then reinstalled the app, it then worked. Sorry I couldnt provide further details. Ill close the issue and reopen if it persists


Added disabled bindable on md-input custom element

#179

Please provide a sample in the docs for new features.
(as discussed in chat :smile: )

Done ;)

Thank you! :+1:

Please see here for some conventions we use to help auto-generate the changelogs.

Please also remember to lint your changes. Got these linter errors:
sample\src\samples\input\basic-use.js
  8:4  error  Expected indentation of 4 space characters but found 0  indent

sample\src\samples\input\textarea.js
  8:4  error  Expected indentation of 4 space characters but found 0  indent

✖ 2 problems (2 errors, 0 warnings)

I propose using an editorconfig](http://editorconfig.org/#download) plugin for your editor of choice. It should automatically apply our formatting conventions set in a .editorconfig file.

The PR is uploaded in 0.6.0 and visible in the app catalog.


Merge xprize finals code

As per title

Maybe before merging we can wait for the tests of today

Maybe before merging we can wait for the tests of today

We can also address https://github.com/robotology/walking-teleoperation/pull/108#discussion_r983298598 then

@S-Dafarra @GiulioRomualdi I think we can finally merge this

@S-Dafarra @GiulioRomualdi I think we can finally merge this

Agreed!


Issue while running sample example

I am running the sample code (on Ubuntu 64 bit and python 2.7.12 ) from the wiki:
from pyAudioAnalysis import audioBasicIO from pyAudioAnalysis import audioFeatureExtraction import matplotlib.pyplot as plt [Fs, x] = audioBasicIO.readAudioFile("sample.wav"); F = audioFeatureExtraction.stFeatureExtraction(x, Fs, 0.050*Fs, 0.025*Fs); plt.subplot(2,1,1); plt.plot(F[0,:]); plt.xlabel('Frame no'); plt.ylabel('ZCR');  plt.subplot(2,1,2); plt.plot(F[1,:]); plt.xlabel('Frame no'); plt.ylabel('Energy'); plt.show()
I get the following error:
Traceback (most recent call last):
File "sample.py", line 5, in
F = audioFeatureExtraction.stFeatureExtraction(x, Fs, 0.050Fs, 0.025Fs);
File "/home/peps/Music_Recognition-ML/pyAudioAnalysis/audioFeatureExtraction.py", line 580, in stFeatureExtraction
curFV[2] = stEnergyEntropy(x)                    # short-term entropy of energy
File "/home/peps/Music_Recognition-ML/pyAudioAnalysis/audioFeatureExtraction.py", line 56, in stEnergyEntropy
subWindows = frame.reshape(subWinLength, numOfShortBlocks, order='F').copy()
ValueError: total size of new array must be unchanged
on inserting some print statements i get:
frame length--> 2205
frame shape--> (2205, 2)
Eol--> 31.9334385705
L--> 2205
subWinLength--> 220
frame length--> 2200
frame shape--> (2200, 2)
Any ideas what am I doing wrong ?

I converted the WAV files to a sample rate of 16000, and then it worked.


Update backup instructions

Backup instructions here could be updated.
We could add instructions as to how to update with Velero as well as a note about the order of restore (i.e Secrets should be created before cert-manager CRs and any ingress resources using ingress-shim )

/assign


FreeBSD adjustments

Using this patch, I was able to build MADlib trunk on FreeBSD 10.1 and PostgreSQL 9.4 (using gcc48 - clang currently has more issues)

Hi Tobias,
The diff looks okay, although I guess it would also work if you set CXX and CC to add the include, like
$ CXX="g++ -I/usr/local/include" CC="gcc -I/usr/local/include" cmake /path/to/madlib_src

I am not familiar with FreeBSD and am curious what header files are needed from /usr/local/include in your environment? If they are expected to be needed in many environment, I am good to merge this PR.
Thanks,
Aaron

Hi Aaron,
/usr/local/include is the standard place on FreeBSD for headers from everything not in the base system (coming from "ports collection"). I think it was libintl.h it was missing. Note that GCC is no longer the base system compiler on FreeBSD (it is clang nowerdays).
Yes, I could have set include path from CXX/CC .. the m4 patch is definitely required though (the BSD m4 bails out on the GNU --prefix-builtins option).
For completeness, here is what I did:
pkg add gmake gcc48 bash-static python27
export CC=`which gcc48`
export CXX=`which g++48`
ln -s /usr/local/bin/python2.7 /usr/local/bin/python
ln -s /usr/local/bin/bash /bin/bash

The latter 2 are ugly. The latter symlink is for the madpack script to work (which assumes /bin/bash is shebang). The former symlink I also needed.

@haying anything you want me to change or add for merging?

Hi Tobias,
I will merge the m4 option change. Given GCC is not the default compiler for FreeBSD and we have a known work-around, I will skip the include path. The code should be in sometime this week.

Merged in edef045

thanks!


docs: Add note on valid characters for keys

Description
Adds a note on what characters are allowed in key values for the nerd-storage-vault service.
Related Issue(s) / Ticket(s)
https://new-relic.atlassian.net/browse/NR-267056

 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.


Interactive playground Errors and warnings section not useful

Issue Type: Bug
In the interactive playground, the errors and warnings section does not show any errors until you make an edit. Also the code example is weird. We should show a real syntax error instead of errors about using TS in a JS file
VS Code version: Code - OSS Dev 1.40.0 (Commit unknown, Date unknown)
OS version: Darwin x64 18.7.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz (8 x 2200)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_offsurface_control: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
16.00GB (0.28GB free)

Process Argv
.

Screen Reader
no

VM
0%

@mjbvz There are no errors anymore, also not after typing. Also in the IntelliSense section. Hovers and IntelliSense still work.
Also: initialization of the TypeScript extension is not triggered anymore, so Hovers and IntelliSense don't have good type information until after a TypeScript / JavaScript file was opened.
Please advise.

aabcbd5ef89619fb15af2fde06eb85a9a999e65f Should re-enable errors and warnings in the interactive playground. I also confirmed that hovers and IntelliSense should work

@mjbvz The editor in the Editors and Warnings section still needs an edit to trigger the errors. That seems to be some other issue, do you know what might cause that?

The errors only show up in the first embedded editor. When I move the 'Errors and Warnings' one to the top, it shows errors, but the IntelliSense one no longer does.


Update pixi.js to v6.5.1

Closes https://github.com/League-of-Foundry-Developers/foundry-vtt-types/issues/2179

Is this PR still relevant? Foundry v11 will move to pixi 7.x so maybe we can skip this?

I'm going to say no and close this PR.


Hard requirement of PyTorch to LTS

Fixes #N.A.
Proposed Changes

requirement set for LTS
setup updated
updated CI runners

Checklist

[x] I have read the CONTRIBUTING guide
[x] My PR is based from the current GaNDLF master
[x] Non-breaking change (would not break existing functionality): please provide as many details as possible for any breaking change
[x] Function/class source code documentation added/updated
[x] Code has been blacked for style consistency
[x] If applicable, version information has been updated in GANDLF/version.py
[x] If adding a git submodule, add to list of exceptions for black styling in pyproject.toml file
[x] Usage documentation has been updated, if appropriate
[x] History has been updated, if appropriate
[x] Tests added or modified to cover the changes; if coverage is reduced, please give explanation
[x] If customized dependency installation is required (i.e., a separate pip install step is needed for PR to be functional), please ensure it is reflected in all the files that control the CI, namely: python-test.yml, and all docker files [1,2,3,4]

ROCm version of the Docker will no longer work with this merge, but I think that's fine.


iframe within a webview does not allow you to use drag and drop

Issue Type: Bug
Following the sample on the docs to open an iframe within a webview: https://code.visualstudio.com/api/advanced-topics/remote-extensions#option-1-use-asexternaluri - I noticed that drag&drop functionality is not working on the iframe its content.
On the webview, it all works fine, but inside the iframe its contents it's not working. It seems that events are just ignored or not correctly bubble down to the iframe.
When loading the same site/page from outside VS Code, within an iframe, it works fine. So it seems to be the communication from the webview in VS Code to the iframe.
 They generally don't play nicely with VS Code without extra work

Unfortunately not. There are indeed some pitfalls of using the iframe approach, but they also provide major benefits to the development process.
I can overcome the pitfalls by creating a good communication strategy between vscode -> webview -> iframe. Currently, the only blocking factor is the drag&drop.

Going to take a different approach, so will close the issue for now.


[feature request] Preserve description of existing PR

It seems currently pr-train -p --create-prs would override the whole description of existing PR with the PR list. It's pretty undesirable. It would be helpful if it just update (or insert) the PR list but not touch the existing content.

Hey @upsuper as of 2.2.0 git pr-train --create-prs preserves the title and description and only updates the table of contents.

Oh that's a great news! When would that get published? It's still 2.1.2 on npm.

Published now (2.2.1). 👍 I thought I had already but looks like I haven't. Oh well.


[Fix #9603] Fix a false positive for Style/SoleNestedConditional

Fixes #9603.
This PR fixes a false positive for Style/SoleNestedConditional when using nested modifier on value assigned in condition.

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

Thanks!


Benchmarks with dummy signature scheme

This is not supposed to be merged. The PR is created to test the code in CI before it's deployed to testnet.

Ooc, is there a better pattern (ie load the key type from some config) to be able to switch key types without changing the code each time?
yeah it seems a bit more complex as we pin validator sig Vs being abstracted, maybe it's a feature as we should be careful with that and when we agree on the scheme we won't change it. All good, thanks for this PR, very useful for benchmarking

We could add the extra functions under a feature flag or something like that, but it would add quite a bit of code that is redundant when not running with unsecure signatures, so I think having this PR and keeping it up to date every few days is probably just as easy.


leo-editor: 5.1 -> 5.3

Motivation for this change
https://github.com/NixOS/nixpkgs/issues/15713
Things done

[x] Tested using sandboxing
(nix.useChroot on NixOS,
or option build-use-chroot in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] OS X
[x] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

@FRidh There you go. I also added a .desktop by going over leo/core/leoApp.py for some mimetypes.

Btw, I should make it clear I'm circumventing leo/dist/setup.py by not using buildPythonApplication.
If that's a problem, I could try reverting that change.

Why are you circumventing that?

Because I'll probably need to start patching things and handle such dependencies as docutils and sip...

Thanks!


Implement a function to deserialize NIP-01 event from Span<felt252>

Depends on #10.

hi can I take this one up??

hi can I take this one up??

Hey, nice to meet you. How long do you think it would take you?

shouldn't take long. What I essentially need is to implement a function which would deserialize the data received from the nip-01 event. Also afaik, this is blocked until #10 is resolved right where the struct will be created for this event?

Right, but you do not need to wait until #10 is done to start the work.

@bhavyagosai what is your telegram handle?

@bhavyagosai I realized there is no need to deserialize events in Cairo. Please contact me on telegram (@aundumla) to discuss what you can work on.


Change path in yaml for ingestion tutorial

The pipeline.yml provided in the tutorial includes a path that doesn’t play well with the tutorial.
You probably want to change panpipes-tutorials/tutorials/ingesting_data/qc_genelist_1.0.csv to qc_genelist_1.0.csv.
For example, see the GitHub action workflow which uses ‘sed’ to change that file path https://github.com/DendrouLab/panpipes/blob/kra-gha/.github/workflows/ingestion-ci.yml#L88

Personally, I don't think that changing it to qc_genelist_1.0.csv will help since it assumes that the file is in your current directory, which for example my case wasn't. I think the way to go around it (especially for new users) would be to make it clear in the tutorials that each user will have to adapt the yml to the correct path based on their own setup. Since this has to be done all throughout the various tutorials.

I'm confused. Why would it assume that it's in the current directory if the pipeline.yml declares a path to another directory?

Side note: the tutorial generally does a good job of indicating bits that need to be adjusted by users. However, this is the only place in the whole tutorial where the example file is not immediately usable as is. All the other example files contain values that point to the place where the tutorial files are located/downloaded.


Add realistic Dynamic Weather

Implement a dynamic weather system to allow for some more randomized experience in session :)

Rotorheads uses something like this, the problem is adding it into the miz file.  We may have to make some automated miz repacker to insert updated scripts and weather info, thats way above my skill range at the moment.
We'll get there eventually.

I might do some messing around with dynamic weather tonight and see if I can get the built-in system to provide some sort of decent value


如何直接覆盖form某个组件的js文件

Laravel-admin: 1.5+
前提：需要修改组件内部分js源码，所以需要覆盖组件内的js资源，而不是在弄一个新的
以form组件内的select举例，该如何在所需页面覆盖掉vendor目录下的js资源，有什么办法？
protected static $js = [
'/vendor/laravel-admin/AdminLTE/plugins/select2/select2.full.min.js',
];

That directly is actually not the same as the composer vendor directory.  It actually under "public/vendor/laravel-admin/..." so you can totally overwrite it with whatever you want since it is part of your public/source folder.


Custom CSS is injected too late

This line is waiting for the tab to be visible before injecting the CSS (via elementReady('body'))
https://github.com/sindresorhus/refined-github/blob/1d9dc2fd45c8ea13d898ffd70e7bc509feaa2e01/source/features/index.tsx#L131
It should probably be moved to the top of the function, without waiting for any conditions.
Also I'd replace elementReady('body') with a custom awaiter like:
while (!document.body) {
	await Promise.race([new Promise(setTimeout), new Promise(requestAnimationFrame)])
}

Also I'd replace elementReady('body') with a custom awaiter like:

This is because elementReady only uses requestAnimationFrame, so nothing is run until the user switches to the tab. This means that every time you switch to the tab, there's a FOUC or delay because RG will run at that point.


Audio output rework

This PR restructures audio output and allows for both outputting both mono and stereo sound. I have yet to document most new functions. Something else that might be worth adding to this PR is a way to add transformers to the output as well, but its not strictly necessary.

thinking emoji


cursor size of SVG cursor theme not respected when using fractional scaling

I ported Phinger-cursors to Hyprcursor, the original used SVGs & so does the packaged Hyprcursor theme. Size is fine when using scale 1 or 2, but when the monitor scale is set to e.g. 1.25 or 1.5, the cursor size is way too large.
Example:
https://github.com/hyprwm/hyprcursor/assets/42720120/707a5c83-a6c8-4af1-8a11-883fd097fb93

works when applied to 34413d1f367b56e17614ee0455b6bf0b61a5aed1, 0d1bb65c75d7ddc323afd31eb844b2332588bdf5 failed to build for me (the 'ext-foreign-toplevel: add implementation' commit)
thanks for the quick resolution!


[MM-38427] - Start Trial option showing in Daily

Summary
This PR takes care of an edge case where if the instance has never had a trial license used and currently has a non trial license loaded, the CTA shows up. This PR ensures that the CTA doesn't show in such a scenario.
Ticket Link
MM-38427
Release Note
NONE

@stevemudie QA steps are on the ticket

Cherry pick is scheduled.


Clean up after spawned isolate when process receives SIGTERM or similar signal

Hi,
In my program I have several spawned sub isolates which are handling web socket connections to external services - and I want to be able to properly close these connections in case of receiving SIGINT, SIGTERM or similar signal.
Now I'm unable to do that because at the time main process is receiving signal of termination sub isolates are killed without any chance for me to properly close connections and clean up everything on sub isolates.
Dart version: Dart VM version: 2.9.0-18.0.dev (dev) (Mon Jun 22 16:07:30 2020 +0200) on "linux_x64"

The Dart VM generally terminates when the root isolate ends. It's the job of the root isolate code to notify the other isolates it has started, and wait for them to be done.
You can choose to watch the signals, so they won't terminate the process immediately, then send shutdown messages to your isolates.
  ProcessSignal.sigint.watch.forEach(() {
     if (!_isShuttingDown) _startShutdown()
  });

Other than that, you can hope that the VM adds some way to have isolates surviving the main isolate shutdown.


Update peaks2genes

Info : for this tutorial, the dataset mm9.RefSeq_genes_from_UCSC used in the part 2 appears to be missing from the shared data.


Cleanup method parameters in ValidationContext and ExecutionContext

Closes: #319
Description
Also fixes the feature flags typo for val_exec_ctx throughout the codebase.

PR author checklist:

[x] Added changelog entry, using unclog.
[ ] Added tests.
[x] Linked to GitHub issue.
[ ] Updated code comments and documentation (e.g., docs/).
[x] Tagged one reviewer who will be the one responsible for shepherding this PR.

Reviewer checklist:

[ ] Reviewed Files changed in the GitHub PR explorer.
[ ] Manually tested (in case integration/unit/mock tests are absent).

Good catch 323b254


Time bar

What is your question?
How can i move the time bar on source?

I'd guess the sprite would be called timeBar but I'm no source guy...

^
just find timeBar on playstate class

"timeBarBG" and "timeTxt" are the objects you're looking for

"timeBarBG" and "timeTxt" are the objects you're looking for

timeBarBG is attached to timeBar
And timeTxt is separate, just change x and y positions of timeBar and timeTxt


SIGSEGV: invalid memory reference in test_read_thumbnail

Recent commits on main have been failing in the test coverage job
     Running tests/test_read_thumbnail.rs (target/llvm-cov-target/debug/deps/test_read_thumbnail-7758b85d1eff1541)

running 8 tests
error: test failed, to rerun pass `--test test_read_thumbnail`

Caused by:
  process didn't exit successfully: `/home/runner/work/philips-isyntax-rs/philips-isyntax-rs/target/llvm-cov-target/debug/deps/test_read_thumbnail-7758b85d1eff1541` (signal: 11, SIGSEGV: invalid memory reference)

https://github.com/AzHicham/philips-isyntax-rs/actions/runs/10998002870/job/30534915887

I havent looked into this, however we have experienced similar problems.  It was quite a while ago, so details are vague, but (roughly) it was that the metadata needs to have been finished reading before any other operation could be performed on the same file.
I can dig out the details if it helps.

Hello @jayvdb
Thanks for your help, I have this issue since the first day I don't know how to fix it tbh.
If you have any clues I'd be happy  :)

may be we just need to run tests with only a single thread

After merging this PR
it looks like we do not have any SIGSEGV anymore


FuzzWrapper project is failing to build

Environment
Windows build number: Version 10.0.18362.1082
Windows Terminal version (if applicable): commit f78687453cd63a2e92a146441fc482f1ec5ad598
Visual Studio version: 16.7.1 (community 2019)
Steps to reproduce

Checkout latest code (commit f78687453cd63a2e92a146441fc482f1ec5ad598)
Open the OpenConsole solution in Visual Studio.
Build the solution.

Expected behavior
The entire solution should build successfully.
Actual behavior
The FuzzWrapper project is failing with multiple link errors.
3>ConTermParser.lib(OutputStateMachineEngine.obj) : error LNK2001: unresolved external symbol "class std::vector<class std::basic_string_view<wchar_t,struct std::char_traits<wchar_t> >,class std::allocator<class std::basic_string_view<wchar_t,struct std::char_traits<wchar_t> > > > __cdecl Microsoft::Console::Utils::SplitString(class std::basic_string_view<wchar_t,struct std::char_traits<wchar_t> >,wchar_t)" (?SplitString@Utils@Console@Microsoft@@YA?AV?$vector@V?$basic_string_view@_WU?$char_traits@_W@std@@@std@@V?$allocator@V?$basic_string_view@_WU?$char_traits@_W@std@@@std@@@2@@std@@V?$basic_string_view@_WU?$char_traits@_W@std@@@5@_W@Z)
3>ConTermParser.lib(OutputStateMachineEngine.obj) : error LNK2001: unresolved external symbol "bool __cdecl Microsoft::Console::Utils::StringToUint(class std::basic_string_view<wchar_t,struct std::char_traits<wchar_t> >,unsigned int &)" (?StringToUint@Utils@Console@Microsoft@@YA_NV?$basic_string_view@_WU?$char_traits@_W@std@@@std@@AEAI@Z)
3>ConTermParser.lib(OutputStateMachineEngine.obj) : error LNK2001: unresolved external symbol "class std::optional<struct til::color> __cdecl Microsoft::Console::Utils::ColorFromXTermColor(class std::basic_string_view<wchar_t,struct std::char_traits<wchar_t> >)" (?ColorFromXTermColor@Utils@Console@Microsoft@@YA?AV?$optional@Ucolor@til@@@std@@V?$basic_string_view@_WU?$char_traits@_W@std@@@5@@Z)
3>C:\...\terminal\bin\x64\Release\ConTerm.Parser.FuzzWrapper.exe : fatal error LNK1120: 3 unresolved externals
3>Done building project "FuzzWrapper.vcxproj" -- FAILED.

I think those functions were only recently added in PR #7578, and maybe it's just a lib reference that now needs to be added to the FuzzWrapper project.
That said, I'm not sure if this is just my problem, because it doesn't seem to be failing in the CI builds.

It repros for me as well! Thanks for the catch

I've seen this when I was working on #7578 but it's not consistent. I thought it's just some random & transient compile glitches.

I suppose it could be a transient error - I have had issues like that before - but I can usually get them to resolve by rebuilding a few times. This error just isn't going away for me, no matter how many times I rebuild.

I figured it out. It's because FuzzWrapper does not have ConTypes.lib as its dependency. Thus the linker could not find the symbols needed.

Ah, that's certainly weird, and explains why it might be hitting so inconsistently. ConTypes is used by just about every project, so by building any other project, you've probably built contypes already.


Check for github actions updates weekly

Follow up to https://github.com/microsoft/vscode/pull/164032 @lramos15

@lramos15 dependabot also supports yarn. Should I add that as well?

@lramos15 dependabot also supports yarn. Should I add that as well?

No, we are very particular about when to update core packages that affect the product and already get security alerts when one MUST be updated. The parade of unneeded automatic PRs is not helpful, with actions since we only have a few non custom ones it won't be too bad


Why are named parameters converted to unicode?

I am trying out sacred right now and I have a problem with named parameters.
For example I am using the SVM from sklearn and when I put the kernel into the config function as kernel=''rbf" I get a TypeError from sklearn, because it doesn't accept unicode.
I wanted to ask if there was a specific reason to convert the str from the config function to unicode?

Oh, that is a problem.
The configuration has to be JSON serializable, such that it can be stored in a MongoDB and loaded back from there. Therefore Sacred can't easily store type information to distinguish between str and unicode.  So to support unicode and to be compatible with python3 I chose unicode to be the supported string format.
Not sure how to best resolve this for your case. I could try to cast all strings to str if under python2 and only use unicode if that fails. But this might lead to subtle unexpected failures, where a parameter sometimes is a str and sometimes a unicode.
So for now I don't see a good way of fixing this behaviour in Sacred (I'm sorry). If you have an idea, I'd be very interested. On your side you could (inconveniently) cast it back to str yourself, or switch to python3.

Closing this issue, since I cannot see a good way to resolve this from within sacred.


Feedback from Lori Hartman

Hi TrolleyTracker,
I have some feedback to provide about my application using experience: Your map is wrong we The Trolley's do not go down University St at all to the round about. That area is too dangerous for the trolley. We make our left on Bradshaw, left on Howe, then a right into University Ridge.
@greenlinktransit is this a driver?

@agautsc Yep, that's one of our drivers.  She's right....the trolleys do not serve University Street, however, I do not recall them being on the Trolley Tracker map.  @bikeoid could you confirm?

University St is currently on the map, but only because a few drivers went that way during the day when I was first recording it on GPS.
I was planning to revise it to eliminate that street anyway, since the route needs to go past the new trolley Park & Ride lot in order to pick up that stop when it opens.

Updated routes to turn down Bradshaw instead of University


Heeeelp! can not run

Heeeelp! I ran it locally, but on the website, "Error generating code. Check the Developer Console for details. Feel free to open a Github issue." The project can run on both the front and back ends, but when the back end runs, a message "The current project could not be installed: No file/folder found for package backend If you do not want to install the current project use --no-root ", I do not know whether it is relevant

when i push F12, the source  on web said
"
Download the React DevTools for a better development experience: https://reactjs.org/link/react-devtools
generateCode.ts? [sm]:23 Connecting to backend @  ws://<IP_ADDRESS>:7000/generate-code
generateCode.ts? [sm]:25 WebSocket connection to 'ws://<IP_ADDRESS>:7000/generate-code' failed:
generateCode @ generateCode.ts? [sm]:25
generateCode.ts? [sm]:56 WebSocket error Event
(anonymous) @ generateCode.ts? [sm]:56
generateCode.ts? [sm]:46 Connection closed 1006
generateCode.ts? [sm]:48 WebSocket error code CloseEvent
(anonymous) @ generateCode.ts? [sm]:48
"

Would you look at the link in the README section? That should solve your problem.

it dont work! TT .Create an OpenAI account. And then, you need to buy at least $1 worth of credit on the Billing dashboard. i do it, but it still said
"Error generating code. Check the Developer Console for details. Feel free to open a Github issue
Error generating code. Check the Developer Console for details. Feel free to open a Github issue"
how can i do!!!TT

Could you paste your backend logs? That should be helpful in understanding the issue.

Could you paste your backend logs? That should be helpful in understanding the issue.
We're using your demo site with our ChatGPT-4 API key: https://picoapps.xyz/free-tools/screenshot-to-code

backend logs:
"

poetry install
poetry shell
poetry run uvicorn main:app --reload --port 7000
Installing dependencies from lock file

Installing the current project: backend (0.1.0)
The current project could not be installed: No file/folder found for package backend
If you do not want to install the current project use --no-root
Spawning shell within C:\Users\小小峰\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\Local\pypoetry\Cache\virtualenvs\backend-mf7PE-pK-py3.10
Windows PowerShell
版权所有 (C) Microsoft Corporation。保留所有权利。
尝试新的跨平台 PowerShell https://aka.ms/pscore6
"
I runit on VSCode

in frontend factory, the @tailwind in 'index.css' said Unknown at rule @tailwindcss(unknownAtRules) ,is that problem?

@nzd520 have you tried this? https://github.com/abi/screenshot-to-code/issues/3#issuecomment-1814777959

@nickcartery not offering support for hosted version at the moment. Please run locally.

i try it, but still can`t work , on the website console, it said
"
Download the React DevTools for a better development experience: https://reactjs.org/link/react-devtools
generateCode.ts? [sm]:23 Connecting to backend @  ws://<IP_ADDRESS>:7001/generate-code
generateCode.ts? [sm]:25 WebSocket connection to 'ws://<IP_ADDRESS>:7001/generate-code' failed:
generateCode @ generateCode.ts? [sm]:25
doGenerateCode @ App.tsx? [sm]:72
doCreate @ App.tsx? [sm]:85
(anonymous) @ ImageUpload.tsx? [sm]:80
generateCode.ts? [sm]:56 WebSocket error Event {isTrusted: true, type: 'error', target: WebSocket, currentTarget: WebSocket, eventPhase: 2, …}
(anonymous) @ generateCode.ts? [sm]:56
error (async)
generateCode @ generateCode.ts? [sm]:55
doGenerateCode @ App.tsx? [sm]:72
doCreate @ App.tsx? [sm]:85
(anonymous) @ ImageUpload.tsx? [sm]:80
Promise.then (async)
onDrop @ ImageUpload.tsx? [sm]:79
(anonymous) @ index.js:708
(anonymous) @ index.js:759
Promise.then (async)
(anonymous) @ index.js:758
(anonymous) @ index.js:831
(anonymous) @ index.js:192
(anonymous) @ index.js:190
callCallback2 @ react-dom.development.js:4164
invokeGuardedCallbackDev @ react-dom.development.js:4213
invokeGuardedCallback @ react-dom.development.js:4277
invokeGuardedCallbackAndCatchFirstError @ react-dom.development.js:4291
executeDispatch @ react-dom.development.js:9041
processDispatchQueueItemsInOrder @ react-dom.development.js:9073
processDispatchQueue @ react-dom.development.js:9086
dispatchEventsForPlugins @ react-dom.development.js:9097
(anonymous) @ react-dom.development.js:9288
batchedUpdates$1 @ react-dom.development.js:26140
batchedUpdates @ react-dom.development.js:3991
dispatchEventForPluginEventSystem @ react-dom.development.js:9287
dispatchEventWithEnableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay @ react-dom.development.js:6465
dispatchEvent @ react-dom.development.js:6457
dispatchDiscreteEvent @ react-dom.development.js:6430
Show 21 more frames
generateCode.ts? [sm]:46 Connection closed 1006
generateCode.ts? [sm]:48 WebSocket error code CloseEvent {isTrusted: true, wasClean: false, code: 1006, reason: '', type: 'close', …}isTrusted: truebubbles: falsecancelBubble: falsecancelable: falsecode: 1006composed: falsecurrentTarget: WebSocket {url: 'ws://<IP_ADDRESS>:7001/generate-code', readyState: 3, bufferedAmount: 0, onopen: null, onerror: null, …}defaultPrevented: falseeventPhase: 0reason: ""returnValue: truesrcElement: WebSocket {url: 'ws://<IP_ADDRESS>:7001/generate-code', readyState: 3, bufferedAmount: 0, onopen: null, onerror: null, …}target: WebSocket {url: 'ws://<IP_ADDRESS>:7001/generate-code', readyState: 3, bufferedAmount: 0, onopen: null, onerror: null, …}timeStamp: 10828type: "close"wasClean: false[[Prototype]]: CloseEvent
(anonymous) @ generateCode.ts? [sm]:48
"
is that problem? plz TT i really want to try this

@nzd520 can you share backend logs again? front-end logs are not very helpful, all they say is that the generate code endpoint is failing.

now i run the backend code, sometimes it said
"

poetry install
poetry shell
poetry run uvicorn main:app --reload --port 7000
Installing dependencies from lock file

No dependencies to install or update
Installing the current project: backend (0.1.0)
Virtual environment already activated: C:\Users\小小峰\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\Local\pypoetry\Cache\virtualenvs\backend-yc4DYrCP-py3.10
INFO:     Will watch for changes in these directories: ['C:\Users\小小峰\Desktop\大二下文档\python-project\screenshot-to-code-main\backend']
INFO:     Uvicorn running on http://<IP_ADDRESS>:7000 (Press CTRL+C to quit)
INFO:     Started reloader process [25820] using StatReload
ERROR:    Error loading ASGI app. Could not import module "main".
"
and i run the common #3 said:
"cd backend
mkdir backend # yes, inside backend
mv *.py backend/
poetry install
poetry shell
cd backend # yes, backend/backend
poetry run uvicorn main:app --reload --port 7000
"
sometimes it can run, like that:
"

poetry install
poetry shell
poetry run uvicorn main:app --reload --port 7000
Installing dependencies from lock file

No dependencies to install or update
Installing the current project: backend (0.1.0)
Spawning shell within C:\Users\小小峰\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\Local\pypoetry\Cache\virtualenvs\backend-yc4DYrCP-py3.10
Windows PowerShell
版权所有 (C) Microsoft Corporation。保留所有权利。
尝试新的跨平台 PowerShell https://aka.ms/pscore6
"
Do you understand what I'm saying? Thank you very much!

@FuZZingB your front end should be running at http://<IP_ADDRESS>:5173 not :7001

@FuZZingB And what happens you load that page in the browser?

@FuZZingB And what happens you load that page in the browser?

@NgXuanKhoa pretty sure you are going to http://<IP_ADDRESS>:7001 rather than front-end.

Closing this because there's too many people talking about too many different issues. Please open new separate issues if you need help.


chore(configure): fail if specified endpoints are not registered

:+1:
Reasoning behind this is that if you wanted to use HttpClient, you would've left endpoint empty. :)

'm not following. baseConfig.current.endpoint=null / undefined / 0 / '' (empty string) / false -> use client = new Rest(aurelia.container.get(HttpClient));
anything else: use specified endpoint and if no such endpoint, then there was an errror

@RWOverdijk have a look at the newly added fix part at some stage

@RWOverdijk tests fixed. so what about the append to set change. are there scenarios where one want to append to the authorization header (it's always on key, it appends to the value)? eitherways, need a +1 again

@doktordirk If this doesn't mess with other headers, I think it's safe to :+1: this

yeah, darn. just when i wanted to press the button, i found out that all the old fetchConfig tests don't do any job at all. i think i get the fix for them in here as well, since i anyways wanted to add another one myself

@doktordirk Maybe skip today? You need some rest :)

no rest for the wicked!

oh well. test need to get fixed separately. don't wanna do it right now


See if we can use CodeMirror for syntax highlighting

Our current syntax highlighter is imperfect.  We're using a module that's not been updated in a long time and looks like it's been abandoned.
Recently, I hacked CodeMirror into the tree for function editing.  It made me wonder if we should just use a CodeMirror instance for showing syntax-highlighted code instead.  CodeM
We'd need to support dynamic loading of various language syntax.  I haven't looked into this, but I'd be surprised if it's hard.
We'd also need to allow for arbitrary height on a CodeMirror instance vs. having it use scrollbars.  This seems to be doable.
There's no urgency to this, since what we have now works.  But it might be good to switch to something that's better maintained.

Based on my work to reduce bundle size, this is a bad idea. Closing.


Added Supervisord to properly manage mutil processes

Description
Just added Supervisord for multi process, thats used in DST to replace co-process command
All Submissions:

[ x ] Have you ensured there aren't other open Pull Requests for the same update or change?
[ x ] Have you created a new branch for your changes and PR from that branch and not from your master branch?

And what's the point? I don't see any advantage here now

so many commits for 1 change package

@KenRen98 This will need to become a diffrend image, do not add this to the source on

@KenRen98 This will need to become a diffrend image, do not add this to the source on
And what's the point? I don't see any advantage here now

This is meant to fix a bug for DST egg, please read here,
https://github.com/parkervcp/eggs/issues/2651
But I haven't do PR to eggs, since I noticed a small imperfection, Caves under current setting cannot exit gracefully. Which may cause unsaved data loss.
Sadly, I tried many things, currently haven't found a good solution to it, if you guys want to help, I would be grateful. So the issue here is the one brougt to forground would receive the c_shutdown() from shutdown command, but the other will not, and DST would not take SIGTERM SIGINT or any other Signals. Only c_shutdown() as graceful termination.
What I have tried:

Bring both to fg mode (forground) then try use start command to output a second c_shutdown()
Use screen command (faild since the runner uid has no username which caused screen command error)
Write a supervisord listener to trigger the termination of a Caves
Write a warpper script for Caves to start it and trap a SIG and somehow shutdown Caves gracefully

Next I am going to try:

Write a warpper script for Caves to detect connection lost to Master then terminate it using c_shutdown()

Hopefully I can get this work, the oringinal egg's problem is relatively more painful to me since most people would play this game with Mods, but if Caves dont have mods its very stupid, not even to mention some Mods would require both Shards to have it, otherwise rollout errors when transporting in between two Shards.
Thanks for replying anyway.
Hope for the best & Happy new year!

BTW, you can definitely use c_shutdown() manually if both of them are in forground mode, but just very stuipid if the user need to click shutdown and then wait first to shutdown and then put c_shutdown() manually to shutdown Caves

@KenRen98 {{ }} will not work anywhere except the egg startup, you must use ${} to reference variables


Auto Splitter has stopped working

As the title suggests, after starting LiveSplit this morning the auto splitter for Distance refuses to work. When starting any level or proceeding to the next it does not start the timer at all.
What I have done / confirmed so far:

Running LiveSplit and Distance as Admin. For reference, my normal method is to run LiveSplit as Admin and Distance normally which worked previously.
Global Hotkeys are enabled
Compare Against is set to: Best Segments & Game Time
Tested a different game's Autosplitter (Everhood) which works fine.
Tried with the game loaded first and with LiveSplit loaded first, no change.
Reset to default layout and splits. Also tried downloadable splits and layout from speedrun.com
Disabled and re-enabled ASL
Did a clean "install" of LiveSplit by starting in a new directory with new splits and layout.
Edited LiveSplit.AutoSplitters.xml to point to an older version of the ASL file (e0f4922942b5a633102fa71fc91504dc35085cc0) for testing, same result.
Added a Script Autosplitter manually into the layout using the newest ASL file, same result.

Any help would be appreciated. Thanks

Looks like this is an upstream issue. The library that's used for the newer version of the script (ULibrary.bin) must have had an error introduced recently. As a temporary solution, you could try using an older version of then library, The version of ULibrary.bin from commit just-ero/AutoSplitHelp@1a8c3a8a35f4d3d730fec7d035ca0821f9c9b60e (direct link here) appears to work for me, so you can try downloading that, replacing the version already present in your LiveSplit/Components directory, and then marking it as read only so LiveSplit doesn't automatically replace it with the most recent version when loading the script.
I repeat though this should only be done as a short term fix, once the issue is resolved you will probably want to uncheck read only so the library can be updated automatically if that is necessary in the future.

Resolved upstream, closing.


Fix button example

This is my first github pull request, so apologies if I am doing something wrong! :)
Fix some minor issues with the button docs example
#39

Thanks for your contribution. Only I commented one thing

it looks good. Thanks!


Add OAuth support for download direct

What this PR does / Why we need it:
Special notes for your reviewer:
Does this PR introduce a user-facing change?

With this change, we left out the Entites download right?
So it is still split in manifest/direct subcommand and downloading entities from a Platform environment currently only works when using a manifest?
Fine for getting this change into the 2.0 release as it's hidden/unused at the moment, but we must not forget to adapt it in a followup. FYI @dcryans