Update macOS/iOS implementations, fix queue family transfers, implement window resizing for all examples

This is a fairly sizeable pull request that updates the macOS/iOS implementation for on-par functionality vs. Windows and Linux, but is still subject to Vulkan API limitations imposed by MoltenVK (e.g. no geometry shaders,  no raytracing, etc).  I probably should have broken this contribution into multiple smaller pull requests, but feature and regression testing on macOS, iOS (both sim and hardware), Windows, and Linux proved more efficient this way.
In addition, I have made some generic changes that hopefully helps for all platforms:

implemented window resizing viewChanged() for all examples, including multiview and multisampling
fixed queue family transfer operations (graphics <-> compute) in the compute* examples so they follow Vulkan sample code and no longer throw validation errors
updated getQueueFamilyIndex() to support VkQueueFlags vs. VkQueueFlagBits for the possibility of requesting a queue with multiple flag bits set - while not strictly necessary, I made this change during testing and is a generalization
fixed most Vulkan validation errors (with the exception of window resizing on linux where the validation layer's view of swapchain dimensions can get out of sync with the actual runtime and throw spurious false positives)
implemented the ability to change the swapchain image count on window resize events - while this was motivated by a macOS vsync issue for windowed vs fullscreen modes, it was an interesting problem and the solution is generic
enabled ImGui scaling for macOS retina displays - this could possibly be leveraged for other HiDPI situations
updated the computecloth example to use an animation rate that is independent of frame rate
updated the ImGui example to display the Vulkan API level + driver information and also defined initial window placement/sizing where possible

The macOS/iOS specific changes are:

updated the vulkanExample project (cmake -G "Xcode" or VK_EXAMPLE_XCODE_GENERATED) to support max frame rate rendering by default (the command line -vs option now works to optionally enable vsync if requested), the macOS and iOS xcode example projects remain vsync only (DisplayLink-driven).  Note: also fixes benchmarking (-b) on macOS.
updated the macOS xcode example project to properly handle and respond to keyboard and mouse events
updated the iOS xcode example project to properly handle and respond to touch, tap, pan, and pinch/zoom gestures
updated the iOS xcode example project to support the Xcode iOS simulator
implemented Vulkan / memory cleanup on shutdown for both vulkanExample and xcode example projects
fixed OpenMP integration for macOS and iOS - this accelerates texture regeneration in the texture3d example
vulkanExample windows now launch in front of Xcode vs behind it when debugging - an annoying issue fixed
updated the VK_KHR_portability_subset and VK_KHR_portability_enumeration implementation to perform runtime checks in case the project is linked to MoltenVK directly vs. to the Vulkan loader - cannot assume VK_KHR_portability_enumeration is available unless it appears at runtime (note this extension is Vulkan loader only)
fixed the glTF examples so they build and link properly for both vulkanExample and xcode example projects
fixed the triangle example so validation errors are eliminated and window resizing is possible on macOS (changes done using #defines so that bare code remains in place for other platforms, including iOS)
worked around a known MoltenVK vsync issue where frame rate appears to be double the monitor refresh rate - workaround is to manipulate swapchain image count to force image acquire frame rate to match display vsync frame rate
allow mouse click-through in vulkanExample project to capture first mouse click during long load-time examples (e.g. glTFloading example)

All these changes have been tested on macOS Big Sur, iOS 15.3.1 on an iPhone 8, iOS Sim for iPhone 13, Windows 10, and Linux Manjaro.
While there are a lot of changes here, hopefully they are useful to others and could help the project.

Thanks for looking at the pull request.  I started off with the intention of making only Apple-specific changes since the macOS/iOS portions of the project had not been updated for a while.  However, once I got into it I extended the scope to include validation and sync issues to hopefully improve things cross-platform.  Unfortunately I was not aware of your work in those areas and in retrospect perhaps this was a mistake on my part.  In any case, hopefully my proposed changes could be a point of comparison for your own modernization efforts.  At least for the graphics <-> compute queue sync issues, most of my changes were concentrated within commit b2f501dc98c967ec5f49d2e47d4f4975753b2a48.
As an aside, this pull request also fixed benchmarking on macOS (I forgot to include that in my notes above).  To that end I just added a small change updating the benchmark-all.py script to update the example list and recognize macOS.
After reviewing the changes, if you need any assistance separating the macOS/iOS - specific parts from the generic work I would be happy to help.  I could also do some post-merge testing for those platforms if you need it.  Let me know.

Took a first deeper look at this. And while I can't judge the Apple side of things, Windows, Linux and Android look fine to me. Did a quick test with several samples on Android and they worked as expected.
I'll do a more detailed review on this PR very soon, but I think this is good to go :)

Glad to hear that Android seems to be working fine.  I don’t have that platform to test on.
Would you be able to check the imgui and gltfscenerendering examples on Android and post screen caps?  I would like to ensure UI scaling and (x,y) input scaling (for widget interaction) is working properly on that platform.  I want to make sure I didn’t break anything when implementing UI scaling for macOS retina displays.

The samples mentioned look exactly the same on Android as on the master branch. So it seems that no further changes are required.

Good news - thanks for letting me know re Android scaling.
FYI - I found an additional issue with the master branch: the F1 gui overlay toggle does not work across most examples and platforms, in some cases generating validation errors.  I have a set of changes that will correct this.  Unless you request otherwise, I will wait until you are finished reviewing this pull request and hopefully merge it as is.  Once this is done I can submit another PR with the changes.  Would that approach work for you?

A question on resizing things in case swap chain image count changes: Is that a thing on iOS or Mac? I intentionally did not implement that (see e.g. the multiview sample) cause I thought this should never happen during runtime of a sample. But if that can happen on one of these platforms, I'm fine with those changes.

I went through all the changes and only noticed very minor things, see comments above.

I went through all the changes and only noticed very minor things, see comments above.

Thanks very much for your feedback.  I have a new commit prepared with the above code review changes but I would like to test before submitting. I should be able to push it soon and revise the PR.

Changes look good to me. Will merge this now :)

Thanks for merging. I appreciate your effort in reviewing this and including in the main branch.
I am away for a few days but will submit a new PR with the F1 UI overlay toggle fixes when I return.

您好，邮件已收到，谢谢。会尽快给回复。

您好，邮件已收到，谢谢。会尽快给回复。


Switch to discord.js-light.

In another episode of trying to minimize the use of excessive memory because of caching saga, let's try and see if it improves for discord.js-light.

dd166a2 | Currently monitoring in the canary.

Looks Great! Probably going into production today.

Merged in #147


Suitable for Mobile?

Wow, congratulations on SOTA
I am looking for a highly accurate model for human segmentation (single or group) for a mobile device for still images.
Would ResNeSt work for this?

We haven't studied smaller networks such as MobileNet setting.
Reducing the network depth and width and increasing cardinality and radix may result in a good mobile architecture.


moving from travis to github actions

The travis test are incredibly slow, moving to github actions should speed up the process significantly.

was just gonna suggest you PR this haha


Session History > The shortcut button on Android to go to the last session of a charger connector just does nothing

The tactile zone does not match exactly the button placement, it's like only half of the button respond.

Fixed


Incorrect description of cross-test result

When I ran jacquard-example2, the output included:
    {
        "output": "Test concatWorksForLength1() SUCCEEDED by not falsely reporting a bug in the hidden correct implementation\n",
        "score": 20,
        "visibility": "after_due_date",
        "max_score": 20,
        "name": "Tests of student.concat()"
    },

The output should not have referred to the student implementation as "the hidden correct implementation".

Fixed in version 1.0.1


Update disease ETL to process OTAR project data

The OTAR project and EFO mapping spreadsheet has been updated - see https://github.com/opentargets/platform/issues/1114.
In order to demonstrate value to our consortium partners, this data should only be available for their instances. The data should not be exposed by the public GraphQL API and should not be available from the diseases dataset.
However, we will need to update the disease ETL to process the data and also create a front-end summary widget and detail view that will only be shown in "private-partner" deployment contexts - see https://github.com/opentargets/platform/issues/1549 for notes on the front-end work.

Further updates to the data have been noted in #1722

ETL PR for processing the otar projects
https://github.com/opentargets/platform-etl-backend/pull/186

Next step is adding the download/upload file for otar projects step to PIS


Updated getProblemById response definition and made sure description …

…fields matched the standards
As I was preparing the testing files for ISV studio, I noticed an issue in one of the response payload, where a response example was uploaded with a "null" value, which caused it to be mapped as a string instead of the object it needed to be. I updated the response payload for get ProblemByID and updated some other descriptions to make sure they were up to standards

When submitting a connector, please make sure that you follow the requirements below, otherwise your PR might be rejected. We want to make you have a well-built connector, a smooth certification experience, and your users are happy :)
If this is your first time submitting to GitHub and you need some help, please sign up for this session.

[ ] I attest that the connector doesn't exist on the Power Platform today. I've verified by checking the pull requests in GitHub and by searching for the connector on the platform or in the documentation.
[ ] I attest that the connector works and I verified by deploying and testing all the operations.
[ ] I attest that I have added detailed descriptions for all operations and parameters in the swagger file.
[ ] I attest that I have added response schemas to my actions, unless the response schema is dynamic.
[ ] I validated the swagger file, apiDefinition.swagger.json, by running paconn validate command.
[ ] If this is a certified connector, I confirm that apiProperties.json has a valid brand color and doesn't use an invalid brand color, #007ee5 or #ffffff. If this is an independent publisher connector, I confirm that I am not submitting a connector icon.

If you are an Independent Publisher, you must also attest to the following to ensure a smooth publishing process:

[ ] I have named this PR after the pattern of "Connector Name (Independent Publisher)" ex: HubSpot Marketing (Independent Publisher)
[ ] Within this PR markdown file, I have pasted screenshots that show: 3 unique operations (actions/triggers) working within a Flow. This can be in one flow or part of multiple flows. For each one of those flows, I have pasted in screenshots of the Flow succeeding.
[ ] Within this PR markdown file, I have pasted in a screenshot from the Test operations section within the Custom Connector UI.
[ ] If the connector uses OAuth, I have provided detailed steps on how to create an app in the readme.md.

Hello @mandy-swinton,
I hope you are doing well.
Congratulations, your pull request is approved and merged. Please submit the files to ISV Studio using your latest commit id, please allow us up to 1-2 weeks to review your submission, and our Engineers will notify you in the “Activity Control” area in ISV Studio. Please make sure that the icon meets all the requirements, that it’s size is 230x230, icon background is not white or transparent and it matches the iconBrandColor property in apiProperties.json file.
After making the submission in ISV Studio, please attach an intro.md file in the activity control section. This file is required and it's different from readme.md. You can find an example of intro.md file on this page at step 6.
Please Create an environment in the Preview region. You will use this environment later to test your connector after Microsoft is done with the functional verification for your connector.
We expect all tests to be completed within 1-2 weeks.
If your connector passes all tests, the deployment process begins, and it typically takes up to 3 to 4 weeks to deploy your connector to all of our regions.
Please let me know if you have any questions.
Thank you very much for working with us.


Make TLS tests compatible with pytest-persistence plugin

@JaurbanRH there are still some tests marked as no persistence in the tls tests folder, is it correct ? Or should we remove marks from that tests ?

@JaurbanRH there are still some tests marked as no persistence in the tls tests folder, is it correct ? Or should we remove marks from that tests ?

@dhlavac Yes that is correct. Those test need complete rewrite to be compatible with persistence plugin.


Adds support for setting system properties.

This allows one to do the equivalent of sysctl -w ip.ipv4.ip_forward 1 or any such property.
I will add tests and other bits if we are okay adding this.
Signed-off-by: Mrunal Patel<EMAIL_ADDRESS>

Seems risky if we allow users to set all system properties.

@hqhq docker could filter what is allowed. In libcontainer, it makes sense to be flexible.

Right, +1 for me then, thanks.

Looks cool

Updated with tests.

@LK4D4 @crosbymichael PTAL.

LGTM

LGTM

LGTM


Idea: specify language for all default attributes

The proposal should include some way to specify which language the default attributes represent. Otherwise importing tools will have to guess which language to map these values to.
Maybe as an attribute of the 'definitions' node or as an extension element to that node (not sure if that is allowed).

Hi Philipp,
thank you for your suggestion. The i18n extension relies on the xml:lang attribute to declare the language. This attribute can also be used to set the language of an entire XML document, i.e. you can set xml:lang on the bpmn:definitions root element. So in other words, XML can already do this, even without the extension. i18n:translation elements can then deviate from the global language of the document by setting xml:lang locally.
Cheers,
Falko

Ah, thx that makes sense.
I would recommend to at least make this aspect part of the example or maybe even document it as a convention that should be followed.
What do you think?

That's a good idea. Would you contribute that as a pull request?

Sure - I would propose to add it both to the example in the XSD and add a section to the readme, ok?

Yes, that sounds good.
Since your tool supports different languages: Do you also have a small example that you could contribute?

I would love to, but we haven't implemented the extension yet. We currently still export only one selected language.

Hm... I thought I saw some custom extension that allowed you to export translations. Anyway, if you have any good example in multiple languages that we manually equip with the i18n extensions, it might be a nice test case.

I'll do that once we implement the extension ;)


Removes dbt_utils scope for macros now in Core. Bumps dbt_utils version.

Allows this package to be installed on projects with newer versions of dbt_utils. Now relies on the dbt-core versions of dateadd, split_part, and datediff rather than dbt_utils. Allows dbt_utils to move up to 0.10.0.

Pull Request closed to prepare for Repository Archival


docs: Apply new design form ui.shadcn.com

This PR should fix most of #619. Let me know if I missed something.
There are still some card examples left. I could take a look at them later this week.

@huntabyte Do you think the Geist font weights should be preloaded now when self hosted?
I think we maby should atleast preload the "regular" and "semibold" becaouse we use those the most. What do you think?
Im not 100% sure tho whats the best way to preload fonts in sveltekit. Is it with svelte:head?

@huntabyte I will check! The fonts that is in use the most should be preloaded to prevent font flickering & extra loadtimes. But not all of them if loading many. But i will try to find more information about how to do it correctly in sveltekit.

@huntabyte Last commit added the calendar component to the theme customizer. But for some reason, the calendar is overflowing in the default theme. I'm not really sure what is causing that. Will look into it.


thunar tend to restore last window size but hyprland ignore it

Description
as far as I know thunar tend to start in the same window size of last time in Xfce.  But in hyprland the request is ignored or none requests is accepted by hyprland nature. is there any rule can add an exception, support it to restore its last window size.

that's up to thunar to do correctly. Is it running in xwayland?

@vaxerski
xwayland: 0 ,thunar run on wayland.


[Test] Adding OverCommit VM memory tests

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

Added OverCommit VM memory tests

This test includes new test id:731, and porting of the context from here https://github.com/kubevirt/kubevirt-ansible/blob/master/tests/high_performance_vm_test.go#L62

/retest

/retest

/retest

/retest


Remove acks_for variable added by mistake to example

This was introduced in https://github.com/terraform-redhat/terraform-provider-ocm/pull/136 This variable shouldn't be used

/cc @EricPonvelle

/retest

/lgtm


mat-tree displaying child value integers as nodes

I am new to this so please say if this is better posted elsewhere.
I am building a mat-tree on the fly by creating a json string.
The string is:
" {"Politics":[],"Sport":[{"footie":[{"uefa":[]}]},{"sportsub":[]}],"Weather":[{"newdir":[]},{"weathersub":[]}"
It works fine but displays the child level value as an extra level, (see image) how do I lose this?
Code is
private populateTree(workdata) {
var dataObject = JSON.parse(workdata);
// Build the tree nodes from Json object. The result is a list of FileNode with nested
//     file node as children.
const data = this.buildFileTree(dataObject, 0);
// Notify the change.
this.dataChange.next(data);
}
buildFileTree(obj: { [key: string]: any }, level: number, parentId: string = '0'): FileNode[] {
return Object.keys(obj).reduce<FileNode[]>((accumulator, key, idx) => {
const value = obj[key];
const node = new FileNode();
node.filename = key;
node.id = ${parentId}/${idx};
  if (value != null) {
    if (typeof value === 'object') {
      node.children = this.buildFileTree(value, level + 1, node.id);
    } else {
      node.type = value;
    }
  }

  return accumulator.concat(node);
}, []);

}

Can you create a reproduction of this on StackBlitz to help save us time?

I am not sure, will try.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/angular/components/issues/16815?email_source=notifications&email_token=AEDZRJ5TOA3YJFQQXQRGDQ3QFL2RZA5CNFSM4IM2T7X2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4UDBOY#issuecomment-522727611, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AEDZRJ2JGV3BAAY2QSC7EGLQFL2RZANCNFSM4IM2T7XQ.

I copied most of the relevant code from an existing stackblitz.
https://stackblitz.com/edit/mat-tree-with-drag-and-drop?file=app%2Ftree-flat-overview-example.ts
If you comment out line 87 then add the following 2 lines
var test = ' {"Politics":[],"Sport":[{"footie":[{"eufa":[]}]},{"sportsub":[]}],"Weather":[{"newdir":[]},{"weathersub":[]}]  }';
var dataObject = JSON.parse(test);
you will see the result.

Looking at the stackblitz example and seeing how the tree behaves with the existing json object,  I thing the issue is simply " why is the json string not correctly mapping to the equivalent json object? What should the string look like to do this?"

There is a problem with the buildFileTree function. The expected Node structure doesn't match with what you have provided.
Here is original structure:
{
  Applications: {
    Calendar: 'app',
    Chrome: 'app',
    Webstorm: 'app'
  },
  Documents: {
    angular: {
      src: {
        compiler: 'ts',
        core: 'ts'
      }
    },
    material2: {
      src: {
        button: 'ts',
        checkbox: 'ts',
        input: 'ts'
      }
    }
  },
  Downloads: {
    October: 'pdf',
    November: 'pdf',
    Tutorial: 'html'
  },
  Pictures: {
    'Photo Booth Library': {
      Contents: 'dir',
      Pictures: 'dir'
    },
    Sun: 'png',
    Woods: 'jpg'
  }
}

Here is what you have provided:
{
  "Politics": [],
  "Sport": [
    {
      "footie": [
        {
          "eufa": []
        }
      ]
    },
    {
      "sportsub": []
    }
  ],
  "Weather": [
    {
      "newdir": []
    },
    {
      "weathersub": []
    }
  ]
}

In the expected structure, there are no arrays it is always {[key: string]: any}. Since the buildFileTree function uses Object.keys for the array it will use the index as the key.
You will have to modify the build function as per the input & output structure.
Here is modified stackblitz: https://stackblitz.com/edit/mat-tree-with-drag-and-drop-vgwpp1?file=app%2Ftree-flat-overview-example.ts


Doesn't work  , Creates a lot of errors

get_screen_shot(demo)
  File "C:\Users\Anmol Agarwal\Desktop\bot2.py", line 73, in get_screen_shot
i = Image.open(screenfile)
  File "F:\Program\Python36\lib\site-packages\PIL\Image.py", line 2548, in open
fp = builtins.open(filename, "rb")
FileNotFoundError: [Errno 2] No such file or directory: 'screendemo.png'

Clone repo again

first read README file then run script


Watching 404 Requests

Hey,
I need to track 404 requests but with this architecture it does not seem to be possible because the callback given to Route::matched only executed when route exists. I guess watching 404s can be supported using middleware. What do you think? Would you accept if I pr for it?
Thanks

Instead of Route::matched there's also https://laravel.com/api/5.6/Illuminate/Foundation/Http/Events/RequestHandled.html, although it looks like it's only available in Laravel 5.4+. I'd accept a pr as long as it wouldn't affect any of the standard functionality.

Right, I did some digging but couldn't find this event. I'm gonna pr for it asap :) Thanks

What do you think on extracting the logic to listener and register it via EventServiceProvider?.

Are you talking about extracting out the logic in the service providers (e.g. LarametricsLogServiceProvider) and instead extending the EventServiceProvider class?

What I meant is extracting out the logic in the service providers to individual listeners (e.g RecordRequest, RecordLog etc) and registering them in EventServiceProvider

ping @aschmelyun

Sounds like a good idea instead of having multiple service providers spread out. We could also group/namespace them in a 'Listeners' or 'Recorders' folder.

Yeah this is what Im thinking. I will work on that

Added a catch-all route in v1.2 that allows you to monitor and log 404 errors!


Check content negotiation in endpoints

Some endpoints have trouble with content negotiation, check e.g. https://data.pdok.nl/sparql
(thanks @reinvantveer)

This works
curl -i "https://data.pdok.nl/sparql?query=select+*+where+{%3Fs+%3Fp+%3Fo}+limit+10" -H 'Accept: application/json; q=1.0, application/sparql-results+json; q=0.8, text/csv; q=0.1'
While this doesn't
curl -i "https://data.pdok.nl/sparql?query=select+*+where+{%3Fs+%3Fp+%3Fo}+limit+10" -H 'Accept: application/json; q=1.0, application/sparql-results+json; q=0.8, text/csv; q=0.1, /; q=0.1'
So this is a bug at the endpoint's header parsing / MIME.

Closing since not a grlc's bug (but ambiguous endpoint-side processing)

👍


rebase 0000-cross-build-package.patch for GAP 4.12.2

Checklist

[x] Used a fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

This will let https://github.com/conda-forge/gap-feedstock/pull/68 to proceed without patch error

@saraedum @isuruf


Fix the gradle for library sources

It seems that you currently are using eclipse for building the library. When importing the project to android studio it doesn't work. Judging by the structure it seems to be some kind of outdated version of configuration or a eclipse specific one.

It's an Android Studio project since 2015. Maybe it's because problems with a particular version of Gradle?


Make it as Obsidian plugin

Hi Rob-gorbon
Thanks for making this great website
Is it possible to embed this website into the Obsidian software? As a plugin
If it can be embedded there will definitely be a lot of people using it therefore
Wait for a reply thanks

If the code to go from flowchart.fun syntax to mermaid syntax is extractable, this should hopefully be straitforward? The DSL you have created is incredibly clean, and I'd love it to be usable in more places without re-implementation.


Add pre-commit support: flake8 and mypy

Hi! This adds support for pre-commit (#507)
I took the liberty to also add make targets to install the hooks
Please let me know if this is reasonable to everyone or if I should add more hooks to the config.
PS.: Sorry about the last PR. I am using a different computer and my user got messed up. Good to go now

@GustavoKatel Hi! Can you please add information about how to use it this to CONTRIBUTING.rst file? It can help future contributors.


Update VS Code

I will use this to update our VS Code fork once it contains all the necessary fixes for 4.0.0.
Blocked on the following PRs:
https://github.com/cdr/code-server/pull/4548
Fixed issues:
Fixes https://github.com/cdr/code-server/issues/4476
Fixes https://github.com/cdr/code-server/issues/4477
Fixes https://github.com/cdr/code-server/issues/4503
Fixes https://github.com/cdr/code-server/issues/4523
Fixes https://github.com/cdr/code-server/issues/4397
Fixes https://github.com/cdr/code-server/issues/4480
Fixes https://github.com/cdr/code-server/issues/4482
Fixes https://github.com/cdr/code-server/issues/4483
Fixes https://github.com/cdr/code-server/issues/4484
Fixes https://github.com/cdr/code-server/issues/4489
Fixes https://github.com/cdr/code-server/issues/4488
Fixes https://github.com/cdr/code-server/issues/4491
Fixes https://github.com/cdr/code-server/issues/4476
Fixes https://github.com/cdr/code-server/issues/4485
Fixes https://github.com/cdr/code-server/issues/4485
Fixes https://github.com/cdr/code-server/issues/4487
Fixes https://github.com/cdr/code-server/issues/4521

@code-asher I think I'll close this. It appears we're already up to date with the latest commit on main
https://github.com/cdr/code-server/blob/main/vendor/package.json#L10


Tooltip tip spaces out sometimes

Using the latest release(v3.1.8), I noticed that when moving the cursor on a data-tip enabled element, there's a small gap between the tip and the content box.

Update:
The element I'm using the tooltip on is a  DOM element, with text inside it.

Adding gif:

Is there any solution for this issue?
I'm getting the same problem using react-tooltips on table heads.

I am getting the same behavior.
This is the relevant code snippet:
{cell.element.label}
<ReactTooltip effect="float" place="right" type="dark" />

Sometimes it's aligning correctly, based on the cursor position. I'm using the 3.2.7 version.

any solutions for this issue?

I eventually had to use another library because I wasn't able to fix the issue.

cool. could i ask which library you used, unless the owner replies with a fix?

Hi guys, could someone tried the last release? I guess this issue is gone.

Hi guys, could someone tried the last release? I guess this issue is gone.

I had the same problem and with the latest version the problem was fixed without changing code. Thanks!

Hi guys, closing due to age, we did some publishes recently, please try the latest one and if necessary, open a new issue, thanks!


Update enduser domain and add enduser.authentication.id

Fixes #1104

need some advice with this weaver error, it didn't point to any files that I have modified. it's persisting.

need some advice with this weaver error, it didn't point to any files that I have modified. it's persisting.

if you scroll up from there, you'll see:

ℹ Validating: $/home/weaver/target/general/attributes.md
✖ Could not find: identity

which looks related to this file that was deleted in your PR: model/enduser/deprecated/common.yaml

it was a false-negative. that link works. how do i ignore this failure?

it was a false-negative. that link works. how do i ignore this failure?

it's ok, it's not a required check, we're working on resolving the flakiness


[Master] release/v1.4.0 QA Sign-off

This PR is automatically created by CI to release a new official version of caver-js-ext-kas.
When this PR is approved by QA team, a new version will be released.

caver-js-ext-kas v1.4.0 QA Result
Functional Test Result

KAS-ANCHOR
Total Test Cases 37 = PASS  37 + FAIL  0 + N/A  0
Newly Added Test Cases 0 = PASS  0 + FAIL  0 + N/A  0

KAS-TH
Total Test Cases 146 = PASS  129 + FAIL  0 + N/A  10
Newly Added Test Cases 18 = PASS  18 + FAIL  0 + N/A  0

KAS-KIP7
Total Test Cases 46 = PASS  46 + FAIL  0 + N/A  0
Newly Added Test Cases 46 = PASS  46 + FAIL  0 + N/A  0

KAS-KIP17
Total Test Cases 79 = PASS  77 + FAIL  0 + N/A  2
Newly Added Test Cases 0 = PASS  0 + FAIL  0 + N/A  0

KAS-WALLET
Total Test Cases 240 = PASS  238 + FAIL  0 + N/A  2
Newly Added Test Cases 18 = PASS  18 + FAIL  0 + N/A  0

KAS-ETC
Total Test Cases 8 = PASS  8 + FAIL  0 + N/A  0
Newly Added Test Cases 0 = PASS  0 + FAIL  0 + N/A  0

Integration Test Result

KAS-INT
Total Test Cases 279 = PASS  278 + FAIL  0 + N/A  1
Newly Added Test Cases 21 = PASS  21 + FAIL  0 + N/A  0

@michael-gx @sirano11 @aeharvlee
Support for WebSocket Provider in NodeAPI has been released and is included in this PR.
Accordingly, you can check the KAS-NODE for the added TC.
caver-js-ext-kas v1.4.0 QA Result
Functional Test Result

KAS-ANCHOR
Total Test Cases 37 = PASS  37 + FAIL  0 + N/A  0
Newly Added Test Cases 0 = PASS  0 + FAIL  0 + N/A  0

KAS-TH
Total Test Cases 146 = PASS  129 + FAIL  0 + N/A  10
Newly Added Test Cases 18 = PASS  18 + FAIL  0 + N/A  0

KAS-KIP7
Total Test Cases 46 = PASS  46 + FAIL  0 + N/A  0
Newly Added Test Cases 46 = PASS  46 + FAIL  0 + N/A  0

KAS-KIP17
Total Test Cases 79 = PASS  77 + FAIL  0 + N/A  2
Newly Added Test Cases 0 = PASS  0 + FAIL  0 + N/A  0

KAS-WALLET
Total Test Cases 240 = PASS  238 + FAIL  0 + N/A  2
Newly Added Test Cases 18 = PASS  18 + FAIL  0 + N/A  0

KAS-ETC
Total Test Cases 8 = PASS  8 + FAIL  0 + N/A  0
Newly Added Test Cases 0 = PASS  0 + FAIL  0 + N/A  0

KAS-NODE
Total Test Cases 5 = PASS  5 + FAIL  0 + N/A  0
Newly Added Test Cases 5 = PASS  5 + FAIL  0 + N/A  0

Integration Test Result

KAS-INT
Total Test Cases 279 = PASS  278 + FAIL  0 + N/A  1
Newly Added Test Cases 21 = PASS  21 + FAIL  0 + N/A  0


error trying to connect: tls handshake eof

Issue description
A handful of users are reporting the following error in their error logs:
ReqwestError: error sending request for url (<url>): error trying to connect: tls handshake eof

This may come from rustls being overly strict about TLS certificates (see https://github.com/denoland/deno/issues/6427#issuecomment-813662658 and https://github.com/denoland/deno/issues/5931#issuecomment-768315368). We need to figure out which TLS versions and ciphers it will accept (or whatever else needs to be done so it stops causing errors)
Firefly version
1.3.0
OS details
macOS 11.6.1
Can the issue be reliably reproduced?
No
Steps to reproduce the issue
Unknown
Expected behaviour
No errors
Actual behaviour
Occasional TLS errors
Errors
No response

Closing issue due to inactivity, please upgrade to the latest app version and reopen the issue if the problem persists 🌷


Only format with stable rustfmt

This means there are 5 distinct travis jobs - delaying the nightly build as we're only allowed 4 parrallel. But I've also made nightly an allowed_fail and enabled fast_finish which means the over-all time-to-ci-result is at worst the same as before. We'll see formatting failures in under 2 minutes which is nice.

Thanks, does this also help with the cache time out issues?

I'm afraid I'm not familiar with that, but I doubt it :blush:


Request permission for using the codes for Final Year Project

Hi, I'm Jason Kung from Malaysia that is undergoing my Final Year Project entitled "Automatic Anomaly Detection for Steel Defects in Manufacturing". I am quite interested to obtain this original codes as my primary source provided in this link, https://segmentation-models.readthedocs.io/en/latest/tutorial.html . For your information, this paper / report will be applied for copyright under my university and hence, I would like to obtain your acknowledgement / permission on using your codes for image processing and machine learning processing, since it is mentioned from your side that it is under Copyright 2018.
Please do let me know if it is alright with you and I am looking forward to your reply. Thank you and regards.

@JasonKung98 each github repo usually contains the type of license in the readme page. This repo has an MIT license so you're allowed to use it for your stated purpose:
The MIT License

Copyright (c) 2018, Pavel Yakubovskiy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

 IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.```

I'd say just make sure to correctly credit quvbel in your references. Congrats on the project, maybe post a link to the PDF whenever it's available so others can see how you used the repo? Cheers.

Thank you for the formal approval as well as your reply here. I will make sure the credits are clearly mentioned in my paper. Thank you for the kind words and wishes as well, hopefully my project can be a success soon. Sure, I can provide the link over if there is any sort of help I may pertain to. I would like to deliver my greatest appreciation to you here for approving :)

@JasonKung98 just to clarify: this is @qubvel's repo, not mine. The MIT license agreement is posted in his readme though.


STORM-3693: Pending tuples expired only once per tick.

What is the purpose of the change
(To ensure spout pending tuples are expired only once per tick. Otherwise, tuples get expired prematurely when one spout executor has multiple tasks.)
How was the change tested
(1.  mvn clean install -P '!examples,!externals' 2. Used a dummy topology to test the correct behavior.)

@nathanmarz I am wondering if I can do something more to garner some attention to this PR. The fix seems to address a fundamental bug related to tuple expiry.

@reiabreu wdyt about this?

@rzo1 i'm not familiar with this code. Let me have a look and I'll report back.


Minor gramma fix + added docs to make chat_history available to retrieval qaChain

Fixes # (issue)

Thank you!


Probe request rejected; error is: no API authentication registered for

CURL can have true response. By fortigate_exporter response "Probe request rejected; error is: no API authentication registered for "

fortigate-key.yml token need ' ' ？


CLI instructions

Summary
I think we should rethink how Graphback instructions are displayed as currently, we are repeating steps unnecessarily.
Issue
The first set of instructions are displayed after init
graphback init <name>

Which produces following output:

Another set of instructions are displayed generate
graphback generate

I don't think there's any need for the second set of instructions and that step 4. could have been separated into 2 individual steps.
ping @wtrocki @darahayes @craicoverflow @ankitjena

For init we should only print step:
1,2,3
For generate we should only print

For db we should print

@wtrocki agree with this


Subscription format

Added a format selector for subscription emails.

merged, thanks @nblackburn!
i moved settings into its own page, and renamed format to email_format (to avoid some conflicts with the default rails param .format)


PowerShell Core support

I tried loading the module in the latest PS Core alpha16, but it fails to load the module. Is PS Core support on the roadmap?
PS C:\Users\Matty> Import-Module Posh-SSH
Import-Module : Could not load file or assembly 'mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c56193
4e089'. Could not find or load a specific file. (Exception from HRESULT: 0x80131621)
At line:1 char:1
+ Import-Module Posh-SSH
+ ~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Import-Module], FileLoadException
    + FullyQualifiedErrorId : System.IO.FileLoadException,Microsoft.PowerShell.Commands.ImportModuleCommand

Because core is not supported only windows PowerShell I would need to recompile the module and library for Core support
Sent from my iPhone

On Feb 16, 2017, at 7:41 AM, Nagy-Egri Máté Ferenc<EMAIL_ADDRESS>wrote:
I tried loading the module in the latest PS Core alpha16, but it fails to load the module. Is PS Core support on the roadmap?
PS C:\Users\Matty> Import-Module Posh-SSH
Import-Module : Could not load file or assembly 'mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c56193
4e089'. Could not find or load a specific file. (Exception from HRESULT: 0x80131621)
At line:1 char:1

Import-Module Posh-SSH

  + CategoryInfo          : NotSpecified: (:) [Import-Module], FileLoadException
  + FullyQualifiedErrorId : System.IO.FileLoadException,Microsoft.PowerShell.Commands.ImportModuleCommand

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

.Net Core was specifically designed so one can have a single set of Assemblies that are able to run atop both runtime stacks, so long as they resort to using only .Net Standard functionality.
Don't get me wrong, I understand it is a non-zero amount of work, but the ability to run atop Linux/OSX certainly has an added value.

Do you have any idea, how much work would go into recompiling it for .net core ? I have a lot of code using this on Windows, but need to run some of those scripts in Linux containers as well, and would prefer not to have to split up and maintain those scripts separately.

@darkoperator I currently have a working build of Posh-SSH built against .NET Standard 2.0 and PowerShell Standard 5.1. Is this something you're interested in?
If so, unfortunately, it required a pretty large refactor of your build and usage of the dotnet-cli. If yes, even if it's not in a perfectly mergeable state, I'd like to open a PR via which we can drill down issues.
Thoughts?

Any update on this Joey?

@joeyaiello   I'm going to be annoying an bump this as you weren't tagged directly.   The amount of people interested has only increased.

Im already doing the port my self and updating cmdlets you can see some changes in the last branch
Sent from my iPhone

On Aug 31, 2018, at 3:37 PM, kleinsmk<EMAIL_ADDRESS>wrote:
@joeyaiello I'm going to be annoying an bump this as you weren't tagged directly. The amount of people interested has only increased.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Im moving SCP and SFTP to be item and no longer folder or file for commands, after that that the trusted key management class will be moved to use json files if a key as a param or force is not specified
Sent from my iPhone

On Aug 31, 2018, at 3:37 PM, kleinsmk<EMAIL_ADDRESS>wrote:
@joeyaiello I'm going to be annoying an bump this as you weren't tagged directly. The amount of people interested has only increased.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Are the assemblies for the .net ssh compiled for .net core ?  I can’t help with that in any capcity, but can work with the powershell side of things

The Renci.Shh has core and standard, planning on going standard. Will need help once I have the C# part that manages the keys to go and change the cmdlets that are in PS
From: kleinsmk
Sent: Sunday, September 2, 2018 12:06 PM
To: darkoperator/Posh-SSH
Cc: Carlos Perez; Mention
Subject: Re: [darkoperator/Posh-SSH] PowerShell Core support (#130)
Are the assemblies for the .net ssh compiled for .net core ? I can’t help with that in any capcity, but can work with the powershell side of things
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

I have been using Posh-SSH with PS7-preview-3 on Ubuntu 18.04 with success. I used the v3.0 branch. I applied the #247 but I'm not sure it matters much for my scenario since I'm using -Force. I ran into a freezing bug from upstream SSH.NET. I applied the patch to Asmodat Standard SSH.NET.dll and recompiled.
I believe the full list of commands I have used is New-SSHSession, Invoke-SSHCommand, Remove-SSHSession, Set-ScpItem, and Get-ScpItem

With the patch there was no hangup?
Sent from my iPhone

On Sep 11, 2019, at 4:53 PM, soul4soul<EMAIL_ADDRESS>wrote:
I have been using Posh-SSH with PS7-preview-3 on Ubuntu 18.04 with success. I used the v3.0 branch. I applied the #247 but I'm not sure it matters much for my scenario since I'm using -Force. I ran into a freezing bug from upstream SSH.NET. I applied the patch to Asmodat Standard SSH.NET.dll and recompiled.
I believe the full list of commands I have used is New-SSHSession, Invoke-SSHCommand, Remove-SSHSession, Set-ScpItem, and Get-ScpItem
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Under Debian Stretch, I get a Microsoft.Win32.Registry Type Initialization Exception. This is when calling  New-SFTPSession.

Expected since released module is a Windows Module
Sent from my iPhone

On Oct 23, 2019, at 10:13 PM, Tyler Montney<EMAIL_ADDRESS>wrote:

Under Debian Stretch, I get a Microsoft.Win32.Registry Type Initialization Exception. This is when calling New-SFTPSession.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

You're saying your release is a Windows module? Which one do you recommend me to use?

At the moment core support is on  dev branch waiting for the core ssh library to fix some major bugs
Sent from my iPhone

On Oct 24, 2019, at 9:41 AM, Tyler Montney<EMAIL_ADDRESS>wrote:

You're saying your release is a Windows module? Which one do you recommend me to use?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

I know this is an old issue, but I just wanted to chime in and say that this module is one of the primary reasons I haven't upgraded my scripts to run with PowerShell 7 yet.
I totally understand that changing the underlying code and dependencies to support the latest PowerShell version is a ton of effort, so I'm happy to to see that you have continued working on this particular request. I'll simply keep using PowerShell 5.1 for now, thanks for all your hard work and I definitely look forward to this being implemented!

Most of the work is done, waiting on SSH.net library to release the next version.

Awesome, glad to hear it's nearly complete 😃 Hopefully the library update is released soon, thanks again for you efforts!

@darkoperator do you have any ETA when will there be a version that runs on PS Core? Looks like this module is the only way to use SSH on AWS Lambda that's running .NET core 3.1

Not at the moment day job plus part time teacher for the kids in COVID times has left little time for side projects
Sent from my iPhone

On Sep 29, 2020, at 3:17 PM, dreic<EMAIL_ADDRESS>wrote:

@darkoperator do you have any ETA when will there be a version that runs on PS Core? Looks like this module is the only way to use SSH on AWS Lambda that's running .NET core 3.1
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Hi,
Its very easy to run POSH-SSH in PS7 if you invoke back to PS5.
invoke is a lot better in 7.
And i havent tested all POSH SSH commands, but its running in 5 while i am executing from 7

Hi @MMouse-23
I am interested. Can you give us an example of how you did it?
Thank you

Hi @MMouse-23
I am interested. Can you give us an example of how you did it?
Thank you

Swap the 5 and 7 shells. Then invoke back to 5.
It works Ok ish, but not if you are already coming in through a remote shell.
As it disconnects the already existing shell you are entering over.
So Microsoft.PowerShell session config has to point to Ps7
and PowerShell.7 session config is pointed back to 5.
That way from a default 7 session you can Invoke-Command -ComputerName localhost -ConfigurationName PowerShell.7
To get back to 5.
This method breaks the Windows Feature installer....
https://stackoverflow.com/questions/58238481/powershell-remoting-controlling-what-edition-is-being-targeted-powershell-core
In the bottom

Since this is still open, is it considered done on pwsh (on both Windows and Linux) or not  @darkoperator ?

Its done, ticket can be closed
Sent from my iPhone

On Feb 2, 2022, at 2:35 PM, Miodrag Milić @.***> wrote:

Since this is still open, is it considered done on pwsh (on both Windows and Linux) or not @darkoperator ?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.


Couldn't find any package by regex 'linux-headers-3.2.34-30'

I tried to install flynn on a new server running ubuntu 14.04 and I got this error. The server is running on ARM processor.
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package linux-headers-3.2.34-30
E: Couldn't find any package by regex 'linux-headers-3.2.34-30'
===> 12:36:31.893 ERROR: failed to run "apt-get install -y linux-headers-3.2.34-30", exit status 100
Error: Process exited with status 1

I also got the same error trying to install it on a Intel VPS  with ubuntu 14.04, so I believe it's not due to ARM processor.

This means there isn't a headers package available for the currently running kernel with the configured apt sources.
Your VPS is likely not running stock Ubuntu 14.04.
Your best bet is to find a way to run fully stock Ubuntu, failing that installing the stock kernel and headers is likely good enough.

@shankardevy are you using a stock Ubuntu kernel as mentioned in the installation docs? Also, Flynn doesn't currently support ARM (see #1965).


Have model parser use dbt-jinja when possible

This ticket is for making the model parser correctly use dbt-jinja (powered by tree-sitter) when possible, and fall back to python-jinja when it cannot.

We're pretty sure we did this! The remaining errors and complexities are around distribution (#3307)


atom.xml  error: " EntityRef: expecting ';' "

http://blog.webclown.net/atom.xml
这需要怎么解决呢

@Keystion dont understand u, write in English if not solved. If solved, close it please. Thank's!


Error to import lorem-ipsum in typescript

Describe the bug
I get this error when I import the module:
/home/spielrs/Proyectos/quarantine-digest/node_modules/lorem-ipsum/src/index.ts:1
    ({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,global,jest){import { WORDS } from "./constants/words";
                                                                                ^

    SyntaxError: Unexpected token {

      1 | import * as moment from "moment";
      2 | import {IFeed} from "./interfaces";
    > 3 | import {LoremIpsum} from "lorem-ipsum/src";
        | ^
      4 |
      5 | const emails: IFeed[] = [];
      6 |

To Reproduce
Steps to reproduce the behavior:
import lorem-ipsum with typescript
import {LoremIpsum} from "lorem-ipsum/src";

Expected behavior

I shouldn't add src to the import path to get the types
I shouldn't get the error when I import it

Desktop (please complete the following information):

OS: Solus

I have the same problem. Try installing just lorem-ipsum and then Visual Studio Code should suggest you installing types from @types/lorem-ipsum. After that import { loremIpsum } from 'lorem-ipsum' is not working, however import { loremIpsum } from 'lorem-ipsum/src' is OK.

Hi @dancespiele, agreed you should not have to import from /src to get types and it looks like the other error you are experiencing stems from that. The path for types in the module's package.json file is incorrect. I'll get that fixed up shortly and make a new release. Thanks for bringing the issue to my attention.

@dancespiele I've pushed out a fix for this issue. See version 2.0.2. You can now import { LoremIpsum } from 'lorem-ipsum and you'll get the types.
@vladkasianenko this should address the issue you were running into as well. This package does include types but the path was incorrect. All fixed up now. By the way, @types/lorem-ipsum is for version 1 of this library. No need to use the definitely typed definitions for version 2.


Exporting Datamaru Project: ERROR: 'cvat_rest_api_task_images'

I have annotated a video using interpolation mode in CVAT.
I then exported the task as a datamaru dataset.
I tried to output annotated frames using the following command:
datum project export -e "/item/annotation" --filter-mode "i+a" -f yolo

But I am having the following error:
2020-03-14 16:09:39,387 INFO: Loading the project...
2020-03-14 16:09:39,388 ERROR: 'cvat_rest_api_task_images'
Traceback (most recent call last):
  File "C:\Program Files\Python37\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\Program Files\Python37\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\*\*\.venv\Scripts\datum.exe\__main__.py", line 7, in <module>
  File "c:\users\*\*\.venv\lib\site-packages\datumaro\cli\__main__.py", line 156, in main
    return args.command(args)
  File "c:\users\*\*\.venv\lib\site-packages\datumaro\cli\contexts\project\__init__.py", line 347, in export_command
    dataset = project.make_dataset()
  File "c:\users\*\*\.venv\lib\site-packages\datumaro\components\project.py", line 762, in make_dataset
    return ProjectDataset(self)
  File "c:\users\*\*\.venv\lib\site-packages\datumaro\components\project.py", line 473, in __init__
    url, **options)
  File "c:\users\*\*\.venv\lib\site-packages\datumaro\components\project.py", line 274, in make_extractor
    return self.extractors.get(name)(*args, **kwargs)
  File "c:\users\*\*\.venv\lib\site-packages\datumaro\components\project.py", line 64, in get
    return self.items[key] # returns a class / ctor
KeyError: 'cvat_rest_api_task_images'

I tried to figure out the problem with no results.
I am  working on windows 7.
I installed datamaru as following:
pip install 'git+https://github.com/opencv/cvat#egg=datumaro&subdirectory=datumaro'

Please, ensure you have the corresponding file in <project_dir>/.datumaro/extractors or <project_dir>/.datumaro/plugins (depending on the CVAT version, the latter is for actual). If there is no such file for some reason, you can find it here.

@zhiltsov-max
<project_dir>/.datumaro/plugins do exist
with the following structure:
plugins
    cvat_rest_api_task_images.cpython-37
    __pycache__
        cvat_rest_api_task_images.cpython-37

I also have a config yaml file in the project dir:
format_version: 1
models: {}
project_name: undefined
sources:
  task_11_images:
    format: cvat_rest_api_task_images
    options: {}
    url: ''
subsets: []

During installation I had an error when installing pycocotools:
cl : Command line error D8021 : invalid numeric argument '/Wno-cpp'

I resolved by checking the following cocoapi issue: https://github.com/cocodataset/cocoapi/issues/51
and downloading a cocoapi version:
pip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI

Any thoughts?
Thanks for your time and consideration.

Try running the command with _DATUMARO_INIT_LOGLEVEL=debug env. variable set.

Before going further I want to mention that initially  my exported datumaro project didn't contain
a config yaml file inside <project_dir>/.datamaro. And when I run without the file I get the following error:
2020-03-16 10:37:21,692 ERROR: [Errno 2] No such file or directory: 'C:\\Users\\PC\\Downloads\\t\\.datumaro\\config.yaml'
Traceback (most recent call last):
  File "C:\Program Files\Python37\Scripts\datum-script.py", line 11, in <module>
    load_entry_point('datumaro==0.1.0', 'console_scripts', 'datum')()
  File "c:\program files\python37\lib\site-packages\datumaro\cli\__main__.py", line 156, in main
    return args.command(args)
  File "c:\program files\python37\lib\site-packages\datumaro\cli\contexts\project\__init__.py", line 322, in export_command
    project = load_project(args.project_dir)
  File "c:\program files\python37\lib\site-packages\datumaro\cli\util\project.py", line 12, in load_project
    return Project.load(project_dir)
  File "c:\program files\python37\lib\site-packages\datumaro\components\project.py", line 711, in load
    config = Config.parse(config_path)
  File "c:\program files\python37\lib\site-packages\datumaro\components\config.py", line 209, in parse
    with open(path, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\PC\\Downloads\\t\\.datumaro\\config.yaml'

To resolve the problem I am copying the config yaml file in the <project_dir> into <project_dir>/.datumaro. Is that normal?
Now, debug log level did reveal some problems:
2020-03-16 10:33:42,839 DEBUG: Popen(['git', 'init'], cwd=C:\Users\PC\Downloads\t, universal_newlines=False, shell=None, istream=None)
2020-03-16 10:33:42,927 DEBUG: Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'The system cannot find the file specified', None, 2, None)
2020-03-16 10:33:42,930 DEBUG: Failed to import module 'cvat_rest_api_task_images.py': No module named 'requests'
2020-03-16 10:33:42,931 INFO: Loading the project...
2020-03-16 10:33:42,931 ERROR: 'cvat_rest_api_task_images'
Traceback (most recent call last):
  File "C:\Program Files\Python37\Scripts\datum-script.py", line 11, in <module>
    load_entry_point('datumaro==0.1.0', 'console_scripts', 'datum')()
  File "c:\program files\python37\lib\site-packages\datumaro\cli\__main__.py", line 156, in main
    return args.command(args)
  File "c:\program files\python37\lib\site-packages\datumaro\cli\contexts\project\__init__.py", line 347, in export_command
    dataset = project.make_dataset()
  File "c:\program files\python37\lib\site-packages\datumaro\components\project.py", line 762, in make_dataset
    return ProjectDataset(self)
  File "c:\program files\python37\lib\site-packages\datumaro\components\project.py", line 473, in __init__
    url, **options)
  File "c:\program files\python37\lib\site-packages\datumaro\components\project.py", line 274, in make_extractor
    return self.extractors.get(name)(*args, **kwargs)
  File "c:\program files\python37\lib\site-packages\datumaro\components\project.py", line 64, in get
    return self.items[key] # returns a class / ctor
KeyError: 'cvat_rest_api_task_images'

It is saying that importing "cvat_rest_api_task_imaegs" failed due to missing module "requests"
pip install requests  resolved the problem but now I am getting another missing
module "cvat"
2020-03-16 10:43:59,343 DEBUG: Popen(['git', 'init'], cwd=C:\Users\PC\Downloads\t, universal_newlines=False, shell=None, istream=None)
2020-03-16 10:43:59,435 DEBUG: Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'The system cannot find the file specified', None, 2, None)
2020-03-16 10:43:59,440 DEBUG: Failed to import module 'cvat_rest_api_task_images.py': No module named 'cvat'
2020-03-16 10:43:59,442 INFO: Loading the project...
2020-03-16 10:43:59,442 ERROR: 'cvat_rest_api_task_images'
Traceback (most recent call last):
  File "C:\Program Files\Python37\Scripts\datum-script.py", line 11, in <module>
    load_entry_point('datumaro==0.1.0', 'console_scripts', 'datum')()
  File "c:\program files\python37\lib\site-packages\datumaro\cli\__main__.py", line 156, in main
    return args.command(args)
  File "c:\program files\python37\lib\site-packages\datumaro\cli\contexts\project\__init__.py", line 347, in export_command
    dataset = project.make_dataset()
  File "c:\program files\python37\lib\site-packages\datumaro\components\project.py", line 762, in make_dataset
    return ProjectDataset(self)
  File "c:\program files\python37\lib\site-packages\datumaro\components\project.py", line 473, in __init__
    url, **options)
  File "c:\program files\python37\lib\site-packages\datumaro\components\project.py", line 274, in make_extractor
    return self.extractors.get(name)(*args, **kwargs)
  File "c:\program files\python37\lib\site-packages\datumaro\components\project.py", line 64, in get
    return self.items[key] # returns a class / ctor
KeyError: 'cvat_rest_api_task_images'

It seems that I have ran into some problems during datum installation process!
Though I followed all the steps exactly except for downloading cocoapi from an altered  github repo as aforementioned.
Where should I get "cvat" module from?

If you haven't found config.yml in .datumaro, I believe you exported the task from an outdated version of CVAT, and installed the actual version from develop, where project layout has been changed a bit. The corresponding to CVAT version of Datumaro is available at <project_dir>. It is installed as described in the readme there.
Regarding requests package - it should have been installed from <project_dir>/cvat/utils/cli/requirements.txt. This step is described in the README. The cvat package required should be taken from the <project_dir> by providing PYTHONPATH=<project_dir>, which is also mentioned in the readme.
I've just rechecked if these steps work (on Ubuntu, though) - they did. However, I've found that some attributes were not being passed this way, specifically occluded and z_order. This can be fixed by this patch (#1271). Meanwhile, exporting as CVAT xml and importing CVAT project in Datumaro should work without an issue.


compile failed with cordova ios 4.0.0

** BUILD FAILED **

The following build commands failed:
	CompileC build/Styrka\ Ballistics.build/Debug-iphonesimulator/Styrka\ Ballistics.build/Objects-normal/i386/IonicKeyboard.o Styrka\ Ballistics/Plugins/com.ionic.keyboard/IonicKeyboard.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
ERROR building one of the platforms: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/raymatos/Documents/Ballistic-Hybird-App/platforms/ios/cordova/build-debug.xcconfig,-project,Styrka Ballistics.xcodeproj,ARCHS=i386,-target,Styrka Ballistics,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/raymatos/Documents/Ballistic-Hybird-App/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/raymatos/Documents/Ballistic-Hybird-App/platforms/ios/build/sharedpch
You may not have the required environment or OS to build this project
Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/raymatos/Documents/Ballistic-Hybird-App/platforms/ios/cordova/build-debug.xcconfig,-project,Styrka Ballistics.xcodeproj,ARCHS=i386,-target,Styrka Ballistics,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/raymatos/Documents/Ballistic-Hybird-App/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/raymatos/Documents/Ballistic-Hybird-App/platforms/ios/build/sharedpch

+1

xxxxxx/Plugins/com.ionic.keyboard/IonicKeyboard.m:75:22: error:
property 'hackishlyHidesInputAccessoryView' not found on object of type 'UIView *'
self.webView.hackishlyHidesInputAccessoryView = YES;
+1000

It's related to API changes in cordova-ios 4.0.0. See details: https://github.com/apache/cordova-ios/blob/master/guides/API changes in 4.0.md

I can't code in Objective C, but looks like a simple cast to me.

Update to version 1.0.8 as it is fixed.

Thx !
I guess I missed the plugin name change :)

Going to close as a duplicate of #102.  This should be fixed in 1.0.8, please comment on that issue if you're still having problems!

Cordova 4.0 error
The following build commands failed:
CompileC build/xxx.build/Debug-iphoneos/xxx.build/Objects-normal/armv7/MainViewController.o xxx/Classes/MainViewController.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler

this is still an issue
and you rename the plugin as well - so you should refer user to install https://github.com/driftyco/ionic-plugin-keyboard


refactor(@vtmn/css): add bold font weight for standalone + harmonize …

…underline
Pull Request checklist
🚨 Please review the guidelines for contributing to this repository.

[x] Make sure you are requesting to pull a topic/feature/bugfix branch. Don't request your main!
[x] Make sure you are making a pull request against the main branch (left side).
[x] Check the commit's or even all commits' message styles matches our requested structure.
[x] Check your code additions will fail neither code linting checks nor unit test.

Description

Standalone links are bolder than inline ones
Standalone and inline links now share the same underline style
Inline link is underlined by default

Does this introduce a breaking change?

No

❤ Thank you!

for this kind of pr can you provide a little screenshot before/after, it would help getting an idea of the change

for this kind of pr can you provide a little screenshot before/after, it would help getting an idea of the change

You are right, from now I will show some visual to see the new changes


fix HostGPUMemoryUsage wrong unit on grafana

What type of PR is this?
HostGPUMemoryUsage unit on grafana dashboard is wrong
if my metric is 500MiB, but grafana dashboard will show me almost 500Ti

/kind bug
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

please sign your commit:)

please sign your commit:)

I hate DCO  :(


Buggy addresses

(gemini-get "gemini://clemat.is/gemlog/[2022-04-25]..macOS.10.yr.later..gmi" identity)

Error: (URI-scheme) bad argument type - not a structure of the required type
#f
uri-generic#<URI>

(gemini-get "gemini://gemini.ucant.org" identity)

Error: (ssl-do-handshake) syscall: library=<unknown>, function=<unknown>, reason=<unknown>

The first URL needs percent encoding of the square brackets. They are not permitted characters in the query part, therefore uri-generic fails to return a URI object.
The second URL points to a server only supporting TLSv1.3, whereas this library defaults to TLSv1.2. According to the Gemini spec, the library should try both TLSv1.2 and TLSv1.3. Since TLSv1.3 support cannot be assumed in OpenSSL, the library needs to be amended as follows:

Establish a dependency on the openssl egg 2.2.0 or later
Test whether the egg supports TLSv1.2 and TLSv1.3 by checking the constants listed at https://api.call-cc.org/5/doc/openssl#sec:Constants
Specify the allowed protocols when establishing the connection using the symbols seen on https://api.call-cc.org/5/doc/openssl/ssl-make-client-context

For example a sensible logic would be to raise an error if TLSv1.2 is not supported, try connecting with both TLSv1.2 and TLSv1.3 if TLSv1.3 is supported and otherwise connect with TLSv1.3.
Alternatively the library could ignore this since the spec mandates TLSv1.2 support.

Thanks for looking into this.
With the following standalone script test.scm:
(import (only (scheme base) read-line write-string)
        (chicken condition)
        (chicken process-context)
        (openssl)
        (uri-generic))

(define (disp . args) (for-each display args) (newline))

(define read-response read-line)

(define (write-request to-server uri-string)
  (write-string (string-append uri-string "\r\n")
                to-server))

(define (try-using protocol uri)
  (let* ((uri-object (uri-reference uri))
         (uri-string (if (string? uri) uri (uri->string uri-object))))
    (disp "Trying " protocol " on " uri)
    (handle-exceptions err (disp "Error: " err)
      (receive (from-server to-server)
          (ssl-connect* hostname: (uri-host uri-object)
                        port: (or (uri-port uri-object) 1965)
                        protocol: (cons protocol
                                        protocol)
                        verify?: #f)
        (dynamic-wind (lambda () #f)
                      (lambda ()
                        (write-request to-server uri-string)
                        (read-response from-server))
                      (lambda ()
                        (close-input-port from-server)
                        (close-output-port to-server)))
        (disp "OK")))
    (disp)))

(define (try uri)
  (try-using 'tlsv12 uri)
  (try-using ssl-max-protocol uri))

(for-each try (command-line-arguments))

I get:
$ csi -script test.scm gemini://jsreed5.org/log/2022/202204/20220426-twitter-a-few-unsorted-thoughts.gmi
Trying tlsv12 on gemini://jsreed5.org/log/2022/202204/20220426-twitter-a-few-unsorted-thoughts.gmi
OK

Trying tlsv13 on gemini://jsreed5.org/log/2022/202204/20220426-twitter-a-few-unsorted-thoughts.gmi
OK

$ csi -script test.scm gemini://gemini.ucant.org
Trying tlsv12 on gemini://gemini.ucant.org
Error: #<condition: (exn i/o net openssl)>

Trying tlsv13 on gemini://gemini.ucant.org
OK
```

```
$ csi -script test.scm gemini://clemat.is/gemlog/%5b2022-04-25%5d..macOS.10.yr.later..gmi
Trying tlsv12 on gemini://clemat.is/gemlog/%5b2022-04-25%5d..macOS.10.yr.later..gmi
Error: #<condition: (exn i/o net)>

Trying tlsv13 on gemini://clemat.is/gemlog/%5b2022-04-25%5d..macOS.10.yr.later..gmi
Error: #<condition: (exn i/o net)>
```

The last URL timeouts.


fix: Use object instead of Object in typings

It is best-practice in TypeScript to use object instead of Object. While moving towards auto-generated typings, we will get this for free as the source was written correctly, however in the meantime this would make the move more transparent.
From my understanding this should be a safe move so-long as none of the developers use primitive types in place of Object (for example Number), but I don't think that is the case here.
I provided more details in an internal document: go/firebase-admin-node-object

I think we need actual TypeScript expertise here. I worry that returning object instead of Object is a breaking change: https://subscription.packtpub.com/book/application_development/9781789345575/3/ch03lvl1sec22/the-differences-between-object-and-object
See also https://www.typescriptlang.org/play/#code/FAYw9gdgzgLgBASygfQPICMBWBTEMBccGOecAvHBAK4A2NcAhlIxAJ4DcwSaWuMAdAAsmqAO4QACgCcwAB2xSYrABQBydAymqAlJ1CRYiFGF55CJkvArU6jZgzaduFvkJHjpchUrUatuuAB6QLgAYTAAW1kEGmwoABo4dCp4ABMwOIhVeChBMFE4KllECDhwVOwyyNlYmARIYGAAMyoIPHrSmAYAazieS2U-QmI+bTgAbzgAX2Au3pQRvGVnUxgAoJDwqJi4xKgwOBhBJCM4JoQIbEaWtrrIQ56+lyWholWxyZm5p9Xlhff2HANmFqjsEnB9odjswTudLsAgA

From what I can surmise, the compiler is pretty lenient about this and it's generally a non breaking change (unless the implementation actually uses Object type).
Case 1
function foo(): Object {
  return {};
}

let x: Object = foo();

Here the return type of foo can be changed to object with no compiler errors (Type annotation on x doesn't have to change).
Case 2
function foo(param: Object) {

}

let x: Object = {};
foo(x);

Here the argument param type can be changed to object with no compiler errors (Type annotation on x doesn't have to change).
However, if somebody has passed a primitive value into foo() that would break:
foo('foo'); // will not compile if 'param' is changed to 'object`

But I think for the APIs in question, passing primitive values is an invalid usage anyway. So we can argue that this is bug fix for out typings?

I am only worried about Case 1. Case 2 (changing the input type) seems like the right thing to do.
My only concern is that the code completion on object is empty, but on Object it is not (shows toString() and others). That being said, it compiles fine.

The Object interface defines hasOwnProperty(), toString() and other methods:
interface Object {
    constructor: Function;
    toString(): string;
    toLocaleString(): string;
    valueOf(): Object;
    hasOwnProperty(v: PropertyKey): boolean;
    isPrototypeOf(v: Object): boolean;
    propertyIsEnumerable(v: PropertyKey): boolean;
}

That explains why the code completion is working. The object type is not an interface but the compiler does seem to allow calling toString() and other Object interface methods on it.
function foo(): object {
  return {};
}

// This compiles
let x = foo();
if (x.hasOwnProperty('bar')) {
  console.log(x.toString());
}

Thanks for the concerns @schmidt-sebastian  and @hiranya911. I think the findings outlined so far align with what I found throughout my research shown the doc too (primarily focused on primitive types and conversion between object <-> Object return and parameter types), which is why I leaned towards this being a safe change.

The only other case I could find was where the object for some reason overrode a method defined in the Object interface and used a different return type (ex: toString and returns a number). In that case, you could not assign the now-valid object to an Object; however previously you couldn't return it anyway as an Object so I don't think there's any point considering this case.

The change looks fine. I just share the same concern as @schmidt-sebastian on the risk of introducing unexpected breaking changes to developers. It would be safer to rollout as a major version change but I leave it to @hiranya911 to make the call.

To confirm the changes are non-breaking I asked on the internal TypeScript group and unfortunately received feedback that indeed it can be a breaking change for those who leverage type inferences. For example, performing:
function foo(): Object {
  // ...
}

let x = foo();
x = 3;

If the return signature of foo() is Object, then the above would work since x would be implicitly receive the Object typing, however if we change foo() to return object then this no longer compiles. As such, I'm going to amend the PR to only change function parameters to object.


Include cert manager schema

Description of changes:

Include json schema for cert manager

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Just a heads up, we don't have to include every field from the values.yaml in the schema. If there are things that don't make sense it's ok to drop them prior to conversation so it's not overly bloated.

/approve
/lgtm

Just a heads up, we don't have to include every field from the values.yaml in the schema. If there are things that don't make sense it's ok to drop them prior to conversation so it's not overly bloated.

gotcha. That makes sense.


Harvesing - after correctly activated harvseting app still present "Activation in progress"

Harvesing - after correctly activated harvseting app still present "Activation in progress".
It's probably because app is not checking endpoint /node/unlockedaccount

I have been testing this since launch. I have tested on both iOS and Android and the problem exists on both.
I use an account with funds in it.
I activate key/harvesting and all that.
I ask a node to harvest for me.
I use the API on my browser endpoint/node/unlockedaccount and can see the linked key from the explorer page for my account is the same key in the nodes unlocked account returned data.
Later on, that node produces blocks for me. So I have verified for a fact that node is harvesting on my behalf because I actually collected fees for producing blocks.
And yet the mobile app still says "activation in process" or even worse, just "keys linked".

Android phone showing "keys linked" but clearing making blocks.

iOS app saying "activation in process" but still also making blocks.

Still doesn't work for me. Tested on production app.

After fix in dev it works correctly. Checked on build http://symbol-mobile-builds.peersyst.com/post-launch/symbol-wallet-prod1.1-10-g7aa5d2f-7aa5d2f-210721-release.apk


FixFixed job scheduling missing certain time window schedules

Since the tasks scheduled periodically will occupy a certain time window, this will cause some tasks within this time to be unable to be scheduled. To compensate, we set the time start window to the last scheduled end time instead of the current time.
Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run feut


Vertical and Horizontal Displacement

@Alex-Lewandowski @khogenso @piyushrpt Hello, first of all, thank you for the work done. Within the scope of Opensciencelab, I processed my human data with h3py + mintpy notebooks and created displacement maps in the LOS direction. However, using my results from ascending and descending orbits, I want to separate the LOS direction into vertical and horizontal components. Can you help, if there is any solution for this I may have missed it.

You should check out MintPy's asc_desc2horz_vert utility. I believe it will do what you need.

@oguzhannysr I second Forrest's recommendation. Additionally, we have recently replaced the MintPy notebooks in this repository with the opensarlab_MintPy_Recipe_Book, which is also available in OpenSARLab.
We have plans to eventually add a notebook to the "Extras" chapter to demonstrate use of asc_desc2horz_vert script, as it has been a frequent request.

@forrestfwilliams @Alex-Lewandowski Thanks for your help. I couldn't figure out how to use the asc_desc2horz_vert.py file. I ran opensarlab_MintPy_Recipe_Book on both orbits and got all my results. I want to perform vertical and horizontal separation for each displacement produced (result files in the geotiff file). In addition, I read in another discussion that this py file is compatible with ISCE, but not with GAMA.

usage: asc_desc2horz_vert.py [-h] [-d DS_NAME] [-g GEOM_FILE GEOM_FILE]
[--max-ref-yx-diff MAX_REF_YX_DIFF]
[--az HORZ_AZ_ANGLE] [-o HZ_FILE UP_FILE]
[--oo ONE_OUTFILE]
file file
For example, which result files should I use for the input data here?

@forrestfwilliams @Alex-Lewandowski I am waiting for your help, thank you very much.

Hi @oguzhannysr,
OpenSARLab has seen a recent increase in questions regarding asc_desc2horz_vert.py, so I will take some time to look into it more next week. It is possible that we will need to do a little work to get it running on GAMMA InSAR data.
Forrest linked to the python module in his comment, however there is also a CLI (https://github.com/insarlab/MintPy/blob/main/src/mintpy/cli/asc_desc2horz_vert.py) that contains some example workflows for using the tool in the comments. It suggests that you could call it with something like: asc_desc2horz_vert.py hyp3_gamma_sbas_ascending/MintPy/velocity.h5 hyp3_gamma_sbas_descending/MintPy/velocity.h5

@Alex-Lewandowski Thank you very much for your efforts.  I will be waiting with curiosity.  My goal will be to parse each displacement map in the Geotiff result folder in vertical and horizontal directions.  I would like to do it for Velocity as well, but what I really want is for displacement maps.

@Alex-Lewandowski Hello, any news? Thank you.

Hi @oguzhannysr,
I was able to use asc_desc2horz_vert.py on HyP3 INSAR_ISCE_BURST data. It should work on HYP3_INSAR_GAMMA as well. Once the dataset is loaded by MintPy and a time series is produced, the script should be able to use it.
To run the script, you should first prepare two time series meeting the following requirements:

They have overlapping spatial extents
They have the same spatial resolution
They have close to the same reference point (within 3 pixels)

The 3 pixel maximum allowance can be adjusted with the --max-ref-yx-diff argument

One dataset should be in the ascending orbit direction
One dataset should be in the descending orbit direction
They share a temporal range

Warning: the script will run on time series whose temporal ranges do not intersect at all, and provide (probably meaningless) results. This makes me think that it does not account for datetimes, and it may not be safe to pass 2 time series whose temporal ranges differ by much but still overlap. This requires further investigation.

Another warning: the script will handle different but intersecting spatial extents, however it will leave non-decomposed, LOS velocities around the edges as seen below:


Implemented: added product identifier in setting page (#220)

Related Issues

#220
Short Description and Why It's Useful

currently added product identifier in setting app , and fetched correct ecom store as suggested
Screenshots of Visual Changes before/after (If There Are Any)

Contribution and Currently Important Rules Acceptance

[ ] I read and followed contribution rules

Handled here: https://github.com/hotwax/import/pull/308


Add missing nls labels to context menu

Fixes #4334
Some of the context menu entries didn't have explicit catalog entires for their action. This updates them to use the existing nls labels for the corresponding action.

Just to note - this doesn't necessarily guarantee that everything is translated... only that those things that have translations are used.


UX Register

Requirement
As a Guardian User, when asking for the DID, submitting the VC (if not, Create DID), then its going to be understanding (list or Matrix), understand the schema of the data and the policy that the data is following (How do we validate if this data has been validated by the 3rd Party Guardian or Other Data Source)?
We have to know that the data is good, and someone is not sending the data to cause some type of negative consequence. It has to be good data.
What role does this data play within the current Guardian Policy, is it a single point of failure? If it is, determine Error Code or Denominate Back-up procedure.
Pre Requisite

Discovery Session with Hedera Team

Definition of Done

Need @anvabr and @Pyatakov help to define this, this is TBD. @danielnorkin

This ticket is duplicate of #1515


Conversation style appears tied to the dataset rather than the model

If I'm not mistaken, the conversation style that applies during a fine-tune is defined by the dataset defaults, rather than by the tokenizer being used (docs here.
What happens if the tokenizer+model do not have the tokens required for a given conversation style? Are those special tokens created? I assume not.
Is there an option whereby one can:

default to using tokenizer.chat_template for the conversation style? (most models on huggingface have this defined)

I'm guessing one issue here is that - since tokenizer.chat_template is not known in advance, this poses issues for controlling the loss mask on the prompt vs completions?
So maybe that's the dilemna? Either one can:
a) load a default conversation style from the model/tokenizer, but then it's hard to implement loss masks, or
b) load the default conversation style based on the dataset choice, but then there risks being token incompatibilities with the model/tokenizer being trained.
The practical task I'm interested in is fine-tuning llama 3 and qwen 2.5 using conversation styles that match their chat templates (so as to minimise the re-training/over-writing that I'm doing).

@RdoubleA do you mind taking a look?

@RonanKMcGovern thanks for creating the issue. Rafi will probably have the best answer here, but I can weigh in as well. First, one thing worth clarifying: the use of conversation_style is primarily to get data from its raw format into an intermediate format that can be understood by torchtune. E.g. you can see the input and output formats of ShareGPTToMessages here -- note that nothing is actually being tokenized, nor do we do anything involving special tokens.

What happens if the tokenizer+model do not have the tokens required for a given conversation style? Are those special tokens created? I assume not.

Your understanding is correct. In general if we are formatting the prompt in a certain way I'm not sure it would be easy to infer what formatting comes from special tokens vs what doesn't. Also:

Is there an option whereby one can default to using tokenizer.chat_template for the conversation style? (most models on huggingface have this defined)

This we don't currently support (mainly because it is hard to map 1:1 from Hugging Face to torchtune tokenization logic, though this is likely something we can work to improve).

The practical task I'm interested in is fine-tuning llama 3 and qwen 2.5 using conversation styles that match their chat templates (so as to minimise the re-training/over-writing that I'm doing).

There are different entry points depending on the degree of customization you're looking for, but most of them should be accessible directly through the tokenizer (i.e. not through the dataset, so you do have access to any special tokens).

As a first step, you may just be able to use the tokenizer as-is -- all our model tokenizers have a method tokenize_messages which will take in a list of messages (i.e. those returned by the conversation_style mentioned above) and tokenize them with the default formatting and special tokens for that model. E.g. for Llama3 you can just use llama3_tokenizer, and you can see here that its tokenize_messages method will iterate over the messages and apply any formatting with special tokens that is unique to Llama 3 (see e.g. the standard Llama 3 chat header added here).

If you want to do some formatting of the prompt you can use a predefined prompt template or write your own (check this page in our live docs for how to do this). This then plugs into the tokenizer to format each message before it gets tokenized. You can also combine this with the special_tokens_path tokenizer argument (e.g. see in the Qwen 2.5 tokenizer API reference here). Combining both of these should get you custom formatting with any additional special tokens, but just in case..

Finally, if you find that the existing tokenizer class is just not cutting it or there's some additional customization you need, you can always modify the tokenizer yourself! Probably the quickest way to do this is to just inherit from whatever model tokenizer class you'd like to modify (e.g. Llama3Tokenizer here) and override tokenize_messages or any other methods you need to customize. But this should be more of a last resort -- the hope is that through appropriate customization of prompt_template and/or special_tokens in (2) you never need to do this for an existing model.

P.S. sorry I am realizing that some of the model tokenizer classes are not linked in our API reference and they contain a lot of important info (e.g. the details about Llama3 here). So will make sure we update that!

Thanks very much for your detailed response. I'll need to dig in a bit more
but this is giving me structure for finding my feet.
For background, I'm coming to this from a transformers/unsloth perspective
where I'm used to:
a) models having a tokenizer.chat_template
b) I either i) start with data that is formatted as an array of
system/user/assistant messages OR ii) data that is in columns, say of
"question" and "answer", or just "text".
c) either the trainer automatically applies the chat template as in b.i. OR
I set up a formatting function for b.ii. (which may just make use of the
chat_template) to convert data in columns into a single text string).
If using a chat_template, that typically will automatically have an EOS
type token at the end of assistant responses, which will ensure the model
knows when to stop (and this token is typically not masked. I note in torch
tune docs, that bos and eos typically are masked, and then it seems there
is an option to add an additional ending token, which I presume is not
masked).
Lastly, there is the matter of whether one trains on completions or not.
This can be a bit messy with transformers/unsloth and often requires
identifying the portion of the chat template that delineates the assistant
response's start, and using that to find where to position the loss mask.
I don't think the above approach is necessarily better than torch tune. I'm
just sharing it for context (apologies if already obvious).
So, moving to torch tune, it seems like the philosophy is that models are
more hard coded (i.e. the prompt template is already there for common
models in the fine-tuning library). For most use cases this is fine (or
probably easier, because one can easily turn on training on
completions-only or not, because the library has a firm understanding of
model/tokenizer syntax). For edge cases where the prompt is being changed
and special tokens introduced (say, custom tool calling that doesn't follow
the base model approach), this would require care [and that is fine].
Something I think is worth some thought is ensure that the final
tokenizer.json does have a tokenizer.chat_template that is consistent with
how the training was done. This (unless I'm mistaken) is what vllm uses to
apply a chat template for inference.
Anyway. I'm keen to try out torch tune mostly for two reasons: i) to see
training speed, ii) since it allows for multi-gpu quite easily (DDP and
FSDP is more messy on transformers and not possible on unsloth).
One last side-note. There was a major issue in transformers/unsloth whereby
gradient accumulation was naively adding gradients without properly
normalising for the number of unmasked tokens and length. This led to major
error on the loss when accumulating gradients. I read through the torch
tune code today and I think it is correct, but probably would be wise for
someone smart on torch tune to read this if they haven't already -
https://unsloth.ai/blog/gradient.
On Sat, Nov 30, 2024 at 8:35 PM ebsmothers @.***> wrote:

@RonanKMcGovern https://github.com/RonanKMcGovern thanks for creating
the issue. Rafi will probably have the best answer here, but I can weigh in
as well. First, one thing worth clarifying: the use of conversation_style
is primarily to get data from its raw format into an intermediate format
that can be understood by torchtune. E.g. you can see the input and output
formats of ShareGPTToMessages here
https://pytorch.org/torchtune/main/generated/torchtune.data.ShareGPTToMessages.html#torchtune.data.ShareGPTToMessages
-- note that nothing is actually being tokenized, nor do we do anything
involving special tokens.
What happens if the tokenizer+model do not have the tokens required for a
given conversation style? Are those special tokens created? I assume not.
Your understanding is correct. In general if we are formatting the prompt
in a certain way I'm not sure it would be easy to infer what formatting
comes from special tokens vs what doesn't. Also:
Is there an option whereby one can default to using
tokenizer.chat_template for the conversation style? (most models on
huggingface have this defined)
This we don't currently support (mainly because it is hard to map 1:1 from
Hugging Face to torchtune tokenization logic, though this is likely
something we can work to improve).
The practical task I'm interested in is fine-tuning llama 3 and qwen 2.5
using conversation styles that match their chat templates (so as to
minimise the re-training/over-writing that I'm doing).
There are different entry points depending on the degree of customization
you're looking for, but most of them should be accessible directly through
the tokenizer (i.e. not through the dataset, so you do have access to any
special tokens).

As a first step, you may just be able to use the tokenizer as-is --
all our model tokenizers have a method tokenize_messages which will
take in a list of messages (i.e. those returned by the
conversation_style mentioned above) and tokenize them with the default
formatting and special tokens for that model. E.g. for Llama3 you can just
use llama3_tokenizer
https://pytorch.org/torchtune/main/generated/torchtune.models.llama3.llama3_tokenizer.html#llama3-tokenizer,
and you can see here
https://github.com/pytorch/torchtune/blob/32e265d5749fd592711a03247486eafa6c898d94/torchtune/models/llama3/_tokenizer.py#L261
that its tokenize_messages method will iterate over the messages and
apply any formatting with special tokens that is unique to Llama 3 (see
e.g. the standard Llama 3 chat header added here
https://github.com/pytorch/torchtune/blob/32e265d5749fd592711a03247486eafa6c898d94/torchtune/models/llama3/_tokenizer.py#L199-L208
).
2.
If you want to do some formatting of the prompt you can use a
predefined prompt template or write your own (check this page
https://pytorch.org/torchtune/main/basics/prompt_templates.html in
our live docs for how to do this). This then plugs into the tokenizer to
format each message before it gets tokenized. You can also combine this
with the special_tokens_path tokenizer argument (e.g. see in the Qwen
2.5 tokenizer API reference here
https://pytorch.org/torchtune/main/generated/torchtune.models.qwen2_5.qwen2_5_tokenizer.html#torchtune.models.qwen2_5.qwen2_5_tokenizer).
Combining both of these should get you custom formatting with any
additional special tokens, but just in case..
3.
Finally, if you find that the existing tokenizer class is just not
cutting it or there's some additional customization you need, you can
always modify the tokenizer yourself! Probably the quickest way to do this
is to just inherit from whatever model tokenizer class you'd like to modify
(e.g. Llama3Tokenizer here
https://github.com/pytorch/torchtune/blob/32e265d5749fd592711a03247486eafa6c898d94/torchtune/models/llama3/_tokenizer.py#L43)
and override tokenize_messages or any other methods you need to
customize. But this should be more of a last resort -- the hope is that
through appropriate customization of prompt_template and/or
special_tokens in (2) you never need to do this for an existing model.
P.S. sorry I am realizing that some of the model tokenizer classes are not
linked in our API reference and they contain a lot of important info (e.g.
the details about Llama3 here
https://github.com/pytorch/torchtune/blob/32e265d5749fd592711a03247486eafa6c898d94/torchtune/models/llama3/_tokenizer.py#L43-L63).
So will make sure we update that!
—
Reply to this email directly, view it on GitHub
https://github.com/pytorch/torchtune/issues/2096#issuecomment-2509567704,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASVG6CTFRPQUGN5OERB3BTD2DKG2NAVCNFSM6AAAAABSY2L2LWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBZGU3DONZQGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi @RonanKMcGovern I am gonna close this issue just to clean up our backlog. If you still have questions or anything is unclear just open it back up and we can continue the discussion!

sounds good, appreciate the responses.
I do think creating that tokenizer config file should be prioritised (i.e.
with the chat template) because otherwise how are peopel going to run the
model (other than vllm/sglang). Cheers
On Fri, Dec 6, 2024 at 10:52 AM ebsmothers @.***> wrote:

Hi @RonanKMcGovern https://github.com/RonanKMcGovern I am gonna close
this issue just to clean up our backlog. If you still have questions or
anything is unclear just open it back up and we can continue the discussion!
—
Reply to this email directly, view it on GitHub
https://github.com/pytorch/torchtune/issues/2096#issuecomment-2523953238,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASVG6CVAYS5K2SZ5LMRSU6D2EHXAFAVCNFSM6AAAAABSY2L2LWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMRTHE2TGMRTHA
.
You are receiving this because you were mentioned.Message ID:
@.***>


logrotate runs with /bin/sh so script must be executable by it

https://github.com/radiasoft/rsconf/blob/a5cf99a29b53aad5770af9cb449ed9fae6cb31b2/rsconf/package_data/mongod/logrotate.conf.jinja#L5 is not valid. kill: SIGUSR1: invalid signal specification

This was fixed by #275. I accidentally tagged the wrong issue in the commit...


(QUESTION) Masterclasses flow

what happens after sending submission to PARTICIPATE  in the workshops AS PARTICIPANT?

all submissions are visible in company account.ecommerceberlin.com panel .... in RSVP section (currently disabled)
organizer can click approve / reject
a) approving

organizer gets all contact info
participant gets info
participant is being upgraded to VIP

b) rejecting

participant gets info

What if they resign from one of the slots in advance and let us know about it? Can the speaker accept someone else?

For how many slots can they register? 2?

2 is "the setting" as it was @ TEH .... honestly i have not checked (YET) how many parallel participants were finally accepted
anyway..... i think it depends on the total number of masterclasses (2 seemed reasonable for 14 workshops...if having less i would consider 1.... ALSO i think it depends on when we want to start with participants applications..... 2 was OK because of the short time)

What if they resign from one of the slots in advance and let us know about it? Can the speaker accept someone else?

@klaudia2209 take a look at the FLOW at the beginning of this issue (thats the reason its good to have THREADS and do not duplicate)
organizer accepts / rejects so " if they resign from one of the slots in advance " is something not applicable...there is no way to implement that now...... we could if we decided 1 month before when we started to discuss it...now its too late... there is only a time to polish things

ad.1a)Total number of masterclasses is 10. So probably 1 masterclass would be ok.
ad. 1b) starting date of participants applications - probably after agenda publication, not before, so maybe in middle/ at the end of the January I suppose
ad. 2. I see and I understand. What about extreeeme situations - e.g. 10 people resigned. Can we give the possibility to the speaker to accept other 10 people? Manually?

ad 1) i think its doable
ad 2) "10 people resigned" .... as i wrote "THEY CANNOT"... so you wanted to write "10 people wrote an email to use they cannot participate?" ....... well.... we can create 1000 different scenarios but does it really make sense? .... we can manually process some resignations.....we had no such situations (in mass scale) so i could think of some automated way.....

ok
ok

@az
I confirm that participant will choose 1 masterclass only.
We changed the time slots a little bit - first masterclass will start at 10:20. We have 10 minutes of break between masterclasses.
Probably we will release another slot of masterclasses to have 12 in total, but I don't know when it will be (I think that it's more Mark & Peter decision in this case). Mark said that we can add them manually later. On the masterclasses website there will be a view available for participants of masterclasses.

@klaudia2209 i have created another build of website to reflect new time slots - i hope it is final...every time you change timeslots (like 10:30->10:20 or add totally new time) schedule on the front page would have to be updated (website rebuilt)
re: 1 masterclass per participant  - i will work on that.

Time slots are final, but if we add another two masterclasses - we will need to add one more slot. I prefer to let you know about it earlier.
re: sounds good.


ARROW-16276: Arrow 8.0 News

Let me know if I've missed anything important in this release!

It might be better to describe function and package names as `{dplyr}` or `write_dataset()` so that pkgdown can create the links automatically.
https://github.com/r-lib/pkgdown/blob/feb91bf46c3ea78f8a03aead9f9a4934e3965ba4/vignettes/linking.Rmd?rgh-link-date=2022-02-09T10%3A52%3A57Z#L20-L36


Veteran can be put on Enchanted Wolves collars

I'm not sure whether or not it is within your ability to fix this or if it is an issue on Enchanted Wolves's side, but I suppose it might be worth a try to let both mod devs know anyway.
Anyway, the issue is that the "Veteran" enchantment is able to be put on wolf collars from the Enchanted Wolves mod, but it does not do anything. I don't think it is supposed to do anything for wolves anyway, as they cannot absorb or attract experience orbs by default, and for this reason Mending is unable to be put on collars.
Steps to reproduce the behavior:

Put any collar from Enchanted Wolves in an enchantment table. There will be a chance that it will be enchanted with Veteran as a result.
Alternatively, you can use a Veteran enchanted book on a collar in an anvil.

Expected behavior
Collars should be unable to be enchanted with Veteran.
Versions:(check log if you don't know)

Forge Version: 36.2.4
MC Version: 1.16.5
Mod Version: VanillaTweaks 1.5.46 and Enchanted Wolves <IP_ADDRESS>
JEI Version: <IP_ADDRESS>
Curios Version: <IP_ADDRESS>

This has to be fixed on enchanted wolves side.


[BP-1.16][FLINK-29389][docs] Update documentation of JDBC and HBase lookup table for new caching options

Unchanged backport of #20884

Merging as this is a doc-only PR. Doc validation has passed on CI.