feat: create empty app pattern

Type

[ ] Bugfix 🐛
[x] New feature 🌈
[ ] Change request 🤓
[ ] Documentation 📚
[ ] Tech debt 👩💻

Changes proposed ✔
<EMAIL_ADDRESS>🎉 New features

Added new EmptyApp component. (#95 by @juanchigallego)
Added new EmptyAppContentImageElement subcomponent. (#95 by @juanchigallego)
Added new EmptyAppContentSection subcomponent. (#95 by @juanchigallego)
Added new EmptyAppContentTextElement subcomponent. (#95 by @juanchigallego)
Added new EmptyAppHeroSection subcomponent. (#95 by @juanchigallego)
Added new EmptyAppPlanCard subcomponent. (#95 by @juanchigallego)
Added new EmptyAppPlanItem subcomponent. (#95 by @juanchigallego)
Added children property to EmptyApp component API. (#95 by @juanchigallego)
Added src and alt properties to EmptyAppContentImageElement subcomponent API. (#95 by @juanchigallego)
Added title, subtitle, actions and children properties to EmptyAppContentSection subcomponent API. (#95 by @juanchigallego)
Added title, content and bottomDivider properties to EmptyAppContentTextElement subcomponent API. (#95 by @juanchigallego)
Added src, alt, title, subtitle, content and actions properties to EmptyAppHeroSection subcomponent API. (#95 by @juanchigallego)
Added planContext, planName and children properties to EmptyAppPlanCard subcomponent API. (#95 by @juanchigallego)
Added label and disabled properties to EmptyAppPlanItem subcomponent API. (#95 by @juanchigallego)

<EMAIL_ADDRESS>📚 3rd party library updates

Added<EMAIL_ADDRESS>(#95 by @juanchigallego)
Added<EMAIL_ADDRESS>(#95 by @juanchigallego)

🎉 New features

Added new EmptyApp component. (#95 by @juanchigallego)
Added new EmptyAppContentImageElement subcomponent. (#95 by @juanchigallego)
Added new EmptyAppContentSection subcomponent. (#95 by @juanchigallego)
Added new EmptyAppContentTextElement subcomponent. (#95 by @juanchigallego)
Added new EmptyAppHeroSection subcomponent. (#95 by @juanchigallego)
Added new EmptyAppPlanCard subcomponent. (#95 by @juanchigallego)
Added new EmptyAppPlanItem subcomponent. (#95 by @juanchigallego)
Added children property to EmptyApp component API. (#95 by @juanchigallego)
Added src and alt properties to EmptyAppContentImageElement subcomponent API. (#95 by @juanchigallego)
Added title, subtitle, actions and children properties to EmptyAppContentSection subcomponent API. (#95 by @juanchigallego)
Added title, content and bottomDivider properties to EmptyAppContentTextElement subcomponent API. (#95 by @juanchigallego)
Added src, alt, title, subtitle, content and actions properties to EmptyAppHeroSection subcomponent API. (#95 by @juanchigallego)
Added planContext, planName and children properties to EmptyAppPlanCard subcomponent API. (#95 by @juanchigallego)
Added label and disabled properties to EmptyAppPlanItem subcomponent API. (#95 by @juanchigallego)

Codecov Report
Attention: Patch coverage is 74.22680% with 25 lines in your changes are missing coverage. Please review.

Project coverage is 88.35%. Comparing base (3637d3e) to head (c50b36f).

Files
Patch %
Lines

...onents/EmptyAppHeroSection/EmptyAppHeroSection.tsx
46.66%
8 Missing :warning:

...c/components/EmptyAppPlanItem/EmptyAppPlanItem.tsx
45.45%
6 Missing :warning:

.../EmptyAppContentSection/EmptyAppContentSection.tsx
44.44%
5 Missing :warning:

...pContentTextElement/EmptyAppContentTextElement.tsx
50.00%
4 Missing :warning:

...ontentImageElement/EmptyAppContentImageElement.tsx
80.00%
1 Missing :warning:

...c/components/EmptyAppPlanCard/EmptyAppPlanCard.tsx
80.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #95      +/-   ##
==========================================
- Coverage   90.24%   88.35%   -1.89%
==========================================
  Files         106      121      +15
  Lines         707      807     +100
  Branches      117      133      +16
==========================================
+ Hits          638      713      +75
- Misses         64       90      +26
+ Partials        5        4       -1

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


Can you add a "Disable Bloxstrap" thing?

https://github.com/pizzaboxer/bloxstrap/wiki/Switching-between-Roblox-and-Bloxstrap


Incomplete documentation

For instance, what is the "cameraFlipImage" prop?
Sounds useful!

We have updated the documentation for the latest release. I tried to get it into a better state, though I'm sure there are still areas for improvement. Any feedback on the new docs?

Closing, no clear end goal. Feel free to keep commenting if you have a specific suggestion beyond the updates we did. Thanks!


Plugin installation in ert is broken

The plugin to ert is broken from the latest commit (this make all ert invocations crash when this package is installed)
There should be an integration test with ERT in this repository that asserts that the plugin is well-behaving.
Error message when running ERT with fmu-sumo-sim2sumo is installed:
ERT crashed unexpectedly with "[Errno 20] Not a directory: '/prog/res/komodo/bleeding-py38-rhel7/root/lib/python3.8/site-packages/fmu/sumo/sim2sumo/__init__.py/config_jobs'

I suspect the change in
https://github.com/equinor/fmu-sumo-sim2sumo/commit/7e71d971f4d8089f0ef57157fbbb615684ce3b4b#diff-635398793169a2fd8386f0caca1341ac45e64df9e068694ad7eb582d43e7c7a1R63-R64
is the culprit

Fixed by #31
Also had to delete a couple of tags (and their corresponding releases) with typos: v.0.1.7 and v.0.1.8. Note: extra . after the v.
Created a new tag and release v0.1.8


RuntimeError: the derivative for 'angle' is not implemented

Hello! Thank you for your open source code！I changed the batch size to 3, but I encountered the following problems:

"I think it may be related to the version of torch, and I have encountered this problem before. When I switched to a device with a higher version of torch, the problem disappeared."

Thank you for your reply！

I think you should keep the torch version as in requirements.


issue with ADFS example

https://learn.microsoft.com/en-us/azure-stack/operator/azure-stack-integrate-identity?view=azs-2206#trigger-automation-to-configure-claims-provider-trust-in-azure-stack-hub
For this section, step 2 should be using
-CustomADFSFederationMetadataEndpointUri "https://ad01.contoso.com/federationmetadata/2007-06/federationmetadata.xml"
rather than
-CustomADFSFederationMetadataFileContent $federationMetadataFileContent

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

ID: d295c322-0813-e159-e6f8-86f04b759c48
Version Independent ID: 02b87d3f-125b-d674-b750-79dbaee5e497
Content: Integrate AD FS identity with your Azure Stack Hub datacenter - Azure Stack Hub
Content Source: azure-stack/operator/azure-stack-integrate-identity.md
Service: azure-stack
Sub-service: azure-stack-hub
GitHub Login: @sethmanheim
Microsoft Alias: sethm

issue raised by leyasa

Thanks @nimeader, I will make sure this gets updated today.

@nimeader Does this change apply to both instances in the article? The same command appears twice.

No, only the first mention after the anchor I mentioned in the request. The second instance is accurate (and it actually defines the variable before that instance)
-Nick
From: Seth Manheim @.>
Sent: Monday, May 15, 2023 2:12 PM
To: MicrosoftDocs/azure-stack-docs @.>
Cc: Nick Meader @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-stack-docs] issue with ADFS example (Issue #2355)
@nimeaderhttps://github.com/nimeader Does this change apply to both instances in the article? The same command appears twice.

Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-stack-docs/issues/2355#issuecomment-1548329707, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOLTSYQ3NFHRK5SZ5OXC5Z3XGJWVFANCNFSM6AAAAAAYCLTCOA.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

Right, the same anchor appears twice in the article (it probably shouldn't), hence my question. Thanks!

Yeah, the second is a ###-1 I think? We want the one without the -1
-Nick
From: Seth Manheim @.>
Sent: Monday, May 15, 2023 2:15 PM
To: MicrosoftDocs/azure-stack-docs @.>
Cc: Nick Meader @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-stack-docs] issue with ADFS example (Issue #2355)
Right, the same anchor appears twice in the article (it probably shouldn't), hence my question. Thanks!

Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-stack-docs/issues/2355#issuecomment-1548335499, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOLTSYVDQUGMD7ZIXSILLHDXGJXCNANCNFSM6AAAAAAYCLTCOA.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>


Telemetry - Windows 10 version 1803

New telemetry endpoint for Windows 10, version 1803, also known as Windows 10 April 2018 Update.
As written: https://docs.microsoft.com/en-us/windows/deployment/update/windows-analytics-get-started
This one should be added immediately.

Hey @xetorixik can you include telecommand.telemetry.microsoft.com in your PR? #582

@anudeepND Unfortunately i can't confirm telecommand.telemetry.microsoft.com neither by my firewall nor the Microsoft telemetry documentation.
As written here: https://docs.microsoft.com/en-us/windows/configuration/manage-windows-endpoints-version-1709 telecommand.telemetry.microsoft.com is used by the Windows Error Reporting Service.
In my opinion this is not telemetry.
However and of course feel free to open your own pull request.
It is up to @StevenBlack what he ultimately decides.

Gonna merge this one now.  Thanks @xetorixik !

Thanks @StevenBlack
Please take a look at PR 582, which is also mentioned here by @anudeepND


Robitino3 controller controller module not found

As reported by Stefania: when compiling the robotino3 controller from the IDE I get an error that the controller module is not found

I cannot reproduce this issue.

I opened: https://webots.cloud/run?version=R2022b&url=https://github.com/cyberbotics/webots-cloud-simulation-demos/blob/main/5_IDE/worlds/robotino_demo.wbt
Modified the controller in the IDE
Reset the simulation
It plays out correctly

@stefaniapedrazzi can you give me more details about how do you do?

I clicked on the Run buttons of the IDE.
If they are not supposed to work, then it should be checked if they can be removed because these items are misleading.
Some instructions would also be very welcome in general for the examples.
For example for this one: how to open the IDE, how to open the file, how to apply the modifications to the simulations, ...


Type safe assertions

Clear and concise description of the problem
Right now it's possible to construct assertions (let's say using expect api) that will always fail because they compare values of different types, yet there are not type errors.
Consider this:
expect(123).toBe('123')

This is obviously a mistake that will fail in runtime but will pass happily in compile time.
Having type safe assertions becomes very handy during refactorings when compiler can guide the developer through all required changes. Consider slightly more complex example:
const returnValue = functionCall()
expect(returnValue).toEqual({ a: 1, b: 2 })

Once functionCall return type changes in the future, TypeScript type checker would point the developer to all assertions that need to be updated. Right now this has to be done by executing tests which results in worse DX.
In bun test runner same code will result in a type error in a compile time, clearly visible to developer.

Suggested solution
I propose making assertions api type safe. This can be done by parameterizing matchers by a type represented by actual value. Most likely due to various edge cases in comparison of complex TS objects that would be a breaking change.
Alternative
No response
Additional context
In the past I created earl which takes this idea to extreme: https://github.com/l2beat/earl#example
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Is this essentially same as https://github.com/vitest-dev/vitest/issues/2883?

https://github.com/vitest-dev/vitest/issues/2883 is a little bit different because it's about type narrowing ie. changing a type of a variable after a given statement, in this example ensuring that something is truthy. From my experience with earl this is really hard with expect style API, on the other hand, having type-safe assertions is doable.
In the original issue I mention only toBe and toEqual cases but you can imagine this working for all different matchers.
expect(false).toBeTruthy(); // type error because false is can never be truthy

While this could definitely be nice in some cases, it could also make tests hard to work on. Discussion from earlier mentioned Bun: https://github.com/oven-sh/bun/issues/6934
This could likely be solved by third party package that overwrites the typings to more strict ones. Making the built-in default ones strict would break Jest compatibility as well.

The team doesn't think this is something that we want to pursue in the Vitest core due to the edge case that will be introduced with this change (see https://github.com/oven-sh/bun/issues/6934).
expect types are also provided in a way when it is currently impossible to implement type assertions because the argument is in another function. Having a helper expectToBeDefined is a valid user-land solution.


switch widget gets a cyclic dependency error

We are seeing a cyclic dependency error in the switch widget which might be something to do with the evaluation, As per the recommendation this issue is been separated from the main issue which is now fixed in the ref

Originally posted by @YogeshJayaseelan in https://github.com/appsmithorg/appsmith/issues/12095#issuecomment-1076006535

Can we get some more context here?.

Is this still reproducible? (It's been open since 23 Mar). I tried reproducing this but to no avail.

If yes, steps to reproduce this (Or a public app where this is reproducible).

cc: @YogeshJayaseelan @somangshu

This issue is related to this.
Cause of issue is described here


Ensure numeric fields are cast properly

When used against CKAN DataStore table it's outputting all strings

This is probably because numeric types in postgres could include large numbers like<PHONE_NUMBER>9999999999999 which javascript can't handle as a number


Probably my fault but error around 'netifaces'

ModuleNotFoundError: No module named 'netifaces'
While trying to run fly_tello.py. I did use pip to install the two packages you mentioned. Honestly I was slightly confused around usage. In your videos can you provide the commands you used?
I was very impressed by your repo.
Thanks

Use this command to install it: python -m pip install netifaces


Provide a way to inject OpenId options like other middlewares

Like this:
https://github.com/aspnet/MusicStore/blob/dev/src/MusicStore/Startup.cs#L61

Can you add some detail, perhaps a code snippet?

See https://github.com/aspnet/Security/blob/dev/src/Microsoft.AspNet.Security.Facebook/FacebookAuthenticationExtensions.cs#L26

I'll do this as part of fixing https://github.com/aspnet/Security/issues/107


bug: multiple components with context path

Test for RHTAPBUGS-418
What does this PR do?:
Test for an issue I saw in the UI where importing a project with multiple components and a context path set results in the context path going missing.
I could not get this test to run locally as all the detection tests are timing out for me.
Which issue(s)/story(ies) does this PR fixes:
https://issues.redhat.com/browse/RHTAPBUGS-418

Does this need any more action on my part?

Fixed


Upgrade WildFly to latest version?

We are currently using WildFly 8.1.0.Final images. There is already 8.2.1.Final and 9.0.1.Final available. Should we perhaps upgrade? Maybe only on master branch?

+1 for upgrading to 8.2.1.Final and 9.0.1.Final -- but only on master.
I'm already running into issues on 8.2.1.Final.
-1 for upgrading to 10.x.

For the CI Docker images, we really should just choose one version. I don't think we actually need images with multiple WildFly versions. It would mean creating and running several more containers with each build. (but it is definitely technically possible in case there would be a real need)

@psiroky I think this can be already closed..


[AMORO-3186] Force check git dir when creating release binary

Why are the changes needed?

Close #3186.
Brief change log

How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before making a pull request

executing sh releasing/create_binary_release.sh in tools dir

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

cc @zhoujinsong @zhongqishang

Thanks for the contribution! @klion26

@zhoujinsong @zhongqishang thanks for the review and merging!


Change from dep to Go mod

As the standard for Go dependency management has moved to go mod terratest should also pivot to this. Further, this will remove the requirement to have the TF files in the $GOPATH.

We plan to do this once Go 1.13 is out.

This is discussed in #264.

This is done in https://github.com/gruntwork-io/terratest/releases/tag/v0.21.0


Update the Readme file

Hey, I created the repo. I could really us help with crafting a better  README.
Notice I created the repo at #1


🧑💻:  Add Logo & Paddings in Navbar and Center text in Contributors page

:red_circle: Title : Add Logo & Paddings in Navbar and Center text in Contributors page
:red_circle: Enhancement Aim : Improve Navbar Appearance
:red_circle: Changes :

Added Horizontal Padding in the Navbar for better Appearance.
Adding Logo in Navbar.
Centering text in Contributors page.
Bolding text in Contributors page.

Screenshots 📷
Before

After

Mobile

:white_check_mark: To be Mentioned while taking the issue :

Full name :  Shivam Verma
What is your participant role?: GSSOC

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎

Please Assign me this Issue @Avdhesh-Varshney, So that I can start Working On it.

@Avdhesh-Varshney hey! Response?


Allow for better integration with lsp-mode / company-mode.

At present (and per the documentation), if something like company-mode is enabled, copilot candidates will still be rendered underneath company-mode. I'm using company-box to improve this a bit, but I'd prefer to have the behavior of other editors (JetBrains, et al) that will only show copilot recommendations if the language server isn't currently showing you something. For example, in something like CLion, if you type a . after an identifier, it will popup intellisense, and only if you C-g that popup will copilot recommendations be displayed.
I have tried to get around this doing something like this:
(defun my-copilot-disable-predicate ()
  "When copilot should not automatically show completions."
  (if (company--active-p) t nil))

(use-package copilot
  :straight (:host github :repo "zerolfx/copilot.el" :files ("dist" "*.el"))
  :after company
  :config
  (progn
    ;; Enable copilot for programming modes.
    (add-hook 'prog-mode-hook 'copilot-mode)

    ;; When to show / hide predicates.
    (add-to-list 'copilot-disable-predicates #'my-copilot-disable-predicate)

    ;; Complete using the tab key.
    (define-key copilot-completion-map (kbd "TAB") 'copilot-accept-completion)))

This doesn't seem to work quite right. Perhaps copilot only updates the overlay state if a key is pressed? I'm trying to figure this out by looking at the source (I know that the disabling predicates are inspected in copilot--post-command-debounce which is called from copilot--post-command but I can't quite figure out when the overlay state is fully reset).
Finally, I should mention that I'm using this in conjunction with lsp-mode (which is using company-mode for candidates). In a perfect world, I would be able to have the following behavior:

If any lsp-mode candidates are shown, or if company-mode is active, don't show any copilot candidates.
If lsp-mode / company-mode is showing something and I hit C-g, only affect those plugins.

Thanks very much for your help and for this great package!

Fixed in #110.
You can use (add-to-list 'copilot-disable-display-predicates #'company--active-p).

Hey, thanks again for your hard work! :)
I've updated to grab your latest changes and though it's improved, the candidate is still shown once you type a . after an identifier:

Once I type the next character it disappears:

Would it be possible to fix this? Another issue is that if you type a . after an identifier, then cancel company-box with C-g, it won't show completions until you type another character.

@wusticality The problems you mentioned do exist but may be out of copilot.el's scope.

the candidate is still shown once you type a . after an identifier

It happens if Copilot's response arrives earlier than LSP's. In this case, when copilot.el tries to display completion, company--active-p returns nil. To solve the problem, you may add a hook so that when company shows completions, it calls copilot-clear-overlay.

Another issue is that if you type a . after an identifier, then cancel company-box with C-g, it won't show completions until you type another character.

To solve the problem, you may also need to add a hook. After canceling company-box, call copilot-complete.
Above are my suggestions, and I can't help you on copilot.el's side because they are more company-mode-related. But the good thing is that you are using Emacs, you can achieve these things by writing a few lines of elisp.


refactor use print or logging

When we have a direct interaction with a user we can use print or logging.info for command line actions.
Any logging output can  become hidden by configuration. Choose wisely where print is required.

@ReimarBauer I hope to work on this. please assign to me.

@ReimarBauer  Do we need further refactoring, or can we close this issue?


Buttons on carousel component don't work

Buttons on carousel are not working, when clicked nothing happens.
Screencast from 02-11-2023 18:29:46.webm
https://mambaui.com/components/carousel
P.S.:  The buttons can't be seem.

Hi,
The buttons don't do anything because all of the components in Mamba UI are just html+css so you'll have to add the javascript logic yourself later if needed/wanted. 😄
I'll try to make them more visible by default


multi-factor-authentication

Update
[Enter feedback here]

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

ID: d23565fb-ccc9-42fc-6bde-f999d92fc762
Version Independent ID: 60c86bac-f951-8181-793b-34018f4a76ea
Content: Microsoft sigin-in experience updates
Content Source: articles/multi-factor-authentication/end-user/sign-in-experience-updates.md
Service: multi-factor-authentication
Product: unspecified
GitHub Login: @eross-msft
Microsoft Alias: lizross

Since we've gotten nothing else, we should close this item. #please-close


[stable/neo4j] Access leader node bolt port remotely

Hi,
I've just setup the neo4j helm chart, and its great. My question is, I'm trying to expose the bolt port remotely but I only want to expose the leader so that it can be queried (read and write). When I've setup a nodeport previously, it iterates between the leader and followers so at times I can't query it.
Does anyone have experience in doing this? I'm deploying on a bare metal system and it will need to talk with other servers.
Thanks!

So to access the cluster remotely, I've created a NodePort service so I can remotely access bolt via port 30725. However, when doing this, it's a gamble as to wherever we get connected to a leader or a follower -
apiVersion: v1
kind: Service
metadata:
  name: pool1-neo4j-nodeport
  namespace: neo4j
spec:
  type: NodePort
  ports:
  - port: 7687
    nodePort: 30725
    protocol: TCP
  selector:
    app: neo4j
    component: core
    release: pool1

How would anyone usually go about ensuring only a connection to the current leader? Otherwise, I end up getting the following error -
Neo.ClientError.Cluster.NotALeader: No write operations are allowed directly on this database. Writes must pass through the leader. The role of this server is: FOLLOWER

Any working practical and stable solutions yet?


Updated to send english tiers regardless of language in bulk import d…

Added the english tier templates to the bulk import component and send english in the API download request.

@sanjuroj I made the updates we talked about for using levelTiers and translating on the front end. Let me know if you see anything else.
Also just to note here, when I am in French or Spanish, I can't download the template even though I'm sending english in the request.


Restrict gemspec platforms without breaking windows

This keeps the fix for #4102 but also fixes #4150
I added a test which fails if #4102 is broken, but also fails if #4150 is broken.
I have run the specs in the following scenarios:

With the original Bundler code: the JRuby spec breaks but the Windows one passes
With my previous fix attempt: the JRuby spec passes but the Windows one breaks
With this new fix: both pass

:umbrella: The latest upstream changes (presumably e7cdd95) made this pull request unmergeable. Please resolve the merge conflicts.

@segiddins What do you think of 1d7f8093616724bde3efec714eec51021fecca56? I opted against making generic a module_function since it would make it private (though there seems to be no references to it where this would be a problem, so let me know if you prefer that). I'll get back later tonight to resolve the new conflicts.

I'd personally prefer module_function

@segiddins I changed it to module_function, and rebased on top of the new master

👍🏻

work like a charm :accept:

@indirect r+?

I tested this PR several days, so far so good. Thanks @smallsblue

@homu r+

:pushpin: Commit 6894546 has been approved by indirect

:hourglass: Testing commit 6894546 with merge 5edafda...

:sunny: Test successful - status


Manual thumbnails for uploads via the website

You can add a thumbnail to an existing upload. Would be nice to be able to do it on initial upload too. Maybe just the presence of a file called "thumbnail.png" in the zip or separate?
(maybe that already works - i haven't tried. But if it does then the text needs to explain that on the upload page)

This was already possible via the zip file. I've updated the text on the uploads view to reflect this.


HotSpot Not Found On Boarding Server

I continue to receive this error message, when i try and register my hotspot on nebra, no qr code was included on the bottom of the hotspot. Please advise

Please send a mail to<EMAIL_ADDRESS>including a screenshot of your diagnostics page.


The tensorflow wasn't compiled to use AVX2 on Windows

I instaled the python 3 and the tensorflow from pip.
But when I run the program I receive the warnings:

How to hidden or fix the warnings on Windows? Thank you so much!

They're just warnings informing you that you could get improved performance by compiling from source for your machine. You can safely ignore them. If you desperately want to suppress them then you can but you risk missing other warnings as afaik the only way to suppress is to set the over TF logging limit so not ideal. If you can live with them then it's fine. Nothing is really wrong!

I don't think so. AFAIK it's not possible now to compile tensorflow with AVX2 instructions on Windows because there are some intristics used that Visual Studio compiler doesn't support now.

Good to know. Either way, OP shouldn't be overly concerned about this unless they were expecting the binary to have AVX2!

Use below code in your .py file
import os os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'


Added functionality to pass environment variables to code execution

Added a way to inject env variables into during the docker code execution phase

Why are these changes needed?
There was no way of passing the env configs to docker env in realtime, and it would have been easier if it was one of the options when we use define code_execution_config
Related issue number
Had raised this issue in - https://github.com/microsoft/autogen/issues/585
Checks

[ ] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
[ ] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[ ] I've made sure all auto checks have passed.

@microsoft-github-policy-service agree [company="{Freshworks}"]

@microsoft-github-policy-service agree company="Freshworks"

@microsoft-github-policy-service agree

This appears to only work when using Docker. Ideally, we would also allow the environment variables to be set when running natively.

Alright, will raise pr with the changes for the same.

@afourney i believe for native executions it's best for developers to set their own environment variables.


feat(links): add support for title in inline links

In markdown syntax, inline links may have an optional title specified after the URL surrounded by quotes (e.g. [foo](/path/to/foo "This is a title")).
This commit adds support for title in inline links.
(Note reference links may also specify a title in a similar fashion, but since Rho uses resolveLink() atitle can be explicitly specified by including a title property in the returned object.)

Address the remaning "Sometimes, after an URL there is no whitespace" issue from angular/angular#15681.


Distributed Spectator StateModel implementation

StateModel for DistributedSpectator implementation at par with DistClusterControllerStateModel. This change doesn't include the DistributedSpectator itself. This is just a kick-off to start with the state model.

StateModel for DistributedSpectator implementation at par with DistClusterControllerStateModel. This change doesn't include the DistributedSpectator itself. This is just a kick-off to start with the state model.

Closing this pull request in favor of https://github.com/pinterest/rocksplicator/pull/447


Sreeja's Week 20 Hacks

5.3 and 5.4 Computing Bias and Crowdsourcing Blog
Group Scrum Board With Updated Issues
Individual Progress:

Link to Game.
As the scrum master of the group, I've been updating our scrum board and assigning tasks to members of my group. I've been creating our group issues every week and have done our planning. On the actual project, I made the most contribution to our instructions/game page. I used CSS to create buttons where the user can either choose to read the instructions or play the game. I also used HTML to create the actual pop-ups. My progress is documented in my issues.

Sreeja - user login and user signup, using api and database to store users, user account creation
Dhruva - Creating a user page with all their info.
Ekam - Multiplayer Version of our game, displaying stats.
Tirth - leaderboard storing user data
Mani - the memory actual game


Section 6 - Cardinality of txn-token services

Changed MUST to MAY.  Cardinality of the txn-token service is 0..1, not exactly one.
MAY not be the appropriate framing, I'm open to alternative text here to describe this more correctly.

I've updated the PR with the language provided by @tulshi in two places where the previous language was found in the draft.


[InterfaceGen] Print @discardableResult in generated interfaces

Resolves rdar://58805969.

As far as I can tell this was explicitly excluded since the very initial commit before it was fully implemented. I'm assuming it was meant to be temporary?

@swift-ci please test

@swift-ci please smoke test

@swift-ci please test


Choice of consistency loss

Thanks for sharing of your work. I've noticed that the consistency loss CE is used in your implementation, while in many other SSL works MSE is used instead. Is there any difference between these two loss choices?

I've found the answer in ablation study. It seems like MSE impairs the performance a little bit compared with CE.


no longer works with medium-editor

I've upgraded to medium-editor 5.x now, and this extension no longer works. Do you have plans to update it to work with the 5.x API?

Still works.
Change source of demo's index.html from:
---> buttons: ['bold', 'h2', 'JS', 'warning', 'pop'],
to
---> toolbar: {
buttons: ['bold', 'h2', 'JS', 'warning', 'pop']
},
and it worked for me.

Aha!!!
Thank you :)
Sorry for the false alarm.
On Thu, Oct 22, 2015 at 1:00 PM, glovebx<EMAIL_ADDRESS>wrote:

Still works.
Change source of demo's index.html from:
---> buttons: ['bold', 'h2', 'JS', 'warning', 'pop'],
to
---> toolbar: {
buttons: ['bold', 'h2', 'JS', 'warning', 'pop']
},
and it worked for me.
—
Reply to this email directly or view it on GitHub
https://github.com/arcs-/MediumButton/issues/4#issuecomment-150306973.

Is this still working? Maybe someone can help me here. I'm following the instructions with the exception of the change mentioned here and I'm getting nowhere fast. Here is the exact code I'm using, I've added two buttons just to see if it is working but they do not get added to the toolbar
jQuery(document).ready(function($){
	var editor = new MediumEditor('[data-key="field_57f4f2b9fc44f"] textarea', {
		toolbar: {buttons: ['bold', 'italic', 'underline', 'em', 'b']},
		extenstions: {
			'em': new MediumButton({label:'em', start:'', end:''}),
			'b':  new MediumButton({label:'BOLD', start:'', end:''})
		},
		disableReturn: true,
		disableDoubleReturn: true, disableExtraSpaces: true, disableEditing: false, spellcheck: false, targetBlank: false,
		placeholder: {
			text: 'This will be the placeholder text if entered',
			hideOnClick: false
		}
	});
});

NM, I can't believe I've been beating my head on my desk over a stupid type

intructsions updated


Adding the Problem "Tavas And Nafas"

Hey there!, Thanks for submitting a PR to this repo :smiley:
Please complete the following checklist for your PR to be approved. Mark the items by adding an x.
Example:  - [ ] Mark me as completed
To mark: - [x] Mark me as completed

[x] My Pull Request adheres to the Contribution guidelines.
[x] I have added problem.md and solution files in the appropriate folder.
[x] In problem.md I have provided a correct link to the problem.
(In case you are not adding a problem, you can freely mark this as complete)
[x] The solution I have given is my own and not plagiarized in any form.
[x] My solution passes all the testcases within the given constraints.
[x] I have properly indented and documented my solution using comments.
[x] I agree that all the above marked are true to the best of my knowledge and my PR can be closed if found otherwise.

If any of the above is unmarked, please make the necessary changes and then mark them so that you're PR can be approved and merged.
(Only completed checklist PRs will be reviewed)

Thanks 😃

No problem and thanks 🙂
On Sat, 31 Oct 2020, 6:58 pm deepak1214<EMAIL_ADDRESS>wrote:

Thanks 😃
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Vishruth-S/CompetitiveCode/pull/540#issuecomment-719937764,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKU2NTXMJVAFBOGMQVT5ZIDSNQJYZANCNFSM4TFZ6AQQ
.


getBoundsOfDistance method not working.

I tried to call this getBoundsOfDistance method woth two parameter point and distance, Point consist of a geo location i.e longitude and latitude. This method was suppose to give me all coordinates near by point to specified distance. This method always yields error like
Error: Unknown format.
Please help, how it will work. I don't see any documentation for using this method as well.

Method is now documented in v3.0.0 which will be released shortly.


Fix data race due to trimming ManagedFields in resource syncer

This was observed in a unit test elsewhere that configures a resync period. On re-sync, the K8s DeltaFIFO retrieves every object from the cache store and re-queues them. It also invokes the transform function which results in a data race when the resource syncer tries to nil the ManagedFields. This is because the object instance is the same as that stored in the cache which was previously accessed by another thread. So mutating it without the protection of a lock is unsafe. This is really an issue with the DeltaFIFO - it is documented that the "TransformFunc sees the object before any other actor, and it is now safe to mutate the object in place instead of making a copy" however this is not the case on a re-sync. The DeltaFIFO should either elide the TransformFunc on re-sync or make a copy of the object retrieved from the cache store.
As a workaround, the resource syncer should only set ManagedFields to nil if it is non-nil, which will be the case a a re-sync. Added a unit test to cover this case.
Also the object passed to the TransformFunc could be a DeletedFinalStateUnknown so we need to handle that as well.

Has this been reported upstream?

Has this been reported upstream?

I'm going to do that.


Adding ICM UW in Warsaw (Poland)

Interdyscyplinarne Centrum Modelowania Matematycznego i Komputerowego UW
Interdisciplinary Centre for Mathematical and Computational Modelling UW
https://icm.edu.pl/
https://icm.edu.pl/en/

@dami95 I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host icm.waw.pl not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for understanding!


how to modify existing module rules to add or remove parameters

i have a a config-override.js file that is export a function, following the react-app-rewire documentation. i want to use customize-cra to override this configuration instead.
the issue i'm having is with converting the config.module.rules overrides already made to apply for customize-cra.
this is the code i'm trying to convert:
   config.module.rules[0].include = appIncludes
  config.module.rules[1] = null
  config.module.rules[2].oneOf[1].include = appIncludes
  config.module.rules[2].oneOf[1].options.plugins = [require.resolve('babel-plugin-react-native-web')].concat(
    config.module.rules[2].oneOf[1].options.plugins
  )
  config.module.rules = config.module.rules.filter(Boolean)

hope someone have an answer for me.
thanks for your time.

me to =(

@bairock i actually created my own customizer function. turned out to be a very easy process.
const customizer = () => config => {
/* do whatever you need to do */
return config
}

then just pass a function call to override method:
module.exports = override(customizer())


SCM - cleanup history provider proposed API

I thinks this is now causing Ext - Build failures because the git extension hasn't been updated:
[14:19:23] Starting compilation extensions...
[14:19:27] Error: C:/Users/JohnM/Documents/GitHub/gjsjohnmurray/vscode/extensions/git/src/historyProvider.ts(15,14): Class 'GitHistoryProvider' incorrectly implements interface 'SourceControlHistoryProvider'.
  Property 'resolveHistoryItemGroupCommonAncestor' is missing in type 'GitHistoryProvider' but required in type 'SourceControlHistoryProvider'.
[14:19:27] Error: C:/Users/JohnM/Documents/GitHub/gjsjohnmurray/vscode/extensions/git/src/historyProvider.ts(131,49): Property 'historyItemRefs' does not exist on type 'SourceControlHistoryOptions'.
[14:19:27] Error: C:/Users/JohnM/Documents/GitHub/gjsjohnmurray/vscode/extensions/git/src/historyProvider.ts(136,55): Property 'historyItemRefs' does not exist on type 'SourceControlHistoryOptions'.
[14:19:27] Error: C:/Users/JohnM/Documents/GitHub/gjsjohnmurray/vscode/extensions/git/src/repository.ts(876,3): Property 'resolveHistoryItemGroupCommonAncestor' is missing in type 'GitHistoryProvider' but required in type 'SourceControlHistoryProvider'.
[14:19:27] Finished compilation extensions with 4 errors after 3787 ms

There might be an issue with the watcher since this change build just fine in our PR build and CI build...

OK, after a full restart it has built without errors.


Stream from camera

hello, thanks for you amazing work.
I would like to ask, what kind of changes do I need to apply in order to perform a stream from camera and detect a pose of object e.g pedestrians.
Do I need to re-train your model as well?
Thanks for answer in an advance

Hello,
I followed your suggestion and overrided crop_instances function. I used pretrained yolov3 from opencv library, to detect 2D bbox of cars. The detected 2D Bboxes are similar to ground truth, but I get totally wrong 3d position (record["translation"] and record['pose_vec_gt'] not match), to check it I visualized the 3D pose by replaced bellow line with kpts_3d_pred (kpts_3d_before is magnate, and kpts_3d_pred is red).
https://github.com/Nicholasli1995/EgoNet/blob/522c1e42d3b66c101e71dd74591c52f0b92086ac/libs/visualization/egonet_utils.py#L68
Do you have any suggestion what could be a problem in this case? or how could I solve it?

The 3D visualization is wrong because your 2D detector does not output 3D position. If you only need visualization, you can assign the 2D box a GT position by matching it with GT 2D boxes. Otherwise, you can use a 3D object detector instead.

Hello again, and sorry for many asked questions
I guess, I misunderstood when you mentioned about providing detected box. I though I had to provide 2D BBox of object, hence I used YOLO (2d detector) in crop_instances function. Assumed that 3D keypoints would be calculated, and in pos_processing step, inside bellow function would be estimated: position and angle of vehicle. record['euler_angles'], record['translation'] = self.get_6d_rep(record['kpts_3d_pred'])
Since I am interested to implement it on real camera where I will not have a GT position of detected object. The visualization does not need much. (it was only for check)
In a case of Deep3DBox, I get as output: 3D Estimated Pose, 2D BBox and 3D Bboxes. I will override crop_instances function an put 2D Bbox into all_records['bbox']. But where to put 3D Bbox, and 3D Estimated Pose? (I was always thinking that egoNet is calculating pose inside get_6d_rep function, isn`t it? )
Thanks for your answer in advance

This newest implementation does not estimate translation automatically. It uses the translation predicted by the first stage and refines orientation. See here the translation is read from the input predictions. https://github.com/Nicholasli1995/EgoNet/blob/522c1e42d3b66c101e71dd74591c52f0b92086ac/libs/visualization/egonet_utils.py#L68
You can consider two ways:

use an off-the-shelf 3D object detector for your data which contains translation prediction.
Use the 2D keypoints predicted by EgoNet to estimate the translation by using solvePnP with your own camara intrinsics. This will make it similar to Deep3DBOX. In fact, the old legacy code contains code to solve for translation. See https://github.com/Nicholasli1995/EgoNet/blob/522c1e42d3b66c101e71dd74591c52f0b92086ac/tools/inference_legacy.py#L475 and
https://github.com/Nicholasli1995/EgoNet/blob/522c1e42d3b66c101e71dd74591c52f0b92086ac/libs/common/transformation.py#L143

I did not preserve the translation solving code in the newest release since it's not the main functionality of EgoNet. If you think it's useful, I will consider adding this function back in a future release.


Refactor _JSC_HAS_INSPECTABLE to support macOS

Summary:
In https://github.com/facebook/react-native/commit/3eeee11d7ac4075d0917233d3be4a9469f802d35, I introduced a macro to check if JSContexts with JSC were inspectable or not, to allow for debugging with JavascriptCore / Safari Web Inspector in a backwards-compatible manner. In https://github.com/facebook/react-native/commit/fb30fcaa2f526cc1f7c2d4189ec9c57f9cf9b3c5, I removed a bunch of the macros that were no longer necessary.
As it turns out, __IPHONE_OS_VERSION_MIN_REQUIRED' / __IPHONE_OS_VERSION_MAX_ALLOWEDare only defined in the iOS SDK, not the macOS SDK 🤦. Let's extend the macro to also be defined on macOS using the macOS equivalent checks. While we're here, let's also only use the_MAX_ALLOWEDmacros instead of_MIN_REQUIRED` since that's what we're actually checking against.
Changelog:
[IOS] [FIXED] - Extend compile time _JSC_HAS_INSPECTABLE check to macOS
Test Plan:
Built RN-Tester and RN-Tester-macOS and verified both show up in Safari Web Inspectors' debug menu:

macOS screenshot small bc I got some internal stuff I gotta crop 😅

Any update for this one?

Ping on this PR again, any chance someone can take a look? This should be non, risky, and inline with the previous ifdef structure that https://github.com/facebook/react-native/commit/fb30fcaa2f526cc1f7c2d4189ec9c57f9cf9b3c5 had removed

@cipolleschi any chance this could be looked at again?

Is it a problem if we keep this PR hovering for a bit? We are in the middle of some migrations of internal apps and it will be easier to land this after the migration is done.

it a problem if we keep this PR hovering for a bit? We a

No problem for me. Internally, we're all clear because we use React Native macOS (and have higher minimum Xcode support, etc). For the community, I guess if nobody else has complained, 🤷🏽♂. I'm also focused more on internal stuff atm.

Is it a problem if we keep this PR hovering for a bit? We are in the middle of some migrations of internal apps and it will be easier to land this after the migration is done.

Hi @cipolleschi, are the team in a position where this could be landed now? (Asking because the stale bot just kicked in 😄)

@liamjones is there a reason why you are still using JSC instead of Hermes? With Hermes, you can use the React Native DevTools that are much more powerful than the JSC direct debugging.

@cipolleschi It's down to dependency/upgrade complexity + resource constraint issues here.
I'd love to get to Hermes (and the new architecture) but, alongside feature development & bug fixing of our own code, we struggle to even keep up to date with RN upgrades currently due to their frequency (I'm trying to upgrade from 0.73 to 0.74+ atm).
I have tried to look at the Hermes switchover in the past but;

Originally we couldn't switch to Hermes because of Realm's low-level binding to JSC and it didn't yet have Hermes bindings.
The next time I looked I think we had other modules that didn't work on Hermes.
Next, we were blocked by the lack of Proxy & support/performance issues with Intl API in Hermes.
The last time I had a chance to look at it, as soon as I tried enabling Hermes the apps crashed on launch and I didn't have time to investigate in depth (our app is big; over 300k LOC TypeScript and our team is small).

Heh. Didn't think this would land. Thanks!


Round Robin added as DNS resolver option

Fixes #4744

New dependency is netty-resolver-dns which brings along netty-codec-dns.
Complete size is: 217 kb


The LICENSE is not identified by GitHub

See https://img.shields.io/github/license/SSHcom/privx-sdk-for-python.svg?style=for-the-badge
The LICENSE file shall be a full Apache 2.0 license statement

fixed by #3


python installed without tkinter?

I installed the SDK by running "pico-setup-windows-x64-standalone.exe". Everything was installed without error messages. Example projects compile without problems.
Then, I tried to run the Pico Project Generator (github.com/raspberrypi/pico-project-generator) with the "--gui" option and found that tkinter was missing.
A search on the internet revealed that with newer versions of Python, tkinter ist always included. Here, version 3.9.13 installed, but tkinter is missing.
Is there an issue in the Python installation routine or how can I install tkinter manually?
Thx.

According to https://github.com/raspberrypi/pico-setup-windows/blob/master/config/x64-standalone.json it installs python-3.9.13-embed-amd64.zip and https://docs.python.org/3/using/windows.html#windows-embeddable says "Tcl/tk (including all dependants, such as Idle), pip and the Python documentation are not included."
ping @ndabas (author of this repo) and @JamesH65 (author of pico-project-generator )

Thanks for the clarification. So this is a feature not a bug :-).
For users of the python project generator GUI the simplest solution is most probably to (additionally) install a regular Python package and change the path to python.exe in "....\Pico SDK v1.5.0\pico-env.cmd". At least, this works fine for me.

Yes, that's the thing -- we can only include the embedded distribution in our installer, which doesn't have support for Tcl/tk. The Python included with the SDK installer is sufficient only for the SDK build process, and isn't intended for general-purpose use beyond that.
The workaround, like you've figured out, is simply to install Python as usual. You do not need to edit the path if you launch the Pico project generator from outside the Pico developer prompts or VS Code.

You do not need to edit the path if you launch the Pico project generator from outside the Pico developer prompts

But I guess if you do that, then the "Build after project created" option of pico-project-generator won't work?

With the modifications in pico-env.cmd I can use the pico command prompt environment that contains all the paths etc. and have a "full" python at my disposal.
If I use an "ordinary" command prompt, the project generator does not even start. Error message is "Unable to find the 'arm-none-eabi-gcc' compiler....".
So the GUI-version of the project generator needs a "pico environment" and tkinter at the same time.

I guess the solution might be to create a Windows installer for pico-project-generator that fixes everything up properly and adds a shortcut to the Start menu to launch it. Modifying the path in a batch file, while a workaround for now, is not something that we should expect all users to do.

Hmm, a bit of a PITA to fix I suspect. I'd hoped that the Project generator would be installed just by cloning the repo or copying the .py file, along with associated installs of Python/TkInter on all platforms. Just set the SDK path and it should all hang together. Sadly this appears not to be the case on Windows. You can set the compiler path on the command line with --cpath which might be an option, in combination with the SDK path. Or maybe a small install batch file for Windows although I am a bit out of touch with Windows stuff nowadays to know if that would be sufficient.

The 'proper' way to do it would be to somehow get a Python distribution with Tcl/tk support in the SDK installer.

Just out of curiosity, is there a reason we can't do that? https://docs.python.org/3/using/windows.html#installing-without-ui

Just out of curiosity, is there a reason we can't do that? https://docs.python.org/3/using/windows.html#installing-without-ui

Yes. One of the goals of this Windows installer is to have a stable distribution which will continue to work exactly as it does today. If we run the Python installer instead of bundling the embedded distribution, it will not actually install the version we want if the user already has a newer version installed, which can potentially break stability for us.
This is actually the approach that I had before it became the official installer. There is a configuration file - x64.json - which will build the installer that way. However that was always problematic because installing anything globally can break for many reasons.

Okay there is a hack-free way to use the Pico project generator on Windows:

Install the SDK with this installer.
Install the full version of Python from https://www.python.org/downloads/windows/.
Open a Pico - Developer Command Prompt window.
cd to the location where you have downloaded/cloned pico-project-generator.
Launch using py.exe instead of python.exe: py pico_project.py --gui -- this will use the latest installed version (the full version) instead of the embedded distribution with the SDK.

Okay there is a hack-free way to use the Pico project generator on Windows:

Install the SDK with this installer.
Install the full version of Python from https://www.python.org/downloads/windows/.
Open a Pico - Developer Command Prompt window.
cd to the location where you have downloaded/cloned pico-project-generator.
Launch using py.exe instead of python.exe: py pico_project.py --gui -- this will use the latest installed version (the full version) instead of the embedded distribution with the SDK.

Thanks for figuring that out. I'll update the README with this information.

Tested in windows sandbox. Works fine. Thanks!
If you add a .cmd file (e.g. GenerateShortcut.cmd) to the project generator archive containing
echo cd %cd% > "%PICO_INSTALL_PATH%\generator.cmd"
echo py.exe pico_project.py --gui >> "%PICO_INSTALL_PATH%\generator.cmd"

the user can simply start a Pico Developer Comand Prompt, cd to the location of the project generator and run this cmd file once. From then on, it is sufficient to open the Developer Command Prompt and simply type "generator" to start the project generator.


5089 cr measure refactor

https://github.com/hapifhir/hapi-fhir/issues/5089

question: The test coverage for R4 is significantly better than for DSTU3. Is that just a matter of us not having content for DSTU3?


Consider providing some example code

This library looks really interesting but it isn't immediately clear how to use it correctly. Perhaps by adding a couple of simple examples that highlight some of the usage patterns it could help make it more approachable.
I was thinking something along the lines of the following (but obviously using the correct API)
enum TrafficLightState {
  green,
  yellow,
  red,
}

enum TrafficLightEvent {
  timerExpired,
}

class TrafficLightStateMachine {
  final Machine<TrafficLightState, TrafficLightEvent> _stateMachine;

  TrafficLightStateMachine()
      : _stateMachine = Machine<TrafficLightState, TrafficLightEvent>(
          initialState: TrafficLightState.green,
          states: {
            TrafficLightState.green: State(
              onEnter: () => print('Green light'),
              transitions: {
                TrafficLightEvent.timerExpired: TrafficLightState.yellow,
              },
            ),
            TrafficLightState.yellow: State(
              onEnter: () => print('Yellow light'),
              transitions: {
                TrafficLightEvent.timerExpired: TrafficLightState.red,
              },
            ),
            TrafficLightState.red: State(
              onEnter: () => print('Red light'),
              transitions: {
                TrafficLightEvent.timerExpired: TrafficLightState.green,
              },
            ),
          },
        );

  void start() {
    while (true) {
      _stateMachine.transition(TrafficLightEvent.timerExpired);
      sleep(Duration(seconds: 1));
    }
  }
}

void main() {
  final trafficLight = TrafficLightStateMachine();
  trafficLight.start();
}

Ah, I thought I had the keyboard state machine in the tests section of code. That's not a bad example (though we'd have to restart the timer on every enter)  and could be expanded with say a pedestrian wanting to cross.

@macasas maybe this can help for now (documentation can always be improved):
 final root = hsm.root;

final red = root.newChild(TrafficLightState.red);
final yellow = root.newChild(TrafficLightState.yellow);
final green = root.newChild(TrafficLightState.green);

as a bonus; its easier to add event handlers without allocating:
red.addHandler(
  target: amber,
  action: (event, data) {
    print('readyTogo action, light is amber');
  },
);

I use this library for personal projects, so it's not dead, it's just "stable".

Thanks, I'm having a play :-)


Remove prod paas workflow

Context
Remove Prod paas env from workflow after production_aks has been successfully migrated
Changes proposed in this pull request
Remove the prod paas env from the workflow and from the
Remove prod from the scheduled DB copy
Checklist

[ ] Attach to Trello card
[ ] Rebased main
[ ] Cleaned commit history
[ ] Tested by running locally

 Remove the Prod PaaS Workflow


✨(lms_handler) add get_progression method

Purpose
In order to update Enrollment we need to get course_run state from LMS. From OpenEdX, the route certificate/search could help us to guess this information for a given user.
Proposal

[x] Add a method to OpenEdX LMS Handler to know if an enrollment has been passed, failed or is still in progress to a given user

Unfortunately, at this time, I did not find yet a solution that's suited me.
Solution tested:

Since OpenEdX Hawthorn, an api route api/grades is available to retrieve the progression of an user to a given course. I have identified two drawbacks. First, course progression only relies on grading policy. So as soon as user has got the required minimal note, course is considered as passed. In this way, we have no guarantee that user has completed all exercices. Furthermore, we cannot distinguish an uncompleted course to a not passed course. Second, porting this api route on Dogwood/Eucalyptus seems something hard...

There is also a route certificates/searchto retrieve the certificate states of a given user. If the course is passed, state will be downloadableet we also have access to the grade. First drawback, we cannot use audit enrollments, we have to use at least honor mode (Does a migration of our existing course runs is required?). Then, this api route cannot be accessed with an access_token or an api_token.

Currently, the only last solution would be porting the route certificates/search to fonzie to be able to define ourself the permissions and authentication policies.

We finally choose an other strategy (retrieve grade summary instead of certificates). #77


Update README with different communication methods.

All the different places to receive support should be linked at the top of the readme (which is also the body of the website).

gitter
IRC
StackOverflow Bookshelf.js tag
Link to GitHub issues (makes more sense on the website)

The project leadership of Bookshelf recently changed. In an effort to advance the project we close all issues older than one year.
If you think this issue needs to be re-evaluated please post a comment on why this is still important and we will re-open it.
We also started an open discussion about the future of Bookshelf.js here https://github.com/bookshelf/bookshelf/issues/1600. Feel free to drop by and give us your opinion.
Let's make Bookshelf great again

This is a great fit for #1608 and should be very easy.
@Playrom is there a new gitter channel? I'm not aware of the bookshelf IRC channel. Have you used it?

@ricardograca @Playrom and I talked about Gitter. I was not aware that there is a Gitter channel already. Nonetheless our time is very limited and I don't see myself being able to support Gitter or likewise IRC on top of the work we already have to do for Bookshelf.js. So until we get new or old regular contributors and the project back in shape I would refrain from anything but SO and GitHub itself. What is your opinion on that @Playrom ?
For our discourse and internal talk @Playrom and I use Telegram right now. I would love to have you on there too. Please contact me via @Hedge on Telegram.

I don't think we are currently in the position to offer any kind of support , aside from GitHub issue questions, but gitter is definitely an option for the future!
I would like to leave this issue open until a support system is in place for the project, I hope really soon! :)

In lieu of anyone being able to commit to real-time communication channels, we should lean into using:

Github issues/projects/pull requests for development work
Github issues / StackOverflow tag monitoring for support work

Keep it simple. We don't need to unnecessarily complicate our communication channels when we are all already on Github and StackOverflow right now.


Loader Tab

Add back open CORS interceptor for development, necessary for requests coming from webpack dev servers
Cleanup unnecessary AdminTab and WebProxyEntry multibindings
Add dayjs, immutable, and redux-saga to @misk/common library for redux-saga unidirectional React data flow pattern
Move dashboard div mount within DashboardContainer component in Config tab so it is self contained and div isn't in the Config index HTML template
Fix public paths and WebProxyEntry rules to properly forward links without trailing slash. Ie. now can browse to /_admin/dashboard instead of needing trailing slash /_admin/dashboard/. Remaining issue: #364
#335 : Implement redux-saga flow in Loader. Successfully loads adminTabs list from Misk server, maps tabs to ScriptComponent which currently renders the meta data for testing. Initial work had been to have a script tag within this component, this worked to load components but lead to infinite script include loop when this was done in React lifecycle function compononentDidMount(). Better way moving forward is to export tabs as libraries, bind them to window variables, and access them as external libraries.
Moved loader webpack config back to having / public path so that React Router would work again. Nesting routes for each tab now work in the LoaderContainer.

Next Steps

Test theory of exporting tabs as libraries and using as external components by fixing @misk/components to work as library
Add redux-saga flow to other tabs
Fix webpack for other tabs so their React Routers work

@eventualbuddha on the contrary, I appreciate the external feedback especially from others that are very fluent in current trends in front end / Javascript. Feel free to chime in on any upcoming PRs!


stream::repeat_item

Procuces the same cloned element forever.
stream::repeat name would mimic iter::repeat, however,
stream::repeat with Result param is not possible usually, because
most error types (e. g. io::Error) are not Clone. Hence the
name repeat_item.

I suspect that 99% of usage of this function would be to repeat something akin to Ok(T), so I wouldn't mind calling this repeat. We could even add repeat_err later if we really wanted to, but I suspect it won't ever come to that.

Hmm... before posting an RFC issue, do you think a From<T> for Result<T, E> impl would be useful? This seems like something that has come up several times in futures-rs discussions. Unfortunately, the fact that default types for generics don't influence inference may make less useful in cases like this.

Renamed repeat_item to rename.

Renamed RepeatStream to Repeat.

@Stebalien perhaps, but let's not discuss that here.
@stepancheg thanks!


CRUD Generator - Cannot add new record for foreignkey

Hello
I'm newbie for yii2. I tried to use gii-enhanced for one-to-many tables, and success. But, on create form I can't add new record for the table that has -many relation. Any ide ?
Main table : Laporan (one)
Relation table : Komentar (many), Lampiran (many).
Button Add Komentar and Add Lampiran don't work
Thanks

could you send me your mysql dump?

This is most likely because of database design. Please try to use official gii first. If it works by the official gii, the it should be fine with enhanced gii..


no pre-commit file is created in the .git/hook directory

I have followed the steps in at https://mookme.org/. However,  the script was not triggered when committing files. I had to look through the code, and created the pre-commit file manually:

Create file

#!/bin/bash

npx mookme run --type pre-commit --args "$1"

Add permission

chmod +x .git/hooks/pre-commit

Any idea why the file was not created?

Hello !
First of all, I think it is the first time I see you around on the repository, so thanks for using Mookme :)
I tried the setup script as provided in the documentation, and things went fine to me:
# Initialize a repo
mkdir test
cd test
git init
npm init -y

# Install mookme and init
npm install -D @escape.tech/mookme
npx mookme init # Select the pre-commit step in the prompter

cat ./.git/hooks/pre-commit # should be fine

My very first guess is that you did not run npx mookme init. If it weren't the case, could you provide me with some informations on you rplatform please ? Like an OS type, or a script I could execute ?

I just tried mookme for the first time and ran into the same issue. Here's the output from the init step:
The following configuration will be written into `/path/to/repo/.mookme.json`:
{
  "addedBehavior": "exit"
}

The follwowing git hooks will be created:
/path/to/repo/.git/hooks/prepare-commit-msg
/path/to/repo/.git/hooks/commit-msg

The following entries will be added into `/path/to/repo/.gitignore`:
.prepare-commit-msg.local.json
.commit-msg.local.json

? Do you confirm ? Yes

Writing configuration...
Done.
Initializing hooks folders...
An example hook has been written in `./.hooks/pre-commit.json`
Writing Git hooks files
- /path/to/repo/.git/hooks/prepare-commit-msg
Hook prepare-commit-msg does not exist, creating file...
- /path/to/repo/.git/hooks/commit-msg
Hook commit-msg does not exist, creating file...
Writing `.gitignore files`
Your hooks are configured.

Despite what the logs claim, only commit-msg was generated.

Hey @braincore, I'm just finishing a business trip this week, and won't have time to look into that matter by then end of the week.
I'll do my best to circle back at you next week when I take a deeper look into why not every file is created.
If ever time is an issue for you, feel free to look around and open a pr, I will find time to have it reviewed :)
Still, it would help me a lot to grab more context to reproduce the problem, could you provide me with some informations on your platform please ? Like an OS type, or a script I could execute ?

@LMaxence Looking at the output I provided earlier, I'm guessing this was a case of user (me) error. The output claims to be creating prepare-commit-msg and commit-msg, but I had meant to create pre-commit so I was likely looking for the wrong file.
FWIW, this was on a Ubuntu 22.04 machine running the initial setup npx mookme init.
I just tried a couple permutations to reproduce the error in a new folder (git init && npx mookme init) and wasn't able to either.
Everything else in my setup went smoothly so thank you for creating this!

I ran into this issue using the warp terminal. After going through the source - I was able to run
npx mookme init --added-behaviour "exit" --only-hook --skip-types-selection --yes

Which uses the hooks in .hooks/ and creates the corresponding file in .git/hooks. Seems selection is broken in warp (configured with zsh).

I ran into this issue using the warp terminal. After going through the source - I was able to run
npx mookme init --added-behaviour "exit" --only-hook --skip-types-selection --yes

Which uses the hooks in .hooks/ and creates the corresponding file in .git/hooks. Seems selection is broken in warp (configured with zsh).

@uncledru
You approach worked. Thank you


Connection Pooling for Dynamic Backends

Problem
For dynamic backends, the Rust crate has an enabled_pooling() function for its BackendBuilder type. compute-go-sdk appears to have no equivalent function on BackendOptions and no way to enable connection pooling for a dynamic backend. This causes connection timeout errors when trying to connect anew on every request.
Expectation
There should be some way to enable connection pooling for dynamic backends.

To be clear: connection pooling is on by default, this setting would allow you to disable it.

Oh. Rats.


Set up circleci

I based the circle config largely on the one from rubocop-rspec.
I removed the rubocop and documentation builds, since I haven't added
those rake tasks yet (I am working on documentation, and see #11 for
rubocop.) I also removed the Ruby 2.1 and 2.2 builds, since those
versions are no longer supported.
I went ahead and added the coverage rake task as well.
closes #10
NOTE: The tests will all fail until we get #13 in. It probably makes sense to merge that first, then rebase this and watch them pass. @bbatsov would it be possible to add this repo to circle when you have a chance?

👍


several properties are missing in custom command

https://github.com/Azure/azure-rest-api-specs/blob/536782b8b8eef28f2261db2f90bc5751a1095478/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/blockchain.json#L970-L983
https://github.com/Azure/azure-rest-api-specs/blob/536782b8b8eef28f2261db2f90bc5751a1095478/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/blockchain.json#L1019-L1022
https://github.com/Azure/azure-rest-api-specs/blob/536782b8b8eef28f2261db2f90bc5751a1095478/specification/blockchain/resource-manager/Microsoft.Blockchain/preview/2018-06-01-preview/blockchain.json#L1032-L1038
These four properties are missing in create command.

the new version of CodeGen is going to ready soon which won't have the issue., so won't spend more resource on fixing this in POC. thanks.

not an issue any longer


Synchronise / update templates through CLI

✍ Description
Situation
Templates cannot be updated / syncronized using the exh cli.
Target
Implement template updating, synchronisation in the cli
Proposal [Acceptance Criteria]

🎯 Why is this relevant?

Customer autonomy -

❓Open Questions?

📝 Notes

Link to feature: https://qompium.productboard.com/feature-board/planning/features/11640232


[Workerless Shoots] Add upgrade tests

How to categorize this PR?

/area testing
/kind enhancement
What this PR does / why we need it:
This PR extends the existing shoot upgrade tests to workerless shoots as well.
Which issue(s) this PR fixes:
Part of https://github.com/gardener/gardener/issues/7635
Special notes for your reviewer:
/cc @seshachalam-yv
/hold until gardener v1.71 is released.
Release note:

NONE

/retest

/unhold
gardener v1.71 is released

/test pull-gardener-e2e-kind

/retest

/assign

/test all

Overall, this pull request appears solid. However, I recommend rerunning the tests several times to ensure that the introduction of Mutiple new workerless shoots doesn't lead to flakiness due to resource constraints. If this PR introduces any resource constraints, we should make corresponding resource changes to the Prow jobs.
/lgtm

I can't find any difference in execution time between a test run of this PR (https://prow.gardener.cloud/view/gs/gardener-prow/pr-logs/pull/gardener_gardener/7948/pull-gardener-e2e-kind-upgrade/1663057045605060608) and a test run without this PR (https://prow.gardener.cloud/view/gs/gardener-prow/pr-logs/pull/gardener_gardener/7992/pull-gardener-e2e-kind-upgrade/1663033742899286016). That should be due to the fact that the two Contexts run in parallel and workerless test always takes less time than the one with workers.

/retest

@shafeeqes: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:
Test name	Commit	Details	Required	Rerun command
pull-gardener-e2e-kind	ad01dce link	true	/test pull-gardener-e2e-kind
Full PR test history. Your PR dashboard. Command help for this repository. Please help us cut down on flakes by linking this test failure to an open flake report or filing a new flake report if you can't find an existing one. Also see our testing guideline for how to avoid and hunt flakes.

Another occurence of #6897
/retest

/test pull-gardener-e2e-kind-migration


[perf_tool/deploy] Add k8s Healthcheck Impl

Summary: Adds a healthcheck for workloads, that checks all pods in a given k8s namespace are in a ready state. Healthchecking workloads leads to more consistent experiments, because experiment results aren't considered until all workloads are healthy.
Type of change: /kind test-infra
Test Plan: Tested along with other changes, that the healthcheck doesn't pass until all pods in the namespace are ready.

@pixie-io-buildbot test this please


Cannot connect to Ledger Nano S from Send Ether and Tokens tab after having opened View Wallet Info tab

A strange bug... Steps to reproduce:

Navigate to View Wallet Info tab
Navigate to Send Ether and Tokens tab
Click on Connect to Ledger Nano S.
The page goes grey and stays that way without ever connecting to Ledger.

The issue is resolved by reloading the Send... tab in the browser.
This is the only way of triggering this bug. I have only noticed it because I happen to have https://www.myetherwallet.com/#view-wallet-info bookmarked. However, it occurs any time you navigate first to View... and then to Send... tab.
This is reproducible on:

my home and work PCs with Windows 7 + Firefox 51.0.1 + U2F plugin 1.0.1,
my work PC with Windows 7 + latest Chrome and
in a VirtualBox guest running clean install of Windows 7 + latest Chrome.

Interesting. I'm guessing it has something to do with the modal. We had a couple things similar to this. You try to do X but the modal pops up on the View Wallet Info page so you can't see it.
@kvhnuke Can we like.....fix the modals in general?

Yeah this is also reproducible using any mnemonic key. Definitely the modal getting lost somewhere.


_WD_CreateSession: Revise default capabilities

Pull request
Proposed changes
Use revised capabilities when one isn't provided.
Checklist
Put an x in the boxes that apply. If you're unsure about any of them, don't hesitate to ask. We are here to help!
This is simply a reminder of what we are going to look for before merging your code.

[x] I have read and noticed the CODE OF CONDUCT document
[x] I have read and noticed the CONTRIBUTING document
[ ] I have added necessary documentation or screenshots (if appropriate)

Types of changes
Please check x the type of change your PR introduces:

[x] Bugfix (change which fixes an issue)
[ ] Feature (change which adds functionality)
[ ] Code style update (formatting, renaming)
[ ] Refactoring (functional, structural)
[ ] Documentation content changes
[ ] Other (please describe)

What is the current behavior?
Current default is {}, which produces an error with most web drivers.
What is the new behavior?
New default is {"capabilities":{}}
Additional context
Add any other context about the problem here.
System under test
Please complete the following information.

OS: [e.g. Windows 10]
OS Arch.: [e.g. X64]
Browser [e.g. firefox]
Browser version [e.g. 96.0.3]

tested on 2 of my projecte with FF
Attaching to running session works fine.


Modularization: made PartialFunction independent of Option and Value.

Applied the boy-scout rule (a good deed every day) and aligned PartialFunction to Scala 2.12.
(Note: Scala's companion objects generally might contain additional functionality that we did not consider, yet. Not only for PartialFunction.)

Codecov Report

Merging #2276 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #2276      +/-   ##
============================================
+ Coverage     97.54%   97.54%   +<.01%
- Complexity     5314     5320       +6
============================================
  Files            93       93
  Lines         12267    12275       +8
  Branches       1598     1599       +1
============================================
+ Hits          11966    11974       +8
  Misses          149      149
  Partials        152      152

Impacted Files
Coverage Δ
Complexity Δ

vavr/src/main/java/io/vavr/PartialFunction.java
100% <100%> (ø)
8 <8> (+5)
:arrow_up:

vavr/src/main/java/io/vavr/control/Option.java
100% <100%> (ø)
45 <0> (ø)
: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 53537a9...008b4f0. Read the comment docs.


Python 3.10 wheels

It would be great to have wheels for Python 3.10.

Fixed in 1.0.2. Thanks @horta!


Make an InfluxDB Line Protocol compatible demo

Ingestion with InfluxDB Line Protocol, Analysis with SQL and PromQL.

It seems we cannot leverage InfluxDB's CLI cause -

https://github.com/influxdata/influx-cli/issues/452

... while our endpoint is something like: https://xxx.us-west-2.aws.greptime.cloud/v1/influxdb/api/v2/write. Note the /v1/influxdb/ basepath.

And also this -

https://github.com/GreptimeTeam/greptimedb/issues/3487

InfluxDB CLI always use GZIP compression but GreptimeDB is yet to support that.

Other related issues when developing this demo:

https://github.com/GreptimeTeam/greptimedb/issues/3413
https://github.com/GreptimeTeam/greptimedb/issues/3436


Body not registered properly

Hi!
I'm making this request, which works perfectly when sent from PostMan:
var body = {
  user_id: "ZOZaqB5now",
  custom_attributes: {
    Plan : "changed plan via API",
    Fitcoins: 0
  }
};

fetch('https://api.intercom.io/users', {
    method: 'POST',
    body:    JSON.stringify(body),
    headers: {
            'Accept': 'application/json',
            'Content-Type': 'multipart/form-data',
            'Authorization': "Bearer xxxxx"
        },
})
    .then(res => res.json())
    .then(json => console.log(json));

The response is this:
{ type: 'error.list',
request_id: 'au9jlm32hb6mskt9vji0',
errors:
[ { code: '400',
message: 'User email, user_id or anonymous_id must be supplied' } ] }
So it seems like it doesn't register the body - am I doing anything wrong? I'm sure the fields i nthe json object are named properly
Best regards,
Nicolai

You are sending a json body with a multipart/form-data?!
That looks wrong to me...

Closing as I don't see further issues.
PS: You can always use https://httpbin.org/ to test out your request.


Enable the new model serialization for postgresql

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.ResourceManager.PostgreSql


docs: demo, experiments and live inference API on Tiyaro

Hello Maintainer of Github repo kimiyoung/transformer-xl (@lopuhin @ijkilchenko @kimiyoung @cclauss )!
Thank you for your work on kimiyoung/transformer-xl.  This GitHub project is interesting, and we think that it would be a great addition to make this work instantly discoverable & available as an API for all your users, to quickly try and use it in their applications.
On Tiyaro, every model in kimiyoung/transformer-xl will get its own:
Dedicated model card (see https://console.tiyaro.ai/explore/transfo-xl-wt103
Model demo (see https://console.tiyaro.ai/explore/transfo-xl-wt103/demo)
Unique Inference API (https://api.tiyaro.ai/explore/huggingface/1//transfo-xl-wt103)
Sample code snippets and swagger spec for the API
Users will also be able to compare your model with other models of similar types on various parameters using Tiyaro Experiments
(https://blog.tiyaro.ai/evaluate-openmmlabs-mmocr-models-using-tiyaro-experiments)
—-
I am from Tiyaro.ai (https://tiyaro.ai/).  We are working on enabling developers to instantly evaluate, use and customize the world’s best AI.  We are constantly working on adding new features to Tiyaro EasyTrain, EasyServe & Experiments, to make the best use of your ML model, and making AI more accessible for anyone.
Sincerely,
I-Jong Lin

I am not a maintainer of this repo so please remove the @mention of my name.

Updated the maintainer list.


Add Panel to Display Props for DevTools Nodes

Click on a node in DevTools, display its properties in a panel on the righthand side:
https://user-images.githubusercontent.com/4361605/183779347-8121cc18-d517-4b33-be02-ad6368f53fd3.mov

Developer Tools Web Extension Planning Issue: #2127

@thegreatercurve This is merge ready! Took care of all the comments, the CI failure seems unrelated.

It looks incredible!

Thanks!

I wanted to test how it would work with nested editors, but I realized that it doesn't show me image nodes. Do they appear to you?

Yes, I'm aware of this, but image nodes currently break DevTools. I think the fix for that should be fairly simple, but haven't looked into it yet.
Also it currently only registers one editor instance per page (the first in document.querySelectorAll).


something wrong in this mode    210-infinite-loop-with-slides-per-group

https://github.com/nolimits4web/Swiper/blob/master/demos/210-infinite-loop-with-slides-per-group.html
in this script, i set    slidesPerView: 5,
it looks well in pc,
buy too small in mobile,
How cal i set 5 in pc and 1 or 2 in mobile?
  <script>     var swiper = new Swiper('.swiper-container', {       slidesPerView: 5,       spaceBetween: 30,       slidesPerGroup: 5,       loop: true,       loopFillGroupWithBlank: true,       pagination: {         el: '.swiper-pagination',         clickable: true,       },       navigation: {         nextEl: '.swiper-button-next',         prevEl: '.swiper-button-prev',       },     });   </script>

Use breakpoints

Do you want to ask a question? Are you looking for support? Stack Overflow is the best places for getting support

Please, don't use GitHub issues for questions


Update run.sh

          1 Message

:book:
Executed 53 tests, with 0 failures (0 unexpected) in 83.645 (83.774) seconds

  Generated by :no_entry_sign: danger


add user translation to pt-BR

Helllo & thank you for your contribution.
Those translations are present in the pt directory.


Documentation for messageExpression update to KEP-2876

This is the docs PR for the messageExpression update to KEP-2876 that was implemented by https://github.com/kubernetes/kubernetes/pull/115969.

/sig api-machinery
/language en

/label tide/merge-method-squash

/approve


The resources should check is the RemoteDesktop module exists before loading it

The resources should check is the RemoteDesktop module exists before loading it

struggling a bit with what is expected as the RemoteDesktop module implicitly exists on a Windows server when function Test-xRemoteDesktopSessionHostOsRequirement from   xRemoteDesktopSessionHostCommon.ps1 passes.
Only situation when this happens is when it is not called from a server OS. Should the Test-xRemoteDesktopSessionHostOsRequirement function be extended to test that?
Also, you cannot test on:

'Get-WindowsFeature RSAT-RDS-Tools'  as it is not needed to to import th module
'Get-Module RemoteDesktop' as this yields no result on a server OS
'Get-Package RemoteDesktop' as this yields to an errort on a server OS
Any of the "Find-' commands of the above, as this will show results from PSGallery which we do not want.

What remains:

Extend the Test-xRemoteDesktopSessionHostOsRequirement function
Use a Try/Catch or alike functionality on import itself
Use the Get-Command -Module RemoteDesktop -> When present, this should show results

I propose a combination of 1 and 2....?

My thought is that Get-Module -Name RemoteDesktop -ListAvailable, if the module is in a $PSModulePath then this will return the module. If it does not exist, it will return $null (nothing).
Would that work?

omg! you're so right! why didn't i think of that?
lets first close current PR; in next one..ok? :)

@peppekerstens It is always easier to have someone to bounce ideas with. You would have figured it out 🙂 No problem doing this in another PR.

Lets not re-invent:
https://github.com/PowerShell/xDnsServer/blob/31cf3f61b8027fa7dda87d4d09216cff6f7f1f24/DSCResources/Helper.psm1#L35

@peppekerstens that's perfect to copy that helper function over here. :) Let's put it a module like it's done here (some folder structure and name).
https://github.com/PowerShell/CertificateDsc/tree/dev/Modules/CertificateDsc.ResourceHelper

@PlagueHO what's the difference between CertificateDsc.Common and CertificateDsc.ResourceHelper?
See https://github.com/PowerShell/CertificateDsc/tree/dev/Modules
If we should create a helper module here, what should we name it (to be consequent with template/other modules)?


Specific mariadb repository prevents conversion

The following MariaDB repository is not supported in the centos2alma tool:
[mariadb]
name=Alma Alma MariaDB
baseurl=http://yum.mariadb.org/10.11.8/rhel7-amd64
gpgkey = https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1

As a result, attempting to convert with this repository causes conversion to fail due to conflicts with MariaDB packages

Fixed in scope of #310


SCRAM-SHA-256 (and more)

Ready for SCRAM-SHA-256 (and more)?

Any news?

Any news?

Any news?

Any news?

Any news?

Any news?

ping

@Neustradamus What even is this? Can you please provide more details? There is a template provided for a reason.
I cannot decipher anything from this.

@DandyDeveloper: Thanks for your message!
It is for security, more informations about SCRAM:

https://github.com/scram-xmpp/info/issues/1

@Neustradamus You'll need to provide details on the affected charts and also maybe point us to the new config params needed to implement what you're asking for.
Right now, no one knows which Chart this issue belongs and the subsequent details of what is required.
If you can please use the template provided, it'll help everyone out and you might see action on this.

There is only SCRAM-SHA-1 currently:

https://github.com/helm/charts/search?utf8=✓&q=scram&type=

It is the problem.

@DandyDeveloper, any news?

Any news?

You can propose PRs to solve the problem.

Any news?

ping

ping

ping

ping

ping

ping

.

.

ping

I think, I need to create a new ticket?

I need to create a new ticket ?

@DandyDeveloper, @desaintmartin: I think, I need to create a new ticket?

@DandyDeveloper, @desaintmartin: I wish you a Happy New Year 2022!
I think, I need to create a new ticket?

Hi, @Neustradamus - This repo is being archived. Please submit any desired fixes to the maintainers of individual charts, which you can find on Artifact Hub. Thanks.


ValueError: Input contains NaN, infinity or a value too large for dtype('float64').

Hi, when I try to train (s4_train.py) my own train data (including yours) i get this error:
Traceback (most recent call last):
  File "src/s4_train.py", line 112, in <module>
    main()
  File "src/s4_train.py", line 99, in main
    model.train(tr_X, tr_Y)
  File "/home/suleyman/Desktop/COMPUTER VISION VIDEO CLASSIFICATION/Action-Recognition/src/../utils/lib_classifier.py", line 84, in train
    self.pca.fit(X)
  File "/home/suleyman/anaconda3/envs/comp_vision/lib/python3.7/site-packages/sklearn/decomposition/pca.py", line 341, in fit
    self._fit(X)
  File "/home/suleyman/anaconda3/envs/comp_vision/lib/python3.7/site-packages/sklearn/decomposition/pca.py", line 382, in _fit
    copy=self.copy)
  File "/home/suleyman/anaconda3/envs/comp_vision/lib/python3.7/site-packages/sklearn/utils/validation.py", line 542, in check_array
    allow_nan=force_all_finite == 'allow-nan')
  File "/home/suleyman/anaconda3/envs/comp_vision/lib/python3.7/site-packages/sklearn/utils/validation.py", line 56, in _assert_all_finite
    raise ValueError(msg_err.format(type_err, X.dtype))
ValueError: Input contains NaN, infinity or a value too large for dtype('float64').

Could you please help me with it? Thank you very much

@ajuntapall Hi, the error is due to a NaN in the training data (the feature vectors).
Would you mind sending me the skeletons_info.txt generated from s2_*.py to my email<EMAIL_ADDRESS>or putting it here? It will help me a lot for debugging.
Thank you very much!

Dear felixchenfy,
I have a same issue too.
F.Y.I
Best regards,
Tinh Lam
skeletons_info.txt

I have resolved the issue by replacing NaN:
def main():
    print("\nReading classes, features and labels ...")
    X = np.loadtxt(features_prc, dtype=float)
    Y = np.loadtxt(features_lbl_prc, dtype=int)
    col_mean = np.nanmean(X, axis=0)
    inds = np.where(np.isnan(X))
    X[inds] = np.take(col_mean, inds[1])

Idk if it's a proper solution but the recognition on test set works without a problem. Hope it helps.

@Salidor Hi, it looks like a good solution! Thank you so much!
I will test your code today and then update the repo.
@lktinh2018 Thanks for your data! I will use it to test the code today.

@Salidor @lktinh2018 Hi, I found the problem.
In utils/lib_feature_proc.py, I use the body height to normalize the skeleton. However, when the human is lying down, the height is zero, which causes the error.
So I changed the body height (y1-y2) to body length sqrt((x1-x2)**2 + (y1-y2)**2). The function after modification is shown below. The repo has been updated.
    @staticmethod
    def get_body_height(x):
        ''' Compute height of the body, which is defined as:
            the distance between `neck` and `thigh`.
        '''
        x0, y0 = get_joint(x, NECK)

        # Get average thigh height
        x11, y11 = get_joint(x, L_THIGH)
        x12, y12 = get_joint(x, R_THIGH)
        if y11 == NaN and y12 == NaN:  # Invalid data
            return 1.0
        if y11 == NaN:
            x1, y1 = x12, y12
        elif y12 == NaN:
            x1, y1 = x11, y11
        else:
            x1, y1 = (x11 + x12) / 2, (y11 + y12) / 2

        # Get body height
        height = ((x0-x1)**2 + (y0-y1)**2)**(0.5)
        return height

@lktinh2018 By the way, I tried your data, and the test accuracy is only 80% to 85%. And then I tested using my web camera, and the result is very poor..... Just for your information ...

@felixchenfy Hello, I know it has been for some time since you haven't worked on this project but I want to ask if is there anyone who has achieved the lying down activity using a webcam.


OOP school library: refactor your code

Describe the SOLID principles of OOP.
Refactor Ruby code after gaining new knowledge.
Apply Ruby best practices and language style guides in code.

Hi @yayaismaail and @Esmatullah12 when a project is approved kindly merge to the base branch (development) before creating a branch for the next project from the base branch. Avoid creating feature branches from other feature branches. It inflates the amount of code and files to be reviewed, since some of them would be irrelevant to the project.
Kindly go back and merge your previous projects, including this approved one. And ensure you create your next branch from development, after merging.


nerdctl: update to v2.0.0

https://github.com/containerd/nerdctl/releases/tag/v2.0.0

What about using YAML for this information ?

https://github.com/lima-vm/lima/pull/2403

How do you choose which version to use?
Edit the yaml template with the old digests?

V2 is expected to retain compatibility.
V1 can be still installed manually with the "plain" mode

This is now ready.
Will release Lima v1.0 after merging this 🎉

Will release Lima v1.0 after merging this 🎉

I assume this means we'll leave #2832 for Lima 1.1 and I don't have to rush to wrap it up, right?

right

already tagged v1.0, will make a release in a few minutes


Allowing more than one type of separator

Is your feature request related to a problem? Please describe.
Right now, the separator and separatorPositions fields only allow one type of separator.
Describe the solution you'd like
I would like to be able to apply more than one type of separator, perhaps SizedBox(width: 8) for position 1, SizedBox(width: 12) for position 2, and so on.
I'm thinking that final Widget? separator and List<int>? separatorPositions separatorPositions can be refactored into a callback function Widget Function(int index)? separatorBuilder. This will allow the flexibility of allowing more than one separator to be inserted.
Describe alternatives you've considered
NA
Additional context
I'd be happy to put up a PR.
edit: I've put up a PR over here

Thanks again for the PR, just published the version 2.4.0 with your changes in it.

@Tkko Hi! this release broke production pipelines of some of my apps yesterday.
We were using the separator param but suddenly it didn't exist anymore, we investigated and saw that your package did remove this param by incrementing the MINOR version.

Given a version number MAJOR.MINOR.PATCH, increment the:

MAJOR version when you make incompatible API changes
MINOR version when you add functionality in a backward compatible manner
PATCH version when you make backward compatible bug fixes
Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.

https://semver.org/

That said, I think there is no solution because it's already published, so I'm just providing feedback.


CTCP-4106: GMS , Transition and Regression xmls for both GB and XI added

CTCP-4106: GMS , Transition and Regression xmls for both GB and XI added

Not sure how this should be reviewed!

A big reason why we went to ScalaTest in the first place. I would have preferred these tests to be in ScalaTest for the same reason, but it is what it is.


[Feature] Ability to use it on any sites

Device
Desktop
Suggestion
Can you make it so that I can use this better xcloud in any website i want to. There is an emulator I am trying to use which is a website but runs the game locally. All the other online emulators are too laggy due to my internet. I am just wondering if you are able to make this extension work on any site, like https://ds.44670.org/. Thank you in advance

Impossible