dtc: 1.5.1 -> 1.6.0

Motivation for this change
New version of dtc. Version 1.6.0's fdtoverlay appears to work with up-to-date kernel dtbs, where dtc 1.5.1 fails (at least for my limited tests).
Things done

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

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

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

Result of nixpkgs-review pr 88876 1

1 package marked as broken and skipped:
- odroid-xu3-bootloader

9 packages built:
- crosvm
- diffoscope
- dtc
- fwts
- python27Packages.libfdt
- python37Packages.libfdt
- python38Packages.libfdt
- spike
- ubootTools


@pluralsight/ps-design-system-tooltip: require content to be strings when they should be nodes

Enhancement Request
Desired behavior
I believe that Tooltip - and potentially other components - is hindering the user when enforcing displayable text to be string, instead of node.
Today's behavior
Tooltips have been throwing this error below during development, to which we have been fine with since the component actually works given ReactNodes instead; and that in prod, the proptype checking get stripped out.
Warning: Failed prop type: Invalid prop children of type object supplied to Tooltip, expected string.
If today, an engineer working on DS decided to interact with the Tooltip content as a string and consider that a non-break change, we could actually materialize some issues.
The Value Add
It's common and widely accepted that string-like content in components are typed as Nodes instead of string for their full flexibility.
In the React world, there are many libs that deal, for instance, with I18N using Nodes, making components that receive string imcompatible-ish.
The Tradeoffs
Not applicable.

@mirandaleandro could you try to use a Dialog instead of a Tooltip could accomplish your task. let me know if that doesn't solve your use case.

I'm on the same page as @mirandaleandro
Would like to be able to pass in spans, so that styling can happen directly on that class rather than relying on knowing the built HTML from the Tooltip component so I know what child to target.
Using the dialog would certainly work, but it seems weird to use the dialog as a tooltip to get around a prop-type warning.
Tangentially, with the release of react 16.8.x (no breaking changes) we have a new way to use refs, so an update to the innerRef prop type would be great as well!  Rather than just a func ideally it would support something along the lines of innerRef: oneOfType([func, shape({ current: element })]).  The implementation can remain exactly the same.
lmk if you'd prefer a new issue


"i" button for utility layers

Waiting on @bgranberg for text.

Short Order area - typically 60 days or less
Custom Order area - typically 9 months or less

@jpechmann Do you remember what the deal is on this issue? Is this a single "i" button for the utilities group or for an individual layer?

@BGranberg this requirement came from this note from your meeting with K Cole "utilities 'i' text with each utility layer: explain territory vs service area…boundaries shown, service not guaranteed for full territory, provider will show up in report...Bert can write text"
I think the idea was an "i" button for every layer under Utilities.

Who actually has the text that should go with each utility layer?  Is it unique to each layer?

Approximate service area the natural gas distribution network in Utah
Jurisdictional boundaries for Utah's culinary water districts. The location
report provides show the district name.
Jurisdictional boundaries for Utah's electricity providers. The location
report provides show the district name.
Territory boundaries for Utah's incumbent telephone providers. The location
report provides show the provider name.
On Tue, Jan 27, 2015 at 12:10 PM, Matt Peters<EMAIL_ADDRESS>wrote:

Who actually has the text that should go with each utility layer? Is it
unique to each layer?
—
Reply to this email directly or view it on GitHub
https://github.com/agrc/bb-econ/issues/51#issuecomment-71707870.

--
Bert Granberg, Director
Utah Automated Geographic Reference Center (AGRC)
1 State Office Bldg, Rm 5130
Salt Lake City, UT 84114
<EMAIL_ADDRESS>801 538-3163 (o)
801 558 3563 (m)


Delete toolkits app

If Toolkit models end up using or inheriting from the Page model, we'll
need to merge ghu_main and ghu_toolkits.
My heart isn't set on this; this PR just shows how we'd do it

h*ck, i forgot to create a migration deleting the toolkits tables. i'll have to do it in prod by hand i guess :cry:


Putting too many entities will crash the app due to increased memory usage

Describe the bug
I have one main entity with 10 properties from which 5 are ToMany relations to other entities and those entities have a backlink to the main one. The other entities are quite small,  around 3 properties.
Saving around 1000 main entities, a total of approx 6000 entities with the secondary ones, will crash the app due to increased memory usage.
The relations between the entities seem to generate leaks.
Basic info (please complete the following information):

ObjectBox version 1.7.0
Reproducibility:  always
Device:  iPhone
OS:  iOS

Expected behavior
Putting an increased number of entities should not crash the app.

The retain cycle is caused by appending objects to the backlink relation. It would be great to have a big warning sign in the documentation which states that the user should only read the backlinks.


Meltano remove lock file bug

From #5977 I was removing an installed plugin and got this on the command line:
❯ meltano remove orchestrator airflow
2022-06-02T15:20:50.385299Z [info     ] Environment 'dev' is active

Removing orchestrator 'airflow'...

Reset orchestrator 'airflow' plugin settings in the system database
Removed orchestrator 'airflow' from meltano.yml
Removed orchestrator 'airflow' from .meltano/orchestrators
Could not find orchestrator 'airflow' in /Users/taylormurphy/Documents/Projects/dev/meltano/addfromhub/plugins/orchestrators/airflow--original.lock to remove

In my plugins/ folder I still have:
plugins
  files/
     airflow--meltano.lock
  orchestrators/
     airflow--apache.lock

@edgarrmondragon cc @aaronsteers

@tayloramurphy Ah, the quirks of putting the variant in the filename. meltano remove doesn't take the variant name into account and thus tries to remove a plugin with the fallback original variant. This wasn't scoped in the original lockfile issue so I didn't dive too deep, but I think I have a fix.


How To Create Courses As Admin?

Hi I can't find the way to create courses. Also, where are the views folder (for courses) located?

The project will restart soon we hope to have your support you can participate with your ideas in trello and slack
Trello -> https://trello.com/b/dv9fqFK2/lms-laravel
Slack -> https://join.slack.com/t/lmslaravel/shared_invite/enQtMzkzNTUxNzAzMTEwLTVkNDBmZmU1YjEzMWIxNTk5Y2FiOGYyODYxNmFhYjgwYzQ5MjRhOWViOTRkZWM3ZjczOTcxMzVlOTU5YzdiNGI


Reopen #130 - Latest Commit Date for File

This is a great feature that I would love to see, but the issue was closed because no human commented on it for 2 months.
Body of the original ticket is below:

Per github/pages-gem#119 (comment)

Perhaps we could add this to the site.github gem (jellyll/github-metadata) as site.github.commit_dates[<filepath>] and read them all in bulk from the GraphQL API.

This would be great for "Latest Update" type dates on GitHub Pages, where other plugins are not available.

Duplicate of #130


[Feature] Allow for hard coded values for Declarative calls

Description
There are instances where subgraphs have hard coded values that get referenced (such as stablecoin contract addresses or factory a address) which are not obtainable through the event.params.
It would be nice to be able to input a static string for Declarative calls inside the manifest as released in #5264
e.g.
          calls:
            Oracle.getPrice: Oracle[event.address].getPrice('0x04068da6c83afcfa0e13ba15a6696662335d5b75') #USDC

Are you aware of any blockers that must be resolved before implementing this feature? If so, which? Link to any relevant GitHub issues.
No response
Some information to help us out

[ ] Tick this box if you plan on implementing this feature yourself.
[X] I have searched the issue tracker to make sure this issue is not a duplicate.

This was added in PR #5498, closing this ticket.


the text_to_md and voyant_gen services should work similarly

Right now, the text_to_md service is based on a generic Python docker image, and all the configuration of that image happens inside docker-compose.yml. That's great!
The voyant_gen service is based on an image we build from scratch, and the python script is hidden inside the compose folder, under voyant_generator/bin. That's what I told you to do, @joelslee, but I was wrong! This should work the same way as text_to_md.
It should be really easy to update voyant_gen to behave exactly like text_to_md. In addition to removing an unnecessary build step, this will ensure that all our scripts operate the same way, making maintenance easier.
For now, create a new folder like text_to_md, but called voyant_gen, and put the python script in there. Then make the voyant_gen service look like text_to_md, making whatever tweaks are necessary. The upshot is that the one line command in voyant_generator/bin/voyant_gen_script.sh should probably just appear in docker-compose.yml as the command under the voyant_gen service.

So I seemed to have made these changes as well. I deleted the voyant_generation folder under compose and moved over what was done in the Dockerfile and the shell script file to be in docker-compose.yml. I also created a folder in the root dir as requests above, and put my .py script there Now the service in docker-compose.yml looks like this:
voyant_gen:
    image: python:3
    volumes:
      - ./corpora:/corpora
      - ./context:/input
      - ./voyant_gen:/workdir
    command: python -u workdir/voyant_gen.py /input/keywords.txt /input/corpus/ /corpora/

Now, I tried this with a clean project and while the server was running I inputted The Jungle. When I clicked on the link, I got some errors about the contents in /static_pages/assets/ and I got an unformatted jekyll page. It had the text, but no formatting. It seemed like this was an error not unlike the one in #8
Unfortunately (or fortunately (?)) I wasn't able to recreate the error message and didn't screen capture it. I am no longer running into the error, and I have tried the clean slate inputting The Jungle twice now with no errors. Hopefully this is just a one off I guess.


⚠ API - Lens has degraded performance

In c479b32, API - Lens ($LENS_API_URL) experienced degraded performance:

HTTP code: 503
Response time: 314 ms

Resolved: API - Lens performance has improved in f2896ba after 9 minutes.


Yaki mobile - recovery of data in error on the PWA

context
recovery of data in error on the PWA when scanning the QR code. If I disconnect and reconnect, the data is recovered.
=> Maybe expired token, if so automatically go to login page
** TODO **
add a condition, if token is expired, go to login page

when token is expired the user is redirected to the login page


Changed the blog section. Added a beautiful grid section and also footer section with font awesome icons

Pull Request Template

Please provide all of the details below. Pull requests missing any of the information below will be closed!
Providing the issue number helps us identify the problem being solved and keep the issues tab clean and tidy

Summarize what this PR fixes:-
Changed the blog section. Added a beautiful grid section and also footer section with font awesome icons.
Left with only adding a background images for blog section.
Also planning to add a new blog page for each and every blog post.
link for the blog page I have created : Here
Fixes #
Checklist
(Add an x between the brackets to check the items)

[ x ] I have summarize what this PR fixes above
[ x ] I have provided the issue ID/URL above
[ x ] I have not added Bootstrap or jQuery and used correct styling guide.
[ ] This PR fixes only the issue mentioned above (create separate PRs for separate issues)
[ ] I was the first one to claim the issue or I created the issue - I created the issue

Did you create an issue for this? It is not linked in the pr.

Since there has been no comment on this in 24 hours, I'm going to close it for now. If you fix the conflicts and resolve the issues, you can resubmit the pr.


Can we use this tool to download the App bundle?

Wondering if this tool can be used to download the React Native app JS bundle from S3 like a deployment tool? The bundle shouldn't be available to public but just to the app. Appreciate any inputs on this.
Workflow:

Build the RN app bundle on mac, upload it to S3 bucket.
An app downloads the new bundle (when available: custom notification, automatic or custom logic) and makes the new deployment available to users

@cliren something like https://microsoft.github.io/code-push/ ?


Input.ChoiceSet changeAction

Description
Open Issues

Confirm how this may be impacted with other inputs. DECISION: Might be weird with Input.Text, but we can cross that bridge when we get there.

What about setting focus on an element, etc. Perhaps an action collection design. DECISION: Not at this time

Can we allow a per-choice action? DECISION: Not at this time.

Do we need to delineate between server-side and client-side variations? DECISION: Server-based actions only for now

What is the final name if we do decide to delineate? DECISION: changeAction because it would work for Toggle.

Schema/spec
Property
Type
Required
Description
changeAction
Action
No
When specified, an the Action will be executed when a choice is made. Only supports Action.Submit and Action.Execute
Requirements

This property only works when isMultiSelect is set to false

Should work for any style (radio buttons, and drop downs)

Examples
{
   "type": "Input.ChoiceSet",
   "label": "Select a user",
   "isMultiSelect": false,
   "choices":  [
      { "title": "User 1", "value": "User1" },
      { "title": "User 2", "value": "User2" }
    ],
   "changeAction": {
      "type": "Action.Submit",
      "id": "userSelectAction"
   }
}

Link to feature: https://adaptivecards.productboard.com/feature-board/planning/features/5470703

Any update on this? this is not working.

@jonmill
Any update on this? I tried using selectAction as well but neither is working.
Alternatively - is there any other way to create dependencies between 2 dropdown-fields (e.g. "Category" & "SubCategory")?

In Slack I know I can use "Dispatch Action" which is similar to what selectAction+Action.Execute does, and then I can update the message whenever the user chooses an option from the dropdown.
In Teams, I tried putting the dropdowns inside a container with selectAction+Action.Execute, but if I do that the card immediately sends the data when I press the dropdown without allowing me to choose an option.

I find this very limiting, especially when trying to migrate from Slack to Teams.

Hi @dorbareket - I'm no longer involved with AdaptiveCards and have moved on from Microsoft, so I'm afraid I can't help here. Best of luck!

@jonmill thanks, and good.luck with your endeavors!


[Defect] encoding should had been union of strings

Package Name:
https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/storage/storage-blob/src/utils/BufferScheduler.ts

TS 3.4.5 compiler will report:
ERROR in node_modules/@azure/storage-blob/lib/utils/BufferScheduler.ts(245,56): error TS2345: Argument of type 'string' is not assignable to parameter of type 'BufferEncoding'.
node_modules/@azure/storage-blob/lib/utils/utils.node.ts(34,36): error TS2345: Argument of type 'string' is not assignable to parameter of type 'BufferEncoding'.

field encoding should had been type BufferEncoding = "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | "hex";

And this is probably related to https://github.com/Microsoft/TypeScript/issues/30331

Thank you for opening this issue! We are routing it to the appropriate team for follow up.

Although this is related to the too aggressive type check of TypeScript 3.3 -- 3.4.5, and ahejlsberg had fixed it in TypeScript 3.5. However, as far as I had read azure-sdk-for-js TS source code, the programming did not take the advantage of TypeScript design type check. At the moment, because I am using Angular 8 which hasn't supported TypeScript 3.5, I had to alter azure-sdk-for-js TS codes to compile.
This raises another question. Shouldn't azure-sdk-for-js npm package publish JS lib only with TypeScript definition? So Angular CLI compiler will compile with JS codes only, rather than azure-sdk-for-js TypeScript source code?

/cc @bterlson

@zijianhuang yeah we should probably see if we can work around this issue so 3.3 to 3.4.5 continue to work properly.
Re: our packages, we DO ship plain JS with typings. We also include original source with source mappings. The primary reason for this is for debuggability. E.g. if you're using VS Code and stepping through your code, you can step into our library code and see/debug with the original TS source rather than the mangled output of our compilation toolchain. Perhaps you can configure your tools to ignore the TS source since everything else it needs should be in the package?

I see the package does contain js and *.d.ts files, all look good to me. After renaming the lib folder so Angular/Cli won't find the TS codes, I had located the cause the problem in my TS codes:
import {

} from '@azure/storage-blob/lib/';

I think that was a legacy piece I left there 1 year ago when Azure JS library had been primarily for NodeJS, not very good for browser and I had done some hacks to make it work well on browser.
After removing the rubbish, CLI works well as expected, no checking the TS codes in lib.

@zijianhuang thanks for the update, glad you got it working!


Remove unsupported and out-of-date GoBGP backend

Description
This PR removes GoBGP.  The remnants of GoBGP are out of date and no longer supported.  Removing GoBGP also removes the influxdb indirect import which should remove another CVE 🤞

Related issues/PRs

Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

Remove remaining references to unsupported and out-of-date GoBGP backend

why unsupported  GoBGP backend @robbrockbank


Email import error with dashes

when importing from Launch Buddy. One of the Accounts have a E-Mail Address in Form of<EMAIL_ADDRESS>(only a example of course ^^). In the UI it shows under Account "lulu" and the Character Name says<EMAIL_ADDRESS>in this case. So the "-" split up for some reason the Account name into some part of the Character Name. All other E-Mails does not contain a "-" and they all show the<EMAIL_ADDRESS>as Account Name and the Character says "Unknown" (no API Key entered on them).

Fixed in V1.0.16


add new terms MONDO:0100133 mitochondrial complex I deficiency

MONDO:0100134 mitochondrial complex I deficiency, mitochondrial type
and reclassify
closes #1042

@cmungall I fixed the conflict, is this okay to merge (when the build passes)?

fixed conflict


Change error code for mixed default exports

https://github.com/dudykr/stc/blob/8b5fad3b580e2a4e2a4a75b0e3f45b75a8cc3f63/crates/stc_ts_type_checker/tests/conformance/es6/modules/defaultExportsCannotMerge04.ts#L1-L15
We should report TS2652 instead of TS2395

@kdy1 Can I try this one?

Of course, thank you!


Migrate deprecated components in list.tsx

I've made quick fix in: 36466b92076eee981d1cc3b5837ab2dfe46777b1 to be able build plugin for kibana >= 8.5.0.
Those components need to be migrated to new ones.
Links:
https://github.com/elastic/eui/issues/6122
https://github.com/elastic/eui/pull/5948
https://github.com/elastic/eui/pull/6194
https://elastic.github.io/eui/#/layout/page-components#page-body-and-sidebar
Here is a good start point: https://github.com/elastic/kibana/issues/161418

Here is a good start point: https://github.com/elastic/kibana/issues/161418

Done in: https://github.com/Karql/elastalert-kibana-plugin/releases/tag/1.7.0


Fix/insight link

Updated link in tx-details.js to correct formatting.

Thats twice now. Sorry again guys.


Ipyreact not working in classic Jupyter Notebook

Environment setup:
python3.11 -m venv .venv && source .venv/bin/activate
pip install notebook
pip install ipyreact
jupyter notebook

When I now try running this example
import ipyreact

class MyExampleWidget(ipyreact.ReactWidget):
    _esm = """
    import * as React from "react";

    export default function MyButton() {
        return < button > X < /button>
    };"""

MyExampleWidget()

in a classic notebook, I get this error:

I managed to solve this issue 🎉
The problem was that I had another jupyter notebook installation in /opt/homebrew/bin that I was not aware of.
I uninstalled the brew one and now jupyter notebook is linked to the correct jupyter notebook installation in the virtual environment. what a bug.🐞

welcome to jupyter with multiple environment :-D
You've earned some experience points along the way, and you can call yourself a wizard now :)

and you can call yourself a wizard now :)


Cache policy data

When storing policy data in database, it would be great if there are extensions to store them in cache (in memory, redid or something similar) in same way identity server expose ICache

this is the intended way, yes.
for now there is the architectural idea here : https://github.com/Angelinsky7/PolicyServer/tree/uma/PolicyServer1/Stores/Caching but it's missing the implementation

@vishalpatel-te if you have a concrete example how to use ICache in identity server 4 and maybe redis (or another store) it would be great ! Like that i could ensure that i build it the exact same way.
For now i only use InMemory Caching strategy so...


Add auto-generation of markdown for resource references

Description
This PR adds auto-generation of resource reference markdown docs. Specifically it:

Updates the Bicep generator to output a new markdown table format
Generates the new docs
Adds a workflow to run this on every PR/commit and then PR the results into the docs repo on every push

Type of change

This pull request fixes a bug in Radius and has an approved issue (issue link required).
This pull request adds or changes features of Radius and has an approved issue (issue link required).
This pull request is a minor refactor, code cleanup, test improvement, or other maintenance task and doesn't change the functionality of Radius (issue link optional).

Partially addresses #6101
Auto-generated summary

🤖 Generated by Copilot at 2e606a7
Summary
📝🚀📚

Renamed and updated the workflow to publish CLI and resource reference docs for Radius. Enhanced the custom tool to generate Bicep types and Markdown files for each resource type. Deleted the unused docs workflow.

To document Bicep types with ease
We added a function to write tables, please
It formats the Markdown
With headings and links down
And sorts the resources like cheese

Walkthrough

Rename job and add comment to publish-docs workflow (link, link)
Add steps to generate and upload resource reference documentation as an artifact (link)
Import orderBy function from lodash library in main.ts (link)
Iterate over resource types and write Markdown files for each one in main.ts (link)
Create markdown-table.ts file to write Markdown tables for resource types and their properties (link)
Delete unused docs.yaml workflow file (link)

/ok-to-test


update proxy of master to v2/patch-7.1-for-problems

What problem does this PR solve?
Issue Number: ref #4982
Problem Summary:
What is changed and how it works?
Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-all-tests


Update DG diagrams

Codecov Report

Merging #233 into master will decrease coverage by 12.34%.
The diff coverage is 59.07%.

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


[SPARK-26341][WEBUI][FOLLOWUP] Update stage memory metrics on stage end.

What changes were proposed in this pull request?

This is a followup PR for #30573 .
After this change applied, stage memory metrics will be updated on stage end.
Why are the changes needed?

After #30573, executor memory metrics is updated on stage end but stage memory metrics is not updated.
It's better to update both metrics like updateStageLevelPeakExecutorMetrics does.
Does this PR introduce any user-facing change?

Yes. stage memory metrics is updated more accurately.
How was this patch tested?

After I run a job and visited /api/v1/<appid>/stages, I confirmed peakExecutorMemory metrics is shown even though the life time of each stage is very short .
I also modify the json files for HistoryServerSuite.

Test build #133083 has started for PR 30858 at commit 69bfa78.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37683/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37683/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/37683/

Test build #133083 has finished for PR 30858 at commit 69bfa78.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/133083/

Sorry for late reply, it's  a good catch


Deleting Multiple Apps

Due to Dropbox Public policy change multiple Apps now return 404.

Ref# https://www.dropbox.com/help/16

It’s fine to do multiple deletions in a single PR, but in the future please make them separate commits, so they’re easier to find.

@victorpopkov Thanks for the suggestion. I can understand how useful it be, so update this PR with individual commits

clip menu is available from github https://github.com/naotaka/ClipMenu/releases/tag/v0.4.4
should the cask be put back pointing there?


web service

What is the purpose of your issue?

[ ] Bug
[*] Feature Request
[ ] Question
[ ] Other

Description
i need used it with web service (api) because I don't want run with console.
could you please help me?
thanks.
Log

You can easily build your desired HTTP API wrapper around spotify-downloader yourself.

thanks, But I don't have any skills in python!Could you please do it? Because it's very important for me.pleaseee
On Monday, July 22, 2019, 01:08:34 AM PDT, Linus Groh<EMAIL_ADDRESS>wrote:
You can easily build your desired HTTP API wrapper around spotify-downloader yourself.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

No, that's just not how this works. A web API is not the focus of this projects, and shouldn't be - again, this is a problem that can be solved in a different project by people who need it.

In case it interests, someone has made a pretty neat wrapper around the --song parameter on https://github.com/ricardbejarano/musicow.


Inline completions indistinguishable from highlighted background

I noticed that inline completions inside highlighted text are indistinguishable from the background:
This is with "Catppuccin Mocha":

For comparison, this is what it looks like with the "One Dark" Theme:

Versions
Catppuccin Themes: v0.2.10
Zed: v0.147.1 (Zed Preview)
OS: Linux Wayland ubuntu 22.04

thanks for reporting. seems like a regression. I remember accommodating for this in a previous patch. a regression, or something Linux specific.
will look into this when I get access to a Linux machine.
i forget if this is something shown by Copilot/Supermaven or Zed's Assistant Panel

coming back to this to find that my personal Linux PC doesn't play well with Zed since it doesn't have a supported Vulkan GPU. it's unbearably slow.
I'd be happy to merge any fixes on this if one has the time to debug on Linux Desktop

this overrides seems to do the trick for me on catppuccin mocha. I basically just revert back to the previous values for predictives as showed here : https://github.com/catppuccin/zed/pull/20/files
 "experimental.theme_overrides": {     "predictive": "#7c8ab3",     "predictive.border": "#babbf1"   },
Maybe that is something you can do and see if it breaks anything on mac os (I can't test on mac)

@ali-42 ahh, thank you for pointing this out. The previous slight blue-tint seems to look fine even on macOS. In a similar manner I'll adjust inlay hints to be a slightly different shade of blue as well.

Strange that this bug is only seen on Linux


pragma unroll warning in hip

This PR removes the pragma unroll warning in hip.
In general, the warning in ginkgo is caused by using break in the loop.
for () {
  if (condition) break;
  // other commands
}

->
for () {
  if (!condition) {
    // other commands
  }
}

to make pragma unroll work. ( I am not sure whether it affect the performance.)
copy_matrix unroll problem:
When using clang and hip to compile, copy_matrix gives the wrong result on custom precision.
I need to use #pragma unroll 1 to disable it.

__GNUC__, which stands for supporting GNU C, is also defined in clang compiler.
hcc/hipcc also define clang, so I can not use clang to identify clang.
does anyone have an idea for identify clang/gcc only?

This is only device code, right? Wouldn't it be sufficient to differentiate between nvcc and the ROCm compiler? Why do we need to check for gcc?

For some reasons, using gcc in hip works well but using clang gives wrong answer.
Thus, I also wonder whether there are some potential bug in the code.

For gcc:
#define GCC_COMPILER (defined(__GNUC__) && !(defined(__clang__) || defined(__INTEL_COMPILER))

I did not check it but probably something like this.

Is there any way to look at the intermediate representations generated by ROCm? I guess they separate their code just like nvcc does, right? Because they should hopefully give an insight into the differences between the compilers.


fix: sourceUrl passed to eval for local and remote chunks

Summary
Closes https://github.com/callstack/repack/issues/665
Test plan
n/a

needs more changes - mostly default name for output chunks so that everything stays in sync and can be properly parsed, postponed to v5

merging as is, will most likely require an alignment in the future


feat!: Add properties numInlineSlots and totalSlots to commercial metrics

What does this change?

introduce two new commercial metrics

numInlineSlots - the number of inline ad slots on the page
totalSlots - the total number of ad slots on the page

use parameter destructuring to simplify initCommercialMetrics api

Why?

It's necessary to collect numInlineSlots and totalSlots properties for the analysis of future A/B test around lazily-loaded ads on articles.
adding the two new parameters to initCommercialMetrics brought the total arguments a caller could use to 7. Leaving these as positional arguments made the function more difficult to use.

Lo

It looks fine to me. I know naming things is a never ending pain. But for two metrics that are effectively parallel, i wonder if more parallel names would be better. For example slotsTotal and slotsInline instead?

Or even adSlotsTotal and adSlotsInline to make it clear what kind of slots we're talking about if someone just sees the key name in the data somewhere.

Or even adSlotsTotal and adSlotsInline to make it clear what kind of slots we're talking about if someone just sees the key name in the data somewhere.

Good idea - those names are much clearer


[BUG]: Obsidian Switcher++ doesn't see *.txt files

Contact details
No response
What the essence of the bug
Obsidian Switcher++ doesn't see *.txt files. It worked with deathau/txt-as-md-obsidian plugin before Obsidian upgrade (1.3.5 -> 1.6.3) purfectly
If I rename one of *.txt files to *.md Obsidian Switcher sees it immediately
How to change UNITADE config to make Obsidian Switcher++ search in .txt files as in .md?
{
  "markdown_overcharge": false,
  "extensions": "",
  "is_onload": false,
  "is_onload_unsafe": false,
  "forced_extensions": "",
  "is_ignore": false,
  "ignore_extensions": "",
  "ignore_masks": "",
  "is_grouped": true,
  "grouped_extensions": "md: txt;",
  "mobile_settings": {
    "enable": false,
    "extensions": "txt",
    "stable": true
  },
  "stable": true,
  "errors": {},
  "debug_mode": false
}

Tried "extensions": "txt;", didn't help!
Version of an project's essence
2.2.1
On what OS you have encountered the bug.
Linux
Code of conduct

[X] I agree to follow this project's code of conduct

Issue policy

[X] I agree to follow this project's issue policy

The problem relates more to either the plugin itself or the OBSIDIAN application, since the plugin UNITADE does exactly the same thing when setting up as the plugin txt-as-md-obsidian, explanation below.
When you configure the UNITADE plugin config as "extensions": "txt;" it does the same logic (without any additional bells and whistles) as the plugin:
https://github.com/deathau/txt-as-md-obsidian/blob/20c455e8aa1555a3c3d23fee935653a9563c7ef8/src/main.ts#L9
    this.registerExtensions(["txt"], "markdown");

I'm not familiar with the Obsidian Switcher++ plugin, so it's possible that some of its updates (if you downloaded them) may have changed interactions with conditional .TXT files; otherwise, all that remains is to blame the original application itself and ask for support from the developers of the final plugin.
Thanks for the issue!

Turns out Obsidian Switcher++ sees *.txt files if I enable core Quick Switcher plugin. Closing the issue.


Automatically activate Awake when selected apps are in focus

Description of the new feature / enhancement
It would be great to have the option to automatically activate the awake plugin when a chosen app is currently in focus.
Scenario when this would be used?
Example: I use an app called "Yousician" to learn the guitar. While using this app, it often happens that I don't move the keyboard or the mouse for several minutes and therefore the screensaver activates.
Having to activate Awake every time I launch the app isn't that a big deal but not having to do that every time would make things a bit easier.
Supporting information
No response

If also add detection by process will good

@dend this's an interesting idea. How viable is a solution? Maybe we can enable the creation of a registry of recognized apps/processes like FancyZone's "Exclude Apps" settings that Awake can automatically activate on.

Maybe we can enable the creation of a registry of recognized apps/processes like FancyZone's "Exclude Apps" settings that Awake can automatically activate on.

That's exactly what I imagined when I wrote this issue. 👍

A little addition to this idea: Getting optional notifications when Awake is activated and deactivated (e.g. after end of temporary mode) might be a nice-to-have feature. ☺

Self-assigning this to myself to do some research 😄

Is there any news on this?

Closing this issue as not planned. There is way too much variability in determining what constitutes an "active app" - you can already bind Awake to a process, and that should be mostly sufficient for this scenario.


From private repo

Hi @v-anpasi, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (v-anpasi). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;


.glTF Export Instanced Meshes as Nodes Pointing to the Same Mesh

Overview:
When importing .glTF files, Babylon.js creates instanced meshes when two nodes point to the same mesh however, the opposite does not happen in the exporter which may result in reduced performance of scenes loaded into Babylon.js and subsequently exported due to the exported file no longer having nodes pointing to the same mesh.
Solution Sought:
I would like to see Babylon.js .glTF export instanced meshes as nodes pointing to the same mesh.
Discussion:
Forum Reference

this would be awesome!

Any progress on this? All thin instances I try to export to .glb become just empty nodes.

cc @bghgary

Are you making progress?

I have a local branch that overhauls the code to make this happen, but this won't be done for a while as it's a large change.


Add support for Musicgen Melody in the ONNX export

Feature request
Support Musicgen Melody's ONNX exportation with audio prompting.
Motivation
Currently, Optimum do not support export for Musicgen Melody models, The current implementation in Transformers already supports this model (musicgen-melody) through its specific configuration in configuration_musicgen_melody, but a configuration is missing to fully integrate it into Optimum. ONNX export of musicgen-melody with "audio prompting" would enable audio and text-conditioned music generation, which is essential for advanced music editing and generation applications.
optimum-cli export onnx --model facebook/musicgen-melody musicgen_melody_onnx/
https://github.com/huggingface/transformers/blob/main/src/transformers/models/musicgen_melody/configuration_musicgen_melody.py
Your contribution
I’ll attempt to adapt the current configuration for Musicgen to work with musicgen-melody, adding the audio_decoder dummy generator and configuring the necessary inputs. However, I have limited knowledge in this area, especially around setting up the dummy generator and managing the inputs for the audio encoder. Any guidance or examples would be greatly appreciated.

+1, it would be great to export Musicgen Melody models into ONNX

As far as I see the configuration is pretty similar but with the exception of two new parameters "chroma_length" and "num_chroma"
diff --git a/MusicgenConfig.txt b/MusicgenMelodyConfig.txt
index 6392f0c..24ac168 100644
--- a/MusicgenConfig.txt
+++ b/MusicgenMelodyConfig.txt
@@ -1,8 +1,8 @@
 {
   "_attn_implementation_autoset": true,
-  "_name_or_path": "facebook/musicgen-small",
+  "_name_or_path": "facebook/musicgen-melody",
   "architectures": [
-    "MusicgenForConditionalGeneration"
+    "MusicgenMelodyForConditionalGeneration"
   ],
   "audio_encoder": {
     "_attn_implementation_autoset": false,
@@ -100,6 +100,7 @@
     "use_causal_conv": false,
     "use_conv_shortcut": false
   },
+  "chroma_length": 235,
   "decoder": {
     "_attn_implementation_autoset": false,
     "_name_or_path": "",
@@ -113,7 +114,6 @@
     "begin_suppress_tokens": null,
     "bos_token_id": 2048,
     "chunk_size_feed_forward": 0,
-    "classifier_dropout": 0,
     "cross_attention_hidden_size": null,
     "decoder_start_token_id": null,
     "diversity_penalty": 0,
@@ -123,11 +123,11 @@
     "encoder_no_repeat_ngram_size": 0,
     "eos_token_id": null,
     "exponential_decay_length_penalty": null,
-    "ffn_dim": 4096,
+    "ffn_dim": 6144,
     "finetuning_task": null,
     "forced_bos_token_id": null,
     "forced_eos_token_id": null,
-    "hidden_size": 1024,
+    "hidden_size": 1536,
     "id2label": {
       "0": "LABEL_0",
       "1": "LABEL_1"
@@ -144,13 +144,13 @@
     "max_length": 20,
     "max_position_embeddings": 2048,
     "min_length": 0,
-    "model_type": "musicgen_decoder",
+    "model_type": "musicgen_melody_decoder",
     "no_repeat_ngram_size": 0,
-    "num_attention_heads": 16,
+    "num_attention_heads": 24,
     "num_beam_groups": 1,
     "num_beams": 1,
     "num_codebooks": 4,
-    "num_hidden_layers": 24,
+    "num_hidden_layers": 48,
     "num_return_sequences": 1,
     "output_attentions": false,
     "output_hidden_states": false,
@@ -181,8 +181,8 @@
     "use_cache": true,
     "vocab_size": 2048
   },
-  "is_encoder_decoder": true,
-  "model_type": "musicgen",
+  "model_type": "musicgen_melody",
+  "num_chroma": 12,
   "text_encoder": {
     "_attn_implementation_autoset": false,
     "_name_or_path": "t5-base",
'''


Clarification in /v1/provide-configuration-for-livenetview

For the /v1/provide-configuration-for-livenetview, we have the following callback defined,

RequestForProvidingConfigurationForLivenetviewCausesDeterminingAirInterfaceUuidUnderTest

But this callback is not available in the configuration file.  Kindly please add this if this is required. Thanks

The callback RequestForProvidingConfigurationForLivenetviewCausesDeterminingAirInterfaceUuidUnderTest is in the OAS, but neither in the ForwardingList, nor in CONFIGfile.
The callback RequestForProvidingConfigurationForLivenetviewCausesDeterminingAirInterfaceUnderTest is in the ForwardingList and in the CONFIGfile, but not in the OAS.
I conclude that this is a typo in the OAS.
I have corrected the name of the callback in the OAS.
This correction is already included in branch v1.1.1.


Include page parameter to not disrupt current text flow

Description
For an example document that includes a full-page figure...
= Introduction
#lorem(300)

#page(
  flipped: true,
  figure(
    table(
      columns: 10,
      inset: (x:50pt,y:15pt),
      ..range(1, 101).map(x => [#x])
    ),
    caption: [some table]
  )
)

= Methods
#lorem(300)

... it would be helpful to have a parameter that allows for specification that the text flow of the current page should not be interrupted, and the full-page figure will appear on the subsequent page.
I can think of a few ways this might be implemented:

An interrupt-text-flow parameter (default value: true) that, if set to false, will be kept from any rendering until the current page is full.
An insert-after parameter (default value: none) that, if set to a label of some document element, will be inserted into the document one page after the label-specified content is completed, not interrupting text flow.

Use Case
In many academic publications, large tables or images are pushed to be on their own page, often on a landscape page, while not interrupting the text flow after it is mentioned with a page break that leaves unused page space.

I think this might be better as a parameter on figure instead of page.
figure already has the placement attribute, which accepts none (here), top and bottom.
It might be possible to add new options page and flipped-page there and let typst figure out the rest, similar to LaTeX's p figure placement.

I think this might be better as a parameter on figure instead of page.

Agreed. I'll close this in favor of https://github.com/typst/typst/issues/3967.


feat(status): add HTTP statuses 421 and 451

The official IANA list at
http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml
has two new status codes that are missing from the hyper status list.

Excellent, thanks!


iOS 8.3 Networking Bug

Hi guys,
Since iOS 8.3 release, I'm unable to receive fully formed responses from our server.
Problem has been described on some threads across the web:
http://community.omegawave.com/omegawave/topics/ios-8-3-bug
http://stackoverflow.com/questions/29528293/nsmutableurlrequest-body-malformed-after-ios-8-3-update
Is there a solution to it?

AFNetworking does not rely on the behavior of NSURLSessionConfiguration configuration for the Content-Type header, so this does not apply.
For questions about your specific implementation, try asking on Stack Overflow yourself using the "AFNetworking" tag.
If, in fact, this is an issue with AFNetworking, please open a new PR with a failing test case.

Thanks!


Update unsafe class names test

This allows classes to be loaded that begin with com.sun or com.apple
which are not in those packages.

Looks good to me.

Thanks :smile:


Feature Roadmap

A list of features done, and left to be done:

[x] more generic searching with filters

[x] collapsable filter menu
[x] check if search doesn't match course, then display clickable list with courses

[x] regex search support
[ ] hover on prof shows specific stats, semester, curve etc

[ ] plot curve per professor
[ ] figure out how to do html image popup on hover without js

[x] link to course explorer on selected course
[ ] make graph have hover tooltips (unknown difficulty without js)
[x] Recognize multiple unique courses using same number and subject
[x] Offered in Fall 2020 Feature
[x] GPA per semester
[x] +/- grades
[x] Link to latest course explorer page

@chin123 Are you looking for collaborators on this open source project or are you doing this all by yourself? Also kudos on the great idea as well as implementation!

Hey @abhinavtripathy ,
Pull requests are always welcome! Please make an issue before you start anything though, to make sure that everyone knows what you're implementing.
Furthermore, there are a couple of features of the front end I would like to stay the same:

0 javascript: improves speed and accessibility, and reduces complexity
no animations

Right now @dineshkumar227 is working on hover for prof specific stats, semester, curve etc.


Admin's ability to see details of a given enrollment session

Admin enrollments show pages e.g details on index page and list of students

Same info as what is on index page PLUS list of students

Buttons to add/remove students next to student names.

Buttons at top to edit enrollment information


Scope underline highlight is different from the char highlight.

Problem
I'm using Alacritty with Tmux with onedarkpro theme.
The scope underline highlight is not the same as the highlight, using it with rainbow-delimeter.nvim.

Steps to reproduce
ibl config
{
    "lukas-reineke/indent-blankline.nvim",
    dependencies = { "HiPhish/rainbow-delimiters.nvim" },
    event = { "BufReadPost", "BufNewFile" },
    main = "ibl",
    config = function(_, opts)
      local hooks = require("ibl.hooks")

      -- create the highlight groups in the highlight setup hook, so they are reset
      -- every time the colorscheme changes
      hooks.register(hooks.type.HIGHLIGHT_SETUP, function()
        local colors = require("onedarkpro.helpers").get_colors()

        vim.api.nvim_set_hl(0, "RainbowWhite", { fg = colors.white })
        vim.api.nvim_set_hl(0, "RainbowViolet", { fg = colors.purple })
        vim.api.nvim_set_hl(0, "RainbowBlue", { fg = colors.blue })
        vim.api.nvim_set_hl(0, "RainbowGreen", { fg = colors.green })
        vim.api.nvim_set_hl(0, "RainbowYellow", { fg = colors.yellow })
        vim.api.nvim_set_hl(0, "RainbowOrange", { fg = colors.orange })
        vim.api.nvim_set_hl(0, "RainbowRed", { fg = colors.red })
        vim.api.nvim_set_hl(0, "RainbowCyan", { fg = colors.cyan })
      end)

      vim.g.rainbow_delimiters = { highlight = indent_highlight }
      require("ibl").setup(opts)

      hooks.register(hooks.type.SCOPE_HIGHLIGHT, hooks.builtin.scope_highlight_from_extmark)
    end,
    opts = {
      -- indent = { highlight = indent_highlight },
      scope = {
        highlight = indent_highlight,
      },
    },
 },

onedarkpro config
return {
  "olimorris/onedarkpro.nvim",
  lazy = false,
  priority = 1000,
  config = function(_, opts)
    require("onedarkpro").setup(opts)
    vim.cmd.colorscheme("onedark")
  end,
  opts = {
    colors = {
      dark = {
        telescope_prompt = "require('onedarkpro.helpers').darken('bg', 1, 'onedark')",
        telescope_results = "require('onedarkpro.helpers').darken('bg', 4, 'onedark')", -- dark gray
        telescope_preview = "require('onedarkpro.helpers').darken('bg', 6, 'onedark')",
        telescope_selection = "require('onedarkpro.helpers').darken('bg', 8, 'onedark')",
      },
    }, -- Override default colors by specifying colors for 'onelight' or 'onedark' themes
    highlights = {
      TelescopeBorder = {
        fg = "${telescope_results}",
        bg = "${telescope_results}",
      },
      TelescopePromptBorder = {
        fg = "${telescope_prompt}",
        bg = "${telescope_prompt}",
      },
      TelescopePromptCounter = { fg = "${fg}" },
      TelescopePromptNormal = { fg = "${fg}", bg = "${telescope_prompt}" },
      TelescopePromptPrefix = {
        fg = "${purple}",
        bg = "${telescope_prompt}",
      },
      TelescopePromptTitle = {
        fg = "${telescope_prompt}",
        bg = "${purple}",
      },
      TelescopePreviewTitle = {
        fg = "${telescope_results}",
        bg = "${green}",
      },
      TelescopeResultsTitle = {
        fg = "${telescope_results}",
        bg = "${telescope_results}",
      },
      TelescopeMatching = { fg = "${blue}" },
      TelescopeNormal = { bg = "${telescope_results}" },
      TelescopeSelection = { bg = "${telescope_selection}" },
      TelescopePreviewNormal = { bg = "${telescope_preview}" },
      TelescopePreviewBorder = { fg = "${telescope_preview}", bg = "${telescope_preview}" },

      AlphaHeader = { fg = "${yellow}" },
      AlphaButtons = { fg = "${white}" },
      AlphaShortcut = { fg = "${blue}" },
      AlphaFooter = { fg = "${orange}" },

      NormalFloat = { bg = "${telescope_results}" },
      FloatBorder = { bg = "${telescope_results}", fg = "${gray}" },

      NavicText = { fg = "${fg}" },
    },
    -- plugins = {},
    styles = {
      types = "NONE",
      methods = "bold",
      numbers = "NONE",
      strings = "NONE",
      comments = "italic",
      keywords = "bold,italic",
      constants = "NONE",
      functions = "bold",
      operators = "NONE",
      variables = "NONE",
      parameters = "italic",
      conditionals = "italic",
      virtual_text = "NONE",
    },
    options = {
      cursorline = true, -- Use cursorline highlighting?
      transparency = true, -- Use a transparent background?
      terminal_colors = false, -- Use the colorscheme's colors for Neovim's :terminal?
      window_unfocused_color = false, -- When the window is out of focus, change the normal background?
    },
  },
}

Expected behavior
Highlight to be the same.
Neovim version (nvim -v)
0.9.2

This is a limitation with your terminal. Not all terminals support underline with a different color.

Which terminals are supported? Because I tried with both Kitty and iTerm2 (both EXTREMELY popular terminals) and both of them behaved as this issue described.
This issue should not be closed. If it's intended behaviour then you'd should be flagged a feature request instead, because supporting iTerm2 and Kitty seems very basic.

You're right!!! It IS tmux that's messing with it. If i go to a file without tmux the underline works correctly.
Unfortunately adding that snippet you posted didn't help, any other ideas?

There just was a discussion about this on Reddit as well, maybe something there works for you.

In case anyone comes across this later - I managed to fix it by adding this to my tmux.conf (I'm using kitty):
set -g default-terminal "xterm-kitty"

In case anyone using alacritty with tmux, try at this to your tmux config. It fixed for me.
set -as terminal-features ",alacritty:usstyle"
or
set -as terminal-features ",$TERM:usstyle"

In case anyone using alacritty with tmux, try at this to your tmux config. It fixed for me. set -as terminal-features ",alacritty:usstyle" or set -as terminal-features ",$TERM:usstyle"

This worked for me but I had also had to upgrade Alacritty from version 10 to 12.

I have the same problem as you. I'm using wezterm.Use this config can fix this problem.
env TERM=wezterm nvim code/xxx.c
OR
Add below config to .zshrc can fix this  problem:
if [[ $TMUX != "" ]] then
    export TERM="tmux-256color"
else
    # export TERM="xterm-256color"
    export TERM="wezterm"
fi

I have the same problem. My setup is:

macOS
Alacritty 13
tmux

Like above, I've added the line set -as terminal-features ",alacritty:usstyle" to my  .tmux.conf. It doesn't work, so I've checked the behavior without tmux. Same problem.
If I understand @lukas-reineke correctly, the only point where it can come from by now is the color scheme, right?!?
I use my own very clean and simple color scheme and I very like IndentBlankline.
Does anybody has a hint for me, what the highlighting can be to discard the horizontal underlining (or set the color of it)? I've tried some (Line number included) but nothing has worked so far. The vertical indents are working and are awesome with changing the color depending on the scope :)

If I understand @lukas-reineke correctly, the only point where it can come from by now is the color scheme, right?!?

No, this is not even related to Neovim. It is a problem with your terminal / tmux and how they are configured.

Does anybody has a hint for me, what the highlighting can be to discard the horizontal underlining

If you just don't want to display the underlines at all, you can turn off :help ibl.config.scope.show_start and :help ibl.config.scope.show_end

does iterm2 support this feature？

it seem the iterm2 and wezterm don't support this feature defaultly.
Can I make it done by change some configure in wezterm?

it seem the iterm2 and wezterm don't support this feature defaultly. Can I make it done by change some configure in wezterm?

Yes, see https://wezfurlong.org/wezterm/faq.html?h=underline#how-do-i-enable-undercurl-curly-underlines (It's the same issue) -- in short you need the custom terminfo file and to set TERM=wezterm before launching nvim.


dbjobqueue: reduce the number of needed connections

Previously, all dequeuers (goroutines waiting for a job to be dequeued) were
listening for new messages on postgres channel jobs (LISTEN jobs). This didn't
scale well as each dequeuer required to have its own DB connection and the
number of DB connections is hard-limited in the pool's config.
I changed the logic to work somewhat differently: dbjobqueue.New() now spawns
a goroutine that listens on the postgres channel. If there's a new message,
the goroutine just wakes up all dequeuers using a standard go channel.
Go channels are cheap so this should scale much better.
A test was added that confirms that 100 dequeuers are not a big deal now. This
test failed when I tried to run it on the previous commit. I tried even 1000
locally and it was still fine.
Signed-off-by: Ondřej Budai<EMAIL_ADDRESS>This pull request includes:

[ ] adequate testing for the new functionality or fixed issue
[ ] adequate documentation informing people about the change such as

[ ] submit a PR for the guides repository if this PR changed any behavior described there: https://www.osbuild.org/guides/

This is now ready after I did some clean-ups. It will conflict with #2344 though. I would prefer to merge #2344 firstly as this PR will be simpler to rebase. :)

Rebased on main, this can go in.


Change style

I want to change te color in the bar of the <ion-range-slider>. Does somebody know how can I do it?
Thanks!

yeah would be nice to be able to do this just like in the original. the original have 5 skins to choose from : http://ionden.com/a/plugins/ion.rangeSlider/demo_advanced.html

hello?

@tatsujb, @MikeGsus  This angular module is just a wrapper around the original module, meaning you can style it the same way as the "original" ion-range-slider. You can also choose from the 5 skins.
Please have a look at the README  file in this project

Also add the ion-range-slider style and skin css to the styles section in your .angular-cli.json

Just declare instead of the "skinFlat" skin another css file.
@MikeGsus to change the color of the bar, just overwrite the background property of the class ".irs-bar" in your css file.

hey @PhilippStein I imagine without the  .angular-cli.json changes, the slider wouldn't have shown up at all?
I have a correctly working range slider but I cannot style it. the  ".irs-..." css selectors that I can clearly see in the chrome dev tools are not overwritable, even with !important. the css from the slider is simply way higher priority.
also that doesn't tell us how the "original" styles itself. a dedicated section in your readme would be appropriate.
as it stands me and @MikeGsus are left stranded.

I modified the files here node_modules\ion-rangeslider\css. That works to me. :smile:

well that will fail if you git pull your project from elsewhere or if you ever run "npm install" or "npm update" or "yarn" again which why wouldn't you?
this is not a fix it's a band-aid.

@MikeGsus this is no good practice. You should overwrite the styles in your own css file. Copy the part from the ion-rangeslider css to your custom file and modify it there.
@tatsujb make sure you have the correct order of style files in your .angular-cli.json file. Your own file with the overwrites must be listet in the styles section AFTER the ion-rangeslider file.

@tatsujb also styling is not part of this angular module. As said this module is just a wrapper around the original ion-rangeslider. So the original slider is included in your project and you can style it as if you would do without using this angular wrapper. This is why I will not add a dedicated section in the README for this.

I've figured it out (despite owner's best efforts to snuff out that info 🙄 )
what you have to do to change the skin :
go into angular-cli.json and change the line with :
"../node_modules/ion-rangeslider/css/ion.rangeSlider.skinFlat.css"
here are the five possible values :
"../node_modules/ion-rangeslider/css/ion.rangeSlider.skinFlat.css"
"../node_modules/ion-rangeslider/css/ion.rangeSlider.skinHTML5.css"
"../node_modules/ion-rangeslider/css/ion.rangeSlider.skinModern.css"
"../node_modules/ion-rangeslider/css/ion.rangeSlider.skinNice.css"
"../node_modules/ion-rangeslider/css/ion.rangeSlider.skinSimple.css"
but you can also copy one of those into your project, edit it (like @MikeGsus  did) and import that instead.
this is what I recommend.

@PhilippStein  I've tried to overwrite, but It didn't work; so when I add the package I modified the values on those files and It ran.
However, I'll try to overwrite again and I'll notice you how it go.

@PhilippStein I want to change the design of slider I had try hard but i can't change can you please help me on this?
right now I am getting this
https://i.imgur.com/ZDxTdlP.png
but i need this
https://i.imgur.com/Nte1DYG.png
Thanks


I'm attempting to create a certificate using LetsEncrypt and DNS01 challenge with DNSimple. I would like to provide my own Certificate Signing Request (CSR) rather than having the library create its own. How can I do this?
What have you already tried?
I've looked at the codebase and I believe this is something that is delegated to the go-acme library, but I don't see any clear way of configuring it.

We can probably add this... but first, why do you want to create your own CSR?

To do this with the latest commit, you can implement an Issuer of your own. If all you want to do is use your own CSR, you can embed the ACMEManager (the default Issuer type) into your type, take the input CSR and craft your own CSR from it, then wrap the embedded Issue() method. Tada.
And if you need your own key as well, just implement and set Config.KeySource.


Update to 1.9.4, compatibility with 1.9, 1.9.2, 1.9.3

Adds compatibility with 1.9.X clients (1.9-1.9.4), as well as the new /stopsound command for 1.9.4 clients.
Changes made:

Added new protocol: Compatible_Play

1.9 protocol is LEGACY_PLAY, can be turned off in glowstone.yml
1.9.2 protocol is COMPATIBLE_PLAY
1.9.4 protocol is PLAY
Protocol changes here

/stopsound command, only works on 1.9.4 clients
allow-legacy-clients glowstone.yml entry to enable/disable 1.9 clients to connect

Glowkit PR for version change: 18

What about PLAY, PLAY_107, PLAY_109?

Yeah I don't like the names currently too. Including protocol number seems like a reasonable way.

Also what about 1.10? Should we do a full update or a protocol hack? Or shall we wait ?

@Paulomart I've been working on a 1.10 branch for a while now (https://github.com/momothereal/GlowstonePlusPlus/tree/1.10-dev). We discussed on Gitter that we should probably focus on finishing 1.8-1.9 features before updating G++ to 1.10.

Well protocol should be updated.


Fix typo in CloseTicketLink.tsx

Description 📝
This fixes a typo on the "Confirm Ticket Close" modal, displayed when closing a support ticket.
Preview 📷

Before
After

How to test 🧪

Pull down this code and run it locally
In ReplyActions.tsx, change L34 to: {true && <CloseTicketLink ticketId={ticketId} />}
Go to http://localhost:3000/support/tickets/0 (mocks on)
Click "close this ticket" near the bottom of the screen to see this modal.

Looks good! Consider adding a changeset with yarn changeset


Update process displays Javascript error when updating to v1.5.1

Saw a dialogue window with a "Cannot read property 'removeAllListeners' of null".

Hi @ccharlton  How to reproduce it ?

@ccharlton ping...

Sorry for my reply delay. I was updating to the latest version at that time, just downloaded the DMG and that prompt came up. Didn't come up before.


Enhancement request on documentation - Uninstall Instructions

It would be great, if we had uninstall instructions as well for isito, to complete the documentation loop.

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

ID: 68b5d00d-529b-a8be-47bf-773c967f0e72
Version Independent ID: 0cf044ef-b26f-a8fa-213f-1e3fffaf53d6
Content: Install Istio in Azure Kubernetes Service (AKS)
Content Source: articles/aks/istio-install.md
Service: container-service
GitHub Login: @paulbouwer
Microsoft Alias: pabouwer

@codepossible
Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

@codepossible - I am working on updates to these documents for Istio 1.1.x and uninstall instructions are being included as part of the updates. This is something that was on the backlog - thank you for raising visibility again.
/cc @jakaruna-MSFT

In the interim, here is how you can remove Istio:
Istio 1.0.x
$ helm delete --purge istio
$ kubectl delete -f install/kubernetes/helm/istio/templates/crds.yaml -n istio-system

Istio 1.1.x
$ helm delete --purge istio
$ helm delete --purge istio-init
$ kubectl delete -f install/kubernetes/helm/istio-init/files

@codepossible The uninstall instructions are now available in the updated docs.
@jakaruna-MSFT #please-close

@paulbouwer, Thank you!
@codepossible, We will close this out, but if you feel you need more information please just let us know.


render_video problem

I made an issue based on answer from https://github.com/jkulhanek/robot-visual-navigation/issues/4#issuecomment-1080374996 and i still can't run command python render_video.py , my terminal output like below
/home/rokhmat/anaconda3/envs/tesis/lib/python3.8/site-packages/deep_rl/common/util.py:1: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
  from collections import OrderedDict, Callable
Registering trainer turtlebot
Registering trainer turtlebot-noprior
Registering trainer turtlebot-unreal
Registering trainer turtlebot-unreal-noprior
Registering trainer turtlebot-a2c
Registering trainer turtlebot-a2c-noprior
Registering trainer dmhouse-a2c
Registering trainer dmhouse-unreal
Registering trainer dmhouse-ppo
Registering trainer dmhouse-ppo-a2cvn
Registering trainer turtlebot-ppo-a2cvn
Registering trainer dmhouse-ppo-unreal
Registering trainer dmhouse-dqn
Registering agent dmhouse-dqn
Registering trainer dmhouse
Registering agent turtlebot-noprior
Registering agent turtlebot
Registering agent dmhouse
Registering agent dmhouse-a2c
Registering agent dmhouse-ppo
Registering agent dmhouse-unreal
Registering agent turtlebot-a2c
Registering agent turtlebot-unreal
Registering agent turtlebot-a2c-noprior
Registering agent turtlebot-unreal-noprior
Traceback (most recent call last):
  File "render_video.py", line 76, in <module>
    env = trainer.create_envs(1, dict(renderer="hardware", screen_size=(500, 500), **default_args()['env_kwargs']),
  File "/home/rokhmat/tesis/robot-visual-navigation/python/trainer.py", line 550, in create_envs
    env = create_multiscene(num_training_processes, wrap=wrap_internal, use_dummy=use_dummy, **env_kwargs)
  File "/home/rokhmat/tesis/robot-visual-navigation/python/environment/__init__.py", line 58, in create_multiscene
    return AsyncVectorEnv(funcs)
  File "/home/rokhmat/anaconda3/envs/tesis/lib/python3.8/site-packages/gym/vector/async_vector_env.py", line 128, in __init__
    dummy_env = env_fns[0]()
  File "/home/rokhmat/tesis/robot-visual-navigation/python/environment/__init__.py", line 49, in func
    env = wrap(gym.make(**kwargs))
  File "/home/rokhmat/anaconda3/envs/tesis/lib/python3.8/site-packages/gym/envs/registration.py", line 676, in make
    return registry.make(id, **kwargs)
  File "/home/rokhmat/anaconda3/envs/tesis/lib/python3.8/site-packages/gym/envs/registration.py", line 520, in make
    return spec.make(**kwargs)
  File "/home/rokhmat/anaconda3/envs/tesis/lib/python3.8/site-packages/gym/envs/registration.py", line 137, in make
    env = self.entry_point(**_kwargs)
  File "/home/rokhmat/tesis/robot-visual-navigation/python/environment/__init__.py", line 12, in _createImageEnvironment
    return ImageEnvironmentWrapper(TimeLimit(ImageEnvironment(**kwargs), 300))
  File "/home/rokhmat/tesis/robot-visual-navigation/python/environment/image_collection_environment.py", line 45, in __init__
    super(ImageEnvironment, self).__init__(**kwargs)
TypeError: object.__init__() takes exactly one argument (the instance to initialize)

is there something missing from the command I ran? or are there steps i have to do?
Previously I have downloaded the pre-trained models that you provide.
Thanks for your attention. I’m looking forward to your reply.

It should be working now. I tested it with the dmhouse environment.

after I run the command python render_video.py --path /home/rokhmat/thesis/robot-visual-navigation dmhouse, there is an error as below:
(robotvn) rokhmat@b401:~/tesis/robot-visual-navigation/python$ python render_video.py --path /home/rokhmat/tesis/robot-visual-navigation dmhouse
Traceback (most recent call last):
  File "render_video.py", line 1, in <module>
    import gym
  File "/home/rokhmat/anaconda3/envs/robotvn/lib/python3.8/site-packages/gym/__init__.py", line 4, in <module>
    from gym.core import (
  File "/home/rokhmat/anaconda3/envs/robotvn/lib/python3.8/site-packages/gym/core.py", line 7, in <module>
    from gym import spaces
  File "/home/rokhmat/anaconda3/envs/robotvn/lib/python3.8/site-packages/gym/spaces/__init__.py", line 1, in <module>
    from gym.spaces.space import Space
  File "/home/rokhmat/anaconda3/envs/robotvn/lib/python3.8/site-packages/gym/spaces/space.py", line 15, in <module>
    from gym.utils import seeding
  File "/home/rokhmat/anaconda3/envs/robotvn/lib/python3.8/site-packages/gym/utils/seeding.py", line 7, in <module>
    from numpy.random import Generator
ImportError: cannot import name 'Generator' from 'numpy.random' (/home/rokhmat/anaconda3/envs/robotvn/lib/python3.8/site-packages/numpy/random/__init__.py)

there seems to be a problem with the gym version, should I change to an older version?

This is a wrong numpy version. If you start with a fresh environment and install all requirements.txt you should not have this problem.

I have started with a new environment and installed all the requirements.txt, but I got an error with cv2
(robotvn) rokhmat@b401:~/tesis/robot-visual-navigation/python$ python render_video.py --path=/home/rokhmat/tesis/robot-visual-navigation dmhouse
Traceback (most recent call last):
  File "render_video.py", line 4, in <module>
    import cv2
ModuleNotFoundError: No module named 'cv2'

so I installed cv2 by conda install -c conda-forge opencv -y,but after successfully installing cv2 (opencv 4.5.4), there was an error like yesterday
(robotvn) rokhmat@b401:~/tesis/robot-visual-navigation/python$ python render_video.py --path=/home/rokhmat/tesis/robot-visual-navigation dmhouse
Traceback (most recent call last):
  File "render_video.py", line 1, in <module>
    import gym
  File "/home/rokhmat/anaconda3/envs/robotvn/lib/python3.8/site-packages/gym/__init__.py", line 4, in <module>
    from gym.core import (
  File "/home/rokhmat/anaconda3/envs/robotvn/lib/python3.8/site-packages/gym/core.py", line 7, in <module>
    from gym import spaces
  File "/home/rokhmat/anaconda3/envs/robotvn/lib/python3.8/site-packages/gym/spaces/__init__.py", line 1, in <module>
    from gym.spaces.space import Space
  File "/home/rokhmat/anaconda3/envs/robotvn/lib/python3.8/site-packages/gym/spaces/space.py", line 15, in <module>
    from gym.utils import seeding
  File "/home/rokhmat/anaconda3/envs/robotvn/lib/python3.8/site-packages/gym/utils/seeding.py", line 7, in <module>
    from numpy.random import Generator
ImportError: cannot import name 'Generator' from 'numpy.random' (/home/rokhmat/anaconda3/envs/robotvn/lib/python3.8/site-packages/numpy/random/__init__.py)

i have found where the problem lies, i tried using opencv with an earlier version (4.5.2) and in my case it worked.
I installed opencv by pip install opencv-python==4.5.2.*
and produce terminal output as below
(try-robotvn) rokhmat@b401:~/zzz-test/robot-visual-navigation/python$ python render_video.py --path=/home/rokhmat/zzz-test/robot-visual-navigation dmhouse
/home/rokhmat/anaconda3/envs/try-robotvn/lib/python3.8/site-packages/deep_rl/common/util.py:1: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
  from collections import OrderedDict, Callable
Registering trainer turtlebot
Registering trainer turtlebot-noprior
Registering trainer turtlebot-unreal
Registering trainer turtlebot-unreal-noprior
Registering trainer turtlebot-a2c
Registering trainer turtlebot-a2c-noprior
Registering trainer dmhouse-a2c
Registering trainer dmhouse-unreal
Registering trainer dmhouse-ppo
Registering trainer dmhouse-ppo-a2cvn
Registering trainer turtlebot-ppo-a2cvn
Registering trainer dmhouse-ppo-unreal
Registering trainer dmhouse-dqn
Registering agent dmhouse-dqn
Registering trainer dmhouse
Registering agent turtlebot-noprior
Registering agent turtlebot
Registering agent dmhouse
Registering agent dmhouse-a2c
Registering agent dmhouse-ppo
Registering agent dmhouse-unreal
Registering agent turtlebot-a2c
Registering agent turtlebot-unreal
Registering agent turtlebot-a2c-noprior
Registering agent turtlebot-unreal-noprior
/home/rokhmat/anaconda3/envs/try-robotvn/lib/python3.8/site-packages/dmhouse/__init__.py:3: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  import imp

but the resulting video has a low resolution, can I produce a video with a higher resolution?

Sorry, currently I don't have the capacity to write the wrapper to render video in higher res. But you can easily do it yourself and I will be happy to accept the PR. In order to do that, you can implement a wrapper that will construct the inner env with higher res and store and downsample the observations.

I've found a way to get better rendering results, I was inspired by the colab you provided.  basically I just increase the plot size and save the animation with better quality.  I think the results are quite satisfactory.  thank you very much.


Colab Development

Google Colab Development
https://github.com/SingularityNET-Archive/colab-notebooks
Issues

https://github.com/SingularityNET-Archive/colab-notebooks/issues/1
https://github.com/SingularityNET-Archive/colab-notebooks/issues/2

Next Steps -

[ ] Setup Langchain connection and sample GitBook corpus

Stephen to look at Ubio's colab notebook

Core Ar4chives team to meet with Ubio Monday 22nd April - this will be part of the discussion

Preparing Python development in VS Code.

Install VS Code locally (Mac) (Getting Started )

## GitHub
Added Git / GitHub integration with https://github.com/SingularityNET-Archive/LLM-Development repo in local VS Code

## RAG Development
https://github.com/SingularityNET-Archive/LLM-Development/pull/3

Dependencies
We’ll use an OpenAI chat model and embeddings and a Chroma vector store in this walkthrough, but everything shown here works with any ChatModel or LLM, Embeddings, and VectorStore or Retriever.
We’ll use the following packages:

%pip install --upgrade --quiet  langchain langchain-community langchainhub langchain-openai langchain-chroma bs4

Will require pip3

Setup OpenAI API Key
https://platform.openai.com/docs/quickstart/step-2-set-up-your-api-key

Key lesson is that local Python development requires a virtual environment to install pip etc.
See https://github.com/SingularityNET-Archive/SingularityNET-Archive/issues/20#issuecomment-2074096526 above
Langchain is updated regularly so code examples from a few months ago may not work.


Can't use  instead of  in 'Responsive Web Design Project'

Describe your problem and - if possible - how to reproduce it
I want to use font awesome icon for my header logo and it requires i tag, but it doesn't pass, because  img tag is required. please, remove that requirement or add i tag as a possible choice.
Add a Link to the page with the problem
User Story #2:
https://learn.freecodecamp.org/responsive-web-design/responsive-web-design-projects/build-a-product-landing-page/
My website:
https://codepen.io/supuun/pen/vrjbWN

Hi @supuun! Changing the test suit for a specific case might not be as simple. We will have to wait for the project maintainers to discuss this and it may take some time.
In the meantime, I have a quick solution for you. You can use a fontawesome-to-png converter to convert your icon to a png and then you can put it in the img tag. In fact, I have created one for you myself. Check it out.

Thank you so much, light

Love it. I should say my second fav anime. It was my first one.

@supuun I probably shouldn't be asking here but you have made me very curious. Which is your favourite anime? 😝

@supuun I probably shouldn't be asking here but you have made me very curious. Which is your favourite anime? 😝

Steins;gate 😄


(Question) Slow calculation and mulit thread issues (pyhton)

Hi,
for learning reasons, I implement the stochastic gradient descent by myself with mxnet.
Basically I do in my learning loop the following steps:

Select a sample from the learning data by random
Copy it to the executor memory
do forward calculation
calculate head gradient
do backward calculation
adapt weights of executor

I iterate this code around 50000 times and it takes around 15 seconds on my computer.
15 seconds does not sound much, however if I need to search 50 different arguments for the best fit with 10-fold-crossvalidation, then we talk about around 2 hours of training time. And this is bad.
I guess the internal learning algorithms from the library are much faster, but by using them there is only little I can learn.
I also notices, that it really does not matter how many samples are calculated per iteration. If I calculate for validation 200 samples in the same loop, does not increase the learning time much, as long as I copy the data just once to the test-executor-memory. So setting up the memory for the train executor seems to be costly here, not the calculation of the executor.
Does anyone has an idea how to speed up my learning?
I also tried to learn different arguments (learning-rate, regularization rate) on different threads at the same time. Here every thread has its own training and test executors and writes only local data. So they should not share any resources. However I got race condition errors and the threads slows down it calculation enormously when running in parallel. So I guess even by using different executors, they have some kind of shared resource by mxnet?
I would be happy if someone can give me some hints about multi-threading with mxnet.

This issue is closed due to lack of activity in the last 90 days. Feel free to reopen if this is still an active issue. Thanks!


Detect guard pages and dump the real stack instead when encountering stack overflows on Linux

After landing bug 1678152 in Firefox we noticed that several of the crash reports we got had an empty stack. The first frame was fine but the rest of the stack appeared to be an empty 4KiB chunk. As it turns out in those crashes the stack pointer had been bumped straight into the guard page below the stack causing this code code to mistake the guard page for the stack and dumping it. The new writer inherited this flaw from Breakpad. To fix this we should have MappingInfo store the readable/writable flags in addition to the executable one and if the mapping we find here is non readable/writable then we should shift the stack pointer to the previous page and pick the previous mapping instead.

Is this the same issue as https://github.com/rust-minidump/rust-minidump/issues/638 or is it happening for a different reason on macos?

It could be the same reason. In fact given the logic should be the same it's highly likely and it intersects what @Swatinem noted about assuming the stack is a single memory region. Also I'm unsure if we're handling stack overflows on macOS properly so we might never have actually tested that particular code path. The last time I tried enabling Firefox' stack overflow tests on macOS it just didn't work so we might never have caught one for all we know.


there was an error in the queryset transformation for translation lookup

bevore this patch it was searching for translations with pk = pk from the translated object. it should search on the foreignkey field instead, but it didn't work with parent_id__in=... because django didn't recognize the field. so i used parent__pk__in=
this results in the following sql query using a sqlite database (example from a recent project):
SELECT "catalog_producttranslation"."id", "catalog_producttranslation"."parent_id", "catalog_producttranslation"."language_code", "catalog_producttranslation"."name", "catalog_producttranslation"."short_description", "catalog_producttranslation"."description" FROM "catalog_producttranslation" WHERE ("catalog_producttranslation"."parent_id" IN (8192, 8195, 8196, 8197, 8198, 8199, 8200, 8201, 8202, 8204, 8205, 8207, 8209, 8210, 8211, 8212, 8214, 8215, 8216, 8217, 8218) AND ("catalog_producttranslation"."language_code" LIKE de ESCAPE '' OR "catalog_producttranslation"."language_code" LIKE de ESCAPE '' )) ORDER BY "catalog_producttranslation"."language_code" DESC
and it finds all translations in the first attempt now

Thanks!


Rename symbol: No result

Environment data

Language Server version: Pylance language server 2020.9.6 (pyright c52b78aa)
OS and version: macOS
Python version (& distribution if applicable, e.g. Anaconda): 3.6.9

Expected behaviour
Renaming a function argument renames its usage within the function
Actual behaviour
No result
Logs

XXX

Code Snippet / Additional information

def go(foo: str) -> str:
    return foo

Have upgraded and am still experiencing this with Pylance language server 2020.9.7 (pyright a0620921)

Thanks for the bug report.
I'm not able to repro this in either Pylance or Pyright. Do you have any non-default settings enabled that might affect this?

I'm also experiencing this exact same issue. Going to try this on another os with a fresh install and report back.

Ok so I've discovered something, but I'm not yet sure if this is related to pylance itself.
I'm able to perform a rename in a workspace without a venv. As soon as I create a new venv then I'm unable to rename.
@tekumara Can you confirm this behavior on your side?

Ah, so in my case it's because I haven't opened a folder yet. This is how I repo:
Open a new VSCode window, and open a single file. Rename symbol will fail in that file. In the same window now open the file's folder. Rename symbol will succeed.
@VladimortZA are you using a pyrightconfig.json? If you are, check the include or exclude options are correct if they exist. NB: include: "." is assumed if not present.

Good clue!
Interesting, it looks like this might be a bug in VS Code. The language server isn't receiving an onRenameRequest callback if I open a file and attempt to rename a symbol. If I open a folder and then open a file within it, the rename request is received as expected.
@jakebailey, any thoughts about this?

Single file mode has always been a bit shoddy, but it might be an artifact of how the core extension manages the LS connection. A test would be to repeat the same thing with the pyright extension (which doesn't do anything but start the client for all Python requests).

I already confirmed that the same thing occurs with the Pyright extension, so that would seem to indicate it's a problem with VS Code, not the core Python extension.

Very strange. I haven't seen this before (and quick searching the VS Code issues doesn't net anything, but there are literally a hundred thousand issues).

I have same problem.  Must be pretty hard to track down the cause beacuse everybody has different setup...
Python 3.7.7 64-bit.  Pylance 2020.12.1, Python 2020.11.371526539
Version: 1.51.1 (user setup)
Commit: e5a624b788d92b8d34d1392e4c4d9789406efe8f
Date: 2020-11-10T23:34:32.027Z
Electron: 9.3.3
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19042

Looks like is unrelated to size of the file but the extension of the file.  It looks like if the extension is not ".py" you will get this problem.  Seen it happen on ".pyw" files and it works fine when renamed to ".py".  Should work on all files extentions associated with python.  Here are a few:
"files.associations": {
    "*.py*":       "python",
    "*.spec":      "python",
    "SConstruct":  "python",
    "SConscript":  "python"
}

For me this happens when the file is in a project subfolder. In a flat project structure (all files beside each other in the opened folder) the command works as expected. Since all of my projects contain a more or less complex folder structure the bug is quite annoying.

We only support python in py and pyi files; any other format isn't supported (and overriding it probably confuses Pylance). I think pyw is the same syntax, so potentially that could be supported, but this is the first time I've seen it in practice.

pyw extention are for windowed python programs created from wxpython, pyqt, tkinter.
spec files are pyinstaller files that are writen in Python. Scons files are also writen in Python.

Just to cross-link it, for extensions that aren't py or pyi, see #739.

@MiMiMeowMeow #739 should be fixed in the next release; I don't know if I can close this issue though as the original issue was not file extension related.

@MiMiMeowMeow #739 should be fixed in the next release; I don't know if I can close this issue though as the original issue was not file extension related.

No, under no circumstances can this be closed. The original issue hasn't been fixed! #739 is completely unrelated to #441.

No, under no circumstances can this be closed. The original issue hasn't been fixed! #739 is completely unrelated to #441.

What solved it for me was to:

Open Folder - Select my project folder ...
Make sure every subfolders had an init.py
Make sure Pylance does not complain about anything under VSCODE "PROBLEMS" tab (Ctrl + J for access)
Then selecting the variable - right click - rename symbol - I rename it - Enter.
... and it worked.

For me, the problem was Pylance itself....for temporary solving, you can change the "python.languageServer" in setting json file from "Pylance" to "Microsoft" and then it works with Microsoft.

I meet this issue, too. But when I try to rename this symbol again, it worked. I don't know why.

I meet this issue, too. But when I try to rename this symbol again, it worked. I don't know why.

I am experiencing the same thing. Sometimes does not work on the first shot, but worked in the second time.

The fact that it fails the first time but succeeds the second time is interesting. I see this with other calls as well, like when I reproduced #227 (which is go-to-def, not rename). I'm wondering if this is all some common issue.

I experience the very same issue. Whenever im trying to rename or go-to-def for the first time in a file it does not work. Repeating either command is working just fine though

The fact that it fails the first time but succeeds the second time is interesting. I see this with other calls as well, like when I reproduced #227 (which is go-to-def, not rename). I'm wondering if this is all some common issue.

I have both issues: go-to-def and rename work on the second try only (the first yields "no results"). After doing that in one file, it seems to keep working in this file, but the other open ones still have the issue.
This is VSCode 1.54.3 (system setup) on Windows 10, in a venv.

This is related to issue https://github.com/microsoft/pylance-release/issues/1069. As I mentioned in that thread, my investigation leads me to think this is a bug in the core Python extension.

See https://github.com/microsoft/vscode-python/issues/15727; this is a bug in the core extension and we'll fix it there.

Just to show the original issue working:

I'll close this (and the numerous other issues the bug caused) when the core extension's point release is done.

This is now fixed in the core extension (v2021.3.680753044).

Should this be fixed in the current stable release? I'm still getting "No result." when trying to rename a simple variable in Python. Should I open a new bug report?

The error does not occure in the current stable release. Everthing works perfectly fine for me using 1.55.2

Yes, please file a new issue. This issue was caused by a client bug that's since been fixed.

Hi! In my case this seems to happen when opening a simple file in an untrusted [yet] workspace. It doesn't happen when I open a project (not a single file) in a trusted workspace.

The Python extension and Pylance don't (yet) support untrusted workspaces, so no features are going to work as the Python extension doesn't start Pylance.

I'm sorry to say that this still happens for .pyw files under VSCode 1.60.1 and Pylance v2021.9.1.
As soon as I rename the offending file to .py, the rename symbol function works.
This is happening in a trusted folder.
Is there anything I can do in order to provide more useful information?
Thanks in advance.

That would be #1636.

I checked that, @jakebailey , but apparently Pylance now supports .pyw files, too, per #739, so renaming symbols should work. This is a pure Python file, not some syntax derived from Python, like SageMath.
Also, the file mode is properly set as Python, so I don't get why this should be happening.
Anything wrong on my side that I can check? Thanks a lot for the reply, @jakebailey .

I'm not sure what you mean. The linked issue may talk about .sage, but the issue is more generic around anything that's not just a .py or .pyi. The language you have set the file to doesn't change that we are excluding other extensions from our list of source field where refactoring is valid.

Oh, sorry, my bad then. I assumed that since Pylance supported .pyw files, that included refactoring.
Any possibility of including .pyw as a supported extension for refactoring? I know that extension is very platform specific, as it's only for Windows, and I suppose those files could be renamed and then using some fix they will still work with the proper (non-console) Python for Windows interpreter, but I'm just curious if adding that extension is an easy fix or if it has some deeper implications.
And again, @jakebailey thanks A LOT for your help. I was seeing the whole picture 😃

That is precisely what #1636 covers.


Use Msgpack to encode and decode block filesets and commit logs

cc @robskillington @martin-mao @kobolog @prateek @cw9
This PR uses MessagePack for serializing / deserializing on-disk data including block filesets and commit logs, replacing protobuf due to MessagePack's superior performance (not reflection-based) and memory usage (no allocation for byte slices by default during decoding)

Coverage increased (+0.09%) to 78.367% when pulling fada0dc20a74a7bb6da91adaaee2c84ab2c4da80 on xichen-msgpack into fc9b1274cd4bfa3f813233e709d90ca733d82aac on dev.

Coverage decreased (-0.06%) to 78.221% when pulling c9224c2b43019680e60e9f49cb445613c6ce7d23 on xichen-msgpack into fc9b1274cd4bfa3f813233e709d90ca733d82aac on dev.


Fix BN installation path detection does not work with Python 3.11

This fixes a minor issue that the binja installation path detection does not work with Python 3.11. Close https://github.com/mandiant/capa/issues/1430
Checklist

[ ] No CHANGELOG update needed

[ ] No new tests needed

[ ] No documentation update needed

I did not do the "test run with BN" as mentioned here: https://github.com/mandiant/capa/issues/1430#issuecomment-1500593410. I am not entirely sure what is the best way to organize the code. I saw there is already a capa test run action, but that one does not download and install BN. Not sure whether the binja test run should be part of it, or it should be part of the BN test process. @williballenthin Could I leave this for you?

of course, no problem


wrong documentation of mandatory field

In the  getAvailableServicesTree method, the category field is documented as optional. But this is wrong. Even OpenAPI ignores this config. All path variables are by default only mandatory.
We must remove this config to maintain uniformity.
https://github.com/eclipse-xpanse/xpanse/blob/df42f452bdb54190c65d7614c10faef4abcc368b/modules/api/src/main/java/org/eclipse/xpanse/api/ServiceDeployerApi.java#L239

I will fix it.


VM now subscribes to topics "alias/+" and "group/+" on Connect, creat…

Resolves
What Github issue does this resolve (please include link)?
https://github.com/orgs/ComputeCycles/projects/1#card-61629546
Proposed Changes
Describe what this Pull Request does

Subscribes MQTT Client to 'alias/+' and 'group/+' on connect

Creates list or string variables from the retained data items on above topics on Connect

ALL such variables are cleared on disconnect

IMPROVES loop efficiency for clearAllScratchVariables created for last PR

Reason for Changes
Explain why these changes should be made
Test Coverage
Please show how you have added tests to cover your changes

added error handling


[feat] toast added and possible solution

toasting response for ready start enter unready submit and upload

@yixuan-zhou-uzh pls fix magic number warning

@yixuan-zhou-uzh pls fix magic number warning

solved


add dependency on less

The npm install command failed without this, for me.

I'm not seeing this on a fresh install; less should already be brought in via gulp-less.
What's the exact error message you were seeing?

Hmm - I can’t seem to reproduce now. Weird. I’ll close.


[Feature Request] Option to delete saves

Right now as I see it, if I play a lot with this mod installed and have many different multiplayer or solo runs, the save menu will get very cluttered.
I would like to see the ability to delete saves, as well as for a save to be auto deleted after a run is failed. This prevents this mod from being a cheat utility, which I don't think this mod needs to do.

Deleting saves is on the todo list, and shouldn't take long to implement. But i first want to make sure, the core mod works.
For now you can manually delete saves by deleting the corresponding folder in "C:\Users\YourName\AppData\LocalLow\It's Happening\PlateUp\SaveSystem".

As for automatic deletion, I'll add that to the ideas list.


Allow symfony 4

A next try to get it on SF4.

@szymach i fixed your stuff, i think, hopefully the tests are going green.

Well until a new maintainer comes up, there is not much left to do here, unfortunately. I myself have switched to a fork my company have made for this repo and am investigating how hard would it be to use CKEditor 5 with just plain javascript, without Symfony integration.

@szymach any chance to merge & release befor the new container man comes?
@szymach what about you?

I am not a maintainer, I cannot do anything with this repo, sorry.

@fbourigault what about you?

I asked @egeloen to become maintainer, but he seems busy.


Options parser groups revision

This minor revision adds options grouping to the program arguments. This transforms the CLI menu from a paragraph of options to a condensed tree. Resolves #91

This makes the "help" look like so:
Usage: analyzeMFT.py [options] filename
Options:
-h, --help            show this help message and exit
-f FILE, --file=FILE  Read MFT from FILE
-a, --anomaly         Turn on anomaly detection
-l, --localtz         Report times using local timezone
-d, --debug           Turn on debugging output
-v, --version         Report version and exit
Output Options:
  -o FILE, --output=FILE
                      Write results to CSV FILE
  -b FILE, --bodyfile=FILE
                      Write MAC information to bodyfile
  -c FILE, --csvtimefile=FILE
                      Write CSV format timeline file

Body File Options:
  --bodystd           Use STD_INFO timestamps for body file rather than FN
                      timestamps
  --bodyfull          Use full path name + filename rather than just
                      filename

Performance Options:
  --threads=THREAD_COUNT
                      Number of threads to use for parsing (default: 1)


Unable to download past broadcasts

It worked yesterday. Now it gives this error:
Downloading broadcast information.
Downloading replay information.
Traceback (most recent call last):
  File "c:\python35\lib\runpy.py", line 184, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\python35\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Python35\Scripts\pyriscope.exe\__main__.py", line 9, in <module>
  File "c:\python35\lib\site-packages\pyriscope\__main__.py", line 23, in main
    processor.process(args)
  File "c:\python35\lib\site-packages\pyriscope\processor.py", line 451, in process
    cookielist = access_public['cookies']
KeyError: 'cookies'

Example vod: https://www.pscp.tv/IVANJFOSTERs/1vAxRNZqgBvxl

try "pscp." -> "periscope."

Doesn't help. Is it working for you?

I was able to bypass this issue by commenting out lines 455-461 in processor.py. Just run python3 -m pyriscope https://www.periscope.tv/w/myperiscopeurl.

Still doesn’t work.. any updates


Application UI is slow on Linux when GPU is busy

OS:
Fedora Linux 26
Issue Descriptions:
Same as some other Chromium/Skia-based applications the UI is very sluggish on Linux when the GPU acceleration is off and GPU is busy with something heavy such as CUDA workload. This sluggishness paradoxically goes away when acceleration is on. There's probably some bottleneck when buffers are copied to the GPU by compositor eventually.
Note that the OS desktop performance in general is normal, native apps are fine, it's only GPMDP and some other Electron apps, which disable acceleration by default, being slow at these conditions.
Please consider adding an option to force GPU acceleration instead of always disabling it on non-macOS. This option might need to ignore Chromium's GPU blacklist too.
Steps to Reproduce:
Launch GPMDP when running something compute-heavy on the GPU (e.g. ML models training, BOINC, etc).

when the GPU acceleration is off and GPU is busy with something heavy such as CUDA workload

This doesn't make sense to me, we've disabled GPU acceleration so why would the GPU being over-utilized cause an issue?  Because we disable GPU acceleration all work is offloaded to the CPU and if you're doing super resource intensive stuff on that then there's not much we can do.
The reason GPU acceleration is disabled for all non-macos is to (a) reduce power load and (b) stop graphical bugs and crashes on linux

Woops, leaving open for discussion

There are several parts of moving the buffers from the application to the GPU, in which the application itself is just a starting point. Correct me if I'm wrong but my understanding is that when no GPU acceleration is used it pretty much means that all the graphics buffers are stored in the system RAM and then at some point transferred to the GPU anyway by the compositor, which can be not as efficient as if operated entirely in the GPU memory. This is not really noticeable if the application isn't doing anything graphically intensive or GPU's resources are freely available for excessive copying but becomes a problem otherwise.
This same issue happens with desktop Slack and Rambox applications, which are also Electron based. In case GPU acceleration is disabled (it's provided as an option) or blacklisted there's sluggishness under load, when enabled — it's fast and responsive. Similarly with Sublime Text 3, which is Skia based (Chromium's rendering engine), except there's no option to enable acceleration on Linux.
While the desktop itself (GNOME 3), Firefox and all the native applications are responsive if just a little bit less snappy under load, GPMDP is close to unusable.
So what I'm proposing is to provide GPU acceleration as an option, which may be off by default.