Title: Any project does not have a back to home button

Is your feature request related to a problem? Please describe.
Any project does not have a back to home button. If there is this feature user can directly go to home page and will explore all others projects.
Describe the solution you'd like.
I will add a home button to each and every project so that user can easily redirect to any project. This will not only save user time but also allow user to explore more projects at a time.
Describe alternatives you've considered.
Home button  should be present at each and every page so that user can easily redirect to any project of their choice.
Add any other context or screenshots about the feature request here.
No response

@vanisharma2003 All projects open in new tab so there is no need of back button


Do not expand on CartFinder

Leave it for the hooks

ShippingInfo and PaymentInfo.

Currently CartFinder default implementation is expanding the shipping and payment info because it is required to be expanded in certain situations. We should find which situations are those and decide if it should be expanded only for those cases (i.e. using a Controller Component and registering it in the corresponding controllers).

Notice that OrderCreatedFinderBySession is missing expanding the shipping info, so description is not shown in the thank you page.


web: Add missing CSS.escape calls

Any string interpolated into a CSS selector must be CSS escaped.

Merged, thanks @andersk!


Bootstrap CSS need be overwrite

please add this style in "skins"
.nav>li>a:focus,
.nav>li>a:hover {
background-color: rgba(0, 0, 0, 0);
}

Hello,
Could you please explain why is this necessary?


Basic Load Balancer is not supported with multiple node pools

I think a reference to this link would help the customer to no make mistakes using Basic LB with multiple nodepools.  Or even not supported or recommended Basic LB with new clusters.
https://docs.microsoft.com/en-us/azure/aks/use-multiple-node-pools
The AKS cluster must use the Standard SKU load balancer to use multiple node pools, the feature is not supported with Basic SKU load balancers.

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

ID: 60a7a0a8-97e7-0fda-763c-1a9972f4e9bc
Version Independent ID: 82b46441-43fc-fe48-97e2-0f3fca3d6eab
Content: Use a Standard SKU load balancer - Azure Kubernetes Service
Content Source: articles/aks/load-balancer-standard.md
Service: container-service
GitHub Login: @zr-msft
Microsoft Alias: zarhoads

Thanks for bringing this to our attention. I have created a PR with the update, changes will be live shortly.

With this update, it's not possible to work with spot node pools and basic SKU. This should give a warning, not an error, just in case load balancer is not needed for the cluster


Update CI to add rails 7.2 to test matrix

Description 📖
Update CI to add rails 7.2 to test matrix
Background 📜
Check change log, somehow also checked test matrix, found that rails 7.2 missing
The Fix 🔨
Add it
Screenshots 📷
N/A

Not sure if you want to update nodeJS && ruby versions btw but separate topic

Thanks!


Use LMfit for model fitting

Original report by Joseph Fowler (Bitbucket: joe_fowler, ).

We should replace the code by us that does Levenberg-Marquardt and related searches to perform model fits. Instead, we should wrap LMfit in some way. If we do this, then we can avoid having to worry about details like:

What step sizes to take in searches.
Handling variables with upper and/or lower bounds.
Rescaling variables to be in the unit-variance range (so we’d let the library solve #163 for us)

The library would also allow parameters to be derived from one another by mathematical expressions (say x=1-y, or x=y, or whatever). @{557058:9524f6a0-ef9f-4466-b913-d04e51ff9093} proposed this some years ago.
This would be a big project, but we should do it for MASS 1.0.

Original comment by Galen O'Neil (Bitbucket: oneilg, GitHub: oneilg).

How did you determine you should use scale_covar=False (the only non default parameter you list)? I’ll give it a try next time I run into the no uncertainties problem.

Original comment by Joseph Fowler (Bitbucket: joe_fowler, ).

@{557058:34fe21d7-7863-4cd7-88d7-7f2a5c8eb7c2} is interested in this matter. He just used LMfit for the first time and had a good experience, so I’m adding him to the issue.

Original comment by Dan Becker (Bitbucket: danbek, GitHub: danbek).

Actually, I’ve been using lmfit a lot for my “efficiency curve” fitting, but it was only today that I decided to try using it to to maximum likelihood fits on histograms (I decided to do this because I need to use it’s ability to constrain parameters using expressions, as mentioned by Joe above).
For now I have code that is totally separate from mass, but maybe it makes sense to move it into mass. It’s basically routines to fit lines to spectra, but specialized to some peculiarities of the gamma ray data.
Galen, I can't remember whether I also saw lmfit fail to give uncertainties when there is a parameter that the model is highly insensitive to. I did some strange behavior related to this at one point, but can't remember whether I was using lmfit or using the other python libraries. In general I've found that if I use method='leastsq', calc_covar=True, scale_covar=False, the reported uncertainties are reliable.

Original comment by Galen O'Neil (Bitbucket: oneilg, GitHub: oneilg).

Looking forward I would like to seperate things so that there is a model for say the MnKAlpha line, and another model for the ExponentialTailDetectorResponse and you can use one or the other or call MnKAlphaModel.conv(ExponetialTailDetectorResponse) to convolve the two, so that we don’t back the tail model directly into our fitters and it’s easier to swap in another.

Original comment by Joseph Fowler (Bitbucket: joe_fowler, ).

I think I’m going to:

[x] Add a file LMFIT.md to explain how to use LMfit and how to translate old code to new.
[ ] Leave some comments in that file about how to do convolution between arbitrary Models in LMfit (see just below CompositeModel in the docs).
[x] Add a deprecation warning to the use of our old mass.LineFitter and its subclasses. Probably not to the __init__ method but to the fit method.

And then wrap up this issue for now.

Original comment by Joseph Fowler (Bitbucket: joe_fowler, ).

Just discussed with @{557058:9524f6a0-ef9f-4466-b913-d04e51ff9093} . The desired object is mostly already in MASS (see object MLEModel in mass/calibration/line_models.py). What it still lacks is the ability to convolve data and have exponential tails in the energy response function.

Original comment by Dan Becker (Bitbucket: danbek, GitHub: danbek).

What I always do with lmfit is to pass in residuals which have been divided by the uncertainty in the data: resid = (model - data)/err. I found that with scale_covar=True, the reported parameter uncertainties were simply wrong, and that scale_covar=True makes them correct.
I recall discussing this with Joe … maybe scale_covar=True  is intended for situations where you didn’t scale the residuals by the error? I recall thinking that it was stupid to do any scaling of the covariance matrix by default, but Joe didn’t seem to be as bothered by it as me.

Original comment by Joseph Fowler (Bitbucket: joe_fowler, ).

Fixed by PR #113. You just have to choose to use the Model classes for fitting instead of the Fitters (which are now deprecated but still exist).

Original comment by Galen O'Neil (Bitbucket: oneilg, GitHub: oneilg).

Hope tried using a global optimization method called differential evoluation from lmfit and found that it worked, and it gave uncertainties where the normal fitting method didnt. If I recall @{557058:34fe21d7-7863-4cd7-88d7-7f2a5c8eb7c2} also found another fitting method that gives uncertainties when the normal method doesn’t. So I think if we write a routine that fits with the normal method, then switches to another thats better about uncertainties if there are no uncertainties, we could resolve the issue of unreliable uncertainties.

Original comment by Dan Becker (Bitbucket: danbek, GitHub: danbek).

Yes, I found a case where method='least_squares' reported uncertainties but method='leastsq' would not. The cost was much slower fits.


Update meta tags to be HTML5 compliant by removing self-closing slashes

This pull request removes the unnecessary self-closing slashes (/>) in the meta tags to ensure HTML5 compliance. This resolves issues related to invalid markup. Fixes #32

Can you undo the formatting changes?


[2 BUGS] Villiager Shop and own Shop

Its nor possible to have more than 64 when shop wants 96 its not possible to buy some!
its not possible to have a shop with items because they vanish when they will put in the slot where the money will set!
Version: last: 1.19
minecraft : 1.19
Forge 43.1.43

https://user-images.githubusercontent.com/14795020/201245319-18ab6ec5-49d1-4e8e-bf8e-ece21578d57e.mp4


Python3 fix

Under Python3 I got the error:
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/drumhat.py", line 34, in on_hit
    channel = NUMMAP.index(pad)
ValueError: range(1, 9) is not in list

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "Pimoroni/drumhat/test.py", line 10, in <module>
    drumhat.on_hit(drumhat.PADS, hit_handler)
  File "/usr/local/lib/python3.4/dist-packages/drumhat.py", line 36, in on_hit
    raise TypeError("Invalid drum pad #{}".format(pad))
TypeError: Invalid drum pad #range(1, 9)

This is the 'quick fix' but I believe a 'better fix' would be https://github.com/pimoroni/drum-hat/commit/7c2b13c3815e2f7735a7831a70de7bb09a08eec1#commitcomment-16678177

Good spot. Merged, pushed to pip and tagged. You're right about the better fix, it's more Pythonic to ask for forgiveness instead of permission I think.


Resend for /api/users/forgot-password over REST in Vercel

Resend does not receive email request on Vercel. Locally no issues.
Version:
"@payloadcms/email-resend": "3.0.0-beta.25"

payload.config.ts
import { resendAdapter } from '@payloadcms/email-resend'

export default buildConfig({
    email: resendAdapter({
        defaultFromAddress<EMAIL_ADDRESS>        defaultFromName: 'Payload CMS',
        apiKey: '**********',
    }),
    ....

REST Call
await fetch(`${process.env.NEXT_PUBLIC_BASE_URL}/api/users/forgot-password`, {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    body: JSON.stringify({
      email<EMAIL_ADDRESS>    }),
  });

Users: CollectionConfig
...
  auth: {
    forgotPassword: {
      generateEmailSubject: () => 'Reset your password',
      generateEmailHTML: async ({ req, token, user }: any) => {
        const resetPasswordURL = `${process.env.NEXT_PUBLIC_BASE_URL}/verify?token=${token}`
        return `
          <!doctype html>

Here is my custom email template!

Hello, ${user.email}!

Click below to reset your password.

                ${resetPasswordURL}

        `
      },
    },
  },

@peterjunsworth Could you simplify your reproduction?

@denolfe - ye - I will do but under the gun right now so haven't had the opportunity yet

ok @denolfe - finally got round to it. Just added you to the repo (let me know if didn't receive invite). I forked this repo from: https://github.com/payloadcms/payload-3.0-demo
You will see the resend dependencies in the package.json file.
Locally I receive email, deployed to Vercel 'nothing', just a success message in network. Same even using the admin forgot password functionality: https://payloadtestingemail.vercel.app/admin/forgot
Very simple setup using Mongo Atlas and @payloadcms/email-resend": "^3.0.0-beta.40"
Nothing much else configured apart from what was in the original repo.
Cheers

No error messages in Vercel or browser
No logs at all in resend - double check env vars

awesome - thanks. glad it wasn't just me being daft

@peterjunsworth These email calls should now be awaited. Try it out on beta.46 and let me know 👍
https://github.com/payloadcms/payload/releases/tag/v3.0.0-beta.46


Credit Card icon is adding "card" class to css.

Both the credit card icon and credit card alternative have a small grey border when generated, as if they're being treated as < Card /> components.

Could you complete all the required fields in the issue template, please?  I cannot tell what you are expecting the result to be.  We also need to know which version and have a codepen to investigate.
The only thing I can say right now is that the card class is expected for both the <Card /> and <Icon name='credit card' />.

Closing for housekeeping.


Update to Amazon Linux 2017.09

also add Elasticsearch 5.5 as an option (untested)

FYI @lcc2207

Looks good 👍


So this is a imitation to the PySimpleGUI?

the code is too many part similarity to PySimpleGUI!
but anyway you doing good
casue PySimpleGUI is not for free now

@yancj9ya Thank you for your comment.
This project started as a result of PySimpleGUI becoming a paid tool.
I hope to create GUI applications more freely and easily with Python.
Thank you for your continued support.


redundant calls to VispyImageLayer._on_data_change

🐛 Bug
This is just to start an issue to discuss the redundant calls to VispyImageLayer._on_data_change() as disccused in https://github.com/napari/napari/issues/575#issuecomment-544797848 ... which will likely be a drag on performance
I know this will be much easier for @sofroniewn and others to solve, but I just wanted to use it as an opportunity to understand the napari event sequence a little better, and I'm adding some observations here in case it's useful for anyone else's debugging process.  I was able to track down the 6 paths leading to _on_data_change.  In the image below, you can trace the unique ways to get to _on_data_change from the Dims.events.ndisplay() event... all 6 of them are traversed when ndisplay = 3, only 5 are traversed when changing ndisplay = 2.

and if you log events in the order they happen ... here is the (nested) sequence of calls
components.Dims @ndisplay.setter
    <Dims.events.ndisplay event emitted>
        VispyImageLayer._on_display_change
            Layer._update_dims
                Image._set_view_slice
                    <Image.events.set_data event emitted>
                        ** VispyImageLayer._on_data_change **
            Image._set_view_slice
                <Image.events.set_data event emitted>
                    ** VispyImageLayer._on_data_change **
            VispyImageLayer.reset
                VispyImageLayer._on_contrast_limits_change
                    ** VispyImageLayer._on_data_change **
                ** VispyImageLayer._on_data_change **

        Layer._update_dims
            Image._set_view_slice
                <Image.events.set_data event emitted>
                    ** VispyImageLayer._on_data_change **
        Image._set_view_slice
            <Image.events.set_data event emitted>
                ** VispyImageLayer._on_data_change **

@tlambert03 thanks for making this! It pains me a little to look at it (though I love the rendering, did some software automatically generate it for you?)
This spaghetti monster clearly needs to be cleaned up, and I'll start thinking about how be to do it. I think we'll just want one pass - corresponding to the outside loop
Dims.events.ndisplay -> Image._set_view_slice -> Image.events.set_data -> _on_data_change

and we'll want to cut the other paths, without breaking everything else!!

Wonderful, @tlambert03! I second @sofroniewn's question, but in more detail! You clearly have much better tooling than us! 😂 Could you elaborate on your detective work so we can track it better ourselves in the future?

I wish I could claim credit for a sweet tooling setup... but I'm afraid that was just brute force.  I made the graphic manually in keynote 🤫starting at _on_data_change and connecting stuff back to ndisplay.setter.  I have played with pygraphviz and pydot for rendering similar connections/relations, like in database schema... but for something small like this, it would take more time to use those tools than to just do it manually.
I did use the logging module though to help figure out the sequence of calls... and realized that there is no logging yet in napari.  Is that a discussion that's been had?  I'm not sure whether it's worth littering the code with logger.debug calls, but when you need them it's nice to have them already in place... especially in the EventEmitter.__call__ method

Logging definitely under consideration! We're considering some more modern external tools though, e.g. loguru.
Massively impressed at your dedication to PR/issue clarity. :joy:

loguru looks awesome. 👍

Adding logging in a dedicated PR sounds good
For now I'm working on fixing this, should have something soonish


Feat model transformer node

Description

add the model transformer node

Resolves #(issue)

closing for this https://github.com/DARPA-ASKEM/Terarium/pull/1859


[AST] Avoid getMembers() calls in contexts that only need associated types.

Move some code out of the GSB that bypasses getMembers() in callers that only need associated types, use it in all contexts I could readily find.

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - 7f6c1c1677ada129000c97924cdc834b87f8b972

Build failed
Swift Test OS X Platform
Git Sha - 7f6c1c1677ada129000c97924cdc834b87f8b972

Updated to narrower focus on protocol ATDs.

Updated to use !isObjC() after discussion of which types can/can't have AssociatedTypes with Slava.
Good enough to merge yet?

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - 7f6c1c1677ada129000c97924cdc834b87f8b972

Build failed
Swift Test OS X Platform
Git Sha - 7f6c1c1677ada129000c97924cdc834b87f8b972


how to create App Widget in  Flutter?

Please consider asking support questions in one of the other channels listed at http://flutter.io/support .


Support Gitlab CI artifacts

As discussed in #39 and #40 Gitlab CI artifacts currently, kind of work, so much that I assumed they were supported. But:

Using git ref urls that re-direct to specific job artifacts ends up re-directing to gitlab.com. This is a more general issue and tracked as #41

https://glcdn.githack.com/openflexure/openflexure-microscope/-/jobs/artifacts/master/raw/builds/main_body_LS65.stl?job=STLs
re-directs to
https://gitlab.com/openflexure/openflexure-microscope/-/jobs/223115318/artifacts/raw/builds/main_body_LS65.stl

so when I try and use URLs like that that grab the latest artifacts from the master branch I get CORS errors.

Query parameters are not supported by the cache and the frontend utility that tells you what the URLs are but:

https://gl.githack.com/openflexure/openflexure-microscope/-/jobs/artifacts/master/raw/builds/main_body_LS65.stl serves a 404 and https://gl.githack.com/openflexure/openflexure-microscope/-/jobs/artifacts/master/raw/builds/main_body_LS65.stl?job=STLs serves the file :/

This could maybe be a more general issue around supporting query parameters?
Are there any other potential issues with supporting Gitlab CI artifacts that haven't been mentioned yet?

Hey. Just curious. Looks like gitlab has changed its URL format for job artefacts and it is possible to link them now?

Looks like it works now, yeah.


allow sending strings as binary

Resolves #29

Looks good - fix Py3 and :shipit:

@abhinav can you drop some py3 wisdom?

The default primitive type spec doesn't do any conversion. It just expects valid input. You need to do something like _TextTypeSpec to add custom behavior there. You need to convert the non-binary value into a binary.

Abandoning this. I was able to fix my issue by correctly casting unicode strings to binary.


Need feature to download the data

could be added to gss_functions.py

A feature for downloading the data set is added and the pull request for the feature has been sent.
https://github.com/CulleyHarrelson/GeneralSocialSurvey/pull/3


Add wheelSpeedFactor to Setpoint and Speedometer for Lexus ES Platforms

On the 2021 Lexus ES300h, the setpoint and speedometer on the openpilot display is lowered by 3.5% when compared to the setpoint and speedometer on the car's dashboard. Adding wheelSpeedFactor = 1.035 under the Lexus ES platforms and to cruiseState.speed in carstate fixes the desynchronization.
Before fix route ID: 36e10531feea61a4|2022-05-24--21-21-37
After fix route ID: 36e10531feea61a4|2022-05-24--21-00-01
Below are the pictures of before and after the fix from the cockpit (Left - after, Right - before):
40 MPH setpoint:

50 MPH setpoint:

60 MPH setpoint:

The wheel speed factor is not meant to fix the ui. It's the factor between the wheel speeds on CAN and the actual speed from GPS. The HUD applies it's own factor on top of speeds on the CAN bus.
Some cars have a large error in the wheel speeds on CAN and need that fixes to prevent overshooting the setpoint: https://github.com/commaai/openpilot/issues/2106


fix: remove use of format in favour of inline bash

Motivation

Resolves #1
Changes

Use inline bash to derive the supported platform_urls
Add specific test to confirm fix
Fixed a minor copy & paste error around platform descs

Test run : https://github.com/quotidian-ennui/install-tool-from-github-release/actions/runs/6772382912

@stevehipwell  -> Steve, you might want to have a CODEOWNERS or similar to assign yourself to review this ;)

Ok then, I committed your suggestions, and I removed the test-install-tool yaml; I'll raise a new PR with a matrix style.


Allow customizing view of elements in SelectBox/List

Current implementation forces vizualization of elements to look like labels with toString()'s of that elements (for performance reasons, i believe). That's too restrictive, it would be better to provide ability to use custom views (like it is implemented in tree's node actors).
Something like setElementVisualizer(IElementVisualizer<T> visualizer) with api Actor createActor(T element) would do the trick. It can also default to LabelVisualizer, which just creates labels using toString(), so behaviour and existing api will survive.

@NathanSweet close this or implement it :D

Would be nice to do something better, but I won't be able to get to this any time soon.


Checkbox Formate in IE

Description:
The Checkbox component looks strange in IE11
Steps to reproduce:
Verify Checkbox in IE
Expected behavior:
Looks the same as in https://precise-ui.io/#/Components/CheckboxInt
Actual behavior:
Check in the Screenshots
Environment:
IE11

@dimabory @kotielnikov

@kotielnikov I'm able to fix this issue, but checkbox size will be changed from 17x17 to 21x21 upon changing box-sizing property. This change seems like BC, so the main question "is it okay to fix it by this way?"

Found workarounds! https://github.com/philipwalton/flexbugs/issues/3


Using Amplify DataStore with AwsAppSync client

Hello,

I am creating mobile application that is supposed to use existing resources on AWS servers (Cognito, AppSync with GraphQL, etc).

As all backend resources are already created and ready, I decided to use Amplify iOS library to connect to them and followed https://docs.amplify.aws/lib/auth/existing-resources/q/platform/ios/ instructions.

I’ve configured the app to use library via SPM and implemented auth using Cognito and I am able to perform all sign-in/signup operations without issues.

Now I am adding support for backend storage via AppSync and I’d like to be able to use DataStore for offline mode.

When looking into AWS AppSync console it tells me to integrate it via: amplify add codegen --apiId ABCD command which generates API.swift file.

After looking into API.swift file contents I see that is uses https://github.com/awslabs/aws-mobile-appsync-sdk-ios which seems to not be a part of Amplify SDK and does not look like it is compatible with DataStore.

This leads me to a question - how can I use existing AppSync GraphQL API (generated in this API.swift file) with Amplify DataStore?  Is there a way to somehow import existing GraphQL schema into Amplify app and use it with DataStore? If so, how can this be achieved?

What I tried so far is to use https://github.com/awslabs/aws-mobile-appsync-sdk-ios to talk to GraphQL and it works but from what I see is that it does not support offline mode which I need in my app.

Hey,
I was just wondering if there is any update on the above

No, still having the same issue with that particular setup.
What I did instead is moved away from "pure" AppSync which was generating API.swift file and started using Amplify DataStore instead and then the codegen works. Sadly this is not ideal though because not everyone can do that kind of transition and it would be great if using DataStore with AwsAppSyncClient was supoprted.

Hi @fzy-spyro, if you want to use DataStore, you would need to use amplify add api and provide your schema. We do not have an import flow for API plugin yet. The amplify add codegen --apiId ABCD command works for any AppSync API but is intended to be used only for statements and frontend types generation and not with DataStore.


ActionQueue emote errors when starting bot

[ERROR  ] Logging an uncaught exception (ActionQueue)
Traceback (most recent call last):
  File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/opt/pajbot/pajbot/managers/emote.py", line 92, in load_all
    self.load_channel_emotes()
  File "/opt/pajbot/pajbot/managers/emote.py", line 78, in load_channel_emotes
    self.channel_emotes = self.api.get_channel_emotes(self.streamer)
  File "/opt/pajbot/pajbot/apiwrappers/ffz.py", line 70, in get_channel_emotes
    return self.cache.cache_fetch_fn(
  File "/opt/pajbot/pajbot/apiwrappers/response_cache.py", line 93, in cache_fetch_fn
    return serializer.deserialize(cache_result)
  File "/opt/pajbot/pajbot/apiwrappers/response_cache.py", line 25, in deserialize
    cache_result = self.safe_deserialize(cache_result)
  File "/opt/pajbot/pajbot/apiwrappers/response_cache.py", line 72, in safe_deserialize
    return [self.cls.from_json(c) for c in cache_result]
  File "/opt/pajbot/pajbot/apiwrappers/response_cache.py", line 72, in <listcomp>
    return [self.cls.from_json(c) for c in cache_result]
  File "/opt/pajbot/pajbot/models/emote.py", line 57, in from_json
    return Emote(**json_data)
TypeError: __init__() missing 2 required positional arguments: 'max_width' and 'max_height'

[ERROR  ] Logging an uncaught exception (ActionQueue)
Traceback (most recent call last):
  File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/opt/pajbot/pajbot/managers/emote.py", line 92, in load_all
    self.load_channel_emotes()
  File "/opt/pajbot/pajbot/managers/emote.py", line 129, in load_channel_emotes
    self.tier_one_emotes, self.tier_two_emotes, self.tier_three_emotes = self.twitch_helix_api.get_channel_emotes(
  File "/opt/pajbot/pajbot/apiwrappers/twitch/helix.py", line 598, in get_channel_emotes
    return self.cache.cache_fetch_fn(
  File "/opt/pajbot/pajbot/apiwrappers/response_cache.py", line 93, in cache_fetch_fn
    return serializer.deserialize(cache_result)
  File "/opt/pajbot/pajbot/apiwrappers/response_cache.py", line 25, in deserialize
    cache_result = self.safe_deserialize(cache_result)
  File "/opt/pajbot/pajbot/apiwrappers/response_cache.py", line 82, in safe_deserialize
    return tuple([[Emote.from_json(e) for e in s] for s in cache_result])
  File "/opt/pajbot/pajbot/apiwrappers/response_cache.py", line 82, in <listcomp>
    return tuple([[Emote.from_json(e) for e in s] for s in cache_result])
  File "/opt/pajbot/pajbot/apiwrappers/response_cache.py", line 82, in <listcomp>
    return tuple([[Emote.from_json(e) for e in s] for s in cache_result])
  File "/opt/pajbot/pajbot/models/emote.py", line 57, in from_json
    return Emote(**json_data)
TypeError: __init__() missing 2 required positional arguments: 'max_width' and 'max_height'

[ERROR  ] Logging an uncaught exception (ActionQueue)
Traceback (most recent call last):
  File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/opt/pajbot/pajbot/managers/emote.py", line 92, in load_all
    self.load_channel_emotes()
  File "/opt/pajbot/pajbot/managers/emote.py", line 78, in load_channel_emotes
    self.channel_emotes = self.api.get_channel_emotes(self.streamer)
  File "/opt/pajbot/pajbot/apiwrappers/seventv.py", line 110, in get_channel_emotes
    return self.cache.cache_fetch_fn(
  File "/opt/pajbot/pajbot/apiwrappers/response_cache.py", line 93, in cache_fetch_fn
    return serializer.deserialize(cache_result)
  File "/opt/pajbot/pajbot/apiwrappers/response_cache.py", line 25, in deserialize
    cache_result = self.safe_deserialize(cache_result)
  File "/opt/pajbot/pajbot/apiwrappers/response_cache.py", line 72, in safe_deserialize
    return [self.cls.from_json(c) for c in cache_result]
  File "/opt/pajbot/pajbot/apiwrappers/response_cache.py", line 72, in <listcomp>
    return [self.cls.from_json(c) for c in cache_result]
  File "/opt/pajbot/pajbot/models/emote.py", line 57, in from_json
    return Emote(**json_data)
TypeError: __init__() missing 2 required positional arguments: 'max_width' and 'max_height'

Somehow the redis migration didn't run.
To solve this, turn off the bot, run redis-cli and run SET streamer_login_name:schema-version 2, then turn the bot on again


defining identifiable nodes

This will be mostly useful for myself.
Definition:
A binary node is identifiable when there is sufficient information to define its two children (when we say such a node is 2-identifiable, can this be extended/relaxed to n-identifiable?).
The nodes we want to identify are those nodes that have multiple parents, meaning, the first coalescent nodes on the path descending from a recombination event. Here we should have more information at our disposal then for all other nodes. For all other nodes: the criterium is clear: we require at least one mutation on the edge in the ARG that has this node as its child.

We defined a rough outline for a potential way to find identifiable nodes for the case when there are no recombination events for the paths from our focal node to the leaves. However, we need a good, yet simple example for the case when there is such a recombination event 'underneath' our focal node.


Update the alpha Tidy sheets to match this behavior.

Closing as completed.


wrote the code to add two numbers

Hey @riteshsoni123 !
Great work!
You can follow me and star this repository for further updates.
Have fun 🙌🏻


Allow to filter namespaces

Is your feature request related to a problem? Please describe.
I'm always frustrated when i look for my namespaces from a lot of them (>100).
Describe the solution you'd like
I want to filter namespaces and show only my namespaces by a regex pattern. Also be good if i can search namespace by name
Describe alternatives you've considered
Additional context

can be part of #211


control for seed diversity

pre-sample seeds, then generate images for each prompt using only those seeds. idea here is to control for how seeds influence stuff like layout and other image attributes. additionally, we'll probably be able to drop all images attached to certain seeds in toto to reduce spread around the class centroid.
generate a bunch of images, use the seeds for the images that have desirable layouts.

relevant papers:
https://twitter.com/MokadyRon/status/1706918077567304165


Nav Tabs line acts strange

Bug, feature request, or proposal:
Right after initializing the component the bottom line of the tab has a wrong size;

As soon as you navigate to the second tab (DRV in my screenshot) and then back to the first one the line has the correct size;

Tabs are initialized like this:
<a md-tab-link
*ngFor="let c of clusters"
[routerLink]="[c.id]"
routerLinkActive #rla="routerLinkActive"
[active]="rla.isActive">
{{c.name}}

What is the expected behavior?
Line should habe the correct size
What is the current behavior?
See screenshots
Which versions of Angular, Material, OS, browsers are affected?
NG 2.3.1
Material 2.0.0-beta.2

Looks like a dupe of #3495

@mbeckenbach with #3622 landed, are you still seeing the issue?

@willshowell As far as i understand this, it should be fixed in master? At the moment i can't update my app from beta.2 to something newer for deadline reasons.

Yes, it should be fixed in master. I say should because that PR was really set out to solve a different issue with layout direction changes, but I'm not able to replicate the issue anymore using a Plunker based on master.

Closing this as "suspected to be fixed". Feel free to re-open if it's still an issue.


Failed host doesn't have delete in detail's menu

Rancher versions: 6/8
Steps to Reproduce:

Create a host that will fail
Click on Host name after it's error
Click on menu

Results:  No actions available.  Should be same as main host page menu.  Which has machine config, delete and view in api

Version - 6/12 (2.0 Alpha)
Verified fixed


No Audio for 2 Android devices sharing same Room SessionID

Overview:
Using the NativeCall app, the audio (and video) works correctly when connecting 1 Android device and a browser client at http://demo.openwebrtc.io:38080. Connecting 2 Android devices using NativeCall (and no browser client) results in shared video, but no audio.
Expected Behavior:
2 Android NativeCall apps should be able to join the same sessionID and share audio and video.
Actual Behavior:
2 Android apps in above scenario can only share video.
Environment:
Browser - Chrome on mac (Yosemite)
Nexus 5 - 5.0.1
Nexus 7 (2013) - 5.0.2
Other Notes:
I've connected 2 Android native clients (independent of the demo app and NativeCall) and got the video working. However audio didn't. As a sanity check I tried the outlined case above and found it didn't work in the demo app either.
When the audio IS (yes is) Working I see these errors in the log
02-07 10:36:11.098  16772-16960/com.ericsson.research.owr.examples.nativecall I/gst_log﹕ 0xa31536c0 ERROR   default /Users/aaron/openwebrtc/scripts/dependencies/gst-plugins-base/gst-libs/gst/audio/audio-info.c:267:gst_audio_info_from_caps: no layout given
02-07 10:36:11.198  16772-16792/com.ericsson.research.owr.examples.nativecall E/g_printerr﹕ Error in element audio-source.
02-07 10:36:11.198  16772-16792/com.ericsson.research.owr.examples.nativecall E/g_printerr﹕ Debugging info: /Users/aaron/openwebrtc/scripts/dependencies/gstreamer/libs/gst/base/gstbasesrc.c(2943): gst_base_src_loop (): /GstPipeline:local-audio-capture-source-bin-1/GstOpenSLESSrc:audio-source:
streaming task paused, reason not-negotiated (-4)
02-07 10:36:11.834  16772-16792/com.ericsson.research.owr.examples.nativecall W/MediaController﹕ remote audio: com.ericsson.research.owr.RemoteMediaSource@33dfe211
02-07 10:36:11.966  16772-16988/com.ericsson.research.owr.examples.nativecall W/AudioTrack﹕ AUDIO_OUTPUT_FLAG_FAST denied by client
02-07 10:36:11.985      184-830/? D/audio_hw_primary﹕ out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=4
02-07 10:36:12.005      184-750/? D/audio_hw_primary﹕ select_devices: out_snd_device(5: headphones) in_snd_device(0: none)
02-07 10:36:12.005      184-750/? D/msm8974_platform﹕ platform_send_audio_calibration: sending audio calibration for snd_device(5) acdb_id(10)
02-07 10:36:12.005      184-750/? D/audio_hw_primary﹕ enable_snd_device: snd_device(5: headphones)
02-07 10:36:12.011      184-750/? D/audio_hw_primary﹕ enable_audio_route: apply and update mixer path: low-latency-playback
These errors are also present when audio is not working...

@Rugvip any thoughts?

Just to check: are you running the two instances of the all on two separate devices?

Yes, I run one instance of NativeCall on a Nexus 5 and one on a Nexus 7. I then join the same sessionId (room) and initiate the call from either side. (there is often a delay at this point...) I then get 2-way video, but no audio. @superdump, Does it work for you?

Any update on this? I'm also getting the same error. Tried the latest NativeCall sample app.
My device is Sony Xperia Z3 running on Android Lollipop 5.1. I used the demo website through Chrome on Mac. The video and audio are coming perfectly from Chrome on Mac to Android but video only if it's the other way around.

This issue is fixed by https://github.com/EricssonResearch/cerbero/commit/20a368b9a9c329a84b9cb7a6aea773b2692fd519 and https://github.com/EricssonResearch/openwebrtc/commit/6d72e0aceab36d185556dc987502026a8d936e72
If you fetch the latest cerbero master and rebuild, things should hopefully work.

I tried it with the latest cerbero master with that same device, Sony Xperia Z3 running on Lollipop 5.1. I also updated the openwebrtc-examples. Result:
The gstreamer error no longer exists but the following log was still there:
04-15 14:57:43.547    3239-3239/com.ericsson.research.owr.examples.nativecall I/SimpleStreamSet﹕ audio stream mode set: SEND_RECEIVE
04-15 14:57:43.571    3239-5482/com.ericsson.research.owr.examples.nativecall W/AudioRecord﹕ AUDIO_INPUT_FLAG_FAST denied by client
04-15 14:57:43.839    3239-3239/com.ericsson.research.owr.examples.nativecall V/NativeCall﹕ candidate: {"sdpMLineIndex":0,"sdpMid":"audio","candidate":"candidate:3087517168 1 udp<PHONE_NUMBER> <IP_ADDRESS> 57730 typ host generation 0","candidateDescription":{"foundation":"3087517168","componentId":1,"transport":"UDP","priority":2122260223,"address":"<IP_ADDRESS>","port":57730,"type":"host"}}
04-15 14:57:43.890    3239-5502/com.ericsson.research.owr.examples.nativecall D/AudioTrack﹕ TrackOffload: AudioTrack Offload disabled by property, returning false
04-15 14:57:43.895    3239-5502/com.ericsson.research.owr.examples.nativecall W/AudioTrack﹕ AUDIO_OUTPUT_FLAG_FAST denied by client

Hello!
I have some issue with audio
to console write:
W/AudioTrack: AUDIO_OUTPUT_FLAG_FAST denied by client at all.... I don't know what to doing
I need any ideas, please)


OTEL_EXPORTER_OTLP_ENDPOINT not support endpoints prefixed by the http(s) schema

otel-cli doesn't honour the spec of OTEL_EXPORTER_OTLP_ENDPOINT not supporting endpoints prefixed by the http(s) scheme"
IIUC, that's the specification in https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/protocol/exporter.md#configuration-options

The endpoint MUST be a valid URL with scheme (http or https) and host, MAY contain a port, SHOULD contain a path and MUST NOT contain other parts

I don't know whether this is something specifically for this implementation or the OpenTelemetry SDK, please forgive me if this is not the right place to track this.
What's the problem I see?
First of all, I started an OTEL exporter docker container locally (otel/opentelemetry-collector-contrib-dev:latest)
Then I ran the below commands, you can see the stdout
$ otel-cli exec --insecure true --service my-service --endpoint http://localhost:52796 --name "curl google" curl https://google.com
2021/11/10 14:41:04 context deadline exceeded
# trace id: 6b695385c7f24a272d7db2e0c1c25ebd
#  span id: 11bb5ff1199c6969
TRACEPARENT=00-6b695385c7f24a272d7db2e0c1c25ebd-11bb5ff1199c6969-01

$ otel-cli exec --insecure true --service my-service --endpoint localhost:52796 --name "curl google" --tp-print curl https://google.com
# trace id: 55a8d22db9cde3e3209975b6ff95be6d
#  span id: ea84d6216356c36f
TRACEPARENT=00-55a8d22db9cde3e3209975b6ff95be6d-ea84d6216356c36f-01

I even tried with the latest 1.1.0 version for the opentelemetry dependencies. But with the same result.
diff --git a/go.mod b/go.mod
index 6a2f0a4..e704450 100644
--- a/go.mod
+++ b/go.mod
@@ -8,11 +8,11 @@ require (
 	github.com/pterm/pterm v0.12.30
 	github.com/spf13/cobra v1.1.3
 	github.com/spf13/viper v1.7.0
-	go.opentelemetry.io/otel v1.0.1
-	go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.0.1
-	go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.0.1
-	go.opentelemetry.io/otel/sdk v1.0.1
-	go.opentelemetry.io/otel/trace v1.0.1
+	go.opentelemetry.io/otel v1.1.0
+	go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.1.0
+	go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.1.0
+	go.opentelemetry.io/otel/sdk v1.1.0
+	go.opentelemetry.io/otel/trace v1.1.0
 	go.opentelemetry.io/proto/otlp v0.9.0
 	google.golang.org/grpc v1.41.0
 )
diff --git a/go.sum b/go.sum
index 78a34d3..6dbe29b 100644

$ ./otel-cli exec --insecure true --verbose --service my-service --endpoint localhost:52796 --tp-print  --name "curl google" curl https://google.com
# trace id: 7aca7397428bd39ad3e5de1edde04e23
#  span id: 61b1ed8a81521817
TRACEPARENT=00-7aca7397428bd39ad3e5de1edde04e23-61b1ed8a81521817-01
$ ./otel-cli exec --insecure true --verbose --service my-service --endpoint http://localhost:52796 --tp-print  --name "curl google" curl https://google.com
2021/11/10 14:43:08 OpenTelemetry error: Post "http://localhost:52796/v1/traces": net/http: HTTP/1.x transport connection broken: malformed HTTP response "\x00\x00\x06\x04\x00\x00\x00\x00\x00\x00\x05\x00\x00@\x00"
# trace id: 9aa5c361cee147841a31e0ee482d4bd5
#  span id: 88ed6fd2d5ae9227
TRACEPARENT=00-9aa5c361cee147841a31e0ee482d4bd5-88ed6fd2d5ae9227-01

If I use the apm-server I get a similar output:
$ ./otel-cli exec --insecure true --verbose --service my-service --endpoint localhost:8200 --tp-print  --name "curl google" curl https://google.com
# trace id: a32dd3e7edfdc10873590d0b1f024ae8
#  span id:<PHONE_NUMBER>afb15f
TRACEPARENT=00-a32dd3e7edfdc10873590d0b1f024ae8-8784904498afb15f-01
$ ./otel-cli exec --insecure true --verbose --service my-service --endpoint http://localhost:8200 --tp-print  --name "curl google" curl https://google.com
2021/11/10 14:45:00 OpenTelemetry error: failed to send traces to http://localhost:8200/v1/traces: 404 Not Found
# trace id: e86a7945462b1ca24fc5f5256be0f974
#  span id: 55f5768a2ca2a0bc
TRACEPARENT=00-e86a7945462b1ca24fc5f5256be0f974-55f5768a2ca2a0bc-01
$ curl http://<IP_ADDRESS>:8200
{
  "build_date": "2021-08-26T07:58:20Z",
  "build_sha": "3c59d845c4aaa8eee86b3c3d83442d649482198c",
  "version": "7.14.1"
}

Please let me know if you need further details. I'll try to run a few more validations in my end to discard any misconfiguration.
Thanks

Good catch, I'm gonna spend a little time on otel-cli soon and will dig into this.
I guess it's time to add TLS options to the test suite...

I understand this better now after working on #138. If you have a chance please take a look at the README changes in there and lmk if they help clarify. I think the OTel spec went the wrong way here, and for clarity otel-cli is going to have to diverge a bit since there's no deterministic way to tell if an http/https URL is intended for gRPC or actuall http/protobuf. So otel-cli will only allow http for http and adds grpc:// for grpc in addition to sending bare strings to gRPC/OTLP.


homebrew formula

We could add a formula at dataroots.io/homebrew-tf-profile?

https://github.com/datarootsio/homebrew-tf-profile/
@Araram96 what is the status of the tap?
can we add a minimal README to that repo that simply links back here?

the task is complete, the readme has been added and the formula is working with the archs we added.


Support a whitelist of crates ... somehow

Why just a whitelist?

@tbu- mostly centering around the fact that a crate of unknown provenance can do just about anything crazy in a build script. Thinking about it now though, anything a malicious user could do in a build script, they could do in the main code... perhaps whatever sandboxing we have would just need to protect us in both cases...

I thought the whitelisting was for performance reasons. One could build a Docker image with all the whitelisted crates already built, so using these crates would just link them in, not triggering a rebuild.
Whitelist also saves us the trouble of generating a new Cargo.toml with just the right crates. Instead we might reuse a single Cargo.toml containing the whitelisted dependencies.
On the other hand, it might be cool to be able to use just about any crate in the playground instead of just the whitelisted.

I thought the whitelisting was for performance reasons

Oh, right, thank you for reminding me. Additionally, at compilation / program run time, we don't have network access, so that's kind of a non-starter.
My hope is to generate a list of the top-N most popular crates, then add them to a Cargo.toml as well as all of the dependencies (if they have to be installed, we might as well allow people to use them).
Any pointers or suggestions on how to generate such a list would be appreciated!

I definitely think this needs to happen.  Crates aren't just nice-to-haves, a lot of critical functionality is put into crates, like JSON encoding/decoding, URL manipulation, logging, etc.  Even without an internet connection these packages are sometimes required to reproduce issues, not having access to at least some external crates also makes demonstrating things (like JSON decoding) impossible.

Compiling the top 100 crates takes about 35 minutes (debug and release modes). Doing that for stable/beta/nightly is going to eat up a huge chunk of the time that EC2 hands out for free...

How about stable? Most examples out there are tailored to run on stable anyway.

@ArtemGr do you mean only supporting crates in the stable channel? I'd expect to get a lot of pushback because all the "cool" things happen in nightly (especially things like serde and friends)

That kind of pushback might be solved by supporting the serde_codegen (build.rs) in playground.
Just my two cents. I imagine all kind of setups are possible. What I'm saying is that supporting crates on a stable channel is still better than not being able to support them at all.

Thinking about it:

Stable releases are every 6 weeks
There were 4 betas for 1.10.0
Nightly builds aren't actually nightly, but closer to every 2 or 3 days.
EC2 free tier offers "enough hours to run continuously each month"

If we measure conservatively and say that there is one stable release every 6 weeks, 1 beta release a week, and a nightly build every other day, then it really won't be using too much CPU.

What I'm a bit more worried about is user experience time now. With the 100+ top crates, compiling "hello world" takes about 2 seconds, which is just about double the 1 second of calling rustc with no crates.
It's possible we may want to offer both modes, with crates downplayed a bit, in order to give good impressions to first-time users.

For reference, here are the top 100 crates:

[dependencies]
advapi32-sys = "0.2.0"
aho-corasick = "0.5.2"
ansi_term = "0.7.5"
aster = "0.20.0"
bitflags = "0.7.0"
byteorder = "0.5.3"
cfg-if = "0.1.0"
chrono = "0.2.22"
clap = "2.9.2"
color_quant = "1.0.0"
cookie = "0.2.5"
crossbeam = "0.2.9"
deque = "0.3.1"
docopt = "0.6.81"
enum_primitive = "0.1.0"
env_logger = "0.3.3"
flate2 = "0.2.14"
gcc = "0.3.28"
gdi32-sys = "0.2.0"
getopts = "0.2.14"
gif = "0.9.0"
gl_generator = "0.5.2"
glob = "0.2.11"
hpack = "0.3.0"
httparse = "1.1.2"
hyper = "0.9.9"
idna = "0.1.0"
image = "0.10.1"
inflate = "0.1.1"
itertools = "0.4.16"
itoa = "0.1.1"
jpeg-decoder = "0.1.5"
kernel32-sys = "0.2.2"
khronos_api = "1.0.0"
language-tags = "0.2.2"
lazy_static = "0.2.1"
libc = "0.2.13"
libz-sys = "1.0.4"
log = "0.3.6"
lzw = "0.10.0"
matches = "0.1.2"
memchr = "0.1.11"
mime = "0.2.1"
miniz-sys = "0.1.7"
net2 = "0.2.24"
nix = "0.6.0"
nom = "1.2.3"
num = "0.1.32"
num-bigint = "0.1.32"
num-complex = "0.1.32"
num-integer = "0.1.32"
num-iter = "0.1.32"
num-rational = "0.1.32"
num-traits = "0.1.32"
num_cpus = "0.2.13"
openssl = "0.7.14"
openssl-sys = "0.7.14"
openssl-sys-extras = "0.7.14"
openssl-verify = "0.1.0"
phf = "0.7.15"
phf_generator = "0.7.15"
phf_shared = "0.7.15"
pkg-config = "0.3.8"
png = "0.5.1"
quasi = "0.14.0"
quasi_codegen = "0.14.0"
rand = "0.3.14"
rayon = "0.4.0"
regex = "0.1.71"
regex-syntax = "0.3.3"
rust-crypto = "0.2.36"
rustc-serialize = "0.3.19"
rustc_version = "0.1.7"
semver = "0.2.3"
serde = "0.7.12"
serde_codegen = "0.7.12"
serde_codegen_internals = "0.2.0"
serde_json = "0.7.4"
shared_library = "0.1.4"
slab = "0.2.0"
solicit = "0.4.4"
strsim = "0.4.1"
syntex = "0.37.0"
syntex_errors = "0.37.0"
syntex_pos = "0.37.0"
syntex_syntax = "0.37.0"
tempdir = "0.3.4"
tempfile = "2.1.4"
term = "0.4.4"
term_size = "0.1.0"
thread-id = "2.0.0"
thread_local = "0.2.6"
time = "0.1.35"
toml = "0.1.30"
traitobject = "0.0.3"
typeable = "0.1.2"
unicase = "1.4.0"
unicode-bidi = "0.2.3"
unicode-normalization = "0.1.2"
unicode-width = "0.1.3"
unicode-xid = "0.0.3"
unsafe-any = "0.4.1"
url = "1.1.1"
user32-sys = "0.2.0"
utf8-ranges = "0.1.3"
uuid = "0.2.2"
vec_map = "0.6.0"
void = "1.0.2"
winapi = "0.2.7"
winapi-build = "0.1.1"
ws2_32-sys = "0.2.1"
xml-rs = "0.3.4"

[package]
authors = ["The Rust Playground"]
name = "playground"
version = "0.0.1"

Any strong objections to any of those? Any obvious missing pieces?

I've switched http://play.integer32.com/ to using cargo, and there's just a single crate (rand) available at the moment.

Cool!
One can test it with.
extern crate rand;
use rand::Rng;
fn main() {println! ("Hello, random world number {}!", rand::thread_rng().gen::<u32>());}

A small update on the times
Running build.sh which builds the stable, beta, and nightly channels with the top 100 crates in debug and release mode, plus the clippy and rustfmt containers took:
real	74m23.071s
user	0m0.740s
sys	0m0.497s

Hmm, I thought the extra time was because of all the linking, but maybe somehow just one crate isn't being built ahead of time:
# time cargo build
   Compiling tempfile v2.1.4
   Compiling playground v0.0.1 (file:///playground)

real	0m2.330s
user	0m2.040s
sys	0m0.210s

# touch src/main.rs
# time cargo build
   Compiling playground v0.0.1 (file:///playground)

real	0m0.849s
user	0m0.670s
sys	0m0.110s

What's strange is that I recall seeing this output before - it was tempfile then as well.

Some raw timing numbers with a single crate (rand) and then the top 100. This is compiling a program that uses rand and the numbers are those reported by Chrome's network pane:
Before

2.80
1.87
1.28
1.25
1.31
1.25
1.23
1.24
1.24
1.30

After

2.89
1.42
1.43
1.41
1.43
1.43
1.48
1.41
1.41
1.42

That's 1.477 seconds on average before and 1.573 after. Using a bunch of crates would add about 100 ms. Maybe that's acceptable.

extern crate rand;

use rand::Rng;

fn main() {
    let mut rng = rand::thread_rng();
    println!("{}", rng.gen::<u8>());
}

Mumble, mumble. Actually running on EC2 there's a much more pronounced speed loss. Running an arbitrary program gets me 2.75 s with crates and 1.13 s without. 😠

Ok, maybe that's just because I exhausted my CPU credits compiling all those crates. Let's let it sit overnight and build up some buffer... 🙏

Why not do a simple heuristic and use the crate toml only when there is an "extern crate " line in the source code?
When there's no "extern crate " - switch to using a different toml file, one that links no crates.

If you write a tool with a real parser to find crate names, then you could mark all of the crates optional in the toml, and just enable exactly those that are used.

Why not do a simple heuristic and use the crate toml only when there is an "extern crate " line in the source code?
When there's no "extern crate " - switch to using a different toml file, one that links no crates.

If you write a tool with a real parser to find crate names, then you could mark all of the crates optional in the toml, and just enable exactly those that are used.

Yup, these are all good ideas but require far more work. The current sandbox essentially works by:

The server code writes the user source file to a tempfile.
That tempfile is mounted into a fresh docker container as src/main.rs.
cargo run is called in that container.

Any additional processing has to go somewhere. If it lives in the server, then we have to make the container more flexible and configurable; perhaps by to writing out a Cargo.toml and mounting that in. That would mean that we'd have some amount of synchronization
If it lives in the container, then it becomes trickier to rely on any given language other than what happens to live in there by default. It might mean writing it in Perl! 😱
There is one tool that I know of that parses Rust code fairly well; the compiler! I wonder if this is the kind of thing that would be welcomed as an actual PR there. Maybe I should open an issue over there to begin discussion.

Now that some credits have built up, we can see the difference:
Before
0.806
0.664
0.669
0.658
0.666
0.666
0.661
0.680
0.668
0.669

After
1.07
0.974
0.994
1.04
1.07
1.04
1.01
1.01
0.977
0.976

The averages are 0.681 and 1.02 seconds, respectively. So it's definitely slower, but I feel that 1 second is a reasonable time for the improved functionality and not terrible for user response time.

find crate names, then you could mark all of the crates optional in the toml

Oh, this also has the difficulty of reverse-mapping the dash-to-underscore transformation...

If I create a project on my laptop, add the top 100 crates, compile them, then touch main.rs, cargo build takes:
real    0m0.674s
user    0m0.483s
sys     0m0.175s

And running cargo build a second time:
real    0m0.426s
user    0m0.312s
sys     0m0.108s

If I then remove all the crates and touch main.rs again:
real    0m0.413s
user    0m0.284s
sys     0m0.113s

And a second time:
real    0m0.127s
user    0m0.075s
sys     0m0.044s

The time to run the compiler is 286ms when there aren't any crates and 248ms when there are crates; this seems to indicate that making any changes to the compiler would not be useful to save time. It appears that the majority of the time would be inside Cargo itself, so manipulating the Cargo.toml would be the effective solution.

Closed in #21


Deployment 2018-08-08

Deployment 2018-08-08
Status: Planned
Planned production date:  2018-08-08
Services to Deploy:

ValidateCertificate job
NuGetGallery (+ migrations)
Feed2Catalog job

Repo
Service
Commit
Build
INT
PROD
Asia

NuGet.Jobs
ValidateCertificate job
TBD
TBD
[x]
[ ]
N/A

NuGetGallery
NuGetGallery
TBD
TBD
[ ]
[ ]
N/A

NuGetGallery
EF Migration
TBD
TBD
[x]
[ ]
N/A

NuGet.Services.Metadata
Feed2Catalog
TBD
TBD
[x]
[ ]
N/A

We must run gallery DB migrations first, before gallery or any job.

https://github.com/NuGet/NuGetGallery/issues/6181: Provide faster feedback to package author when uploaded package does not match signature requirements
https://github.com/NuGet/NuGetGallery/issues/6183: Show more information about the certificate in the gallery UI
https://github.com/NuGet/Engineering/issues/1543: Service Bus processor jobs do not recycle processes
https://github.com/NuGet/NuGetGallery/issues/6187:  V3: Feed2Catalog's DateTime.MinValue bug
https://github.com/NuGet/NuGetGallery/issues/6236:  V3: add Feed2Catalog catalog tests
https://github.com/NuGet/NuGetGallery/issues/6237:  V3: Feed2Catalog telemetry issues

Deployment to gallery is currently blocked by:

https://github.com/NuGet/Engineering/issues/1419 - needs verification by @karann-msft
https://github.com/NuGet/Engineering/issues/1305 - potential problem with logging exception thrown after mail retry failure

NuGet/Engineering#1419 was reverted.
NuGet/Engineering#1305 is resolved.


Extension issue

Issue Type: Bug
Extension Name: LiveServer
Extension Version: 5.6.1
OS Version: Windows_NT x64 10.0.18362
VSCode version: 1.41.0

{
	"messages": [],
	"activationTimes": {
		"codeLoadingTime": 16293,
		"activateCallTime": 16,
		"activateResolvedTime": 16,
		"activationReason": {
			"startup": true,
			"extensionId": {
				"value": "ritwickdey.LiveServer",
				"_lower": "ritwickdey.liveserver"
			},
			"activationEvent": "*"
		}
	},
	"runtimeErrors": []
}

:warning: We have written the needed data into your clipboard. Please paste! :warning:

Might have been due to the internet connection failing at that moment, reason why it auto disabled itself. Now it is working flawlessly.


ppd-cache.c: Fix generating cupsUrfSupported (fixes #952)

The PPD keyword got the option values concatenated together without commas, which broke filter processing in libcupsfilters
Sometimes more commas better commas :)

I would say we could drop it once libcupsfilters gets a new release, which includes the fix which this keyword was introduced for in the first place.


Enable EurekaClient in AutoConfiguration

Hi,
I'm currently writing an integration for Spring Cloud Eureka Client where I want to do the following:

create a bean which requires a EurekaClient instance
enable the Eureka Client autoconfiguration

something like this:
@Configuration
@EnableEurekaClient
public class MembraneEurekaAutoConfiguration {
    @Bean
    public EurekaInterceptor eurekaInterceptor(EurekaClient eurekaClient) {
        return new EurekaInterceptor(eurekaClient);
    }
}

The problem is that my autoconfiguration probably need to run after the Eureka Client autoconfiguration, which I suppose is possible with @AutoConfigureAfter but the questions remains how I can enable the Eureka Client autoconfiguration (if at all)?

Are you having an actual problem or anticipating a problem? Seems like it should be ok.

Thanks for having a look at it!
You're correct, the problem was something else. Closing the issue.


Broken - UTF8 error

Regardless of what binary I pass to the tool I get the following error:
thread 'main' panicked at 'called Result::unwrap() on an Err value: Utf8Error { valid_up_to: 0, error_len: Some(1) }', src/utils.rs:41:48
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

Seems to work for ASCII text files:
./grep_bin test123.txt "Here"
test123.txt
00000000:  48 65 72 65           Here
The tool description says: "Search a sequence of bytes in a binary file". Currently doesn't seem to be the case

Are you passing the byte sequence inside quotes?

Does this issue still occur in the current version(1.0.1)? I wasn't able to reproduce.

Yes the behavior I am seeing is in version 1.0.1. I posted a response to an issue that was closed so I will link them here. With apologies:
https://github.com/LaBatata101/grep_bin/issues/2#issuecomment-961542404
https://github.com/LaBatata101/grep_bin/issues/2#issuecomment-961543463
Please see the behavior. I think I am narrowing in a bit on the issue


Create new index table for location (longitude+latitude pair)

Fixes #293

@jingtang10 done with the changes. Can you review it again?


Enable macos unit tests

Adding support for macos unit tests to test simd porting work.

Investigating why StringIdMapTest fails on CCI.


[Bug Report] YouTube Player Script Fails with "No n Function Match" Error on Track Playback

Bug Description
While attempting to play a YouTube track using Lavalink, the following errors were encountered:

YouTube Player Script Issue:

[09:51:36] [ERROR] [SignatureCipherManager]: Problematic YouTube player script /s/player/b46bb280/player_ias.vflset/ms_MY/base.js detected (issue detected with script: no n function match).

Track Playback Failure:

[09:51:37] [ERROR] [AudioHandler]: Track YQHsXMglC9A has failed to play
com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Please sign in
    at dev.lavalink.youtube.clients.skeleton.Client.getPlayabilityStatus(Client.java:74)
    at dev.lavalink.youtube.clients.skeleton.NonMusicClient.loadTrackInfoFromInnertube(NonMusicClient.java:98)
    at dev.lavalink.youtube.clients.skeleton.StreamingNonMusicClient.loadFormats(StreamingNonMusicClient.java:35)
    at dev.lavalink.youtube.track.YoutubeAudioTrack.loadBestFormatWithUrl(YoutubeAudioTrack.java:183)
    at dev.lavalink.youtube.track.YoutubeAudioTrack.processWithClient(YoutubeAudioTrack.java:109)
    at dev.lavalink.youtube.track.YoutubeAudioTrack.process(YoutubeAudioTrack.java:71)
    at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:109)
    at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$2(DefaultAudioPlayerManager.java:339)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
    at java.base/java.lang.Thread.run(Thread.java:1570)

The issue appears to stem from a problematic YouTube player script (/s/player/b46bb280/player_ias.vflset/ms_MY/base.js). Specifically, the n function, which is crucial for signature decryption in YouTube's player script, could not be matched or processed.
As a result, the Lavalink YouTubeAudioTrack fails to retrieve the necessary playback information, ultimately leading to the "Please sign in" error and the inability to play the track.
Steps to Reproduce
1. Attempt to play any YouTube track through Bot (Lavalink).
2. Observe the logs for SignatureCipherManager and AudioHandler errors.

Expected Result
When attempting to play a YouTube track, the system should successfully process the YouTube player script and decrypt the necessary signature without errors. The track should load and play smoothly without requiring user authentication. The expected debug log would look like this:
[09:51:36] [INFO] [SignatureCipherManager]: Successfully processed YouTube player script /s/player/b46bb280/player_ias.vflset/ms_MY/base.js.
[09:51:37] [INFO] [AudioHandler]: Track YQHsXMglC9A has started playing.

Debug Output

1. YouTube Player Script Processing Error:

[09:51:36] [ERROR] [SignatureCipherManager]: Problematic YouTube player script /s/player/b46bb280/player_ias.vflset/ms_MY/base.js detected (issue detected with script: no n function match).

2. Track Playback Failure:

[09:51:37] [ERROR] [AudioHandler]: Track YQHsXMglC9A has failed to play
com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Please sign in
    at dev.lavalink.youtube.clients.skeleton.Client.getPlayabilityStatus(Client.java:74)
    at dev.lavalink.youtube.clients.skeleton.NonMusicClient.loadTrackInfoFromInnertube(NonMusicClient.java:98)
    at dev.lavalink.youtube.clients.skeleton.StreamingNonMusicClient.loadFormats(StreamingNonMusicClient.java:35)
    at dev.lavalink.youtube.track.YoutubeAudioTrack.loadBestFormatWithUrl(YoutubeAudioTrack.java:183)
    at dev.lavalink.youtube.track.YoutubeAudioTrack.processWithClient(YoutubeAudioTrack.java:109)
    at dev.lavalink.youtube.track.YoutubeAudioTrack.process(YoutubeAudioTrack.java:71)
    at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:109)
    at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$2(DefaultAudioPlayerManager.java:339)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
    at java.base/java.lang.Thread.run(Thread.java:1570)

Additional Info
The expected result is a smooth and uninterrupted track playback. However, due to the issues with the YouTube player script (n function mismatch), playback fails, requiring debug analysis and updates to the signature decryption logic to handle YouTube's changes.
System Properties:
  java.version = 22.0.1
  java.vm.name = Java HotSpot(TM) 64-Bit Server VM
  java.vm.specification.version = 22
  java.runtime.name = Java(TM) SE Runtime Environment
  java.runtime.version = 22.0.1+8-16
  java.specification.version = 22
  os.arch = amd64
  os.name = Windows Server 2019

JMusicBot Information:
  Version = 0.4.3
  Owner =
  Prefix = >
  AltPrefix = null
  MaxSeconds = 0
  NPImages = false
  SongInStatus = false
  StayInChannel = false
  UseEval = false
  UpdateAlerts = true

Dependency Information:
  JDA Version = 4.4.1_353
  JDA-Utilities Version = 3.0.5
  Lavaplayer Version = 2.2.1

Runtime Information:
  Total Memory = 62
  Used Memory = 47

Discord Information:
  ID =
  Guilds = 9
  Users = 6

Checklist

[X] I have looked for information about this within the documentation
[X] I have searched for similar issues on the issues page
[X] I am using an official release from the releases page

JMusicBot Version
JMusicBot-0.4.3.jar

Duplicate of #1588


Workaround a crash when inference on a picture yielded no predictions.

Hi,
I had an issue when running inference with a custom trained model. Some images yielded no predictions and caused a crash in my_tools/predictor.py. I don't know if it's the cleanest but here is a PR to fix that.
Thanks for your work.
PS: Perhaps you should consider allowing "Issues" in your admin panel?

Hey, thanks for the pull request - I've updated the code in the latest commit that includes your changes.
Also, thanks for letting me know about the "issues" panel, just added


LINK-2046 | filter events by event status

Description
Add dropdown to event search panel to filter events by the event status.
Closes
LINK-2046
Screenshots

e2e tests result is success for https://linkedcomponents-pr408-ui.dev.hel.ninja :laughing::tada::tada::tada:

LINKEDCOMPONENTS-UI branch is deployed to platta: https://linkedcomponents-pr408-ui.dev.hel.ninja :rocket::rocket::rocket:

e2e tests result is failed for https://linkedcomponents-pr408-ui.dev.hel.ninja :crying_cat_face::anger::boom::boom:

It appears that the event status filter selection is not remembered like, for example, the publisher selection is: when opening an event for editing and returning to the published events list, the event status selection is back to the default state (= empty selection).

Good catch. The event status value was not initialised in the first load. Added an initial value for eventStatus and the bug should be fixed.

LINKEDCOMPONENTS-UI branch is deployed to platta: https://linkedcomponents-pr408-ui.dev.hel.ninja :rocket::rocket::rocket:

e2e tests result is failed for https://linkedcomponents-pr408-ui.dev.hel.ninja :crying_cat_face::anger::boom::boom:


Clearer documentation about setting node environment for sublime to what prettier was installed with

After installing prettier and following the instructions I was hitting this issue:
/Users/ml/.nvm/versions/node/v4.4.4/lib/node_modules/prettier/bin/prettier.js:5
const fs = require("fs");
^^^^^
SyntaxError: Use of const in strict mode.
    at Module._compile (module.js:439:25)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:935:3

I wasn't sure what the problem was. After some digging, I found that I needed to have my node environment for sublime (for me project specific) as prettier was installed with. Setting this in my .sublime-project file solved it for me:
  "settings": {
    "js_prettier": {
      "prettier_cli_path": "/Users/ml/.nvm/versions/node/v4.4.4/bin/prettier",
      "node_path": "/Users/ml/.nvm/versions/node/v4.4.4/bin/node"
    }
  }

This was not super obvious to me. Could this be documented clearer somewhere?
Related issue: https://github.com/prettier/prettier/issues/99#issuecomment-286508507

I'm not sure I understand the issue. Is the problem that you were running an old version of Node?

Nope, the problem was that my environment (Sublime) was running a different version of node than what I used to install prettier with (and use in my project). So I had to point to sublime to use the same version of Node for its environment as I am using for prettier for it to work.

Thanks for clarifying. That seems like an editor-specific issue, so I don't think this is the right place to document it. (This repo is just a plugin for a command-line tool -- it's not tied to any editor.) It might be better to clarify this in your editor integration's docs instead.

 Not the right repo. Sorry for the inconvenience!


[WFCORE-1823] port JDK method to util class

https://issues.jboss.org/browse/WFCORE-1823

We'll need to just drop the ensureContrast call as this is not ASL or similarly reusable code. The ensureContrast isn't doing much anyway.

Superceded by #2007 which is just a rebase of this. Sorry I didn't notice this was updated earlier. I'll give up on the fixme label as the github hook meant to clear it when the PR changes isn't reliable.

Weird, Ive rebased it and those commits were gone. Now they are back.


Prerender changes URLs in meta tags

URLs in meta tags are transformed by prerender (hosted)
Example:
<meta property="og:image" ng-attr-content="{{pageImage}}" content="https://cdn.example.com/images/share.png">
becomes
<meta property="og:image" ng-attr-content="{{pageImage}}" content="/images/share.png">
This prevents logos from being displayed on social platforms.

The issue is not specific to prerender in this case, contrary to what I thought. Closing the issue here, sorry for the noise.

No problem!


Switch tabs to 2 spaces, run prettier on the repo

Updates editor settings and reformats the project to using 2 spaces for each level of indentation instead of tabs.
Ideally, no functional changes should apply to the resulting code.


Creates unnecesary releases

Tried updating some things, and it created a release for a package with an empty diff :( (ipfs/go-hamt-ipld was the package in question). The only thing that changed was that it bumped the version, but there was no need for it.

And same issue with the next package go-merkledag


Close #170 - Add o1-preview Chat models

Close #170 - Add o1-preview Chat models

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 84.18%. Comparing base (fdd2975) to head (703b773).
Report is 1 commits behind head on main.

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #174      +/-   ##
==========================================
+ Coverage   84.01%   84.18%   +0.17%
==========================================
  Files          18       18
  Lines         369      373       +4
  Branches        5        5
==========================================
+ Hits          310      314       +4
  Misses         59       59

Files with missing lines
Coverage Δ

...d/src/main/scala-2/openai4s/types/chat/Model.scala
96.72% <100.00%> (+0.23%)
:arrow_up:


Getting duplicate series from query range API

I got duplicate series for heap{job="conprof"}. Should they are the same series?

hmm interesting, yes they should be

I believe this will be fixed by https://github.com/conprof/conprof/pull/113

Fixed by #113. Let me know if you still see this!


Taxonomy: Respect User Role Capabilities

Users have permissions on whether they can create or assign a taxonomy depending on their user role.
This ticket is to read these permissions dynamically from the REST API and alter user taxonomy interaction abilities accordingly.
see:
https://github.com/google/web-stories-wp/pull/9004/files#r707369583
https://github.com/google/web-stories-wp/pull/8591
I think the separated out create vs assign permissions are pretty intuitive UX wise for the hierarchical input, but not sure how this would manifest in the freeform input where the create and assign actions are pretty intertwined in the UI.
@spacedmonkey @swissspidy Could we possibly get a couple steps on how we'd see the freeform input on the Gutenberg editor with limited action permissions? that or just a screen capture for UX reference?

Could we possibly get a couple steps on how we'd see the freeform input on the Gutenberg editor with limited action permissions? that or just a screen capture for UX reference?

Can't you just login as a author / contributor and look at how the gutenberg editor does this?

login as a author / contributor and look at how the gutenberg editor does this?

Awesome. yup, was just asking if you knew of any roles off the top of your head that had permission for either creation or assigning, but not the other. Happy to explore tho. Will document in this ticket

login as a author / contributor and look at how the gutenberg editor does this?

Awesome. yup, was just asking if you knew of any roles off the top of your head that had permission for either creation or assigning, but not the other. Happy to explore tho. Will document in this ticket

@littlemilkstudio I got this, i'll grab role specific details later today for this.

Admin
Editor
Author
Contributor
Subscriber

Full CRUD
Full CRUD
Categories: can assign, no create, delete, Tags: can create and delete
Categories: can assign, no create, delete, Tags: can create and delete
N/A


Issues in manage.py and packages/clean.sls

Hi,
I'm running the saltstack formula and I'm getting the following error:
----------
          ID: alcali-config-migrate-db-provision-cmd-run
    Function: cmd.run
        Name: ./manage.py migrate
      Result: False
     Comment: Command "./manage.py migrate" run
     Started: 11:47:34.647293
    Duration: 104.964 ms
     Changes:
              ----------
              pid:
                  7518
              retcode:
                  1
              stderr:
                    File "./manage.py", line 16
                      ) from exc
                           ^
                  SyntaxError: invalid syntax

should from exc be from exec?
also I found another issue in clean.sls:
alcali-package-clean-git-latest-file-absent:
  file.absent:
    -name: {{ alcali.deploy.directory }}/code

alcali-package-clean-virtualenv-absent:
  file.absent:
    -name: {{ alcali.deploy.directory }}/.venv

The -name lines were causing an issue.  I think it should be:
alcali-package-clean-git-latest-file-absent:
  file.absent:
    - name: {{ alcali.deploy.directory }}/code

alcali-package-clean-virtualenv-absent:
  file.absent:
    - name: {{ alcali.deploy.directory }}/.venv

Al leat it worked when I did it that way.

please open an issue in the alcali formula repository : https://github.com/saltstack-formulas/alcali-formula


fix: Increase log level of full server

This message should be a warning so that it is logged by default.
Server being full is something the developer should look into, therefor should be a warning

why would the developer look into it?
servers get full all the time, e.g. counter strike 10 player limit, MMO 1000 player limit etc

why would the developer look into it?
servers get full all the time, e.g. counter strike 10 player limit, MMO 1000 player limit etc

Because without this PR, with default being max 4 connections, when deving the game the 5th client silently disconnects and it feels like a transport problem with no explanation at all.  logger.Log defaults to no logging unless the user explicitly enables it for Network Manager.

This is the definition I am using for warning logs:

Warn - Anything that can potentially cause application oddities, but for which I am automatically recovering.
https://stackoverflow.com/a/2031209/8479976

You use the WARN log level to indicate that you might have a problem and that you've detected an unusual situation.
https://dzone.com/articles/logging-levels-what-they-are-and-how-they-help-you

Designates potentially harmful situations.
https://www.tutorialspoint.com/log4j/log4j_logging_levels.htm

Warning should be used for things that MIGHT be a problem but arn't a problem 100% of the time.
Player being disconnected by the server is not an expected thing. Even if a developer set the max limit, Server kicking connection is not expected part of the application.  How would the developer know if the client is disconnecting from issues on their end or server kicking them because it is full?
In a Counter strike game you arn't expecting other people to try to connect to a game once there is 10 players, so kicking the unexpected connects is expected within the context, but overall it is unexpected so should be logged.
In an MMO with a hard cap of 1000 players, if  the game is popular you might expect it to near the limit a lot. but a developer should look into why it is capped. Are there too many players? Do you need to open new server/worlds in order to support your player base? Players not being on your server is potentially lost revenue!! This is ofc something that the developer should look into.

max connections default increased from 4 to 100: https://github.com/vis2k/Mirror/pull/2569
a warning is not good if server is full.
imagine running a counter-strike public server.
you'd get spammed with max connection warnings all day and not see anything else.

@vis2k what is a warning use for then? are we only allowed to use Log and Error in mirror?

what we need instead is 'disconnect(reason)' so the client knows why it happened

what we need instead is 'disconnect(reason)' so the client knows why it happened

Transports can generate ErrorMessage with a byte value as an error code that corresponds to error codes the transport defines with descriptions.  None of them do right now, but they can.

@vis2k There are warning logs in mirror that are less severe than this case, So can you explain when we are allowed to use warning logs?


Incorrect behavior of CommandConstantReturnCodeRector

Bug Report
rector 0.14.8 i get different result set then the demo dont know why
Minimal PHP Code Causing Issue
See https://getrector.org/demo/4aea1dc4-5905-4e92-9004-50be4e407fd3
<?php

declare(strict_types=1);

namespace App\Command;

use Symfony\Component\Console\Command\Command as SymfonyCommand;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;

/**
 */
class AbstractCommand extends SymfonyCommand
{

}

/**
 */
final class TestCommand extends AbstractCommand
{
    protected static $defaultName = 'cron:test';
    protected static $defaultDescription = 'test.';

    /**
     * Configure.
     */
    protected function configure(): void
    {
    }

    /**
     * {@inheritdoc}
     */
    protected function execute(InputInterface $input, OutputInterface $output): int
    {
        return 0;
    }
}

What i get locally:
<?php

declare(strict_types=1);

namespace App\Command;

use Symfony\Component\Console\Command\Command as SymfonyCommand;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;

/**
 */
class AbstractCommand extends SymfonyCommand
{

}

/**
 */
final class TestCommand extends AbstractCommand
{
    protected static $defaultName = 'cron:test';
    protected static $defaultDescription = 'test.';

    /**
     * Configure.
     */
    protected function configure(): void
    {
    }

    /**
     * {@inheritdoc}
     */
    protected function execute(InputInterface $input, OutputInterface $output): int
    {
        return Command::SUCCESS;
    }
}

Responsible rules

CommandConstantReturnCodeRector

Expected Behavior
For me it cannot resolve Command as that is a undefined class. The demo works correctly and i also tried to add this as a testcase in symfony rector but that also works correctly.
Do you guys have any idea why this doesn't work locally this is my config:
use Rector\Config\RectorConfig;

return static function (RectorConfig $rectorConfig): void {
    $rectorConfig->paths([
        'src/Command',
    ]);
    $rectorConfig->rule(Rector\Symfony\Rector\ClassMethod\CommandConstantReturnCodeRector::class);
};

Hi, just getting to this. The demo always uses the latest dev-main Rector, to ship new features as soon as possible.
You can see the version on the right bottom:

This is most likely fixed now.
As for rector.php config, the path should be always absolute:
 $rectorConfig->paths([
        __DIR__ . '/src/Command',
    ]);


Add .db as a recognized extension

Hi,
thanks for the work and creating a pull request :+1:
I'm unsure about this.
Since .db is a fairly generic file extension and i would additionally ague that Bind9 zone files are not "really" a database file format.
I've seen this file extension name for bind9 zone files before but on a very rare rate.

The BIND documentation uses .db  in a few places, but there really isn't a standard name.
Are there any common database formats that use db as their extension? Access uses '.accdband.mdb, and SQLite normally uses .sqlite3`.
It is a rather generic extension, but in an editor that only detects file types based only on the extension there are inherent limitations that I guess users have to take in to account when using too.


Add table showing complexity of methods for Input

Objective
Fixes #10106
Adds a table showing computational complexity, as seen for Query (and similar to std::collections docs).
Solution
Add the complexity table

Changelog

Add complexity table for Input methods

I've added information on all methods, hope this is ok.
I've tried analyzing the source and I've also used the std::collections doc on performance also as a reference.
I'm not completely sure on the values for just_pressed/just_released/pressed, which all have a call to contain.
I'm kind of assuming it is comparable to a get complexity as seen in the collections docs.

Updated with all suggestions and rebased on latest changes.
I still think the clear method should be documented as O(n), unless there is a good reason not to :smile:
Should be good to go otherwise!


Allow changing the duration of zoom animations

Right now there is a duration option for pan animations, and for zoom/pan animations (fitbounds, setview). It would be nice to have a duration option also for the zoom animation, e.g.:
map.zoomIn(1, { duration: 0.5 })
The duration of the zoom animation is defined in two places: in the CSS definition of .leaflet-zoom-animated, and in the private _animateZoom method of L.Map.
The idea would be to get the duration out of the CSS, and define it dynamically in _animateZoom via this._mapPane.style[DomUtil.TRANSITION] = '...', along for the timeout for _onZoomTransitionEnd.

Hello can I work on this?

@hd719 you're very welcome to do so, as far as I know no one is currently working on this.

Hey @perliedman I forked over the repo and I followed the instructions in the CONTRIBUTING.md file. When setting up the build system I ran both the commands npm install -g jake and npm install, but now how do I see the changes in the development environment? Do I have to run a specific command?
-Thank you.

@hd719 if you run npm run watch, the build system will continously monitor the source for changes and rebuild.

Hey @perliedman I am having some trouble starting this I found the _animateZoom function in Map.js and having trouble moving on. Any advice?
-Thank you!

Is this still open? I'm going to look into it

@shadeland AFAIK there hasn't been anything done in this area.
It looks like I failed to respond to @hd719's question, but to be honest I'm not too familiar with this part of the code myself, so I will not be able to help with specifics on this issue.

I have also facing this issue but know You help me a lot There is another method Which may help you If you share the PowerPoint window first before entering Slide Show mode it confuses Zoom and it will stop sharing the window. Because
this is Slide Show mode, all animations and transitions work as expected. You can still see and access the Zoom controls
by moving your mouse to the top of the screen. So in this way PowerPoint animations also work in zoom.


24 Oct 2024 - A11y Theme Builder Meeting Minutes

Date
2024-10-24 - 09:15am EDT
Zoom info

Meeting link: https://zoom.us/j/91013899295?pwd=Qnh5UVN1aUZ4ak9tODgvMVNLNUg5Zz09
Meeting id: 910 1389 9295
Password: 123225
Call-in: +1<PHONE_NUMBER> US (New York) (Check calendar for more options)

Untracked attendees

Fullname, Affiliation, (optional) GitHub username
...

Meeting notices

FINOS Project leads are responsible for observing the FINOS guidelines for running project meetings. Project maintainers can find additional resources in the FINOS Maintainers Cheatsheet.

All participants in FINOS project meetings are subject to the LF Antitrust Policy, the FINOS Community Code of Conduct and all other FINOS policies.

FINOS meetings involve participation by industry competitors, and it is the intention of FINOS and the Linux Foundation to conduct all of its activities in accordance with applicable antitrust and competition laws. It is therefore extremely important that attendees adhere to meeting agendas, and be aware of, and not participate in, any activities that are prohibited under applicable US state, federal or foreign antitrust and competition laws. Please contact<EMAIL_ADDRESS>with any questions.

FINOS project meetings may be recorded for use solely by the FINOS team for administration purposes. In very limited instances, and with explicit approval, recordings may be made more widely available.

Agenda

[x] Convene & roll call (5mins)
[x] Display FINOS Antitrust Policy summary slide
[x] Review Meeting Notices (see above)
[x] Approve past meeting minutes
[x] Community WG update (@PaulaPaul)
[ ] Mentorship project update (@omesh-omg)
[ ] ...
[x] AOB, Q&A & Adjourn (5mins)

Decisions Made

[ ] Decision 1
[ ] Decision 2
[ ] ...

Action Items

[ ] (from last week) Lise to get Omesh and Aaron CSS and responsive breakpoints and behaviors for #820 design

will provide CSS for framework only for now

[ ] (from last week)Aaron and Evan need to break the Epic that will be worked on by the mentee into detailed and digestable issues
[ ] (from last week) Lise to work with Aaron to update video in mkdocs documentation
[ ] (from last week) Cody to look at pre-push hook
[ ] (from last week) Aaron to follow up with author of #1026
[ ] Omesh to create a document of SDK blockers

Cody Zuschalg - Nearform

Evan K - DFS

Aaron Reed - DFS
Kathleen Burkhardt - Black Rock

Approved in today's call


[In-progress PoC] dumping connection logs

I'd appreciate a review of this code to let me know if I'm on a track that you'd be happy to eventually upstream... I have tried to implement as separate wrapper functions so that they can be toggled based on whether this config parameter exists or not with no change to other code.
Unfortunately, the only way I could make it so that the TLS and TCP connections dumped in the same place was to change the signature of ServeTCP to include a context object similar to HTTP's req.Context() as I did not want to extend tcp.WriterCloser to include context. I feel like there should be a better way to do this, but I'm not a golang expert.
What does this PR do?
Creates a 'connectionlog' similar to 'accesslog' but on a per-TCP connection level (later can be extended UDP/QUIC)
Motivation
We wish to account for bandwidth more accurately than just the http payload. In order to do this we currently account:

plain data (ie post-TLS decryption)
raw data (ie pre-TLS decryption)
TCP overhead and other stats via the kernel where possible.

Currently it's just dumping JSON to the standard log, however we will extend it by copying a fair bit of the accesslog code to make it relatively compatible with this.
The idea is that with appropriate connection open/close timestamps and source ip/port this could then be correlated with the accesslog to create a fuller view of the connection.
More

[ ] Added/updated tests
[ ] Added/updated documentation

Additional Notes

Hey @mzealey, do you still plan to finalize this PR?

Unsure if we will progress with this & other patchsets, but feel free to continue them if you would like, or close off and i'll re-open if we progress.

Hello @mzealey,
Thank you for your feedback.
I close the PR accordingly, feel free to open a new one if you can move forward on this topic.


Fix gender to be string and not null

Hi, thanks for this great library!
I noticed that artist gender returns a string when calling the API, but it is typed as null.

Sorry I missed your PR @ikapo, thank you for correcting this

Part of v0.10.2


Feature: Versioned rule sets

Expected Behavior

It would be great if rules sets could be versioned. Something like:
ktlint_rule_sets_version = 1.0.0

Setting this in config would allow us to upgrade ktlint (via kotlinter-gradle) while keeping the same rule sets. We could then upgrade our rule sets version independently at a more convenient time.
Not specifying this config would just default to the latest rule sets version.
The version could be consistent with the version of ktlint, or independently versioned.
Current Behavior

ktlint (via the kotlinter-gradle plugin) has been great and worked well for us. The only minor inconvenience is the rule changes that have happened on version bumps of ktlint. We automate dependency updates and when rule changes occur it means we have to manually fix PRs to have them merged.

Additional information

Current version of ktlint: v1

I think this can only be managed via the kotlinter-gradle plugin configuration as described here. The plugin uses the KtlintLintRuleEngine and provides the rules that have to be run. Also, that would work both for the rulesets provided by Ktlint as well as for custom rulesets.

Thank you. I wasn't aware of that functionality. Looks like that covers our use case.


[2019/05/05 14:04] Fix a variable spell error

There is a spell error
contoller -> controller

Ummm...Here is a copy of wiki.swoole.com...Generated automatically by the script


chore(package): update got to version 11.0.2

:tada: This PR is included in version 10.0.11 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Bug]: Skip Transfer Intros after first time

Describe the bug
These intros have to appear only the first time but at the moment it keeps popping up each time.

[ ] Spending balance

[ ] Transfer to savings

https://www.figma.com/design/ltqvnKiejWj0JQiqtDf2JJ/Bitkit-Wallet?node-id=25792-117980&t=ZykrpdwwKyziDYc1-4
Reproduce

Go to '...'
Click on '....'
Scroll down to '....'
See error

Screenshots / Recording
No response
Operating system
Graphene OS, Iphone, Android
Bitkit version
v135
Log output
No response

Verified on v1.0.6 (138) both ways (to spending and to saving)


feat(all): Test doc upload with travis

Coverage decreased (-20.4%) to 64.144% when pulling f57279bdb70f22e3bee9e2a3f12d3e32a8903637 on amousset:test-travis into d967bbb12638f8dc5ad9c2df5c55b6d003eff817 on lettre:master.


PR: Implement a workaround to toggle on/off fullscreen mode for Windows systems

Description of Changes

Due to limitations of the Windows DWM, compositing is not handled correctly for OpenGL based windows when going into full screen mode.
To get around this issue, this PR propose to use the workaround described here:
https://bugreports.qt.io/browse/QTBUG-41309
Issue(s) Resolved

Fixes #4291

@jnsebgosselin Also works on Windows 10 (1803)

I rebased this PR to the 3.x branch as specified by the milestone of Issue #4291

@jnsebgosselin I started the rebuild, although you should be able to as well if you link AppVeyor to your Github.

Thanks @CAM-Gerlach.


CLI: Allow Input from stdin and Output to stdout

Description of the change
In this PR, the CLI crate is enhanced so that a hyphen (-) can be passed for the input argument or the output option instead of a file name indicating that stdio streams should be used.
Possible usage
# Use stdin for input and file for output
echo "console.log('Hello World!');" | javy compile - -o my.wasm

# Pipe wasm output into another command
javy compile my.js -o - | wasm-opt ...

# Use no files at all
echo "console.log('Hello World!');" | javy compile - -o - | wasm-opt ...

Why am I making this change?
I built a wrapper around Javy. The wrapper is not inherently working with files, but to make it work with Javy, I need to write the JavaScript to the filesystem and read the WASM from the filesystem.
Generally, the changes make the CLI of Javy more flexible.
Checklist

[x] I've updated the relevant CHANGELOG files if necessary. Changes to javy-cli and javy-core do not require updating CHANGELOG files.
[ ] I've updated the relevant crate versions if necessary. Versioning policy for library crates
[ ] I've updated documentation including crate documentation if necessary.

Thanks for the PR -- generally these changes seem reasonable to me. One thing to note is that we're currently thinking of revamping Javy's CLI interface (see #702).
Given that our intention is to move in the direction described in the issue linked above, it probably makes sense to include this change as part of the new build command. That said, you're not expected to take on the CLI changes, for this change to land. However, I'd like to ask if you're ok waiting until we at least introduce the command that will replace the current compile command in order to merge this?

Hi, thanks for the fast response! I agree on the point that it makes sense to incorporate the functionality into the upcoming build command.
From my point of view, the option to use the standard streams as input and output for Javy is a nice addition, but it is not too urgent.
So I can surely wait :)

Hi @konradkoschel, wanted to let you know that most of the backing infrastructure for the CLI redesign has landed on main, and I think it's now a good time to rebase, update and move forward with this change. Let me know if you have any questions.

Hi @konradkoschel, wanted to let you know that most of the backing infrastructure for the CLI redesign has landed on main, and I think it's now a good time to rebase, update and move forward with this change. Let me know if you have any questions.

Hi Saul,
I updated the branch. Could you check if the code changes are fine?
As discussed previously, I made the binary output the default instead of -o - as in the original implementation. Tests run successful on my side


expect: Improve report when matcher fails, part 8

Summary
For .toBeCloseTo matcher:

Display matcher name in regular black instead of dim color
Display expected and received difference to make criterion more transparent
Repeat not following Expected: and Expected difference: labels
Experiment to omit received value if it is equal to the not expected value (am happy if y’all can suggest as an alternative a concise explicit way to communicate that is reason why test fails)

For more information, see discussion with @jeysal in #7795
Residue for future pull requests:

In call to ensureNumbers helper function:

delete period in matcher name to display matcher name in regular black instead of dim color
provide options as argument to display promise and isNot

Decide whether .toBeCloseTo throws matcher error:

when expected or received is NaN
when precision argument is not integer number

Test plan
Updated 17 snapshot tests
See also pictures in following comments

16 example pictures baseline at left and improved at right
6 expected is finite number

4 expected is Infinity

3 expected is -Infinity

3 expected is NaN

JavaScript is consistent if confusing that NaN is not equal to NaN

So much nicer 👌
Agreed that it would be great to have a message without duplicate values if expected and received are equal, but one that still shows clearly why the assertion failed. Can't spontaneously think of a good way to do it that would be consistent with the regular message format though :/
Also, unconditionally using scientific notation might not be a good idea:

I think the default of Number.toString() that only uses scientific notation if a string representation would otherwise be very long might suffice?

Yes, simpler is much clearer to compare expected and received differences! What was I thinking?
Two updated improved examples are side by side:

Codecov Report

Merging #7876 into master will increase coverage by 0.05%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #7876      +/-   ##
==========================================
+ Coverage   58.46%   58.52%   +0.05%
==========================================
  Files         178      178
  Lines        6638     6647       +9
  Branches        6        5       -1
==========================================
+ Hits         3881     3890       +9
  Misses       2755     2755
  Partials        2        2

Impacted Files
Coverage Δ

packages/expect/src/matchers.js
99.48% <100%> (+0.02%)
:arrow_up:

Continue to review full report at Codecov.

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

Almost a year later, we finally found a way to follow up on review https://github.com/facebook/jest/pull/5512#discussion_r167392665 by Michał:

I'd move precision below received

I'm sure he's dancing with joy 💃

🕺


Research Phoenix LiveView

Since it's such a similar project, let's examine it carefully and learn what we can from it.
Related question: what's the mission statement of concur-replica, and are we intentionally building something different than LiveView in some ways? Eg in LiveView I believe you can have a page that's mostly static, but has one or more "LiveView"s embedded within it. Whereas with concur-replica either your whole page is concur-replica or none of it is.

Two more:

https://github.com/isovector/suavemente
https://github.com/fomkin/korolev (that's Scala though)


Remove command completely unfunctional.

TL;DR:
there's some counter intuitive things with this plugin.
One is that it creates an alias with the same name as the stage. (i see the docs on why this is there, and it's a good idea).
But it is counter-intuitive to serverless alias remove   and see the entire function be deleted.
I would expect only the alias to be deleted, and then serverless remove would delete the function.
original post
I thought I'd do a quick spike to test this plugin and found disappointing results.. however given the activity here I am wondering if I'm doing something dumb.
This is what I did:
serverless create --template aws-nodejs --path cicdFunction
Add plugin to yaml and npm install it.
serverless deploy
--> this gives me 2 cloudformation stacks..  named:

cicdFunction-dev
cicdFunction-dev-dev

Very strange.
Also, when I try to remove it:
serverless remove
I get this:
 Serverless Error ---------------------------------------

  Use "serverless alias remove --alias=dev" to remove the service.

That doesn't just remove the alias it removes the entire function.   I really need control over each independently.
Is this just a new plugin and this is expected or how can I massage it for now?

Yes, I faced the same issue while removing the master alias. It removes whole deployment stage and resources


Master-Detail pages

When creating onetomany it would be great if the pages for master-detail (parent-child) would also be created.

this should have been a pull request.


Update README.md installation/setup instructions

Fixes #53

Sorry, closing this one. I was confused because I have an umbrella app and I didn't put the {:ex_audit, "~> 0.9"} in the mix.exs file of all the apps that will be using it.


Added API for Einsen (Ktor)

Checkout Sample docs & request list.

Hey @kasem-sm  Thanks for bringing this up. I really appreciate your initiative 🙌


vSphere Cloud Provider: Look into the need for credentials to be stored on nodes kubernetes#35339

vSphere Cloud Provider: Look into the need for credentials to be stored on nodes kubernetes#35339

Just for tracking.
This issue is resolved by: https://github.com/kubernetes/kubernetes/pull/43545