AllJoyn Explorer is broked when object registered with AJ_OBJ_FLAG_DESCRIBED

When alljoyn object is registered with AJ_OBJ_FLAG_DESCRIBED or with (AJ_OBJ_FLAG_DESCRIBED  | AJ_OBJ_FLAG_ANNOUNCED)  then AllJoyn Explorer shows 0 interfaces declared for the object.
Even though AJ Explorer  does not yet support AllJoyn Events and Actions API, it should use basic Introspection interface which is still available for the object.

Could you tell us more about the setup that you are using?
Specifically, are AllJoyn producers and AllJoyn Explorer running on the same machine? If so, please double check network isolation has been applied to both AllJoyn Explorer and producer application by following Troubleshooting section of the https://github.com/ms-iot/samples/releases/download/AllJoynExplorer_1.0.11/AllJoyn_Explorer_Setup_Guide_v1.0.pdf

@zhuridartem, I am using Router and thin client on Linux machine running 15.04 version of alljoyn.
The explorer itself is running on windows in the same network.

Hi demon-xxi,
My apologies regarding the time it has taken to reply but the team is confident they know the source of the issue now and have added a work item to their Agile backlog.
My understanding is that this will involve changes to the AllJoyn Explorer to add missing interface descriptions but as the team is Agile, I can not give you a timeline for when this issue will be addressed.
Sincerely,
IoTGirl
Sincerely,
IoTGirl


Is it Possible to Get Binary Representation of the Proof?

Is there a way to get the binary representation of the Proof object?
Looking at the host_utils::Proof methods, it has a save_to_file method but no method to get just the binary representation of it.
I'm thinking of doing something like this in the host code
    let (prove_fib, verify_fib) = guest::build_fib();
    let (output, proof) = prove_fib(50);
    let binary = proof.serialize(); // <-- something like this

If I look at host_utils.rs, it seems that Proof has internal function serialize_compressed but it's not exposed publicly.

The Proof struct implements Arkworks' CanonicalSerialize / CanonicalDeserialize. You should be able to call proof.serialize_compressed(writer).
fn serialize_compressed<W: Write>(
        &self,
        writer: W
    ) -> Result<(), SerializationError> { ... }


IE9 support

@john-oc
I can't get this to work in IE9, it only works in Chrome/Firefox. I have used the files described in the getting starting guide. I only have a plnkr, but I used the same code locally to test it out.
What do I need to do, to make this work?
Example code.
Thanks for this plugin
p.s. the demo works in IE9 (though there are some errors) but the latest source code (from this repo) not

Hi,
Sorry for the late response. I only have IE11 and 10, but can see this issue when I switch the browser mode to IE9 and Document Mode to IE9 Standards. So far I've not been able to find a solution, other than forcing Quirks mode (but that causes all sorts of layout issues!) I'll carry on looking into it.
John

@john-oc
Thanks for the response, I have updated my first post, because your demo works fine in IE9 with a couple of console errors I see.

@xtreemrage
OK, I'll look at what has changed since I put the demo together to see if I can pin down the problem.


FYI - Travis CI Failing

To anyone looking to contribute, the current Travis CI is failing because it has not been fully setup.  Currently the cbpro/ filepath is not a visible package to the tests, so a fix for this will be added soon to comply with PEP420.

For reference please see #326 where I have fixed up our CI. If you have any improvements let me know :)


Batch size of DPRNN_TasNet

Hi Kai,
I noticed that the bachsize in your training config of DPRNN_TasNet is 1. Have you tried larger batchsize? How is the performance compared with batchsize 1?
Thanks a lot!

I have compared the larger batch size settings, but through comparison, I found that the smaller the batch size is, the better the result is when using rnn. I haven't found a corresponding explanation for this problem so far.


Migrate TechRadar components to React Hooks + TypeScript

Related to the https://github.com/spotify/backstage/pull/628/files PR.
Feature Suggestion
For the plugins/tech-radar plugin for the Tech Radar we migrated the components which were internally written using class based components, higher order components (specifically withStyles from @material-ui/core) and without TypeScript.
In order for them to be in par with the rest of Backstage, they need updating:

Use makeStyles instead of withStyles from @material-ui/core
Use TypeScript
Use React functional components
Stretch: Add some additional unit tests for components

The components in question are located in plugins/tech-radar/src/components and here is a list:

Radar: https://github.com/spotify/backstage/tree/master/plugins/tech-radar/src/components/Radar
RadarBubble: https://github.com/spotify/backstage/tree/master/plugins/tech-radar/src/components/RadarBubble
RadarEntry: https://github.com/spotify/backstage/tree/master/plugins/tech-radar/src/components/RadarEntry
RadarFooter: https://github.com/spotify/backstage/tree/master/plugins/tech-radar/src/components/RadarFooter
RadarGrid: https://github.com/spotify/backstage/tree/master/plugins/tech-radar/src/components/RadarGrid
RadarLegend: https://github.com/spotify/backstage/tree/master/plugins/tech-radar/src/components/RadarLegend
RadarPlot: https://github.com/spotify/backstage/tree/master/plugins/tech-radar/src/components/RadarPlot

Possible Implementation

See above.
Context

Ensure the codebase is using 100% React Hooks, TypeScript and modern practices.

@bih I would like to work on this. Just found out about backstage, although I've currently not laid my hands on Typescript but I do have some experience with React so contributing to a production ready project would help me learn it. If you don't mind.

@vedantrathore Assigned! Let us know if you get stuck, more than happy to review :)

@vedantrathore How is it going?

Hey @bih, I've setup the backstage local development environment and I'm currently going through the source code and tweaking things here and there to understand how everything works and how Typescript is used in the project. I'm also reading more about Typescript because I don't have any experience with it.
I'll draft out a PR for the Radar component converted into Typescript till this weekend (sorry, couldn't do it faster as I have a full-time job as well 😞) and you can validate and correct me if I'm going in the wrong direction.
Also I couldn't join the Discord channel tho, It was saying that the invite was invalid. Can you look into that once please?
Thanks for help!

No worries! Was just curious to see if there’s anything I can do to help. Can review over the weekend too. I’ll look into the Discord invite URL!

Hey @bih, I read up about typescript and really love the philosophy behind using a strongly typed language. I do have a couple of noob doubts while I was working on refactoring the Radar component into Typescript though. It uses these proptypes which can be converted into the following types in typescript and can be passed into the props.
Radar.propTypes = {
  width: PropTypes.number.isRequired, // Required<number>;
  height: PropTypes.number.isRequired, // Required<number>;
  quadrants: PropTypes.arrayOf(PropTypes.object).isRequired, // Required<RadarQuadrant[]>;
  rings: PropTypes.arrayOf(PropTypes.object).isRequired, // Required<RadarRing[]>;
  entries: PropTypes.arrayOf(PropTypes.object).isRequired, // Required<RadarEntry[]>;
  svgProps: PropTypes.object, // object
};

So in the first static function adjustQuadrants it takes input the following input: adjustQuadrants(quadrants, radius, width, height) and eventually iterates over the quadrants and does some calculation on each quadrant using the following code.
quadrants.forEach((quadrant, idx) => {
  const legendParam = legendParams[idx % 4];

  quadrant.idx = idx;
  quadrant.radialMin = (idx * Math.PI) / 2;
  quadrant.radialMax = ((idx + 1) * Math.PI) / 2;
  quadrant.offsetX = idx % 4 === 0 || idx % 4 === 3 ? 1 : -1;
  quadrant.offsetY = idx % 4 === 0 || idx % 4 === 1 ? 1 : -1;
  quadrant.legendX = legendParam.x;
  quadrant.legendY = legendParam.y;
  quadrant.legendWidth = legendParam.width;
  quadrant.legendHeight = legendParam.height;
});

now since each quadrant object is of the type RadarQuadrant so the variables such as idx, radialMin etc were not available in the type definitions in api.ts so I added them accordingly.
export interface RadarQuadrant {
  id: string;
  name: string;
  idx: number | undefined; // I used undefined because these values are only modified in the adjustQuadrants method and are not from the api output.
  radialMin: number | undefined;
  radialMax: number | undefined;
  offsetX: number | undefined;
  offsetY: number | undefined;
  legendX: number | undefined;
  legendY: number | undefined;
  legendWidth: number | undefined;
  legendHeight: number | undefined;
}

A similar kinda process is being followed in the next method adjustRings as well where it modifies the RadarRing type. So I'm unsure whether this is the best way to proceed. Should I modify the existing types with optional params or make the interface Partial or extend this interface altogether to use in the Component?

Idiomatically one writes radialMin?: number in objects, signifying that they are optional.

Apologies, I'll update the comment.
On Sun, 3 May 2020 at 11:39, Fredrik Adelöw<EMAIL_ADDRESS>wrote:

Idiomatically one writes radialMin?: number in objects, signifying that
they are optional.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/spotify/backstage/issues/661#issuecomment-623060458,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADNQPC65CNBZIUACYOWT3OTRPUDDLANCNFSM4MR76AUA
.

Let's see what @bih says, but my two cents:
What's happening here is we're seeing an unfortunate effect of reusing DTOs for runtime dynamic purposes. Idealistically i would have wanted the RadarQuadrant split apart in one type for its rendering, and one for its metadata - what comes back from a service should strictly be immutable. But what you are doing sounds like it makes sense  given the circumstances. If it is to be refactored, that can be done separately some other day; what we have works, after all.

Hello @vedantrathore! Yep using the PropTypes is a great way to figure out the types you'll want to use. +1 on @freben's comment too.
Most of this logic is quite old and created several years ago, with some unusual React patterns, so the logic itself does need to be rethought. For your peace of mind, I do think it's out of scope for this issue though. Of course, if you'd like to, that's fine too - but ideally in a separate PR/issue than the one for this issue.

A similar kinda process is being followed in the next method adjustRings as well where it modifies the RadarRing type. So I'm unsure whether this is the best way to proceed. Should I modify the existing types with optional params or make the interface Partial or extend this interface altogether to use in the Component?

I would just have a separate interface that extends from it. Interfaces in the api.ts should be what anyone using the API should know about. I don't think they should know about idx, radialMin, etc. Something like:
export interface CalculatedRadarQuadrant extends RadarQuadrant {
  idx?: number; // I used undefined because these values are only modified in the adjustQuadrants method and are not from the api output.
  radialMin?: number;
  radialMax?: number;
  offsetX?: number;
  offsetY?: number;
  legendX?: number;
  legendY?: number;
  legendWidth?: number;
  legendHeight?: number;
}

And this doesn't need to belong in the api.ts as it's an internal implementation detail. This can just go inside the .ts file where it's being used.
Hope this helps!

@vedantrathore Any updates on this from your side?

@bih Apologies for the delay. While commenting on this issue in the beginning, I felt that I would be able to manage my time and work on this as well but the past few weeks have been super busy and unfortunately I couldn't. I'll unassign myself from this issue and hope to contribute in backstage in the future. Apologies for the inconvenience caused.

@vedantrathore No worries at all, thanks for showing interest in volunteering and hopefully we'll see you get involved in the near future ;)

Hi, I should have time to pick up this refactor if it's still looking for an owner 🙂

@NWCalvank Absolutely! It's assigned to you :) Let us know if you need any guidance!

Not sure if this is really a good place for the comment, but have you looked into https://github.com/AOEpeople/aoe_technology_radar seems like good piece to integrate

@NWCalvank thanks again for your contributions! If you don't mind, please open issues for the remaining tasks as you see them 🙏

Hi Team, do we have an update on how I can dynamically pass the URL for the MyClient.js ? Probably reading from the app-config.yaml? Since MyClient.js is a class component, I can't use hooks such as const config = useApi(configApiRef);

@iamdempa when you create an api factory (for the techRadarApiRef), you can declare a dependency on the config.
    createApiFactory({
      api: techRadarApiRef,
      deps: { configApi: configApiRef },
      factory({ configApi }) {
        // use the config and return something
      },
    })


fix route_length

fixes #416

By this argument you would need to do the same for straight and tapers. Because this would assume that your device might override what is physical length vs path lenght and therefore you wouldn't be able to use the standard anymore. Also if you want to integrate it, at least don't just make all the tests fail. As, now, all the factories would need to incorporate this. But I heavily disagree that all bends should have this. As this is rather an aggregated data than directly. And the class is called OpticalManhattanRoute after all.

@joamatab is the current update through #418 satisfactory?


Local audio source not being picked for Anki card on Android.

I have local audio set up on Android, but when making a card, it never picks the local audio option. Only the top web result is picked.
If I put my phone in airplane mode, I can verify local audio is working and is the top position for audio playback sources. But when I make a card, it won't pass the audio to Ankidroid (none at all, in fact, as there is no internet connection for web URLs).
When I take it out of airplane mode and have internet connection, it just grabs the first web audio source. Any idea what could be wrong?
Yomitan Info
General
Extension version: Yomitan <IP_ADDRESS>
Platform: Android
Browser: Chrome
Language: en-GB
User agent: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Mobile Safari/537.36
AnkiConnect version: Unknown (Anki not running or connected)
Installed dictionaries: JMdict (English), BCCWJ, CC100, ICR, JPDB, Narou, VN, JPDB Kanji, KANJIDIC (English), TheKanjiMap Kanji Radicals/Composition, 三省堂国語辞典　第七版, 実用日本語表現辞典, 新明解国語辞典　第八版, 旺文社国語辞典 第十一版, 明鏡国語辞典 第二版, JMnedict, JMdict Forms, アクセント辞典
AnkiDroid Version = 2.18.4 (f867da96b8304edaebd0361326316bc7514f8cde)
Backend Version = 0.1.38-anki24.04.1 (24.04.1 ccd9ca1a8309b80bcb50ddc5d99c7ce63440bce9)
Android Version = 13 (SDK 33)
ProductFlavor = play
Manufacturer = samsung
Model = SM-G986B
Hardware = exynos990
Webview User Agent = Mozilla/5.0 (Linux; Android 13; SM-G986B Build/TP1A.220624.014; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/128.0.6613.148 Mobile Safari/537.36
ACRA UUID = a3602bae-62bb-4d38-a82b-70e370fb44c1
FSRS Enabled = true
Crash Reports Enabled = true

I have local audio set up on Android, but when making a card, it never picks the local audio option. Only the top web result is picked.
If I put my phone in airplane mode, I can verify local audio is working and is the top position for audio playback sources. But when I make a card, it won't pass the audio to Ankidroid (none at all, in fact, as there is no internet connection for web URLs).
When I take it out of airplane mode and have internet connection, it just grabs the first web audio source. Any idea what could be wrong?
Yomitan Info General Extension version: Yomitan <IP_ADDRESS> Platform: Android Browser: Chrome Language: en-GB User agent: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Mobile Safari/537.36 AnkiConnect version: Unknown (Anki not running or connected) Installed dictionaries: JMdict (English), BCCWJ, CC100, ICR, JPDB, Narou, VN, JPDB Kanji, KANJIDIC (English), TheKanjiMap Kanji Radicals/Composition, 三省堂国語辞典　第七版, 実用日本語表現辞典, 新明解国語辞典　第八版, 旺文社国語辞典 第十一版, 明鏡国語辞典 第二版, JMnedict, JMdict Forms, アクセント辞典
AnkiDroid Version = 2.18.4 (f867da96b8304edaebd0361326316bc7514f8cde)
Backend Version = 0.1.38-anki24.04.1 (24.04.1 ccd9ca1a8309b80bcb50ddc5d99c7ce63440bce9)
Android Version = 13 (SDK 33)
ProductFlavor = play
Manufacturer = samsung
Model = SM-G986B
Hardware = exynos990
Webview User Agent = Mozilla/5.0 (Linux; Android 13; SM-G986B Build/TP1A.220624.014; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/128.0.6613.148 Mobile Safari/537.36
ACRA UUID = a3602bae-62bb-4d38-a82b-70e370fb44c1
FSRS Enabled = true
Crash Reports Enabled = true

having the same issue
did you figure it out by any chance ?

having the same issue
did you figure it out by any chance ?

Unfortunately not :(

having the same issue

did you figure it out by any chance ?

Unfortunately not :(

This is just sad. I can't figure out, how to let those files to be pushed into the card. If Yomitan receives the files, Anki should receive it back as well..


Error when trying to load plugin

Hi! I've been getting this error as of this morning when using Discord. I've tried restarting and un/reinstalling it as well.
Error:
TypeError: Cannot read property 'children' of undefined
at n.props.children (Who Reacted | GM Module:40:5988)

Hello! I have gone ahead and made a pull request for this issue, + Version Bump!
Hope this helps!
~ Dragon ~

hope so!


[BEAM-3138][BEAM-3573] Eliminate some test-jar deps

Test jars are for shipping tests (so you can, e.g. run them in a different place) but we use them incorrectly in a couple places for shipping libraries or resources. (We use them in a more-or-less acceptable way for ValidatesRunner tests and standard_coders.yaml test cases. But still, this does not work very well with tools because it isn't common or intended.)
This PR eliminates a bunch of (a) putting library code in test jars and (b) dependencies on said test jars.
Deps not eliminated:

external projects, as I don't know the background
beam-runners-core-java has abstract StateInternalsTest where runners extend it and provide stateInternals(). This is actually a problem waiting to happen because if it actually had any test scoped deps they would be get pulled in. Better would be a StateInternalsTester in the main jar or a testing utility, but then it wouldn't have the nice breakdown into JUnit test methods. I'm not sure that JUnit has any real way of making reusable tests like this.

Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue.

[x] Run mvn clean verify to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Filed https://issues.apache.org/jira/browse/BEAM-3748 about some false errors that came up. The API surface tests have been seriously broken for a long time. They still provide some coverage (too much) so leaving them non-sickbayed for now.

retest this please

run java gradle precommit


Error when exporting image in file to .docx, saying "could not fetch resource" and "does not exist" (although it does)

I have a file that I transclude an image into, which works when I export it to PDF, but when I try doing the same with Pandoc to turn it into a docx file, I get this error message.
Any ideas?
Thanks!

What's really weird is that the commandline version printed in the Obsidian error works for me, only if I run it from the commandline:
pandoc --from markdown --to pdf -o /path/to/vault/test_figure_captions.pdf --pdf-engine=xelatex /path/to/vault/test_figure_captions.md --template=paper_template.tex --resource-path="/path/to/vault/resources" --filter pandoc-fignos --filter pandoc-eqnos --citeproc
My entire markdown is here, with the resources folder under the vault (doesn't seem to work wherever I put the image files).  I can't get it to fetch the images at all, with either a pdf or docx export.
# Testing
Here is a test

![Original images](original_images.png){#fig:orig}

Some more text for Figure @fig:orig.

As of now i am using imagegur plugin , and it will work like charm along with pandoc plugin

As of now i am using imagegur plugin , and it will work like charm along with pandoc plugin

Doesn't that upload and then embed the images? What if I don't want it to upload my images?

Not sure if this is precisely the same case, but don't wan to add duI was testing poking around a bit today to help someone on discord, and found I also could not get image exports to work, although I could've sworn they did in the past. In my case, I believe the issue is related to the plugin's HTML conversion?

Attachments are stored in their own folder, specified in Obsidian's settings.
Using Obsidian/wikilink type image embed, e.g. ![[Pasted image<PHONE_NUMBER>4911.png]]
Using the "Export from HTML" plugin setting
Get "could not fetch resource" / "openBinaryFile: does not exist" errors
Error text indicates that Pandoc is looking for the images in the root folder, not the attachments folder
If I move the images to the root folder, the export will work
If I add the folder path into the image embed, the export will work, e.g. ![[Attachments/Pasted image<PHONE_NUMBER>4911.png]]
If I add a --resource-path argument in the plugin, the export will fail when using the "Export from HTML" plugin setting, but will succeed if I change the image embed to standard markdown and use the "Export from Markdown" plugin setting.

I am having exactly the problem with yours. Do you think there is any way to change all the links of the images at one time?

Ozan's image in editor plugin has a batch convert function to do this, but I haven't tried it myself yet.
https://github.com/ozntel/oz-image-in-editor-obsidian

Same problem. Please kindly fix :)

Hi, have there been any updates on this?
Thanks :)

I'm not sure it applies here but I can confirm

the plugin seems to have a problem in the settings with spaces in the values of  extra parameters like --resource-path
see issues #66 and #81
the ![[] syntax fails to produces images in the pandoc export. Changing it to equivalent  solves the problem (specifying a filter in Pandoc could remedy this or even beter transforming this in the plugin)

I did find a workaround for (path) spaces in plugin settings

Same problem here, interestingly it does find some of the files but not all of them. Would be amazing to see a fix for this.
Great plugin so far!

Same series of issues - image seems to have to be in the same folder as the document, but also running into errors as above when exporting Word

I had this same issue, I figured out solution for me.
by changing "New Link Format" to "Absolute path in vault" from Options --> Files & Links, worked for me.
Also my current settings for "Default location for new notes" is "Same folder as current file", this is not mandatory but just in case if solution doesn't work try changing this as well.

@HammadShamsi thank you for the tip. I changed my "New Link Format setting to "Relative path to file" which also works and also save guards the links should I later move the files.

I have tried several versions of the pandoc plugin for obsidian. Finally, the version 0.1.1 was found to work for exporting docx file. Comparatively, can we improve the new version 0.2.5 based on 0.1.1? If anybody can fix 0.2.5, please let me know. Thank you!

Hi everyone, check out this thread and the forks/new versions of the plugin linked there:
https://github.com/OliverBalfour/obsidian-pandoc/issues/88

"the ![[]] syntax fails to produce images in the pandoc export. Changing it to equivalent " can't work for me. Is there anything else I have to do. The pandoc version is 0.2.5 for me.

@aoqqf I think you will find that changing the new link format settings to "Absolute path in vault" or "Relative path to file" should work. For any old notes created prior to this setting being in place you will need to edit the links to set them to the new format.

After numerous attempts, I managed to solve this problem in the simplest way I expected. I uninstalled the plugin, restarted the computer and reinstalled the plugin. I also followed the tip to change new link format settings: "Relative path to file". In my case, Mac Os (old version), it worked.

Actually, relative path can be supported by simply appending +rebase_relative_paths to -f <input.format> in https://github.com/OliverBalfour/obsidian-pandoc/blob/8229273d854461b78d8606ba4136bf8018a478fa/pandoc.ts#L115
see https://github.com/jgm/pandoc/issues/3752#issuecomment-1004352568

I finally understood why this is happening. This is because I'm keeping my images / bibfiles in the icloud drive...

I'm experiencing this now.  This plug in is rather useless if basic Obsidian workflow makes it impossible to export.  Who wants to move all files to the root directory? Or change every single transmuted link?!!

Hi, you can check out this thread here https://github.com/OliverBalfour/obsidian-pandoc/issues/88 where people discussed how to proceed with the plugin. Most important, I think, is the fork by phillipjohnston here https://github.com/phillipjohnston/obsidian-pandoc that you can install via BRAT. Then the plugin should work as advertised. At least it did for me.

Seems we're dealing with an issue of how Obsidian records the file path in the markup, and then pandoc is not getting what it needs, this issue is still open. I preferably hope this is solved with an approach that can support images stored in a subfolder of the main folder that's being generated from. I think that will simplify organisation and also simplify what Markup needs be included.
A WORKAROUND WITH SOME MANUAL WORK:
After a bunch of jumping around I've got this working for myself (It still has some manual work involved when I add each image) but at least images are generating for me now. Here's an alpha release of a small guide I've started working on with a way to get images outputting. https://github.com/evolve2k/obsidian-pandoc-academic-word-doc-guide/#2-embeds-your-images

Well I'll appreciate if u get this of the phone I know it's on here some please get it off

Well I'll appreciate if u get this of the phone I know it's on here some please get it off

Hi. İn the files pref. Use absolutr path and turn of wiki links.

@hakantetik That's what I'm doing, but now it says "could not fetch resource".
Really confused now.

Found the solution
I had the same problem, and I think I found the solution. I recorded a video to help you out. Here is the link: https://youtu.be/pKawg6mPWE4

Found the solution
I had the same problem, and I think I found the solution. I recorded a video to help you out. Here is the link: https://youtu.be/pKawg6mPWE4


Update s3, sdk-core, sqs to 2.17.77

Updates

software.amazon.awssdk:s3
software.amazon.awssdk:sdk-core
software.amazon.awssdk:sqs

from 2.17.38 to 2.17.77.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "software.amazon.awssdk" } ]

labels: library-update, early-semver-patch, semver-spec-patch

Superseded by #351.


Make Epochs and EpochsTFR more consistent

Currently, mne.Epochs and mne.time_frequency.EpochsTFR (and the related mne.time_frequency.AverageTFR) behave a bit inconsistently. Specifically:

EpochsTFR should have some attributes/methods that are present in Epochs, e.g. time_as_index.
I can get the number of epochs with len() for Epochs, but this does not work for EpochsTFR. It would be nice to make len also work, but even better it would be useful to have this stored in an attribute (e.g. n_epochs).
Epochs.crop returns a copy, whereas EpochsTFR (and also AverageTFR) operates inplace
EpochsTFT.crop says it returns an instance of AverageTFR in its docstring
epochs.get_data() returns the data, whereas you have to do epochs_tfr.data for an EpochsTFR object.

There might be more, but this is all I found so far by just working with these objects (I haven't explicitly searched for inconsistencies yet).
Do you agree that these objects should be more consistent? Or are there specific reasons why they behave differently?

yes more consistency is better
and yes crop should operate inplace but for epochs it may be tough...

OK, I'll make a PR. I'd add an inplace parameter to crop. Then we could even have different default values if there are good reasons. Why do you think operating inplace may be tough for epochs? Personally, I'd set the default to inplace=False for both Epochs and EpochsTFR.

see
https://mne-tools.github.io/dev/tutorials/philosophy.html#mne-gives-you-objects-with-methods
we removed all inplace or copy=True | False params to say "all methods
operate inplace"

OK, then I guess crop should indeed operate inplace even for epochs. Or why did you think it might be tough?

yes exactly but I don't know how easy it would be for non-preloaded epochs

I've never cropped non-preloaded epochs, but I'll see what I can come up with. I've added another point to the list in the initial comment.

Adding to that list: EpochsTFR seems to not store/maintain the metadata field that is present in the Epochs structure; this means that Epoch indexing based on the metadata table (a feature I love for the Epochs structure) doesn't work for the EpochsTFR.
Currently I'm working around this by making sure there is always an epochs object loaded alongside it, which has the corresponding indices in the EpochsTFR structure stored in a  separate column. After selecting a subset of Epochs, this column can help me select the corresponding subset from EpochsTFR -- this all works but seems hopelessly inefficient

@wkruijne can you be more specific? What exactly do you use for indexing that is only available in Epochs?

I'm referring to indexing as described here:
https://martinos.org/mne/stable/auto_tutorials/plot_metadata_epochs.html
In my case, it could be something silly as:
epochs_unilateral = epochs["practice == 'no' & lateral=='unilateral'"]

yes that would be nice to have. We could do this with a  MetaDataMixin
class to factorize the logic of pick epochs that match a certain query

I just noticed that this already came up some time ago, so linking this to #3556 for reference.

Would be super cool if you could tackle #3556 @cbrnr

I will, only ATM I don't have much time, but I'll get to it.

For the EpochsTFR objects I need the specific (trial) index numbers to make this work -- and in particular make sure that these trial numbers are still aligned after, say, dropping epochs by annotation.

I don't see any means for indexing in EpochsTFR currently. Other than indexing the data directly, EpochsTFR.data, and creating a new EpochsTFR instance with the selected trials. Is that what you mean @wkruijne ? If yes, it would be great to also include this more basic functionality similar to Epochs where you can index directly (e.g.):
first_ten_epochs = epochs[:10]
I'm happy to help as needed!

My understanding is that @wkruijne would like to be able to do something like this:
TFR_fast = TFR_all['RT < 0.5'].average()

yes it is as simple as this. We just need a volunteer to do this :)

I can try my hand at this.

Just to clarify:

I don't see any means for indexing in EpochsTFR currently. Other than indexing the data directly,(...) Is that what you mean @wkruijne ?

Yes, I currently make a new object from a data subset. -- but indexing the same data segments from an  Epoch- and EpochsTFR objects then becomes cumbersome because they can not be indexed in the same way.

My understanding is that @wkruijne would like to be able to do something like this:

Yes. That too.

eventually, EpochsTFR.__getitem__ should support everything Epochs.__getitem__ does.

That's what it boils down to, I  guess.
Thanks everyone!

Closed due to #5762


Custom URL Possible?

Is it possible to define a custom URL instead of choosing from the list of environments in your drop down? I am trying to do that in the settings, but it does not appear to accept anything i put in to the connectionList settings. Defining the "env" variable doesn't seem to work, unless I use the format from one of your defined endpoints in the dropdown (ex: https://e2-enterprise-services1.myworkday.com/ccx|1)
"erp-helper.connectionList": [
{
"name": "Company",
"tenant": "company",
"url": "https://wd1-services1.myworkday.com/ccx",
"username": "User@company",
"password": "Password!!!!2"
}
]

@axisfx24 - That's correct.  It's similar to Workday Studio where a defined set of environments are allowed.
I'll look into adding some flexibility in the settings.  I've run into a similar challenge when I would like to connect to my Workday Extend tenant.
For now, if you want to get adventurous, I was successful in updating the code at this location:
On Windows (I'm sure there is a similar location for Mac), you can edit the extension.js file to modify the list of environments.
C:\Users{your username}.vscode\extensions\whitleymedia.erp-helper-1.1.0\dist\extension.js
Search for "https://e2" to find the list of environments.


Update schema json

Should fix CI failures in #513

this is actually already covered by https://github.com/compose-spec/compose-go/pull/509


Refactor pass implementation

The current pass implementation is hard to parse. We should implement some class at least that reflects the expectation of the runtime library.

For example, move instrumentation function creation to semantically named methods, e.g., getOrCreateJitLaunchKernelFunction


Petkit fresh element 6L

Hello
Great integration :-) I have this one for a while. Do you think it would be possible to support it ?
https://petkit.us/products/petkit-element-wi-fi-enabled-smart-pet-food-container-feeder
Currently the integration only send back number.cat_set_weight
Thanks a lot

Send me a personal message on discord (you can find me in the petkit discord server). I'll need access to the account to identify the internal model given to the feeder by PetKit as well as what options are available.

Thanks @RobertD502  !
This is so great :-)


operator hive-operator (1.2.3933-3d7df9a)

Update Hive community operator channel(s) [['alpha']] to 1.2.3933-3d7df9a

/merge possible

/merge possible


Preserve file mode in templates

Fixes #46. Pardon my novice python, any edits welcome :)

LGTM, but you'll need to fix the tests (& it would be great if you added new ones specifically for this). @crwilcox to do the final review while I'm OOO.


:tada: driver redux-little-router

[X] dispatch redux-little-router actions
[X] router selectors / helpers
[x] tests
[x] review: selectors / helpers names
[x] review: add or remove selectors / helpers
[x] documentation

Pull Request Test Coverage Report for Build #185

23 of 23 (100.0%) changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.2%) to 98.355%

Totals

Change from base Build #179:
0.2%

Covered Lines:
202

Relevant Lines:
203

💛  - Coveralls

Here a discussion about drivers selectors (to avoid discussion in outdated code review) :

Here what @fabienjuif is actually using in these projects :
export const getRouter = state => state.router
export const getParams = state => getRouter(state).params
export const getId = state => getParams(state).id
export const getTitle = state => getRouter(state).result.title
export const getRoute = state => getRouter(state).route
export const getPathname = state => getRouter(state).pathname
export const isScreen = (title, isDefault) => (state) => {
  const retrievedTitle = getTitle(state) || (isDefault && title)
  return retrievedTitle === title
}

I propose as basic selectors :
router.get() // equivalent to state.router
router.getParam(key) // equivalent to state.router.params[key]
router.getQueryParam(key) // equivalent to state.router.query[key]
router.getResultParam(key) // equivalent to state.router.result[key]

I think pathname, query... can be easily retrieved by router.get().pathname.  But this argument can be also true with my proposed selectors.
And then, do we propose more complex selectors/helpers with recursive search of params, route matching...
What do think about it ?

It is a good start :)
Don't overthink this.

If you are looking for the missing line in test: https://coveralls.io/builds/15585561/source?filename=packages%2Fdrivers%2Fredux-little-router%2Fsrc%2FreduxLittleRouter.js#L17 😇

@fabienjuif @guillaumecrespel I think we can merge this first version of the driver, and then make it evolve in other PRs. I let you merge it if you are ok with it.


Ensure that the dsgrid EFS period-ending datasets are being mapped correctly to project time

All the data_source = "dsgrid_efs" datasets have 2012 EST, period-ending time. Is this already being handled correctly? If not, we need to implement the mapping.

Most important things to do:

Throw error if converted dataset timestamps do not match project timestamps
Provide the method for this particular conversion


How to detect a cancelled order? Also how do you acknowledge/consume a purchase?

I've been using a fairly outdated gdx-pay and recently noticed that my cancelled orders code doesn't work. so I updated gdx-pay to 0.9.0 (tried 1.1.0 but came up as "Failed to resolve"). But am still using code based on a very old example (https://bitbucket.org/just4phil/gdxpayexample/src/master/android/), I tried reading through the example on the gdx-pay github but it's fairly confusing to me and the one I linked seems to work as purchases are working fine.
The only real problem is I can't seem to detect cancelled orders. I purchased a order using a tester account and then went to my google play console and refunded it with the revoke checkbox checked. But in my code I am expecting the following to return false if the order was cancelled, instead the transaction ceases to exit at all.
public PurchaseObserver purchaseObserver = new PurchaseObserver()
    {
        @Override
        public void handleRestore (Transaction[] transactions)
        {
            for (int i = 0; i < transactions.length; i++)
            {
                if(transactions[i].getIdentifier().equalsIgnoreCase("removeads") == true)
                {
                    if(transactions[i].isPurchased() == true)
                    {
                        myInterface.getRemoveAdsCheckbox().setText("X");
                    }
                    else
                    {
                        myInterface.getRemoveAdsCheckbox().setText("");
                    }
                }`
            }
        }
    }

There's also handlePurchaseCanceled () in the purchaseobserver but it never gets called. I thought of a work around where I can check if a transaction exists for each iap and if it doesn't then it's cancelled but I don't know if that would have unforseen side effects?
another seperate question (should I create a seperate issue for this? I am a bit unfamiliar with github practices). I recently read about the google billing 2.0 changes requiring us to acknowledge purchases within 3 days or they are autorefunded, does gdx-pay do this already or is it using an older version of google billing? aka does this effect gdx-pay users in anyway? and if we did want to consume a purchase how do we go about doing that?

Did you try to declare the core dependency in your android subproject?

Alright, I had implementation project(":core") in my main gradle android dependencies but I tried adding implementation "com.badlogicgames.gdxpay:gdx-pay-client:$gdxPayVersion"  to the android dependencies as well, though I think the readme just said to add it to the core dependencies. That seemed to fix the PurchaseManager not found issue. I had to adjust some of my other code as well since some of it didn't work the same with the latest version but it seems to be working now as it sees my previous purchases. But I am still unsure about my initial questions as updating didn't seem to change those issues.
I'l repeat them here:

How do I detect cancelled orders? I cancelled a purchase with the revoke box checked and it no longer shows in my transactions, I was under the impression that to detect a cancelled order you check transactions[i].isPurchased() and if it returns false then the order was cancelled, but instead the transaction doesn't have a record at all anymore. I also have handlePurchaseCanceled in my purchaseobserver but it never gets called either.

How do we consume a purchase?

I recently read about the google billing 2.0 changes requiring us to acknowledge purchases within 3 days or they are autorefunded, does gdx-pay do this already without any additional code or is it using an older version of google billing? aka does this effect gdx-pay users in anyway?

That's the behaviour of Google Billing. A cancelled order is not returned any more.
handlePurchaseCanceled is called by some billing services if a purchase flow is cancelled.

They are consumed automatically if it is a consumable item.

This lib still uses an older version. When we update to 2.0, there will be no changes required by games because the acknowledging can take place in the lib.

So there is no way to revoke an iap at all? That seems unusual, couldn't users just abuse the playstore refund policy to buy iap and then immediatley refund them and keep the iap? Is there any reason not to detect them the way I mentioned in my initial post (if there is no longer a transaction record then the item was refunded and reverse their purchase)?

Not on the client, if you want 100% security you need to use your own backend and the server api to validate the transaction.

Ah, I mean i'm not concerned about the occasional person getting through that knows how to break the system as all my purchases are limited to 1 purchase and usually aren't pay to win style iap. More of mass abuse from normal people. I updated my last reply to include a code example of what I meant. But it sounds like that wouldn't work at all? so i'll close the issue. Thanks for the help.


Bug Report: Regular Combo Graphic Shown in Pixel Stages, as well as normal numbers being shown on combo reset/initial combo.

Which target are you using?

Windows

What version of the engine are you using (Bottom left of the screen in main menu) ?
1.9.1
Have you identified any steps to reproduce the bug? If so, please describe them below in as much detail as possible. Use images if possible.
Play any of the pixel songs.
Please describe your issue. Provide extensive detail and images if possible.
The combo graphic is the normal version instead of the pixel version, and the combo number also shows as the normal version of the numbers when the combo is started or reset.

fixed


[BUG]  System.Exception: Signature does not match!

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.

What problem did you encounter?
installing and then : System.Exception: Signature does not match!

.

https://github.com/pizzaboxer/bloxstrap/wiki/"Signature-does-not-match!"-error-when-launching-Roblox
Respond if you have any further questions.


Not Less Than (≮) may render incorrectly in Chrome and other Chromium-based browsers

Chrome Android (doesn't render perfectly):

But Noto Sans Symbols Subsetted does come after Noto Sans Vai.
Firefox Android (renders perfectly!):

But the font stack is Roboto, Google Sans (Text), Lato, Noto Sans CJK Android, then Noto Sans Symbols.

Chrome and other Chromium-based browsers render ≮, while Firefox renders ≮.


Add Upsolver documentation to DBT docs

What are you changing in this pull request and why?
Adding documentation for dbt-upsolver
Checklist

[x] Review the Content style guide and About versioning so my content adheres to these guidelines.
[ ] Squash commits of this PR when merging

Adding new pages (delete if not applicable):

[x] Add page to website/sidebars.js
[x] Provide a unique filename for the new page

@mirnawong1 @tommorris @dataders Can anyone please suggest how to proceed towards merging this documentation?

@navado thanks for opening this up! one note is that we're not currently accepting contributions for quickstarts, so if you can drop that, we can get this merged! hopefully the quickstart can have a home on y'all's docs site.

@dataders Thanks for reply.
I removed the Quick Start Guide from this PR. Is it possible to merge?


Add new articles to TOC

Summary
Add Broadcast and UDF guides to TOC
Preview Link:

Toc
docs/spark/toc.yml
https://review.docs.microsoft.com/en-us/dotnet/spark/toc.json?branch=pr-en-us-19015

@dotnet/docs can I please get a review when anyone gets a chance. Thank you.


Update java versions

Motivation:
There are new java version
Modifications:

Switch to sdkman
Update all java versions to latest patch release

Result:
Use latest java versions on the CI

@1Jo1 its to be able to use it on all kind of different systems without issues.


Start work on code generation

Codecov Report
Attention: 89 lines in your changes are missing coverage. Please review.

Comparison is base (9db368f) 83.47% compared to head (9209cfd) 79.77%.

Files
Patch %
Lines

src/Escalier.Codegen/Printer.fs
29.09%
78 Missing :warning:

src/Escalier.Codegen/TypeScript.fs
0.00%
10 Missing :warning:

src/Escalier.Codegen/Library.fs
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #30      +/-   ##
==========================================
- Coverage   83.47%   79.77%   -3.71%
==========================================
  Files           4        7       +3
  Lines        1743     1864     +121
  Branches      249      263      +14
==========================================
+ Hits         1455     1487      +32
- Misses        288      377      +89

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[Android] I/flutter ( 8707): PathAccessException: Cannot copy file to '/storage/emulated/0/MyFolder/MYPDF.pdf', path = '/storage/emulated/0/Android/data/com.example.myproject/files/copyme.pdf' (OS Error: Operation not permitted, errno = 1)

Steps to reproduce
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.ACCESS_MEDIA_LOCATION"/>
<uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" />
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE"
   />

     <application
    ...
    android:requestLegacyExternalStorage="true"

Flutter Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.3.0, on Microsoft Windows [Version 10.0.19045.4170], locale en-IN)
Checking Android licenses is taking an unexpectedly long time...[√] Android toolchain - develop for Android devices (Android SDK version 32.0.0-rc1)
[√] Chrome - develop for the web
[!] Visual Studio - develop for Windows (Visual Studio Build Tools 2019 16.11.17)
X The current Visual Studio installation is incomplete. Please reinstall Visual Studio.
[√] Android Studio (version 2021.2)
[√] VS Code (version 1.87.2)
[√] Connected device (4 available)
[√] HTTP Host Availability
! Doctor found issues in 1 category.
Device android versions 11

Closing this as a duplicate of https://github.com/flutter/flutter/issues/40498
Kindly subscribe to the original issue for updates.
Thank you

(OS Error: Operation not permitted, errno = 1) In my case there is no duplicate problem, I try to copy the file but my new file uses (:) in the name. So I was getting an error


Preserve color when inverting emojis

Fixes: https://github.com/go-gitea/gitea/issues/17795
Windows:

Mac:

Hmm Github somehow approved this while my browser crashes - Anyhow, I wanted to add a comment to my approval
"We should lookout for using invert+hue-rotate as they can create weird sub-pixel artifacts, but that's another issue for another day."

We should lookout for using invert+hue-rotate as they can create weird sub-pixel artifacts, but that's another issue for another day.

I never noticed anything like that on Mac or Windows at least. Maybe it's a Linux-only issue.

I never noticed anything like that on Mac or Windows at least. Maybe it's a Linux-only issue.

I've seen it happening on Windows as well - it's more how browsers are rendering certain things. It's most noticeable on text-like elements which get inverted. It shouldn't be a big problem in this case, but it's not something that should be used everywhere.

Yeah I recall there having such issues with filter on non-text content, but I guess those are ultimately browser rendering bugs. Doing it on text-only seems fine in any case.


What is the role of the Python code?

Hello, I am learning the source code of your project. I would like to ask what is the function of the Python code in it? I did not find the content compiled by the Python code in the plug-in compressed package downloaded from the plug-in market.

In fact, there is no python code. This should be universal.

In fact, there is no python code. This should be universal.
OK， thanks for the reply.

In fact, there is no python code. This should be universal.

OK,thanks for the reply.


feat: add getForeignKeys & extract commands & add types

Just had a look and it's working well 👍
You can merge it I think


Getting real time data feeds  in  smart contract with Chainlink

Hii sir , please assign this issue to me ,
In this i want create a smart contract   which can get     the real time data feeds  with the help of the  chainLink  API .
The folder structure is ; Level1/Chainlink/RealTimedata.sol

Great @test-account09 , Start  working on this


Add animated texts, colour changing background and button improvements

#1046 Add animated texts, colour changing background and button improvements
Close #1046
Checklist:

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

Why this fail has to do something with the Nexflix-clone project. I've done my work on the prefix and postfix calculator ?


Add conversion API functions

JerryScript-DCO-1.0-Signed-off-by: László Langó<EMAIL_ADDRESS>

LGTM.
Deciding what should happen if an error object is an argument applies here as well.

LGTM


Slimes

The slime spawner dont work

+1 - possibly due to being outside of slime chunks, but can't confirm.


Page content doesn't make sense in the context of the downloaded repo

The advice on this page to download the samples project and run the sample solution doesn't really make much sense in the context of the samples project downloaded - there are many folders in the repo but none of them are obviously a samples solution and I can't see any that match the things talked about on this page.

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

ID: 487b81a9-774e-2157-dfd3-21d879d750e2
Version Independent ID: 7f414e21-e1b7-f657-0a00-3ef21697161c
Content: Sample: Create a custom activity
Content Source: ce/customerengagement/on-premises/developer/sample-create-custom-activity.md
Product: d365ce-op
GitHub Login: @JimDaly
Microsoft Alias: nabuthuk

Hi Jim, thanks for the reply and yes that would suit the problem out I
think - these were all new concepts to me when I was looking them up and I
was a bit lost in the samples project trying to relate the text in the
article to the samples project downloaded so a reference to where exactly
to find the code described in the article would be perfect I think.
On Thu, 22 Jun 2023, 16:55 Jim Daly, @.***> wrote:

@skoggimord https://github.com/skoggimord
Thank you for your feedback.
I have an idea about why this is confusing and how to fix it. I'd
appreciate it if you can confirm.
The first paragraph in this article is:
This sample demonstrates how to create a custom activity using
CreateEntityRequest
https://learn.microsoft.com/en-us/dotnet/api/microsoft.xrm.sdk.messages.createentityrequest?view=dynamics-general-ce-9&preserve-view=true
and CreateAttributeRequest
https://learn.microsoft.com/en-us/dotnet/api/microsoft.xrm.sdk.messages.createattributerequest?view=dynamics-general-ce-9&preserve-view=true.
You can download the sample from here
https://github.com/Microsoft/PowerApps-Samples/tree/master/dataverse/orgsvc/C%23/CustomActivity
.
The link at the end of that paragraph would take you to
https://github.com/Microsoft/PowerApps-Samples/tree/master/dataverse/orgsvc/C%23/CustomActivity,
which is the location of the sample.
We should change the instructions to be:

Download or clone the Samples
https://github.com/microsoft/PowerApps-Samples repo so that you have
a local copy.
(Optional) Edit the cds/App.config file to define a connection
string specifying the instance/organization you want to connect to.
Open the
PowerApps-Samples\dataverse\orgsvc\C#\CustomActivity\CustomActivity.sln
solution in Visual Studio and press F5 to run the sample. After you specify
a connection string in cds/App.config, any sample you run will use that
connection information.

The dataverse\webapi\C#-NETx\WebAPIService sample is something else
altogether.
What kind of sample are you looking for?
—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/dynamics-365-customer-engagement/issues/3051#issuecomment-1602904236,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APQSSW5J6WOVWSNMK34QL7DXMRTGZANCNFSM6AAAAAAZQGHT74
.
You are receiving this because you were mentioned.Message ID:
<MicrosoftDocs/dynamics-365-customer-engagement/issues/3051/1602904236@
github.com>

@skoggimord
Thanks.
We have a lot of sample pages to fix. Created a workitem to address this.
3458660


feat(toast-plate): added extra classnames for closer

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.003%) to 80.079%

Totals

Change from base Build<PHONE_NUMBER>:
0.003%

Covered Lines:
7823

Relevant Lines:
8866

💛  - Coveralls


added binary and insertion sort and binary search

I have done things code + explanation

@ADARSHULTIMATE  please review it once

@ADARSHULTIMATE please review it once : just the codes

Something's wrong with the logic?


Block Library: Create New Block Button

If the user wants a fresh slate for creating a new block, they can press this button to load the starter workspace (with factory_base block loaded)  you get when you first load the page.

factory.js: create showStarterBlock function
block_factory_expansion.js: add button handler for creating a new block
index.html: add new button

This change is

@evd2014 @vicng @picklesrus

Review status: 0 of 3 files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Review status: 0 of 3 files reviewed at latest revision, 1 unresolved discussion, some commit checks failed.

demos/blockfactory/factory.js, line 900 [r1] (raw file):

 */
BlockFactory.show = function(elementID) {
  document.getElementById(elementID).style.display = 'inline';

Looks like maybe a bad merge?  I thought you needed this to be block.

Comments from Reviewable

Review status: 0 of 4 files reviewed at latest revision, 1 unresolved discussion.

demos/blockfactory/factory.js, line 900 [r1] (raw file):
Previously, picklesrus wrote…
> Looks like maybe a bad merge?  I thought you needed this to be block.

I re-made the change in this pull request so that it will get merged into master.

Comments from Reviewable

Review status: 0 of 4 files reviewed at latest revision, 2 unresolved discussions.

demos/blockfactory/block_factory_expansion.js, line 1 [r2] (raw file):

/**

Old code?

Comments from Reviewable

Review status: 0 of 3 files reviewed at latest revision, 2 unresolved discussions.

demos/blockfactory/block_factory_expansion.js, line 1 [r2] (raw file):
Previously, vicng wrote…
> Old code?

just rebased! and deleted this file

Comments from Reviewable

Review status: 0 of 3 files reviewed at latest revision, 2 unresolved discussions.

Comments from Reviewable

Review status: 0 of 3 files reviewed at latest revision, 2 unresolved discussions.

Comments from Reviewable


MSTest framework with Xamarin.Mac Version 2.0

Description
Hi, I'm currently trying to get the MSTest framework installed on the MacOS version of Visual Studio, but I am getting the following message: "Could not install package 'MSTest.TestAdapter 1.3.2'. You are trying to install this package into a project that targets 'Xamarin.Mac,Version=v2.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author." Is there more information regarding this topic or is it not supported at this time?

closing this issue, unfortunately it doesn't seem we are picking this anytime soon


Turn of Quick Accent while in games automatically

Description of the new feature / enhancement
When a game is in focus, disable Quick Accent
Scenario when this would be used?
when trying to play a game, as to not disrupt the experience
Supporting information
No response

/dup https://github.com/microsoft/PowerToys/issues/21531.


Correction for raw affiliation Haihe Laboratory Sustainable Chemical Transformations, Tianjin 300192, PR China

Correction needed for raw affiliation Haihe Laboratory Sustainable Chemical Transformations, Tianjin 300192, PR China
raw_affiliation_name: Haihe Laboratory Sustainable Chemical Transformations, Tianjin 300192, PR China
new_rors:
previous_rors: 03q99v794
works_examples: W4391097497
contact: a700d7f71b4f408a7dd724db6fc796c1:90499e43d223118365e756b7b72f @ univ-lille.fr

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


The published web app can no longer be used in accounts where API Access Control block unknown apps

Bug summary
Any specific steps to reproduce the issue?
Try to add the app client_id in API Access Control here. Click the Add app link and supply the client_id.
https://admin.google.com/ac/owl/list?tab=configuredApps
client_id<EMAIL_ADDRESS>Since the client_id can not be found, it can't be added to the allowed list.
Oath of good faith

[X] I, the author of this Issue, do solemnly swear that I've looked real hard for duplicate issues and I came up empty!!

This is an issue with your GSuite account settings, I don't have control over this configuration

@NoSubstitute try with this ID:<PHONE_NUMBER>45-e81q4d30k615fsr942krcejaajriv23a.apps.googleusercontent.com
It worked for me.

It worked for me.
Hello @santi-ifontana - thanks for trying to help.
Adding that, I get one step closer, but I'm still blocked.

This is the URL.
https://accounts.google.com/signin/oauth/danger?authuser=0&part=SomeUniqueValueHere&flowName=GeneralOAuthFlow&hl=sv&as=SNumbersHere%3AOtherNumbersHere&client_id=983475130545-e81q4d30k615fsr942krcejaajriv23a.apps.googleusercontent.com&rapt=SomeOtherUniqueValueHere
I am trying to limit access to only necessary things. So I didn't choose Trusted, but instead Specific Google data.

@NoSubstitute At first I also tried "Specific Google data" to limit the scope, but that did not work for me either.
Only "Trusted" seems to work. Also remember that you are pre-whitelisting, not actually giving permissions by selecting Trusted, only when you follow the wizard with your user is that you are allowing permissions into your account.
Please try again and let me know :)

Yeah, setting it to Trusted works, but that makes the Specific data setting pointless. 😞
Thank you.

Yeah, I agree. I don't know why it does not work when you set the specific access, maybe because it is in BETA as displayed there.
Also, this additional step of grating additional access was not necessary, something happened on Google's side enforcing greater control.

Oh, enforcing granted access is by default for Workspace for Education for users Under-18, as Google forced the setting to Block API access for all unknown third-party services, which is something all organisations should have set as default a long time ago, when the feature was introduced in API access Control.
It was one of the best days of my working life when I could just tick a single box, and no external Login with Google-junk was accessible, unless pre-approved by me.

That explains why you had this issue since 2023 and the rest of us just recently https://github.com/ericyd/gdrive-copy/issues/193
I didn't know, thanks for that clarification.


Publish 17.0.3+7 build for aarch64 Mac

What are you trying to do?
Update the temurin17 cask to 17.0.3.
Expected behaviour:
https://github.com/adoptium/temurin17-binaries/releases/tag/jdk-17.0.3%2B7 has binaries for macOS aarch64.
Observed behaviour:
No binaries exist for macOS aarch64, though the previous release does have them: https://github.com/adoptium/temurin17-binaries/releases/tag/jdk-17.0.2%2B8.
Any other comments:

We are still working on the testing for this release and will publish once that is complete. Please see https://github.com/adoptium/adoptium/issues/140 for the current status - this will be published as soon as is practical (And we're hoping to include a JDK11 in this cycle too!)
I'm going to close this since it's being worked on and the update will be in the other issue once it is complete.


encode to 1-bit

any way to encode into 1-bit ?

@thbl you have to attach new encode function for that.


[Request] 大佬 能否添加 https://github.com/jonaskohl/CapsLockIndicator

App name CapsLockIndicator
description A small utility that indicates the state of the Num lock, Caps lock and Scroll lock key.
website https://github.com/jonaskohl/CapsLockIndicator
where to download https://github.com/jonaskohl/CapsLockIndicator/releases
the license Apache License 2.0
special note 绿色便携软件

https://github.com/zhoujin7/tomato/blob/master/bucket/CapsLockIndicator.json


How to compile this into the WASM?

Hi @yukiarimo , I believe no special action is required for this code, if you are able to build code for WASM, you are also able to build this for WASM.
If you use bazel for builds, it suffices to add --config=wasm --features=wasm_simd to the command line.
I am not as familiar with WASM using CMake, are the Emscripten docs helpful?

Yeah, I would try. Emscripten docs are quite complex to read for me.

Closing, please feel free to reopen if you'd like to discuss specifics :)


Create services with node-local networks

docker service create explicitly takes in --network option to let user select a globally scoped network for which swarmkit can allocate and manage resources.
But --network is optional and if the user doesn't specify one then swarmkit doesn't setup any network or allocate network resources ( one exception is -p where swarmkit uses the default ingress network ).. In such a scenario docker daemon uses the node-local default network, docker0 bridge in Linux or nat in Windows, etc...
This proves that swarmkit and services are robust enough to work in node-local network setup. Infact, there is absolutely no special case to support this scenario and that means the same logic must work for other node-local networks such as --host, --none or other user-defined bridge network or macvlan or ipvlan drivers. (there has been a few requests to enable this  as well)
But, we don't have the UX/API to enable this functionality & this is a proposal to enable that support.
node-local networks (aka local-scoped networks) needs resource allocation and management done locally by the engine in the same traditional ways. Hence swarm manager cannot be involved in such a node specific resource allocation. Hence it is not appropriate to overload the --network keyword in docker service create to convey the same functionality. Infact, (as per @mrjana) this feature can be considered more of a network constraint applied by the swarm manager and schedule the task only on the nodes on which the corresponding node-local network is present.
In order to achieve this, we can consider either of the following UX -

overload the --network API in docker service create that will take in node-local networks as well and make a decision to use a global-scoped network if present or apply the network constraint to filter schedule the tasks only to those nodes where the node-local network is present.
introduce a new --net-constraintflag (apologies on poor choice for the flag name), and that is explicitly meant for such a constraint mechanism and scheduling the task on appropriate nodes.

In either case, the only role of swarmkit is to schedule the task on a particular node and the rest of the functionality is handled at the engine level just as it is done today for the default case.
ping @mrjana @icecrime @al @stevvooe @cpuguy83

also ping @jpetazzo . This will help with your request for --network=host use-case.

Do local networks have to be created in advance, or should a service carry all the information to create that network on the node it's scheduled on? Comparing this to how -v named-volume:/foo differs from --mount ..., where --mount contains the full definition of the volume to create. Similarly, we may implement a flag that contains the full definition of the network to create if it doesn't exist.

@thaJeztah I don't think we should be doing that. We must just use it as a constraint to schedule the tasks on those nodes where the network is already present. A similar proposal was put forward for docker run and we decided to stay with the idea of letting the operator to manage the networks while container is placed on the network.

Questions:

Would it make sense to express constraints with --constraint instead of a separate flag?

I guess there is a good reason if you propose a different flag, but I'm wondering. :)

What about --publish with node-local networks?

When the container ends up having a network sandbox, I suppose that it is possible (and relatively reasonable) to support it.
In the case of the host network, it still makes sense (it would mean that the IPVS load balancer would serve request to services running on the host namespace) but it would be trickier:

either IPVS sends traffic directly to the hosts, and traffic then goes unencrypted on the underlay;
or we want traffic to be encrypted, and then we have to use a trick to force it on an overlay.

As far as I'm concerned, I'm fine with forbidding --publish together with --net <host-local> for now (since it can always be designed and added later).
Other than that – I think that this will be very useful. Thanks for coming up with this design!

@jpetazzo thanks for the feedback.

Would it make sense to express constraints with --constraint instead of a separate flag?

My assumption is that constraint is a manager only operation to select a node to schedule a task. The node itself doesn't get involved in how the constraint is applied or the content of it. If we have to overload the constraint for node-local networks, then the node must look into this field and extract the network value to apply it on the local containers while scheduling the task. am not certain if such a special case is acceptable.

What about --publish with node-local networks?

--publish results in routing-mesh by default (via the ingress overlay network). If we have to think this proposal as a constraint, then it shouldn't matter if a service is connected to ingress network for the north-south traffic and another node-local network on individual nodes where it is ultimately placed. Since we support services connected to multiple networks, this will naturally work without any special cases.
But it might cause a confusion on the user's mind if the constrained node-local network will handle the publishing (or) if it is managed by the routing-mesh.  Having said that, the current UX docker service create -p 80:80 --network foo xxxxxx will result in a similar scenario where -p results in routing-mesh and the service connected to network foo as well.  That makes it inline with the existing functionality.

@jpetazzo as you can see in https://github.com/docker/docker/issues/27266, am using the selector approach to match on labels. Please share your feedback.

@mavenugo Why not define a default network that will grow as nodes join?

We should look at this in light of https://github.com/docker/swarmkit/pull/1645 as well

@thaJeztah i dont think these are related. but sure we can discuss the relationship.

@stevvooe not sure if I follow.
The intention of this proposal (we can certainly replace the current label approach to another - maybe constraints-based) is to let the user handle local resource management at the node level and relieve swarmkit of the duty of node-level resource allocation/management. There are multiple use-cases that triggered this requirement. Especially those local-scoped network plugins that has stronger ties to the location of a node (such as macvlan/ipvlan)

the subnets must come from a particular range per node
parent interface should be specified (also per node)
next-hop neighbor could be a ToR switch with a specific IP (again per node-config).

I create "mynet" bridge network on every swarm node, I want to use mynet now, but it doesn't work. I really need the future to choose my own node-local network now instead of overlay network.

@rootsongjc other than "I need this", can you add more information about your use case? e.g., why does your use case need a local network, and not an overlay network; such information can be helpful when designing/developing a feature.

@thaJeztah I have a docker plugin named "docker-ipam-plugin" https://github.com/rootsongjc/docker-ipam-plugin I need to make a flat network in my company so that the docker hosts and containers can recognize each other and the containers will get the fixed IP address. This is very helpful and we realized it in docker 1.11 applied to hadoop yarn. Now I hope I can use my own local node network other than overlay network inn docker1.12 swarm mode.
NETWORK ID          NAME                DRIVER              SCOPE
01b1d643b734        bridge              bridge              local
a5cc6b68aa89        docker_gwbridge     bridge              local
ed079ba7b63f        host                host                local
eideqqvbuslp        ingress             overlay             swarm
85fec12c0870        mynet               bridge              local
9edec16bc302        none                null                local

Our case is to be able to access the service from the host (or container which is not a service) via tcp/udp.
Think of monitoring agents that pull stats from a service via an endpoint or special port.  How to actually access the endpoint from the host when it just exists on the overlay network?  Adding the container to a local network seems a good solution.
We made this to help us out in the meantime.

Thanks @rootsongjc @JustAdam, that's helpful
@JustAdam

Our case is to be able to access the service from the host

I think that should be possible without attaching it to a local network;
docker service create --name foo nginx:alpine

docker inspect --format '{{ .NetworkSettings.IPAddress }}' <container-id>
<IP_ADDRESS>

curl <IP_ADDRESS>

<!DOCTYPE html>
<html>
<head>
<title>Welcome to nginx!</title>
<style>
...

or container which is not a service

I think that should work as well from inside a container;
docker run --rm alpine sh -c 'apk add --no-cache curl && curl <IP_ADDRESS>'
...
(4/4) Installing curl (7.51.0-r0)
...
<!DOCTYPE html>
<html>
<head>
<title>Welcome to nginx!</title>

One trick is also to join the network namespace of the service container;
docker run --rm --network=container:<container-id> alpine sh -c 'apk add --no-cache curl && curl localhost'
...
(4/4) Installing curl (7.51.0-r0)
...
<html>
<head>
<title>Welcome to nginx!</title>
<style>

For docker 1.13, an option is added to make overlay networks "attachable" for non-service containers (with the --attachable flag);
docker network create -d overlay --attachable test-network
7d9otkjb5uo8ahwbt01pxld8g

docker service create --name web --network test-network nginx:alpine
dhofpt8pmfq7crannil6yc4gt

docker run --rm --network test-network alpine sh -c 'apk add --no-cache curl && curl web'
...
(4/4) Installing curl (7.51.0-r0)
...
<html>
<head>
<title>Welcome to nginx!</title>
...

We have a release candidate available for testing docker 1.13 (not recommended for production, as it may still contain bugs); https://github.com/docker/docker/releases

@thaJeztah The services are attached to a custom overlay network so I don't think that will work.
$ docker network create -d overlay test-net
aqom28oa5pphkgce62yzx1tp8

$ docker service create --name web --network test-net nginx:alpine
85cl37a81oacugb7if5uqo7oh

$ docker inspect -f "{{ .NetworkSettings.IPAddress }}" web.1.xxx

$

The test-net network is not routable from the host so using that IP address is also out.   Having the container on the local bridge network seems to be the easiest solution (and mimics how things would be without SwarmKit).
The --attachable flag looks a good solution for non-service containers, there is still the case for host level access.

@rootsongjc with docker 1.13, docker service create supports plugins. The only restriction is that the plugins must be global scoped so that Service Discovery and Load-balancing can work seamlessly across the nodes. So, in order to take care of your requirement, can you make your network and ipam plugin to be global scoped ? That way, you get the best of both worlds.

@JustAdam PTAL : https://github.com/docker/docker/pull/27917, which brings in node-level access to each container launched via service create. With this, you can get individual container access via tcp/ucp ports (just like one can access a container via docker run -p x:y tcp/udp port) for monitoring and other purposes. Does that satisfy your requirement ?

@jpetazzo @aluzzardi @stevvooe @thaJeztah we have 2 different kinds of requirement here.

Host level access to the containers launched via docker service create. We introduced #27917 to alleviate some of the requirements. But some use-cases are more performance sensitive with a tighter underlay integration. So, they prefer --host support for such scenarios. When it comes to non-swarm-mode use-cases, docker networking doesn't add any Service-Discovery or Load-Balancing primitives to --host mode. But with swarm-mode, supporting --host mode without SD/LB might impact use-cases which depend on such seamless access which we come to expect of swarm-mode. If we have to support --host mode for docker service create, should we take up the SD/LB challenge as well ? (Note : --host is a special case)

Generic support for node-local networks for docker service. This use-case is applicable for those scenarios where containers needs individual routable ip-address in the underlay (such as macvlan & ipvlan drivers/plugins) and these drivers typically rely on dedicated subnet per node. Having such node-level configuration doesn't work well with global network drivers because of the centralized management at the swarm-manager level. Hence, we depend on node-local networks to deal with distributed network management. one down-side of this would be that swarm-mode cannot provide SD and internal LB for such local-scoped networks. The users must supply SD/LB functionality to these containers. Do you think it is confusing at the user level to provide this node-local network feature and let them handle the SD/LB ?

@mavenugo Approved! I think if we use the node-local network, we have to handle the Service Discovery and Load Balance by ourself.

@mavenugo Yes I think so, as long as this works :smile:;
docker service create --network test-net --publish target-port=1234,published-port=<IP_ADDRESS>:1234,mode=host ...

@JustAdam What's the docker version you running the command?

@rootsongjc It should work from 1.13.  See #27917

FYI Lots of discussion about that one; after UX consistency review it was decided that it will be renamed to --publish before 1.13 GA

@mavenugo Are there any news concerning this ticket? We are using the commercial data center version and this feature is the last piece which is missing in our architecture. Our security department only allows docker with macvlan, no other, so we need to manage services with macvlan driver...

@SilentHunter124 can you PTAL my comment above and confirm if you are okay with the limitation of swarm-mode will not be providing SD & LB for these containers and the apps have to rely on the user provided external SD & LB ?

@mavenugo I can confirm that a Service Discovery is not neccessary when the container gets the static ip address using --ip (or otherwise) and also a load balancer is not required when launching a service with known ip addresses, an external load balancer can be configured using these known addresses... Do you understand my thoughts?

@SilentHunter124 yes. I understand your point. Being a service driven work-flow, you will not be able to use the --ip static-ip address for the containers. And yes, with macvlan and proper underlay integration, external load-balancer integration will be pretty smooth. The only trick would be for you to program the external LB dynamically with the container IP  as and when the service scales up/down. Which I believe you would have thought of given you are asking for macvlan underlay integration ;-)

@mavenugo The external F5 Load Balancer has an API for that and jenkins is doing the job automatically with deploying the container. Can you explain a little bit more about how to assign ip address of a macvlan container? Simply without swarm it would be: docker run -d --net=macvlanXXX --ip=x.x.x.y --name=nameX+1 <imagename, how do you achieve it in your proposal?

Was able to get it work "oldway" with
docker service create --name my-web --publish mode=host,target=80,published=80 --mode global nginx
Looks good, but I wonder are you planning to add this functionality to "docker-compose.yml" file?
Unfortunately have not found anything according to this mode in (docker-compose file reference).
Also checked with network_mode: host, but it was ignored as expected.
Compose file:
version: '3'

services:
    redis:
        image: redis
        # restart: always
        network_mode: host
        ports:
            - "6379"
        logging:
            driver: "json-file"
            options:
                max-size: '1m'
                max-file: '5'
        #healthcheck:
        #    test: ["CMD", "curl", "-f", "http://localhost"]
        #    interval: 30s
        #    timeout: 5s
        #    retries: 3
        deploy:
            mode: global
            #mode: replicated
            #replicas: 2
            update_config:
                parallelism: 1  # number of containers to update at a time
                delay: 5s  # time to wait between updating a group of containers
            restart_policy:
                condition: any
                delay: 1s
                window: 5s
            placement:
                constraints:
                    - node.role == worker
                        #- node.labels.role != common
            resources:
                limits:
                    memory: 1g
                    cpus: '2'

@thaJeztah in relation to what are the concrete use case needs, in our case we are working on containerised VNF, and for us the benefit would be:

performance: overlay networks are less performing that ipvlan / host ones
direct control of routing for network service chaining: everything behind the overlay network, is kind of out of control. to which instance will you connect? how do you chain an external service to a a specific docker service instance inside a swarm cluster?

of course, you could achieve everything giving up on docker swarm, and self orchestrating the different docker-engines, but then you will have the burden of managing service status yourself across the single engines, while docker swarm is currently taking care of that.
@mavenugo while i agree with the discussion above on the fact that there is no need for swarm load balancing support (you can easily use an external one or one self-setup in the swarm), i think that exactly in relation to facilitating the automatic re-configuration of the load balancer, still some level of service discovery would be beneficial. not sure what's the complexity in there to have the ability to update dns in the swarm taking into account ipvlan / host ips. (i am quite naive on some docker architecture aspects, sorry for that)

Our use case centers on needing to route Docker Services through a specific VLAN and gateway (while having the host's on another VLAN), which we can achieve with the macvlan driver (as I understand it).

In lieu of having VIPs provisioned, such as with overlay, are there currently events created in an event stream during global-scoped network join / leaves, or if not, are there any plans to have a generic reverse proxy / LB plugin API perhaps? I would be interested in wiring this implementation to something like haproxy in my environments, to implement a transparent load balancing solution, which seems to be missing with no VIP creation. Is there any API assistance for an integration like this on a roadmap, or already available?

I have a docker plugin named "docker-ipam-plugin" https://github.com/rootsongjc/docker-ipam-plugin I need to make a flat network in my company so that the docker hosts and containers can recognize each other and the containers will get the fixed IP address.

@rootsongjc, I would be interested if you have updated your IPAM plugin to support 1.13, or have plans to. It is a good example of how to handle IPAM, and I would like to use it as an example of how to implement IPAM in the future.

@eyz sorry, after such a long time to reply you. I have no plan to update it to support docker 1.13, as we have migrated to Kubernetes and make use of flannel as a network plugin.

@rootsongjc, no problem. Also, I've made my own IPAM plugin since then.


how to use software?

Hello. I am a big fan of Imperialism II game and I have one idea - I would like to create new larger Europe 1502 map with some real nations in 1502 like Holy Roman Empire, Ottoman, Hungary, Habsburg Monarchy and Poland. I have right map editor to do this but here I need to extend size of map from right side (Europe on map will be larger) and I would like to edit couple graphics (flags , photo of ruler and colors of builings of 1 nation). I am very interested in using your software (description sounded really cool!) but I am not too experienced in these kinds of applications. Can you please help me and describe how to install it and use it for IMP2? What should I do here? Can you write me how can I make Europe map wider (add +15 hexes more to right) Sorry for my English ;) It is not my native language. Thanks for any help. Your software can help me a lot! 👍 ) Regards Daniel

hello I found a way to extra files with your great software. Thank you :) But can you please write how to extend size of map (to make it larger?) - I saw you wrote about it here https://remake.twelvepm.de/forum/viewtopic.php?t=1143
Thanks for any reply.


ci: update what checks are required for PRs

fix #549

@JoshuaKGoldberg could you update these settings manually in the repo settings? Then #547 should then automerge. This PR can then be merged after that. I'll then rebase #531 off then latest main.


Bulk Updater problem

Trying to run the bulk updater example from the latest version of the SDK. The only change I made was to initialize the SDK with my own app ID and token. In MainActivity.java, I am getting a list of ConfigurableDevice objects from the scan callback.
public void onDevicesFound(final List<ConfigurableDevicesScanner.ScanResultItem> devices)
However, the BulkUpdaterCallback is always returning the onError callback and giving the following LogCat message:
12-16 11:33:18.645 7235-7235/com.estimote.bulkupdater W/EstimoteSDK: com.estimote.sdk.connection.scanner.ConfigurableDevicesScanner$1.failure:314 Not starting bulk updater - cannot fetch devices to update

Hello @arslanmustafa
It seems like some temporary problem with our Cloud. Could you confirm, that this is still happening?
Also, you can consider switching to our new SDK 1.0.0 with completely new Bulk Updater :)


chore(ci): add aws-sdk group and ignore middy upgrades in examples

Description of your changes
This PR adds @aws-sdk group to the root level dependabot updates. I have additional moved the ignore block for @middy/core to example specific folders.

Related issues, RFCs

Issue number:  closes #1883
Checklist

[x] My changes meet the tenets criteria
[x] I have performed a self-review of my own code
[ ] I have commented my code where necessary, particularly in areas that should be flagged with a TODO, or hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my change is effective and works
[x] The PR title follows the conventional commit semantics

Breaking change checklist
Is it a breaking change?: NO

[ ] I have documented the migration process
[ ] I have added, implemented necessary warnings (if it can live side by side)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

We did not have ignore block yesterday and we had the same behaviour: no upgrades for root, but upgrades for examples projects. The default versioning-strategy is set to auto which tries to guess if it should upgrade or not, and also ignore the package.json version cap.

auto | Try to differentiate between apps and libraries. Use increase for apps and widen for libraries.

My assumption is that dependabot treats examples as app and tries to widen the version. See more under versioning-strategy docs


Crashes on iOS8.1

I have been using this code for a while and it worked perfectly. However, when I try to run the same code on iOS8.1 there is a crash in the printToPDF function on the call to drawPageAtIndex.
Is anyone else seeing the same problem?

It turns out that while this crashes in the simulator, it runs ok on a device. Hence clearly it's a simulator bug. Can't believe it took me so long to try this code on an actual device. :-/

It does not work at all. Crashes without any reason.


Support for Individual Migration History Table IdentityServer4.EntityFramework

Issue / Steps to reproduce the problem
I am trying to set a custom MigrationHistoryTable name for the ConfigurationDbContext and PersistentGrantDbContext, but when I run 'dotnet ef database update' the Migration History table name always gets created prefixed with 'dbo_'.
However, this works for AspnetIdentity though and I am able to create a separate MigrationHistory table for that. So I think its a bug? Is there a workaround?
Code I am using for ConfigurationDbContext
public class ConfigurationDbContextFactory : IDesignTimeDbContextFactory<ConfigurationDbContext>
    {
        ConfigurationDbContext IDesignTimeDbContextFactory<ConfigurationDbContext>.CreateDbContext(string[] args)
        {
                var optionsBuilder = new DbContextOptionsBuilder<ConfigurationDbContext>();
                optionsBuilder.UseSqlServer(idsSettings.DatabaseSettings.ConnectionString,
                 x => x.MigrationsHistoryTable(Constants.MigrationsHistoryTable,
                          idsSettings.DatabaseSettings.SchemaName));
                var configStoreOptions = new ConfigurationStoreOptions
                {
                      DefaultSchema = idsSettings.DatabaseSettings.SchemaName};
                }
               return new ConfigurationDbContext(optionsBuilder.Options,configStoreOptions);
        }
    }

I also tried the below instead, but same results
return new ConfigurationDbContext(optionsBuilder.Options, new ConfigurationStoreOptions
         {
             ResolveDbContextOptions = (provider, builder) =>
             {
                 optionsBuilder.UseSqlServer(idsSettings.DatabaseSettings.ConnectionString, x => x.MigrationsHistoryTable(Constants.MigrationsHistoryTable, idsSettings.DatabaseSettings.SchemaName));
             },
             DefaultSchema = idsSettings.DatabaseSettings.SchemaName
         });

Code that works for AspnetIdentity
public class UserProfileDbContextFactory : IDesignTimeDbContextFactory<UserProfileDbContext>
    {
        UserProfileDbContext IDesignTimeDbContextFactory<UserProfileDbContext>.CreateDbContext(string[] args)
        {
            var optionsBuilder = new DbContextOptionsBuilder<UserProfileDbContext>();
            optionsBuilder.UseSqlServer(aspnetIdentitySettings.DatabaseSettings.ConnectionString,
                x => x.MigrationsHistoryTable(Constants.MigrationsHistoryTableName,
                    aspnetIdentitySettings.DatabaseSettings.SchemaName));
            IOptions<AspnetIdentitySettings> options = Options.Create(aspnetIdentitySettings);
            return new UserProfileDbContext(options, optionsBuilder.Options);
        }
    }

Not sure -- I never tried to do that. But our EF library is minimally involved -- it's more just a wrapper around the EF config system. You might need to grab the EF project and debug into to figure it out. If you make any progress and you think there's something missing from how we do wrap the EF layer, let us know.

All set on this issue -- can we close?

Yes we can close. I haven't found time yet to debug but since I am at least able to separate out aspnet identity in its own history table, I can leave identity server migrations in dbo.
The reason I wanted to separate database migrations into their own schemas was because EFCore removed the context key column from migration history table. So if I have schema name 'Init' for my multiple dbcontexts, their migration entries appear to be _Init. Its not easy without spending effort correlating migration files with table entries to figure out which _Init migration belongs to which dbcontext.
By the way, I figured out a way to automate the schema name generation altogether so I am at peace now.

Just in case this is still needed, try this on your ConfigureServices Method:
options.ConfigureDbContext = b =>                     b.UseSqlServer(connectionString,                         sql => sql.MigrationsAssembly(migrationsAssembly).MigrationsHistoryTable("ConfigMigrationTable", "MySchema")

Thanks, I will give this a try


Conda installation

Conda installation method

Currently, I can't support conda installation method, since I'm currently not using conda and unfamiliar with it. If you want conda, please see this stack overflow question and the conda docs on installing pypi package using conda. It should be something like this:
conda install -n myenv pip
conda activate myenv
pip install matpower[octave]


[backport] fix Link tutorial’s linear layer document math

Backport of #3909

jenkins, test this please.

LGTM!


Copy-SqlDatabase - Suggestion to allow specifying file location on destination server

Ability to specify on destination server where to put files (not using default location for data and log, but specific custom location).

hey @paololec - good news/bad news ;D This is indeed supported, but you'll need to use
Backup-DbaDatabase | Restore-DbaDatabase
Backup to a shared directory then use $DestinationDataDirectory & $DestinationLogDirectory or $FileMapping


Error “sharp.node is not a valid Win32 application” on Electron x64

I'm integrating sharp into Electron 8.0.2 x64, and here's the console output of Electron info:
console.log(`${JSON.stringify(process.versions)}`)
VM1371:1 {"node":"12.13.0","v8":"8.0.426.16-electron.0","uv":"1.32.0","zlib":"1.2.11","brotli":"1.0.7","ares":"1.15.0","modules":"76","nghttp2":"1.39.2","napi":"5","llhttp":"1.1.4","http_parser":"2.8.0","openssl":"1.1.0","icu":"65.1","unicode":"12.1","electron":"8.0.2","chrome":"80.0.3987.86"}
console.log(`${JSON.stringify(process.arch)}`)
VM1376:1 "x64"

I've also run the following command to built sharp into binary compatible with Electron:
cd node_modules/sharp
call node-gyp rebuild --target=8.0.2 --arch=x64 --dist-url=https://electronjs.org/headers

However, when I tried to run the sharp functions inside Electron, the following error was thrown:
node_modules\\sharp\\build\\Release\\sharp.node is not a valid Win32 application.

I've also downloaded the compiled binaries on github which is sharp-v0.24.1-electron-v76-win32-x64.tar.gz, replaced the dll and node files, but the same error was still there.
Kindly please help take a look into it, and thanks a lot in advance.
ps. below is the info of my laptop:
  System:
    OS: Windows 10 10.0.18363
    CPU: (8) x64 Intel(R) Core(TM) i5-8300H CPU @ 2.30GHz
    Memory: 574.04 MB / 7.74 GB
  Binaries:
    Node: 12.4.0 - C:\Program Files\nodejs\node.EXE
    npm: 6.9.0 - C:\Program Files\nodejs\npm.CMD
  Utilities:
    Git: 2.17.1.
    FFmpeg: 3.4 - C:\Program Files\ImageMagick-7.0.8-Q16\ffmpeg.EXE
  Languages:
    Go: 1.12.9 - C:\Dev\Go\bin\go.EXE
    Java: 1.8.0_144
    Python: 2.7.16

regards,
Hanbo

Hi, did you see https://sharp.pixelplumbing.com/install#electron including the use of electron-rebuild?

Hi @lovell
Thanks for your quick reply, actually I followed the procedures and made no difference, and here're the logs. Actually I found out the sharp.node was not even updated. By the way, do you have any clue why the pre-built sharp binaries not working?

Thanks for the hint, I ran the rebuild command again as the following:
C:\Dev\myWorkspace\SmartekWorks\SWATHub\robotNG\engine-js\node_modules\sharp>npx electron-rebuild -v 8.0.2
npx: 164 successfully installed.
√ Rebuild Complete

It seems the sharp.node file was replaced by the one same as the pre-built version, and unfortunately the same error is still there.

You need to run npx electron-rebuild in the C:\Dev\myWorkspace\SmartekWorks\SWATHub\robotNG\engine-js directory that contains your package.json file so it can detect the version of electron and search for all native module dependencies.

Thanks for the suggestion, but I'm afraid I can not do that because electron is not involved in this engine-js module, because engine-js is a sub-module which will be imported into another electron project.
As you may know, we also imported robotjs which also requires rebuilding, and the following commands take effect:
cd node_modules/sharp
call node-gyp rebuild --target=8.0.2 --arch=x64 --dist-url=https://electronjs.org/headers

cd ../robotjs
call node-gyp rebuild --target=8.0.2 --arch=x64 --dist-url=https://electronjs.org/headers

So I just wonder the reason why the same command applies to robotjs but not to sharp, and even the pre-built version can not work. Look forward to your investigation, thanks a lot!

One more message just FYI, the same source and same commands work on macOS. I've no idea what's the difference inside the rebuilt procedures between these two systems.

The use of electron-rebuild ensures the correct prebuilt binaries are used for your version of Electron. Both sharp and robotjs provide prebuilt binaries that are designed to work with electron-rebuild so you don't need to call node-gyp.

Hello, I am experiencing the same thing. In my case Sharp is part of another package. electron-rebuild doesn't seem to get a proper bin.

@bswhb My best guess would be that the use of node-gyp rebuild is deleting the entire node_modules/sharp/build directory so it will be missing DLLs. Does manually running the following command afterwards restore them?
node node_modules/sharp/install/dll-copy.js

(Using the recommended electron-rebuild instead of node-gyp should avoid this.)

I hope this information helped. Please feel free to re-open with more details if further assistance is required.


travis auto deploy, changed name to @fs/experiment

[x] Build pushed branches on travis
[x] Add NPM_PUBLISH_TOKEN to travis settings

you should close this PR and make a new PR going into the artifactory-publish branch


build: add org-wide commitlint

Proposed changes
Commitlint at the organizational level to enforce the conventions for commit messages.
Types of changes
What types of changes does your code introduce to Scuffle?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] Documentation Update (if none of the other choices apply)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have read the CONTRIBUTING doc
[x] Lint and unit tests pass locally with my changes
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have added necessary documentation (if appropriate)
[ ] Any dependent changes have been merged and published in downstream modules

Further comments
-/-

whats happening on this PR why are there commits which are unrelated to here?