Removing the Jackson leak in HttpHeaders

Instead registering a separate serializer directly with the JacksonAdapter. Tests that failed after functionality was removed from HttpHeaders now pass with the new HttpHeaderSerializer.

Some context: Why we need the ability to serialize HttpHeaders:
This is to support "header model type". Since http header type is a map when we serialize it we get a json string with key:values. The "header model type" will have properties with exactly the same key name (via jsonProperty attribute), now we can deserialize the json string to this strongly typed header model and return that to consumer.


ComposedModel without implementation of clone method

What is the cause? Is it a bug?

What?

Sorry for my poor description.
I want use the clone method of all Swagger Models that implement "Model" interface. But i saw that the object "ComposedModel" doesn't implement this method.
The "AbstractModel" returns null in this case.
For this reason, I want know if there is a bug.
I am using the clone method for merging of more than one swagger document.

Fair enough. Feel free to submit a PR for it.

Looks more like a bug than a feature...
+1

+1 and submitting this solution as it removes a bug that's impairing me.

Solution merged in master, thanks @arosenber.


break allowed outside of loops

The following should be a syntax error, but is allowed and causes a panic at runtime:
def illegal_break():
     break

Can this be closed now?

There are a few more edge cases not covered by the fix. Also a similar problem exists for yield and return being allowed outside of functions.

yield can exist outside of loops, in which case the function will just yield the generator with one element.

The current fix probably cannot handle breaks in nested loops, because having only a boolean indicator in_loop is not enough to keep track of the nesting. For example,
def f():
    a = 3
    while a:
        for i in range(10):
            print(a, i)
            if i == 2:
                break
        a -= 1
        if a == 1:
            break

The self.in_loop will be reset to false at the end of the for loop, but we will still be inside the while loop.

Yeah, this is the edge case I was alluding to above.
The in_loop flag should actually be enough, if instead of setting to false, it just saves and then restores the prior value.

@OddCoincidence please take at the PR #542 for the fix. Thank you~


feat: add Drupal to listing tags

Fixes #9

@theodorosploumis any other relevant tags you can think of?

drupal is a must tag. Maybe you can add drupal-9 or similar.


🐞 Bug : Placeholder is missing in login and signup page

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
In Login and Signup page , Placeholder is missing.
Steps To Reproduce

Go to CircuitVerse.org
Click on Log in button
See there is no place holder in input tags.

Expected Behavior
Add placeholders for clear input identification in Login and Signup page.
Screenshots
Before:

After:

Device Information [optional]
- OS:
- Browser:
- version:

Additional context
No response
Are you working on this issue?
Yes

hey @shauryag2002 , hope u are doing good, can u please assign me this issue so that i can contribute to it...

@shauryag2002 @vedant-jain03 @tanmoysrt please assign me this issue

@tanmoysrt I have no problem with assigning this issue to another contributor. Please feel free to do so.

@tanmoysrt I have no problem with assigning this issue to another contributor. Please feel free to do so.

Thanks!

Hi @balkishan69 , you have been assigned this issue, you can start working on the issue and raise PR

As there is no PR activity for 1 month, unassigning @balkishan69

Hi, Can I get this assigned ?

Hi, Can I get this assigned ?

sure !


[stable/grafana] Change .Values.extraEnv to a list of EnvVar values.

Backwards incompatible change.
This is more flexible than just key/value pairs. It also allows loading
environment variables from secrets so they don't have to be part of your
chart. Useful for overriding grafana config values.
http://docs.grafana.org/installation/configuration/#using-environment-variables

Thank you for contributing to kubernetes/charts. Before you submit this PR we'd like to
make sure you are aware of our technical requirements and best practices:

https://github.com/kubernetes/charts/blob/master/CONTRIBUTING.md#technical-requirements
https://github.com/kubernetes/helm/tree/master/docs/chart_best_practices

For a quick overview across what we will look at reviewing your PR, please read
our review guidelines:

https://github.com/kubernetes/charts/blob/master/REVIEW_GUIDELINES.md

Following our best practices right from the start will accelerate the review process and
help get your PR merged quicker.
When updates to your PR are requested, please add new commits and do not squash the
history. This will make it easier to identify new changes. The PR will be squashed
anyways when it is merged. Thanks.

/assign @foxish

cc @zanhsieh

/assign

/ok-to-test

/assign @foxish

/lgtm


scroll event does not bubble

I am note sure if I already created this issue some time ago. I am not able to find it so I create it now.
The scroll event does not bubble (https://developer.mozilla.org/en-US/docs/Web/Events/scroll) but is not in the list of non-bubbling events (https://github.com/cyclejs/dom/blob/master/src/render-dom.js#L109).
So DOM.select('.foo').events('scroll') is not working.

Simple workaround for this currently is DOM.select('.foo').events('scroll', { useCapture: true });

Fixed in Cycle DOM 10.0.3


Razor Class Library Project template incorrectly sets layout to null

This sets the default view's layout to null. This conflicts with the current RCL doc. Basically if you follow the doc you end up getting a layoutless page.
Docs aside I'd imagine the project template would not set the Layout in the view.
@mkArtakMSFT we should consider this for a patch, it'll confuse the hell out of users.

@NTaylorMullen, does this impact 2.1 only?

Fixed in https://github.com/aspnet/Templating/pull/659


Add roles that are required for Power BI Embedded Service administration

Please add a section listing all of the roles required to administer the Power BI Embedded service for Power Pages to this article. One of our M365 Global Admins (who also has Power Platform Admin role) tried to set up PBI Embedded and keeps getting told he must belong to a specific security role...but the missing role isn't clarified. The full error text (with a link to the referenced article) is:

You must be a member of the security role(s) allowed to perform this operation. Learn more about the required security roles

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

ID: 20c84550-bfea-6a51-3b10-87175c8a038b
Version Independent ID: 20c84550-bfea-6a51-3b10-87175c8a038b
Content: Roles required for Power Pages administration
Content Source: power-pages-docs/admin/admin-roles.md
Service: power-pages
Sub-service: ****
GitHub Login: @neerajnandwana-msft
Microsoft Alias: nenandw

Thanks for the feedback.
I want to clarify that you have seen this topic as well:
https://learn.microsoft.com/power-pages/admin/set-up-power-bi-integration#create-security-group-and-add-to-power-bi-account
If you have followed the steps in that topic (above) and are still having issues, you may have to open a support ticket to help isolate the problem or if there is something specific in your configuration.
Can you let us know where you specifically see the "learn more" link? In case we need to reconsider the redirection for that link.
Thank you!

Thanks for the reply, @nickdoelman.

I want to clarify that you have seen this topic as well:
https://learn.microsoft.com/power-pages/admin/set-up-power-bi-integration#create-security-group-and-add-to-power-bi-account

Yes. I created the group, added the Portal app reg to it, and added it as an allowed security group in the PBI admin portal under the Allow service principals to use Power BI APIs setting as instructed. Our GA also has admin access to the PBI Workspace in question, so there's nothing we can find from the docs that would explain the "You must be a member of a the security role..." error message.

If you have followed the steps in that topic (above) and are still having issues, you may have to open a support ticket to help isolate the problem or if there is something specific in your configuration.

Regarding support, I have sent up a ticket but it's been about a week and a half with zero reply. I've been hoping it's just that there's a role missing from the doc or something.

Can you let us know where you specifically see the "learn more" link? In case we need to reconsider the redirection for that link.

The "learn more" link is provided in the "You must be a member of a the security role..." error that appears when our Global Admin clicks on the Edit Workspaces link in the Admin Center (step 3 in this doc section).
Considering the fact that he's a GA and the Roles Required doc states that the role required to administer Power BI integration is Global Admin, both that error and the "unexpected" one are a bit of a headscratcher. I did discover that the Global Admin had to have Power Platform Admin role assigned or else he couldn't even view the page at all in the Admin Center.

We reviewed the steps and based on our information; you should only require the global admin role + following the steps to create the security group to enable Power BI embedded.
However, there may be some additional configuration or settings preventing you from enabling Power BI embedded. We encourage you to continue to engage with support as they should be able to help you with isolating the issue.


Update check_connection method

In two python example provided in the repository we can observe a similar pattern for the connection checking:
    startup_sec = 1
    while not viz.check_connection() and startup_sec > 0:
        time.sleep(0.1)
        startup_sec -= 0.1
    assert viz.check_connection(), 'No connection could be formed quickly'

I wonder whether this could not be integrated directly to check_connection method without asking the user to write such loop.
What do you think ?
Thanks

I have also an issue with example demo.py when I run
python3 -m visdom.server &
python3 demo.py

I get the following output:
INFO:tornado.access:200 POST /env/main (<IP_ADDRESS>) 1.17ms
INFO:tornado.access:101 GET /vis_socket (<IP_ADDRESS>) 0.99ms
INFO:root:Opened visdom socket from ip: <IP_ADDRESS>
unorderable types: float() > NoneType()
INFO:tornado.access:101 GET /vis_socket (<IP_ADDRESS>) 0.87ms
INFO:root:Opened visdom socket from ip: <IP_ADDRESS>
unorderable types: float() > NoneType()
INFO:tornado.access:101 GET /vis_socket (<IP_ADDRESS>) 0.92ms
INFO:root:Opened visdom socket from ip: <IP_ADDRESS>
unorderable types: float() > NoneType()
Visdom python client failed to establish socket to get messages from the server. This feature is optional and can be disabled by initializing Visdom with `use_incoming_socket=False`, which will prevent waiting for this request to timeout.
INFO:tornado.access:200 POST /win_exists (<IP_ADDRESS>) 0.87ms
INFO:tornado.access:200 POST /win_exists (<IP_ADDRESS>) 0.86ms
INFO:tornado.access:200 POST /win_exists (<IP_ADDRESS>) 0.88ms
INFO:tornado.access:200 POST /win_exists (<IP_ADDRESS>) 0.84ms
INFO:tornado.access:200 POST /win_exists (<IP_ADDRESS>) 0.83ms
INFO:tornado.access:200 POST /win_exists (<IP_ADDRESS>) 0.85ms
INFO:tornado.access:200 POST /win_exists (<IP_ADDRESS>) 0.88ms
INFO:tornado.access:200 POST /win_exists (<IP_ADDRESS>) 0.83ms
INFO:tornado.access:200 POST /win_exists (<IP_ADDRESS>) 0.83ms
INFO:tornado.access:200 POST /win_exists (<IP_ADDRESS>) 0.84ms
INFO:tornado.access:200 POST /win_exists (<IP_ADDRESS>) 0.87ms
INFO:tornado.access:200 POST /win_exists (<IP_ADDRESS>) 0.90ms
INFO:tornado.access:200 POST /win_exists (<IP_ADDRESS>) 0.84ms
The visdom experienced an exception while running: AssertionError('No connection could be formed quickly',)

However if comment connection checking:
# assert viz.check_connection(), 'No connection could be formed quickly'

demo works

@vfdev-5 It seems the latter issue is related to #450 - I'm not quite sure what the root cause of that is.
For your former suggestion, I'd be happy to accept a PR that moves that timeout logic behind a timeout argument to check_connection()

@JackUrb thanks for the answer. Just FYI I was trying to debug the demo.py and if I add some code before checking the connection:
    viz = Visdom()

    startup_sec = 1
    while not viz.check_connection() and startup_sec > 0:
        time.sleep(0.1)
        startup_sec -= 0.1

    print("startup_sec:", startup_sec)
    print(viz.win_exists(''), viz.socket_alive, 'or', not viz.use_socket)
    assert viz.check_connection(), 'No connection could be formed quickly'

The assertion is raised and the output for print(viz.win_exists(''), viz.socket_alive, 'or', not viz.use_socket) is False False or False

Hi @vfdev-5, I've implemented this in #460. Are you still having the issue caused by #450 when you run from source?

@JackUrb let me check this.
Concerning #460 do you plan to merge it ?

@vfdev-5 soon, want to just get some eyes on it first.

@JackUrb tested the master and have no more problems with runing the demo.py as reported in the previous comment.
I looked the PR, looks good to me :)

Implemented in #460


What is the pattern for INR(Indian Rupees)?

Hi,
I want to convert an integer to INR format, I don't know the pattern format. Can u please tell me the pattern for INR?

Look in the CommonCurrencies class.
On Fri, 30 Jul 2021, 3:48 pm VengaiMovan, @.***> wrote:

Hi,
I want to convert an integer to INR format, I don't know the pattern
format. Can u please tell me the pattern for INR?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/noojee/money.dart/issues/50, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAG32OE6ICYGCB3O6J6WYVLT2I4JPANCNFSM5BH2UWTQ
.

Hi @bsutton ,
I tried that way but it didn't work, I have added the code and the output.
Thank You.
Code
final Currency inr = Currency.create('INR', 2, symbol: '₹', invertSeparators: false, pattern: 'S000.00,00'); totLoss = jsonResponse['totLoss'].toString(); // return 73274 totLoss = Money.fromInt(int.parse(totLoss), inr).toString(); output :  ₹732.1,740

So clearly a bug.
I did have on my to-do list to check out the inr. It is the only currency
that groups thousands left to right.
It will be a few days before I can look at this.
You welcomed to have a crack at fixing.
On Fri, 30 Jul 2021, 10:10 pm VengaiMovan, @.***> wrote:

Hi @bsutton https://github.com/bsutton ,
I tried that way but it didn't work, I have added the code and the output.
Thank You.
Code
final Currency inr = Currency.create('INR', 2, symbol: '₹',
invertSeparators: false, pattern: 'S000.00,00'); totLoss =
jsonResponse['totLoss'].toString(); // return 73274 totLoss =
Money.fromInt(int.parse(totLoss), inr).toString(); output : ₹732.1,740
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/noojee/money.dart/issues/50#issuecomment-889849953,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAG32OHGM7W7WPACR2SUIHDT2KJCRANCNFSM5BH2UWTQ
.

I've just published v3 beta 5 which side steps this issue.
The CommonCurrencies for inr included thousand separators which no other currency does.
So I've removed the thousands separator and now the default format works.
This however doesn't fix the core bug where the formatter isn't working for left to right thousand separtors.

I just noted that your pattern is wrong:
final Currency inr = Currency.create('INR', 2, symbol: '₹', invertSeparators: false, pattern: 'S000.00,00');

as invertSeparator is false the , and . a backward.
final Currency inr = Currency.create('INR', 2, symbol: '₹', invertSeparators: false, pattern: 'S000,00.00');

The common currency format is also wrong. I will push another beta that fixes this.

I've must pushed beta 6 with the invertseparator fixed.
If you have the pattern correct looks like it actually works:
  expect(
          Currencies()
              .find('INR')!
              .copyWith(pattern: r'S##,##,###.##')
              .parse(r'₹1234567.89')
              .toString(),
          equals(r'₹12,34,567.89'));

    });

So I believe beta 6 fixes this.
I will close this, but if you have additional issues feel free to reopen.

Ok, @bsutton  thank you soo much, I'll try and report if anything wrong.


Add NEabled/Disabled checkbox to the "Remap a key"-feature

Description of the new feature / enhancement
Would be handy to temporarily disable key mapping.
Scenario when this would be used?
I really do not use Caps lock ever, so that is mapped as left shift, and hate if I press Insert so it is disabled.
But as a programmer I woulöd need those while testing a app, or customer case whatt not. So instead of deleting the mapping, I would benefit from disabling it, for shot while, and would not have to rebuild the mapping from the scratch.
Supporting information
No response

As far as I can tell this used to be supported, but more recent versions of the tool have lost the ability. Relatedly, there also seems to be no longer any UI to remap to otherwise unbound virtual keys.


Error: read_distancing() fails to detect files

I am attempting to read a collection of v2 social distancing files for 2020 in the directory expected by read_distancing() however, the function appears to be broken.
I have all social distancing patterns in the layout expected by this function within my current working directory, yet the function is unable to detect them and fails, as shown from this reprex:
library(SafeGraphR)
library(tidyverse)

# Start with all social distancing for 2020
setwd("Y:/Gavin/social-distancing/social-distancing/v2")

distancing <- read_distancing(
  start = lubridate::ymd('2020-01-01'),
  end = lubridate::ymd('2020-03-10')
)
#> Running read_distancing with default select and by - this will select only the device count variables, and aggregate to the county level. Change the select and by options if you don't want this. This message will be displayed only once per session.
#> [1] ".2020/01/01/"
#> Error in data.table::fread(file = target, select = select, ...): File '.2020/01/01/' does not exist or is non-readable. getwd()=='Y:/Gavin/social-distancing/social-distancing/v2'

Created on 2021-04-20 by the reprex package (v2.0.0)

Update: please disregard the issue, I was able to fix this by updating to a later version of the package and it is now working. Thanks!


Cannot set path to build.xml

On the Ant File tab, after entering the path (as "webapp/WEB-INF/build.xml" for me), the Apply button stay grayed and I cannot choose a build target.

There is no code that would grey out the Apply button (maybe it just looks like it is because of your theme). Can you click on it?

Nothing happen when I click on it. I guess it's a default theme, and on other windows I saw it green so it really look like disabled to me here. What's supposed to happen then? Are you presented with a list of targets?

The idea is you give it a valid path, edit the command parameters (activating console output and a java profile on standard output) and press apply. In the project you can then press ctrl-l ctrl-l to see a list of ant targets.


Text in version selector should be align to menu

The version number (not the box!) should be align to the left menu text

It's seems common to have the sidebar text and the box aligned.
From Figma:

How others are doing:

Maybe the difference is the other examples have a clearer border, while in our case the text is much more visible than the box

Closed by https://github.com/scylladb/sphinx-scylladb-theme/pull/1314


[incubator/cassandra-k8s-operator] Add charts for the Orange's Cassandra Kubernetes operator

Signed-off-by: sebastien allamand<EMAIL_ADDRESS>
What this PR does / why we need it:
This PR adds a new chart for cassandra-k8s-operator a Cassandra Kubernetes operator (CassKop).
This will ease the management of Cassandra cluster in Kubernetes.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

hey @allamand,
Have you considered hosting this chart and adding it to helm hub?
https://github.com/helm/hub/blob/master/Repositories.md

Hello @maorfr, actually I have nowhere to store the chart, so I thought it was better to add it in the helm/charts repository.

@maorfr, can we run e2e tests on this, is it ok for you ?

I can take a look at github page, but I already use github pages for documentation sharing in the project. It seems to be at this time that it would be more useful in the charts repository but I'm open mind :)
Regarding the tests, they are failing because the CRD is missing when testing the chart.
In fact, I don't create the CRD in the helm willingly to avoid garbage collector of the CRD when deleting the chart. Any suggestion on how I should be doing that?
thanks for help

/retest

/approve

/retest

@maorfr I think It's Ready to merge. I would like to merge it in incubator/charts, and I will work in future to have the charts on our own repo.
Is that ok for you ?

/lgtm

/assign @jlegrone

/assign @prydonius

I would like to merge it in incubator/charts, and I will work in future to have the charts on our own repo.

I think that's fine for now. Just bear in mind that in the future we want to move towards a more distributed model, so folks will run their own chart repositories and add them to the Helm Hub (https://hub.helm.sh).
/lgtm


Work around CUDA on Mac

See spack/spack#6000
Fixes #44

Ah, sorry to not have carried over the context. As I understand it, when Clang detects CUDA, its -v flag prints extra text about CUDA. This gets misinterpreted by the build system as part of the computer system description and becomes part of the build directory name, including spaces. This leads to broken relative paths later on. —version seems not to print this extra CUDA text

@ibaned Can that comment be part of the commit message so that it persist in the history outside of GitHub?

@hjmjohnson sure! I just force pushed to the PR branch, the commit message has the full description and credits @mikcieslak who actually came up with the solution.

@ibaned Thanks.  Hopefully this will increase the likelihood that the PR is addressed quickly.

Implemented.


[CS] ForbiddenClassSniff idea

To cover cases like: https://github.com/Symplify/Symplify/pull/1229/files/ad8458e9c2c23b178a794ea52c825cb4d7de1a19#r237832540

add optional description why and what you should do instead

The scope depends on project preferences, kind of architectural design

That's an idea for a sniff, that would tell you not to use a class in the code.
It might look like this for ECS:
# ecs.yml
services:
    ForbiddenClassSniff: # ← the class
        # the configuration ↓
        ContainerInterface: "Avoid using container in the code. Go for constructor injection, parameter array autowire or collector instead"

Yeah, I can see how this is useful.
It's always possible to add a PHPDoc, but it's hard to enforce.

How would that look like?

Not pretty, and would rely on developer's attention.


[P0] Re-enable daily challenges

Summary
There is still some leftover QA code for uploading challenges to S3. Let's see how much work it is to re-enable this, and possibly allow community-submitted challenges.

Relevant code: scripts/daily_challenges/migrate_daily_challenge_from_staging.coffee
Challenges were indeed in S3, and we don't appear to have access to them in the repo.


Resolution for imported identifiers does not follow the specification wording

We have Scope.lookup that accepts Identifier, not just SimpleIdentifier, because we want to support importPrefix.topLevelName. But the specification instructs us to look on import prefixes as on objects:

We don't have to follow this exactly and create such objects, but the idea is that it might be cleaner to do separate resolution for import prefixes, and then identifiers in the namespaces that correspond to these import prefixes.

IIRC, Scope used to only handle SimpleIdentifier, but then the spec was changed to treat <prefix>.<identifier> as if it were a single identifier, so we changed Scope to correspond. If the spec no longer treats them as a single identifier, then I agree that Scope should stop doing so. (It was probably changed back when deferred was added.)

This topic is somewhat in flux, because there is a not-yet-landed major update of all the rules about library namespaces, imports, and prefixes.
One of the properties of the new text is that it explicitly says that there is no such thing as an object at run time which is denoted by an import prefix, the prefix is purely a device which is used to navigate namespaces at compile time.
Also, it is made explicit that any use of a prefix which gives rise to evaluation of the prefix to an object is a compile-time error, and the prefix does not have a static type.
I believe this should be sufficient support for the conclusion that implementations are free to consider terms of the form prefix.id as identifiers, as well as the conclusion that prefixes are subject to a separate step of resolution. Whatever is more convenient would be fine.

We switched to resolving importPrefix.topLevelName by separately looking up importPrefix, and then topLevelName in the scope of the found PrefixElement.


Integration with Explorer

We may also make it configurable, so that people can call Kino.configure(...) at the beginning to choose the default representation (table vs inspect).
Note to self: explore passing the inspect result along the widget output, so we can still persist the result in some form.


Pin pydata-sphinx-theme to fix RTD build

Fixes #2441
Ref pydata/pydata-sphinx-theme#1274

Tested manually with mambaforge version to replicate RTD build


SOLR-16600 Use Array instead of ObjectList when dealling with paralle…

Use Array instead of ObjectList when dealling with parallelCachesRefresh in CloudSolrClient
https://issues.apache.org/jira/browse/SOLR-16600

Description
Please provide a short description of the changes you're making with this pull request.
Solution
Please provide a short description of the approach taken to implement your solution.
Tests
Please describe the tests you've developed or run to confirm this patch implements the feature or solves the problem.
Checklist
Please review the following and check all that apply:

[x] I have reviewed the guidelines for How to Contribute and my code conforms to the standards described there to the best of my ability.
[x] I have created a Jira issue and added the issue ID to my pull request title.
[x] I have given Solr maintainers access to contribute to my PR branch. (optional but recommended)
[x] I have developed this patch against the main branch.
[x] I have run ./gradlew check.
[ ] I have added tests for my changes.
[ ] I have added documentation for the Reference Guide

@epugh PR for SOLR-16600 please review

This makes sense to me, though I wonder if others might chime in who have stronger opinons?    @stillalex I wonder if, for bonus points, you'd like to add this pattern to our forbidden-apis check?   Seems like this change is something that we should be continuing to check for in the future?   So that it doesn't come back?    If you want to add it to forbidden-apis, that would be great, and let's leave it open.  Otherwise, if you don't want to do that, then I'll merge once I get another LGTM!  Just let me know!

@epugh thank you for the review! I don't know much about the forbidden api check, could you link to some reading resource? just on the surface, this PR is a minor improvement on existing code, I would not add too much strictness to it.

I've only seen it used in solr, but the gradle plugin is https://github.com/policeman-tools/forbidden-apis and it's run as part of the precommit check.
I'll leave this open for another day or so and then merge ;-)

@epugh could we merge this one?


Feature/ An Operator to visualize the UV map of a mesh

It's based on [BlendMeshVertices], but instead of blending from one mesh to an other it blends from the mesh to its UV coordinates.
While testing it on [CylinderMesh] it helped to see that all its UV islands were not inside the UV map area then I managed to edit CylinderMesh.CS in order to fix this.
This video describes a use case and shows [CylinderMesh] UV map:
https://github.com/tooll3/t3/assets/3755089/31855c9c-d570-4bc7-aa9d-45a8fcf5a825
Here is the corrected UV map for [CylinderMesh]

Great contribution! Very helpful as a debugging tool.


Unclear Caching documentation

The jikan API has/had a set cache limit amount of minutes or hours depending on the URL and how dynamic usually is.
I got x-cache-status MISS, when I used the api v4 to get my friends list, and I am not sure what it means
cache-control, s-maxage=300, which means that it is cached for 5 minutes (that is verified on Date and expires information)
The issue is that this https://docs.api.jikan.moe/#section/Information/Caching says
"All requests, by default are cached for 24 hours except the following endpoints which have their own unique cache Time To Live."
Yet it does not show a list of "following endpoints", so my question is, does the friends endpoint has a 5 mins cache, 24 hours cache, or what?
It would be helpful to actually have a list including the "following endpoints" there, including the cache time for each endpoint that is not a 24 hours cache

Added info to docs.

Thank you, but I still feel like it's not clear enough.
So everything is cached for 24 hours no matter the endpoint?
Does the friends endpoint have a 5 mins cache, 24-hour cache, or what?

@irfan-dahir
Thank you, but I still feel like it's not clear enough.
So all endpoints no matter which one all have a 24-hour cache?
Does the friends endpoint have a 5 mins cache, 24-hours cache, or what?


Create WebSocket example

Could you please provide WebSocket AsyncAPI 2.0.0 complete example.
Right now I totally misunderstand how to describe single channel (i.e. I use only one path "/ws" for example) RPC service with messages like SignUpRequest, SignUpResponse, etc.

I had the same question while working on this demo application: https://github.com/treeder/async-toy-store
I ended up wrapping the messages in metadata that included the channel name: https://github.com/treeder/async-toy-store/blob/master/models/message.go
Not sure how to describe that in AsyncAPI though.

Hey folks! I just created a code generator for Node.js and WebSockets. With it, I created an example of an echo client/server using WebSockets. Check it out: https://github.com/fmvilas/asyncapi-websockets-example.
The AsyncAPI file is this one: https://github.com/fmvilas/asyncapi-websockets-example/blob/master/asyncapi.yaml.
Hope it helps!

It is still needed to have WS example among other examples basing on this thread https://asyncapi.slack.com/archives/C34F2JV0U/p1583757080132600, not to mention that it would make sense to have a documentation that explains the example

I think that this could be my next “assignment”. I’d love to do as much as possible here:

work on a simple sample project that shows the code and how AsyncAPI should look like for sample project
provide official examples here https://github.com/asyncapi/asyncapi/tree/master/examples
review existing nodejs and nodejs-ws templates and what are their capabilities at the moment and general state if it comes to websockets
add dedicated documentation here https://www.asyncapi.com/docs/getting-started
of course write some blog post about it

What do you think should be my focus. What would you like to see there, what should I showcase? What would you love to get as a user? 🤔

I'd make sure the project showcases:

How to define a WebSockets API with AsyncAPI.

With multiple channels.
With a single channel but multiple messages.

Generate code for multi-channel Websockets API with Socket.io.
Generate code for single-channel multiple-messages WebSockets API with raw WebSockets.
Generate code for both server and client.

Would love to see an example for internal communication in terms of Node.js + Socket.io server and client 🙇

Nice initiative really fill a hole in the OpenAPI Spec!
I'm trying to model a WS API with the AsyncAPI Spec, I have PUBLISH, SUBSCRIBE but also UNSUBSCRIBE operations, where do you put these operations inside the PUBLISH section? Or am I missing unsubscribe  somewhere (https://www.asyncapi.com/docs/specifications/2.0.0#channelItemObject)?
Also, I read your article @fmvilas about organizing your AsyncAPI documents I understood you recommend doing two AsyncAPI documents, one for the client perspective and one from the server perspective. Do you have an example available with the two documents?
I understand in more complex systems with a lot of different consumers/producers it may be interesting to have multiple documents, still, a document to explain the whole system is nice to have. In a WS scenario, what is missing to achieve this, is a field to indicate who can subscribe, and who publishes a message, with WS in mind since there are only two members is easy to identify the member at the other end.
Thanks for your help

Hey @lbdremy!

I'm trying to model a WS API with the AsyncAPI Spec, I have PUBLISH, SUBSCRIBE but also UNSUBSCRIBE operations, where do you put these operations inside the PUBLISH section? Or am I missing unsubscribe somewhere (https://www.asyncapi.com/docs/specifications/2.0.0#channelItemObject)?

Yeah, we don't consider unsubscribe as an operation in the spec. An unsubscribe operation is actually a publish to a specific channel with a specific message. It's not the first time someone asks for an unsubscribe operation. This is something we'll have to consider for future spec versions along with request and reply.
Now regarding the file organization, I think in the case of a client/server WebSockets connection, it doesn't make sense to have multiple AsyncAPI files. You could just have one as you do with OpenAPI for instance. The AsyncAPI file represents the server and the publish and subscribe operations represent what your clients can send to you or receive from you, respectively.
The difference with a broker architecture here is that this pattern —even though it's messaging— is not broker-based but instead it follows the "traditional" client/server architecture and the connection is connecting both the client and the server directly, as in an HTTP API. That's why in these cases, I think it makes sense to have only one file for the server and the client just takes it for reference.
Hope that helps :)

Yes it helps :) thanks @fmvilas

Now regarding the file organization, I think in the case of a client/server WebSockets connection, it doesn't make sense to have multiple AsyncAPI files. You could just have one as you do with OpenAPI for instance. The AsyncAPI file represents the server and the publish and subscribe operations represent what your clients can send to you or receive from you, respectively.

I agree one OpenAPI file to describe is much better still, in my case, the publish and subscribe operations do not only represent what my clients can send to you or receive from you, respectively. But also the client can publishmessage on a channel for example in a chat room, also a server can subscribe to a channel of the app representing some activities of the app for example "mouse tracking" less common I agree. That's the reason why I was suggesting to have a field to indicate who can subscribe, and who publishes a message. Today I am going to use the summary field and the tags field to indicate this information, it is free text so it is possible but not formalized.
Thanks again for your help :)

But also the client can publish message on a channel for example in a chat room

This is the meaning of publish in the server. It means that a client (of that server) can publish a message. It doesn't mean that the server is publishing a message to the client.

also a server can subscribe to a channel of the app representing some activities of the app for example "mouse tracking" less common I agree

Who is "the app" here? Is it the client? If it's the client this case is still a publish. It's the same to say that a server can subscribe to a channel (so the client sends a message there) than saying that a client can publish a message to a channel. Does it make sense?
Usually, the trick here is to think about the communication always from the client perspective. You define what the client can/will do. Therefore, saying that a client can subscribe means that the server is going to publish. Otherwise, why is the client subscribing, right? 😄

Hi,
regarding the initial question I would like to know if I get it right based on the following information:
https://github.com/asyncapi/bindings/blob/master/websockets/README.md

When using WebSockets, the channel represents the connection

That means when I'm trying to model an API between two micro services that is based on Websockets, I essentially ending up defining a single Channel where publish/subscribe probably contain each an anyOf message type, correct?
Should I try to model it the way how @treeder did in his example by adding the channel (or path) to the message payload?
I know, enhancing the docu is still pending but I hope I get at least some feelings about this from you. And sorry if the answer is in the messages above, I read them multiple times and the links but I still had this question ^^
Thanks

I wrote two articles about describing WebSockets with AsyncAPI that should explain the relationship between the two and how to use AsyncAPI to describe WebSocket API. It is based on real WebSocket API (single channel) as I could not come up with a better artificial example. Life is better in creating different scenarios.

WebSocket, Shrek, and AsyncAPI - An Opinionated Intro
Creating AsyncAPI for WebSocket API - Step by Step

I want to also record a live stream about the above, to basically provide the same content in audio and video.
I plan one article more + a presentation on a conference. The plan is to write a super basic file (multi-channel) and do some code generation with it. I was thinking about writing a new template from scratch using socket.io (as suggested above) but after playing with https://github.com/asyncapi/nodejs-ws-template I think it is a good and very simple template suitable for education. Let's see where it goes.
Let me know what you think.
If you know a technical writer or just anyone good at docs, that has time to contribute to open-source, please connect us. Would be great if someone can help, grab my content, do some Q&A sessions and create official documentation that we could host on our AsyncAPI website 🙏🏼

official example for AsyncAPI repo created https://github.com/asyncapi/spec/pull/533/files
last blog post is here https://github.com/asyncapi/website/pull/237 waiting for review and opinions

Last blog post is out https://www.asyncapi.com/blog/websocket-part3
Let me close this issue and please let me know in a new issue if something more is needed

@fmvilas We have a microservices based internal pub-sub architecture, and we have webhooks as interfaces to third party applications. I was looking to use AsyncApi as my single source of truth for my internal and external APIs. Looks like that isn't possible yet.

@Jaikant Yeah, still not possible. Would be awesome if you create an issue to request for this functionality and maybe even champion it :)


scala2: Upgrade scala2 to latest version - 2.13.13

Closes #1648

[x] I have read the Contributing Guide.

/verify


Crash when there is no audio device.

Blish HUD crashes if there is no audio device.
Blish HUD v0.11.0+Branch.tags-v0.11.0.Sha.cfbdea1a331bbc903ea5954cfc03c9d0f62d776b
10:41:39.1509 | INFO  | Blish_HUD.Program | Running Build "Branch.tags-v0.11.0.Sha.cfbdea1a331bbc903ea5954cfc03c9d0f62d776b"
10:41:40.1894 | INFO  | Blish_HUD.SettingsService | Preparing default settings file.
10:41:40.8757 | FATAL | Blish_HUD.DebugService | Blish HUD encountered a fatal crash!
CSCore.CoreAudioAPI.CoreAudioAPIException (0x80070490): IMMDeviceEnumerator::GetDefaultAudioEndpoint caused an error: 0x80070490, "Element not found.".
   at CSCore.CoreAudioAPI.MMDeviceEnumerator.GetDefaultAudioEndpoint(DataFlow dataFlow, Role role)
   at Blish_HUD.GameIntegration.AudioIntegration.Load() in D:\a\Blish-HUD\Blish-HUD\Blish HUD\GameServices\GameIntegration\AudioIntegration.cs:line 73
   at Blish_HUD.GameService.DoLoad() in D:\a\Blish-HUD\Blish-HUD\Blish HUD\GameServices\GameService.cs:line 43
   at Blish_HUD.BlishHud.BeginRun() in D:\a\Blish-HUD\Blish-HUD\Blish HUD\BlishHud.cs:line 93
   at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior)
   at Blish_HUD.Program.Main(String[] args) in D:\a\Blish-HUD\Blish-HUD\Blish HUD\Program.cs:line 74

REF: https://discord.com/channels/531175899588984842/534492173362528287/895420604931510283

Fixed in #497


New Startscreen

To put a new idea in the current version, I have something on my mind and maybe you're able to help or give better ideas.
I thought about the searchfield in the right corner. It is a little useless, if you use a smartphone. But otherwise a lot of people want to search directly. But on the same level they want to decide which version they use and maybe they only want to read direclty in a book. - So if I mix all these reasons/wishes of visitors together, wouldn't it be the best to present a startpage instead of a prechoosen bible and verse?
That startpage could be loaded in every new tab and could be linked from the logo. Also it guides the new visitor directly, because it could contain:
1.) a searchfield - maybe the field of the right corner - only more beautiful (maybe like qwant.com ?)
2.) below of it a horizontal line of all bible-versions - one directly bordered, because it's the defaultone
3.) below of that the books of the OT grouped in a TAB or so, a swipe would show the NT on the same area. Important there are the square buttons with the different bookcolors to make it pressable directly through the smartphone
What do you think about such an idea? Do you have any skills to implement such a thing?

What makes it better with a startpage?
1.) The autofocus on the searchfield is the same way like the click in the searchfield. You have only to click on the logo and you can type what you're searching for. If you already have one window with it open you can reuse it and mark the old searchword, so that you can type directly.
2.) You don't take any decision for the visitors, because you even don't know what they want. The visitor come to the page and can directly search of click the book he is searching for.
3.) You have the perfect place where you can put something like a daily verse or something like that.
IMHO: I think these are 3 good reasons for such a change.

Hello PDATTX!
Many thanks for your many contributions. We do have some interesting plans with the new version of Bible browser. It would be great talking with you, and including your ideas in those new plans.
Is it possible to talk by phone or by Skype? It would be great meeting you.
Ken Bitgood
CEO, Digital Bible Society
God's Word Accessible in every Language.
333 N. Rivershire Drive • Suite #240
Conroe, Tx 77304 • USA
936-494-4442 (o) •<PHONE_NUMBER> (f)
On Jun 5, 2017, 2:01 PM -0500, pdattx<EMAIL_ADDRESS>wrote:

What makes it better with a startpage?
1.) The autofocus on the searchfield is the same way like the click in the searchfield. You have only to click on the logo and you can type what you're searching for. If you already have one window with it open you can reuse it and mark the old searchword, so that you can type directly.
2.) You don't take any decision for the visitors, because you even don't know what they want. The visitor come to the page and can directly search of click the book he is searching for.
3.) You have the perfect place where you can put something like a daily verse or something like that.
IMHO: I think these are 3 good reasons for such a change.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub (https://github.com/digitalbiblesociety/browserbible-3/issues/101#issuecomment-306274521), or mute the thread (https://github.com/notifications/unsubscribe-auth/ABT7snkEkKsX_5JoFgnDmDJqBoNFrojDks5sBFCMgaJpZM4Npp-v).


prepare for e2e jobs in remotesecret and spi repos

Description

Separate SPI and RemoteSecret test into two different suites
Add configuration for e2e ci jobs in remotesecret and spi repos

Issue ticket number and link
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist:

[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added meaningful description with JIRA/GitHub issue key(if applicable), for example HASSuiteDescribe("STONE-123456789 devfile source")
[ ] I have updated labels (if needed)

/test all

/retest

/retest

/test redhat-appstudio-e2e


Removed wave issue in Reset-At by going to millis

This change conflicts with https://github.com/nikolaposa/rate-limit/pull/11, so please sort that first, and then I'll review it. At first glance I don't like the fact that ttl(string $key) method signature is changed - return type is now float. Even though it's a internal method, it's still a BC break because it's not private but protected, so someone might override it in their custom implementation.

Hello Nikola,
I have fixed the conflict. Without going to millis (either as int or as float) the waving issue will continue to exist, unless you stop using the expire capabilities of redis.

@nikolaposa We can document that ttl will return millis (instead of seconds) and have getResetAt perform the ceil to seconds. But this also counts as BC break right? If not this is an easy fix.
On the other hand if we want ttl to return seconds we can change the functionality of getResetAt and just return the expiration time:
from:
    public function getResetAt(string $key) : int     {         return time() + $this->ttl($key);     }
to:
    public function getResetAt(string $key) : int     {         return $this->ttl($key);     }
and have ttl directly compute the expiration time in the future.

@poursal I like the first approach more. However the current one is self-documenting and explicit, ttl() method returns float, so the intent is pretty obvious. Second alternative is not only a huge BC break, but also a change in semantics of the getResetAt() method that is supposed to tell in which point in time key will be reset (timestamp) and not how much time has left.
So I would definitely go with either current solution or first alternative. Will think about it...

Closing PR due to staleness. I did a complete rewrite for v2.0, much of the classes affected by these changes do not exist anymore.


GUI controlls not follwing midi

I can change volume either by dragging the volume (CC 7) in the gui or move the slider CC 7 on my keyboard, both changes the volume.
But when I use the keyboard the GUI does not move.
I am using sfizz 1.2.0 built from git source on Ubuntu 22.04.
The problem only apears when using the lv2 version.

typos in ticket title

I am now using 2.6.0-alpha1 built from git source on Ubuntu 23.10.
The same problem is still remaining.
Both in the lv2 and vst3 variant.
It goes for all Controls.
I can adjust from the gui or midi-keyboard, but any changes done from midi are not shown in the gui even if they "work".

I am now using 2.6.0-alpha1 built from git source on Ubuntu 23.10.

2.6.0-alpha1?

Sorry.
I am not sure where i got that number.
The version is 1.2.3


How to use compiler from master to build projects from command line?

Repro steps

open prompt in master
type build.bat net40
build a project in VS 2015 with F# 4.0
copy the command line in output window
adjust compiler path to \release\net40\bin\fsc.exe in that command line and try to run

Expected behavior
project is compiled with master branch compiler
Actual behavior

Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'fsc, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A) ---> System.Security.SecurityException: Strong name validation failed. (Exception from HRESULT: 0x8013141A)
--- End of inner exception stack trace ---

Known workarounds
None
Related information
Provide any related information

win 10 64
master
.net 4.5
VS 2015

Run src\update.cmd from admin dev prompt. It adds relevant exemptions from strong name validation.

@majocha thanks, I have few questions:

do I need to run this command after each build.bat net40?
wouldn't it make sense to have the default build work out of the box (just calling build.bat even) and only release / MS inhouse builds with the signing stuff?

It feels this repository should aim to become as easy as possible for contributors to peek into, that means running build.bat once compiles FSC/FSI ready to use, and after that, just doing build in VS also works.
It feels we aren't there yet and I'm unsure if it is the explicit aim, all the bootstrapping / product / platform support (which are big deal and not as simple as the ideal experience I'm describing above) could live in more complex invocations of build script.

Run the command once to get the registry strong name exemptions registered.
run it each time you rebuild to get the ngen compilation done, if you want it ngened.
The problem with aseasy as possible is that ever since we've started the latest and greatest build tools and even build sceanrios have been changing and they still are so we've optimized for building the repo and not worried about much else.
I am looking at the build again to use the new cross platform build tools and even figuring out a way to do what we currently do is a pain in the arse.  So ... I appreciate that it is currently unpleasant ... I want to see if we can create a basis on which to build a usable build system.  That satisfies the scenarios we need moving forward.  Once we have that basis we should be in a position to improve it's functionality.  However, that may be pure optimism on my part.
Kevin

Thanks @KevinRansom !
I know it is not good time to get in the way, so I hope all my questions and poking around aren't disturbing too much.
When it is time to consider new system, I hope we will move the main driver to F# scripts and we can have more knowledge dissemination about the whole structure.
Please update us about what's cooking in a discussion issue when possible.


IPV6 / Named Pipe connection no longer working

Issue Type: Bug
MacOS Big Sur
Was able to connect to SQL dev with named pipe using IPv6 address
This week after update . No longer able to connect to any of our customers SQL servers
Tested.. With Window MSSMS on Windows with same credentials and able to connect.

so.. Not server issue.
Applciation issue.

How is this a production release version!
Did that before about a year ago . .and now it is back!
No way to revert to previous version to be able to work. How is this a production ready application!
Not Happy!
Azure Data Studio version: azuredatastudio 1.26.0 (995095f696fd9800e7e621d34daa895d57989ccd, 2021-02-19T03:24:52.069Z)
OS version: Darwin x64 20.3.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz (8 x 2800)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
6, 3, 3

Memory (System)
16.00GB (0.06GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (13)

Extension
Author (truncated)
Version

mssql-db-insights
mat
0.2.2

admin-pack
Mic
0.0.2

admin-tool-ext-win
Mic
0.0.2

agent
Mic
0.48.0

datavirtualization
Mic
1.10.0

import
Mic
1.2.0

profiler
Mic
0.11.0

query-history
Mic
0.1.0

server-report
Mic
0.2.3

whoisactive
Mic
0.1.4

simple-data-scripter
sea
0.1.0

vscodeintellicode
Vis
1.2.1

poor-sql-formatter
WSR
0.1.0

(1 theme extensions excluded)

@jaquesleroux we are tracking a connectivity regression impacting macos with issue https://github.com/microsoft/azuredatastudio/issues/14382.  We have a hotfix planned for today which reverts the SqlClient driver update.
Here's a direct link to that build https://sqlopsbuilds.azureedge.net/stable/796abbdf5fdd341e3528e30a6b777c93e115eb02/azuredatastudio-macos-1.26.1.zip.  If you have time please let us know if this update fixes the issue you're hitting or if this is a separate issue.

@kburtram Many thanks  😊
I downloaded it now and able to connect.
Many thanks for getting this resolved so quickly .
Apologies for harshness earlier.. Was a frustrating day all in all 😇
FYI: Version details where it is working
Version: 1.26.1
Commit: 796abbdf5fdd341e3528e30a6b777c93e115eb02
Date: 2021-02-24T23:37:01.966Z
VS Code: 1.48.0
Electron: 9.4.3
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 20.3.0


async custom resolvers

Hi,
is there a way to have async/promise-based custom resolvers? This would be a useful feature for us, since have to  request the target IP from a consul service.

Thats is not possible, but I wonder if you wont loose a lot of performance. Can't you instead register routes based on consul as the etcd backend is doing?

We planned to cache the IPs as long as the requests are valid. However, it is probably more convenient to do it like it's done for etcd.


Create Change Log when releasing a new version

We need a change log of the changes whenever we release

The changelog ci template repository has a WIP PR. Once that one is merged, we can use it to generate proper changelogs.

Should we set a naming convention for PRs, issues and perhaps commit messages?
The changelog is automatically generated, so I imagine it would be wise to be as consistent as possible with names.

Use release-changelog-builder-action

@sujuka99 What is the current status of this issue?
It would be nice to test the new changelog action here.
https://github.com/bakdata/ci-templates/tree/main/actions/changelog-generate

There is this branch which seems to only be behind as I worked on it for a bit before finding the problems with the old action. I could work on it after I finish the substitution PR. Will coordinate with @irux as he assigned himself already.

changelog generation now live and working


Get ID of task from within the task and query the status of a long running task

In the process of evaluating the possibility of concerting a celery-based app to django-q, I noticed that celery has
@celery_app.task(bind=True)
def my_task(self):
    self.request.id.  # task id, which could be the one I assigned so know what task this is
    self.update_state(state='PROGRESS', 'Processing the third step')

The later allows me to view the status of the task with
res = AsyncResult(task_id)
res.state
res.info

while the task is running.
Are there django-q equivalence of these features?

Here are some examples from the docs:

from django_q.tasks import async_task, result

# create the task
async_task('math.copysign', 2, -2)

# or with import and storing the id
import math.copysign

task_id = async_task(copysign, 2, -2)

# get the result
task_result = result(task_id)

# result returns None if the task has not been executed yet
# you can wait for it
task_result = result(task_id, 200)

# but in most cases you will want to use a hook:

async_task('math.modf', 2.5, hook='hooks.print_result')

# hooks.py
def print_result(task):
    print(task.result)

There is not a state as such.  You get either None or a Task returned, which will be of subclass Success or Failure.

Thanks for the quick response. i did read the documentation. So in summary,

For problem 1, the task function cannot know the id of the task. I have a tendency of assigning task_id as the uuid of the object it works and retrieve it when the task starts. I suppose I can pass the uuid as an argument to the task, no big deal here.

For problem 2, the task function cannot access the task instance (and set status etc). Communication is therefore one-way from django-q to task. I guess I will need to find some other way to expose the status of running tasks.

Another slight inconvenience is that in celery tasks have their names independent of their locations, which makes moving tasks between modules a bit easier. In django-q tasks are referred to by module.function so I will need to change task names when tasks are moved. Am I correct here?

I think nr. 2 comes mostly from you being used to Celery.  Most brokers just have a task in queue, hand it off to a worker and then either it times out or they get an out of process/async ack/nack. The AMPQ protocol is unique in that it keeps a connection with the consumer/worker at all times during the time it's working on a task. This probably stems from the time the AMPQ protocol was used for banking transactions over dial-up connections. So that when the connection drops - the task failed.
This is great if you want real-time feedback from the running tasks, but it doesn't scale well.
The workaround for me has been to split of complex tasks in several smaller chunks and then use the chain class. It has current and length  methods that enable you to track the progress of steps in your multi-step task.

ok, I understand that I cannot get status of tasks during their execution. I have another question, how do I get the exception raised by the task (and caused the task to fail)? Namely, how do I complete the following status query code?
task = Task.get_task(task_id)
if task.success:
   # great, ok, but am I guaranteed that  result is available?
   return task.result
elif task.stopped:
   # task stopped but not succeed, but perhaps stopped but success has not yet been set?
   return ???  # where is the exception raised from the task?
else:
    # pending

I'm dealing with the same issue here. I was wondering how a running task might know its own ID.

1. For problem 1, the task function cannot know the id of the task. I have a tendency of assigning `task_id` as the uuid of the object it works and retrieve it when the task starts. I suppose I can pass the `uuid` as an argument to the task, no big deal here.

I don't quite understand how you are doing it. I thought about passing an extra argument to the task but it seems like the task ID only exists after it has been created. Can you give me any pointers?

I am too stuck with this problem. My concern is how do I get the status of the task. Task can be Either of mentioned stages (Failed,Success....etc). I only have the task_id .

I don't quite understand how you are doing it. I thought about passing an extra argument to the task but it seems like the task ID only exists after it has been created. Can you give me any pointers?

Sorry for the confusion. For celery I used to assign task_id as the pk and object type of the object that the task will be working on. After the task is started, the task grabs the ID of the task and retrieve the object with it. The advantage is that I can know immediately what the task is about and if needed, drilled into the database with the pk. With django-q I simply pass these information as parameters.

I am too stuck with this problem. My concern is how do I get the status of the task. Task can be Either of mentioned stages (Failed,Success....etc). I only have the task_id .

The code I copied above would more or less work but I am not quite sure if it is reliable and is the recommended way for telling the status of the task, having something like task.status would be more straightforward.

I am too stuck with this problem. My concern is how do I get the status of the task. Task can be Either of mentioned stages (Failed,Success....etc). I only have the task_id .

The code I copied above would more or less work but I am not quite sure if it is reliable and is the recommended way for telling the status of the task, having something like task.status would be more straightforward.

There is't anything like task.status


Implement SDL Window creation

Creation of an independet SDL window is required to playback a stream.

X is now implemented and playback works within it


Why Blake-256 String is different from other tools?

I am using Blake-256 a String Function in https://www.shawntabrizi.com/substrate-rpc-examples/utils/.
For a string like 0x01000000, it will generate 0xe12c22d4f162d9a012c9319233da5d3e923cc5e1029b8f90e47249c9ab256b35 .
But using other BLAKE2b-256 implement ( https://toolkitbay.com/tool/BLAKE2b_256 ) it will generate  91e1f12bcd6937f6c389a2248141063c02bf9c6083fee9c9776492304afc9a28, Same as other implement.
So what happened when generate a Blake-256 String in the web?

Is it because the difference of Blake and Blake2?
I didn't find a tool to generate a Blake hash, most of which only offer Blake2 hash algorithm.

Is it because the difference of Blake and Blake2?
I didn't find a tool to generate a Blake hash, most of which only offer Blake2 hash algorithm.

I am wrong!  I am trying to read the js code. It would better if you could offer a  brief clarify.

I figure out this problem.

What was the issue?


Introducing page based in percent layout

This this PR is added a new kind of page, called WelcomePagePercentLayout based in PercentRelativeLayout. The new WelcomePagePercentLayout and WelcomePageLayout implements the interface WelcomePageView.
In addition a rotation issue, was solved saving the status of the view.

By the way, travis fail is because, the gradle tools.build was updated to 2.1.0


Inspector - open parent component

Describe the problem
If I have a button and i open it with inspector, it opens the button component, but usually I dont care about the button component, but about component where the button is used.
Describe the proposed solution
If i click on component with inspector, i could get list of parents for this component and i could click on one of them to open them instead. It would open parent component on line, where selected component is used.
Inspector could have current behavior on left click and this more advanced one could be on right click.
Alternatives considered

Importance
would make my life easier

you can use the up arrow key to select the parent component

@ToP29  does arrow selection help with your usecase?

Yes, it is ok. Thank you


Jump table size exception

Hi,
I am trying to disassemble thttpd 2.26 built using clang 3.8 on Ubuntu 14.04.  Using get_cfg.py using -march=x86.  I get an Exception: Jump Table Not Size 4.
Starting insn at: 406ead
		inst: movsx   ecx, byte ptr [r8+rdx]
		Bytes: [65, 15, 190, 12, 16]
		inst: mov     eax, 2
		Bytes: [184, 2, 0, 0, 0]
		inst: jmp     ds:off_40F510[rsi*8]; switch jump
		Bytes: [255, 36, 245, 16, 245, 64, 0]
Jump table size not 4!

I tried to ignore this exception which leads to out of order symbols when calling cfg_to_bc, which is obviously not a viable workaround.

I can reproduce your problem.
Working on a fix, hoping it'll be quick since I think most of the internals should support 64-bit jump tables, just that the cfg recovery and some checks aren't updated to handle them.
I'm also using a build of thttpd -- but its probably too complex to re-emit and still function. If you have a smaller example that has the same behavior, I can add it to the mcsema tests.

Fixed the initial issue, but can't confirm how well until we can get a smaller example. Its possible to get output bitcode now, though.
So the bitcode you get for thttpd wont be re-build into a working thttpd. To get runnable bitcode mcsema will need to get better ELF support, like processing .init and add support for callbacks of translated functions, as thttpd looks like it uses threading.
to get some bitcode:
source env.sh

# foo.txt will contain the cfg recovery log
IDALOG=`pwd`/foo.txt ${BIN_DESCEND_PATH}/bin_descend_wrapper.py -d -march=x86-64 -func-map=<path to mcsema>/mc-sema/std_defs/std_defs.txt -entry-symbol=main -i=thttpd > foo.txt

#currently you need -ignore-unsupported since there's a few missing instructions, but you'll get some output bitcode
${CFG_TO_BC_PATH}/cfg_to_bc -mtriple=x86_64-pc-linux-gnu --ignore-unsupported -i thttpd.cfg -driver=mcsema_main,main,raw,return,C -o thttpd.bc

The unsupported instructions are mostly 64-bit versions of things like XOR, CMP, etc. All thats really needed is just to add them to the translation mapping. I already did a few for SUB/SBB and CMOV, which came up a lot. The new instructions also need unit tests.


unauthorized error in ios while registering for push with azure

getting unauthorized message when trying to do:
cleint.push.register("apns",...)
here is my code:
var push = PushNotification.init({
android:{
senderID:"927016678125"
},
ios:{
alert:"true",
badge:"true",
sound:"true"
},
windows:{}
});
push.on('registration',function(data){
var appUrl="https://XXXXXXXXXXXXXX/XXXXXX";
// var appUrl="http://xcdxcxc";
var handle = data.registrationId;
var appKey =
var shareaccKey="wFS90sdfsdfgsdgsdfhfn9+ix7Rwl2SBmdZ2s14VY=";
alert("registered");
console.log("registered:"+data.registrationId);
alert("registered:"+data.registrationId);
//register with plugin
var client =new WindowsAzure.MobileServiceClient(appUrl,shareaccKey);
                  alert(client.push);

                  //alert(client.push.register);
                  client.push.register("apns",data.registrationId).then(function(data1){
                                                                        alert("success azure reg"+data1);

                                                                        },function(err){
                                                                        alert("error in azure reg"+err+err.message);
                                                                        });

in client.push.register it is going to error block and saying Unauthorized.
i am using a sandbox certificate as i am in development and followed: https://azure.microsoft.com/en-in/documentation/articles/app-service-mobile-cordova-get-started-push/ for developing the push piece.
any idea where i am doing wrong?

What version of the Cordova plugin are you using?
Why are you using the API Key?  That's a Mobile Services thing and not a Mobile Apps thing.
What does your URL look like?  (it's ok to xxx out the sitename, but I need to understand the format)

Thanks,

Cordova -v : 6.2.0
In this line:
var client =new WindowsAzure.MobileServiceClient(appUrl,shareaccKey);
i havent used, i was trying different things, i have used the api key also.
url format: https://xxxxx.servicebus.windows.net/xxxxx

So, you have a bunch of issues here.  Firstly, you don't need the shared access key.
The more serious error, though, is that you are confused about the URL.  You need to generate an Azure Mobile Apps backend to use push registration - the URL is of the format https://xxx.azurewebsites.net - ServiceBus URLs are a variety of things, most notably the notification hub endpoint.  This is not a registration endpoint.
I suggest you start from the basic tutorial and work your way up to Push Notifications - this will generate the proper backend for you.  For the beginning of the tutorial, check https://azure.microsoft.com/en-us/documentation/articles/app-service-mobile-cordova-get-started/

Sure @adrianhall , i have done with backend also, but will try once and update you.

@adrianhall i have gone through the above link. i guess that is not what i am looking for. i just wanted to use it for push notifications alone. do i need to provision a database and a cordova app and then use that? i do have an app which is already built. i wanted to add push notifications to it. is there any other better way to do it? could you please suggest?

getting the below error when used the below code:
var appUrl = "http://xxxxxxxxx.azurewebsites.net";
var client = new WindowsAzure.MobileServiceClient(appUrl);
alert("push:"+PushNotification+"client:"+client);
var push = PushNotification.init({
android: {
senderID: "927016678125"
},
ios: {
alert: "true",
badge: true,
sound: 'false'
},
windows: {}
});
push.on('registration', function(data) {
alert("registered:"+data.registrationId);
var handle = data.registrationId;
console.log(data.registrationId);
client.push.register('gcm', handle,function(data){
alert("data ret client reg:"+data); //got the error in screenshot here.
}); //, { mytemplate: { body: { data: { message: "{$(messageParam)}" } } }}
}
);
push.on('error', function(e) {
alert("push errr"+e.message);
console.log(e.message);
});
push.on('notification', function (data, d2) {
  alert('Push Received: ' + data.message);
});

Could please let me know where i am doing it wrong?

Firstly, you need SOMETHING on the backend to register clients and deal with the housekeeping.  Azure Mobile Apps is a consolidated backend for which that is one function.   However, it's certainly not the only way to do it.  If you are ONLY doing push registrations, then don't create a table and don't do authentication.  Just do the push registration.  However, you still need to have properly created a mobile apps backend and linked it to a notification hub.
The error indicates that this has not been done properly.  Further than that, it indicates that you have not linked the Notification Hub to the Mobile App backend.  In short, you have not followed the tutorial.
Once you have followed the tutorial and you understand the process, you can certainly modify another app to use the same techniques.  Isolating the technique (in this case, push registration and lifecycle) in a smaller app is a good way to learn about the technology.

@adrianhall update: now i am able to send push notifications to both iOS & android. the mistake is or the step i have skipped thinking xcode will do that is: creating of the provisioning profile. xcode takes care of provisioning profiles in normal cases i.e. for running app in a mobile. i thought it will create the profile as required/as per appID. after week'e time trying out all the things i did step by step and this time i created a provisioning profile and it worked fine :+1: .
the above all errors are because of various things i was trying as part of debugging.
for future searchers: here is the best link for this: https://azure.microsoft.com/en-in/documentation/articles/app-service-mobile-cordova-get-started-push/
and sample code to register:
var GCM_SENDER_ID = 'xxxxxxxxxxxxxxxx'; // Replace with your own ID.
var mobileServiceClient;
var pushNotification;
        mobileServiceClient = new WindowsAzure.MobileServiceClient(
            "https://xxxxxxxxxxxxxxxxx.azurewebsites.net/");

        pushNotification = PushNotification.init({
            "android": { senderID: GCM_SENDER_ID, forceShow: "false" },
            "ios": { alert: "true", badge: "true", sound: "true" }
        });

        pushNotification.on('registration', function(data) {

            var handle = data.registrationId;

            // Set the device-specific message template.
            if (isAndroid()) {
                // Template registration.
                var template = '{ "data" : {"message":"$(message)"}}';

                // Register for notifications.
                mobileServiceClient.push.gcm.registerTemplate(handle,
                    'myTemplate', template, [vm.username])
                    .done(registrationSuccess, registrationFailure);
            } else if (isIOS()) {
                // Template registration.
                var template = '{"aps": {"alert": "$(message)","badge":"#(badge)" }}';

                // Register for notifications.
                mobileServiceClient.push.apns.registerTemplate(handle,
                    'myTemplate', template, [vm.username])
                    .done(registrationSuccess, registrationFailure);
            }

            function isIOS() {
                return (ionic.Platform.device().platform.match(/ios/i))
            }

            function isAndroid() {
                return (ionic.Platform.device().platform.match(/android/i))
            }

Note:

you need to create a azure mobile app in azure portal. (for register in our case)
2.you need to install 2 cordova plugins cordova-plugin-push and cordova-plugin-ms-azure-mobile-apps.
rest is clearly there in the above link.

for testing you can use test send in notification hub (not the mobile app) and for prod you can create a service and call that. @adrianhall are there any default services provided by azure for sending push notifications? like if i send my app id and message it will send messages? Thanks for your help.

Thanks for confirming @praveens96.  We are working on something that will provide a default registration experience within Azure App Service.  You will still need an App Service, but you won't need any code.  I'm going to blog on the app service team blog once we have it available.

Hi, can you tell me where I can find "https://xxxxxxxxxxxxxxxxx.azurewebsites.net/" value? Is it found in the Azure portal somewhere?

@kinoli you need to create one azure AppService it URL is the above one. its not part of notificationhub

Hi @kinoli.  Follow the tutorials on the Azure Portal and you will create one as part of the tutorial.

The tutorials are on http://azure.com - click on Documentation -> Web & Mobile -> Mobile Apps -> Getting Started.


Getting instrument by channel

Hi,
I'd like to know if it's possible to find the instrument index from each channel in a MIDI file (for instance, if channel 1 is played by a violin):
var file = MidiFile.Read(midiPath+".mid");
var filesByChannel = file.SplitByChannel();

foreach (var singleChannelFile in filesByChannel)
{
    //if(instrumentIndexFromFile == violinIndex)
        ProcessFile(singleChannelFile);
}

The only related thing I could find in the API is InstrumentNameEvent, but it is only for creating the meta event that holds that information.
Thank you for your time!

Hi,
Please clarify what is "instrument index"? There is no such concept in MIDI. Do you mean program number? If yes, try this:
var programsByChannels = midiFile
    .GetTrackChunks()
    .SelectMany(c => c.Events)
    .OfType<ProgramChangeEvent>()
    .ToDictionary(e => e.Channel, e => e.ProgramNumber);

You'll get a dictionary where key is a channel and value is a program's number.
Thanks,
Max

Yes, that's what I meant. I tried your solution and it works.
Thank you for the quick response :D


Expand ~ when inputting a directory

Make it possible to use something like ~/validator_keys when entering the validator keys directory for instance.

Completed with 3fac8814bbbf1d4e2e2bec084406fd87d236efd0


Add test that validates the include/dev files from both internal repo and external projects.

Describe the feature you'd like supported
As of #2186, include files from external projects are cherry-picked for ensuring license compliance.
On the other side, in order to actually ensure new legit files are added, a script should enumerate all files of interest within the external projects, and ensure that they match what is being delivered, with eventual exception handling (for a list of intentionally excluded files).
Same thing should be checked in the MSI, with the addition of the internal \include\ directory, since by design the MSI handles each file as a fully independent component.
Proposed solution
On the CI/CD pipeline, add a script step that parses the nuget and the MSI packages and checks for any mismatch for the following paths, including exception handling for a list of intentionally excluded files (full path):

\include\**\*.*
\external\bpftool\libbpf\src\**\*.h

This will be addressed by #3046 .


IdbVersionChangeEvent should expose the current IdbTransaction

This event is fired during a transaction with mode versionchange, which should be available in event.target.transaction.
Although accessing the IdbDatabase allows us to create/delete object stores and set their indexes, it doesn't allow to access current stores. We need to access them via the IdbTransaction.
It would allow to change the indexes of the existing object stores, and to fix data in the stores or even migrate data from one store to the other.

I created a PR that exposes this API:
https://github.com/Alorel/rust-indexed-db/pull/26

And it's released :slightly_smiling_face:

Amazing turn around time! Thank you


New artifact sets not updated yet

when it scans the 2 new artifact sets it will show this

been added in new release


Cannot Registering ModuleServiceProvider in config/concord.php

Bug report
Title
**Cannot Register ModuleServiceProvider in config/concord.php **
Issue Description
ModuleServiceProvider in config/concord.php was removed after run php artisan vendor:publish --force
Preconditions
Please provide as detailed information about your environment as possible.
1. framework Version: 1.1.1

Steps to reproduce
1. Add ModuleServiceProvider in config/concord.php
2. Run php artisan vendor:publish --force
3. ModuleServiceProvider in config/concord.php was removed

Expected result
** ModuleServiceProvider  is not removed in the in config/concord.php**

@khanhgg
As 2nd step. --force publish will remove the provider from concord.php
so try with the php artisan vendor:publish and press index 0


Add secure-checkout action

Updates #968
Updates #795
Adds a secure-checkout action to replace the existing verify-checkout action.
verify-checkout checked if the checked out commit matched GITHUB_SHA which doesn't work if checking out the builder repo like the generate-builder action does which causes failures.
secure-checkout instead wraps the actions/checkout and forces the user to specify a git sha1 digest to check out and verifies that the checked out commit is the expected commit.

LGTM!
Assuming you'll move over checkouts in checkout-* in another PR and update the presubmit

Yep. I need to get the action checked in before I can reference it so I'll send a follow up PR. Thanks for the review!


Rename build.yml to build.yml

Photo editor

git clone this repository
git clone https://github.com/sczhou/CodeFormer
cd CodeFormer
create new anaconda env
conda create -n codeformer python=3.8 -y
conda activate codeformer
install python dependencies
pip3 install -r requirements.txt
python basicsr/setup.py develop
conda install -c conda-forge dlib (only for face detection or cropping with dlib)


Capability to extract metadata into a struct

Markdown metadata is usually written as:
---
title: How to cook pancakes
author: A Good Chef
keywords: breakfast, pancakes, cook, chef
---

On the top of the file, it would be great to be able to gather this into a user defined struct such as:
struct Metadata {
    title: String,
    author: String,
    keywords: Vec<String>,
}

I completely understand the need for this functionality, as it is commonly used in many markdown files, but I do believe that parsing these metadata blocks are not in the scope of this project as they are not markdown themselves.
It shouldn't be hard to write a complete file parser by having some other small piece of code parse the metadata block, and then calling into pulldown to handle the actual markdown that follows.
Sorry to disappoint, but I hope that this at least makes sense :-)

Thanks for the quick response @marcusklaas!


Embedded nuget work and sample

For embedded support, our C#/WinRT NuPkg will now contain the sources of WinRT.Runtime, and a .targets file that includes these sources in any consuming project that has CsWinRTEmbedded set to true.
For testing, I've added a solution containing some native WinRT components, an embedded library, and managed apps.
The app depends on the library, and the library depends on the components. This both shows how to use the new embedded support. And also tests passing WinRT objects back and forth across the API.
A unit test project that does the same things as the apps is included, along with a modified build.cmd to automate running the unit tests. (Note this requires building the embedded sample.)

/azp run

/azp run


feat: add reconfiguration rules to change the deployment at runtime

This PR introduces the ability to define rules that can change the deployment of a device.
The concept of Capability is introduced to define where a component should run and the concept of Host represents the execution host on which the component runs. Each host has many capabilities.

Codecov Report

Merging #176 (65cb611) into master (195a19b) will decrease coverage by 10.72%.
The diff coverage is 55.69%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff             @@
##           master     #176       +/-   ##
===========================================
- Coverage   68.01%   57.29%   -10.72%
===========================================
  Files          22       43       +21
  Lines         347      733      +386
  Branches       65      165      +100
===========================================
+ Hits          236      420      +184
- Misses         85      211      +126
- Partials       26      102       +76

Impacted Files
Coverage Δ

...olasfarabegoli/pulverization/core/Communication.kt
0.00% <0.00%> (-50.00%)
:arrow_down:

...n/it/nicolasfarabegoli/pulverization/core/State.kt
0.00% <0.00%> (-50.00%)
:arrow_down:

...goli/pulverization/runtime/PulverizationRuntime.kt
0.00% <0.00%> (ø)

...pulverization/runtime/communication/RemotePlace.kt
100.00% <ø> (+100.00%)
:arrow_up:

...ulverization/runtime/componentsref/ActuatorsRef.kt
25.00% <0.00%> (+2.77%)
:arrow_up:

...tion/runtime/componentsref/ComponentsRefManager.kt
0.00% <0.00%> (-42.86%)
:arrow_down:

...ization/runtime/dsl/model/HostCapabilityMapping.kt
0.00% <0.00%> (ø)

...sfarabegoli/pulverization/runtime/utils/Aliases.kt
0.00% <0.00%> (ø)

...rization/runtime/componentsref/CommunicationRef.kt
25.00% <25.00%> (-25.00%)
:arrow_down:

...begoli/pulverization/runtime/utils/RuntimeUtils.kt
35.71% <35.71%> (ø)

... and 30 more

... and 1 file with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Response Content Type in Swagger

Using a non-standard option in the response content type (e.g. + rdf+xml) does not affect the curl action shown below or the request headers.

Can you give an example? Apparently a problem like that just crashed the server, would like to reproduce.

The bug happens for text/n3, must investigate in infolis/mongoose-jsonld

See #20 the example

There was some confusion of media types across the rdf processing libraries. Should be fixed now.

Yes, now it works to choose a non-standard option in the response content type withouth a crash and the response body will change accordingly.
The response headers and the options in the curl call are not yet fixed (see initial comment). Thus, I will leave that issue open but with low priority.

It's a bug in Swagger. Updated the library to the latet version and it's the same error. It doesn't work for the bundled HTML app either (try: http://infolis.gesis.org/infolink/vendor/swagger-ui/dist/index.html). Not much we can do short of digging into the Swagger JS (the Accept header is also wrong).
The important thing is that the requests are sent to the server correctly.

It doesn't work on the official demo site either: http://petstore.swagger.io/ with http://infolis.gesis.org/infolink/swagger.json

It is confirmed that this is a swagger-ui bug and it was given the tag P2. I guess that means priority.

Seems fixed upstream by https://github.com/swagger-api/swagger-ui/commit/8276fbf07373d8ec01eaf09941f7f6342ef2517a

Yes, https://github.com/swagger-api/swagger-ui/issues/1767#event-469500980 is fixed and so is this.

Yes, I see that the curl command is now fine. Shouldn't the request header change as well? Cf.

Yes they should :unamused:

Is that standard field in swagger-ui? I think I haven't seen this in the demo example from swagger-ui itself...

Yes, it's a standard field, but it's disabled in the petstore demo. I disabled it here as well.


Add provider deployments endpoint to api

Added an endpoint for getting a provider's deployments:
/providers/<provider>/deployments/<skip>/<take>

also added two variation for getting only opened/closed (based on lease status)
/providers/<provider>/deployments/<skip>/<take>/active
/providers/<provider>/deployments/<skip>/<take>/closed

Example response:

#53


Semantic Release - TypeError: Cannot read properties of null (reading 'length')

Hi Jerome,
I'm trying to make the release and I have this problem, Could you tell me what i'm doing wrong ?
BTW thanks for your great work
/home/runner/work/packages/packages/node_modules/.pnpm/grapheme-splitter@1.0.4/node_modules/grapheme-splitter/index.js:188
		if(index >= string.length - 1){
		                   ^

TypeError: Cannot read properties of null (reading 'length')
    at GraphemeSplitter.nextBreak (/home/runner/work/packages/packages/node_modules/.pnpm/grapheme-splitter@1.0.4/node_modules/grapheme-splitter/index.js:188:22)
    at GraphemeSplitter.splitGraphemes (/home/runner/work/packages/packages/node_modules/.pnpm/grapheme-splitter@1.0.4/node_modules/grapheme-splitter/index.js:214:21)
    at U (/home/runner/work/packages/packages/packages/conventional-gitmoji/dist/index.cjs:1:11034)
    at transform (/home/runner/work/packages/packages/packages/conventional-gitmoji/dist/index.cjs:1:11492)
    at N (/home/runner/work/packages/packages/packages/release-notes-generator/dist/index.cjs:22:274)
    at /home/runner/work/packages/packages/packages/release-notes-generator/dist/index.cjs:22:1716
    at Array.map (<anonymous>)
    at zt (/home/runner/work/packages/packages/packages/release-notes-generator/dist/index.cjs:22:1690)
    at async validator (/home/runner/work/packages/packages/node_modules/.pnpm/semantic-release@19.0.3/node_modules/semantic-release/lib/plugins/normalize.js:34:24)
    at async /home/runner/work/packages/packages/node_modules/.pnpm/semantic-release@19.0.3/node_modules/semantic-release/lib/plugins/pipeline.js:37:34
undefined
/home/runner/work/packages/packages/packages/design-system:
 ERR_PNPM_RECURSIVE_EXEC_FIRST_FAIL  Command failed with exit code 1: npx --no-install semantic-release -e semantic-release-monorepo

👋🏻  Hi @ygorluiz , thanks for the kind words.
Not 100% sure but within this repo, that package is used via:

./packages/conventional-gitmoji/src/changelog/utils/transformer.ts

For the string being passed to it, the error looks like it is technically not considered a string. So most likely null or -1 🤔  (Seeing 📝  notes like @note rewrite types would help with this, if that rewrite happened, I digress, haha.)
It may mean the type is not being found in the commit info passed to the transformer for semantic-release. I know this is a massive hack to try and get emojis to work for semver. 😜
One other thought is maybe the commits are not using gitmoji?
This is definitely counter-intuitive, however, if this is your first release you may need to choose a type that has a semver attached to it. In the case of 🔖  release I don't believe it does -- whereas 🎉  init does.

The "reason" release does not have a semver (at least in its current context) is that it was initially to be used as a cosmetic commit. And would not want it to bump a version for the sake of it.

I wonder if squash/re-setting the commit in that manner may do the trick. It's hacky for sure, or maybe gets to the next 🔍  thing to look at.
Let me know your thoughts, and if any other ideas come to mind if you've been keeping at it.

@JeromeFitz thanks I'll take a look and do some tests, just one more question how do I do the init release of all packages
you rock !!

In theory, once you get passed the error you are experiencing semantic-release should be able to discern that it's being run for the first time and that there are no previous tags.
Then in this particular process it will check if it should create a release, and if so:

Create Tag + Update Repo
Create Publishable Package + Publish to NPM
Send Release Notes to GitHub Releases

You'll need tokens for NPM set up (if that is where you are publishing), as well as GitHub for the CI/CD stuff if you are using GitHub Actions.
--
The thing you may be experiencing, and this is all kind of trial and error at the beginning until things get into the perpetual motion machine is that the via semantic-release-monorepo for each Package it will need its own commit that would generate a release.
So for that, you can kind of test that out by choosing a package (or individually for all of them 😅 ) and ensuring it has a commit type associated within its particular git structure that would generate a release.
In this case any commit type that has a non-null semver:

https://github.com/JeromeFitz/packages/blob/main/packages/conventional-gitmoji/src/types/releaseRule.ts

Hey @JeromeFitz,
I found a solution changed the repository url to SSH and boom
🎉 Thx, can be closed 🎉

wh00t! congrats on getting it up and running @ygorluiz !!


skuid pull in 0.3.0

skuid is alias for skuid_windows_amd64.exe on Windows and for skuid_darwin_amd64 on Mac
I tried this command on both Windows and Mac and it fails:
skuid pull --host https://.my.salesforce.com -n PageName -v
Error:
"{"error":"You must provide a \"module\" URL Parameter containing the nam
e, or comma-separated names, of the Modules of pages you would like to retrieve
"}"
json: cannot unmarshal string into Go value of type types.PullResponse
This command works:
skuid pull --host https://.my.salesforce.com -m ModuleName

Jill, what Skuid release do you have installed in your org? The ability to pull specific pages by name may not be available in the release of Skuid that is in your org.

Rockaway is the version.

Hi @jinlii, the ability to pull Skuid pages by name requires the Millau Update 2 release (v11.2.0 or above).  You'll need to upgrade the Skuid managed package within the Salesforce org to use the --page or -n command flag.
While upgrading to the latest release is always recommended if feasible, here's a workaround for Rockaway: you can create a module, assign the page(s) to that module, and then utilize the --module command flag to pull the page(s) you need.
Hope this helps!

Hi,
I'm getting this error when running skuid pull with no additional parameters, i.e. attempting to pull all pages in the org.
We're on Millau (11.2.10) and I'm using CLI 0.3.2
The error message after upgrading from 11.0.2 to 11.2.10 changed to:
$ skuid pull -v
"{"error":"You must provide a \"module\" URL Parameter containing the names of the Modules of Pages (comma-separated) AND/OR a \"page\" URL Parameter containing the names of the Pages (comma-separated) you would like to retrieve."}"
json: cannot unmarshal string into Go value of type types.PullResponse
When running for a single page it works without a module, but not without any params; the documentation at https://docs.skuid.com/latest/en/skuid/cli doesn't specify --module as a required parameter, and the included example suggests $ skuid pull should work fine.
Please let me know what's the roadmap for this, cause we're working on a larger CI automation around the CLI.

@jakubmplatek I'm taking a look at this now.

@jakubmplatek This is a bug that was introduced in 11.2.0. We will have this bug fixed in a maintenance  release of 11.2.


Decompile strings with newlines to multi line strings

Is your feature request related to a problem? Please describe.
Consider a microsoft.insights/scheduledqueryrules ARM template that contains an application insights queries.  These queries can get pretty long and are often on multiple lines.  Json doesn't have a good way of expressing multi line strings, so this has to be expressed as a single line string with escaped new line characters.
Describe the solution you'd like
Bicep doesn't have JSON's limitations of being unable to cleanly represent multi line strings.  It would be nice if bicep could detect these strings, and decompile them as multi line strings.
For example, rather than decompiling to
query: 'requests\r\n    | summarize status500 = countif(resultCode == 500), total = count() by operation_Name\r\n    | project operation_Name, total, status500, percent500 = todecimal(status500) / todecimal(total) * 100\r\n    | where total > 10 and status500 > 10 and percent500 > 25'

instead decompile to
query: '''
requests
    | summarize status500 = countif(resultCode == 500), total = count() by operation_Name
    | project operation_Name, total, status500, percent500 = todecimal(status500) / todecimal(total) * 100
    | where total > 10 and status500 > 10 and percent500 > 25
'''

Here's a sample exported resource exported from the portal.  (A few tings trimmed out to keep the sample small)
{
    "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
    "contentVersion": "<IP_ADDRESS>",
    "parameters": {},
    "variables": {},
    "resources": [
        {
            "type": "microsoft.insights/scheduledqueryrules",
            "apiVersion": "2020-05-01-preview",
            "name": "Foo",
            "location": "northeurope",
            "properties": {
                "criteria": {
                    "allOf": [
                        {
                            "query": "requests\r\n    | summarize status500 = countif(resultCode == 500), total = count() by operation_Name\r\n    | project operation_Name, total, status500, percent500 = todecimal(status500) / todecimal(total) * 100\r\n    | where total > 10 and status500 > 10 and percent500 > 25",
                            "timeAggregation": "Count",
                            "operator": "GreaterThan",
                            "threshold": 0,
                            "failingPeriods": {
                                "numberOfEvaluationPeriods": 1,
                                "minFailingPeriodsToAlert": 1
                            }
                        }
                    ]
                }
            }
        }
    ]
}

That's a great suggestion!


Does this plugin automatically clear out views beyond a certain date

The restore_view.vim plugin doesn't automatically clear views as a result the view folder grows in size. At some point or other its starts causing problems. For example.. I started having problems with buffexplorer because I had a large view folder.
It seems there is no development on the restore_view plugin. Last commit was in 2014/5: https://github.com/vim-scripts/restore_view.vim, https://github.com/senderle/restoreview depending in which one you look at.
So, either I have to write a function in VIM which automatically takes care of this or start a cron job.
It seems this plugin is similar to restore_view but attempts to improve on it. Does this plugin automatically removes view files beyond a certain time.. to cause less issues: https://github.com/jlanzarotta/bufexplorer/issues/72, https://github.com/amix/vimrc/issues/426.
I also use the vim-obsession plugin for session management. Does this plugin attempt to do both sessions and view management simultaneously? Are there any clashes between this plugin and vim-obsession?

Hey! As far as I'm aware (I'm the new maintainer for this repo and not 100% familiar with the code yet), there is no automatic cleanup functionality. There is, however, a function to manually clean the viewdir. You can likely set up an autocmd to do this automatically (though I'm not sure if vim can do aus by time. If you decide to write anything up, please feel free to submit a PR to include that functionality for this plugin.

Does this plugin attempt to do both sessions and view management simultaneously? Are there any clashes between this plugin and vim-obsession?

I don't believe vim-stay uses sessions in the way that vim-obsession does. However, I wouldn't definitively say there are no clashes without some testing. You can find the internal functions for vim-stay that handle view session saving and loading in view.vim.

Zach is correct on both counts (hi, former maintainer here): there is a command for nuking your viewdir, but nothing fine grained or automatic, for the simple reason I never found a reliable cross platform way (sh command scripts do not work on Windows, mostly). You might find the script linked to in #38 of interest if you are on a *nix system.
Also, stay uses only what Vim calls “view sessions”, which are not the same thing as full fledged sessions (though I can see how the nomenclature could be confusing; blame Bram 😉); conflicts between full sessions and view sessions can arise in the sense that view sessions are essentially a subset of full sessions and there is no way to tell which of the two should “win” when their settings differ. Because of this, the upcoming 1.4 release of stay always defers to full session loading on the assumption that a stored full session is a state the user wishes to have.

I'm gonna close this for now. If you have any further questions, feel free to comment and/or reopen.

@zhimsel , @kopischke .. appreciate it.. Sorry for the late reply. That pretty much solves it. I pretty much only use my heavy VIM config on my Ubuntu Workstation.. and no config for any other servers. So this works great..