TSEMO Convergence Error

Operating System: Windows 10
Python version: Anaconda 3.8 on Pycharm
summit version used: Various

Description
Using TSEMO to generate conditions for experimental closed loop optimisation.
What I Did
Attempted to run TSEMO using the attached .script and data. On Summit version 0.4, the system appeared to work fine. Running 0.6 onwards, I received the attached error.
sampledata.csv.txt
tempsummit.py.txt
TSEMOError.txt

There are multiple things going on here:

0.4.0 works very nicely but unfortunately misses a key step in the TSEMO algorithm: thompson sampling. It basically uses the mean predictions of the GPs instead of sampling a deterministic function. It's interesting that you say that 0.4.0 works well for you because multiple people independently told me that eschewing acquisition functions / thompson sampling has worked quite well for them in other BO algorithms. That said, without thompson sampling, it's not TSEMO.
The bug in 0.8.0rc0 is due to GP training. Somewhere between 0.4.0 and now,  I added priors to the hyperparameters  of the GP, just as done in the Matlab version. These extra constraints are important to performance, but are somehow causing the GP training to be inconsistent. I confirmed this by running your sample code without the hyperparameter priors; it ran smoothly without all the warnings or errors.  This training boondoggle is ultimately a problem with GPy, the package we're using for training GPs.  I am thinking about moving from GPy to GPytorch, which we've found to work a lot better in some other projects (e.g., multitask BO).


Standalone: Include OpenSSL DLLs for PyQt apps on Windows

What does this PR do?
Add the OpenSSL support on Windows within Qt applications.
PR Checklist

[x] Correct base branch selected.
[x] All tests still pass.
[x] Ideally new features or fixed regressions ought to be covered via new tests.

@kayhayen WDYT of this PR? I can rework it entirely if you prefer to.

Inch perfect, thanks a lot. I really appreciate including a test. :-)


Request for License Addition to Labelling-app Repository

Hello @MagiCzOOz ,
I hope this message finds you well. I am very interested in your Labelling-app repository and would like to reuse some parts of the tool. To ensure compliance with licensing and respect for your work, could you please consider adding a license to the repository?
Thank you in advance for your consideration.

Hello @SumaREK ,
Thank you for your message. Sorry for the response delay.
The license has been added. I hope this is helpful for you.

Thanks a lot @MagiCzOOz .


fix quick forge multiplier

When I check the actual time in hypixel than the sky shiiyu website is different. After checking the code, there is wrong value of forge_time_multiplier. This pull request is to fix this wrong forge_time_multiplier

Math checks out:


feature(eip): Add filter EIP

Adding filter EIP (https://github.com/KaotoIO/kaoto-backend/issues/130)
need https://github.com/KaotoIO/camel-component-metadata/pull/4

Codecov Report

Merging #137 (6e7ea69) into main (c342132) will increase coverage by 0.15%.
The diff coverage is 88.88%.

@@             Coverage Diff              @@
##               main     #137      +/-   ##
============================================
+ Coverage     81.30%   81.46%   +0.15%
  Complexity      148      148
============================================
  Files            43       43
  Lines          2092     2137      +45
  Branches        321      326       +5
============================================
+ Hits           1701     1741      +40
- Misses          281      283       +2
- Partials        110      113       +3

Impacted Files
Coverage Δ

...ployment/generator/kamelet/KameletRepresenter.java
94.73% <88.23%> (-0.53%)
:arrow_down:

...src/main/java/io/kaoto/backend/KamelPopulator.java
92.42% <88.88%> (-0.17%)
:arrow_down:

.../step/parser/kamelet/KameletStepParserService.java
77.59% <89.47%> (+1.01%)
:arrow_up:

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


Mismatch in TypedDict from typing versioning between pydantic and pydantic-core

pydantic-core uses TypedDict from typing if the Python version is 3.9 or higher. See code in pydantic_core/__init__.py:
if _sys.version_info < (3, 9):
    from typing_extensions import TypedDict as _TypedDict
else:
    from typing import TypedDict as _TypedDict

But Pydantic throws a PydanticUserError in pydantic/_internal/_generate_schema.py if TypedDict from typing is used from python versions below 3.12.
            if not _SUPPORTS_TYPEDDICT and type(typed_dict_cls).__module__ == 'typing':
                raise PydanticUserError(
                    'Please use `typing_extensions.TypedDict` instead of `typing.TypedDict` on Python < 3.12.',
                    code='typed-dict-version',
                )

I am not sure if pydantic-core or pydantic needs to be updated?
Selected Assignee: @dmontagu

I think it would make sense to update pydantic-core if anything, but does this discrepancy cause runtime problems?
We require the later version in pydantic because we support features that depend on that version of TypedDict (in particular, things like being able to store methods on the class) and we don't want to have to tell people "oh that one feature doesn't work because you've got the wrong TypedDict in use", but in pydantic-core, we don't depend on those features, so I'm not sure if the "inconsistency" matters?
If I'm wrong we can update it there though.


Sponsors / Weights

Hi! Thanks for the action!
Is it possible to also add sponsors to the list?

On one hand, we could do that only by also querying sponsors and adding them to the list.
On the other hand, that might create some small conflict with https://github.com/akhilmhdh/contributors-readme-action/issues/9, since we would now have to weight sponsors/contributors to put them in order. And I think https://github.com/akhilmhdh/contributors-readme-action/issues/9 is crucial because contributions are likely to follow a Pareto distribution.

We can solve that issue with:
contributors.sort((a,b) => (a.contributions < b.contributions) ? 1 : -1);

If we were to have sponsors, then we'd have something like:
       const sponsors_list = await octokit.request(`GET /repos/${owner}/sponsors`,{
            // I could only find sponsors in the GraphQL API v4 though
            // This is a bad example
            headers: {
                authorization: `token ${token}`,
              },
        })
       // ...
      const sponsors = sponsors_list.data.filter(el => el.type !== "Bot");

and then sort them with 100% preference for code contributions:
         const everyone = contributors.concat(sponsors).sort(function (a, b){
            const a_contributions = a.hasOwnProperty('contributions') ? a.contributions : 0;
            const b_contributions = b.hasOwnProperty('contributions') ? b.contributions : 0;
            if (a_contributions < b_contributions) {
                return -1;
            } else if (a.contributions > b.contributions) {
                return +1;
            } else {
                // assuming sponsorship in a 'sponsorship' field
                const a_value = a.hasOwnProperty('sponsorship') ? a.value : 0;
                const b_value = b.hasOwnProperty('sponsorship') ? b.value : 0;
                return (a_ sponsorship < b_ sponsorship) ? -1 : +1;
            }
        });

Or by providing weights:
        const everyone = contributors.concat(sponsors).sort(function (a, b){
            const a_contributions = a.hasOwnProperty('contributions') ? a.contributions : 0;
            const b_contributions = b.hasOwnProperty('contributions') ? b.contributions : 0;
            const a_ sponsorship = a.hasOwnProperty('sponsorship') ? a.value : 0;
            const b_ sponsorship = b.hasOwnProperty('sponsorship') ? b.value : 0;
            const a_score = a_contributions * contribution_weight + a_ sponsorship * sponsorship_weight;
            const b_score = b_contributions * contribution_weight + b_ sponsorship * sponsorship_weight;
            return (a_score < b_score) ? -1 : +1;
        });

Because weights might be somewhat arbitrary, it could create normalized weights (from 0 to 1 for both) if the weights are not provided:
        const max_contribution = Math.max.apply(Math, contributors.map(function(o) { return o.contributions; }))
        const contribution_weight = 1./max_contribution;
        const max_sponsorship = Math.max.apply(Math, contributors.map(function(o) { return o.sponsorship; }))
        const sponsorship_weight = 1./max_sponsorship;

That should mix both in a less arbitrary way.
I can help with any of these things if you find the ideas useful.
Thanks,

To reply to your comment on the other issue:
Thanks for your reply. Two categories would be good. Weighting is also ok. It's just an extra boolean. 😀
There might be pros and cons though. The sponsor might want to be seen just like a contributor and vice-versa. Or maybe I'm wrong.
Although we need some criteria to order the list, I think not discriminating people into discrete categories is usually the safest bet. But I might be wrong about that. In that sense, a boolean might help.

Lol, Tysm for the feedback. I think i need to restructure some of this. I am finding a pattern here so that we can join both the requirements. Currently I am using contributors API which gives back top 500 contributors of a project. So that part is solved. Now to top the maintainers I am thinking of two ways. To prioritize them to top category or add them into another section. The sponser part and for the core team members i need to check the API of github as they updated it. Will work on this feature this week.

For the number of contributors you could give an option to limit the number
of entries and then limit the array:
if (max_contributors != 0) {
    contributors = contributors.slice(0, max_contributors);
}

Sorting contributors by their contributions seem natural. If the person
wants the top contributors in another category, then it sounds like a very
specific use case, because you'd have to define what "top" means. Some
contributions are small, some are very useful, and truncating at a fixed
number may just include people who haven't contributed a lot. Not to
mention weights for the types of contribution. It's hard to foresee all
that. All I can foresee is a lot of people creating issues asking you to
include this or that parameter to define what they consider to be a "top"
contributor. Also, you'd have to maintain parameters for each discrete
category you create.
If the person wants to create another section for only for "top" or "most
X" contributors, what I would do is implement the option to truncate the
list as above and then the person could call the action as many times as
they want to create any number of discrete categorical lists.  That way the
user can vary the parameters each time to generate whatever category they
want:

Top sponsors: max_contributors = 5, sponsorship_weight = 1,
contribution_weight = 0, image_size = 200
Top contributors: max_contributors = 5, sponsorship_weight = 0,
contribution_weight = 1, image_size = 200
Top: max_contributors = 5, image_size = 200
All sponsors: sponsorship_weight = 1, contribution_weight = 0, image_size
= 100
All code contributors: sponsorship_weight = 0, contribution_weight = 1,
image_size = 100
Everyone: image_size = 100
... and so on
Then you don't have to worry too much... Note that this might create a
situation where a contributor has a score = 0, and we would have to remove
those.

As for the other people, it seems like they don't recommend using the API
v3 anymore though. It's probably best to move to the newer API if you
intend to keep working on actions anyway.
I noticed you look for a section name to decide where to put the
contributors. I'd also recommend looking for an HTML comment rather than a
section name. That's how the actions to update the README.md TOC work. It's
(i) easier to find a comment than a section, (ii) it's less intrusive to
the README.md file, and, this way, (iii) you also don't have to worry about
the specifics of the layout. The user can put two categories into one
section, mix it with some other text, or whatever they want.
On Sat, 5 Sep 2020 at 16:17, Akhil Mohan<EMAIL_ADDRESS>wrote:

Lol, Tysm for the feedback. I think i need to restructure some of this. I
am finding a pattern here so that we can join both the requirements.
Currently I am using contributors API which gives back top 500 contributors
of a project. So that part is solved. Now to top the maintainers I am
thinking of two ways. To prioritize them to top category or add them into
another section. The sponser part and for the core team members i need to
check the API of github as they updated it. Will work on this feature this
week.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/akhilmhdh/contributors-readme-action/issues/13#issuecomment-687650904,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABI67W3MMFOHEY2F7BS5IL3SEKFDHANCNFSM4Q3HWTHQ
.

--
Alan R. R. de Freitas
www.alandefreitas.com

For the number of contributors you could give an option to limit the number of entries and then limit the array:
if (max_contributors != 0) {
    contributors = contributors.slice(0, max_contributors);
}

Sorting contributors by their contributions seem natural. If the person wants the top contributors in another category, then it sounds like a very specific use case, because you'd have to define what "top" means. Some contributions are small, some are very useful, and truncating at a fixed number may just include people who haven't contributed a lot. Not to mention weights for the types of contribution. It's hard to foresee all that. All I can foresee is a lot of people creating issues asking you to include this or that parameter to define what they consider to be a "top" contributor. Also, you'd have to maintain parameters for each discrete category you create.
If the person wants to create another section for only for "top" or "most X" contributors, what I would do is implement the option to truncate the list as above and then the person could call the action as many times as they want to create any number of discrete categorical lists.  That way the user can vary the parameters each time to generate whatever category they want:

Top sponsors: max_contributors = 5, sponsorship_weight = 1, contribution_weight = 0, image_size = 200
Top contributors: max_contributors = 5, sponsorship_weight = 0, contribution_weight = 1, image_size = 200
Top: max_contributors = 5, image_size = 200
All sponsors: sponsorship_weight = 1, contribution_weight = 0, image_size = 100
All code contributors: sponsorship_weight = 0, contribution_weight = 1, image_size = 100
Everyone: image_size = 100
... and so on
Then you don't have to worry too much... Note that this might create a situation where a contributor has a score = 0, and we would have to remove those.

As for the other people, it seems like they don't recommend using the API v3 anymore though. It's probably best to move to the newer API if you intend to keep working on actions anyway.
I noticed you look for a section name to decide where to put the contributors. I'd also recommend looking for an HTML comment rather than a section name. That's how the actions to update the README.md TOC work. It's (i) easier to find a comment than a section, (ii) it's less intrusive to the README.md file, and, this way, (iii) you also don't have to worry about the specifics of the layout. The user can put two categories into one section, mix it with some other text, or whatever they want.

Yah I am gonna migrate to latest API now, also yah I need to shift to comment method than this.

@alandefreitas hey man, checkout v2.0. Kindly go through the readme, there are some big changes. I couldn't find API to fetch sponsors of a repo itself sadly. But u can now add custom list to satisfy it. If you find one please add it, ill be happy to add it to the project or feel free to PR.

Hey @akhilmhdh,
Cool! I'll update my repository later today to v2.0. I'm already using v1.0.
I see you are now using a comment to decide where to put the list. That's going to be very useful because I can write something before the list.
I also noticed you created a syntax to put who you want to mention directly in the README. So smart. Much better than my idea.
As for the sponsors, I had a look and I don't think you can get it with the API v3. To tell you the truth, I don't even have sponsors. 😆 I just thought it was a cool idea because you mention all-contributors-bot as an inspiration and people often use it to mention their sponsors. I actually find an action like yours much more useful than all-contributors-bot.
In any case, you can get it very easily with the GraphQL API v4. If you look at the explorer, and click the explorer button, it's under user/sponsorsListing. There are lots of options, but the basics would be:
{
  viewer {
    login
  }
  user(login: "akhilmhdh") {
    id
    email
    sponsorsListing {
      name
    }
  }
}

I'll send a PR when I find some time to work on that. But I feel like sending a PR moving to v4.0 just to include that would be too disruptive unless you want to move to v4.0 anyway. In any case, if you intend to keep working with the Github API for actions or some other reason, it's probably better to move to GraphQL API v4 anyway.

 But the issue is i saw this graphql, but the problem is its sponsers for a user rather than a repository : (

ohhhh. i didn't knew about that. Ok now I have an idea, ill add this feature soon. Then I can happily close this issue 😄 Will get back to you.

By the way, that's the query to get the collaborators:
{
  repository(name: "contributors-readme-action", owner: "akhilmhdh") {
    collaborators {
      nodes {
        id
      }
    }
  }
}

😀

@alandefreitas Hey 😄 . I am going to close this issue now. Coz released a new version v2.1 which supports sponsors too now. Feel free to open it if any issues arise on this topic.

Cool! Thanks @akhilmhdh !


[Auto Scheduler] Mali Support

This is the support of auto scheduler mali gpu support.
On one T880-MP4 mali gpu, the performance of TFLite mobilenet v2:
| Mobilenet V2
-- | --
MNN | 89
Auto Scheduler | 73
As AutoTVM need much time, I don't test it. But according to previous experience and we beyond one good accelerate framework MNN, I am confident that AutoScheduler's performance is better than AutoTVM.

@merrymercy @comaniac @jcf94

cc @antinucleon Apple's M1 GPU is more like Mali (such as unified memory) compared with nv gpu, maybe you could modify a little code and try.

cc @giuseros @u99127 I heard you have interest on auto scheduler for mali gpu on TVM Conf.

@comaniac @jcf94 @giuseros have addressed the comments. Please have another one round of look.

Thanks everyone @comaniac @jcf94 @giuseros


Update release pipeline

Update the release pipeline to have it be manually triggered, and create a tag itself if checks and scans are successful.
It looks something like this:

The release doc has been updated to follow this new workflow.

Codecov Report

Merging #602 (d889473) into main (6bc8b22) will increase coverage by 0.00%.
Report is 1 commits behind head on main.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #602   +/-   ##
=======================================
  Coverage   80.61%   80.61%
=======================================
  Files          78       78
  Lines        5333     5334    +1
=======================================
+ Hits         4299     4300    +1
  Misses        866      866
  Partials      168      168

see 1 file with indirect coverage changes

This change caused an issue.

https://github.com/google/osv-scanner/issues/632


Add Search Tooltip

A tooltip should be added to the discover screen to match the one being added to the .com site.
https://github.com/OB1Company/Design/issues/42

This was added in #1616


dashboard: optionally disable monthly reports

For some subsystems (e.g. kernel) such reports just don't make much sense, since there are too many incorrectly classified bugs in there. Make it possible to exclude such subsystems from periodic reminders.

PTAL


Without AppId Execution Switching Window

Hi,
My application don't have app id and am using "root" but the execution is very slow. if i use "exe" path as app id the execution is good but problem is "exe" working till login window after login WinAppDriver could not find elements since the window has changed, i am not able to use attach window because i could not identify any elements after login
Assume this:
Login window using "exe" - Successful
After login i need to get element to attach my current window (since the window changed from "exe" not working anymore

Did you check if using session.LaunchApp(); is fixing the issue ?
https://github.com/microsoft/WinAppDriver/blob/c33c66ba22b6cf2353146df28a5f8f3a54f762bd/Docs/FAQ.md#what-to-do-when-an-application-has-a-splash-screen-or-winappdriver-fails-to-recognize-the-correct-window
I would do a launchApp asfter the login is done to resync to 'root' window ?

i can't use session.LaunchApp(), after login my .exe path will not work currently am using 'root' for my whole execution,
till login i can use .exe after that my window will change so i am not able to use .exe

till login i can use .exe after that my window will change so i am not able to use .exe
That's the point, after you did the login, what happen if you redo session.LaunchApp() ?

after login my window has changed so i can't get any elements from new window then how can i attach to session ?

See this  to attach to an existing app window.


When the lag is greater than the length of the sequence, the calculated statistic is wrong

When the lag is greater than the length of the sequence, the calculated statistic is wrong, which should be null
    from coreforecast.grouped_array import GroupedArray
    from coreforecast.lag_transforms import RollingMean, Lag

    data = np.array([213, 173, 273, 284, 179, 409, 33])
    indptr = np.array([0, 7])
    ga = GroupedArray(data, indptr)

    rolling_lag1 = RollingMean(1, 1, 1)
    rolling_lag2 = RollingMean(2, 1, 1)
    rolling_lag7 = RollingMean(7, 2, 1)
    rolling_lag8 = RollingMean(8, 2, 2)
    print(rolling_lag1.update(ga))
    print(rolling_lag2.update(ga))
    print(rolling_lag7.update(ga))
    print(rolling_lag8.update(ga))

Output
[33.]
[409.]
[213.]
[213.]  # Wrong result

Hey. Which version are you using? I believe this was fixed in 0.0.12

Hey. Which version are you using? I believe this was fixed in 0.0.12

I was using version 0.0.7. After upgrading to 0.0.12, the problem is fixed. Thanks.


fail graceful and resume wallet sync

This is a follow-up to #1531
The Issue
In order to have a synced wallet,
as a user with unexpected claim errors or connection issues,
I want the wallet to keep syncing whats left, handling the error.
Steps to reproduce

claim "hello" in ascii or keep changing networks
sync the wallet

Expected behaviour
It syncs.
The goal is to have a working usable wallet even after some failures.
Handling is ideal for cases we know about, but we should still skip/retry/log for ones that failed.
Actual behaviour
Sync fails and the remaining (valid) history isnt synced.
Anything Else
Cases we know about already (grow this list as more are discovered):

connection lost (server switch during sync)
invalid payload (DecodeError)

Cases I expect to happen but we dont know exactly how:

claim with None in some attribute we didn't expect None
malformed claims, like invalid updates

Cases to check what happens:

orphan signed claims
semi-valid claims (invalid names or some field missing or not in the expected format)

Internal Use
Acceptance Criteria

Classic sync works even though claim parsing sync failed (you have your full balance and history, but some claims cant be listed, for instance)
Networking changes causes a resume in sync (maybe move to torba)
Exceptions during sync, if any, doesnt break the wallet component. (it's usable even though sync failed)

Definition of Done

[ ]  Tested against acceptance criteria
[ ] Tested against the assumptions of user story
[ ] The project builds without errors
[ ] Unit tests are written and passing
[ ] Tests on devices/browsers listed in the issue have passed
[ ] QA performed & issues resolved
[ ] Refactoring completed
[ ] Any configuration or build changes documented
[ ] Documentation updated
[ ] Peer Code Review performed

Closing in favor of https://github.com/lbryio/lbry/issues/1722


Sign In Module

Sign In Module has been implemented consisting of 2 categories Guest Login and Agent Login via OTP verification.


Use Filament specular model and parametrization

Implements: https://github.com/godotengine/godot-proposals/issues/3117
Closes: https://github.com/godotengine/godot/issues/22637
Supersedes: https://github.com/godotengine/godot/pull/52909
This PR improves our specular models by using the functions and parametrization from Google's filament renderer. Particularly, this makes the Schlick_GGX specular mode more efficient, it improves the quality and efficiency of both the clear coat model and the anisotropic model. Finally, this PR adds both clearcoat and anisotropy to IBL light sources, and adds anisotropy to Reflection Probes.
Before: (Note the lack of sky reflection on the left, and the fact that the sky reflection is isotropic on the right

After:

https://github.com/godotengine/godot/blob/3e7a545ecf9194891ef0fd774159ddfa4cebf5f6/servers/rendering/renderer_rd/shaders/scene_forward_mobile.glsl#L500 I think this should be changed SPECULAR_SIMPLE_GGX

https://github.com/godotengine/godot/blob/3e7a545ecf9194891ef0fd774159ddfa4cebf5f6/servers/rendering/renderer_rd/shaders/scene_forward_mobile.glsl#L498
Ah and the comment line too

@Chaosus good thinking. This raises another problem we have with the mobile renderer. If we change the default mode to Specular_schlick_ggx then it will default to simple GGX even if the use_simple_ggx option is not selected.
I guess to fix that, USE_SIMPLE_GGX should be defined in addition to SPECULAR_SCHLICK_GGX. So instead of adding a new specular mode, the project setting will just insert an extra define.
I will update the PR accordingly.

Update, this PR has been overhauled and is now ready for review. The original descriptions has been updated with new contents.

Looks fantastic!

Rebased on master! This PR should be good to merge once CI passes.

Thanks!


Investigate if we can use the Yosys uploaded to PyPi

@whitequark has been looking at how to get Yosys onto PyPi in a nice way to enable https://github.com/nmigen/nmigen
See if we can also [optional] use that package for diagram generation rather than the system or conda provided Yosys.

Further information

https://yowasp.github.io/ && https://twitter.com/whitequark/status/1275311099475353601?s=20
Also https://twitter.com/whitequark/status/1275460960585764864?s=20

@whitequark -- Any advice? We want to use Yosys to generate svg diagrams directly and json for netlistsvg from verilog files.

Sure, I think that should work. Are there any issues you've encountered?

Haven't tried it yet. Hopefully @daniellimws will have some time to look doing it.

Thanks to https://github.com/YoWASP/yosys/commit/aae50ce6a1e40861e2d576a2676013ae22ea9b9c this should be straightforward. @whitequark when will the next release to PyPi be? Currently this is not in the release build yet right?

As soon as https://github.com/YoWASP/yosys/actions/runs/153827693 finishes

Wow that's fast. Thanks!

Should be released now. Make sure, if you add a dependency to the package, to use something like >=0.9.post4547.dev9.


Improve mat-form-field layout according to specs

I'm talking specifically about <mat-form-field appearance="outline"> with text input inside but I guess it may be relevant for other types of form components as well.
Here's what we have in specs:

Nicely vertically aligned input...
which covers whole .mdc-text-field block...
which has correct height of 56px...
which has correctly positioned prefix icon...
which doesn't affect position of label when the field has focus or value...
etc...

Here's what we currently have in Angular Material:

Weird structure.
Incorrect height of 58.76px.
Prefix icon without any margin/padding...
which affects position of the label in "active" state...
etc...

I think it's important for such essential form component to meet specs. Until then it brings troubles of hack-fixing layout things just to make it look fine or be similar to Material components from other libraries that follow specs.
It's probably duplication of similar issue which is going to celebrate 3 years with status "open" next month 😞

Yes this is a duplicate of #11513.
Our MDC-based version of the form-field currently in @angular/material-experimental should be much on-spec.


Allow minor and patch versions for the webpack-stream dependency again

Fixes #11996.
/cc @Snuffleupagus

/botio-linux preview


CPU heavy requests cause other fast requests to be delayed?

Hi,
I'm using .NET Core 2, targeting .NET 4.6.1, with Kestrel + IIS Integration.
We have an internal application that:

Has a route that will perform some CPU heavy work inline (no task). Sometimes this route will also launch and async/await on another task to complete, that may take 5-10 seconds.

We have a "fast" route, that only pings a database, and returns in 10ms, using async/await.

Often, we notice route 2 will take an extra few seconds to complete (likely around the async/await).
I'm wondering whether, when route 2 does an await, does its completion get scheduled on the therad pool thread that is currently processing (and CPU blocked) for thread 1?
Is that a possibility? I'm trying to identify why the delays are occurring on an otherwise fast route.
Thanks

Perhaps the logs can make you wiser in how much time it takes to handle those requests.
If the client sends these requests via the same connection you may be seeing the fast request being delayed because there is a pending slow request (https://en.wikipedia.org/wiki/Head-of-line_blocking).

Thanks for the reply. Are there particular logs I should be checking?
What's interesting though is that there are latency spikes during the request, not necessarily a delay in the request starting. Thank you.

The default info logging shows request finish times:
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
      Request starting HTTP/1.1 GET http://localhost:5000/
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
      Request finished in 0.0679ms 200

To investigate further, what you can do is (without IIS):

Use a client to verify the fast route is always fast.
Then add another (separate) client that calls the slow route, and see how that affects the fast route.

Thanks, ill give this a go. Are you able to share some insights into how the request pipeline works?
Are there just ThreadPool threads being allocated to process requests, and when async/await happens. any thread pool thread can resume the thread context, unlike legacy ASPNET that requires the original thread (w/ sync context)?
Just trying to understand how its working underneath to better diagnose whats happening.

Closing! Thanks for the discussion.


How to best describe what mk does in a single sentence?

As mk is clearly not yet-another-build-tool and it does not replace any other tool, it is little bit hard to describe it.
What it does

detects project own build tools
allows user to easily run exposed test/build commands
minimize the keystrokes needed for running these commands
reports if a required build tool is missing
it is very easy to extend
it has zero configuration (at least for now) as its configuration is basically loaded from detected tools

Any single-sentence suggestion to describe what mk is would be more than welcomed, we need such description. Waiting for suggestions...

Become a wizard in open-source (?) contribution in no time with mk. (Why)
mk makes it really easy to contribute to any project out there. (How)
mk lets you run any command that you might use with other software projects. (What)


Updates to highlight and sponsor

set max-width for sponsor logo
show (2) highlight grid items on medium+ screens
add favicon
meta description + lang

https://hapipalcom-lmndgllguh.now.sh


Docker build fails due to syntax incompatibility in downstream library

Example session below, the version of golang in Debian Jessie doesn't understand the newer syntax. Using a newer version of golang works.
Step 6 : RUN mkdir -p $GOPATH  && go get github.com/buger/gor  && cd $GOPATH/src/github.com/buger/gor  && go build
 ---> Running in 9be8e9012659
# github.com/araddon/gou
/opt/go/src/github.com/araddon/gou/testutil.go:26: syntax error: unexpected range, expecting {
/opt/go/src/github.com/araddon/gou/testutil.go:34: non-declaration statement outside function body
/opt/go/src/github.com/araddon/gou/testutil.go:35: non-declaration statement outside function body
/opt/go/src/github.com/araddon/gou/testutil.go:36: syntax error: unexpected }
INFO[0177] The command [/bin/sh -c mkdir -p $GOPATH  && go get github.com/buger/gor  && cd $GOPATH/src/github.com/buger/gor  && go build] returned a non-zero code: 2

https://github.com/tellapart/aurproxy/pull/40

Thanks! Merged.


Atom.Object.defineProperty.get is deprecated.

atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace),
which returns an HTMLElement.
Atom.Object.defineProperty.get (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/src/atom.js:55:11)
Object.activate (/Users/micsar/.atom/packages/svg-preview/lib/svg-preview.coffee:11:9)

Fixed in d44bd833a31b055e6efe5ac5c69898207f649479


initInputStream() can fail depending on getViewPort() results

if getViewPort() doesn't return a valid node, initInputStream calls createLiveStream with an undefined node, which promptly fails with a runtime error.  This shouldn't happen, and should be handled gracefully in some fashion or other.
See https://github.com/serratus/quaggaJS/issues/394
See https://github.com/sin-tanaka/vue-quagga/issues/25

To easily reproduce, in React, if you don't have a viewport tag in your html, and you pass a null or invalid inputStream.target, or don't pass one at all, that seems to trigger it.

This also fails if you set inputStream.target to reference a <video> tag instead of a <div> tag.


Set up python and its package manager

Since I don’t typically work with Python, there are a few additional setup steps that may require more detailed instructions to avoid issues during installation.
For example, in Step 2 of the installation process, users may encounter an error when trying to run pipx install poetry. This occurs because pipx needs to be installed first. To prevent this, I recommend adding the following instructions to the README:

Install pipx: Open a terminal and run the following command:
python -m pip install --user pipx
Add pipx to PATH: Run this command to ensure pipx is added to your PATH:
python -m pipx ensurepath
Restart Terminal: Close and reopen the terminal to apply the changes.

That's a great feedback! I will fix it soon


Makefile errors

Makefile:1: ***missing separator.Stop

Works fine here, can you compile other 3ds homebrew projects?
Also, this https://github.com/filfat/3DS_UI#dont-use-this-like-really

Other projects just compile fine

Can you paste the makefile you are using on pastebin might be a issue due to copying from github

https://gist.github.com/filfat/bd00c47725fe64e5ca82781ebb79cb0a

Thanks! This worked :)

Came across another issue  3DS_UI/Fonts/OpenSans_Regular.h:No such file or directory

i dont maintain this anymore, and it never came to a usable state.
Don't remember how I solved that issue and frankly if you're looking to maintain this you should be able to solve it. Sorry.

^A little bit just-woke up cranky.
Anyhow, I'm looking into it right now.

If you camo across something please let me know.

@Pirater12 Better late than never..
I have now updated the library to work with the latest ctrulib which should also have fixed the font problem. You'll need to reinstall sf2dlib as we're now using a fork.
Let me know if it works out.


Add support for Magic Castle 8.0

Magic Castle 8 requires an SSH agent configured with the cluster's private key to upload files to the instances via SSH.
Therefore, to switch to MC 8, MC-UI needs to:

[ ] Generate a keypair for each new cluster (might be integrated into MC in a future release)
[ ] Save the keypair in persistent storage or database
[ ] Configure an SSH agent with the private key before performing terraform apply

Try this PR which implements the ssh key generation in MC:
https://github.com/ComputeCanada/magic_castle/pull/96

Thanks! It should work perfectly with MC-UI.
I will update the release of Magic Castle used in MC-UI when you officially release version 8.1.


Updated ACS Rooms Live Test to use PPE environment and resource

Description
Updated ACS Rooms Live Test to use PPE environment and resource. This change only affects the test.yaml file which is used in live test pipline
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[x ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

API change check
API changes are not detected in this pull request.


Fixing Donations

Noticed that donation doesn't work well regarding documentation.
It needs to go 0,088% of sending the amount to the specific wallet address which will be later split into 3 different addresses by futures script.
[ ]  Instead of 3 donations make one with 0,088% of each transaction which goes to wallet number: SCWSywQW6kgPcB5p5MrAGUS2qQkL5m6rDf
[ ] Please rename the variable from natureRecipient.address to sharingRecipient.address
[ ]  rename natureRecipient.amount to sharingRecipient.amount and fixed the amount to be 0,088% of transaction. All in all if sending 1 GCC coin it supposed to send donation to equal 0.00088 GCC, when sending 10 coins donation sending is 0.0088. Always 0,088% of transaction amount.
[ ] Make sure donation working on daemon and all compiles wallets as well.

As I see from the code donation is not implemented in the daemon, for now donation transaction is added only when user send money in the wallet. Here list of RPC commands https://github.com/TheGCCcoin/TheGCCcoin-source-code/blob/master/src/bitcoinrpc.cpp#L237. There are commands that allow to send money via RPC - they don't add donation transaction.

New version of Win and Mac wallets is available here: https://drive.google.com/open?id=0B0il7eoO84-sMHo5Ql9SbTVuNEU


Fix omp

Superseedes #34
Fixed and simplified omp detection for homebrewed libopenmp plus testing that stuff.

Is the plan to just land this or to also land https://github.com/abdes/cryptopp-cmake/pull/34 ? The goal of https://github.com/abdes/cryptopp-cmake/pull/34 is to add /opt/homebrew/opt to the path, which this PR doesn't seem to be doing. I would be surprised if this PR worked on Apple Silicon Macs. Were you able to test that?

Should work now also.

This does not work with:
❯ uname -a
Darwin Abdessattars-MacBook-Pro.local 22.1.0 Darwin Kernel Version 22.1.0: Sun Oct  9 20:15:52 PDT 2022; root:xnu-8792.41.9~2/RELEASE_ARM64_T8112 arm64

I installed libomp, and it went under /opt/homebrew/opt.
==> Pouring libomp--15.0.4.arm64_ventura.bottle.tar.gz
==> Caveats
libomp is keg-only, which means it was not symlinked into /opt/homebrew,
because it can override GCC headers and result in broken builds.

For compilers to find libomp you may need to set:
  export LDFLAGS="-L/opt/homebrew/opt/libomp/lib"
  export CPPFLAGS="-I/opt/homebrew/opt/libomp/include"

This is the output of the configure I run:
❯ cmake .. -D CMAKE_BUILD_TYPE=Debug -G Ninja -D CMAKE_MAKE_PROGRAM=ninja -D USE_CCACHE=ON -D CMAKE_VERBOSE_MAKEFILE=ON -D USE_OPENMP=ON
=> Project : cryptopp v8.7.0 (7fbbe2e27b42)
-- Using ccache (/opt/homebrew/bin/ccache) (via wrapper).
-- CPM: adding package<EMAIL_ADDRESS>(v1.2.3)
-- Using ccache: /opt/homebrew/bin/ccache
-- downloading/updating cryptopp
-- cryptopp directory found, pulling...
From https://github.com/weidai11/cryptopp
 * branch              master     -> FETCH_HEAD
-- Crypto++ auto fetched at: /Users/abdessattar/Projects/cryptopp-cmake/_build/_deps/cryptopp
-- Adding install integration test: int-install-default
-- Adding install integration test: int-install-prefix
=> Module : cryptopp
-- [cryptopp] CMake version 3.25.0
-- [cryptopp] System Darwin
-- [cryptopp] Processor arm64
-- [cryptopp]     CMAKE_OSX_ARCHITECTURES :
-- [cryptopp] CMAKE_HOST_SYSTEM_PROCESSOR : arm64
-- [cryptopp]      CMAKE_SYSTEM_PROCESSOR : arm64
-- [cryptopp] Target architecture detected as: arm64 -> CRYPTOPP_ARMV8
-- Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES)
-- Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES)
-- Could NOT find OpenMP (missing: OpenMP_C_FOUND OpenMP_CXX_FOUND)
-- OpenMP: Applying workaround for OSX OpenMP with old cmake that doesn't have FindOpenMP
-- OpenMP: Applying workaround for old CMake that doesn't define FindOpenMP using targets
-- [cryptopp] Generating cmake package config files
-- [cryptopp] Generating pkgconfig files
-- [cryptopp] Platform: ARMv8
-- [cryptopp] Compiler definitions:  CRYPTOPP_DATA_DIR="/Users/abdessattar/Projects/cryptopp-cmake/_build/_deps/cryptopp";CRYPTOPP_ARM_NEON_HEADER=1;CRYPTOPP_ARM_ACLE_HEADER=1;CRYPTOPP_DISABLE_ARM_CRC32=1;CRYPTOPP_DISABLE_ARM_PMULL=1
-- [cryptopp] Compiler options:
-- [cryptopp] Build type: Debug
-- Configuring done
CMake Error: install(EXPORT "cryptopp_Targets" ...) includes target "cryptopp" which requires target "OpenMP_TARGET" that is not in any export set.
-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.

Should work now also.

This (f00503d) works.
Please change the commit messages to meet the expectations of commitlint. Start with 'fix: ', have a short one line message, an empty line, then details of the commit changes. I use this to automatically generate the changelog 😄

@Vollstrecker This is good to go for a squash and merge with a conventional commit compliant message please 😄. I will leave it to you to do the merge... Thanks for your excellent contribution as usual. Thanks @smessmer for your help.

Done, I guess the description should be ok also, but this check doesn't seem to run on merge.

It's ok.
I recommend you do the simple steps in https://github.com/abdes/cryptopp-cmake/blob/master/CONTRIBUTING.md#conventional-commits to make your life much easier for future contributions. Your commit messages will be locally listed immediately before you push them.


Get Chat Box To Drag and Resize

The jQueryUI functions are no longer working with the transition to Aurelia framework.  Have tried a workaround to use a constructor to get the element ID and then use that to make the draggable and resizable calls, but that didn't work.  Need to find a solution that works without using jQueryUI.

should be fixed in your branch now


Add support for setting the log driver for a container

The log driver setting has a 3-level nested structure (HostConfig.LogConfig.Type) so I implemented a recursive function for mapping key names to JSON to replace the old special case for HostConfig.

Coverage remained the same at 100.0% when pulling 79055739c0acb7072636baa454bbd6967ee2d193 on timmartin:log_driver into 1e248234625c85c0716eb3924b386efae12356f6 on softprops:master.

Thanks for the patch @timmartin!


The RetainedVersions values are weird

The semantics are getting a little weird for this one, IMO, but I wanted to file an issue to see if it's just me.
AFAIK, the origins of the if RetainedVersions == 0 { RetainedVersions = 10 } logic was due to the integer value of an unset RetainedVersions value defaulting to zero - effectively disabling the retention. It was also impractical/impossible to test (was it default? was it set by a user?), so the zero value was taken to mean "not set by user" as a rule.
Then, we overload the real value of zero with -1 - an idiom which commonly means "unbounded" in many code bases - to mean zero.
Am I wrong that using the pointer value of Function.RetainedVersions would let us "reclaim" the zero value, because the pointer would be nil vs 0 when not explicitly set?

👍 I haven't changed the default personally but I agree that a pointer would be good


COMP: Add typescript types to "exports" in package.json

"types" outside exports is listed as a "fallback" per
https://www.typescriptlang.org/docs/handbook/esm-node.html#packagejson-exports-imports-and-self-referencing

@PaulHax if this change is hacked/applied in the package in your node_modules/, does it address the issues you were seeing?

That tweek does address it!
(itk-viewer may have been hitting this because  "moduleResolution": "nodenext", in the .tsconfig)


What about docs?

[ ] Create a docs folder
[ ] Create a new index.md document
[ ] Turn on GitHub Pages
[ ] Decide for more complex


'operator-sdk run bundle'  can't pull image

Bug Report
I use the 'operator-sdk run bundle' command to deploy an operator, but the result shows that it fails to pull the image.
[root@master1 memcached-operator]# operator-sdk run bundle <IP_ADDRESS>:8082/memcached-operator-bundle:v0.0.1 --skip-tls FATA[0120] Failed to run bundle: create catalog: error creating registry pod: get database path: get index image labels: error pulling image quay.io/operator-framework/upstream-opm-builder:latest: failed to copy: context deadline exceeded [root@master1 memcached-operator]#

What did you do?
......
make docker-build docker-push IMG="<IP_ADDRESS>:8082/memcached-operator:v0.0.1"
make bundle IMG="<IP_ADDRESS>:8082/memcached-operator:v0.0.1"
make bundle-build bundle-push
operator-sdk run bundle <IP_ADDRESS>:8082/memcached-operator-bundle:v0.0.1 --skip-tls

What did you expect to see?
'operator-sdk run bundle' can successfully pull the image.

What did you see instead? Under which circumstances?
[root@master1 memcached-operator]# operator-sdk run bundle <IP_ADDRESS>:8082/memcached-operator-bundle:v0.0.1 --skip-tls FATA[0120] Failed to run bundle: create catalog: error creating registry pod: get database path: get index image labels: error pulling image quay.io/operator-framework/upstream-opm-builder:latest: failed to copy: context deadline exceeded [root@master1 memcached-operator]#
Before executing the command, the image has been downloaded on the host in advance. And manually executing docker pull can also download normally.
[root@master1 memcached-operator]# docker images|grep quay.io/operator-framework/upstream-opm-builder   quay.io/operator-framework/upstream-opm-builder                             latest                         8e7dff444129        3 weeks ago         64.2MB

Environment
[root@master1 memcached-operator]# operator-sdk version   operator-sdk version: "v1.8.0", commit: "d3bd87c6900f70b7df618340e1d63329c7cd651e", kubernetes version: "1.20.2", go version: "go1.16.4", GOOS: "linux", GOARCH: "amd64"
[root@master1 memcached-operator]# go version    go version go1.14.7 linux/amd64
[root@master1 memcached-operator]# git version git version 2.17.1
[root@master1 memcached-operator]# kubectl version Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.0", GitCommit:"e19964183377d0ec2052d1f1fa930c4d7575bd50", GitTreeState:"clean", BuildDate:"2020-08-26T14:30:33Z", GoVersion:"go1.15", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.0", GitCommit:"e19964183377d0ec2052d1f1fa930c4d7575bd50", GitTreeState:"clean", BuildDate:"2020-08-26T14:23:04Z", GoVersion:"go1.15", Compiler:"gc", Platform:"linux/amd64"}
Operator type:
go

Kubernetes cluster type:

$ operator-sdk version

$ go version (if language is Go)

$ kubectl version

Possible Solution

Additional context
When I deployed operator(go) for the first time, it was possible to pull the image normally. But when I wanted to deploy the second operator (helm), the above error appeared. Then when I redeployed the first operator (go), the above error also appeared.

@Akiya95 what kind of cluster are you using? Are you able to docker pull the upstream-opm-builder locally?
/triage support

@Akiya95 what kind of cluster are you using? Are you able to docker pull the upstream-opm-builder locally?
/triage support

Bare-metal k8s deployed by kubespray.
kubectl version
Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.0", GitCommit:"e19964183377d0ec2052d1f1fa930c4d7575bd50", GitTreeState:"clean", BuildDate:"2020-08-26T14:30:33Z", GoVersion:"go1.15", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.0", GitCommit:"e19964183377d0ec2052d1f1fa930c4d7575bd50", GitTreeState:"clean", BuildDate:"2020-08-26T14:23:04Z", GoVersion:"go1.15", Compiler:"gc", Platform:"linux/amd64"}

Yes

Hi!  I see this problem, too.  I'm not sure if this is a doc issue or code issue.   The command described in Building Operators-> Go -> Quickstart and Tutorial
operator-sdk run bundle example.com/memcached-operator-bundle:v0.0.1

fails to pull the bundle image.  The argument should be prefixed with the IP address of the registry like (for docker registry case)
operator-sdk run bundle docker.io/example.com/memcached-operator-bundle:v0.0.1

It is not same (consistent) way to specify the image for the make command
make bundle IMG="example.com/memcached-operator:v0.0.1"

but it may be easier to change the doc instead of changing the opertor-sdk run bundle command.

OLM Integration -> Bundle Tutorial  has this
$ make bundle-build bundle-push BUNDLE_IMG=<some-registry>/memcached-operator-bundle:v0.0.1

So the dock should be updated.

OLM Integration->Bundle Tutorial->Testing bundles has this.
$ operator-sdk run bundle <some-registry>/memcached-operator-bundle:v0.0.1

So the doc should be corrected.


Fix #223 - Do not cast errors when diffing

Fix #223 — get rid of the undefined method error by removing cast to string.
Delete and converges stopped this when we updated error handling logic.

This doesn't change what I was trying to change on double taking it. It only removes the string message. The errors array was passed successfully before.


GPU RAM consumption?

It seems like the RAM consumption refers to the CPU RAM, right?
However, GPU computation is highly limited to its memory capacity.
Computation over super large dataset such as K-Means/t-SNE tends to cause out-of-memory w/o careful breakdown.
Does HyperLean specifically deal with super large input (Hosted on CPU memory but cannot reside on GPU memory all at once) regardless GPU memory size limit?

Hi. Good Q. I try my best to reduce total memory usage. I am not just using computational tricks, but also mathematical tricks (ie - use more memory efficient algorithms). For K-Means and TSNE, yes ur right, memory can explode dramatically. TSNE for eg has to perform Barnes Hut first, which is essentially X*X.T for euclidean distances. Not very memory efficient at all. Likewise, K-Means can cause problems when updating the centroids --> minusing a matrix with it's centroids consumes double memory.
My aim is to reduce these temporary copies. But yes, I can deal with input so long as ur data can fit in ur memory.
Say when u upload data to RAM, it takes say 12 GB / 16 GB for eg. Then I have 4 GB to play with. If you use for eg Sklearn or Scipy's Linear Reg / lstsq, you will experience a crazy memory usage, causing memory issues. Using Cholesky Decomp, I reduced the overall memory usage by more than 50%.
Also, yes, I have planned to break down computations if the memory usage exceeds the total capacity. You can check Hyperlearn2, where I have started implementing the necessary memory checks before something is even run.

https://github.com/danielhanchen/hyperlearn/blob/master/hyperlearn2/base.py
I'm slowing writing decorators to first:

Convert dtype to lowest possible (int32 --> float32 not float64) etc
Check possible memory usage, and for now, tells the user theres a memory problem.
If possible, I try to use more memory efficient algos if memory is restrictive (eg: using GESVD instead of GESDD if memory is a problem)
In the future, I plan to perform batch processing. Say for Kmeans, instead of minusing in 1 go for each centroid, I will do it sequentailly.

HyperLearn's goal is to make ML faster, but also less resource intensive.

It has been quite a while. Since then, I managed to implement the batch processing to iteratively compute the metrics between GPU and CPU memories. It surely works. However, I believe this could be a general pattern for similar methods in view of ever growing large datasets nowadays. On the other hand, methods not requiring everything in the memory to compute all at once should be encouraged to use such s UMAP. That should make life easier.

@farleylai Heyy!! So sorry I closed your issue - we have a new Discord channel https://discord.gg/eJQzD4sH
We're repackaging the entire package and making it fully streamlined, much faster and supporting many more algos.
I agree on batch processing - processing iterative chunks between GPU GRAM and CPU RAM is a smart approach!


Add details regarding when the callback function is invoked.

Developers (including me) think that this information would be useful to know, as it lets us know ahead of time whether or not PsSetLoadImageNotifyRoutine can catch image load(s) at the time we need it.

Thanks @qsneeze!  This should appear on the live site within an hour.


Override config for playground

Is your feature request related to a problem? Please describe.
When dockerizing prisma server and my api as separate containers, my prisma.yml under my api service looks like
endpoint: http://prisma-server:4466
datamodel: datamodel.graphql
hooks:
  post-deploy:
  - graphql get-schema
  - graphql codegen

and .graphqlconfig.yml is
projects:
  app:
    schemaPath: ./__generated__/app-schema.graphql
    extensions:
      endpoints:
        default: http://localhost:7071/api/graphql
  db:
    schemaPath: ./__generated__/prisma-schema.graphql
    extensions:
      prisma: ./prisma.yml

endpoint: http://prisma-server:4466 is a reference to the prisma server docker service which runs alongside my api service. localhost in this case refers to the api service which prisma deploy is run from. This works fine for running get-schema. However, when I run graphql playground and access localhost:3000/playground from the host, the db tab points to http://prisma-server:4466 and cannot be found.
Describe the solution you'd like
Would like to be able to override the config for graphql playground so docker host can access services via localhost.

Got this to work simply by changing my config to:
projects:
  app:
    schemaPath: ./__generated__/app-schema.graphql
    extensions:
      endpoints:
        default: http://localhost:7071/api/GraphQLTrigger
  db:
    schemaPath: ./__generated__/prisma-schema.graphql
    extensions:
      endpoints:
        default: http://localhost:4466

Removed the prisma extension and manually added the default endpoint url pointing to localhost. This way, prisma.yml is used within the docker service and points to the linked prisma-server service, while .graphqlconfig.yml is used by playground to point to localhost from the host machine.
I don't think my initial feature request is necessary as it was due to an incomplete understanding on my end, not lack of feature. Would be nice to see this better documented though.


Bug in fields_for semantic_fields_for

I am setting up a form with a has_many association and noticed an odd problem with any code placed under fields_for or semantic_fields for.
form do |f|
    # ...
    f.semantic_fields_for :reference_numbers do |j|
        j.inputs :company, :number, :suggested_price_each, :suggested_qty
        j.input :_destroy
    end
    # ...
end

In this case, only the destroy field is displayed and it as if the line wasn't included at all.

If I remove or comment out the destroy line, the other four fields display normally.

Further testing shows that only the last line of code a block such as this works. Any other prior lines, regardless of their quantity get ignored.
The complete source can be found at https://gist.github.com/91a486890d62d70f2d88 - Lines 21 to 41 are the complete form.

@gregbell I did exactly that, and the fields inside the semantic_fields_for block is not rendered
  form(:html => {:multipart => true}) do |f|
    f.inputs do
      f.input :name
      f.input :description
      f.input :website_url
      f.input :picture, :as => :file
      f.input :remote_picture_url, :label => "or Remote Picture URL"
    end
    f.semantic_fields_for :address do |a|
      a.inputs :phone, :street, :city, :postal_code
      a.inputs do
        a.input :province_code, :collection => Region.all.collect {|r| [r.code, r.code]}
      end
    end
    f.buttons
  end

@gregbell @chinshr I have the exact same issue, I'm trying to display a couple of fields from a has_one relation and if I wrap them as @gregbell said 7 months ago they simply don't show at all, and if I do it this way (see code below) it only draws the last item inside the semantic_fields_for block.
	form do |f|

		f.inputs "User Details" do
			f.input :nickname
			f.input :email
		end

		f.inputs "Profile Info" do
			f.semantic_fields_for :profile do |p|
				p.input :bio
				p.input :user_type
			end
		end

		f.buttons

	end

@ErneX the way I solved this is to do the same form inside HAML (although, html.erb will work as well). Here is my _form.html.haml example:
# Do this inside controller resource
# form :partial => "form"
# here is "_form.html.haml"
= semantic_form_for [:admin, @charity], :html => { :multipart => true } do |f|
  = f.inputs "Charity Details" do
    = f.input :name
    = f.input :description, :input_html => {:class => 'autogrow', :rows => 5, :cols => 20}
    = f.input :website_url, :as => :string
    = f.input :picture, :as => :file
    = f.input :remote_picture_url, :label => "or Remote Picture URL"
    = f.input :lat
    = f.input :lng
  = f.semantic_fields_for :address, f.object.address || f.object.build_address do |a|
    = a.inputs "Address" do
      = a.input :phone
      = a.input :street, :input_html => {:class => 'autogrow', :rows => 2, :cols => 20}
      = a.input :city
      = a.input :postal_code
      = a.input :province_code, :collection => Region.all.collect {|r| [r.code, r.code]}
      = a.input :country_code, :as => :hidden, :value => "US"
  = f.buttons

@chinshr I was trying hard to solve it within the ActiveAdmin DSL but I guess I'll drop a partial then with your tip, thanks a lot!


Use new filters implementation.

Accompanying PR to https://github.com/UnionOfRAD/lithium/pull/1211

Should this be part of a 2.0 release, since it's such a significant BC break?

Answered in https://github.com/UnionOfRAD/lithium/pull/1211#issuecomment-165499932


Does the computational graph implementation contains hard attention?

Regarding original paper, does the computational graph implementation contains hard attention (includes reinforcement learning)?

@Sanqiang No, it includes only soft version of the attention.


REQUEST: Korean Air A380-800 (RYDER It's Time LIVE IN MANILA Version)

Dear @kolos26 Please Release My Livery Thanks I Resized It!

Paw Patrol? Seriously?

Paw Patrol? Seriously?

Yes I've Watched It!

Paw Patrol? Seriously?

Yes I've Serious Watched It! But It's A Fictional Livery I SWEAR TO GOD!

If it's fictional kolos won't add it, but I can

Paw Patrol? Seriously?

Yes I've Serious Watched It! But It's A Fictional Livery I SWEAR TO GOD!

If it's fictional kolos won't add it

It Will Gonna Add It!

You mean that you're gonna add it?

You mean that you're gonna add it?

Yes!

That's very Cool!

https://en.wikipedia.org/wiki/AIRES_Flight_8250

That's very Cool!

Thanks!

ok!


Acknowledge testing dependencies in pyproject.toml

PR https://github.com/EMMC-ASBL/tripper/pull/52 fails due to external CI/CD tests implemented in this repo.
See issue https://github.com/EMMC-ASBL/tripper/issues/48 for a motivation for the failing PR.
The only change in the PR was to move some optional dependencies from dependencies to testing in pyproject.toml.
Since this is a testing framework, it should acknowledge testing dependencies.

It's up to the given repository that uses ci-cd to parse the correct extra installations: https://sintef.github.io/ci-cd/latest/workflows/ci_tests/#run-pylint-safety https://sintef.github.io/ci-cd/latest/workflows/ci_tests/#build-mkdocs-documentation
Here I've linked the documentation for the tests that seems to fail in your link.
Since this is not an issue of this repository, I am closing this issue. One should however probably be opened and fixed in your repository.


Added scaling solution for pooled host pools

@jamasten : Thanks for your contribution! The author(s) have been notified to review your proposed change.

I had to open a new PR b/c I couldn't edit the other PR either.

Thanks for the new PR @jamasten. This one replaces https://github.com/MicrosoftDocs/azure-docs/pull/79126, which was approved for merge.


chore: package version updated

Initial checklist

[x] I read the support docs
[x] I read the contributing guide
[x] I agree to follow the code of conduct
[x] I searched issues and couldn’t find anything (or linked relevant results below)
[x] If applicable, I’ve added docs and tests

Description of changes
TODO

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

Comparison is base (d745d55) 67.22% compared to head (65f2efd) 67.22%.
Report is 1 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #140   +/-   ##
=======================================
  Coverage   67.22%   67.22%
=======================================
  Files          12       12
  Lines         360      360
  Branches       34       34
=======================================
  Hits          242      242
  Misses        118      118

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


Slow startup for new projects

Describe the bug
Project startup time is indefinite in some cases.
To Reproduce
Steps to reproduce the behavior:

Click "Add custom emulator"
Click "Save & Run"
Sometimes the loading won't stop

Expected behavior
Loading times should be fast and consistent.

Closing this since https://github.com/onflowser/flowser/releases/tag/v2.0.0-beta


Create README section about contributing

Demand https://github.com/semantic-release/semantic-release format

@vlcekmi3


Actions stuck in delayed state.

SUMMARY
Actions stuck in delayed state for more than 5 hours.
ISSUE TYPE

Other

STACKSTORM VERSION
st2 2.10.3, on Python 2.7.5
OS / ENVIRONMENT / INSTALL METHOD
Installed on Linux OS.
Installed with one line.
Executions were working fine. We had around 50 actions triggered at a same time using script for stress test.
We have set concurrency limit set to 10.
We were expecting the actions to complete after few mins, but it got stuck.

I believe this issue was addressed in v3.0.0, but there is another issue with executions bouncing between delayed and policy-delayed status which will be addressed in v3.0.1 which will be out in the next week or two.

Initially actions went to policy-delayed, then it got stuck in delayed state.

As per my comment above - I would try upgrading to v3.0.0 (it works correctly there, it just causes some unnecessary bouncing between statues) and if that doesn't work, wait for the v3.0.1 release.

Please upgrade to v3.0.1.  There's a fix relating to delayed status.  We can reopen this issue if you encounter it again.


Check failed: vm. Must be able to initialize the VM

Add2App, when i runing my host app,there is a exception:
Check failed: vm. Must be able to initialize the VM.
and,my flutter doctor -v info :
[✓] Flutter (Channel master, v1.0.1-pre.3, on Mac OS X 10.13.6 17G65, locale zh-Hans-CN)
    • Flutter version 1.0.1-pre.3 at /Users/zhenqiang/flutter_sdk/flutter
    • Framework revision d74b1c2051 (2 days ago), 2018-12-07 14:19:09 -0800
    • Engine revision 7375a0f414
    • Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    • Android SDK at /Users/zhenqiang/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = /Users/zhenqiang/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
    • All Android licenses accepted.

[✗] iOS toolchain - develop for iOS devices
    ✗ Xcode installation is incomplete; a full installation is necessary for iOS development.
      Download at: https://developer.apple.com/xcode/download/
      Or install Xcode via the App Store.
      Once installed, run:
        sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
    ✗ libimobiledevice and ideviceinstaller are not installed. To install with Brew, run:
        brew update
        brew install --HEAD usbmuxd
        brew link usbmuxd
        brew install --HEAD libimobiledevice
        brew install ideviceinstaller
    ✗ ios-deploy not installed. To install with Brew:
        brew install ios-deploy
    ✗ CocoaPods not installed.
        CocoaPods is used to retrieve the iOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without resolving iOS dependencies with CocoaPods, plugins will not work on iOS.
        For more info, see https://flutter.io/platform-plugins
      To install:
        brew install cocoapods
        pod setup

[✓] Android Studio (version 3.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 31.1.1
    • Dart plugin version 181.5656
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[✓] Connected device (1 available)
    • H60 L01 • 7N2SSE155J045614 • android-arm • Android 6.0 (API 23)

and i am in  master channel.
Can anybody help me for this problem?

Check failed: vm. Must be able to initialize the VM.

Is this the exact and full error output?

Duplicate of #24679

#24641

yes,this is the full error output.
can you tell me how to solve it?
please,thank you very much.

@zoechi  yes,this is the full error output.
can you tell me how to solve it?
please,thank you very much.

@zoechi  And this is a known issue?When to solve? thanks a lot.

@SolveBugs I solve it by #24679 from @jelenalecic
remember release add proguard

@nesger 你好，怎么解决的？我的问题是apk中的assets文件里少了flutter_assets文件夹，导致dart虚拟机初始化失败

@nesger 按照这个步骤吗？
1。Import flutter module to your HOST app(set binding, implementation, and instantiate view/fragment)
When you clean/rebuild from HOST app, flutter module does not generate properly
2.You need to open your flutter module in a separate AS
3.flutter clean
4.cd .android
5./gradlew clean
6./gradlew assembleDebug
7.Return to host app and run app(do not sync or rebuild) :)

@nesger 按照这个步骤吗？
1。Import flutter module to your HOST app(set binding, implementation, and instantiate view/fragment)
When you clean/rebuild from HOST app, flutter module does not generate properly
2.You need to open your flutter module in a separate AS
3.flutter clean
4.cd .android
5./gradlew clean
6./gradlew assembleDebug
7.Return to host app and run app(do not sync or rebuild) :)

@SolveBugs 嗯，我是按照这样去处理的。
不过不需要将flutter module在一个单独的模块开启。
另外需要注意的是不要用IDE去运行主Module。
你这样操作之后。直接到主模块运行 ./gradlew installDebug
如果你要先执行 clean，就按照如下步骤：

cd 到主模块
2.执行./gradlew clean
cd 到Flutter模块
执行上面3-6。第6可以换成./gradlew assemble。这样可以把release也打包出来。
cd 到主模块
执行./gradlew installDebug
然后看看效果。应该是可以的。
这边后续会写下博客记录这个坑。耗费了很多时间

@nesger  好的我试试。大佬写好文章了告知一声

@SolveBugs 更多问题可以看下我的 FlutterNote，后续会记录使用过程的坑。刚好最近实际项目有需求会使用。https://github.com/nesger/FlutterNote。
可以 star 和 follow 一波。后续会更新的。

最简单的一种方法是先单独运行一下flutter里的main.dart，然后再运行app就可以了。


Optional Amplify Console UI changes

How did you install the Amplify CLI?
No response
If applicable, what version of Node.js are you using?
No response
Amplify CLI Version
11.0.5
What operating system are you using?
Mac, Windows, Linux
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No
Describe the bug
The new Amplify Console design should be optional and not mandatory.
Some features such as: build stages, Cypress integration are gone, and it's inadmissible to push such changes without noticing them in advance.
Expected behavior
The new UI is optional in respect for the projects which uses Amplify Gen 1 and the migration to Gen 2 is impossible because of unstableness of Amplify.
Reproduction steps

Check Amplify Console.

Project Identifier
No response
Log output

# Put your logs below this line

Additional information
No response
Before submitting, please confirm:

[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

Another issue: Openning custom headers on an application is not possible
then, trying to navigate to all apps is not working. It changes only the url, staying on the same page

I am also seeing this issue. As far as I can tell the steps to reproduce are simply to have had custom headers set up prior to the new UI having rolled out. As mentioned, simply clicking the link to view the headers results in this error:

The console error itself is:
TypeError: JSON.parse(...).map is not a function

This maps to the following code:
            var t = {
                customHeaders: JSON.parse(e).map((function(e) {

This is happening because e here is an object, not an array:

It seems that after parsing it is expecting to match the application, then key in on .customHeaders

@TenetMax @dorutiuga Can you share your Amplify app id on which you are observing the custom headers issue?

@TenetMax @dorutiuga Can you share your Amplify app id on which you are observing the custom headers issue?

Sure, d6myjg10lg61f

The navigation throw Amplify console with Safari is almost impossible. After some clicks on different sections(try to click on previous builds and check the logs, the UI is freezing and only page refresh helps.)

@TenetMax @dorutiuga Can you share your Amplify app id on which you are observing the custom headers issue?

d1rmomz2jsmjjk

I can't change the production branch in the new interface. I don't get any error, it just does not update
https://github.com/aws-amplify/amplify-backend/assets/44581880/701ed176-96d5-46e7-98b2-99d083223061

@Jay2113  Is there a reason to not have the new Amplify Console UI as optional, at least for a while?. Every AWS service provided an option to choose between new UI and old one. Why Amplify can't?

@Jay2113 @hackmajoris (With a lot of frustration on me) This UI is not as good as the old one, I wish there were an option to use the old one

@Jay2113 @hackmajoris (With a lot of frustration on me) This UI is not as good as the old one, I wish there were an option to use the old one

After few months it gets better, but still miss the old one


Add an option to not undeploy the app

Sorry I really don't remember the use case for this, but I remember that was useful sometimes to not undeploy the app.

#bucharest-gold.log:Feb 19 11:00:20 <helio-frota>	2. I can use minishift + rhoaster locally but since it does undeploy , it makes more difficult to understand what's happening with the integration test
#bucharest-gold.log:Feb 19 11:10:56 <lholmquist>	helio-frota: just uncomment the part that undeploys :)

I don't think rhoaster will undeploy unless you call undeploy directly,  so i don't think there needs to be an option
i think i remember this conversation.  we were talking about this i think,  https://github.com/lholmquist/nodejs-rest-http/blob/582adfc8d660838b4b7687fc642bde776705609a/test/integration/greeting-integration-test.js#L13

yup was something like this.
maybe don't need to be 1 option for sure.
I'm going to close this issue, thanks!


New Crashplan Release 8.8.2

Looks like there is a new Crashplan release 8.8.2 available for download, getting warnings in my log file. It is already showing up in the admin panel for download as well.
I 01/18/22 05:21PM Downloading a new version of Code42. W 01/18/22 05:25PM Download of upgrade failed - version<PHONE_NUMBER>882, connection lost.
--
Adam

Thanks, I will update the Docker image.

Download link:
https://download.code42.com/installs/agent/cloud/8.8.2/143/install/CrashPlanSmb_8.8.2_1525200006882_143_Linux.tgz

New Docker image available.


Drop .NET Core 2.1 (now Out of Support)

.NET Core 2.1 End of life
.NET Core 2.1 reached end of life in August 2021. Microsoft.Data.SqlClient v4.0 drops dedicated support for .NET Core 2.1, and fallbacks to .NET Standard 2.0 for consuming applications. Customers are recommended to migrate their apps to use supported versions of .NET Core 3.1+.
Reference: .NET Support Policy

LGTM.
NIT: There are a couple of places that needs to be considered  if we want to take those mentioned netcore2.1  out:

SNIStream.cs line 10 in the comments
SqlClientEventSource line 22 in the #region


Can't save image on Android 10

Hello,
When I try to save an image on Android 10, I get this error message : "ENOENT (No such file or directory)"
Any idea ?

Hi @roxteddy . Could be a problem with weird URLs that dont translate well to a filename/folder on Android.
I remember encountering this issue and making a fix for it on my fork of this plugin.
Check it out on: https://github.com/xmarkclx/cordova-plugin-photo-library-sism

Hi @xmarkclx it does not work better with your version. Have you tried it on Android Q ? Seems like they changed to way and places where we are authorized to write media files. I'm planning on doing my own fork.

The easy way would be to add the android:requestLegacyExternalStorage="true" entry to the manifest thru the plugin config.
https://developer.android.com/training/data-storage/files/external-scoped#opt-out-of-scoped-storage
And after that it will ask to completely rework the way we write media files but I miss time for now :S

android:requestLegacyExternalStorage

Hi @roxteddy , have you come across this error msg after adding android:requestLegacyExternalStorage="true"

~/platforms/android/app/build/intermediates/merged_manifests/debug/AndroidManifest.xml:35: AAPT: error: attribute android:requestLegacyExternalStorage not found.

I got this error after i put the following into my config.xml file in ionic project.

android:requestLegacyExternalStorage

Hi @roxteddy , have you come across this error msg after adding _android:requestLegacyExternalStorage="true"_

~/platforms/android/app/build/intermediates/merged_manifests/debug/AndroidManifest.xml:35: AAPT: error: attribute android:requestLegacyExternalStorage not found.

I got this error after i put the following into my config.xml file in ionic project.
<edit-config file="AndroidManifest.xml" mode="merge" target="/manifest/application" xmlns:android="http://schemas.android.com/apk/res/android"> <application android:requestLegacyExternalStorage="false" /> </edit-config>

Hi @mingyiyangyarris ,  after adding android:requestLegacyExternalStorage="true"  i am getting the same error which you got. Did you find any solution?

Any news about that?

android:requestLegacyExternalStorage

Hi @roxteddy , have you come across this error msg after adding _android:requestLegacyExternalStorage="true"_

~/platforms/android/app/build/intermediates/merged_manifests/debug/AndroidManifest.xml:35: AAPT: error: attribute android:requestLegacyExternalStorage not found.

I got this error after i put the following into my config.xml file in ionic project.
<edit-config file="AndroidManifest.xml" mode="merge" target="/manifest/application" xmlns:android="http://schemas.android.com/apk/res/android"> <application android:requestLegacyExternalStorage="false" /> </edit-config>

Hi @mingyiyangyarris , after adding android:requestLegacyExternalStorage="true" i am getting the same error which you got. Did you find any solution?

I am also getting this error. Have anyone found a fix?

AndroidManifest.xml
<application android:requestLegacyExternalStorage="true"
is work

I think you get that error because of your compilation API version.
Anyway, LegacyExternalStorage is not a solution since we will be forced to use latest API target by september for new apps and november for all aps and they removed this legacy option.
we have to find a new solution to save files. Possibly using the Android Media library.


Windows.System.LauncherOptions doesn't implement IInitializeWithWindow on RS5(10.0.17763 Build 17763)

[Enter feedback here]
Casting Windows.System.LauncherOptions to IInitializeWithWindow on Win10 RS5(10.0.17763 Build 17763) version fails with WinRT originate error - 0x80004002 : 'No such interface supported', but works fine on Win10 Vb(20H1).
But documentation says that Windows.System.LauncherOptions implements IInitializeWithWindow.

Could be helpful if documentation gives more information on OS version support.

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

ID: 33db1089-cdfe-70c9-1eea-153a2aa8c70b
Version Independent ID: 33db1089-cdfe-70c9-1eea-153a2aa8c70b
Content: Display WinRT UI objects that depend on CoreWindow - Windows apps
Content Source: hub/apps/develop/ui-input/display-ui-objects.md
Product: reunion
Technology: apps
GitHub Login: @stevewhims
Microsoft Alias: stwhi

Thanks, @Manohar-Gunturu! And I got your email (via Michael) at the same time. :) The fix is now published. And it looks like this is the only place in the docs where we talk about querying for that iface from that type.
Thanks!
-Steve


Point the default patch image to the stable tag

As the latest tag points to the latest commit of v1.7 branch of the Opendatahub/kubeflow.
We would like to point the default image to the stable tag, so  we always have a stable changes available in notebook-controller.
Point to the image of the branch:  https://github.com/opendatahub-io/kubeflow/tree/stable

https://quay.io/repository/opendatahub/odh-notebook-controller?tab=tags
https://quay.io/repository/opendatahub/kubeflow-notebook-controller

/approve
Related-to : https://redhat-internal.slack.com/archives/C0562LQBWMP/p1698335745064349?thread_ts=1698276339.025789&cid=C0562LQBWMP


removed geojson encoding

Codecov Report

Merging #24 (792c7e2) into main (831855a) will decrease coverage by 0.44%.
The diff coverage is n/a.

Additional details and impacted files

@@            Coverage Diff             @@
##             main      #24      +/-   ##
==========================================
- Coverage   64.61%   64.16%   -0.45%
==========================================
  Files          34       34
  Lines        1865     1842      -23
==========================================
- Hits         1205     1182      -23
  Misses        543      543
  Partials      117      117

Impacted Files
Coverage Δ

rwgps/encoding.go
73.17% <ø> (-9.65%)
:arrow_down:

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 831855a...792c7e2. Read the comment docs.


[silgenpattern] Fix the box handling in the old silgenpattern enum co…

…de to not pass a load_borrow payload as BorrowAlways instead of TakeAlways.
Thanks to Luiz Fernando Silva for the test case!
SR-9871
rdar://problem/47852446

@swift-ci smoke test

Hmmm... looks like on Linux we are leaking protocol descriptors?! That is not this bug... I will see if I can turn off that check on linux and create a separate PR with a separate test that checks for that leak that is XFAILed.

Disabled leaks checking in the asan test.

@swift-ci smoke test

@swift-ci smoke test

@swift-ci smoke test

@swift-ci smoke test


Fix a few more docs examples

#403 got merged a bit too quick ;).  Here are a few more places in the docs which needed to be changed back to index as well.

Feel free to squash the commits.   Last update c25a0b6...27c048b

Thanks again :)


Attempting to use uninitialized value RNN/GRUCell/Gates/Linear/Bias

Environment info
Operating System:
Rocks OS (Centos 6.5)
I installed from sources, and here is my version:
https://github.com/shiyemin/tensorflow/
Nothing changed but to make it compile successfully on our server.
ERROR
I use https://github.com/ethereon/caffe-tensorflow to convert caffe model to tensorflow and the GoogLeNet is selected to construct our network.
I add  a LSTM layer to this code as follows:
@layer
def lstm(self, input, lstm_type, n_steps, initial_state, num_units, name):
    #  with tf.variable_scope(name) as scope:
    input_shape = input.get_shape()
    dim = 1
    for d in input_shape[1:].as_list():
        dim *= d
    input = tf.reshape(input, [input_shape[0].value, -1])

    # select LSTM type, Define a lstm cell with tensorflow
    if lstm_type == 'basic':
        lstm_cell = rnn_cell.BasicLSTMCell(num_units, input_size=dim)
    elif lstm_type == 'lstm':
        lstm_cell = rnn_cell.LSTMCell(num_units, input_size=dim)
    elif lstm_type == 'GRU':
        lstm_cell = rnn_cell.GRUCell(num_units, input_size=dim)
    else:
        raise ValueError("LSTM type %s error."%lstm_type)

    # Split data because rnn cell needs a list of inputs for the RNN inner loop
    input = tf.split(0, n_steps, input) # n_steps * (batch_size, n_hidden)

    # Get lstm cell output
    outputs, states = rnn.rnn(lstm_cell, input, initial_state=initial_state) # , scope=scope)
    outputs = tf.concat(0, outputs)
    return outputs #, states

When i add this LSTM layer to GoogLeNet, "Failed precondition: Attempting to use uninitialized value  RNN/GRUCell/Gates/Linear/Bias" occurs. But when i using the code from https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/3 - Neural Networks/recurrent_network.py, everything works well.
Anyone knows what happened? I don't know how to debug this error.

Unless you think this is a bug in TensorFlow, this question is better suited to StackOverflow


Make the ability to run the command /jalist and /jalookup a premission

Make the ability to run the command /jalist and /jalookup a premission

Need to work on allowing custom permissions.  Meh it will be fun.

https://github.com/Civcraft/NameLayer/pull/191


Windows invalid URL escape panic

panic: parse file://C:%5CUsers%5Cusername%5CDesktop%5Cq%5Cql.db: invalid URL escape "%5C"

Not u'r fault, but library, which one i used to wrap your. My bad, again :D


make std::filesystem optional

Description
Add a switch to disable std::filesystem so it can be disabled if required on older compilers, this should let users that older compilers versions to disable it, solving #378 for meson and cmake, additionally checks in the source code if the header is found
changes

CMakeLists.txt: adds a new option that is disabled by default
Database.h

adds an additional check for <filesystem> and <experimental/filesystem>
checks for the previous switch and disables the support if enabled

meson.build/meson.options adds the same option that disables std::filesystem support

I think this PR should be made on 3.2.1 or greater as is a new feature/enhancement itself and should come with the other planned project cleanups, please let me know if there is anything else required

closed by mistake

Thanks!
And yes I agree, this should be released as part of 3.2.1, which I plan to release tomorrow if all goes well.
Sadly, there were no CI/CD checks on this PR, I think because it was closed (or I missed something else?) so I'll have to check status on master post-merge.
Cheers!


⚠ SceneTime has degraded performance

In d622689, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1362 ms

Resolved: SceneTime performance has improved in cd77c60 after 9 minutes.


Editorial content should have an optional original publication date field for reposted content

Maybe this should be expanded to just handle reposts better, since they are a little different (should also have original url), but that is also a much bigger task to do properly.

Replaced by #558


Reduce README

Model building example is in the tutorial now.

Should we have a version for Entity???

I'm working on it.

You can obtain tools of entity preprocessing from evaluation/utils.py.


ISSUE: Kwikset 910 Z-Wave - Pin won't set with 'device_id' and 'domain' defined in action/sequence

Describe the bug
I currently have 3 Kwikset 910 Smart locks installed and am using ZWaveJS to manage them in my HASSIO instance (RPi). When I initially installed and setup Keymaster, the codes that we being set/enabled within the lovelace dashboard would not carry over to the zwave_js config (i.e., they weren't actually registering with zwave_js and thus not actually being saved to the lock configuration). However, after adding in the device_id and domain to the code configuration yaml (in this case, /config/packages/keymaster/backdoor/backdoor_keymaster_1.yaml), setting the code via the lovelace dashboard worked flawlessly.
Thus, my request is to have those key, value pairs automatically added to the config file. Please let me know if any additional information is needed. Thank you!

Environment (please complete the following information):

OS: HASS OS
Type of system that HA is running on: RPi4
Home Assistant version: core-2021.11.5
Component version: v0.0.77
Z-Wave integration name: zwave_js
Lock make and model: Kwiskset 910

Please do not post images of text.

Also note the device_id and domain information is not used with the add_code service call so it gets removed.

@firstof9 - apologies for posting the image. And you're right, it worked without those fields. I'm not sure why I was seeing that issue to begin with. Closing issue


missing requires

i might be missing something or installing differently since i'm not using rocks.
any objections to explicitly requiring these? perhaps they were included in your global namespace somehow?

String and table should always be available as globals. They're part of the lua standard library.
Where did you get your lua from?

https://github.com/mozilla-services/lua_sandbox which runs inside of heka:
https://github.com/mozilla-services/heka
On Sat, Jun 20, 2015 at 4:51 PM, daurnimator<EMAIL_ADDRESS>wrote:

String and table should always be available as globals. They're part of
the lua standard library.
Where did you get your lua from?
—
Reply to this email directly or view it on GitHub
https://github.com/daurnimator/lpeg_patterns/pull/1#issuecomment-113842535
.

https://github.com/mozilla-services/lua_sandbox which runs inside of heka:

As noted at https://github.com/mozilla-services/lua_sandbox#functions-exposed-to-lua-by-the-core-sandbox

base library
The require() function has been modified to not expose any of the package table to the sandbox.

I don't want to support non-standard lua environments.
I'd suggest you simply do what they didn't, and register table, string, math, etc. into the global environment.
_G.table = require "table"
_G.string = require "string"
local lpeg_uri = require "lpeg_patterns.uri"

Ah, ok. So Lua is embedded all over the place in 'non-standard' ways. I'll use something else.

Ah, ok. So Lua is embedded all over the place in 'non-standard' ways. I'll use something else.

You can still use this library; you'll just need to require the standard libraries into the global namespace before you require "lpeg_patterns" (as I showed in my example above)


hide the dock icon

This is a minimal menubar app that runs in the background. I would like to hide the app from appearing in my dock when the app is running.

which version are you perhaps using? Because normally that does not occur...


Updated Hana CLI Extension

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR:
docker run -it microsoft/azure-cli:latest
export EXT=<NAME>
pip install --upgrade --target ~/.azure/cliextensions/$EXT "git+https://github.com/PakDLiu/azure-cli-extensions.git@donaliu/UpdateSapMonitor#subdirectory=src/$EXT&egg=$EXT"


saying without action throws two errors

We should remove the first one if possible.

Closed by https://github.com/samtecspg/articulate/commit/589d89015d12f58bb39dbda2864238172a45f1df


Assassins Odyssey 1.5.1 Camera Breaks Final Patch

The 1.5.1 version of the game has been released and is the final patch that will be released by Ubisoft!
It would be incredible if you could update the camera system to work with this version as a final update.
The latest camera crashes the game, unfortunately.
Thank you so much for the amazon tool Frans, you have a great talent to be able to create this. I wouldn't know where to begin!
I will send you a donation as soon as I can afford it :)
Thanks again
Dean

Thanks :)
Strange tho, I have 1.5.1 and it works fine here. When exactly do you inject the camera? Do you have the steam version? I did hear about someone with the steam version which had a crash too but it did fix itself for some reason, will ask what they did.

From the user:

Regarding the earlier AC:Odyssey crash I got for the Steam version - it works now and it was because either I was playing in fullscreen or I was so dumb as to forget to disable the game's own photomode in Options.

Frankly I don't know why these would help, as it should work regardless, but as I have the Ubisoft version I don't know what's causing a crash. If you have the ubisoft version, then ignore this post ;)

Thank you for your fast response!
I'm actually using the uPlay version, playing on 4k.
I did a bunch of tests injecting at the menu screen and when the game has already loaded with different display modes.
The only way I was able to get it working was by putting the game in windowed mode, injecting and then switching to full screen.
The only real issue is the resolution scaling of the camera menu in 4k as the ctrl zoom doesn't work with this method.
I am happy to have it working tho, even if it is with this strange workaround.


HTTP request errors, no videos playing

I'm submitting a ...

[x] bug report
[ ] feature request
[ ] support request

General infomration
Prerequisites

[x] Are you running the latest version?
I'm running the latest version from MSL2 branch.

Description
Video playing doesn't work, nothing happens. Sometimes the plugin doesn't open at all.
Steps to Reproduce

Open Netflix
Play a video

Expected behavior: [What you expected to happen]
I expect the video to play
Actual behavior: [What actually happened]
The video doesn't play, a grey background shows for a second, then it goes back to normal background, and progress bar just disappears.
Sometimes the plugin doesn't run at all ("Netflix error" when trying to open).
Context (Environment)
Installation

[ ] I installed the plugin via zip from the Releases page
[ ] I´m using the Netflix Repo
[x] I´m using a different source (Please tell which)
I'm running the latest version from MSL2 branch. Installed from ZIP.

Operating System

[ ] Linux (x86/x64)
[ ] OSX (x86/x64)
[ ] Windows (x86/x64)
[x] Linux (ARM)
[ ] Android

Additional informatin on the environment
Raspberry Pi 3, Raspbian Stretch, Kodi 18 RC1 latest version from this thread
https://www.raspberrypi.org/forums/viewtopic.php?t=222954
Debug log
When the video doesn't play:
https://pastebin.com/ARtiDqXy
When Netflix wasn't opening at all:
https://pastebin.com/ir2TKZad

Use master 0.13.20 since msl2 ins not the last one... unistall cleaning settings and reinstall..


Correct getPropOr type annotation

Coverage remained the same at 100.0% when pulling 9c809c4e5210e7c07b80e251225a1021f8c32f73 on jakubbarczyk:patch-1 into 3a9d5651da12065bc83d7bbc471e8702229ad03d on evilsoft:master.

I know we discussed this on gitter, but actually i'm wondering if getPathOr has the wrong sig
a -> (String | Integer) -> b -> a i think is that way because the first param is a default value for the property, b is the object you pulling from and then the final value is the value of that property or the default
so an argument could be made that the default and the value are from the same set a, correct?
With getPathOr having a sig of a -> [ (String | Integer) ] -> b -> c really the only way for that to work would be that if a was considered always subset of c
What are your thoughts @evilsoft?

With getPathOr having a sig of a -> [ (String | Integer) ] -> b -> c really the only way for that to work would be that if a was considered always subset of c

That is :100: correct, getPathOr is the faulty siggy here. For exactly the reasons you specified! Good :eyes: !


MASK_INVERSE and MASK_SWAP not implemented

See http://www.byond.com/docs/ref/#/{notes}/filters/alpha

This can be closed as of #1043


Rename project, because it beautify not only JS but CSS and HTML

It looks strange js-beautify -r index.html.
Or maybe remove modules about CSS and HTML.

To me, it makes sense to move the CSS and HTML functionality to its own repository

See #193 and #1549 .
I've moved the hosting on the web to https://beautifier.io and the repo backing that site is https://github.com/beautifier/beautifier.io .  The intent is to create a package with a more generic name, supporting a new CLI command and a backward compatible js-beautify command.  But the task takes time which I have not had.
@4086606
Splitting CSS and HTML into their own repository seems like a great idea (one I proposed long before I took over maintaining this project).  I still think it would be a good idea, but I have some doubts.   My current opinion is that, given the state of the project, splitting will take a notable amount of work with little benefit to end-users or to contributors.  End-users don't care about repo structure as long as the package(s) work.  Contributors might find it helpful to have the projects separate, but there is more and more shared code and infrastructure between the three beautifiers as time goes on and splitting repos would mean creating another repo for shared code and contributors potentially having to dig through different repos when making updates.
I'm open to both these ideas (splitting names and splitting repos) but I don't have the time to work on them myself and if someone were willing to commit the time to this project needed to make either of these changes I would rather they spend it fixing formatting bugs or taking on big tasks that would unblock a range of other fixes, tasks such as implementing tokenization of CSS or converting tokens into parse trees before beautification.  Those two would result in much simpler beautifier code.
But if this is where you really want to spend your time, I'm happy to discuss and help design.

I can spin up repos for this. Proposed steps:

Move the python directory into beautify.py
Copy this repo to beautify.js
Package the three libraries with a JS backend into three packages.
=> Three package.json and three CLIs with these names: beautify-js beautify-css beautify-html
Rename this repo to js-beautify and deprecate it.


[Find-2.0] ENABLE_LOGGING_CMD is not printing MIOpenDriver commands for the convolution

The issue is as the title says.
when i do export MIOPEN_ENABLE_LOGGING_CMD=1, i am not seeing LogCmdConvolution prints for the convolution when Find-2.0 API is used.
It would be nice to get the functionality of dumping miopen driver commands for the convolution when Find-2.0 APIs are used. It is helpful in debugging.

@atamazov FYI

@umangyadav

It would be nice to get the functionality of dumping miopen driver commands for the convolution when Find-2.0 APIs are used. It is helpful in debugging.

Absolutely.
Please set https://github.com/ROCmSoftwarePlatform/MIOpen/labels/enhancement, https://github.com/ROCmSoftwarePlatform/MIOpen/labels/debugging and some urgency label (from https://github.com/ROCmSoftwarePlatform/MIOpen/labels/urgency_low to https://github.com/ROCmSoftwarePlatform/MIOpen/labels/urgency_high, depending on your needs). That would help to prioritize this.

@umangyadav BTW do you know that MIOpenDriver does not support Find 2.0 yet?

@umangyadav BTW do you know that MIOpenDriver does not support Find 2.0 yet?

No, I didn't. But it would be good to have an option in Driver for Find-2.0

Then I recommend including this work right into this ticket. Can you please change the title and edit the topmost comment to reflect this need. You may wish to change also the urgency label.

I think LogCmdConvolution command is an easy add as done here : https://github.com/ROCmSoftwarePlatform/MIOpen/blob/a6837540fbbe19d7fc59c114a9f3568ee45308ff/src/convolution_api.cpp#L488
Supporting FInd-2.0 in MIOpenDriver looks more involved. I would rather keep them separate issues.
MIOpenDriver commands for convolution can be printed for Find-2.0 API calls even without having it supported in MIOpenDriver.

@atamazov  @DrizztDoUrden  Is this issue fixed ? MIGraphX by default uses Find-2.0 and we can not log MIOpen CMD commands.
cc: @kahmed10

@umangyadav

Is this issue fixed ? MIGraphX by default uses Find-2.0 and we can not log MIOpen CMD commands. cc: @kahmed10

Not yet. Please update the urgency label.
@DrizztDoUrden Maybe it's time to do this. This should be easy. If you do not have time, just let me know.

@atamazov @DrizztDoUrden @JehandadKhan
If this feature is not too complex to fix, can we raise it to a recent sprint? It is needed for lots of debugging processes. Thanks!

@DrizztDoUrden yes this is a high priority issue now for MIGraphX, let's see the approach you proposed have any side-effects? If not let's get on it asap. Thanks!

Done, you can try it out.