Add URL validator

Closes #224

Hi! I'm no longer the maintainer, but a few things stood out:

In the past, we've worked to keep the dependencies down to just the yaml related packages. Adding the requests package would be unnecessary for the majority of yamale users.
The only protocols supported are http and ftp...it would be good to see all possible protocols supported.
Your functional test isn't running. See test_data and test_bad_subset2() in test_functional.py for an example.
The regex doesn't accept some URLs....such as http://xn--nw2a.xn--j6w193g/

Good luck getting this in.

Hello @mildebrandt, thank you for your feedback.
I'll try to sort out the points you've mentioned and hopefully we can have this merged soon :)

Hello again @mildebrandt,
It's possible to check if a URL is reachable using just the Python Standard Library (without requests).
However it will be hard to add a URL validator that accepts all possible URLs without bloating Yamale with a big regular expression or without adding a dependency such as validators.
I think, a more satisfactory solution is to use this URL validator as a custom validator, without merging it to Yamale. I'm therefore closing this PR.


[material-ui][Dialog] Scroll not working in full-screen dialog

Steps to reproduce
Link to live example: https://stackblitz.com/~/github.com/mohamad-selman/mui-dialog-issue-demo
Steps:

Add a Dialog with fullScreen prop
Add content then try to scroll either using mouse or keyboard

Current behavior
It doesn't scroll
Expected behavior
It should scroll
Context
No response
Your environment
System:
OS: macOS 14.6.1
Binaries:
Node: 20.15.0 - ~/.nvm/versions/node/v20.15.0/bin/node
npm: 10.7.0 - ~/.nvm/versions/node/v20.15.0/bin/npm
pnpm: 9.7.1 - /opt/homebrew/bin/pnpm
Browsers:
Chrome: Not Found
Edge: Not Found
Safari: 17.6
npmPackages:
@emotion/react: ^11.13.0 => 11.13.3
@emotion/styled: ^11.13.0 => 11.13.0
@mui/icons-material: ^6.0.2 => 6.0.2
@mui/material: ^6.0.2 => 6.0.2
@types/react: ^18.3.3 => 18.3.5
react: ^18.3.1 => 18.3.1
react-dom: ^18.3.1 => 18.3.1
typescript: ^5.5.3 => 5.5.4
Search keywords: full-screen dialog scroll

Thanks for asking! Please take a look at the "Scrolling long content" demo


2.5D Markers

WIP
This has not been touched in over a month so it's very out of date with master, and it was not in a place to be ready to push when the task was paused and I was moved to a different task. I had started to create a particle effect for these markers that I hadn't gotten working yet, so instead I was modifying the snow and explosion particle effects. I was starting work on parsing through a texture atlas on the gpu, and then assigning a subtexture to each instance of those particles. I hadn't yet gotten this working either, and right before this task was dropped, I learned that I was most likely going about the texture atlas parsing in the wrong way. To be blunt, most of what I have here is wrong, and I was about to scrap a lot of it and start over before I moved tasks.
@markschlosseratbentley @pmconne

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.AJMigliore seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Add rm_value option

Coverage increased (+0.2%) to 72.703% when pulling bfa25e68c4b0739e53997ff78b092ef773ab4e8d on raphink:rm_value into cca5a6dec9c4dddb177e072b33f23e1b152801ba on hercules-team:master.

Coverage increased (+0.2%) to 72.703% when pulling bfa25e68c4b0739e53997ff78b092ef773ab4e8d on raphink:rm_value into cca5a6dec9c4dddb177e072b33f23e1b152801ba on hercules-team:master.

I have tested your pull. It removes the value from the file, but coding of insync? is needed. Could it be possible to automate this?

Automating the insync? from the provider side is not possible as far as I know.

maybe changing the getter so it returns '' when the property is not defined?

Is that better?

@amateo is this feature still useful?


Empty configuration map values are removed by Rancher UI when editing causing future deployments to fail

Rancher versions:
rancher/rancher: 2.0.2
Steps to Reproduce:

Upload a configuration map from a definition file (i.e. KEY=abc format) to cluster with kubectl where a configuration map key is defined with empty value (i.e. KEY=) and where another non-empty key is defined.
Open the configuration map overview in Rancher and note that both keys are shown for the given configuration map.
Edit this configuration map in Rancher.

Results:

Upon editing, all empty keys are deleted.

Expected:

Keys with empty values shall remain. The reason is that such definitions are valid in Kubernetes and that they can be referenced by deployment configurations. When a key is deleted completely by the Rancher UI and then the configuration map is saved, any containers that reference the key it will now fail to deploy.

Notes: I removed all infrastructure items as this appears to be a UI only issue.

Fixed. Thanks for your report!

Version - 2.0 master 7/30
Verified fixed


Support unfree and overlays

Wire up overlays and allowUnfree
https://nixos.wiki/wiki/Flakes

My team is currently looking at switching to Devenv for a lower entry barrier (compared to raw flakes), overlays seem to be the remaining blocker atm. Do you have an idea on how this could work?
In particular, the overlays I want to add right now come from one of the inputs.

I'll work on this next then, thanks :)

@kubukoz @smunix @pikdum @shyim @jochenmanz @arjan-s @mstine See https://github.com/cachix/devenv/pull/383


Update X-Ray lab to use IAM roles for service accounts

Issue #, if available:
Description of changes:
Updated the X-Ray lab to use an IAM role with a service account for the X-Ray daemonset. Changed the docker image for the X-Ray daemon to include the AWS CLI so that it can use the role ARN to access X-Ray.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thanks! I'll test this out tomorrow.

I think if you add:
eksctl delete iamserviceaccount --name xray-daemon --cluster eksworkshop-eksctl

in cleanup.md, replacing the aws iam command above, and update the explanation, we'd be good to merge.

done!

Thank you for the catch, @brentley! I'll keep it in mind for next time, and apologies for missing the notification!


Cirne/entity metrics

get dimensional metric working in the entity explorer. Needs some more thorough testing.

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

@tangollama I think this now works properly with dimensional metrics both in the entity explorer and from the launcher. Tested against APM services as well as OpenTelemetry Services.

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


If forwarded headers are trusted - don't mangle X-Forwarded-Host

When setting TrustForwardHeader, I would expect X-Forwarded-Host to be forwarded to my application.

looks good, thanks


.

Link to the code that reproduces this issue
.
To Reproduce
.
Current vs. Expected behavior
.
Verify canary release

[X] I verified that the issue exists in the latest Next.js canary release

Provide environment information
.

Which area(s) are affected? (Select all that apply)
App Router
Additional context
No response

+1

+1


Add methods for catch "eligible for super saver shipping" and "prime"

Easy change, it is correctly tested.
Thank you.

Thanks @josemlp91 , can you please add the relevant tests?


package.json with an empty line in the end

Type:

[x] Bug
[ ] Feature
[ ] Help

Version:
0.2.6
Description:
Unexpected end of JSON input while parsing near '...k/download/webpack-1.', your package.json has empty line in the end

where did this error happen?

while installing, you can remove the empty line and it works.

can you try npm i -g<EMAIL_ADDRESS>i will release to latest version if this version solve your issue.


⚠ Bofrost.be has degraded performance

In c11fff9, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1308 ms

Resolved: Bofrost.be performance has improved in 403b666.


pull request / travis build testing

Codecov Report

Merging #62 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #62   +/-   ##
=======================================
  Coverage   83.67%   83.67%
=======================================
  Files          33       33
  Lines        1207     1207
=======================================
  Hits         1010     1010
  Misses        197      197

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 4cd144a...3859704. Read the comment docs.

test failed


Using "...".ToScriptHash() will fail compiling.

Owner = "...".ToScriptHash(); can not bu build with "NEO-Compiler".
Exception;
System.NullReferenceException: Object reference not set to an instance of an object.
    public class ICO_Template : Framework.SmartContract
    {
        public static readonly byte[] Owner = "...".ToScriptHash();
        public static void Main() { }
    }

I can't reproduce this.  Providing a valid address, it compiles without issue.

(Check compiler versions)
@gubanotorious Which compiler you are testing with?
If I use neon.exe from https://github.com/neo-project/neo-compiler it builds,
But if I use compiler that comes from https://github.com/CityOfZion/neo-debugger-tools it fails.

@farukterzioglu are you using latest code from here or an older version?

@Relfos I just downloaded a fresh copy from that repo, still the same result.

Ok, the problem was the Neo.SmartContract.Framework.dll included with the compiler.


[Request] [Feature] Be able to control both displays with the same rotary

Now you can asign he same rotary to both displays, but only the left one is changing the information.
Could be possible to swith both displays at the same time with the same rotary?
Thanks.

Good, thanks!


Any hint for alternative way to responsive?

Any example for a alternative way to responsive?
Like check screen width, and use div to layout

Sorry, don't have any...

You can do this with CSS.

Can you elaborate on that?

Sorry, I was addressing the OP. For instance I use:
@media only screen and (max-width: 768px) {
    .vue-grid-item{
       position: relative !important;
        width: 100% !important;
        top: inherit !important;
        transform: inherit !important;
    }
}

To make everything full width blocks under 768. There are plenty of options doing it this way, rather than trying to implement it in the component.

In my particular scenario, no I don't. But that is because my use case is as an admin tool for creating blocks of content in the back end of my app.
On the front end I just disable dragging and resizing for all breakpoints.
The only way I could see this being made responsive from the programatic side is to implement some or all of the following.
Allow the user to specify a breakpoint at which everything jumps to full width.
Then, if the breakpoint is below this AND dragging is still allowed, just create another property called order or something similar that would allow a tracking of where this element should appearing in the order of things when the block is moved up or down.
That said, I'm not sure whether this should be the responsibility of your component. It is very good at what it does and shouldn't need to do anything else.
A developer should be able to switch out for a drag and drop component layout at smaller components without even touching the saved properties of the grid-layout.

Sorry, I was addressing the OP. For instance I use:
@media only screen and (max-width: 768px) {
    .vue-grid-item{
       position: relative !important;
        width: 100% !important;
        top: inherit !important;
        transform: inherit !important;
    }
}

To make everything full width blocks under 768. There are plenty of options doing it this way, rather than trying to implement it in the component.

One thing regarding this, you should also set left as well otherwise the value set from grid lib will show it at an offset:
@media only screen and (max-width: 768px) {
	.vue-grid-item {
		position: relative !important;
		width: 100% !important;
		top: inherit !important;
		left: inherit !important;
		transform: inherit !important;
	}
}

So my solution was just to set the height to auto for now:
	@media only screen and (max-width: 768px) {
		.vue-grid-layout {
			height: auto !important;
		}
		.vue-grid-item {
			position: relative !important;
			width: 100% !important;
			top: inherit !important;
			left: inherit !important;
			transform: inherit !important;
		}
	}


Remediate organization user roles (designate org owners for each org)

Now that org owner role is exposed via the UI, designate one or more org owners for each organization.

Every organization now has at least one org owner designated.


(WIP) NETOBSERV-333: GRPC ingest metrics

Can't be merged until we merge this PR: https://github.com/netobserv/netobserv-ebpf-agent/pull/31
Implements the following metrics that are already implemented by the IPFIX ingestor:
flow_decoder_count
flow_process_nf_delay_summary_seconds
flow_process_nf_delay_summary_seconds_sum
flow_process_nf_delay_summary_seconds_count
flow_traffic_summary_size_bytes
flow_traffic_summary_size_bytes_sum
flow_traffic_summary_size_bytes_count
ingest_collector_flow_logs_processed
flow_process_nf_errors_count

It does not implement the following metrics:

flow_traffic_bytes, because it's equivalent to existing flow_traffic_summary_size_bytes_sum.
flow_process_nf_count, because it's equivalent to existing ingest_collector_flow_logs_processed.
flow_process_nf_flowset_sum and flow_process_nf_flowset_records_sum because the GRPC+Protobuf service does not have different message types as IPFIX (DataFlowSet, OptionsDataFlowSet, TemplateFlowSet, etc...). All the values here would be equivalent to ingest_collector_flow_logs_processed.
flow_process_nf_templates_count because GRPC+Protobuf does not use templates.
flow_traffic_packets_counter because GRPC does not work at packet level and there is no affordable way to inspect GRPC communication at IP/TCP level.
flow_summary_decoding_time because GRPC+Protobuf does not provide an affordable way to inspect the raw-->object decoding time.
ingest_collector_queue_length value will be always 0, since GRPC ingestor does not implement any internal queue to batch/forward the flow records.

Also, the flow_decoder_count might have very different values as for the IPFIX scenario. This metric specifies how many messages have been decoded. In IPFIX, its value would be the same as ingest_collector_flow_logs_processed, as Goflow2 decodes each flow record individually. In GRPC+Protobuf (eBPF agent), this value would be much lower because flow records are sent in big batches.

@mariomac - is it possible to include flow_process_nf_errors_count  metric as well?

@memodi adding it

Codecov Report

Merging #223 (f702ded) into main (3f6eb99) will increase coverage by 0.25%.
The diff coverage is 82.00%.

@@            Coverage Diff             @@
##             main     #223      +/-   ##
==========================================
+ Coverage   61.40%   61.66%   +0.25%
==========================================
  Files          64       64
  Lines        3783     3832      +49
==========================================
+ Hits         2323     2363      +40
- Misses       1318     1324       +6
- Partials      142      145       +3

Flag
Coverage Δ

unittests
61.66% <82.00%> (+0.25%)
:arrow_up:

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

Impacted Files
Coverage Δ

pkg/pipeline/decode/decode_protobuf.go
74.54% <ø> (ø)

pkg/pipeline/ingest/ingest_grpc.go
77.10% <82.00%> (+6.52%)
:arrow_up:

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 3f6eb99...f702ded. Read the comment docs.


The page head title is written two times on revisits to the pages

The first page load is fine, but when navigating to a page for the second time, the title tag is written twice. The actual title along with an empty title tag.
The first page that is loaded gets the extra blank title tag appended after its original title tag. The other pages that are navigated to using routing gets the extra blank title tag appended before the actual title. The route-navigated pages that has the blank title tag first loses the title in the browser.
This happens for me on run dev as well as for run build using both solid-start-vercel and solid-start-static adapters.

In setting up for SolidStarts next Beta Phase built on Nitro and Vinxi we are closing all PRs/Issues that will not be merged due to the system changing. If you feel your issue was closed by mistake. Feel free to re-open it after updating/testing against 0.4.x release. Thank you for your patience.

See https://github.com/solidjs/solid-start/pull/1139 for more details.


Scarlet Crusade quest fixes

Lordaeron simply loses all of their existing units when transitioning to Scarlet Crusade, rather than them going hostile or transferring any hero experience to allies
Lordaeron retains all of their gold and lumber when transitioning, and additionally gains the normal 300 gold and 500 lumber as before

@SebastianTanoni I think some of this stuff was still up in the air, so adding you as a reviewer to make sure you're happy with it.
You don't necessarily need to read the code or test anything.

Looked through the Discord history on this one and I think this is pretty much what's intended. If not, easy enough to revisit!


Create and Publish API docs

This probably depends on https://github.com/databricks/spark-pandas/issues/90

This is done: https://koalas.readthedocs.io/en/latest/


Current row highlighting is not removed on data change

It's assumed that previously selected row is still present in the data array: https://github.com/ElemeFE/element/blob/4614990cb42d27f90773abbb360a12b7663361ff/packages/table/src/table-body.js#L94

Fixed in #1977


Wrong results returned from whereNotContainedIn() method

I am trying to create a query to find posts which are not liked by the logged in user. I create the array containing all the objectIds of posts not liked by the user.Then I perform a query like this
var votes = new Parse.Query(Votes); votes.equalTo("user_id", request.params.user_id);
votes.find({
success: function(results) {
 var ids = results.map(function(obj) {
 return obj.get('question').id;
 });
var questions = new Parse.Query(Questions);
questions.notContainedIn('objectId', ids);
questions.find({
  success: function(results) {
     response.success(results);
  }
 });
 }
 });

Problem is the data returned contains wrong results.I even tried the api console and did a rest api query like
'where={"objectId":$nin["HFAxSAyVbN","Xn8EYwbeUZ","qYfgZqaCG8"] }'

The results contained many Json objects including the objects with the above objectId's. One of the results was
 {
        "aspectRatio": 0.709,
        "createdAt": "2016-01-30T05:55:55.732Z",
        "likes": 13,
        "objectId": "Xn8EYwbeUZ",
        "postAuthor": {
            "__type": "Pointer",
            "className": "_User",
            "objectId": "OfBgyVDqpS"
        },
        "postFile": {
            "__type": "File",
            "name": "tfss-0ca1766d-b53f-4c34-8479-0034cc2e60d7-tfss-93d860c5-e60a-42bc-b948-0c965c6b4136-post.jpeg",
            "url": "http://files.parsetfss.com/b406a736-2819-4a49-9bd7-c8729bf4c562/tfss-0ca1766d-b53f-4c34-8479-0034cc2e60d7-tfss-93d860c5-e60a-42bc-b948-0c965c6b4136-post.jpeg"
        },
        "postFile_THUMBNAIL": {
            "__type": "File",
            "name": "tfss-81f5ff66-eead-4f65-bc48-347b93a21fa9-tfss-38fdbd7b-2f59-4a54-9ef4-ae7124441e96-thumbnail.jpeg",
            "url": "http://files.parsetfss.com/b406a736-2819-4a49-9bd7-c8729bf4c562/tfss-81f5ff66-eead-4f65-bc48-347b93a21fa9-tfss-38fdbd7b-2f59-4a54-9ef4-ae7124441e96-thumbnail.jpeg"
        },
        "story": "Awesome burger... Looks delicious...☺☺☺",
        "story_LOWERCASE": "awesome burger... looks delicious...☺☺☺",
        "type": "image",
        "updatedAt": "2016-08-22T18:05:37.716Z"
    },

This above objectId is mentioned in the above rest api query.So the query is giving me wrong results from the class . Please check this issue and tell me what's wrong.

As you've stated yourself, the problem exists outside of the JS SDK. Since it reproduces with the API console, it's out of the scope of the client, sorry.
Issues on this GitHub repo are reserved for bugs in the JS SDK codebase. If you're using Parse Server, I recommend that you file an issue on that repo.

@andrewimm Ok. Thanks.


Can Someone Please Help Java blockbench model issues

Can someone please help me, I work with java models, and when I make a texture things disappear, and when I color one block it appears on another. Like there connected. I have tried switching to a generic model creating a texture and then switching back. But my model is still broken, there's always errors, but if I change them it wont even be close to looking like anything good. I am making a lizard for my grandpa, he died from cancer. I promised my family I would make one for him. I have no clue why its not working.
#852

Is this a problem with the theme or a general Blockbench issue? Can you please explain a little bit more?
I tested the theme extensively and haven't had this issue.
Please keep in mind that:

You're on the wrong repository. You should open an issue in the theme repository
If this a general issues with blockbench please open an issue with them instead located here

Ah I am sorry for not responding, I have tried many things. Even converting it back and forth. I would really like to get it figured out. I am trying to make a mob with a generic model, then convert it over to a modded entity for my mod.  But it always has texture issues, and wont load the model with the texture right. There are random colors and invisible parts. I could send you a video or screenshots of the issues.

Ah I am sorry for not responding, I have tried many things. Even converting it back and forth. I would really like to get it figured out. I am trying to make a mob with a generic model, then convert it over to a modded entity for my mod. But it always has texture issues, and wont load the model with the texture right. There are random colors and invisible parts. I could send you a video or screenshots of the issues.

Ah I am sorry for not responding, I have tried many things. Even converting it back and forth. I would really like to get it figured out. I am trying to make a mob with a generic model, then convert it over to a modded entity for my mod. But it always has texture issues, and wont load the model with the texture right. There are random colors and invisible parts. I could send you a video or screenshots of the issues.

Hi 👋🏻, there are better places to look for this help than this repository.


Vue 3 Support

As Vue 3 has RC It will be a good idea to add support for Vue 3.
Currently, if we use this package with Vue 3 we are getting error.

+1

Support for Vue3 has been released, so stay tuned for the latest homepage at https://github.com/surmon-china/videojs-player.


make swagger deterministic

as per https://github.com/TBD54566975/ssi-service/issues/447 swagger generation is non deterministic
this change is a stop-gap to make swagger deterministic until swaggo/swag is fixed
added back a ci check to fail if swagger is out of date

Codecov Report

Merging #448 (ff76593) into main (2c7d30d) will increase coverage by 0.07%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #448      +/-   ##
==========================================
+ Coverage   21.39%   21.46%   +0.07%
==========================================
  Files          49       49
  Lines        5370     5375       +5
==========================================
+ Hits         1149     1154       +5
  Misses       4037     4037
  Partials      184      184

see 1 file with indirect coverage changes

nice one


objc_retain crash on testing framework whilst using [OCMArg anyPointer]

This error popped up once I built my library as a framework rather than a static library.  It could be due to some compilation settings differences.
When I create a partial mock of an object via OCMPartialMock and stub an argument with [OCMArg anyPointer] I'm getting crashes on NSInvocation+OCMAdditions.m line 87:
[retainedArguments addObject:argument];

It looks like the code should be checking if the object is an [OCMArg anyPointer] and if so, not attempting to retain the argument, but this is just a guess.
I managed to get around the crash by instead using [OCMArg isNotNil] which is a fine work around for the moment.
Cheers,
pellet.

Can you provide more information? Are you using the released binary distributions or are you building OCMock yourself? Does this only happen with partial mocks and not with regular mocks? Could you provide a failing test case and a stack trace?

Closing due to inactivity.


VS Code Debugger Not working for certain SDKs

Package Name:  @azure/keyvault-keys, @azure/keyvault-secrets, @azure/storage-file, etc.
Package Version: 4.0.0-preview.2, 4.0.0-preview.2,^10.1.0
Operating system: macOS v10.13.6
[X] nodejs

version: 10.15.1

[ ] browser

name/version:

[X] typescript

version: 3.1.3

Is the bug related to documentation in

[ ] README.md
[ ] source code documentation
[ ] SDK API docs on https://docs.microsoft.com

Describe the bug
When you develop TS Projects using azure-sdk-for-js (i.e. depend on SDKs from azure-sdk-for-js),  and debug your TS Project, for certain SDKs the debugger will always step into the JS Code instead of TS code. This will be a big annoyance to TS Developers.
To Reproduce
Create a folder with the following files
tsconfig.json
{
  "exclude": ["node_modules"],
  "compilerOptions": {
  "target": "es2018",
  "module": "commonjs",
  "sourceMap": true,
  "rootDir": ".",
  "strict": true,
  "esModuleInterop": true
  }
 }

package.json
{
  "name": "azure-sdk-for-js-samples",
  "version": "0.1.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "",
  "license": "MIT",
  "dependencies": {
    "@azure/arm-keyvault": "^1.2.1",
    "@azure/event-hubs": "^2.1.1",
    "@azure/keyvault-keys": "^4.0.0-preview.2",
    "@azure/keyvault-secrets": "^4.0.0-preview.2",
    "@azure/storage-file": "^10.1.0"
  }
}

index.ts
import { KeysClient } from "@azure/keyvault-keys";
import { EnvironmentCredential } from "@azure/identity";
const {EventHubClient} = require('@azure/event-hubs');

async function main(): Promise<void> {
  const credential = new EnvironmentCredential(); //This will step into TS Code correctly

  const vaultName = process.env["KEYVAULT_NAME"] || "<keyvault-name>"
  const url = `https://${vaultName}.vault.azure.net`;
  const client = new KeysClient(url, credential); //This will NOT step into TS Code correctly
  const client_2 = new EventHubClient("event-hub-namespace", "event-hub-path");//This will step into TS Code correctly
}

main()

Now execute the commands npm install && tsc. Now, in your VS Code, set breakpoint and start debugging.
Expected behavior
The expected result is that the code flow should step in to TS codes. But, it does not always do that. The debugger works correctly for Identity & EventHub. But, it does not work correctly for Keyvault-Keys, KeyVault-Secrets, Storage-File, etc.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

For storage packages, the new versions(i.e., 12.0.0-preview.1) shouldn't have this problem.

I'm testing this in the latest versions (1.0.0) and this seems to be working fine now. Please help me confirm!

Tested storage packages recently, they seem good.

Thank you everyone! Closing this issue.


Fixed broken link

one of the links was broken, if you still want the same site -- you can use the latest wayback machine snapshot

Thanks, I appreciate this!


Night mode

The HA version supports a "night mode" but the panel currently doesn't (it just sits in "pending" mode).  Could something be added for this mode?
https://home-assistant.io/components/alarm_control_panel.manual_mqtt/

I think this over complicates the alarm control panel.  It would have three modes just to activate the system.   Home Assistant isn't the only platform that this is used for.   I am also not sure what benefit night mode offers, couldn't the same be achieved just by making your automations or scripts work based on time of day instead.  Night mode never made much sense to me other than convenience.

Fair enough.  I'll make do with home mode instead.  Thanks!


Add Statistics Lithuania as a source

It would be nice to be able to have Statistics Lithuania as new source, as in the rsdmx R package. Statistics Lithuania provides SDMX 2.1 and SDMX-json services, well documented. However, there a several issues preventing from using Statistics Lithuania.
In principle, the new source would like (SDMX):
{
  "id": "LSD",
  "documentation": "https://osp.stat.gov.lt/rdb-rest",
  "url": "osp-rs.stat.gov.lt/rest_xml",
  "name": "Statistics Lithuania"
}

or (JSON):
{
  "id": "LSD",
  "documentation": "https://osp.stat.gov.lt/rdb-rest",
  "url": "http://osp-rs.stat.gov.lt/rest_json",
  "name": "Statistics Lithuania"
}

Please find below the issues preventing the usage of Statistics Lithuania as source in sdmx, with workarounds.

The option verify is not passed properly to requests, making it difficult to use https sources. For instance:

>>> statlt = sdmx.Request('STAT_LT', verify=False)
>>> statlt.session.verify
True
# This is a workaround
>>> statlt.session.verify = False

Statistics Lithuania replies with an unusual content type: application/force-download

>>> sdmx_msg = statlt.data('S7R239_M2110211')
Traceback (most recent call last):
  File "C:\Users\marcber\PycharmProjects\venv\lib\site-packages\sdmx\api.py", line 439, in get
    Reader = get_reader_for_content_type(content_type)
  File "C:\Users\marcber\PycharmProjects\venv\lib\site-packages\sdmx\reader\__init__.py", line 53, in get_reader_for_content_type
    raise ValueError(f"Unsupported content type: {ctype}") from None
ValueError: Unsupported content type: application/force-download
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "C:\Users\marcber\PycharmProjects\venv\lib\site-packages\sdmx\api.py", line 443, in get
    "content type: %s" % content_type
ValueError: can't determine a reader for response content type: application/force-download;charset=UTF-8
# This is a workaround
>>> url=statlt.data('S7R239_M2110211', dry_run=True).url
>>> req = requests.get(url, verify=False)
>>> sdmx_msg = sdmx.read_sdmx(io.BytesIO(req.content))

The xml supplied cannot be parsed properly (to be investigated, might be on Statistics LT side)

sdmx_msg = sdmx.read_sdmx(io.BytesIO(req.content))
2020-11-27 14:05:58,541 sdmx.reader.sdmxml - DEBUG: Truncate sub-microsecond time in <Prepared>
--- <class 'sdmx.message.DataMessage'> ---
[<sdmx.DataMessage>
  <Header>
    id: '044A9368AE724B13819B16D5046E66B6'
    prepared: '2020-11-27T15:05:39.680000+02:00'
    sender: <Agency LSD>
    source:
    test: True
  DataSet (1)
  dataflow: <DataflowDefinition (missing id)>
  observation_dimension: <sdmx.model._AllDimensions object at 0x00000123B4EABD68>]
--- <class 'sdmx.model.DataStructureDefinition'> ---
[<DataStructureDefinition :M2110211(1.0)>]
--- M2110211 ---
[<DataStructureDefinition :M2110211(1.0)>]
--- Attributes ---
[{'DS_LAST_UPDATE': <AttributeValue: DS_LAST_UPDATE=2020-11-12>, 'DS_REGIONAL': <AttributeValue: DS_REGIONAL=N>, 'DS_TIME_FORMAT': <AttributeValue: DS_TIME_FORMAT=3>, 'OSP_MASYVO_STATUSAS': <AttributeValue: OSP_MASYVO_STATUSAS=A>}]
Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "C:\Users\marcber\PycharmProjects\venv\lib\site-packages\sdmx\reader\__init__.py", line 148, in read_sdmx
    return reader().read_message(obj, **kwargs)
  File "C:\Users\marcber\PycharmProjects\venv\lib\site-packages\sdmx\reader\sdmxml.py", line 273, in read_message
    raise RuntimeError(f"{uncollected} uncollected items")
RuntimeError: 1 uncollected items
# A workaround is to use the json endpoint http://osp-rs.stat.gov.lt/rest_json
>>> url=statltjson.data('S7R239_M2110211', dry_run=True).url
>>> req = requests.get(url, verify=False)
>>> sdmx_msg = sdmx.read_sdmx(io.BytesIO(req.content))

I will try to investigate a bit the issue with the xml endpoint on my own. For the rest I am sorry I am not sure I can of much help, but I'll do my best.
Best,
Bertrand

Thanks for the thorough details here, @bertrandmarc.
Per point (2), each class sdmx.reader.*.Reader has a property content_types that lists the content types it can read:
https://github.com/khaeru/sdmx/blob/f19948dedc5a4dae2613ab007900f358d54185d2/sdmx/reader/sdmxml.py#L205-L212
This list can be extended with new items.
Per point (3): can you paste the exact URL used for this request? It should be shown in a log message. The SDMX-ML reader does a dump like this when it fails to pick up and incorporate all of the individually parsed items found in the message. Looking at the XML directly should tell us what unusual content is not correctly parsed.

Ok, thank you I will add a new content_type to fix point 2.
About point (3), the url passed to request is http://osp-rs.stat.gov.lt/rest_xml/data/S7R239_M2110211 and the redirected url (from req.url) is https://osp-rs.stat.gov.lt/ords/ipospp/ospp/rest_xml/data/S7R239_M2110211.
For your information, this url is parsed without apparent errors by the R package rsdmx:
readSDMX(providerId='LSD', resource="data", flowRef='S7R239_M2110211')

http://osp-rs.stat.gov.lt/rest_xml/data/S7R239_M2110211 and the redirected url (from req.url) is https://osp-rs.stat.gov.lt/ords/ipospp/ospp/rest_xml/data/S7R239_M2110211.

Visiting these in a browser returns the following 400 error:
<?xml version="1.0" encoding="UTF-8"?>
<mes:GenericData xmlns:mes="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/message" xmlns:com="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xmlns:footer="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/message/footer" xmlns:g="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/data/generic" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/message https://osp-rs.stat.gov.lt/xsd_scheme/SDMXMessage.xsd http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common https://osp-rs.stat.gov.lt/xsd_scheme/SDMXCommon.xsd http://www.sdmx.org/resources/sdmxml/schemas/v2_1/data/generic https://osp-rs.stat.gov.lt/xsd_scheme/SDMXDataGeneric.xsd">
   <mes:Header>
      <mes:ID>2B78DAFFD8AC4140B3AA7DD05591E28C</mes:ID>
      <mes:Test>true</mes:Test>
      <mes:Prepared>2020-12-01T12:34:49.935000000+02:00</mes:Prepared>
      <mes:Sender id="LSD"/>
      <mes:Structure structureID="LSD" dimensionAtObservation="AllDimensions">
         <com:Structure>
            <URN>urn:sdmx:org.sdmx.infomodel.datastructure.DataStructure=LSD.LSD(1.0)</URN>
         </com:Structure>
      </mes:Structure>
   </mes:Header>
   <footer:Footer>
      <footer:Message code="400" severity="Error">
         <com:Text xml:lang="lt">Neteisinga parametro Request reikšmė</com:Text>
         <com:Text xml:lang="en">Bad parameter Request value</com:Text>
      </footer:Message>
   </footer:Footer>
</mes:GenericData>

Are there any query parameters in the URL?

Sorry, it was a typo in the urls. I have just fixed it by editing my previous message.

Great, thanks. So the XML looks, in part, like this:
<?xml version="1.0" encoding="UTF-8"?>
<mes:GenericData …>
   <mes:Header>
      <mes:ID>F7534B25376142ECB32ACB52DEC29020</mes:ID>
      <mes:Test>true</mes:Test>
      <mes:Prepared>2020-12-01T21:25:24.447000000+02:00</mes:Prepared>
      <mes:Sender id="LSD"/>
      <mes:Structure structureID="M2110211" dimensionAtObservation="AllDimensions">
         <com:Structure>
            <URN>urn:sdmx:org.sdmx.infomodel.datastructure.DataStructure=LSD.M2110211(1.0)</URN>
         </com:Structure>
      </mes:Structure>
   </mes:Header>
  <mes:DataSet structureRef="M2110211">
    …
  </mes:DataSet>
</mes:GenericData>

A wild guess: usually the <mes:Structure structureID="FOO" …> and matching <mes:DataSet structureRef="FOO"> use some value ("FOO") that is only meaningful with the message, and is different from the actual ID of the DSD given by the <URN> within the <mes:Structure> tag. In this case, these IDs are the same. Perhaps this causes the reader code to fail to clean up the parsed object.
I will debug further!

A wild guess…

This turned out to be a wrong guess :sweat_smile: As mentioned at https://github.com/khaeru/sdmx/pull/33#issuecomment-738830405, the issue is visible in the dump above:
--- <class 'sdmx.message.DataMessage'> ---
[…]
--- <class 'sdmx.model.DataStructureDefinition'> ---
[…]
--- M2110211 ---
[…]
--- Attributes ---
[{'DS_LAST_UPDATE': <AttributeValue: DS_LAST_UPDATE=2020-11-12>, 'DS_REGIONAL': <AttributeValue: DS_REGIONAL=N>, 'DS_TIME_FORMAT': <AttributeValue: DS_TIME_FORMAT=3>, 'OSP_MASYVO_STATUSAS': <AttributeValue: OSP_MASYVO_STATUSAS=A>}]
…
RuntimeError: 1 uncollected items

So it's normal for the DataMessage and DSD to be on the stack, but the AttributeValues should not be there. This was because the code did not collect them and attach them to their DataSet. #33 fixed this, so closing.


test-branch/execute-job/wrong-commit-sha-on-pr/56f5c0be-899f-498b-b3ea-8354614e24f0

PR for testing c068c700b091b3f109415100b9303a921a6f95ad

/canonical/self-hosted-runners/run-workflows d68258dae12f7fe76e6cf4027ad7a8d555c778af


changed required min node version to 16.6.0 in CONTRIBUTING.md

Resolves #87 Changed required minimum node version to 16.6.0 in CONTRIBUTING.md

thank you :)

@ArnavKumar7 Hi, Thank you for letting me work on this!


Not working on Linux

Background
I'm trying to add storybook tests to the CI workflow, but the rsbuild crashes due to a port duplicate:
$ storybook dev -p 6006

=> Failed to build the preview
Error: Port "6006" is occupied, please choose another one.
    at getPort (./node_modules/.pnpm/@rsbuild+core@0.7.9/node_modules/@rsbuild/core/dist/index.cjs:2611:17)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async getServerConfig (./node_modules/.pnpm/@rsbuild+core@0.7.9/node_modules/@rsbuild/core/dist/index.cjs:2629:20)
    at async createDevServer (./node_modules/.pnpm/@rsbuild+core@0.7.9/node_modules/@rsbuild/core/dist/index.cjs:3097:33)
    at async Module.start (./node_modules/.pnpm/storybook-builder-rsbuild@0.0.6_@rsbuild+core@0.7.9_@rspack+core@0.7.4_@swc+helpers@0.5.11__@_o2736jx4xxfyk5lxieepd5obtq/node_modules/storybook-builder-rsbuild/dist/index.js:572:25)
    at async storybookDevServer (./node_modules/.pnpm/@storybook+core-server@8.1.10_encoding@0.1.13_prettier@3.3.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@storybook/core-server/dist/index.js:86:8402)
    at async buildOrThrow (./node_modules/.pnpm/@storybook+core-server@8.1.10_encoding@0.1.13_prettier@3.3.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@storybook/core-server/dist/index.js:76:1991)
    at async buildDevStandalone (./node_modules/.pnpm/@storybook+core-server@8.1.10_encoding@0.1.13_prettier@3.3.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@storybook/core-server/dist/index.js:165:763)
    at async withTelemetry (./node_modules/.pnpm/@storybook+core-server@8.1.10_encoding@0.1.13_prettier@3.3.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@storybook/core-server/dist/index.js:86:3935)
    at async dev (./node_modules/.pnpm/@storybook+cli@8.1.10_@babel+preset-env@7.24.7_@babel+core@7.24.7__encoding@0.1.13_react-dom@_5kyel5bv7vemys3bvbvbl2xmyu/node_modules/@storybook/cli/dist/generate.js:989:565)

Reproduction steps
Here is a Dockerfile that describes how to build a problematic image:
FROM ubuntu:latest

ENV COREPACK_ENABLE_DOWNLOAD_PROMPT=0
ENV NVM_DIR=/root/.nvm

COPY . /app

WORKDIR /app

RUN apt-get update && apt-get install -y curl && \
  curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash && \
  . ~/.bashrc && nvm install && \
  corepack enable && pnpm i && pnpm build

EXPOSE 6006
CMD [ "bash", "-c", ". /root/.nvm/nvm.sh && pnpm run -C sandboxes/react-rsbuild storybook" ]

Root causes
The following code snippet works on macOS but will throw an error on Linux:
import net from 'node:net';

net.createServer().listen(6006, undefined); // @storybook/core
net.createServer().listen(6006, 'localhost'); // rsbuild dev server

https://github.com/storybookjs/storybook/blob/8505d86feeecd13a8473fa1372cf37500519d136/code/core/src/core-server/dev-server.ts#L66-L69
Workaround
storybook dev -p 6006 -h <IP_ADDRESS> can make storybook core listens to <IP_ADDRESS> while rsbuild still listens on localhost network, so that they don't running on the same hostname

Duplicates https://github.com/rspack-contrib/storybook-rsbuild/issues/23

storybook dev -p 6006 -h <IP_ADDRESS> can make storybook core listens to <IP_ADDRESS> while rsbuild still listens on localhost network, so that they don't running on the same hostname

So by default, letting Rsbuild listen <IP_ADDRESS> might be a solution? 🤔

Storybook and rsbuild should listen to the SAME hostname and port, this relies on middlewareMode supporting of rsbuild.
@storybook/builder-webpack5: https://github.com/storybookjs/storybook/blob/3a1e61cefec8dfd350d42db5598b2d0d9159a878/code/builders/builder-webpack5/src/index.ts#L186
@storybook/builder-vite: https://github.com/storybookjs/storybook/blob/3a1e61cefec8dfd350d42db5598b2d0d9159a878/code/builders/builder-vite/src/index.ts#L66


WIP: Release Summary for 0.4.0

This is the first release of this module under Vox Pupuli's puppet namespace.  It was migrated to Vox Pupuli from oboe76/chrony.

Seems module got forgotten. Any plan to release new voxpupuli version?

yes... it got delayed whilst we got confused as to what the plan with pdk was.  There might be movement soon though. https://github.com/voxpupuli/pdk-templates/issues/1#issuecomment-713176646


IGAPP-1027: Save jpal tracking code

This pull request belongs to an issue on our bugtracker.
You can find it there by looking for an issue with the key which is mentioned in the title of this pull request.
It starts with the keyword IGAPP.

[x] Check whether previously persisted code is deleted on native if clicking on https://integreat.app/jpal (without a tracking code)

We do not need a release note?

Because imo this is only a technical task paving the way for another issue. Will write a release note for https://issues.tuerantuer.org/browse/IGAPP-1025 though.

* [x]  Check whether previously persisted code is deleted on native if clicking on https://integreat.app/jpal (without a tracking code)

Currently not working on native, created https://issues.tuerantuer.org/browse/IGAPP-1045

Not results shown currently in the logs, therefore not possible to test. Code looks good.

Yes, not yet included in the requests, see #709. Also this is not yet implemented in the backend. However, #709 is testable as described here: https://github.com/digitalfabrik/integreat-app/pull/709#issuecomment-1173580607


Doe not run as a different user

SQL Operations Studio Version: sqlops 0.23.6 (8a3011756318a2ded1e6e84332230a2b2bf9c544, 2017-11-06T21:51:43.232Z)
OS Version: Windows_NT x64 10.0.14393

Steps to Reproduce:

Shift Right click... run as diff. user

Please reactive if this issue persists.


Storage leak with AVAudioPlayer

#263

Looks good to me, and works as expected. Storage is significantly decreased.


Refactor Receiver and Sender to share a amqp connection

Coding 3 days
Debugging with c-uamqp 2 days

Connection sharing has been implemented in the eventhub sdk layer.
The underlying uamqp library needs to be further debugged to make sharing connection work.
There will be new issues for debugging the problem in uamqp library.


Fix incorrect keyword completion after period in shader editor

Before:

After:

(Also fixed typo in BlockType enum)

Thanks!


The app does not behave according to the documentation

I have the following code to send emails (based on an example from https://learn.microsoft.com/en-us/dotnet/maui/platform-integration/communication/email?view=net-maui-7.0&tabs=windows):
       try
        {
            if (Microsoft.Maui.ApplicationModel.Communication.Email.Default.IsComposeSupported)
            {
                var message = new EmailMessage
                {
                    Subject = string.Empty,
                    Body = string.Empty,
                    BodyFormat = EmailBodyFormat.PlainText,
                    To = new List<string>() { _emailTechService },
                };

                await Email.Default.ComposeAsync(message);
            }
            else
            {
                await Shell.Current.DisplayAlert("Email Failure", $"Sending emails feature is not supported on this device", "OK");
            }
        }
        catch (Exception ex)
        {
            App.HandleException(ex, true);
        }

On iOS and Android it works correctly, but when I run it on Windows Machine in Visual Studio, IsComposeSupported is true, but Email.Default.ComposeAsync(message) throws a System.Runtime.InteropServices.COMException "The request is not supported."
How can I check if the feature is supported correctly to avoid the exception?

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

ID: fb883e1b-a1ef-6684-d501-e9be8a57852b
Version Independent ID: fb883e1b-a1ef-6684-d501-e9be8a57852b
Content: Email - .NET MAUI
Content Source: docs/platform-integration/communication/email.md
Product: dotnet-mobile
Technology: dotnet-maui
GitHub Login: @davidbritch
Microsoft Alias: dabritch

I just tested this on windows and it works for me. Is it possible that you don't have a default email app configured or something? Otherwise, I'm unsure, you'll need to file a bug with the product team and probably provide a lot more information, such as the windows version, maui version, what default apps you have configured for email, etc.
I can't transfer your issue, unfortunately, but you can open a new one at https://github.com/dotnet/maui/issues


Updating ebuilds

It seems cargo ebuild is generating a new ebuild every time, it might be a good idea to use the old ebuild as a base

Its going to be quite the project to parse an existing ebuild since its parsed as a shell script. Something a bit easier and more easily achieved would be #10 where the Cargo.toml could have extra metadata fields that would correspond to ebuild fields. This is how
https://crates.io/crates/cargo-deb and
https://crates.io/crates/cargo-rpm operate.

Do you have an example of modifications you which you could persist between versions?

Yes, all ebuilds in my overlay: https://github.com/kpcyrd/overlay/tree/master/net-analyzer


Convert gathered data about Conjur endpoints into spec file definitions and tests

Once enumeration of missing Conjur endpoints (#10) is complete, we need to add them to the spec along with tests.
This task is intended to be split out into smaller stories that cover small slices of API functionality
AC:

[ ] All enumerated endpoints are in the specification
[ ] All enumerated endpoints added to the spec from the previous item are tested

Blocked by #10

@telday since we've filed issues for all of the missing endpoints, this issue can be closed, right?

@telday since we've filed issues for all of the missing endpoints, this issue can be closed, right?

We have separate issues for adding new endpoints + testing them, so this issue can be closed now.

We have separate issues for adding new endpoints + testing them, so this issue can be closed now.


Update iprova-provisioning-tutorial.md

Changes made by Guido Spanjers (Infoland) from my local account

@gspanjers : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@gspanjers : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@zchia please review this PR for merging. Thx

#sign-off

@twimmers: I'm sorry - only the author of this article, @zchia, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

#sign-off

Merging with PM sign-off. Thanks @twimmers.


Want to access Component's propTypes.

Hi all, Recently I try to extend Mui's Button component and I want to extend it's propTypes also.
ExtendedButton.propTypes = {
    MUIButtonProps: PropTypes.objectOf(MUIButton.propTypes),
    ...myPropsTypes
}

However I can only access the HOC's propTypes(withStyles).

To solve this may be we can export Components? For example
...
Button.defaultProps = {
  color: 'default',
  component: 'button',
  disabled: false,
  disableFocusRipple: false,
  fullWidth: false,
  size: 'medium',
  type: 'button',
  variant: 'text',
};

// export Component here
export Button;

export default withStyles(styles, { name: 'MuiButton' })(Button);

After that we can extend propTypes in this way.
import { Button } from '@material-ui/core/Button/Button'

ExtendedButton.propTypes = {
    MUIButtonProps: PropTypes.objectOf(Button.propTypes),
    ...myPropsTypes
}

Is this make sense?

@abrcdf1023 Don't do that. The prop types are not safe to be accessed. They are removed in production. You are wrapping the Material-UI component, you don't need to extend the prop types, they will still validate the props.

There is an example of how you can extend Material-UI component:
https://github.com/mui-org/material-ui/blob/099bc5e01f0bdb38eafa9b97f0b29d0362f8a8eb/docs/src/pages/premium-themes/onepirate/modules/components/Typography.js


Add LLamaSharp.Backend.Vulkan

This PR adds the llama.cpp vulkan backend.
.WithVulkan is by default false because I wasn't sure how to test for the presence of vulkan and hence it would fail the CI Tests.
One idea, without requiring the vulkan sdk, is to call and parse the result of "vulkaninfo --summary"
I had trouble with<EMAIL_ADDRESS>not working so I changed it to match llama.cpp<EMAIL_ADDRESS>I have only tested this LLamaSharp.Backend.Vulkan under windows with a Radeon VII.

This is great, thanks very much! I'll give it a full review soon.
There's one small issue I immediately spotted; I'm trying to keep all binaries committed traceable back to a build action run in this repo. Could you delete the committed binaries and squash the commits. They'll get added back next time a binary update is done.


Multireduce Lowerer

Codegen changes to handle a basic multireduce kernel

I'd merge a diff that has ASTs in test_linearizer passing verify_lazyop. That'd help make progress on Lowerer changes independently.

Nice! Bounty is of course yours when we get this merged. Hopefully the lowerer was helpful

Nice! Bounty is of course yours when we get this merged. Hopefully the lowerer was helpful

The lowerer was super helpful, great refactor

How's this going?

working on grouping + adding the other multireduce tests is, I can push a checkpoint

sg, I think we can independently make some progress on the UOpGraph toposort.

diff should now support grouping; working on incorporating more of the linearizer tests

cool, you know we can't merge big diffs; But it's worth exploring the full scope and incrementally ship in clean, small diffs.


Add filter by columns

You can add the columns you want to show, example:
keepColumns: ["val1", "val2", "name"]
If you keep as an empty array, show all.

Love it, merged! Thanks for this addition to the project!
Best,
Tim


Confirmation when camper completes entire challenge block

Needs a flag on challenge and detection of all completed challenges.

Closing as a duplicate of #3914


Feature: allow editing a plan that has been started, as long as it is no longer running and none of its VMs succesfully migrated.

This will surely have implications on the backend, so we should try unblocking it in the UI and testing. Need to coordinate with @fdupont-redhat and @jortel .
Targeting 2.3 for this one.

Similar issue: https://github.com/kubev2v/forklift-console-plugin/issues/757

https://github.com/kubev2v/forklift-console-plugin/pull/961 - new flow allowing editing of plans when not running


Duplicate projects in "Manage Projects" in serverpod app, no way to delete projects

Describe the bug
In the Serverpod app, there is no protection against adding the same project multiple times, and there is no way to remove a project from the list.
Platform information
Mac
app version 2.0.0 (9)

Thanks for the report @macMikey!
We should add a button to remove a project (and if possible consolidate duplicate entries in the list).

where is the source for the app? i looked in the serverpod repos but didn't spot it
as a n000b to the project, this looks like something i'd like to at least have a look at.

well, then, please either ask a maintainer get on it, or add me as a maintainer, please.

@macMikey There is no button in the interface, but you can use the delete or backspace keys on your keyboard to delete projects.


Add a check for the upstream protos going stale.

I'm thinking with this we can count #42 as fixed.
I don't think we want to run this on make check because it it would trigger if we updated and someone built without syncing protobuf also.
I'm also not sure if we'd want to wire this into CI because it would only be valid on a build against master, and as soon as we start checking against a release again, it too could mis fire there (unless you can make a step only check in some cases).

I agree that we can close #42 with this.
As for automating it, I wonder if we could use a completely separate CI pass that just did this comparison (against master) and nothing else?

As for automating it, I wonder if we could use a completely separate CI pass that just did this comparison (against master) and nothing else?

That's an idea.  Although would we want it on PRs or just when things land?  i.e. - would we want it to block someone trying to land a PR?  Or just want the signal anytime something landed (or can we have github run the action once a week?)


--sonobuoy-image override does not cascade to the generated worker.

When doing a local build and submitting with an image override the generated worker image is:
gcr.io/heptio-images/sonobuoy:latest
https://paste.fedoraproject.org/paste/HbQuJsJM0J1lj7g14aGZQw

This should be fixed now, closing.


Does deepspeed support aarch64?

I am seeing the following error when trying to run it on aarch64 machine with H100.
Linux r8-u37 6.5.0-1019-nvidia-64k #19-Ubuntu SMP PREEMPT_DYNAMIC Tue May  7 12:54:40 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
anaconda3/envs/deepspeed/lib/python3.10/site-packages/deepspeed/ops/csrc/cpu/comm/shm.cpp:10:10: fatal error: immintrin.h: No such file or directory
   10 | #include <immintrin.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
[2/3] c++ -MMD -MF shm_interface.o.d -DTORCH_EXTENSION_NAME=deepspeed_shm_comm -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -I/home/khayam/anaconda3/envs/deepspeed/lib/python3.10/site-packages/deepspeed/ops/csrc/cpu/includes -isystem /home/khayam/anaconda3/envs/deepspeed/lib/python3.10/site-packages/torch/include -isystem /home/khayam/anaconda3/envs/deepspeed/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /home/khayam/anaconda3/envs/deepspeed/lib/python3.10/site-packages/torch/include/TH -isystem /home/khayam/anaconda3/envs/deepspeed/lib/python3.10/site-packages/torch/include/THC -isystem /home/khayam/anaconda3/envs/deepspeed/include/python3.10 -D_GLIBCXX_USE_CXX11_ABI=0 -fPIC -std=c++17 -O2 -fopenmp -c /home/khayam/anaconda3/envs/deepspeed/lib/python3.10/site-packages/deepspeed/ops/csrc/cpu/comm/shm_interface.cpp -o shm_interface.o
/home/khayam/anaconda3/envs/deepspeed/lib/python3.10/site-packages/deepspeed/ops/csrc/cpu/comm/shm_interface.cpp: In function ‘void initialize(int, int)’:
/home/khayam/anaconda3/envs/deepspeed/lib/python3.10/site-packages/deepspeed/ops/csrc/cpu/comm/shm_interface.cpp:42:46: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   42 |     if (addr_string == NULL) { addr_string = ""; }
      |                                              ^~
/home/khayam/anaconda3/envs/deepspeed/lib/python3.10/site-packages/deepspeed/ops/csrc/cpu/comm/shm_interface.cpp:44:46: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   44 |     if (port_string == NULL) { port_string = ""; }
      |                                              ^~
ninja: build stopped: subcommand failed.

Hi @khayamgondal I am also trying to install Deepspeed for jetson nanoarchitecture. but I am encountering some different issues, can you let me know if you encountered the same error while installation?
error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [17 lines of output]
      fatal: not a git repository (or any of the parent directories): .git
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-2ye8_7hh/deepspeed_e72ce29d13824bf99346091714d95736/setup.py", line 247, in <module>
          if isinstance(torch.cuda.nccl.version(), int):
        File "/home/ies/miniconda3/envs/gdrnpp/lib/python3.10/site-packages/torch/cuda/nccl.py", line 35, in version
          ver = torch._C._nccl_version()
      AttributeError: module 'torch._C' has no attribute '_nccl_version'
      DS_BUILD_OPS=0
       [WARNING]  async_io requires the dev libaio .so object and headers but these were not found.
       [WARNING]  async_io: please install the libaio-dev package with apt
       [WARNING]  If libaio is already installed (perhaps from source), try setting the CFLAGS and LDFLAGS environment variables to where it can be found.
       [WARNING]  Please specify the CUTLASS repo directory as environment variable $CUTLASS_PATH
       [WARNING]  sparse_attn requires a torch version >= 1.5 and < 2.0 but detected 2.3
       [WARNING]  please install triton==1.0.0 if you want to use sparse attention
      Install Ops={'async_io': False, 'fused_adam': False, 'cpu_adam': False, 'cpu_adagrad': False, 'cpu_lion': False, 'evoformer_attn': False, 'fp_quantizer': False, 'fused_lamb': False, 'fused_lion': False, 'inference_core_ops': False, 'cutlass_ops': False, 'transformer_inference': False, 'quantizer': False, 'ragged_device_ops': False, 'ragged_ops': False, 'random_ltd': False, 'sparse_attn': False, 'spatial_inference': False, 'transformer': False, 'stochastic_transformer': False}
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

I think this might be the issue of nccl installation, but on the documentation page no nccl version satisfies aarch64 requirements

@khayamgondal and @Sar-thak-3, unfortunately we have not tested DeepSpeed in those environments due to lack of access.

anaconda3/envs/deepspeed/lib/python3.10/site-packages/deepspeed/ops/csrc/cpu/comm/shm.cpp:10:10: fatal error: immintrin.h: No such file or directory
10 | #include <immintrin.h>

@khayamgondal, immintrin.h is not available on arm64. However, I think you should not be compiling this extension if you are using CUDA. Can you share your build/installation command?

Thanks for getting back - I installed deepspeed using pip install deepspeed. For cuda I am using NVIDIA NGC Pytorch container.

@Sar-thak-3, it looks like the error you're seeing is unrelated to the original issue. We have not tested DeepSpeed on ARM, but the error you are seeing seems related to not having NCCL installed. Please install NCCL and then try installing DeepSpeed again. Alternately, you can also try building the source from github.

Closing this issue as stale and seems to be unrelated to aarch64.


[#174] DatePicker separate disabled color

Fixes #147
Separate disabled color from the selected date to the truly disabled dates in another month. Move setting col/styles after we are done getting them.

Hi Evan, this is only a suggested fix. It will help give the end user more control over the datepicker. Currently hit this while working on some themes integration with Dear PyGui. Let me know your thoughts!

Hi Evan, this is only a suggested fix. It will help give the end user more control over the datepicker. Currently hit this while working on some themes integration with Dear PyGui. Let me know your thoughts!


better support for cloud drive syncing

Please select if your request is either something new or an enhancement

[x] Enhancement of an existing Feature.
[ ] Request of a new feature.

Please select the area your request applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

[x] Workspace - VSCode workspace, vaults, Intellisense/autocomplete, Dendron settings
[ ] Lookup - Dendron's Lookup Command
[ ] Views - Dendron Preview, Tree View, Side Panels in the UI
[ ] Schema - Dendron Schemas
[ ] Pod - Data import from / export to Dendron
[ ] Publish - External Site Publish
[ ] Markdown - Markdown features, such as syntax support and features

Is your feature request related to a problem? Please describe
Dendron directory structure make storing a vault in a cloud drive (eg dropbox/onedrive/gdrive) challenging.

The .next directory is 1+ gigs
.dendron-cache has contention between machines

Describe the solution you'd like
A clear separation of folders between vault content which should be shared, and build/local data that shouldn't.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Thanks for the feature request, we are planning to improve Dendron's usability in synced folders and we'll keep this issue in mind.

a current workaround is to deploy published pages using Netlify, Render or Vercel


Remove wishlist links

No issue
The uservoice wishlist has been pretty inactive and neglected for quite a long time now. Removing links to it from Ghost is the first step toward retiring it. We're still listening to user feedback in order to determine the Ghost roadmap, but simplifying the process around it.
Matches https://github.com/TryGhost/Ghost/pull/8981

Coverage remained the same at 72.314% when pulling<PHONE_NUMBER>5e16299f99f04c668cf8f874802e12 on JohnONolan:ideas into af91377a7df819e357da26d12026d54119a67528 on TryGhost:master.


proposal: x/sys/unix: GCed mmap

Proposal Details
Add theses functions:
// MmapGc is just like [Mmap] but the mapping will be destroyed if the GC is unable to find Go code holding a pointer anywhere this mapping.
// If the mapping is manually unmapped or truncated the GC will continue to track only the remaining pages if any and unmap theses as one smaller mapping once no Go code is found to hold a reference to the remaining mapping.
// If it this mapping is mapped over, this region is considered a new different mapping and they will be kept track individually.
func MmapGc(fd int, offset int64, length int, prot int, flags int) (data []byte, err error)

// MmapGcPtr is just like [MmapGc] but with [MmapPtr]'s signature, see [MmapGc] for rules and edgecases.
func MmapGcPtr(fd int, offset int64, addr unsafe.Pointer, length uintptr, prot int, flags int) (ret unsafe.Pointer, err error)

// MmapThrough is just like [Mmap] but it does not update the GC's tracking for mappings, that means mapping over parts of a GC mapping does not create two independently tracked GC mappings.
func MmapThrough(fd int, offset int64, length int, prot int, flags int) (data []byte, err error)

// MmapThroughPtr is just like [MmapThrough] but with [MmapPtr]'s signature, see [MmapThrough] for rules and edgecases.
func MmapThroughPtr(fd int, offset int64, addr unsafe.Pointer, length uintptr, prot int, flags int) (ret unsafe.Pointer, err error)

What is motivating this change ?
I have tried writing an mmu accelerated ring buffer however it is dangerous because the consumer is responsible for calling .Close after which all pointers to the ring buffer become invalid.
See Close's impl:
func (r *Ring) Close() error {
	buf := r.buffer
	if buf == nil {
		return nil
	}
	r.buffer = nil
	return unix.MunmapPtr(unsafe.Pointer(buf), r.size*2)
}

I am not holding any other resources than the two mappings, there is a backing in-memory file (memfd on linux) however the OS keeps track of that, the file is closed upon creation and the OS cleans up the file when the mappings are destroyed.
Example of how it would be used
 // Init initializes the ring buffer with the given size.
 func (r *Ring) Init(size uintptr) (err error) {
 	if r.buffer != nil {
 		return fmt.Errorf("ring already initialized")
 	}

 	if pageSize&(pageSize-1) != 0 {
 		return fmt.Errorf("page size must be a power of 2")
 	}

 	if size%pageSize != 0 {
 		return fmt.Errorf("size must be a multiple of the page size")
 	}

 	file, err := unix.MemfdCreate("github.com/Jorropo/mmu-ring", unix.MFD_CLOEXEC) // name does nothing and just used for debug
 	if err != nil {
 		return fmt.Errorf("memfd_create: %w", err)
 	}
 	defer unix.Close(file) // linux will cleanup the files once the mappings are unmapped

 	if err := unix.Ftruncate(file, int64(size)); err != nil {
 		return fmt.Errorf("ftruncate: %w", err)
 	}
 	totalMappingSize := size * 2
 	if totalMappingSize < size {
 		return fmt.Errorf("size overflow when creating MMU-ring")
 	}

 	// temporary mapping to allocate twice the ring of virtual memory
-	orig, err := unix.MmapPtr(-1, 0, nil, totalMappingSize, unix.PROT_READ|unix.PROT_WRITE, unix.MAP_ANONYMOUS|unix.MAP_NORESERVE|unix.MAP_PRIVATE)
+	orig, err := unix.MmapGcPtr(-1, 0, nil, totalMappingSize, unix.PROT_READ|unix.PROT_WRITE, unix.MAP_ANONYMOUS|unix.MAP_NORESERVE|unix.MAP_PRIVATE)
 	if err != nil {
 		return fmt.Errorf("virtual mmap: %w", err)
 	}
 	defer func() {
 		if err != nil {
 			unix.MunmapPtr(orig, totalMappingSize)
 		}
 	}()

 	// replace the virtual reservation with the physical memory tail to head
-	_, err = unix.MmapPtr(file, 0, orig, size, unix.PROT_READ|unix.PROT_WRITE, unix.MAP_SHARED|unix.MAP_FIXED)
+	_, err = unix.MmapThroughPtr(file, 0, orig, size, unix.PROT_READ|unix.PROT_WRITE, unix.MAP_SHARED|unix.MAP_FIXED)
 	if err != nil {
 		return fmt.Errorf("first physical mmap: %w", err)
 	}
-	_, err = unix.MmapPtr(file, 0, unsafe.Add(orig, size), size, unix.PROT_READ|unix.PROT_WRITE, unix.MAP_SHARED|unix.MAP_FIXED)
+	_, err = unix.MmapThroughPtr(file, 0, unsafe.Add(orig, size), size, unix.PROT_READ|unix.PROT_WRITE, unix.MAP_SHARED|unix.MAP_FIXED)
 	if err != nil {
 		return fmt.Errorf("second physical mmap: %w", err)
 	}

 	*r = Ring{size: size, buffer: (*byte)(orig)}
 	return nil
 }
-
-// Close frees up the mmaped memory and must be manually called before the Ring is garbage collected.
-// Very important, any buffer returned by .Context or .Unused, or leaked from .Write or .Read will become invalid and point to who knows what and cannot be used.
-// If you *retain* theses buffers, you might need to set them to nil before calling Close.
-func (r *Ring) Close() error {
-	buf := r.buffer
-	if buf == nil {
-		return nil
-	}
-	r.buffer = nil
-	return unix.MunmapPtr(unsafe.Pointer(buf), r.size*2)
-}

Other applications I would have used it were it available is mmaping a file for processing and having to manually manage it's lifetime with manual memory manage (mmap & munmap).
Implementation details
Destroying a mapping means in this question having the OS release this mapping resources.
It could be mapping over anonymous pages or calling munmap.

Related Issues

proposal: runtime: manage off-heap memory lifecycle using the garbage collector #70224

Related Discussions

mmapping over Go heap

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

The solution proposed is different than https://github.com/golang/go/issues/70224 but 70224's is more generic and would work for me. #67535 didn't crossed my mind either and would work too as something reliable.

#67535 doesn't work well because it panics if attached to an mmaped region fatal error: runtime.AddCleanup: ptr not in allocated block. It's possible to attach the cleanup to some related header but that not memory safe as someone could keep a reference to the mmaped memory region but not the header.
#70224 would solve my issue


installation problems

Following the installation instructions, I listed the command used to install CGAT:
wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O - | python
virtualenv --no-site-packages cgat-python
source cgat-python/bin/activate
wget https://raw.github.com/CGATOxford/cgat/master/requires.txt
while read line ; do echo $line > x ; pip install -r x; rm x; done < requires.txt
pip install cgat

However, when the installation hits the last step, I am stuck with the error
freetype: no  [Requires freetype2 2.3 or later.  Found 2.2.1.]

============================================================================

                        * The following required packages can not be built:

                        * freetype

----------------------------------------
Command python setup.py egg_info failed with error code 1 in /panfs/home/kang/yangpc/soft/01.NGS_data_process/CGAT/cgat-python/build/matplotlib

I have already installed the latest freetype version 2.5.5 and add the library path to the variable LD_LIBRARY_PATH at the beginning. However, this error still exist. The version 2.2.1 is installed by system administrator. It seems CGAT can only detect system default library, not able to using the customized library with LD_LIBRARY_PATH. Does anyone have any idea for this condition?
Best,
Pengcheng Yang
BIOLS, CAS

Hi Pengcheng,
this seems to be a matplotlib error - can you try installing matplotlib
separately?
Best wishes,
Andreas
On 04/09/15 06:35, pengchy wrote:

Following the installation instructions, I listed the command used to
install CGAT:
|wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O - | python
virtualenv --no-site-packages cgat-python
source cgat-python/bin/activate
wget https://raw.github.com/CGATOxford/cgat/master/requires.txt
while read line ; do echo $line > x ; pip install -r x; rm x; done < requires.txt
pip install cgat
|
However, when the installation hits the last step, I am stuck with the error
|freetype: no  [Requires freetype2 2.3 or later.  Found 2.2.1.]
============================================================================
                     * The following required packages can not be built:

                     * freetype

Command python setup.py egg_info failed with error code 1 in /panfs/home/kang/yangpc/soft/01.NGS_data_process/CGAT/cgat-python/build/matplotlib
|
I have already installed the latest freetype version 2.5.5 and add the
library path to the variable LD_LIBRARY_PATH at the beginning. However,
this error still exist. The version 2.2.1 is installed by system
administrator. It seems CGAT can only detect system default library, not
able to using the customized library with LD_LIBRARY_PATH. Does anyone
have any idea for this condition?
Best,
Pengcheng Yang
BIOLS, CAS
—
Reply to this email directly or view it on GitHub
https://github.com/CGATOxford/cgat/issues/166.

Closing for now.


[Organization/member]: request for chrisdoherty4

GitHub Username
chrisdoherty4
Role
Maintainer
Requirements

[X] I have reviewed the community membership guidelines
[X] I have enabled 2FA on my GitHub account
[X] I have subscribed to the tinkerbell-contributors e-mail list
[X] I am actively contributing to 1 or more Tinkerbell subprojects
[X] I have two sponsors that meet the sponsor requirements listed in the community membership guidelines
[X] I have spoken to my sponsors ahead of this application, and they have agreed to sponsor my application
[ ] OPTIONAL: I have taken the Inclusive Open Source Community Orientation course

Sponsor 1
@micahhausler
Sponsor 2
@jacobweinstock
List of contributions to the Tinkerbell project
https://github.com/tinkerbell/hegel/pull/84
https://github.com/tinkerbell/hegel/pull/86
https://github.com/tinkerbell/hegel/pull/87
https://github.com/tinkerbell/hegel/pull/82
https://github.com/tinkerbell/tink/pull/594
https://github.com/tinkerbell/tink/pull/593
Various issues.
And more to come :)

LGTM! Thanks Chris!

I've been granted.


Argus Web CORS issue

Argus login/authentication does not succeeds  because login request from the web app to servlet running on tomcat container is a Cross Origin HTTP request.
I have deployed the war file on tomcat-7.0.69.

Update your server to accept cross origin requests. Here's the link that you can follow.
https://tomcat.apache.org/tomcat-7.0-doc/config/filter.html#CORS_Filter
You can add it to either server.xml or argus web.xml.

Can we close this?

Thanks for your response. Closing this.


Handle lists/dicts and other non-numpy datatypes in import_pandas

Enhances import_pandas to properly interpret lists, dicts, images, and arrays, if they appear within a Pandas DataFrame with type np.object_.
Also refactors ColumnType.supertype() and fixes several type system bugs.

This change is


Fix lint errors for auto-generated code

This PR is just an addition for #48 to fix the remaining lint errors from the auto-generated protobuf code. It's recommended to just silence them.

thanks for this @rahulanand16nov :medal_military:


Adding a feature: Special Opening Hours

Hi,
I am maintaining a project that makes use of django-openinghours. There is a feature in the roadmap to support bank holiday openings (the project is UK based). The requirements are to have different opening hours, not necessarily reducing the normal hours, could be a later opening etc.
I am proposing adding a "SpecialOpeningHours" to this project (when this feature gets to the front of the roadmap), so I'd like to discuss it here, to make sure I do it in a way that is open to being merged back in.
I notice that there are a couple of unmerged PRs, so I wonder if this project is still being maintained? One of the PRs by @fmalina is larger PR and implies you are actively using the code, forgive the django newbie question, but how are you managing this within your projects? If this project is dormant, does it make sense to fork it and maintain it elsewhere?
Thanks in advance!
Adam

I pip install ... directly or from my fork via github, sometimes I symlink /usr/lib/python3.8/dist/packages/openinghours or equivalent to openinghours folder in the local copy of the cloned repo


product import (until a better solution is available)

Hi,
I needed to be able quickly insert a large number of products loaded in python into saleor so I developed a little helper class that let you do that pretty easily and decided to share it.
The class is available as a pip package for details on usage and installation check this out: https://github.com/grll/saleor-gql-loader
it uses the graphql endpoint created by your installation of saleor and is currently working only with Saleor 2.9.

Really nice work! It's exciting to see that you're using service accounts for that, that's exactly what we built them for.
We're now finishing our work on a new version of Saleor that will go public this week and there are some changes in the service accounts API. We renamed them to "Apps" as we think this will be more user friendly and it's also related to the fact that we're building a marketplace for such apps.

Forgot to add - we're also working on CSV import/export which will be another way and optimized way to import products to Saleor.

Thanks for the good word! Aren't they already named app ? (I have been using the master branch actually) so this is already an app I guess.
I am looking forward to the CSV import/export feature as indeed it would be much better for testability/optimizing if it was part of the django project.
Let me know if you need some work done on that!

Yes, that was merged a few days ago so if you're using master that they're already apps :)

@maarcingebala is now possible importing/updating products from CSV or is that still something you're working on?

We're working on exporting products in this pull request. The functionality is already working and can be tested with the exportProducts mutation on that branch, but we need to test with a large DB of products. Once the export feature is done, we'll move on to importing products.

What's the status on the CSV import? The export was merged about five months ago and I don't see any other issues or PRs that mention "csv" or "import", but it sounds like the plan was to start working on an import after the export was finished.

Any update about the CSV import. Export is already there in v2.11? What about importing Customers? I am working to migrate from Magento 2 to Saleor. that migration is not straightforward. I want to be able to migrate customer account along with their passwords.

What are the import possibilities right now? Graphql, XML, CSV? Is there any import possibility anywhere by anyone, that would fit the latest release? Is there some recommendation regarding this?
Č

I have 200k products, and I want to use saleor. Any updates about the possibilities to upload these number of products?

There are now bulk mutations to import data in batches, e.g. https://docs.saleor.io/docs/3.x/api-reference/products/mutations/product-bulk-create.


Uncaught SyntaxError: Use of const in strict mode

Old Low Configuration mobile showing error Uncaught SyntaxError: Use of const in strict mode
E/Capacitor/Console: File: http://<IP_ADDRESS>:3000/ - Line 361 - Msg: SyntaxError: Unexpected strict mode reserved word
E/Capacitor: JavaScript Error: {"type":"js.error","error":{"message":"Uncaught SyntaxError: Unexpected strict mode reserved word","url":"http://<IP_ADDRESS>:3000/static/js/1.chunk.js","line":5237,"col":1,"errorObject":"{}"}}
E/Capacitor/Console: File: http://<IP_ADDRESS>:3000/static/js/1.chunk.js - Line 5237 - Msg: Uncaught SyntaxError: Unexpected strict mode reserved word
E/Capacitor/Console: File: http://<IP_ADDRESS>:3000/ - Line 361 - Msg: SyntaxError: Use of const in strict mode.
E/Capacitor: JavaScript Error: {"type":"js.error","error":{"message":"Uncaught SyntaxError: Use of const in strict mode.","url":"http://<IP_ADDRESS>:3000/static/js/main.chunk.js","line":464,"col":1,"errorObject":"{}"}}
E/Capacitor/Console: File: http://<IP_ADDRESS>:3000/static/js/main.chunk.js - Line 464 - Msg: Uncaught SyntaxError: Use of const in strict mode.

let { AdMob } = Plugins;

Above change in App.tsx removes the error Use of const in strict mode, but these errors appears:
E/Capacitor/Console: File: http://<IP_ADDRESS>:3000/ - Line 361 - Msg: SyntaxError: Unexpected strict mode reserved word
E/Capacitor: JavaScript Error: {"type":"js.error","error":{"message":"Uncaught SyntaxError: Unexpected strict mode reserved word","url":"http://<IP_ADDRESS>:3000/static/js/1.chunk.js","line":5237,"col":1,"errorObject":"{}"}}
E/Capacitor/Console: File: http://<IP_ADDRESS>:3000/static/js/1.chunk.js - Line 5237 - Msg: Uncaught SyntaxError: Unexpected strict mode reserved word
E/Capacitor/Console: File: http://<IP_ADDRESS>:3000/ - Line 361 - Msg: SyntaxError: Unexpected strict mode reserved word
E/Capacitor: JavaScript Error: {"type":"js.error","error":{"message":"Uncaught SyntaxError: Unexpected strict mode reserved word","url":"http://<IP_ADDRESS>:3000/static/js/main.chunk.js","line":464,"col":1,"errorObject":"{}"}}
E/Capacitor/Console: File: http://<IP_ADDRESS>:3000/static/js/main.chunk.js - Line 464 - Msg: Uncaught SyntaxError: Unexpected strict mode reserved word

Did you run npx cap update ? Maybe Plugin Object doesn't have AdMob now.

Yes all plugins are up to date & as I said old devices having issue.
For example. Emulator Nexus 4 API 22 , throwing the error.

I know what is the problem. The emulator chrome/webview version is too old. This is not a problem with the plugin.

So what is the workaround? Some devices have totally stopped running the app.

Again, that is not a problem with this plugin. Real devices with android 5.1 should be able to update their webview implementation if they correctly implement the Android base.
You can also add your typescript target to es3. That I will not recommend.

Ok

Thank you so much 👍


Add german translation

Add a german translation to the pattern as well as a reference in readme.md to the new pattern.
Additionally: minor bugfix in english pattern (absolute path in first image is now relative)

Thanks for the translation and pull request. Merged.


Update Example & Readme for v2.0.0 & Elm v0.18

Not sure what the best way to handle url updates is with Navigation 2.0.0, I added a UrlUpdate message and fed that to urlUpdate. If something should be done differently, please let me know.
Fixes #15

Thanks! I actually created a simplified version of the example before the release, but forgot to commit it. It should be updated now though.


az containerapp env dapr-component set returns a "DaprComponentInvalidRequest...must contain properties.ComponentType" Error

Issue description
I'm attempting to add a Dapr Component to the Container Apps Environment for my project, via the Azure CLI.
However, each time I issue the instruction to add  the component, I end up with the error shown in the images below:
Here's the instruction I issued to add the component:
az containerapp env dapr-component set --name %env% --resource-group %rg% --dapr-component-name azurekeyvault --yaml azurekeyvault.yaml (Command Prompt)
or
az containerapp env dapr-component set --name $env --resource-group $rg --dapr-component-name azurekeyvault --yaml       azurekeyvault.yaml (Powershell)

Note: env and rg are environment-variables I defined for the Container Apps Environment and the Resource Group respectively, within the terminal-sessions.
Command Issued Via The Command Prompt (With Error Message)

Same Command Issued Via Power Shell (With Error Message)

And Here's My Dapr Component Config File

Steps to reproduce

Install the Azure CLI

Add the containerapp extension with the following command:
az extension add --name containerapp --upgrade

Register the Microsoft.App and Microsoft.OperationalInsights namespaces with the following commands:
az provider register --namespace Microsoft.App
az provider register --namespace Microsoft.OperationalInsights

Create a secretstore config-file as shown above

Register variables as shown above

Navigate to the directory where the config-file was created and issue the command (s) shown above.

Expected behavior
I expected the Dapr Component to be added to the Container Apps Environment
Actual behavior
An error (as shown in the images above) occured.

Anyone looking into this, please?

Yes will investigate. Can you also confirm you ran the commands without environment variables to ensure the same behavior?

I could not reproduce your issue in powershell or on my mac using bash. I have a feeling your yaml file has some type of spacing issue.

I'm sorry, I could not reproduce your issue in Powershell or on my mac using bash. I have a feeling your yaml file has some type of spacing issue.

I had the same feeling about improperly formed yaml file, too. But, after re-writing my yaml file (for Azure Container Apps) so many times, with the same result, I gave up.
You should know, I run Dapr locally, with yaml files written for all components (secretstore and pubsub), and everything works perfectly. I only encounter this issue when I attempt to add Dapr Components (to a Container App Environment) via the CLI.
Anyways, In the interim, I have resorted to creating Container Apps Environments (and adding components) via the Azure Portal, and then using the CLI only when provisioning the Container Apps themselves.
Thanks for your help.

I am going to close this issue since you seem to have a solid workaround. Let me know if there's anything else we can help you with!

Yeah, it's still not solved though!

+1
still getting the same error, after following the documentation: https://learn.microsoft.com/en-us/azure/container-apps/microservices-dapr?tabs=bash%2Cazure-cli

Any news on this yet? I am running into the same problem. I would like to script my entire deployment and this is the only part that simply does not work. I have resort to the azure powershell commands for this part to work around this issue.


createStereoPanner unsupported by Safari

I've made a quick modification for my own project using createPanner() instead. Just posting it here in case you'd like to add it in as a fallback.
pan.txt

Good catch, thanks! I will keep this issue open until I add the workaround for Safari.


⚠ Jenkins Plugins Artifactory has degraded performance

In 79470bd, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1222 ms

Resolved: Jenkins Plugins Artifactory performance has improved in d89827f after 19 minutes.


saveToFile no longer required

saveToFile is no longer required in order to save to files.  The plugin has been deprecated in PyPhantomJS (1.3.0) in favor of the new official fs api (also available in regular PhantomJS). Enjoy!

Thanks. I took a look this evening at what it would take to support the newer version. It looks like the page is now run in a sandbox that does not have access to the "phantom" object. The current approach enables to loaded webpage to directly write to files via phantom.writeToFile. It looks like in 1.3.0 I would have to move the fs functions outside of the loaded webpage and into the JS file that is actually run by Phantom.
Does that sound correct, or am I missing something? As nice as sandboxing can be, in this case it will certainly make the reporter less straightforward as it will not be able to perform all actions directly.
Is there a better way?

AFAIK there isn't any easier way. The only solution I'm aware of is doing as much processing in the webpage as possible (page.evaluate), then, passing messages (simple object responses) back and forth between phantom and the page, and communicating that way. That's about as easy as it can be, until we find a better method to do this without compromising security.
P.S. Argument passing to page.evaluate is very difficult at the moment. casperjs currently has a pretty good way of doing it, if you ever need to do this. Take a look at line 266 and line 1327.

This example might help better explain it... Hopefully it answers your questions! Basically, evaluate will return when all the code inside evaluate is done, so you just use return on anything you need. I know it can get really messy and complicated however; we're looking for ways to improve this, but it could take awhile.
A postMessage solution would be pretty nice, but could also be a vulnerability (sadly), since any script inside the page could use it and could post false messages back.
var page = require('webpage').create();

page.onConsoleMessage = function(msg) {
    console.log(msg);
}

function replaceFunctionPlaceholders(fn, replacements) {
    if (replacements && typeof replacements === "object") {
        fn = fn.toString();
        for (var p in replacements) {
            var match = '%' + p + '%';
            do {
                fn = fn.replace(match, replacements[p]);
            } while(fn.indexOf(match) !== -1);
        }
    }
    return fn;
}

page._evaluate = page.evaluate;
page.evaluate = function(fn, replacements) {
    return page._evaluate(replaceFunctionPlaceholders(fn, replacements));
}

page.open('http://foobar.baz', function(status) {
    // do some stuff

    var passThis = 'somedata...';
    var res = page.evaluate(function() {
        // do some in page processing

        var somedata = '%myData%';

        if (somedata === 'somedata...') {
            // success in processing something
            return True;
        } else if (somedata === 'fail...') {
            // failed to process something...
            return False;
        }

        // returning some string or message
        return 'some message containing a result';
    }, {
        myData: passThis
    });

    if (res === True) {
        console.log('we succeeded!');
    }

});

Wow, yes, I see what you mean by difficult. Ultimately it's just rewriting the function and passing that in as text...
But thanks for the example, it got me thinking / playing. I can kludge this by using page.evaluate to inject a writeFile function into the global scope (or wherever) which stores filename=>data in a randomly-named hash; the host script can then check for the presence of data in that hash and, if found, do the work itself to write them out to disk. Definitely a kludgy solution but prototyping looks like it will work just fine, while still preventing the Jasmine runner script from knowing what is going on behind the scenes.
It restricts the jasmine reporter to writing files out via Phantom only if it is executed by a host script that injects / takes care of proxying the writeFile requests to fs.write but there are worse things.
Of course, this begs the question "is it worth it to upgrade from 1.1.0 to 1.3.0 in light of the required workaround." But I suppose since jasmine-reporters is intended as a helper library, I should probably bite the bullet and do the legwork to support the new version / bugfixes / features.
Not very often I feel like telling someone... thanks for the example and ideas for a horrendous, yet functional, hack.

Resolved in 058612c85b02f8cf9b5f45bdb36fee9d23e43bcb


PHP Catchable fatal error:  Argument 1 passed to GuzzleHttp\Handler\Proxy::wrapSync() must be an instance of GuzzleHttp\Handler\callable, instance of GuzzleHttp\Handler\CurlMultiHandler given

Hiya,
I'm very very new to this API and just tried installing it (manually by taking the files and placing the library in my project, I don't have access to composer for this one). I got version 2.4.0. It's entirely possible I'm missing something super obvious, sorry if it's that, I reckon I've just been staring at it too long.
I'm trying to call the Indexing API, using the supplied code snippet here:
require_once 'google-api-php-client/vendor/autoload.php';

$client = new Google_Client();

// service_account_file.json is the private key that you created for your service account.
$client->setAuthConfig('service_account_file.json');
$client->addScope('https://www.googleapis.com/auth/indexing');

// Get a Guzzle HTTP Client
$httpClient = $client->authorize();
$endpoint = 'https://indexing.googleapis.com/v3/urlNotifications:publish';

// Define contents here. The structure of the content is described in the next step.
$content = "{
  \"url\": \"http://example.com/jobs/42\",
  \"type\": \"URL_UPDATED"
}";

$response = $httpClient->post($endpoint, [ 'body' => $content ]);
$status_code = $response->getStatusCode();

I changed the values that needed changed, etc. but I'm now getting the following error:
[14-Nov-2019 14:12:58] PHP Catchable fatal error:  Argument 1 passed to GuzzleHttp\Handler\Proxy::wrapSync() must be an instance of GuzzleHttp\Handler\callable, instance of GuzzleHttp\Handler\CurlMultiHandler given, called in /u01/offline/library/GoogleJobs/google-api-php-client-2.4.0/vendor/guzzlehttp/guzzle/src/functions.php on line 107 and defined in /u01/offline/library/GoogleJobs/google-api-php-client-2.4.0/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php on line 22
[14-Nov-2019 14:12:58] PHP Stack trace:
[14-Nov-2019 14:12:58] PHP   1. {main}() /u01/offline/maintenance/GoogleJobs_Indexing.php:0
[14-Nov-2019 14:12:58] PHP   2. GoogleAds() /u01/offline/maintenance/GoogleJobs_Indexing.php:26
[14-Nov-2019 14:12:58] PHP   3. GoogleJobs::refreshAuth() /u01/offline/maintenance/GoogleJobs_Indexing.php:55
[14-Nov-2019 14:12:58] PHP   4. Google_Client->authorize() /u01/offline/library/GoogleJobs/class_GoogleJobs.php:64
[14-Nov-2019 14:12:58] PHP   5. Google_Client->getHttpClient() /u01/offline/library/GoogleJobs/google-api-php-client-2.4.0/src/Google/Client.php:360
[14-Nov-2019 14:12:58] PHP   6. Google_Client->createDefaultHttpClient() /u01/offline/library/GoogleJobs/google-api-php-client-2.4.0/src/Google/Client.php:1087
[14-Nov-2019 14:12:58] PHP   7. GuzzleHttp\Client->__construct() /u01/offline/library/GoogleJobs/google-api-php-client-2.4.0/src/Google/Client.php:1125
[14-Nov-2019 14:12:58] PHP   8. GuzzleHttp\HandlerStack::create() /u01/offline/library/GoogleJobs/google-api-php-client-2.4.0/vendor/guzzlehttp/guzzle/src/Client.php:65
[14-Nov-2019 14:12:58] PHP   9. GuzzleHttp\choose_handler() /u01/offline/library/GoogleJobs/google-api-php-client-2.4.0/vendor/guzzlehttp/guzzle/src/HandlerStack.php:40
[14-Nov-2019 14:12:58] PHP  10. GuzzleHttp\Handler\Proxy::wrapSync() /u01/offline/library/GoogleJobs/google-api-php-client-2.4.0/vendor/guzzlehttp/guzzle/src/functions.php:107

The code in question is here:
    $handler = null;
    if (function_exists('curl_multi_exec') && function_exists('curl_exec')) {
        $handler = Proxy::wrapSync(new CurlMultiHandler(), new CurlHandler());
    } elseif (function_exists('curl_exec')) {
        $handler = new CurlHandler();
    } elseif (function_exists('curl_multi_exec')) {
        $handler = new CurlMultiHandler();
    }

Let me know if you need me to supply any more info!
Having had a look I checked for other instances of guzzle, but haven't found anything. I'll keep hunting, but I just wanted to know if there was something obvious I am missing?

I think I successfully call Indexing API by the following code:
<?php
require __DIR__ . '/vendor/autoload.php';

if (php_sapi_name() != 'cli') {
    throw new Exception('This application must be run on the command line.');
}

/**
 * Returns an authorized API client.
 * @return Google_Client the authorized client object
 */
function getClient()
{
    $client = new Google_Client();
    $client->setApplicationName('Indexing API test');
    $client->setScopes(Google_Service_Indexing::INDEXING);
    $client->setAuthConfig('credentials.json');
    $client->setAccessType('offline');
    $client->setPrompt('select_account consent');

    // Load previously authorized token from a file, if it exists.
    // The file token.json stores the user's access and refresh tokens, and is
    // created automatically when the authorization flow completes for the first
    // time.
    $tokenPath = 'token.json';
    if (file_exists($tokenPath)) {
        $accessToken = json_decode(file_get_contents($tokenPath), true);
        $client->setAccessToken($accessToken);
    }

    // If there is no previous token or it's expired.
    if ($client->isAccessTokenExpired()) {
        // Refresh the token if possible, else fetch a new one.
        if ($client->getRefreshToken()) {
            $client->fetchAccessTokenWithRefreshToken($client->getRefreshToken());
        } else {
            // Request authorization from the user.
            $authUrl = $client->createAuthUrl();
            printf("Open the following link in your browser:\n%s\n", $authUrl);
            print 'Enter verification code: ';
            $authCode = trim(fgets(STDIN));

            // Exchange authorization code for an access token.
            $accessToken = $client->fetchAccessTokenWithAuthCode($authCode);
            $client->setAccessToken($accessToken);

            // Check to see if there was an error.
            if (array_key_exists('error', $accessToken)) {
                throw new Exception(join(', ', $accessToken));
            }
        }
        // Save the token to a file.
        if (!file_exists(dirname($tokenPath))) {
            mkdir(dirname($tokenPath), 0700, true);
        }
        file_put_contents($tokenPath, json_encode($client->getAccessToken()));
    }
    return $client;
}

// Get the API client and construct the service object.
$client = getClient();
$service = new Google_Service_Indexing($client);

$body = new Google_Service_Indexing_UrlNotification();
$body->setType("URL_UPDATED");
$body->setUrl("REPLACE_THIS_WITH_YOUR_URL");

$response = $service->urlNotifications->publish($body);

var_dump($response);

I hope it helps!