Update free-courses-hi.md

Added a youtube tutorial on Rust.
What does this PR do?
A youtube tutorial in Hindi on Rust.
For resources
Description
A resource to learn Rust for beginners.
Why is this valuable (or not)?
A complete resource to learn Rust in Hindi.
How do we know it's really free?
It is a youtube tutorial.
For book lists, is it a book? For course lists, is it a course? etc.
A youtube tutorial.
Checklist:

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

Follow-up

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

this course is in english


pchampin improvements & local Font Awesome v5

Building on top of #77 , I merged the changes by @pchampin with latest master, resolved some conflicts and used a local version of the free edition of Font Awesome v5.12.0

To fix the RSS/feed icon (which is not a brand), I created change 93f5803 so the full Font Awesome class gets taken from pelicanconf.py
Mind you that one should change configurations from ('github', '[url]'), to ('fab fa-github', ...) and such.
This all should fix #69 too.


can we rename this to dist-git-to-source-git?

The "2" doesn't work as expected in this context. It doesn't imply "to".

never


Checklist not working properly

Look at the below gif:

At first, I clicked on an item & everything vanished
Nothing happens when I check an item

I'm taking up this issue.


Crash at the startup

debug.log

Uploaded a fix for such for Curseforge and Modrinth

Thank you, I'll check it out asap

It works, thank you!


External Columnar Sort

The current sort algorithm we have has issues when the number of columns is very large since it performs a transpose of the data, and has problems with memory controls when there are columns with huge values. (for instance, images).
This proposes and implements a new sorting algorithm which makes use better of the columnar nature of the data. It switches back to the old sort implementation when there are few, small columns, but uses the new implementation for big columns.
For instance, I tried using this to sort an SFrame of 1M rows, 1001 extremely sparse columns, and it completed in 2m 27s on my laptop without using additional storage; i.e. keeping within the 2GB cache limit on my laptop.  In the previous implementation this took over 10 mins, consumed 22GB of storage, then failed because I ran out of storage space.
The details of the new algorithm can be found in the header ec_sort.hpp

Aargh. Failure. because my new sort returns the column order differently. To fix shortly.

This all seems reasonable to me. What does EC stand for?

"External Columnar"

LGTM. Please fix the issues found during the review. Nice work!!


Cannot complete Tutorial: Get started with a Python script in Azure Machine Learning (part 1 of 3) due to python dependency issues

I get this error when I try and run the control script. It's obviously some dependency error.
It would be good if you supplied a workaround to troubleshoot these kinds of errors until the compute images can be corrected to have the right dependencies on them.
Welcome to Azure Machine Learning Terminal

Type "git clone [url]" to clone a repo
Type "git --help" to learn about Git CLI
Type "az ml --help" to learn about Azure ML CLI

azureuser@pete-compute:~/cloudfiles/code/Users/peter.giles/get-started$ python run-hello.py.py
Failure while loading azureml_run_type_providers. Failed to load entrypoint automl = azureml.train.automl.run:AutoMLRun._from_run_dto with exception (pyarrow 5.0.0 (/anaconda/envs/azureml_py38/lib/python3.8/site-packages), Requirement.parse('pyarrow<4.0.0,>=0.17.0'), {'azureml-dataset-runtime'}).
https://ml.azure.com/runs/day1-experiment-hello_1631592673_dd1fe64f?wsid=/subscriptions/c5f6fc68-8671-4bc7-adf7-b719c177d6e2/resourcegroups/rg-ml-workspace/workspaces/pete-ml&tid=69f56bf2-ad27-4d51-90be-76273cef9738
azureuser@pete-compute:~/cloudfiles/code/Users/peter.giles/get-started$

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

ID: 5914b595-7bd9-723a-50c9-77fe83dcf9d1
Version Independent ID: 927f6dc3-723e-6a9b-8c40-1cb19e54d3c5
Content: Tutorial: Get started with a Python script - Azure Machine Learning
Content Source: articles/machine-learning/tutorial-1st-experiment-hello-world.md
Service: machine-learning
Sub-service: core
GitHub Login: @aminsaied
Microsoft Alias: amsaied

@petersgiles The install/update page of Azure ML SDK documents some known issues along with the dependencies.
I think the following steps should help you install the correct versions and proceed further:
conda install -c r -y conda python=3.6.2 pip=20.1.1
pip install azureml-sdk
pip install --upgrade azureml-sdk
pip show azureml-sdk

I'll give that a try thanks
On Tue, 14 Sept 2021 at 14:56, RohitMungi-MSFT @.***>
wrote:

@petersgiles https://github.com/petersgiles The install/update page
https://docs.microsoft.com/en-us/python/api/overview/azure/ml/install?view=azure-ml-py
of Azure ML SDK documents some known issues along with the dependencies.
I think the following steps should help you install the correct versions
and proceed further:
conda install -c r -y conda python=3.6.2 pip=20.1.1
pip install azureml-sdk
pip install --upgrade azureml-sdk
pip show azureml-sdk
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/81017#issuecomment-918801635,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMRPQLBAQCWGQ4Q75372X3UB3IZRANCNFSM5D7HGFPA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

We will now proceed to close this thread. If there are further questions regarding this matter, please respond here and @RohitMungi-MSFT  and we will gladly continue the discussion.


App becomes unresponsive after randomly tapping the tabs quickly

When tapping quickly the tabs the app eventually gets blocked as the methods "moveToViewControllerAtIndex:" and "scrollViewDidEndScrollingAnimation:" compete for the userInteractionEnabled of the views. This will eventually lead to set the userInteractionEnabled to NO and never unlocking it. In this scenario the user will have to kill the app as it becomes completely unresponsive.

I have raised a pull request for this issue.
https://github.com/xmartlabs/XLPagerTabStrip/pull/125
Cheers!

@mtnbarreto, who is authorised to merge this? I would merge it if I could.

This has been merged in #125. Cheers.


Add support for Qt6

Tested with Qt 6.3 and Qt 5.15, no older versions are available for testing here at my end.
Signed-off-by: Herman van Hazendonk<EMAIL_ADDRESS>

A note on your Qt6 porting:
When something breaks research when a method got deprecated, remove the old method if it was deprecated before the current Qt version supported by Sailfish OS (5.6) if not add an ifdef for Qt 5.6 and Qt <6 if necessary.
When you commit the changes provide the context you found and link Qt documentation if necessary.

A note on your Qt6 porting: When something breaks research when a method got deprecated, remove the old method if it was deprecated before the current Qt version supported by Sailfish OS (5.6) if not add an ifdef for Qt 5.6 and Qt <6 if necessary. When you commit the changes provide the context you found and link Qt documentation if necessary.

It's not always easy for me to determine when things were deprecated. I don't have 5.6 at my end to test. Qt's documentation isn't always accurate or complete in this regard. It seems QLoggingCategory was introduced with 5.2, but not sure if this builds with 5.6 or not since I have no way of testing it.

@pvuorela Thanks for picking that up, must have slipped off my radar somehow. Let me quickly build test this on Qt6.

No update on after my adjustment suggestion so did myself an alternative PR #9
Also the QJSEngine part here was a bit off by creating a separate engine for each argument.

Looks like a better solution to me


[BUG] artifact uploads fail when packages are deeply nest under infra

Describe the bug
When creating/adding packages to a code base thats based on a blue print (after cloning, committing and pushing) say for example in the structure below
.
├── LICENSE
├── README.md
├── approved-licenses.yaml
├── node_modules
├── nx.json
├── package.json
├── packages
│   ├── api
│   │   ├── README.md
│   │   ├── infrastructure
│   │   ├── libraries
│   │   ├── model
│   │   ├── project.json
│   │   └── runtime
│   ├── infra
│   │   └── core
│   └── website
│       ├── LICENSE
│       ├── README.md
│       ├── build
│       ├── node_modules
│       ├── package.json
│       ├── project.json
│       ├── public
│       ├── src
│       ├── tsconfig.dev.json
│       └── tsconfig.json
├── selected-options.json
├── tsconfig.dev.json
├── tsconfig.json
└── yarn.lock

15 directories, 17 files

The following error is generate in the upload artifact action of codecatalyst
CLIENT_ERROR: no matching artifact paths found for artifact Diagram
Expected Behavior
upload artifact step in codecatalyst should completed successfully regardless of the package structure
Current Behavior
upload artifact step fails when using deeply nest packages
Reproduction Steps

create a project from the CC pdk website blue print
rehome the infra package as infra/core
introduce a new package say infra/services/serviceOne
commit and push

Possible Solution
when generating pr.yaml, take into account the path of the package
for example
    Outputs:
      Artifacts:
        - Name: Built
          Files:
            - "**/*"
        - Name: Diagram
          Files:
            - packages/infra/core/cdk.out/cdkgraph/diagram.*
      AutoDiscoverReports:

Additional Information/Context
No response
PDK version used
latest
What languages are you seeing this issue on?
Typescript
Environment details (OS name and version, etc.)
N/A

This was resolved in the latest version.


Make a Citizen Wallet work with an ERC4337 bundler that works on CELO

Pimlico.io?
Stackup.sh?

Ended up making our own bundler.


Keras and Darknet weights formats

Hi all,
I am working on a project that forces me to train networks with Keras and inference them in Darknet.
I would like to be able to convert from Keras .h5 files to Darknet .weights file.
Where can I find the formats in which the weights files are being saved.
Thank you in advance!

I also need the same! How did you managed to do?


Investigate a From Source Analyze CI Job

Investigate adding another CI job which performs linting analyzing using From Source SDK builds. A commonly seen issue is that an SDK has API changes which another SDK uses but the current Analyze job only validates linting for the SDKs in the service group. An example would be azure-core adds a new API which triggers a RevApi warning which can be safely ignored but the API is also used by azure-search-documents, azure-search-documents won't have any RevApi issues when linting because it doesn't see the new azure-core changes but once azure-core releases and azure-search-documents takes the dependency it too begins having RevApi linting issues.

Closing as a "From Source" linting run won't actually catch the scenarios laid out by this issue.


[FEATURE]

Design Approval Request.
I have designed a new landing page and room card and have shared screenshots of the new card design. If you are satisfied with my design, please allow me to proceed.
Landing page

Card designs

there will be improve version of design ....

Hi @MukeshOdhano, design looks good. We can go with this design


#65: remove changelog pipeline

Closes #65

Codecov Report

Merging #66 (77a44d2) into main (26675bb) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #66   +/-   ##
=======================================
  Coverage   94.06%   94.06%
=======================================
  Files           8        8
  Lines         236      236
=======================================
  Hits          222      222
  Misses         10       10
  Partials        4        4

Continue to review full report at Codecov.

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


Img Bot Added

Related Issue  #49
Image bot optimization added
Check List

[x] New and existing unit tests pass locally with my changes.

ok @ayushsoni1010. I am merging the PR. But I think still the images need some improvements. They are getting stretched too much. Either the quality of the images are not good or its because the size of the images are too large. Need to fix it later.

yeah right @sameersrivastava13
Before adding the IMG bot, the website was loading and loading again because graphics are not resized. Now, yet we have added it, somehow a little bit of time is taking to load graphics but not the site load as we have resolved some of the issues.
I think we should add a preloader that would be nice, So when a user used to open a website, it would load completely and looks pretty.
What would you say?

Alright, thanks for merging PR :)
yeah right @sameersrivastava13
Before adding the IMG bot, the website was loading and loading again because graphics are not resized. Now, yet we have added it, somehow little, only a bit of time is taking to load graphics but not the site load as we have resolved some of the issues.
I think we should add a preloader that would be nice, So when a user used to open a website, it would load completely and looks pretty.
What would you say?

Exactly what I was thinking @ayushsoni1010 . Pre Loader is definitely a great idea. Actually I was planning to create that issue. 😂
Would you like to work on it? then create an issue I'll assign it to you.

Alright, thanks for merging PR :)
yeah right @sameersrivastava13
Before adding the IMG bot, the website was loading and loading again because graphics are not resized. Now, yet we have added it, somehow little, only a bit of time is taking to load graphics but not the site load as we have resolved some of the issues.
I think we should add a preloader that would be nice, So when a user used to open a website, it would load completely and looks pretty.
What would you say?

Exactly what I was thinking @ayushsoni1010 . Pre Loader is definitely a great idea. Actually I was planning to create that issue. 😂
Would you like to work on it? then create an issue I'll assign it to you.

Sure, @sameersrivastava13 :)


Return Expected JSON Response from Web Action

Invocation from changes.js sends an HTTP header with Accept: application/json to changesWebAction.js, so return JSON from the call instead of an empty payload that is not JSON.

@bjustin-ibm, please review/merge.

LGTM


Retry of check pod counts

Is your feature request related to a problem? Please describe.
I want to be able to cause chaos within pods and then be able to verify the pods have returned to their proper state. I want to only fail after a given amount of time has passed and the pod counts are still failing.
Describe the solution you'd like
Be able to continuously check until the check pod count matches the expected counts given the filters and matching namespace.
There would be a default timeout and a new key for the ability to set the timeout if you want it to be longer or shorter. Maybe adding another key to set the sleep time in between each repetition ( could set a default here as well)
Example of possible keys to add to configuration:
`
actions:
- checkPodCount:
        count: 0

        retries: True

        timeout: 60 (seconds)

        sleep: 10 (seconds)

`
Describe alternatives you've considered
Add a key to the configuration to repeat the check pod counts a given number of times you want to check the pod count and again maybe a sleep time in between each repetition ( could set a default here as well)
Example of another possibility of keys to add to configuration:
`
actions:
- checkPodCount:
        count: 0

        repeat: 3

        sleep: 10

`
Additional context
This would be used downstream with some other customizations to cover: https://github.com/openshift-scale/kraken/issues/1

After taking a look at the actual code it is not seeming as straight forward as I would have hoped. If I am seeing it correctly, I think that the retries logic needs to be at the top level execute function. I found that the checking of the pod count is here: action_check_pod_count but without having the retries at a higher level (in the yaml) the check pods function would never be passed an updated number of pods.
So now I am suggesting adding a yaml edit that would look like following:
`- name: "check pod counts"
steps:
- podAction:
retries:
count: 5
or
timeout: 100
sleep: 10
      matches:
        - labels:
            namespace: "name"
     actions:
      - checkPodCount:
          count: 3`

Thoughts on this addition?

Hi @paigerube14 - I think that this makes sense. It would also have the added benefit of working with any podAction, which is kind of nice too. I'd say go for it!

And apologies for the delay getting back to you.

Thank you for your comments on this! Really appreciate it @seeker89

The pleasure's mine, thanks for the contribution!


modal for one to many does not pre-populate FK

Example: a team has players
Given you edit an existing team,
When you pick "add a team member"
Then the modal should have the team already associated with it
Here's an example from our project. We expected the hospital to be pre-populated when adding an associated image.

We noticed that the selected_id is blank in the _form_filtering_select.html.haml file.
We believe this to be related to the params[:associations] is also empty. Perhaps this explains why selected_id is blank.

+1, any open fix for it ?


[#297] Fix emoji button in input component

closes #297

Merge this after the #300 , not before :wink:

closing as we're migrating the relevant code to a new repo


Dependency errors with 17.1

Upgraded to 17.1 but got these errors during install and run dev.
Pre-transform error: Failed to resolve import "vuetify/directives" from "virtual:vuetify-configuration". Does the file exist?
Pre-transform error: Failed to resolve import "vuetify/iconsets/mdi" from "virtual:vuetify-icons-configuration". Does the file exist?
Public repro:
https://github.com/rnenjoy/vuetify-nuxt-module-bug

Downgraded to 16.0 and problem disappeared.

can you shared the repo if public? can you also provide vuetify, node, nuxt... versions (run npx nuxi info from the project root folder)

Operating System: Linux
Node Version:     v22.2.0
Nuxt Version:     3.12.4
CLI Version:      3.12.0
Nitro Version:    2.9.7
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      srcDir, runtimeConfig, experimental, features, typescript, app, modules, vuetify, apollo, vite, build, devtools, compatibilityDate
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

can you shared the repo if public? can you also provide vuetify, node, nuxt... versions (run npx nuxi info from the project root folder)

https://github.com/rnenjoy/vuetify-nuxt-module-bug
Here you go! Created a minimal repo that has the same errors.

@rnenjoy please review the reproduction (remove node_modules and  .nuxt) and add missing local dependencies like @hc/common and file:/srv/http/@hc/apollo

You can also check https://github.com/nuxt/nuxt/pull/28542 if some module/library augmenting @vue/runtime-core instead vue.

@rnenjoy please review the reproduction (remove node_modules and .nuxt) and add missing local dependencies like @hc/common and file:/srv/http/@hc/apollo

Sorry i'm a bit n00b at this. YOu want me to delete node_modules and .nuxt, and then add the dependencies? Ill check how i can do that.

Removed local dependencies and updated the repo. Error is still there.

You've pushed node_modules and .nuxt  to your github reproduction.

Ok deleted now

I have the same problem. It's a pure project. I only added vuetify-nuxt dependency npx nuxi@latest module add vuetify-nuxt-module

I have this problem on my x86 Mac, but  arrch m2 chip is ok

I am facing the same issue.

Cannot run the dev server, provide a minimal reproduction:

same problem

I'm facing the same issue and no idea how to solve it 😢

can anyone provide a minimal working reproduction?

can you shared the repo if public? can you also provide vuetify, node, nuxt... versions (run npx nuxi info from the project root folder)

https://github.com/rnenjoy/vuetify-nuxt-module-bug
Here you go! Created a minimal repo that has the same errors.

@userquin

@xanxuz https://github.com/vuetifyjs/nuxt-module/issues/268#issuecomment-2313219012

I created a repo to showcase the bug
https://github.com/xanxuz/vuetify-nuxt-module-bug
The only thing that I did was to create a clean install and then added the vuetify nuxt module, after that, the moment you try to run the dev command the error appears.

You can:

run pnpm add vuetify
add .npmrc addin shamefully-hoist=true and run pnpm install

I have no idea why pnpm not installing peer dependencies, also tried removing vuetify from dependencies and moved to peerDependencies in the module without success. Since vuetify is no being installed, that's why the error is there in the virtual modules.

Using latest nuxi vuetify should be automatically installed with nuxi@latest module add vuetify-nuxt-module.

same issue here


URL not populated with default value for query param on page loading

I've state with query param and default value for it. When page loaded without query param, default value not added to URL. But if I go to other state, and then back to initial, param added to URL.
See plnkr for example: http://plnkr.co/edit/Fad6NrgGpefIXZ4U6rhe

It is not intended for the default value to auto-populate the URL, only for the value to be supplied to your code if there is no value in the URL.


LFS-1232: As a questionnaire designer, I can use text formatting in question and section descriptions

A functional draft of a markdown parsing for questionnaires.
Styling to be reviewed.

The material-ui thread with discussion over the markdown component
A Markdown demo from material-ui. You can find the source:
https://github.com/mui-org/material-ui/blob/master/docs/src/pages/getting-started/templates/blog/Markdown.js
It's using markdown-to-jsx over react-markdown as it's faster and lighter.
The markdown component of the documentation: https://github.com/mui-org/material-ui/blob/master/docs/src/modules/components/MarkdownElement.js.
Early stages of material-ui MarkdownElement development.

Need help with the following issues:

add a Help button to the toolbar (using the Help mui icon)

Last commit brings @babel\parser error at the line const infoButton: ICommand = {
 Const declarations require an initialization value

fix the styling for blockquote (it loses the left border when rendered)
Happens in Chrome on linux

fix the styling for blockquote (it loses the left border when rendered)

Happens in Chrome on linux, could not reproduce on windows

This no longer happens since switching to the new parser.

The generated HTML markup is invalid in a few cases, especially on the Form, because we're putting block elements (the rendered description) inside inline elements (the spans that were there already for containing the description), All these span containers need to become divs.

No sure I understan.

The generated HTML markup is invalid in a few cases, especially on the Form, because we're putting block elements (the rendered description) inside inline elements (the spans that were there already for containing the description), All these span containers need to become divs.

No sure I understand the cases.

Please see the screenshot - note the div inside a span on the highligted block. I haven't yet looked everywhere to check the generated markup.

Trying to open questionnaire designer gives me this:

Would @sdumitriu's fix take care of this problem? If so, please rebase.
Trying to open questionnaire designer gives me this:

I confirm the issue. It's unrelated to #687, it was introduced by the last commit.


External Editor doesn't work with some applications

I can use TextWrangler and TextMate but not TextEdit, Visual Studio Code or Atom.
After I selected them in the settings menu, the shortcut doesn't work, and their name show in pale gray in the menu bar.

After looking at your source code, I think the applications need to implement the ODB Editor Suite.
Am I correct?

Oh sorry, it already works if you enable storing in files!


Add podcast icons

I cannot spin up base-cms but here are the following icons that I need for Watt's new podcast page:
-playerfm
-listennotes
-deezer
-pocketcastindex
-podcastaddict
-podchaser

 Create page on WATTPoultry.com for a podcast.

@jwade1327  I believe you need the svg that these items are referencing loaded in the svg folder as well.


Push future date CORE deposits to end of result list

Fixed by initially querying only for posts with dates today or before, and then if there are no results, query for future-dated posts. This will allow embargoed deposits to show up in results, but only after others.
See: https://github.com/MESH-Research/elasticpress-buddypress/commit/0db81110b21aa2806518f86c9d3857d85cbc0739


configure ProxyCommand in netcfgbu.toml

I have a use case where I want one box doing all of the config backups across several data centers. I also have a jumpbox in each data center that I can use to access the mgmt network. However, in order to do this, I use the ssh config option ProxyCommand to proxy my connection to the network gear through the respective data center's jumpbox. Below is a snippet of my ssh config file:
Host !jumpbox.networkandrew.com *.networkandrew.com
    ProxyCommand ssh -W %h:%p<EMAIL_ADDRESS>
If I'm able to use the above ProxyCommand in my netcfgbu.toml file, I'll be able to accomplish this.

@wasabi222 - thank you, I believe I can add this using an existing mechanism in the asyncssh library.  I do have a few questions:
Since you have a jumpbox in each datacenter, I am presuming that you would want a mechanism to direct which specific devices go through a specific jumpbox.  For example, if you had four datacenters, you would have four jumpboxes, and all devices in datacenter1 would need to go through "jumpbox1" which all devices in datacenter2 would need to go through "jumbox2", etc.  Is that correct?
Another question: do you current use ssh-agent to connect to the jumpboxes or do you manually provide the password when you do the login?
The current asyncssh library does not read ssh_config files, so for now I would add a few constructs to the netcfgbu configuration data model to account for this feature request.  Your answers to the above will help me propose a config-model that we can review together before I proceed with the code.
Thank you.

Jeremy,
You are correct, each datacenter has one jumpbox, so ideally I'd be able to direct which hosts use which jumpbox, based on region or something similar.
I use an IdentityFile to use key-based auth for all of the jumpboxes. For instance, that section of my ssh-config looks like this:
Host *.networkandrew.com
IdentityFile ~/.ssh/id_rsa
I'm happy to answer any other questions you have for me. Thanks for looking into this!

Here is a proposal.  Create new sections that define jump-servers.  Each section block identifies the target server and filters that would be applied to inventory records.  The same filtering mechanism as described in the Filtering docs.
The following examples show how to map inventory records using a host regular expression:
[[jumpserver]]
   server = "jumpserver.dc1"
   include = ['host=.*\.dc1']

[[jumpserver]]
   server = "jumpserver.dc2"
   include = ['host=.*\.dc2']

What do you think about the above?
Regarding the IdentityFiles; I would presume that your files are configured with a passphrase.   Would that be correct in your case?  What I am doing in my environment is using ssh-agent and then pre-adding the keys into my environment via the ssh-add command.  This mechanism establishes the SSH_AUTH_SOCK environment variable.  I do not use the IdentityFile in my ssh_config.  I am presuming that given this setup I should be able to use asyncssh to create a tunnel with ssh-agent support, and then reach the destined target device.  I will write a small test-program to validate this expected behavior and let you know.

OK, I wrote a short program to validate my presumptive behavior of asyncssh; and it works as I expected (hoped).  🎉

Considering [[jumphost]] vs. [jumpserver] to be more aligned with ssh_config nomenclature.  Any preference?

That model makes sense to me and looks good. I have no preference on jumphost versus jumpserver so whichever you prefer.
You are correct in that the keys are configured with a passphrase, which I also use ssh-add to manage. It sounds like this is moving along nicely! Thank you for looking at this so quickly.

Excellent, thank you.  I'll proceed with the [[jumphost]] name and should have something in the develop branch tomorrow.

code in develop branch now, new docs here:
https://github.com/jeremyschulman/netcfgbu/blob/develop/docs/config-ssh-jumphost.md

completed in develop; waiting merge to master.


Mention autogen_docs script in OMERO autogen jobs documentation

Follow-up of https://github.com/openmicroscopy/ome-documentation/pull/1083 and https://github.com/openmicroscopy/ome-documentation/pull/1084 on the contributing documentation
--no-rebase

The changes here look fine.  Please merge.


Assigning public IP to application running in docker container

I have a docker container running on Linux server. I can get the response by a curl to the internal IP as below.
curl http://<IP_ADDRESS>:8080/greeting?name=jo
This Linux server's public IP is <IP_ADDRESS>. How can I access the docker application by using this public IP?

If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
For more information about reporting issues, see CONTRIBUTING.md.
You don't have to include this information if this is a feature request
(This is an automated, informational response)

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

You need to publish the container's port to the host, e.g. docker run -d -p 8080:80 nginx will publish the container's port 80 to port 8080 on the host.
However, the GitHub issue tracker is not a general support forum, but meant for reporting bugs and feature requests. For other questions, please use;

the forums: https://forums.docker.com/
the docker-user mailing list https://groups.google.com/forum/#!forum/docker-user
the #docker IRC channel on Freenode.
StackOverflow

I'm going to close this issue because this is not a bug, but feel free to comment here after I've closed


code

        with torch.no_grad():
            val_metrics = corpus.get_validation_pred(model, 'test')
        if val_metrics['Mean Reciprocal Rank'] > best_test_metrics['Mean Reciprocal Rank']:
            best_test_metrics['Mean Reciprocal Rank'] = val_metrics['Mean Reciprocal Rank']
        if val_metrics['Mean Rank'] < best_test_metrics['Mean Rank']:
            best_test_metrics['Mean Rank'] = val_metrics['Mean Rank']
        if val_metrics['Hits@1'] > best_test_metrics['Hits@1']:
            best_test_metrics['Hits@1'] = val_metrics['Hits@1']
        if val_metrics['Hits@3'] > best_test_metrics['Hits@3']:
            best_test_metrics['Hits@3'] = val_metrics['Hits@3']
        if val_metrics['Hits@10'] > best_test_metrics['Hits@10']:
            best_test_metrics['Hits@10'] = val_metrics['Hits@10']
        if val_metrics['Hits@100'] > best_test_metrics['Hits@100']:
            best_test_metrics['Hits@100'] = val_metrics['Hits@100']

print(' '.join(['Test set results:',
                model.format_metrics(best_test_metrics, 'test')]))

In the code, the result obtained from this evaluation is not the best epoch result, but the best value of all indicators. They do not appear in the same epoch.

GAT(
(spgat): SpGAT(
(dropout_layer): Dropout(p=0.3, inplace=False)
(attention_0): SpGraphAttentionLayer (256 -> 256)
(attention_1): SpGraphAttentionLayer (256 -> 256)
(out_att): SpGraphAttentionLayer (512 -> 512)
)
)
In GATencoder, with 2 heads and a dim of 256, the final output dimension of the model is 512, which does not match the embedded dim.

The context model you proposed in the paper cannot be found in the code. Compare the learning module def contextual_ The usage of loss (self, s_embedded, v_embed, t_embedded) is also not given. Looking forward to your reply

The context model you proposed in the paper was not found in the code,Comparative learning（def contrastive_loss(self, s_embed, v_embed, t_embed):） is not used in the default code, how do you use it. Looking forward to your reply

The context model you proposed in the paper was not found in the code,Comparative learning（def contrastive_loss(self, s_embed, v_embed, t_embed):） is not used in the default code, how do you use it. Looking forward to your reply

May I ask what version of the environment you are running the code in? I used a 1.7 torch and an 11.0 cuda to run on the 3090 graphics card, but they couldn't run and reported the error ："Traceback (most recent call last):"
File "main. py", line 234, in
Train_encoder (args)
File "main. py", line 119, in train_encoder
Entity_embed, relation_embed=model. forward (corpus. train.adj_matrix, train_indices)
File "/media/xxx/4962f605-dcf4-4c7f-95a6-36b784b7ace0/gpuserver/sh/paper_code/IMF Pytorch/models/model. py", line 78, in forward
Self. entity_embeddings. data=F.normalize (self. entity_embeddings. data, dim=1)
File "/home/xxx/anaconda3/envs/imf/lib/python3.7/site packages/torch/nn/functional. py", line 3788, in normalize
Denom=input. norm (p, dim, keepdim=True). slap_min (eps). expand.as (input)
File "/home/xxx/anaconda3/envs/imf/lib/python3.7/site packages/torch/sensor. py", line 389, in norm
Return torch. norm (self, p, dim, keepdim, dtype=dtype)
File "/home/xxx/anaconda3/envs/imf/lib/python3.7/site packages/torch/functional. py", line 1337, in norm
Return VVF. norm (input, p, _dim, keepdim=keepdim) # type: ignore
"RuntimeError: CUDA error: no kernel image is available for execution on the device"


Implement serde derivations also in no_std

Is there an existing issue?

[X] I have searched the existing issues

Experiencing problems? Have you tried our Stack Exchange first?

[X] This is not a support question.

Description of bug
Many core primitives of substrate only implement serde in std mode. The reason being the efficiency, so I was told. However, in a no_std environment, this forces a lot of workarounds if serde is needed. Is there any chance that you would accept a PR introducing an additional compiler feature that allows to derive serialization also in no_std mode?
(such as here: https://github.com/paritytech/parity-common/blob/master/primitive-types/Cargo.toml#L26)
Steps to reproduce
No response

Yes that would be okay.

Replacing feature = "std" with feature = "serde" should be sufficient, so users can decide whether to enable it or not separately from std.

"serde" or "serde_full", as it's called in frame-metadata ?

Please call it serde. For this you only need to make serde an optional dependency. An optional dependency is directly exposed as feature in cargo.


fix: Temporary fix for ag-grid view displaying 'invalid number'

AB#127411

Please create a ticket in the backlog regarding this bug and the temporary fix


Update clickhouse-jdbc to 0.6.4

About this PR
📦 Updates com.clickhouse:clickhouse-jdbc from 0.6.1 to 0.6.4
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.clickhouse", artifactId = "clickhouse-jdbc" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.clickhouse", artifactId = "clickhouse-jdbc" }
}]

labels: library-update, early-semver-minor, semver-spec-patch, commit-count:1

Superseded by #949.


ARTEMIS-1856 support delays before deleting addresses & queues

LGTM, will merge tomorrow if no one beats me to it.

@jbertram went to merge this morning and during the process and noticed something, have added comment inline

@jbertram it wasn't a biggie, i guess more important things are a foot, so merging. And can always add the extra config to the other as and when needed in future.


fixed url for ssd detector model

Before submitting a pull request, please make sure the following is done:

You have merged in the latest changes from develop.
Resolved any conflicts that may have happened from that merge.
Ensure that you have run all tests and linting locally.

@snosov1 Please merge


Measure variance of aliased conditional types using variance markers

Fixes #26681
We do this for interface references already, and extending it to type aliases wasn't too difficult. Doing this provides an easy fast-path bailout when comparing different instantiations of the same (type-aliased) conditional.
This PR has no impact on either RWC or user suite baselines, I checked 😄

Interesting that it has no effect on test and RWC baselines. However, I'm definitely concerned about the fact that the presence or absence of alias symbols now has a semantic effect. As I mentioned, in a worst case scenario, your code might stop compiling just because interned type (such as a unit type) was materialized without an alias symbol instead of with an alias symbol.

I'm definitely concerned about the fact that the presence or absence of alias symbols now has a semantic effect.

It already affects inference, which in turn affects assignability via infer types, so it's not quite the first time. Tbqh, it's honestly strange that we're OK with it for inference but don't bother with it for relationship checking, since the two usually mirror one another in structure.

As I mentioned, in a worst case scenario, your code might stop compiling just because interned type (such as a unit type) was materialized without an alias symbol instead of with an alias symbol.

I'm only checking for alias symbols on conditional types for now, so this will not be the case. Unless we start interning conditionals or something.

@ahejlsberg like we spoke about in person, I've swapped to just do variance probing for all type aliases - this doesn't seem to adversely impact any RWC tests at all. I'll try it out on DT; but that's going to take a wee bit to run.

@ahejlsberg This PR causes no change to RWC, user, or DT baselines. By all the things we can test, this optimization has no effect on any code we know of (except, ofc, the new test case in this PR that it fixes!). 😄


Data Handler Jupiter Notebook

I created a simple file in Jupiter notebook format. If we look at its contents, it uses Python's "pandas" library, which is used in data processing, and assigns the contents of the "csv" format data folders in the data folder to variables.

Hey @yavuzibr good work, but unfortunately we are not accepting pull requests right now.


fix: Reading external register with 0 latency

Problems:

In case of 0 latency response of the external registers user have incorrect data with AXILite and Avalon bus
In case of APB bus and 0 latency bridge local bus <> APB was broken

What's new:

Added tests with 0 latency to the bridges TB
Added tests with 0 latency to regmap TB

What's fixed:

APB bus in case of 0 latency read response
regmap in case of 0 latency read response from external response (FWFT FIFO)

Note:
Added one additional clock delay to data reading just to implement the same code for zero and non-zero latency cases

Hi @Xtyll,
You are correct, thanks for the fix!
I have verified that this fixes the issue with the verilog version (i didn't test the others).


AttributeError: TEST_SIZE

Hi, thanks for your great work. I trained the model on the Veri dataset and encountered an error when executing python main.py --config_file configs/veri_r101.yml in the terminal, as shown in the following figure.
感谢您的工作，我在veri数据集上训练模型的时候，在终端中执行python main.py --config_file configs/veri_r101.yml，程序报错，如下图所示。

I checked veri_ r101.yml file, found no TEST.TEST_SIZE parameter, which is needed in kwargs.py, line 27.
我查看了veri_r101.yml文件，发现没有**TEST.TEST_SIZE**这个参数。

How should I solve this problem? Looking forward to your reply!
我应该怎样解决这个问题呢？期待您的回复！

Hi! I encountered the same issue and was able to resolve it by updating the defaults.py file in the config folder.
To fix it, add the following line in the "# Test options" section of defaults.py:
_C.TEST.TEST_SIZE = 11579  # Add this line to set a default value for TEST_SIZE


feat: add pre-commit hook

#3  👈
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @s-cork and the rest of your teammates on  Graphite


Handling keyboard popup with ScrollView?

Sometime form could be large and text input could be invisible when keyboard is shown. How to fix it? I saw fixes like here: http://stackoverflow.com/questions/29313244/how-to-auto-slide-the-window-out-from-behind-keyboard-when-textinput-has-focus
It would be nice to have it as built-in functionality...

I implemented such feature https://github.com/FaridSafi/react-native-gifted-form/blob/master/mixins/ContainerMixin.js#L43
If it's not working, then we have a new bug

I guess i should use GiftedForm as container (root) view this way. But my widgets are not direct successors (because of layout, some of them should be grouped inside another view), so they will not be recognized, right? Now I have two GiftedForms with the same name - one for elements inside one view and another for submit button (which is placed at different place).

Yes you can use as root. You can put all kinds of views inside GiftedForm, not only widgets

But if i need to place 'input' widgets inside another view and that view will be inside GiftedForm, widgets will not be recognized as widgets (because they are not direct children)...

correct, one solution can be to do like https://github.com/FaridSafi/react-native-gifted-form/blob/master/widgets/GroupWidget.js#L20 in your direct children

Thanks, implemented it, but behavior is quite weird, it scrolls to right, not to bottom:

weird, what if you replace https://github.com/FaridSafi/react-native-gifted-form/blob/c748128caf005a3aca5a624b1bf5210a92bb3698/mixins/ContainerMixin.js#L51 by
          this._scrollResponder.scrollWithoutAnimationTo(0, this._pageY + this._y - this._locationY - keyboardHeight + 44);

Works better, thanks, will you commit it? One problem - it doesn't scroll back to top when i focus on upper elements (i.e. restore position)

I don't understand why x and y are inverted in your case. Which RN version are you using (I didn't test with last ones) ?

0.19

@danielweinmann Are you using 0.19 and experimenting scrollWithoutAnimationTo issue too ?

Also I got two warnings (scrollWithoutAnimationTo looks deprecated now?)

I didn't test but I guess it can be fixed by scrollTo({x, y, animated: false})

Your text input widget with right image looks nice! you should share it :smiley:

I could submit PR for scrollTo and widget enhancement but i can't now, because one PR is waiting already (i don't want to mix everything in one PR)

@FaridSafi @aksonov I'm using 0.19 and I do experiment the issue ;)
Actually, I'm using scrollEnabled={false} in all my forms right now, since I don't need it so badly and didn't want to take the time to fix it.

@FaridSafi I'm experiencing this issue as well (RN 0.19), and I've found using scrollTo instead of scrollWithoutAnimationTo seems to fix it.

@FaridSafi Could we also restore scroll position once keyboard is disappeared?

Thank you guys. I published 0.0.5 with support of react-native 0.20.0 ScrollView.scrollTo({x: 0, y: 5, animated: true})
@aksonov  @FaridSafi Could we also restore scroll position once keyboard is disappeared?
I couldn't manage to do it

@FaridSafi What the problem with it? Have you tried just to subscribe to keyboard events, like described here:
https://github.com/johanneslumpe/react-native-keyboardevents
Current hardcode keyboard height looks not good.

@aksonov I can't remember exactly what was the problem with restoring but it might be related to the contentInset of the ScrollView
I didn't try keyboard events when I implemented it. | agree hardcore keyboard height is not good solution.
Sorry I can't work on this right now. If someone has time to improve the scrolling, I recommend to use the ScrollView Props onKeyboardWillShow/onKeyboardWillHide on iOS and onKeyboardDidShow/onKeyboardDidHide on Android (if onKeyboardWillShow doesn't work in Android)
  onKeyboardWillShow(e) {
    console.log((e.endCoordinates ? e.endCoordinates.height : e.end.height));
  },


Improve Agent Telemetry configuration validation and intake url formation

What does this PR do?
There are 3 key changes

Improve creating intake url based on common utility function which is using either site or agent_telemetry.dd_url
Disabled telemetry on GovCloud DC
If Agent Telemetry disabled it should not trigger error message. It did before if site configuration is not set

Motivation
Minor change but important improvement

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes
Added unit tests, manual tests are not necessary

Please use the status mock from the status component 😄

Done 🙏

/merge


up-down animation added

Title and Issue number

I have added the project .Can it be merged now?
Close #4969

Checklist:

[] I have mentioned the issue number in my Pull Request.
[] I have commented my code, particularly in hard-to-understand areas
[] I have created a helpful and easy to understand README.md

@MohitGupta121 ,@TusharKesarwani Please review my PR.


DNSCrypt-Proxy-1 Unable To Retrieve Certificates Server If It Listening Address Is All Address (<IP_ADDRESS> / ::0)

Since you mention that DNSCrypt-Proxy-2 had the same feature with DNSCrypt-Proxy-1 (1.9.5), than in DNSCrypt-Proxy-1, it was unable to retrieve certificates server if it listening in All Address (<IP_ADDRESS> / ::0) but able to retrieve certificates server if it listening in private address (<IP_ADDRESS> / ::1). Both use the same server.
I just found out this problem recently.
Maybe in DNSCrypt-Proxy-2 the problem in DNSCrypt-Proxy-1 persist?

This is from DNSCrypt-Proxy-2 config:

List of local addresses and ports to listen to. Can be IPv4 and/or IPv6. To only use systemd activation sockets, use an empty set: []

Does that mean DNSCrypt-Proxy-2 for windows unable to listen to all address (<IP_ADDRESS> / ::0)?

You can have as many IP addresses to listen to as you like in the listen_addresses property. It has no implications on how certificates are being retrieved.
I don't remember how dnscrypt-proxy 1.x works, sorry.


Had to change line below where stated not to.

Challenge Using Objects for Lookups has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

// Setup
function phoneticLookup(val) {
  var result = "";

  // Only change code below this line
  var lookup = {
    "alpha":"Adams",
    "bravo":"Boston",
    "charlie":"Chicago",
    "delta":"Denver",
    "echo":"Easy",
    "foxtrot":"Frank"
  };

  // Only change code above this line
  return lookup[val]; <--- had to change this line even though it is below the //only change code above this line. Slightly confusing.
}

// Change this value to test
phoneticLookup("charlie");

@JacobMcCall2 This isn't an FCC issue. If you have questions regarding challenges please ask them here: https://gitter.im/FreeCodeCamp/Help
F.Y.I you can solve this challenge without editing the return line by assigning result := lookup[val];

@JacobMcCall2  Thank you for reporting this issue.
This is a standard message notifying you that this issue seems to be a request for help. Instead of asking for help here, please click the "Help" button on the challenge on freeCodeCamp, which will take you to the help chatroom for that specific challenge. You can also view our full list of official chatrooms.
If you think I'm wrong in closing this issue, please reopen it and add further clarification. Thank you, and happy coding.
by the way, you are not supposed to touch this code
// Only change code above this line
  return result;

I had the same issue, but the code will only work when you change that line. I've looked through the forum and this is the only solution that has allowed it to pass. The instructions given on the initial code should be changed as stipulated above.


Json2XmlValidator returns faulty xml when validating json message that doesn't adhere to XSD

❗ please do not add sensitive information in issues, you can provide extra information via email using issue number as reference ❗
Describe the issue
I'm using an Json2XmlValidator pipe to convert json to xml and test it against xsd scheme. When json is passed that is technically correct but does violates the XSD the validator detects the error as expected but does not pass the completed xml translation.
It looks like the end(root) tag is missing
Reporter
Bonno!

To Reproduce
Steps to reproduce the behavior:

create a Json2XmlValidator
use json with an unexpected element(i use 'aaa' in the example)
pipe output
xml is missing end tag

Screenshots

Configuration

Input
Please provide an example of the input message.
Alternatively, provide a Ladybug report.

Pipeline HandleBPAdapter.zip
Environment
FF! 7.7-20220202.144505: ibis4salesforce_notify
Running on LPZWNL000013838 using Apache Tomcat/9.0.56
Java Version: OpenJDK Runtime Environment (1.8.0_292-b10)
Heap size: 380M, total JVM memory: 487M
Free disk space: 12GB, total disk space: 237GB
Up since: 2022-03-20 20:02:43 (14h)
Additional Environment

DBMS: [e.g. Oracle, MSSQL, MariaDB, MySql, PostgreSQL]
Browser: [e.g. Chrome, Safari, Edge, Firefox]

Additional Context
Add any other context about the problem here. (f.e. ladybug report / test adapter with larva test)

you could set the attribute 'ignoreUndeclaredElements' to true, to ignore the element.
Or do you want the validation to fail, but still have well-formed XML?

Hi Gerrit,
Unofrtunately i need to get values for logging from the payload(for splunk), so that's not an option.

Hi Gerrit,
Unofrtunately i need to get values for logging from the payload(for splunk), so that's not an option.

This is addressed in PR #2918


Allow seemless integration with other web/apps

Here is my case:

My custom app sets these in localstorage
window.localStorage.setItem('last_label_props', JSON.stringify(props));
window.localStorage.setItem('csv_params', JSON.stringify(vars));
/* newly added */
window.localStorage.setItem('device_id', args.deviceId);
window.localStorage.setItem('print_preview', args.printPreview.toString());
window.localStorage.setItem('redirect_uri', /index.html);
My custom app navigates to Niimblue using window.location.href = '/app/assets/niimblue.html';
Niimblue loads the data from localstorage and set the deviceId in connect({ device: device_id})
Niimblue opens print preview immediately due to localStorage i.e print_preview set to true
User presses print button
Niimblue checks if there redirect_uri in localstorage after printing, if yes then it redirects back to the my custom app using window.location.href = '/index.html';

LocalStorage "automation" field full example:
{
  "autoConnect":true,
  "startPrint":"after_connect",
  "autoConnectDeviceId":"............",
  "loadLabelTemplate":{"canvas":{"version":"5.4.0","objects":[{"type":"text","version":"5.4.0","originX":"center","originY":"center","left":172,"top":100,"width":100,"height":113,"fill":"black","stroke":null,"strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeUniform":false,"strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","skewX":0,"skewY":0,"fontFamily":"Material Icons","fontWeight":"normal","fontSize":100,"text":"юдЭ","underline":false,"overline":false,"linethrough":false,"textAlign":"center","fontStyle":"normal","lineHeight":1,"textBackgroundColor":"","charSpacing":0,"styles":[],"direction":"ltr","path":null,"pathStartOffset":0,"pathSide":"left","pathAlign":"baseline"}]},"label":{"printDirection":"top","size":{"width":344,"height":200}},"title":"","timestamp":1732214519}
}

Also "Make default" button added


Investigate DSP48E1/2 not allowing use of logic unit + multiplier

There is a single line in both manuals about this being the case. However, Lakeroad can successfully synthesize mul+logic designs, as it isn't outlawed by the simulation model. It would be worth checking whether this is a feature that's actually allowed in some cases, and Xilinx is just being defensive about people not using it, or if it truly doesn't work once flashed to an actual FPGA.

In light of all of this, it would be ideal if we could add more benchmarks -- it's likely that we are still much better at mapping than the above figure captures, if only we enumerated more valid benchmarks.

Also, it should be noted that, from a cursory glance, Vivado does not mul+logic onto a single DSP.

One question would be, how do we write the constraint in Lakeroad to outlaw this? Also, not a question for us, but why isn't this prevented in the DRC checks?


chore: show incompatibilty with astro 4

This PR shows that the starlight-blog plugin for starlight is incompatible with<EMAIL_ADDRESS>and astro@4.

I do not know why the github actions do not run, but they will fail.
I tried to fix the issues myself, but I failed at least for today. I am also a bit confused by how this plugin is actually integrated into the astro project. It looks like it somehow bypasses the plugins section of the starlight configuration and registers as an integration instead, which seems weird to me but maybe that is necessary for the routing? Or maybe the recommended way to hook up the plugins to starlight has changed. Maybe in order to fix it, one has to adapt to the new way.
What I have seen from my investigation is that https://github.com/HiDeoo/starlight-blog/blob/0b2034998a6af3d78065d9a5f83151d56e32a873/packages/starlight-blog/libs/page.ts#L27-L54 misses a key "labels" with translations for the menu entries etc. I dunno where to get these translations from.

Thanks for your report.

I do not know why the github actions do not run, but they will fail.

Workflows from forks need to be approved to run.

It looks like it somehow bypasses the plugins section of the starlight configuration and registers as an integration instead, which seems weird to me but maybe that is necessary for the routing?

This integration predates the plugin API introduced in Starlight v0.14.0 which also at the same time prevents any integration or plugins to add custom pages. I've opened a PR in Starlight to attempt to fix the issue.
The next version will be refactored to a Starlight plugin once the above issue is fixed in Starlight.
As the PR I think has only been created for repro purposes, I'll close it and we will keep the issue #19 instead.


Correction for raw affiliation Université de Picardie-Jules-Verne, Inserm ERi 24, GRAP, CURS, chemin du Thil, 80025 cedex 1 Amiens, France

Correction needed for raw affiliation Université de Picardie-Jules-Verne, Inserm ERi 24, GRAP, CURS, chemin du Thil, 80025 cedex 1 Amiens, France
raw_affiliation_name: Université de Picardie-Jules-Verne, Inserm ERi 24, GRAP, CURS, chemin du Thil, 80025 cedex 1 Amiens, France
new_rors: 01gyxrk03;02vjkv261;01c62av11
previous_rors: 01gyxrk03;02vjkv261
works_examples: W2793275993
contact: b2e8fd52806c142532c32b81b7d941d2:59744604440fb3ee33d60fd82bf7200c @ u-picardie.fr

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


Pin Rust to 1.81.0

Pin Rust version in GitHub actions
Create rust-toolchain.toml

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and I agree to the terms of the Developer Certificate of Origin (DCO).

@unexge, is the rust-toolchain action actually required? My understanding is that cargo will respect rust-toolchain.toml automatically.

@passaro, not sure. It's a popular request for dtolnay/rust-toolchain to support rust-toolchain file, so I assumed it won't work. But let me give it a try.


add tarball-source automation job

This job needs to provide at least provide two parameters:

advisory number
component list (currently the default is [logging-fluentd-container]

I will update the docs and jira z-stream template (once this merged) so that next time we do that just need one click hopefully.
test log: https://localhost:8888/job/hack/job/shiywang-aos-cd-jobs/job/build%252Ftarball-sources/29/console
RCM ticket: https://projects.engineering.redhat.com/browse/RCM-79088

@thiagoalessio yeah, I think the only changed is the parameter you pointed out, so updated, PTAL

@joepvd @sosiouxme  PTAL
here's current log:
https://saml.buildvm.openshift.eng.bos.redhat.com:8888/job/hack/job/shiywang-aos-cd-jobs/job/build%252Ftarball-sources/49/console


fix(masonry.restrict): change directive restriction to attribute-only

The masonry directive does not properly create columns when used as an element.  To avoid confusion, I updated the directive code to restrict usage to attribute mode only (this could always be changed back, if a subsequent fix was made to fix element loading). I have also updated the repository README documentation to provide a more accurate account of how the masonry directive currently works. This issue was first brought up here: https://github.com/passy/angular-masonry/issues/169.  Also updated the tests to reflect this change.
This will break uses of this directive as an element. However, these uses are likely already broken.

Interesting. Thanks for the investigation! Could you add a "Breaking Change" note to your commit message as described here?
I'd like to cut a regular release first as this will require a major version bump.

@passy I re-committed this change to adhere to the commit standards. I re-created this PR here -
https://github.com/passy/angular-masonry/pull/191


What should be the CloudAMQP URL for Websockets?

Consider the following code snippet to connect to CloudAMQP:
  const cloud_amqp_url = "wss://rabbit-01.lmq.cloudamqp.com";

  const client = new AMQPWebSocketClient(
    cloud_amqp_url,
    "vhost & user",
    "password",
    "vhost & user"
  );

  client
    .connect()
    .then((connection) => {
      console.log("Connected to CloudAMQP");
      return connection.channel();
    })
    .then((channel) => {
      console.log("Channel created");
      channel.basicPublish("", "my-queue", "Hello, World!");
      console.log("Message sent");
    });

For cloud_amqp_url, the one starting with amqps does not work with the WebSocket Client. It would return an error message saying Expected url scheme 'http' or 'https' but was 'amqps'.
I went to the CloudAMQP and AMQP Client documentation then tried several things (wss://rabbit-01.lmq.cloudamqp.com, wss://{User &<EMAIL_ADDRESS>& Vhost}, wss://rabbit-01.lmq.cloudamqp.com/wss, wss://rabbit-01.lmq.cloudamqp.com/wss/amqp, ws://rabbit-01.lmq.cloudamqp.com), all of then either returns HTTP status 401 or 200, none matched with the expected 101.
What should be my URL for Websocket connection?

The URL should look like this wss://test-small-ivory-rat.rmq2.cloudamqp.com/ws/amqp (source)
However, it is not (yet) supported on LavinMQ plans (lmq.cloudamqp.com).

@dentarg thanks for the reply.
I was aware of the documentation, but the example was too abstract (the example url doesn't have a username nor a password) for me to deduce what I need.
After your comment, I created a RabbitMQ instance with username myuser:myuser and password XXXXXXXXXXXXXXX--XXXXXXXXXXXX
I tried to connect both with
<EMAIL_ADDRESS>
and
<EMAIL_ADDRESS>
neither of them seems to work as both would return a 404 Not Found message.
Anything I missed here?

However, it is not (yet) supported on LavinMQ plans (lmq.cloudamqp.com).

@viktorerlingsson this should now be supported, right?

@dentarg almost - we need to release a new LavinMQ version with the socket address fix. I'll try to get that done this afternoon or on Monday.


Support for case objects as template attributes

Would it be possible to support case object as an attribute for a template?
For example:
case object MyValues {
  val foo: String = "bar"
  val something: Int = 123
}

Two issues I've found using case object using the current approach in ValueResolvers:

product.productIterator does not auto generate for case objects
.getClass.getDeclaredFields returns a MODULE$ field, in addition to the case object's declared fields, so the MyValues object has three declared fields: MODULE$, foo, and something.

I've managed to create a work around for this by manually defining Product values on my case objects with the first value being "self", for example:
case object MyValues extends Product3[MyValues, String, Int] {
  self =>

  val foo: String = "bar"
  val something: Int = 123

  def _1 = self
  def _2 = foo
  def _3 = something
}

This allows the MODULE$ field to map to  _1.
Ideally there should be a cleaner way to support case objects.

Thanks for reporting. Sorry for late. too late...
I believe there are some ways to solve it, but I couldn't find a quick solution.
I recommend handlebars.scala which supports Scala's object binding for now.
https://github.com/mwunsch/handlebars.scala


Is there a way to distinguish rush/rec/passing tds?

I am going to use this for fantasy purposes and my leagues award less for passing than for receiving/rushing tds, and so far I don't see any way to find out whether a td is of a specific kind.
Sorry if this is the wrong place to ask, I'm still new to the world of git (and programming).

Nevermind, I found it. I apparently need to work on my documentation reading skills


Remove non-obvious conf settings from TPCDS benchmark

What changes were proposed in this pull request?
My fault -- these 2 conf entries are mysteriously hidden inside the benchmark code and makes it non-obvious to disable whole stage codegen and/or the vectorized parquet reader.
PS: Didn't attach a JIRA as this change should otherwise be a no-op (both these conf are enabled by default in Spark)
How was this patch tested?
N/A

cc @hvanhovell

Test build #60675 has started for PR 13726 at commit a67d8ca.

LGTM

Test build #60675 has finished for PR 13726 at commit a67d8ca.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

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

Merging to master/2.0. Thanks!


on L3+ L7 does not detect expected_hashrate

PS C:\vekus\agent2> py test.py
Traceback (most recent call last):
File "C:\vekus\agent2\local_libs\pyasic\miners\base.py", line 524, in _get_data
miner_data[data_name] = await function(**args_to_send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\vekus\agent2\local_libs\pyasic\miners\backends\antminer.py", line 322, in _get_expected_hashrate
rate=float(expected_rate), unit=self.algo.unit.from_str(rate_unit)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Vekus\AppData\Local\Programs\Python\Python311\Lib\enum.py", line 786, in getattr
raise AttributeError(name) from None
AttributeError: from_str
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\vekus\agent2\test.py", line 17, in
asyncio.run(gather_miner_data())
File "C:\Users\Vekus\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "C:\Users\Vekus\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Vekus\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "C:\vekus\agent2\test.py", line 12, in gather_miner_data
miner_data = await miner.get_data()
^^^^^^^^^^^^^^^^^^^^^^
File "C:\vekus\agent2\local_libs\pyasic\miners\base.py", line 567, in get_data
gathered_data = await self._get_data(
^^^^^^^^^^^^^^^^^^^^^
File "C:\vekus\agent2\local_libs\pyasic\miners\base.py", line 526, in _get_data
raise APIError(
pyasic.errors.APIError: Failed to call expected_hashrate on L7 (Stock): <IP_ADDRESS> while getting data.
PS C:\vekus\agent2>

Ok, try with 0.65.5.

I checked, in the old version of the library the L3+ device also did not return expected_hashrate. it is not critical, you can leave it like that if it is not possible to get this parameter from this device

I checked, in the old version of the library the L3+ device also did not return expected_hashrate. it is not critical, you can leave it like that if it is not possible to get this parameter from this device

I will add it if you know where to source it, not sure I've ever seen expected hashrate values on older antminers.  The modern web UI (S19 style) exposes it in the API, but I'm not sure about these ones.

Yeah, I don't think it matters. Let's close the ticket.


Dashboard - time of request

As a Centrepoint admin
I would like to see when each of the requests was made
so that I know which requests to give priority to

 Dashboard - time of request


Feature request

active line
blockquote styles
bold links
block click on checkbox like [?]
clutter free heading
embeds settings like

hide title
hide head

list styles preview and edit mode
-- option add minimal settings to Customizable Sidebar Plugin

Thanks!

Please review documentation at https://minimal.guide and see the Minimal theme repo. Most of these capabilities already exist via Style Settings plugin. The features that are missing should be created as separate individual feature requests on the Minimal repo.


Add runas_op function to simplify user-defined operators

Signed-off-by: Kaiyuan Hu<EMAIL_ADDRESS>

Codecov Report

Merging #907 (6ee56ba) into main (2f39b9e) will decrease coverage by 0.35%.
The diff coverage is 76.92%.

:exclamation: Current head 6ee56ba differs from pull request most recent head daf4161. Consider uploading reports for the commit daf4161 to get more accurate results

@@            Coverage Diff             @@
##             main     #907      +/-   ##
==========================================
- Coverage   70.09%   69.73%   -0.36%
==========================================
  Files         202      202
  Lines        8810     8823      +13
  Branches     1447     1450       +3
==========================================
- Hits         6175     6153      -22
- Misses       2213     2247      +34
- Partials      422      423       +1

Impacted Files
Coverage Δ

towhee/engine/factory.py
83.54% <71.42%> (-3.30%)
:arrow_down:

towhee/hub/builtin/operators/runas_op.py
72.72% <72.72%> (ø)

towhee/functional/data_collection.py
91.75% <85.71%> (-2.20%)
:arrow_down:

towhee/hub/preclude/__init__.py
100.00% <100.00%> (ø)

towhee/functional/stateful_operator.py
31.03% <0.00%> (-48.28%)
:arrow_down:

towhee/functional/mixins/state.py
61.11% <0.00%> (-19.45%)
:arrow_down:

towhee/hparam/hyperparameter.py
49.60% <0.00%> (-1.58%)
:arrow_down:

Continue to review full report at Codecov.

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


core::136::http-name-variable enforces guidance apparently not in AIP-136

core::136::http-name-variable complains that:

The name variable should only be used if the RPC noun matches the URI.

This is the API snippet that resulted in this error:
  // Order a book report, at least three pages double-spaced.
  //
  // Book reviewers are guaranteed to be at least in 6th grade, and will always use topic
  // sentences.
  rpc OrderBookReport(OrderBookReportRequest) returns (google.longrunning.Operation) {
    option (google.api.http) = {
      get: "/v1/{name=publishers/*/books/*}:orderReport"
    };
    option (google.longrunning.operation_info) = {
      response_type: "OrderBookReportResponse"
      metadata_type: "OrderReportBookMetadata"
    };
  }

The relevant code seems to assume that the resource name always comes at the end of the method name:
// Determine the resource.
name = strings.TrimSuffix(name, "/*")
segs := strings.Split(name, "/")
resource := strcase.SnakeCase(p.Singular(segs[len(segs)-1]))

I think this would pass if the RPC were named, ungrammatically, OrderReportBook rather than the much more fluent OrderBookReport.
So, I have two questions:

What would be the recommended method name in this case?

AFAICT, AIP-136 has nothing to say about not using name= in the URI.  It does say "The name of the method should be a verb followed by a noun.", but it doesn't say not to use name= in the URI when there's a good reason not to follow that guidance.  Should the AIP be updated, or did I just miss something?

I think this is trying to enforce the difference between a Stateful Method and a Stateless Method, but perhaps being a tad overzealous.
The example kind of looks like a Stateless method, but we know it isn't because the output is derived from the specific resource.
This is the kind of semantic meaning that the linter cannot really infer. Comparing this example to the one given in the AIP for Stateless methods, at first glance one could easily say "oh yeah OrderBookReport doesn't mutate state at all, thus it is stateless". Once you start to think about what a "book report" actually is, you understand that it is a non-mutating, stateful method.
I think OrderBookReport with name variable is fine, but perhaps using OrderBookReport with book variable makes sense too, even if its not a Stateless method. WDYT?

When you say a book variable, do you mean something like this?
    option (google.api.http) = {
      get: "/v1/{book=publishers/*/books/*}:orderReport"
    };

That seems like a strange inconsistency, since this would usually be name and changing it to get around (understandable) linting limitations is an odd API artifact.  So in this case I think my inclination would be just to disable the rule.  But happy to be talked out of it. :)

Indeed, "book variable" --> "book field reference in the path", thank you for decoding my message :)
Totally fair, I think using book instead of name reinforces an anti-pattern, and for those knowledgable of the AIPs, likely leads them to the wrong conclusion (i.e. that the RPC is a Stateless Method when it actually isn't).
I do think the better way to "find the resource" would be to first, "follow the breadcrumbs" and use the google.api.resource_reference to resolve the Resource type, not the method name. This assumes that there is such a reference and that we can find it reliably. It may be that we need to fall back to the "last word in the RPC name" logic if it is not.
I will leave this open for now so that I can come back and try out the above.
@rofrankel can you open an issue on https://github.com/aip-dev/google.aip.dev/issues asking for an update to AIP-136 with the guidance for using name vs. not? I will ensure it gets review by the team here.

Thanks, filed https://github.com/aip-dev/google.aip.dev/issues/955.

Per JJ's comment on the AIP issue, we will disable this check as the guidance is not concrete yet and building a reliable check may be difficult given the flexibility available to custom method naming.


OCBL449 - Notebook Updates

Added the command to re-install tensorflow.
Related Buganizer: http://b/330472808

Solved the issue with this PR. Will close this.
https://github.com/GoogleCloudPlatform/asl-ml-immersion/pull/430


每次修改代码都需要从根路由进去，不然页面不会显示会报错

就算更改写的时注释也会报错，严重影响开发体验

我也经常遇见

duplicate issue https://github.com/vbenjs/vue-vben-admin/issues/2459

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days


Adding Lucky Pool

Pair with the Logo PR https://github.com/mempool/mining-pool-logos/pull/18

I don't think it's their website. They only seem to offer Verus shitcoin mining?


added "redux-responsive/" prefix to action types

It's rather unlikely that anybody is going to have a name conflict with UPDATE_RESPONSIVE_STATE as the action type, but I figured prefixing it was more polite than just assuming so.
Also, this way, people could easily filter out all actions from redux-responsive (if it ever grew to fire multiple different action types) from their redux-logger by ignoring actions with action.type.startsWith('redux-responsive').

haha I would be absolutely floored if someone conflicted with that action type but there's no harm in adding it. Thanks again for the various PRs this week

haha agreed!
No problem :cactus:


Material Design 3

Implement some changes to look more like material 3:

[x] Use hollow/filled icons for navigation bar
[x] Highlight current navigation tab with a 'pill'
[x] New style switches
[x] Rounder dialogs
[x] Remove dialog (and sheet) shadows
[x] Remove menu shadows
[x] Contrasting colour for menus
[x] Contrasting colour for (non fullscreen) dialogs
[ ] Use active/primary colour for section headers in settings/info dialogs
[x] Remove indent from section headers in settings/info dialogs
[x] Squarer-chips (?)
[x] Fix navbar highlight on iOS

Work already started in m3 branch.

Decided not to colour section headers, looks odd. So, closing issue.


gzippedData returns nil

Hello. I started to use your GZIP via pods. I added libz.dylib to my project, but gzippedData returns nil. I noticed that error in deflateInit2, it returns -2, instead 0.

If you're still seeing this problem, can you send me the data that you are trying to zip?


A few small typos on page titled BitLocker Deployment and Administration FAQ

"You can can Group Policy settings to require that data drives be BitLocker-protected before a BitLocker-protected computer can write data to them"
"Although it's not the most secure way to encrypt a drive, this option can reduce encryption time by more than 99 percent, depending on how much data that needs to beencrypted"
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 7a2b6bec-05af-1e20-a22e-d2a0c71a7dca
Version Independent ID: 5c644e57-ae1b-a510-ebdb-52391fb6407f
Content: BitLocker frequently asked questions (FAQ) (Windows 10)
Content Source: windows/security/information-protection/bitlocker/bitlocker-deployment-and-administration-faq.md
Product: w10
GitHub Login: @brianlic-msft
Microsoft Alias: justinha

Fixed--thank you!


Issue during initial install

When trying to install the make -j step returns
Rerunning does the same.
[ 22%] Built target pytinydiffsim
[ 26%] Built target opengl_imgui_test
[ 28%] Built target pendulum_example_gui
[ 31%] Built target tiny_urdf_parser_opengl_example
[ 35%] Built target opengl_test
[ 36%] Built target pytinyopengl3
[ 98%] Built target zmq
make: *** [all] Error 2

I am using GCC and G++ 10, same bug comes up with GCC and G++ 7.
Ran on MacOS and Ubuntu 16

It looks like there were issues during build too, got an error similar to: https://github.com/ros-planning/navigation/issues/617
resolved with: https://github.com/ros-planning/navigation/issues/617#issuecomment-391005166

It looks like there were issues during build too, got an error similar to: https://github.com/ros-planning/navigation/issues/617
resolved with: https://github.com/ros-planning/navigation/issues/617#issuecomment-391005166

Can't reproduce, it compiles/build, links and runs on Windows, Linux and Mac OSX.


Disproportionate Layout at High Resolution

Res: 2560 x 1600

@cjadams13 should be fixed now. Checkout the changes on our staging site. Let me know if this indeed fixed the issue. Thanks.

It still seems to be the same. I’ve tested it on the staging site link and on the official site link.
<EMAIL_ADDRESS>On Nov 11, 2015, at 09:17, Eli Gladman <notifications<EMAIL_ADDRESS>wrote:
@cjadams13https://github.com/cjadams13 should be fixed now. Checkout the changes on our staging sitehttp://osuosc.github.io/open-source-club-website/. Let me know if this indeed fixed the issue. Thanks.
—
Reply to this email directly or view it on GitHubhttps://github.com/OSUOSC/open-source-club-website/issues/108#issuecomment-155794649.

@cjadams13  What about now? Our staging site should have the issue fixed. Mind checking?

I believe this is fixed, if it isn't go ahead and reopen


Add custom links to navigation bar

Hi,
this is a great theme -- thanks a lot for sharing! I have one question about the navigation bar. I understand that a link is generated for each page automatically... My question is how can you add a custom link to the nav bar?
Thanks!

I just figured this out, sorry for the noise!


How to extract GraphCodeBERT embeddings?

Thanks for the work done! I have two questions.

How to get GraphCodeBERT embeddings for Python code?
My downstream task is to classify Python functions in a file into different categories. Will it be possible to use GraphCodeBERT embeddings directly and feed it into a simple machine learning classifier (e.g., random forest) to train it (i.e., without needing any fine-tuning of GraphCodeBERT embeddings)? Or, would you suggest fine-tuning of the embeddings instead?

Please refer to https://github.com/microsoft/CodeBERT/issues/94
Here's an example:

>>> from transformers import AutoTokenizer, AutoModel
>>> import torch
>>> tokenizer = AutoTokenizer.from_pretrained("microsoft/graphcodebert-base")
>>> model = AutoModel.from_pretrained("microsoft/graphcodebert-base")
>>> code_tokens=tokenizer.tokenize("def max(a,b): if a>b: return a else return b")
>>> tokens=[tokenizer.cls_token]+code_tokens+[tokenizer.sep_token]
>>> tokens_ids=tokenizer.convert_tokens_to_ids(tokens)
>>> context_embeddings=model(torch.tensor(tokens_ids)[None,:])[0][0,0]

2 Yes. It will be possible. But I guess only using embeddings of GraphCodeBERT to train classifier can't achieve best performance. Because we don't specially pre-train embeddings of code frame in GraphCodeBERT. Maybe UniXcoder (will released next week) is suitable since we design two pre-training tasks to learn code frame representation. However, if you can, fine-tuning will be a good choice.

Thank you for the detailed answer. I'll try with GraphCodeBERT embeddings this week and UniXcoder embeddings next week (once it is released), and post the results here.

hi @guoday, wouldn't context_embeddings=model(torch.tensor(tokens_ids)[None,:])[0][0,0] return the embedding for the 0th token_id only?
Instead, would it make more sense to do either of the two things below?
Option 1:
context_embeddings=model(torch.tensor(tokens_ids)[None,:])[0] context_embeddings=torch.mean(context_embeddings, axis=1)
Option 2:
context_embeddings=model(torch.tensor(tokens_ids)[None,:], attention_mask=torch.tensor(tokens_ids)[None,:].ne(1))[1]

0th token_ids is [CLS] token, whose embedding is better to represent the whole input.
Option 1 is to use mean pooling on the sequence. You can try it but we found that it‘s worse than [CLS] token embedding in zero-shot setting in UniXcoder paper.
Option 2 is to return a hidden state by using a randomly initialized pooling layer on [CLS] token embedding. It can't be used to  represent the whole input since the pooling layer isn't pre-trained.

We have uploaded UniXcoder. Please follow this to get embedding.

Thanks for the work done! I have two questions.

How to get GraphCodeBERT embeddings for Python code?
My downstream task is to classify Python functions in a file into different categories. Will it be possible to use GraphCodeBERT embeddings directly and feed it into a simple machine learning classifier (e.g., random forest) to train it (i.e., without needing any fine-tuning of GraphCodeBERT embeddings)? Or, would you suggest fine-tuning of the embeddings instead?

Hi, There
I want to get the statement embeddings of the Python source code using the GraphCodeBERT model as It helps to capture the dataflow as well.
Can you help me to share the code snippet for that?


Removing parsing of react and react-router

Purpose
Currently,  we are parsing through both react and react-router. This is causing a slower build to occur. With this feature we are only pointing to the minified versions of react and react-router. This optimization cuts off about 1s and provides a cleaner build log.

Dumb semicolons.  LGTM.


fix: sponsor ui into approve page and advacned gas row

Builds ready [6584061]builds: chrome, firefox, opera
bundle viz: background, ui, portal-inpage, portal-contentscript, ui-libs, bg-libs, phishing-detect
dep viz: background
all artifacts

Builds ready [fd2121c]builds: chrome, firefox, opera
bundle viz: background, ui, portal-inpage, portal-contentscript, ui-libs, bg-libs, phishing-detect
dep viz: background
all artifacts

Builds ready [c495400]builds: chrome, firefox, opera
bundle viz: background, ui, portal-inpage, portal-contentscript, ui-libs, bg-libs, phishing-detect
dep viz: background
all artifacts


Implement API details

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@ad3bdc1). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop     #141   +/-   ##
==========================================
  Coverage           ?   86.07%
==========================================
  Files              ?       82
  Lines              ?     1422
  Branches           ?      141
==========================================
  Hits               ?     1224
  Misses             ?      196
  Partials           ?        2

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

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


chore: upgrade cosmwasm to 0.40.1

Related Github tickets
https://github.com/VolumeFi/paloma/issues/203
Testing completed

[x] a list of actions that you've performed to ensure that this PR works as intended
[x] 99% of the times you should have an item: "wrote tests"

Breaking changes

[x] I have checked my code for breaking changes
[x] If there are breaking changes, there is a supporting migration.

@ToasterTheBrave
There are quite a few breaking changes in the upgrade to 0.40.1:

https://github.com/CosmWasm/cosmwasm/blob/main/CHANGELOG.md
https://github.com/cosmos/ibc-go/blob/v7.0.0/docs/migrations/v6-to-v7.md
https://github.com/cosmos/cosmos-sdk/blob/main/UPGRADING.md#v047x

As far as I can tell, Paloma is already ahead of most of what's required though. I'm not sure yet about chain migrations though.

@byte-bandit It's going to come down to testing.  You need to test the functionality around wasm and ensure jobs still execute as expected on the new code

To your question on migrations.  We should test an upgrade to ensure things work correctly.

@ToasterTheBrave
I used the current release (v.1.4.0) as reference to make sure WASM contracts compiled and executed as expected. Then, I upgraded my local test net to this branch and repeated the test. You can find the successful submit_logic_call() transaction here: https://bscscan.com/tx/0x368fe464b0d4ec4614a840f3c217331dffb417896a413ae429d0c9c25d10ef70
As far as I can tell, everything works as expected.

A couple small things:

Is that the right tx showing success from the changes?  It's from 15 hours ago.
We need to update the readme for the new version of wasmvm

@ToasterTheBrave

Yes, I was pulling a late night to get it in yesterday, that's when I finished testing.
Good point, I will touch the readme to reflect the changes.
I'll also take a look at test net scripts, I think they pull in some specific version as well.

See https://github.com/palomachain/private-testnet/pull/36


Inconsistent keras API regarding variable_scope

I am trying to reuse some layers (share the weights), so I've used some variable_scope and inside I created some keras layers. For some type of layers like tf.keras.layers.Dense, the weights are shared, for others like tf.keras.layers.Embedding for example new weights are created instead of being reused.
Probably similar to https://github.com/tensorflow/tensorflow/issues/20426 and https://github.com/tensorflow/tensorflow/issues/14703
Can you advise a fix as it seems variable_scope are being deprecated in TF2.0 ?
Thanks
import tensorflow as tf
import numpy as np

def mlp( s ):
    word_embeddings = tf.get_variable("we",[3, 10])
    emb = tf.nn.embedding_lookup(word_embeddings, s)
    return emb

def mlpkeras( s ):
    emb = tf.keras.layers.Embedding( 3, 10)(s)
    return emb

def mlp2( s ):
    emb = tf.keras.layers.Dense(10)(s)
    return emb

def testEmbeddingTFLayer():
    sess = tf.Session()
    input = tf.placeholder(tf.int32, ((None,20)))

    with (tf.variable_scope("main", reuse=False) ):
        res1 = mlp(input)

    with (tf.variable_scope("main", reuse=True) ):
        res2 = mlp(input)

    sess.run(tf.global_variables_initializer())
    print("TestEmbeddingTFLayer :")
    print( sess.run( [tf.reduce_sum( (res1-res2)**2)] , feed_dict= {input:np.zeros((1,20)) } ) )

def testDenseLayer():
    sess = tf.Session()
    input = tf.placeholder(tf.float32, ((None,20)))

    with (tf.variable_scope("main", reuse=False) ):
        res1 = mlp2(input)

    with (tf.variable_scope("main", reuse=True) ):
        res2 = mlp2(input)

    sess.run(tf.global_variables_initializer())
    print("TestDenseLayer : ")
    print( sess.run( [tf.reduce_sum( (res1-res2)**2)] , feed_dict= {input:np.zeros((1,20)) } ) )

def testEmbeddingKerasLayer():
    sess = tf.Session()
    input = tf.placeholder(tf.int32, ((None,20)))

    with (tf.variable_scope("main", reuse=False) ):
        res1 = mlpkeras(input)

    with (tf.variable_scope("main", reuse=True) ):
        res2 = mlpkeras(input)

    sess.run(tf.global_variables_initializer())
    print("TestEmbeddingKerasLayer :")
    print( sess.run( [tf.reduce_sum( (res1-res2)**2)] , feed_dict= {input:np.zeros((1,20)) } ) )

testEmbeddingTFLayer()
testDenseLayer()
testEmbeddingKerasLayer()

Prints 0 , 0 , and not 0 (expecting 0)
Please make sure that this is a bug. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 16.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: No
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below):v1.12.0-0-ga6d8ffae09 1.12.0
Python version: 3.6
Bazel version (if compiling from source): NA
GCC/Compiler version (if compiling from source): NA
CUDA/cuDNN version: CUDA Driver Version / Runtime Version          9.2 / 8.0
GPU model and memory: 1080Ti

The plan in 2.x is that variable sharing happens by sharing objects. So instead of being a function, mlp could be a tf.keras.Model subclass for example, creating its sub-Layers and variables only once and saving them in attributes. Then it would be called twice instead of created twice. This is much more efficient when executing eagerly, and seems to produce fewer hard-to-debug errors.
Does that work for you?

Not really. It seems to work for the simple cases but still miss some important features.
For example I can't figure how I would do some polyak averaging using the tf.keras.Model API in a generic way.
network1 = MyModel1()
network2 = tf.keras.models.clone_model(network1)
varnetwork1 = getVariables( network1 )
varnetwork2 = getVariables( network2 )
updates = tf.group( [ tf.assign(v2, v2 *polyak + (1-polyak)*v1 )  for (v1,v2) in zip(varnetwork1,varnetwork2) ] )

It seems model.trainable_variables behavior is not defined by the API
Keras API is nice for beginners, but it is also quite verbose, (you must declare your layer first in init or build before being able to use them inside call)
Wouldn't this also mean tf.nn and tf.nn.layers shouldn't be use them inside model.call ?
Serialization of Keras Models is also non trivial :
Once you start sharing weights between two networks.
sm = MySharedModel()
model1 = MyModel( sm )
model2 = MyModel( sm )
savedModel1 = serialize(model1)
savedModel2 = serialize(model2)
loadModel1 = load(savedModel1)
loadModel2 = load(savedModel2)

Now loadModel1 and loadModel2 don't share weights.

@unrealwill,
Sorry for the delayed response. Can you please confirm if this issue still persists? Thanks!

out of date


⚠ Bofrost.de has degraded performance

In 314e1c1, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1464 ms

Resolved: Bofrost.de performance has improved in 8f8d9ea.


Set Content-Type in healthcheck's http response

Signed-off-by: logeable<EMAIL_ADDRESS>
Which problem is this PR solving?

Resolve #2924

Short description of the changes

set header before call WriteHeader

Thanks!


GEOMESA-1996 ArrowConversionProcess dictionary and sorting support fo…

…r all feature collections

Added SimpleFeatureOrdering class

Signed-off-by: Emilio Lahr-Vivaz<EMAIL_ADDRESS>

note to self: update https://github.com/geomesa/geomesa-geoserver/blob/master/geomesa-gs-wfs/src/main/scala/org/geomesa/gs/wfs/output/ArrowOutputFormat.scala to use same code

On quick read, I didn't notice any unit test changes.  Can you add a unit test for SimpleFeatureOrdering or does that not make sense?

Yeah, I'll add one. I removed a pendingUntilFixed in the ArrowConversionProcessTest for dictionaries, but I'll add one for sorting there too.