Add support for Qdrant

🚀 The feature
Qdrant is a popular vector similarity search engine and vector database.
Motivation, pitch
We can integrate with its APIs to allow experimentation on various configurations and look at its performance.
Alternatives
No response
Additional context
You can have a look at the Chroma or Weaviate for inspiration. If you would like to work on this, comment and let us know! We will be more than happy to support you.

Quote from @rafidude from #52:
We are using Qdrant and found its performance much better than other Vector DBs.

Please see the benchmarks at https://qdrant.tech/benchmarks/.

@NivekT I'm already working on the integration.

Wonderful!

The PR is open, but still in progress: #54

Closed by #54
Thank you @kacperlukawski !


[v2] Avoid unnecessary Tile load in TileProvider

What is your question, problem or request?
When loading a Tile Overlay, the appropriate function getTile is loaded. This function check if URL is local/remote and fetch image appropriately.
The problem is, when there are tiles we dont want to draw/generate (eg: empty data), i have to also return an empty PNG image. The things is, if we return empty data (empty body response, code 200, or 404), the lib is raising errors for every empty tiles (not crashing, but multiples errors appears in the logs files).  The problem is coming from the http.getInputStream() which try to bitmap decode the  response decoded even if there are no data (thus raising error).
Instead of returning empty small PNG (which consume bandwidth, and delays), is it possible to just check that http.getInputStream() isnt null/empty ?
What version of this plugin do you use? ($> cordova plugin list)
Last v2 branch.

I give you a hint.
How can you reach this line?
https://github.com/mapsplugin/cordova-plugin-googlemaps/blob/multiple_maps/src/android/plugin/google/maps/PluginTileProvider.java#L108

I know about this line, however at this step, client doesnt know if tile is empty or not. So it has to fetch the server which render "in live" the tile, and he is the only one to know if "no need overlay tile here" or "here the png".

client doesnt know if tile is empty or not.

Your app should check the area in advance.

How about add an option ignoreHttpErrors to map.addTileOverlay().

There are two ways to solve this :

Server returns HTTP error status (40x/50x*, etc.) and thus 'IgnoreHttp(s)Error" can make sense
Server returns OK status (20x) , and handle empty input stream (adding one line to 164, best easier way) :
 if (!inputStream || inputStream.length == 0) return null;

I can submit the PR on the next days (for Android), dont know what is the equivalent code for objective C.

In general, mobile apps should reduce HTTP requests as much as possible. Because even if the server response s empty response, HTTP requests spend battery life.
That's why I said "your app should check the area in advance" (This is common in mobile programming).
However certainly sometimes, you want to ignore the server side errors.
That's why I said adding the option.
But event though, you should not rely on the option. You should avoid HTTP requests as much as possible.


Upgrade to PHPUnit 10

Upgrade to PHPUnit 10
Update .php-cs-fixer.dist.php to include ruleset

#17


Fixed DataFrame.assign for callables

Closes #3917
cc @andrethrill

I think this is what we want to do here. This may surprise some users, if their callable either expects or incidentally creates a pandas dataframe.
If a concrete dataframe really is needed, then df.map_blocks(pd.DataFrame.assign, column=callable) should be used instead I think.

Is anyone available to review this?

Thanks @TomAugspurger !


Support specify one node to migrate

What this PR does / why we need it:
The current migration of virtual machines involves setting node affinity or node selectors, but cannot be done by specifying a fixed node. Now there are currently two ways to migrate:

Migrate to the specified node through the virtctl migrate vm node command.
Migrate to the selected node by scheduler through the virtctl migrate vm command.

kubectl get vmim
NAME                                       PHASE               VMI                NODENAME
kubevirt-migrate-vm-2snmc      Succeeded         vm-test           worker1

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.

[ ] Design: A design document was considered and is present (link) or not required
[ ] PR: The PR description is expressive enough and will help future contributors
[ ] Code: Write code that humans can understand and Keep it simple
[ ] Refactor: You have left the code cleaner than you found it (Boy Scout Rule)
[ ] Upgrade: Impact of this change on upgrade flows was considered and addressed if required
[ ] Testing: New code requires new unit tests. New features and bug fixes require at least on e2e test
[ ] Documentation: A user-guide update was considered and is present (link) or not required. You want a user-guide update if it's a user facing feature / API change.
[ ] Community: Announcement to kubevirt-dev was considered

Release note:

This PR looks like that the admin can point one node to migrate just as openstack.

Yes, you are right.
Previously, there were random scheduling and affinity scheduling. Migrating to a node does not conflict with other methods.

This PR looks like that the admin can point one node to migrate just as openstack.

Yes, you are right.
Previously, there were random scheduling and affinity scheduling. Migrating to a node does not conflict with other methods.

I guess “simple” refers to user facing ability to accomplish this task. The question, as I see it, is if it merits an API change to accomplish the same thing in a different way.
The same can be also accomplished by a script/tool  that wraps all these steps on the client side. Will that work for your scenario?

I guess “simple” refers to user facing ability to accomplish this task. The question, as I see it, is if it merits an API change to accomplish the same thing in a different way.
The same can be also accomplished by a script/tool that wraps all these steps on the client side. Will that work for your scenario?

The virtctl client ultimately completes the creation of resources “vmim”, The virt-controller completes the remaining work.
Also directly creating vmim resThe virtctl client ultimately completes the creation of resources “vmim”, The virt-controller completes the remaining work.

The virtctl client ultimately completes the creation of resources “vmim”, The virt-controller completes the remaining work. Also directly creating "vmim" ressource, The virt-controller completes the remaining work.

I am not sure I understand the answer.
The steps described by @fabiand earlier could be accomplished using a simple script that goes over all the steps without changing the API or the binary client (virtctl).
Are there scenarios which you need that makes such an option insufficient?

The virtctl client ultimately completes the creation of resources “vmim”, The virt-controller completes the remaining work. Also directly creating "vmim" ressource, The virt-controller completes the remaining work.

I am not sure I understand the answer. The steps described by @fabiand earlier could be accomplished using a simple script that goes over all the steps without changing the API or the binary client (virtctl). Are there scenarios which you need that makes such an option insufficient?

Novice can use "virtctl migrate $VMNAME $NODENAME/virtctl migrate $VMNAME" to schedule to a certain node without setting complex affinity
For example, adding a new node and migrating the virtual machine to this new node for testing. After testing, execute the command to migrate to the original node.

The virtctl client ultimately completes the creation of resources “vmim”, The virt-controller completes the remaining work. Also directly creating "vmim" ressource, The virt-controller completes the remaining work.

I am not sure I understand the answer. The steps described by @fabiand earlier could be accomplished using a simple script that goes over all the steps without changing the API or the binary client (virtctl). Are there scenarios which you need that makes such an option insufficient?

Novice can use "virtctl migrate $VMNAME $NODENAME/virtctl migrate $VMNAME" to schedule to a certain node without setting complex affinity
For example, adding a new node and migrating the virtual machine to this new node for testing. After testing, execute the command to migrate to the original node.

If the scripting is provided as a tool that wraps this, then this novice can still do this without understanding what happens in the backed. The shell user will provide the same minimum information and the script/tool will do the rest without changing the API.

The virtctl client ultimately completes the creation of resources “vmim”, The virt-controller completes the remaining work. Also directly creating "vmim" ressource, The virt-controller completes the remaining work.

I am not sure I understand the answer. The steps described by @fabiand earlier could be accomplished using a simple script that goes over all the steps without changing the API or the binary client (virtctl). Are there scenarios which you need that makes such an option insufficient?

Novice can use "virtctl migrate $VMNAME $NODENAME/virtctl migrate $VMNAME" to schedule to a certain node without setting complex affinity
For example, adding a new node and migrating the virtual machine to this new node for testing. After testing, execute the command to migrate to the original node.

If the scripting is provided as a tool that wraps this, then this novice can still do this without understanding what happens in the backed. The shell user will provide the same minimum information and the script/tool will do the rest without changing the API.

If the cluster contains local storage and shared storage, create some locally stored virtual machines that shut down, and the shared storage can be scheduled to any node. If the node resources are exhausted, which locally stored virtual machines may not be able to start.
At this point, we can schedule to a certain node by specifying a node. We want to encapsulate it into the business, and through the front-end interface, it can be hot migrated to a certain node.
Actually, novice only need to know vm already migrate to the specified node.
In fact, these can all be migrated through affinity and node selection. Setting affinity and node selection to the VM may limit the next startup schedule.
The migration solution is to set up virtualmachineinstancemigrations. kubevirt. io (vmim), where the virt controller is responsible for creating the destination pod

The virtctl client ultimately completes the creation of resources “vmim”, The virt-controller completes the remaining work. Also directly creating "vmim" ressource, The virt-controller completes the remaining work.

I am not sure I understand the answer. The steps described by @fabiand earlier could be accomplished using a simple script that goes over all the steps without changing the API or the binary client (virtctl). Are there scenarios which you need that makes such an option insufficient?

Novice can use "virtctl migrate $VMNAME $NODENAME/virtctl migrate $VMNAME" to schedule to a certain node without setting complex affinity
For example, adding a new node and migrating the virtual machine to this new node for testing. After testing, execute the command to migrate to the original node.

If the scripting is provided as a tool that wraps this, then this novice can still do this without understanding what happens in the backed. The shell user will provide the same minimum information and the script/tool will do the rest without changing the API.

If the cluster contains local storage and shared storage, create some locally stored virtual machines that shut down, and the shared storage can be scheduled to any node. If the node resources are exhausted, which locally stored virtual machines may not be able to start. At this point, we can schedule to a certain node by specifying a node. We want to encapsulate it into the business, and through the front-end interface, it can be live migrated to a certain node. Actually, novice only need to know vm already migrate to the specified node.
In fact, these can all be migrated through affinity and node selection. Setting affinity and node selection to the VM may limit the next startup schedule.
The migration solution is to set up virtualmachineinstancemigrations. kubevirt. io (vmim), where the virt controller is responsible for creating the destination pod

if one vm has been set "affinity", how does it work?

if one vm has been set "affinity", how does it work?

According to my understanding, virt-controller creates the target pod.
If spec.nodeName is specified, there is no need for scheduler scheduling. If spec.nodeName is none, scheduler scheduling is required

I understand the need to migrate to a selected node and the need to make it a simple task for an operator.
However, I am not convinced that this merits a change of the API to have another higher level abstraction for one specific need. The migration itself is possible with the affinity settings and could be abstracted by a simple script that sets the affinity per the target node, waits for the migration to occur and then removes the affinity settings (so it will not effect the next migration).
Unless it is technically impossible to accomplish the above, I would not recommend to extend the API for this purpose.

I understand the need to migrate to a selected node and the need to make it a simple task for an operator. However, I am not convinced that this merits a change of the API to have another higher level abstraction for one specific need. The migration itself is possible with the affinity settings and could be abstracted by a simple script that sets the affinity per the target node, waits for the migration to occur and then removes the affinity settings (so it will not effect the next migration). Unless it is technically impossible to accomplish the above, I would not recommend to extend the API for this purpose.

It can be resolved by setting affinity and removing affinity to complete migration.
Indeed, modifying APIs is costly and undermines the original design.
I agreed.

@zhonglin6666 do you mind rebasing this PR?
Would you also mind including a virtctl change?

@vladikr @EdDev to me there is a small differentiation between the two implementations

affinity is modifying the vm spec (reqiures a modification of the vm spec)
selector during live migration is only requiring modificatoin of migration object - no vm/vmi change) and is a one shot thing

@vladikr @EdDev to me there is a small differentiation between the two implementations
1. affinity is modifying the vm spec (reqiures a modification of the vm spec)

2. selector during live migration is only requiring modificatoin of migration object - no vm/vmi change) and is a one shot thing

Yes.
But the scenario in which one is interested in an semi-imperative operation is questionable IMO.
I think that in the end, the point was that if there is a need to perform such an operation, it could be accomplish using affinity by an upper layer wrapper.
Bottom line, as I see it, if there is a firm enough scenario that makes this reasonable, it can be accepted. But if an alternative exists that can do the same will less API, I would prefer it.
Obviously, if it is very common in usage, it can be a good reason to "pay" with an API addition.

It's a VERY common request.
When I speak to people it's usually coming up in more than 50% of the cases, and if it comes up, then as the first or second question.
I think we want this, even if the two use-cases are slightly overlapping.
Think of the user and system workflow.
A one-short migration destination makes much sense for the migration object. No need to change the VM.
Think of gitops workflows: With affinity, you need to trigger gitops changes in order to just move the vm. with migration based parameter this is independent.
WRT semi-imperative. To me this is as declarative as .. a VM. After all we just specify a selector - only on a migration object.

I'd be happy to see the PR reviewed with an update to virtctl.

@zhonglin6666 ping?

@zhonglin6666 ping?

Experts have denied it.  @EdDev

Understood :)
But - we are also listening to users.
@zhonglin6666 thanks for getting back to us.
Do you think you can rebase this PR with two changes

use node affinity instead
add virtctl support

?
Greetings

fabian

Understood :)
But - we are also listening to users.
@zhonglin6666 thanks for getting back to us.
Do you think you can rebase this PR with two changes

use node affinity instead
add virtctl support

?
Greetings

fabian

I have already rebase this function in my only repo.

Should I update on this PR or open a new PR?
But this closed PR, How to update commits ?

/reopen


Connectivity issue after SAP note 510007 implementation

Hi Team,
I implemented the suggested sap note 510007 released on 22-Feb-2018. Now when I enter into ZABAPGIT transaction then it does not ask for my credentials and thus could not connect to abapgit repositories. Its giving error as shown below:

I tested the connectivity using program ZABAPGIT_TEST_SSL and it says 'Success, it works'.

Can you please help.
Regards
Divya

hmm, try setting some breakpoints and see what goes wrong
also check log in transaction SMICM -> Goto -> Trace File -> Display End

below is the exact message coming up when I try to execute abapgit.

is your SAP system behind a proxy? if so, setup proxy auth, see http://docs.abapgit.org/guide-install.html

It's also possible that the proxy doesn't support TLS 1.2, in which case you're sort of out of luck and should engage your network infrastructure folks to get that sorted out.

When I tick the 'Proxy authentication required' checkbox in Settings (refer screenshot below), then its asking for proxy credentials, github credentials and then working.

However, its not working when I try to create new branch and giving below error message:

When we have the error then why that connection test program is not showing up. Its showing that "Success".

@larshp Does zcl_abapgit_git_transport not initialize the proxy information into the HTTP client?

abapgit sets up the proxy according to the settings(or at least that is the idea, I have not tested the proxy functionallity as I do not have access to such a setup)
@A141117 have you setup the proxy as mentioned in the code inhttp://docs.abapgit.org/other-test-ssl.html
* enter username and password for proxy authentication if needed
*  li_client->authenticate(
*    proxy_authentication = abap_true
*    username             = ''
*    password             = '' ).

I'm probably wrong but my read is that https://github.com/larshp/abapGit/blob/master/src/zcl_abapgit_http_client.clas.abap never applies the proxy information to the client (it should probably happen in the constructor).
Contrast with zcl_abapgit_http=>create_by_url.

@A141117 can you confirm if the http access via the proxy worked before feburary 22nd?

Something is fishy. After fixing the 510007 issue, I can no longer connect to my private repositories. But the symptoms seem closely related to what's going on here.
I get the following popup:

which is where I used to enter my GitHub user/pw (no proxy here).
But now I can't access my repo at all. I can enter what I like in here, there is no complaint. Debugging I see the info is just added to the http client, which first access the publicly accessible abapGit repo.
If I try to clone my repo from scratch, it won't access it. In fact when I select a branch, abapGit suddenly crashes without error.
Have been debugging this for a few hours but running out of time today. Will see if I can find out more later.

OK had another go. Made my repo public -> No difference.
I deleted the repo from abapGit using DB tools and cloned it again. Now it works as before. It still keeps asking for proxy and repo passwords, so the two dialogs are a bit of a niggle - it used to be only one.
I'd try to fix but am a bit short of time, it's not a biggie.

Does this proxy authorization dependent on the server? I mean if a server is changed for a sap system then is it possible that this proxy error could come?

@larshp - Any progress on this. I can see multiple issues discussed in same issue no. Basically my issues are as below:

previously it did not ask for proxy pop-up but after program upgrade and SSL connection upgrade it asks for proxy credentials even if the server is same.
After entering the proxy credentials everything else works fine but I am not able to create the new branch.
Please look into this urgently.
Thanks

Hi,
I have not had any luck reproducing the issue, none of the systems I have access to are behind a proxy.
The proxy popup only shows up if you have configured proxy authentication:
https://github.com/larshp/abapGit/blob/59c1f277ab623f18808f1c1f4d852ef6a439baea/src/http/zcl_abapgit_http.clas.abap#L154
Can you check the log in SMICM -> Goto -> Trace File -> Display End to see if it tells anything interesting?

@pokrakam have you had any luck/time?

closing


Update font license

I can see why you want to update the license (because it was changed upstream), but we have a reason for this exact file being there.
We use Inter v3.19 from this commit (tagged as v3.19 on their repository), and v3.19, as you can check, had this exact license we use.
If we ever update to a newer version, then we'll update the license to reflect that as well. But for now, I believe that the old license should be used.


Running extension tests on "Run and Debug" show no output

VS Code Version: 1.54.3
OS Version: Windows_NT x64 10.0.18363 / WSL Ubuntu-18.04

I have ever written a vscode extension https://github.com/luyuhuang/vscode-rss. But today I found that it didn't output any test results when I run "Extension Tests" on "Run and Debug".

This is my launch.json:
{
	"version": "0.2.0",
	"configurations": [
		{
			"name": "Extension Tests",
			"type": "extensionHost",
			"request": "launch",
			"runtimeExecutable": "${execPath}",
			"args": [
				"--extensionDevelopmentPath=${workspaceFolder}",
				"--extensionTestsPath=${workspaceFolder}/out/test/suite/index"
			],
			"outFiles": [
				"${workspaceFolder}/out/test/**/*.js"
			],
			"preLaunchTask": "npm: compile"
		}
	]
}

And the output looks like this:
> Executing task: npm run compile <

><EMAIL_ADDRESS>compile /home/luyuhuang/PROJECT/JavaScript/vscode-rss
> rm -rf ./out && tsc -p ./

Terminal will be reused by tasks, press any key to close it.

> Executing task: npm run compile <

><EMAIL_ADDRESS>compile /home/luyuhuang/PROJECT/JavaScript/vscode-rss
> rm -rf ./out && tsc -p ./

Terminal will be reused by tasks, press any key to close it.

Does this issue occur when all extensions are disabled?: No

@joaomoreno was seeing something similar, forwarding to @connor4312 since it seems like the output is not coming from the js-debug extension.

You're looking at the terminal where the build task is running. Neither rm nor tsc will produce output unless there are any errors. You want to be looking at the Debug Console for your output:

You're looking at the terminal where the build task is running. Neither rm nor tsc will produce output unless there are any errors. You want to be looking at the Debug Console for your output:

Thanks for your reply. On Windows, It's OK. But On Windows + WSL, I cannot see any outputs on the Debug Console neither.

Thanks, I can repro

This'll be fixed in the next release, and on Insiders tomorrow most likely

Thanks!

/verified


Why is zipkin added?

I don't have Zipkin in my project's .yo-rc.json. However, when I run this blueprint, it adds one for Docker Compose.
# This configuration is intended for development purpose, it's **your** responsibility to harden it for production
version: '3.8'
services:
  zipkin:
    image: openzipkin/zipkin:2.23
    ports:
      - <IP_ADDRESS>:9411:9411

Added at https://github.com/jhipster/generator-jhipster/pull/17615
Since we already had the dependency, the docker compose file made sense.

Shouldn't it only be included if you're using service discovery, it's a gateway, or it's a microservice? This app is a monolith without service discovery. Here's the logic from application-dev.yml:
<%_ if (serviceDiscoveryType || applicationTypeGateway || applicationTypeMicroservice) { _%>
  sleuth:
    # https://github.com/spring-projects/spring-framework/issues/27844#issuescomment-1002866885
    # https://github.com/spring-cloud/spring-cloud-sleuth/issues/2094
    async:
      enabled: false
    enabled: false
    sampler:
      probability: 1 # report 100% of traces
  zipkin: # Use the "zipkin" Maven profile to have the Spring Cloud Zipkin dependencies
    base-url: http://localhost:9411
    enabled: false
    locator:
      discovery:
        enabled: true
<%_ } _%>

I’ve missed that.

Will be fixed by https://github.com/jhipster/generator-jhipster/pull/17909.


Moderation | Kick, Ban, Mute and Modaration Logs

➤ Andrew_Minestrone commented:
In progress

➤ Andrew_Minestrone commented:
Done *exception for Mute.


dep deploy {branchname}

I would love to be able to deploy a specific branch by typing it in the command line.
There may already be a way to do this using a default host or something, but I am unsure if I can.
Is this possible?

@johnrobertporter I use --branch option in the command line.

Btw, In Deployer v6 if you type dep deploy it automatically will deploy current git branch.

Thanks for the pointers guys!


Theme: Chrome throws uncaught security error in console

Have been experiencing this one for a few months.  Sometimes I will logon and it will work fine with no issues then out of nowhere, I'll get the following two errors in the console with the script broken graphic.  Issue is happening in Chrome, have tested with Firefox and Edge and don't seem to have an issue but testing was not complete so I cannot confirm.
Uncaught SecurityError: Failed to read the 'contentDocument' property from 'HTMLIFrameElement': Blocked a frame with origin "https://www.mywebsite.co.uk:10000" from accessing a frame with origin "null".  The frame requesting access has a protocol of "https", the frame being accessed has a protocol of "data". Protocols must match.
contents @ package.min.js?1782:2map @ package.min.js?1782:2n.fn.(anonymous function) @ package.min.js?1782:2(anonymous function) @ init.min.js?1782:6dispatch @ package.min.js?1782:2r.handle @ package.min.js?1782:2
package.min.js?1782:2

and
GET https://www.mywebsite.co.uk:10000/virtual-server/list_users.cgi?dom=14655856826454 net::ERR_INSECURE_RESPONSEattr @ package.min.js?1782:2K @ package.min.js?1782:2attr @ package.min.js?1782:2(anonymous function) @ authentic.min.js?1782:6dispatch @ package.min.js?1782:2r.handle @ package.min.js?1782:2
package.min.js?1782:2

(This error changes depending on the action / page that is being attempted)
Only seem to get the issue when using Authentic theme.  When it starts to happen, I will encounter this between every action / page load and changes applied won't get saved.  If I close down chrome completely then open up, it will behave for a period of time on most occasions although this is a pain with do many tabs open :)

Hi,
First of all - update the theme to the latest 18.03.
This error usually happens when your run https connection and trying to access pages/links with http.
How can I reproduce it? I don't remember having it? Which module does it happen? Do you run https connection?

:up:

Apologies for the delay in replying, I have been away.
Theme is kept up-to-date at all times although I did check for a newer version.  I can therefore confirm this happens with 18.03.  The issue does not happen at all when using Firefox, Edge or IE 12.
Connection is HTTPS as virtualmin requires this and have copied SSL cert to webmin providing a trusted connection in the browser.
Happens on all modules, when attempting to open any other option (either webmin or virtualmin) the page will often not load.
I am just reinstalling the server (for an unrelated reason) so once I have it up and running I will record a video showing the problem.

First, try clearing browser's cache and reload Webmin. Second, try running your Webmin incognito tab as some Chrome's extensions might be causing it.

What is up?

http://stackoverflow.com/a/31803039/1455661


Understand if targeting Citizen Science organizations represent a viable user acquisition strategy moving forwards

Depends on
What needs to be done before we can do this?

Nothing

Significant Subtasks
Are there any large subtasks that make up this project? Something worth a tickbox?

https://todoist.com/showTask?id=80755943&sync_id=44110525
https://todoist.com/showTask?id=80756045&sync_id=44110558
https://todoist.com/showTask?id=80756045&sync_id=44110558

What success / done look like?
What does it look like for this project to be done?

By the time we launch, we understand if this represents a viable strategy moving forwards

Requirements
What resources are needed for this project (e.g skills or funds)?

None

RACI
Who is involved in this project? Use the RACI model to identify the roles

Responsible (who's doing the work)

@alexgiann

Accountable (only one)

@JosephMcarthur

Consulted

@chealsye

Informed

Team

About 1/3 of the way there!

I think we're going to pivot to ILL librarians here to better align with our institutional strategy


Building a checkout form with stripe elements

Topic Suggestion
Building a checkout form with stripe elements
Writing sample(s):
https://www.section.io/engineering-education/getting-started-with-dot-net-maui-for-cross-platform-apps/
https://www.section.io/engineering-education/using-mldotnet-for-object-detection-in-winforms/
https://www.section.io/engineering-education/different-techniques-of-encoding-data-for-transmission/
Proposed title of the article
Building a checkout form with stripe elements
Proposed article introduction
Stripe elements provide developers with prebuilt UI components that allow them to create beautiful checkout flows for their applications. Stripe elements are good when you want to change your application into a payment solution.
In this article, we will look at how to integrate Stripe elements into an ASP.NET Core project. We shall have a look at each of the following subtopics.

Introduction to stripe elements
Explore a custom form
Payment collection workflow
Add a stripe checkout to our application
Customize our payout form
How taxation is handled

Key takeaways
From this article the reader will be able to;

Add a stripe checkout to the application
Know how taxation is handled
customize a payout form
Have knowledge of stripe elements

Article quality
In this article, I will be taking the reader through the reader through the content and knowledge of stripe elements and how they can be added to a .NET Core application.
References
N/A

Sounds like a helpful topic @Geo-free - Please make sure your article is unique and adds value to what is available online and in the official documentation.


Logical definition of 'pharyngeal muscle development'

The logical definition of 'pharyngeal muscle development' refers to the UBERON term 'pharyngeal muscle' which has a part_of parent to 'musculoskeletal system'.
Annotation of nematode genes to 'pharyngeal muscle development' is therefore in violation of a taxon constraint via the inherited property chain: results in developmental progression of o in taxon subPropertyOf in taxon.
Right now there are only C. elegans and D. rerio annotations to the term, but we need to resolve the taxon violation for C. elegans.
Options:

remove the logical def entirely
re-write the logical def somehow to refer to 'muscle structure' part_of some 'pharynx' neither of which are children of 'musculoskeletal system'
create appropriate nematode muscle terms in UBERON and corresponding GO terms
others?

2020-06-22 ontology call:
Create two (?) child terms (nematode and vertebrate)
Check Drosophila annotation - what would the appropriate term be, one of the above or a third term?

Here's a proposal for what to do with terms in GO that refer to 'pharynx'.
'pharynx' on its own is probably too general a term to be used to group annotations across vertebrates and invertebrates.
I propose that we split any pharynx, or pharyngeal muscle, terms into three categories for now: vertebrate, arthropod, and nematode.  While this division is broad and incomplete, it would allow us to safely house existing annotations (fish (2 types), mouse, human, D. melanogaster, and C. elegans) with appropriate parents (e.g. in C. elegans the pharynx is considered an organ, while in UBERON and FBbt pharynx appears to be considered an organ part.)
Logical definitions would refer to the appropriate anatomy terms from UBERON, WBbt, and FBbt and appropriate parent processes in GO.
Most of the current annotations to pharynx or pharyngeal terms in GO are for C. elegans genes, so some re-housing of annotations will be needed but the numbers are manageable.
@ukemi @hattrill @sabrinatoro @cmungall - any additional thoughts or suggestions?

@vanaukenk
I chatted with Ceri, and we both agree that splitting into 3 based loosely on species is good.

'pharyngeal muscle development' LD: 'anatomical structure development'
and ('results in development of' some 'pharyngeal muscle')
UBERON:0000933 'pharyngeal muscle' LD: "'muscle organ' and ('part of' some 'musculature of pharynx')"
UBERON:0004467 'musculature of pharynx' Always in taxon Chordata
If UBERON:0000933 is defined as "'muscle organ' and ('part of' some 'pharynx')", we would not have the taxon conflicts.
We've dealt with similar issues before using the more general Uberon pharynx term. https://github.com/geneontology/go-ontology/issues/13659.

@vanaukenk There is a proposal to obsolete generic pharynx https://github.com/obophenotype/uberon/issues/2728.
Thus I cannot do what I proposed to do. I'm waiting for a new nematode pharynx term for logical def.
Or do you think we should just remove LD for now? Thanks.

Ah, thanks for that info @raymond91125
In principle, I hate to remove logical definitions from the ontology.
I'll put this on the agenda for Monday's ontology call to see if we can figure out the who/what/when of the UBERON work.

@raymond91125 @vanaukenk Do we have a decision here?
This is a list of terms that may need to be checked:
GO:0061626 | pharyngeal arch artery morphogenesis
GO:1905905 | pharyngeal gland morphogenesis
GO:0043282 | pharyngeal muscle development
GO:0043050 | pharyngeal pumping
GO:0060037 | pharyngeal system development
GO:0060465 | pharynx development
GO:0110040 | pharynx morphogenesis
GO:0021563 | glossopharyngeal nerve development
GO:0021616 | glossopharyngeal nerve formation
GO:0021614 | glossopharyngeal nerve maturation
GO:0021615 | glossopharyngeal nerve morphogenesis
GO:0021617 | glossopharyngeal nerve structural organization
GO:0043051 | regulation of pharyngeal pumping
GO:0110041 | regulation of pharynx morphogenesis
GO:0002395 | immune response in nasopharyngeal-associated lymphoid tissue
GO:1903745 | negative regulation of pharyngeal pumping
GO:0110042 | negative regulation of pharynx morphogenesis
GO:1903746 | positive regulation of pharyngeal pumping
GO:0110043 | positive regulation of pharynx morphogenesis
GO:0002400 | tolerance induction in nasopharyngeal-associated lymphoid tissue
If needed, I think removing the LD is OK; we can revisit these once Uberon has been updated.
Thanks, Pascale

Given that Uberon https://github.com/obophenotype/uberon/issues/2728 is moving to instantiate nematode/arthropod/chordate pharynx and obsolete generic pharynx, GO would need to

Make clear / add terms that refer to nematode / arthropod / chordate
Remove old LD
Apply new Uberon terms (TB made) for LD

Question is whether we should do the steps all at once or not.

GO:0061626 | pharyngeal arch artery morphogenesis | UBERON:0001042 chordate pharynx
GO:1905905 | pharyngeal gland morphogenesis | UBERON:0015232 nematode pharynx
GO:0043282 | pharyngeal muscle development | UBERON:0001042 chordate pharynx + UBERON:0015232 nematode pharynx
GO:0043050 | pharyngeal pumping | UBERON:0015232 nematode pharynx
GO:0043051 | regulation of pharyngeal pumping
GO:1903746 | positive regulation of pharyngeal pumping
GO:1903745 | negative regulation of pharyngeal pumping
GO:0060037 | pharyngeal system development UBERON:0001042 chordate pharynx
GO:0060465 | pharynx development | UBERON:0001042 chordate pharynx + UBERON:0015232 nematode pharynx + UBERON:60005380 insect pharynx
GO:0110040 | pharynx morphogenesis | UBERON:0015232 nematode pharynx
GO:0110041 | regulation of pharynx morphogenesis
GO:0110043 | positive regulation of pharynx morphogenesis
GO:0110042 | negative regulation of pharynx morphogenesis
GO:0021563 | glossopharyngeal nerve development | UBERON:0001042 chordate pharynx
GO:0021616 | glossopharyngeal nerve formation
GO:0021614 | glossopharyngeal nerve maturation
GO:0021615 | glossopharyngeal nerve morphogenesis
GO:0021617 | glossopharyngeal nerve structural organization

@pgaudet In this example, GO:1905905 | pharyngeal gland morphogenesis, the term label, definition, LD, and taxon constraints are all consistent or restricted to a process of vertebrates, although the PMID reference is about C elegans, and yet the annotation thus far is limited to nematodes. Would it be OK if we revise the label and definition to make it restrictive to nematodes? Or should we generate a new term and move the annotations?

I think it's OK to make an exception for this given it's obviously nematode specific

[Term]
+id: GO:0160093
+name: chordate pharynx development
+namespace: biological_process
+def: "The process whose specific outcome is the progression of cordate pharynx over time, from its formation to the mature structure." [PMID:23020903]
+intersection_of: GO:0048856 ! anatomical structure development
+intersection_of: results_in_development_of UBERON:0001042 ! chordate pharynx
+property_value: term_tracker_item "https://github.com/geneontology/go-ontology/issues/18285" xsd:anyURI
+created_by: rynl
+creation_date: 2023-08-29T21:05:28Z
+
+[Term]
+id: GO:0160094
+name: nematode pharynx development
+namespace: biological_process
+def: "The process whose specific outcome is the progression of nematode pharynx over time, from its formation to the mature structure." [PMID:18050503]
+intersection_of: GO:0048856 ! anatomical structure development
+intersection_of: results_in_development_of UBERON:0015232 ! nematode pharynx
+property_value: term_tracker_item "https://github.com/geneontology/go-ontology/issues/18285" xsd:anyURI
+created_by: rynl
+creation_date: 2023-08-29T22:05:32Z
+
+[Term]
+id: GO:0160095
+name: insect pharynx development
+namespace: biological_process
+def: "The process whose specific outcome is the progression of insect pharynx over time, from its formation to the mature structure." [PMID:10952900]
+intersection_of: GO:0048856 ! anatomical structure development
+intersection_of: results_in_development_of UBERON:60005380 ! insect pharynx
+property_value: term_tracker_item "https://github.com/geneontology/go-ontology/issues/18285" xsd:anyURI
+created_by: rynl
+creation_date: 2023-08-29T22:14:25Z
+
+[Term]
+id: GO:0160096
+name: nematode pharyngeal muscle development
+namespace: biological_process
+def: "The process whose specific outcome is the progression of the nematode pharyngeal muscle over time, from its formation to the mature structure." [GOC:go_curators]
+is_a: GO:0007517 ! muscle organ development
+relationship: part_of GO:0160094 ! nematode pharynx development
+property_value: term_tracker_item "https://github.com/geneontology/go-ontology/issues/18285" xsd:anyURI
+created_by: rynl
+creation_date: 2023-08-29T22:49:13Z

Updated. Thanks for the alert.


fix(admin) Remove optimistic ui updates [EP-2878]

Optimistic ui updates are causing UX problems when errors are displayed. Removing them until we come up with a solution.

:tada: This PR is included in version 1.5.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


dvc: fix build

Description of changes

#334575

Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[X] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 334588 run on x86_64-linux 1

18 packages built:

dvc (python312Packages.dvc)
dvc-with-remotes
dvc-with-remotes.dist
dvc.dist (python312Packages.dvc.dist)
python311Packages.dvc
python311Packages.dvc-gdrive
python311Packages.dvc-gdrive.dist
python311Packages.dvc-hdfs
python311Packages.dvc-hdfs.dist
python311Packages.dvc.dist
python311Packages.dvclive
python311Packages.dvclive.dist
python312Packages.dvc-gdrive
python312Packages.dvc-gdrive.dist
python312Packages.dvc-hdfs
python312Packages.dvc-hdfs.dist
python312Packages.dvclive
python312Packages.dvclive.dist

damm mine is still running

Result of nixpkgs-review pr 334588 run on x86_64-linux 1

18 packages built:

dvc (python312Packages.dvc)
dvc-with-remotes
dvc-with-remotes.dist
dvc.dist (python312Packages.dvc.dist)
python311Packages.dvc
python311Packages.dvc-gdrive
python311Packages.dvc-gdrive.dist
python311Packages.dvc-hdfs
python311Packages.dvc-hdfs.dist
python311Packages.dvc.dist
python311Packages.dvclive
python311Packages.dvclive.dist
python312Packages.dvc-gdrive
python312Packages.dvc-gdrive.dist
python312Packages.dvc-hdfs
python312Packages.dvc-hdfs.dist
python312Packages.dvclive
python312Packages.dvclive.dist


Installer - Template labelling issues causing deployment failures

Bug description
Various installer templates (for example gateways/ingress-gateway chart) have a hardcoded exclusion statements that overwrite labels when "istio-system"  is used as a  namespace. This causes the release label to be to set to "istio" rather than the provided release name.
This affects resources such as the horizontal pod autoscaler that require the release label to be to match the ingress-gateway pod. This seems unintentional as all other resources seem to have their release label set to the provided release name.
https://github.com/istio/installer/blob/36f377d6c08ee27b836f52fa0a2c3672ad6fb2a8/gateways/istio-ingress/templates/deployment.yaml#L29
https://github.com/istio/installer/blob/fe4a478fe6c5aa163d54478facc4b85893466250/istio-control/istio-discovery/templates/deployment.yaml#L46
https://github.com/istio/installer/blob/d14e006b7b988d9401ee427f1a281295487161e8/istio-control/istio-config/templates/deployment.yaml#L24
https://github.com/istio/installer/blob/d14e006b7b988d9401ee427f1a281295487161e8/gateways/istio-egress/templates/deployment.yaml#L29
https://github.com/istio/installer/blob/44c9a6a89c60e8465c764b3ba6a7f3a3231f6dc1/istio-control/istio-autoinject/templates/mutatingwebhook.yaml#L6
https://github.com/istio/installer/blob/44c9a6a89c60e8465c764b3ba6a7f3a3231f6dc1/istio-control/istio-autoinject/templates/mutatingwebhook.yaml#L6
https://github.com/istio/installer/blob/d14e006b7b988d9401ee427f1a281295487161e8/istio-control/istio-autoinject/templates/deployment.yaml#L63
Expected behavior
Installs the in ingress gateway as expected
Steps to reproduce the bug
git clone https://github.com/istio/installer.git

helm template --namespace istio-system -n "istio-ingress" installer/gateways/istio-ingress/ -f installer/global.yaml > ig.yaml

kubectl apply --prune --l release=istio-ingress -f ig.yaml

output on apply:
serviceaccount/istio-ingressgateway-service-account created
service/istio-ingressgateway created
deployment.apps/istio-ingressgateway created
horizontalpodautoscaler.autoscaling/istio-ingressgateway created
poddisruptionbudget.policy/ingressgateway created
Error from server (Timeout): error when creating "ig.yaml": Timeout: request did not complete within requested timeout 30s
Error from server (Timeout): error when creating "ig.yaml": Timeout: request did not complete within requested timeout 30s

events:
m39s       Normal    Pulled                         Pod                       Successfully pulled image "gcr.io/istio-release/proxyv2:release-1.3-latest-daily"
2m38s       Warning   Unhealthy                      Pod                       Readiness probe failed: HTTP probe failed with statuscode: 503
2m18s       Normal    DeletedLoadBalancer            Service                   Deleted load balancer
2m18s       Normal    EnsuringLoadBalancer           Service                   Ensuring load balancer
100s        Warning   FailedGetResourceMetric        HorizontalPodAutoscaler   did not receive metrics for any ready pods
100s        Warning   FailedComputeMetricsReplicas   HorizontalPodAutoscaler   failed to get cpu utilization: did not receive metrics for any ready pods
84s         Normal    EnsuredLoadBalancer            Service                   Ensured load balancer
8s          Normal    NoPods                         PodDisruptionBudget       No matching pods found
8s          Normal    NoPods                         PodDisruptionBudget       No matching pods found
8s          Normal    NoPods                         PodDisruptionBudget       No matching pods found
8s          Normal    NoPods                         PodDisruptionBudget       No matching pods found

Version (include the output of istioctl version --remote and kubectl version)
1.3.4
How was Istio installed?
installer repo with helm
Environment where bug was observed (cloud vendor, OS, etc)
GKE

in addition the release label is neverset  on the ingress-gateway pod template even if another namespace is used.

I believe this is fixed now but we need to add a test in  https://github.com/istio/istio/blob/c0680c17d65da6c217620b3e8c466083927b5b25/operator/cmd/mesh/manifest-generate_test.go#L163


Update API error messages

This just fixes a few grammar issues and makes the errors more similar.

I'm going to have to hold this PR for an (eventual) 1.0.0 release.
Unfortunately, due to a (very poor) decision I made 6 years ago, the error callback fires with a string, and that is the only information users have to base their error handling around.
As such, I would categorize changes to those strings as major breaking changes, requiring a major version bump as outlined in semvar.
I definitely want to clean up these strings, but will have to hold for now.

Sounds good!


fixing bug in ATR indicator

In the current implementation of ATR, the RSI-style MA (RMA) is incorrectly applied to the results of the SMA or EMA smothing of TR. Only SMA or EMA smoothing should be used.
How to see the differences: compare, for example, with tradingsview results:

On tradingview, I used ETHBTC from Binance, 1h timeframe, set Length=14, Smoothing=SMA or EMA in the settings of built-in ATR indicator.
With qtpylib's atr() it corresponds to window=14, exp=False or True respectively.

With the change in this PR, the results are identical.
P,S. RMA may later be added as third smoothing method to atr(). This needs changing interface to introduce the kind ("sma", "ema", "rma") parameter instead of current exp parameter.
P.P.S. RMA itself can later be added as an indicator to indicators.py

I am not cetain this will fix the bug in ATR completely.
wikipedia uses a slightly different formula as Weighted mean, which will cause small differences.
see https://github.com/freqtrade/technical/issues/26#issuecomment-500403954 for a more indept analysis.


Fix Windows CI to install the jaxlib wheel it builds.

Currently we install jax first and then try to install jaxlib. But pip won't overwrite the jaxlib installed as a jax dependency, so our CI builds were always using the released jaxlib.

Note: this makes the Windows CI fail. But that's good: it actually is broken at head.


user-tenant-service: add tenant filter interceptor and user views

add tenant filter interceptor and user views

Added tenantguard decorator for data filtering


Orphaned process after Python kernel restart (python.exe -m vscode_datascience_helpers.daemon process)

Applies To

[X] Notebooks (.ipynb files)
[ ] Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?
Everytime a Python kernel is restarted using the restart toolbar button, Jupyter extension leaves behind one orphaned Python process. If you restart the kernel 8 times, you will have 8 orphaned processes consuming memory. These processes are not closed even if you close the notebook.
The command line of the leaked processes:
python.exe -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_interrupt_daemon -v --ppid 7352
VS Code Version
Version: 1.67.2 (user setup) Commit: c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5 Date: 2022-05-17T18:15:52.058Z Electron: 17.4.1 Chromium: 98.0.4758.141 Node.js: 16.13.0 V8: <IP_ADDRESS>-electron.0 OS: Windows_NT x64 10.0.19044
Jupyter Extension Version
v2022.4.1021342353
Jupyter logs
No response
Coding Language and Runtime Version
Python v3.10.4
Language Extension Version (if applicable)
v2022.6.2
Anaconda Version (if applicable)
No response
Running Jupyter locally or remotely?
Local

This process doesn't contain any important code.

We can spawn the python process using the traditional approach and send messages using std stream or sockets. (removing need & complexity of using daemon)
We can just kill these processes when vscode dies

I didn't mention in the original report, but these processes are killed when vscode exits. They are only orphaned while vscode is running. So it's not a problem from that point of view. Still a bit annoying when restarting kernels a lot.

Still a bit annoying when restarting kernels a lot.

We can update the code to have a single process per VS Code session, instead of having mutiples.

Closing as a duplicate of #9909 We will have a single process for interrupting Python kernels & that will be tracked in #9909


Slimcat 5.014 signs into account but character never connects

Might have something to do with the changed chat URL. I'm able to sign in and connect on the android app, and in the F-chat web interface, but my character never connects to chat in slimCat.

I'm seeing the same.

@ccoffield93 @CravenAnchorite I've been having the same issue, but venturing into the slimCat channel (by logging in via the webchat) I asked and was provided a potential solution. It does require you to have Microsoft Framework 4.8 installed and it does not work on Windows 7, sadly.
I advise you to do the same as I don't want to step on any toes by providing the files and instructions here, just in case.

Hi, I have a version working on Windows 7 and 10 over here: https://github.com/Axaia/slimCat/releases

fixed with #446


In the case of [Bug Report] IE11, uploading files with el-upload successfully does not turn off browser application and delete local files.

Element UI version
2.3.9
OS/Browsers version
IE11，win64
Vue version
2.5.17-beta.0
Reproduction Link
https://github.com/ElemeFE
Steps to reproduce

打开IE11浏览器
打开API官网http://element-cn.eleme.io/#/zh-CN/component/upload
3.上传随便一个文件
4.不关闭浏览器情况下使用node删除此文件

What is Expected?
文件被删除
What is actually happening?
node提示删除成功，实际上文件夹下文件还存在，关闭IE11浏览器文件消失

Let me try to reappear and solve it.

I am so sorry to tell you I can't reappear @youshao521 @element-bot

Issues without a valid reproduction link will be closed directly.


Add index to additional reference attribute

I think the reference / foreign key attribute from example should have index added to it. It's used in where query and it references another table.
This will make searches in that case faster. (Disclaimer: I didn't run any perf tests for this)

Done.
I don't find this to be more readable than before though.
t.references :author could already be confusing to some people (what is the column name that gets added?) Not everyone has to be familiar with t.references syntax. I myself have to search for the exact syntax when I'm writing migrations.
I wasn't sure about :author (written as inline code) vs author (plain text). I went with plain text.
Feel free to take over and make any other minor changes to the copy. Otherwise this will take too long without providing that much of an actual benefit.

Thanks


Custom alerts not surviving upgrade

Description
What happened: Customer reported custom Kapacitor alerts they are creating are not surviving upgrade
What you expected to happen: Alerts created by customers should survive upgrades - currently, they are needing to go back in and recreate these custom alerts.
Environment

Gravity version [e.g. 7.0.11]: 5.5.X

Marking as closed - not able to reproduce via @r0mant


Pre-projection causes some inner polygon rings to disappear.

For some reason, when preprojecting topology with --projection='d3.geo.mercator().center([-97.375,35.125]).translate([0,0])', for example, some inner rings fill/disappear. I don't seem to recognize a pattern, but when the topology is not preprojected, the rings are always maintained. And it seems to be one or two features at most. Not all of them. Any ideas?

Turns out this was solved with quantiziation. Really weird that quantiziation + projection can cause weird results. I guess this isn't a bug? But I'd love to hear thoughts on what might cause this.

If you’re using quantization, it’s possible the rings are getting collapsed into coincident points after projecting, and then getting removed. 🤔


support for readFromParcel, updated plugin project to use gradle

I have added readFromParcel support. Otherwise I have to manually add it.

#33


bazel: fix quiche compilation error on Android

llround is not constexpr on Android.

/lgtm deps

Should we add a TODO or file an issue somewhere to make sure don't lose track of this?

I can open a PR to apply this change directly in quiche if you think it's likely to be considered.

I opened https://github.com/google/quiche/pull/18, let's see what the quiche folks say.

Definitely preferable fix upstream vs. carry a patch here. Agree with @RyanTheOptimist on adding a TODO so we can track to removal

Definitely preferable fix upstream vs. carry a patch here. Agree with @RyanTheOptimist on adding a TODO so we can track to removal

I should have mentioned that there is an upstream fix in flight. (though it will probably not land in envoy until next week)

I added a todo comment.
I'm glad to hear that an upstream fix is in flight, although I'd appreciate if we could merge this to unblock Envoy Mobile from being up to date in the meantime.

Closing in favor of https://github.com/envoyproxy/envoy/pull/22186


List of endpoints for an Azure AI Services resource

Hello James!
Loved your repo, but i have one question!
In the following snippet:
https://github.com/jamesmcroft/bicep-templates/blob/f711de7f1081b18d1bc707649c8c59b3ce9fc473/ai_ml/ai-services.bicep#L299,
you are using 'OpenAI Language Model Instance API' as an index for the endpoints array. Where did you find that? is there a list of these items somewhere?
I deployed an  Azure AI services resource with bicep, and I need add to an Azure Function App i am deploying, environment variables towards the various endpoints.
Do you know where i can find that list?
Thank you!
George

@georgekosmidis thanks for reaching out.
These endpoints aren't well documented now, but I can provide the current list. FYI, if you want to view these, you can find them in the Resource JSON for the Azure AI Service under the same endpoints property.

OpenAI Language Model Instance API
OpenAI Dall-E API
OpenAI Whisper API
OpenAI Model Scaleset API
Token Service API
Content Safety
Container
Computer Vision
FormRecognizer
Speech Services Speech to Text
Speech Services Speech to Text v3.2
Speech Services Speech to Text 2024-05-15-preview
Speech Services Speech to Text v3.2_internal.1
Speech Services Custom Voice
Video Translation
Speech Services Audio Content Creation
Speech Services Custom Avatar
Speech Services Batch Avatar
Speech Services Batch Text to Speech
Speech Services Speech to Text (Standard)
Speech Services Text to Speech (Neural)
Speech Services Speaker Verification
Speech Services Speaker Identification
Token
Text Analytics
Custom Text Authoring
Conversational Language Understanding Authoring
Custom Question Answering Authoring
Custom Question Answering
ConversationalLURuntime
Language
QnAMaker
Turing
QuestionAnswering
LUIS
TextTranslation-Global
TextTranslation
DocumentTranslation

It's important to note though, many of these AI services use the same https://<your-resource>.cognitiveservices.azure.com URL. Whereas the OpenAI specific endpoints provide the Azure OpenAI URL https://<your-resource>.openai.azure.com

Really appreciate your fast response!
I end up using output aiServiceEndpoints string = string(aiServices.properties.endpoints)
That returned the following list:
{
  "OpenAI Language Model Instance API": "https://swedencentral.api.cognitive.microsoft.com/",
  "OpenAI Dall-E API": "https://swedencentral.api.cognitive.microsoft.com/",
  "OpenAI Whisper API": "https://swedencentral.api.cognitive.microsoft.com/",
  "OpenAI Model Scaleset API": "https://swedencentral.api.cognitive.microsoft.com/",
  "Token Service API": "https://swedencentral.api.cognitive.microsoft.com/",
  "Content Safety": "https://swedencentral.api.cognitive.microsoft.com/",
  "Container": "https://swedencentral.api.cognitive.microsoft.com/",
  "Computer Vision": "https://swedencentral.api.cognitive.microsoft.com/",
  "FormRecognizer": "https://swedencentral.api.cognitive.microsoft.com/",
  "Speech Services Speech to Text": "https://swedencentral.api.cognitive.microsoft.com/",
  "Speech Services Speech to Text v3.2": "https://swedencentral.api.cognitive.microsoft.com/",
  "Speech Services Speech to Text 2024-05-15-preview": "https://swedencentral.api.cognitive.microsoft.com/",
  "Speech Services Speech to Text v3.2_internal.1": "https://swedencentral.api.cognitive.microsoft.com/",
  "Speech Services Custom Voice": "https://swedencentral.api.cognitive.microsoft.com/",
  "Video Translation": "https://swedencentral.api.cognitive.microsoft.com/",
  "Speech Services Audio Content Creation": "https://swedencentral.api.cognitive.microsoft.com/",
  "Speech Services Custom Avatar": "https://swedencentral.api.cognitive.microsoft.com/",
  "Speech Services Batch Avatar": "https://swedencentral.api.cognitive.microsoft.com/",
  "Speech Services Batch Text to Speech": "https://swedencentral.api.cognitive.microsoft.com/",
  "Speech Services Speech to Text (Standard)": "https://swedencentral.stt.speech.microsoft.com",
  "Speech Services Text to Speech (Neural)": "https://swedencentral.tts.speech.microsoft.com",
  "Speech Services Speaker Verification": "https://swedencentral.api.cognitive.microsoft.com/",
  "Speech Services Speaker Identification": "https://swedencentral.api.cognitive.microsoft.com/",
  "Token": "https://swedencentral.api.cognitive.microsoft.com/",
  "Text Analytics": "https://swedencentral.api.cognitive.microsoft.com/",
  "Custom Text Authoring": "https://swedencentral.api.cognitive.microsoft.com/",
  "Conversational Language Understanding Authoring": "https://swedencentral.api.cognitive.microsoft.com/",
  "Custom Question Answering Authoring": "https://swedencentral.api.cognitive.microsoft.com/",
  "Custom Question Answering": "https://swedencentral.api.cognitive.microsoft.com/",
  "ConversationalLURuntime": "https://swedencentral.api.cognitive.microsoft.com/",
  "Language": "https://swedencentral.api.cognitive.microsoft.com/",
  "QnAMaker": "https://swedencentral.api.cognitive.microsoft.com/",
  "Turing": "https://swedencentral.api.cognitive.microsoft.com/",
  "QuestionAnswering": "https://swedencentral.api.cognitive.microsoft.com/",
  "LUIS": "https://swedencentral.api.cognitive.microsoft.com/",
  "TextTranslation-Global": "https://api.cognitive.microsofttranslator.com/",
  "TextTranslation": "https://swedencentral.api.cognitive.microsoft.com/",
  "DocumentTranslation": "https://swedencentral.api.cognitive.microsoft.com/"
}

That was not what I was expecting! This is usually the common base URL that you can also get from aiServices.properties.endpoint.
What I was looking for was the endpoint including the path, something like the following list:

Document Intelligence: https://swedencentral.api.cognitive.microsoft.com/formrecognizer/documentModels
Azure OpenAI: https://swedencentral.api.cognitive.microsoft.com/openai/gpt-3.5-turbo
Cognitive Search: https://swedencentral.api.cognitive.microsoft.com/search.indexes
Language Service: https://swedencentral.api.cognitive.microsoft.com/language/:analyze-text
Translator: https://swedencentral.api.cognitive.microsoft.com/translator/text/v3.0/translate
Face API: https://swedencentral.api.cognitive.microsoft.com/face/v1.0/detect
Speech Service: https://swedencentral.api.cognitive.microsoft.com/speech/v3.0/transcribe
Custom Vision: https://swedencentral.api.cognitive.microsoft.com/customvision/training/v3.0/projects

Thank you :)


Make Images Mobile Responsive

Challenge Name

Issue Description

Browser Information

Browser Name, Version:
Operating System:
Mobile, Desktop, or Tablet:

Your Code

Screenshot

@govindakrgupta u were putting wrong code for that try this :-
<img class="img-responsive"src="https://bit.ly/fcc-running-cats" alt="Running cats.">

تم الإرسال من جهاز Samsung
Hi @govindakrgupta
The issue tracker is for reporting bugs only. If this is a request for help with a challenge, please use the help chat room or try looking through the forum for help with a specific challenge.
If this is the case, please close this issue.
Happy Coding.
Automated response by Var.CI 🤖
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/freeCodeCamp/freeCodeCamp","title":"freeCodeCamp/freeCodeCamp","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/freeCodeCamp/freeCodeCamp"}},"updates":{"snippets":[{"icon":"PERSON","message":"@VarCI-bot in #14001: Hi @govindakrgupta
The issue tracker is for reporting bugs only. If this is a request for help with a challenge, please use the help chat room or try looking through the forum for help with a specific challenge.
If this is the case, please close this issue.
Happy Coding.
--
Automated response by Var.CI :robot:"}],"action":{"name":"View Issue","url":"https://github.com/freeCodeCamp/freeCodeCamp/issues/14001#issuecomment-287617946"}}}

thank you soo much it hepl me alot!!!

close this resipository if u got the mistake @govindakrgupta

Hi all! I'm closing this as an issue in the solution, not a bug in freeCodeCamp. http was used instead of the requested https
If you're looking for coding help, 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.
Happy coding!


table does not update after update of record

The table does not show the changed values after you PUT the update

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

ID: c31071a6-97f2-d0ae-22a7-10e461a3c679
Version Independent ID: d3227595-fe2a-7630-0379-8da3b1dba2ee
Content: Tutorial: Call an ASP.NET Core web API with JavaScript
Content Source: aspnetcore/tutorials/web-api-javascript.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

my bad!, case sensitivity issue from my side on the json data. Thanks for the example!


Return error from createContainerURL if storage settings are not configured

This fixes a CI built timeout caused by the aks-periscope pods crash-looping.
The crashing behaviour was introduced by #96 but only occurs intermittently because the the pods are briefly in Ready state, so the kubectl -n aks-periscope wait po --all --for condition=ready --timeout=240s command sometimes completes successfully.
Previously to the above change, the createContainerURL function used to fail with an error due to no kubeconfig file existing, meaning that the process would complete (and sleep) without attempting to write anything to blob storage. Following that change, the absence of storage configuration would fail without returning an error, and the process would attempt to write to an empty blob URL, resulting in a panic and crash.
This fixes that function so it explicitly returns an error if storage settings are not configured, which seems like it should be the desired behaviour anyway.

Codecov Report

Merging #156 (a895f15) into master (48270ee) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #156   +/-   ##
=======================================
  Coverage   68.98%   68.98%
=======================================
  Files          11       11
  Lines         345      345
=======================================
  Hits          238      238
  Misses         85       85
  Partials       22       22

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 48270ee...a895f15. Read the comment docs.


flake update and direnv fix

Enables direnv loading flake, fix flake devshell output to be properly at root.
I realized that catch2 dependency was updated and currently hasn't been pushed to nixos-unstable: https://nixpk.gs/pr-tracker.html?pr=278807
Temporarily added an override to fetch the 3.5.1 version from source until nixpkgs is updated.

Thanks!


Compile error for AABBTree.cc

Hi,
I have tried to build ignition-physics5-5.3.2 with Yocto system for ROS2. But, I have some errors as follows.
| /home/bchoi/nvidia-yocto-bsp/bchoi-build/tmp/work/armv8a-oe4t-linux/ignition-physics5/5.3.2-r0/git/tpe/lib/src/AABBTree.cc:44:17: error: 'gz' is not a namespace-name
|    44 | using namespace gz;
|       |                 ^~
| /home/bchoi/nvidia-yocto-bsp/bchoi-build/tmp/work/armv8a-oe4t-linux/ignition-physics5/5.3.2-r0/git/tpe/lib/src/AABBTree.cc:45:17: error: 'physics' is not a namespace-name
|    45 | using namespace physics;
|       |                 ^~~~~~~
| /home/bchoi/nvidia-yocto-bsp/bchoi-build/tmp/work/armv8a-oe4t-linux/ignition-physics5/5.3.2-r0/git/tpe/lib/src/AABBTree.cc:46:17: error: 'tpelib' is not a namespace-name
|    46 | using namespace tpelib;
|       |                 ^~~~~~
| /home/bchoi/nvidia-yocto-bsp/bchoi-build/tmp/work/armv8a-oe4t-linux/ignition-physics5/5.3.2-r0/git/tpe/lib/src/AABBTree.cc:49:1: error: 'AABBTree' does not name a type
|    49 | AABBTree::AABBTree()
|       | ^~~~~~~~
| /home/bchoi/nvidia-yocto-bsp/bchoi-build/tmp/work/armv8a-oe4t-linux/ignition-physics5/5.3.2-r0/git/tpe/lib/src/AABBTree.cc:56:1: error: 'AABBTree' does not name a type
|    56 | AABBTree::~AABBTree() = default;
|       | ^~~~~~~~
| /home/bchoi/nvidia-yocto-bsp/bchoi-build/tmp/work/armv8a-oe4t-linux/ignition-physics5/5.3.2-r0/git/tpe/lib/src/AABBTree.cc:59:6: error: 'AABBTree' has not been declared
|    59 | void AABBTree::AddNode(std::size_t _id, const math::AxisAlignedBox &_aabb)
|       |      ^~~~~~~~
| /home/bchoi/nvidia-yocto-bsp/bchoi-build/tmp/work/armv8a-oe4t-linux/ignition-physics5/5.3.2-r0/git/tpe/lib/src/AABBTree.cc:59:47: error: 'math' does not name a type
|    59 | void AABBTree::AddNode(std::size_t _id, const math::AxisAlignedBox &_aabb)
|       |                                               ^~~~
| /home/bchoi/nvidia-yocto-bsp/bchoi-build/tmp/work/armv8a-oe4t-linux/ignition-physics5/5.3.2-r0/git/tpe/lib/src/AABBTree.cc:59:68: error: expected unqualified-id before '&' token
|    59 | void AABBTree::AddNode(std::size_t _id, const math::AxisAlignedBox &_aabb)
|       |                                                                    ^
| /home/bchoi/nvidia-yocto-bsp/bchoi-build/tmp/work/armv8a-oe4t-linux/ignition-physics5/5.3.2-r0/git/tpe/lib/src/AABBTree.cc:59:67: error: expected ')' before '&' token
|    59 | void AABBTree::AddNode(std::size_t _id, const math::AxisAlignedBox &_aabb)
|       |                       ~                                           ^~
|       |                                                                   )

I think AABBTree.cc could not find required namespaces in the build system, such as gz, physics. I could not find where they are defined yet.
Can you please help me fix these error?
BR,
Mark

Hi
I made some progress for this issue.
I think problem is namespace change from ignition to gz for tpe would not complete yet.
config.hh have gz namespace and it can be refered by ignition/physics/tpelib/Export.hh but, tpe have "gz/physics/tpelib/Export.h" and it even don't define include dir for it in the CMakeLists.txt.
I attached my patch for it and check it it correct.
0001-Fixed-compile-error-for-tpelib.patch
BR,
Mark

gz-physics 5.3.2 needs gz-math 6.13.0 or newer. Fix in https://github.com/gazebosim/gz-physics/pull/601


Service Connection - Hive required

Check how to properly use oneOf or anyOf to use different required fields in the Hive connection

Based on https://github.com/koxudaxi/datamodel-code-generator/issues/495 it seems a bit too complex for what we’re trying to achieve. Lets update the descriptions accordingly for simplicity

@pmbrull what needs to be done here

hive connection LGTM. closing this


fix(PageLayout): exclude footer from height calculations

Describe your changes here.
Closes # (type the issue number after # if applicable; otherwise remove this line)
Screenshots
Please provide before/after screenshots for any visual changes
Merge checklist

[ ] Added/updated tests
[ ] Added/updated documentation
[ ] Tested in Chrome
[ ] Tested in Firefox
[ ] Tested in Safari
[ ] Tested in Edge

Take a look at the What we look for in reviews section of the contributing guidelines for more information on how we review PRs.

Looks like this breaks when using the PageLayout.Footer component (instead of a separate footer outside of PageLayout):

https://primer-b65f312ff7-13348165.drafts.github.io/storybook/?path=/story/layout-pagelayout--sticky-pane


CSS for social icons might be off in mobile

I've tried this in Firefox and in Safari on my iPhone and on my partner's Android, and the problem occurred everywhere. The upper-right-hand corner social icons seems to get crowded and are on top of either the images or the links/text.
Screenshot attached so that you can see what I'm talking about:

Probably a CSS fix will do the trick.

Hi @gersande,
I'll check it.

Please, re-try with 1.4.2


Lost credentials on Android update

Hi all,
We are using in one of our apps this library to store the login credentials and what we notice is that on every update, a lot of users have to relogin.
As well, I have the feeling that some of the users are not able to keep the credentials saved.
Is there any known issues on different Android versions where this might happen?
Thanks

Hi all,
We are using in one of our apps this library to store the login credentials and what we notice is that on every update, a lot of users have to relogin.
As well, I have the feeling that some of the users are not able to keep the credentials saved.
Is there any known issues on different Android versions where this might happen?
Thanks

From which version have you upgraded?

@mCodex We currently use version 5.5.5 and we haven't updated. The only thing that we have updated it's our application but the version of Sinfo is the same.

I see, that is strange. Maybe something to investigate. 🤔

@mCodex I am also facing this issue. It's not saving data with android version 8. Giving this error: "Error storing data [Error: Failed to obtain information about key]"

hi @mCodex , I have using version 5.5.8 and a lot of user have to relogin, I was debug on some device which is relogin then token have response null (on iOS). But I can't reproduce when develop.


gas estimation is too high on the transactions

as a user, i would like to receive a cost estimation that is close to the actual cost.
currently, it seems we average 35%-45% over estimate the gas required for every transaction and the result is "scaring" people off by perceived higher prices (eventually, the user will pay 35%-45% less on the transaction).
example:
go to swap
attempt to execute eth->link swap
estimation: 462,636 gas units
actually used: 294,403 (63.64%)
https://etherscan.io/tx/0x577edaad990a2db84b02f52d3267ab413b2a30cc2e3d7d1d20b82805f51f7ace
approve transaction:
go to swap -> convert link->eth and the first transaction is approve.
estimation: 70,000 gas units
actually used: 14,628 (20.9%) (this is an extreme buffer!)
https://etherscan.io/tx/0x5dce29176ecdb2a7410e659bde806568cdca0bed43cedeb45d6c3e37c03bff75
we would like to aim for 10%-15% gas units buffer on the transactions we build.

@yudilevi Can we reliably hard code the gas cost of the transactions were performing? Atm it's just Web3 estimate based.

@Velua not really, that can lead to all sorts of problems. check what others are doing and find out why our code produces different limits.

@H34D I'm having issues getting the estimateGas function to work, can you attempt it on your machine in case there's some Web3 issue?

@H34D I'm having issues getting the estimateGas function to work, can you attempt it on your machine in case there's some Web3 issue?

i will take a look at it

i will take a look at it

Awesome, let me know how you go @H34D

Awesome, let me know how you go @H34D

i wrote some code but got stuck when testing it against ropsten

i wrote some code but got stuck when testing it against ropsten

Can do this on mainnet, such promise should resolve before you have to accept signing any transactions.

Can do this on mainnet, such promise should resolve before you have to accept signing any transactions.

i don't have funds so the frontend wont let me through at all

i don't have funds so the frontend wont let me through at all

Right now we hardcore the estimated gas to 70k here
        return this.resolveTxOnConfirmation({
          tx: tokenContract.methods.approve(
            approval.approvedAddress,
            approval.amount
          ),
          gas: 70000
        });

A better solution would be to use the estimate gas method. This requires the ABIs to be precise otherwise web3 will not be able to estimate properly and created failed txs. For the approve method it is mostly likely that the ABI is precise.
        const tx = tokenContract.methods.approve(
          approval.approvedAddress,
          approval.amount
        )

        return this.resolveTxOnConfirmation({
          tx,
          gas: await tx.estimateGas()
        });

the best solution would be to not supply a gas limit and let web3 decide what to put.

Right now we hardcore the estimated gas to 70k here
        return this.resolveTxOnConfirmation({
          tx: tokenContract.methods.approve(
            approval.approvedAddress,
            approval.amount
          ),
          gas: 70000
        });

A better solution would be to use the estimate gas method. This requires the ABIs to be precise otherwise web3 will not be able to estimate properly and created failed txs. For the approve method it is mostly likely that the ABI is precise.
        const tx = tokenContract.methods.approve(
          approval.approvedAddress,
          approval.amount
        )

        return this.resolveTxOnConfirmation({
          tx,
          gas: await tx.estimateGas()
        });

the best solution would be to not supply a gas limit and let web3 decide what to put.

can you deploy to staging so we can check the estimations it gives?

can you deploy to staging so we can check the estimations it gives?

Yes and does the estimateGas method actually work though? Or does it throw?

Yes and does the estimateGas method actually work though? Or does it throw?

i was not able to test it because ropsten is not available

i was not able to test it because ropsten is not available

Use mainnet, write whatever dodgy code you need to skip the frontend warnings or roadblocks. I'm trying to determine if such a function throws on your environment compared to mine.

Use mainnet, write whatever dodgy code you need to skip the frontend warnings or roadblocks. I'm trying to determine if such a function throws on your environment compared to mine.

Use mainnet, write whatever dodgy code you need to skip the frontend warnings or roadblocks. I'm trying to determine if such a function throws on your environment compared to mine.

i did that, i will give it another check against ropsten when its back

Use mainnet, write whatever dodgy code you need to skip the frontend warnings or roadblocks. I'm trying to determine if such a function throws on your environment compared to mine.

i did that, i will give it another check against ropsten when its back

So it worked on mainnet? You got a estimate number back?

So it worked on mainnet? You got a estimate number back?

@H34D
lets try to put this on staging

@H34D
lets try to put this on staging

@H34D
lets try to put this on staging

ok

@H34D
lets try to put this on staging

ok

finally tested against ropsten, it sits in a feature branch because staging is not functional right now

finally tested against ropsten, it sits in a feature branch because staging is not functional right now

i gave it another test and brought down the gas limit by more than 100k on the convertByPath operation.
before:

after:

i gave it another test and brought down the gas limit by more than 100k on the convertByPath operation.
before:

after:

great!

great!

given up for #866

given up for #866

done

done


chore(dev-deps): update dependency semantic-release to v21.0.6

This PR contains the following updates:

Package
Type
Update
Change

semantic-release
devDependencies
patch
21.0.5 -> 21.0.6

Release Notes

semantic-release/semantic-release (semantic-release)
v21.0.6
Compare Source
Bug Fixes

get correct version if prerelease branch shares version with ... (#2416) (e4229f9)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

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

This PR has been generated by Renovate Bot.

:tada: This PR is included in version 1.1.7 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


⚠ Bofrost.de has degraded performance

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

HTTP code: 200
Response time: 1992 ms

Resolved: Bofrost.de performance has improved in 50fdbaf after 313 days, 1 hour, 23 minutes.


pull request for e2e test at 12/07/2016 17:15:05

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Shadow properties are introduced while configuring Identity schema manually

I am trying to change the schema of AspNetUserRoles table because I have two other fields FieldA and FieldB and I want both of these fields to be primary keys.
When I do something like this:
 builder.Entity<ApplicationUserRole>(b =>
            {
                b.HasKey(r => new { r.UserId, r.RoleId, r.FieldA, r.FieldB });
            });

It configures the primary keys but doesn't remove the default Unique Constraint that is on UserId and RoleId. What I want is all four fields to be primary key, and remove the default unique constraint.
I have tried various configurations, but all in vain. So I ended up trying to create the identity schema myself by removing the call base.OnModelCreating() and instead copying all the OnModelCreating code from the github repository. When I add the migration, it introduces new shadow properties. E.g. in the generated migration, AspNetUserLogins table has these fields:
LoginProvider,
ProviderKey,
ApplicationUserId,
ProviderDisplayName,
UserId
Where ApplicationUserId is introduced automatically. Why is this shadow property introduced? And this happens with all other identity tables as well.

@HaoK

@ajcvickers @divega any ideas?

I am having the same problem. A fix is to explicitly set the foreign key when creating the model, e.g.:
protected override void OnModelCreating(ModelBuilder builder)
        {
            base.OnModelCreating(builder);

            builder.Entity<ApplicationUser>()
                .HasMany(x => x.Claims)
                .WithOne()
                .HasForeignKey(x => x.UserId);

            builder.Entity<ApplicationUser>()
                .HasMany(x => x.Logins)
                .WithOne()
                .HasForeignKey(x => x.UserId);
        }

I think the problem is related to the removal of the navigation properties in https://github.com/aspnet/Announcements/issues/263.

@rmja's answer is essentially the correct way to do this. In general, if the Identity model is going to be modified to add/remove relationships or keys that participate in relationships, then other parts of the model will need to be changed to make it consistent again.
Issue #1447 is about improving the documentation for this.


Closing action not available for the "join us" banner

Describe the bug
I can't close the "join us" banner.
Steps to Reproduce

Go to 'https://liferay.design/'

Screenshots

Desktop

OS: macOS Mojave 10.14.6
Browser: Chrome
Version: 76.0.3809.132

Reasoning
It's ok to steal space to the page but at least let users recover that space.

👍  maybe we can introduce a dark pattern where the "close" button takes them to /careers?
cc @susanavr

Please don't do it, Paul!!!
Ok, let's get serious... we want to enhance them, but not make them hate us because of a bad user experience. So I suggest not to use dark patterns. So sorry I know that you wanted to hear a different thing... :zipper_mouth_face:

And looking into the same page I have just realized that "Liferay's global team of" does not feel very contrasted. I have doubts that the sentence is accesible!

@susanavr it was only a joke about the dark pattern... :D
yes you're right...it does not pass AA — but it's somewhat by design? But would love to see a proposal for an alternative that passes contrast accessibility while also maintaining the integrity of the idea behind it "we are designers"


Cheatsheet for people getting started

Create a cheatsheet of common command line arguments.

Have a draft but need more examples before opening up a pull request.

@scanf this is submitted now as PR https://github.com/cilium/cilium/pull/2164 correct?

@jrfastab yes bundled it with some other things. HTML version here https://alemayhu.com/cilium-staging/cheatsheet.html


Add support for dac ltc166x

Add support for LTC1665/LTC1660 8/10-bit Digital-to-Analog Converters

@martinjaeger is there anything blocking this PR from being merged?

@martinjaeger is there anything blocking this PR from being merged?

No, ready to be merged.


Unable to write in chat

We noticed today that for some reason some of us a disconnecting from the chat while still seeing the map and all, when they disconnect they cant write in chat anymore and if they then reload they are connected for like 30 seconds in which they can write and then the disconnect message comes in the chat again and they again cant write anything.

Is this happening with version 1.13? Can you describe your setup?  Is there some suspicious behaviour visible on the network tab of the dev tools?

Yes you can reproduce it if you just open an instance and then reload then wait about 30 sec and you will disconnect basicly you connect twice and the disconnect takes a bit of time and happens when you are already reconnected
No it didnt start with 1.13 we just tested it today where the problem was

Im using apache with ProxyPass to forward them to the server

After some debugging this seems to be happening when the WebSocket connection from the client cannot be established due to a misconfigured proxy.
This pops up in the Browser Console on the clients
websocket.js:87 WebSocket connection to 'wss://XXXXXXXXXXXXXXX/api/socket.io/?EIO=4&transport=websocket&sid=PLZWhrZNhlcgnlYXAAB0' failed:

Socket.io should fallback to polling, it might be possible that this construct somehow causes these issues.

I checked today by disabling WebSockets completely and it seems like this is no longer an issue (likely fixed by updating Socket.io version some time ago). I think we can close this for now.
If anyone experiences this again in the future feel free to open a new issue.,


Add FullName for User

I think is a good option to have a FullName (Surname + Name) like
public static string FullName(this User user)         {             return $"{user.Surname} {user.Name}";         }

Such an extension method is a good idea. It's appriciated if you contribute it. Thanks a lot.

Hi hikalkan, it's not a good idea early use C# 6.0 feature,  some cost of upgrade issue. But I am still happy to see Abp grow up fast .

It's already implemented: https://github.com/aspnetboilerplate/module-zero/blob/master/src/Abp.Zero/Authorization/Users/AbpUser.cs#L98
But I also don't want to use C# 6 features since some developers may still use VS 2013. So, I'll change it. Thanks.

Ok.
I keep in mind for next dev.
+1

Not to open a closed issue but may I suggest an addition and change including FullNameReverse and FullName because both are used widely:
/// <summary>
/// Return reverse full name  (Surname Name)
/// </summary>
[NotMapped]
public virtual string FullNameReverse { get { return this.Surname + " " + this.Name; } }

and
/// <summary>
/// Return full name (Name Surname)
/// </summary>
[NotMapped]
public virtual string FullName { get { return this.Name + " " + this.Surname; } }

Thanks @kayagultekin
We generally use Name + Surname, instead of Surname + Name. I also think like that.

You're most welcome!


pip package looks broken

Platform/operating system (i.e. Raspberry Pi with Raspbian operating system,
Windows 32-bit, Windows 64-bit, Mac OSX 64-bit, etc.):  alpine on armhf
Python version (run python -version or python3 -version):  3.6.6
Error message you are receiving, including any Python exception traces:

pip3 install Adafruit_Python_DHT==1.3.2
Collecting Adafruit_Python_DHT==1.3.2
  Using cached https://files.pythonhosted.org/packages/52/aa/418b82e36fc57316137679c2a12b8bae89ab73f211cbca91a3275e0b5fc2/Adafruit_Python_DHT-1.3.2.tar.gz
Building wheels for collected packages: Adafruit-Python-DHT
	  Running setup.py bdist_wheel for Adafruit-Python-DHT ... error
  Complete output from command /usr/local/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-rqhatc54/Adafruit-Python-DHT/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-8moo75hn --python-tag cp36:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-armv7l-3.6
  creating build/lib.linux-armv7l-3.6/Adafruit_DHT
  copying Adafruit_DHT/__init__.py -> build/lib.linux-armv7l-3.6/Adafruit_DHT
  copying Adafruit_DHT/Beaglebone_Black.py -> build/lib.linux-armv7l-3.6/Adafruit_DHT
  copying Adafruit_DHT/platform_detect.py -> build/lib.linux-armv7l-3.6/Adafruit_DHT
  copying Adafruit_DHT/Raspberry_Pi_2.py -> build/lib.linux-armv7l-3.6/Adafruit_DHT
  copying Adafruit_DHT/common.py -> build/lib.linux-armv7l-3.6/Adafruit_DHT
  copying Adafruit_DHT/Raspberry_Pi.py -> build/lib.linux-armv7l-3.6/Adafruit_DHT
  copying Adafruit_DHT/Test.py -> build/lib.linux-armv7l-3.6/Adafruit_DHT
  running build_ext
  building 'Adafruit_DHT.Raspberry_Pi_2_Driver' extension
  creating build/temp.linux-armv7l-3.6
  creating build/temp.linux-armv7l-3.6/source
  creating build/temp.linux-armv7l-3.6/source/Raspberry_Pi_2
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/local/include/python3.6m -c source/_Raspberry_Pi_2_Driver.c -o build/temp.linux-armv7l-3.6/source/_Raspberry_Pi_2_Driver.o -std=gnu99
  gcc: error: source/_Raspberry_Pi_2_Driver.c: No such file or directory
  gcc: fatal error: no input files
  compilation terminated.
  error: command 'gcc' failed with exit status 1

List the steps to reproduce the problem below (if possible attach code or commands
to run): pip3 install Adafruit_Python_DHT==1.3.2

So I've downloaded a package under this link https://files.pythonhosted.org/packages/52/aa/418b82e36fc57316137679c2a12b8bae89ab73f211cbca91a3275e0b5fc2/Adafruit_Python_DHT-1.3.2.tar.gz
and indeed there's no source code for raspberry pi driver. Here's a contents:
Adafruit_Python_DHT-1.3.2/
Adafruit_Python_DHT-1.3.2/Adafruit_DHT/
Adafruit_Python_DHT-1.3.2/Adafruit_DHT/Beaglebone_Black.py
Adafruit_Python_DHT-1.3.2/Adafruit_DHT/common.py
Adafruit_Python_DHT-1.3.2/Adafruit_DHT/platform_detect.py
Adafruit_Python_DHT-1.3.2/Adafruit_DHT/Raspberry_Pi.py
Adafruit_Python_DHT-1.3.2/Adafruit_DHT/Raspberry_Pi_2.py
Adafruit_Python_DHT-1.3.2/Adafruit_DHT/Test.py
Adafruit_Python_DHT-1.3.2/Adafruit_DHT/__init__.py
Adafruit_Python_DHT-1.3.2/Adafruit_Python_DHT.egg-info/
Adafruit_Python_DHT-1.3.2/Adafruit_Python_DHT.egg-info/dependency_links.txt
Adafruit_Python_DHT-1.3.2/Adafruit_Python_DHT.egg-info/PKG-INFO
Adafruit_Python_DHT-1.3.2/Adafruit_Python_DHT.egg-info/SOURCES.txt
Adafruit_Python_DHT-1.3.2/Adafruit_Python_DHT.egg-info/top_level.txt
Adafruit_Python_DHT-1.3.2/PKG-INFO
Adafruit_Python_DHT-1.3.2/setup.cfg
Adafruit_Python_DHT-1.3.2/setup.py
Adafruit_Python_DHT-1.3.2/source/
Adafruit_Python_DHT-1.3.2/source/Test/
Adafruit_Python_DHT-1.3.2/source/Test/test_dht_read.c
Adafruit_Python_DHT-1.3.2/source/_Test_Driver.c

How is it supposed to work?

Ok, versions 1.3.3 and 1.3.4 do include sources. But the were released only 4 days ago. I can't imagine nobody experienced this issue. Was 1.3.2 version of package replaced or something?

@Vanuan Take a look at the closed issues. There were about 20+ of them the other day that got closed because of the updates that were pushed and you should see you weren't the only one who had an issue.

Ok, found one: https://github.com/adafruit/Adafruit_Python_DHT/issues/99
Still doesn't explain how did it happen and why there are now 2 pip packages published:
https://pypi.org/project/Adafruit-DHT
https://pypi.org/project/Adafruit_Python_DHT/
:confused:

@Vanuan Because the Adafruit_Python_DHT package wasn't controlled by Adafruit until recently. It was initially loaded up by someone else and Adafruit had uploaded the Adafruit-DHT package as their official package (please see #77 ).


Making this persistent and with memory

Is it possible to make this persistent so that I do not have to repeat the embeddings?
Also to have longer conversations by the bot retaining the knowledge of previous queries

Yes, it's possible, you should save the embedding to a vector database like Pinecone.
For the chat to have long-term memory you can use this Langchain function
https://langchain.readthedocs.io/en/latest/modules/memory.html
If you can make progress on this you can do a PR and I'll add it to the repo.

Thanks. Yes, trying to explore in that direction.


[Feature Request]: Ignore Section(s) when Moving Completed Tasks

I am loving Task Collector! It strikes the perfect balance between automating my task management and allowing me to keep the manual processes that help me stay focused on my tasks. Thank you so much for developing it!
Feature Description
I would like the ability to identify certain sections (such as "## Daily Exercises") in my Daily File for TC to ignore when moving completed tasks. This would help me keep my archived daily files organized.
Thanks for everything!

Question on this one...
Would you want the section all the way through (## 2nd-level heading 1 through ## 2nd-level heading 2 or --- or end of document), or to the next heading/hr (## 2nd-level heading 1 through ### Nested heading or ### 2nd-level heading 2 or --- or end of document).

Thanks for looking into this! The first option (where sub-heads under the skipped section would also be skipped) would work perfectly for me.
Still really enjoying TC. Thanks for it!

I have an alternative option, skipped sections could be defined by a specific marker. Such as an emoji icon, a keyword, or some other defined value within that section. That way all possible use cases could be be covered by such a feature.

Question still stands... start/stop? one section to the next same level section?

In my own case, I use many varying levels of headers for not only their prettiness of colors and contrast, but because the data tends to subset itself in such a way. Box 3 of your question would work best in my case, which is why I suggested that specific sections be defined as skip and then you would not have to hard code for every possible use case that comes up.

OH! yes. I see what you mean.


Buffer overflow in parson

Dear Krzysztof Gabis,
We have found a buffer overflow issue in parson.
The crash input is automatically generated by our test generation tool FOCAL.
You can find jsonparser.c in crash.zip.
Here are details to reproduce the buffer overflow.

OS & Compiler
Ubuntu Linux 16.04 x64 and GCC 5.4.0
Build command
$ gcc -fsanitize=address -o jsonparser jsonparser.c parson.c
Run command
$ ./jsonparser
Outputs

=================================================================
==6964==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7ffdce453c23 at pc 0x000000404c25 bp 0x7ffdce453b90 sp 0x7ffdce453b80
READ of size 1 at 0x7ffdce453c23 thread T0
    #0 0x404c24 in parse_value (/home/yhkim/parson/jsonparser+0x404c24)
    #1 0x40775a in json_parse_string (/home/yhkim/parson/jsonparser+0x40775a)
    #2 0x40125d in main (/home/yhkim/parson/jsonparser+0x40125d)
    #3 0x7fa30f29c82f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
    #4 0x4010e8 in _start (/home/yhkim/parson/jsonparser+0x4010e8)

Address 0x7ffdce453c23 is located in stack of thread T0 at offset 35 in frame
    #0 0x4011c5 in main (/home/yhkim/parson/jsonparser+0x4011c5)

  This frame has 1 object(s):
    [32, 35) 'str' <== Memory access at offset 35 overflows this variable
HINT: this may be a false positive if your program uses some custom stack unwind mechanism or swapcontext
      (longjmp and C++ exceptions *are* supported)
SUMMARY: AddressSanitizer: stack-buffer-overflow ??:0 parse_value
Shadow bytes around the buggy address:
  0x100039c82730: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x100039c82740: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x100039c82750: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x100039c82760: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x100039c82770: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
=>0x100039c82780: f1 f1 f1 f1[03]f4 f4 f4 f3 f3 f3 f3 00 00 00 00
  0x100039c82790: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x100039c827a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x100039c827b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x100039c827c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x100039c827d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07
  Heap left redzone:       fa
  Heap right redzone:      fb
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack partial redzone:   f4
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Container overflow:      fc
  Array cookie:            ac
  Intra object redzone:    bb
  ASan internal:           fe
==6964==ABORTING

Code you provided (in case download link goes down):
#include <stdio.h>
#include "parson.h"

int main(int argc, char *argv[])
{
    JSON_Value *rootValue;
    JSON_Object *rootObject;
    const char str[1]="\xEF";

    rootValue = json_parse_string(str);
    rootObject = json_value_get_object(rootValue);

    printf("Title: %s\n", json_object_get_string(rootObject, "Title"));

    return 0;
}

str isn't a nulll-terminated string (const char str[1]="\xEF";, should be const char str[]="\xEF";) so unsurprisingly it's being read past it's end. It's not a bug in parson, but in your test code.

I still think that json_parse_string() must not crash even with a non null-terminated string. Otherwise, a malicious attacker can exploit this crash as a security vulnerability. Thus, I think that json_parse_string() should contain a defensive routine to avoid crash anyway.
Thank you.

I'm sorry, but it's not how strings in C work, you can't just us a "defensive routine". And yes, a malicious attacker can exploit it and often does. You should read this.


add hover callback prop from complex scene

when hovered,I need this callback to do more things,thank you

This needn't be in this library.
You can wrap a div on Slider and add a hover event to it.


Change response language

Is there a way how to change response language please?
While question can be in a different language answer is still in English.
Thank you

Hi @akotuc, chatd uses the mistral-7b language model by default. This model is optimized for english. To use a different language try downloading Ollama from ollama.com and pulling a model which has been trained on non-english text.