text-decoration not inherited from tspan

Consider the following SVG:
<svg width="200" height="200" viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg">
    <defs/>
    <text id="text1" font-family="Noto Sans" font-size="48" x="50" y="100">
        <tspan text-decoration="overline" fill="#000000" stroke="#FF0000">
            <tspan>Text</tspan>
        </tspan>
    </text>
</svg>

When rendering with resvg, the overline will not appear at all. If I put it into the text element instead, it will appear. Shouldn't it also be inherited when it appears in a t-span element? Especially since the fill and stroke do seem to be inherited. At least in Chrome and Safari it seems to show up that way. Is this a bug or am I missing something about how inheritance works in this case?

#410 ?

text-decoration is insanely hard to parse and apply: https://razrfalcon.github.io/notes-on-svg-parsing/text/text-decoration.html


[CS] Fixes #2207 : Add No Parent Method Call On No Override Process Rule

All checks have passed 🎉 @TomasVotruba it is ready for review.

I like this rule :+1:

I made the original issue with intent to create check for case, when parent call is empty method.
Something like this:
class SomeClass
{
    public function emptyMethod()
    {
    }
}


Account for embedded HC in the assert

Core - Full Integration Build 1756 outcome was FAILURE using a merge of 6265087b509632205a8ae220347f576886427c72
Summary: Exit code 1 (new) Build time: 00:01:08

Full integration - Windows Build 176 outcome was FAILURE using a merge of 6265087b509632205a8ae220347f576886427c72
Summary: Exit code 1 (new) Build time: 00:01:37

Linux Build 2632 outcome was FAILURE using a merge of 6265087b509632205a8ae220347f576886427c72
Summary: Tests passed: 1637, ignored: 40; exit code 1 (new) Build time: 00:02:51

Windows Build 2139 outcome was FAILURE using a merge of 6265087b509632205a8ae220347f576886427c72
Summary: Tests passed: 1637, ignored: 40; exit code 1 (new) Build time: 00:03:32


3 all profiles will require the service to be described by openapi

@tomkralidis Have your requested changes been addressed ok? If so, could you just merge the PR?


copy_utf8

Would be nice to have a copy_utf8 function that combines the following into one operation:
if (validate_utf8(src, size)) {
    memcpy(dst, src, size)
}

Refs: https://github.com/nodejs/node/pull/54526

@ronag How would you call it?

copy_if_valid()?

@anonrig @ronag Someone wants to code it up?
It might be three lines of code... could be right here....
https://github.com/simdutf/simdutf/blob/14d1b14dd33fbabc2fb212c91c3d3adaa2b3e3e0/include/simdutf/implementation.h#L42

actually what we need is a latin1_to_utf8 with an output limit

actually what we need is a latin1_to_utf8 with an output limit

It might be easier to code a function which tells you how many latin1 characters to read.

It might be easier to code a function which tells you how many latin1 characters to read.

That would require scanning the string twice which is inefficient.


refactor(database): cleanup database

🍰 Pullrequest

Cleanup database, reduce dependencies
Issues

None

Todo

[X] None

I do not understand the motivation behind this cleanup nor can i follow the changes. Is it possible to give an introduction or at least a more detailed description in the PR?

What about line 10 in backend/src/server/createServer.ts ?

You are talking about import connection from '@/typeorm/connection'?
This is part of the backend. The local(backend) connection is created with the local config values.
The typeorm include import { Connection } from '@dbTools/typeorm' cannot be removed - i tested this - the connection is bound to the path of the typeorm, therefore we need to use the same typeorm so the models (database) and the connection (backend) stem from the same typeorm source.

What about the federation unit tests?

They run, they have no dependencies on the stuff I changed

I do not understand the motivation behind this cleanup nor can i follow the changes. Is it possible to give an introduction or at least a more detailed description in the PR?

We figured out that the config values from backend are used for the database when including the database in the corresponding other project. This is confusing and considered wrong. Therefore I wanted to parameterized those parameters and figured out that we don't need all this stuff. E.g. we removed seeding form the database since we noticed we need the business logic.

Member

The error occurred since you mixed dev and production datasets. Your database must be either migration.ts or migration.js. That always has been and is a limitation of our migration library.


Change testing docker image

Summary
We should change the docker image for the testing since we are not using fsl anymore.

Additional Detail

Next Steps

Chose new image (miniconda?)
Implement necessary changes in config.ylm
Check tests work in the new image

This makes sense now that #48 was merged. It should make the testing way faster.

I am planning to make it a PR for hacktoberfest


[essence-input] Choose either controlled or uncontrolled

essence-input component sets both value and defaultValue properties to React's input component. This is not supported (per https://github.com/facebook/react/issues/5819) and raises a warning on React.js v15.0. Please consider use one or the other, but not both.

I tried React v.15 with some of the components and there is a need for refactoring.
There is an issue #51 to upgrade to react v.15


F-Droid build failed

Codepoint 62188 not found in font, aborting.
FAILURE: Build failed with an exception.
* Where:
Script '/home/vagrant/build/srclib/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1005
* What went wrong:
Execution failed for task ':app:compileFlutterBuildRelease'.
> Process 'command '/home/vagrant/build/srclib/flutter/bin/flutter'' finished with non-zero exit value 1

Could you please take a look? Thanks!

Thanks for the heads up. I believe this is the same issue that was fixed for the Play Store build in 9768e6bfebbaddc8068bac4c83dcfaf9845f0636. Not sure why tree shaking suddenly breaks the build, but I'll submit the same workaround for F-Droid.

Thanks!


fix typo

Coverage remained the same when pulling 8a8676dd9ee1bbf3f8b3860b3860995fa33cea24 on nicoder:patch-3 into 9f166349101024e57cb6af6d9017fd84130c2b18 on phpbrew:master.

LGTM :+1:

Thanks!


Allow hiding posts from RSS feed

This uses the disable_feed parameter from a post's frontmatter
I feel like I should mention this in the README, but I am not sure where exactly. Under the favorite posts section?

Thanks for PR, I added comment to this.
About Readme - yes, under "Favorite" block it would be fine. Maybe later I will add post frontmatter section to the README

Thanks for PR, I added comment to this.
About Readme - yes, under "Favorite" block it would be fine. Maybe later I will add post frontmatter section to the README

Merged, thanks!

Merged, thanks!


Automatic Subscription of POs/TLs/Secondary TLs and Other Contacts of a New Registry Product to Registry Contacts for Private Cloud in MailChimp

To Do:
To automate subscription of POs and TLs of Registry Product to Registry Contacts for Private Cloud in MailChimp
Explore the MailChimp API and subscription options
DoD:

[ ] automated subscription of POs/TLs//Secondary TLs and Other Contacts (once they are implemented) of Registry Product to Registry Contacts for Private Cloud in MailChimp

reference:

https://github.com/mailchimp/mailchimp-marketing-python


Project Setup

As a optcg developer i need to setup my local development environment.
TODOs:

[x] Create github account
[x] Download git
[x] Create ssh key and sync it with github
[x] Connect github account to op-tcg-leaderboard github repo (admin required)
[x] Download python
[x] Download pycharm community edition
[x] Clone op-tcg-leaderboard github repo to local machine
[x] Follow Readme (install poetry and access poetry shell)
[x] Create a git feature branch and test if pushing code works

AC:

Developer is able to run and push code

All devs did a proper setup


Notification On-click Event

How to add an on-click event for notifications? Or is there a way to handle this? I am using xamarin forms.

I have the same question. Did you resolve it?

Nope. I haven't implemented it. I think you need to use pending intent for this.


Custom Tag Component

Hi,
Looks great! Can I pass a custom component as a prop to customise how tags are rendered?
I've like to embed a date-picker inside the tabs.
Thanks

@prakhar1989 I would also like to remove Tag's dependency on react-dnd as I don't need the reordering capability.

That's a separate issue

@dcworldwide Have you tried creating a tag w/ a component specified as the value of the text property? Seems like it would work to me, but I haven't verified.
@vkbansal Please see #23.


MSVS 2015 Update 3 does not work with PTVS

Python tools seems to be broken. It’s still showing 2.2.3 is currently installed and update 2.2.4 is availiable. But during installation “Update” button is gray that makes update not possible

We accidentally published a release with the wrong version number in Extensions and Updates. This triggers the notification, even though you've got 2.2.4 installed (see Help/About).
A fix was published last week - before it was released - but it seems people are still getting the earlier version somehow (probably a CDN issue). If you install the 2.2.4 release from the releases page you'll get the version number fix and won't see the notification any more.
(Uninstalling and reinstalling through the VS installer does not work because of the caching done by the installer.)

Thank you for the very fast reaction. This kind of slip-ups can happen to anybody.
But, after the install of 2.2.4 from the release page I still have an error loading the plugin.

398
2016/06/30 06:13:29.265
Error
VisualStudio
    LegacySitePackage failed for package [Python Tools Package]Source: 'Microsoft.VisualStudio.Composition' Description: Expected 1 export(s) with contract name "Microsoft.PythonTools.Interpreter.IInterpreterOptionsService" but found 0 after applying applicable constraints.
Microsoft.VisualStudio.Composition.CompositionFailedException: Expected 1 export(s) with contract name "Microsoft.PythonTools.Interpreter.IInterpreterOptionsService" but found 0 after applying applicable constraints.
   at Microsoft.VisualStudio.Composition.ExportProvider.GetExports(ImportDefinition importDefinition)
   at Microsoft.VisualStudio.Composition.ExportProvider.GetExports[T,TMetadataView](String contractName, ImportCardinality cardinality)
   at Microsoft.VisualStudio.Composition.ExportProvider.GetExport[T,TMetadataView](String contractName)
   at Microsoft.VisualStudio.Composition.ExportProvider.GetExport[T](String contractName)
   at Microsoft.VisualStudio.Composition.ExportProvider.GetExport[T]()
   at Microsoft.VisualStudio.Composition.ExportProvider.GetExportedValue[T]()
   at Microsoft.VisualStudio.ComponentModelHost.ComponentModel.GetService[T]()
   at Microsoft.PythonTools.PythonToolsService..ctor(IServiceContainer container)
   at Microsoft.PythonTools.PythonToolsPackage.Initialize()
   at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.SetSite(IServiceProvider sp)
{6DBD7C1E-1F1B-496D-AC7C-C55DAE66C783}
80131500

399
2016/06/30 06:13:29.280
Error
VisualStudio
    SetSite failed for package [Python Tools Package](null)
{6DBD7C1E-1F1B-496D-AC7C-C55DAE66C783}
80131500

400
2016/06/30 06:13:29.282
Error
VisualStudio
    End package load [Python Tools Package]
{6DBD7C1E-1F1B-496D-AC7C-C55DAE66C783}
80131500

This is an occasional upgrade issue that we haven't been able to track down. VS keeps a cache of loaded assemblies that doesn't always get invalidated when it should.
If you delete C:\Users\You\AppData\Local\Microsoft\VisualStudio\14.0\ComponentModelCache and restart you should be fine.

@zooba FYI RTVS added setup custom action to wipe that folder, as a workaround to that occasional bug.
https://github.com/Microsoft/RTVS/blob/master/src/SetupCustomActions/CustomAction.cs#L66

@zooba
I had same issue. I removed "ComponentModelCache " and it works now. Thanks!!   !:)


Database files larger than 2GB

Database files larger than 2GB do not work on Windows as the 32bit version of the seek function returns a signed long, which causes downstream functions to fail as the offsets are no longer valid.

Hi! ForestDB bugs should be filed in the Jira tracker at https://issues.couchbase.com . (I think this Github issue tracker is only open so people can submit pull requests.)

You might want to file an issue on the Jira tracker, with a link here, to make sure the bug is visible. (Most Couchbase projects don't use Github issue trackers, and internal code reviews go through Gerrit, so PRs on Github may not have a lot of visibility.)

Aaron,
Thanks for identifying this issue on windows and suggesting the fix. As Jens mentioned above, we use Jira to track bugs on ForestDB. We will create a Jira ticket for this issue, and patch your fix and review / verify it through Gerrit soon.
Next time you find any issues on ForestDB, please use our Jira site to report a bug or make any suggestions.
Thanks!

The Jira ticket was created:
https://issues.couchbase.com/browse/MB-14321
The fix was pushed in Gerrit for review:
http://review.couchbase.org/#/c/49342/

Thanks ... I didn't know about jira being your issue tracker.


Silent Error when Folder Delete operation failed

Description
I was using Files to delete a folder. The folder deletion failed (due to a subfile being opened by another application).
However, there was no error popup to indicate the folder deletion failed. One has to go to the Ongoing Tasks panel to know that the operation failed.
Steps To Reproduce

Have a folder that contains some files
Open one of the files in Visual Studio Code
Use Files to delete the folder
Observe that is no indication that the operation failed. No popups, no color changes, no icons.
Observe the Ongoing Tasks panel mention the operation failed

Requirements

When a file operation failed, there should be an outward indication of failure, such as a popup, color change, or notification icon.

Files Version
<IP_ADDRESS>
Windows Version
Windows 10 (22H2): 19045
Log File
I checked the logs, there was nothing written in the prior 6 hours till when the file operation failed. So there are no relevant logs to upload.

Deleting an open file displays a popup dialog for me, can you see what happens if you try deleting the file itself as opposed to the folder?

Deleting the parent folder of a in-use file also displays a popup for me

@yaira2 didn't the Ongoing Tasks icon use to display a colored badge with the number of operations? Has support for badges come back for winui yet?

This might be a different reason the folder failed to delete as VS code doesn't lock files and can normally be delete when open in VS code. Can you try in Windows File Explorer and see if it show an error.

didn't the Ongoing Tasks icon use to display a colored badge with the number of operations? Has support for badges come back for winui yet?

This needs to be tested but I don't remember seeing this in any of the WinUI changelogs.

This might be a different reason the folder failed to delete as VS code doesn't lock files and can normally be delete when open in VS code

Ah you're right - VSCode doesn't really lock.
Okay it took me a while to reproduce the problem again, but the new reproduction steps are:

Have a folder with a file in it
Use WSL and open the file in vi or vim (not nano, it doesn't lock)
Try deleting the file in Files App
Ongoing Tasks had a deletion failure, but there isn't any UI popup

Files Version <IP_ADDRESS>
Windows 10.0.19045.3031
WSL <IP_ADDRESS>-microsoft-standard-WSL2

What does it do in Windows File Explorer?

What happens if you do in Windows File Explorer?

If I had used WSL to vi the file, Windows Explorer refuses to delete due to Admin privileges.

====
If I had used WSL to cd into the folder, Windows Explorer ignores WSL and deletes the folder.

This is likely the same issue as #10422

We hope to find a solution for that soon, thanks.

This issue is resolved in our dev branch and will be included in the next release.


Fixes stbtt implemention

This commit fixes the issue mentioned by https://github.com/memononen/nanovg/commit/0b37350df78dbe43844655b4e9cc073ac8a2e102#r63095702

Thank for the fix!


Upgrade to Go 1.17

Description
A few sentences describing the overall goals of the pull request's commits.
Related Issues
List related issues.
Testing
A few sentences describing what testing you've done, e.g., manual tests, automated tests, deployed in production, etc.
Checklist

[ ] I made sure to update CHANGELOG.md.
Remember, the CHANGELOG needs to mention:

Any new features
Any changes to our included version of Envoy
Any non-backward-compatible changes
Any deprecationsLukeshu/g

[ ] This is unlikely to impact how Ambassador performs at scale.
Remember, things that might have an impact at scale include:

Any significant changes in memory use that might require adjusting the memory limits
Any significant changes in CPU use that might require adjusting the CPU limits
Anything that might change how many replicas users should use
Changes that impact data-plane latency/scalability

[ ] My change is adequately tested.
Remember when considering testing:

LEGACY MODE TESTS DO NOT RUN FOR EVERY PR. If your change is affected by legacy mode, you need
to run legacy-mode tests manually (set AMBASSADOR_LEGACY_MODE=true and run the tests).
(This will be fixed soon.)
Your change needs to be specifically covered by tests.

Tests need to cover all the states where your change is relevant: for example, if you add a behavior that can be enabled or disabled, you'll need tests that cover the enabled case and tests that cover the disabled case. It's not sufficient just to test with the behavior enabled.

You also need to make sure that the entire area being changed has adequate test coverage.

If existing tests don't actually cover the entire area being changed, add tests.
This applies even for aspects of the area that you're not changing – check the test coverage, and improve it if needed!

We should lean on the bulk of code being covered by unit tests, but...
... an end-to-end test should cover the integration points

[ ] I updated DEVELOPING.md with any any special dev tricks I had to use to work on this code efficiently.

closed in favor of https://github.com/emissary-ingress/emissary/pull/3927


Apply for Mozilla Mini Grant

Here's the blog post: https://science.mozilla.org/blog/mini-grant-cfp
Here's the application link: https://mozilla-science-lab.forms.fm/mozilla-science-mini-grant-application
Here's the draft: https://github.com/WhitakerLab/WhitakerLabProjectManagement/blob/mozilla-mini-grant/FUNDING_APPLICATIONS/MozillaScienceLabMiniGrant_June2017.md
Here's the budget: https://docs.google.com/spreadsheets/d/1YZQTX9H5Y8IYlgYY-ifcG57uYt1xVxFtZ1Tc4oUfxpI/edit?usp=sharing

Questions for @stephwright:

Where does the budget outline go in the google form?

You can use the categories in the budget template (http://bit.ly/2riERqD) or just create your own outline and submit following the guidelines at the top of the template.

Thanks @stephwright! Here's our budget template. There doesn't seem to be any designated space for "a brief budget narrative". Should it just go inside the table? How is it different to the information in the application?
(This might not apply for salary by the way, which is what I'm asking about....)

Ahhh... don't worry about the narrative.  This template is a generic Mozilla form that we co-opted for the mini-grants.  The application questions cover this.

Hi @Islast! I'm off to sleep - I'll see you at 7am (3pm) for our meeting!
If you have time to take a look at what I've pulled together for the application form that would be super helpful. Any and all edits are very welcome. You can see that they're mostly just scrawled notes at the moment 😀 .

This can be closed when PR #50 is merged :smile:


Yii Editable column not initiating on ajax call when filling grid.

I have a editable grid with columns that can be changed with a popup editable. On default load of data in the grid i can edit the data and the striped underline will show.
When there is no data by default and you bring data into the grid there is a solid blue line and you cant click the value to edit it in the editable popup.
I remember this being an issue that was fixed in an older version when you had to re-register the javascript.

@hijarian problem here when the grid is initially empty ... no data ... the editable is not initiated at all ... then some rows added via ajax ... now editable will not work

this is a duplicate of #949 and #954 never fixed it (because it fixed an other thing).
I described my working solution in the comments at #949.

@lisps Hi! I tried your solution but could never get it working. How hard would a permanent fix be?


FeatureRequest: Ship cached websites with app store build

I'm creating a conference app with an integration of some websites for venue, sponsors etc. This pages do not change quite often and it would be great to ship them cached with the app store build.
Some users start the app at the conference center for the first time where wifi conditions are sometimes very poor. Instead of showing a blank page the users should see at least "something".
It would be great if mattress could support this. What I currently would do is caching the websites within the simulator, cache the contents of the required pages and zip the mattress folder afterwards to ship  it with the app (Currently there is a bug, see https://github.com/buzzfeed/mattress/issues/33).
Is there something that can be solved by mattress to improve this process? For example that mattress could create the zip-file and present a mail dialog to bring the file to the devs machine? Or to update the cache automatically before creating the app store build?
Will the cache be working on other devices?

With the above strategy I have had an app rejected by Apple once. Apple does not want you to copy out data from you app bundle to the document folder. They said that the app used to much document space on startup where the data was generated from the app itself.
How this could work (with a minor fix to this library):

Add a PreCache folder inside your app with content that you will distribute with your app.
When checking if a cache item exists, first check the documents Cache folder, if it's not there, then check the PreCache folder and return that.
Other things to take into account:
when writing to the cache, first check if it exists in the PreCache folder. If it exist there, then always write it to the Cache folder so that you always will have the latest version. Even if the caching policy is none.
This is the way I have set it up for https://github.com/evermeer/EVURLCache

thank you very much for this tips!


:children_crossing: Added automatic refresh in the AuthProvider

Added automatic refresh in the AuthProvider so users aren't met with the 401 page when it fails the first time

Not 100% sure, it sets a variable in localstorage to check if it has tried to refresh the browser automatically and if it hasn't it will refresh and set the localstorage key to true. Haven't been able to test this properly since I don't get the error on my machine 😕


Hanged when submitting a new external source item

Describe the bug
When a 403 error occurred the system got hanged.
To Reproduce
Steps to reproduce the behavior:

Using DSpace 7.6.1
The following error must occur - https://github.com/DSpace/DSpace/issues/9797
The the system hangs like in this image, giving the notion that is still processing

Expected behavior
The user should be notified about the occurred error, not being hanged nor have the feeling he needs to wait until it ends.
Related work
https://github.com/DSpace/DSpace/issues/9797

While this appears to be caused by https://github.com/DSpace/DSpace/issues/9797, I agree that the submission form should have better error handling.  Ideally the form shouldn't hang if an error occurs, but should display some information about the error and then allow the user to proceed (or not).  Needs a volunteer.


Update user guide

Codecov Report
Base: 72.15% // Head: 72.15% // No change to project coverage :thumbsup:

Coverage data is based on head (0f74fda) compared to base (ed91702).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##             master      #14   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

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

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

LGTM!


s.tl function link is broken

Issue in help/analyze/activity-map/activitymap-link-tracking/activitymap-stl-track-custom-elements.md
s.tl() function link currently points to https://marketing.adobe.com/resources/help/en_US/sc/implement/function_tl.html which results in 404.

Thanks for pointing this out! I've fixed it, and will be published live by tomorrow.


dashboards grafanna show NA

run command

root@linux:~/build# curl <IP_ADDRESS>:9167/metrics | grep '^unbound_up'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 17143    0 17143    0     0  1674k      0 --:--:-- --:--:-- --:--:-- 1674k
unbound_up 1

If you query your Prometheus instance for unbound_up, does it show the metric?
Is your Grafana successfully querying your Prometheus instance? One way to test: if you use the "Explore" feature on Grafana, does it show any metrics?

If you query your Prometheus instance for unbound_up, does it show the metric?
Is your Grafana successfully querying your Prometheus instance? One way to test: if you use the "Explore" feature on Grafana, does it show any metrics?

Sorry to solve it, the reason is the problem of prometheus configuration.

Threads and cachedb unbound_exporter currently does not support later update can increase support?

Threads are supported. For instance the statistic that is reported by Unbound as thread0.num.recursivereplies=48 is reported in Prometheus as recursive_replies_total{thread="0"}.
https://github.com/letsencrypt/unbound_exporter/blob/main/unbound_exporter.go#L210-L215

I think that parameter is not exported by unbound-stats. You can file an upstream issue with unbound to export it. You may also be able to make a Prometheus query that counts the number of distinct values for the thread= label in, e.g. recursive_replies_total. I'm afraid I don't know how to write such a query.


WORK folder error

Hi Sir, I met an error when I was trying to run training-CNN-model1 at step: Train on noisy data. It shows it cannot find files in the WORK folder. But I check the WORK folder, there is nothing.  Do you know what  may cause this error? Thanks a lot!

ValueError                                Traceback (most recent call last)
 in
7     )
8
----> 9     data = (src.transform(tfms, size=128)
10             .databunch(bs=bs)
11     )
~\Anaconda3\envs\tensorflow\lib\site-packages\fastai\data_block.py in transform(self, tfms, **kwargs)
503         if not tfms: tfms=(None,None)
504         assert is_listy(tfms) and len(tfms) == 2, "Please pass a list of two lists of transforms (train and valid)."
--> 505         self.train.transform(tfms[0], **kwargs)
506         self.valid.transform(tfms[1], **kwargs)
507         if self.test: self.test.transform(tfms[1], **kwargs)
~\Anaconda3\envs\tensorflow\lib\site-packages\fastai\data_block.py in transform(self, tfms, tfm_y, **kwargs)
722     def transform(self, tfms:TfmList, tfm_y:bool=None, **kwargs):
723         "Set the tfms and tfm_y value to be applied to the inputs and targets."
--> 724         _check_kwargs(self.x, tfms, **kwargs)
725         if tfm_y is None: tfm_y = self.tfm_y
726         tfms_y = None if tfms is None else list(filter(lambda t: getattr(t, 'use_on_y', True), listify(tfms)))
~\Anaconda3\envs\tensorflow\lib\site-packages\fastai\data_block.py in _check_kwargs(ds, tfms, **kwargs)
591     if (tfms is None or len(tfms) == 0) and len(kwargs) == 0: return
592     if len(ds.items) >= 1:
--> 593         x = ds[0]
594         try: x.apply_tfms(tfms, **kwargs)
595         except Exception as e:
~\Anaconda3\envs\tensorflow\lib\site-packages\fastai\data_block.py in getitem(self, idxs)
118         "returns a single item based if idxs is an integer or a new ItemList object if idxs is a range."
119         idxs = try_int(idxs)
--> 120         if isinstance(idxs, Integral): return self.get(idxs)
121         else: return self.new(self.items[idxs], inner_df=index_row(self.inner_df, idxs))
122
~\Anaconda3\envs\tensorflow\lib\site-packages\fastai\vision\data.py in get(self, i)
269     def get(self, i):
270         fn = super().get(i)
--> 271         res = self.open(fn)
272         self.sizes[i] = res.size
273         return res
~\Anaconda3\envs\tensorflow\lib\site-packages\fastai\vision\data.py in open(self, fn)
265     def open(self, fn):
266         "Open image in fn, subclass and overwrite for custom behavior."
--> 267         return open_image(fn, convert_mode=self.convert_mode, after_open=self.after_open)
268
269     def get(self, i):
 in open_fat2019_image(fn, convert_mode, after_open)
8     else:
9         crop_x = -1
---> 10     idx = CUR_X_FILES.index(fname)
11     x = PIL.Image.fromarray(CUR_X[idx])
12     # crop
ValueError: 'work\00097e21.wav' is not in list

Hi @happyprotean ,
CUR_X_FILES is a variable containing names of files and CUR_X the associated pre-processed mel-spectrogram. It seems the filename 'work\00097e21.wav' present in your stack-trace is not in CUR_X_FILES.
Can you please provides first values of CUR_X_FILES? I guess there is a mismatch in the file location stored in CUR_X_FILES and the one requested by fastai library to open_fat2019_image.
I tested exclusively under Linux, and you are using Windows, maybe there is some wizardry to support use of '/' instead of '\' in paths. :smile:

Thanks for your reply, sir. Yes, this error is caused by the difference between linux and window. Actually after I change from  "fname = fn.split('/')[-1] " to "fname = fn.split('\')[-1] ", it could work.
One more question, how long you spend on training this model?

You are welcomed. Congratulations to make it work under Windows. :+1:
Training took about one day with the hardware indicated in README.md.


Update akka-http, akka-http-spray-json, ... to 10.1.13

Updates

com.typesafe.akka:akka-http
com.typesafe.akka:akka-http-spray-json
com.typesafe.akka:akka-http-testkit

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

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

labels: library-update, semver-patch

Superseded by #2231.


Minimum requierments for linux

[ ] I have read the FAQ.
[ ] I have searched in existing issues.

Environment

OS: Lubuntu 21.10, windows 10 1511
scrcpy version: 1.17.1
installation method: apt, from Github(for windows)
device model: samsung galaxy s9
Android version: 12
-PC: Packard Bell Dot se 106 it (processor intel atom n450, intel gma 3150(it supports opengl 1.5 but a few things from the 2.1),2gb ram ddr2)

What would the minimum system requirements and drivers support for the computer be?
Such as open gl minimum version, because it doesn't display the phone screen properly, only black, but I can interact with the mouse and keyboard.
Also, I installed it on w10 (because I dualboot it) and it works flawlessly on that.

No, the video recorded is not black.

OK, so indeed there is a problem with your graphics drivers. There are no really minimal requirements.

Does it work with scrcpy --render-driver=software? (even if the quality/performance is poor)

Yeah, this igpu should have been better supported on linux, but it is not. Thanks for the help.

Does it work with scrcpy --render-driver=software? (even if the quality/performance is poor)

Yes, it works, sorry i didn't see the question, i'm from the phone.


Export load type enum

When defining a load it is required to define its type. Currently it is required to specify its type as PowerSystems.ConstantPower for example, instead of ConstantPower.

@daniel-thom we found out that it is difficult to make devices in a notebook or a REPL and not having some of the enums used to define categories. For instance, LOAD_MODELS or BusType


Only force-check actor isolation for nominal types.

We shouldn't need to force-check actor isolation for other declarations,
and it's causing some problematic cycles that are breaking associated
type inference. Back off on checking actor isolation for now.
Fixes rdar://80476832.

@swift-ci please smoke test


[NXP][rw61x][k32w1] Rework reference apps

Changelog:

Add multiple components for the app common code base
Switch rw61x filesystem to NVS
Add new rw61x revision board support
New rw61x factory data encryption implementation
Bump nxp_matter_support repo
Bump ot-nxp repo
Other bug fixes

Hello,
Is it possible to add the submodules update label please as it is intentional ?
Thank you


improved: physics component update control

So when trying to use aframe-extras/kinematic-body I realised there was a bug whereby you could walk through some objects (particularly spheres, cylinders, and low height boxes) by continuing to push against them.
Inspecting the source revealed that the physics syncing was a frame behind: The kinematic-body updates the physics body with step after the simulation update completes, meaning there is always an extra frame of movement, due to velocity, before previous contacts are handled.
This pull request changes the behaviour/step system and replaces the single step function with 3 functions, allowing physics components to perform updates, before and after the physics update (as well as before render for when/if physics updating is separated from rendering).
The following things have changed:
The addBehavior/removeBehavior functions have been removed, as has the concept of update phases.
Instead addComponent/removeComponent functions have been added, which take only a single argument - the component being installed. The update methods of the component will be scheduled, depending on which are present.
The single step method has been removed, and replaced with 3 optional methods:

updateBefore: If present, this function will be called after all other components have ticked, and immediately before the physics system performed its updates, allowing you to perform last moment syncing to the physics state.

updateAfter: If present, this function will be called after the physics system has performed its updates (this executes when step did, when installed in the SIMULATE phase)

updateRender: If present, this function will be called before render (this executes when step did, when installed in the RENDER phase)

This make it a lot easier to ensure things are properly synced with the physics system.
I've also have an aframe-extras PR which pairs with this one.
Cheers

Thanks @ProPuke! As far as the API changes, this looks good to me.
What do you think about renaming the lifecycle methods as beforeStep step, and afterStep? That feels a bit clearer, since "render" might be confused with WebGL rendering.
Also, just so you're aware — at some point in the future kinematic-body will probably be removed (https://github.com/donmccurdy/aframe-extras/issues/161). I haven't been very happy with how I implemented it for a number of reasons; e.g. walking over uneven terrain does not work well. When that happens, the replacement will probably involve using a nav mesh (and not physics), similar to this article on pathfinding: https://medium.com/@donmccurdy/creating-a-nav-mesh-for-a-webvr-scene-b3fdb6bed918

Sounds good.
Although I thought the final function was supposed to be for rendering, cos it replaced the RENDER behaviour of step?
Was the reason for having separate SIMULATE and RENDER phases not in case simulation and rendering became decoupled? (if you switched to having a fixed-step update for simulation). Like I thought it was a future proofing thing. Otherwise I'm not sure what afterStep would actually be useful for? I guess maybe if you want a component to run checks after it knows other components would have performed their step updates? Although can't think of an immediate case for this.
I like kinematic-body, so I'll probably keep using it if you drop it. I haven't had any major problems with it so far (beside being able to walk through things xD). I like that it just works with dynamic content (and I can easily add separate invisible collision meshes for things that need smoothing), oh and also supports flying.
A nav mesh sounds like a good optimisation, but not sure if it will be applicable for all the same scenarios (dynamic content, moving platforms, jumping over gaps?). So I think still offering a collision-based system will be useful for at least some people. But obviously your choice on what cases you're writing for.
I think you can edit the PR, or would you like me to rename the methods?

Although I thought the final function was supposed to be for rendering, cos it replaced the RENDER behaviour of step?

Was the reason for having separate SIMULATE and RENDER phases not in case simulation and rendering became decoupled? (if you switched to having a fixed-step update for simulation). Like I thought it was a future proofing thing. Otherwise I'm not sure what afterStep would actually be useful for? I guess maybe if you want a component to run checks after it knows other components would have performed their step updates? Although can't think of an immediate case for this.

Naming things is hard. 😬

I like kinematic-body, so I'll probably keep using it if you drop it. I haven't had any major problems with it so far (beside being able to walk through things xD).

Yeah, it does pretty well for a number of cases. Not as much if you try to walk over a mesh: even relatively simple meshes just have weird collision results sometimes. And then, it runs into issues with VR, doesn't make sense for roomscale for example. I like that the nav mesh approach is compatible with VR teleport controls, and I want to keep this repo focused on VR use cases.
Admittedly that does mean dropping support for several things at least in the short term. But I think all of those are (eventually) solveable with the nav mesh approach too, and would be closer to how a game engine would handle it. Of course feel free to keep a copy of kinematic-body when/if I get around to the nav mesh approach. :)
Thanks for the PR!


Should maybe replace the markup from Twitter Bootstrap.
http://bigfishtv.github.io/turret/docs/index.html

https://turretcss.com/


Feature/rxtest

Codecov Report

Merging #17 (5c9d8df) into develop (3104adc) will increase coverage by 1.17%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop      #17      +/-   ##
===========================================
+ Coverage    94.38%   95.56%   +1.17%
===========================================
  Files           43       47       +4
  Lines          641      721      +80
===========================================
+ Hits           605      689      +84
+ Misses          36       32       -4

Impacted Files
Coverage Δ

Core/Sources/Common/Section.swift
80.00% <ø> (ø)

Core/Sources/Extension/NSErrorExtension.swift
100.00% <100.00%> (ø)

Journey/Sources/List/JourneysViewModel.swift
100.00% <100.00%> (+20.00%)
:arrow_up:

Journey/Tests/JourneysViewModelTests.swift
100.00% <100.00%> (ø)

Journey/Tests/Mocks/JourneysRepositoryMock.swift
100.00% <100.00%> (ø)

MobileApp/Tests/JourneySpendingsTests.swift
100.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


Fetch dependency

https://github.com/waifuvault/WaifuVault/blob/afaed7c58b0df2ebfb770f232789a0d532fb1284/package.json#L73
Nodejs since version 16 or 18 has fetch out of the box as global. What purpose of dependency?

https://github.com/waifuvault/WaifuVault/blob/afaed7c58b0df2ebfb770f232789a0d532fb1284/package.json#L73
Nodejs since version 16 or 18 has fetch out of the box as global. What purpose of dependency?

Yeh, you are right, the Node SDK makes use of the built in fetch. the reason i used this was that it was there from my template. I always meant to remove it but keep forgetting


plan metadata

Describe the Bug
metadata for plans missing?
Expected Behavior
finding working example with metadata
Steps to Reproduce
Steps to reproduce the behavior:

Go to '...' puppetlabs puppet enterprise latest documentation
https://puppet.com/docs/pe/2019.8/writing_plans_in_puppet_language_pe.html#example_plans_pe

Click on 'facts plan'

https://github.com/puppetlabs/puppetlabs-facts/pull/43

Let me understand this
So you write json files for modules metadata.
you write json files for tasks metadata.
you write file header inside a plan for plan metadata.
I hope i understood it wrong and this is not the case, or its just a joke, right?

All plan metadata is parsed from the plan file itself. There is no separate metadata file for plans.

So i tried the following:
@summary
test plan

@param environment environment to use

@return foo
plan (
String $environment
)
{
return 'OK'
}
still getting "Error loading metadata: Not Found"

after some testing, it looks like the problem is if i put the plan into a subdir.
its working directly in plans directory, but not in any subdirs.

Does your plan have the correct name if it's in a subdir? Nested plans need to be titled <module>::<subdir>::<plan_name>. For example, if I have a plan at mymodule/plans/foo/init.pp the plan is named mymodule::foo::init and needs to start with:
# @summary
#   Test plan
plan mymodule::foo::init (
....

You also, as demoed above, need to indent the summary by at least one space (standard is 2 spaces) for it to be read by Puppet strings.

Ohhhhh I see this is in PE, not Bolt :facepalm: It sounds like subdirs are supported in PE 2019.8.1, which may be the issue depending on your version?

Sorry for my late answer, bug seems to be fixed now, so issue can be closed

thank you everyone who spent time on this.


Bug 2104617: Fix ODF status reporting on overview page

This PR fixes a bug that prevented the correct reporting of the ODF operator's status on the overview page.
Screenshot:

/lgtm


change contact link in footer to https://open-telekom-cloud.com/en/co…

…ntact

should we maybe replace all of those links to be same as on https://open-telekom-cloud.com
Disclaimer of liability
Data privacy
Imprint)
That would put us on the safe side I guess

oki, I will change it


How do use it in a macOS app? Thanks!

How do use it in a macOS app? Thanks!

Should be the same as in iOS, although I haven't personally tried. Add the framework using CocoaPods and follow along using the documentation.

Thanks for your reply. I have tried it with pod. However, I got the message that it does not support osx. Can you please update the podspec?
https://github.com/CocoaPods/Specs/blob/master/Specs/3/8/f/CocoaUPnP/1.1.0/CocoaUPnP.podspec.json
Thanks!

In addition, when I try integrating it into my macOS app, I got the following error:

(void)addNotificationObservers
{
NSNotificationCenter *nc = [NSNotificationCenter defaultCenter];
[nc addObserver:self
selector:@selector(invalidateAllTimers)
name:UIApplicationDidEnterBackgroundNotification
object:nil];
[nc addObserver:self
selector:@selector(renewAllTimers)
name:UIApplicationDidBecomeActiveNotification
object:nil];
}

Use of undeclared identifier 'UIApplicationDidEnterBackgroundNotification'
Use of undeclared identifier 'UIApplicationDidBecomeActiveNotification'
They both depend on iOS. Thanks.

You'd need to find a similar notification for macOS. Otherwise your app will keep searching for new UPnP devices all the time. That may or may not be what you want.

Thanks for your reply!
Hopefully it can support macOS via pod some day.
On Sep 29, 2017, at 09:48, Paul Williamson <notifications<EMAIL_ADDRESS>wrote:
Should be the same as in iOS, although I haven't personally tried. Add the framework using CocoaPods and follow along using the documentation.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/arcam/CocoaUPnP/issues/42#issuecomment-333131166, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AeB_hq81ELqRCKlIOjcl0Jn1HOOaLk_oks5snPU3gaJpZM4Poos2.

Feel free to create a Pull Request


PrimeQA Documentation

aferritto created the following on Apr 07:
Original issue: https://github.ibm.com/ai-foundation/PrimeQA/issues/96

On Apr 07, aferritto commented:
E.g. docstrings included for RC in #52 #55 #72 #80

@bhavani105 : I believe this is done. Is there anything pending for this ?


Deliver a track-level README with onboarding instructions

@ismaild suggested that we deliver a track-level README at the root of each language track.
This would probably help on so many levels. See https://github.com/exercism/exercism.io/issues/1931 for details.

Depends on https://github.com/exercism/x-common/issues/69 and https://github.com/exercism/x-api/issues/46

exercism/x-common#69 and #46 are both closed.
exercism/exercism.io#1931 has a cyclic dependency with this issue.
Can we close them both?

This is specifically to deliver a README.md in the root of the exercism/TRACK_ID directory for the user when they fetch code.
We have to write code to do that.
Once https://github.com/exercism/x-api/issues/29 is completed, this issue will be trivial to complete.
We can close exercism/exercism.io#1931 in favor of this one.

Closed https://github.com/exercism/exercism.io/issues/1931 and adding a reminder here for another part of the task:
kytrinyx wrote:

Once that support is up I'll generate an issue for each separate track to write the actual README.


Expose formatting functions used for formatting error messages

Exposes 2 methods:
Backbone.Validation.formatFunctions.formatLabel(attrName, model)
Backbone.Validation.formatFunctions.format()

Useful for writing method validators or custom validators which use default messages.

Rather than jump into this, I'd like to discuss if it makes sense to unify standard and custom error message processing first.
To me it would be awesome if messages were all (under the hood) functions which take similar arguments to the validators themselves. Maybe strings with numeric formatting markers could be special-cased to invocations of the format function.
Exposing formatLabel isn't a bad idea, though.
Just my 2¢.

@platinumazure I agree. But this is just a short term fix until that's a reality.

What do you think guys about a Dictionary of messages?

@chiefGui What sort of thing are you thinking of? Care to write a quick example? (Pseudocode is fine)

@platinumazure you told:

[...] unify standard and custom error message processing first [...]

For me, it makes lots of sense. Same interface: a dictionary. Something like errorMessages.json with key:value design.
If you stop and think about it, it turns globalization way easier.
Can you understand my point of view?

It's probably okay to release this as is, sure. I just wanted to make sure the concept was discussed.
Let's move further discussion to a new issue. I apologize for leading us down the rabbit hole in the first place.

@thedersen any movement on this?

@thedersen bump


Add ambiguous sentences and clarifying questions task

As described in the README, for an ambiguous sentence (sourced from WinoBias, WinoGender, and custom examples), the model should generate a clarifying question:
Example Input 1: After meeting with the producers, Sam went to their office.
Ambiguous?: In this task, 'they' is a singular or plural pronoun
Acceptable Outputs for 1:

Was the office the producers' office or Sam's office?
Was the office the producers' office?
Was the office Sam's office?

Example Input 2: The worker and the pedestrian talked while he was repairing the sidewalk.
Ambiguous?: We infer that the worker's role is to repair.
Acceptable Output for 2:

role-related

Example Input 3: The worker asked the pedestrian where he bought the burrito.
Ambiguous?: The worker asked the pedestrian for information, so we infer that the pedestrian did that action.
Acceptable Output for 3:

low ambiguity

Example Input 4: The designer showed the cook a blueprint and asked him for feedback.
Ambiguous?: The subject is the same for both verbs
Acceptable Output for 4:

low ambiguity

Example Input 5: The designer collaborated with the carpenter, and he shared a story.
Ambiguous?: The action (shared a story) and pronoun (he) is possible for either person; it is ambiguous.
Acceptable Output for 5:

Did the designer share a story, or did the carpenter share a story?
Did the designer share a story?
Did the carpenter share a story?

My code and notes on generating these questions are in https://github.com/mapmeld/disambiguation_q

Thank you for submitting your task! We are in the process of pairing submissions with task reviewers and will be in touch soon.

Hello, thank you for your submission. I am one of the two reviewers assigned to review this task.
I think this is a good task. I have a couple questions/observations, based on which perhaps the README may need to be edited for clarity, but other than this I think the task is fine.
(1) If I understand correctly, the task is, given a sentence that may or may not be ambiguous, either output a label indicating that there is no ambiguity or ask a clarifying question. If this is the case I think the README should explicitly say that.
(2) Why is there a sub-label ('role-related') under the 'low ambiguity' label? It seems to me that the task is essentially a binary choice - either there is ambiguity in the input or there isn't - so having the additional sub-label for unambiguous inputs changes its nature. If you could please explain the reasoning behind this construction that would be great.

Hi @neha-wadia - I hope that the changes I've made address the questions that you've had.
I updated the task description in the README.
For task.json, I added "low ambiguity" label to the career-based sentences. For context, I originally made a "role-related" label to potentially be helpful, because the other sentences are unambiguous based on grammar, and these take some additional knowledge about who does what.

I am one of the reviewers assigned to review this task. Thank you for your submission and my apologies that this review has been delayed.
I presently have some confusions and concerns about the structure and intent of this task, which I hope you can help clarify. My apologies in advance if these are the result of my own misunderstandings.

Justification/Specificity

I'm somewhat confused about what this task is attempting to measure about language models and I think the README could be expanded to make this clear. Perhaps by adding sections on 'What is the task trying to measure?' and 'Motivation' as suggested in (https://github.com/google/BIG-bench/blob/main/bigbench/benchmark_tasks/simple_arithmetic/README.md)

From the current README my understanding is that the purpose of the task is to see if a language model is aware of ambiguous pronoun resolution in sentences. At the same time, I wondered from the keywords 'gender bias' and 'social reasoning' if these were also/instead to be measured by task. If so, it wasn't clear to me how it would be done.

I'm unclear on what is specifically being measured with inputs like `The CEO hired the editor because he is the best in the region.' as described in the README as an ambiguous sentence. While the pronoun is technically ambiguous in this sentence, I would have thought most readers would assume the pronoun refers to the editor. In this case, I would then think a language model having better 'social reasoning' would select the wrong answer as measured by the task. Here it seems that social reasoning---suggesting a most plausible reading---cuts against the technical ambiguity of the grammar.

It's also unclear to me how a language model will guess the desired format of the target from the input context, especially in a 0-shot setting. Perhaps this would work better in a multiple-choice format? This seems especially true when the target is one of the low ambiguity category labels like 'role-related'

For the other review criteria, I have no concerns:

Difficulty:
I don't believe this task can be solved by existing language models, but I haven't tested it as I don't believe the tasks are currently structured appropriately.
Not solvable by memorizing the Internet:
While the source phrases are available on the internet, I don't think they do in a format that would allow the tasks to be answered by memorization.
Novelty:
I'm not aware of redundant tasks covered by BIG-bench.
Size:
Exceeds minimum size requirement
Compute resources:
No unusual compute requirements.

@jamiesully based on your feedback and Neha's earlier comment, I've revised the intro section to the README, and the tags in the task JSON.

As you described, this is a pronoun resolution task which would not be solvable by a zero-shot approach. I've made that clearer in the README and by adding the 'multi-shot' keyword.
There is not a 'pronoun resolution' or 'disambiguation' keyword available in the repo, so I am uncertain about putting them in the task JSON.
The "role-related" examples now accept the label "low ambiguity"
The solutions to WinoBias and WinoGender seem obvious (identical responses for each pronoun), but were developed to reveal gender bias in language models. I expand the examples with the singular 'they', and sentences where there is ambiguity between singular or plural 'they'. This is why I choose the tag 'gender bias'.
To facilitate multi-shot and bias evaluation, each example has an _id field which would help group them, for example in train/test sets
I agree that the CEO example is confusing. I've removed it from the README. It was not in the task.
Switching to multiple choice would remove the difficulty and usefulness of the task in a real-world setting.

Thank you @mapmeld for the clarifications and improvements.
Just to follow-up on the main issue raised above a little more:
I still wonder if the number of necessary shots needed could be reduced in some way while not diminishing the difficulty of the core part of the task: recognizing pronoun ambiguity. As it stands, the prompt doesn't make clear what the desired target should be. Even to a  human reader and the task only becomes clear after seeing many of them.
Would prepending an instruction to the input help? Perhaps something like 'Ask a question to clarify the following sentence or otherwise indicate it is low-ambiguity:'
Another strategy could be to change the question format altogether. I know you have reservations about a multiple-choice format, but I thought something like this could be effective:
    "input": "After meeting with the producers, Sam went to his office. Sam went to",
    "target_scores": { "Sam's office.": 1, "the producers' office.": 0, "Pronoun is ambiguous.": 0}

    "input": "After meeting with the producers, Sam went to their office.",
    "target_scores": { "Sam's office.": 0, "the producers' office.": 0, "Pronoun is ambiguous.": 1}

In general, I think it would be good to refine the format so that this task is testing the model's understanding of pronoun resolution and the influence of gender on that task and is not testing if the model has understood the question format.

Hi @mapmeld - As a reminder you have until Friday, March 26th to revise your task to be accepted in the workshop. Please tag your reviewers when you have addressed their suggestions.
Reviewers: @chiafullo and @jamiesully if the submitter has made revisions please be sure to notify me with a formal "accept" or "does not meet criteria" by Friday, March 26th.

Hi @mapmeld, thank you for revising the README, I think it does a clearer job of describing the task now.
To clarify, is it your intention to remove the "role-related" label? Your response and the early part of the README suggests this but the label is still present in the examples and also in Example 2 in the README.

@neha-wadia @jamiesully I've just made a commit which changes this to a multiple-choice task (also removes role-related tag since the choice is 'ambiguous').  I removed some questions which had one actor or likely would be difficult to label.

LGTM, @mapmeld. A last fix I'd recommend is to remove the sentence "These can also be labeled "role-related"." under the career/role-based bullet point, since it no longer applies.

@neha-wadia thanks for catching that! Fixed in this new commit

This is looking great @mapmeld!
One last question from me: Would it be useful to add a question to the prompt to make the answer format more natural?
Eg. Something like:
After meeting with the producers, Sam went to their office. Whose office did Sam go to?

vs.
After meeting with the producers, Sam went to their office.

I don't know if this would be an improvement to the task, so please feel encouraged to disagree if you think not.

Nice!
@chiafullo Accept.

@nfiedel for meta review and merge


Updating README and run.sh

Thansk Lasindu for the pull request! This is now merged to master branch.


Outdated AAD App Registrations guidance

Hi there - update the 'Solution' guidance and screenshot with the latest Azure AD App registrations experience (the 'Authentication' page replaced 'Reply URLs'.

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

ID: 51489a2b-fef9-86d8-117e-200d81cd0694
Version Independent ID: e371c257-18cb-aead-707a-3b1eed0c30a8
Content: Set up Azure Active Directory for client authentication - Azure Service Fabric
Content Source: articles/service-fabric/service-fabric-cluster-creation-setup-aad.md
Service: service-fabric
GitHub Login: @athinanthny
Microsoft Alias: atsenthi

Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

#reassign @amenarde

Thanks for reporting this @kjyam98. Fixed now. #please-close


Add Aeotec ZWA019

Which device is missing?
Aeotec Water Sensor 7 Pro
Exists in openzwave database already 0371:0013:0102
What are the IDs?
Manufacturer ID: 0x0371
Product type: 0x0102
Product ID: 0x0013
Did you check if we really don't have it?

[ ] It is not in the configuration DB
[ ] It was not merged recently or has a pending PR
[ ] It is not in the TODO list

Do you have a link to the PDF manual?
https://products.z-wavealliance.org/ProductManual/File?folder=&filename=product_documents/3951/ZWA019.pdf

@blhoward2 that one is on your TODO list, right?

Yes. I have a file for this with templating underway.


Add include & exclude options to Rollup plugin

It's common for Rollup plugins to have include and exclude options (so much so that they have official utils to create them). I'm working in a codebase that has .css.js files that predate our adoption of Vanilla Extract, and so we'd ideally be able to avoid processing them.
This PR adds those options using the official Rollup utility, and makes the cssFilterFile function the default include. Also added tests.

Looks good to me!

@mattcompiles I'm good with this change. If you're happy with the lock file, lgtm!


Something going wrong with typography..

Issue description:
Well, somehow Google Web Inspector shows that fonts cannot be loaded. This still worked just like some days ago. No changes on the config made.

Version used:
Version 2.2.6 from Wordpress, integrated as plugin.
Using theme_mods or options?
theme_mods.
Code to reproduce the issue (config + field(s))
Kirki::add_config( 'understrap', array(
	'capability'    => 'edit_theme_options',
	'option_type'   => 'theme_mod',
) );

Kirki::add_field( 'understrap', array(
'type'        => 'typography',
'settings'    => 'base_typography_config',
'label'       => esc_attr__( 'Base Typography', 'understrap' ),
'description' => esc_attr__( 'Configures the overall Font for the whole Site.', 'understrap' ),
'section'     => 'typography',
'default'     => array(
'font-family'    => 'Open Sans',
'variant'        => 'regular',
'font-size'      => '16px',
'line-height'    => '1.5',
'letter-spacing' => '-0.004',
),
'priority'    => 10,
'output'      => array(
array(
'element' => 'body',
),
),
) );
Kirki::add_field( 'understrap', array(
'type'        => 'typography',
'settings'    => 'headline_typography_config',
'label'       => esc_attr__( 'Headline Typography', 'understrap' ),
'description' => esc_attr__( 'Configures Headline Fonts for the Site.', 'understrap' ),
'section'     => 'typography',
'default'     => array(
'font-family'    => 'Titillium Web',
'variant'        => 'bold',
'letter-spacing' => '0.125',
),
'priority'    => 20,
'output'      => array(
array(
'element' => 'h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6',
),
),
) );
Any clues?

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/32479513-something-going-wrong-with-typography?utm_campaign=plugin&utm_content=tracker%2F2030945&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F2030945&utm_medium=issues&utm_source=github).

Chrome uses the ERR_BLOCKED_BY_CLIENT error when an extension blocks the URL you're trying to get.
Perhaps a super-aggressive adblocker?

Uh, thx for the insight. That´s still super-odd though, cos I really didn´t consciously activate any new browser-plugin and it worked some days ago.
But yes, it works like a charm in firefox and doesn´t throw up any console errors too.
Sorry for bugging you and thanks (again) for the help!


Transform dialect iree.pipeline_shared_memory_copies  needs to use nvidiaTensorCore

Request description
For A100, nvidiaTensorCore should be always used. I worked on enabling that, but using it make the compiler crash :/ I think this can be fixed it with slightly different transform dialect script.
This is because nvidiaTensorCore strategy expects only one device_async_create_group, barriers, see lines below.
https://github.com/grypp/iree/blob/main/compiler/src/iree/compiler/Codegen/Common/GPU/GPUPipelining.cpp#L494-L502
Transform dialect generates 2 device_async_create_group and barrier. Because transform dialect separates load loops for LHS and RHS, see the IR before than this stage
https://gist.github.com/grypp/83ef18f584a4bd9ec2502ff4563d7e28#file-transform_matmul-mlir-L43-L69
If these 2 loops can be fused, the nvidiaTensorCore should work.
What component(s) does this issue relate to?
Compiler
Additional context
No response

@grypp Are you working on this? Or looking for an owner?

Sorry I forgot to answer that, yes I am looking for an owner.
@qcolombet or @nicolasvasilache might have better idea about where we are here.

We have a fix for this, I'll send PRs soon

PR has landed, closing.


Feature Request: use Secret and ConfigMap to environment variable of kaniko pod

Is your feature request related to a problem?
Yes. I have my own npm and gem packages in private repositories, and I use them to build images and develop rails and react.
I don't want to store access tokens and passwords in the images at the time of the build images, and I set --build-arg for the
NPM_TOKEN and BUNDLE_GITHUB__COM variables from Secret and ConfigMap.
To achieve this, I need to mount the build scripts and sensitive data to kaniko Pod, but this is complex and difficult to manage.
I don't also want to use this method if possible because team members share the devspace.yaml.
I want to use Secret and ConfigMap.
# devspace.yaml
kaniko:
  env:
    NPM_TOKEN: ${NPM_TOKEN}

Which solution do you suggest?
Adding new key like valueFrom to kaniko.env.
or adding new key to kaniko.**.
Which alternative solutions exist?

Mount a ConfigMap that has the build script
Mount a Secret that has access tokens
Set kaniko image gcr.io/kaniko-project/executor:debug
Add images.app.build.kaniko.command, and set build script
Add --build-arg=... option to kaniko's args

Example:
# ConfigMap
apiVersion: v1
kind: ConfigMap
metadata:
  name: build-script
data:
  build.sh: |
    #!/bin/sh
    export TOKEN=$(cat <Mounted secret file>)
    /kaniko/executor "$@"
---
# Secret
apiVersion: v1
kind: Secret
metadata:
  name: access-token
data:
  TOKEN: ********************

# devspace.yaml
image: gcr.io/kaniko-project/executor:debug
command:
  - /opt/bin/build.sh
args:
additionalMounts:
  - secret
    ...
  - configMap
    ...

Additional context

/kind feature

@sarub0b0 thanks for reporting this issue! Yes, I see we should add this to the devspace config.

Thank you so much!
I was able to build my rails app using kaniko.envFrom option.


Feature: Monochrome icon

Android 13 was released a few weeks ago. Icons should follow Material You since then.
To implement material icons, see: https://developer.android.com/develop/ui/views/launch/icon_design_adaptive
Signal, VLC, OrganicMaps and other apps already support this feature, so I think it would be great if zapp would support it too.

Thank you very much for this suggestion!

@neunzehnachtneun as I take it this seems to be integrated by be13231

Yes, next release will have a nice monochrome icon!

This issue is fixed with version 8.0.0


Change lib/llvm default target to be tag llvmorg-7.0.1

.circle/config.yml:
Cap CPUs to a maximum of 4 if using $(nproc) in .circle/config.yml
.gitmodule and lib/llvm/src:
Remove branch and and Changed lib/llvm/src tag llvmorg-7.0.1
README.md:
updated with instructions for changing default target
lib/llvm/Makefile:

Don't use --depth=1 as I found it was more trouble then it's worth.
It makes switching to other commits difficult and looks like it takes
longer to transfer with circle CI.
Change get-nothing target to not be a .PHONY target as prior to this target:
$(LLVM_BUILD_DIR)/generated-llvm-makefile-$(LLVM_TARGET): $(GET_LLVM_SRC_TARGET)
would always need updating.
Use $(MAKE) instead of make directly except in buildit and installit
where its conditional as we need to use ninja or $(MAKE) as
appropriate.

I don't see the "Changed lib/llvm/src tag llvmorg-7.0.1". Can you point that out with a comment @winksaville ?

FYI, the FreeBSD 12 release test passed a long time ago but GitHub hasn't updated.

I don't see the "Changed lib/llvm/src tag llvmorg-7.0.1". Can you point that out with a comment @winksaville ?

wink@wink-desktop:~/prgs/ponylang/ponyc-wink0/lib/llvm/src ((tags/llvmorg-7.0.1-rc3^0))
$ git --no-pager tag -l
llvmorg-1.0.0
llvmorg-1.1.0
llvmorg-1.2.0
llvmorg-1.3.0
llvmorg-1.4.0
llvmorg-1.5.0
llvmorg-1.6.0
...
llvmorg-7.0.0
llvmorg-7.0.0-rc1
llvmorg-7.0.0-rc2
llvmorg-7.0.0-rc3
llvmorg-7.0.1
llvmorg-7.0.1-rc1
llvmorg-7.0.1-rc2
llvmorg-7.0.1-rc3
llvmorg-8.0.0-rc1
llvmorg-8.0.0-rc2
llvmorg-8.0.0-rc3


Villager Breeding doesn't work (V3.4.0)

Villagers appear to not be breeding when provided beds and food. Multiplayer

Added Easy Villagers as a fix for this issue


I dont even know how to title this issue

downloaded the file from releases page
setup with lsp-zero

This is my init.lua configuration:
local lsp_zero = require("lsp-zero")
local lsp_configurations = require("lspconfig.configs")

if not lsp_configurations.blade then
    lsp_configurations.blade = {
        default_config = {
            name = "blade",
            cmd = { "~/.local/share/nvim/laravel-dev-tools", "lsp" },
            filetypes = { "blade" },
            root_dir = require("lspconfig.util").root_pattern("composer.json"),
        },
    }
end

require("lspconfig").blade.setup({})

I got this error:

So i went straight to folder and tried running from the cli and i get this error:

i can not understand the error, so i cant title this issue properly, but as the creator you might get it, i hope. so pls check this out.
author of #9 also suffered from this impaired documentation ig. so better documentation would be greatly appreciated

I have same problem

build from source, copy the bin to the your machine's bin folder and replace the path with the bin name


Choosing the Previous Homework for our Recent Work

Hy
Whose homework are we going to implement in our work?

@pratibha77118 @WildJimmy let's discuss.

@poojashresthacode Probably, we are going to choose HW2 i.e., different implementations (For Loops, NumPy Built-in Functions and , NumPy Einstein Notation Function) for matrix multiplication and dot product operations in Python for our task. What about you ?

good to know


[xbridge] support PART

Added new xbridge wallet connector for PART(https://github.com/particl/particl-core) support
Testing was as follows:

setup a service node with Particl node
on two different machines setup and run Particl and Blocknet nodes
run Block-dx on both machines
Successful swap testing:
a. place sell order PART/BLOCK on one machine.
b. take that order on other machine
c. wait until funds are transferred
Test refund:
a. make deposit transactions for both assets
b. force fail of payment transaction for both assets
c. wait until both assets are refunded

please open PR against 4.3.3 branch, Thank you


Efficiently updating data

I am having some pretty bad performance issues and I think its related to the way I am changing data (integrating with my data model and sync with server). Boiled down I have something like this:
render() {
  const { projects, fields } = this.props;
  return (
    <HotTable data={ createTableData(projects)  } columns={ createColumns(fields) } />
  );
}

The projects and fields are arrays of objects from the server and stored in Redux. To convert it to table data the conversion functions look something like this:
function createTableData(projects) {
  return projects.map(projectToTableRow);
}
function projectToTableRow(project) {
  return project.values.reduce((row, value) => ({ ...row, [value.fieldId]: value.data }), {});
}

Here seems to be the problem: every time the <HotTable> is rendered, it creates new table data array (with all new objects) to pass to it. This causes a noticeable lag after making any small change to data.
Any time data is changed in the table I use afterChange to update the projects source data, which causes a re-render and again the table data array is rebuilt.
Looking at various Handsontable examples it seems the idea is to only create the data initially, and after that let the table own the data, syncing changes to an external data model. Is that right? In other words, if I replace data is it not efficiently redrawing only what changed in the data (as we normally do in React world)? If so, what is the expected route to keep data in sync with changes coming from outside the table? In some cases data is changed by server actions or other events and I need to sync it back to the table. Do I need to manually wire update setDataAtCell calls?

It looks like the issue that we have discussed further at https://github.com/handsontable/handsontable/issues/3997

@AMBudnik It's certainly related to large data (actually in some cases I have thousands of rows and hundreds of columns so these are rough numbers on the smaller side) but this particular issue is not related to validation, just merely updating data programmatically with the React component. How should I do that?
In the other issue you said work is being done to "rerender only changed cells so the validator will run only for those cells" -- are you saying that in this case calls to hotInstance.updateSettings() (which is what the react-handsontable component does any time it is rendered) will only update cells whose values have changed? Because the entire data will have changed by reference, though not by value. This is the problem I'm wrestling with here.
What I've done at the moment is write my own React component wrapper which stores the data in state, and in componentWillReceiveProps I compare the previous data to the current data and only update if it differs. This way when Handsontable updates data going out it doesn't end up redrawing the whole table because the input data changes, but if the data is changed from the outside (from server) then it does redraw.

We did not set any details about the methods, so we still do not know if the updateSettings will change its behavior or a new method will be added. I am not sure if passing so many breaking changes won't confuse our Customers.
Definitely, if you are using cell references and dependencies (like formulas) all related cells should recalculate. Also when you add metadata like 'make odd rows yellow-backgrounded' should refresh more than just one cell. It should run for all the odd rows in the table.
I can see that you have done a lot of work to make the project run smoothly. Can you send me an email at support[at]handsontable.com? I would love to keep you updated on our work.


Hello, at some point the bot just gets up. an error is written on the game screen and the bot does not see this to restart the script.

Hello, at some point the bot just gets up. an error is written on the game screen and the bot does not see this to restart the script.
`Press 1 to start!
Clicking on connect
Clicking on metamask
Clicking on sign
Loggin in!
Searching for targets/treasure-hunt-icon.png
Found it!
Clicking on heroes
Putting heroes to work!
Searching for targets/treasure-hunt-icon.png
Found it!
This is where fun begins!!!
Searching for targets/ok.png
No ok button
Searching for targets/ok.png
No ok button
Searching for targets/ok.png
Traceback (most recent call last):
File "C:\Users\DR\Desktop\BombCryptoBot\bombCryptoBot.py", line 173, in
main()
File "C:\Users\DR\Desktop\BombCryptoBot\bombCryptoBot.py", line 170, in main
main1()
File "C:\Users\DR\Desktop\BombCryptoBot\bombCryptoBot.py", line 146, in main1
loop()
File "C:\Users\DR\Desktop\BombCryptoBot\bombCryptoBot.py", line 113, in loop
checkOkBtn()
File "C:\Users\DR\Desktop\BombCryptoBot\bombCryptoBot.py", line 82, in checkOkBtn
locateImageClick(ok_icon, 30)
File "C:\Users\DR\Desktop\BombCryptoBot\bombCryptoBot.py", line 55, in locateImageClick
image_search = pyautogui.locateOnScreen(image,grayscale=True, confidence=0.5)
File "C:\Users\DR\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\pyautogui_init_.py", line 175, in wrapper
return wrappedFunction(*args, **kwargs)
File "C:\Users\DR\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\pyautogui_init_.py", line 213, in locateOnScreen
return pyscreeze.locateOnScreen(*args, **kwargs)
File "C:\Users\DR\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\pyscreeze_init_.py", line 372, in locateOnScreen
screenshotIm = screenshot(region=None) # the locateAll() function must handle cropping to return accurate coordinates, so don't pass a region here.
File "C:\Users\DR\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\pyscreeze_init_.py", line 145, in wrapper
return wrappedFunction(*args, **kwargs)
File "C:\Users\DR\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\pyscreeze_init_.py", line 457, in _screenshot_win32
im = ImageGrab.grab()
File "C:\Users\DR\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PIL\ImageGrab.py", line 43, in grab
offset, size, data = Image.core.grabscreen_win32(
OSError: screen grab failed
C:\Users\DR\Desktop\BombCryptoBot>python bombCryptoBot.py
If are enjoying the bot you can send me Bcoins :)
Wallet: 0xb623CdA9c073220B8D7C9742A08cB576AD9aB392
Press 1 to start!
Clicking on connect
Clicking on metamask
Clicking on sign
Loggin in!
Searching for targets/treasure-hunt-icon.png
Found it!
Clicking on heroes
Putting heroes to work!
Searching for targets/treasure-hunt-icon.png
Found it!
This is where fun begins!!!
Searching for targets/ok.png
Traceback (most recent call last):
File "C:\Users\DR\Desktop\BombCryptoBot\bombCryptoBot.py", line 173, in
main()
File "C:\Users\DR\Desktop\BombCryptoBot\bombCryptoBot.py", line 170, in main
main1()
File "C:\Users\DR\Desktop\BombCryptoBot\bombCryptoBot.py", line 146, in main1
loop()
File "C:\Users\DR\Desktop\BombCryptoBot\bombCryptoBot.py", line 113, in loop
checkOkBtn()
File "C:\Users\DR\Desktop\BombCryptoBot\bombCryptoBot.py", line 83, in checkOkBtn
moveAndClick(pos10)
File "C:\Users\DR\Desktop\BombCryptoBot\bombCryptoBot.py", line 34, in moveAndClick
pyautogui.moveTo(pos[0],pos[1])
File "C:\Users\DR\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\pyautogui_init_.py", line 597, in wrapper
failSafeCheck()
File "C:\Users\DR\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\pyautogui_init_.py", line 1722, in failSafeCheck
raise FailSafeException(
pyautogui.FailSafeException: PyAutoGUI fail-safe triggered from mouse moving to a corner of the screen. To disable this fail-safe, set pyautogui.FAILSAFE to False. DISABLING FAIL-SAFE IS NOT RECOMMENDED.
C:\Users\DR\Desktop\BombCryptoBot>`
@nailgvozdev

Hi, try to add this after the imports
pyautogui.FAILSAFE = False


parse_output_log() early-outs after finding the first non-error and fails to output further errors

I've just started using the codebase so apologies if I'm missing something, but consider the following code in glslcc.cpp:
static bool parse_output_log(const char* str, std::vector<output_parse_result>* r) {     const char* header = "ERROR: ";     while (sx_strstr(str, header) == str) {         str += sx_strlen(header);         const char* divider = sx_strchar(str, ':'); <snip>         r->push_back(lr);     }     return true; }
In my shader, the first output message in str is a "WARNING: ", not an "ERROR: ". The result appears to be that we write nothing to the output_parse_result vector as we only parse the array as far as the first non-error message and all further messages are ignored.

Same issue here I think. Just started using the CLI. I get a non-zero exit code when trying to compile the examples with any of the sample commands.

Just got it working. I switched to v1.62.0

Well that sucks because "fixed a bug with GLSL headers (#version)" was patched in the latest version.

sorry for late reply.
could you provide an example for your case ? because I can't reproduce this


Can't pip install

running
pip install brep_to_h5m

produces
ERROR: Could not find a version that satisfies the requirement brep_to_h5m (from versions: none)
ERROR: No matching distribution found for brep_to_h5m

running
pip install brep-to-h5m

produces
ERROR: Could not find a version that satisfies the requirement brep-to-h5m (from versions: none)
ERROR: No matching distribution found for brep-to-h5m

Thanks Remi, I've just released a new version,. It should pip install now


common_msgs: 1.12.7-0 in 'melodic/distribution.yaml' [bloom]

Increasing version of package(s) in repository common_msgs to 1.12.7-0:

upstream repository: git@github.com:ros/common_msgs.git
release repository: https://github.com/ros-gbp/common_msgs-release.git
distro file: melodic/distribution.yaml
bloom version: 0.6.7
previous version for package: 1.12.6-0

actionlib_msgs

No changes

common_msgs

No changes

diagnostic_msgs

No changes

geometry_msgs
* Add deprecation comment about Pose2D (#130 <https://github.com/ros/common_msgs/issues/130>)
  It started as unused and still isn't recommended.
  Followup to #129 <https://github.com/ros/common_msgs/issues/129>
* Contributors: Tully Foote

nav_msgs

No changes

sensor_msgs
* Include sstream on header that needs i (#131 <https://github.com/ros/common_msgs/issues/131>)
* included missing import for the read_points_list method (#128 <https://github.com/ros/common_msgs/issues/128>)
  * included missing import for the read_points_list method
* Merge pull request #127 <https://github.com/ros/common_msgs/issues/127> from ros-1/fix-typos
* Merge pull request #85 <https://github.com/ros/common_msgs/issues/85> from ros/missing_test_target_dependency
  fix missing test target dependency
* Contributors: Dirk Thomas, Jasper, Kuang Fangjun, Tully Foote, chapulina

shape_msgs

No changes

stereo_msgs

No changes

trajectory_msgs

No changes

visualization_msgs

No changes

hold for coordinated geometry2 release


GORA-433 Non-Final Public Static Fields Should Be Final

Non-final public static fields can be changed by external classes (by a malicious code or accidentally).

Does this only effect solr-store? Is this the entire PR?

I've updated PR. These changes don't break anything (also passes tests as well).


Add java org.apache.http to docs

Could use some input on naming, @alanctkc.

Awesome, how about HttpComponents (Java) for the name since it's not using just raw Java java.net? Maybe we should update docs/requests to be named Requests (Python) for consistency too? I did that pattern with Axios (JS) already.


WordPress compiler plugin.

This plugin allows to compile WordPress posts (i.e. posts directly copied out of a WordPress blog, without any modifications).
It has support for shortcodes. By default, it only supports the [code] shortcode, but plugins for other shortcodes can be added via a plugin interface. See wordpress/plugins/code.py for an example.

Review status: 0 of 10 files reviewed at latest revision, 5 unresolved discussions, all commit checks successful.

v7/wordpress_compiler/README.md, line 12 [r1] (raw file):
If you put this in conf.py.sample it will be automatically shown here, and also shown as a suggestion to the user when he installs the plugin. For example here's what happens when you install markmin:
$ nikola plugin -i markmin
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): plugins.getnikola.com
[2015-07-02T13:49:30Z] INFO: plugin: Downloading: https://plugins.getnikola.com/v7/markmin.zip
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): plugins.getnikola.com
[2015-07-02T13:49:31Z] INFO: plugin: Extracting: markmin into plugins/
[2015-07-02T13:49:31Z] NOTICE: plugin: This plugin has a sample config file.  Integrate it with yours in order to make this plugin work!
Contents of the conf.py.sample file:

    # Add the markmin compiler to your COMPILERS dict.
    COMPILERS["markmin"] = ('.mm',)

    # Add markmin files to your POSTS, PAGES
    POSTS = POSTS + (("posts/*.mm", "posts", "post.tmpl"),)
    PAGES = PAGES + (("stories/*.mm", "posts", "post.tmpl"),)

v7/wordpress_compiler/wordpress/plugins/code.py, line 3 [r1] (raw file):
Since you wrote it, you shoud use your name in it :-)

v7/wordpress_compiler/wordpress/plugins/code.wpplugin, line 2 [r1] (raw file):
this name is waaaaay too generic and bound to conflict with something.

Comments from the review on Reviewable.io

Since you wrote it, you shoud use your name in it :-)

Well, I patched it together, but I took some parts from other people -- like you ;-)

this name is waaaaay too generic and bound to conflict with something.

Isn't this always local to the .wpplugin file?

I try to keep the names consistent, same name in the metadata plugin file, the plugin itself, task names, etc. You never know what someone is going to try in the future :-)

Ok, let's merge this whenever you want, and let's revisit it in a few months.

I'll add an remark for potential shortcode plugin authors that the plugin interface will be changed for v8, so they should be aware that their plugins have to be changed a bit.
I'll probably manage that by tomorrow.

The new version now uses the CompilerExtension interface of Nikola 7.6.1.

I guess the tests will fail until Nikola 7.6.1 is released.

Replace  by the contributors with , Felix Fontein. and add a # -*- coding: utf-8 -*- declaration.
To fix the tests, you must duplicate even more code, the plugin test suite uses its own base.py file.

Ok, there's a big problem with the new CompilerExtensions interface. How do I now import something from the original WordPress plugin? When it was using its own plugin system, I would just write import wordpress.xxx and everything would work fine. Now, I can't anymore.

You could cheat and use import plugins.wordpress.plugin_interface, though this will make user-wide plugin installs impossible.

Doesn't work for me, either, since I'm including the wordpress plugin via EXTRA_PLUGINS_DIRS.
I'll Maybe I can expose the modules dynamically in the register method. Will be somewhat ugly, but should work. I'll play with that later...

Hmm, that won't work either, since the first thing I need to do is import wordpress.plugin_interface to be able to use wordpress.plugin_interface.WordPressPlugin.

Hack idea 2: use the plain CompilerExtension class and set compiler_name = 'wordpress'.

And define register() myself, and never be able to define any helper functionality in the plugin object itself. Very, very hacky. But probably the only thing that works... :(

You could write some functions (≠methods) and pass them to every extension in your compiler, when you register them.

I'm now providing the modules. I'll do some more testing by porting my other plugins to this way...

Seems to work this way.

Please complete the checklist a few posts above.

I now also adjusted the copyright lines (though I didn't do precisely the replacement you wanted to do). Is that ok?

Yeah, just noticed that too :)

Thanks!


Set input_embeds before it gets used

What does this PR do?
Currently inputs_embeds variable is used even if its none in below condition
        if cache_position is None:
            past_seen_tokens = past_key_values.get_seq_length() if past_key_values is not None else 0
            cache_position = torch.arange(
                past_seen_tokens, past_seen_tokens + inputs_embeds.shape[1], device=inputs_embeds.device
            )

This is leading to error as below in some cases.
  File "/usr/local/lib/python3.10/dist-packages/optimum/habana/transformers/models/mixtral/modeling_mixtral.py", line 603, in forward
    past_seen_tokens, past_seen_tokens + inputs_embeds.shape[1], device=inputs_embeds.device
AttributeError: 'NoneType' object has no attribute 'shape'

Moved code up that checks and sets for inputs_embeds.

Fixes # (issue)
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Sidebar no longer works in Firefox

Describe the bug
In Firefox, the sidebar no longer has any content. Moving the mouse over the sidebar reveals hidden areas of content (which trigger the "loading" mouse pointer), but nothing seems to load. This problem does not happen in Chrome or Edge.
To Reproduce
Steps to reproduce the behavior:

Open Storybook in Firefox.

System:

OS: Windows 10
Browser: Firefox 66.0.4
Version: 5.1.0-alpha.39

Additional context
There is a console error:
DOMException: "An invalid or illegal string was specified"

@shilman Yes, things are working now for me, even locally. Not sure why it was misbehaving yesterday. The link you sent works correctly in the latest version of all my browsers.
(Unrelated: that UI is showing 3 or 4 unnecessary horizontal scrollbars in Windows/Linux.)


Not able to establish tls connection with azure event grid mqtt server

Hi Team,
I am trying to establish tls connection between client(running in windows OS with .net framework) and azure event grid server, for which i did the coding as below:
public static class Client_Connection_pub
{
    public static async Task connect_with_pub()
    {
        string hostname = "publishjsonmqtteventgridns.westeurope-1.ts.eventgrid.azure.net";
        string clientId = "client1-session1";  //client ID can be the session identifier.  A client can have multiple sessions using username and clientId.
        string x509_pem = @"C:\Users\INNEBIS1/certificate/client1-authn-ID.pem";  //Provide your client certificate .cer.pem file path
        string x509_key = @"C:\Users\INNEBIS1/certificate/client1-authn-ID.key";  //Provide your client certificate .key.pem file path

        // Load certificate and private key from PEM files
        var certificate = new X509Certificate2(X509Certificate2.CreateFromPemFile(x509_pem, x509_key).Export(X509ContentType.Pkcs12));

        // Add the loaded certificate to a certificate collection
        X509Certificate2Collection certificates = new X509Certificate2Collection
        {
            certificate
        };

        var mqttClient = new MqttFactory().CreateMqttClient();
        var connAck = await mqttClient!.ConnectAsync(new MqttClientOptionsBuilder()
            .WithTcpServer(hostname, 8883)
            .WithClientId(clientId)
            .WithCredentials("client1-authn-ID", "")  //use client authentication name in the username
            .WithTlsOptions(new MqttClientTlsOptionsBuilder()
                .WithTrustChain(certificates)
                .Build())
            .Build());

        Console.WriteLine($"Client Connected: {mqttClient.IsConnected} with CONNACK: {connAck.ResultCode}");

        mqttClient.ApplicationMessageReceivedAsync += async m => await Console.Out.WriteAsync($"Received message on topic: '{m.ApplicationMessage.Topic}' with content: '{m.ApplicationMessage.ConvertPayloadToString()}'\n\n");

        var suback = await mqttClient.SubscribeAsync("contosotopics/topic1");
        suback.Items.ToList().ForEach(s => Console.WriteLine($"subscribed to '{s.TopicFilter.Topic}' with '{s.ResultCode}'"));

        while (true)
        {
            var puback = await mqttClient.PublishStringAsync("contosotopics/topic1", "hello world!");
            Console.WriteLine(puback.ReasonString);
            await Task.Delay(1000);
        }
    }
}

Another way i Tried as below:
using MQTTnet.Client;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
using System.Security;
using MQTTnet.Client.Extensions;

namespace MQTTnet.Samples.Client;

public static class Client_Connection_pub_with_tls
{
    public static async Task connect_with_tls()
    {

        string hostname = "publishjsonmqtteventgridns.westeurope-1.ts.eventgrid.azure.net";
        string clientId = "client1-session1";  //client ID can be the session identifier.  A client can have multiple sessions using username and clientId.
        string x509_pem = @"C:\Users\INNEBIS1/certificate/client1-authn-ID.pem";  //Provide your client certificate .cer.pem file path
        string x509_key = @"C:\Users\INNEBIS1/certificate/client1-authn-ID.key";  //Provide your client certificate .key.pem file path

        var tlsParams = new MqttClientTlsOptionsBuilder();
        tlsParams.WithSslProtocols(System.Security.Authentication.SslProtocols.Tls12 | System.Security.Authentication.SslProtocols.Tls13);

        if (!string.IsNullOrEmpty(x509_pem))
        {
            X509Certificate2Collection chain = new();
            chain.ImportFromPemFile(x509_pem);
            tlsParams.WithTrustChain(chain);
            tlsParams.WithRevocationMode(X509RevocationMode.NoCheck);
        }

        if (!string.IsNullOrEmpty(x509_pem) && !string.IsNullOrEmpty(x509_key))
        {
            List<X509Certificate2> certs = new();
            X509Certificate2 cert = X509ClientCertificateLocator.Load(x509_pem, x509_key, "");
            if (!cert.HasPrivateKey)
            {
                throw new SecurityException("Provided Cert Has not Private Key");
            }
            certs.Add(cert);
            tlsParams.WithClientCertificates(certs);

            var mqttClient = new MqttFactory().CreateMqttClient();
            var connAck = await mqttClient!.ConnectAsync(new MqttClientOptionsBuilder()
                .WithTcpServer(hostname, 8883)
                .WithClientId(clientId)
                .WithCredentials("client1-authn-ID", "")  //use client authentication name in the username
                .WithTlsOptions(tlsParams
                    .Build())
                .Build());
            Console.WriteLine($"Client Connected: {mqttClient.IsConnected} with CONNACK: {connAck.ResultCode}");
        }
    }
}

But with both methods I am getting error

NOTE: Here i am creating the self signed certificate which provides root.pem, root.key, intermediate.pem, intermediate.key and using this intermediate cert file C:\Users\INNEBIS1/certificate/client1-authn-ID.pem and C:\Users\INNEBIS1/certificate/client1-authn-ID.key is getting created. The same intermediate cert file I'm attaching in azure event grid server.
can anyone please suggest how can i establish the tls connection ?

Hi @neetabisht,
We have samples for Azure Event Grid in https://github.com/Azure-Samples/MqttApplicationSamples, I'd recommend moving this issue there.
From a quick glance to the sample provided, you dont need to call .WithTrustChain(certificates) as the TLS connection is protected with a chain that can be resolved from public certs, in Windows from the Trusted Certificates Store.

After adding the Intermediate Crt file in Windows trusted certificates store and updating the code(removed .withTrustChain, added WithClientCertificates) as below, I'm able to connect with azure event grid server.
using MQTTnet.Client;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;

namespace MQTTnet.Samples.Client;

public static class Client_Connection_pub
{
    public static async Task connect_with_pub()
    {
        string hostname = "publishjsonmqtteventgridns.westeurope-1.ts.eventgrid.azure.net";
        string clientId = "client1-session1";  //client ID can be the session identifier.  A client can have multiple sessions using username and clientId.
        string x509_pem = @"C:\Users\INNEBIS1/certificate/client1-authn-ID.pem";  //Provide your client certificate .cer.pem file path
        string x509_key = @"C:\Users\INNEBIS1/certificate/client1-authn-ID.key";  //Provide your client certificate .key.pem file path

        // Load certificate and private key from PEM files
        var certificate = new X509Certificate2(X509Certificate2.CreateFromPemFile(x509_pem, x509_key).Export(X509ContentType.Pkcs12));

        // Add the loaded certificate to a certificate collection
        X509Certificate2Collection certificates = new X509Certificate2Collection
        {
            certificate
        };

        var mqttClient = new MqttFactory().CreateMqttClient();
        var connAck = await mqttClient!.ConnectAsync(new MqttClientOptionsBuilder()
            .WithTcpServer(hostname, 8883)
            .WithClientId(clientId)
            .WithCredentials("client1-authn-ID", "")  //use client authentication name in the username
            .WithTlsOptions(new MqttClientTlsOptionsBuilder()
                .WithSslProtocols(System.Security.Authentication.SslProtocols.Tls12 | System.Security.Authentication.SslProtocols.Tls13)
                **.WithClientCertificates(certificates) // Missed to update the client certificate provider details**
                .Build())
            .Build());

        Console.WriteLine($"Client Connected: {mqttClient.IsConnected} with CONNACK: {connAck.ResultCode}");

        mqttClient.ApplicationMessageReceivedAsync += async m => await Console.Out.WriteAsync($"Received message on topic: '{m.ApplicationMessage.Topic}' with content: '{m.ApplicationMessage.ConvertPayloadToString()}'\n\n");

        var suback = await mqttClient.SubscribeAsync("contosotopics/topic1");
        suback.Items.ToList().ForEach(s => Console.WriteLine($"subscribed to '{s.TopicFilter.Topic}' with '{s.ResultCode}'"));

        while (true)
        {
            var puback = await mqttClient.PublishStringAsync("contosotopics/topic1", "hello world!");
            Console.WriteLine(puback.ReasonString);
            await Task.Delay(1000);
        }
    }
}

Thanks a lot 👍


[asio] upgrade to version 1.24.0

Describe the pull request

What does your PR fix?
Updates asio port to 1.24.0

Which triplets are supported/not supported? Have you updated the CI baseline?
No changes

Does your PR follow the maintainer guide?

Yes

All features are tested successfully in the following triplet:

x86-windows
x64-windows
x64-windows-static

Thank you!